DATA TRANSFER PROTECTION METHOD, DEVICE, SYSTEM, COMPUTER PROGRAM AND COMPUTER-READY STORAGE MEDIUM
Patent Information
- Application Number
- DE602019067819
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2018-04-27
- Filing Date
- 2019-01-22
- Publication Date
- 2025-03-26
- Estimated Expiration
- 2039-01-22
AI Technical Summary
Current communication networks, especially those integrating IT and OT, face challenges in providing deterministic services for low-speed data flows sensitive to time delay and packet loss, as best effort services are insufficient to meet the requirements of new services like blockchain, which are sensitive to time delay and packet loss.
A data transmission protection method involving same-path redundant copying of data flows in low-speed deterministic networks, where a packet header with a control word and flow identification is encapsulated at the ingress node, copied, and transmitted alongside the original data flow, allowing for recovery at the terminating node, thereby reducing or eliminating packet loss and time delay.
This approach effectively reduces packet loss and time delay in low-speed deterministic network services by ensuring complete data flow recovery even in the presence of packet loss, maintaining service integrity and reducing delays.
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the field of communication technology, and in particular, to a data transmission protection method, a data transmission protection system, and a computer readable storage medium.BACKGROUND
[0002] In the communication field, for some communication services, such as industrial control, sensitive to time delay or packet loss, the time delay and a packet loss rate of the services are conventionally guaranteed through a proprietary device / proprietary protocol (such as field bus) / proprietary line, and along with gradual fusion of IT and OT, an IT network must provide deterministic network services similar to OT to support seamless docking and migration of the services; some new services, such as a block chain, are more and more sensitive to the time delay due to applications supported by the new services, best effort services of current network cannot meet requirements, and the network is urgently required to provide services such as deterministic time delay / packet loss / jitter and the like.
[0003] U.S. patent application US2013132789A1 provides video transmission systems and methods with video data flows transmitted over a Carrier Ethernet Network at Layer 2 with redundancy in order to provide hitless protection switching and uninterrupted video service delivery, such as during periods of asymmetric congestion or hard network failures. In an exemplary embodiment, the video transmission systems and methods provide the redundancy in a manner similar to 1+1 linear protection with hit-less protection switching. In another exemplary embodiment, the video transmission systems and methods provide encapsulated video signals over Ethernet using standardized Carrier Ethernet frames with additional sequencing information. Optionally, the video transmission systems and methods may also include packet-based forward error correction information for additional resiliency. These video transmission systems and methods provide uninterrupted and error-free video during broadcast despite network events such as fiber breaks, equipment failures, congestion, etc.
[0004] U.S. patent application US2007280217A1 provides a method and software solution to add robustness to real-time media streams such as voice, video and audio streams on a network. When the network channel carrying the media stream experiences an adverse condition that affects the transmissions, such as high packet loss or corruption of packets, a robust mode is activated at an intermediate node of the end-to-end transmission for the media stream to the destination link. The robust mode of the present invention may be activated on specific network links that are experiencing the network problems and not necessarily on the end-to-end communication path. Under certain conditions, an intermediate network node may terminate robust mode in packets received from an upstream link when the network channel in question no longer experiences the adverse network condition.
[0005] U.S. patent application US2006014330A1 provides a manufacturing method for an SOI wafer with a high productivity in which generation of a void is suppressed in manufacturing the SOI wafer. In a manufacturing method for an SOI wafer of the present invention in which two starting wafers are prepared, an insulating layer is formed on at least one of the two starting wafers and the one wafer is adhered to the other wafer without using an adhesive agent, the starting wafers each with no line defect on a surface thereof are used. In a manufacturing method for an SOI wafer of the present invention in which two starting wafers are prepared, an insulating layer is formed on at least one of the two starting wafers and the one wafer is adhered to the other wafer without using an adhesive agent, the starting wafers are subjected to a high temperature heat treatment in advance.
[0006] U.S. patent application US2012158990A1 provides a method which includes receiving a constant bit rate data stream, segmenting the constant bit rate data stream into fixed size blocks of data, generating a time stamp indicative of a system reference clock, the time stamp being in reference to a clock rate of the constant bit rate data stream, encapsulating, in an electronic communication protocol frame, a predetermined number of fixed blocks of data along with (i) a control word indicative of, at least, a relative sequence of the predetermined number of fixed blocks of data in the constant bit rate stream and (ii) the time stamp, and transmitting the electronic communication protocol frame to a packet switched network.
[0007] U.S. patent application US2009178096A1 provides an intelligent multi-sending of data stream segments, comprising: monitoring one or more variable data transmission parameters, detecting one or more invariant media data segment parameters, assigning a value to the media data segment based upon the one or more invariant media data segment parameters and the one or more variable data transmission parameters, comparing the value to a threshold, and sending multiple copies of the media data segment over a network link to a media receiver if the value is above the threshold.SUMMARY
[0008] In view of above, an object of the present disclosure is to provide a method, and a system for protecting data transmission and a computer-readable storage medium, which reduce or even eliminate an influence of a packet loss event and reduce a time delay of service by performing a same-path redundant copying on a data flow of a low-speed deterministic network service.
[0009] The invention is set out in the appended set of claims.DESCRIPTION OF DRAWINGS
[0010] Fig. 1 is a flowchart of a data transmission protection method according to the present disclosure; Fig. 2 is a schematic diagram of a data flow transmission according to the present disclosure; Fig. 3 is another flowchart of a data transmission protection method according to the present disclosure; Fig. 4 is a schematic diagram of structure of a packet header according to the present disclosure; Fig. 5 is a schematic diagram of structure of a control word according to the present disclosure; Fig. 6 is a block diagram of an exemplary structure of a data transmission protection device according to the present disclosure; Fig. 7 is a block diagram of another exemplary structure of a data transmission protection device according to the present disclosure; and Fig. 8 is a block diagram of an exemplary structure of a recovery module shown in Fig. 6.
[0011] Objects, features, and advantages of the present disclosure will be further explained with reference to the accompanying drawings.DESCRIPTION OF EMBODIMENTS
[0012] In order to make technical problems to be solved by the present disclosure, technical solutions and beneficial effects of the present disclosure clearer and more obvious, the present disclosure is further described in detail below with reference to the accompanying drawings. It should be understood that the specific descriptions herein are merely illustrative of the present disclosure and do not limit the present disclosure.
[0013] As shown in Fig. 1, the present disclosure provides a data transmission protection method, including steps S10 to S30.
[0014] At step S10, a packet header is encapsulated for a data flow to be transmitted at an ingress node to form an encapsulated data flow, where the packet header includes a control word and a flow identification.
[0015] At step S20, the encapsulated data flow is copied to obtain a copied data flow, and the encapsulated data flow and the copied data flow are transmitted together.
[0016] At step S30, the data flow is recovered at a terminating node according to the control word and the flow identification.
[0017] In the present disclosure, a same-path redundant copying is performed on the data flow of a low-speed deterministic network service, so that an influence of a packet loss event is reduced or even eliminated, and the time delay of the service is reduced.
[0018] In the present disclosure, each of copy and recovery processes of the data flow (also referred to as a service flow) is finished at an edge node of a network, where the ingress node is an edge node of the network at a transmitting terminal, and the data flow is encapsulated and copied at the ingress node, and the terminating node is an edge node of the network at a receiving terminal, and the data flow is recovered at the terminating node.
[0019] As shown in Fig. 2, in the present disclosure, at least one copied data flow (including four data packets ABCD shown in Fig. 2) is obtained by copying the data flow to be transmitted (including the four packets ABCD), and is transmitted together with an original data flow, even if there is a packet loss event in a transmission process, as shown in Fig. 2, a packet B in the original data flow is lost, and a packet C in the copied data flow is lost, since there is the copied data flow, when finally recovering, the four packets ABCD may still be obtained, and the complete data flow is received.
[0020] As shown in Fig. 3, in the present disclosure, before the step S10, the method further includes steps S01 to S03.
[0021] At step S01, it is determined whether the data flow is a low-speed data steam sensitive to time delay and packet loss.
[0022] At step S02, in response to that the data flow is the low-speed data steam sensitive to time delay and packet loss, a unique flow identification is assigned to the data flow, and enter the step S10 to encapsulate the packet header for the data flow to be transmitted at the ingress node.
[0023] At step S03, in response to that the data flow is not the low-speed data steam sensitive to time delay and packet loss, directly transmit the data flow.
[0024] In the present disclosure, a rate threshold for determining whether the data flow is the low-speed data flow sensitive to time delay and packet loss is recommended to be 100kbps, and when a transmission rate of the data flow is less than the rate threshold, the data flow is the low-speed data flow. The rate threshold may be flexibly configured by an upper layer application according to a capacity of the network.
[0025] In the present disclosure, when the packet header is encapsulated for the data flow, the packet header includes a data payload, a control word, and a flow identification. Fig. 4 shows a schematic diagram of structure of the packet header, which includes two modes, one is an MPLS PW mode, and the other is an IPv6 mode, and with such structural design, it is easy to keep compatibility with a data plane design of a DetNet (deterministic network).
[0026] In the present disclosure, the flow identification is used to uniquely identify a specific data flow, in a network domain where the data flow is transmitted, for nodes of the network. For a same data flow or a same packet, the flow identification and the control word corresponding thereto are constant, and are irrelevant to whether the redundant copying is performed. Specifically, a PW (Pseudowire) label identification, and an identification combining a flow label and a source address in an IPv6 header structure may be used to identify the data flow.
[0027] As shown in Fig. 5, in the present disclosure, the control word mainly includes a packet sequence number. The control word may have a total of four bytes, two bytes for the packet sequence number, and two bytes for a reserved field, and such structural design is adopted to maintain compatibility with technical mechanisms related to multi-path service protection in TSN (time sensitive network) and DetNet (deterministic network). Control words corresponding to the same service flow data packets are the same, and no matter how many copies of an original data packet are, the control words are the same as that of the original data packet, so that the data flow may be identified and recovered at the edge node.
[0028] In the present disclosure, the step S20 specifically includes: copying the encapsulated data flow to obtain (1+n) encapsulated data flows, flow identifications and control words of the (1+n) encapsulated data flows are completely the same, and n is an integer greater than or equal to 1; and transmitting the (1+n) encapsulated data flows to a receiving terminal together.
[0029] In the present disclosure, a value of n may be statically configured, or may be dynamically adjusted by a control plane according to network packet loss statistical data, where the value of n is configured to be relative large in response to that a current packet loss rate is relative high, and the value of n is configured to be relative small in response to that the current packet loss rate is relative low.
[0030] In the present disclosure, a method for copying the encapsulated data flow includes: copying the encapsulated data flow according to a time slice and copying the encapsulated data flow according to a number of specific consecutive packets, specifically, in response to that the service is a time continuous service, data is extracted and copied according to the time slice, such as 1 millisecond; and in response to that the service is an intermittent burst short-time service, data is extracted and copied according to the number of packets, such as copying is performed every 1000 packets.
[0031] In the present disclosure, if a relay node participates in the transmission of the data flow, the relay node performs indifferent forwarding on the data flow without identifying the copied redundant data or participating in a copying operation.
[0032] In the present disclosure, the step S30 includes: receiving the data flow, determining whether the data flow reaches the terminating node for a first time according to the control word of the data flow, in response to that the data flow reaches the terminating node for the first time, recovering the data flow, and removing the packet header encapsulated for the data flow; and in response to that the control word of the data flow currently received is the same as the control word of the data flow previously received, discarding the data flow currently received.
[0033] Taking Fig. 2 as an example, when the terminating node (node 3 shown in the figure) receives the data flow ACDABD subjected to the packet loss, in response to that the data packet A is received for a first time, the data packet A is recovered, and the packet header previously encapsulated for the data packet A is removed, and in response to that the data packet A is received for a second time, since the data packet A is a copied data packet A, the control word of the copied data packet A is the same as the control word of the data packet A received for the first time, the copied data packet A is discarded.
[0034] In an application scenario of low-speed data flow, under a current or future IT network environment of services sensitive to time delay and packet loss, multiplication of the data flow caused by a redundant copying mechanism may be ignored to a certain extent for a capacity of the current IT network, but the packet loss and the time delay can be greatly reduced.
[0035] As shown in Fig. 6, the present disclosure provides a data transmission protection device, including: an encapsulation module 10, configured to encapsulate a packet header for a data flow to be transmitted at an ingress node to form an encapsulated data flow, where the packet header includes a control word and a flow identification; a copying and transmitting module 20, configured to copy the encapsulated data flow to obtain a copied data flow and transmit the encapsulated data flow and the copied data flow together; and a recovery module 30, configured to recover the data flow at a terminating node according to the control word and the flow identification.
[0036] According to the current invention, a same-path redundant copying is performed on the data flow of a low-speed deterministic network service, so that an influence of a packet loss event is reduced or even eliminated, and the time delay of the service is reduced.
[0037] In the present disclosure, each of copy and recovery processes of the data flow (also referred to as a service flow) is finished at an edge node of a network, where the ingress node is an edge node of the network at a transmitting terminal, and the data flow is encapsulated and copied at the ingress node, and the terminating node is an edge node of the network at a receiving terminal, and the data flow is recovered at the terminating node.
[0038] As shown in Fig. 2, in the present disclosure, at least one copied data flow (including four data packets ABCD shown in Fig. 2) is obtained by copying the data flow to be transmitted (including the four packets ABCD), and is transmitted together with an original data flow, even if there is a packet loss event in a transmission process, as shown in Fig. 2, a packet B in the original data flow is lost, and a packet C in the copied data flow is lost, since there is the copied data flow, when finally recovering, the four packets ABCD may still be obtained, and the complete data flow is received.
[0039] As shown in Fig. 7, according to the current invention, the data transmission protection device further includes: a determining module 40 configured to determine whether the data flow is a low-speed data flow sensitive to time delay and packet loss, in response to that the data flow is the low-speed data flow sensitive to time delay and packet loss, assign a unique flow identification to the data flow, and encapsulate the packet header for the data flow to be transmitted at the ingress node; and in response to that the data flow is not the low-speed data flow sensitive to time delay and packet loss, directly transmit the data flow.
[0040] In the present disclosure, a rate threshold for determining whether the data flow is the low-speed data flow sensitive to time delay and packet loss is recommended to be 100kbps, and when a transmission rate of the data flow is less than the rate threshold, the data flow is the low-speed data flow. The rate threshold may be flexibly configured by an upper layer application according to a capacity of the network.
[0041] In the present disclosure, when the packet header is encapsulated for the data flow, the packet header includes a data payload, a control word, and a flow identification. Fig. 4 shows a schematic diagram of structure of the packet header, which includes two modes, one is an MPLS PW mode, and the other is an IPv6 mode, and with such structural design, it is easy to keep compatibility with a data plane design of a DetNet (deterministic network).
[0042] In the present disclosure, the flow identification is used to uniquely identify a specific data flow, in a network domain where the data flow is transmitted, for nodes of the network. For a same data flow or a same packet, the flow identification and the control word corresponding thereto are constant, and are irrelevant to whether the redundant copying is performed. Specifically, a PW (Pseudowire) label identification, and an identification combining a flow label and a source address in an IPv6 header structure may be used to identify the data flow.
[0043] As shown in Fig. 5, in the present disclosure, the control word mainly includes a packet sequence number. The control word may have a total of four bytes, two bytes for the packet sequence number, and two bytes for a reserved field, and such structural design is adopted to maintain compatibility with technical mechanisms related to multi-path service protection in TSN (time sensitive network) and DetNet (deterministic network). Control words corresponding to the same service flow data packets are the same, and no matter how many copies of an original data packet are, the control words are the same as that of the original data packet, so that the data flow may be identified and recovered at the edge node.
[0044] In the present disclosure, the copying and transmitting module specifically is configured to: copy the encapsulated data flow to obtain (1+n) encapsulated data flows, where flow identifications and control words of the (1+n) encapsulated data flows are completely the same, and n is an integer greater than or equal to 1; and transmit the (1+n) encapsulated data flows to a receiving terminal together.
[0045] In the present disclosure, a value of n may be statically configured, or may be dynamically adjusted by a control plane according to network packet loss statistical data, where the value of n is configured to be relative large in response to that a current packet loss rate is relative high, and the value of n is configured to be relative small in response to that the current packet loss rate is relative low.
[0046] In the present disclosure, a method for copying the encapsulated data flow includes: copying the encapsulated data flow according to a time slice and copying the encapsulated data flow according to a number of specific consecutive packets, specifically, in response to that the service is a time continuous service, data is extracted and copied according to the time slice, such as 1 millisecond; and in response to that the service is an intermittent burst short-time service, data is extracted and copied according to the number of packets, such as copying is performed every 1000 packets.
[0047] In the present disclosure, if a relay node participates in the transmission of the data flow, the relay node performs indifferent forwarding on the data flow without identifying the copied redundant data or participating in a copying operation.
[0048] As shown in Fig. 8, in the present disclosure, the recovery module includes: a receiving element 31 configured to receive the data flow; a recovery element 32 configured to determine whether the data flow reaches the terminating node for a first time according to the control word of the data flow, and in response to that the data flow reaches the terminating node for the first time, recover the data flow and remove the packet header encapsulated for the data flow; and a discarding element 33 configured to discard the data flow currently received in response to that the control word of the data flow currently received is the same as the control word of the data flow previously received.
[0049] Taking Fig. 2 as an example, when the terminating node (node 3 shown in the figure) receives the data flow ACDABD subjected to the packet loss, in response to that the data packet A is received for a first time, the data packet A is recovered, and the packet header previously encapsulated for the data packet A is removed, and in response to that the data packet A is received for a second time, since the data packet A is a copied data packet A, the control word of the copied data packet A is the same as the control word of the data packet A received for the first time, the copied data packet A is discarded.
[0050] In an application scenario of low-speed data flow, under a current or future IT network environment of services sensitive to time delay and packet loss, multiplication of the data flow caused by a redundant copying mechanism may be ignored to a certain extent for a capacity of the current IT network, but the packet loss and the time delay can be greatly reduced.
[0051] The present disclosure provides a data transmission protection system, including a memory, a processor, and at least one application program stored in the memory and configured to be executed by the processor, the application program being configured to perform the data transmission protection method of the present disclosure described above.
[0052] The present disclosure provides a computer-readable storage medium, on which a computer program is stored, and the program, when executed by a processor, implements the data transmission protection method of the present disclosure described above.
[0053] It should be noted that the device, the system, and the computer-readable storage medium belong to the same concept as the method, and specific implementation processes thereof are described in detail in the method, and technical features in the method are all correspondingly applicable in the device, the system and the computer-readable storage medium, and are not described herein again.
[0054] The present disclosure provides the data transmission protection method, the data transmission protection device, the data transmission protection system and the computer readable storage medium, the method includes: encapsulating a packet header for a data flow to be transmitted at an ingress node to form an encapsulated data flow, where the packet header includes a control word and a flow identification; copying the encapsulated data flow to obtain a copied data flow, and transmitting the encapsulated data flow and the copied data flow together; and recovering the data flow at a terminating node according to the control word and the flow identification, and thus reducing or even eliminating an influence of a packet loss event and reducing a time delay of service by performing same-path redundant copying on the data flow of the low-speed deterministic network service.
[0055] Through the foregoing description of the present disclosure, it is clear to those skilled in the art that the method of the present disclosure may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is better. Based on such understanding, the technical solutions of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium (such as a ROM / RAM, a magnetic disk, and an optical disk), and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device) to perform the method according to the present disclosure.
[0056] The present disclosure has been described above with reference to the accompanying drawings, but the scope of the present disclosure is not limited thereto and is only limited by the appended claims.Industrial applicability
[0057] The present disclosure is suitable for the technical field of communication, and is used for reducing or even eliminating an influence of a packet loss event and reducing a time delay of service by performing same-path redundant copying on the data flow of the low-speed deterministic network service.
Claims
1. A data transmission protection method, comprising: encapsulating a packet header for a data flow to be transmitted at an ingress node to form an encapsulated data flow, wherein the packet header comprises a control word and a flow identification (S10); copying the encapsulated data flow to obtain a copied data flow, and transmitting the encapsulated data flow and the copied data flow through a same path (S20); and recovering the data flow at a terminating node according to the control word and the flow identification (S30), wherein before encapsulating the packet header for the data flow to be transmitted at the ingress node, the method further comprises: determining whether the data flow is a low-speed data flow sensitive to time delay and packet loss (S01), in response to that the data flow is the low-speed data flow sensitive to time delay and packet loss, assigning a unique flow identification to the data flow for encapsulating the packet header for the data flow to be transmitted at the ingress node (S02); and in response to that the data flow is not the low-speed data flow sensitive to time delay and packet loss, directly transmitting the data flow (S03).
2. The data transmission protection method according to claim 1, wherein the step of copying the encapsulated data flow to obtain the copied data flow, and transmitting the encapsulated data flow and the copied data flow together comprises: coping the encapsulated data flow to obtain (1+n) encapsulated data flows, wherein flow identifications and control words of the (1+n) encapsulated data flows are completely the same, and n is an integer greater than or equal to 1; and transmitting the (1+n) encapsulated data flows to a receiving terminal together.
3. The data transmission protection method according to claim 2, wherein the step of recovering the data flow at the terminating node according to the control word and the flow identification comprises: receiving the data flow, determining whether the data flow reaches the terminating node for a first time according to the control word of the data flow, in response to that the data flow reaches the terminating node for the first time, recovering the data flow, and removing the packet header encapsulated for the data flow; and in response to that the control word of the data flow currently received is the same as the control word of the data flow previously received, discarding the data flow currently received.
4. A data transmission protection system, comprising: an ingress node configured to encapsulate a packet header for a data flow to be transmitted to form an encapsulated data flow, and copy the encapsulated data flow to obtain a copied data flow and transmit the encapsulated data flow and the copied data flow through a same path, wherein the packet header comprises a control word and a flow identification; and a terminating node configured to recover the data flow according to the control word and the flow identification, wherein the ingress node is configured to determine whether the data flow is a low-speed data flow sensitive to time delay and packet loss before encapsulating the packet header for the data flow to be transmitted, in response to that the data flow is the low-speed data flow sensitive to time delay and packet loss, assign a unique flow identification to the data flow, and encapsulate the packet header for the data flow to be transmitted; and in response to that the data flow is not the low-speed data flow sensitive to time delay and packet loss, directly transmit the data flow.
5. The data transmission protection system according to claim 4, wherein the ingress node is configured to: copy the encapsulated data flow to obtain (1+n) encapsulated data flows, wherein flow identifications and control words of the (1+n) encapsulated data flows are completely the same, and n is an integer greater than or equal to 1; and transmit the (1+n) encapsulated data flows to a receiving terminal together.
6. The data transmission protection system according to claim 5, wherein the terminating node is configured to: receive the data flow; determine whether the data flow reaches the terminating node for a first time according to the control word of the data flow, and in response to that the data flow reaches the terminating node for the first time, recover the data flow and remove the packet header encapsulated for the data flow; and discard the data flow currently received in response to that the control word of the data flow currently received is the same as the control word of the data flow previously received.
7. A computer program, comprising instructions which, when the program is executed by a computer, cause the computer to perform the data transmission protection method according to any one of claims 1 to 3.
8. A computer-readable storage medium, storing a computer program, which, when executed by a processor, implements the data transmission protection method according to any one of claims 1 to 3.