CN109560864A - A kind of data transmission method and device - Google Patents

A kind of data transmission method and device Download PDF

Info

Publication number
CN109560864A
CN109560864A CN201710882902.6A CN201710882902A CN109560864A CN 109560864 A CN109560864 A CN 109560864A CN 201710882902 A CN201710882902 A CN 201710882902A CN 109560864 A CN109560864 A CN 109560864A
Authority
CN
China
Prior art keywords
data
group
protection
channel
transmission
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.)
Granted
Application number
CN201710882902.6A
Other languages
Chinese (zh)
Other versions
CN109560864B (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

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 present invention provides a kind of data transmission method and device, which comprises according to the initial data of physical layer channel in transmission group, obtains corresponding protection data;Initial data and protection data are transmitted.Scheme through the invention, a kind of data check scheme is provided for logical channel, when improving some or multiple physical channels in logical channel and breaking down, the problem of entire logical channel can interrupt, the safe transmission for having ensured logical channel improves the reliability of network.

Description

A kind of data transmission method and device
Technical field
The present invention relates to the communications field, espespecially a kind of data transmission method and device.
Background technique
It is gradually more and more applied by binding the method that multiple physical layer channels realize business transmission, physical layer Channel can be optical fiber, be also possible to backplane channel.Flexible Ethernet (FlexE-Flexible Ethernet) and flexible light pass Sending net (FlexO-Flexible Optical transport network) is exactly two kinds of applications of this technology.
Flexible Ethernet (FlexE-Flexible Ethernet) technology is by International Organization for standardization OIF in March, 2015 Research is initiated, and formally votes through relevant technical documentation in March, 2016.Flexible ethernet technology provides a kind of general Mechanism transmits the business of difference MAC (Media Access Control, media access control) rates a series of, can be list A biggish business of MAC speed ratio is also possible to the set of multiple lesser business of MAC speed ratio, be not limited to single MAC The universal architecture of the business of rate, flexible Ethernet is as shown in Figure 1.Flexible one characteristic of Ethernet is exactly: binding multiple rates Identical ethernet PHY (physical channel) transmits the biggish business of MAC speed ratio, such as the ethernet PHY of 3 100G of binding For supporting that MAC rate is the business of 300G, i.e. business is transmitted in a plurality of ethernet PHY.
Difference on flexible Ethernet and traditional ethernet structure is flexible Ethernet in MAC layer and PCS (Physical Coding Sublayer) layer more a bed course (FlexE Shim), the function of the bed course are that one size of building is 20*n The Calendar of 66b block, n are the ethernet PHY number of binding, and each 66b block represents the time slot of a 5G.In multiplexing side, no Business with MAC rate is put into corresponding number 66b block according to the multiple proportion with 5G.Every 20 66b blocks constitute a sub- Calendar, size are that the Calendar of 20*n is distributed in n sub-Calendar.For each sub-Calendar, often 20*1023 66b block adds the expense of a 66b block, and for storing relevant mapping relations, each sub-Calendar is in list It is transmitted in the ethernet PHY of a 100G.In demultiplexing side, it is 20*n's that n sub-Calendar, which forms a size, Calendar extracts corresponding client traffic from the 66b block of corresponding number according to the mapping relations stored in expense.Mesh Before, OIF only considers that rate is the ethernet PHY of 100G, and the following 200G can also consider more after 400G ethernet standard is promulgated The ethernet PHY of big rate.FlexE group refers to the group formed of being got up by one 1 to n ethernet PHY binding, As shown in Figure 1.
Flexible optical transfer network (FlexO-Flexible Optical transport network) technology is by international standard Change tissue ITU to initiate research in June, 2015 and formally vote through relevant technical documentation in September, 2016, flexible light passes Send the universal architecture of net as shown in Figure 2.Flexible one characteristic of optical transfer network is exactly: binding the identical optical transfer network of multiple rates and connects Mouthful realize that the intercommunication of B100G OTN, such as the OTN interface of 4 100G of binding are used to realize OTUC4 intercommunication.
Since FlexE/FlexO agreement is that multiple physical channels are bundled into the logical channel of business transmitting, when one When a physical channel is broken down, as shown in figure 3, then entire logical channel breaks down, such as a physical channel is interrupted, then whole A logical channel is just interrupted, and the probability that logical channel breaks down is that single physical channel is broken down the integral multiple of probability, Multiple is exactly the total quantity of physical channel, and the reliability of such whole network just reduces.
The integrity problem of flexible ethernet network and flexible optical transfer network network is not considered in standard agreement at present, this Patent proposes a kind of solution on this question.
Summary of the invention
To solve the above-mentioned problems, the invention proposes a kind of data transmission method and device, it is able to solve logical channel The problem of network reliability caused by the probability to break down is higher declines.
In order to solve the above-mentioned technical problem, the invention proposes a kind of data transmission methods, which comprises
According to the initial data of physical layer channel in transmission group, corresponding protection data are obtained;
Initial data and protection data are transmitted.
Preferably, the initial data according to physical layer channel in transmission group, obtaining corresponding protection data includes:
According to the initial data in a plurality of physical layer channel, obtains one group or multiple groups protect data;
Wherein, when protecting data is multiple groups, wherein each group of protection data are according to a plurality of physical layer channel In initial data be calculated;When calculating each group of protection data, used operation rule is identical, and the parameter used Difference, so that each group of protection data being calculated are all different.
Preferably, wherein according to the initial data in a plurality of physical layer channel, obtaining one group of protection data includes:
The initial data step-by-step of physical layer channel is subjected to digit arithmetic operation, obtains one group of protection data;
It is described to initial data and protection data carry out transmission include: by 1 protection 1 group of protection data of channel transfer; N group initial data is transmitted by N number of transmission channel.
Preferably, protection data are obtained according at least one of such as under type;
Mode one, the number of transmission channel is N in setting transmission group, when the number in channel being protected to be M, according to the first fortune It calculates rule and the 11st group of parameter calculates N group initial data, obtain first group of protection data;According to the first operation rule and 1i group parameter calculates N group initial data, obtains 1i group and protects data, until obtaining whole M group protects data;Its In, i is the positive integer less than or equal to M;Every group of parameter is all different;N and M is positive integer;
Mode two, the case where the group number of initial data is N, and the number of transmission channel is N+M when, advised according to the second operation Then N group initial data is calculated with the 21st group of parameter, obtains first group of protection data;According to the second operation rule and 2i Group parameter calculates N group initial data, obtains i-th group of protection data, until obtaining whole M group protects data, it is former to N group Beginning data and M group protection data are mixed, and N+M group blended data is obtained;Wherein, i is the positive integer less than or equal to M;Often Group parameter is all different;
According to mode one obtain protection data when, it is described to initial data and protection data carry out transmission include: to pass through M A protection channel transfer M group protects data;N group initial data is transmitted by N number of transmission channel;
According to mode two obtain protection data when, it is described to initial data and protection data carry out transmission include: to pass through N + M channel transfer N+M group blended datas.
Preferably, it is calculated in mode two, according to the second operation rule to N group initial data, obtains the mixing of N+M group Data include:
The original number of p basic unit is chosen in the data flow for the initial data transmitted from N number of physical layer channel respectively According to being calculated, the protection data of q basic unit are formed, the data of N*p+q basic unit are divided into N+M by rule Part, every part of data for being included are a basic unit of (N*p+q)/(N+M), logical according to above-mentioned operation mode and N number of physical layer All data acquisition N+M parts of data in road, and sent by N+M physical channel;Wherein, data and original number are protected According to relationship can form q verification relational expression;Wherein, basic unit refers to transmitted source traffic in single physical layer channel In single-bit, single byte, one in bit block or block of bytes;Wherein, q=p*M.
Preferably, described to be obtained according to N group initial data in the case where obtaining M group protection data according to N group initial data Take M group protect data the case where include:
Wherein, (d1, d2 ... dN) it is N group initial data;
For the first generator matrix;
(p1, p2 ... pM) it is that M group protects data;
The original number of p basic unit is chosen in the data flow for the initial data transmitted from N number of physical layer channel respectively According to being calculated, the protection data for forming q basic unit include:
Wherein, (d1, d2 ... d (N*p)) is the initial data of p basic unit of N group;
For the second generator matrix;
(p1, p2 ... pq) it is q protection data.
Preferably, first generator matrix setting are as follows: the original data stream number if desired protected is k, k be greater than or Integer equal to 1 and less than N, then the first generator matrix needs to meet the sub- square in corresponding first generator matrix of original data stream Battle array meets the condition that order is more than or equal to k.
Preferably, the method also includes:
Wherein, the operation rule of function F is
Wherein, j is the positive integer less than or equal to R.
Preferably, the digit arithmetic operation includes at least one such as under type:
XOR operation, same or operation wait operations.
In order to solve the above-mentioned technical problem, the invention also provides a kind of data transmission methods, which comprises
Receive the initial data and protection data that transmitting terminal is sent;
When the corresponding one or more physical layer channels of initial data break down, according to there is no the physics of failure The initial data and protection data transmitted in layer channel, solve the data for needing to transmit.
Preferably, the method also includes:
In the case where physical layer channel includes N number of transmission channel and M protection channel,
The signal quality of all transmission channels and transmitted data in protection channel in sense channel group, if all transmission are logical Data in road break down without failure or the data only in protection channel, then data are solved from transmission channel; If the data only in fractional transmission channel break down, or have the data in fractional transmission channel and part protection channel to go out Existing signal fault solves needs then according to there is no the initial data transmitted in the physical layer channel of failure and protection data The data of transmission.
Preferably, there is no the initial data transmitted in the physical layer channel of failure and protection data, solutions for the basis The data for needing to transmit out include:
It using the initial data in without failure physical channel and protects data as datum, it is raw to be brought into transmitting terminal At in verification relational expression used in protection data, whole N original data streams are obtained in such a way that solution verifies relational expression, thus Solve data.
Preferably, physical layer channel transmission be blended data in the case where,
The basis solves there is no the initial data transmitted in the physical layer channel of failure and protection data and needs to pass Defeated data include:
In sense channel group in all physical layer channels transmitted data signal quality;
Several physical layer channels are chosen from M+N physical layer channel according to signal quality testing result, by these objects The data flow transmitted in reason layer channel is brought into q equation of transmitting terminal generation blended data and solves, can obtain as datum To whole N original data streams, to solve data.
Preferably, described to solve that need the data transmitted further include living again to the frame head of data frame.
Preferably, the frame head to data frame live again include:
Under FlexE scene, to 10 synchronous heads of FlexE frame head, 0x4B type codes are same in 0x5O code and 66b block Step head is lived again;
Under FlexO scene, live again to the region AM and the region MFAS of FlexO frame.
In order to solve the above-mentioned technical problem, the invention also provides a kind of data transmission device, described device includes:
Arithmetic element obtains corresponding protection data for the initial data according to physical layer channel in transmission group;
Transmission unit, for being transmitted to initial data and protection data.
Preferably, the arithmetic element obtains corresponding protection number according to the initial data of physical layer channel in transmission group According to including:
According to the initial data in a plurality of physical layer channel, obtains one group or multiple groups protect data;
Wherein, when protecting data is multiple groups, wherein each group of protection data are according to a plurality of physical layer channel In initial data be calculated;When calculating each group of protection data, used operation rule is identical, and the parameter used Difference, so that each group of protection data being calculated are all different.
Preferably, the physical layer channel in transmission group includes N number of transmission channel and 1 protection channel, and N is positive integer;
According to the initial data in a plurality of physical layer channel, obtain one group of protection data includes: the arithmetic element
The initial data step-by-step of physical layer channel is subjected to digit arithmetic operation, obtains one group of protection data;
It is described to initial data and protection data carry out transmission include: by 1 protection 1 group of protection data of channel transfer; N group initial data is transmitted by N number of transmission channel.
Preferably, the arithmetic element obtains protection data according at least one of such as under type;
When physical layer channel in mode one, transmission group includes N number of transmission channel and M protection channel, according to the first fortune It calculates rule and the 11st group of parameter calculates N group initial data, obtain first group of protection data;According to the first operation rule and 1i group parameter calculates N group initial data, obtains 1i group and protects data, until obtaining whole M group protects data;Its In, i is the positive integer less than or equal to M;Every group of parameter is all different;N and M is positive integer;
Mode two, the case where the group number of initial data is N, and the number of transmission channel is N+M when, advised according to the second operation Then N group initial data is calculated with the 21st group of parameter, obtains first group of protection data;According to the second operation rule and 2i Group parameter calculates N group initial data, obtains i-th group of protection data, until obtaining whole M group protects data, it is former to N group Beginning data and M group protection data are mixed, and N+M group blended data is obtained;Wherein, i is the positive integer less than or equal to M;Often Group parameter is all different;
According to mode one obtain protection data when, it is described to initial data and protection data carry out transmission include: to pass through M A protection channel transfer M group protects data;N group initial data is transmitted by N number of transmission channel;
According to mode two obtain protection data when, it is described to initial data and protection data carry out transmission include: to pass through N + M channel transfer N+M group blended datas.
Preferably, in mode two, the arithmetic element N group initial data is calculated according to the second operation rule, Obtaining N+M group blended data includes:
The original number of p basic unit is chosen in the data flow for the initial data transmitted from N number of physical layer channel respectively According to being calculated, the protection data of q basic unit are formed, the data of N*p+q basic unit are divided into N+M by rule Part, every part of data for being included are a basic unit of (N*p+q)/(N+M), logical according to above-mentioned operation mode and N number of physical layer All data acquisition N+M data in road, and sent by N+M physical channel;Wherein, data and initial data are protected Relationship can form q verification relational expression;Wherein, basic unit refers in single physical layer channel in transmitted source traffic Single-bit, single byte, one in bit block or block of bytes;Wherein, q=p*M.
Preferably, described to be obtained according to N group initial data in the case where obtaining M group protection data according to N group initial data Take M group protect data the case where include:
Wherein, (d1, d2 ... dN) it is N group initial data;
For the second generator matrix;
(p1, p2 ... pM) it is that M group protects data;
The original number of p basic unit is chosen in the data flow for the initial data transmitted from N number of physical layer channel respectively According to being calculated, the protection data for forming q basic unit include:
Wherein, (d1, d2 ... d (N*p)) is the initial data of p basic unit of N group;
For the second generator matrix;
(p1, p2 ... pq) it is q protection data.
Preferably, the first generator matrix setting are as follows:
If desired the original data stream number protected is k, and k is the integer more than or equal to 1 and less than N, then first generates The submatrix that matrix needs to meet in corresponding first generator matrix of original data stream meets the condition that order is more than or equal to k.
Preferably, the operation rule of the function F is
Wherein, j is the positive integer less than or equal to R.
Preferably, the scheduled operation rule includes at least one such as under type:
XOR operation, same or operation wait operations.
In order to solve the above-mentioned technical problem, the invention also provides a kind of data transmission device, described device includes:
Receiving unit, for receiving the initial data and protection data of transmitting terminal transmission;
Data parsing unit is used for when the corresponding one or more physical layer channels of initial data break down, according to There is no the initial data transmitted in the physical layer channel of failure and protection data, solve the data for needing to transmit.
Preferably, the data parsing unit is also used to:
In the case where physical layer channel includes N number of transmission channel and M protection channel,
The signal quality of all transmission channels and transmitted data in protection channel in sense channel group, if all transmission are logical Data in road break down without failure or the data only in protection channel, then data are solved from transmission channel; If the data only in fractional transmission channel break down, or have the data in fractional transmission channel and part protection channel to go out Existing signal fault solves needs then according to there is no the initial data transmitted in the physical layer channel of failure and protection data The data of transmission.
Preferably, the data parsing unit according to the initial data transmitted in the physical layer channel there is no failure and Data are protected, solving the data that needs transmit includes:
It using the initial data in without failure physical channel and protects data as datum, it is raw to be brought into transmitting terminal At in verification relational expression used in protection data, whole N original data streams are obtained in such a way that solution verifies relational expression, thus Solve data.
Preferably, the data parsing unit according to the initial data transmitted in the physical layer channel there is no failure and Data are protected, solving the data that needs transmit includes:
Physical layer channel transmission be blended data in the case where,
In sense channel group in all physical layer channels transmitted data signal quality;
Several physical layer channels are chosen from M+N physical layer channel according to signal quality testing result, by these objects The data flow transmitted in reason layer channel is brought into q equation of transmitting terminal generation blended data and solves, can obtain as datum To whole N original data streams, to solve data.
Preferably, described device further include: unit of living again needs the data transmitted to further include, to data frame for solving Frame head live again.
Preferably, the unit of living again the frame head of data frame live again include:
Under FlexE scene, to 10 synchronous heads of FlexE frame head, 0x4B type codes are same in 0x5O code and 66b block Step head is lived again;
Under FlexO scene, live again to the region AM and the region MFAS of FlexO frame.
In order to solve the above-mentioned technical problem, the invention also provides a kind of data transmission devices, including memory, processor And it is stored in the computer program that can be run on the memory and on the processor, which is characterized in that the processor The processing of any of the above-described data transmission method is realized when executing the computer program.
Compared with prior art, technical solution provided by the invention includes: according to scheduled first operation rule to transmission The initial data of whole transmission channels carries out operation in group, obtains corresponding protection data;Protection data are transmitted.Pass through The solution of the present invention provides a kind of data check scheme for logical channel, improve in logical channel some or it is more When a physical channel is broken down, the problem of entire logical channel can interrupt, the safe transmission of logical channel is ensured, has changed It has been apt to the reliability of network.
Detailed description of the invention
The attached drawing in the embodiment of the present invention is illustrated below, the attached drawing in embodiment be for of the invention into one Step understands, is used to explain the present invention, does not constitute a limitation on the scope of protection of the present invention together with specification.
Fig. 1 is FlexE universal network schematic diagram of a scenario in the prior art;
Fig. 2 is FlexO universal network schematic diagram of a scenario in the prior art;
Fig. 3 is FlexE network existing defects schematic diagram in the prior art;
Fig. 4 is the flow diagram of data transmission method provided in an embodiment of the present invention;
Fig. 5 A is 400G business transmission protection schematic diagram in flexible Ethernet;
Fig. 5 B is FlexE sub-calendar data format schematic diagram;
Fig. 5 C is 1 protection data creation method schematic diagram;
Fig. 5 D is the recovery process schematic diagram after the 400G signal transmission in Fig. 5 A;
Fig. 6 A is 600G business transmission protection schematic diagram in flexible Ethernet;
Fig. 6 B is 4 protection data creation method schematic diagrames;
Fig. 6 C is 600G signal recovery process schematic diagram;
Fig. 7 A is 400G business transmission protection schematic diagram in flexible Ethernet;
Fig. 7 B is 4 road signals to 6 road signal transition diagrams;
Fig. 8 A is 400G business transmission protection schematic diagram in flexible Ethernet;
The electric layer schematic diagram data that Fig. 8 B is OTUC layers;
Fig. 9 A and Fig. 9 B are the structural schematic diagram of data transmission device provided in an embodiment of the present invention.
Specific embodiment
For the ease of the understanding of those skilled in the art, the invention will be further described with reference to the accompanying drawing, not It can be used to limit the scope of the invention.It should be noted that in the absence of conflict, embodiment and reality in the application The various modes applied in example can be combined with each other.
Referring to fig. 4, the invention proposes a kind of data transmission methods, which comprises
Step 100, operation is carried out to the initial data of transmission channels whole in transmission group, obtains corresponding protection data;
Wherein it is possible to carry out operation to whole initial data according to scheduled first operation rule.
Step 200, initial data and protection data are transmitted.
After obtaining the corresponding protection data of initial data, simultaneous transmission initial data and protection data.
Data transmission method provided in an embodiment of the present invention is applied to a binding multiple physical layer channels formation one and leads to Road group realizes the network of business transmission, and the original data stream transmitted in the physical layer channel in the channel group is carried out calculating shape At more one or more protection data flows, the relationship of data flow and original data stream is protected to form one or more verification relationships Formula, verification relational expression are preferably equation, and the number of equation is related with protection data flow, and protection data flow passes in protection channel It passs.In the channel group, if physical layer channel break down, can solve equation or solving equations by way of recover appearance Data in the physical layer channel of failure.Concrete thought are as follows:
In transmitting terminal, calculate generating according to the original data stream transmitted in physical layer channel in network and protect data It flows, the original data stream transmitted in physical layer channel is the general designation of electric layer data format.Protect the generating mode of data flow can Are as follows:
Mode one, as unit of single physical layer channel, physical layer channels all in the network or part physical layer are led to Transmitted original data stream, which calculate, in road generates protection data flow, and protection data flow number can be one, be also possible to more It is a, protect the relationship of data flow and original data stream that can form one or more equations.
Mode two, with the single-bit or single byte byte or bit block in transmitted source traffic in single physical layer channel Or block of bytes is unit, it is assumed that includes n physical layer channel in a channel group, each physical layer channel is passed from the network P bit or byte or bit block are chosen in the source traffic passed or the initial data of block of bytes is calculated, and form q bit Or the protection data of byte or bit block or block of bytes, this p+q data is divided into m parts by rule, every part is included Data are (n*p+q)/m bit or byte or bit block or block of bytes, and all data in n physical layer channel are all in accordance with upper Method processing is stated, is sent finally by m physical channel.The relationship of protection data and initial data can form q side Journey.
In receiving end, the mode for protecting data flow to generate according to transmitting terminal is different, and the criterion for receiving processing is not also identical.
If transmitting terminal generates protection data flow, all physical layer channels in receiving end, sense channel group using method one With the signal quality of transmit data in protection channel, if data in all physical layer channels all without failure or only have guarantor The data protected in channel break down, and data are directly solved from physical channel;If the data only in part physical layer channel Or there is signal fault in the data in physical layer channel and the data in protection channel, then lead to without failure physics Data flow is brought into transmitting terminal protection data flow and generates equation used as datum in data flow and protection channel in road In, solve equation or solving equations by way of restore break down physical layer channel in original data stream, to solve Business.
If transmitting terminal generates protection data flow using method two, in receiving end, transmitted number in m physical layer channel is detected According to signal quality, several physical layer channels are chosen from m physical layer channel, the number that will be transmitted in these physical layer channels It is used as datum according to stream, is brought into q equation of transmitting terminal generation protection data and solves, n all original numbers can be obtained According to stream, to solve data.
It is N+M in channel number in the embodiment of the present invention, (physical layer channel when the data flow number N of initial data Number is N), initial data is calculated according to preset operation rule and one group of parameter, one group of protection data is obtained, according to phase Same operation rule and different parameters are by being calculated other each group of protection data, wherein each group of protection data Used parameter is all different, by the above-mentioned means, being all different each group of protection data being calculated.
The first data transfer mode is illustrated first below.
In the embodiment of the present invention, the number of transmission channel is N in transmission group, and protecting the number in channel is M, it is preferable that M is small In N;
It is described to obtain corresponding protection data and include:
Data acquisition M group, which is transmitted, according to N group protects data;
It is described to initial data and protection data carry out transmission include:
Data are protected by M protection channel transfer M group;
N group initial data is transmitted by N number of transmission channel.
Wherein, include the case where transmitting data acquisition M group protection data according to N group in the corresponding protection data of the acquisition Under, it is described to include: according to N group transmission data acquisition M group protection data
Wherein, (d1, d2 ... dN) it is that N group transmits data;
For the second generator matrix;
(p1, p2 ... pM) it is that M group protects data.
Wherein, the scheduled operation rule includes at least one of such as under type: XOR operation, with or operation or Operation.
It is illustrated below with reference to a specific example.
Embodiment one
As shown in Figure 5A, 400G business is mutually transferred between router A and router B, left side router A passes through four The FlexE group that the physical layer PHY of 100G is formed is connect with router B, additional to increase by one in order to improve network reliability Physical layer protects PHY.
In this example, M 1, N 4.
Step 1, in router A, the service bearer of 400G is in 4 physical layer PHY in FlexE group, respectively PHY#1, PHY#2, PHY#3 and PHY#4 can specifically be identified, each according to the PHY number in every PHY FlexE expense The data flow S1, S2, S3 transmitted in PHY, S4 expression.
Step 2, in router A, as unit of the PHY in FlexE group, the data that will be transmitted on 4 PHY, this For sentencing the data format at FlexE sub-calendar, wherein FlexE sub-calendar be electric layer data, i.e., one A 66b block expense is followed by upper 1023*20 66b block number evidence, as shown in Figure 5 B, is also possible to the electric layer data of other levels, Such as PMA layers of electric layer data.FlexE sub-calendar data on this 4 PHY are subjected to xor operation, obtain protection Data flow P1, for protecting Section Overhead such as the frame head instruction and multi-frame instruction of data flow to regenerate, as shown in Figure 5 C, This protection data flow P1 is transmitted in physical layer protection PHY.Protection data flow and protection data flow are formed by equation (a) it is
Refer to xor operation.Can certainly be using his type calculating replace, such as or wait, herein not detailed It states.
Step 3, in router B, after receiving 5 PHY, the signal quality of transmitted data on this 5 PHY is examined It surveys.Testing result can be divided into following situation:
If 5 PHY do not occur signal fault or signal quality is all relatively good, 4 PHY in FlexE group are received The data transmitted.
If signal fault or poor signal quality occurs in only protection PHY in 5 PHY, 4 are received in FlexE group The data that PHY is transmitted.
If in 5 PHY, signal fault or poor signal quality occurs in certain PHY in FlexE group, then FlexE is received The data that 3 PHY of remaining in group are transmitted, and as known conditions, institute solve after is brought in the equation of transmitting terminal into The value obtained is exactly the data that signal fault or poor signal quality physical layer PHY are transmitted occur.Such as, it is assumed that in PHY#3 Data S3 breaks down or poor signal quality, then receiving end receives PHY#1, data S1, S2, S4 in PHY#2, PHY#4 and The data P1 in PHY is protected, is brought into equation (a),
ByIt derives
Specific calculating process is as shown in Figure 5 D.
Step 4, router B solves original 400G signal from the data received, completes entire transmission process.
It is specifically described below with reference to another example.
Embodiment two
As shown in Figure 6A, 600G business is mutually transferred between router A and router B, left side router A passes through 6 The FlexE group that the physical layer PHY of 100G is formed is connect with router B, additional to increase by 4 in order to improve network reliability Physical layer protects PHY.
In this example, M 4, N 6.
Step 1, in router A, the service bearer of 600G is in 6 physical layer PHY in FlexE group, respectively PHY#1, PHY#2, PHY#3, PHY#4, PHY#5 and PHY#6, specifically can be according to the PHY in every PHY FlexE expense Number identification, the data flow S1, S2, S3 transmitted in each PHY, S4, S5, S6 are indicated.
Step 2, raw according to the data transmitted on 6 PHY as unit of the PHY in FlexE group in router A It is used on protection PHY transmit at 3 protection data, for this sentences the data format at FlexE sub-calendar, i.e., One 66b block expense is followed by upper 1023*20 66b block number evidence, as shown in Figure 5 B, is also possible to the electric layer number of other levels According to, such as PMA layers of electric layer data.Generation method are as follows: by what is transmitted on PHY#1, PHY#2, PHY#3 and PHY#6 FlexE-subcalendar data S1, S2, S3, S6 carries out xor operation and obtains protection data flow P1, for protection data flow Section Overhead such as frame head instruction and multi-frame instruction will regenerate, and data flow P1 will be protected to protect PHY# in additional physical layer It is transmitted in 1, FlexE-subcalendar data S1, S3, the S4 that will be transmitted on PHY#1, PHY#3, PHY#4 and PHY#5, S5 carries out xor operation and obtains protection data flow P2, for protecting Section Overhead such as frame head instruction and the multi-frame of data flow to indicate Regenerate, data flow P2 will be protected to transmit in additional physical layer protection PHY#2, by PHY#2, PHY#4, PHY#5 with And FlexE-subcalendar the data S2, S4, S5 transmitted on PHY#6, S6 progress xor operation obtain protection data flow P3 exists protection data flow P3 for protecting Section Overhead such as the frame head instruction and multi-frame instruction of data flow to regenerate It is transmitted in additional physical layer protection PHY#3, the FlexE-subcalendar that will be transmitted on PHY#1, PHY#2 and PHY#4 Data S1, S2, S4 carry out xor operation and obtain protection data flow P4, for protect the Section Overhead such as frame head instruction of data flow with And multi-frame instruction will regenerate, and data flow P4 will be protected to transmit in additional physical layer protection PHY#4.
Include: according to 6 groups of transmission data acquisitions, 4 groups of protection data
The first generator matrix, which is arranged, isAccording to transformation matrix, obtains transmission data and protect data Equation group;
According to the first transformation matrix and transmission data, M protection data are successively calculated;
Wherein,J is the positive integer less than or equal to M.
The PM that all previous can calculate P1, P2 by above-mentioned formula ....
As shown in Figure 6B, according to above-mentioned transformation matrix, data flow and the protection data flow side of being formed by be can be protected Journey group (b) is:
Refer to xor operation.Can certainly be using his type calculating replace, such as or wait, herein not detailed It states.
Step 3, in router B, after receiving 10 PHY, the signal quality of transmitted data on this 10 PHY is carried out Detection.Testing result can be divided into following situation:
If 10 PHY do not occur signal fault or signal quality is all relatively good, 6 PHY in FlexE group are received The data transmitted.
If signal fault or poor signal quality occurs in only protection PHY in 10 PHY, 6 are received in FlexE group The data that PHY is transmitted.
If in 10 PHY, there is signal fault or poor signal quality in a certain or certain two PHY in FlexE group, The data that remaining PHY is transmitted in FlexE group are then received, and as known conditions, bring the equation group of transmitting terminal into The value obtained after middle solution is exactly the data that signal fault or poor signal quality physical layer PHY are transmitted occur.Such as, it is assumed that Data S1 in PHY#1 and PHY#3, S3 break down or poor signal quality, then receiving end is by received PHY#2, in PHY#4 Value after data S2, S4 and the data P4 exclusive or protected in PHY#4 obtains the data S1 in PHY#1, and receiving end is by received PHY# The value after data P1, the P4 exclusive or in data S4, S6 and protection PHY#1 and protection PHY#4 in 4, PHY#6 obtains in PHY#3 Data, as shown in Figure 6 C.Specific solving equations process are as follows:
By
It derives
Step 4, router B solves original 600G signal from the data received, completes entire transmission process.
Second of data transfer mode is illustrated below.
The number of transmission channel is N in transmission group, and protecting the number in channel is M, it is preferable that M is the integer less than N;
It is described to obtain corresponding protection data and include:
Data acquisition N+M group blended data is transmitted according to N group, the blended data includes protection data and initial data;
It is described to initial data and protection data carry out transmission include:
Pass through N+M channel transfer N+M group blended data.
Wherein, described to include: according to N group transmission data acquisition N+M group blended data
Wherein, (d1, d2 ... dN) it is that N group transmits data;
For the second generator matrix, the order of second generator matrix meets be greater than or equal to 2;
(p1, p2 ... pR) it is that N+M group protects data;R=N+M.
Wherein, the operation rule of function F is
Wherein, j is the positive integer less than or equal to R;
In above-mentioned example, the operation rule of function F is illustrated by taking XOR operation as an example, wherein XOR operation can also be with Replace with other operations.
Wherein, the method also includes:
In receiving end, when one or more in transmission channel are broken down, by the transmission channel of normal work and Protection channel transfer obtains data, obtains N group initial data according to scheduled second operation rule, wherein the second operation rule is The corresponding inverse operation rule of first operation rule.
It is illustrated below with reference to a specific example.
Embodiment three will mutually transfer 400G business, left side router as shown in Figure 7 A between router A and router B A is connect by the FlexE group that the physical layer PHY of 4 100G is formed with router B, in order to improve network reliability, additionally Increase by 2 physical layer protection PHY and forms a widened FlexE group.
Step 1, in router A, the service bearer of 400G is in 4 physical layer PHY in FlexE group, respectively PHY#1, PHY#2, PHY#3 and PHY#4 can specifically be identified according to the PHY number in every PHY FlexE expense.
Step 2, raw according to the data transmitted on 4 PHY as unit of the PHY in FlexE group in router A It is used on protection PHY transmit at 2 protection data, this sentences the individual bit data format at FlexE sub-calendar For, i.e. a 66b block expense is followed by upper 1023*20 66b block number evidence, as shown in Figure 5 B.Generation method are as follows: from every 3 bit datas are chosen in PHY forms 12 bit data D01, D02, D03, D04, D05, D06, D07, D08, D09, D10, D11, D12 generates 6 bit datas P0, P1, P2, P3, P4, P5, generating mode according to this 12 bit source data are as follows:
Source data redistribute forming 6 circuit-switched datas together with protection data, as shown in Figure 7 B, this 6 number A widened FlexE group is formed according to propagating in 6 PHY.
Wherein, initial data is 12, and the protection data calculated are 6, is 18 data, 18 numbers after mixing It is transmitted according to by 6 tunnel transmission channels.
Step 3, it in router B, receives in widened FlexE group after 6 PHY, to being transmitted on this 6 PHY The signal quality of data is detected, any to choose the high-quality PHY of 4 bars, recovers original number according to specific algorithm According to.For example assume that PHY#1 and PHY#2 breaks down, it is only unable to get by taking 18 data bits in Fig. 7 B as an example herein Six data of D03, D05, D08, D11, P0 and P1, needing to restore original at this time is D03, D05, D08, and tetra- source datas of D11 are extensive Compound method are as follows:
Step 4, router B solves original 400G signal from the data received, completes entire transmission process.
It is illustrated below with reference to specific implement scene,
Example IV
As shown in Figure 8 A, OTUC4 is mutually transferred between OTN node 1 and OTN node 2, OTN node 1 passes through four 100G FlexO interface formed FlexO group connect with OTN node 2, in order to improve network reliability, additionally increase by one FlexO interface is used to transmit protection data.
Step 1, in OTN node 1, OTUC4 passes through 4 FlexO interfaces transmission in FlexO group, respectively PHY# 1, PHY#2, PHY#3 and PHY#4 can specifically be identified according to the PID in each FlexO interface overhead, in each FlexO interface The data flow S1, S2, S3 transmitted, S4 expression.
Step 2, in OTN node 1, as unit of the FlexO interface in FlexO group, by institute on 4 FlexO interfaces The data of transmitting, for this sentences the data format of FlexO frame, i.e. 128*5440 is also possible to other levels as shown in Figure 8 B Electric layer data, such as OTUC layers of electric layer data.Data flow on this 4 FlexO interfaces is subjected to xor operation, obtains guarantor Data flow P1 is protected, for protecting Section Overhead such as the frame head instruction and multi-frame instruction of data flow to regenerate, by this Protection data flow P1 is transmitted in FlexO protection interface.Protection data flow and protection data flow, which are formed by equation (c), is
Refer to xor operation.Can certainly be using his type calculating replace, such as or wait, herein not detailed It states.
Step 3, in OTN node 2, the signal quality of transmitted data on this 5 FlexO interfaces is detected.Detection As a result it can be divided into following situation:
If transmitted data all do not occur signal fault on 5 FlexO interfaces or signal quality is all relatively good, receive The data that 4 FlexO interfaces are transmitted in FlexO group.
The data on FlexO interface are protected signal fault or signal occur if transmitted data only have on 5 FlexO interfaces It is of poor quality, then receive the data that 4 FlexO interfaces are transmitted in FlexO group.
If in 5 FlexO interfaces, there is signal fault in the data transmitted on some FlexO interface in FlexO group Or poor signal quality, then the data that remaining 3 FlexO interface is transmitted in FlexO group are received, and as known item Part, bringing in the equation of transmitting terminal the value that is obtained after solving into is exactly signal fault occur or the FlexO of poor signal quality connects The data that mouth is transmitted.Such as, it is assumed that the data S3 in PHY#3 breaks down or poor signal quality, then receiving end receives PHY# The data P1 in data S1, S2, S4 and protection PHY in 1, PHY#2, PHY#4, brings into equation (c),
ByIt derives
Step 4, OTN node 2 solves original 400G signal from the data received, completes entire transmission process.
Based on same as the previously described embodiments or similar design, the embodiment of the present invention also provides a kind of data transmission device, Referring to Fig. 9 A, a kind of data transmission device proposed by the present invention includes:
Arithmetic element 10 obtains corresponding protection data for the initial data according to physical layer channel in transmission group;
Transmission unit 20, for being transmitted to initial data and protection data.
In the embodiment of the present invention, initial data of the arithmetic element 10 according to physical layer channel in transmission group, acquisition pair The protection data answered include:
According to the initial data in a plurality of physical layer channel, obtains one group or multiple groups protect data;
Wherein, when protecting data is multiple groups, wherein each group of protection data are according to a plurality of physical layer channel In initial data be calculated;When calculating each group of protection data, used operation rule is identical, and the parameter used Difference, so that each group of protection data being calculated are all different.
In the embodiment of the present invention, the physical layer channel in transmission group includes N number of transmission channel and 1 protection channel, and N is positive Integer;
According to the initial data in a plurality of physical layer channel, obtain one group of protection data includes: the arithmetic element 10
The initial data step-by-step of physical layer channel is subjected to digit arithmetic operation, obtains one group of protection data;
It is described to initial data and protection data carry out transmission include: by 1 protection 1 group of protection data of channel transfer; N group initial data is transmitted by N number of transmission channel.
In the embodiment of the present invention, the arithmetic element 10 obtains protection data according at least one of such as under type;
When physical layer channel in mode one, transmission group includes N number of transmission channel and M protection channel, according to the first fortune It calculates rule and the 11st group of parameter calculates N group initial data, obtain first group of protection data;According to the first operation rule and 1i group parameter calculates N group initial data, obtains 1i group and protects data, until obtaining whole M group protects data;Its In, i is the positive integer less than or equal to M;Every group of parameter is all different;N and M is positive integer;
Mode two, the case where the group number of initial data is N, and the number of transmission channel is N+M when, advised according to the second operation Then N group initial data is calculated with the 21st group of parameter, obtains first group of protection data;According to the second operation rule and 2i Group parameter calculates N group initial data, obtains i-th group of protection data, until obtaining whole M group protects data, it is former to N group Beginning data and M group protection data are mixed, and N+M group blended data is obtained;Wherein, i is the positive integer less than or equal to M;Often Group parameter is all different;
According to mode one obtain protection data when, it is described to initial data and protection data carry out transmission include: to pass through M A protection channel transfer M group protects data;N group initial data is transmitted by N number of transmission channel;
According to mode two obtain protection data when, it is described to initial data and protection data carry out transmission include: to pass through N + M channel transfer N+M group blended datas.
In the embodiment of the present invention, in mode two, the arithmetic element 10 according to the second operation rule to N group initial data It is calculated, obtaining N+M group blended data includes:
The original number of p basic unit is chosen in the data flow for the initial data transmitted from N number of physical layer channel respectively According to being calculated, the protection data of q basic unit are formed, the data of N*p+q basic unit are divided into N+M by rule Part, every part of data for being included are a basic unit of (N*p+q)/(N+M), according to above-mentioned operation mode by N number of physical layer channel In all data be divided into N+M parts, and sent by N+M physical channel;Wherein, the pass of data and initial data is protected System can form q verification relational expression;Wherein, basic unit refers to the list in single physical layer channel in transmitted source traffic One in bit, single byte, bit block or block of bytes;Wherein, q=p*M.
It is described former according to N group in the case where obtaining M group protection data according to N group initial data in the embodiment of the present invention Beginning data acquisition M group protect data the case where include:
Wherein, (d1, d2 ... dN) it is N group initial data;
For the first generator matrix;
(p1, p2 ... pM) it is that M group protects data;
The original number of p basic unit is chosen in the data flow for the initial data transmitted from N number of physical layer channel respectively According to being calculated, the protection data for forming q basic unit include:
Wherein, (d1, d2 ... d (N*p)) is the initial data of p basic unit of N group;
For the second generator matrix;
(p1, p2 ... pq) it is q protection data.
In the embodiment of the present invention, the first generator matrix setting are as follows:
If desired the original data stream number protected is k, and k is the integer more than or equal to 1 and less than N, then first generates The submatrix that matrix needs to meet in corresponding first generator matrix of original data stream meets the condition that order is more than or equal to k.
In the embodiment of the present invention, the operation rule of the function F is
Wherein, j is the positive integer less than or equal to R.
In the embodiment of the present invention, the scheduled operation rule includes at least one such as under type:
XOR operation, same or operation wait operations.
Based on same as the previously described embodiments or similar design, the embodiment of the present invention also provides a kind of data transmission device number According to transmitting device, referring to Fig. 9 B, described device includes:
Receiving unit 30, for receiving the initial data and protection data of transmitting terminal transmission;
Data parsing unit 40 is used for when the corresponding one or more physical layer channels of initial data break down, root According to the initial data and protection data transmitted in the physical layer channel there is no failure, the data for needing to transmit are solved.
In the embodiment of the present invention, the data parsing unit 40 is also used to:
In the case where physical layer channel includes N number of transmission channel and M protection channel,
The signal quality of all transmission channels and transmitted data in protection channel in sense channel group, if all transmission are logical Data in road break down without failure or the data only in protection channel, then data are solved from transmission channel; If the data only in fractional transmission channel break down, or have the data in fractional transmission channel and part protection channel to go out Existing signal fault solves needs then according to there is no the initial data transmitted in the physical layer channel of failure and protection data The data of transmission.
In the embodiment of the present invention, the data parsing unit 40 in the physical layer channel there is no failure according to transmitting Initial data and protection data, solving the data that needs transmit includes:
It using the initial data in without failure physical channel and protects data as datum, it is raw to be brought into transmitting terminal At used in protection data in equation, solve equation or solving equations by way of obtain whole N original data streams, to solve Data out.
In the embodiment of the present invention, the data parsing unit 40 in the physical layer channel there is no failure according to transmitting Initial data and protection data, solving the data that needs transmit includes:
Physical layer channel transmission be blended data in the case where,
In sense channel group in all physical layer channels transmitted data signal quality;
Several physical layer channels are chosen from M+N physical layer channel according to signal quality testing result, by these objects The data flow transmitted in reason layer channel is brought into q equation of transmitting terminal generation blended data and solves, can obtain as datum To whole N original data streams, to solve data.
In the embodiment of the present invention, described device further include: unit of living again needs the data transmitted to further include for solving, It lives again to the frame head of data frame.
In the embodiment of the present invention, the unit of living again the frame head of data frame live again include:
Under FlexE scene, to 10 synchronous heads of FlexE frame head, 0x4B type codes are same in 0x5O code and 66b block Step head is lived again;
Under FlexO scene, live again to the region AM and the region MFAS of FlexO frame.
Based on same as the previously described embodiments or similar design, the embodiment of the present invention also provides a kind of data transmission device, Including memory, processor and it is stored in the computer program that can be run on the memory and on the processor, it is described Processor realizes the processing such as above-mentioned any data transmission method when executing the computer program.
It should be noted that embodiment described above be merely for convenience of it will be understood by those skilled in the art that, and It is not used in and limits the scope of the invention, under the premise of not departing from inventive concept of the invention, those skilled in the art couple Any obvious replacement and improvement that the present invention is made etc. are within the scope of the present invention.

Claims (23)

1. a kind of data transmission method, which is characterized in that the described method includes:
According to the initial data of physical layer channel in transmission group, corresponding protection data are obtained;
Initial data and protection data are transmitted.
2. data transmission method according to claim 1, which is characterized in that described according to physical layer channel in transmission group Initial data, obtaining corresponding protection data includes:
According to the initial data in a plurality of physical layer channel, obtains one group or multiple groups protect data;
Wherein, when protecting data is multiple groups, wherein each group of protection data are according in a plurality of physical layer channel Initial data is calculated;When calculating each group of protection data, used operation rule is identical, and the parameter used is different, So that each group of protection data being calculated are all different.
3. data transmission method according to claim 2, which is characterized in that wherein, according in a plurality of physical layer channel Initial data, obtaining one group of protection data includes:
The initial data step-by-step of physical layer channel is subjected to digit arithmetic operation, obtains one group of protection data;
It is described to initial data and protection data carry out transmission include: by 1 protection 1 group of protection data of channel transfer;Pass through N A transmission channel transmits N group initial data.
4. data transmission method according to claim 2, which is characterized in that protected according at least one obtain of such as under type Protect data;
Mode one, the number of transmission channel is N in setting transmission group, when the number in channel being protected to be M, is advised according to the first operation Then N group initial data is calculated with the 11st group of parameter, obtains first group of protection data;According to the first operation rule and 1i Group parameter calculates N group initial data, obtains 1i group and protects data, until obtaining whole M group protects data;Wherein, i For the positive integer less than or equal to M;Every group of parameter is all different;N and M is positive integer;
Mode two, the case where the group number of initial data is N, and the number of transmission channel is N+M when, according to the second operation rule and 21st group of parameter calculates N group initial data, obtains first group of protection data;Joined according to the second operation rule and 2i group Several pairs of N group initial data calculate, and obtain i-th group of protection data, until obtaining whole M group protects data, to N group original number It is mixed according to M group protection data, obtains N+M group blended data;Wherein, i is the positive integer less than or equal to M;Every group of ginseng Number is all different;
According to mode one obtain protection data when, it is described to initial data and protection data carry out transmission include: by M guarantor It protects channel transfer M group and protects data;N group initial data is transmitted by N number of transmission channel;
When obtaining protection data according to mode two, described to carry out transmission to initial data and protection data include: by N+M Channel transfer N+M group blended data.
5. data transmission method according to claim 4, which is characterized in that
It is calculated in mode two, according to the second operation rule to N group initial data, obtaining N+M group blended data includes:
Chosen respectively in the data flow for the initial data transmitted from N number of physical layer channel the initial data of p basic unit into Row calculates, and forms the protection data of q basic unit, the data of N*p+q basic unit are divided into N+M parts by rule, Every part of data for being included are a basic unit of (N*p+q)/(N+M), according in above-mentioned operation mode and N number of physical layer channel All data acquisition N+M parts of data, and sent by N+M physical channel;Wherein, data and initial data are protected Relationship can form q verification relational expression;Wherein, basic unit refers in single physical layer channel in transmitted source traffic One in single-bit, single byte, bit block or block of bytes;Wherein, q=p*M.
6. data transmission method according to claim 4, which is characterized in that
It is described that M group protection number is obtained according to N group initial data in the case where obtaining M group protection data according to N group initial data According to the case where include:
Wherein, (d1, d2 ... dN) it is N group initial data;
For the first generator matrix;
(p1, p2 ... pM) it is that M group protects data;
Chosen respectively in the data flow for the initial data transmitted from N number of physical layer channel the initial data of p basic unit into Row calculates, and the protection data for forming q basic unit include:
Wherein, (d1, d2 ... d (N*p)) is the initial data of p basic unit of N group;
For the second generator matrix;
(p1, p2 ... pq) it is q protection data.
7. data transmission method according to claim 6, which is characterized in that
The first generator matrix setting are as follows: the original data stream number if desired protected is k, and k is more than or equal to 1 and to be less than The integer of N, then it is big that the submatrix that the first generator matrix needs to meet in corresponding first generator matrix of original data stream meets order In the condition for being equal to k.
8. data transmission method according to claim 6, which is characterized in that the method also includes:
Wherein, the operation rule of function F is
Wherein, j is the positive integer less than or equal to R.
9. the data transmission method according to claim 5~7, which is characterized in that the digit arithmetic operation includes as follows At least one of mode:
XOR operation, same or operation wait operations.
10. a kind of data transmission method, which is characterized in that the described method includes:
Receive the initial data and protection data that transmitting terminal is sent;
It is logical according to there is no the physical layers of failure when the corresponding one or more physical layer channels of initial data break down The initial data and protection data transmitted in road, solve the data for needing to transmit.
11. data transmission method according to claim 10, which is characterized in that the method also includes:
In the case where physical layer channel includes N number of transmission channel and M protection channel,
The signal quality of all transmission channels and transmitted data in protection channel in sense channel group, if in all transmission channels Data without failure or only protection channel in data break down, then data are solved from transmission channel;If only There are the data in fractional transmission channel to break down, or there are the data in fractional transmission channel and part protection channel to believe Number failure solves then according to there is no the initial data transmitted in the physical layer channel of failure and protection data and needs to transmit Data.
12. data transmission method according to claim 11, which is characterized in that
The basis solves what needs transmitted there is no the initial data transmitted in the physical layer channel of failure and protection data Data include:
It using the initial data in without failure physical channel and protects data as datum, is brought into transmitting terminal and generates guarantor It protects in verification relational expression used in data, whole N original data streams is obtained in such a way that solution verifies relational expression, to solve Data.
13. data transmission method according to claim 10, which is characterized in that
Physical layer channel transmission be blended data in the case where,
The basis solves what needs transmitted there is no the initial data transmitted in the physical layer channel of failure and protection data Data include:
In sense channel group in all physical layer channels transmitted data signal quality;
Several physical layer channels are chosen from M+N physical layer channel according to signal quality testing result, by these physical layers The data flow transmitted in channel is brought into q equation of transmitting terminal generation blended data and solves as datum, can be obtained complete N, portion original data stream, to solve data.
14. data transmission method described in 0~13 according to claim 1, which is characterized in that described to solve the data for needing to transmit It further include living again to the frame head of data frame.
15. data transmission method according to claim 14, which is characterized in that the frame head to data frame is lived again Include:
Under FlexE scene, to 10 synchronous heads of FlexE frame head, 0x4B type codes, the synchronous head in 0x5O code and 66b block It lives again;
Under FlexO scene, live again to the region AM and the region MFAS of FlexO frame.
16. a kind of data transmission device, which is characterized in that described device includes:
Arithmetic element obtains corresponding protection data for the initial data according to physical layer channel in transmission group;
Transmission unit, for being transmitted to initial data and protection data.
17. data transmission device according to claim 16, which is characterized in that the arithmetic element is according to object in transmission group The initial data in layer channel is managed, obtaining corresponding protection data includes:
According to the initial data in a plurality of physical layer channel, obtains one group or multiple groups protect data;
Wherein, when protecting data is multiple groups, wherein each group of protection data are according in a plurality of physical layer channel Initial data is calculated;When calculating each group of protection data, used operation rule is identical, and the parameter used is different, So that each group of protection data being calculated are all different.
18. data transmission device according to claim 17, which is characterized in that the physical layer channel in transmission group includes N A transmission channel and 1 protection channel, N is positive integer;
According to the initial data in a plurality of physical layer channel, obtain one group of protection data includes: the arithmetic element
The initial data step-by-step of physical layer channel is subjected to digit arithmetic operation, obtains one group of protection data;
It is described to initial data and protection data carry out transmission include: by 1 protection 1 group of protection data of channel transfer;Pass through N A transmission channel transmits N group initial data.
19. data transmission device according to claim 17, which is characterized in that the arithmetic element is according to such as under type At least one obtains protection data;
When physical layer channel in mode one, transmission group includes N number of transmission channel and M protection channel, advised according to the first operation Then N group initial data is calculated with the 11st group of parameter, obtains first group of protection data;According to the first operation rule and 1i Group parameter calculates N group initial data, obtains 1i group and protects data, until obtaining whole M group protects data;Wherein, i For the positive integer less than or equal to M;Every group of parameter is all different;N and M is positive integer;
Mode two, the case where the group number of initial data is N, and the number of transmission channel is N+M when, according to the second operation rule and 21st group of parameter calculates N group initial data, obtains first group of protection data;Joined according to the second operation rule and 2i group Several pairs of N group initial data calculate, and obtain i-th group of protection data, until obtaining whole M group protects data, to N group original number It is mixed according to M group protection data, obtains N+M group blended data;Wherein, i is the positive integer less than or equal to M;Every group of ginseng Number is all different;
According to mode one obtain protection data when, it is described to initial data and protection data carry out transmission include: by M guarantor It protects channel transfer M group and protects data;N group initial data is transmitted by N number of transmission channel;
When obtaining protection data according to mode two, described to carry out transmission to initial data and protection data include: by N+M Channel transfer N+M group blended data.
20. data transmission device according to claim 19, which is characterized in that
In mode two, the arithmetic element N group initial data is calculated according to the second operation rule, obtain N+M group mix Closing data includes:
Chosen respectively in the data flow for the initial data transmitted from N number of physical layer channel the initial data of p basic unit into Row calculates, and forms the protection data of q basic unit, the data of N*p+q basic unit are divided into N+M parts by rule, Every part of data for being included are a basic unit of (N*p+q)/(N+M), according in above-mentioned operation mode and N number of physical layer channel All data acquisition N+M data, and sent by N+M physical channel;Wherein, the pass of data and initial data is protected System can form q verification relational expression;Wherein, basic unit refers to the list in single physical layer channel in transmitted source traffic One in bit, single byte, bit block or block of bytes;Wherein, q=p*M.
21. a kind of data transmission device, which is characterized in that described device includes:
Receiving unit, for receiving the initial data and protection data of transmitting terminal transmission;
Data parsing unit, for when the corresponding one or more physical layer channels of initial data break down, according to not having The initial data and protection data transmitted in the physical layer channel to break down, solve the data for needing to transmit.
22. data transmission device according to claim 21, which is characterized in that the data parsing unit is also used to:
In the case where physical layer channel includes N number of transmission channel and M protection channel,
The signal quality of all transmission channels and transmitted data in protection channel in sense channel group, if in all transmission channels Data without failure or only protection channel in data break down, then data are solved from transmission channel;If only There are the data in fractional transmission channel to break down, or there are the data in fractional transmission channel and part protection channel to believe Number failure solves then according to there is no the initial data transmitted in the physical layer channel of failure and protection data and needs to transmit Data.
23. a kind of data transmission device, including memory, processor and it is stored on the memory and can be in the processor The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to The processing of method described in any claim in 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 true CN109560864A (en) 2019-04-02
CN109560864B 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)

Cited By (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 (12)

* 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
CN101136899A (en) * 2006-08-31 2008-03-05 杭州华三通信技术有限公司 Ethernet physical layer transmission protecting method, and device and equipment for implementing the same
CN101674153A (en) * 2008-09-09 2010-03-17 普天信息技术研究院有限公司 Method, device and system for processing information
US20100188972A1 (en) * 2009-01-27 2010-07-29 Knapp David J Fault tolerant network utilizing bi-directional point-to-point communications links between nodes
CN102307230A (en) * 2011-08-18 2012-01-04 中兴通讯股份有限公司 Service transmission method and device
US20140270755A1 (en) * 2013-03-14 2014-09-18 Hubbell Incorporated Methods and apparatuses for improved ethernet path selection using optical levels
US20140366051A1 (en) * 2009-11-11 2014-12-11 Time Warner Cable Enterprises Llc Methods and apparatus for audience data collection and analysis in a content delivery network
CN104539388A (en) * 2014-12-08 2015-04-22 中兴通讯股份有限公司 Data transmission method, data receiving method, data transmission device and data receiving device
CN105656652A (en) * 2014-11-14 2016-06-08 中兴通讯股份有限公司 Service data flow 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
CN106911426A (en) * 2017-02-16 2017-06-30 华为技术有限公司 The method and apparatus of data is transmitted in a kind of flexible Ethernet

Patent Citations (12)

* 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
CN101136899A (en) * 2006-08-31 2008-03-05 杭州华三通信技术有限公司 Ethernet physical layer transmission protecting method, and device and equipment for implementing the same
CN101674153A (en) * 2008-09-09 2010-03-17 普天信息技术研究院有限公司 Method, device and system for processing information
US20100188972A1 (en) * 2009-01-27 2010-07-29 Knapp David J Fault tolerant network utilizing bi-directional point-to-point communications links between nodes
US20140366051A1 (en) * 2009-11-11 2014-12-11 Time Warner Cable Enterprises Llc Methods and apparatus for audience data collection and analysis in a content delivery network
CN102307230A (en) * 2011-08-18 2012-01-04 中兴通讯股份有限公司 Service transmission method and device
US20140270755A1 (en) * 2013-03-14 2014-09-18 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
CN104539388A (en) * 2014-12-08 2015-04-22 中兴通讯股份有限公司 Data transmission method, data receiving method, data transmission device and data receiving device
CN106788855A (en) * 2015-11-23 2017-05-31 华为技术有限公司 The optical transfer network bearing method and device of a kind of flexible Ethernet service
CN106911426A (en) * 2017-02-16 2017-06-30 华为技术有限公司 The method and apparatus of data is transmitted in a kind of flexible Ethernet

Cited By (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

Also Published As

Publication number Publication date
CN109560864B (en) 2021-10-19

Similar Documents

Publication Publication Date Title
US10567352B2 (en) Flexible ethernet encryption systems and methods
US10193688B2 (en) Flexible Ethernet encryption systems and methods
US11101908B2 (en) Service data transmission method and apparatus
WO2019174406A1 (en) Data transmission method and apparatus, network device, and storage medium
CN106612203A (en) Method and apparatus for processing data flow of flexible Ethernet client
CN108123813B (en) Transmission method and device for operation, administration and maintenance OAM data
CN103875205B (en) The method and apparatus of transmission data
CN105122763B (en) Ethernet signal transfer approach, dispatching method and its device and system
US10153989B2 (en) 128 gigabit fibre channel physical architecture
CN111727589B (en) Method and device for configuring Flex Ethernet node
CN107566075B (en) A kind of method, apparatus and network system sending and receiving business
US10951340B2 (en) Method and device for transmitting bit error rate information in FlexE overhead frame, and computer storage medium
CN111565113B (en) Flexible Ethernet network topology abstraction method and system for SDN controller
CN105871502A (en) Method of using Ethernet channel to transmit service signal and communication device
CN104426631A (en) Method and device for processing data
CN109428840A (en) A kind of communication means, equipment and storage medium
US20200007255A1 (en) Flexible Ethernet switching systems and methods
CN105264778A (en) CRC calculation method and apparatus
US11245470B2 (en) Method, device, and system for transmitting data
CN106982105A (en) The method and apparatus of the elastic ethernet signal of processing
CN105790883A (en) Signal processing method and communication device
CN109995434A (en) A kind of data transmission method, communication equipment and storage medium
WO2019128887A1 (en) Fault indication method and device in flexible ethernet
WO2023273712A1 (en) Encryption transmission method and device
CN109560864A (en) A kind of data transmission method and device

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