A service transmission method and related devices
By configuring different types of tunnels in optical fiber communication systems and setting work priorities, the business interruption problem caused by protection path failure in the prior art is solved, and the reliability and stability of the communication system are improved.
Patent Information
- Application Number
- CN202110466750.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-28
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2041-04-28
AI Technical Summary
Although the existing optical fiber communication system adopts a "1+1" protection mechanism when the fiber is broken, if the protection path also fails, service transmission will be interrupted, resulting in a decrease in the reliability and stability of the communication.
By configuring different types of first and second tunnels in the communication device, forming a combined tunnel and setting a working priority for it. If the working tunnel fails, traffic transmission will be used to use the tunnel with low working priority to achieve protection of the working tunnel.
It improves the reliability and stability of the communication system, avoids business interruptions caused by dual failures, and enhances the system's fault tolerance.
Smart Images

Figure CN115347943B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of communications, and in particular, to a service transmission method and related devices. Background Art
[0002] Optical fiber communication has stood out in the field of optical communication due to its advantages such as good confidentiality, low signal interference, and large communication capacity, and plays a crucial role in modern communication. However, at the same time, optical fiber communication also has some drawbacks. Since the texture of optical fibers is brittle and the mechanical strength is poor, fiber breakage is likely to occur, affecting the communication quality.
[0003] In a service transmission method, the subnet connection protection (SNCP) technology is used to protect the optical transport network (OTN) tunnel. When SNCP provides "1+1" protection, that is, a working path and a protection path are set for service transmission, when the working path fails (such as fiber breakage), the service can be transmitted through the protection path.
[0004] In this method, since SNCP provides "1+1" protection, if the protection path also fails, the service will be interrupted due to the lack of a transmission path, reducing the reliability and stability of communication. Summary of the Invention
[0005] Embodiments of the present application provide a service transmission method, which increases the reliability and stability of communication through the way of tunnel combination.
[0006] The first aspect of the embodiments of the present application provides a service transmission method, including:
[0007] A communication device can configure a first tunnel and a second tunnel capable of service transmission in a network to obtain a combined tunnel. Wherein, the types of the first tunnel and the second tunnel are different. The communication device configures respective corresponding working priorities for the first tunnel and the second tunnel, and determines the tunnel with the higher working priority as the working tunnel. When the working tunnel is normal, service transmission can be based on the working tunnel; if the working tunnel fails, the tunnel with the lower working priority among the first tunnel and the second tunnel can be used for service transmission.
[0008] In the embodiments of the present application, the capabilities of different types of tunnels are integrated, and the tunnel with the lower working priority is used to protect the working tunnel. When the working tunnel fails, service transmission can be based on the tunnel with the lower working priority, improving the reliability and stability of communication.
[0009] In combination with the first aspect, in the first implementation manner of the first aspect of the embodiments of the present application, a communication device may determine the working priorities of different types of tunnels according to the communication quality of the tunnels, so as to determine the working tunnel. When the communication quality of the first tunnel is higher than that of the second tunnel, the communication device may determine that the first working priority is higher than the second working priority, and the first tunnel is the working tunnel. When the communication quality of the second tunnel is higher than that of the first tunnel, the communication device may determine that the second working priority is higher than the first working priority, and the second tunnel is the working tunnel.
[0010] In the embodiments of the present application, the tunnel with higher communication quality is determined as the working tunnel, so that when the service is transmitted, the tunnel with good communication quality is preferentially used, further improving the reliability of communication.
[0011] In combination with the first aspect, or the first implementation manner of the first aspect, in the second implementation manner of the first aspect of the embodiments of the present application, the first tunnel may be an OTN tunnel, or an optical data unit k (ODUk) tunnel. In addition, it may also be other tunnels, such as a liquid OTN tunnel. The second tunnel is a statistical multiplexing tunnel, which may be a multi-protocol label switching (MPLS) pipeline, or a segment routing (SR) pipeline. In addition, it may also be other statistical multiplexing pipelines, such as a label distribution protocol (LDP) pipeline, or a resource reservation protocol (RSVP) pipeline. Specifically, it is not limited here.
[0012] In the embodiments of the present application, the first tunnel and the second tunnel have various types and can be selected according to the actual application needs, improving the flexibility of the technical solution.
[0013] In combination with the first aspect, any one of the first to second implementation manners of the first aspect, in the third implementation manner of the first aspect of the embodiments of the present application, the second tunnel may include N communication tunnels. The N communication tunnels may be communication tunnels of the same type or different types. Specifically, it is not limited here. Among the N communication tunnels, there may be M target communication tunnels, and each target communication tunnel may establish its own protection mechanism. That is to say, each target communication tunnel may include a working path and a protection path. Where 1 ≤ M ≤ N, and M and N are integers.
[0014] Combined with the first aspect and any one of the first to third implementation manners of the first aspect, in the fourth implementation manner of the first aspect of the embodiments of the present application, since the service is not aware of the type of the tunnel during transmission, the communication device can also bind the first tunnel and the second tunnel to the tunnel members to establish a logical tunnel, and determine the tunnel for service transmission by configuring the attributes of the tunnel members. The communication device can define the attributes of the tunnel members corresponding to the working tunnel as working, and define the attributes of the tunnel members corresponding to the tunnel with a lower working priority as protection. If there are multiple tunnels with a lower working priority, the communication device can also determine the priorities of these multiple tunnels.
[0015] Combined with the first aspect and any one of the first to third implementation manners of the first aspect, in the fourth implementation manner of the first aspect of the embodiments of the present application, multiple services can be directly carried on the combined tunnel, which can be a virtual private network (VPN) service, such as an L2VPN service, an L3VPN service, or an Ethernet virtual private network (EVPN) service, or other services that can be transmitted based on tunnels, such as a border gateway protocol (BGP) routing service. Specifically, it is not limited here.
[0016] Combined with the first aspect and any one of the first to fourth implementation manners of the first aspect, in the fifth implementation manner of the first aspect of the embodiments of the present application, the communication device can be various types of devices, which can be a cloud server, a terminal device, or other devices, such as an OTN device. Specifically, it is not limited here.
[0017] The embodiments of the second aspect of the present application provide a service transmission device, including:
[0018] A processing unit, configured to configure a first tunnel and a second tunnel, where the type of the first tunnel is different from the type of the second tunnel. Then, from the first tunnel and the second tunnel, determine the tunnel with a higher working priority as the working tunnel.
[0019] A sending unit, configured to, if the working tunnel is normal, perform service transmission based on the working tunnel; if the working tunnel fails, perform service transmission based on the tunnel with a lower working priority.
[0020] This service transmission device is used to execute the method shown in the foregoing first aspect.
[0021] In the third aspect of the embodiments of the present application, a communication device is provided, including a processor, a memory, and a communication interface. The processor, the memory, and the communication interface are connected. The processor is configured to execute the method in the foregoing first aspect. The beneficial effects shown in this aspect are similar to those in the first aspect and will not be elaborated here.
[0022] In the third aspect of the embodiments of the present application, a computer-readable storage medium is provided. A program is stored in the computer-readable storage medium. When the computer executes the program, the method in the first aspect is executed.
[0023] In the fourth aspect of the embodiments of the present application, a computer program product is provided, characterized in that when the computer program product is executed on a computer, the computer executes the method in the first aspect. Description of the Drawings
[0024] Figure 1 It is a schematic diagram of a system architecture for the service transmission method provided by the embodiments of the present application;
[0025] Figure 2 It is a schematic flowchart of the service transmission method provided by the embodiments of the present application;
[0026] Figure 3 It is a model diagram of a combined tunnel provided by the embodiments of the present application;
[0027] Figure 4 It is a schematic diagram of an application scenario of the service transmission method provided by the embodiments of the present application;
[0028] Figure 5 It is a schematic diagram of the principle of the service transmission method provided by the embodiments of the present application;
[0029] Figure 6 It is another schematic diagram of an application scenario of the service transmission method provided by the embodiments of the present application;
[0030] Figure 7 It is another schematic diagram of an application scenario of the service transmission method provided by the embodiments of the present application;
[0031] Figure 8 It is a schematic diagram of the structure of the service transmission device provided by the embodiments of the present application;
[0032] Figure 9 It is a schematic diagram of the structure of the communication device provided by the embodiments of the present application. Detailed Embodiments
[0033] The embodiment of the present application provides a service transmission method, which combines the capabilities of different types of tunnels and uses a tunnel with a low working priority to protect the working tunnel. In the case of a working tunnel failure, service transmission can be based on the tunnel with a low working priority, improving the reliability and stability of communication.
[0034] First, a brief description of the system architecture to which the service transmission method provided by the embodiment of the present application is applied will be given. Please refer to Figure 1 , Figure 1 which is a schematic diagram of the system architecture of the service transmission method provided by the embodiment of the present application.
[0035] When an OTN pipeline performs service transmission, SNCP protection can provide "1+1" protection capabilities, establishing a working path and a protection path for service transmission. As Figure 1 shown, the working path of a service transmitted from device 1 to device 3 is device 1 -> device 2 -> device 3, and the protection path is device 1 -> device 4 -> device 5 -> device 6 -> device 3. If the working path fails, the service can be transmitted based on the protection path. If the protection path also fails, the existing "1+1" protection will fail, resulting in the inability to transmit the service. In this case, the service transmission method provided by the embodiment of the present application can ensure the reliability of service transmission based on the configuration of the existing architecture.
[0036] Next, an explanation will be given in combination with the process of the embodiment of the present application. Please refer to Figure 2 , Figure 2 which is a schematic flow diagram of the service transmission method provided by the embodiment of the present application, including:
[0037] 201. A communication device configures a first tunnel and a second tunnel, and the types of the first tunnel and the second tunnel are different.
[0038] The communication device can combine different types of the first tunnel and the second tunnel in a network to obtain a combined tunnel. There are various possible situations for the first tunnel and the second tunnel. For the sake of simplicity of explanation, in the embodiment of the present application, the first tunnel is taken as an ODUk tunnel and the second tunnel is taken as an MPLS tunnel as an example for explanation. After the communication device combines the tunnels, the model of the obtained combined tunnel is as Figure 3 shown.
[0039] Figure 3 The combined tunnel in Figure 3The ODUk tunnel and the MPLS tunnel in it are tunnel member 1 and tunnel member 2 respectively. In practical applications, there can be other tunnel members. For example, the SR tunnel is tunnel member 3. Specifically, it is not limited here. As long as the starting point and the ending point of the tunnel in each tunnel member are the same, that is to say, as long as these tunnels can realize the transmission of the same service. The number of tunnels included in each tunnel member can be one or multiple, and it is selected according to the needs of practical applications. Specifically, it is not limited here.
[0040] The communication device can also configure protection types for the tunnels in the tunnel members. For example, configure the "1+1" protection of SNCP for the ODUk tunnel and configure hot standby (HSB) protection for the MPLS tunnel. The protection type of each tunnel is related to the attributes of the tunnel itself. The protection types of different types of tunnels can be different or the same, and it is selected according to the needs of practical applications. Specifically, it is not limited here.
[0041] 202. The communication device determines the tunnel with a higher working priority as the working tunnel from the first tunnel and the second tunnel.
[0042] After the communication device configures the combined tunnel, it can determine the working priorities of the tunnels according to the communication quality of each tunnel in the combined tunnel, and determine the tunnel with a higher working priority as the working tunnel.
[0043] Since the ODUk pipeline and the liquid OTN pipeline belong to high-quality pipelines, they have advantages such as hard isolation of service bearing, no packet loss and congestion, and deterministic delay. The communication quality of the tunnels formed by these pipelines is relatively high. While the MPLS pipeline belongs to a pipeline with relatively low quality, there is no hard isolation of service bearing. During traffic bursts, there may be packet loss and congestion, and the delay is also uncertain. Therefore, the communication quality of the MPLS tunnel is relatively poor.
[0044] 203. The communication device determines whether the working tunnel fails. If so, it executes step 204; if not, it executes step 205.
[0045] After the communication device determines the working tunnel, it can select the transmission mode of the service according to the state of the working tunnel, so as to ensure the stability and reliability of the service transmission. If the working tunnel only has a working path, then the failure of the working tunnel means that the working path fails; if the working tunnel includes a working path and a protection path, then the failure of the working tunnel means that both the working path and the protection path fail. Among them, the failure of the working path or the protection path includes that the optical fiber on the path fails, such as fiber breakage; or the intermediate device on the path fails. Among them, the intermediate device refers to the device that the service needs to pass through in addition to the source device and the destination device in the service transmission path. For example Figure 4The device 2, device 4, or device 5 shown.
[0046] 204. The communication device performs service transmission based on the working tunnel.
[0047] When the working tunnel has no fault, the communication device can perform service transmission based on the working tunnel.
[0048] 205. The communication device performs service transmission based on the tunnel with a lower working priority.
[0049] If the working tunnel fails, the communication device can perform protection switching and perform service transmission based on the tunnel with a lower working priority.
[0050] In the embodiments of the present application, the capabilities of different types of tunnels are integrated, and the tunnel with a lower working priority is used to protect the working tunnel. When the working tunnel fails, service transmission can be performed based on the tunnel with a lower working priority, improving the reliability and stability of communication.
[0051] For a clearer description, please refer to Figure 4 and Figure 5 , Figure 4 which is a schematic diagram of an application scenario of the service transmission method provided by the embodiments of the present application, Figure 5 and
[0052] as Figure 4 shown. Assume that the first tunnel is an ODUk tunnel, the second tunnel is an MPLS tunnel, the tunnel with a higher working priority is the ODUk tunnel, and the ODUk tunnel is configured with SNCP "1+1" protection. Its working path is device 1 -> device 2 -> device 3, and the protection path is device 1 -> device 4 -> device 5 -> device 6 -> device 3. If the optical fibers between device 1 and device 2, and between device 5 and device 6 fail, then the working tunnel fails and service transmission cannot be performed. In this case, the communication device can control the service to be transmitted based on the MPLS tunnel. The transmission path of the MPLS tunnel is device 1 -> device 4 -> device 5 -> device 2 -> device 3.
[0053] The scenario shown in Figure 4 can be generalized to obtain Figure 5 . Figure 5 The source device in Figure 4 represents the starting point of service transmission, corresponding to device 1 in Figure 4 . The destination device represents the end point of service transmission, corresponding to device 3 in Figure 4 . The device set A corresponds to device 2 in Figure 4Devices 4, 5, and 6 therein. The device set C corresponds to Figure 4 Devices 4, 5, and 2 therein.
[0054] When configuring a combined tunnel, the communication device can also configure the protection type of the combined tunnel. Figure 4 The protection type of the combined tunnel in the illustrated embodiment is 1+1, that is to say, there is 1 working member and 1 protection member, and the tunnel corresponding to the protection member is the MPLS tunnel. In practical applications, there can be multiple protection members. In this case, the protection type of the combined tunnel is 1+n, where n≥2 and n is an integer. The protection type of the combined tunnel is selected according to the needs of practical applications, and specific details are not limited here.
[0055] The following takes the protection type of the combined tunnel being 1+2 as an example for illustration. For example, Figure 6 In the application scenario shown, there are two protection members, corresponding to the MPLS tunnel and the SR tunnel respectively. The communication device can define the protection priorities of the respective protection members. When the working tunnel fails, it can select the one with a higher protection priority for service transmission. If the tunnel with a higher protection priority fails, the communication device can select the one with a lower protection priority for service transmission. For example, in Figure 6 In the illustrated embodiment, the communication device can define that the protection priority of the MPLS tunnel is higher than that of the SR tunnel. When the working tunnel fails, the communication device can preferentially select the MPLS tunnel for service transmission. If the MPLS tunnel also fails, the communication device selects the SR tunnel for service transmission. The protection priorities of the protection members are determined according to the needs of practical applications, and specific details are not limited here.
[0056] It should be noted that when there are multiple protection members in the combined tunnel, the tunnel types corresponding to the respective protection members can be the same or different, and specific details are not limited here.
[0057] Optionally, the communication device can also configure the protection mechanism of the protection member. For example, Figure 7As shown in the figure, taking the tunnel corresponding to the protected member as an MPLS tunnel as an example, the communication device can configure a 1+1 protection mechanism for it. Two transmission paths are provided for the MPLS tunnel device. The first transmission path is device 1 -> device 5 -> device 6 -> device 3 -> device 4, and the second transmission path is device 1 -> device 5 -> device 6 -> device 3 -> device 7 -> device 8 -> device 4. At the same time, the communication device can also set the priorities of these two paths, so that when the MPLS tunnel performs service transmission, it preferentially uses the path with a higher priority for transmission. If the path with a higher priority fails, then use the other path to transmit the service. The number of paths included in the protected member and the protection mechanism of the protected member are selected according to the actual application needs, and are not specifically limited here.
[0058] The following describes the service transmission device provided in the embodiments of the present application. Please refer to Figure 8 , Figure 8 which is a schematic structural diagram of the service transmission device provided in the embodiments of the present application. The service transmission device 800 includes:
[0059] A processing unit 801, configured to configure a first tunnel and a second tunnel, where the type of the first tunnel is different from the type of the second tunnel; determine the tunnel with a higher working priority from the first tunnel and the second tunnel as the working tunnel.
[0060] A sending unit 802, configured to perform service transmission based on the working tunnel if the working tunnel is normal; perform service transmission based on the tunnel with a lower working priority in the first tunnel and the second tunnel if the working tunnel fails.
[0061] In some alternative embodiments, the processing unit 802 is specifically configured to determine the first tunnel as the working tunnel if the communication quality of the first tunnel is better than the communication quality of the second tunnel; determine the second tunnel as the working tunnel if the communication quality of the second tunnel is better than the communication quality of the first tunnel.
[0062] In some alternative embodiments, the first tunnel is an optical transport network tunnel or an optical data unit k tunnel, and the second tunnel is a statistical multiplexing tunnel.
[0063] In some alternative embodiments, the second tunnel includes N communication tunnels, the N communication tunnels include M target communication tunnels, the target communication tunnels include a working path and a protection path, 1≤M≤N, and M and N are integers.
[0064] The service transmission device 800 can perform the operations performed by the communication device in the foregoing Figures 2 to 7 shown embodiments, and details are not described here again.
[0065] The following describes the communication device provided in the embodiments of the present application. Please refer to Figure 9, Figure 9 It is a schematic structural diagram of a communication device provided by an embodiment of the present application. The communication device 900 includes: a processor 901 and a memory 902, and one or more application programs or data are stored in the memory 902.
[0066] Among them, the memory 902 can be volatile storage or persistent storage. The programs stored in the memory 902 can include one or more modules, and each module can be used to execute a series of operations performed by the communication device 900. Further, the processor 901 can communicate with the memory 902 and execute a series of instruction operations in the memory 902 on the communication device 900. The processor 901 can be a central processing unit (CPU), or a single-core processor. In addition, it can also be other types of processors, such as a dual-core processor, which is not specifically limited here.
[0067] The communication device 900 can also include one or more communication interfaces 903, and one or more operating systems, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
[0068] The communication device 900 can perform the operations performed by the communication device in the foregoing Figures 2 to 7 illustrated embodiment, which will not be elaborated here specifically.
[0069] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the above-described systems, devices, and units can refer to the corresponding processes in the foregoing method embodiments, which will not be elaborated here.
[0070] In several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of units is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces, and the indirect coupling or communication connection of devices or units can be in electrical, mechanical or other forms.
[0071] The unit described as a separation component may or may not be physically separated. The component displayed as a unit may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0072] In addition, each functional unit in various embodiments of the present application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0073] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in various embodiments of the present application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
Claims
1. A service transmission method, characterized in that, it includes: configuring a first tunnel and a second tunnel, where the type of the first tunnel is different from the type of the second tunnel; the configuring of the first tunnel and the second tunnel includes: configuring the protection type of the first tunnel based on the attributes of the first tunnel itself, and configuring the protection type of the second tunnel based on the attributes of the second tunnel itself; determining, from the first tunnel and the second tunnel, the tunnel with a higher working priority as the working tunnel; if the working tunnel is normal, performing service transmission based on the working tunnel; if the working tunnel fails, performing service transmission based on the tunnel with a lower working priority among the first tunnel and the second tunnel.
2. The method according to claim 1, characterized in that, the determining of the tunnel with a higher working priority as the working tunnel includes: if the communication quality of the first tunnel is better than the communication quality of the second tunnel, determining that the working priority of the first tunnel is higher than the working priority of the second tunnel; if the communication quality of the second tunnel is better than the communication quality of the first tunnel, determining that the working priority of the second tunnel is higher than the working priority of the first tunnel.
3. The method according to claim 1 or 2, characterized in that, the first tunnel is an optical transport network tunnel or an optical data unit k tunnel, and the second tunnel is a statistical multiplexing tunnel.
4. The method according to any one of claims 1 to 2, characterized in that, the second tunnel includes N communication tunnels, the N communication tunnels include M target communication tunnels, the target communication tunnels include a working path and a protection path, 1 ≤ M ≤ N, and M and N are integers.
5. A service transmission device, characterized in that, it includes: a processing unit, configured to: configure a first tunnel and a second tunnel, where the type of the first tunnel is different from the type of the second tunnel; determine, from the first tunnel and the second tunnel, the tunnel with a higher working priority as the working tunnel; the processing unit is specifically configured to configure the protection type of the first tunnel based on the attributes of the first tunnel itself, and configure the protection type of the second tunnel based on the attributes of the second tunnel itself; a sending unit, configured to: if the working tunnel is normal, perform service transmission based on the working tunnel; if the working tunnel fails, perform service transmission based on the tunnel with a lower working priority among the first tunnel and the second tunnel.
6. The device according to claim 5, characterized in that, the processing unit is specifically configured to: if the communication quality of the first tunnel is better than the communication quality of the second tunnel, determine the first tunnel as the working tunnel; if the communication quality of the second tunnel is better than the communication quality of the first tunnel, determine the second tunnel as the working tunnel.
7. The device according to claim 5 or 6, characterized in that, the first tunnel is an optical transport network tunnel or an optical data unit k tunnel, and the second tunnel is a statistical multiplexing tunnel.
8. The device according to any one of claims 5 to 6, characterized in that, The second tunnel includes N communication tunnels, the N communication tunnels include M target communication tunnels, the target communication tunnels include a working path and a protection path, 1 ≤ M ≤ N, and M and N are integers.
9. A communication device, characterized in that, it includes: a processor, a memory, and a transceiver; the processor, the memory are connected to the transceiver; the processor is configured to execute the method according to any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that, the computer-readable storage medium stores a program, and when the computer executes the program, it executes the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Method and device for transmitting L2VPN service by using tunnel group in MPLS network
CN102065020A