End-to-end circuit series connection method and device, electronic equipment and storage medium

By obtaining and analyzing the full configuration information of the equipment, determining the device information mapping relationship and generating the service network link, the problem of end-to-end circuit connection under the complex user network topology is solved, and efficient configuration and automatic topology establishment of the service network are realized, providing operators with powerful active operation service support.

CN119697016AActive Publication Date: 2025-03-25CHINA TELECOM CORP LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411803294.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-03-25
Estimated Expiration
2044-12-09

AI Technical Summary

Technical Problem

End-to-end circuit connection based on device configuration is difficult to achieve under complex user network topology, resulting in difficulty in networking configuration and inefficient, which hinders the construction of operators' active operation service system.

Method used

By obtaining the full configuration information of the equipment corresponding to the service network, determining the equipment information mapping relationship, obtaining the center point filtering information, analyzing the center point equipment configuration information and the equipment information mapping relationship, determining the network protocol address of the transit equipment, generating the service network link, and performing end-to-end circuit connection.

Benefits of technology

It realizes configuration analysis of business networking and automatic end-to-end networking circuit topology establishment, providing a solid foundation for operators' upper-level applications such as circuit monitoring, alarming, and rapid fault positioning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119697016A_ABST
    Figure CN119697016A_ABST
Patent Text Reader

Abstract

The invention discloses an end-to-end circuit cascading method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining equipment full-amount configuration information corresponding to service networking, and determining an equipment information mapping relation according to the equipment full-amount configuration information; center point screening information is acquired, and center point equipment configuration information is determined from the equipment full-amount configuration information according to the center point screening information; analyzing the central point equipment configuration information and the equipment information mapping relationship, determining a plurality of transfer equipment network protocol addresses, and generating a service networking link according to each transfer equipment network protocol address and the central point equipment configuration information; and carrying out end-to-end circuit series connection according to the service networking link. According to the application, configuration analysis of service networking can be realized, end-to-end circuit series connection based on equipment configuration is realized, and the application can be widely applied to the technical field of communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to an end-to-end circuit series connection method, device, electronic device and storage medium. Background Art

[0002] End-to-end business networking circuit connection based on equipment configuration can truly and accurately reflect the actual circuit connection status of the customer network, and provide real-time feedback on the circuit status and the performance of each device through which the business flows. Based on the results of the construction, the operator can apply them to active operation service systems such as equipment load monitoring, business data statistics, network topology presentation, accounting information audit, rapid fault location, circuit monitoring alarm, etc. after secondary processing.

[0003] At present, the business networking configuration is usually carried out in the form of Virtual Private Lan Service (VPLS), relying on the business bearer network (IP Radio Access Network, IPRAN) to establish a point-to-multipoint Ethernet circuit. However, due to the complex user networking topology, the scattered locations of various access points, the diverse levels of equipment through which the business flows, and the complex VPLS technical architecture, it is difficult to achieve end-to-end circuit connection based on device configuration, the business networking configuration is difficult and inefficient, which has brought great obstacles to the construction of operators' active operation service system. Summary of the invention

[0004] The main purpose of the embodiments of the present application is to propose an end-to-end circuit connection method, device, electronic device and storage medium, which can realize configuration analysis of business networking and realize end-to-end circuit connection based on device configuration.

[0005] On the one hand, an embodiment of the present application provides an end-to-end circuit series connection method, the method comprising the following steps:

[0006] Obtaining full device configuration information corresponding to the service network, and determining a device information mapping relationship based on the full device configuration information;

[0007] Acquire central point screening information, and determine central point device configuration information from the full device configuration information according to the central point screening information;

[0008] Parsing the mapping relationship between the central point device configuration information and the device information, determining a plurality of transfer device network protocol addresses, and generating a service networking link according to each of the transfer device network protocol addresses and the central point device configuration information;

[0009] According to the service networking link, end-to-end circuit connection is performed.

[0010] In some embodiments, the acquiring of the full configuration information of the device corresponding to the service networking and the determining of the device information mapping relationship according to the full configuration information of the device specifically include:

[0011] Collect the full configuration information corresponding to multiple service devices in the service bearer network;

[0012] Determine the device service network protocol address and device network protocol address corresponding to each of the service devices according to the full configuration information corresponding to each of the service devices;

[0013] The device service network protocol address corresponding to each of the service devices is mapped with the device network protocol address to establish the device information mapping relationship.

