CN-121984874-A - Link generation method, device, equipment, medium and product
Abstract
The present disclosure relates to the technical field of communications, and in particular, to a link generation method, device, apparatus, medium, and product, where the method includes obtaining a pre-constructed resource tree model; the resource tree model comprises association relations among network equipment resources, network address resources and user service resources, resource data in the resource tree model are converted into layer data, the layer data are projected to a satellite map, a user is responded to trigger operation of any map icon in the satellite map, a topological relation of the resource data corresponding to the map icon is built based on the association relation predefined in the resource tree model, and a visual link is generated on the satellite map based on the topological relation. And building association relations of three kinds of resource data of equipment, addresses and services through a predefined resource tree model, automatically building and visualizing an end-to-end topology link, and realizing visualized positioning from a single resource point to a full-link topology relation.
Inventors
- CAI ZHONGSHENG
Assignees
- 中国移动通信集团辽宁有限公司
- 中国移动通信集团有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260115
Claims (16)
- 1. A method of link generation, comprising: acquiring a pre-constructed resource tree model, wherein the resource tree model comprises an association relationship among network equipment resources, network address resources and user service resources; Converting the resource data in the resource tree model into layer data, and projecting the layer data to a satellite map; Responding to triggering operation of a user on any map icon in the satellite map, and constructing a topological relation of resource data corresponding to the map icon based on a predefined association relation in the resource tree model; A visualization link is generated on the satellite map based on the topological relation.
- 2. The method of claim 1, wherein constructing the resource tree model comprises: determining a plurality of division levels for a target network resource, wherein the target network resource comprises the network equipment resource, the network address resource and the user service resource; Creating a corresponding data sub-model for each division level, and adding a target field of a target network resource corresponding to the division level in the data sub-model, wherein the target field comprises an identification field of the target network resource corresponding to the division level and an association field for indicating an upper network resource corresponding to the target network resource; The resource tree model is generated based on the plurality of data sub-models after the target field is added.
- 3. The method of claim 2, wherein the division levels for network device resources include an optical line terminal, an optical line terminal port, an optical cross box, a fiber box, an optical splitter port, an optical network terminal, and an optical cable, wherein the division levels for network address resources include a local city, a district, a village, a roadway, a home blue mark, a cell, a building, a unit, a layer, and a house number, and wherein the division levels for user service resources include a local city, a district, a village, a roadway, a home blue mark, a cell, a building, a unit, a layer, a house number, a broadband account number, a device identification, an upstream optical splitter port, a home optical line terminal port, a service type, and a service bandwidth.
- 4. The method of claim 1, wherein the resource tree model comprises a first model corresponding to the network device resource, a second model corresponding to the network address resource, and a third model corresponding to the user traffic resource, wherein a next level data sub-model in the first, second, and third models contains an associated field for indicating a network resource corresponding to a previous level data sub-model; The constructing the topological relation of the resource data corresponding to the map icon based on the predefined association relation in the resource tree model comprises the following steps: Determining the resource type of the resource data corresponding to the map icon in the resource tree model; And determining a corresponding target model in the resource tree model based on the resource type, and generating the topological relation based on the target model, wherein the target model comprises the first model, the second model and the third model.
- 5. The method of claim 4, wherein the determining a corresponding target model in the resource tree model based on the resource type and generating the topological relation based on the target model comprises: If the resource type is the network address resource, generating a first address topological relation from a ground city level address to a room number level address based on the second model; If the resource type is the network equipment resource, generating a first equipment topological relation from the optical line terminal to the optical network terminal through the triggered equipment based on the first model; if the resource type is a room number level address resource associated with the network equipment, generating a topological relation corresponding to the triggered room number level address based on the first model and the second model; and if the resource type is the user service resource, generating a topological relation corresponding to the triggered service based on the first model, the second model and the third model.
- 6. The method of claim 5, wherein generating a topology relationship corresponding to a triggered room-level address based on the first model and the second model comprises: generating a second device topology relationship from the splitter port associated with the triggered room-level address to the optical line terminal based on the first model; Generating the first address topology based on the second model; And splicing the first address topological relation and the second equipment topological relation to obtain the topological relation corresponding to the triggered room number level address after splicing.
- 7. The method of claim 5, wherein generating the topology relationship for the triggered traffic based on the first model, the second model, and the third model comprises: determining a room number level address, an optical network terminal and user service information associated with the service corresponding to the map icon based on the third model; Generating a third device topology relationship from the associated optical network terminal to the optical line terminal based on the first model; Generating a second address topology relationship from a ground level address to the associated room level address based on the second model; And adding the user service information as a node between the second address topological relation and the third equipment topological relation, and obtaining the topological relation corresponding to the triggered service after adding.
- 8. The method of claim 1, wherein after generating a visualization link on the satellite map based on the topological relationship, the method further comprises: Determining auditing dimensions aiming at resources to be audited, wherein the resources to be audited comprise the network equipment resources and the network address resources, and the auditing dimensions comprise space position auditing, topology connectivity auditing and geographic coverage auditing; Auditing the resources to be audited according to the auditing dimension to obtain an auditing result; and generating an error investigation task aiming at the resource to be audited based on the auditing result.
- 9. The method of claim 8, wherein auditing the resource to be audited according to the audit dimension results in an audit result, comprising: under the condition that the auditing dimension is the space position auditing, extracting geographic coordinate information and resource identification information corresponding to the resources to be audited; determining an inverse geocoding result corresponding to the geographic coordinate information; And matching the inverse geocoding result with the resource identification information, and generating a first auditing result based on the matching result.
- 10. The method of claim 8, wherein auditing the resource to be audited according to the audit dimension results in an audit result, comprising: under the condition that the auditing dimension is the topological connectivity auditing, determining an auditing path corresponding to the resource to be audited based on the division level corresponding to the resource to be audited; And sequentially verifying whether the associated fields of the upper network resources corresponding to each division level are valid according to the auditing path, and generating a second auditing result based on the verification result.
- 11. The method of claim 10, wherein the determining, based on the partition level corresponding to the resource to be audited, an audit path corresponding to the resource to be audited comprises: If the resource to be audited is the network equipment resource, determining a first auditing path from an optical network terminal to an optical line terminal port based on a division level corresponding to the network equipment resource; and if the resource to be audited is the network address resource, determining a second auditing path from the house number to the ground city based on the division level corresponding to the network address resource.
- 12. The method of claim 8, wherein auditing the resource to be audited according to the audit dimension results in an audit result, comprising: determining a cell-level address associated with a fiber distribution box based on an association relationship between the network equipment resource and the network address resource under the condition that the auditing dimension is the geographic coverage auditing; and judging whether the longitude and latitude coordinates of the center of the fiber distribution box are within the plane coordinate range of the associated cell-level address, and generating a third auditing result based on the judging result.
- 13. A link generation apparatus, comprising: the system comprises a model acquisition unit, a resource tree model generation unit and a user service unit, wherein the model acquisition unit is used for acquiring a pre-constructed resource tree model, and the resource tree model comprises an association relationship among network equipment resources, network address resources and user service resources; the data conversion unit is used for converting the resource data in the resource tree model into layer data and projecting the layer data to a satellite map; The topology construction unit is used for responding to the triggering operation of a user on any map icon in the satellite map and constructing a topology relation of resource data corresponding to the map icon based on a predefined association relation in the resource tree model; and the link generation unit is used for generating a visual link on the satellite map based on the topological relation.
- 14. An electronic device comprising a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory in communication via the bus when the electronic device is in operation, the machine-readable instructions when executed by the processor performing the steps of the link generation method of any of claims 1 to 12.
- 15. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the link generation method according to any of claims 1 to 12.
- 16. A computer program product, characterized in that the computer program product is stored in a storage medium, the program product being executed by at least one processor to implement the link generation method of any of claims 1 to 12.
Description
Link generation method, device, equipment, medium and product Technical Field The present disclosure relates to the technical field of communications, and in particular, to a link generation method, device, apparatus, medium, and product. Background At present, the broadband access technology is mainly divided into a copper wire access technology and an optical access technology, the passive optical network PON (Passive Optical Network) technology is a point-to-multipoint transmission optical access technology, and along with the continuous expansion of the broadband access network resource scale and the increasing complexity of the network structure, the difficulty of network management and operation and maintenance is also continuously increasing. In the related art, PON network resources are usually stored and managed by using a model table, and geographic positioning of a single resource point is performed around a certain class of broadband resources, so that the problem that the resource point is isolated, and thus the resource information is incomplete is often caused, and it is difficult to meet the requirement of current PON network management. Disclosure of Invention The present disclosure has been made in view of the above-described problems. The present disclosure provides a link generation method, apparatus, device, medium and product. In a first aspect, an embodiment of the present disclosure provides a link generation method, including: And obtaining a pre-constructed resource tree model, wherein the resource tree model comprises an association relationship among network equipment resources, network address resources and user service resources. And converting the resource data in the resource tree model into layer data, and projecting the layer data to a satellite map. Responding to the triggering operation of a user on any map icon in the satellite map, and constructing a topological relation of the map icon corresponding to the resource data based on the predefined association relation in the resource tree model. A visualization link is generated on the satellite map based on the topological relationship. In one embodiment of the first aspect, the resource tree model is constructed by: a plurality of division levels of a target network resource is determined, wherein the target network resource includes a network device resource, a network address resource, and a user traffic resource. And establishing a corresponding data sub-model for each division level, and adding a target field of a target network resource corresponding to the division level in the data sub-model, wherein the target field comprises an identification field of the target network resource corresponding to the division level and an association field for indicating the network resource corresponding to the target network resource. A resource tree model is generated based on the plurality of data sub-models after adding the target field. In one embodiment of the first aspect, the division levels corresponding to the network device resources include an optical line terminal, an optical line terminal port, an optical cross box, an optical splitter port, an optical network terminal, and an optical cable, the division levels corresponding to the network address resources include a ground city, a district, a village, a roadway, a residential blue mark, a cell, a building, a unit, a layer, and a house number, and the division levels corresponding to the user service resources include a ground city, a district, a village, a roadway, a residential blue mark, a cell, a building, a unit, a layer, a house number, a broadband account number, a device identifier, an uplink optical splitter port, an optical line terminal to which the optical line terminal belongs, an optical line terminal port to which the optical line terminal belongs, a service type, and a service bandwidth. In one embodiment of the first aspect, the resource tree model includes a first model corresponding to a network device resource, a second model corresponding to a network address resource, and a third model corresponding to a user service resource, and a next-level data sub-model in the first model, the second model, and the third model includes an association field for indicating that a previous-level data sub-model corresponds to the network resource; Based on the predefined association relation in the resource tree model, constructing the topological relation of the resource data corresponding to the map icon, which comprises the following steps: And determining the resource type of the resource data corresponding to the map icon in the resource tree model. And determining a corresponding target model in the resource tree model based on the resource type, and generating a topological relation based on the target model, wherein the target model comprises a first model, a second model and a third model. In one embodiment of the first aspect, determining a correspo