CN109560864B - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN109560864B
CN109560864B CN201710882902.6A CN201710882902A CN109560864B CN 109560864 B CN109560864 B CN 109560864B CN 201710882902 A CN201710882902 A CN 201710882902A CN 109560864 B CN109560864 B CN 109560864B
Authority
CN
China
Prior art keywords
data
protection
channels
physical layer
groups
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710882902.6A
Other languages
Chinese (zh)
Other versions
CN109560864A (en
Inventor
张源斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201710882902.6A priority Critical patent/CN109560864B/en
Publication of CN109560864A publication Critical patent/CN109560864A/en
Application granted granted Critical
Publication of CN109560864B publication Critical patent/CN109560864B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/03Arrangements for fault recovery
    • H04B10/032Arrangements for fault recovery using working and protection systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0287Protection in WDM systems
    • H04J14/0293Optical channel protection
    • H04J14/0294Dedicated protection at the optical channel (1+1)
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0081Fault tolerance; Redundancy; Recovery; Reconfigurability

Abstract

The invention provides a data transmission method and a device, wherein the method comprises the following steps: acquiring corresponding protection data according to original data of a physical layer channel in a transmission group; the original data and the protection data are transmitted. The scheme of the invention provides a data verification scheme for the logic channel, improves the problem that the whole logic channel is interrupted when one or more physical channels in the logic channel have faults, ensures the safe transmission of the logic channel and improves the reliability of the network.

Description

Data transmission method and device
Technical Field
The present invention relates to the field of communications, and in particular, to a data transmission method and apparatus.
Background
The method for realizing service transmission by binding a plurality of physical layer channels is gradually applied more and more, and the physical layer channels can be optical fibers or back panel channels. Flexible Ethernet (FlexE-Flexible Ethernet) and Flexible Optical transport network (FlexO-Flexible Optical transport network) are two applications of this technology.
Flexible Ethernet (FlexE-Flexible Ethernet) technology was developed by the international organization for standardization OIF at 3 months 2015 and formally documented by related technologies at 3 months 2016. The flexible ethernet technology provides a general mechanism to transmit a series of services with different MAC (Media Access Control) rates, which may be a service with a relatively high single MAC rate or a set of a plurality of services with relatively low MAC rates, but is not limited to a service with a single MAC rate, and the general structure of the flexible ethernet is shown in fig. 1. One feature of flexible ethernet is: a plurality of ethernet PHYs (physical channels) with the same rate are bound to transmit traffic with a larger MAC rate, for example, 3 ethernet PHYs with a 100G rate are bound to support traffic with a MAC rate of 300G, that is, the traffic is transmitted in a plurality of ethernet PHYs.
The difference between the flexible ethernet and the conventional ethernet structure is that the flexible ethernet has an extra Shim (FlexE Shim) at the MAC layer and the pcs (physical Coding sublayer) layer, and the Shim functions to construct a 20 × n call with 66b blocks, where n is the number of PHY bonding ethernet, and each 66b block represents a 5G timeslot. On the multiplexing side, services with different MAC rates are loaded into the corresponding number of 66b blocks according to the multiple relation with 5G. Every 20 b blocks form a sub-Calendar, and the Calendar with the size of 20 x n is distributed into n sub-Calendar. For each sub-call, the overhead of one 66b block is added every 20 x 1023 66b blocks to store the associated mapping, and each sub-call is transmitted in a single 100G ethernet PHY. And at the demultiplexing side, n sub-callards form a 20 n callards, and corresponding client services are extracted from the corresponding number of 66b blocks according to the mapping relation stored in the overhead. Currently, OIF only considers ethernet PHYs with a rate of 100G, and after the future release of the 200G, 400G ethernet standards, ethernet PHYs with higher rates are also considered. The FlexE group refers to a group formed by binding 1 to n ethernet PHYs as shown in fig. 1.
The Flexible Optical transport network (FlexO-Flexible Optical transport network) technology is developed by the international organization for standardization ITU in month 6 2015 and formally shows through related technical documents in month 9 2016, and a general structure of the Flexible Optical transport network is shown in fig. 2. One characteristic of flexible optical transport networks is: binding multiple interfaces of optical transport network with same rate to implement B100G OTN interworking, for example binding 4 interfaces of 100G OTN to implement OTUC4 interworking.
Because the FlexE/FlexO protocol is a logical channel for binding a plurality of physical channels into a service transmission, when one physical channel fails, as shown in fig. 3, the entire logical channel fails, for example, when one physical channel is interrupted, the entire logical channel is interrupted, the probability of the logical channel failing is an integral multiple of the probability of the single physical channel failing, and the multiple is the total number of the physical channels, so that the reliability of the entire network is reduced.
The reliability problem of the flexible ethernet network and the flexible optical transport network is not considered in the current standard protocol, and the patent provides a solution to the problem.
Disclosure of Invention
In order to solve the above problems, the present invention provides a data transmission method and apparatus, which can solve the problem of network reliability reduction caused by a high probability of a logic channel failure.
In order to solve the above technical problem, the present invention provides a data transmission method, including:
acquiring corresponding protection data according to original data of a plurality of physical layer channels in a transmission group, wherein the acquisition mode of the protection data comprises the following steps: calculating original data streams transmitted in all physical layer channels or partial physical layer channels in a network to generate one or more groups of protection data by taking a single physical layer channel as a unit;
transmitting the original data and the protection data; wherein the original data and the protection data are used at the receiving end for: when one or more physical layer channels corresponding to the original data have faults, the data to be transmitted is solved according to the original data and the protection data transmitted in the physical layer channels without faults.
Preferably, when the protection data are in multiple groups, each group of protection data is calculated according to the original data in the multiple physical layer channels; the calculation rules adopted when calculating each group of protection data are the same, and the adopted parameters are different, so that each group of protection data obtained by calculation is different.
Preferably, wherein obtaining a set of protection data according to original data in a plurality of physical layer channels comprises:
carrying out digital operation on original data of a physical layer channel according to bits to obtain a group of protection data;
the transmitting the original data and the protection data comprises: transmitting 1 group of protection data through 1 protection channel; n sets of raw data are transmitted through N transmission channels.
Preferably, the protection data is acquired according to any one of the following ways;
the method comprises the steps that in the first mode, when the number of transmission channels in a transmission group is set to be N and the number of protection channels is set to be M, N groups of original data are calculated according to a first operation rule and 11 th group of parameters, and a first group of protection data are obtained; calculating N groups of original data according to a first operation rule and 1i group parameters to obtain 1i group protection data until all M groups of protection data are obtained; wherein i is a positive integer less than or equal to M; each group of parameters are different; n and M are positive integers;
in a second mode, when the number of groups of the original data is N and the number of the transmission channels is N + M, calculating the N groups of original data according to a second operation rule and a 21 st group of parameters to obtain a first group of protection data; calculating N groups of original data according to a second operation rule and 2i groups of parameters to obtain i groups of protection data until all M groups of protection data are obtained, and mixing the N groups of original data and the M groups of protection data to obtain N + M groups of mixed data; wherein i is a positive integer less than or equal to M; each group of parameters are different;
when the protection data is obtained according to the first mode, the transmitting the original data and the protection data includes: transmitting M groups of protection data through M protection channels; transmitting N groups of original data through N transmission channels;
when obtaining the protection data according to the second mode, the transmitting the original data and the protection data includes: and transmitting the N + M groups of mixed data through the N + M channels.
Preferably, in the second mode, the calculating N groups of original data according to the second operation rule, and the obtaining N + M groups of mixed data includes:
respectively selecting p basic units of original data from data streams of the original data transmitted by N physical layer channels for calculation to form q basic units of protection data, averagely dividing the data of N + p + q basic units into N + M parts according to a rule, wherein each part of contained data is (N + p + q)/(N + M) basic units, acquiring N + M parts of data according to the operation mode and all the data in the N physical layer channels, and transmitting the data through the N + M physical channels; wherein, the relationship between the protection data and the original data can form q check relational expressions; wherein, the basic unit is one of single bit, single byte, bit block or byte block in the source data stream transferred in the single physical layer channel; wherein q is p M.
Preferably, in the case of obtaining M groups of protection data according to N groups of original data, the obtaining M groups of protection data according to N groups of original data includes:
Figure GDA0003112866110000041
wherein, (d1, d 2.. dN) is N sets of raw data;
Figure GDA0003112866110000042
generating a matrix for the first;
p1, p 2.. pM) is M groups of protection data;
respectively selecting p basic unit original data from data streams of the original data transmitted by N physical layer channels for calculation, and forming q basic unit protection data comprises the following steps:
Figure GDA0003112866110000043
wherein (d1, d 2.. d (N × p)) is N sets of raw data of p basic units;
Figure GDA0003112866110000051
generating a matrix for the second;
(p1, p 2.. pq.) are q pieces of protection data.
Preferably, the first generation matrix is set as: if the number of the original data streams to be protected is k, and k is an integer greater than or equal to 1 and less than N, the first generation matrix needs to satisfy the condition that a sub-matrix in the first generation matrix corresponding to the original data streams satisfies a rank greater than or equal to k.
Preferably, the method further comprises:
wherein the operation rule of the function F is
Figure GDA0003112866110000052
Wherein j is a positive integer less than or equal to R.
Preferably, the digital arithmetic operation comprises at least one of the following:
an exclusive-or operation, or an equal operation.
In order to solve the above technical problem, the present invention further provides a data transmission method, where the method includes:
receiving original data and protection data sent by a sending end, wherein the protection data is one or more groups of protection data generated by calculating original data streams transmitted in all physical layer channels or partial physical layer channels in a network by taking a single physical layer channel as a unit at the sending end;
when one or more physical layer channels corresponding to the original data have faults, the data to be transmitted is solved according to the original data and the protection data transmitted in the physical layer channels without faults.
Preferably, in case that the physical layer channel includes N transmission channels and M protection channels,
the solving of the data to be transmitted according to the original data and the protection data transmitted in the physical layer channel without the fault includes:
detecting the signal quality of data transmitted in all transmission channels and protection channels in a channel group, and solving the data from the transmission channels if the data in all the transmission channels has no fault or only the data in the protection channels has a fault; if only part of the data in the transmission channel has a fault or part of the data in the transmission channel and part of the protection channel has a signal fault, the data to be transmitted is solved according to the original data and the protection data transmitted in the physical layer channel without the fault.
Preferably, the solving the data to be transmitted according to the original data and the protection data transmitted in the physical layer channel without the failure includes:
and taking the original data and the protection data in the physical channel without faults as known numbers, bringing the known numbers into a check relational expression used by a sending end for generating the protection data, and obtaining all N original data streams in a manner of solving the check relational expression so as to solve the data.
Preferably, in the case that the physical layer channel is transmitting mixed data,
the solving of the data to be transmitted according to the original data and the protection data transmitted in the physical layer channel without the fault includes:
detecting the signal quality of data transmitted in all physical layer channels in a channel group;
selecting a plurality of physical layer channels from the M + N physical layer channels according to the signal quality detection result, taking the data streams transmitted in the physical layer channels as known numbers, and carrying the known numbers into q equations for generating mixed data at the transmitting end to solve, so that all N original data streams can be obtained, and the data can be solved.
Preferably, the solving for the data to be transmitted further includes regenerating a frame header of the data frame.
Preferably, the regenerating the frame header of the data frame includes:
in a Flexe scene, regenerating a 10 synchronization head of a Flexe frame header, a 0x4B type code, a 0x 5O code and a synchronization head in a 66b block;
in a FlexO scene, the AM region and the MFAS region of the FlexO frame are reproduced.
In order to solve the above technical problem, the present invention further provides a data transmission apparatus, including:
the device comprises an arithmetic unit and a data processing unit, wherein the arithmetic unit is used for acquiring corresponding protection data according to original data of physical layer channels in a plurality of transmission groups, and the acquisition mode of the protection data comprises the following steps: calculating original data streams transmitted in all physical layer channels or partial physical layer channels in a network to generate one or more groups of protection data by taking a single physical layer channel as a unit;
a sending unit, configured to transmit original data and protection data; wherein the original data and the protection data are used at the receiving end for: when one or more physical layer channels corresponding to the original data have faults, the data to be transmitted is solved according to the original data and the protection data transmitted in the physical layer channels without faults.
Preferably, when the protection data are in multiple groups, each group of protection data is calculated according to the original data in the physical layer channel; the calculation rules adopted when calculating each group of protection data are the same, and the adopted parameters are different, so that each group of protection data obtained by calculation is different.
Preferably, the physical layer channels in the transmission group include N transmission channels and 1 protection channel, where N is a positive integer;
the operation unit obtains a group of protection data according to original data in a plurality of physical layer channels, and the operation unit comprises:
carrying out digital operation on original data of a physical layer channel according to bits to obtain a group of protection data;
the transmitting the original data and the protection data comprises: transmitting 1 group of protection data through 1 protection channel; n sets of raw data are transmitted through N transmission channels.
Preferably, the arithmetic unit acquires the protection data according to any one of the following manners;
in a first mode, when physical layer channels in a transmission group comprise N transmission channels and M protection channels, calculating N groups of original data according to a first operation rule and a 11 th group of parameters to obtain a first group of protection data; calculating N groups of original data according to a first operation rule and 1i group parameters to obtain 1i group protection data until all M groups of protection data are obtained; wherein i is a positive integer less than or equal to M; each group of parameters are different; n and M are positive integers;
in a second mode, when the number of groups of the original data is N and the number of the transmission channels is N + M, calculating the N groups of original data according to a second operation rule and a 21 st group of parameters to obtain a first group of protection data; calculating N groups of original data according to a second operation rule and 2i groups of parameters to obtain i groups of protection data until all M groups of protection data are obtained, and mixing the N groups of original data and the M groups of protection data to obtain N + M groups of mixed data; wherein i is a positive integer less than or equal to M; each group of parameters are different;
when the protection data is obtained according to the first mode, the transmitting the original data and the protection data includes: transmitting M groups of protection data through M protection channels; transmitting N groups of original data through N transmission channels;
when obtaining the protection data according to the second mode, the transmitting the original data and the protection data includes: and transmitting the N + M groups of mixed data through the N + M channels.
Preferably, in the second mode, the calculating unit calculates the N groups of original data according to the second calculation rule, and acquiring the N + M groups of mixed data includes:
respectively selecting p basic units of original data from data streams of the original data transmitted by N physical layer channels for calculation to form q basic units of protection data, averagely dividing the data of N + p + q basic units into N + M parts according to a rule, wherein each part of contained data is (N + p + q)/(N + M) basic units, acquiring N + M data according to the operation mode and all the data in the N physical layer channels, and transmitting the data through the N + M physical channels; wherein, the relationship between the protection data and the original data can form q check relational expressions; wherein, the basic unit is one of single bit, single byte, bit block or byte block in the source data stream transferred in the single physical layer channel; wherein q is p M.
Preferably, in the case of obtaining M groups of protection data according to N groups of original data, the obtaining M groups of protection data according to N groups of original data includes:
Figure GDA0003112866110000081
wherein, (d1, d 2.. dN) is N sets of raw data;
Figure GDA0003112866110000082
generating a matrix for the second;
p1, p 2.. pM) is M groups of protection data;
respectively selecting p basic unit original data from data streams of the original data transmitted by N physical layer channels for calculation, and forming q basic unit protection data comprises the following steps:
Figure GDA0003112866110000083
wherein (d1, d 2.. d (N × p)) is N sets of raw data of p basic units;
Figure GDA0003112866110000091
generating a matrix for the second;
(p1, p 2.. pq.) are q pieces of protection data.
Preferably, the first generation matrix is set as:
if the number of the original data streams to be protected is k, and k is an integer greater than or equal to 1 and less than N, the first generation matrix needs to satisfy the condition that a sub-matrix in the first generation matrix corresponding to the original data streams satisfies a rank greater than or equal to k.
Preferably, the operation rule of the function F is
Figure GDA0003112866110000092
Figure GDA0003112866110000093
Wherein j is a positive integer less than or equal to R.
Preferably, the predetermined operation rule includes at least one of the following manners:
an exclusive-or operation, or an equal operation.
In order to solve the above technical problem, the present invention further provides a data transmission apparatus, including:
the device comprises a receiving unit and a processing unit, wherein the receiving unit is used for receiving original data and protection data sent by a sending end, and the protection data is one or more groups of protection data generated by calculating original data streams transmitted in all physical layer channels or part of the physical layer channels in a network at the sending end by taking a single physical layer channel as a unit;
and the data analysis unit is used for solving the data to be transmitted according to the original data and the protection data transmitted in the physical layer channel without faults when one or more physical layer channels corresponding to the original data have faults.
Preferably, the data parsing unit is further configured to:
in the case where the physical layer channels include N transmission channels and M protection channels,
detecting the signal quality of data transmitted in all transmission channels and protection channels in a channel group, and solving the data from the transmission channels if the data in all the transmission channels has no fault or only the data in the protection channels has a fault; if only part of the data in the transmission channel has a fault or part of the data in the transmission channel and part of the protection channel has a signal fault, the data to be transmitted is solved according to the original data and the protection data transmitted in the physical layer channel without the fault.
Preferably, the data parsing unit, according to original data and protection data transmitted in a physical layer channel without a fault, solving data to be transmitted includes:
and taking the original data and the protection data in the physical channel without faults as known numbers, bringing the known numbers into a check relational expression used by a sending end for generating the protection data, and obtaining all N original data streams in a manner of solving the check relational expression so as to solve the data.
Preferably, the data parsing unit, according to original data and protection data transmitted in a physical layer channel without a fault, solving data to be transmitted includes:
in case that the physical layer channel is transmitting mixed data,
detecting the signal quality of data transmitted in all physical layer channels in a channel group;
selecting a plurality of physical layer channels from the M + N physical layer channels according to the signal quality detection result, taking the data streams transmitted in the physical layer channels as known numbers, and carrying the known numbers into q equations for generating mixed data at the transmitting end to solve, so that all N original data streams can be obtained, and the data can be solved.
Preferably, the apparatus further comprises: the regenerating unit is used for solving the data needing to be transmitted and regenerating the frame header of the data frame.
Preferably, the regenerating unit regenerates the frame header of the data frame includes:
in a Flexe scene, regenerating a 10 synchronization head of a Flexe frame header, a 0x4B type code, a 0x 5O code and a synchronization head in a 66b block;
in a FlexO scene, the AM region and the MFAS region of the FlexO frame are reproduced.
In order to solve the above technical problem, the present invention further provides a data transmission apparatus, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the processing of any one of the data transmission methods when executing the computer program.
Compared with the prior art, the technical scheme provided by the invention comprises the following steps: calculating original data of all transmission channels in a transmission group according to a preset first operation rule to obtain corresponding protection data; and transmitting the protection data. The scheme of the invention provides a data verification scheme for the logic channel, improves the problem that the whole logic channel is interrupted when one or more physical channels in the logic channel have faults, ensures the safe transmission of the logic channel and improves the reliability of the network.
Drawings
The accompanying drawings in the embodiments of the present invention are described below, and the drawings in the embodiments are provided for further understanding of the present invention, and together with the description serve to explain the present invention without limiting the scope of the present invention.
Fig. 1 is a schematic diagram of a FlexE universal network scenario in the prior art;
FIG. 2 is a diagram illustrating a FlexO generic network scenario in the prior art;
FIG. 3 is a diagram illustrating a defect of a Flexe network in the prior art;
fig. 4 is a schematic flowchart of a data transmission method according to an embodiment of the present invention;
FIG. 5A is a schematic diagram of 400G traffic transmission protection in a flexible Ethernet network;
FIG. 5B is a diagram of the Flexe sub-calendar data format;
FIG. 5C is a schematic diagram of a 1-stripe protected data generation method;
FIG. 5D is a diagram illustrating a recovery process after the 400G signal of FIG. 5A is transmitted;
fig. 6A is a schematic diagram of 600G traffic transmission protection in flexible ethernet;
FIG. 6B is a schematic diagram of a 4-stripe protected data generation method;
FIG. 6C is a schematic diagram of a 600G signal recovery process;
FIG. 7A is a schematic diagram of 400G traffic transmission protection in a flexible Ethernet network;
FIG. 7B is a schematic diagram of the conversion of 4-way signals to 6-way signals;
FIG. 8A is a schematic diagram of 400G traffic transmission protection in a flexible Ethernet network;
FIG. 8B is a schematic diagram of electrical layer data of an OTUC layer;
fig. 9A and 9B are schematic structural diagrams of a data transmission device according to an embodiment of the present invention.
Detailed Description
The following further description of the present invention, in order to facilitate understanding of those skilled in the art, is provided in conjunction with the accompanying drawings and is not intended to limit the scope of the present invention. In the present application, the embodiments and various aspects of the embodiments may be combined with each other without conflict.
Referring to fig. 4, the present invention provides a data transmission method, including:
step 100, calculating original data of all transmission channels in a transmission group to obtain corresponding protection data;
wherein all the original data can be operated according to a predetermined first operation rule.
Step 200, transmitting the original data and the protection data.
After the protection data corresponding to the original data is obtained, the original data and the protection data are transmitted simultaneously.
The data transmission method provided by the embodiment of the invention is applied to a network which binds a plurality of physical layer channels to form a channel group to realize service transmission, the original data stream transmitted in the physical layer channels in the channel group is calculated to form a plurality of one or more protection data streams, the relationship between the protection data streams and the original data streams forms one or more check relational expressions, the check relational expressions are preferably equations, the number of the equations is related to the protection data streams, and the protection data streams are transmitted in the protection channels. In the channel group, if the physical layer channel fails, the data in the failed physical layer channel can be recovered by solving the equation or solving the equation group. The specific idea is as follows:
at a sending end, a protection data stream is generated by calculation according to an original data stream transmitted in a physical layer channel in a network, wherein the original data stream transmitted in the physical layer channel is a general name of an electrical layer data format. The generation mode of the protection data stream can be as follows:
in a first mode, a single physical layer channel is used as a unit, original data streams transmitted in all physical layer channels or a part of physical layer channels in the network are calculated to generate protection data streams, the number of the protection data streams may be one or multiple, and the relationship between the protection data streams and the original data streams may form one or more equations.
And secondly, with a single bit or single byte or a bit block or a byte block in the source data stream transmitted in a single physical layer channel as a unit, assuming that one channel group comprises n physical layer channels, selecting p bits or bytes or original data of the bit block or the byte block from the source data stream transmitted in each physical layer channel in the network to perform calculation, forming protective data of q bits or bytes or bit blocks or byte blocks, averagely dividing the p + q data into m parts according to a rule, wherein each part of the included data is (n + p + q)/m bits or bytes or bit blocks or byte blocks, and all data in the n physical layer channels are processed according to the method and finally transmitted through the m physical channels. The relationship of the protected data and the original data may form q equations.
At the receiving end, the receiving processing criterion is different according to different generation modes of the protection data stream of the sending end.
If the sending end generates the protection data stream by the method one, at the receiving end, the signal quality of data transmitted in all physical layer channels and protection channels in the channel group is detected, and if the data in all the physical layer channels has no fault or only the data in the protection channels has a fault, the data is directly solved from the physical channels; if only part of the data in the physical layer channel or the data in the physical layer channel and the data in the protection channel have signal faults, taking the data stream in the physical layer channel without faults and the data stream in the protection channel as known numbers, bringing the known numbers into an equation used for generating the protection data stream of the sending end, and recovering the original data stream in the physical layer channel with faults by solving the equation or solving the equation set, thereby solving the service.
If the sending end generates the protection data stream by the second method, the signal quality of the data transmitted in the m physical layer channels is detected at the receiving end, a plurality of physical layer channels are selected from the m physical layer channels, the data streams transmitted in the physical layer channels are taken as known numbers and are brought into q equations for generating the protection data at the sending end to be solved, and all n original data streams can be obtained, so that the data can be solved.
In the embodiment of the invention, when the number of channels is N + M and the number of data streams of the original data is N (that is, the number of channels of the physical layer is N), the original data is calculated according to a preset operation rule and a set of parameters to obtain a set of protection data, and the protection data of other groups are obtained by calculation according to the same operation rule and different parameters, wherein the parameters adopted by each set of protection data are different, and each set of protection data obtained by calculation is different by the above method.
First, the first data transmission method will be explained below.
In the embodiment of the present invention, the number of transmission channels in a transmission group is N, the number of protection channels is M, and preferably, M is smaller than N;
the acquiring of the corresponding protection data includes:
acquiring M groups of protection data according to the N groups of transmission data;
the transmitting the original data and the protection data comprises:
transmitting M groups of protection data through M protection channels;
n sets of raw data are transmitted through N transmission channels.
Wherein, in a case that the obtaining of the corresponding protection data includes obtaining M groups of protection data according to N groups of transmission data, the obtaining of the M groups of protection data according to the N groups of transmission data includes:
Figure GDA0003112866110000141
wherein, (d1, d 2.. dN) is N sets of transmission data;
Figure GDA0003112866110000142
generating a matrix for the second;
p1, p 2.. pM) is M groups of protection data.
Wherein the predetermined operation rule includes at least one of the following modes: an exclusive-or operation, or an equal operation.
This is explained below with reference to a specific example.
Example one
As shown in fig. 5A, 400G traffic is transmitted between the router a and the router B, the left-side router a is connected to the router B through a FlexE group formed by four 100G physical layers PHY, and in order to improve network reliability, an additional physical layer protection PHY is added.
In this example, M is 1 and N is 4.
Step 1, the traffic carried by the routers a, 400G in 4 physical layers PHY in the FlexE group, namely PHY #1, PHY #2, PHY #3, and PHY #4, can be specifically identified according to the PHY number in the FlexE overhead of each PHY, and the data stream passed in each PHY is represented by S1, S2, S3, and S4.
Step 2, in the router a, taking the PHY in the FlexE group as a unit, the data transferred on the 4 PHYs is described, here taking the data format at the FlexE sub-calendar as an example, where the FlexE sub-calendar is the data of the electrical layer, that is, one 66B block overhead is followed by 1023 × 20 66B block data, as shown in fig. 5B, or the data of other layers of electrical layers, such as the data of the electrical layer of the PMA layer. Exclusive-or's are performed on the FlexE sub-calendar data on the 4 PHYs to obtain a protection data stream P1, and partial overhead such as frame header indication and multi-frame indication for the protection data stream is to be regenerated, as shown in fig. 5C, the protection data stream P1 is passed through the physical layer protection PHY. The protection data stream and the equation (a) formed by the protection data stream are
Figure GDA0003112866110000151
Figure GDA0003112866110000152
Refers to an exclusive or operation. Of course, other types of calculations may be used instead, such as an or, etc., which are not described in detail herein.
And step 3, after the router B receives 5 PHYs, detecting the signal quality of the data transmitted on the 5 PHYs. The detection result can be classified as follows:
and if no signal fault occurs in any of the 5 PHYs or the signal quality is good, receiving data transmitted by 4 PHYs in the FlexeE group.
And if only the protection PHY in the 5 PHYs has signal failure or poor signal quality, receiving data transmitted by the 4 PHYs in the FlexeE group.
If one PHY in the Flexe group has signal fault or poor signal quality in the 5 PHYs, receiving data transmitted by the other 3 PHYs in the Flexe group, taking the data as a known condition, and substituting the known condition into an equation of a transmitting end to solve to obtain a value which is the data transmitted by the physical layer PHY with the signal fault or poor signal quality. For example, if the data S3 in PHY #3 is faulty or has poor signal quality, the receiving end receives the data S1, S2, S4 in PHYs #1, PHY #2, PHY #4 and the data P1 in the protection PHY, and substitutes them into equation (a),
by
Figure GDA0003112866110000153
Deducing
Figure GDA0003112866110000154
The specific calculation process is shown in fig. 5D.
And 4, the router B solves the original 400G signal from the received data to complete the whole transmission process.
This will be described in detail with reference to another example.
Example two
As shown in fig. 6A, 600G traffic is to be transmitted between the router a and the router B, the left router a is connected to the router B through a FlexE group formed by 6 physical layers PHY of 100G, and 4 additional physical layers protection PHYs are added to improve network reliability.
In this example, M is 4 and N is 6.
In step 1, the traffic carried by the routers a and 600G in the 6 physical layers PHY in the FlexE group are PHY #1, PHY #2, PHY #3, PHY #4, PHY #5, and PHY #6, which can be specifically identified according to the PHY number in the FlexE overhead of each PHY, and the data streams passed through each PHY are denoted by S1, S2, S3, S4, S5, and S6.
Step 2, at the router a, taking the PHY in the FlexE group as a unit, generating 3 pieces of protection data for transmission on the protection PHY according to the data transmitted on the 6 pieces of PHY, here taking the data format at the FlexE sub-calendar as an example, that is, one 66B block overhead is followed by 1023 20 pieces of 66B block data, as shown in fig. 5B, or other layers of electrical layer data, such as electrical layer data of a PMA layer. The generation method comprises the following steps: exe-subcollendar data S1, S2, S3, S6 passed on PHY #1, PHY #2, PHY #3 and PHY #6 are XOR-operated to obtain a protected data stream P1, partial overhead such as frame header indication and multiframe indication of the protected data stream is regenerated, the protected data stream P1 is passed in an additional physical layer protection PHY #1, the Flex-subcollendar data S1, S3, S4, S5 passed on PHY #1, PHY #3, PHY #4 and PHY #5 are XOR-operated to obtain a protected data stream P2, partial overhead such as frame header indication and multiframe indication of the protected data stream is regenerated, the protected data stream P2 is passed in an additional physical layer protection PHY #2, the Flex-subcollendar data S2, S9685, S3638, S9685, for the partial overhead of the protection data stream, such as the frame header indication and the multi-frame indication, to be regenerated, the protection data stream P3 is transmitted in the extra physical layer protection PHY #3, the FlexE-subcollendar data S1, S2 and S4 transmitted on the PHY #1, the PHY #2 and the PHY #4 are xored to obtain the protection data stream P4, and for the partial overhead of the protection data stream, such as the frame header indication and the multi-frame indication, to be regenerated, the protection data stream P4 is transmitted in the extra physical layer protection PHY # 4.
Acquiring 4 sets of protection data according to the 6 sets of transmission data comprises:
setting the first generation matrix as
Figure GDA0003112866110000171
Acquiring an equation set of transmission data and protection data according to the transformation matrix;
sequentially calculating M pieces of protection data according to the first transformation matrix and the transmission data;
wherein the content of the first and second substances,
Figure GDA0003112866110000172
j is a positive integer less than or equal to M.
P1 and P2 … PM can be calculated by the above formula.
As shown in fig. 6B, according to the transformation matrix, the protection data stream and the equation system (B) formed by the protection data stream can be obtained as follows:
Figure GDA0003112866110000173
Figure GDA0003112866110000174
Figure GDA0003112866110000175
Figure GDA0003112866110000176
Figure GDA0003112866110000177
refers to an exclusive or operation. Of course, other types of calculations may be used instead, such as an or, etc., which are not described in detail herein.
And 3, after the router B receives the 10 PHYs, detecting the signal quality of the data transmitted on the 10 PHYs. The detection result can be classified as follows:
if no signal failure occurs in 10 PHYs or the signal quality is good, data transmitted by 6 PHYs in the FlexE group is received.
If only the protection PHY of the 10 PHYs has signal failure or poor signal quality, the data transmitted by the 6 PHYs in the FlexE group is received.
If one or two PHYs in the FlexE group of the 10 PHYs have signal failure or poor signal quality, receiving data transmitted by the other PHYs in the FlexE group, taking the data as a known condition, and substituting the known condition into an equation set of the transmitting end to solve to obtain a value which is the data transmitted by the PHY with the signal failure or poor signal quality. For example, if the data S1 and S3 in PHY #1 and PHY #3 are failed or have poor signal quality, the receiving end xors the data S1 in PHY #1 with the data S2 and S4 in PHY #4 and the data P4 in PHY #4, and the receiving end xors the data S4 and S6 in PHY #4 and the data P1 and P4 in PHY #4 and PHY #3, as shown in fig. 6C. The specific equation solving process is as follows:
by
Figure GDA0003112866110000181
Figure GDA0003112866110000182
Figure GDA0003112866110000183
Figure GDA0003112866110000184
Deducing
Figure GDA0003112866110000185
Figure GDA0003112866110000186
And 4, the router B solves the original 600G signal from the received data to complete the whole transmission process.
The second data transmission method is explained below.
The number of the transmission channels in the transmission group is N, the number of the protection channels is M, and preferably, M is an integer smaller than N;
the acquiring of the corresponding protection data includes:
acquiring N + M groups of mixed data according to N groups of transmission data, wherein the mixed data comprises protection data and original data;
the transmitting the original data and the protection data comprises:
and transmitting the N + M groups of mixed data through the N + M channels.
Wherein the acquiring N + M sets of mixed data according to the N sets of transmission data includes:
Figure GDA0003112866110000191
wherein, (d1, d2, … dN) is N groups of transmission data;
Figure GDA0003112866110000192
generating a second generator matrix having a rank greater than or equal to 2;
(p1, p2, … pR) is N + M set protection data; r ═ N + M.
Wherein the operation rule of the function F is
Figure GDA0003112866110000193
Wherein j is a positive integer less than or equal to R;
in the above example, the operation rule of the function F is described by taking an exclusive or operation as an example, and the exclusive or operation may be replaced with another operation.
Wherein the method further comprises:
at a receiving end, when one or more of the transmission channels have faults, data is transmitted through the transmission channels and the protection channels which normally work, and N groups of original data are obtained according to a preset second operation rule, wherein the second operation rule is an inverse operation rule corresponding to the first operation rule.
This is explained below with reference to a specific example.
In a third embodiment, as shown in fig. 7A, 400G traffic is to be transmitted between a router a and a router B, the left-side router a is connected to the router B through a FlexE group formed by 4 physical layers PHY of 100G, and in order to improve network reliability, 2 additional physical layers protection PHYs are added to form an expanded FlexE group.
Step 1, the services of the routers a and 400G are carried in 4 physical layers PHY in the FlexE group, which are PHY #1, PHY #2, PHY #3, and PHY #4, and can be specifically identified according to the PHY number in the FlexE overhead of each PHY.
Step 2, at router a, in units of PHYs in the FlexE group, 2 pieces of protection data are generated for transfer on the protection PHY from data transferred on 4 pieces of PHYs, here taking a single-bit data format at FlexE sub-capacitor as an example, that is, one 66B block overhead is followed by 1023 20 pieces of 66B block data, as shown in fig. 5B. The generation method comprises the following steps: selecting 3-bit data from each PHY to form 12-bit data D01, D02, D03, D04, D05, D06, D07, D08, D09, D10, D11 and D12, and generating 6-bit data P0, P1, P2, P3, P4 and P5 according to the 12-bit source data, wherein the generation mode is as follows:
Figure GDA0003112866110000201
Figure GDA0003112866110000202
Figure GDA0003112866110000203
Figure GDA0003112866110000204
Figure GDA0003112866110000205
Figure GDA0003112866110000206
the source data and the protection data are redistributed together to form 6 data paths, and as shown in fig. 7B, the 6 data paths are propagated in 6 PHYs to form an expanded FlexE group.
Wherein, the original data is 12, the calculated protection data is 6, the data is 18 after mixing, and the 18 data are transmitted through 6 transmission channels.
And 3, after the router B receives 6 PHYs in the expanded Flexe group, detecting the signal quality of the data transmitted on the 6 PHYs, randomly selecting 4 PHYs with good signal quality, and recovering the original data according to a specific algorithm. For example, assuming that PHY #1 and PHY #2 have a failure, only 18 data bits in fig. 7B are taken as an example here, that is, six data, i.e., D03, D05, D08, D11, P0 and P1, cannot be obtained, at this time, four original source data, i.e., D03, D05, D08 and D11, need to be restored, and the restoration method is:
Figure GDA0003112866110000207
Figure GDA0003112866110000211
Figure GDA0003112866110000212
Figure GDA0003112866110000213
and 4, the router B solves the original 400G signal from the received data to complete the whole transmission process.
The following description is made in conjunction with a specific implementation scenario,
example four
As shown in fig. 8A, OTUC4 is to be mutually transmitted between the OTN node 1 and the OTN node 2, the OTN node 1 is connected to the OTN node 2 through a FlexO group formed by four 100G FlexO interfaces, and in order to improve network reliability, an additional FlexO interface is added for transmitting protection data.
In step 1, in the OTN node 1, the OTUC4 is transmitted through 4 FlexO interfaces in the FlexO group, which are PHY #1, PHY #2, PHY #3, and PHY #4, and specifically can be identified according to the PID in the overhead of each FlexO interface, and the data stream transmitted in each FlexO interface is represented by S1, S2, S3, and S4.
Step 2, at the OTN node 1, taking the FlexO interface in the FlexO group as a unit, the data transmitted on the 4 FlexO interfaces, here taking the data format of the FlexO frame as an example, that is, 128 × 5440, may also be electrical layer data of other layers, as shown in fig. 8B, such as electrical layer data of the OTUC layer. And performing exclusive-or operation on the data streams on the 4 FlexO interfaces to obtain a protection data stream P1, and for the partial overhead of the protection data stream, such as frame header indication and multi-frame indication, to be regenerated, transmitting the protection data stream P1 in the FlexO protection interface. The protection data stream and the equation (c) formed by the protection data stream are
Figure GDA0003112866110000214
Figure GDA0003112866110000215
Refers to an exclusive or operation. Of course, other types of calculations may be used instead, such as an or, etc., which are not described in detail herein.
And 3, detecting the signal quality of the data transmitted on the 5 FlexO interfaces at the OTN node 2. The detection result can be classified as follows:
and if no signal fault occurs to the data transmitted on the 5 FlexO interfaces or the signal quality is good, receiving the data transmitted by the 4 FlexO interfaces in the FlexO group.
And if the data transmitted on the 5 FlexO interfaces only protects the data on the FlexO interfaces to have signal faults or poor signal quality, receiving the data transmitted by the 4 FlexO interfaces in the FlexO group.
If signal failure or poor signal quality occurs in data transmitted on one FlexO interface in the FlexO group in the 5 FlexO interfaces, receiving the data transmitted by the other 3 FlexO interfaces in the FlexO group, taking the data as a known condition, and taking the data into an equation at the transmitting end to solve to obtain a value which is the data transmitted by the FlexO interface with the signal failure or poor signal quality. For example, if the data S3 in PHY #3 is faulty or has poor signal quality, the receiving end receives the data S1, S2 and S4 in PHYs #1, PHY #2 and PHY #4 and the data P1 in the protection PHY, and substitutes them into equation (c),
by
Figure GDA0003112866110000221
Deducing
Figure GDA0003112866110000222
And 4, the OTN node 2 solves the original 400G signal from the received data to complete the whole transmission process.
Based on the same or similar concept as the above embodiments, the embodiments of the present invention further provide a data transmission apparatus, referring to fig. 9A, the data transmission apparatus provided by the present invention includes:
an arithmetic unit 10, configured to obtain corresponding protection data according to original data of a physical layer channel in a transmission group;
a sending unit 20, configured to transmit the original data and the protection data.
In this embodiment of the present invention, the acquiring, by the arithmetic unit 10, corresponding protection data according to the original data of the physical layer channel in the transmission group includes:
acquiring one or more groups of protection data according to original data in a plurality of physical layer channels;
when the protection data are in multiple groups, each group of protection data is obtained by calculation according to the original data in the multiple physical layer channels; the calculation rules adopted when calculating each group of protection data are the same, and the adopted parameters are different, so that each group of protection data obtained by calculation is different.
In the embodiment of the invention, the physical layer channels in the transmission group comprise N transmission channels and 1 protection channel, wherein N is a positive integer;
the operation unit 10, according to original data in a plurality of physical layer channels, acquiring a set of protection data includes:
carrying out digital operation on original data of a physical layer channel according to bits to obtain a group of protection data;
the transmitting the original data and the protection data comprises: transmitting 1 group of protection data through 1 protection channel; n sets of raw data are transmitted through N transmission channels.
In the embodiment of the present invention, the arithmetic unit 10 obtains the protection data according to any one of the following manners;
in a first mode, when physical layer channels in a transmission group comprise N transmission channels and M protection channels, calculating N groups of original data according to a first operation rule and a 11 th group of parameters to obtain a first group of protection data; calculating N groups of original data according to a first operation rule and 1i group parameters to obtain 1i group protection data until all M groups of protection data are obtained; wherein i is a positive integer less than or equal to M; each group of parameters are different; n and M are positive integers;
in a second mode, when the number of groups of the original data is N and the number of the transmission channels is N + M, calculating the N groups of original data according to a second operation rule and a 21 st group of parameters to obtain a first group of protection data; calculating N groups of original data according to a second operation rule and 2i groups of parameters to obtain i groups of protection data until all M groups of protection data are obtained, and mixing the N groups of original data and the M groups of protection data to obtain N + M groups of mixed data; wherein i is a positive integer less than or equal to M; each group of parameters are different;
when the protection data is obtained according to the first mode, the transmitting the original data and the protection data includes: transmitting M groups of protection data through M protection channels; transmitting N groups of original data through N transmission channels;
when obtaining the protection data according to the second mode, the transmitting the original data and the protection data includes: and transmitting the N + M groups of mixed data through the N + M channels.
In the second embodiment of the present invention, in the method, the calculating unit 10 calculates N sets of original data according to a second calculation rule, and acquiring N + M sets of mixed data includes:
respectively selecting p basic units of original data from data streams of the original data transmitted by N physical layer channels for calculation to form q basic units of protection data, averagely dividing the data of N + p + q basic units into N + M parts according to a rule, wherein each part of contained data is (N + p + q)/(N + M) basic units, dividing all the data in the N physical layer channels into N + M parts according to the operation mode, and transmitting the data through the N + M physical channels; wherein, the relationship between the protection data and the original data can form q check relational expressions; wherein, the basic unit is one of single bit, single byte, bit block or byte block in the source data stream transferred in the single physical layer channel; wherein q is p M.
In the embodiment of the present invention, in a case where M groups of protection data are obtained according to N groups of original data, the case where M groups of protection data are obtained according to N groups of original data includes:
Figure GDA0003112866110000241
wherein, (d1, d2, … dN) is N groups of original data;
Figure GDA0003112866110000242
generating a matrix for the first;
(p1, p2, … pM) is M groups of protection data;
respectively selecting p basic unit original data from data streams of the original data transmitted by N physical layer channels for calculation, and forming q basic unit protection data comprises the following steps:
Figure GDA0003112866110000243
wherein, (d1, d2, … d (N × p)) is N sets of raw data of p basic units;
Figure GDA0003112866110000244
generating a matrix for the second;
(p1, p2, … pq) are q protection data.
In an embodiment of the present invention, the first generation matrix is set as:
if the number of the original data streams to be protected is k, and k is an integer greater than or equal to 1 and less than N, the first generation matrix needs to satisfy the condition that a sub-matrix in the first generation matrix corresponding to the original data streams satisfies a rank greater than or equal to k.
In the embodiment of the invention, the operation rule of the function F is
Figure GDA0003112866110000251
Figure GDA0003112866110000252
Wherein j is a positive integer less than or equal to R.
In an embodiment of the present invention, the predetermined operation rule includes at least one of the following modes:
an exclusive-or operation, or an equal operation.
Based on the same or similar concept as the above embodiments, an embodiment of the present invention further provides a data transmission apparatus, referring to fig. 9B, the apparatus including:
a receiving unit 30, configured to receive original data and protection data sent by a sending end;
the data parsing unit 40 is configured to, when one or more physical layer channels corresponding to original data fail, solve data to be transmitted according to the original data and protection data transmitted in the physical layer channel that does not fail.
In this embodiment of the present invention, the data analysis unit 40 is further configured to:
in the case where the physical layer channels include N transmission channels and M protection channels,
detecting the signal quality of data transmitted in all transmission channels and protection channels in a channel group, and solving the data from the transmission channels if the data in all the transmission channels has no fault or only the data in the protection channels has a fault; if only part of the data in the transmission channel has a fault or part of the data in the transmission channel and part of the protection channel has a signal fault, the data to be transmitted is solved according to the original data and the protection data transmitted in the physical layer channel without the fault.
In this embodiment of the present invention, the resolving, by the data analysis unit 40, the data to be transmitted according to the original data and the protection data transmitted in the physical layer channel without the failure includes:
and taking the original data and the protection data in the physical channel without faults as known numbers, bringing the known numbers into an equation for generating the protection data at the sending end, and obtaining all N original data streams by solving the equation or solving an equation set so as to solve the data.
In this embodiment of the present invention, the resolving, by the data analysis unit 40, the data to be transmitted according to the original data and the protection data transmitted in the physical layer channel without the failure includes:
in case that the physical layer channel is transmitting mixed data,
detecting the signal quality of data transmitted in all physical layer channels in a channel group;
selecting a plurality of physical layer channels from the M + N physical layer channels according to the signal quality detection result, taking the data streams transmitted in the physical layer channels as known numbers, and carrying the known numbers into q equations for generating mixed data at the transmitting end to solve, so that all N original data streams can be obtained, and the data can be solved.
In the embodiment of the present invention, the apparatus further includes: the regenerating unit is used for solving the data needing to be transmitted and regenerating the frame header of the data frame.
In the embodiment of the present invention, the regenerating unit regenerates the frame header of the data frame includes:
in a Flexe scene, regenerating a 10 synchronization head of a Flexe frame header, a 0x4B type code, a 0x 5O code and a synchronization head in a 66b block;
in a FlexO scene, the AM region and the MFAS region of the FlexO frame are reproduced.
Based on the same or similar conception as that of the above embodiment, the embodiment of the present invention further provides a data transmission device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the processing of any of the data transmission methods as described above when executing the computer program.
It should be noted that the above-mentioned embodiments are only for facilitating the understanding of those skilled in the art, and are not intended to limit the scope of the present invention, and any obvious substitutions, modifications, etc. made by those skilled in the art without departing from the inventive concept of the present invention are within the scope of the present invention.