[0014] In some embodiments, the obtaining of the central point screening information and determining the central point device configuration information from the device full configuration information according to the central point screening information specifically includes:

[0015] In response to the central point screening operation, receiving central point instruction screening information, and acquiring the central point instruction screening information as the central point screening information;

[0016] According to the full configuration information of the device, a central point device matching the central point instruction screening information is determined from the plurality of the business devices, and the full configuration information corresponding to the central point device is determined as the central point device configuration information.

[0017] In some embodiments, the parsing of the mapping relationship between the central point device configuration information and the device information, determining a plurality of transit device network protocol addresses, and generating a service networking link according to each of the transit device network protocol addresses and the central point device configuration information specifically includes:

[0018] Parse the central point device configuration information to determine the corresponding service binding physical port information;

[0019] Acquire the central point device configuration information as current device configuration information;

[0020] Parsing the current device configuration information to determine the corresponding channel pseudowire configuration information and the current device network protocol address;

[0021] Determine, from the channel pseudo wire configuration information, channel pseudo wire configuration unit data that matches the service binding physical port information;

[0022] Parsing the channel pseudowire configuration unit data to determine whether it contains next jump device guidance data;

[0023] When the channel pseudo-wire configuration unit data includes the next-jump device guidance data, determine the next-jump device service network protocol address according to the next-jump device guidance data, determine the next-jump device network protocol address corresponding to the next-jump device service network protocol address from the device information mapping relationship, establish a network topology connection between the current device network protocol address and the next-jump device network protocol address, obtain the next-jump device configuration information corresponding to the next-jump device network protocol address from the device full configuration information, obtain the next-jump device configuration information as the current device configuration information, then return to parse the current device configuration information, determine the corresponding channel pseudo-wire configuration information and the current device network protocol address, until the channel pseudo-wire configuration unit data does not include the next-jump device guidance data;

[0024] When the channel pseudowire configuration unit data does not include the next-hop device guidance data, the current device network protocol address is determined as the link termination node of the service networking link.

[0025] In some embodiments, the method further comprises:

[0026] Determine the target central point service port corresponding to the central point device according to the central point device configuration information;

[0027] The target central point service port is constructed as a service access port, and the service access port is used to receive service request information.

[0028] In some embodiments, the establishing of a network topology connection between the current device network protocol address and the next hop device network protocol address specifically includes:

[0029] Determine a first link node according to the current device network protocol address;

[0030] Determining a second link node according to the next hop device network protocol address;

[0031] A network topology connection is established between the first link node and the second link node in the service networking link, wherein the first link node is a preceding node of the second link node.

[0032] In some embodiments, when the channel pseudowire configuration unit data does not include the next hop device guidance data, determining the current device network protocol address as the link termination node of the service networking link specifically includes:

[0033] Obtaining the service networking link;

[0034] Determining the link termination node according to the current device network protocol address;

[0035] The link termination node is used as the termination node of the service networking link and is connected to the service networking link.

[0036] On the other hand, an embodiment of the present application provides an end-to-end circuit series connection device, the device comprising:

[0037] The first module is used to obtain the full configuration information of the device corresponding to the service network, and determine the device information mapping relationship according to the full configuration information of the device;

[0038] The second module is used to obtain the central point screening information, and determine the central point device configuration information from the full device configuration information according to the central point screening information;

[0039] The third module is used to parse the mapping relationship between the central point device configuration information and the device information, determine multiple transfer device network protocol addresses, and generate a service networking link according to each of the transfer device network protocol addresses and the central point device configuration information;

[0040] The fourth module is used to perform end-to-end circuit connection according to the business networking link.

[0041] On the other hand, an embodiment of the present application provides an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the above-mentioned end-to-end circuit series connection method when executing the computer program.

[0042] On the other hand, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the end-to-end circuit series connection method described above is implemented.

[0043] The embodiments of the present application include at least the following beneficial effects: the present application provides an end-to-end circuit connection method, device, electronic device and storage medium, which obtains the full configuration information of the equipment corresponding to the business networking, and determines the device information mapping relationship according to the full configuration information of the equipment; obtains the central point screening information, and determines the central point device configuration information from the full configuration information of the equipment according to the central point screening information; parses the central point device configuration information and the device information mapping relationship, determines multiple transit device network protocol addresses, generates a business networking link according to the network protocol address of each transit device and the central point device configuration information, and performs end-to-end circuit connection according to the business networking link. The present application can realize business networking configuration analysis, automatically establish end-to-end networking circuit topology according to the full configuration information of the equipment, and provide a solid foundation for realizing upper-layer applications such as circuit monitoring, alarm, and rapid fault location of business networking. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 is a flow chart of an end-to-end circuit series connection method provided by an embodiment of the present application;

[0045] Figure 2 is a flowchart of step S101 in an embodiment of the present application;

[0046] Figure 3 is a flowchart of step S102 in an embodiment of the present application;

[0047] Figure 4 is a flowchart of step S103 in an embodiment of the present application;

[0048] Figure 5 is a flowchart of step S406 in an embodiment of the present application;

[0049] Figure 6 is a flowchart of step S407 in an embodiment of the present application;

[0050] Figure 7 is another flow chart of an end-to-end circuit series connection method provided by an embodiment of the present application;

[0051] Figure 8 is a schematic diagram of a service networking link in an embodiment of the present application;

[0052] Fig. 9 It is a structural schematic diagram of an end-to-end circuit series connection device provided in an embodiment of the present application;

[0053] Fig.10 It is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. They are only examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the attached claims.

[0055] It is understood that the terms "first", "second", etc. used in this application can be used to describe various concepts in this article, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept. For example, without departing from the scope of the embodiment of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination".

[0056] The terms "at least one", "multiple", "each", "any", etc. used in this application, at least one includes one, two or more, multiple includes two or more, each refers to each of the corresponding multiple, and any refers to any one of the multiple.

[0057] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0058] It should be noted that in each specific implementation of the present application, when it comes to the need to perform relevant processing based on data related to user identity or characteristics such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first, and the collection, use, and processing of these data will comply with relevant laws, regulations, and standards. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or consent, the necessary user-related data for the normal operation of the embodiment of the present application will be obtained.

[0059] Before describing the embodiments of the present application in detail, some nouns and terms involved in the embodiments of the present application are first described. The nouns and terms involved in the embodiments of the present application are subject to the following explanations.

[0060] 1) IPRAN (IP Radio Access Network): It is an end-to-end service bearer network based on the CN2 backbone layer and based on the IP / MPLS protocol and key technologies, mainly for mobile service bearer and taking into account the provision of Layer 2 and Layer 3 channel service bearer.

[0061] 2) VPWS (Virtual Private Wire Service): A networking technology commonly used by operators for IPRAN services. Essentially, it is built on the infrastructure of the MPLS network and provides high-speed Layer 2 transparent transmission between a pair of ports on two routers to provide customers with point-to-point connections.

[0062] 3) VPLS (Virtual Private LAN Service): A networking technology commonly used by operators for IPRAN services. It is essentially an L2VPN (Layer 2 Virtual Private Network) technology based on IP / MPLS and Ethernet technologies, providing users with point-to-point, point-to-multipoint, and multipoint-to-multipoint connections.

[0063] 4) VCID: Virtual channel identifier, which is a unique identifier used to identify a virtual channel in the network. In an ATM (Asynchronous Transfer Mode) network, VCID is used to distinguish different virtual channels. Each cell header contains a 16-bit VCID to identify which virtual channel the cell belongs to.

[0064] 5) PW: Pseudowire is a communication technology that provides end-to-end services in MPLS networks and is used to simulate different types of network services. It establishes point-to-point connections between edge routers, encapsulates traditional network services (such as frame relay, time division multiplexing, asynchronous transmission service and Ethernet) and transmits them on modern MPLS or IP networks.

[0065] 6) MPLS: Multi-Protocol Label Switching is a new technology that uses labels to guide data to be transmitted at high speed and efficiently on an open communication network. Multi-protocol means that MPLS can not only support multiple protocols at the network layer, but also be compatible with multiple data link layer technologies at the second layer.

[0066] At present, the business networking configuration is usually carried out in the form of Virtual Private LAN Service (VPLS), relying on the business bearer network (IP Radio Access Network, IPRAN) to establish a point-to-multipoint Ethernet circuit. However, due to the complex user networking topology, the scattered locations of various access points, the diverse equipment levels through which the business flows, and the complex VPLS technical architecture, it is difficult to achieve end-to-end circuit construction based on device configuration, the business networking configuration is difficult and inefficient, which has brought great obstacles to the construction of operators' active operation service systems.

[0067] Based on this, the embodiments of the present application propose an end-to-end circuit connection method, device, electronic device and storage medium to realize the VPLS networking circuit to automatically establish end-to-end topology according to the full configuration information of the equipment, thereby providing a basis for upper-layer applications such as circuit monitoring, alarm, and rapid fault location.

[0068] Reference Figure 1 , Figure 1 This is an optional flow chart of an end-to-end circuit series connection method provided in an embodiment of the present application. The method may include but is not limited to steps S101 to S104:

[0069] Step S101, obtaining full device configuration information corresponding to the service network, and determining a device information mapping relationship according to the full device configuration information;

[0070] Step S102, obtaining the center point screening information, and determining the center point device configuration information from the device full configuration information according to the center point screening information;

[0071] Step S103, parsing the mapping relationship between the central point device configuration information and the device information, determining the network protocol addresses of multiple transfer devices, and generating a service networking link according to the network protocol addresses of each transfer device and the central point device configuration information;

[0072] Step S104: perform end-to-end circuit connection according to the service networking link.

[0073] In some embodiments, the embodiments of the present application focus on the IPRAN network architecture, based on the individual characteristics of the VPLS networking circuit, combined with the configuration specifications of each network layer device and the configuration templates and principles of each equipment manufacturer, based on the VCID, PW and other key information of the virtual circuit (VC) in the business network, it is proposed to use the central point device of the business network as the benchmark, radiate and splice the branch points corresponding to each transit device in all directions, and finally realize an end-to-end circuit concatenation method that automatically establishes an end-to-end topology.

[0074] In some embodiments, reference Figure 2 , Figure 2 This is an optional flowchart of step S101 in the embodiment of the present application. Step S101 may include but is not limited to steps S201 to S203:

[0075] Step S201, collecting full configuration information corresponding to multiple service devices in the service bearer network;

[0076] Step S202, determining the device service network protocol address and device network protocol address corresponding to each service device according to the full configuration information corresponding to each service device;

[0077] Step S203, mapping the device service network protocol address corresponding to each service device with the device network protocol address to establish a device information mapping relationship.

[0078] In some embodiments, optionally, the manufacturer of each business device, each device-level configuration template and collection rules are collected, device information is collected regularly according to the collection rules, and instructions are parsed according to the configuration template to obtain the full device instruction-level configuration corresponding to each business device (such as the full configuration information mentioned above). The full device instruction-level configuration may include but is not limited to device model, device system information, device IP address, device business IP address, physical port, network configuration information, etc. The network configuration information may include but is not limited to communication settings, processing communication settings, connection mode, service, real-time clock, IO mapping and other data.

[0079] In some embodiments, the device IP address and the device service IP address are determined from the full configuration information corresponding to each service device, a mapping relationship between the device IP address and the device service IP address in each service device is established, and the above-mentioned device information mapping relationship is obtained. The device information mapping relationship includes a mapping relationship established between the device IP address and the device service IP address in each service device.

[0080] In some embodiments, reference Figure 3 , Figure 3 This is an optional flowchart of step S102 in the embodiment of the present application. Step S102 may include but is not limited to steps S301 to S302:

[0081] Step S301, in response to a central point screening operation, receiving central point instruction screening information, and acquiring the central point instruction screening information as the central point screening information;

[0082] Step S302: According to the full configuration information of the device, a central point device matching the central point instruction screening information is determined from multiple business devices, and the full configuration information corresponding to the central point device is determined as the central point device configuration information.

[0083] In some embodiments, the central point instruction filtering information includes a first instruction and a second instruction. The first instruction is used to preliminarily locate the central point in the MPLS network, and the second instruction is used to filter out the central point device that complies with the preset VPLS configuration instructions from the full instruction-level configuration of the device. The central point device is a service device located at the central point of the MPLS network.

[0084] Exemplarily, the first instruction "!MPLS VPLS global config" is used as the key configuration instruction to perform the first screening, preliminarily locate the center point, and obtain the instance data corresponding to the center point binding. The second instruction "mpls staticvpls domain" is used as the key string to perform the second screening, filter out the full instructions starting with the key string from the instance data, determine the instance name of the center point device, and collect the full configuration information corresponding to the center point device, including the device IP address, device level information, network configuration information, channel PW configuration information, instance name and physical port corresponding to the center point device.

