Communication method, system, apparatus, electronic device, storage medium, and program product
By replacing the faulty module with the same backup module as the master node in the metropolitan area transmission network, dual-homing protection is achieved, which solves the problems of increased data forwarding latency and uncontrollable latency jitter, maintains end-to-end hard isolation characteristics, and improves system efficiency.
Patent Information
- Application Number
- CN202411520880.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2026-01-16
- Estimated Expiration
- 2044-10-29
AI Technical Summary
The existing metropolitan area transport network cannot provide dual-homing protection for service landing nodes, resulting in increased data forwarding latency and uncontrollable latency jitter.
By replacing the faulty module with a backup module that is exactly the same as the primary node module in the backup node, dual-homing protection is achieved, avoiding the superposition of MPLS/MPLS-TP networks on MTNP. The MTNP time slot code block crossover scheme is adopted to avoid the introduction of intermediate nodes.
It achieves seamless dual-homing protection in MTN networks, maintains end-to-end hard isolation characteristics, avoids the problems of increased data forwarding latency and uncontrollable latency jitter, and improves system efficiency.
Smart Images

Figure CN119363573B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the field of communication technology, and in particular, to a communication method, system, device, electronic device, storage medium and program product. BACKGROUND
[0002] At present, linear protection can be implemented in a metro transport network (MTN) network in the related technology, which is generally to implement end-to-end hard isolation channel forwarding through a metro transport network path (MTNP) between an external node and a primary node. Such an end-to-end linear protection mechanism cannot provide a dual-homing protection capability of a service landing node. To support service dual-homing protection in the MTN network, a layer of multi-protocol label switching / multi-protocol label switching-transport profile (MPLS / MPLS-TP) network needs to be superimposed on the MTNP network. This way is to add a backup node between the external node and the primary node, and the backup node, as an intermediate P node on the service path, needs to be implemented in a pseudo-wire (PW) switching manner. At this time, a physical (MAC) layer storage forwarding process needs to be performed, which is different from the implementation manner of the MTNP time slot code block cross scheme of each node on the MTNP path, resulting in an increase in data forwarding delay and uncontrollable delay jitter. SUMMARY
[0003] The present disclosure provides a communication method, system, device, electronic device, storage medium and program product to solve the problem of an increase in data forwarding delay and uncontrollable delay jitter to some extent.
[0004] According to one aspect of the present disclosure, a communication method is provided, applied to a first node, and the method comprises: receiving a first message, the first message being used to indicate that a second node is in an abnormal state; and based on the first message, using a first module with the same function as a second module to process a service, wherein the second module is a faulty module or a faulty link related module in the second node.
[0005] Further, according to the method of one aspect of the present disclosure, the first node comprises: a first forwarding module, configured to communicate with the external node through the first link and implement termination or forwarding of the service data; a first interconnection module, configured to implement interconnection of the first node and the second node and implement termination or forwarding of the service data; a first synchronization module, configured to synchronize the state of the second node; and a first processing module, configured to process the service data and output a processing result to the client.
[0006] Further, according to the method of one aspect of the present disclosure, the first message comprises: a channel fault state, a port fault state and a node fault state.
[0007] Further, according to the method of one aspect of the present disclosure, based on the first message, the service processing is performed by the first module having the same function as the second module, comprising: based on the exception type indicated by the first message, the service processing is performed by the first module and the third module, or the service processing is performed by the first module; wherein the third module is a normal module in the second node.
[0008] Further, according to the method of one aspect of the present disclosure, when the first message is the channel fault state, the first module comprises: a first forwarding module and a first interconnection module, the third module comprises: a second interconnection module and a second processing module, based on the first message, the service processing is performed by the first module having the same function as the second module, comprising: the first forwarding module receives the service data of the third node and forwards to the first interconnection module; the first interconnection module forwards the service data to the second interconnection module; the second interconnection module performs service termination on the service data to obtain first service data; and the second processing module processes the first service data and outputs a processing result to the client.
[0009] Further, according to the method of one aspect of the present disclosure, when the first message is the port fault state, the first module comprises: a first interconnection module and a first processing module, the third module comprises: a second forwarding module and a second interconnection module, based on the first message, the service processing is performed by the first module having the same function as the second module, comprising: the second forwarding module receives the service data of the third node and forwards to the second interconnection module; the second interconnection module forwards the service data to the first interconnection module; the first interconnection module performs service termination on the service data to obtain second service data; and the first processing module processes the second service data and outputs a processing result to the client.
[0010] Further, according to the method of one aspect of the present disclosure, when the first message is a node failure state, the first module comprises a first forwarding module and a first processing module, and based on the first message, the first module with the same function as the second module is used for service processing, which comprises: using the first forwarding module to receive service data of the third node and performing service termination to obtain third service data; using the first processing module to process the third service data and output the processing result to the client.
[0011] Further, according to the method of one aspect of the present disclosure, the method further comprises: the first node is a backup node of the second node, or the first node is a backup node of a plurality of second nodes.
[0012] Further, according to the method of one aspect of the present disclosure, the receiving of the first message comprises: periodically receiving the state of the second node by using the first synchronization module; or requesting and receiving the state of the second node according to a preset condition by using the first synchronization module.
[0013] According to another aspect of the present disclosure, a communication method is provided, which is applied to a second node, and the method comprises: sending a first message to a first node, the first message being used for indicating a state exception; and using a first module with the same function as a second module for service processing; wherein the second module is a failure module or a failure link related module.
[0014] Further, according to the method of another aspect of the present disclosure, the second node comprises: a second forwarding module, which is used for communicating with an external node through a second link and realizing termination or forwarding of service data; a second interconnection module, which is used for realizing interconnection of the second node and the first node and performing termination or forwarding of service data; a second synchronization module, which is used for synchronizing the state to the first node; and a second processing module, which is used for processing the service data and outputting the processing result to the client.
[0015] According to still another aspect of the present disclosure, a communication system is provided, which comprises: a first node, which is used for realizing the method of any one of the above; and a second node, which is used for realizing the method of any one of the above.
[0016] Further, according to the communication system of still another aspect of the present disclosure, the first node and the second node communicate through a metropolitan transport network passage (MTNP).
[0017] According to still another aspect of the present disclosure, a communication device is provided, which is arranged in the first node, and the device comprises: a receiving unit, which is used for receiving a first message, the first message being used for indicating a state exception of a second node; and a processing unit, which is used for, based on the first message, using a first module with the same function as a second module for service processing; wherein the second module is a failure module or a failure link related module in the second node.
[0018] According to still another aspect of the present disclosure, a communication apparatus is provided, which is arranged at a second node, and the apparatus comprises: a sending unit configured to send a first message to a first node, the first message being used to indicate a state exception; and a processing unit configured to process a service by using a first module which has the same function as a second module, wherein the second module is a faulty module or a faulty link related module.
[0019] According to still another aspect of the present disclosure, an electronic device is provided, which comprises: a memory configured to store computer readable instructions; and a processor configured to execute the computer readable instructions, so that the electronic device performs the method according to any one of the embodiments of the first aspect.
[0020] According to still another aspect of the present disclosure, a non-transitory computer readable storage medium is provided, which is configured to store computer readable instructions, when the computer readable instructions are executed by a processor, the processor performs the method according to any one of the embodiments of the first aspect.
[0021] According to still another aspect of the present disclosure, a computer program product is provided, which comprises a computer program, when the computer program is executed by a processor, the method according to any one of the embodiments of the first aspect is implemented.
[0022] The present disclosure provides a communication method, system, apparatus, electronic device, storage medium and program product. According to the present disclosure, the first node receives a first message used to indicate a state exception of a second node, and processes a service by using a first module of itself which has the same function as a second module, wherein the second module is a faulty module or a faulty link related module in the second node. In summary, the first node according to the present disclosure can receive the first message of the second node exception, and directly use the first module of itself which has the same function to replace the faulty module or the faulty link related module in the second node. Compared with the prior art, in order to realize dual-homing protection, a backup node needs to be added between an external node and a master node, and the backup node needs to be a middle P node and needs to perform PW switching. According to the present disclosure, the backup node is completely the same as the master node, when the master node is abnormal, the dual-homing protection is realized by using the combination of the normal module of the master node and the backup node which replaces the abnormal module of the master node. On this basis, since the module logic is completely the same, the backup node module also adopts the MTNP time slot code block cross scheme, and the above-mentioned mechanism of the backup node as a middle node and performing PW switching does not exist. In this way, the problem of destroying the end-to-end hard isolation feature caused by the superposition of MPLS / MPLS-TP on MTNP can be avoided. Meanwhile, in the whole dual-homing protection process, each node on the MTNP path adopts the MTNP time slot code block cross scheme, and does not need PW switching and MAC storage forwarding processing, so that the problem of increasing data forwarding delay and uncontrollable delay jitter can be avoided, and the actual objective needs can be met.
[0023] It is to be understood that both the foregoing general description and the following detailed description are exemplary and intended to provide further explanation of the subject technology. BRIEF DESCRIPTION OF DRAWINGS
[0024] The foregoing and other objects, features, and advantages of the present disclosure will become more apparent from the following detailed description, which proceeds with reference to the accompanying drawings. The drawings are intended to provide a further understanding, but are not intended for limitation of the present disclosure. The drawings illustrate embodiments of the present disclosure and, together with their description, serve to explain the present disclosure. In the drawings:
[0025] Figure 1 A schematic diagram of an existing dual-homing protection;
[0026] Figure 2 A flowchart of a communication method applied to a first node according to an embodiment of the present disclosure;
[0027] Figure 3 A structural schematic diagram of a node according to an embodiment of the present disclosure;
[0028] Figure 4 A schematic diagram of service processing in a failure-free state (normal state) according to an embodiment of the present disclosure;
[0029] Figure 5 A schematic diagram of service processing in a channel failure state according to an embodiment of the present disclosure;
[0030] Figure 6 A schematic diagram of service processing in a port failure state according to an embodiment of the present disclosure;
[0031] Figure 7 A schematic diagram of service processing in a node failure state according to an embodiment of the present disclosure;
[0032] Figure 8 A structural block diagram of a communication apparatus according to an embodiment of the present disclosure;
[0033] Figure 9 A structural block diagram of another communication apparatus according to an embodiment of the present disclosure;
[0034] Figure 10 A hardware block diagram of an electronic device according to an embodiment of the present disclosure;
[0035] Figure 11 A schematic diagram of a computer-readable storage medium according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0036] In order to make the objects, technical solutions and advantages of the present disclosure more obvious, the following will describe the example embodiments according to the present disclosure in detail with reference to the drawings. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure, and it should be understood that the present disclosure is not limited to the example embodiments described herein.
[0037] Currently, when implementing dual-homing protection in the existing Metro Transport Network (MTN) network, a layer of dual-node interconnection pseudo-wire (DNIPW) is superimposed on the Metro Transport Network Path (MTNP) to implement switching protection between the primary node and the backup node. However, the superimposed DNIPW will destroy the end-to-end hard isolation characteristics of the MTNP, because the addition of the backup node between the external node and the primary node will destroy the end-to-end hard isolation characteristics between the external node and the primary node. At the same time, the addition of the backup node will also cause the increase of data forwarding delay, uncontrollable delay jitter, and reduced system efficiency.
[0038] Specifically, Figure 1 For the existing dual-homing protection, as shown in Figure 1 A can be an external node, Z1 can be a primary node of dual-homing protection, and Z2 can be a backup node of dual-homing protection. The channel between A and Z1 is the working MTNP. The channel between A and Z2 is the protection MTNP. The channel between Z1 and Z2 is the DNIPW.
[0039] Under normal circumstances, also known as network failure-free circumstances, the working MTNP, i.e., A-Z1 landing mode, is used for service processing. Under abnormal circumstances, also known as working MTNP failure circumstances, the protection MTNP and the DNIPW, i.e., A-Z2-Z1 landing mode, are used for service processing. If the A-Z2-Z1 mode is used, the whole link adds the intermediate node Z2, which destroys the end-to-end hard isolation characteristics of the whole link. In addition, the intermediate node needs to be added for data forwarding exchange to process the service, which will also cause the increase of data forwarding delay, uncontrollable delay jitter, and reduced system efficiency.
[0040] Therefore, the present application proposes a communication method, system, device, electronic equipment, storage medium and program product, which can implement the interaction between the first node (i.e., the backup node) and the second node (i.e., the primary node), and directly use the related module of the first node to replace the fault module of the second node. In the whole service processing link, no additional intermediate node is introduced, avoiding the problem of destroying the end-to-end hard isolation characteristics caused by superimposing the DNIPW on the MTNP. At the same time, the problems of increasing data forwarding delay and uncontrollable delay jitter can be avoided, and the efficiency of the system is improved. Please refer toFigure 2 , Figure 2 A flowchart of a communication method applied to a first node is provided for the embodiments of the present disclosure. As shown in Figure 2 , the method comprises:
[0041] In step S201, a first message is received, the first message being used to indicate an abnormal state of a second node.
[0042] In step S202, based on the first message, a first module with the same function as a second module is used to process a service; wherein the second module is a faulty module or a faulty link related module in the second node.
[0043] In the present disclosure, the first node can be understood as a backup node, and the second node can be understood as a master node. The first node can be a backup node for one second node, or a backup node for multiple second nodes, which is not limited herein. That is, the first node can have one backup module with the same function as the second node, or multiple backup modules with the same function as the second node.
[0044] The first message can be understood as containing information related to the abnormal state of the second node. Specifically, the first message can be used to describe information related to at least one of the abnormal state of the second node caused by channel blocking, hardware failure, software error, network congestion, etc. The first message can include, but is not limited to, at least one of the following: type of failure, severity of failure, location information of failure, etc., which is not limited.
[0045] The second module can be understood as a faulty module or a faulty link related module in the second node. If it is a hardware failure, the second module can be a problematic chip, interface, circuit board, etc. component; if it is a software error, the second module can be a program module, algorithm module or configuration module running abnormally; if it is a failure caused by network congestion, the second module can be a related module responsible for data transmission scheduling and flow control. In summary, the second module can be a module that causes the abnormal state of the second node, and the specific division of the function of the second module is not limited herein.
[0046] The first module can be understood as a module in the first node with the same function as the second module. Since the first module has the same function as the second module, when the second module fails, the first module can replace the second module and take over the service processing task originally performed by the second module.
[0047] Specifically, at least one of the first node, the second node, other nodes, etc. can determine that the second node is in an abnormal state, and send a first message to the first node. After receiving the first message, the first node can parse the first message to determine a specific faulty module or a faulty link related module in the second node, also referred to as a second module. The first node can find a first module in itself that has the same function as the second module, and directly use the first module to replace the second module for complete business processing. In this way, the first module can seamlessly replace the second module and take over the business processing task originally performed by the second module, and no intermediate node is added in the entire link, which can completely ensure the continuity of the business.
[0048] In summary, the technical solution provided by the present disclosure can enable the first node to receive a first message indicating that the second node is abnormal, and directly use a first module with the same function as itself to replace a faulty module or a faulty link related module in the second node. Compared with the prior art method of adding a backup node between an external node and a master node to implement dual-homing protection, and using the backup node as an intermediate P node to perform PW switching, the present disclosure uses a backup node that is completely identical to the master node module. When the master node is abnormal, the dual-homing protection is implemented by using the combination of the normal master node module and the abnormal backup node module. On this basis, since the module logic is completely identical, the backup node module also uses the MTNP time slot code block crossover scheme, and there is no mechanism of PW switching by the intermediate backup node. In this way, the problem of destroying the end-to-end hard isolation feature caused by stacking MPLS / MPLS-TP on MTNP can be avoided. At the same time, during the entire dual-homing protection process, each node on the MTNP path uses the MTNP time slot code block crossover scheme, and does not need PW switching and MAC storage forwarding processing, which can avoid the problems of increased data forwarding delay and uncontrollable delay jitter, and can meet the actual objective needs.
[0049] In the following, the specific structure of the first node (i.e., the backup node) of the present disclosure will be described. The first node includes:
[0050] The first forwarding module is configured to communicate with the external node through the first link and implement the termination or forwarding of the business data;
[0051] The first interconnection module is configured to implement the interconnection of the first node and the second node and perform the termination or forwarding of the business data;
[0052] The first synchronization module is configured to synchronize the state of the second node;
[0053] The first processing module is configured to process the business data and output the processing result to the client.
[0054] In the present disclosure, the four modules of the first node all undertake different important functions, which collectively ensure the stable operation of the communication system and the smooth processing of the service.
[0055] Specifically, the first forwarding module can be responsible for data transmission and determining whether to terminate or forward the service data. That is, when the service data enters from the external node, the first forwarding module can receive the data and determine whether to terminate or forward the data. That is, if the destination of the data is the client served by the node, the first forwarding module will terminate the data processing, that is, pass the data to the subsequent processing module for further processing and output to the client. If the destination of the data is not the node but other nodes, the first forwarding module will forward the data according to the routing information to ensure that the data can accurately reach the destination.
[0056] The first interconnection module can enable effective communication and data exchange between the first node and the second node. When the second node is normally running, the first interconnection module can interact with the corresponding module of the second node to cooperatively complete the service processing. When the second node fails, the first interconnection module can receive the failure message (i.e., the first message described above) from the second node and forward or process the service data according to the situation. For example, if a module in the second node fails and cannot process the service, the first interconnection module can receive the service data originally sent to the second node and forward it to other related modules in the first node for termination processing, or directly forward the data to other related modules in the first node to ensure the continuity of the service.
[0057] The first synchronization module is used to synchronize the state of the second node. That is, the first node always knows the running situation of the second node so as to respond when necessary. Specifically, the first node can periodically receive the state of the second node by using the first synchronization module, that is, the first node can actively acquire the state information of the second node within a fixed time interval. In this way, the first node can always master the situation of the second node within a certain time range and timely discover possible problems. Alternatively, the first node can request and receive the state of the second node according to a preset condition by using the first synchronization module. The preset condition can be a special service, an additional request, etc., which is not limited herein. In this way, resources can be efficiently utilized and unnecessary frequent synchronization can be avoided.
[0058] The first processing module is used to process the service data and output the processing result to the client. This module is directly facing the client and is responsible for the final processing and output of the service data. When the service data is transmitted to the first processing module through the first forwarding module or the first interconnection module, the first processing module can perform various processing operations on the data according to the service requirements and output the processing result to the client to meet the service requirements of the client.
[0059] It is worth noting that the first node (i.e. the backup node) is a backup node for the second node (i.e. the primary node), and therefore the first node can have the same functional modules as the second node. The second node can also have at least one functional module of the second node, an external node, or the like, in addition to the functional modules of the second node, without specific limitation here.
[0060] In summary, the first forwarding module, the first interconnection module, the first synchronization module, and the first processing module each perform their respective functions in the first node, and work together to achieve the continuity of service processing.
[0061] Exemplarily, Figure 3 The structure diagram of the node provided by the embodiment of the present disclosure is shown in Figure 3 As shown, it includes:
[0062] The service termination / forwarding module (i.e. the first forwarding module described above): This module supports the termination and forwarding functions of the MTNP. Whether the termination function or the forwarding function is executed depends on the dual-homing protection state. The termination function refers to terminating the frame structure encapsulation of the MTNP layer, extracting the payload from the 64-byte / 66-byte (64B / 66B) code block of the MTNP and sending it to the customer layer processing module, and mapping the data sent by the customer layer processing module to the payload of the corresponding 64B / 66B code block of the MTNP. The forwarding function refers to forwarding the 64B / 66B code block from one direction to another direction. It is worth noting that it can be seen here that the first node (i.e. the backup node) is the same node as the second node (i.e. the primary node). The processing mechanism of the first node (i.e. the backup node) is still the MTNP time slot code block cross mechanism, and therefore the dual-homing protection can be achieved with the help of the related modules of the first node.
[0063] The dual-homing interconnection module (i.e. the first interconnection module described above): This module is used for interconnecting between the dual-homing nodes where the service lands, and is used to implement the termination and forwarding functions of the MTNP between the dual-homing nodes. Whether the termination function or the forwarding function is executed depends on the dual-homing protection state.
[0064] The state synchronization module (i.e. the first synchronization module described above): This module is used for state notification between the dual-homing nodes where the service lands, so that the dual-homing nodes can decide the actions to be performed by the service termination / forwarding module and the dual-homing interconnection module.
[0065] The client layer processing module (i.e., the first processing module described above) is configured to process the payload extracted from the MTNP and perform corresponding processing according to the service type of the payload. For example, mapping and demapping of a constant bit rate (CBR) service, a layer 2 virtual private network (L2VPN) service, pseudo wire / label switched path (PW / LSP) label processing, media access control / internet protocol (MAC / IP) forwarding, and the like. The client layer processing module configuration data (e.g., CBR service configuration, L2VPN / PW / LSP configuration, and the like) of the two dual-homing ground nodes need to be synchronized. The synchronization can reuse the existing synchronization method, for example, the network management / controller simultaneously issues the same configuration data to the two nodes, and the specific synchronization method is not limited herein.
[0066] As described above, the first node can use the first module having the same function as the second module to process the service after receiving the first message. Specifically, the first node can analyze the first message to obtain the corresponding abnormal type when receiving the first message, and then determine how to process the service according to the abnormal type. At this time, the method comprises:
[0067] Based on the abnormal type indicated by the first message, the first module and the third module are used to process the service, or the first module is used to process the service.
[0068] The third module is a normal module in the second node.
[0069] In the present disclosure, the first message can include but is not limited to at least one of the following: a channel fault state, a port fault state, and a node fault state. Specifically, the channel fault state can be understood as a problem in the data transmission channel. For example, communication line interruption, signal interference channel, and the like. The port fault state can be understood as a fault in the port connected to the device. For example, client port failure, connection port failure, and the like caused by physical damage, poor connection, configuration error, and the like. The node fault state can be understood as a failure of the entire master node (i.e., the second node described above). For example, hardware failure, software failure, or other reasons causing the node to fail to work normally.
[0070] In the embodiments of the present disclosure, the first node can determine the abnormal type of the first message (such as at least one of channel failure, port failure, node failure, etc., without enumeration), and then determine the first module that is functionally identical to the second module (i.e., the failure module or the failure link related module of the second node) according to the abnormal type. The first module and the third module (i.e., the normal module in the second node) are used for service processing, or the first module is directly used for service processing. This is mainly related to the abnormal type of the first message. When the first message indicates channel failure or port failure, the first node can use the first module and the third module (i.e., the normal module in the second node) corresponding thereto for cooperative processing. When the first message indicates node failure, it can mean that there is no third module (i.e., the normal module in the second node), in order to realize normal service processing, the complete first module can be directly used for normal service processing. In this way, the interaction between the first node and the second node can be used to flexibly adjust the normal service processing. While realizing the service processing, the interaction process is simplified, the end-to-end hard isolation feature is still maintained, and the actual objective demand can be met.
[0071] In the following, how to use the first module and the third module or directly use the first module for service processing will be specifically described for different abnormal types.
[0072] Firstly, how to perform service processing in a normal state can be described. At this time, the method comprises the following steps.
[0073] The second forwarding module receives service data of a third node and performs service termination to obtain fourth service data;
[0074] The second processing module processes the fourth service data and outputs the processing result to the client.
[0075] In the embodiments of the present disclosure, in a normal state, the second node (i.e., the master node) can perform normal service processing. Specifically, the second forwarding module can be used to receive service data of a third node. The third node can be an external node, such as a service access node, a service transmission node, etc. Then, the second forwarding module can be used to receive the service data and perform termination processing to obtain fourth service data. Specifically, the second forwarding module can extract the received service data and send the payload data (i.e., the fourth service data) to the second processing module, and also send the data returned by the second processing module to the external node. Finally, the second processing module can receive the fourth service data and output the processing result to the client. Specifically, the second processing module can perform relevant service processing on the payload data (i.e., the fourth service data) sent by the second forwarding module and send it to the client. At the same time, the second processing module can also receive data from the client for processing and send it to the second forwarding module.
[0076] It is worth noting that in the normal state, the second node can also use the second synchronization module to deliver the "normal" state indication to the first synchronization module of the first node. This means that the first node always knows the running status of the second node so as to respond when necessary.
[0077] It is particularly noted that the first node and the second node of the present disclosure still communicate with each other by using the MTNP channel, which can be a dual-homing interconnection metro transport network channel (DNI MTNP).
[0078] Exemplarily, Figure 4 The schematic diagram of the service processing in the fault-free state (normal state) of the embodiment of the present disclosure is shown in Figure 4 as shown in
[0079] Among them, A node is an external node. Z1 is the primary node of dual-homing protection, and Z2 is the standby node of dual-homing protection. The functional modules of Z1 and Z2 are the same, and all include: termination / forwarding module (equivalent to the first forwarding module or the second forwarding module of the present disclosure), dual-homing interconnection module (equivalent to the first interconnection module or the second interconnection module of the present disclosure), state reporting module (equivalent to the first synchronization module or the second synchronization module of the present disclosure), customer layer processing module (equivalent to the first processing module or the second processing module of the present disclosure). And the channel between Z1 and A is the working MTNP. The channel between Z2 and A is the protection MTNP. The channel between Z1 and Z2 is the dual-homing interconnection metro transport network channel (DNI MTNP).
[0080] In the normal state, the actions performed by each module are as follows:
[0081] The termination / forwarding module of Z1 node: performs the termination function of MTNP, extracts the payload from the 64B / 66B code block of the working MTNP and sends it to the customer layer processing module, and at the same time, maps the message sent by the customer layer processing module to the 64B / 66B frame payload of the working MTNP.
[0082] The dual-homing interconnection module of Z1 node: does not process service messages.
[0083] The customer layer processing module of Z1 node: after performing relevant service processing on the payload data sent by the termination / forwarding module, sends it to the customer side port, and at the same time, receives the message from the customer side port and processes it, and then sends it to the termination / forwarding module.
[0084] The state synchronization module of Z1 node: delivers the "normal" state indication to Z2 node.
[0085] The state synchronization module of Z2 node: receives the state notification from Z1 node, and informs other modules of the node to perform relevant actions according to the "normal" state of Z1 node.
[0086] Each module of the Z2 node does not process service message.
[0087] In summary, the service processing in normal state is shown in the figure: the termination / forwarding module of the Z1 node receives data from the working MTNP for termination, and sends to the customer layer processing module of the Z1 node for service processing and sends the result to the client. Meanwhile, the Z1 node state synchronization module can send a normal indication to the Z2 node state synchronization module. At the same time, the Z2 node can receive the state notification from the Z1 node except the state synchronization module, and any other module does not process service message.
[0088] Next, the service processing method under different abnormal types is specifically described:
[0089] The first abnormal type: when the first message is a channel fault state, the first module can include: a first forwarding module and a first interconnection module, and the third module (i.e. the normal module of the second node) includes: a second interconnection module and a second processing module, at this time, the service processing method includes:
[0090] receiving service data of the third node by the first forwarding module and forwarding to the first interconnection module;
[0091] forwarding the service data to the second interconnection module by the first interconnection module;
[0092] terminating the service data by the second interconnection module to obtain first service data;
[0093] processing the first service data by the second processing module and outputting the processing result to the client.
[0094] In the embodiments of the present disclosure, when the first message is the channel fault state, it means that the normal working MTNP channel fails, and the second node cannot receive the service data of the external node. Therefore, the first forwarding module of the first node can be used to receive the service data of the third node and forward the service data to the first interconnection module. The third node is an external node, such as a service access node or a service transmission node. Then, the first interconnection module of the first node can be used to forward the service data to the second interconnection module. Further, the second interconnection module of the second node processes the received service data and sends the service data to the second processing module. Specifically, the second interconnection module can extract the received service data and send the payload data (i.e., the first service data) to the second processing module, and can also send the data returned by the second processing module to the interaction channel DNI MTNP between the first node and the second node. Finally, the second processing module can process the first service data and output the processing result to the client. Specifically, the second processing module can process the payload data (i.e., the first service data) sent by the second interconnection module and send the data to the client. Meanwhile, the second processing module can also receive data from the client and send the data to the second processing module.
[0095] Exemplarily, Figure 5 A schematic diagram of service processing in the channel fault state of the embodiments of the present disclosure is shown in Figure 5
[0096] The A node is an external node. Z1 is a primary node of dual-homing protection, and Z2 is a backup node of dual-homing protection. The functional modules of Z1 and Z2 are the same, and each includes a termination / forwarding module (equivalent to the first forwarding module or the second forwarding module of the present disclosure), a dual-homing interconnection module (equivalent to the first interconnection module or the second interconnection module of the present disclosure), a state reporting module (equivalent to the first synchronization module or the second synchronization module of the present disclosure), and a client layer processing module (equivalent to the first processing module or the second processing module of the present disclosure). The channel between Z1 and A is a working MTNP, the channel between Z2 and A is a protection MTNP, and the channel between Z1 and Z2 is a dual-homing interconnection metropolitan transport network channel (DNI MTNP).
[0097] In the channel fault state, i.e., in the case of working MTNP failure, the actions performed by each module are as follows:
[0098] The termination / forwarding module of the Z1 node does not process service packet.
[0099] The dual-homing interconnection module of the Z1 node: performs the termination function of the MTNP, terminates the DNI MTNP package, extracts the payload from the 64B / 66B code block of the DNI MTNP and sends it to the Z1 node customer layer processing module, and meanwhile, maps the data message sent by the Z1 node customer layer processing module to the 64B / 66B frame payload corresponding to the DNI MTNP.
[0100] The customer layer processing module of the Z1 node: after the payload data sent by the dual-homing interconnection module of the Z1 node is processed in relation to the business, it is sent to the customer side port, and meanwhile, the message received from the customer side port is processed and sent to the dual-homing interconnection module of the Z1 node.
[0101] The Z1 node state synchronization module: transmits the state indication of "working MTNP failure" to the Z2 node.
[0102] The termination / forwarding module of the Z2 node: performs the forwarding function, forwards the 64B / 66B code block in the protection MTNP to the dual-homing interconnection module of the Z2 node, and meanwhile, forwards the 64B / 66B code block from the dual-homing interconnection module of the Z2 node to the protection MTNP.
[0103] The dual-homing interconnection module of the Z2 node: performs the forwarding function, forwards the 64B / 66B code block from the termination / forwarding module of the Z2 node to the DNI MTNP, and meanwhile, forwards the 64B / 66B code block in the DNI MTNP to the termination / forwarding module of the Z2 node.
[0104] The customer layer processing module of the Z2 node: does not process the business.
[0105] The Z2 node state synchronization module: receives the "working MTNP failure" notification from the Z1 node, and informs other modules of the node to perform the related actions according to the "working MTNP failure" state of the Z1 node.
[0106] In summary, the business processing in the channel failure state is shown in the figure: the termination / forwarding module of the Z2 node receives the data from the protection MTNP for forwarding, and sends the data to the dual-homing interconnection module of the Z2 node. The dual-homing interconnection module of the Z2 node sends the data to the dual-homing interconnection module of the Z1 node. The dual-homing interconnection module of the Z1 node receives the business data and performs data termination to obtain the first business data. And sends the data to the customer layer processing module of the Z1 node.
[0107] The second type of exception: when the first message is the port failure state, the first module can include: a first interconnection module and a first processing module, and the third module (i.e. the normal module of the second node) can include: a second forwarding module and a second interconnection module, at this time, the method for business processing, comprising:
[0108] receive the service data of the third node by the second forwarding module and forward to the second interconnection module;
[0109] forward the service data to the first interconnection module by the second interconnection module;
[0110] perform service termination on the service data by the first interconnection module to obtain second service data;
[0111] perform processing on the second service data by the first processing module and output the processing result to the client.
[0112] In the embodiments of the present disclosure, when the first message is the port fault state, it means that the second processing module of the second node is faulty, and the second node cannot process and send the processing result to the client. Therefore, the first processing module of the first node can be used to process the data and send the processing result to the client.
[0113] Specifically, the second forwarding module of the second node can receive the service data of the third node (i.e. external node) and forward to the second interconnection module. Then, the second interconnection module of the second node can forward the service data to the first interconnection module. Further, the first interconnection module of the first node processes the received service data for data termination and sends it to the first processing module. Specifically, the first interconnection module can extract the received service data and send the payload data (i.e. the second service data in the foregoing) to the first processing module, and also send the data returned by the first processing module to the interaction channel DNI MTNP between the first node and the second node. Finally, the first processing module can perform service processing on the second service data and output the processing result to the client. Specifically, the first processing module can perform relevant service processing on the payload data (i.e. the second service data in the foregoing) sent by the first interconnection module and send it to the client. At the same time, the first processing module can also receive data from the client for processing and send it to the first processing module.
[0114] An exemplary, Figure 6 a service processing schematic diagram under the port fault state of the embodiments of the present disclosure, as Figure 6 shown:
[0115] Wherein, A node is an external node. Z1 is a primary node of dual-homing protection, and Z2 is a backup node of dual-homing protection. Z1 and Z2 have the same function modules, which include: a termination / forwarding module (equivalent to the first forwarding module or the second forwarding module of the present disclosure), a dual-homing interconnection module (equivalent to the first interconnection module or the second interconnection module of the present disclosure), a state reporting module (equivalent to the first synchronization module or the second synchronization module of the present disclosure), and a customer layer processing module (equivalent to the first processing module or the second processing module of the present disclosure). The channel between Z1 and A is a working MTNP. The channel between Z2 and A is a protection MTNP. The channel between Z1 and Z2 is a dual-homing interconnection metropolitan transport network channel (DNI MTNP).
[0116] The port fault state, i.e. the action performed by each module when the customer layer processing module of Z1 fails, is as follows:
[0117] The termination / forwarding module of Z1 node: performs a forwarding function to forward the 64B / 66B code blocks in the working MTNP to the dual-homing interconnection module of Z1 node, and also forwards the 64B / 66B code blocks from the dual-homing interconnection module of Z1 node to the working MTNP.
[0118] The dual-homing interconnection module of Z1 node: performs a forwarding function to forward the 64B / 66B code blocks from the termination / forwarding module of Z1 node to the DNI MTNP, and also forwards the 64B / 66B code blocks from the DNI MTNP to the termination / forwarding module of Z1 node.
[0119] The customer layer processing module of Z1 node: does not process service packets.
[0120] The state synchronization module of Z1 node: transmits a state indication of "dual-homing protection primary node customer side port fault" to Z2 node.
[0121] The termination / forwarding module of Z2 node: does not process service packets.
[0122] The dual-homing interconnection module of Z2 node: performs a termination function of the MTNP to terminate the DNI MTNP encapsulation, extracts the payload from the 64B / 66B code blocks of the DNI MTNP and sends it to the customer layer processing module of Z2 node, and also maps the data packets sent by the customer layer processing module of Z2 node to the 64B / 66B frame payload corresponding to the DNI MTNP.
[0123] The customer layer processing module of Z2 node: after processing the payload data sent by the dual-homing interconnection module of Z2 node, sends it to the customer side port, and also receives and processes the packets from the customer side port and sends them to the dual-homing interconnection module of Z2 node.
[0124] The Z2 node state synchronization module receives the "dual-homing protection master node customer side fault" notification from the Z1 node, and informs other modules of the node to perform relevant actions according to the "dual-homing protection master node customer side fault" state of the Z1 node.
[0125] In summary, the service processing in the port fault state is as shown in the figure: the termination / forwarding module of the Z1 node receives data from the working MTNP for forwarding, and sends the data to the dual-homing interconnection module of the Z1 node. The dual-homing interconnection module of the Z1 node sends the data to the dual-homing interconnection module of the Z2 node. The dual-homing interconnection module of the Z2 node receives the service data and performs data termination to obtain second service data. The data is sent to the customer layer processing module of the Z2 node.
[0126] The third exception type: when the first message is a node fault, it means that the entire second node is faulty, and there is no normal working module for service processing. Only the first module can be used for service processing. The first module can include: a first forwarding module and a first processing module. At this time, the method for service processing includes:
[0127] The first forwarding module receives the service data of the third node and performs service termination to obtain third service data;
[0128] The first processing module processes the third service data and outputs the processing result to the client.
[0129] In the embodiments of the present disclosure, in the node fault state, the second node (i.e., the master node) is entirely faulty and cannot perform service processing, and the entire first node needs to be used for service processing. Specifically, the first forwarding module can be used to receive service data of a third node. The third node can be an external node, such as a service access node or a service transmission node. Then, the first forwarding module can receive the service data for termination processing to obtain third service data. Specifically, the first forwarding module can extract the received service data and send the payload data (i.e., the third service data) to the first processing module. Meanwhile, the first processing module can also send data returned by the first processing module to the external node. Finally, the first processing module can receive the third service data and output the processing result to the client. Specifically, the first processing module can perform relevant service processing on the payload data (i.e., the third service data) sent by the first forwarding module and send the payload data to the client. Meanwhile, the first processing module can also receive data from the client for processing and send the data to the first forwarding module.
[0130] It is worth noting that in the node failure state, the first synchronization module of the first node will also fail to send a status report to the second node. The second synchronization module of the second node does not receive the status report of the first synchronization module of the first node within a certain time, and can automatically or manually determine that the first node is in a node failure state.
[0131] Exemplary, Figure 7 A schematic diagram of the service processing in the node failure state of the embodiment of the present disclosure is shown in Figure 7 as shown:
[0132] Among them, A node is an external node. Z1 is the primary node of the dual-homing protection, and Z2 is the standby node of the dual-homing protection. The functional modules of Z1 and Z2 are the same, and all include: termination / forwarding module (equivalent to the first forwarding module or the second forwarding module of the present disclosure), dual-homing interconnection module (equivalent to the first interconnection module or the second interconnection module of the present disclosure), status reporting module (equivalent to the first synchronization module or the second synchronization module of the present disclosure), customer layer processing module (equivalent to the first processing module or the second processing module of the present disclosure). And the channel between Z1 and A is the working MTNP. The channel between Z2 and A is the protection MTNP. The channel between Z1 and Z2 is the dual-homing interconnection metropolitan transport network channel (DNI MTNP).
[0133] In the node failure state, that is, the entire Z1 node failure state, the actions performed by each module are as follows:
[0134] The termination / forwarding module of the Z1 node: the Z1 node fails, and does not process service packets.
[0135] The dual-homing interconnection module of the Z1 node: the Z1 node fails, and does not process service packets.
[0136] The customer layer processing module of the Z1 node: the Z1 node fails, and does not process service packets.
[0137] The Z1 node status synchronization module: the Z1 node fails, and cannot notify the Z1 node of the failure state.
[0138] The termination / forwarding module of the Z2 node: performs the termination function of the MTNP, extracts the payload from the 64B / 66B code block of the protection MTNP and sends it to the customer layer processing module of the Z2 node, and maps the packet sent by the customer layer processing module of the Z2 node to the 64B / 66B frame payload of the protection MTNP.
[0139] The dual-homing interconnection module of the Z2 node: does not process service packets.
[0140] The customer layer processing module of the Z2 node: after the payload data sent by the Z2 node termination / forwarding module is processed, the processed data is sent to the customer side port, and the message received from the customer side port is processed and then sent to the Z2 node termination / forwarding module.
[0141] The Z2 node state synchronization module: unable to receive the state notification of the Z1 node, judging that the Z1 node is faulty, and informing other modules of the node to perform relevant actions according to the Z1 node fault state.
[0142] In summary, the service processing in the state of the Z1 node fault is shown in the figure: the termination / forwarding module of the Z2 node receives data from the protection MTNP for termination and sends the data to the customer layer processing module of the Z2 node for service processing and sends the processing result to the customer end. At the same time, any module of the Z1 node cannot process service messages.
[0143] The present disclosure also provides another communication method, applied to a second node, the method comprising:
[0144] sending a first message to a first node, the first message being used to indicate a state exception;
[0145] processing service by using a first module with the same function as a second module; wherein the second module is a fault module or a fault link related module.
[0146] In the present disclosure, the first node can be understood as a backup node, and the second node can be understood as a master node. The first node can be a backup node of one second node, and the first node can also be a backup node of multiple second nodes, which is not limited herein.
[0147] In the embodiment of the present disclosure, the second node (i.e. the master node) can send a first message about its own state to the first node (i.e. the master node). And processing service by using a second module of the first node with the same function as a second module (i.e. a fault module or a fault link related module) of itself. For details, please refer to the foregoing, which is not repeated here.
[0148] Hereinafter, the specific structure of the second node (i.e. the master node) of the present disclosure will be specifically described, and the second node comprises:
[0149] The second forwarding module is used for communicating with external nodes through the second link and realizing termination or forwarding of service data;
[0150] The second interconnection module is used for realizing interconnection of the second node and the first node and realizing termination or forwarding of service data;
[0151] The second synchronization module is used for synchronizing the state to the first node;
[0152] The second processing module is used for processing service data and outputting processing result to the customer end.
[0153] In the present disclosure, the four modules of the second node (i.e. the master node) all undertake different important functions, which together guarantee the stable operation of the communication system and the smooth processing of the service. For details, please refer to the foregoing.
[0154] It is worth noting that the first node (i.e. the backup node) is a backup node of the second node (i.e. the master node), and therefore, the first node can have the same functional modules as the second node. In addition, the second node can also have at least one functional module of the second node, an external node, etc. in addition to the functional modules of the second node, which is not specifically limited herein.
[0155] The present disclosure also provides a communication system, comprising:
[0156] The first node can implement any one of the embodiments of the first node described above.
[0157] The second node can implement any one of the embodiments of the second node described above.
[0158] It should be noted that the link between the first node (i.e. the backup node) and the external node of the present disclosure is the first link, which can also be understood as the link in the fault state, such as the protection MTNP. The link between the second node (i.e. the master node) and the external node of the present disclosure is the second link, which can also be understood as the link in the normal state, such as the working MTNP. It should be additionally noted that the first node and the second node of the present disclosure can communicate through the metropolitan transport network channel MTNP. That is, it can be understood that under the MTN network structure, it is directly operated without the need to add any network structure, such as the DNI MTNP.
[0159] The present disclosure also provides a communication device. Figure 8 A structural block diagram of a communication device provided for the embodiments of the present disclosure is shown in Figure 8 The communication device 800 comprises:
[0160] The receiving unit 801 is configured to receive a first message, the first message being used to indicate that the state of the second node is abnormal;
[0161] The processing unit 802 is configured to perform service processing by using the first module with the same function as the second module based on the first message; wherein the second module is a fault module or a fault link related module in the second node.
[0162] In an example embodiment, the first node comprises: a first forwarding module configured to communicate with the external node via the first link and to terminate or forward the service data; a first interconnection module configured to interconnect the first node and the second node and to terminate or forward the service data; a first synchronization module configured to synchronize the state of the second node; and a first processing module configured to process the service data and output the processing result to the client.
[0163] In an example embodiment, the first message comprises: a channel failure state, a port failure state, and a node failure state.
[0164] In an example embodiment, based on the first message, the first module with the same function as the second module is used to process the service, comprising: based on the exception type indicated by the first message, the first module is used to process the service with the third module, or the first module is used to process the service; wherein the third module is a normal module in the second node.
[0165] In an example embodiment, when the first message is a channel failure state, the first module comprises: a first forwarding module and a first interconnection module, the third module comprises: a second interconnection module and a second processing module, based on the first message, the first module with the same function as the second module is used to process the service, comprising: the first forwarding module is used to receive the service data of the third node and forward to the first interconnection module; the first interconnection module is used to forward the service data to the second interconnection module; the second interconnection module is used to terminate the service of the service data to obtain the first service data; and the second processing module is used to process the first service data and output the processing result to the client.
[0166] In an example embodiment, when the first message is a port failure state, the first module comprises: a first interconnection module and a first processing module, the third module comprises: a second forwarding module and a second interconnection module, based on the first message, the first module with the same function as the second module is used to process the service, comprising: the second forwarding module is used to receive the service data of the third node and forward to the second interconnection module; the second interconnection module is used to forward the service data to the first interconnection module; the first interconnection module is used to terminate the service of the service data to obtain the second service data; and the first processing module is used to process the second service data and output the processing result to the client.
[0167] In an example embodiment, when the first message is a node failure state, the first module comprises: a first forwarding module and a first processing module, based on the first message, the first module with the same function as the second module is used to process the service, comprising: the first forwarding module is used to receive the service data of the third node and terminate the service to obtain the third service data; and the first processing module is used to process the third service data and output the processing result to the client.
[0168] In an example embodiment, the method further comprises: the first node is a backup node of the second node, or the first node is a backup node of a plurality of second nodes.
[0169] In an example embodiment, the receiving the first message comprises: periodically receiving the status of the second node by using the first synchronization module; or requesting and receiving the status of the second node according to a preset condition by using the first synchronization module.
[0170] The present disclosure also provides another communication device. Figure 9 A structural block diagram of another communication device provided by an embodiment of the present disclosure is shown in Figure 9 As shown in the figure, the communication device 900 comprises:
[0171] The sending unit 901 is configured to send a first message to a first node, the first message being used to indicate a status exception.
[0172] The processing unit 902 is configured to perform service processing by using a first module having the same function as a second module; wherein the second module is a fault module or a fault link related module.
[0173] In an example embodiment, the second node comprises: a second forwarding module, configured to communicate with an external node through a second link and implement termination or forwarding of service data; a second interconnection module, configured to implement interconnection between the second node and the first node and perform termination or forwarding of service data; a second synchronization module, configured to synchronize a status to the first node; and a second processing module, configured to process service data and output a processing result to a client.
[0174] Figure 10 A hardware block diagram of an electronic device provided by an embodiment of the present disclosure is shown in the figure. The electronic device 1000 according to the embodiment of the present disclosure at least comprises a processor; and a memory configured to store computer readable instructions. When the computer readable instructions are loaded and run by the processor, the processor performs the communication method described in any one of the preceding embodiments of the present disclosure.
[0175] Figure 10 The electronic device 1000 specifically comprises a central processing unit (CPU) 1001, a graphics processing unit (GPU) 1002 and a memory 1003. These units are connected to each other through a bus 1004. The central processing unit (CPU) 1001 and / or the graphics processing unit (GPU) 1002 can be used as the processor described above, and the memory 1003 can be used as the memory described above for storing computer readable instructions. In addition, the electronic device 1000 can further comprise a communication unit 1005, a storage unit 1006, an output unit 1007, an input unit 1008 and an external device 1009, and these units are also connected to the bus 1004.
[0176] Figure 11 A schematic diagram of a computer-readable storage medium is provided for the embodiments of the present disclosure. As shown, the computer-readable storage medium 1100 according to the embodiments of the present disclosure has computer-readable instructions 1101 stored thereon. When the computer-readable instructions 1101 are run by a processor, the communication method according to any of the preceding embodiments of the present disclosure described with reference to the above figures is performed. The computer-readable storage medium includes, but is not limited to, for example, volatile memory and / or non-volatile memory. The volatile memory may, for example, include random access memory (RAM) and / or cache memory, etc. The non-volatile memory may, for example, include read-only memory (ROM), a hard disk, a flash memory, an optical disc, a magnetic disc, etc. Figure 11
[0177] The present disclosure further provides a computer program product comprising a computer program which, when executed by a processor, implements the communication method according to any of the preceding embodiments of the present disclosure.
[0178] In summary, the technical solutions provided by the present disclosure enable the first node to receive the first message indicating the state exception of the second node, and directly use the first module with the same function as the second module to replace the faulty module or the faulty link related module in the second node. Compared with the prior art method of adding a backup node between the external node and the master node, and the backup node as an intermediate P node, the present disclosure adopts a backup node completely identical to the master node, and uses the combination of the master node normal module and the backup node exception module to achieve dual-homing protection when the master node is abnormal. On this basis, since the module logic is completely identical, the backup node module also adopts the MTNP time slot code block cross scheme, and there is no mechanism of PW exchange and MAC storage forwarding processing. In this way, the problem of destroying the end-to-end hard isolation characteristics caused by the superposition of MPLS / MPLS-TP on MTNP can be avoided. At the same time, in the whole dual-homing protection process, each node on the MTNP path adopts the MTNP time slot code block cross scheme, and there is no need for PW exchange and MAC storage forwarding processing, which can avoid the problems of increased data forwarding delay and uncontrollable delay jitter, and can meet the actual objective needs.
[0179] Those skilled in the art can realize combined units or algorithm steps of each example described in connection with the embodiments disclosed herein can be realized by electronic hardware, or a combination of computer software and electronic hardware. Whether the functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but the implementation should not be considered to be beyond the scope of the present disclosure.
[0180] The above describes the basic principles of the present disclosure in conjunction with specific embodiments, but it should be noted that the advantages, benefits, effects and the like mentioned in the present disclosure are only examples and are not limiting, and these advantages, benefits, effects and the like cannot be considered as the various embodiments of the present disclosure must have. In addition, the above specific details disclosed are only for the purpose of example and for the purpose of understanding, and are not limiting, and the above details do not limit the present disclosure to the above specific details.
[0181] The block diagrams of the devices, apparatuses, equipment, systems involved in the present disclosure are only illustrative examples and are not intended to require or imply the connection, arrangement, configuration shown in the block diagram. As those skilled in the art will recognize, these devices, apparatuses, equipment, systems can be connected, arranged, configured in any manner. Words such as "include", "contain", "have" and the like are open-ended words, meaning "including but not limited to", and can be used interchangeably. The words "or" and "and" used herein mean the word "and / or", and can be used interchangeably unless the context clearly indicates otherwise. The word "such as" used herein means the phrase "such as but not limited to", and can be used interchangeably.
[0182] In addition, as used herein, "or" used in the list of items in the phrase "at least one of the items" indicates a separate list, so that, for example, "at least one of A, B, or C" means A or B or C, or AB or AC or BC, or ABC (i.e., A and B and C). In addition, the phrase "exemplary" does not mean that the described example is preferred or better than other examples.
[0183] It should also be noted that in the systems and methods of the present disclosure, each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be considered as equivalent solutions of the present disclosure.
[0184] Various changes, modifications, and alterations to the techniques described herein can be made without departing from the teachings of the attached claims. Moreover, the scope of the claims should not be limited to the particular aspects described herein, but should be given the broadest interpretation available to them under the law. All patents, patent applications, and publications identified are expressly incorporated herein by reference for the purpose of describing and disclosing, for example, the methodologies described in such publications that might be used in connection with the technology described herein. These publications are provided solely for their disclosure prior to the filing date of the present application. Nothing in this regard should be construed as a representation by the inventor and / or the assignee that the inventors and / or the assignee has made or maintains any dedication to the public of the patentable matter in the publications other than the inventor and / or assignee's own intellectual property. No admission is made that any portion of the patent literature can be prior art. The claims should not be limited to the specific aspects and embodiments described herein but should be given the broadest possible interpretation available to them under the circumstances.
[0185] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein can be applied to other aspects without departing from the scope of the disclosure. Thus, the present disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
[0186] The above description has been presented for the purpose of illustration and description. Furthermore, this description is not intended to limit the embodiments of the disclosure to the forms disclosed herein. Although various example aspects and embodiments have been discussed above, those of skill in the art will recognize certain modifications, permutations, alterations, additions and sub-combinations thereof.
Claims
1. A communication method characterized by comprising: The method is applied to a first node, and the method comprises: receiving a first message, the first message being used to indicate an abnormal state of a second node; based on the first message, using a first module with the same function as a second module to process service data; wherein the first module is a module in the first node, and the second module is a faulty module or a faulty link related module in the second node; the first node comprises: a first forwarding module, used to communicate with an external node through a first link and to implement termination or forwarding of service data; a first interconnection module, used to implement interconnection of the first node and the second node and to implement termination or forwarding of service data; a first synchronization module, used to synchronize the state of the second node; and a first processing module, used to process service data and output processing results to a client; based on the first message, using a first module with the same function as a second module to process service data, comprises: based on the type of the abnormal state indicated by the first message, using the first module and a third module to process service data, or using the first module to process service data; wherein the third module is a normal module in the second node.
2. The method of claim 1, wherein, the first message comprises: a channel fault state, a port fault state and a node fault state.
3. The method according to claim 1 or 2, characterized in that, when the first message is a channel fault state, the first module comprises: a first forwarding module and a first interconnection module, the third module comprises: a second interconnection module and a second processing module, and based on the first message, using a first module with the same function as a second module to process service data, comprises: using the first forwarding module to receive service data of a third node and forwarding the service data to the first interconnection module; using the first interconnection module to forward the service data to the second interconnection module; using the second interconnection module to terminate the service data and obtain first service data; using the second processing module to process the first service data and output processing results to a client.
4. The method according to any one of claims 1 to 3, characterized in that, when the first message is a port fault state, the first module comprises: a first interconnection module and a first processing module, the third module comprises: a second forwarding module and a second interconnection module, and based on the first message, using a first module with the same function as a second module to process service data, comprises: using the second forwarding module to receive service data of a third node and forwarding the service data to the second interconnection module; using the second interconnection module to forward the service data to the first interconnection module; using the first interconnection module to terminate the service data and obtain second service data; using the first processing module to process the second service data and output processing results to a client.
5. The method according to any one of claims 1 to 3, characterized in that, when the first message is a node fault state, the first module comprises: a first forwarding module and a first processing module, and based on the first message, using a first module with the same function as a second module to process service data, comprises: using the first forwarding module to receive service data of a third node and to terminate the service data and obtain third service data; The third service data is processed by the first processing module, and a processing result is output to a client.
6. The method of claim 1, wherein, The method further comprises: The first node is a backup node of the second node, Or, The first node is a backup node of a plurality of second nodes.
7. The method of claim 1, wherein, The receiving first message comprises: Periodically receiving the state of the second node by using a first synchronization module; Or, Requesting and receiving the state of the second node according to a preset condition by using the first synchronization module.
8. A communication method characterized by comprising: Applied to a second node, the method comprises: Sending a first message to a first node, the first message being used to indicate a state exception; Processing service by using a first module having the same function as a second module; wherein the first module is a module in the first node; and the second module is a fault module or a fault link related module in the second node; The second node comprises: a second forwarding module, used for communicating with an external node through a second link and realizing termination or forwarding of service data; a second interconnection module, used for realizing interconnection of the second node and the first node and realizing termination or forwarding of service data; a second synchronization module, used for synchronizing the state of the first node; and a second processing module, used for processing service data and outputting a processing result to a client; The processing service by using the first module having the same function as the second module comprises: processing service by using the first module and a third module, or processing service by using the first module, based on an exception type indicated by the first message; wherein the third module is a normal module in the second node.
9. A communication system, characterized by Comprise: The first node is used to realize the method according to any one of claims 1-7; The second node is used to realize the method according to claim 8.
10. The system of claim 9, wherein, The first node and the second node communicate through a metropolitan transport network passage (MTNP).
11. A communications device, characterized by The device is arranged in the first node and comprises: A receiving unit, used for receiving a first message, the first message being used to indicate a state exception of a second node; A processing unit, used for processing service by using a first module having the same function as a second module, based on the first message; wherein the second module is a fault module or a fault link related module in the second node; The first node comprises: a first forwarding module, used for communicating with an external node through a first link and realizing termination or forwarding of service data; a first interconnection module, used for realizing interconnection of the first node and the second node and realizing termination or forwarding of service data; a first synchronization module, used for synchronizing the state of the second node; and a first processing module, used for processing service data and outputting a processing result to a client; The processing service by using the first module having the same function as the second module, based on the first message, comprises: processing service by using the first module and a third module, or processing service by using the first module, based on an exception type indicated by the first message; wherein the third module is a normal module in the second node.
12. A communications device, characterized by The device is arranged in the second node and comprises: A sending unit is configured to send a first message to the first node, the first message being used to indicate a state exception; The processing unit is configured to process the service data by using a first module which has the same function as a second module; the second module is a fault module of the second node or a fault link related module; The second node comprises: a second forwarding module, configured to communicate with an external node through a second link and implement termination or forwarding of the service data; a second interconnection module, configured to implement interconnection of the second node and the first node and implement termination or forwarding of the service data; a second synchronization module, configured to synchronize a state to the first node; and a second processing module, configured to process the service data and output a processing result to a client; The processing unit is configured to process the service data by using a first module which has the same function as a second module; the second module is a fault module of the second node or a fault link related module; 13. An electronic device, comprising: The computer readable instructions, when executed by the processor, cause the processor to perform the method of any one of claims 1-8. The computer program, when executed by the processor, implements the method of any one of claims 1-8. The computer program, when executed by the processor, implements the method of any one of claims 1-8. 14. A non-transitory computer-readable storage medium storing computer-readable instructions, the computer-readable instructions comprising: 15. A computer program product, characterised in that,
Citation Information
Patent Citations
Node mode management method and device, storage medium and electronic device
CN117560269A
Granular cross-domain service protection switching method, system and equipment
CN117979331A