Claims (23)

1. A method of data transmission, the method comprising:
acquiring corresponding protection data according to original data of a plurality of physical layer channels in a transmission group, wherein the acquisition mode of the protection data comprises the following steps: calculating original data streams transmitted in all physical layer channels or partial physical layer channels in a network to generate one or more groups of protection data by taking a single physical layer channel as a unit;
transmitting the original data and the protection data; wherein the original data and the protection data are used at the receiving end for: when one or more physical layer channels corresponding to the original data have faults, the data to be transmitted is solved according to the original data and the protection data transmitted in the physical layer channels without faults.
2. The data transmission method according to claim 1,
when the protection data are in multiple groups, each group of protection data is obtained by calculation according to original data in multiple physical layer channels; the calculation rules adopted when calculating each group of protection data are the same, and the adopted parameters are different, so that each group of protection data obtained by calculation is different.
3. The data transmission method of claim 2, wherein obtaining a set of protection data from the raw data in the plurality of physical layer channels comprises:
carrying out digital operation on original data of a physical layer channel according to bits to obtain a group of protection data;
the transmitting the original data and the protection data comprises: transmitting 1 group of protection data through 1 protection channel; n sets of raw data are transmitted through N transmission channels.
4. The data transmission method according to claim 2, characterized in that the protection data is acquired according to any one of the following manners;
the method comprises the steps that in the first mode, when the number of transmission channels in a transmission group is set to be N and the number of protection channels is set to be M, N groups of original data are calculated according to a first operation rule and 11 th group of parameters, and a first group of protection data are obtained; calculating N groups of original data according to a first operation rule and 1i group parameters to obtain 1i group protection data until all M groups of protection data are obtained; wherein i is a positive integer less than or equal to M; each group of parameters are different; n and M are positive integers;
in a second mode, when the number of groups of the original data is N and the number of the transmission channels is N + M, calculating the N groups of original data according to a second operation rule and a 21 st group of parameters to obtain a first group of protection data; calculating N groups of original data according to a second operation rule and 2i groups of parameters to obtain i groups of protection data until all M groups of protection data are obtained, and mixing the N groups of original data and the M groups of protection data to obtain N + M groups of mixed data; wherein i is a positive integer less than or equal to M; each group of parameters are different;
when the protection data is obtained according to the first mode, the transmitting the original data and the protection data includes: transmitting M groups of protection data through M protection channels; transmitting N groups of original data through N transmission channels;
when obtaining the protection data according to the second mode, the transmitting the original data and the protection data includes: and transmitting the N + M groups of mixed data through the N + M channels.
5. The data transmission method according to claim 4,
in the second mode, the calculating of the N groups of original data according to the second operation rule, and the obtaining of the N + M groups of mixed data includes:
respectively selecting p basic units of original data from data streams of the original data transmitted by N physical layer channels for calculation to form q basic units of protection data, averagely dividing the data of N + p + q basic units into N + M parts according to a rule, wherein each part of contained data is (N + p + q)/(N + M) basic units, acquiring N + M parts of data according to the operation mode and all the data in the N physical layer channels, and transmitting the data through the N + M physical channels; wherein, the relationship between the protection data and the original data can form q check relational expressions; wherein, the basic unit is one of single bit, single byte, bit block or byte block in the source data stream transferred in the single physical layer channel; wherein q is p M.
6. The data transmission method according to claim 4,
under the condition of acquiring M groups of protection data according to N groups of original data, the condition of acquiring M groups of protection data according to N groups of original data comprises the following steps:
Figure FDA0003112866100000021
wherein, (d1, d 2.. dN) is N sets of raw data;
Figure FDA0003112866100000031
is as followsGenerating a matrix;
p1, p 2.. pM) is M groups of protection data;
respectively selecting p basic unit original data from data streams of the original data transmitted by N physical layer channels for calculation, and forming q basic unit protection data comprises the following steps:
Figure FDA0003112866100000032
wherein (d1, d 2.. d (N × p)) is N sets of raw data of p basic units;
Figure FDA0003112866100000033
generating a matrix for the second;
(p1, p 2.. pq.) are q pieces of protection data.
7. The data transmission method according to claim 6,
the first generation matrix is set as: if the number of the original data streams to be protected is k, and k is an integer greater than or equal to 1 and less than N, the first generation matrix needs to satisfy the condition that a sub-matrix in the first generation matrix corresponding to the original data streams satisfies a rank greater than or equal to k.
8. The data transmission method of claim 6, further comprising:
wherein the operation rule of the function F is
Figure FDA0003112866100000034
Wherein j is a positive integer less than or equal to R.
9. A method as claimed in claim 3, wherein said digital arithmetic operation comprises at least one of:
an exclusive-or operation, or an equal operation.
10. A method of data transmission, the method comprising:
receiving original data and protection data sent by a sending end, wherein the protection data is one or more groups of protection data generated by calculating original data streams transmitted in all physical layer channels or partial physical layer channels in a network by taking a single physical layer channel as a unit at the sending end;
when one or more physical layer channels corresponding to the original data have faults, the data to be transmitted is solved according to the original data and the protection data transmitted in the physical layer channels without faults.
11. The data transmission method according to claim 10,
in the case where the physical layer channels include N transmission channels and M protection channels,
the solving of the data to be transmitted according to the original data and the protection data transmitted in the physical layer channel without the fault includes:
detecting the signal quality of data transmitted in all transmission channels and protection channels in a channel group, and solving the data from the transmission channels if the data in all the transmission channels has no fault or only the data in the protection channels has a fault; if only part of the data in the transmission channel has a fault or part of the data in the transmission channel and part of the protection channel has a signal fault, the data to be transmitted is solved according to the original data and the protection data transmitted in the physical layer channel without the fault.
12. The data transmission method according to claim 11,
the solving of the data to be transmitted according to the original data and the protection data transmitted in the physical layer channel without the fault includes:
and taking the original data and the protection data in the physical channel without faults as known numbers, bringing the known numbers into a check relational expression used by a sending end for generating the protection data, and obtaining all N original data streams in a manner of solving the check relational expression so as to solve the data.
13. The data transmission method according to claim 10,
in case that the physical layer channel is transmitting mixed data,
the solving of the data to be transmitted according to the original data and the protection data transmitted in the physical layer channel without the fault includes:
detecting the signal quality of data transmitted in all physical layer channels in a channel group;
selecting a plurality of physical layer channels from the M + N physical layer channels according to the signal quality detection result, taking the data streams transmitted in the physical layer channels as known numbers, and carrying the known numbers into q equations for generating mixed data at the transmitting end to solve, so that all N original data streams can be obtained, and the data can be solved.
14. The data transmission method according to any one of claims 10 to 13, wherein the solving for the data to be transmitted further comprises regenerating a header of a data frame.
15. The data transmission method according to claim 14, wherein the regenerating the frame header of the data frame comprises:
in a Flexe scene, regenerating a 10 synchronization head of a Flexe frame header, a 0x4B type code, a 0x 5O code and a synchronization head in a 66b block;
in a FlexO scene, the AM region and the MFAS region of the FlexO frame are reproduced.
16. A data transmission apparatus, characterized in that the apparatus comprises:
the operation unit is used for acquiring corresponding protection data according to the original data of the plurality of physical layer channels in the transmission group, wherein the acquisition mode of the protection data comprises the following steps: calculating original data streams transmitted in all physical layer channels or partial physical layer channels in a network to generate one or more groups of protection data by taking a single physical layer channel as a unit;
a sending unit, configured to transmit original data and protection data; wherein the original data and the protection data are used at the receiving end for: when one or more physical layer channels corresponding to the original data have faults, the data to be transmitted is solved according to the original data and the protection data transmitted in the physical layer channels without faults.
17. The data transmission apparatus of claim 16,
when the protection data are in multiple groups, each group of protection data is obtained by calculation according to original data in multiple physical layer channels; the calculation rules adopted when calculating each group of protection data are the same, and the adopted parameters are different, so that each group of protection data obtained by calculation is different.
18. The data transmission apparatus according to claim 17, wherein the physical layer channels in the transmission group include N transmission channels and 1 protection channel, N being a positive integer;
the operation unit obtains a group of protection data according to original data in a plurality of physical layer channels, and the operation unit comprises:
carrying out digital operation on original data of a physical layer channel according to bits to obtain a group of protection data;
the transmitting the original data and the protection data comprises: transmitting 1 group of protection data through 1 protection channel; n sets of raw data are transmitted through N transmission channels.
19. The data transmission apparatus according to claim 17, wherein the arithmetic unit acquires the protection data according to any one of the following manners;
in a first mode, when physical layer channels in a transmission group comprise N transmission channels and M protection channels, calculating N groups of original data according to a first operation rule and a 11 th group of parameters to obtain a first group of protection data; calculating N groups of original data according to a first operation rule and 1i group parameters to obtain 1i group protection data until all M groups of protection data are obtained; wherein i is a positive integer less than or equal to M; each group of parameters are different; n and M are positive integers;
in a second mode, when the number of groups of the original data is N and the number of the transmission channels is N + M, calculating the N groups of original data according to a second operation rule and a 21 st group of parameters to obtain a first group of protection data; calculating N groups of original data according to a second operation rule and 2i groups of parameters to obtain i groups of protection data until all M groups of protection data are obtained, and mixing the N groups of original data and the M groups of protection data to obtain N + M groups of mixed data; wherein i is a positive integer less than or equal to M; each group of parameters are different;
when the protection data is obtained according to the first mode, the transmitting the original data and the protection data includes: transmitting M groups of protection data through M protection channels; transmitting N groups of original data through N transmission channels;
when obtaining the protection data according to the second mode, the transmitting the original data and the protection data includes: and transmitting the N + M groups of mixed data through the N + M channels.
20. The data transmission apparatus of claim 19,
in the second mode, the calculating unit calculates N sets of original data according to a second calculation rule, and acquiring N + M sets of mixed data includes:
respectively selecting p basic units of original data from data streams of the original data transmitted by N physical layer channels for calculation to form q basic units of protection data, averagely dividing the data of N + p + q basic units into N + M parts according to a rule, wherein each part of contained data is (N + p + q)/(N + M) basic units, acquiring N + M data according to the operation mode and all the data in the N physical layer channels, and transmitting the data through the N + M physical channels; wherein, the relationship between the protection data and the original data can form q check relational expressions; wherein, the basic unit is one of single bit, single byte, bit block or byte block in the source data stream transferred in the single physical layer channel; wherein q is p M.
21. A data transmission apparatus, characterized in that the apparatus comprises:
the device comprises a receiving unit and a processing unit, wherein the receiving unit is used for receiving original data and protection data sent by a sending end, and the protection data is one or more groups of protection data generated by calculating original data streams transmitted in all physical layer channels or part of the physical layer channels in a network at the sending end by taking a single physical layer channel as a unit;
and the data analysis unit is used for solving the data to be transmitted according to the original data and the protection data transmitted in the physical layer channel without faults when one or more physical layer channels corresponding to the original data have faults.
22. The data transmission apparatus according to claim 21, wherein the data parsing unit is further configured to:
in the case where the physical layer channels include N transmission channels and M protection channels,
detecting the signal quality of data transmitted in all transmission channels and protection channels in a channel group, and solving the data from the transmission channels if the data in all the transmission channels has no fault or only the data in the protection channels has a fault; if only part of the data in the transmission channel has a fault or part of the data in the transmission channel and part of the protection channel has a signal fault, the data to be transmitted is solved according to the original data and the protection data transmitted in the physical layer channel without the fault.
23. A data transmission apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the computer program implements a process according to the method of any one of claims 1 to 15.
CN201710882902.6A 2017-09-26 2017-09-26 Data transmission method and device Active CN109560864B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710882902.6A CN109560864B (en) 2017-09-26 2017-09-26 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710882902.6A CN109560864B (en) 2017-09-26 2017-09-26 Data transmission method and device

Publications (2)

Publication Number Publication Date
CN109560864A CN109560864A (en) 2019-04-02
CN109560864B true CN109560864B (en) 2021-10-19

Family

ID=65863114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710882902.6A Active CN109560864B (en) 2017-09-26 2017-09-26 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN109560864B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4072052A4 (en) * 2019-12-31 2022-12-14 Huawei Technologies Co., Ltd. Data sending method, receiving method, sending device and receiving device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003081826A2 (en) * 2002-03-27 2003-10-02 Lightmaze Ag Supervisory channel in an optical network system
CN1458764A (en) * 2003-05-30 2003-11-26 西安通视数据有限责任公司 Forward error correcting method in one-way broadcast file transmission
CN102307230A (en) * 2011-08-18 2012-01-04 中兴通讯股份有限公司 Service transmission method and device
CN106788855A (en) * 2015-11-23 2017-05-31 华为技术有限公司 The optical transfer network bearing method and device of a kind of flexible Ethernet service

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136899B (en) * 2006-08-31 2011-09-07 杭州华三通信技术有限公司 Ethernet physical layer transmission protecting method, and device and equipment for implementing the same
US8179787B2 (en) * 2009-01-27 2012-05-15 Smsc Holding S.A.R.L. Fault tolerant network utilizing bi-directional point-to-point communications links between nodes
CN101674153B (en) * 2008-09-09 2012-05-30 普天信息技术研究院有限公司 Method, device and system for processing information
US9635421B2 (en) * 2009-11-11 2017-04-25 Time Warner Cable Enterprises Llc Methods and apparatus for audience data collection and analysis in a content delivery network
US9270368B2 (en) * 2013-03-14 2016-02-23 Hubbell Incorporated Methods and apparatuses for improved Ethernet path selection using optical levels
CN105656652A (en) * 2014-11-14 2016-06-08 中兴通讯股份有限公司 Service data flow transmission method and device
CN104539388B (en) * 2014-12-08 2020-05-05 中兴通讯股份有限公司 Data transmitting and receiving method and device
CN111953450A (en) * 2017-02-16 2020-11-17 华为技术有限公司 Method and equipment for transmitting data in flexible Ethernet

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003081826A2 (en) * 2002-03-27 2003-10-02 Lightmaze Ag Supervisory channel in an optical network system
CN1458764A (en) * 2003-05-30 2003-11-26 西安通视数据有限责任公司 Forward error correcting method in one-way broadcast file transmission
CN102307230A (en) * 2011-08-18 2012-01-04 中兴通讯股份有限公司 Service transmission method and device
CN106788855A (en) * 2015-11-23 2017-05-31 华为技术有限公司 The optical transfer network bearing method and device of a kind of flexible Ethernet service

Also Published As

Publication number Publication date
CN109560864A (en) 2019-04-02

Similar Documents

Publication Publication Date Title
US10931554B2 (en) Flexible ethernet operations, administration, and maintenance systems and methods
US10567352B2 (en) Flexible ethernet encryption systems and methods
US10193688B2 (en) Flexible Ethernet encryption systems and methods
US10425177B2 (en) Flexible ethernet switching systems and methods
US10382167B2 (en) Flexible ethernet enhanced forward error correction
US10218823B2 (en) Flexible ethernet client multi-service and timing transparency systems and methods
CN108123813B (en) Transmission method and device for operation, administration and maintenance OAM data
JP3668673B2 (en) Error correction code configuration method, decoding method, transmission apparatus, network
EP2975858B1 (en) Method for processing data in the ethernet, physical layer chip and ethernet device
US20060098686A1 (en) Frame transmitting apparatus and frame receiving apparatus
JPWO2013125621A1 (en) Multilane transmission apparatus and multilane transmission method
US11277217B2 (en) Flexible Ethernet switching systems and methods
WO2008052858B1 (en) Forward error correction encoding for multiple link transmission compatible with 64b/66b scrambling
CN109560864B (en) Data transmission method and device
JP6235987B2 (en) Optical transmission system and optical transmission method
JP6525004B2 (en) Multicarrier optical transmitter, multicarrier optical receiver, and multicarrier optical transmission method
WO2013005766A1 (en) Transmission system and transmission method
US10771178B2 (en) Method for sending and receiving optical transport network (OTN) signal, OTN device, and system
JP3902522B2 (en) Method for transporting frames of information between parts of a network via an intermediate network
JP4969603B2 (en) Information transfer device, information transfer method, and information relay device
US7126943B2 (en) Method and apparatus for interfacing a parallel connection
WO2019244633A1 (en) Signal quality information notification method and relay communication device
WO2023223564A1 (en) Information processing device, information processing method, communication system, and program
JP2004320580A (en) Encoding method, encoding device, and coded communication system
JPH09219698A (en) Error correction method for high speed communication

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant