Communication method, system and device, electronic equipment, storage medium and program product
By using the module of the first node to replace the faulty module of the second node in the metropolitan transport network, the problem of the inability to provide dual-homing protection and the increase in data forwarding delay in the existing technology is solved, and efficient dual-homing protection is achieved. and stable data transmission.
Patent Information
- Application Number
- CN202411520880.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-10-29
AI Technical Summary
In the metropolitan area transmission network (MTN) network, the existing linear protection mechanism cannot provide the dual-origin protection capabilities of service landing nodes, resulting in an increase in data forwarding delay and uncontrollable delay jitter.
After receiving the news of the second node state abnormality in the first node, the first node module with the same function of the fault module in the second node is used for business processing to avoid superimposed MPLS/MPLS-TP on MTNP. Cap code block intersection scheme.
It realizes the dual-homing protection capability in the MTN network, avoids the problems of increased data forwarding delay and uncontrollable delay jitter, maintains the end-to-end hard isolation characteristics, and improves system efficiency.
Smart Images

Figure CN119363573A_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 Art
[0002] At present, the relevant technology can realize linear protection in the Metro Transport Network (MTN) network, which is generally to realize end-to-end hard isolation channel forwarding between the external node and the main node through the Metro Transport Network Path (MTNP); this end-to-end linear protection mechanism cannot provide dual-homing protection capabilities for the service landing nodes. In order to support service dual-homing protection in the MTN network, it is necessary to superimpose a layer of Multi-Protocol Label Switching / Multi-Protocol Label Switching-Transport Profile (MPLS / MPLS-TP) network on the MTNP network. This method is implemented by adding a backup node between the external node and the main node. The backup node, as an intermediate P node on the service path, needs to be implemented using a pseudo-wire (Pseudo-Wire Switching, PW) switching method. At this time, physical (MAC) layer storage and forwarding processing is required. This is different from the implementation method in which each node on the MTNP path uses the MTNP time slot code block crossing scheme, which increases the data forwarding delay and makes the delay jitter uncontrollable. Summary of the invention
[0003] The present disclosure provides a communication method, system, device, electronic device, storage medium and program product, which are used to solve the problems of increased data forwarding delay and uncontrollable delay jitter to a certain extent.
[0004] According to one aspect of the present disclosure, a communication method is provided, which is applied to a first node, and the method includes: receiving a first message, the first message being used to indicate that the status of a second node is abnormal; based on the first message, using a first module having the same function as a second module to perform business processing; wherein the second module is a fault module or a fault link-related module in the second node.
[0005] In addition, according to a method in one aspect of the present disclosure, the first node includes: a first forwarding module, used to communicate with an external node through a first link and realize the termination or forwarding of business data; a first interconnection module, used to realize the interconnection between the first node and the second node and terminate or forward the business data; a first synchronization module, used to synchronize the state of the second node; a first processing module, used to process the business data and output the processing results to the client.
[0006] In addition, according to a method in one aspect of the present disclosure, the first message includes: a channel fault status, a port fault status, and a node fault status.
[0007] In addition, according to a method of one aspect of the present disclosure, based on the first message, business processing is performed using the first module having the same function as the second module, including: based on the abnormality type indicated by the first message, business processing is performed using the first module and the third module, or business processing is performed using the first module; wherein the third module is a normal module in the second node.
[0008] In addition, according to a method of one aspect of the present disclosure, when the first message is in a channel failure state, the first module includes: a first forwarding module and a first interconnection module, and the third module includes: 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 perform business processing, including: using the first forwarding module to receive business data of the third node and forwarding it to the first interconnection module; using the first interconnection module to forward the business data to the second interconnection module; using the second interconnection module to terminate the business data to obtain the first business data; using the second processing module to process the first business data and output the processing result to the client.
[0009] In addition, according to a method of one aspect of the present disclosure, when the first message is a port fault state, the first module includes: a first interconnection module and a first processing module, and the third module includes: 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 perform business processing, including: using the second forwarding module to receive business data of the third node and forwarding it to the second interconnection module; using the second interconnection module to forward the business data to the first interconnection module; using the first interconnection module to terminate the business data to obtain second business data; using the first processing module to process the second business data and output the processing results to the client.
[0010] In addition, according to a method of one aspect of the present disclosure, when the first message is in a node failure state, the first module includes: 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 perform business processing, including: using the first forwarding module to receive business data of the third node and terminate the business to obtain third business data; using the first processing module to process the third business data and output the processing results to the client.
[0011] In addition, according to a method in one aspect of the present disclosure, the method further includes: the first node is a backup node for the second node, or the first node is a backup node for multiple second nodes.
[0012] In addition, according to a method of one aspect of the present disclosure, receiving the first message includes: using the first synchronization module to periodically receive the status of the second node; or, using the first synchronization module to request and receive the status of the second node according to preset conditions.
[0013] According to another aspect of the present disclosure, a communication method is provided, which is applied to a second node, and the method includes: sending a first message to a first node, the first message being used to indicate an abnormal status; performing business processing 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.
[0014] In addition, according to a method in another aspect of the present disclosure, the second node includes: a second forwarding module, used to communicate with an external node through a second link and realize the termination or forwarding of business data; a second interconnection module, used to realize the interconnection between the second node and the first node and terminate or forward the business data; a second synchronization module, used to synchronize the status to the first node; a second processing module, used to process the business data and output the processing results to the client.
[0015] According to another aspect of the present disclosure, a communication system is provided, including: a first node, configured to implement any of the above methods; and a second node, configured to implement any of the above methods.
[0016] In addition, according to the communication system of yet another aspect of the present disclosure, the first node and the second node communicate through a metropolitan area transport network channel MTNP.
[0017] According to another aspect of the present disclosure, a communication device is provided, which is arranged at a first node, and the device includes: a receiving unit, used to receive a first message, the first message is used to indicate that the status of a second node is abnormal; a processing unit, used to perform business processing based on the first message using a first module with the same function as the second module; wherein the second module is a fault module or a fault link-related module in the second node.
[0018] According to another aspect of the present disclosure, a communication device is provided, which is arranged at a second node, and the device includes: a sending unit, used to send a first message to a first node, the first message is used to indicate an abnormal state; a processing unit, used to perform business processing using a first module with the same function as the second module; wherein the second module is a fault module or a fault link-related module.
[0019] According to another aspect of the present disclosure, an electronic device is provided, comprising: a memory for storing computer-readable instructions; and a processor for executing the computer-readable instructions so that the electronic device executes the method described in any embodiment of the first aspect.
[0020] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium is provided for storing computer-readable instructions. When the computer-readable instructions are executed by a processor, the processor executes the method described in any embodiment of the first aspect.
[0021] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the method described in any embodiment of the first aspect is implemented.
[0022] The present disclosure provides a communication method, system, device, electronic device, storage medium and program product. The first node of the present disclosure receives a first message indicating that the state of the second node is abnormal, and based on the first message, uses the first module of itself with the same function as the second module to perform business processing. Wherein, the second module is a fault module or a fault link related module in the second node. In summary, the technical solution provided by the present disclosure is that the first node can receive the first message of the abnormality of the second node, and directly replace the fault module or the fault link related module in the second node with the first module with the same function. Compared with the existing method that in order to achieve dual homing protection, it is necessary to add a standby node between the external node and the main node, and the standby node is used as an intermediate P node and needs to perform PW exchange. The present disclosure adopts a standby node that is exactly the same as the main node module. When the main node is abnormal, the dual homing protection is achieved by using a combination of the main node normal module and the standby node to replace the standby module of the main node abnormal module. On this basis, since the module logic is exactly the same, the standby node module is also implemented by the MTNP time slot code block cross scheme, and there will be no mechanism for the above-mentioned standby node to be an intermediate node and perform PW exchange. In this way, the problem of damaging the end-to-end hard isolation characteristics caused by superimposing 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 adopts the MTNP time slot code block crossover solution, without the need for PW switching and MAC storage and forwarding processing, which can avoid the increase of data forwarding delay and the problem of uncontrollable delay jitter, and can meet the actual objective needs.
[0023] It is to be understood that both the foregoing general description and the following detailed description are exemplary, and are intended to provide further explanation of the technology as claimed. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The above and other purposes, features and advantages of the present disclosure will become more apparent by describing the embodiments of the present disclosure in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0025] Figure 1 It is a schematic diagram of the existing dual-homing protection;
[0026] Figure 2 A flow chart of a communication method applied to a first node provided in an embodiment of the present disclosure;
[0027] Figure 3 A schematic diagram of the structure of a node provided in an embodiment of the present disclosure;
[0028] Figure 4 This is a schematic diagram of business processing in a fault-free state (normal state) of an embodiment of the present disclosure;
[0029] Figure 5 This is a schematic diagram of business 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 business processing in a node failure state according to an embodiment of the present disclosure;
[0032] Figure 8 A structural block diagram of a communication device provided in an embodiment of the present disclosure;
[0033] Fig. 9 A structural block diagram of another communication device provided in an embodiment of the present disclosure;
[0034] Fig.10 A hardware block diagram of an electronic device provided in an embodiment of the present disclosure;
[0035] Fig.11 A schematic diagram of a computer-readable storage medium provided for an embodiment of the present disclosure. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solution and advantages of the present disclosure more obvious, the exemplary embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only 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 exemplary embodiments described here.
[0037] At present, when dual-homing protection is implemented in the existing Metro Transport Network (MTN) network, a layer of dual-node interconnect pseudowire (DNIPW) is superimposed on the Metro Transport Network Path (MTNP) to implement switching protection between the primary and backup nodes. However, such superimposed DNIPW will destroy the end-to-end hard isolation feature of MTNP, because adding a backup node between the external node and the primary node will destroy the end-to-end hard isolation feature between the external node and the primary node. At the same time, the addition of the backup node will also increase the data forwarding delay, the delay jitter is uncontrollable, and the system efficiency is reduced.
[0038] Specifically, Figure 1 It is a schematic diagram of the existing dual homing protection, such as Figure 1 As shown in the figure: A can be an external node, Z1 can be a master node of dual homing protection, and Z2 can be a backup node of dual homing protection. Among them, 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 DNIPW.
[0039] Under normal circumstances, also known as when the network is fault-free, the working MTNP, that is, the A-Z1 landing method, is used to process services. In abnormal circumstances, also known as when the working MTNP fails, it is necessary to use the protection MTNP and DNIPW, that is, the A-Z2-Z1 landing method to process services. If the A-Z2-Z1 method is used, the entire link will be added to the intermediate node Z2, which destroys the end-to-end hard isolation feature of the entire link. In addition, the added intermediate node needs to perform data forwarding exchange before it can process services, which will also increase the data forwarding delay, uncontrollable delay jitter, and reduce system efficiency.
[0040] Therefore, the present application proposes a communication method, system, device, electronic device, storage medium and program product, which can realize the interaction between the first node (i.e., the backup node) and the second node (i.e., the main node), and directly use the relevant module of the first node to replace the faulty module of the second node. In the entire business processing link, no additional intermediate nodes are introduced, which avoids the problem of destroying the end-to-end hard isolation characteristics caused by superimposing DNI PW on MTNP. At the same time, it can avoid the problems of increased data forwarding delay and uncontrollable delay jitter, thereby improving the efficiency of the system. Please refer to Figure 2 , Figure 2 The present disclosure provides a flow chart of a communication method applied to a first node. Figure 2 As shown, including:
[0041] In step S201, a first message is received, where the first message is used to indicate that the state of the second node is abnormal.
[0042] In step S202, based on the first message, a first module having the same function as a second module is used to perform service processing; 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, without limitation. That is, the first node can have a 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 may be understood as containing relevant information about the abnormal state of the second node. Specifically, the first message may be used to describe relevant information about the abnormal state of the second node due to at least one of channel blocking, hardware failure, software error, network congestion, etc. The first message may include, but is not limited to, at least one of the following: the type of fault, the severity of the fault, the location information of the fault, etc., without limitation.
[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 may be a component such as a chip, interface, or circuit board that has a problem; if it is a software error, the second module may be a program module, algorithm module, or configuration module that is running abnormally; if the failure is caused by problems such as network congestion, the second module may be a module responsible for data transmission scheduling and flow control. In short, the second module may be a module that causes the abnormal state of the second node, and the specific division of the functions of the second module is not limited here.
[0046] The first module can be understood as a module in the first node having 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 business processing task originally performed by the second module.
[0047] Specifically, at least one of the first node, the second node, and other nodes can be monitored to determine that the state of the second node is abnormal, and a first message can be sent to the first node. After receiving the first message, the first node can parse the first message to determine the specific faulty module or faulty link-related module in the second node, also referred to as the second module. The first node can search and determine the 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 on the business processing tasks originally performed by the second module, without adding intermediate nodes in the entire link, and can fully guarantee business continuity.
[0048] In summary, the technical solution provided by the present disclosure is that the first node can receive the first message of the second node abnormality, and directly use the first module with the same function to replace the fault module or fault link related module in the second node. Compared with the existing method that in order to realize dual homing protection, it is necessary to add a standby node between the external node and the main node, and the standby node is used as an intermediate P node, and PW exchange is required. The present disclosure adopts a standby node that is exactly the same as the main node module. When the main node is abnormal, the main node normal module + standby node abnormal module is used in combination to realize dual homing protection. On this basis, since the module logic is exactly the same, the standby node module is also implemented by the MTNP time slot code block cross scheme, and there will be no mechanism for the above-mentioned standby node to be an intermediate node and perform PW exchange. In this way, the problem of destroying the end-to-end hard isolation characteristics caused by superimposing 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 adopts the MTNP time slot code block cross scheme, without the need for PW exchange and MAC storage and forwarding processing, which can avoid the increase of data forwarding delay and the problem of uncontrollable delay jitter, and can meet the actual objective needs.
[0049] The specific structure of the first node (i.e., the standby node) of the present disclosure will be described below. The first node includes:
[0050] A first forwarding module, used to communicate with an external node through a first link and realize termination or forwarding of service data;
[0051] A first interconnection module, used to realize the interconnection between the first node and the second node and terminate or forward the service data;
[0052] A first synchronization module, used for synchronizing the state of the second node;
[0053] The first processing module is used 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, and jointly ensure the stable operation of the communication system and the smooth processing of services.
[0055] Specifically, the first forwarding module can be responsible for data transmission and determine the termination or forwarding of business data. That is, when business data enters from an external node, the first forwarding module can receive the data and determine whether the data is terminated or forwarded. That is, if the destination of the data is the client served by this node, then the first forwarding module will terminate the data, that is, pass the data to the subsequent processing module for further processing and then output it to the client. If the destination of the data is not this node, but other nodes, then 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 realize effective communication and data exchange between the first node and the second node. When the second node operates normally, the first interconnection module can interact with the corresponding module of the second node to collaboratively complete business processing. When the second node fails, the first interconnection module can receive a fault message from the second node (i.e., the first message described above), and forward or process the business data according to the situation. For example, if a module in the second node fails and business processing cannot be performed, the first interconnection module can receive the business data originally intended to be 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 business continuity.
[0057] The first synchronization module is used to synchronize the state of the second node. That is, the first node always understands the operation of the second node so that it can respond when needed. Specifically, the first node can use the first synchronization module to periodically receive the state of the second node, that is, the first node can actively obtain the state information of the second node within a fixed time interval. In this way, the first node can always grasp the situation of the second node within a certain time range and discover possible problems in time. Or, the first node uses the first synchronization module to request and receive the state of the second node according to preset conditions. The preset conditions can be special services, additional requests, etc., which are not limited here. In this way, resources can be used efficiently and unnecessary frequent synchronization can be avoided.
[0058] The first processing module is used to process the business data and output the processing results to the client. This module is directly facing the client and is responsible for the final processing and output of the business data. When the business 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 business needs and output the processing results to the client to meet the business needs of the client.
[0059] It is worth noting that the first node (i.e., the standby node) is the standby node of the second node (i.e., the main node), so 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, external node, etc. in addition to the functional module of the second node, which is not specifically limited 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 continuity of service processing.
[0061] For example, Figure 3 A schematic diagram of the structure of a node provided in an embodiment of the present disclosure, such as Figure 3 As shown, including:
[0062] Service termination / forwarding module (i.e., the first forwarding module mentioned above): This module supports the termination and forwarding functions of MTNP. Whether to perform the termination function or the forwarding function depends on the dual-homing protection state. Among them, the termination function refers to the frame structure encapsulation of the termination MTNP layer, extracting the payload from the 64-byte / 66-byte (64B / 66B) code block of MTNP and sending it to the client layer processing module, and mapping the data sent by the client layer processing module to the payload of the 64B / 66B code block corresponding to MTNP; the forwarding function refers to forwarding the 64B / 66B code block from one direction to another. It should be noted that it can be seen here that the first node (i.e., the backup node) is exactly the same node as the second node (i.e., the main node). The processing mechanism of the first node (i.e., the backup node) is still the MTNP time slot code block crossover mechanism, so dual-homing protection can be performed with the help of the relevant modules of the first node.
[0063] Dual homing interconnection module (i.e. the first interconnection module mentioned above): This module is used to interconnect dual homing nodes for business implementation, and to implement the termination and forwarding functions of MTNP between dual homing nodes. Whether the termination function or the forwarding function is performed depends on the dual homing protection status.
[0064] Status synchronization module (i.e. the first synchronization module mentioned above): This module is used to notify status between dual-homing nodes where services are delivered, so that the dual-homing nodes can decide the actions that need to be performed by the service termination / forwarding module and the dual-homing interconnection module.
[0065] Client layer processing module (i.e., the first processing module mentioned above): used to process the payload extracted from MTNP, and perform corresponding processing according to the payload service type. For example, mapping and demapping of constant bit rate service (CBR) service, Layer 2 Virtual Private Network service (L2VPN) service, pseudo wire / label switched path (PW / LSP) label processing, media access control / Internet Protocol (MAC / IP) forwarding, etc. The client layer processing module configuration data (such as CBR service configuration, L2VPN / PW / LSP configuration, etc.) of the two dual-homing landing nodes needs to be synchronized. The specific synchronization can reuse the current synchronization method, for example: the network management / controller sends the same configuration data to the two nodes at the same time, and no specific restrictions are made here.
[0066] As described above, after receiving the first message, the first node can use the first module having the same function as the second module to perform business processing. Specifically, when the first node receives the first message, it can analyze the first message to obtain the corresponding exception type, and then determine how to perform business processing according to the exception type. In this case, the method includes:
[0067] Based on the exception type indicated by the first message, use the first module and the third module to perform business processing, or use the first module to perform business processing;
[0068] Among them, the third module is a normal module in the second node.
[0069] In the present disclosure, the first message may 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 with the data transmission channel. Such as: a communication line interruption, a signal interference channel, etc. The port fault state can be understood as a failure of the port of the connected device. For example: a client port failure, a connection port failure, etc. caused by physical damage, poor connection, configuration error, etc. The node fault state can be understood as a failure of the entire master node (i.e., the second node in the previous text). For example: a hardware failure, a software failure, or other reasons that cause the node to fail to work properly.
[0070] In the disclosed embodiment, 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., not exhaustive), and then determine the first module with the same function as the second module (i.e., the fault module of the second node or the fault link related module) according to the abnormal type. Use the first module and the third module (i.e., the normal module in the second node) or directly use the first module for business processing. This is mainly related to the abnormal type of the first message. When the first message indicates a channel failure or a port failure, the first node can use the corresponding first module and the third module (i.e., the normal module in the second node) for collaborative processing. When the first message indicates a node failure, it may mean that there is no third module (i.e., the normal module in the second node). In order to achieve normal business processing, the complete first module can be directly used for normal business processing. In this way, the interaction between the first node and the second node can be used to flexibly adjust and perform normal business processing. While realizing business processing, the interaction process is simplified, and the end-to-end hard isolation characteristics are still maintained, which can meet actual objective needs.
[0071] Hereinafter, how to use the first module and the third module or directly use the first module to perform business processing for different exception types will be specifically described.
[0072] First, we can explain how to process business in normal state. At this time, the method includes:
[0073] Using the second forwarding module to receive the service data of the third node and terminate the service to obtain fourth service data;
[0074] The fourth business data is processed by the second processing module and the processing result is output to the client.
[0075] In the embodiment of the present disclosure, under normal conditions, the second node (i.e., the main node) can perform normal business processing. Specifically, the business data of the third node can be received by the second forwarding module. Among them, the third node can be an external node, such as a business access node, a business transmission node, etc. Then, the business data received by the second forwarding module can be terminated to obtain the fourth business data. Specifically, the second forwarding module can extract the received business data, send the payload data (i.e., the fourth business data in the previous text) 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 be used to receive the fourth business data and output the processing results to the client. Specifically, the second processing module can perform relevant business processing on the payload data (i.e., the fourth business data in the previous text) sent by the second forwarding module and send it to the client. At the same time, data can also be received from the client for processing and sent to the second forwarding module.
[0076] It is worth noting that, under normal conditions, the second node can also use the second synchronization module to transmit a "normal" status indication to the first synchronization module of the first node. This means that the first node always understands the operation 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 using the MTNP channel, which may be a dual-homing interconnected metropolitan area transport network channel (DNI MTNP).
[0078] For example, Figure 4 FIG. 1 is a schematic diagram of business processing in a fault-free state (normal state) of an embodiment of the present disclosure, such as Figure 4 As shown:
[0079] Among them, node A is an external node. Z1 is the main node of dual homing protection, and Z2 is the backup node of dual homing protection. The functional modules of Z1 and Z2 are the same, both including: a termination / forwarding module (equivalent to the first forwarding module or the second forwarding module disclosed in the present invention), a dual homing interconnection module (equivalent to the first interconnection module or the second interconnection module disclosed in the present invention), a status reporting module (equivalent to the first synchronization module or the second synchronization module disclosed in the present invention), and a client layer processing module (equivalent to the first processing module or the second processing module disclosed in the present invention). And 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 area transport network channel (DNI MTNP).
[0080] Under normal conditions, the actions performed by each module are as follows:
[0081] 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 client layer processing module, and maps the message sent by the client layer processing module to the 64B / 66B frame payload of the working MTNP.
[0082] The dual-homing interconnection module of the Z1 node does not process service messages.
[0083] The client layer processing module of the Z1 node: performs relevant business processing on the payload data sent by the termination / forwarding module and sends it to the client side port. At the same time, it receives and processes the message from the client side port and sends it to the termination / forwarding module.
[0084] Z1 node status synchronization module: transmits the “normal” status indication to the Z2 node.
[0085] The status synchronization module of the Z2 node: receives status notifications from the Z1 node and notifies other modules of this node to perform related actions according to the "normal" status of the Z1 node.
[0086] Each module of the Z2 node does not process business messages.
[0087] In summary, the business processing under normal conditions is as shown in the figure: the termination / forwarding module of the Z1 node receives data from the working MTNP for termination, and sends it to the client layer processing module of the Z1 node for business processing and sends the result to the client. At the same time, the Z1 node status synchronization module can send a normal indication to the Z2 node status synchronization module. At the same time, except for the status synchronization module of the Z2 node, which can receive status notifications from the Z1 node, no other module performs business message processing.
[0088] Next, the business processing methods under different exception types are explained in detail:
[0089] The first abnormal type: when the first message is in a channel failure state, the first module may include: a first forwarding module and a first interconnection module, and the third module (i.e., a 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] Using the first forwarding module to receive the service data of the third node and forward it to the first interconnection module;
[0091] forwarding the service data to the second interconnection module using the first interconnection module;
[0092] Utilizing the second interconnection module to terminate the service data, and obtaining the first service data;
[0093] The first business data is processed by the second processing module and the processing result is output to the client.
[0094] In the embodiment of the present disclosure, when the first message is in a channel failure state, it means that the normal working MTNP channel fails, and the second node cannot receive the service data of the external node. In this way, the first forwarding module of the first node can be used to receive the service data of the third node and forward it to the first interconnection module. Among them, the third node is an external node, such as a service access node, a service transmission node, etc. Then, the first interconnection module of the first node can be used to forward the service data to the second interconnection module. Then, the second interconnection module of the second node processes the received service data and sends it to the second processing module. Specifically, the second interconnection module can extract the received service data, send the payload data (i.e., the first service data in the previous text) to the second processing module, and also send the data returned by the second processing module to the interactive channel DNI MTNP between the first node and the second node. Finally, the second processing module can be used to perform service processing on the first 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 first service data in the previous text) sent by the second interconnection module and send it to the client. At the same time, data can also be received from the client for processing and sent to the second processing module.
[0095] For example, Figure 5 FIG. 1 is a schematic diagram of business processing in a channel failure state according to an embodiment of the present disclosure. Figure 5 As shown:
[0096] Among them, node A is an external node. Z1 is the main node of dual homing protection, and Z2 is the backup node of dual homing protection. The functional modules of Z1 and Z2 are the same, both including: a termination / forwarding module (equivalent to the first forwarding module or the second forwarding module disclosed in the present invention), a dual homing interconnection module (equivalent to the first interconnection module or the second interconnection module disclosed in the present invention), a status reporting module (equivalent to the first synchronization module or the second synchronization module disclosed in the present invention), and a client layer processing module (equivalent to the first processing module or the second processing module disclosed in the present invention). And 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 area transport network channel (DNI MTNP).
[0097] In the case of channel fault state, that is, working MTNP failure, the actions performed by each module are as follows:
[0098] Termination / forwarding module of Z1 node: does not process business messages.
[0099] Dual-homing interconnection module of the Z1 node: executes the termination function of MTNP, terminates DNI MTNP encapsulation, extracts the payload from the 64B / 66B code block of DNI MTNP and sends it to the client layer processing module of the Z1 node, and maps the data message sent by the client layer processing module of the Z1 node to the 64B / 66B frame payload corresponding to DNI MTNP.
[0100] The client layer processing module of the Z1 node: performs relevant business processing on the payload data sent by the dual-homing interconnection module of the Z1 node and sends it to the client-side port. At the same time, it receives and processes the message from the client-side port and sends it to the dual-homing interconnection module of the Z1 node.
[0101] Z1 node status synchronization module: transmits the status indication of "working MTNP failure" to Z2 node.
[0102] Termination / forwarding module of Z2 node: performs forwarding function, forwards 64B / 66B code blocks in the protection MTNP to the dual-homing interconnection module of Z2 node, and at the same time, forwards 64B / 66B code blocks from the dual-homing interconnection module of Z2 node to the protection MTNP.
[0103] The dual-homing interconnection module of the Z2 node: performs the forwarding function, forwarding the 64B / 66B code blocks from the Z2 node termination / forwarding module to the DNI MTNP. At the same time, it also forwards the 64B / 66B code blocks in the DNI MTNP to the Z2 node termination and forwarding module.
[0104] Client layer processing module of Z2 node: does not process business.
[0105] Z2 node status synchronization module: receives the "working MTNP failure" notification from the Z1 node, and notifies other modules of this node to perform related actions according to the "working MTNP failure" status of the Z1 node.
[0106] In summary, the service processing in the channel failure state is as shown in the figure: the termination / forwarding module of the Z2 node receives data from the protection MTNP for forwarding, and sends the data to the dual-home interconnection module of the Z2 node. The dual-home interconnection module of the Z2 node sends the data to the dual-home interconnection module of the Z1 node. The dual-home interconnection module of the Z1 node receives the service data and terminates the data to obtain the first service data. And the data is sent to the client layer processing module of the Z1 node.
[0107] Second abnormal type: when the first message is in a port fault state, the first module may include: a first interconnection module and a first processing module, and the third module (i.e., a normal module of the second node) may include: a second forwarding module and a second interconnection module. At this time, the service processing method includes:
[0108] Using the second forwarding module to receive the service data of the third node and forward it to the second interconnection module;
[0109] forwarding the service data to the first interconnection module using the second interconnection module;
[0110] Utilizing the first interconnection module to terminate the service data, and obtaining second service data;
[0111] The second business data is processed by the first processing module and the processing result is output to the client.
[0112] In the embodiment of the present disclosure, when the first message is in the port failure 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. In this way, the first processing module of the first node can be used to process 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., the external node) and forward it to the second interconnection module. Then, the second interconnection module of the second node can be used to forward the service data to the first interconnection module. Then, the first interconnection module of the first node processes the received service data to terminate the data and sends it to the first processing module. Specifically, the first interconnection module can extract the received service data, send the payload data (i.e., the second service data in the previous text) to the first processing module, and also send the data returned by the first processing module to the interactive channel DNI MTNP between the first node and the second node. Finally, the first processing module can be used to 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 previous text) sent by the first interconnection module and send it to the client. At the same time, data can also be received from the client for processing and sent to the first processing module.
[0114] For example, Figure 6 FIG. 1 is a schematic diagram of service processing in a port failure state according to an embodiment of the present disclosure. Figure 6 As shown:
[0115] Among them, node A is an external node. Z1 is the main node of dual homing protection, and Z2 is the backup node of dual homing protection. The functional modules of Z1 and Z2 are the same, both including: a termination / forwarding module (equivalent to the first forwarding module or the second forwarding module disclosed in the present invention), a dual homing interconnection module (equivalent to the first interconnection module or the second interconnection module disclosed in the present invention), a status reporting module (equivalent to the first synchronization module or the second synchronization module disclosed in the present invention), and a client layer processing module (equivalent to the first processing module or the second processing module disclosed in the present invention). And 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 area transport network channel (DNI MTNP).
[0116] In the port failure state, that is, when the client processing module of Z1 fails, the actions performed by each module are as follows:
[0117] Termination / forwarding module of Z1 node: performs forwarding function, forwards 64B / 66B code blocks in the working MTNP to the dual-homing interconnection module of Z1 node, and at the same time, forwards 64B / 66B code blocks from the dual-homing interconnection module of Z1 node to the working MTNP.
[0118] Dual-homing interconnection module of the Z1 node: performs the forwarding function, forwarding the 64B / 66B code blocks from the Z1 node termination / forwarding module to the DNI MTNP. At the same time, the 64B / 66B code blocks of the DNI MTNP are forwarded to the Z1 node termination / forwarding module.
[0119] The client layer processing module of the Z1 node does not process business messages.
[0120] Z1 node status synchronization module: transmits the status indication of "dual homing protection master node client side port failure" to Z2 node.
[0121] Termination / forwarding module of Z2 node: does not process business messages.
[0122] The dual-homing interconnection module of the Z2 node: executes the termination function of MTNP, terminates the DNI MTNP encapsulation, extracts the payload from the 64B / 66B code block of the DNI MTNP and sends it to the client layer processing module of the Z2 node, and maps the data message sent by the client layer processing module of the Z2 node to the 64B / 66B frame payload corresponding to the DNI MTNP.
[0123] The client layer processing module of the Z2 node: performs relevant business processing on the payload data sent by the dual-homing interconnection module of the Z2 node and sends it to the client-side port. At the same time, it receives and processes the message from the client-side port and sends it to the dual-homing interconnection module of the Z2 node.
[0124] Z2 node status synchronization module: receives the "dual homing protection master node client side failure" notification from the Z1 node, and notifies other modules of this node to perform related actions according to the "dual homing protection master node client side failure" status of the Z1 node.
[0125] In summary, the service processing under the port failure state is 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-home interconnection module of the Z1 node. The dual-home interconnection module of the Z1 node sends the data to the dual-home interconnection module of the Z2 node. The dual-home interconnection module of the Z2 node receives the service data and terminates the data to obtain the second service data. And the data is sent to the client layer processing module of the Z2 node.
[0126] The third abnormal type: when the first message is a node failure, it means that the entire second node is faulty, there is no module that works normally, and only the first module is used for business processing. The first module may include: a first forwarding module and a first processing module. At this time, the method for business processing includes:
[0127] Using the first forwarding module to receive the service data of the third node and terminate the service to obtain third service data;
[0128] The third business data is processed by the first processing module and the processing result is output to the client.
[0129] In the embodiment of the present disclosure, in the node failure state, the second node (i.e., the main node) fails completely and cannot perform business processing, and the entire first node needs to be used for business processing. Specifically, the business data of the third node can be received by the first forwarding module. Among them, the third node can be an external node, such as: a business access node, a business transmission node, etc. Then, the business data received by the first forwarding module can be used for termination processing to obtain the third business data. Specifically, the first forwarding module can extract the received business data, send the payload data (i.e., the third business data in the previous text) to the first processing module, and also send the data returned by the first processing module to the external node. Finally, the first processing module can be used to receive the third business data and output the processing results to the client. Specifically, the first processing module can perform relevant business processing on the payload data (i.e., the third business data in the previous text) sent by the first forwarding module and send it to the client. At the same time, data can also be received from the client for processing and sent 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 and cannot send a status report to the second node. If 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 period of time, the first node can be automatically or manually identified as a node failure state.
[0131] For example, Figure 7 FIG. 1 is a schematic diagram of business processing in a node failure state according to an embodiment of the present disclosure. Figure 7 As shown:
[0132] Among them, node A is an external node. Z1 is the main node of dual homing protection, and Z2 is the backup node of dual homing protection. The functional modules of Z1 and Z2 are the same, both including: a termination / forwarding module (equivalent to the first forwarding module or the second forwarding module disclosed in the present invention), a dual homing interconnection module (equivalent to the first interconnection module or the second interconnection module disclosed in the present invention), a status reporting module (equivalent to the first synchronization module or the second synchronization module disclosed in the present invention), and a client layer processing module (equivalent to the first processing module or the second processing module disclosed in the present invention). And 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 area 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] Termination / forwarding module of the Z1 node: The Z1 node fails and does not process service messages.
[0135] Dual-homing interconnection module of the Z1 node: The Z1 node fails and does not process service messages.
[0136] Client layer processing module of Z1 node: Z1 node fails and does not process business messages.
[0137] Z1 node status synchronization module: The Z1 node fails and the failure status cannot be notified to the Z1 node.
[0138] Termination / forwarding module of Z2 node: performs the termination function of MTNP, extracts the payload from the 64B / 66B code block protecting MTNP and sends it to the client layer processing module of Z2 node, and maps the message sent by the client layer processing module of Z2 node to the 64B / 66B frame payload protecting MTNP.
[0139] The dual-homing interconnection module of the Z2 node does not process service messages.
[0140] The client layer processing module of the Z2 node: performs relevant business processing on the payload data sent by the Z2 node termination / forwarding module and sends it to the client side port. At the same time, it receives and processes the message from the client side port and sends it to the Z2 node termination / forwarding module.
[0141] Z2 node status synchronization module: Unable to receive the status notification of Z1 node, it is judged that Z1 node is faulty, and notifies other modules of this node to perform related actions according to the fault status of Z1 node.
[0142] In summary, the service processing in the state of Z1 node failure is shown in the figure: the termination / forwarding module of Z2 node receives data from the protection MTNP for termination, and sends it to the client layer processing module of Z2 node for service processing and sends the result to the client. At the same time, any module of Z1 node cannot process service messages.
[0143] The present disclosure also provides another communication method, which is applied to a second node, and the method includes:
[0144] Sending a first message to the first node, where the first message is used to indicate an abnormal state;
[0145] The service is processed by using the first module having the same function as the 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 primary node. The first node can be a backup node of one second node, or a backup node of multiple second nodes, which is not limited here.
[0147] In the embodiment of the present disclosure, the second node (i.e., the master node) may send a first message about its own state to the first node (i.e., the master node), and use the second module of the first node that is related to its own second module (i.e., the fault module or the fault link related module) to perform business processing. For details, please refer to the above, which will not be repeated here.
[0148] The specific structure of the second node (i.e., the master node) of the present disclosure will be described in detail below. The second node includes:
[0149] A second forwarding module, used to communicate with an external node through a second link and realize termination or forwarding of service data;
[0150] A second interconnection module, used to realize the interconnection between the second node and the first node and terminate or forward the service data;
[0151] A second synchronization module, used to synchronize the state to the first node;
[0152] The second processing module is used to process the business data and output the processing result to the client.
[0153] In the present disclosure, the four modules of the second node (ie, the master node) all bear different important functions, and jointly ensure the stable operation of the communication system and the smooth processing of services.
[0154] It is worth noting that the first node (i.e., the standby node) is the standby node of the second node (i.e., the main node), so 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, external node, etc. in addition to the functional module of the second node, which is not specifically limited here.
[0155] The present disclosure also provides a communication system, comprising:
[0156] The first node can implement any of the above-mentioned first node embodiments.
[0157] The second node may implement any of the above second node embodiments.
[0158] It should be noted that the link between the first node (i.e., the backup node) of the present disclosure and the external node is the first link, which can also be understood as a link in a fault state, such as: protection MTNP, etc. The link between the second node (i.e., the main node) of the present disclosure and the external node is the second link, which can also be understood as a link in a normal state, such as: working MTNP. It should be additionally noted that the first node and the second node of the present disclosure can communicate through the metropolitan area transmission network channel MTNP. That is, it can be understood as operating directly under the MTN network structure without adding any network structure. Such as: DNI MTNP.
[0159] The present disclosure also provides a communication device. Figure 8 A structural block diagram of a communication device provided in an embodiment of the present disclosure, such as Figure 8 As shown, the communication device 800 includes:
[0160] A receiving unit 801 is configured to receive a first message, where the first message is used to indicate that a state of a second node is abnormal;
[0161] The processing unit 802 is used to perform service processing based on the first message 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 in the second node.
[0162] In an exemplary embodiment, the first node includes: a first forwarding module, which is used to communicate with an external node through a first link and terminate or forward business data; a first interconnection module, which is used to interconnect the first node and the second node and terminate or forward business data; a first synchronization module, which is used to synchronize the state of the second node; and a first processing module, which is used to process the business data and output the processing results to the client.
[0163] In an exemplary embodiment, the first message includes: a channel fault status, a port fault status and a node fault status.
[0164] In an exemplary embodiment, based on the first message, business processing is performed using the first module having the same function as the second module, including: based on the exception type indicated by the first message, business processing is performed using the first module and the third module, or business processing is performed using the first module; wherein the third module is a normal module in the second node.
[0165] In an exemplary embodiment, when the first message is in a channel failure state, the first module includes: a first forwarding module and a first interconnection module, and the third module includes: 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 perform business processing, including: using the first forwarding module to receive business data of the third node and forwarding it to the first interconnection module; using the first interconnection module to forward the business data to the second interconnection module; using the second interconnection module to terminate the business data to obtain the first business data; using the second processing module to process the first business data and output the processing result to the client.
[0166] In an exemplary embodiment, when the first message is in a port fault state, the first module includes: a first interconnection module and a first processing module, and the third module includes: a second forwarding module and a second interconnection module. Based on the first message, the first module having the same function as the second module is used to perform business processing, including: using the second forwarding module to receive business data of the third node and forwarding it to the second interconnection module; using the second interconnection module to forward the business data to the first interconnection module; using the first interconnection module to terminate the business data to obtain second business data; using the first processing module to process the second business data and output the processing result to the client.
[0167] In an exemplary embodiment, when the first message is in a node failure state, the first module includes: 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 perform business processing, including: using the first forwarding module to receive business data of the third node and terminate the business to obtain third business data; using the first processing module to process the third business data and output the processing results to the client.
[0168] In an exemplary embodiment, the method further includes: the first node is a backup node of the second node, or the first node is a backup node of multiple second nodes.
[0169] In an exemplary embodiment, receiving the first message includes: using the first synchronization module to periodically receive the state of the second node; or using the first synchronization module to request and receive the state of the second node according to a preset condition.
[0170] The present disclosure also provides another communication device. Fig. 9 A structural block diagram of another communication device provided in an embodiment of the present disclosure, such as Fig. 9 As shown, the communication device 900 includes:
[0171] A sending unit 901 is configured to send a first message to a first node, where the first message is used to indicate an abnormal state;
[0172] The processing unit 902 is used 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 exemplary embodiment, the second node includes: a second forwarding module, which is used to communicate with an external node through a second link and terminate or forward business data; a second interconnection module, which is used to interconnect the second node and the first node and terminate or forward business data; a second synchronization module, which is used to synchronize the status to the first node; and a second processing module, which is used to process the business data and output the processing results to the client.
[0174] Fig.10 A hardware block diagram of an electronic device provided in an embodiment of the present disclosure. The electronic device 1000 according to an embodiment of the present disclosure includes at least a processor; and a memory for storing computer-readable instructions. When the computer-readable instructions are loaded and executed by the processor, the processor executes the communication method described in any of the above embodiments of the present disclosure.
[0175] Fig.10 The electronic device 1000 shown specifically includes: a central processing unit (CPU) 1001, a graphics processing unit (GPU) 1002 and a memory 1003. These units are interconnected via a bus 1004. The central processing unit (CPU) 1001 and / or the graphics processing unit (GPU) 1002 can be used as the above-mentioned processor, and the memory 1003 can be used as the above-mentioned memory for storing computer-readable instructions. In addition, the electronic device 1000 may also include a communication unit 1005, a storage unit 1006, an output unit 1007, an input unit 1008 and an external device 1009, which are also connected to the bus 1004.
[0176] Fig.11 A schematic diagram of a computer-readable storage medium provided in an embodiment of the present disclosure. Fig.11 As shown, a computer-readable storage medium 1100 according to an embodiment of the present disclosure has computer-readable instructions 1101 stored thereon. When the computer-readable instructions 1101 are executed by the processor, the communication method described with reference to the above figures according to any of the foregoing embodiments of the present disclosure is executed. The computer-readable storage medium includes, but is not limited to, for example, volatile memory and / or non-volatile memory. Volatile memory may, for example, include random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may, for example, include read-only memory (ROM), hard disk, flash memory, optical disk, magnetic disk, etc.
[0177] The present disclosure further provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the communication method described in any of the foregoing embodiments of the present disclosure is implemented.
[0178] Above, the present disclosure provides a communication method, system, device, electronic device, storage medium and program product. The first node of the present disclosure receives a first message indicating that the state of the second node is abnormal, and based on the first message, uses the first module of itself with the same function as the second module to perform business processing. Among them, the second module is a fault module or a fault link related module in the second node. In summary, the technical solution provided by the present disclosure is that the first node can receive the first message of the second node abnormality, and directly replace the fault module or the fault link related module in the second node with the first module with the same function. Compared with the existing method that in order to achieve dual homing protection, it is necessary to add a standby node between the external node and the main node, and the standby node is used as an intermediate P node and needs to perform PW exchange. The present disclosure adopts a standby node that is exactly the same as the main node module. When the main node is abnormal, the dual homing protection is achieved by using a combination of the main node normal module + the standby node abnormal module. On this basis, since the module logic is exactly the same, the standby node module is also implemented using the MTNP time slot code block cross scheme, and there will be no mechanism for the above-mentioned standby node to be an intermediate node and perform PW exchange. In this way, the problem of damaging the end-to-end hard isolation characteristics caused by superimposing 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 adopts the MTNP time slot code block crossover solution, without the need for PW switching and MAC storage and forwarding processing, which can avoid the increase of data forwarding delay and the problem of uncontrollable delay jitter, and can meet the actual objective needs.
[0179] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.
[0180] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limitations. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.
[0181] The block diagrams of the devices, apparatuses, equipment, and systems involved in this disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including," "comprising," "having," and the like are open words, referring to "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or," and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.
[0182] Additionally, as used herein, "or" used in a list of items beginning with "at least one" indicates a separate list, so that, for example, a list of "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). Furthermore, the word "exemplary" does not mean that the example described is preferred or better than other examples.
[0183] It should also be noted that in the system and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.
[0184] Various changes, substitutions, and modifications of the techniques described herein may be made without departing from the teachings defined by the appended claims. Furthermore, the scope of the claims of the present disclosure is not limited to the specific aspects of the processes, machines, manufactures, compositions of events, means, methods, and actions described above. Currently existing or later to be developed processes, machines, manufactures, compositions of events, means, methods, or actions that perform substantially the same functions or achieve substantially the same results as the corresponding aspects described herein may be utilized. Thus, the appended claims include such processes, machines, manufactures, compositions of events, means, methods, or actions within their scope.
[0185] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
[0186] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A communication method, characterized in that: Applied to the first node, the method comprises: receiving a first message, where the first message is used to indicate that a state of the second node is abnormal; Based on the first message, a first module having the same function as a second module is used to perform service processing; wherein the second module is a fault module or a fault link related module in the second node.
2. The method according to claim 1, characterized in that The first node comprises: A first forwarding module, used to communicate with an external node through a first link and realize termination or forwarding of service data; A first interconnection module, used to realize the interconnection between the first node and the second node and terminate or forward service data; A first synchronization module, used for synchronizing the state of the second node; The first processing module is used to process the business data and output the processing result to the client.
3. The method according to claim 1, characterized in that The first message includes: channel failure status, port failure status and node failure status.
4. The method according to any one of claims 1 to 3, characterized in that: The performing service processing based on the first message by using the first module having the same function as the second module includes: Based on the exception type indicated by the first message, use the first module and the third module to perform business processing, or use the first module to perform business processing; The third module is a normal module in the second node.
5. The method according to any one of claims 1 to 4, characterized in that: When the first message is in a channel fault state, the first module includes: a first forwarding module and a first interconnection module, the third module includes: a second interconnection module and a second processing module, and the first module with the same function as the second module is used to perform service processing based on the first message, including: Using the first forwarding module to receive the service data of the third node and forward it to the first interconnection module; forwarding the service data to the second interconnection module using the first interconnection module; terminating the service data using the second interconnection module to obtain first service data; The first business data is processed by the second processing module and the processing result is output to the client.
6. The method according to any one of claims 1 to 4, characterized in that: When the first message is a port fault state, the first module includes: a first interconnection module and a first processing module, the third module includes: a second forwarding module and a second interconnection module, and the first module with the same function as the second module is used to perform service processing based on the first message, including: Using the second forwarding module to receive the service data of the third node and forward it to the second interconnection module; forwarding the service data to the first interconnection module using the second interconnection module; terminating the service data using the first interconnection module to obtain second service data; The second business data is processed by the first processing module and the processing result is output to the client.
7. The method according to any one of claims 1 to 4, characterized in that: When the first message is in a node failure state, the first module includes: a first forwarding module and a first processing module, and the first module with the same function as the second module is used to perform service processing based on the first message, including: Using the first forwarding module to receive the service data of the third node and terminate the service to obtain third service data; The third business data is processed by the first processing module and the processing result is output to the client.
8. The method according to claim 1, characterized in that: The method further comprises: The first node is a backup node for the second node, or, The first node is a standby node for the plurality of second nodes.
9. The method according to claim 1, characterized in that: The receiving of the first message comprises: Using a first synchronization module to periodically receive the state of the second node; or, The first synchronization module is used to request and receive the state of the second node according to preset conditions.
10. A communication method, characterized in that: Applied to the second node, the method comprises: Sending a first message to the first node, where the first message is used to indicate an abnormal state; A first module having the same function as a second module is used to perform service processing; wherein the second module is a fault module or a fault link related module.
11. The method according to claim 10, characterized in that The second node comprises: A second forwarding module, used to communicate with an external node through a second link and realize termination or forwarding of service data; A second interconnection module, used to realize the interconnection between the second node and the first node and terminate or forward the service data; A second synchronization module, used for synchronizing a state to the first node; The second processing module is used to process the business data and output the processing result to the client.
12. A communication system, characterized in that: include: A first node, configured to implement the method according to any one of claims 1 to 9; The second node is used to implement the method according to any one of claims 10-11.
13. The system according to claim 12, characterized in that The first node and the second node communicate via a metropolitan area transport network channel MTNP.
14. A communication device, characterized in that: Set at the first node, the device includes: A receiving unit, configured to receive a first message, wherein the first message is used to indicate that a state of the second node is abnormal; A processing unit is used to perform business processing based on the first message 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 in the second node.
15. A communication device, characterized in that: Set at the second node, the device includes: A sending unit, configured to send a first message to a first node, wherein the first message is used to indicate an abnormal state; A processing unit is used to perform business processing 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.
16. An electronic device, characterized in that: include: a memory for storing computer readable instructions; as well as A processor is used to run the computer-readable instructions so that the electronic device executes the method according to any one of claims 1 to 11.
17. A non-transitory computer-readable storage medium for storing computer-readable instructions, characterized in that: When the computer-readable instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 11.
18. A computer program product, characterized in that The method comprises a computer program, which implements the method according to any one of claims 1 to 11 when the computer program is executed by a processor.
Citation Information
Patent Citations
Fault protection method and device, storage medium and electronic device
CN112822100A
Small-particle dual-homing protection switching method and system based on three-way APS code negotiation
CN117544485A
Node mode management method and device, storage medium and electronic device
CN117560269A
Granular cross-domain service protection switching method, system and equipment
CN117979331A
Inter-working between a time-sensitive network and a cellular communication network
WO2020067977A1