CN101692633A - Coding/decoding methods and devices - Google Patents

Coding/decoding methods and devices Download PDF

Info

Publication number
CN101692633A
CN101692633A CN200910161981A CN200910161981A CN101692633A CN 101692633 A CN101692633 A CN 101692633A CN 200910161981 A CN200910161981 A CN 200910161981A CN 200910161981 A CN200910161981 A CN 200910161981A CN 101692633 A CN101692633 A CN 101692633A
Authority
CN
China
Prior art keywords
code
signal
speed
specific coding
opuk
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
CN200910161981A
Other languages
Chinese (zh)
Other versions
CN101692633B (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 CN2009101619817A priority Critical patent/CN101692633B/en
Priority to PCT/CN2009/075368 priority patent/WO2011029247A1/en
Publication of CN101692633A publication Critical patent/CN101692633A/en
Application granted granted Critical
Publication of CN101692633B publication Critical patent/CN101692633B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1605Fixed allocated frame structures
    • H04J3/1652Optical Transport Network [OTN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/38Synchronous or start-stop systems, e.g. for Baudot code
    • H04L25/40Transmitting circuits; Receiving circuits
    • H04L25/49Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0602Systems characterised by the synchronising information used
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/1301Optical transmission, optical switches

Abstract

The invention discloses coding/decoding methods and devices for solving the problems of complex mapping process and low efficiency which occur when an 8 B/10B coding signal is mapped onto an optical communication network in the prior art. The coding method comprises: determining the OPUk carrying the access 8 B/10 B coding signal according to the rate of the 8 B/10 B coding signal and the different grades of rates of the optical payload unit k OPUk in an OTN; converting the 8 B/10 B coding signal into a specific coding signal according to the rate of the 8 B/10 B coding signal and the rate of the OPUk; and mapping the specific coding signal to the OPUk for transmission. The specific coding signal consists of coding blocks with preset length, each coding block comprises bit synchronous frame header information, and the rate of the specific coding signal is no higher than that of the OPUk.

Description

A kind of method of coding/decoding and device
Technical field
The present invention relates to optical transport network (Optical Transport Network, OTN) technical field, particularly a kind of method of coding/decoding and device.
Background technology
Along with the development of communication system, OTN becomes the mainstream technology in optical communication field gradually, especially based on the development of the cross scheduling technology of OTN, makes OTN develop into multiple services carrying platform gradually.
The service signal characteristic difference of various access OTN, still, OTN payload speed is fixed, and this just makes the different business signal when being mapped to the OTN payload, the path and the method for mapping have nothing in common with each other.
Wherein, the OTN payload is called optical payload unit k again (k represents different speed grade for Optical payload unit k, OPUk) (k=0,1,2,2e, 3,4).The OPU type of OPUk correspondence and speed ginseng are shown in Table 1:
Figure G2009101619817D0000011
Table 1
When service signal speed during a little more than OPUk speed, if adopt direct mapping mode, can only be mapped among the OPUk of higher rate grade, cause the serious waste of bandwidth.For example, gigabit Ethernet GE service signal adopts the 8B/10B coding, line speed is 1.25Gbps, if directly the 8B/10B encoding code stream is mapped among the OPUk, because of OPU0 speed is 1.23895431Gbps, among the OPU0 that then can't pack into, if be mapped among the OPU1, because of OPU1 speed is 2.48832Gbps, be far longer than 1.25Gbps again, then cause the serious waste of bandwidth.
Present solution is that the 8B/10B coded data service signal that inserts OTN is separated coding, then, according to ITU-T G.7041 the regulation of standard to separating code streams by using Generic Framing Procedure (the Generic Framing Procedure behind the coding, GFP) carry out the GFP package, to reduce the speed of service signal, at last, according to regulation G.709, (Asynchronous Generic Mapping Procedure, mode AGMP) is mapped to the GFP Frame among the OPUk by the mode of insertion GFP idle frame or by async-generic mapping rules.
As seen, this mapping mode complexity especially needs to pass through earlier the GFP package, shines upon again, can have a strong impact on the efficient of mapping, increases design cost.
Summary of the invention
The invention provides and a kind of the 8B/10B code signal is mapped to the method and the device of optical transport network transmission, when the 8B/10B code signal being mapped to optical transfer network in order to solve prior art, the problem that mapping process complexity, efficient are not high.
The invention provides and a kind of the 8B/10B code signal is mapped to the method for optical transport network transmission, comprising:
According to the speed of 8B/10B code signal, and the speed of optical payload unit OPUk different brackets among the OTN, determine the OPUk of the 8B/10B code signal that carrying inserts;
Speed according to described 8B/10B code signal, and the speed of described OPUk, described 8B/10B code signal is converted to the specific coding signal, wherein, described specific coding signal is made up of the encoding block of preseting length, each encoding block comprises bit synchronous frame header information, and the speed of described specific coding signal is not higher than the speed of described OPUk;
Described specific coding signal map is transmitted to described OPUk.
Wherein, described 8B/10B code signal being converted to the specific coding signal comprises:
Described 8B/10B code signal is decoded, obtain decoded service code code stream, wherein, each service code is 8 bits;
Every N service code in the decoded service code code stream formed an encoding block, each encoding block carries out the motor synchronizing scrambler, and insert to set the bit synchronous frame header of figure place before the encoding block behind each scrambler, form the specific coding piece of corresponding regular length, wherein, according to the speed of the 8B/10B code signal that inserts, the speed of described OPUk, and the setting figure place of described bit synchronous frame header is determined the value of described N;
The specific coding piece of each regular length is formed the specific coding signal.
Among the present invention, described speed according to the 8B/10B code signal that inserts, the speed of described OPUk, and the setting figure place of described bit synchronous frame header determines that the value of described N comprises:
According to the speed V of the 8B/10B code signal that inserts, obtain the speed V of decoded service code code stream 1, wherein,
Figure G2009101619817D0000031
Speed V according to decoded service code code stream 1, the speed V of described OPUk k, and the setting figure place M of described bit synchronous frame header determines the span of described N, wherein, according to
Figure G2009101619817D0000032
Can determine
In the span of the N that determines, selecting a positive integer more than or equal to 2 is the value of described N.
Among the present invention, described specific coding signal map transmitted to described OPUk comprise:
According to ITU-T G.709 asynchronous mapping rules AMP, the bit synchronous mapping rules BMP or the async-generic mapping rules AGMP of standard definition, with described specific coding signal map to described OPUk.
The invention provides a kind of emitter, be applied among the optical transport network OTN, comprising:
Determining unit is used for the speed according to the 8B/10B code signal, and the speed of optical payload unit OPUk different brackets among the OTN, determines the OPUk of the 8B/10B code signal that carrying inserts;
Coding unit, be used for speed according to described 8B/10B code signal, and the speed of described OPUk, described 8B/10B code signal is converted to the specific coding signal, wherein, described specific coding signal is made up of the encoding block of preseting length, and each encoding block comprises bit synchronous frame header information, and the speed of described specific coding signal is not higher than the speed of described OPUk;
Map unit is used for described specific coding signal map is transmitted to described OPUk.
Wherein, described coding unit comprises:
The decoding subelement is used for described 8B/10B code signal is decoded, and obtains decoded service code code stream, and wherein each service code is 8 bits;
Insert subelement, be used for every N service code of decoded service code code stream formed an encoding block, each encoding block carries out the motor synchronizing scrambler, and insert to set the bit synchronous frame header of figure place before the encoding block behind each scrambler, form the specific coding piece of corresponding regular length, wherein, according to the speed of the 8B/10B code signal that inserts, the speed of described OPUk, and the setting figure place of described bit synchronous frame header is determined the value of described N;
Form subelement, be used for the specific coding piece of each regular length is formed the specific coding signal.
Described insertion subelement also is used for the speed V according to the 8B/10B code signal that inserts, and obtains the speed V of decoded service code code stream 1, wherein,
Figure G2009101619817D0000041
And according to the speed V of decoded service code code stream 1, the speed V of described OPUk k, and the setting figure place M of described bit synchronous frame header determines the span of described N, wherein, according to Can determine In the span of the N that determines, selecting a positive integer more than or equal to 2 is the value of described N.
Described map unit also is used for G.709 asynchronous mapping rules AMP, the bit synchronous mapping rules BMP or the async-generic mapping rules AGMP of standard definition according to ITU-T, with described specific coding signal map to described OPUk.
The invention provides and a kind of the OTN code signal is separated the method that is mapped to the 8B/10B code signal, comprising:
The OTN code signal that receives is separated mapping, obtain the specific coding signal, wherein, described specific coding signal is made up of the encoding block of preseting length, each encoding block comprises bit synchronous frame header information, and the speed of described specific coding signal is not higher than the speed of the OPUk that carries described specific coding signal;
The specific coding signal that obtains is decoded, obtain the service code code stream;
To obtain the service code code stream and carry out the 8B/10B coding, obtain the 8B/10B code signal.
Wherein, described specific coding signal to acquisition is decoded, and obtains the service code code stream and comprises:
In the specific coding signal that receives, the search bit synchronous frame header information;
According to the bit synchronous frame header information that searches, the service code code stream that comprises in the specific coding signal that obtains to receive.
The invention provides a kind of receiving system, be applied among the optical transport network OTN, comprising:
Separate map unit, be used for the OTN code signal that receives is separated mapping, obtain the specific coding signal, wherein, described specific coding signal is made up of the encoding block of preseting length, each encoding block comprises bit synchronous frame header information, and the speed of described specific coding signal is not higher than the speed of the OPUk that carries described specific coding signal;
Decoding unit is used for the specific coding signal that obtains is decoded, and obtains the service code code stream;
Coding unit is used for acquisition service code code stream is carried out the 8B/10B coding, obtains the 8B/10B code signal.
Wherein, described decoding unit comprises:
The search subelement is used in the specific coding signal that receives, search bit synchronous frame header information;
Obtain subelement, be used for, the service code code stream that comprises in the specific coding signal that obtains to receive according to the bit synchronous frame header information that searches.
8B/10B code signal provided by the invention is mapped in the optical transport network transmission course, according to the speed of 8B/10B code signal, and the speed of optical payload unit OPUk different brackets among the OTN, determines the OPUk of the 8B/10B code signal that carrying inserts.According to the speed of described 8B/10B code signal, and the speed of described OPUk, described 8B/10B code signal is converted to the specific coding signal.Described specific coding signal map is transmitted to described OPUk.Wherein, described specific coding signal is made up of the encoding block of preseting length, and each encoding block comprises bit synchronous frame header information, and the speed of described specific coding signal is not higher than the speed of the OPUk that carries described specific coding signal.As seen, only the 8B/10B code signal need be converted to the signal of specific coding, just can effectively reduce signal rate, the signal behind the employing changing down carries out the OTN transmission can improve the efficient of transmission, saves the network bandwidth.Simultaneously,, simplified mapping and handled, can effectively reduce the design cost of transfer equipment owing to avoided the process of GFP package.
Description of drawings
Fig. 1 is in the embodiment of the invention being mapped to the 8B/10B code signal transmission process chart of OTN transmission;
Fig. 2 is in the embodiment of the invention being mapped to the 8B/10B code signal structure chart of the dispensing device of OTN transmission;
Fig. 3 is in the embodiment of the invention being mapped to the 8B/10B code signal reception process chart of OTN transmission;
Fig. 4 is in the embodiment of the invention being mapped to the 8B/10B code signal structure chart of the receiving system of OTN transmission;
Fig. 5 is mapped to the transmission process chart that OTN transmits in the first embodiment of the invention 8B/10B code signal being converted to the 64B/66B code signal;
Fig. 6 is mapped to the reception process chart that OTN transmits in the first embodiment of the invention 8B/10B code signal being converted to the 64B/66B code signal.
Embodiment
In the embodiment of the invention, the service signal that inserts OTN has passed through the coding of 8B/10B, and the service signal that just inserts OTN all is the 8B/10B code signal, and referring to Fig. 1, the transmission processing procedure that the 8B/10B code signal is mapped to the OTN transmission comprises:
Step 101: the OPUk that determines the 8B/10B code signal that carrying inserts.
Among the OTN, the speed of the OPUk of each grade is all fixed, and specifically referring to table 1, when the speed of the 8B/10B code signal that inserts is V, searches the speed V a little less than the OPUk of V in table 1 k, determine that this OPUk carries the 8B/10B code signal of access.
For example: the speed of the 8B/10B code signal of access is 1.25Gbps, and the speed of searching in table 1 a little less than the OPUk of V is the speed of OPU0, is 1.238954310Gbps, then determines the 8B/10B code signal that the OPU0 carrying inserts.
Step 102: according to the speed of the 8B/10B code signal that inserts, and the speed of the OPUk that determines, the 8B/10B code signal that inserts is converted to the specific coding signal.
The speed V of the OPUk of the 8B/10B code signal that carrying inserts kTherefore speed V a little less than the 8B/10B code signal that inserts, can not directly be mapped to the 8B/10B code signal among the OPUk, the 8B/10B code signal must be converted to the specific coding signal, and the speed of this specific coding signal must be less than or equal to the speed of OPUk.
Here, at first the 8B/10B code signal that receives is decoded, obtain decoded service code code stream, promptly the continuous service code code stream decoding from 10 bits is the continuous service code code stream of 8 bits, wherein, service code is numeric data code or control code, and each service code comprises 8 bits.
Then, every N service code in the decoded service code code stream formed an encoding block, each encoding block comprises N * 8 bits, after the encoding block of each N * 8 bits carried out synchronous scrambler, add a bit synchronous frame header of setting figure place M before the encoding block behind each scrambler, form each specific coding piece like this, wherein, the length of each specific coding piece is to be fixed as N * 8+M bit, and for the ease of identification, M is more than or equal to 2.Wherein, N is the speed V by the 8B/10B code signal that inserts, the speed V of OPUk k, and the setting figure place M of described bit synchronous frame header determines.
At last, formed the specific coding signal by each specific coding piece.
Step 103: described specific coding signal map is transmitted to described OPUk.
Specific coding signal map after the code conversion is transmitted to OPUk, here, the specific coding signal flow maps to OPUk can adopt the G.709 asynchronous mapping rules of standard definition (Asynchronous Mapping Procedure of ITU-T, AMP) or bit synchronous mapping rules (Bitsynchronous Mapping Procedure, BMP) or async-generic mapping rules (Asynchronous Generic Mapping Procedure, AGMP).
In the above-mentioned steps 102, N is the speed V by the 8B/10B code signal that inserts, the speed V of OPUk k, and the setting figure place M of described bit synchronous frame header is definite, specifically comprises:
At first, obtain the speed V of decoded service code code stream according to the speed V of the 8B/10B code signal that inserts 1, referring to formula (1),
V 1 = V × 8 10 - - - ( 1 )
Then according to the speed V of decoded service code code stream 1, the speed V of OPUk k, and the setting figure place M of bit synchronous frame header determines the span of described N, referring to formula (2):
V 1 × N × 8 + M N × 8 = V × 8 10 × N × 8 + M N × 8 ≤ V k - - - ( 2 )
Like this, the span of N is
Figure G2009101619817D0000083
In the span of the N that determines, selecting a positive integer more than or equal to 2 is the value of N at last.
According to above-mentioned method, can construct a kind of device of emission, referring to Fig. 2, comprising: determining unit 100, coding unit 200 and map unit 300.
Determining unit 100 is used for the speed according to the 8B/10B code signal, and the speed of optical payload unit OPUk different brackets among the OTN, determines the OPUk of the 8B/10B code signal that carrying inserts.
Coding unit 200, be used for speed according to described 8B/10B code signal, and the speed of described OPUk, described 8B/10B code signal is converted to the specific coding signal, wherein, described specific coding signal is made up of the encoding block of preseting length, and each encoding block comprises bit synchronous frame header information, and the speed of described specific coding signal is not higher than the speed of described OPUk.
Map unit 300 is used for described specific coding signal map is transmitted to described OPUk.
Wherein, coding unit 200 also comprises: decoding subelement 210, insertion subelement 220 and composition subelement 230, like this,
Decoding subelement 210 is used for described 8B/10B code signal is decoded, and obtains decoded service code code stream, and wherein each service code is 8 bits.
Insert subelement 220, be used for every N service code of decoded service code code stream formed an encoding block, each encoding block carries out the motor synchronizing scrambler, and insert to set the bit synchronous frame header of figure place before the encoding block behind each scrambler, form the specific coding piece of corresponding regular length, wherein, according to the speed of the 8B/10B code signal that inserts, the speed of described OPUk, and the setting figure place of described bit synchronous frame header is determined the value of described N.
Form subelement 230, be used for the specific coding piece of each regular length is formed the specific coding signal.
And, insert subelement 220 and also be used at first obtaining the speed V of decoded service code code stream according to the speed V of the 8B/10B code signal that inserts 1, wherein, Then according to the speed V of decoded service code code stream 1, the speed V of described OPUk k, and the setting figure place M of described bit synchronous frame header determines the span of described N, wherein, according to Can determine
Figure G2009101619817D0000093
At last, in the span of the N that determines, selecting a positive integer more than or equal to 2 is the value of described N.
Be N be more than or equal to Positive integer get final product, can select an arbitrary positive integer more than or equal to 2 in this scope is the value of N, also can utilize the bandwidth of OPUk to greatest extent, preferably once more scope to select the positive integer more than or equal to 2 be the value of N.
Certainly, in the embodiment of the invention, map unit also is used for G.709 asynchronous mapping rules AMP, the bit synchronous mapping rules BMP or the async-generic mapping rules AGMP of standard definition according to ITU-T, with described specific coding signal map to described OPUk.
Described the transmission processing procedure that the 8B/10B code signal is mapped to the OTN transmission in the foregoing description, the embodiment of the invention also provides a kind of the 8B/10B code signal is mapped to the reception processing procedure that OTN transmits, and referring to Fig. 3, comprising:
Step 301: the OTN code signal that receives is separated mapping, obtain the specific coding signal.
Here, the information that can provide according to the OPUk expense from the OTN code signal, recovers the specific coding signal, i.e. the specific coding code stream.This code signal is made up of the encoding block of preseting length, and each encoding block comprises bit synchronous frame header information, and the speed of described specific coding signal is not higher than the speed of the OPUk that carries described specific coding signal.
Here, the length of separating the encoding block in the specific coding signal of mapping is N * 8+M bit, and each encoding block comprises the bit synchronous frame header of M bit, and the speed of specific coding signal is
Figure G2009101619817D0000095
The speed V that is not higher than the OPUk that carries described specific coding signal k
Step 302: the specific coding signal that obtains is decoded, obtain the service code code stream.
Here, at first, the bit synchronous frame header information in the search specific coding signal.
The specific coding signal that receives is made up of the specific coding piece of regular length, and each specific coding piece comprises the bit synchronous frame header of M bit, and the service code of N * 8 bits, and service code is numeric data code or control code.Therefore, in the specific coding signal that receives, the search bit synchronous frame header information.
Then, according to the bit synchronous frame header information that searches, the service code code stream that comprises in the specific coding signal that obtains to receive.Promptly, can learn the border of the service code that each specific coding piece comprises, thereby obtain the service code code stream in the specific coding signal according to the bit synchronous frame header information that searches.
Step 303: carry out the 8B/10B coding to obtaining the service code code stream, obtain the 8B/10B code signal.
According to above-mentioned this method, construct a kind of device of reception, referring to Fig. 4, comprising: separate map unit 410, decoding unit 420 and coding unit 430, wherein:
Separate map unit 410, be used for the OTN code signal that receives is separated mapping, obtain the specific coding signal, wherein, described specific coding signal is made up of the encoding block of preseting length, each encoding block comprises bit synchronous frame header information, and the speed of described specific coding signal is not higher than the speed of the OPUk that carries described specific coding signal.
Decoding unit 420 is used for the specific coding signal that obtains is decoded, and obtains the service code code stream.
Coding unit 430 will obtain the service code code stream and carry out the 8B/10B coding, obtain the 8B/10B code signal.
Wherein, separate the information that map unit 410 can provide according to the OPUk expense, from the OTN code signal, recover the specific coding signal, i.e. the specific coding code stream.
Like this, at first in the specific coding signal that is receiving, the search bit synchronous frame header information is then according to the bit synchronous frame header information that searches for decoding unit 420, can learn the border of the service code that each specific coding piece comprises, thereby obtain the service code code stream in the specific coding signal.
Below in conjunction with Figure of description the embodiment of the invention is described in further detail.
Embodiment 1, be that 8B/10B code signal among the gigabit Ethernet GE of 1.25Gbps is mapped among the OTN and transmits with speed, and in the present embodiment, the setting figure place of bit synchronous frame header is 2, promptly in the formula (2), and M=2.Referring to Fig. 5:
Step 501: determine that bearer rate is the OPUk of the 8B/10B code signal of 1.25Gbps.
The speed of OPU0 is 1.23895431Gbps, and a little less than 1.25Gbps, therefore, the OPUk that carries this code signal is OPU0.
Step 502: according to the speed of the 8B/10B code signal that inserts, the speed of OPUk, and the setting figure place of bit synchronous frame header determines to form the service code number of encoding block, the i.e. value of N in the formula (2).
Here, V=1.25Gbps, V k=1.23895431Gbps, M=2, therefore, according to
Figure G2009101619817D0000111
N gets final product more than or equal to 2 positive integer as can be known.
The form of 64B/66B encoding block is as shown in table 2, the bit synchronous frame header that 2 bits are arranged before per 8 bytes, when bit synchronous frame header was 01,8 bytes of expression back all were numeric data code, when bit synchronous frame header is 10, has the control code of 1 byte in 8 bytes of expression back at least.At this moment, be close to the 1st the byte representation encoding block type field (Block Type Field) of bit synchronous frame header, be used to refer to the type of 66B encoding block.As seen, the length and the form of 64B/66B encoding block are fixed, and convenient realize byte of sync at receive direction, therefore,, the 8B/10B code signal of the 1.25Gbps that inserts can be converted to the code signal of 64B/66B here, can be so that N=8.
Step 503: the 8B/10B code signal that inserts is decoded, obtain the service code code stream, wherein, each service code comprises 8 bits, and service code is numeric data code or control code.
Numeric data code or control code in the 8B/10B code signal that inserts all occur at random, and be therefore, consistent in numeric data code or control code and the 8B/10B code signal in the decoded service code code stream.
Step 504: per 8 service codes are formed one group of 64 bits of encoded piece, carry out the motor synchronizing scrambler.
Step 505: the bit synchronous frame header of 2 bits is inserted in the front of the encoding block behind each scrambler, forms the encoding code stream of being made up of 66 bits of encoded pieces.
Figure G2009101619817D0000121
Table 2
According to the regulation of coding standard, in the 66B encoding block, frame bebinning character/S/ can only appear at the 0th or the 4th byte, and the encoding block type field is respectively 0x78 and 0x33.Yet, for the GE business, frame bebinning character/S/, the position that may occur is all even bytes, i.e. the the 0th, the 2, the 4th, the 6 byte.When/when S/ appears at the 2nd or the 6th byte, in the 66B encoding block, need two other self-defining character to represent.Ginseng is shown in Table 3, and is a kind of define method, the encoding block type field be 0x36 represent/S/ appears at the 2nd byte, the type of coding territory be 0x63 represent/S/ appears at the 6th byte.
Figure G2009101619817D0000131
Table 3
In the encoding block of above-mentioned table 2 and table 3, what D represented is data character, and what C represented is control character.Each control character accounts for 7 bits, and the control code of 8B/10B coding and the coding of the control character in 66B piece corresponding relation are as shown in table 4.
Control character Symbol The XGMII control code The 10GBSE-R control code The 10GBSE-RO sign indicating number The 8B/10B sign indicating number
Idle ??/I/ ?0x07 ??0x00 ??K28.0or ??K28.3or ??K28.5
Beginning ??/S/ ?0xfb Code type territory coding ??K27.7
Stop ??/T/ ?0xfd Code type territory coding ??K29.7
Mistake ??/E/ ?0xfe ??0x1e ??K30.7
The generic sequence collection ??/O/ ?0x9c + 0 yard of code type territory coding ?0x0 ??K28.4
Keep 0 ??/R/ b ?0x1c ??0x2d ??K28.0
Keep 1 ?0x3c ??0x33 ??K28.1
Keep 2 ??/A/ ?0x7c ??0x4b ??K28.3
Keep 3 ??/K/ ?0xbc ??0x55 ??K28.5
Keep 4 ?C0xde ??0x66 ??K28.6
Keep 5 ?0xf7 ??0x78 ??K23.7
The burst collection ??/Fsig/ ?0x5e + 0 yard of code type territory coding ?0xF ??K28.2
Table 4
Like this,,, when detecting the 8B/10B code error, then do not need it is decoded, directly in the 64B/66B coding, replace with control character/E/ (0x1E) when before step 503 for the GE business.Can realize the fault transparent transmission of GE business so easily.
Step 506: the encoding code stream that will be made up of 66 bits of encoded pieces is mapped among the OPU0 and transmits.
Stream rate behind the 64B/66B coding, just the encoding code stream of being made up of 66 bits of encoded pieces is
Figure G2009101619817D0000132
Promptly, therefore, the stream rate behind the 64B/66B coding is mapped among the OPU0 less than the speed of OPU0.
Stream rate behind the 64B/66B coding is lower than the speed of OPU0, therefore, when OPU0 shines upon, need add certain byte of padding in OPU0 according to the proportionate relationship of both speed, and make sign in the overhead area of OPU0.
Be not the integer byte because of the 64B/66B encoding block again, when packing OPU0 into, also need be with the 64B/66B encoding block according to one group of per 8 bit, adding to successively needs among the OPU0 to add in the byte of information data.
In the said process, be that 8B/10B code signal among the gigabit Ethernet GE of 1.25Gbps is mapped among the OPU0 and transmits with speed, when signal sends to client device among the OPU0, also need separate mapping process so,, comprising referring to Fig. 6:
Step 601: according to the information that the OPU0 expense provides, remove the byte of padding among the OPU0, recover the 64B/66B encoding code stream.
Step 602: carry out the 64B/66B decoding to recovering the 64B/66B encoding code stream.
Here, can find the bit synchronous frame header in the 64B/66B encoding code stream, and then recover byte boundary at first according to the synchronous detecting state machine of IEEE802.3 standard code.
Then, the mapping relations according to table 2-4 describes are converted to the service code form with 64B/66B encoding block payload data, that is to say that numeric data code adds the form of control code.
When carrying out code conversion, it is noted that when running into mistake indication coding, be converted to the professional corresponding error sign indicating number of GE pointing character.
Step 603: extract the decoded data of 64B/66B, and after carrying out the 8B/10B coding, revert to GE service circuit coding, give customer equipment.
In the above-described embodiments, the 8B/10B code signal being converted to the 64B/66B code signal, certainly, can be the 512B/515B code signal with the 8B/10B code conversion also, is 1024B/1027B code signal or the like with the 8B/10B code conversion perhaps.
In sum, in the embodiment of the invention, according to the speed of 8B/10B code signal, and the speed of optical payload unit OPUk different brackets among the OTN, determine the OPUk of the 8B/10B code signal that carrying inserts.According to the speed of described 8B/10B code signal, and the speed of described OPUk, described 8B/10B code signal is converted to the specific coding signal.Described specific coding signal map is transmitted to described OPUk.As seen, only the 8B/10B code signal need be converted to the signal of specific coding, just can effectively reduce signal rate, the signal behind the employing changing down carries out the OTN transmission can improve the efficient of transmission, saves the network bandwidth.Simultaneously,, simplified mapping and handled, can effectively reduce the design cost of transfer equipment owing to avoided the process of GFP package.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (12)

1. one kind is mapped to the method for optical transport network OTN transmission with the 8B/10B code signal, it is characterized in that, comprising:
According to the speed of 8B/10B code signal, and the speed of optical payload unit OPUk different brackets among the OTN, determine the OPUk of the 8B/10B code signal that carrying inserts;
Speed according to described 8B/10B code signal, and the speed of described OPUk, described 8B/10B code signal is converted to the specific coding signal, wherein, described specific coding signal is made up of the encoding block of preseting length, each encoding block comprises bit synchronous frame header information, and the speed of described specific coding signal is not higher than the speed of described OPUk;
Described specific coding signal map is transmitted to described OPUk.
2. the method for claim 1 is characterized in that, described 8B/10B code signal is converted to the specific coding signal comprises:
Described 8B/10B code signal is decoded, obtain decoded service code code stream, wherein, each service code is 8 bits;
Every N service code in the decoded service code code stream formed an encoding block, each encoding block carries out the motor synchronizing scrambler, and insert to set the bit synchronous frame header of figure place before the encoding block behind each scrambler, form the specific coding piece of corresponding regular length, wherein, according to the speed of the 8B/10B code signal that inserts, the speed of described OPUk, and the setting figure place of described bit synchronous frame header is determined the value of described N;
The specific coding piece of each regular length is formed the specific coding signal.
3. method as claimed in claim 2 is characterized in that, described speed according to the 8B/10B code signal that inserts, and the speed of described OPUk, and the setting figure place of described bit synchronous frame header determines that the value of described N comprises:
According to the speed V of the 8B/10B code signal that inserts, obtain the speed V of decoded service code code stream 1, wherein,
Figure F2009101619817C0000011
Speed V according to decoded service code code stream 1, the speed V of described OPUk k, and the setting figure place M of described bit synchronous frame header determines the span of described N, wherein, according to
Figure F2009101619817C0000021
Can determine
Figure F2009101619817C0000022
In the span of the N that determines, selecting a positive integer more than or equal to 2 is the value of described N.
4. the method for claim 1 is characterized in that, described specific coding signal map is transmitted to described OPUk comprise:
According to ITU-T G.709 asynchronous mapping rules AMP, the bit synchronous mapping rules BMP or the async-generic mapping rules AGMP of standard definition, with described specific coding signal map to described OPUk.
5. an emitter is characterized in that, is applied among the optical transport network OTN, comprising:
Determining unit is used for the speed according to the 8B/10B code signal, and the speed of optical payload unit OPUk different brackets among the OTN, determines the OPUk of the 8B/10B code signal that carrying inserts;
Coding unit, be used for speed according to described 8B/10B code signal, and the speed of described OPUk, described 8B/10B code signal is converted to the specific coding signal, wherein, described specific coding signal is made up of the encoding block of preseting length, and each encoding block comprises bit synchronous frame header information, and the speed of described specific coding signal is not higher than the speed of described OPUk;
Map unit is used for described specific coding signal map is transmitted to described OPUk.
6. device as claimed in claim 5 is characterized in that, described coding unit comprises:
The decoding subelement is used for described 8B/10B code signal is decoded, and obtains decoded service code code stream, and wherein each service code is 8 bits;
Insert subelement, be used for every N service code of decoded service code code stream formed an encoding block, each encoding block carries out the motor synchronizing scrambler, and insert to set the bit synchronous frame header of figure place before the encoding block behind each scrambler, form the specific coding piece of corresponding regular length, wherein, according to the speed of the 8B/10B code signal that inserts, the speed of described OPUk, and the setting figure place of described bit synchronous frame header is determined the value of described N;
Form subelement, be used for the specific coding piece of each regular length is formed the specific coding signal.
7. device as claimed in claim 6 is characterized in that, described insertion subelement also is used for the speed V according to the 8B/10B code signal that inserts, and obtains the speed V of decoded service code code stream 1, wherein, And according to the speed V of decoded service code code stream 1, the speed V of described OPUk k, and the setting figure place M of described bit synchronous frame header determines the span of described N, wherein, according to
Figure F2009101619817C0000032
Can determine
Figure F2009101619817C0000033
In the span of the N that determines, selecting a positive integer more than or equal to 2 is the value of described N.
8. device as claimed in claim 5 is characterized in that,
Described map unit also is used for G.709 asynchronous mapping rules AMP, the bit synchronous mapping rules BMP or the async-generic mapping rules AGMP of standard definition according to ITU-T, with described specific coding signal map to described OPUk.
9. one kind the OTN code signal separated the method that is mapped to the 8B/10B code signal, it is characterized in that, comprising:
The OTN code signal that receives is separated mapping, obtain the specific coding signal, wherein, described specific coding signal is made up of the encoding block of preseting length, each encoding block comprises bit synchronous frame header information, and the speed of described specific coding signal is not higher than the speed of the OPUk that carries described specific coding signal;
The specific coding signal that obtains is decoded, obtain the service code code stream;
To obtain the service code code stream and carry out the 8B/10B coding, obtain the 8B/10B code signal.
10. method as claimed in claim 9 is characterized in that, described specific coding signal to acquisition is decoded, and obtains the service code code stream and comprises:
In the specific coding signal that receives, the search bit synchronous frame header information;
According to the bit synchronous frame header information that searches, the service code code stream that comprises in the specific coding signal that obtains to receive.
11. a receiving system is characterized in that, is applied among the optical transport network OTN, comprising:
Separate map unit, be used for the OTN code signal that receives is separated mapping, obtain the specific coding signal, wherein, described specific coding signal is made up of the encoding block of preseting length, each encoding block comprises bit synchronous frame header information, and the speed of described specific coding signal is not higher than the speed of the OPUk that carries described specific coding signal;
Decoding unit is used for the specific coding signal that obtains is decoded, and obtains the service code code stream;
Coding unit is used for acquisition service code code stream is carried out the 8B/10B coding, obtains the 8B/10B code signal.
12. device as claimed in claim 11 is characterized in that, described decoding unit comprises:
The search subelement is used in the specific coding signal that receives, search bit synchronous frame header information;
Obtain subelement, be used for, the service code code stream that comprises in the specific coding signal that obtains to receive according to the bit synchronous frame header information that searches.
CN2009101619817A 2009-09-10 2009-09-10 Coding/decoding methods and devices Active CN101692633B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2009101619817A CN101692633B (en) 2009-09-10 2009-09-10 Coding/decoding methods and devices
PCT/CN2009/075368 WO2011029247A1 (en) 2009-09-10 2009-12-07 Encoding/decoding method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101619817A CN101692633B (en) 2009-09-10 2009-09-10 Coding/decoding methods and devices

Publications (2)

Publication Number Publication Date
CN101692633A true CN101692633A (en) 2010-04-07
CN101692633B CN101692633B (en) 2012-12-19

Family

ID=42081293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101619817A Active CN101692633B (en) 2009-09-10 2009-09-10 Coding/decoding methods and devices

Country Status (2)

Country Link
CN (1) CN101692633B (en)
WO (1) WO2011029247A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104579583A (en) * 2015-02-09 2015-04-29 浪潮电子信息产业股份有限公司 Improved method for 8b/10b coding scheme
CN106712893A (en) * 2015-07-23 2017-05-24 华为技术有限公司 Method for data transmission and equipment
CN110830153A (en) * 2018-08-07 2020-02-21 华为技术有限公司 Method for receiving code block stream, method for transmitting code block stream and communication device
CN111225301A (en) * 2019-12-27 2020-06-02 广州芯德通信科技股份有限公司 Device and method for mutual conversion between 8B/10B code and 64B/66B code
WO2022056884A1 (en) * 2020-09-18 2022-03-24 华为技术有限公司 Line coding method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110830152B (en) * 2018-08-07 2021-04-09 华为技术有限公司 Method for receiving code block stream, method for transmitting code block stream and communication device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0988727B1 (en) * 1997-05-27 2008-10-15 Ciena Corporation Span management system for wavelength division multiplexed network
CN101217334A (en) * 2004-08-11 2008-07-09 华为技术有限公司 A method and the corresponding device of low bit rate service signal in optical transport network transmission
CN101291179B (en) * 2007-04-17 2011-03-23 华为技术有限公司 Customer signal transmission method in optical transmitting network and related equipment

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104579583A (en) * 2015-02-09 2015-04-29 浪潮电子信息产业股份有限公司 Improved method for 8b/10b coding scheme
KR102099624B1 (en) * 2015-07-23 2020-04-10 후아웨이 테크놀러지 컴퍼니 리미티드 Data transmission method and device
KR20180026744A (en) * 2015-07-23 2018-03-13 후아웨이 테크놀러지 컴퍼니 리미티드 Data transfer method and apparatus
EP3316495A4 (en) * 2015-07-23 2018-09-05 Huawei Technologies Co., Ltd. Method and device for data transmission
US10567103B2 (en) 2015-07-23 2020-02-18 Huawei Technologies Co., Ltd. Data transmission method and device
CN106712893A (en) * 2015-07-23 2017-05-24 华为技术有限公司 Method for data transmission and equipment
CN106712893B (en) * 2015-07-23 2020-10-09 华为技术有限公司 Method and device for data transmission
CN110830153A (en) * 2018-08-07 2020-02-21 华为技术有限公司 Method for receiving code block stream, method for transmitting code block stream and communication device
CN110830153B (en) * 2018-08-07 2021-04-09 华为技术有限公司 Method for receiving code block stream, method for transmitting code block stream and communication device
US11902403B2 (en) 2018-08-07 2024-02-13 Huawei Technologies Co., Ltd. Method for receiving code block stream, method for sending code block stream, and communications apparatus
CN111225301A (en) * 2019-12-27 2020-06-02 广州芯德通信科技股份有限公司 Device and method for mutual conversion between 8B/10B code and 64B/66B code
CN111225301B (en) * 2019-12-27 2021-07-20 广州芯德通信科技股份有限公司 Device and method for mutual conversion between 8B/10B code and 64B/66B code
WO2022056884A1 (en) * 2020-09-18 2022-03-24 华为技术有限公司 Line coding method and device

Also Published As

Publication number Publication date
CN101692633B (en) 2012-12-19
WO2011029247A1 (en) 2011-03-17

Similar Documents

Publication Publication Date Title
CN101692633B (en) Coding/decoding methods and devices
CN101615967B (en) Method, device and system for transmitting and receiving service data
CN101022405B (en) Universal framing rule packaging method
CN101267386B (en) Method, device and system for transmitting multi-channel independent Ethernet data
JP4754646B2 (en) Signal block sequence processing method and signal block sequence processing apparatus
CA2423056C (en) Multiplex transmission system capable of using ordinary network packets to transmit a plurality of 8b/10b bit streams
KR20220107030A (en) Data transmission method, apparatus, terminal equipment and storage medium
US8270433B2 (en) Sending method, receiving and processing method and apparatus for adapting payload bandwidth for data transmission
CN100568842C (en) A kind of apparatus and method of in synchronous digital transmission network, handling Ethernet service
CN111490845A (en) Method, device and system for transmitting customer service
CN1964354A (en) Method for scrambled block encoder, decoder and encode data block
CN101578795A (en) Digital transmission system and digital transmission method
CN103918231B (en) A kind of apparatus and method of Optical Channel Data Unit-k operation exchange
CN103534971A (en) Data processing method coded and decoded by FEC, and relative device
CN102196321A (en) Method for transmitting 100GE (100gigabit Ethernet) data in OTN (Optical Transport Network) and data sending device
CN110072163B (en) Load adaptive processing method, computer device and readable storage medium
CN101179556B (en) Method and apparatus for conveying optical fibre channel service
CN101499997A (en) Apparatus for multi-path low speed service multiplexing and demultiplexing, and method therefor
CN109120369A (en) A kind of SDH data processing method, system and relevant apparatus
CN1747606B (en) Service data transmission method and apparatus thereof
CN1780193B (en) ADM method, device and system based on universal framing protocol
CN101640568A (en) Method, device and system for transmitting and receiving client signals
CN1812316B (en) Link collecting processing method and apparatus
CN101616341B (en) Method and device for cross protection
CN106559141A (en) A kind of signal sending, receiving method, apparatus and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant