Patent Description:
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.

patent application <CIT> provides video transmission systems and methods with video data flows transmitted over a Carrier Ethernet Network at Layer <NUM> 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 <NUM>+<NUM> 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..

patent application <CIT> 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.

patent application <CIT> 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.

patent application <CIT> 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.

patent application <CIT> 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.

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.

Objects, features, and advantages of the present disclosure will be further explained with reference to the accompanying drawings.

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.

As shown in <FIG>, the present disclosure provides a data transmission protection method, including steps S10 to S30.

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.

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.

At step S30, the data flow is recovered at a terminating node according to the control word and the flow identification.

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.

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.

As shown in <FIG>, in the present disclosure, at least one copied data flow (including four data packets ABCD shown in <FIG>) 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>, 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.

As shown in <FIG>, in the present disclosure, before the step S10, the method further includes steps S01 to S03.

At step S01, it is determined whether the data flow is a low-speed data steam sensitive to time delay and packet loss.

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.

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.

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.

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> 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).

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.

As shown in <FIG>, 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.

In the present disclosure, the step S20 specifically includes: copying the encapsulated data flow to obtain (<NUM>+n) encapsulated data flows, flow identifications and control words of the (<NUM>+n) encapsulated data flows are completely the same, and n is an integer greater than or equal to <NUM>; and transmitting the (<NUM>+n) encapsulated data flows to a receiving terminal together.

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.

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 <NUM> 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 <NUM> packets.

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.

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.

Taking <FIG> as an example, when the terminating node (node <NUM> 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.

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.

As shown in <FIG>, the present disclosure provides a data transmission protection device, including: an encapsulation module <NUM>, 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 <NUM>, 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 <NUM>, configured to recover the data flow at a terminating node according to the control word and the flow identification.

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.

As shown in <FIG>, according to the current invention, the data transmission protection device further includes: a determining module <NUM> 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.

In the present disclosure, the copying and transmitting module specifically is configured to: copy the encapsulated data flow to obtain (<NUM>+n) encapsulated data flows, where flow identifications and control words of the (<NUM>+n) encapsulated data flows are completely the same, and n is an integer greater than or equal to <NUM>; and transmit the (<NUM>+n) encapsulated data flows to a receiving terminal together.

As shown in <FIG>, in the present disclosure, the recovery module includes:.

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.

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.

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.

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.

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.

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.

Claim 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).