[0085] In some embodiments, reference Figure 4 , Figure 4 This is an optional flowchart of step S103 in the embodiment of the present application. Step S103 may include but is not limited to steps S401 to S407:

[0086] Step S401, parsing the central point device configuration information to determine the corresponding service binding physical port information;

[0087] Step S402, obtaining the central point device configuration information as the current device configuration information;

[0088] Step S403, parsing the current device configuration information, determining the corresponding channel pseudowire configuration information and the current device network protocol address;

[0089] Step S404, determining the channel pseudo wire configuration unit data matching the service binding physical port information from the channel pseudo wire configuration information;

[0090] Step S405, parsing the channel pseudowire configuration unit data to determine whether it contains next jump device guidance data;

[0091] Step S406, when the channel pseudo-wire configuration unit data includes next-jump device guidance data, determine the next-jump device service network protocol address according to the next-jump device guidance data, determine the next-jump device network protocol address corresponding to the next-jump device service network protocol address from the device information mapping relationship, establish a network topology connection between the current device network protocol address and the next-jump device network protocol address, obtain the next-jump device configuration information corresponding to the next-jump device network protocol address from the device full configuration information, obtain the next-jump device configuration information as the current device configuration information, then return to parse the current device configuration information, determine the corresponding channel pseudo-wire configuration information and the current device network protocol address, until the channel pseudo-wire configuration unit data does not include the next-jump device guidance data;

[0092] Step S407: when the channel pseudowire configuration unit data does not include the next hop device guidance data, the current device network protocol address is determined as the link termination node of the service networking link.

[0093] In some embodiments, the central point device configuration information is parsed to obtain the channel PW configuration information (such as the above-mentioned channel pseudowire configuration information), the instance name and the device IP address of the central point device, and the instance name is used as the key command parameter (such as the above-mentioned service binding physical port information). According to the key command parameter, the channel PW configuration instruction block bound to the instance name (such as the above-mentioned channel pseudowire configuration unit data) is filtered out from the channel PW configuration information, and the next jump device guidance data is determined in the channel PW configuration instruction block. The next jump device guidance data includes the circuit PW value, VCID value and the next jump device service IP address of the current device.

[0094] In some embodiments, the above steps S403 to S406 are repeated until the channel pseudo-wire configuration unit data does not contain the next jump device guidance data. When the channel pseudo-wire configuration unit data does not contain the next jump device guidance data, it indicates that the current device network protocol address corresponds to the terminal node of the business networking, and it is determined that the device node corresponding to the current device network protocol address is the link termination node of the business networking link.

[0095] In some embodiments, reference Figure 5 , Figure 5 This is an optional flowchart of step S406 in the embodiment of the present application. Step S406 may include but is not limited to steps S501 to S503:

[0096] Step S501, determining a first link node according to a current device network protocol address;

[0097] Step S502, determining the second link node according to the next hop device network protocol address;

[0098] Step S503: Establish a network topology connection between the first link node and the second link node in the service networking link, wherein the first link node is a preceding node of the second link node.

[0099] In some embodiments, the device node corresponding to the current device network protocol address is used as the first link node, and the device node corresponding to the next hop device network protocol address is used as the second link node, and a network topology connection channel is established between the first link node and the second link node. The network topology connection channel is a directed node connection path in the service networking link, wherein the first link node is the predecessor node of the second link node, indicating that the service request information is first sent to the first link node and then forwarded from the first link node to the second link node.

[0100] In some embodiments, reference Figure 6 , Figure 6 This is an optional flowchart of step S407 in the embodiment of the present application. Step S407 may include but is not limited to steps S601 to S603:

[0101] Step S601, obtaining a service networking link;

[0102] Step S602, determining the link termination node according to the current device network protocol address;

[0103] Step S603: The link termination node is used as the termination node of the service networking link and accesses the service networking link.

[0104] In some embodiments, the link termination node is the termination processing node of the service networking link, and the service processing task corresponding to the service request information is processed at the termination processing node. The central point device is the link starting node of the service networking link, and the link starting node is used to receive the service request information.

[0105] In some embodiments, reference Figure 7 , Figure 7 is another optional flow chart of an end-to-end circuit connection method provided in an embodiment of the present application. The end-to-end circuit connection method may further include steps S701 to S702:

[0106] Step S701, determining the target central point service port corresponding to the central point device according to the central point device configuration information;

[0107] Step S702: obtain service request information, construct the service port of the target central point as a service access port, and use the service access port to receive the service request information.

[0108] In some embodiments, the service access port is used to receive the service request information, and each link node in the above service networking link is used to process the service processing task corresponding to the service request information step by step.

[0109] In some embodiments, the above end-to-end circuit connection method is applied to automatically establish an end-to-end topology for a VPLS circuit. The specific process is as follows:

[0110] The first step is to collect the full configuration information of IPRAN devices, generate a full configuration file, synchronize it to the database, and establish a mapping relationship between the device IP address and the device service IP address based on the full configuration information of the device, obtain the device information mapping relationship, and write it into the database for backup;

[0111] The second step is to filter the central point, filter the information with "!MPLS VPLS global config" and "mpls static vplsdomain" as the central point, filter the full configuration information of the device twice in a row, and obtain the instance data bound to the central point after filtering, as shown below (this embodiment of the application only shows 1 data as an example):

[0112] mpls static vpls domain VSI_eth_7_1_2514 1etree flood false falsefalse true 32000G0432618756_7 / 1_2514raw;

[0113] Step 3: Use the string "mpls static vpls domain" as the command keyword and space as the command parameter separator to parse the command parameters containing the word "VSI" in a single configuration command one by one, and obtain the central point instance name "VSI_eth_7_1_2514" from the instance data bound to the above central point;

[0114] Step 4: Use "interface ac" as the key string and "VSI_eth_7_1_2514" as the key command parameter to filter out the configurations that meet the conditions as follows:

[0115]

[0116] According to the above configuration, the physical port bound to the central point is identified as "ethernet 7 / 1", and the physical port "ethernet7 / 1" is determined as the service access port, and the service request information is received by using the service access port;

[0117] The fifth step is to parse the central point device configuration information, determine the corresponding service binding physical port information (determined by the above key command parameter "VSI_eth_7_1_2514"), channel pseudo wire configuration information and the current device network protocol address, and filter out the corresponding channel PW configuration instruction block from the channel pseudo wire configuration information according to the service binding physical port information. The specific example content of the channel PW configuration instruction block is as follows:

[0118]

[0119] From the specific instance content of the above channel PW configuration instruction block, the circuit PW value, VCID value and the service IP address of the next-hop device indicated are determined, and the following results are obtained:

[0120] 1) Circuit PW value: pw10000401 (primary), next-hop device service IP address: service IP: 10.10.10.10 (primary), VCID value: 910341;

[0121] 2) Circuit PW value: pw10000402 (backup), next-hop device service IP address: service IP: 20.20.20.20 (primary), VCID value: 910342;

[0122] According to the next-hop device service IP address 10.10.10.10 in the above pw10000401 (master), the corresponding device IP address is determined to be 1.1.1.1 from the device information mapping relationship, and the channel PW configuration block matching the service-bound physical port information in the device with the device IP address 1.1.1.1 is queried. The specific example content is as follows:

[0123] mspw 910341for ethernet raw

[0124] pseudo-wire pw261

[0125] neighbor 110.110.110.110vcid 910341

[0126] vccv bfd capability status encapsulation ip

[0127] Parse the above channel PW instruction block and obtain the bound circuit PW value pw261, the next-hop device service IP address 110.110.110.110, and the VCID value 910341;

[0128] Step 6: Repeat step 5 above until the link termination node of the service networking link is determined. The device IP address corresponding to the link termination node is 0.0.0.2, the port is gigaethernet 1 / 3 / 7, and the corresponding channel PW configuration block is as follows:

[0129] interface gigaethernet 1 / 3 / 7

[0130] Mode l2

[0131] description G0432609423 1 / 3 / 7

[0132] rate-limit ingress cir 4000cbs 750pir 4000pbs 750

[0133] rate-limit egress cir 4000cbs 750pir 4000pbs 750

[0134] speed 100

[0135] mpls l2vc destination 101.101.101.101raw vc-id 910341mtu 1500

[0136] mpls l2vc destination 202.202.202.202raw vc-id 910342mtu 1500backup

[0137] mpls l2vpn redundancy master switch-mode revertive wtr-time 120

[0138] mpls l2vpn pw bfd

[0139] mpls l2vpn pw bfd backup;

[0140] Step 7: Connect multiple transfer device nodes determined in steps 6 to 7 to generate a service networking link. Figure 8 , Figure 8It is an optional schematic diagram of the business networking link in an embodiment of the present application, wherein the central point device IP address is 0.0.0.1, and its corresponding device node is the link start node, the second-level link node is the device node corresponding to the device IP address: 1.1.1.1, the third-level link node is the device node corresponding to the device IP address: 11.11.11.11, and the link termination node is the device node corresponding to the device IP address: 0.0.0.2.

[0141] Reference Fig. 9 , Fig. 9 : is an optional structural diagram of an end-to-end circuit series connection device provided in an embodiment of the present application. The device can be used to implement the above-mentioned end-to-end circuit series connection method. The device may include:

[0142] The first module is used to obtain the full configuration information of the device corresponding to the service network, and determine the device information mapping relationship according to the full configuration information of the device;

[0143] The second module is used to obtain the center point screening information, and determine the center point device configuration information from the full device configuration information according to the center point screening information;

[0144] The third module is used to parse the mapping relationship between the central point device configuration information and the device information, determine the network protocol addresses of multiple transit devices, and generate a service networking link according to the network protocol addresses of each transit device and the central point device configuration information;

[0145] The fourth module is used to perform end-to-end circuit connection according to the business networking link.

[0146] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0147] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above end-to-end circuit connection method when executing the computer program. The electronic device can be any smart terminal including a tablet computer.

[0148] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0149] See also Fig.10 , Fig.10 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:

[0150] The processor 901 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0151] The memory 902 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 902 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 902, and the processor 901 calls and executes the end-to-end circuit connection method of the embodiment of the present application;

[0152] Input / output interface 903, used to implement information input and output;

[0153] Communication interface 904, used to realize communication interaction between the device and other devices, which can be realized by wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);

[0154] A bus 905 that transmits information between various components of the device (e.g., the processor 901, the memory 902, the input / output interface 903, and the communication interface 904);

[0155] The processor 901 , the memory 902 , the input / output interface 903 and the communication interface 904 are connected to each other in communication within the device via a bus 905 .

[0156] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned end-to-end circuit series connection method is implemented.

[0157] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiments, the functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0158] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0159] The embodiments of the present application provide an end-to-end circuit connection method, device, electronic device and storage medium, which obtains the full configuration information of the equipment corresponding to the business networking, determines the equipment information mapping relationship according to the full configuration information of the equipment; obtains the center point screening information, determines the center point equipment configuration information from the full configuration information of the equipment according to the center point screening information; parses the center point equipment configuration information and the equipment information mapping relationship, determines multiple transit equipment network protocol addresses, generates a business networking link according to the network protocol address of each transit equipment and the center point equipment configuration information, and performs end-to-end circuit connection according to the business networking link. The embodiments of the present application can realize business networking configuration analysis, automatically establish end-to-end networking circuit topology according to the full configuration information of the equipment, and provide a solid foundation for realizing upper-layer applications such as circuit monitoring, alarm, and rapid fault location of business networking.

[0160] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0161] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0162] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0163] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0164] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0165] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0166] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0167] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0168] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0169] It should be appreciated that embodiments of the present invention may be implemented or enforced by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer-readable memory. The method may be implemented in a computer program using standard programming techniques including a non-transitory computer-readable storage medium configured with a computer program, wherein the storage medium so configured causes the computer to operate in a specific and predefined manner - according to the methods and drawings described in the specific embodiments. Each program may be implemented in a high-level procedural or object-oriented programming language to communicate with a computer system. However, if desired, the program may be implemented in an assembly or machine language. In any case, the language may be a compiled or interpreted language. In addition, the program may be run on a programmed ASIC for this purpose.

[0170] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.

[0171] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.

Claims

1. A method for connecting end-to-end circuits in series, characterized in that: The method comprises the following steps: Obtaining full device configuration information corresponding to the service network, and determining a device information mapping relationship based on the full device configuration information; Acquire central point screening information, and determine central point device configuration information from the full device configuration information according to the central point screening information; Parsing the mapping relationship between the central point device configuration information and the device information, determining a plurality of transfer device network protocol addresses, and generating a service networking link according to each of the transfer device network protocol addresses and the central point device configuration information; According to the service networking link, end-to-end circuit connection is performed.

