Intelligent starting method applied to ITU-T G8032 / Y.1344

By defining protocol frames with extended TLV fields in the Ethernet Ring Protection Protocol (ERPS), the blocked ports are automatically determined, solving the problems of slow manual configuration and incorrect configuration, and improving network reliability and communication quality.

CN120675869APending Publication Date: 2025-09-19THE 34TH RES INST OF CHINA ELECTRONICS TECH CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510824494.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-19
Publication Date
2025-09-19

AI Technical Summary

Technical Problem

In the Ethernet Ring Protection Protocol (ERPS) (ITU-T G8032/Y.1344), existing technologies require manual designation of blocked ports, resulting in slow manual configuration and prone to misconfiguration in large-scale and complex network environments.

Method used

By defining protocol frames with extended TLV fields, the protocol master device is automatically determined and the spanning tree is calculated, enabling automatic allocation of blocked ports across the entire network and reducing manual intervention.

Benefits of technology

Without changing the original protocol state machine, it improves network reliability and communication quality, reduces broadcast storms and MAC address table instability, and adapts to large-scale complex network environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120675869A_ABST
    Figure CN120675869A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent starting method applied to ITU-T G8032 / Y.1344. The intelligent starting method comprises the following steps: (1) defining a protocol frame with an extended TLV field; (2) through regularly diffusing a protocol frame with an extended TLV field, the whole network device determines a protocol master device according to the meaning of the field; (3) after the protocol master device collects the network topology structure, starting to calculate a spanning tree of the topology structure formed by the device and the link, and determining the link needing to be blocked; (4) after the blocked link is calculated, the protocol frame with the extended TLV field is sent to corresponding equipment in a broadcast mode; and (5) blocking a port corresponding to the equipment receiving the protocol frame with the extended TLV field. The method solves the problem that the ITU-T G8032 / Y.1344 needs to manually specify the blocked port in the starting stage, and is suitable for the occasions that the manual configuration speed is low and wrong configuration is easy to occur in a large-scale complex network environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of communication technology, and in particular relates to an intelligent starting method applied to ITU-T G8032 / Y.1344. Background Art

[0002] Among the many existing Ethernet ring protocols, the Ethernet Ring Protection Protocol (ERPS) (ITU-T G.8032 / Y.1344), based on open standards, offers excellent fast convergence and is currently the most widely used LAN technology. Its simplicity, cost-effectiveness, and high data rate make it a key focus of attention. In addition to common configuration requirements such as protected VLANs and protected instances, ERPS (ITU-T G8032 / Y.1344) requires network administrators to identify blocked links and manually configure port blocking commands on the corresponding devices. Large and complex networks can easily lead to problems such as inappropriate blocking link selection and inability to break network loops. Manual configuration is also slow and prone to errors. Summary of the Invention

[0003] The present invention provides an intelligent startup method applied to ITU-T G8032 / Y.1344, which solves the problem that ITU-T G8032 / Y.1344 requires manual designation of blocked ports during the startup phase, resulting in slow manual configuration and prone to misconfiguration in large-scale complex network environments.

[0004] To solve the above problems, the present invention is achieved through the following technical solutions:

[0005] An intelligent startup method applied to ITU-T G8032 / Y.1344 includes the following steps:

[0006] (1) Define a protocol frame with an extended TLV field;

[0007] (2) By periodically spreading protocol frames with extended TLV fields, all network devices determine the protocol master device based on the meaning of the fields;

[0008] (3) After the protocol master device collects the network topology, it starts to calculate the spanning tree of the topology composed of devices and links and determines the links that need to be blocked;

[0009] (4) After calculating the blocked link, the protocol frame with the extended TLV field is sent to the corresponding device via broadcast;

[0010] (5) The corresponding port of the device that receives the protocol frame with the extended TLV field is blocked.

[0011] Preferably, in step (2), when the device protocol is configured with basic configurations such as the control VLAN and the instance protection VLAN, after starting the protocol, the device broadcasts the protocol frame with the extended TLV field defined in the control VLAN to the entire network to elect the protocol master device.

[0012] Preferably, in step (2), after starting the protocol, a protocol frame is sent regularly, and the protocol frame carries two extended TLVs. When the device node receives the protocol frame, it selects the protocol master device of the entire network by comparing the MAC address size.

