A network networking method, system, apparatus, and computer-readable storage medium

CN116847225BActive Publication Date: 2026-08-14CHINA MOBILE GRP FUJIAN CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-24
Publication Date
2026-08-14

AI Technical Summary

Technical Problem

[0005]本申请实施例提供一种网络组网方法,用于解决现有应急组网中,由于应急设备网络端口与故障链路之间的对应关系难以快速确定,并且,隧道后端子系统与隧道前端子系统之间难以快速建立一对多的组网模式,从而导致难以实现大规模光网络故障的快速抢通的问题

Benefits of technology

[0016] Using the network topology method provided in this application, upon obtaining network fault alarm information, a candidate optical network unit (ONU) location mapping table can be determined based on the fault alarm information. Then, a target PON port set is generated based on the PON ports where the discovered unauthenticated ONU devices are located. Subsequently, the mapping relationship between target PON ports and source PON ports can be determined based on the target PON port set and the candidate ONU location mapping table. A PON port mapping table to be cut over is generated based on this mapping relationship. Then, each target PON port in the target PON port set is configured according to the PON port mapping table to generate the target PON port configuration. Finally, the mapping relationship between the network identifier (VNI) and the virtual local area network (VLAN) of the Virtual Extended Local Area Network (VXLAN) can be configured and adjusted based on the target PON port configuration to complete the network topology. The network topology method provided in this solution is designed as a pre-configured scheme that can be configured in one go without needing to modify the configuration during emergency repairs. Moreover, during emergency repairs, it can automatically configure the mapping relationship between VNI and VLAN of the tunnel back-end subsystem. After the PON fiber is randomly inserted into the PON port (target PON port) of the emergency OLT, it can quickly identify the source PON port of the ONU under each target PON port and automatically complete the service data configuration of the target PON port, which greatly improves the efficiency of emergency OLT network topology configuration and can meet the timeliness of emergency repairs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116847225B_ABST
    Figure CN116847225B_ABST
Patent Text Reader

Abstract

This application discloses a network topology method to address the problem in existing emergency networking where the correspondence between emergency equipment network ports and faulty links is difficult to determine quickly, thus hindering rapid restoration of large-scale optical network failures. The method includes: acquiring network fault alarm information; determining a candidate optical network unit (ONU) location mapping table based on the fault alarm information; generating a target PON port set based on the PON ports of the discovered unauthenticated ONU devices; generating a PON port mapping table to be cut over based on the target PON port set and the candidate ONU location mapping table; configuring each target PON port in the target PON port set according to the PON port mapping table to be cut over, generating a target PON port configuration; and adjusting the mapping relationship between the network identifier (VNI) and the virtual local area network (VLAN) of the Virtual Extended Local Area Network (VXLAN) according to the target PON port configuration to complete the network topology.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a network networking method, system, apparatus, and computer-readable storage medium. Background Technology

[0002] The Optical Line Terminal (OLT) is a transmission aggregation network element that carries wired broadband and enterprise leased line services. In typical OLT networking scenarios, the OLT uplink connects to metropolitan area network equipment (or switches) via an optical transport network (OTN) or a packet transport network (PTN). Common OLT networking methods in related technologies include... Figure 1 As shown in the diagram, the Optical Distribution Network (ODN) provides an optical transmission channel between the OLT and the Optical Network Unit (ONU). When the ODN optical cable is interrupted, it may cause simultaneous service disruptions at multiple Passive Optical Network (PON) ports of the OLT, resulting in significant impact. The repair time depends on the extent of the cable damage and could potentially last for several hours.

[0003] When multiple PON ports experience fiber optic cable interruptions, in addition to conventional fiber optic splicing, an emergency OLT can be used for rapid network setup. An emergency OLT is placed on an emergency vehicle and quickly transported to an optical distribution box below the fiber optic cable fault point. The existing optical lines are switched to the emergency OLT by plugging and unplugging pigtails.

[0004] In existing solutions, commonly used emergency communication networking schemes include: Figure 2 As shown, using Figure 2 The emergency communication networking method shown requires configuring Virtual Extended Local Area Networks (VXLANs) and mapping relationships between VXLANs and Virtual Local Area Networks (VLANs) in both the tunnel front-end and rear-end subsystems. For a single emergency OLT, the large number of access services and VLANs necessitates a significant amount of VNI configuration. If the VNI and VLAN mapping relationships are configured only during fault repair, remote network management and configuration distribution are required for each tunnel front-end subsystem. This approach is not only difficult to implement but also lacks timeliness, greatly increasing repair time and making emergency switching for faulty fiber optic cables impossible. Summary of the Invention

[0005] This application provides a network topology method to address the problem in existing emergency networking where the correspondence between emergency equipment network ports and faulty links is difficult to determine quickly, and a one-to-many networking mode is difficult to establish quickly between the tunnel back terminal system and the tunnel front terminal system, thus making it difficult to quickly restore large-scale optical network faults.

[0006] This application also provides a network networking system to solve the problem that in existing emergency networking, the correspondence between emergency equipment network ports and faulty links is difficult to determine quickly, and the one-to-many networking mode between the tunnel back terminal system and the tunnel front terminal system is difficult to establish quickly, which makes it difficult to quickly restore large-scale optical network faults.