2. The end-to-end circuit connection method according to claim 1, characterized in that: The obtaining of the full configuration information of the device corresponding to the service networking, and determining the device information mapping relationship according to the full configuration information of the device, specifically includes: Collect the full configuration information corresponding to multiple service devices in the service bearer network; Determine the device service network protocol address and device network protocol address corresponding to each of the service devices according to the full configuration information corresponding to each of the service devices; The device service network protocol address corresponding to each of the service devices is mapped with the device network protocol address to establish the device information mapping relationship.

3. The end-to-end circuit connection method according to claim 2, characterized in that: The obtaining of the central point screening information and determining the central point device configuration information from the device full configuration information according to the central point screening information specifically includes: In response to the central point screening operation, receiving central point instruction screening information, and acquiring the central point instruction screening information as the central point screening information; According to the full configuration information of the device, a central point device matching the central point instruction screening information is determined from the plurality of the business devices, and the full configuration information corresponding to the central point device is determined as the central point device configuration information.

4. The end-to-end circuit connection method according to claim 3, characterized in that: The parsing of the mapping relationship between the central point device configuration information and the device information, determining a plurality of transfer device network protocol addresses, and generating a service networking link according to each of the transfer device network protocol addresses and the central point device configuration information specifically includes: Parse the central point device configuration information to determine the corresponding service binding physical port information; Acquire the central point device configuration information as current device configuration information; Parsing the current device configuration information to determine the corresponding channel pseudowire configuration information and the current device network protocol address; Determine, from the channel pseudo wire configuration information, channel pseudo wire configuration unit data that matches the service binding physical port information; Parsing the channel pseudowire configuration unit data to determine whether it contains next jump device guidance data; When the channel pseudo-wire configuration unit data includes the next-jump device guidance data, determine the next-jump device service network protocol address according to the next-jump device guidance data, determine the next-jump device network protocol address corresponding to the next-jump device service network protocol address from the device information mapping relationship, establish a network topology connection between the current device network protocol address and the next-jump device network protocol address, obtain the next-jump device configuration information corresponding to the next-jump device network protocol address from the device full configuration information, obtain the next-jump device configuration information as the current device configuration information, then return to parse the current device configuration information, determine the corresponding channel pseudo-wire configuration information and the current device network protocol address, until the channel pseudo-wire configuration unit data does not include the next-jump device guidance data; When the channel pseudowire configuration unit data does not include the next-hop device guidance data, the current device network protocol address is determined as the link termination node of the service networking link.

5. The end-to-end circuit series connection method according to claim 4, characterized in that: The method further comprises: Determine the target central point service port corresponding to the central point device according to the central point device configuration information; The target central point service port is constructed as a service access port, and the service access port is used to receive service request information.

6. The end-to-end circuit series connection method according to claim 5, characterized in that: The establishing of a network topology connection between the current device network protocol address and the next hop device network protocol address specifically includes: Determine a first link node according to the current device network protocol address; Determining a second link node according to the next hop device network protocol address; A network topology connection is established between the first link node and the second link node in the service networking link, wherein the first link node is a preceding node of the second link node.

7. The end-to-end circuit series connection method according to claim 4, characterized in that: When the channel pseudowire configuration unit data does not include the next jump device guidance data, determining the current device network protocol address as the link termination node of the service networking link specifically includes: Obtaining the service networking link; Determining the link termination node according to the current device network protocol address; The link termination node is used as the termination node of the service networking link and is connected to the service networking link.

8. An end-to-end circuit series connection device, characterized in that: The device comprises: The first module is used to obtain the full configuration information of the device corresponding to the service network, and determine the device information mapping relationship according to the full configuration information of the device; The second module is used to obtain the central point screening information, and determine the central point device configuration information from the full device configuration information according to the central point screening information; The third module is used to parse the mapping relationship between the central point device configuration information and the device information, determine multiple transfer device network protocol addresses, and generate a service networking link according to each of the transfer device network protocol addresses and the central point device configuration information; The fourth module is used to perform end-to-end circuit connection according to the business networking link.

9. An electronic device, characterized in that: The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the end-to-end circuit series connection method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the end-to-end circuit series connection method described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Message forwarding method, node and system, network node and storage medium

    CN115567439A

  • IPRAN service fulfillment method, system and device, and storage medium

    CN117675005A

  • Topological relation data discovery method and device, electronic equipment and storage medium

    CN117675670A

  • Dynamic network topology discovery method and device, electronic equipment and storage medium

    CN118802563A

  • Looped network topological structure dynamic updating method based on link layer discovery protocol

    CN119011410A