Ring network adjusting method and communication equipment

By detecting and adjusting the topology structure of non-adjacent nodes in the communication ring network so that they are directly connected when the traffic is large, the problem of poor communication performance of non-adjacent nodes in the communication ring network is solved and more efficient communication is achieved.

CN118740547APending Publication Date: 2024-10-01CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310332071.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In a communication ring network, the communication performance between non-adjacent nodes is poor, especially when the communication traffic of intermediate nodes increases, it will affect the communication performance between nodes.

Method used

By detecting the communication traffic between non-adjacent nodes, if it exceeds the preset threshold, these nodes are adjusted to adjacent nodes in the communication ring network, thereby reducing the transmission distance and improving communication performance. The specific method is to send target messages through optical cross-connect system (OCS) equipment, including field information used to trigger topology adjustment, so that nodes can be directly connected and avoid transmission through intermediate nodes.

Benefits of technology

It effectively improves the communication performance between non-adjacent nodes, shortens the transmission distance, reduces the impact on the communication performance of intermediate nodes, and improves the overall performance of the communication ring network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740547A_ABST
    Figure CN118740547A_ABST
Patent Text Reader

Abstract

Provided in the present application are a ring network adjustment method and a communication device, relating to the technical field of communications, the method comprising: determining a communication flow between a first ring network node and a second ring network node, the first ring network node and the second ring network node being non-adjacent nodes in a communication ring network; and when the communication flow between the first looped network node and the second looped network node is greater than a preset threshold value, adjusting the first looped network node and the second looped network node to be adjacent in the communication looped network. After the communication ring network is adjusted, the first ring network node and the second ring network node do not need other intermediate nodes in the communication ring network to assist communication, direct connection communication can be realized, the transmission distance between the first ring network node and the second ring network node is shortened, and the communication performance between the first ring network node and the second ring network node is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network communication technology, and in particular to a ring network adjustment method and communication equipment. Background Art

[0002] In a communication ring network, non-adjacent ring network nodes need to transmit through intermediate nodes, for example Figure 1 As shown, in the communication ring network, node N1 and node N4 are not adjacent, and node N1 and node N4 communicate through adjacent node N2 and node N3, or communicate through adjacent node N6 and node N5. If there is a communication demand between node N1 and node N4, the communication between node N1 and node N4 is realized through the intermediate node (node ​​N2 and node N3, or node N5 and node N6). If the communication traffic of the intermediate node increases, it will affect the communication performance between node N1 and node N4, resulting in poor communication performance between non-adjacent node N1 and node N4. Summary of the invention

[0003] The embodiments of the present application provide a ring network adjustment method and a communication device to solve the problem of poor communication performance between non-adjacent nodes in the existing ring network.

[0004] To solve the above technical problems, this application is implemented as follows:

[0005] In a first aspect, an embodiment of the present application provides a ring network adjustment method, the method comprising:

[0006] Determining a communication flow between a first ring network node and a second ring network node, wherein the first ring network node and the second ring network node are non-adjacent nodes in a communication ring network;

[0007] When the communication flow between the first ring network node and the second ring network node is greater than a preset threshold, the first ring network node and the second ring network node are adjusted to be adjacent in the communication ring network.

[0008] In a second aspect, an embodiment of the present application provides another ring network adjustment method, the method comprising:

[0009] Receive a target message, wherein the target message includes first field information, and the first field information is used to trigger topology adjustment of the communication ring network;

[0010] The communication ring network is topologically adjusted based on the first field information, wherein the first ring network node and the second ring network node in the communication ring network after the topology adjustment are adjacent, the communication flow between the first ring network node and the second ring network node is greater than a preset threshold, and the first ring network node and the second ring network node are not adjacent to each other before the topology adjustment.

[0011] In a third aspect, an embodiment of the present application provides a ring network adjustment device, the device comprising:

[0012] A determination module, used to determine the communication flow between a first ring network node and a second ring network node, wherein the first ring network node and the second ring network node are non-adjacent nodes in the communication ring network;

[0013] The first adjustment module is used to adjust the first ring network node and the second ring network node to be adjacent in the communication ring network when the communication flow between the first ring network node and the second ring network node is greater than a preset threshold.

[0014] In a fourth aspect, an embodiment of the present application provides another ring network adjustment device, the device comprising:

[0015] A first receiving module, used to receive a target message, wherein the target message includes first field information, and the first field information is used to trigger topology adjustment of the communication ring network;

[0016] The second adjustment module is used to perform topology adjustment on the communication ring network based on the first field information, wherein the first ring network node and the second ring network node in the communication ring network after the topology adjustment are adjacent, the communication flow between the first ring network node and the second ring network node is greater than a preset threshold, and the first ring network node and the second ring network node are not adjacent to each other before the topology adjustment.

[0017] In a fifth aspect, an embodiment of the present application provides a communication device, including a transceiver and a processor.

[0018] The processor is configured to:

[0019] Determining a communication flow between a first ring network node and a second ring network node, wherein the first ring network node and the second ring network node are non-adjacent nodes in a communication ring network;

[0020] When the communication flow between the first ring network node and the second ring network node is greater than a preset threshold, the first ring network node and the second ring network node are adjusted to be adjacent in the communication ring network.

[0021] In a sixth aspect, an embodiment of the present application provides another communication device, including a transceiver and a processor.

[0022] The transceiver is used to receive a target message, wherein the target message includes first field information, and the first field information is used to trigger topology adjustment of the communication ring network;

[0023] The processor is used to perform topology adjustment on the communication ring network based on the first field information, wherein the first ring network node and the second ring network node in the communication ring network after the topology adjustment are adjacent, the communication flow between the first ring network node and the second ring network node is greater than a preset threshold, and the first ring network node and the second ring network node are not adjacent to each other before the topology adjustment.

[0024] In the seventh aspect, an embodiment of the present application provides a communication device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the ring network adjustment method described in the first aspect are implemented, or the steps of the ring network adjustment method described in the second aspect are implemented.

[0025] In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the ring network adjustment method described in the first aspect are implemented; or when the computer program is executed by a processor, the steps of the ring network adjustment method described in the second aspect are implemented.

[0026] In this embodiment, the communication flow between the first ring network node and the second ring network node which are not adjacent in the communication ring network can be determined first. When the communication flow between the first ring network node and the second ring network node is greater than a preset threshold, the first ring network node and the second ring network node in the communication ring network can be adjusted to be adjacent, so that the first ring network node and the second ring network node with larger communication flow can be directly connected for communication without the assistance of other intermediate nodes in the communication ring network, thereby shortening the transmission distance between the first ring network node and the second ring network node and improving the communication performance between the first ring network node and the second ring network node. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0028] Figure 1 is a flow chart of a ring network adjustment method provided in an embodiment of the present application;

[0029] Figure 2 It is a topological diagram of a communication ring network;

[0030] Figure 3 It is a topological diagram of a communication ring network provided in an embodiment of the present application;

[0031] Figure 4 It is a diagram of the structure of an SRv6 protocol message;

[0032] Figure 5 This is a SRv6 protocol message structure diagram provided in an embodiment of the present application;

[0033] Figure 6 It is a ring network adjustment principle diagram provided in an embodiment of the present application;

[0034] Figure 7 is another ring network adjustment principle diagram provided in an embodiment of the present application;

[0035] Figure 8 is a flow chart of another ring network adjustment method provided in an embodiment of the present application;

[0036] Fig. 9 It is a structural schematic diagram of a ring network adjustment device provided in an embodiment of the present application;

[0037] Fig.10 It is a structural schematic diagram of another ring network adjustment device provided in an embodiment of the present application;

[0038] Fig.11 It is a structural diagram of a communication device provided in an embodiment of the present application;

[0039] Fig.12 It is a structural diagram of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0040] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0041] See also Figure 2 , Figure 2 1 is a flow chart of a ring network adjustment method provided in an embodiment of the present application. Figure 2 As shown, the ring network adjustment method provided in this embodiment includes the following steps:

[0042] Step 201: determining the communication flow between a first ring network node and a second ring network node, where the first ring network node and the second ring network node are non-adjacent nodes in the communication ring network;

[0043] Step 202: When the communication flow between the first ring network node and the second ring network node is greater than a preset threshold, the first ring network node and the second ring network node are adjusted to be adjacent in the communication ring network.

[0044] A communication ring network can be understood as a communication network with a ring topology, which is a ring network. In the communication ring network, two non-adjacent (not directly connected) communication nodes (ring network nodes) can communicate through an intermediate node between the two communication nodes in the communication ring network. In the communication ring network adjustment method of this embodiment, the above step 201 can be performed first, that is, the communication flow between the non-adjacent first ring network node and the second ring network node in the communication ring network can be sensed first.

[0045] Compare the communication flow between the first ring network node and the second ring network node with a preset threshold (also called a preset flow threshold). When the communication flow between the first ring network node and the second ring network node is greater than the preset threshold, it can be indicated that the communication flow between the first ring network node and the second ring network node is large. However, since the two are not adjacent, communication needs to be carried out through the intermediate node between the two. Once the communication performance of the intermediate node between the two is reduced, the communication performance between the first ring network node and the second ring network node with large communication flow is affected. Therefore, in this embodiment, when the communication flow between the first ring network node and the second ring network node is greater than the preset threshold, the topology of the communication ring network can be adjusted, that is, the first ring network node and the second ring network node are adjusted to be adjacent in the communication ring network, so that the first ring network node and the second ring network node with large communication flow are adjusted to be adjacent. In this way, the first ring network node and the second ring network node in the communication ring network do not need other intermediate nodes to assist in communication, and can be directly connected for communication, thereby reducing the communication transmission distance between the first ring network node and the second ring network node. Even if the flow is large, it is not affected by the communication performance of other intermediate nodes, thereby improving the communication performance between the first ring network node and the second ring network node.

[0046] In this embodiment, the communication flow between the non-adjacent first ring network node and the second ring network node in the communication ring network can be determined first. When the communication flow between the first ring network node and the second ring network node is greater than a preset threshold, the first ring network node and the second ring network node in the communication ring network can be adjusted to be adjacent, so that the first ring network node and the second ring network node with larger communication flow can be directly connected for communication without the assistance of other intermediate nodes in the communication ring network, thereby shortening the transmission distance between the first ring network node and the second ring network node and improving the communication performance between the first ring network node and the second ring network node.

[0047] In one embodiment, adjusting a first ring network node and a second ring network node to be adjacent in a communication ring network includes:

[0048] A target message is sent to an optical cross-connect system OCS device, wherein the target message includes first field information, and the first field information is used to trigger topology adjustment of the communication ring network so that the first ring network node and the second ring network node are adjacent.

[0049] For example, Figure 3 As shown, an optical cross-connect system (OCS) device is introduced into the communication ring network, and the OCS device connects each ring network node in the communication ring network. Specifically, at least two ports of each ring network node in the communication ring network (which can be understood as the left and right arms of the ring network node) are respectively connected to the OCS device, and different ring network nodes are connected to different ports of the OCS device. By determining the communication flow between two non-adjacent ring network nodes, when the communication flow is greater than a preset threshold, the OCS device can be triggered to dynamically adjust the communication ring network topology, that is, the OCS device can dynamically adjust the connection relationship of the ring network nodes in the communication ring network to achieve the adjustment of the ring network topology. Exemplarily, the target message can be a Segment Routing Internet Protocol Version 6 (SRV6) message.

[0050] In this embodiment, when the communication flow between the first ring network node and the second ring network node is greater than a preset threshold, a target message may be sent to the OCS device, and the target message includes first field information to trigger the OCS device to adjust the topology of the communication ring network so that the first ring network node and the second ring network node in the communication ring network are adjacent. That is, it can be understood that when the communication flow between the first ring network node and the second ring network node is greater than a preset threshold, a target message may be sent, and the OCS device may be triggered to adjust the communication ring network through the first field information in the target message. After receiving the target message, the OCS device may adjust the topology of the communication ring network, specifically adjusting the first ring network node and the second ring network node to be adjacent.

[0051] In one embodiment, the method is applied to a first ring network node;

[0052] Adjusting the first ring network node and the second ring network node to be adjacent in the communication ring network includes:

[0053] receiving a first message, wherein the destination address in the first message is the address of a target communication device, and the target communication device is connected to the second ring network node;

[0054] Inserting first field information into the first message to obtain a second message, wherein the first field information is used to trigger topology adjustment of the communication ring network;

[0055] A second message is sent to an optical cross-connect system OCS device, so that the OCS device performs topology adjustment on the communication ring network based on the first field information, so that the first ring network node and the second ring network node are adjacent.

[0056] Exemplarily, the second message may be a Segment Routing Header (SRH) message of Internet Protocol Version 6. SRV6 is a source routing technology. SRV6 extends the Segment Routing Header (SRH) based on Internet Protocol Version 6 (IPV6).

[0057] like Figure 4 and Figure 5 As shown, the SRV6 message may include an IPV6 message header, an SRH (also called an SRH extension header) and an IPV6 payload, wherein the SRH extension header may include a next message header field (i.e., Next Header, which can be used to identify the type of message header immediately following the SRH, which can occupy 8 bits), a length field (i.e., Hdr Ext Len, which can indicate the length of the SRH, which can occupy 8 bits), a routing type field (i.e., Routing Type, which is used to identify the routing extension message header type, which can occupy 8 bits), a segment number field (i.e., Segments Left, which can indicate the remaining number of segments, referred to as SL, which can occupy 8 bits), an index field (i.e., Last Entry, which can be used to indicate the index of the last element of the segment list (Segment List), which can occupy 8 bits), a flag field (i.e., Flags, which is a reserved flag bit that can be used for special processing, etc., which can occupy 8 bits)), a tag field (i.e., Tag, which is used to identify messages in the same group, which can occupy 16 bits)), and a segment list (i.e., Segment List). List can include n+1 segments, each segment can occupy 128 bits, such as Figure 4As shown, Segment List[0] can represent the 0th Segment in the Segment List, Segment List[1] can represent the 1st Segment in the Segment List, and Segment List[n] can represent the nth Segment in the Segment List. The value of Segment is in the form of an IPv6 address (address)) and an option TLV field (i.e., Optional TLV, with a variable length, TLV is Type Length Value, which is a type length value). Among them, the segment list is also called a segment identification (Segment Identification, SID) linked list or SID address stack, which contains multiple SIDs (i.e., SRH can support multiple SIDs), and each SID corresponds to a node or link in the message forwarding path. During the message forwarding process, the IPv6 message destination address is updated through the SID information in the SRH to complete the segment-by-segment forwarding of the message. Each SID can be understood as a network instruction, which usually includes: a location field (Locator), a function field (Function) and a parameter field (Argument). The Locator (Loc for short) field has a location function, can identify a network node, and provide location information accessibility. Function (Func for short) can express the relevant functional operations or forwarding actions to be performed by the network instruction, and can provide business function definitions. Argument (Arg for short) can provide the parameters required to execute network instructions, which can also be called an enhanced field. For the IPV6 extension header SRH, it has a flexibly programmable Segment to enable programmable services, a flexibly programmable segment list to enable programmable paths, and a programmable Optional TLV to enable programmable applications. The bit widths of the above three fields can be flexibly defined and have good programmability. It should be noted that the first field information of the embodiment of the present application may be a parameter field, or may be a field composed of a function field and a parameter field.

[0058] It can be understood that the first message needs to be sent to the target communication device (which can be a terminal device or a server device), the target communication device is connected to the second ring network node, it can be understood that the second ring network node is located between the first ring network node and the target communication device, the first message is a message between the first ring network node and the second ring network node detected by the first ring network node, and the first message can be transmitted to the target communication device through the first ring network node and the second ring network node. In the process of adjusting the first ring network node and the second ring network node to be adjacent in this embodiment, the first ring network node can insert the first field information in the received first message, send the obtained second message to the OCS device, and trigger the OCS device to adjust the first ring network node and the second ring network node in the communication ring network to be adjacent. It can be understood that the above-mentioned first field information can indicate the adjustment strategy of adjusting the first ring network node and the second ring network node to be adjacent, so that the first field information can trigger the OCS device to adjust the first ring network node and the second ring network node in the communication ring network to be adjacent. In addition, it should be noted that in this embodiment, the above-mentioned second message can be a target message.

[0059] For example, Figure 6 As shown, the communication ring network includes ring network node N1, ring network node N2, ring network node N3, ring network node N4, ring network node N5 and ring network node N6, and ring network node N1 and ring network node N4 are not adjacent. The ring network adjustment process of the embodiment of the present application can be: step 1: ring network node N1 detects the large flow communication between ring network node N1 and ring network node N4; step 2: ring network node N1 inserts Func:Arg field: 1300:N1N4, 1301:N1N4N2N3N5N6, 1302:regcfg1 or 1303:regcfg2 in the first message, obtains the second message, and sends the second message to the OCS device; step 3: The OCS device receives the second message, triggers the ring network topology (topo) configuration, and the ring network node N1 and the ring network node N4 in the adjusted communication ring network are adjusted to be adjacent. It can be understood that the field composed of the Function field and the Argument field can be represented by the Func:Arg field. Among them, regcfg1 is the configuration bit stream that makes the ring network nodes N1 and N4 adjacent in ring network topology, and regcfg2 is the configuration bit stream that makes the ring network topology N1N4N2N3N5N6. Among them, the order between the ring network nodes reflects the connection method between the ring network nodes. For example, N1N4N2N3N5N6 can indicate that the ring network nodes N1, N4, N2, N3, N5, and N6 are adjacently connected in sequence, and the ring network node N1 is adjacently connected to the ring network node N6.

[0060] In this embodiment, the first ring network node can insert the first field information into the received first message to obtain the second message, and transmit it to the OCS device to trigger the OCS device to adjust the topology of the communication ring network, that is, to adjust the first ring network node and the second ring network node to be adjacent, so as to adjust the topology of the communication ring network. That is, by inserting the first field information into the first message, the first ring network node and the second ring network node of the communication ring network can be adjusted to be adjacent through the inserted first field information, thereby improving the convenience of adjusting the topology of the communication ring network.

[0061] In one embodiment, the method is applied to a first communication device;

[0062] Determining the communication flow between the first ring network node and the second ring network node includes:

[0063] The flow size of the third message generated by the first application in the first communication device is obtained, the destination address of the third message is the address of the target communication device, the source address of the third message is the address of the first communication device, the first communication device is connected to the first ring network node, and the target communication device is connected to the second ring network node.

[0064] It should be noted that the first ring network node and the second ring network node are located between the first communication device (for example, it can be a terminal device or a server device) and the target communication device (can be a terminal device or a server device), and the first communication device and the target communication device communicate through the first ring network node and the second ring network node. Exemplarily, the first ring network node and the second ring network node can be data forwarding nodes in the communication ring network, for example, they can be different switch nodes in the communication ring network, that is, the first ring network node can be a first switch node, and the second ring network node can be a second switch node. Exemplarily, the first application can be any application in the application of the first communication device, and can also be an application in the application of the first communication device whose bandwidth communication demand is greater than the preset bandwidth (that is, an application with a larger bandwidth communication demand), etc.

[0065] The third message generated by the first application in the first communication device needs to be sent to the target communication device, and the first communication device needs to pass the third message to the target communication device through the first ring network node and the second ring network node. In this embodiment, the first communication device can determine the communication flow between the first ring network node and the second ring network node. Specifically, the first communication device can obtain the flow size of the third message generated by the first application in the first communication device to achieve the acquisition of the communication flow between the first ring network node and the second ring network node. That is, the first communication device detects the communication flow between the first ring network node and the second ring network node, and uses the flow size of the third message generated by the first application in the first communication device as the communication flow between the first ring network node and the second ring network node. In the case where the communication flow between the first ring network node and the second ring network node is greater than the preset threshold, the first ring network node and the second ring network node are adjusted to be adjacent in the communication ring network to improve the communication performance between the first ring network node and the second ring network node.

[0066] In one embodiment, adjusting a first ring network node and a second ring network node to be adjacent in a communication ring network includes:

[0067] Inserting the first field information into the third message to obtain a fourth message, wherein the first field information is used to trigger topology adjustment of the communication ring network;

[0068] A fourth message is sent to the first ring network node, where the fourth message is sent by the first ring network node to an optical cross-connect system OCS device, so that the OCS device adjusts the topology of the communication ring network based on the first field information to make the first ring network node and the second ring network node adjacent.

[0069] It can be understood that the third message is a message that needs to be sent to the target communication device, the first ring network node is located between the first communication device and the second ring network node, the second ring network node is located between the first ring network node and the target communication device, and the third message can be transmitted to the target communication device through the first ring network node and the second ring network node. In the process of adjusting the first ring network node and the second ring network node to be adjacent in this embodiment, the first communication device can insert the first field information in the generated third message, and the first communication device sends the obtained fourth message to the OCS device through the first ring network node, triggering the OCS device to adjust the first ring network node and the second ring network node in the communication ring network to be adjacent. It can be understood that the above-mentioned first field information can indicate the adjustment strategy of adjusting the first ring network node and the second ring network node to be adjacent, so that the first field information can trigger the OCS device to adjust the first ring network node and the second ring network node in the communication ring network to be adjacent. In addition, it should be noted that in this embodiment, the above-mentioned fourth message can be a target message. Exemplarily, the fourth message can be an SRV6 message.

[0070] For example, Figure 7As shown, the communication ring network includes ring network node N1, ring network node N2, ring network node N3, ring network node N4, ring network node N5 and ring network node N6, the ring network node N1 and the ring network node N4 are not adjacent, the first application of the first communication device needs to generate a large flow of the ring network nodes N1 to N4, and the ring network adjustment process of the embodiment of the present application can be: step 1: the first application of the first communication device generates a third message; step 2: when the flow size of the third message is greater than a preset threshold, insert F into the third message unc:Arg field: 1300:N1N4, 1301:N1N4N2N3N5N6, 1302:regcfg1 or 1303:regcfg2, obtain the fourth message, and send the fourth message to the ring network node N1; step3: the ring network node N1 sends the fourth message to the OCS device; step4: the OCS device receives the fourth message, triggers the ring network topology (topo) configuration, and the ring network node N1 and the ring network node N4 in the adjusted communication ring network are adjusted to be adjacent.

[0071] In this embodiment, the first communication device can insert the first field information into the third message generated by the first application to obtain the fourth message, and transmit it to the OCS device to trigger the OCS device to adjust the topology of the communication ring network so that the first ring network node and the second ring network node are adjacent to each other, thereby adjusting the topology of the communication ring network. That is, by inserting the first field information into the third message, the communication ring network topology can be adjusted by the inserted first field information, so that the first ring network node and the second ring network node are adjacent to each other, thereby improving the convenience of adjusting the topology of the communication ring network.

[0072] In one embodiment, the communication ring network includes N ring network nodes, N is an integer greater than 1, and the N ring network nodes include at least a first ring network node and a second ring network node;

[0073] The first field information includes first indication information, second indication information and third indication information, wherein the first indication information is used to indicate the communication ring network topology specification mode, and the second indication information is used to indicate the information transmission type;

[0074] The third indication information includes an identifier of the first ring network node and an identifier of the second ring network node, or the third indication information is used to indicate a target connection mode of the N ring network nodes, or the third indication information is a configuration bit stream used to make the first ring network node adjacent to the second ring network node, or the third indication information is a configuration bit stream used to switch the connection mode of the communication ring network to a target connection mode, in which the first ring network node is adjacent to the second ring network node.

[0075] The communication ring network topology designation method can be understood as a method for designating the communication ring network topology, which can be explicit designation or implicit designation. Explicit designation can be understood as a method for designating the connection method of all nodes in the communication ring network, and implicit designation can be understood as only specifying the connection method between the first ring network node and the second ring network node in the communication ring network (which can be the two ring network nodes with the largest bandwidth interaction in the communication ring network), and the connection methods of the remaining ring network nodes are automatically generated. Exemplarily, if the first indication information is 1, it can indicate an explicit designation method, and if the first indication information is 0, it can indicate an implicit designation method.

[0076] The information transmission type can also be understood as the information transmission mode, which can be a raw mode or a normal mode. The raw mode can be understood as directly transmitting the configuration bit stream (i.e., binary stream), and the normal mode can be understood as transmitting the logical topology requirements of the ring network nodes, which are divided into explicit designation and implicit designation. If it is implicitly designated, the normal mode transmits the identifier of the first ring network node and the identifier of the second ring network node. If it is an explicit mode, the normal mode transmits the identifiers of the ordered N ring network nodes, indicating the target connection mode between the N ring network nodes. Exemplarily, if the second indication information is 1, it can indicate that the information transmission mode is the raw mode, and if the second indication information is 0, it can indicate that the information transmission mode is the normal mode.

[0077] It should be noted that if the first indication information indicates an explicitly specified method and the second indication information specifies the raw mode, the third indication information is a configuration bit stream used to switch the connection mode of the communication ring network to the target connection mode; if the first indication information indicates an explicitly specified method and the second indication information specifies the normal mode, the third indication information is used to indicate the target connection mode of N ring network nodes; if the first indication information indicates an implicitly specified method and the second indication information specifies the raw mode, the third indication information is a configuration bit stream used to make the first ring network node adjacent to the second ring network node; if the first indication information indicates an implicitly specified method and the second indication information specifies the normal mode, the third indication information includes the identifier of the first ring network node and the identifier of the second ring network node.

[0078] For example, N ring network nodes include ring network node N1, ring network node N2, ring network node N3, ring network node N4, ring network node N5 and ring network node N6. The first field information can be inserted into the message (which can be the first message or the third message). In an example, as shown in Table 1, the Function field in the message can be 00010011, and the first field information can use the Argument field, which occupies 24 bits. The first indication information and the second indication information can occupy 8 bits in total. For example, it can be the high 8 bits, and the highest bit in the high 8 bits can be used as the first indication information, and the second highest bit in the high 8 bits can be used as the second indication information. The third indication information can occupy 16 bits. As shown in Table 1, if the highest bit X in the high 8 bits is 1, it can indicate that the specified method is explicit. If the high 8 bits If the highest bit X in s is 0, it may indicate that the specified mode is implicit. If the second highest bit Y in the upper 8 bits is 1, it may indicate that the information transmission model is raw mode. If the second highest bit Y in the upper 8 bits is 0, it may indicate that the information transmission model is normal mode. The lower 16 bits in the Argument field can be used as the third indication information, depending on the specified mode indicated by the first indication information and the information transmission mode indicated by the second indication information. For example, the information transmission mode is normal mode. If the specified mode is implicit, the third indication information may carry the identifiers of non-adjacent ring network nodes N1 and ring network node N4. If the specified mode is explicit, the third indication information may carry the identifiers of N ordered ring network nodes (all ring network nodes in the communication ring network). The connection mode of the ring network nodes is reflected by the order of the identifiers of the ring network nodes.

[0079] Table 1

[0080]

[0081] In an example, taking the first ring network node as ring network node N1 and the second ring network node as ring network node N4 as an example, the field composed of the function field and the Argument (Func:Arg) can be one of: 1300:N1N4 (normal mode, implicit), 1301:N1N4N2N3N5N6 (normal mode, explicit), 1302:regcfg1 (raw mode, implicit, regcfg1 is a configuration bit stream that makes the ring network topology of ring network nodes N1 and N4 adjacent), 1303:regcfg2 (raw mode, explicit, regcfg2 is a configuration bit stream that makes the ring network topology N1N4N2N3N5N6).

[0082] In this implementation, by adding the first field information to the original message, and the second field information includes the first indication information, the second indication information and the third indication information, which are respectively used to indicate different information, the first field information is used to trigger the OCS device to adjust the communication ring network according to the content indicated, so that the first ring network node is adjacent to the second ring network node, and the transmission distance between the first ring network node and the second ring network node is reduced, so as to improve the communication performance between the first ring network node and the second ring network node.

[0083] In one embodiment, the third indication information is used to indicate the target connection mode of N ring network nodes, wherein the third indication information includes the identifier of each node in the ordered N ring network nodes, the order of the identifiers of the N ring network nodes is used to indicate the target connection mode of the N ring network nodes, the ring network nodes corresponding to adjacent identifiers in the identifiers of the N ring network nodes are connected, and the ring network node corresponding to the starting identifier in the identifiers of the N ring network nodes is connected to the ring network node corresponding to the ending identifier in the identifiers of the N ring network nodes.

[0084] It can be understood that the target connection mode between N ring network nodes is reflected by the order of the ring network node identifiers. The ring network nodes corresponding to adjacent identifiers in the N ring network node identifiers are adjacent and connected. For example, the N ring network nodes include ring network node N1, ring network node N2, ring network node N3, ring network node N4, ring network node N5 and ring network node N6. In the third indication information, the identifiers of the N ring network nodes are arranged as follows: N1N4N2N3N5N6, and the corresponding target connection mode is: ring network node N1 is adjacently connected to ring network node N4, ring network node N4 is adjacently connected to ring network node N2, ring network node N2 is adjacently connected to ring network node N3, ring network node N3 is adjacently connected to ring network node N5, ring network node N5 is adjacently connected to ring network node N6, and ring network node N6 is adjacently connected to ring network node N1. In addition, it should be noted that, for the case where the third indication information is a configuration bit stream for switching the connection mode of the communication ring network to the target connection mode, as in the above example of the target connection mode, the third indication information is a configuration bit stream for making the network topology (connection mode) of the communication ring network N1N4N2N3N5N6 (i.e. corresponding to the above target connection mode).

[0085] In this embodiment, the target connection mode of the N ring network nodes is indicated by the order of the identifiers of the ordered N ring network nodes in the third indication information. In this way, the OCS device can be triggered to adjust the topology of the communication ring network according to the target connection mode indicated by the third indication information, so that the first ring network node is adjacent to the second ring network node.

[0086] See also Figure 8 , Figure 8 is a flow chart of a ring network adjustment method provided in an embodiment of the present application, which is executed by an OCS device, such as Figure 8 As shown, the ring network adjustment method provided in this embodiment includes the following steps:

[0087] Step 801: receiving a target message, wherein the target message includes first field information, and the first field information is used to trigger topology adjustment of a communication ring network;

[0088] Step 802: Perform topology adjustment on the communication ring network based on the first field information, wherein the first ring network node and the second ring network node in the communication ring network after the topology adjustment are adjacent, the communication flow between the first ring network node and the second ring network node is greater than a preset threshold, and the first ring network node and the second ring network node are not adjacent before the topology adjustment of the communication ring network.

[0089] In one embodiment, receiving a target message includes:

[0090] A second message sent by the first ring network node is received, where the second message is a message in which the first ring network node inserts the first field information into the received first message.

[0091] In one embodiment, receiving a target message includes:

[0092] A fourth message sent by the first ring network node is received, where the fourth message is a message received by the first ring network node from the first communication device, and the fourth message is a message in which the first communication device inserts the first field information into the third message generated by the first application.

[0093] like Fig. 9 As shown, Fig. 9 is a structural diagram of a ring network adjustment device 900 provided in an embodiment of the present application, such as Fig. 9 As shown, the ring network adjustment device 900 includes:

[0094] A determination module 901 is used to determine the communication flow between a first ring network node and a second ring network node, where the first ring network node and the second ring network node are non-adjacent nodes in the communication ring network;

[0095] The first adjustment module 902 is configured to adjust the first ring network node and the second ring network node to be adjacent in the communication ring network when the communication flow between the first ring network node and the second ring network node is greater than a preset threshold.

[0096] In one embodiment, adjusting a first ring network node and a second ring network node to be adjacent in a communication ring network includes:

[0097] A target message is sent to an optical cross-connect system OCS device, wherein the target message includes first field information, and the first field information is used to trigger topology adjustment of the communication ring network so that the first ring network node and the second ring network node are adjacent.

[0098] In one embodiment, the ring network adjustment device 900 is applied to a first ring network node;

[0099] The first adjustment module 902 includes:

[0100] A second receiving module is used to receive a first message, the destination address in the first message is the address of a target communication device, and the target communication device is connected to a second ring network node;

[0101] A first message processing module, used for inserting first field information into a first message to obtain a second message, wherein the first field information is used for triggering topology adjustment of the communication ring network;

[0102] The first sending module is used to send a second message to an optical cross-connect system OCS device, so that the OCS device adjusts the topology of the communication ring network based on the first field information, so that the first ring network node and the second ring network node are adjacent.

[0103] In one embodiment, the ring network adjustment device 900 is applied to a first communication device;

[0104] Determining the communication flow between the first ring network node and the second ring network node includes:

[0105] The flow size of the third message generated by the first application in the first communication device is obtained, the destination address of the third message is the address of the target communication device, the source address of the third message is the address of the first communication device, the first communication device is connected to the first ring network node, and the target communication device is connected to the second ring network node.

[0106] In one embodiment, the first adjustment module 902 includes:

[0107] A second message processing module, used for inserting the first field information into the third message to obtain a fourth message, wherein the first field information is used for triggering topology adjustment of the communication ring network;

[0108] The second sending module is used to send a fourth message to the first ring network node, and the fourth message is used for the first ring network node to send to the optical cross-connect system OCS device, so that the OCS device adjusts the topology of the communication ring network based on the first field information to make the first ring network node and the second ring network node adjacent.

[0109] In one embodiment, the communication ring network includes N ring network nodes, N is an integer greater than 1, and the N ring network nodes include a first ring network node and a second ring network node;

[0110] The first field information includes first indication information, second indication information and third indication information, wherein the first indication information is used to indicate the communication ring network topology specification mode, and the second indication information is used to indicate the information transmission type;

[0111] The third indication information includes an identifier of the first ring network node and an identifier of the second ring network node, or the third indication information is used to indicate a target connection mode of the N ring network nodes, or the third indication information is a configuration bit stream used to make the first ring network node adjacent to the second ring network node, or the third indication information is a configuration bit stream used to switch the connection mode of the communication ring network to a target connection mode, in which the first ring network node is adjacent to the second ring network node.

[0112] In one embodiment, the third indication information is used to indicate the target connection mode of N ring network nodes, wherein the third indication information includes the identifier of each node in the ordered N ring network nodes, the order of the identifiers of the N ring network nodes is used to indicate the target connection mode of the N ring network nodes, the ring network nodes corresponding to adjacent identifiers in the identifiers of the N ring network nodes are connected, and the ring network node corresponding to the starting identifier in the identifiers of the N ring network nodes is connected to the ring network node corresponding to the ending identifier in the identifiers of the N ring network nodes.

[0113] The ring network adjustment device 900 provided in this embodiment can implement each process of each embodiment of the ring network adjustment method applied to the first ring network node or the first communication device. The technical features correspond one to one and can achieve the same technical effect. To avoid repetition, they will not be repeated here.

[0114] See also Fig.10 , Fig.10 is a structural diagram of a ring network adjustment device 1000 provided in an embodiment of the present application, such as Fig.10 As shown, the ring network adjustment device 1000 includes:

[0115] A first receiving module 1001 is used to receive a target message, where the target message includes first field information, and the first field information is used to trigger topology adjustment of the communication ring network;

[0116] The second adjustment module 1002 is used to perform topology adjustment on the communication ring network based on the first field information, wherein the first ring network node and the second ring network node in the communication ring network after the topology adjustment are adjacent, the communication flow between the first ring network node and the second ring network node is greater than a preset threshold, and the first ring network node and the second ring network node are not adjacent before the topology adjustment of the communication ring network.

[0117] In one embodiment, receiving a target message includes:

[0118] A second message sent by the first ring network node is received, where the second message is a message in which the first ring network node inserts the first field information into the received first message.

[0119] In one embodiment, receiving a target message includes:

[0120] A fourth message sent by the first ring network node is received, where the fourth message is a message received by the first ring network node from the first communication device, and the fourth message is a message in which the first communication device inserts the first field information into the third message generated by the first application.

[0121] The ring network adjustment device 1000 provided in this embodiment is capable of implementing each process of each embodiment of the above-mentioned ring network adjustment method applied to OCS, and the technical features correspond one to one and can achieve the same technical effect. To avoid repetition, it will not be described here.

[0122] An embodiment of the present application also provides a communication device, including: a processor, a memory, and a program stored in the memory and executable on the processor. When the program is executed by the processor, each process of the above-mentioned ring network adjustment method embodiment applied to a ring network node or a first communication device is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0123] For details, see Fig.11 The embodiment of the present application further provides a communication device, including a bus 1101, a transceiver 1102, an antenna 1103, a bus interface 1104, a processor 1105 and a memory 1106.

[0124] The processor 1105 is used to determine the communication flow between the first ring network node and the second ring network node, where the first ring network node and the second ring network node are non-adjacent nodes in the communication ring network;

[0125] The processor 1105 is configured to adjust the first ring network node and the second ring network node to be adjacent in the communication ring network when the communication flow between the first ring network node and the second ring network node is greater than a preset threshold.

[0126] In one embodiment, the processor 1105 is specifically used to send a target message to the optical cross-connect system OCS device through the transceiver 1102, where the target message includes first field information, and the first field information is used to trigger topology adjustment of the communication ring network so that the first ring network node and the second ring network node are adjacent.

[0127] In one embodiment, the communication device is a first ring network node;

[0128] The processor 1105 is specifically configured to:

[0129] Receiving a first message through the transceiver 1102, the destination address in the first message is the address of a target communication device, and the target communication device is connected to the second ring network node;

[0130] Inserting first field information into the first message to obtain a second message, wherein the first field information is used to trigger topology adjustment of the communication ring network;

[0131] The second message is sent to the optical cross-connect system OCS device through the transceiver 1102, so that the OCS device adjusts the topology of the communication ring network based on the first field information, so that the first ring network node and the second ring network node are adjacent.

[0132] In one embodiment, the communication device is a first communication device;

[0133] The processor 1105 is specifically configured to:

[0134] The flow size of the third message generated by the first application in the first communication device is obtained, the destination address of the third message is the address of the target communication device, the source address of the third message is the address of the first communication device, the first communication device is connected to the first ring network node, and the target communication device is connected to the second ring network node.

[0135] In one embodiment, the processor 1105 is specifically configured to:

[0136] Inserting the first field information into the third message to obtain a fourth message, wherein the first field information is used to trigger topology adjustment of the communication ring network;

[0137] The fourth message is sent to the first ring network node through the transceiver 1102. The fourth message is used by the first ring network node to send to the optical cross-connect system OCS device, so that the OCS device adjusts the topology of the communication ring network based on the first field information to make the first ring network node and the second ring network node adjacent.

[0138] In one embodiment, the communication ring network includes N ring network nodes, N is an integer greater than 1, and the N ring network nodes include a first ring network node and a second ring network node;

[0139] The first field information includes first indication information, second indication information and third indication information, wherein the first indication information is used to indicate the communication ring network topology specification mode, and the second indication information is used to indicate the information transmission type;

[0140] The third indication information includes an identifier of the first ring network node and an identifier of the second ring network node, or the third indication information is used to indicate a target connection mode of the N ring network nodes, or the third indication information is a configuration bit stream used to make the first ring network node adjacent to the second ring network node, or the third indication information is a configuration bit stream used to switch the connection mode of the communication ring network to a target connection mode, in which the first ring network node is adjacent to the second ring network node.

[0141] In one embodiment, the third indication information is used to indicate the target connection mode of N ring network nodes, wherein the third indication information includes the identifier of each node in the ordered N ring network nodes, the order of the identifiers of the N ring network nodes is used to indicate the target connection mode of the N ring network nodes, the ring network nodes corresponding to adjacent identifiers in the identifiers of the N ring network nodes are connected, and the ring network node corresponding to the starting identifier in the identifiers of the N ring network nodes is connected to the ring network node corresponding to the ending identifier in the identifiers of the N ring network nodes.

[0142] exist Fig.11 In the embodiment, the bus architecture (represented by bus 1101) may include any number of interconnected buses and bridges, and bus 1101 links various circuits including one or more processors represented by processor 1105 and memory represented by memory 1106. Bus 1101 may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. Bus interface 1104 provides an interface between bus 1101 and transceiver 1102. Transceiver 1102 may be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. Data processed by processor 1105 is transmitted on a wireless medium via antenna 1103, and further, antenna 1103 also receives data and transmits the data to processor 1105.

[0143] The processor 1105 is responsible for managing the bus 1101 and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 1106 can be used to store data used by the processor 1105 when performing operations.

[0144] Optionally, the processor 1105 may be a CPU, an ASIC, an FPGA or a CPLD.

[0145] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the ring network adjustment method embodiment applied to the first communication device or the first ring network node is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. Among them, the computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0146] An embodiment of the present application also provides a communication device, including: a processor, a memory, and a program stored in the memory and executable on the processor. When the program is executed by the processor, each process of the above-mentioned ring network adjustment method embodiment applied to OCS is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0147] For details, see Fig.12 As shown, an embodiment of the present application also provides a communication device, including a bus 1201, a transceiver 1202, an antenna 1203, a bus interface 1204, a processor 1205 and a memory 1206.

[0148] The transceiver 1202 is used to receive a target message, the target message includes first field information, and the first field information is used to trigger topology adjustment of the communication ring network;

[0149] Processor 1205 is used to perform topology adjustment on the communication ring network based on the first field information, wherein the first ring network node and the second ring network node in the communication ring network after the topology adjustment are adjacent, the communication flow between the first ring network node and the second ring network node is greater than a preset threshold, and the first ring network node and the second ring network node are not adjacent before the topology adjustment of the communication ring network.

[0150] In one embodiment, the transceiver 1202 is specifically configured to receive a second message sent by a first ring network node, where the second message is a message in which the first ring network node inserts the first field information into a received first message.

[0151] In one embodiment, the transceiver 1202 is specifically used to receive a fourth message sent by the first ring network node, where the fourth message is a message received by the first ring network node from the first communication device, and the fourth message is a message in which the first communication device inserts the first field information into the third message generated by the first application.

[0152] exist Fig.12In the embodiment, the bus architecture (represented by bus 1201) may include any number of interconnected buses and bridges, and bus 1201 links various circuits including one or more processors represented by processor 1205 and memory represented by memory 1206. Bus 1201 may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. Bus interface 1204 provides an interface between bus 1201 and transceiver 1202. Transceiver 1202 may be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. Data processed by processor 1205 is transmitted on a wireless medium via antenna 1203, and further, antenna 1203 also receives data and transmits the data to processor 1205.

[0153] The processor 1205 is responsible for managing the bus 1201 and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 1206 can be used to store data used by the processor 1205 when performing operations.

[0154] Optionally, the processor 1205 may be a CPU, an ASIC, an FPGA or a CPLD.

[0155] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned ring network adjustment method embodiment applied to OCS is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. Among them, the computer-readable storage medium, such as ROM, RAM, disk or optical disk, etc.

[0156] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0157] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods of each embodiment of the present application.

[0158] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A ring network adjustment method, characterized in that: The method comprises: Determining a communication flow between a first ring network node and a second ring network node, wherein the first ring network node and the second ring network node are non-adjacent nodes in a communication ring network; When the communication flow between the first ring network node and the second ring network node is greater than a preset threshold, the first ring network node and the second ring network node are adjusted to be adjacent in the communication ring network.

2. The ring network adjustment method according to claim 1, characterized in that: Adjusting the first ring network node and the second ring network node to be adjacent in the communication ring network includes: A target message is sent to an optical cross-connect system OCS device, wherein the target message includes first field information, and the first field information is used to trigger topology adjustment of the communication ring network so that the first ring network node and the second ring network node are adjacent.

3. The ring network adjustment method according to claim 1, characterized in that: The method is applied to the first ring network node; Adjusting the first ring network node and the second ring network node to be adjacent in the communication ring network includes: receiving a first message, wherein the destination address in the first message is an address of a target communication device, and the target communication device is connected to the second ring network node; Inserting first field information into the first message to obtain a second message, wherein the first field information is used to trigger topology adjustment of the communication ring network; The second message is sent to an optical cross-connect system OCS device, so that the OCS device performs topology adjustment on the communication ring network based on the first field information, so that the first ring network node and the second ring network node are adjacent.

4. The ring network adjustment method according to claim 1, characterized in that: The method is applied to a first communication device; The determining of the communication flow between the first ring network node and the second ring network node includes: Obtain the flow size of the third message generated by the first application in the first communication device, the destination address of the third message is the address of the target communication device, the source address of the third message is the address of the first communication device, the first communication device is connected to the first ring network node, and the target communication device is connected to the second ring network node.

5. The ring network adjustment method according to claim 4, characterized in that: Adjusting the first ring network node and the second ring network node to be adjacent in the communication ring network includes: Inserting first field information into the third message to obtain a fourth message, wherein the first field information is used to trigger topology adjustment of the communication ring network; The fourth message is sent to the first ring network node, and the fourth message is used by the first ring network node to send to an optical cross-connect system OCS device, so that the OCS device adjusts the topology of the communication ring network based on the first field information to make the first ring network node and the second ring network node adjacent.

6. The ring network adjustment method according to claim 3 or 5, characterized in that: The communication ring network includes N ring network nodes, N is an integer greater than 1, and the N ring network nodes include the first ring network node and the second ring network node; The first field information includes first indication information, second indication information and third indication information, wherein the first indication information is used to indicate the communication ring network topology specification mode, and the second indication information is used to indicate the information transmission type; The third indication information includes an identifier of the first ring network node and an identifier of the second ring network node, or the third indication information is used to indicate a target connection mode of the N ring network nodes, or the third indication information is a configuration bit stream used to make the first ring network node adjacent to the second ring network node, or the third indication information is a configuration bit stream used to switch the connection mode of the communication ring network to a target connection mode, in which the first ring network node is adjacent to the second ring network node.

7. The ring network adjustment method according to claim 6, characterized in that: The third indication information is used to indicate the target connection mode of the N ring network nodes, wherein the third indication information includes the ordered identifier of each node in the N ring network nodes, the order of the identifiers of the N ring network nodes is used to indicate the target connection mode of the N ring network nodes, the ring network nodes corresponding to adjacent identifiers in the identifiers of the N ring network nodes are connected, and the ring network node corresponding to the starting identifier in the identifiers of the N ring network nodes is connected to the ring network node corresponding to the ending identifier in the identifiers of the N ring network nodes.

8. A ring network adjustment method, characterized in that: The method comprises: Receive a target message, wherein the target message includes first field information, and the first field information is used to trigger topology adjustment of the communication ring network; The communication ring network is topologically adjusted based on the first field information, wherein the first ring network node and the second ring network node in the communication ring network after the topology adjustment are adjacent, the communication flow between the first ring network node and the second ring network node is greater than a preset threshold, and the first ring network node and the second ring network node are not adjacent to each other before the topology adjustment.

9. The ring network adjustment method according to claim 8, characterized in that: The receiving target message comprises: A second message sent by the first ring network node is received, where the second message is a message in which the first ring network node inserts the first field information into the received first message.

10. The ring network adjustment method according to claim 8, characterized in that: The receiving target message comprises: A fourth message sent by the first ring network node is received, where the fourth message is a message received by the first ring network node from a first communication device, and the fourth message is a message in which the first communication device inserts the first field information into a third message generated by the first application.

11. A ring network adjustment device, characterized in that: The device comprises: A determination module, used to determine the communication flow between a first ring network node and a second ring network node, wherein the first ring network node and the second ring network node are non-adjacent nodes in the communication ring network; The first adjustment module is used to adjust the first ring network node and the second ring network node to be adjacent in the communication ring network when the communication flow between the first ring network node and the second ring network node is greater than a preset threshold.

12. A communication device, characterized in that: Including transceiver and processor, The processor is configured to: Determining a communication flow between a first ring network node and a second ring network node, wherein the first ring network node and the second ring network node are non-adjacent nodes in a communication ring network; When the communication flow between the first ring network node and the second ring network node is greater than a preset threshold, the first ring network node and the second ring network node are adjusted to be adjacent in the communication ring network.

13. A ring network adjustment device, characterized in that: The device comprises: A first receiving module, used to receive a target message, wherein the target message includes first field information, and the first field information is used to trigger topology adjustment of the communication ring network; The second adjustment module is used to perform topology adjustment on the communication ring network based on the first field information, wherein the first ring network node and the second ring network node in the communication ring network are adjusted to be adjacent, the communication flow between the first ring network node and the second ring network node is greater than a preset threshold, and the first ring network node and the second ring network node are not adjacent to each other before the topology adjustment of the communication ring network.

14. A communication device, characterized in that: Including transceiver and processor, The transceiver is used to receive a target message, wherein the target message includes first field information, and the first field information is used to trigger topology adjustment of the communication ring network; The processor is used to perform topology adjustment on the communication ring network based on the first field information, wherein a first ring network node and a second ring network node in the communication ring network are adjusted to be adjacent, a communication flow between the first ring network node and the second ring network node is greater than a preset threshold, and the first ring network node and the second ring network node are not adjacent to each other before the topology adjustment of the communication ring network.

15. A communication device, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the method according to any one of claims 1 to 7 or the steps of the method according to any one of claims 8 to 10 are implemented.

16. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method described in any one of claims 1 to 7, or the steps of the method described in any one of claims 8 to 10.