[0007] This application also provides a network networking device to solve the problem that in existing emergency networking, the correspondence between emergency equipment network ports and faulty links is difficult to determine quickly, and the one-to-many networking mode between the tunnel back terminal system and the tunnel front terminal system is difficult to establish quickly, which makes it difficult to achieve rapid restoration of large-scale optical network faults.

[0008] This application also provides a computer-readable storage medium to address the problem in existing emergency networking where the correspondence between emergency equipment network ports and faulty links is difficult to determine quickly, and a one-to-many networking mode is difficult to establish quickly between the tunnel back-end terminal system and the tunnel front-end terminal system, thus making it difficult to quickly restore large-scale optical network faults.

[0009] The embodiments of this application adopt the following technical solutions:

[0010] A network topology method includes: acquiring network fault alarm information; determining a candidate optical network unit (ONU) location mapping table based on the fault alarm information, wherein the candidate ONU location mapping table contains authentication keywords for each candidate ONU device; generating a target PON port set based on the passive optical network (PON) ports where discovered unauthenticated ONU devices are located; generating a PON port mapping table to be cut over based on the target PON port set and the candidate ONU location mapping table; configuring each target PON port in the target PON port set according to the PON port mapping table to be cut over, generating a target PON port configuration; and configuring and adjusting the mapping relationship between the network identifier (VNI) and the virtual local area network (VLAN) of the virtual extended local area network (VXLAN) according to the target PON port configuration, so as to complete the network topology.

[0011] A network networking system includes: an alarm unit for acquiring network fault alarm information and determining a candidate optical network unit (ONU) location mapping table based on the fault alarm information, wherein the candidate ONU location mapping table contains authentication keywords for each candidate ONU device; a target PON port set determination unit for generating a target PON port set based on the passive optical network (PON) ports where discovered unauthenticated ONU devices are located; a mapping table generation unit for generating a PON port mapping table to be cut over based on the target PON port set and the candidate ONU location mapping table; a configuration unit for configuring each target PON port in the target PON port set according to the PON port mapping table to be cut over, generating a target PON port configuration; and a networking unit for configuring and adjusting the mapping relationship between the network identifier (VNI) and the virtual local area network (VLAN) of the Virtual Extended Local Area Network (VXLAN) according to the target PON port configuration, so as to complete the network networking.

[0012] A network networking device, comprising:

[0013] The processor; and a memory configured to store computer-executable instructions, which, when executed, cause the processor to perform the following operations: acquire network fault alarm information; determine a candidate optical network unit (ONU) location mapping table based on the fault alarm information, wherein the candidate ONU location mapping table contains authentication keywords for each candidate ONU device; generate a target PON port set based on the PON ports of the discovered unauthenticated ONU devices; generate a PON port mapping table to be cut over based on the target PON port set and the candidate ONU location mapping table; configure each target PON port in the target PON port set according to the PON port mapping table to be cut over, generating a target PON port configuration; and configure and adjust the mapping relationship between the network identifier (VNI) and the virtual local area network (VLAN) of the Virtual Extended Local Area Network (VXLAN) according to the target PON port configuration to complete the network networking.

[0014] A computer-readable storage medium stores one or more programs that, when executed by an electronic device including multiple applications, cause the electronic device to perform the following operations: acquire network fault alarm information; determine a candidate optical network unit (ONU) location mapping table based on the fault alarm information, wherein the candidate ONU location mapping table contains authentication keywords for each candidate ONU device; generate a target PON port set based on the passive optical network (PON) ports where discovered unauthenticated ONU devices are located; generate a PON port mapping table to be cut over based on the target PON port set and the candidate ONU location mapping table; configure each target PON port in the target PON port set according to the PON port mapping table to be cut over, generating a target PON port configuration; and adjust the mapping relationship between the network identifier (VNI) and the virtual local area network (VLAN) of a Virtual Extended Local Area Network (VXLAN) according to the target PON port configuration to complete network networking.

[0015] The above-described technical solutions adopted in the embodiments of this application can achieve the following beneficial effects:

[0016] Using the network topology method provided in this application, upon obtaining network fault alarm information, a candidate optical network unit (ONU) location mapping table can be determined based on the fault alarm information. Then, a target PON port set is generated based on the PON ports where the discovered unauthenticated ONU devices are located. Subsequently, the mapping relationship between target PON ports and source PON ports can be determined based on the target PON port set and the candidate ONU location mapping table. A PON port mapping table to be cut over is generated based on this mapping relationship. Then, each target PON port in the target PON port set is configured according to the PON port mapping table to generate the target PON port configuration. Finally, the mapping relationship between the network identifier (VNI) and the virtual local area network (VLAN) of the Virtual Extended Local Area Network (VXLAN) can be configured and adjusted based on the target PON port configuration to complete the network topology. The network topology method provided in this solution is designed as a pre-configured scheme that can be configured in one go without needing to modify the configuration during emergency repairs. Moreover, during emergency repairs, it can automatically configure the mapping relationship between VNI and VLAN of the tunnel back-end subsystem. After the PON fiber is randomly inserted into the PON port (target PON port) of the emergency OLT, it can quickly identify the source PON port of the ONU under each target PON port and automatically complete the service data configuration of the target PON port, which greatly improves the efficiency of emergency OLT network topology configuration and can meet the timeliness of emergency repairs. Attached Figure Description

[0017] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0018] Figure 1 This is a common optical line headend networking method provided in related technologies;

[0019] Figure 2 This is a common emergency communication networking solution provided in related technologies;

[0020] Figure 3 An emergency communication networking method provided in this application embodiment;

[0021] Figure 4 A schematic diagram illustrating a network topology method provided in this application embodiment;

[0022] Figure 5 A schematic diagram of the specific structure of a network networking system provided in this application embodiment;

[0023] Figure 6 This is a schematic diagram of the specific structure of a network networking device provided in an embodiment of this application. Detailed Implementation

[0024] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0025] The technical solutions provided by the various embodiments of this application are described in detail below with reference to the accompanying drawings.

[0026] This application provides a network topology method, and the emergency network architecture is as follows: Figure 3 As shown, this method is used to address the problem in existing emergency networks where it is difficult to quickly determine the correspondence between emergency equipment network ports and faulty links, and it is also difficult to quickly establish a one-to-many networking mode between the tunnel back terminal system and the tunnel front terminal system, thus making it difficult to quickly restore large-scale optical network faults.

[0027] It should be noted that in order for the emergency OLT devices to function properly, each emergency OLT device needs to be pre-configured before its first use to ensure that the IP address of the control system of the emergency OLT device and the IP address of the emergency OLT device can be mutually reachable via IP routing.

[0028] In one implementation, the following method can be used to achieve mutual IP routing reachability between the IP address of the emergency OLT device control system and the IP address of the emergency OLT device:

[0029] The L2TP Access Concentrator (LAC) module of the tunnel front-end subsystem and the L2TP Network Server (LNS) module of the tunnel back-end subsystem establish an L2TP tunnel based on the Layer 2 Tunneling Protocol (L2TP). The IP address of the emergency OLT device management system is included in this L2TP VPN, ensuring routable access between the emergency OLT device IP address and the Multi-Protocol Label Switching (MPLS) VPN sub-interface IP address created by the Broadband Remote Access Server (BRAS) device. Simultaneously, the IP address of the emergency OLT control system is included in the MPLS VPN, enabling mutual IP routable access between the emergency OLT control system IP address and the emergency OLT management system IP address.

[0030] After configuring the IP address for the emergency OLT device, it is also necessary to map the VNI of the VXLAN tunnel to the front-end and back-end VLANs. The tunnel front-end subsystem is interconnected with the emergency repair site equipment, and the tunnel back-end subsystem is interconnected with the metropolitan area network equipment. By creating a VXLAN tunnel between the tunnel front-end and back-end subsystems, the data transmission channel connection between the front-end and back-end can be realized.

[0031] In one implementation, the mapping between the VNI of the VXLAN tunnel and the front-end and back-end VLANs can be achieved using the following method:

[0032] Step a: Determine the active front-end VLANs used for data transmission from the front-end virtual LAN VLAN set;

[0033] In one implementation, the active front-end VLAN can be determined as follows: during an emergency cutover of a PON port, the service VLAN corresponding to the target PON port is designated as the active front-end VLAN. This active front-end VLAN can be used for data transmission, while inactive front-end VLANs are not used for data transmission.

[0034] Step b: Perform static mapping on the active front-end VLAN to obtain the active VNI;

[0035] Each tunnel front-end subsystem uses a static mapping method, and maps its respective front-end VLAN set to its respective VNI set according to the principle that the VNI sets obtained by the static mapping of different tunnel front-end subsystems are mutually exclusive.

[0036] Step c: Using a dynamic mapping method, the active VNI is mapped to the backend VLAN to realize the mapping between the VNI of the Virtual Extended LAN (VXLAN) tunnel and the frontend and backend VLANs.

[0037] When the emergency repair is completed, the active front-end VLAN allocated by executing step a can be changed to an inactive front-end VLAN, and the corresponding active VNI can be changed to an inactive VNI. Then, the dynamic mapping corresponding to the above inactive VNI can be cleared in the tunnel back-end subsystem, and the corresponding back-end VLAN resources can be released.

[0038] After completing the mapping between the VNI of the VXLAN tunnel and the front-end and back-end VLANs by performing the above steps, it is also necessary to configure the VNI of the tunnel front-end subsystem and the dynamic service sub-interface of the BRAS device connected to the tunnel back-end subsystem.

[0039] The tunnel front-end subsystem is the direct-connect node for the uplink of the emergency OLT equipment, responsible for sending the OLT's service Ethernet frames into the VXLAN tunnel. Most OLT service Ethernet frames use QinQ encapsulation technology, which carries two layers of VLAN tags in the Ethernet frame: an inner VLAN tag and an outer VLAN tag. To reduce the number of VNI configurations, in this embodiment, each outer VLAN tag can be mapped to one VNI, and the Ethernet frames carried in the VXLAN corresponding to the same VNI carry the original inner VLAN tag. For single-layer VLAN encapsulation services, each VLAN tag is also mapped to one VNI. Therefore, the number of VNIs required for one emergency OLT is less than 4096.

[0040] In one implementation, the "front-end VLAN-VNI mapping algorithm" designed in this scheme can be used to configure the VNI of the tunnel front-end subsystem. Through the "front-end VLAN-VNI mapping algorithm", the OLT service VLAN and VNI can be mapped one-to-one in the VTEP of the tunnel front-end subsystem. The mapping relationship between the VLAN and VNI of the Nth emergency OLT is as follows [1]:

[0041] VNI = VLAN_ID + (N-1) * 4096 [1]

[0042] Among them, VLAN_ID is the tag value of the service single-layer VLAN or the QinQ outer layer VLAN.

[0043] After completing the VNI pre-configuration of the tunnel front-end subsystem based on the calculation results of the above "front-end VLAN-VNI mapping algorithm", a "front-end VLAN-VNI mapping table" is generated according to the mapping relationship, as shown in Table 1 below. In this table, the "Whether in use" field is initialized to "No". This method allows the relevant data of multiple emergency OLT devices to be included in the same data table.

[0044] Table 1 Front-end VLAN-VNI Mapping Table

[0045]

[0046] In one implementation, the following method can be used to configure the dynamic service sub-interfaces of the BRAS device connected to the tunnel backend subsystem: The VLAN space (VLAN2-VLAN4095) transparently transmitted between the BRAS and the tunnel backend subsystem is divided into multiple intervals, each VLAN interval corresponding to a type of service. Service types include: PPPoE service, dynamic IPOE authentication service, DHCP service, static leased line service, etc. Among these, PPPoE service, dynamic IPOE authentication service, and DHCP service are dynamic services, and their service sub-interfaces can be pre-configured on the BRAS device.

[0047] During the configuration of BRAS service sub-interfaces, a backend VLAN allocation table as shown in Table 2 can also be generated. The VNI assigned to each VLAN is calculated during emergency repairs. When no emergency OLT performs repair tasks, the VNI is set to an empty value.

[0048] Table 2 Backend VLAN Allocation Table

[0049]

[0050] The schematic diagram illustrating the specific implementation process of the network topology method provided in this application is as follows: Figure 4 As shown, the main steps include the following:

[0051] Step 11: Obtain network fault alarm information, and determine the candidate optical network unit (ONU) location mapping table based on the fault alarm information;

[0052] The candidate ONU location mapping table contains the authentication keywords for each candidate ONU device.

[0053] In one implementation, a candidate optical network unit (ONU) location mapping table with a key-value pair (KEY-VALUE) structure can be generated based on the obtained fault alarm information. In this embodiment, the candidate ONU location mapping table can be determined by the following method: parsing the candidate PON port list based on the fault alarm information; determining the authentication keyword of the ONU device corresponding to each candidate PON port in the candidate PON port list; generating a key-value pair structure mapping table based on the authentication keyword to obtain the candidate ONU location mapping table, wherein the authentication keyword is used as the key in the key-value pair structure mapping table, and the location information of the candidate PON port corresponding to the authentication keyword is used as the value.

[0054] Specifically, the emergency OLT control system reads the PON port backbone fiber failure alarm from the PON network management system and parses out the candidate PON port list. Based on the candidate PON port list, the emergency OLT control system reads the authentication keywords of the ONU devices under the above candidate PON ports from the PON network management system, such as: product serial number (SN code), PASSWORD, registration code LOID, etc., uses the authentication keywords of the ONU devices as KEY, and the location information of the candidate PON ports as VALUE, and then generates a key-value pair structure mapping table.

[0055] For ease of description, the meanings of the data structures appearing in the embodiments of this application are defined as follows:

[0056] Data Structure 1:

[0057] PON_location, data structure definition: Location information of a PON port, including OLT network element ID, rack number, chassis number, slot number, and PON port number.

[0058] Data Structure 2:

[0059] PON_group, data structure definition: a collection of PON_locations.

[0060] Data Structure 3:

[0061] PON_group_size, data structure definition: the number of PON_locations contained in a PON_group.

[0062] Based on the above data structure definition, the VALUE of each entry in the candidate ONU location mapping table represents a PON_group. If the PON_group_size is greater than 1, it indicates that multiple PON ports within that PON_group contain ONUs with the same authentication keyword.

[0063] Step 12: Generate a target PON port set based on the PON ports of the discovered uncertified ONU devices;

[0064] Each discovered ONU's PON port in the emergency OLT device is used as a target PON port, and a target PON port set is generated based on these target PON ports.

[0065] Step 13: Generate a PON port mapping table to be cut over based on the target PON port set generated by executing Step 11 and Step 12 and the candidate ONU location mapping table.

[0066] In this embodiment, the source PON port information corresponding to each target PON port in the target PON port set can be determined by executing a source PON port lookup algorithm, and then a PON port mapping table to be cut over can be generated based on the source PON port information. In one embodiment, the PON port mapping table to be cut over can be generated as follows: determine the target ONU table associated with each target PON port in the target PON port set; for each target PON port in the target PON port set, execute the source PON port lookup algorithm to determine the source PON port information corresponding to each target PON port; generate the PON port mapping table to be cut over based on the target PON port and the corresponding source PON port information.

[0067] It should be noted that since the number of ONU devices in the target ONU table associated with each target PON port is not the same, different source PON port lookup algorithms can be used to calculate the source PON port for different numbers of ONU devices. Therefore, in this embodiment, before determining the source PON port information corresponding to each target PON port, it is necessary to first determine the number of ONU devices in the target ONU table corresponding to the target PON port.

[0068] In one implementation, the source PON port information corresponding to each target PON port can be determined by the following sub-steps:

[0069] Sub-step 1301: Determine the number of ONU devices in the target ONU table associated with each target PON port in the target PON port set, and determine whether the number of ONU devices in the target ONU table associated with the target PON port is greater than 1.

[0070] If the judgment result is negative, then execute sub-step 1302; if the judgment result is positive, then execute sub-step 1303.

[0071] Sub-step 1302: Determine the authentication key of the ONU device, and search for the corresponding PON port location information in the candidate ONU location mapping table based on the authentication key of the ONU device;

[0072] Specifically, based on the authentication keyword of the ONU device, the corresponding PON_group can be found in the candidate ONU location mapping table. If this PON_group contains only one PON_location, then the PON_location can be determined as the source PON port corresponding to the target PON port, and sub-step 1308 can be executed.

[0073] If it is determined that the PON_group contains multiple PON_locations, then proceed to sub-step 1309.

[0074] Sub-step 1303: Select two ONU devices from the target ONU table associated with the target PON port as reference ONU devices;

[0075] Sub-step 1304: Based on the authentication keywords of the two reference ONUs determined by executing sub-step 1303, search for the PON group corresponding to each reference ONU device in the candidate ONU location mapping table;

[0076] Based on the authentication keywords of the two reference ONU devices, the corresponding PON_group is searched in the candidate ONU location mapping table, and they are referred to as PON_group1 and PON_group2 respectively.

[0077] Sub-step 1305: Determine whether the intersection of the two PON groups is unique. If the result is yes, proceed to sub-step 1306. If the result is no, proceed to step 1307.

[0078] Sub-step 1306: When it is determined that there is only one intersection between the two PON groups, determine the PON port location information contained in the intersection of the two PON groups, use the PON port location information as the source PON port corresponding to the target PON port, and execute sub-step 1308.

[0079] Sub-step 1307: Select two reference ONU devices again in the target ONU table, and re-execute sub-step 1305;

[0080] If all ONU devices in the target ONU table have been selected as reference devices and there is still no unique intersection, then execute sub-step 1309.

[0081] Sub-step 1308: Based on the target PON port and the source PON port corresponding to the target PON port, generate a mapping table entry of the PON port mapping table to be cut over.

[0082] Sub-step 1309: If the target PON port does not have a corresponding source PON port, the process ends and no corresponding mapping table entry is generated.

[0083] Step 14: Based on the PON port mapping table to be cut over generated by executing Step 13, configure each target PON port in the target PON port set to generate the target PON port configuration.

[0084] In one implementation, the control system of the emergency OLT device can read the authentication keyword and service configuration data of each ONU under the source PON port according to the PON port mapping table to be cut over, and then issue a configuration command to the emergency OLT device to configure the authentication keyword and service configuration data of each ONU of each target PON port, including but not limited to the service inner VLAN data and outer VLAN data, and modify the "front-end VLAN-VNI mapping table" shown in Table 1 based on this data.

[0085] Specifically, you can first set the "Whether it is in use" field of all entries corresponding to the emergency OLT number in the front-end VLAN-VNI mapping table to "No". Then, for each outer VLAN _ID configured on all target PON ports of the emergency OLT, find the corresponding entry in Table 1 and set the "Whether it is in use" field of that entry to "Yes".

[0086] Step 15: Based on the target PON port configuration determined by executing Step 14, adjust the mapping relationship between the network identifier (VNI) of the Virtual Extended Local Area Network (VXLAN) and the Virtual Local Area Network (VLAN) to complete the network formation.

[0087] The tunnel back-end subsystem needs to map the VNI to the VLAN_ID of the outer VLAN. Since the maximum range of the outer VLAN for each tunnel front-end subsystem is 2-4095, and the maximum range of the outer VLAN for the tunnel back-end subsystem is also 2-4095, to achieve a "one back-end, multiple front-ends" deployment mode, it is clearly not possible to map the outer VLANs of the tunnel front-end subsystems to the tunnel back-end subsystems without any changes. In one implementation, this application provides a back-end VLAN allocation algorithm to achieve the above mapping.

[0088] Using the backend VLAN allocation algorithm, based on the "service type number," each in-use frontend VLAN_ID in the frontend VLAN-VNI mapping table can be matched with an unassigned backend VLAN in the backend VLAN allocation table, and the VNI and emergency OLT number can be entered into the backend VLAN allocation table. This can be achieved through the following sub-steps:

[0089] Sub-step 1501: Determine the number of the emergency OLT device that is currently under repair and has not yet completed the backend VLAN assignment, denoted as Nc, and filter out all entries in the frontend VLAN-VNI mapping table whose "emergency OLT number" field value is equal to Nc and whose "whether in use" field value is "yes", and store them in Table 3.

[0090] Table 3

[0091]

[0092]

[0093] Sub-step 1502: For each entry in Table 3, perform the following operations:

[0094] Let X be an entry in Table 3. In the backend VLAN allocation table, select an entry Y whose "Emergency OLT Number" and "Service Type Number" are both equal to entry X, and whose VNI is empty. Copy the VNI field value of X to the VNI field of entry Y in the backend VLAN allocation table.

[0095] Sub-step 1503: Save the modification results for the backend VLAN allocation table.

[0096] By executing the aforementioned backend VLAN allocation algorithm, and based on the generated backend VLAN allocation table, the emergency OLT control system issues configuration commands to the tunnel's downstream subsystem to modify the mapping relationship between VNIs and backend VLANs.

[0097] Using the network topology method provided in this application, upon obtaining network fault alarm information, a candidate optical network unit (ONU) location mapping table can be determined based on the fault alarm information. Then, a target PON port set is generated based on the PON ports where the discovered unauthenticated ONU devices are located. Subsequently, the mapping relationship between target PON ports and source PON ports can be determined based on the target PON port set and the candidate ONU location mapping table. A PON port mapping table to be cut over is generated based on this mapping relationship. Then, each target PON port in the target PON port set is configured according to the PON port mapping table to generate the target PON port configuration. Finally, the mapping relationship between the network identifier (VNI) and the virtual local area network (VLAN) of the Virtual Extended Local Area Network (VXLAN) can be configured and adjusted based on the target PON port configuration to complete the network topology. The network topology method provided in this solution is designed as a pre-configured scheme that can be configured in one go without needing to modify the configuration during emergency repairs. Moreover, during emergency repairs, it can automatically configure the mapping relationship between VNI and VLAN of the tunnel back-end subsystem. After the PON fiber is randomly inserted into the PON port (target PON port) of the emergency OLT, it can quickly identify the source PON port of the ONU under each target PON port and automatically complete the service data configuration of the target PON port, which greatly improves the efficiency of emergency OLT network topology configuration and can meet the timeliness of emergency repairs.

[0098] In one embodiment, this application also provides a network networking system to address the problem in existing emergency networking where the correspondence between emergency equipment network ports and faulty links is difficult to determine quickly, and a one-to-many networking mode is difficult to establish quickly between the tunnel back-end terminal system and the tunnel front-end terminal system, thus hindering the rapid restoration of large-scale optical network faults. A schematic diagram of the specific structure of this network networking system is shown below. Figure 5 As shown, it includes: an alarm unit 51, a target PON port set determination unit 52, a mapping table generation unit 53, a configuration unit 54, and a networking unit 55.

[0099] The alarm unit 51 is used to acquire network fault alarm information and determine a candidate optical network unit (ONU) location mapping table based on the fault alarm information. The candidate ONU location mapping table contains the authentication keywords of each candidate ONU device.

[0100] The target PON port set determination unit 52 is used to generate a target PON port set based on the PON ports of the passive optical network where the discovered uncertified ONU devices are located.

[0101] The mapping table generation unit 53 is used to generate a PON port mapping table to be cut over based on the target PON port set and the candidate ONU location mapping table.

[0102] Configuration unit 54 is used to configure each target PON port in the target PON port set according to the PON port mapping table to be cut over, and generate target PON port configuration.

[0103] The networking unit 55 is used to configure and adjust the mapping relationship between the network identifier (VNI) of the Virtual Extended Local Area Network (VXLAN) and the Virtual Local Area Network (VLAN) according to the target PON port configuration, so as to complete the network networking.

[0104] In one embodiment, the alarm unit 51 is specifically configured to: parse the fault alarm information to obtain a candidate PON port list; determine the authentication keyword of the ONU device corresponding to each candidate PON port in the candidate PON port list; generate a key-value pair structure mapping table based on the authentication keyword to obtain the candidate ONU location mapping table, wherein the authentication keyword is used as the key in the key-value pair structure mapping table, and the location information of the candidate PON port corresponding to the authentication keyword is used as the value.

[0105] In one embodiment, the mapping table generation unit 53 is specifically used for: determining the candidate ONU location mapping table associated with each target PON port in the target PON port set; executing a source PON port lookup algorithm for each target PON port in the target PON port set to determine the source PON port information corresponding to each target PON port; and generating a PON port mapping table to be cut over based on the target PON port and the corresponding source PON port information.

[0106] In one implementation, the mapping table generation unit 53 is specifically used to: determine the number of ONU devices contained in the target ONU table associated with each target PON port in the target PON port set; determine the source PON port lookup algorithm corresponding to each target PON port according to the number of ONU devices contained in the target ONU table associated with each target PON port; execute the corresponding source PON port lookup algorithm for each target PON port; and determine the source PON port information corresponding to each target PON port.

[0107] In one embodiment, the mapping table generation unit 53 is specifically used for: when it is determined that the target ONU table associated with the target PON port contains only one ONU device, determining the authentication keyword of the ONU device; based on the authentication keyword of the ONU device, searching for the corresponding PON port location information in the candidate ONU location mapping table, and using the found location information as the source PON port corresponding to the target PON port.

[0108] In one embodiment, the mapping table generation unit 53 is specifically configured to: when it is determined that the target ONU table associated with the target PON port contains at least two ONU devices, select two ONU devices from the target ONU table associated with the target PON port as reference ONU devices; search for the PON group corresponding to each reference ONU device in the candidate ONU location mapping table according to the authentication keyword of the reference ONU; determine the PON port location information contained in the intersection of the two PON groups, and use the PON port location information as the source PON port corresponding to the target PON port.

[0109] The network topology system provided in this application, upon receiving network fault alarm information, can determine a candidate optical network unit (ONU) location mapping table based on the alarm information. Then, based on the PON ports of the discovered unauthenticated ONU devices, a target PON port set is generated. Subsequently, based on the target PON port set and the candidate ONU location mapping table, the mapping relationship between the target PON ports and the source PON ports is determined. A PON port mapping table to be cut over is generated based on this mapping relationship. Then, based on the PON port mapping table to be cut over, each target PON port in the target PON port set is configured to generate the target PON port configuration. Finally, based on the target PON port configuration, the mapping relationship between the network identifier (VNI) and the virtual local area network (VLAN) of the Virtual Extended Local Area Network (VXLAN) can be configured and adjusted to complete the network topology. The network topology method provided in this solution is designed as a pre-configured scheme that can be configured in one go without needing to modify the configuration during emergency repairs. Moreover, during emergency repairs, it can automatically configure the mapping relationship between VNI and VLAN of the tunnel back-end subsystem. After the PON fiber is randomly inserted into the PON port (target PON port) of the emergency OLT, it can quickly identify the source PON port of the ONU under each target PON port and automatically complete the service data configuration of the target PON port, which greatly improves the efficiency of emergency OLT network topology configuration and can meet the timeliness of emergency repairs.

[0110] Figure 6 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Please refer to it. Figure 6 At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and memory. The memory may include main memory, such as high-speed random-access memory (RAM), or non-volatile memory, such as at least one disk drive. Of course, the electronic device may also include other hardware required for other business operations.

[0111] The processor, network interface, and memory can be interconnected via an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 6 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.

[0112] Memory is used to store programs. Specifically, programs may include program code, which includes computer operation instructions. Memory may include main memory and non-volatile memory, and provides instructions and data to the processor.

[0113] The processor reads the corresponding computer program from non-volatile memory into main memory and then executes it, forming a network topology at the logical level. The processor executes the program stored in memory and specifically performs the following operations:

[0114] Obtain network fault alarm information, and determine a candidate optical network unit (ONU) location mapping table based on the fault alarm information, wherein the candidate ONU location mapping table contains the authentication keywords of each candidate ONU device;

[0115] Based on the PON ports of the discovered uncertified ONU devices, a target PON port set is generated; based on the target PON port set and the candidate ONU location mapping table, a PON port mapping table to be cut over is generated; based on the PON port mapping table to be cut over, each target PON port in the target PON port set is configured to generate a target PON port configuration; based on the target PON port configuration, the mapping relationship between the network identifier (VNI) of the Virtual Extended Local Area Network (VXLAN) and the Virtual Local Area Network (VLAN) is configured and adjusted to complete the network networking.

[0116] The above is as stated in this application. Figure 6The methods executed by the network networking electronic devices disclosed in the illustrated embodiments can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can reside in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.

[0117] Of course, in addition to software implementation, the electronic device of this application does not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. In other words, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0118] This application also proposes a computer-readable storage medium that stores one or more programs, the programs including instructions that, when executed by a portable electronic device including multiple applications, enable the portable electronic device to perform... Figure 4 The method of the illustrated embodiment is specifically used to perform the following operations:

[0119] The system acquires network fault alarm information and, based on this information, determines a candidate optical network unit (ONU) location mapping table, which includes authentication keywords for each candidate ONU device. It then generates a target PON port set based on the PON ports of the discovered unauthenticated ONU devices. Finally, it generates a PON port mapping table to be cut over based on the target PON port set and the candidate ONU location mapping table. According to the PON port mapping table, it configures each target PON port in the target PON port set to generate target PON port configurations. Finally, based on the target PON port configurations, it adjusts the mapping relationship between the network identifier (VNI) and the virtual local area network (VLAN) of the Virtual Extended Local Area Network (VXLAN) to complete the network setup.

[0120] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0121] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0122] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0123] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0124] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0125] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0126] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0127] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0128] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0129] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A network topology method, characterized in that, include: Obtain network fault alarm information, and determine a candidate optical network unit (ONU) location mapping table based on the fault alarm information, wherein the candidate ONU location mapping table contains the authentication keywords of each candidate ONU device; Generate a target PON port set based on the PON ports of the passive optical network where the discovered uncertified ONU devices are located; Based on the target PON port set and the candidate ONU location mapping table, a PON port mapping table to be cut over is generated. Based on the PON port mapping table to be cut over, configure each target PON port in the target PON port set to generate the target PON port configuration. Based on the target PON port configuration, the mapping relationship between the network identifier (VNI) of the Virtual Extended Local Area Network (VXLAN) and the Virtual Local Area Network (VLAN) is configured and adjusted to complete the network formation.

2. The method according to claim 1, characterized in that, The step of determining the candidate optical network unit (ONU) location mapping table based on the fault alarm information specifically includes: Based on the fault alarm information, a list of candidate PON ports is obtained through parsing. Determine the authentication keyword of the ONU device corresponding to each candidate PON port in the candidate PON port list; Based on the authentication keyword, a key-value pair structure mapping table is generated to obtain the candidate ONU location mapping table, wherein the authentication keyword is used as the key in the key-value pair structure mapping table, and the location information of the candidate PON port corresponding to the authentication keyword is used as the value.

