Path switching method, device and system, electronic device, storage medium
By using path switching indication frames in the optical transport network to notify the destination node to perform path switching, the problem of service interruption in the prior art is solved, and path switching without service interruption and efficient bandwidth resource utilization are achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-12
- Publication Date
- 2026-03-17
AI Technical Summary
Existing technologies require stopping service transmission when switching small-granularity service paths in optical transport networks, resulting in service interruption and failing to achieve efficient bandwidth resource utilization.
By sending a path switching indication frame after the source node stops sending customer services, the destination node is notified to switch paths, and the services are switched to the second path after a specific time, thus achieving path switching without service interruption.
It enables path switching without affecting customer service transmission, improving bandwidth resource utilization efficiency and reducing service interruptions.
Smart Images

Figure CN114339482B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of optical communication, and particularly to path switching methods, apparatus and systems, electronic devices, and computer-readable storage media. Background Technology
[0002] In the definition of Optical Transport Network (OTN), the method of carrying multiple service signals in the payload of an OTN signal is to divide the payload of the OTN signal into n time slots, and then carry the service signals in one or more time slots in the payload of the OTN signal. The time slots are implemented by byte interleaving.
[0003] According to the OTN standard G.709, the smallest time slot granularity in OTN technology is 1.25G. This granularity results in significant bandwidth waste when carrying services with granularities lower than 1.25G, such as Fast Ethernet (FE), Synchronous Transfer Module-1 (STM) services, and E1 services. For example, an E1 service with a bandwidth of 2 Mbps, carried in a 1.25G time slot, suffers a bandwidth waste of up to 99%. Therefore, a transmission technology is needed to efficiently carry small-granularity services in OTN. A current research focus is on using Optical Service Units (OSUs) to carry small-granularity services, using Payload Blocks (PBs) to divide the payload area of an OTN frame, with the OSU mapped to the PB. Before being transmitted to the optical port, the OSU needs to be carried in the Optical Data Unit (ODU). The speed of the OSU is mainly below 1G. A single ODU can carry a maximum of 1000 OSUs. In actual deployment, there will be only scattered bandwidth resources left in the ODU. When it is necessary to add an OSU or adjust the bandwidth occupied by the OSU in the ODU with only scattered bandwidth resources, the remaining bandwidth resources in the ODU will be insufficient to meet the bandwidth requirements of the new OSU or the bandwidth adjustment requirements. In this case, the OSU needs to be path switched.
[0004] The current path switching method requires stopping service transmission first, and then resuming service transmission after the path switching is completed. Service transmission cannot be carried out during the path switching process. Summary of the Invention
[0005] This application provides a path switching method, apparatus and system, electronic device, and computer-readable storage medium.
[0006] In a first aspect, embodiments of this application provide a path switching method, the method comprising:
[0007] The source node stops sending the first customer's service through the first path;
[0008] The source node sends a path switching indication frame through the first path; the path switching indication frame is used to notify the destination node to perform a path switching.
[0009] After a specific time, the source node will switch the first customer's service from the first path to the second path for transmission.
[0010] Secondly, embodiments of this application provide an electronic device, including:
[0011] At least one processor;
[0012] The memory stores at least one program, which, when executed by at least one processor, implements any of the path switching methods described above.
[0013] Thirdly, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements any of the path switching methods described above.
[0014] Fourthly, embodiments of this application provide a path switching system, including:
[0015] Source node, used for:
[0016] Stop sending the first customer's business via the first path;
[0017] A path switching indication frame is sent through the first path; wherein, the path switching indication frame is used to notify the destination node to perform a path switching.
[0018] After a specific time, the first customer's service will be switched from the first path to the second path for transmission;
[0019] The destination node is used to detect a path switching indication frame on the first path and switch from the first path to the second path to receive the first customer service.
[0020] The path switching method for the source node provided in this application first stops sending the first customer service through the first path, sends a path switching indication frame through the first path to notify the destination node to perform a path switching, and then switches the first customer service from the first path to the second path for transmission after a specific time. In other words, the path switching is notified to the destination node through the path switching indication frame, which realizes path switching while transmitting the first customer service, without needing to perform path switching at both the source node and the destination node before continuing to transmit the first customer service. This achieves path switching without affecting the transmission of customer services.
[0021] The path switching method for the destination node provided in this application embodiment is that the path switching indication frame is sent by the source node through the first path after the source node stops sending the first customer service through the first path. When the destination node detects the path switching indication frame on the first path, it indicates that the first customer service has been switched to the second path for transmission. At this time, the destination node switches to the second path to receive the first customer service, thus realizing path switching without affecting the transmission of customer services.
[0022] The path switching method provided in this application embodiment involves the source node first stopping the transmission of the first customer service through the first path, and then sending a path switching indication frame through the first path to notify the destination node to perform a path switching. After a specific time, the first customer service is switched from the first path to the second path for transmission, that is, the path switching indication frame is used to notify the destination node to perform a path switching. When the destination node detects the path switching indication frame on the first path, it indicates that the first customer service has been switched to the second path for transmission. At this time, the destination node switches from the first path to the second path to receive the first customer service. This achieves path switching while transmitting the first customer service, without needing to perform path switching on both the source and destination nodes simultaneously before continuing to transmit the first customer service. This achieves path switching without affecting the transmission of customer services. Attached Figure Description
[0023] Figure 1 This is a schematic diagram illustrating the transmission of customer services between two customer devices in an embodiment of this application.
[0024] Figure 2 A flowchart illustrating a path switching method applied to a source node according to an embodiment of this application;
[0025] Figure 3 This is a schematic diagram of a path switching indication frame in an embodiment of this application;
[0026] Figure 4 This is a schematic diagram illustrating the retention of the active frame in an embodiment of this application;
[0027] Figure 5 A flowchart illustrating a path switching method applied to a destination node, as provided in another embodiment of this application;
[0028] Figure 6 A flowchart illustrating a path switching method applied to a network management server, as provided in another embodiment of this application;
[0029] Figure 7 A flowchart of a path switching method provided in another embodiment of this application;
[0030] Figure 8An interactive schematic diagram of the path switching method provided in Example 1 of this application embodiment;
[0031] Figure 9 An interactive schematic diagram of the path switching method provided in Example 2 of this application embodiment;
[0032] Figure 10 A block diagram of the composition of a source node provided for another embodiment of this application;
[0033] Figure 11 A block diagram illustrating the composition of a destination node provided in another embodiment of this application;
[0034] Figure 12 A block diagram of a network management server provided in another embodiment of this application. Detailed Implementation
[0035] To enable those skilled in the art to better understand the technical solutions of this application, the path switching method, apparatus and system, electronic equipment and computer-readable storage medium provided in this application will be described in detail below with reference to the accompanying drawings.
[0036] Exemplary embodiments will be described more fully below with reference to the accompanying drawings; however, these exemplary embodiments may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this application will be thorough and complete, and will enable those skilled in the art to fully understand the scope of this application.
[0037] Where there is no conflict, the various embodiments of this application and the features thereof may be combined with each other.
[0038] As used herein, the term “and / or” includes any and all combinations of at least one related enumerated entry.
[0039] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application. As used herein, the singular forms “a” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that when the terms “comprising” and / or “made of” are used in this specification, the presence of the stated feature, integral, step, operation, element, and / or component is specified, but the presence or addition of at least one other feature, integral, step, operation, element, component, and / or group thereof is not excluded.
[0040] Unless otherwise specified, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and this application, and will not be interpreted as having an idealized or overly formal meaning, unless expressly so defined herein.
[0041] In the embodiments of this application, such as Figure 1 As shown, when customer equipment 1 and customer equipment 2 need to transmit customer services, the path starts at the source node and ends at the destination node, passing through at least one intermediate node. Due to the bidirectional nature of the path transmission, customer service data packets (PKT, PacKeT) can be transmitted from the source node to the destination node, or from the destination node to the source node.
[0042] The path in this embodiment refers to the path between the source node and the destination node.
[0043] The following describes the process of transmitting customer business data packets from the source node to the destination node.
[0044] When the source node needs to send customer services, it maps the customer services to the OSU through the customer-side board 1 in the source node, transmits the OSU to the line-side board 1 through the cross-connect board 1 in the source node, maps the OSU to the ODUk through the line-side board 1 in the source node, and sends the ODUk to the downstream node (i.e., the intermediate node on the path that is adjacent to the source node and closer to the destination node); where k represents the rate level of the customer service, which can be an integer greater than or equal to 1 or flex.
[0045] When an intermediate node receives an ODUk, it retrieves the OSU from the ODUk through the line-side board 2 of the intermediate node, transmits the OSU to the line-side board 3 through the cross-connect board 2 of the intermediate node, remaps the OSU back into the ODUk through the line-side board 3 of the intermediate node, and sends the ODUk to the downstream node (i.e., the intermediate node on the path that is adjacent to this intermediate node and closer to the destination node; or the destination node).
[0046] The destination node receives ODUk, obtains the OSU from ODUk through the line-side board 4 of the destination node, transmits the OSU to the customer-side board 2 through the cross-connect board 3 of the destination node, and obtains the customer service data packet from the OSU through the customer-side board 2 of the destination node.
[0047] The following describes the process of transmitting customer business data packets from the destination node to the source node.
[0048] When the destination node has customer service to send, the customer service is mapped to the OSU through the customer-side board 2 in the destination node, the OSU is transmitted to the line-side board 4 through the cross-connect board 3 in the destination node, the OSU is mapped to the ODUk through the line-side board 4 in the destination node, and the ODUk is sent to the upstream node (i.e. the intermediate node on the path that is adjacent to the destination node and closer to the source node).
[0049] When an intermediate node receives an ODUk, it retrieves the OSU from the ODUk through the line-side board 3 of the intermediate node, transmits the OSU to the line-side board 2 through the cross-connect board 2 of the intermediate node, remaps the OSU to the ODUk through the line-side board 2 of the intermediate node, and sends the ODUk to the upstream node (i.e., the intermediate node on the path that is adjacent to this intermediate node and closer to the source node; or the source node).
[0050] The source node receives ODUk, obtains the OSU from ODUk through the line-side board 1 of the source node, transmits the OSU to the customer-side board 1 through the cross-connect board 1 of the source node, and obtains the customer service data packet from the OSU through the customer-side board 1 of the source node.
[0051] Figure 2 This is a flowchart of a path switching method applied to a source node, provided as an embodiment of this application.
[0052] Firstly, referring to Figure 2 One embodiment of this application provides a path switching method, the method comprising:
[0053] Step 200: The source node stops sending the first customer service through the first path.
[0054] In this embodiment of the application, the first customer service is a customer service that requires path switching.
[0055] In some exemplary embodiments, the source node can stop sending first customer services through the first path when a path switch is required.
[0056] Step 201: The source node sends a path switching indication frame through the first path; wherein, the path switching indication frame is used to notify the destination node to perform a path switching.
[0057] In some exemplary embodiments, the source node may send a path switching indication frame through the first path after sending the last first customer service through the first path. That is, the path switching indication frame is sent immediately after the first customer service.
[0058] In some exemplary embodiments, such as Figure 3As shown, the path switching indication frame is a special type of OSU Operation Administration Maintenance (OAM) frame. The path switching indication frame only transmits OSU overhead, and the OSU payload is filled with characters. The OSU OAM frame type is included in the OT field of the OSU overhead. The OSU OAM frame type is used to indicate that the OSU OAM frame is a path switching indication frame.
[0059] In some exemplary embodiments, the source node may transmit a path switching indication frame via the first path in any of the following ways.
[0060] The first method involves the source node sending a path switching indication frame via the first path at the second rate.
[0061] The second method involves the source node sending a fixed number of path switching indication frames through the first path, and then sending a second keep-active frame through the first path at a third rate.
[0062] It should be noted that the first hold-active frame and the second hold-active frame can be the same or different.
[0063] Step 202: After a specific time, the source node switches the first customer service from the first path to the second path for transmission.
[0064] In some exemplary embodiments, the second path is a path that was created before the source node stopped sending the first customer service through the first path. For example, the second path could be a path created by the network management server before the source node stopped sending the first customer service through the first path.
[0065] In some exemplary embodiments, the source node may switch the first customer service from the first path to the second path for transmission after a specific period of time following the cessation of transmitting the first customer service through the first path.
[0066] In some exemplary embodiments, the source node and destination node of the first path and the second path are the same. The first path and the second path can be the same path or different paths. For example, the first path and the second path are carried in different ODUk, or carried in different carriers, or carried in different optical fibers.
[0067] It should be noted that the first path and the second path carried in different ODUk can refer to paths with the same value of k but different numbers, or it can refer to ODUk with different values of k.
[0068] In some exemplary embodiments, the bandwidth of the first path and the second path may be the same or different. For example, when a new customer service is added, if the remaining bandwidth of the ODUk cannot meet the bandwidth requirements of the new customer service, the existing customer service in the ODUk can be path-switched to increase the remaining bandwidth of the ODUk so that the remaining bandwidth of the ODUk can meet the bandwidth requirements of the new customer service. In this case, the bandwidth of the first path and the second path is the same during the path switching. As another example, when the bandwidth of a customer service needs to be adjusted, if the remaining bandwidth of the ODUk cannot meet the bandwidth adjustment amount, the customer service needs to be path-switched so that the remaining bandwidth of the ODUk after the switch can meet the bandwidth adjustment amount. In this case, the bandwidth of the first path and the second path are different.
[0069] In some exemplary embodiments, before the source node stops sending the first customer service through the first path, the method further includes: the source node receiving a first command sent by the network management server; wherein the first command is used to instruct a path switch for the first customer service. For example, the network management server may send the first command to the source node after the network management server creates the second path; or the network management server may send the first command to the source node before the network management server creates the second path.
[0070] In some exemplary embodiments, before the source node stops sending the first customer service through the first path, the method further includes: the source node sending a first keep-active frame through the second path at a first rate.
[0071] It should be noted that after the second path is created, to improve the success rate of subsequent path switching, the source node can first check whether the second path can transmit customer services, that is, send a first keep-alive frame in the second path. If the destination node can receive and recognize the first keep-alive frame normally, it means that the second path can transmit customer services normally.
[0072] It should be noted that the source node may not need to check whether the second path can transmit customer services, and may assume that the second path can transmit customer services, or may use other methods to check whether the second path can transmit customer services.
[0073] In some exemplary embodiments, the first rate can be set arbitrarily.
[0074] In some exemplary embodiments, such as Figure 4 As shown, a hold-active frame is a special type of OSU frame. Hold-active frames only transmit OSU overhead, and the OSU payload consists of padding characters. The FT field of the OSU overhead includes the OSU frame type, which is used to indicate that the OSU frame is a hold-active frame.
[0075] In some exemplary embodiments, before the source node stops sending the first customer service through the first path, the method further includes:
[0076] The source node measures the delay of the first path and the second path respectively to obtain the delay of the first path and the delay of the second path; the source node determines a specific time based on the delay of the first path and the delay of the second path.
[0077] In some exemplary embodiments, the source node can carry the information required for latency measurement in the overhead of the first keep-active frame to achieve latency measurement of the second path. Similarly, the source node can carry the information required for latency measurement in the overhead of customer services transmitted through the first path to achieve latency measurement of the first path.
[0078] It should be noted that the source node can perform latency measurements on the first path and the second path separately before receiving the first command from the network management server, or it can perform latency measurements on the first path and the second path separately after receiving the first command from the network management server.
[0079] In some exemplary embodiments, the source node determines a specific time based on the delay of the first path and the delay of the second path, including at least one of the following:
[0080] If the delay of the first path is greater than the delay of the second path, the source node determines a specific time as t+Δ.
[0081] If the delay of the first path is less than the delay of the second path, and Δ is greater than or equal to the absolute value of t, then the source node determines a specific time as Δ.
[0082] If the delay of the first path is less than the delay of the second path, and Δ is less than the absolute value of t, then the source node determines a specific time as 0.
[0083] Where t is the difference between the delay of the first path and the one-way delay of the second path, and Δ includes at least one of the following: the error compensation value of the delay measurement and the time required to identify the path switching indication frame.
[0084] It should be noted that if Δ includes the error compensation value of the delay measurement and the time required to identify the path switching indication frame, then Δ is greater than or equal to the sum of the error compensation value of the delay measurement and the time required to identify the path switching indication frame.
[0085] In some exemplary embodiments, after the source node switches the first customer service from the first path to the second path for delivery, the method further includes:
[0086] The source node receives a second command from the network management server to delete the first path; the second command is used to instruct the deletion of the first path.
[0087] In some exemplary embodiments, the method further includes:
[0088] When the destination node detects a path switching indication frame on the first path, it switches from the first path to the second path to receive the first customer service; the path switching indication frame is used to notify the destination node to perform a path switching.
[0089] In some exemplary embodiments, after switching from the first path to the second path to receive the first customer service, the first path is deleted.
[0090] For example, the network management server can send a second command to each node on the first path; where the second command is used to instruct the deletion of the first path.
[0091] The source node receives the second command from the network management server and deletes the first path.
[0092] The destination node receives the second command from the network management server and deletes the first path.
[0093] The path switching method for the source node provided in this application first stops sending the first customer service through the first path, and then sends a path switching indication frame through the first path to notify the destination node to perform path switching. After a specific time, the first customer service is switched from the first path to the second path for transmission. That is, the path switching is notified to the destination node through the path switching indication frame, which realizes path switching while transmitting the first customer service, without needing to perform path switching at both the source node and the destination node before continuing to transmit the first customer service. This achieves path switching without affecting the transmission of customer services.
[0094] Figure 5 A flowchart of a path switching method applied to a destination node, provided as another embodiment of this application.
[0095] Secondly, referring to Figure 5 Another embodiment of this application provides a path switching method, the method comprising:
[0096] Step 500: The destination node detects the path switching indication frame on the first path and switches from the first path to the second path to receive the first customer service; wherein, the path switching indication frame is used to notify the destination node to perform path switching.
[0097] In this embodiment of the application, the first customer service is a customer service that requires path switching.
[0098] In some exemplary embodiments, the destination node detecting a path switching indication frame on the first path includes:
[0099] The destination node detects a path switching indication frame for N consecutive frames on the first path; where N is an integer greater than or equal to 1.
[0100] In some exemplary embodiments, after switching from the first path to the second path to receive the first customer service, the method further includes:
[0101] The destination node receives a second command from the network management server to delete the first path; the second command is used to instruct the deletion of the first path.
[0102] The path switching method for the destination node provided in this application embodiment is that the path switching indication frame is sent by the source node through the first path after the source node stops sending the first customer service through the first path. When the destination node detects the path switching indication frame through the first path, it indicates that the first customer service has been switched to the second path for transmission. At this time, the destination node switches to the second path to receive the first customer service, thus realizing path switching without affecting the transmission of customer services.
[0103] Figure 6 A flowchart of a path switching method on the network management server side provided in another embodiment of this application.
[0104] Thirdly, referring to Figure 6 Another embodiment of this application provides a path switching method, the method comprising:
[0105] Step 600: The network management server creates a second path for the first customer service and sends a first command to the source node; wherein, the first command is used to instruct the first customer service to switch paths.
[0106] In this embodiment of the application, the first customer service is a customer service that requires path switching.
[0107] In some exemplary embodiments, during the process of establishing a second path for the first customer service, the network management server can interact with each node on the second path to notify each node of the second path.
[0108] In some exemplary embodiments, after sending the first command to the source node, the method further includes:
[0109] The network management server sends a second command to each node on the first path; the second command is used to instruct the deletion of the first path.
[0110] In some exemplary embodiments, a second command may be sent to each node after a preset time has elapsed since the network management server sent the first command to the source node.
[0111] In some exemplary embodiments, the preset time is the time required for the source node to complete the path switching after receiving the first command. The preset time can be determined based on empirical values for path switching.
[0112] In some exemplary embodiments, before the network management server establishes a second path for the first customer service, the method further includes:
[0113] The network management server determines that the first customer service is the customer service that needs to be switched paths based on the bandwidth occupied by the second customer service; among them, the second customer service is a newly added customer service.
[0114] Alternatively, the network management server determines the first customer service as the customer service that needs path switching based on the target bandwidth occupied by the third customer service; among them, the third customer service is the customer service that needs bandwidth adjustment.
[0115] In some exemplary embodiments, if the remaining bandwidth of the ODUk is less than the bandwidth occupied by the second customer service, then any customer service in the ODUk containing the first customer service is designated as the first customer service, ensuring that the remaining bandwidth of the ODUk is greater than the bandwidth occupied by the second customer service. In this case, the bandwidth of the first path and the second path is the same. This minimizes the remaining bandwidth of the ODUk, thereby reducing bandwidth resource fragmentation in the ODUk.
[0116] In some exemplary embodiments, if the remaining bandwidth of the ODUk containing the third customer service is less than the difference between the target bandwidth (i.e., the adjusted bandwidth) and the original bandwidth (i.e., the bandwidth before adjustment) occupied by the third customer service, then the third customer service is determined to be the first customer service. In this case, the bandwidths of the first path and the second path are different; the bandwidth of the first path is the original bandwidth, and the bandwidth of the second path is the target bandwidth. Alternatively, any customer service in the ODUk other than the third customer service can be determined as the first customer service, such that the remaining bandwidth of the ODUk is greater than the difference between the target bandwidth (i.e., the adjusted bandwidth) and the original bandwidth (i.e., the bandwidth before adjustment) occupied by the third customer service. In this case, the bandwidths of the first path and the second path are the same. This minimizes the remaining bandwidth of the ODUk, thereby reducing bandwidth resource fragmentation in the ODUk.
[0117] The path switching method for network management servers provided in this application embodiment sends a first command to the source node only after a second path is created for the first customer service, so as to realize the path switching of the first customer service, and the transmission of the first customer service will not be affected by the delay introduced by the new path during the path switching process.
[0118] Figure 7 A flowchart of a path switching method provided in another embodiment of this application.
[0119] Fourthly, refer to Figure 7 Another embodiment of this application provides a path switching method, the method comprising:
[0120] Step 700: The source node stops sending the first customer service through the first path; sends a path switching indication frame through the first path; wherein, the path switching indication frame is used to notify the destination node to perform path switching; after a specific time, the first customer service is switched from the first path to the second path for transmission.
[0121] In this embodiment of the application, the first customer service is a customer service that requires path switching.
[0122] In some exemplary embodiments, the source node can stop sending first customer services through the first path when a path switch is required.
[0123] In some exemplary embodiments, before the source node stops sending the first customer service through the first path, the method further includes: the source node receiving a first command sent by the network management server; wherein the first command is used to instruct a path switch for the first customer service. For example, the network management server may send the first command to the source node after the network management server creates the second path; or the network management server may send the first command to the source node before the network management server creates the second path.
[0124] In some exemplary embodiments, before the source node stops sending the first customer service through the first path, the method further includes: the source node sending a first keep-active frame through the second path at a first rate.
[0125] It should be noted that after the second path is created, to improve the success rate of subsequent path switching, it is advisable to first check whether the second path can transmit customer services, that is, to send a first keep-active frame in the second path. If the destination node can normally receive and recognize the first keep-active frame, it means that the second path can normally transmit customer services.
[0126] It should be noted that the source node may not need to check whether the second path can transmit customer services, and may assume that the second path can transmit customer services, or may use other methods to check whether the second path can transmit customer services.
[0127] In some exemplary embodiments, the first rate can be set arbitrarily.
[0128] In some exemplary embodiments, such as Figure 4 As shown, a hold-active frame is a special type of OSU frame. Hold-active frames only transmit OSU overhead, and the OSU payload consists of padding characters. The FT field of the OSU overhead includes the OSU frame type, which is used to indicate that the OSU frame is a hold-active frame.
[0129] In some exemplary embodiments, the source node can stop sending first customer services through the first path when a path switch is required.
[0130] In some exemplary embodiments, the source node may send a path switching indication frame through the first path after sending the last first customer service through the first path. That is, the path switching indication frame is sent immediately after the first customer service.
[0131] In some exemplary embodiments, such as Figure 3 As shown, the path switching indication frame is a special type of OSUOAM frame. The path switching indication frame only transmits OSU overhead, and the OSU payload is a padding character. The OSUOAM frame type is included in the OT field of the OSU overhead. The OSUOAM frame type is used to indicate that the OSUOAM frame is a path switching indication frame.
[0132] In some exemplary embodiments, the source node may switch the first customer service from the first path to the second path for transmission after a specific period of time following the cessation of transmitting the first customer service through the first path.
[0133] In some exemplary embodiments, the source node may transmit a path switching indication frame via the first path in any of the following ways.
[0134] The first method involves the source node sending a path switching indication frame via the first path at the second rate.
[0135] The second method involves the source node sending a fixed number of path switching indication frames through the first path, and then sending a second keep-active frame through the first path at a third rate.
[0136] It should be noted that the first hold-active frame and the second hold-active frame can be the same or different.
[0137] In some exemplary embodiments, the second path is a path that was created before the source node stopped sending the first customer service through the first path. For example, the second path could be a path created by the network management server before the source node stopped sending the first customer service through the first path.
[0138] In some exemplary embodiments, the source node and destination node of the first path and the second path are the same. The first path and the second path can be the same path or different paths. For example, the first path and the second path are carried in different ODUk, or carried in different carriers, or carried in different optical fibers.
[0139] It should be noted that the first path and the second path carried in different ODUk can refer to paths with the same value of k but different numbers, or it can refer to ODUk with different values of k.
[0140] In some exemplary embodiments, the bandwidth of the first path and the second path may be the same or different. For example, when a new customer service is added, if the remaining bandwidth of the ODUk cannot meet the bandwidth requirements of the new customer service, the existing customer service in the ODUk can be path-switched to increase the remaining bandwidth of the ODUk so that the remaining bandwidth of the ODUk can meet the bandwidth requirements of the new customer service. In this case, the bandwidth of the first path and the second path is the same during the path switching. As another example, when the bandwidth of a customer service needs to be adjusted, if the remaining bandwidth of the ODUk cannot meet the bandwidth adjustment amount, the customer service needs to be path-switched so that the remaining bandwidth of the ODUk after the switch can meet the bandwidth adjustment amount. In this case, the bandwidth of the first path and the second path are different.
[0141] Step 701: The destination node detects the path switching indication frame on the first path and switches from the first path to the second path to receive the first customer service.
[0142] In some exemplary embodiments, the destination node detecting a path switching indication frame on the first path includes:
[0143] The destination node detects a path switching indication frame for N consecutive frames on the first path; where N is an integer greater than or equal to 1.
[0144] In some exemplary embodiments, before the source node receives the first command sent by the network management server, the method further includes: the source node sending a first keep-active frame through a second path at a first rate.
[0145] In some exemplary embodiments, after switching from the first path to the second path to receive the first customer service, the method further includes: deleting the first path.
[0146] For example, the network management server can send a second command to each node on the first path; where the second command is used to instruct the deletion of the first path.
[0147] After the source node switches the first customer service from the first path to the second path for delivery, the method further includes:
[0148] The source node receives the second command from the network management server and deletes the first path;
[0149] After the destination node switches from the first path to the second path to receive the first customer's service, the method further includes:
[0150] The destination node receives the second command from the network management server and deletes the first path.
[0151] In some exemplary embodiments, before the source node stops sending the first customer service through the first path, the method further includes:
[0152] The source node performs delay measurements on the first path and the second path respectively to obtain the delay of the first path and the delay of the second path; and determines a specific time based on the delay of the first path and the delay of the second path.
[0153] In some exemplary embodiments, latency measurement of the second path can be achieved by carrying the information required for latency measurement in the overhead of the first keep-active frame. Similarly, latency measurement of the first path can be achieved by carrying the information required for latency measurement in the overhead of customer services transmitted through the first path.
[0154] It should be noted that the latency of the first path and the second path can be measured separately before receiving the first command sent by the network management server, or the latency of the first path and the second path can be measured separately after receiving the first command sent by the network management server.
[0155] In some exemplary embodiments, the source node determines a specific time based on the delay of the first path and the delay of the second path, including at least one of the following:
[0156] If the delay of the first path is greater than the delay of the second path, the source node determines a specific time as t+Δ.
[0157] If the delay of the first path is less than the delay of the second path, and Δ is greater than or equal to the absolute value of t, then the source node determines a specific time as Δ.
[0158] If the delay of the first path is less than the delay of the second path, and Δ is less than the absolute value of t, then the source node determines a specific time as 0.
[0159] Where t is the difference between the delay of the first path and the one-way delay of the second path, and Δ includes at least one of the following: the error compensation value of the delay measurement and the time required to identify the path switching indication frame.
[0160] It should be noted that if Δ includes the error compensation value of the delay measurement and the time required to identify the path switching indication frame, then Δ is greater than or equal to the sum of the error compensation value of the delay measurement and the time required to identify the path switching indication frame.
[0161] In some exemplary embodiments, before the network management server establishes a second path for the first customer service, the method further includes:
[0162] The network management server determines that the first customer service is the customer service that needs to be switched paths based on the bandwidth occupied by the second customer service; among them, the second customer service is a newly added customer service.
[0163] Alternatively, the network management server determines the first customer service as the customer service that needs path switching based on the target bandwidth occupied by the third customer service; among them, the third customer service is the customer service that needs bandwidth adjustment.
[0164] In some exemplary embodiments, if the remaining bandwidth of the ODUk is less than the bandwidth occupied by the second customer service, then any customer service in the ODUk containing the first customer service is designated as the first customer service, ensuring that the remaining bandwidth of the ODUk is greater than the bandwidth occupied by the second customer service. In this case, the bandwidth of the first path and the second path is the same. This minimizes the remaining bandwidth of the ODUk, thereby reducing bandwidth resource fragmentation in the ODUk.
[0165] In some exemplary embodiments, if the remaining bandwidth of the ODUk containing the third customer service is less than the difference between the target bandwidth (i.e., the adjusted bandwidth) and the original bandwidth (i.e., the bandwidth before adjustment) occupied by the third customer service, then the third customer service is determined to be the first customer service. In this case, the bandwidths of the first path and the second path are different; the bandwidth of the first path is the original bandwidth, and the bandwidth of the second path is the target bandwidth. Alternatively, any customer service in the ODUk other than the third customer service can be determined as the first customer service, such that the remaining bandwidth of the ODUk is greater than the difference between the target bandwidth (i.e., the adjusted bandwidth) and the original bandwidth (i.e., the bandwidth before adjustment) occupied by the third customer service. In this case, the bandwidths of the first path and the second path are the same. This minimizes the remaining bandwidth of the ODUk, thereby reducing bandwidth resource fragmentation in the ODUk.
[0166] The path switching method provided in this application embodiment involves the source node first stopping the transmission of the first customer service through the first path, and then sending a path switching indication frame through the first path to notify the destination node to perform a path switching. After a specific time, the first customer service is switched from the first path to the second path for transmission, that is, the path switching indication frame is used to notify the destination node to perform a path switching. When the destination node detects the path switching indication frame on the first path, it indicates that the first customer service has been switched to the second path for transmission. At this time, the destination node switches from the first path to the second path to receive the first customer service. This achieves path switching while transmitting the first customer service, without needing to perform path switching on both the source and destination nodes simultaneously before continuing to transmit the first customer service. This achieves path switching without affecting the transmission of customer services.
[0167] The path switching method of this application embodiment is described in detail below through two examples. The examples listed are only for illustrative purposes and are not intended to limit the protection scope of this application embodiment.
[0168] Example 1
[0169] This example is described as follows: Figure 1 The end-to-end transmission scenario shown assumes that the payload size of an ODU0 is 1.25Gbps. ODU0#1 contains 11 OSUs carrying 100M PKT services and 2 OSUs carrying 50M PKT services. ODU0#2 contains 12 OSUs carrying 100M PKT services. Each ODU0 has 50M of available bandwidth. If we want to add another 100M OSU, neither ODU0 can handle it. Therefore, we need to seamlessly switch the 50M PKT service from ODU0#1 to ODU0#2. This effectively reorganizes the bandwidth fragmentation in both ODU0s. Figure 8 As shown, the specific implementation method is as follows:
[0170] Step 1: The network management system issues a path switching command (i.e., the first command mentioned above) to the source node.
[0171] Step 2: The network management server creates an end-to-end OSU path (i.e., the second path mentioned above) for the 50M PKT service carried by ODU0#1 in ODU0#2. The bandwidth level of this OSU path is also 50M. Due to the overhead, the actual bandwidth of the OSU is greater than 50M. For ease of explanation, the bandwidth level is used here.
[0172] Step 3: In the newly created OSU path, send the first keep-active frame at a speed of 10M. The keep-active frame format is as follows: Figure 3 As shown, the overhead of the OSU includes the OSU frame type, which is used to indicate that the OSU frame is a keep-active frame.
[0173] Step 4: The source node performs end-to-end delay measurements on the original OSU path (i.e., the first path mentioned above) and the newly created OSU path respectively. The one-way delay of the original OSU path is 235μs, and the one-way delay of the newly created OSU path is 230μs. The delay difference between the original OSU path and the newly created OSU path is calculated as t = t1 - t2 = 5μs.
[0174] Step 5: The source node stops sending customer services through the original OSU path and sends a 3-frame path switching indication frame. This path switching indication frame is a special type of OSU OAM frame, such as... Figure 4As shown, the OSU frame type is used to indicate that the OSU frame is an OSU OAM frame, and the OSUOAM frame type is used to indicate that the OSU OAM frame is a path switching indication frame, which is used to notify the destination node to perform OSU path switching. After the path switching indication frame, a second hold-active frame is sent at a rate of 10M. After (5+2)μs, the customer service is switched to the newly established OSU path, where 2μs is an offset, the purpose of which is to compensate for the delay measurement error and the time required to identify the path switching indication frame, so as to ensure the lossless switching process.
[0175] Step 6: After receiving each OSU frame on the original OSU path, the destination node first performs a Cyclic Redundancy Check (CRC) check. If the CRC check is correct, it performs an OSU frame type detection. If two consecutive OSU frames are detected as path switching indication frames, the node switches to the newly created OSU path to receive customer services.
[0176] Step 7: After a preset time, the network management server sends a deletion command (i.e., the second command mentioned above) to each node on the original OSU path. Each node on the original OSU path deletes the original OSU path and reports to the network management system that the customer service path switch is successful.
[0177] Example 2
[0178] This example is described as follows: Figure 1 The end-to-end transmission scenario shown assumes that the payload size of an ODU2 is 10Gbps. ODU2#1 contains 8 OSUs carrying 1G PKT services, and ODU2#2 contains 1 OSU carrying a 5G PKT service. The bandwidth of a 1G PKT service in ODU2#1 needs to be increased to 5G, but ODU2#1 only has 2G of available bandwidth. Therefore, lossless bandwidth increase processing across ODUs is required, such as... Figure 9 As shown, the specific implementation method is as follows:
[0179] Step 1: The network management system issues a bandwidth increase command to the source node, requesting that the bandwidth of the PKT service be increased from 1G to 5G. After receiving the bandwidth increase command from the network management server, the source node sends a bandwidth increase request command to other nodes through in-band overhead. Due to insufficient bandwidth resources on the link, the source node will receive a fault indication command and report to the network management system that the path bandwidth resources are insufficient and the adjusted bandwidth is 5G.
[0180] Step 2: The network management server sends a path switching command (i.e., the first command mentioned above) to the source node.
[0181] Step 3: The network management server creates an end-to-end OSU path (i.e., the second path mentioned above) for the 1G PKT service carried by ODU2#1 in ODU2#2. The bandwidth level of this OSU path is also 5G. Due to the overhead, the actual bandwidth of the OSU is greater than 5G. For ease of explanation, the bandwidth level is used here.
[0182] Step 4: In the newly created OSU path, send the first keep-active frame at a speed of 100M. The keep-active frame format is as follows: Figure 3 As shown, the overhead of the OSU includes the OSU frame type, which is used to indicate that the OSU frame is a keep-active frame.
[0183] Step 5: The source node performs end-to-end delay measurements on the original OSU path (i.e., the first path mentioned above) and the newly created OSU path respectively. When the paths in the transmitting and receiving directions are symmetrical, bidirectional delay measurement can be used. The bidirectional delay of the original OSU path is 50μs, and the bidirectional delay of the newly created OSU path is 40μs. The bidirectional delay difference between the original OSU path and the newly created OSU path is calculated as t = t1 - t2 = 10μs, and the unidirectional delay difference is 10 / 2 = 5μs.
[0184] Step 6: The source node stops sending customer services through the original OSU path and sends a 3-frame path switching indication frame. This path switching indication frame is a special type of OSU OAM frame, such as... Figure 4 As shown, the OSU frame type is used to indicate that the OSU frame is an OSU OAM frame, and the OSUOAM frame type is used to indicate that the OSU OAM frame is a path switching indication frame, which is used to notify the destination node to perform OSU path switching. After the path switching indication frame, a second hold-active frame is sent at a rate of 10M, and after (5+2)μs, the customer service is switched to the newly established OSU path, where 2μs is an offset, the purpose of which is to compensate for the delay measurement error and the time required to identify the path switching indication frame, so as to ensure the lossless switching process.
[0185] Step 7: After receiving each OSU frame on the original OSU path, the destination node first performs a CRC check. If the CRC check is correct, it performs an OSU frame type detection. If two consecutive OSU frames are detected as path switching indication frames, the node switches to the newly created OSU path to receive customer services.
[0186] Step 8: After completing the switch from the original OSU path to the newly created OSU path, the source node increases the bandwidth of the customer service from 1G to 5G. After a preset time, the network management server sends a deletion command (i.e., the second command mentioned above) to each node on the original OSU path. Each node on the original OSU path deletes the original OSU path and reports to the network management system that the customer service path switch is successful.
[0187] Fifthly, embodiments of this application provide an electronic device, including:
[0188] At least one processor;
[0189] The memory stores at least one program, which, when executed by at least one processor, implements any of the path switching methods described above.
[0190] Among them, the processor is a device with data processing capabilities, including but not limited to the central processing unit (CPU); the memory is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically such as SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH).
[0191] In some embodiments, the processor and memory are interconnected via a bus, and thus connected to other components of the computing device.
[0192] Sixthly, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements any of the path switching methods described above.
[0193] Figure 10 A block diagram of the source node provided in another embodiment of this application.
[0194] Seventh aspect, refer to Figure 10 Another embodiment of this application provides a source node, including:
[0195] The first transmitting module 1001 is used for:
[0196] Stop sending the first customer's business via the first path;
[0197] A path switching indication frame is sent through the first path; wherein, the path switching indication frame is used to notify the destination node to perform a path switching.
[0198] After a specific time, the first customer's service will be switched from the first path to the second path for transmission.
[0199] In some exemplary embodiments, it also includes:
[0200] The first receiving module 1002 is used to receive a first command sent by the network management server; wherein the first command is used to instruct the path switching of the first customer service.
[0201] In some exemplary embodiments, the first sending module 1001 is further configured to: send a first keep-active frame via a second path at a first rate.
[0202] In some exemplary embodiments, the first receiving module 1002 is further configured to:
[0203] The system receives a second command from the network management server; this second command instructs the deletion of the first path.
[0204] The source node also includes:
[0205] The first deletion module 1003 is used to delete the first path.
[0206] In some exemplary embodiments, the first sending module 1001 is further configured to:
[0207] The time delays of the first path and the second path are measured separately to obtain the time delays of the first path and the second path.
[0208] A specific time is determined based on the delay of the first path and the delay of the second path.
[0209] In some exemplary embodiments, the first sending module 1001 is specifically configured to determine a specific time based on the delay of the first path and the delay of the second path using at least one of the following methods:
[0210] If the delay of the first path is greater than the delay of the second path, then the specific time is determined as t+Δ.
[0211] If the delay of the first path is less than the delay of the second path, and Δ is greater than or equal to the absolute value of t, then the specific time is determined as Δ.
[0212] If the delay of the first path is less than the delay of the second path, and Δ is less than the absolute value of t, then the specific time is determined to be 0.
[0213] Where t is the difference between the delay of the first path and the delay of the second path, and Δ includes at least one of the following: the error compensation value of the delay measurement and the time required to identify the path switching indication frame.
[0214] In some exemplary embodiments, the first sending module 1001 is specifically configured to send a path switching indication frame through the first path in one of the following ways:
[0215] Send a path switching indication frame through the first path at the second rate;
[0216] A fixed number of path switching indication frames are sent through the first path, and a second keep-active frame is sent through the first path at a third rate.
[0217] The specific implementation process of the source node is the same as that of the path switching method on the source node side in the aforementioned embodiments, and will not be repeated here.
[0218] Figure 11 A block diagram illustrating the composition of a destination node provided in another embodiment of this application.
[0219] Eighth aspect, refer to Figure 11 Another embodiment of this application provides a destination node, including:
[0220] The second receiving module 1101 is used to detect a path switching indication frame on the first path and switch from the first path to the second path to receive the first customer service; wherein the path switching indication frame is used to notify the destination node to perform path switching.
[0221] In some exemplary embodiments, the second receiving module 1101 is specifically configured to detect a path switching indication frame in the first path in the following manner: detecting a path switching indication frame in the first path for N consecutive frames; wherein N is an integer greater than or equal to 1.
[0222] In some exemplary embodiments, the second receiving module 1101 is further configured to:
[0223] The system receives a second command from the network management server; this second command instructs the deletion of the first path.
[0224] The destination node also includes: a second deletion module 1102, used to delete the first path.
[0225] The specific implementation process of the destination node is the same as that of the path switching method on the destination node side in the aforementioned embodiment, and will not be repeated here.
[0226] Figure 12 A block diagram of a network management server provided in another embodiment of this application.
[0227] Ninth aspect, refer to Figure 12 Another embodiment of this application provides a network management server, including:
[0228] The path creation module 1201 is used to create a second path for the first customer's business.
[0229] The second sending module 1202 is used to send a first command to the source node; wherein the first command is used to instruct the path switching of the first customer service.
[0230] In some exemplary embodiments, the second sending module 1202 is further configured to:
[0231] Send a second command to both the source and destination nodes; the second command is used to instruct the deletion of the first path.
[0232] In some exemplary embodiments, the network management server further includes:
[0233] Module 1203 is used for:
[0234] The first customer service is determined to be the customer service that requires path switching based on the bandwidth occupied by the second customer service; the second customer service is a newly added customer service.
[0235] Alternatively, the first customer service can be determined as the customer service requiring path switching based on the target bandwidth occupied by the third customer service; among which, the third customer service is the customer service requiring bandwidth adjustment.
[0236] The specific implementation process of the network management server is the same as that of the path switching method on the network management server side in the aforementioned embodiment, and will not be repeated here.
[0237] In a tenth aspect, another embodiment of this application provides a path switching system, including:
[0238] The source node is used to: stop sending the first customer service through the first path; send a path switching indication frame through the first path; wherein the path switching indication frame is used to notify the destination node to perform a path switching; and after a specific time, switch the first customer service from the first path to the second path for transmission.
[0239] The destination node is used to detect the path switching indication frame through the first path and switch from the first path to the second path to receive the first customer service.
[0240] In some exemplary embodiments, the source node is specifically configured to transmit a path switching indication frame via the first path in one of the following ways:
[0241] Send a path switching indication frame through the first path at the second rate;
[0242] A fixed number of path switching indication frames are sent through the first path, and a second keep-active frame is sent through the first path at a third rate.
[0243] In some exemplary embodiments, the destination node is specifically configured to detect a path switching indication frame on the first path in the following manner:
[0244] A path switching indication frame is detected in N consecutive frames of the first path; where N is an integer greater than or equal to 1.
[0245] In some exemplary embodiments, the source node is further configured to: send a first keep-active frame via a second path at a first rate.
[0246] In some exemplary embodiments, the network management server is also used for:
[0247] Send a second command to both the source and destination nodes; the second command is used to instruct the deletion of the first path.
[0248] The source node is also used for:
[0249] Upon receiving the second command from the network management server, delete the first path;
[0250] Dwell nodes are also used for:
[0251] Upon receiving the second command from the network management server, delete the first path.
[0252] In some exemplary embodiments, the source node is also used for:
[0253] The delays of the first path and the second path are measured separately to obtain the delays of the first path and the second path; a specific time is determined based on the delays of the first path and the second path.
[0254] In some exemplary embodiments, the source node is specifically configured to determine a specific time based on the delay of the first path and the delay of the second path using at least one of the following methods:
[0255] If the delay of the first path is greater than the delay of the second path, then the specific time is determined as t+Δ.
[0256] If the delay of the first path is less than the delay of the second path, and Δ is greater than or equal to the absolute value of t, then the specific time is determined as Δ.
[0257] If the delay of the first path is less than the delay of the second path, and Δ is less than the absolute value of t, then the specific time is determined to be 0.
[0258] Where t is the difference between the delay of the first path and the delay of the second path, and Δ includes at least one of the following: the error compensation value of the delay measurement and the time required to identify the path switching indication frame.
[0259] In some exemplary embodiments, the network management server is also used for:
[0260] The first customer service is determined to be the customer service that requires path switching based on the bandwidth occupied by the second customer service; the second customer service is a newly added customer service.
[0261] Alternatively, the first customer service can be determined as the customer service requiring path switching based on the target bandwidth occupied by the third customer service; among which, the third customer service is the customer service requiring bandwidth adjustment.
[0262] The specific implementation process of the path switching system is the same as that of the path switching method in the aforementioned embodiments, and will not be repeated here.
[0263] It will be understood by those skilled in the art that all or some of the steps, systems, or apparatuses disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned above does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0264] Example embodiments have been disclosed herein, and while specific terminology has been used, it is for illustrative purposes only and should be construed as such, and is not intended to be limiting. In some instances, it will be apparent to those skilled in the art that features, characteristics, and / or elements described in connection with particular embodiments may be used alone, or in combination with features, characteristics, and / or elements described in connection with other embodiments, unless otherwise expressly indicated. Therefore, those skilled in the art will understand that various changes in form and detail may be made without departing from the scope of this application as set forth by the appended claims.
Claims
1. A path switching method, comprising: a source node stopping sending a first client traffic through a first path; the source node sending a path switching indication frame through the first path, wherein the path switching indication frame is used to inform a sink node to perform path switching; after a certain time, the source node switching the first client traffic from the first path to a second path for sending; the certain time is determined by the source node according to a latency of the first path and a latency of the second path, wherein the latency of the first path and the latency of the second path are respectively obtained by the source node performing latency measurement on the first path and the second path; the source node determining the certain time according to the latency of the first path and the latency of the second path comprises at least one of the following: if the latency of the first path is greater than the latency of the second path, the source node determines the certain time as t+Δ; if the latency of the first path is less than the latency of the second path, and Δ is greater than or equal to an absolute value of t, the source node determines the certain time as Δ; if the latency of the first path is less than the latency of the second path, and Δ is less than the absolute value of t, the source node determines the certain time as 0; wherein t is a difference between the latency of the first path and a one-way latency of the second path, and Δ comprises at least one of the following: an error compensation value of the latency measurement and a time required for identifying the path switching indication frame. 2.The path switching method of claim 1, wherein the second path is a path created by the source node before the source node stops sending the first client traffic through the first path.
3. The path switching method of claim 1, before the source node stops sending the first customer traffic over the first path, the method further comprising: the source node sends a first keep-alive frame through the second path at a first rate.
4. The path switching method according to any one of claims 1 to 3, wherein the source node sending the path switching indication frame through the first path comprises at least one of the following: the source node sends the path switching indication frame through the first path at a second rate; the source node sends a fixed number of the path switching indication frames through the first path, and sends a second keep-alive frame through the first path at a third rate. 5.The path switching method of any one of claims 1-3, further comprising: the sink node switches from the first path to the second path to receive the first client traffic after detecting the path switching indication frame on the first path, wherein the path switching indication frame is used to inform the sink node to perform path switching. 6.An electronic device, comprising: at least one processor; a memory having at least one program stored thereon, wherein the at least one program, when executed by the at least one processor, implements the path switching method according to any one of claims 1-5. 7.A computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the path switching method according to any one of claims 1-5. 8.A path switching system, comprising: a source node configured to: stop sending a first client traffic through a first path; sending a path switching indication frame through the first path; wherein the path switching indication frame is used to inform the sink node to switch paths; switching the first client traffic from the first path to the second path after a specific time; the specific time is determined by the source node according to a time delay of the first path and a time delay of the second path, and the time delay of the first path and the time delay of the second path are respectively obtained by the source node through time delay measurement of the first path and the second path; the source node determining the specific time according to the time delay of the first path and the time delay of the second path comprises at least one of the following: if the time delay of the first path is greater than the time delay of the second path, the source node determines the specific time as t+Δ; if the time delay of the first path is less than the time delay of the second path, and Δ is greater than or equal to the absolute value of t, the source node determines the specific time as Δ; if the time delay of the first path is less than the time delay of the second path, and Δ is less than the absolute value of t, the source node determines the specific time as 0; wherein t is the difference between the time delay of the first path and the one-way time delay of the second path, and Δ comprises at least one of the following: an error compensation value of time delay measurement and a time required to identify the path switching indication frame; a sink node, configured to switch from the first path to the second path to receive the first client traffic when the path switching indication frame is detected on the first path.
Citation Information
Patent Citations
Method, system and device for communication in the optical network system
CN102648590A
Data transmission method, destination node and source node
CN108337160A
Channel bandwidth adjusting method and system
CN111464889A