[0013] Preferably, in step (3), when the device node receives K frames in succession without re-electing the protocol master device, that is, the value of the first extended TLV has not changed for N cumulative times, the device node believes that the network is stable and there will be no new protocol members. At this time, the node selected as the protocol master device of the entire network starts to calculate the spanning tree and determines the links that need to be blocked. When calculating the spanning tree, it relies on the link and device information provided by other protocols. The nodes that are not the master devices stop sending the protocol frames with the extended TLV in step (1); wherein K is a custom value.

[0014] Preferably, in step (4), after calculating the blocked link, the protocol frame with the extended TLV field with the customized meaning is sent to the corresponding device via unicast; wherein in the extended TLV: Type is agreed to be the unused number 11, Length is N, the value of N depends on how many ports the device needs to block, Value is the port number of the device, and the length of Value is N*port number length.

[0015] Preferably, in step (1), the protocol frame is an ITU-T G.8032 / Y.1344 protocol common frame, and two specific TLVs are defined at the end of the protocol frame.

[0016] The first extended TLV has a Type of 9, a Length of 6, and an initial Value of the current device's MAC address. When a device receives a TLV from another device with a larger MAC address than its own, the TLV value changes to the larger MAC address. The MAC address can be viewed as a hexadecimal number, and the size of the device's MAC address is determined using natural number comparison.

[0017] The second extended TLV has a Type of 10, a Length of 6, and a Value of the device's MAC address.

[0018] Compared with the prior art, the present invention has the following advantages:

[0019] 1. The present invention adds multiple special meaning fields to the original protocol frame. When the protocol is enabled, blocked ports are automatically assigned to the entire network. Devices assigned to blocked ports automatically block the corresponding ports. This solves the problem of ITU-T G8032 / Y.1344 requiring manual designation of blocked ports during the startup phase. The invention is suitable for large-scale and complex network environments where manual configuration is slow and prone to misconfiguration. At the same time, no changes are required to the ITU-T G8032 / Y.1344 (03 / 2010) protocol state machine.

[0020] 2. The present invention optimizes the traditional Ethernet ring configuration mode, reduces the dependence on manual configuration, improves network reliability, reduces broadcast storms and MAC address table instability, and thus improves communication quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 Flowchart of the present invention.

[0022] Figure 2 This is an ITU-T G8032 / Y.1344 protocol frame that adds two extended TLV fields.

[0023] Figure 3 This is an ITU-T G8032 / Y.1344 protocol frame that adds an extended TLV field. DETAILED DESCRIPTION

[0024] In order to make the objects and advantages of the present invention more clear, the present invention is described in detail below with reference to the accompanying drawings and embodiments.

[0025] like Figure 1 As shown, the present invention is an intelligent startup method applied to ITU-T G8032 / Y.1344, comprising the following steps:

[0026] (1) Define a protocol frame with an extended TLV field.

[0027] The protocol frame of the extended TLV field is set as follows Figure 2As shown, the protocol frame is a standard ITU-TG.8032 / Y.1344 protocol frame, with two extended TLV fields defined at the end of the protocol frame. The first extended TLV has a Type of the unused number 9, a Length of 6, and an initial Value of the current device's MAC address. When a device receives a TLV from another device with a larger MAC address than its own, the TLV value changes to the larger MAC address. The MAC address can be considered a hexadecimal number, and the size of the device's MAC address can be determined using a natural number comparison method. The second extended TLV has a Type of the unused number 10, a Length of 6, and a Value of the device's MAC address.

[0028] (2) Election Phase: After the device protocol is configured with basic configurations such as the control VLAN and instance protection VLAN, and the protocol is enabled, the device broadcasts a protocol frame with a special extended TLV field defined in the control VLAN to the entire network. The device with the largest MAC address in the entire network is elected as the master device (hereinafter referred to as the master device). The master device is used to calculate the network spanning tree and specify the links to be blocked. TLV is the abbreviation of Type, Length, and Value, and is an extension of the message defined in ITU-T G8032 / Y.1344. The ERPS message format is shown in Table 1 below.

[0029] Table 1

[0030]

[0031] (3) When the device node receives 10 consecutive frames without re-electing the protocol master device, that is, the value of the first extended TLV has not changed for 10 times, the device node believes that the network is stable and there will be no new protocol members. At this time, the node selected as the protocol master device of the entire network starts to calculate the spanning tree and determine the links that need to be blocked. The spanning tree calculation relies on the link and device information provided by other protocols. The nodes that are not the master devices stop sending the protocol frames with the extended TLV in step (1).