3. The method according to claim 1, characterized in that, The step of generating the PON port mapping table to be cut over based on the target PON port set and the candidate ONU location mapping table specifically includes: Determine the candidate ONU location mapping table associated with each target PON port in the target PON port set; For each target PON port in the target PON port set, the source PON port lookup algorithm is executed to determine the source PON port information corresponding to each target PON port; Based on the target PON port and the corresponding source PON port information, a PON port mapping table to be cut over is generated.

4. The method according to claim 3, characterized in that, For each target PON port in the target PON port set, a source PON port lookup algorithm is executed to determine the source PON port information corresponding to each target PON port. Specifically, this includes: Determine the number of ONU devices contained in the target ONU table associated with each target PON port in the target PON port set; Based on the number of ONU devices contained in the target ONU table, the source PON port lookup algorithm corresponding to each target PON port is determined, and the corresponding source PON port lookup algorithm is executed for each target PON port to determine the source PON port information corresponding to each target PON port.

5. The method according to claim 4, characterized in that, When it is determined that the target PON port is associated with only one ONU device in the target ONU table, the source PON port lookup algorithm corresponding to each target PON port is determined based on the number of ONU devices in the target ONU table associated with the target PON port. The corresponding source PON port lookup algorithm is then executed for each target PON port to determine the source PON port information corresponding to each target PON port. Specifically, this includes: Determine the authentication keywords for the ONU device; Based on the authentication keyword of the ONU device, the corresponding PON port location information is searched in the candidate ONU location mapping table, and the searched location information is used as the source PON port corresponding to the target PON port.

6. The method according to claim 4, characterized in that, When it is determined that the target PON port is associated with a target ONU table containing at least two ONU devices, then the source PON port lookup algorithm corresponding to each target PON port is determined based on the number of ONU devices in the target ONU table associated with the target PON port. The corresponding source PON port lookup algorithm is then executed for each target PON port to determine the source PON port information corresponding to each target PON port. Specifically, this includes: From the target ONU table associated with the target PON port, select two ONU devices as reference ONU devices; Based on the authentication keywords of the reference ONU, the PON group corresponding to each reference ONU device is searched in the candidate ONU location mapping table; Determine the PON port location information contained in the intersection of the two PON groups, and use the PON port location information as the source PON port corresponding to the target PON port.

7. The method according to claim 1, characterized in that, The method further includes: Identify the active front-end VLANs used for data transmission from the front-end virtual LAN VLAN set; Static mapping is performed on the active front-end VLAN to obtain the active VNI; By using a dynamic mapping method, the active VNI is mapped to the backend VLAN, thereby realizing the mapping between the VNI of the Virtual Extended Local Area Network (VXLAN) tunnel and the frontend and backend VLANs.

8. A network networking system, characterized in that, include: An alarm unit is used to acquire network fault alarm information and determine a candidate optical network unit (ONU) location mapping table based on the fault alarm information. The candidate ONU location mapping table contains the authentication keywords of each candidate ONU device. The target PON port set determination unit is used to generate a target PON port set based on the PON ports of the passive optical network where the discovered uncertified ONU devices are located. The mapping table generation unit is used to generate a PON port mapping table to be cut over based on the target PON port set and the candidate ONU location mapping table. The configuration unit is used to configure each target PON port in the target PON port set according to the PON port mapping table to be cut over, and generate the target PON port configuration. The networking unit is used to configure and adjust the mapping relationship between the network identifier (VNI) of the Virtual Extended Local Area Network (VXLAN) and the Virtual Local Area Network (VLAN) according to the target PON port configuration, so as to complete the network networking.

9. A network networking device, comprising: processor; as well as A memory configured to store computer-executable instructions, which, when executed, cause the processor to perform the following operations: Obtain network fault alarm information, and determine a candidate optical network unit (ONU) location mapping table based on the fault alarm information, wherein the candidate ONU location mapping table contains the authentication keywords of each candidate ONU device; Generate a target PON port set based on the PON ports of the passive optical network where the discovered uncertified ONU devices are located; Based on the target PON port set and the candidate ONU location mapping table, a PON port mapping table to be cut over is generated. Based on the PON port mapping table to be cut over, configure each target PON port in the target PON port set to generate the target PON port configuration. Based on the target PON port configuration, the mapping relationship between the network identifier (VNI) of the Virtual Extended Local Area Network (VXLAN) and the Virtual Local Area Network (VLAN) is configured and adjusted to complete the network formation.

10. A computer-readable storage medium storing one or more programs, which, when executed by an electronic device including multiple applications, cause the electronic device to perform the following operations: Obtain network fault alarm information, and determine the candidate optical network unit (ONU) location mapping table based on the fault alarm information, wherein... The candidate ONU location mapping table contains the authentication keywords for each candidate ONU device. Generate a target PON port set based on the PON ports of the passive optical network where the discovered uncertified ONU devices are located; Based on the target PON port set and the candidate ONU location mapping table, a PON port mapping table to be cut over is generated. Based on the PON port mapping table to be cut over, configure each target PON port in the target PON port set to generate the target PON port configuration. Based on the target PON port configuration, the mapping relationship between the network identifier (VNI) of the Virtual Extended Local Area Network (VXLAN) and the Virtual Local Area Network (VLAN) is configured and adjusted to complete the network formation.

Citation Information

Patent Citations

  • Business data configuration method, device and equipment and computer storage medium

    CN113225628A

  • Service configuration method and apparatus

    WO2021047546A1