[0032] (4) After calculating the blocked link, the protocol frame with the extended TLV field with customized meaning is sent to the corresponding device via unicast. In the extended TLV, the type (Type) is agreed to be the unused number 11, the length (Length) is N, and the value of N depends on how many ports the device needs to block. (Value) is the port number of the device, and the length of Value is N*port number length. Figure 3 The port number length used is 8 bits.

[0033] (5) Received Figure 3After receiving the protocol frame with the extended TLV field, the device blocks the corresponding port according to the extended TLV field through the software interface provided by the chip.

[0034] The present invention adds multiple special meaning fields on the basis of the original protocol frame. When the protocol is enabled, blocked ports are automatically allocated to the entire network. Devices assigned to blocked ports automatically block the corresponding ports. This solves the problem that ITU-T G8032 / Y.1344 requires manual designation of blocked ports during the startup phase. The invention is suitable for situations where manual configuration is slow and prone to misconfiguration in large-scale complex network environments.

[0035] The above embodiments are only specific examples to further illustrate the purpose, technical solutions and beneficial effects of the present invention, and the present invention is not limited thereto. Any modifications, equivalent replacements, improvements, etc. made within the scope of the disclosure of the present invention are included in the scope of protection of the present invention.

Claims

1. An intelligent startup method applied to ITU-T G8032 / Y.1344, characterized in that: The following steps are involved: (1) Define a protocol frame with an extended TLV field; (2) By periodically spreading protocol frames with extended TLV fields, all network devices determine the protocol master device based on the meaning of the fields; (3) After the protocol master device collects the network topology, it starts to calculate the spanning tree of the topology composed of devices and links and determines the links that need to be blocked; (4) After calculating the blocked link, the protocol frame with the extended TLV field is sent to the corresponding device via broadcast; (5) The corresponding port of the device that receives the protocol frame with the extended TLV field is blocked.

2. The intelligent startup method applied to ITU-T G8032 / Y.1344 according to claim 1, characterized in that: In step (2), When the device protocol is configured with basic configurations such as the control VLAN and instance protection VLAN, and the protocol is started, the device broadcasts protocol frames with extended TLV fields defined in the control VLAN to the entire network to elect the protocol master.

3. The intelligent startup method applied to ITU-T G8032 / Y.1344 according to claim 2, characterized in that: In step (2), After starting the protocol, the protocol frame is sent regularly. The protocol frame contains two extended TLVs. When the device node receives the protocol frame, it selects the protocol master device of the entire network by comparing the MAC address size.

4. The intelligent startup method applied to ITU-T G8032 / Y.1344 according to claim 2, characterized in that: In step (3), When a device node receives K frames in a row without re-electing a protocol master, that is, the value of the first extended TLV has not changed for N cumulative times, the device node believes that the network is stable and there will be no new protocol members. At this time, the node selected as the protocol master for the entire network starts to calculate the spanning tree and determine the links that need to be blocked. The spanning tree calculation relies on the link and device information provided by other protocols. The nodes that are not master devices stop sending the protocol frames with the extended TLV in step (1); where K is a custom value.

5. The intelligent startup method applied to ITU-T G8032 / Y.1344 according to claim 2, characterized in that: In step (4), After calculating the blocked link, the protocol frame with the extended TLV field with customized meaning is sent to the corresponding device via unicast; In the extended TLV, the Type is the unused number 11, the Length is N, and the value of N depends on how many ports the device needs to block. The Value is the port number of the device, and the length of the Value is N*the length of the port number.

6. The intelligent startup method applied to ITU-T G8032 / Y.1344 according to claim 1, characterized in that: In step (1), The protocol frame is a common frame of the ITU-T G.8032 / Y.1344 protocol, and two specific TLVs are defined at the end of the protocol frame. The first extended TLV has a Type of 9, a Length of 6, and an initial Value of the current device's MAC address. When a device receives a TLV from another device with a larger MAC address than its own, the TLV value changes to the larger MAC address. The MAC address can be viewed as a hexadecimal number, and the size of the device's MAC address is determined using natural number comparison. The second extended TLV has a Type of 10, a Length of 6, and a Value of the device's MAC address.