CN102025448A - Common public radio interface service transmitting/receiving method and device - Google Patents
Common public radio interface service transmitting/receiving method and device Download PDFInfo
- Publication number
- CN102025448A CN102025448A CN2010105496819A CN201010549681A CN102025448A CN 102025448 A CN102025448 A CN 102025448A CN 2010105496819 A CN2010105496819 A CN 2010105496819A CN 201010549681 A CN201010549681 A CN 201010549681A CN 102025448 A CN102025448 A CN 102025448A
- Authority
- CN
- China
- Prior art keywords
- code
- code block
- coding
- superframe
- check
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/06—Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
- H04W28/065—Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L25/00—Baseband systems
- H04L25/38—Synchronous or start-stop systems, e.g. for Baudot code
- H04L25/40—Transmitting circuits; Receiving circuits
- H04L25/49—Transmitting 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
- H04L25/4906—Transmitting 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 using binary codes
- H04L25/4908—Transmitting 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 using binary codes using mBnB codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W92/00—Interfaces specially adapted for wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Error Detection And Correction (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a common public radio interface (CPRI) service transmitting/receiving method and device. The transmitting method comprises the following steps: adding a check bit to each service flow coding block to obtain a check coding block, and forming multiple check coding blocks into a check frame, wherein the added check bit to the service flow coding block in the current check frame is the check bit of the service flow coding block in the previous check frame; forming multiple check frames into a superframe, and identifying the frame header of the superframe; and transmitting the identified superframe. By using the invention, the efficient line coding mechanism can be used for the CPRI interface service transmission, and the corresponding check protection mechanism and superframe synchronization mechanism can be provided, thereby meeting the application requirements of next generation of CPRI for the transmission rate.
Description
Technical field
The present invention relates to communication technical field, be specifically related to professional sending, receiving method of a kind of common public radio interface and device.
Background technology
CPRI (Common Public Radio Interface, common public radio interface) standard has mainly defined protocol interface between wireless base station and the base station controller, is used for the communication between base station and the base station controller.
The line coding form of CPRI existing standard (speed is smaller or equal to 6.144Gbps) agreement is 8B/10B, be about to the coded system that 8 bit codewords are mapped as 10 bit codewords, this encoding process process is as shown in Figure 1: data code flow is presented on the encoder input port with 8 bits, and 8 Bit datas logically are divided into two parts: begin 5 bits and last 3 bits.Begin 5 Bit datas and be imported into the 5B functional module, to produce the relevant encoding function of DC (Direct Current, direct current) balance.Last 3 bits are imported into the 3B functional module too, produce the relevant encoding function of DC balance.Be that 5B functional module or 3B functional module all are the DC balances that is used for determining final coding.The DC balancing information that Balance Control module function of use module provides is determined the DC balance code, finally is coded in 5B/6B and 3B/4B coding module and realizes.
In the CPRI existing standard, also stipulated application scheme, LOS (Loss ofSignal, dropout)/LOF (Loss of Frame, the LOF) mechanism of this line coding.But in realizing the process of the embodiment of the invention, the inventor finds existing this 8B/10B coded system, the application demand of the sufficient CPRI standard of future generation (speed is more than or equal to 9.8304Gbps) that can't expire, be mainly reflected in following some:
1, when the 8B/10B coding applies in the 10Gbps transmission system, because coding upset density itself is too high, crosstalking of therefore encoding is very big, is unfavorable for system transmissions;
2, the efficient of 8B/10B coding is lower, and the wasting of resources is bigger, can not satisfy CPRI high speed evolution demand.
Summary of the invention
The embodiment of the invention provides professional sending, receiving method of a kind of common public radio interface and device, to improve line coding efficient, reduces cross talk effects, satisfies the application demand of the CPRI next generation to transmission rate.
For this reason, the embodiment of the invention provides following technical scheme:
A kind of common public radio interface method for transmitting service comprises:
Add check digit in Business Stream coding code block, obtain the check code code block, a plurality of check code code blocks form a verification frame, and the check digit of adding in the Business Stream coding code block in the current verification frame is the check digit of Business Stream coding code block in the previous verification frame;
A plurality of verification frames are formed a superframe, and identify the frame head of described superframe;
Send the superframe after identifying.
A kind of common public radio interface service receiving method comprises:
It is synchronous that the business code flow that receives is carried out code word, to identify the check code code block;
According to superframe head feature, identify superframe boundaries;
Utilize superframe boundaries to delimit out the verification frame, comprise an integer verification frame in the superframe;
According to the check digit in each check code code block in the verification frame Business Stream coding code block is carried out error detection or error correction;
Remove the check digit in the described check code code block, obtain Business Stream coding code block;
Described Business Stream coding code block is decoded, obtain decoded business datum.
The professional dispensing device of a kind of common public radio interface comprises:
Verification frame generation unit, be used for adding check digit at Business Stream coding code block, obtain the check code code block, a plurality of check code code blocks form a verification frame, and the check digit of adding in the Business Stream coding code block in the current verification frame is the check digit of Business Stream coding code block in the previous verification frame;
The superframe generation unit is used for a plurality of verification frames are formed a superframe, and identifies the frame head of described superframe;
Transmitting element is used to send the superframe after the sign.
A kind of common public radio interface service receiving device comprises:
The code word recognition unit, it is synchronous to be used for that the business code flow that receives is carried out code word, identifying the check code code block, and according to superframe head feature, identifies superframe boundaries;
Verification frame recognition unit is used to utilize superframe boundaries to delimit out the verification frame, comprises an integer verification frame in the superframe;
Verification frame detecting unit is used for according to the check digit in each check code code block of verification frame Business Stream coding code block being carried out error detection or error correction;
Code block obtains the unit, is used for removing the check digit of described check code code block, obtains Business Stream coding code block;
Decoding unit is used for described Business Stream coding code block is decoded, and obtains decoded business datum.
Professional sending, receiving method of embodiment of the invention common public radio interface and device; demand at the evolution of CPRI high speed; line coding mechanism is efficiently adopted in transmission to the CPRI interface business; and provide corresponding verification protection mechanism and superframe-synchronized mechanism; and the check digit of adding in the Business Stream coding code block in the current verification frame is the check digit of Business Stream coding code block in the previous verification frame; saved the transmission buffer memory; also guaranteed the compatibility with the CPRI standard, thereby guaranteed the application demand of the CPRI next generation transmission rate.Correspondingly, the recipient, to carry out code word synchronous to receiving business code flow, to identify the check code code block, and according to superframe head feature, identify superframe boundaries, owing to comprise an integer verification frame in a superframe, therefore and then can determine the border of each verification frame in the superframe, and Business Stream coding code block is carried out error detection or error correction, remove the check digit in the described check code code block according to the check digit in each check code code block in the verification frame, obtain Business Stream coding code block, described Business Stream coding code block is decoded, obtain decoded business datum, guaranteed to receive the correctness of data.
Description of drawings
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use among the embodiment below, apparently, the accompanying drawing that describes below only is some embodiment that put down in writing among the present invention, for those of ordinary skills, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the 8B/10B line coding processing procedure schematic diagram of CPRI in the prior art;
Fig. 2 is the flow chart of embodiment of the invention common public radio interface method for transmitting service;
Fig. 3 is the schematic diagram of a kind of 32B/34B coded system in the embodiment of the invention;
Fig. 4 is the generative process schematic diagram of FEC piece in the embodiment of the invention;
Fig. 5 is 32B/34B coding and a 32/35B schematic diagram in the embodiment of the invention;
Fig. 6 is the form of superframe-synchronized head in the embodiment of the invention;
Fig. 7 is the flow chart of embodiment of the invention common public radio interface service receiving method;
Fig. 8 is a kind of realization flow figure of WORD ALIGNMENT mechanism in the embodiment of the invention;
Fig. 9 is a FEC piece error detection process schematic diagram in the embodiment of the invention;
Figure 10 is a kind of structural representation of the professional dispensing device of embodiment of the invention common public radio interface;
Figure 11 is a kind of structural representation of embodiment of the invention common public radio interface service receiving device.
Embodiment
In order to make those skilled in the art person understand the scheme of the embodiment of the invention better, the embodiment of the invention is described in further detail below in conjunction with drawings and embodiments.
In CPRI standard evolution work, standard of future generation (speed is more than or equal to 9.8304Gbps) at CPRI, the applicant has proposed a kind of line coding method, specifically: code stream is encoded, comprise payload to the Frame in the described code stream, n position continuous data with same position in each section in the section of b at least in every N continuous bit, proceed to the conversion of m position continuous data, described b is greater than or equal to 2 integer, described N, n and m are the integer greater than 0, b * n<N, m>n.Particularly, when code stream is encoded, can carry out of the conversion of n position continuous data according to n/m line coding table to m position continuous data, each corresponding polarity deviation RD of n position continuous data (Running Disparity) is positive m position continuous data for negative m position continuous data and/or a polarity deviation RD in this n/m line coding table, wherein, can define RD for 0 number in the negative m position continuous data more than or equal to 1 number, RD is that 0 number is less than or equal to 1 number in the positive m position continuous data.Certainly, can also define RD and be less than or equal to 1 number for 0 number in the negative m position continuous data, RD be in the positive m position continuous data 0 number more than or equal to 1 number.RD for just or for negative only be for the comparative result of 0 and 1 number is described in the corresponding data flow.Wherein, n/m line coding table can be the 5B/6B coding schedule, or the 3B/4B coding schedule, and is corresponding, n=5, m=6 or n=3, m=4.N/m line coding table can also be a coding schedule commonly used such as 4B/5B, 8B/9B or 8B/10B.
Preferably, N is 32, and b is 2, and n is 5, and m is 6, promptly the partial bit of the bit stream that enters encoder is carried out the mapping of 5B/6B coding and handles, and all the other bits are not done mapping and handled.
In addition, in order to guarantee coding efficiency, before coding, need that also all bit stream are carried out scrambling and handle.Can avoid causing ISI (InterSymbol Interference by this line coding as long by 0, long 1 data of 64B/66B coding, intersymbol interference) appearance of effect, guarantee the DC balance, also can avoid simultaneously the problem that too high initiation is crosstalked as 8B/10B coding back hopping edge probability of occurrence, guarantee the physical electrical transmission performance of coding, and the low rate of the compatible CPRI of energy is used.
The embodiment of the invention provides at above-mentioned this line coding mode carries out professional method and the device that sends, receives of CPRI.
As shown in Figure 2, be a kind of flow chart of embodiment of the invention common public radio interface method for transmitting service, may further comprise the steps:
Need to prove, in embodiments of the present invention, described Business Stream coding code block is a 32B/34B coding code block, described check code code block is a 32B/35B coding code block, perhaps described Business Stream coding code block is the not coding code block of tape verifying position of 36B/40B, and described check code code block is a 36B/40B coding code block.
Described Business Stream coding code block can be a 32B/34B coding code block, and promptly the line coding method that proposes according to above-mentioned applicant is mapped as the coding code block of 34 bit codewords with 32 bit codewords, as shown in Figure 3.
The principle of 32B/34B coding mainly contains:
(1) with 32 bit load as the unit, bit stream is carried out scrambling handles;
(2) 5 bits carry out the 5B/6B coding before 16 bits, and back 11 bits keep, and do not carry out any processing.
Certainly, the embodiment of the invention does not limit the specific coding form of described Business Stream coding code block, such as being coded format such as 36B/40B.
Each bit of 36B/40B coding is represented implication:
[31:0]: customer service bit stream data;
[35:32]: control word;
[39]: upset indicating bit (whether indication [35:0] needs upset);
[38:37]: synchronous head bit;
[36]: check digit comprises FEC check digit, CRC check position, three kinds of situations of parity check bit.
In addition, in embodiments of the present invention, the check digit that interleaves in the Business Stream coding code block is 1 bit at least.Such as, can increase the check digit of 1 bit at the encode head of code block of 32B/34B, correspondingly, the check code code block of generation is a 32B/35B coding code block.Certainly, can this embodiment of the invention not done qualification with being inserted into any position of Business Stream coding code block between each check digit yet.
Particularly, can generate check code code block and verification frame in such a way:
Will be at being inserted between each bit in the check digit of i-1 verification frame generation in the Business Stream coding code block;
According to all the RD polarity of encoding code stream and the RD polarity of the part payload in the current Business Stream to be encoded coding code block, current Business Stream to be encoded coding code block is carried out the Business Stream coding obtain Business Stream coding code block; The check digit that is inserted in the described Business Stream coding code block that obtains between being reached by the described Business Stream coding code block that obtains is again formed the check code code block; Upgrade all RD polarity of encoding code stream;
The a plurality of check code code blocks that generate are formed i verification frame.
Wherein, described all encoding code stream be the 32B/35B encoding code stream, described Business Stream is encoded to 32B/35B coding; Perhaps, described all encoding code stream be the 36B/40B encoding code stream, described Business Stream is encoded to 36B/40B coding.
Need to prove that described check digit can be FEC check digit or CRC check position or parity check bit.And the check digit of adding in the current verification frame is the check digit of Business Stream coding code block in the previous verification frame, that is to say, is protected the correctness of previous verification frame by a back verification frame.
Step 202 is formed a superframe with a plurality of verification frames, and identifies the frame head of described superframe.
Step 203 sends the superframe after identifying.
In embodiments of the present invention; in order to guarantee the correctness of transfer of data; adopt the verification protection mechanism; such as FEC (Feedforward Error Correction; forward error correction coding) protection; promptly in Business Stream coding code block, add the FEC check digit, so that receiving terminal detects the correctness of the code block of receiving according to this check digit.
Utilize the method for the embodiment of the invention; can satisfy the 10Gbps transmission demand of CPRI standard of future generation; such as; can take such framing mode: per 32 32B/35B coding code block is formed a verification frame, realizes (1120,1088; 32) coding; promptly utilize the overhead digit of 32 bits, protect the payload of 1088 bits, the length of whole verification frame is 1120 bits.Certainly, the embodiment of the invention does not limit the concrete number of the check code code block of forming the verification frame.
Head with Business Stream coding code block increases by 1 bit check digit below, and 32 check code code blocks are formed a fec frame is example, and the implementation procedure of above-mentioned steps 201 is elaborated.
A complete fec frame comprises 32 32B/34B codings of check bit sum code block of 32 bits, inserts 1 bit harbour of each 32B/35 coding code block of forming this fec frame between the check digit quilt of this 32 bit.Length 0, long 1 problem that this processing mode can avoid the check digit of 32 bits to cause effectively.
For DC (Direct Current, the direct current) imbalance problem that the check digit of further avoiding 32 bits may cause, in embodiments of the present invention, the overhead digit that distributes fec frame in the following ways is the check digit of 32 bits:
For the fec frame of the 1st transmission, fill complete 0 in the check digit of its 32 bit;
For the individual fec frame of i (i is the integer greater than 1), need to fill check digit in the check digit of its 32 bit by i-1 32 bits that fec frame produced, concrete filling mode is with reference to shown in Figure 3.
With reference to Fig. 4, describe at the overhead digit filling needle of i fec frame situation to the check digit of i-1 32 bits that fec frame produced.
To the 1st 32B/35B coding, at first 32 bits are carried out the 1st 32B/34B coding, described 32B/34B coding comprises that a part of code word upset in 32 bits is handled and the RD polarity sign of another part code word, whether described RD polarity sign is to overturn according to described a part of code word to decide, if described a part of code word upset, the RD polarity of then described another part code word is designated negative, if described a part of code word is not overturn, or described a part of code word should overturn and the RD value of described another part code word only on the occasion of the time, RD polarity just is designated, and keeps described a part of code word not overturn.Need to prove, at the RD polarity chron of determining current 32B/34B code block to be encoded, only add up according to the payload of position [10:0] and [26:16] this 22 bit in this 32B/34B coding code block, wherein, the the 0th to 10 bit in [10:0] expression 34 bits, the the 16th to 26 bit in [26:16] expression 34 bits is follow-up identical.If all before the current 32B/34B code block to be encoded in encoding code stream and the current 32B/34B code block to be encoded the RD polarity of position [10:0] and [26:16] this 22 bit identical, and among current [15:11] and [31:27] any one or two when having the RD negative value simultaneously, then to the processing of overturning of the position [10:0] of current 32B/34B code block to be encoded and [26:16] this 22 bit, and carry out the RD-sign simultaneously to any one or two among [15:11] and [31:27], generate the 1st 32B/34B coding code block; Otherwise, if all before the current 32B/34B code block to be encoded in encoding code stream and the current 32B/34B code block to be encoded the RD polarity of position [10:0] and [26:16] this 22 bit identical, but when current [15:11] do not have the RD negative value with [31:27], or before the current 32B/34B code block to be encoded all in encoding code stream and the current 32B/34B code block to be encoded the RD polarity of position [10:0] and [26:16] this 22 bit opposite, the processing of then not overturning, and [15:11] and [31:27] carried out the RD+ sign, generate the 1st 32B/34B coding code block, again the check digit of the 1st bit in the check digit of 32 bits is added to the harbour of the 1st 32B/34B coding code block, generate the 1st 32B/35B coding code block.
To the 2nd 32B/35B coding code block, at first carry out the 32B/34B coding, equally not only to determine the RD polarity of current 32B/34B code block to be encoded, and to determine all RD polarity of encoding code stream before this 32B/34B code block to be encoded, if the RD polarity of current 32B/34B code block to be encoded is identical with the RD polarity of its before all encoding code stream, and when another part code word in the 32B/34B code block to be encoded has the RD negative value, then to the processing of overturning of the position [10:0] of current 32B/34B code block to be encoded and [26:16] this 22 bit, and corresponding [15:11] and [31:27] carried out the RD sign, again the check digit of the 2nd bit in the check digit of 32 bits is added to the harbour of the 2nd 32B/34B coding code block, generate the 2nd 32B/35B coding code block; Otherwise, if all before the current 32B/34B code block to be encoded in encoding code stream and the current 32B/34B code block to be encoded the RD polarity of position [10:0] and [26:16] this 22 bit identical, but when current [15:11] do not have the RD negative value with [31:27], or before the current 32B/34B code block to be encoded all in encoding code stream and the current 32B/34B code block to be encoded the RD polarity of position [10:0] and [26:16] this 22 bit opposite, the processing of then not overturning, corresponding [15:11] and [31:27] carried out the RD+ sign, add the check digit of the 2nd bit in the check digit of 32 bits the harbour of the 2nd 32B/34B coding code block to, generate the 2nd 32B/35B coding code block.The rest may be inferred, up to generating the 32nd 32B/35B coding code block.
At last, 32 32B/35B coding code blocks that generate are formed i fec frame.
As shown in Figure 5, show the schematic diagram of 32B/34B coding code block and 32B/35B coding code block.
Need to prove, can identify this upset, two 5B sign indicating numbers in the current code block to be encoded can be respectively bit [15:11] and bit [31:27] for making receiving terminal) do the 5B/6B coding mapping of RD-, mapping table is shown in Table 1.If the some 5B sign indicating numbers in these two 5B sign indicating numbers do not have the mapping of RD-, carry out the mapping of RD+ then for this 5B sign indicating number.If two 5B sign indicating numbers all do not have the mapping of RD-, then 22 bits in the current code block to be encoded are not overturn, simultaneously two 5B sign indicating numbers all are mapped as the 5B/6B coding of RD+.
Table 1:
5B (true form) | ?RD+(6B) | RD-(6B) |
00000 | 100111 | 011000 |
00001 | 011101 | 100010 |
00010 | 101101 | 010010 |
00011 | 110001 | |
00100 | 110101 | 001010 |
00101 | 101001 | |
00110 | 011001 | |
00111 | 111000 | 000111 |
01000 | 111001 | 000101 |
01001 | 100101 |
01010 | 010101 | |
01011 | 110100 | |
01100 | 001101 | |
01101 | 101100 | |
01110 | 011100 | |
01111 | 010111 | 101000 |
10000 | 011011 | 100100 |
10001 | 100011 | |
10010 | 010011 | |
10011 | 110010 | |
10100 | 001011 | |
10101 | 101010 | |
10110 | 011010 | |
10111 | 111010 | 000101 |
11000 | 110011 | 001100 |
11001 | 100110 | |
11010 | 010110 | |
11011 | 110110 | 001001 |
11100 | 001110 | |
11101 | 101110 | 010001 |
11110 | 011110 | 100001 |
11111 | 101011 | 010100 |
Concerning receiving terminal, as long as gone out the code word of RD-in any one location recognition of two 5B/6B coding sites, overturn with regard to 22 bits, if the RD code word that identifies is entirely for just, just not to 22 bit reversals in the current code block the current 32B/34B code block that receives.
In embodiments of the present invention, can utilize FEC generator polynomial g (x)=x at the check digit of 32 bits of each fec frame
32+ x
23+ x
21+ x
1+ x
2+ 1 produces, and wherein, described x represents shift register, and power table shows the position of shift register.The FEC generator polynomial can be not described in detail at this with reference to the explanation in the 802.3AP standard.
Need to prove that the embodiment of the invention does not limit the number of the 32B/35B coding code block of forming fec frame, such as also forming a fec frame by 64 32B/35B coding code blocks.
In embodiments of the present invention, a plurality of verification frames can be formed a superframe, such as, 32 fec frames can be formed a superframe.Simultaneously, also be provided with superframe-synchronized mechanism, promptly the frame head to described superframe identifies in the above-mentioned steps 202.
In existing CPRI agreement, the common control word of superframe head is K28.5 under the various wire rates, fills the code word of different length behind the K28.5 according to the difference of CPRI wire rate.
In order to keep identical character testing mechanism with existing CPRI agreement, in embodiments of the present invention, can utilize control word K28.5 that the frame head of described superframe is identified, the superframe-synchronized of 32B/35 coding can be with reference to form shown in Figure 6.
Wherein, above superframe head before delegation's presentation code, below the superframe head of a line display after through the 32B/34B coding.
Different with existing CPRI agreement is that in embodiments of the present invention, control word K28.5 adopts mapping mode as shown in table 2.
Table 2:
BCH(8B) | RD+(10B) | RD-(10B) |
10111100 | 0011111010 | 1100000101 |
And, if when 1 number is more than or equal to 0 number (abbreviating it as RD+) in all codings that transmitted, the code word of control word K28.5 is mapped as " 1100000101 ", promptly select the RD-mapping value; When if 1 number is less than 0 number (abbreviating it as RD-) in all codings that transmitted, the code word of control word K28.5 is mapped as " 0011111010 ", promptly select the RD+ mapping value.
In embodiments of the present invention, [23:0] field of superframe head remains unchanged, and promptly [23:0] all adopts fixing spcial character.
Embodiment of the invention common public radio interface method for transmitting service; demand at the evolution of CPRI high speed; line coding mechanism is efficiently adopted in transmission to the CPRI interface business; and provide corresponding verification protection mechanism and superframe-synchronized mechanism; and will be inserted between the check digit in the current verification frame in the next verification frame; guaranteed the DC balance, thereby guaranteed the application demand of the CPRI next generation transmission rate.
Correspondingly,,, need the business code flow that receive be carried out synchronously, handle so that business datum is carried out the correct frame of separating at receiving terminal at above-mentioned CPRI method for transmitting service.Business code flow mainly comprised following several respects synchronously: the border of from the business code flow that receives, correctly identifying the superframe boundaries and second encoding block.
For this reason, the embodiment of the invention also provides a kind of common public radio interface service receiving method, as shown in Figure 7, is the flow chart of this method, may further comprise the steps:
Step 702 according to superframe head feature, identifies superframe boundaries.
The business code flow of described reception is 32B/35B encoding code stream or 36B/40B encoding code stream.Correspondingly, according to superframe head feature, identifying superframe boundaries can be by detecting the superframe boundaries of the described 32B/35B encoding code stream of k28.5 character recognition; Or by detecting the superframe boundaries of 10 character recognition 36B/40B encoding code streams.
Step 703 utilizes superframe boundaries to delimit out the verification frame, comprises an integer verification frame in the superframe.
After identifying superframe boundaries,, can determine the border of each verification frame in the superframe according to the number of the verification frame that comprises in each superframe.
Step 704 is carried out error detection or error correction according to the check digit in each check code code block in the verification frame to Business Stream coding code block.
Step 705 is removed the check digit in the described check code code block, obtains Business Stream coding code block.
Step 706 is decoded to described Business Stream coding code block, obtains decoded business datum.
In this bright embodiment, correspondingly WORD ALIGNMENT (code word is synchronous) mechanism is provided, to determine the border of superframe head, be that 32B/35B coding code block is that example describes with the check code code block below.Main process is as follows:
Receiver is selected a bit from the business code flow that enters receiver, begin to carry out synchronous detecting from this bit.The mode of synchronous detecting is, suppose that this bit is the border of superframe head, or the border of 32B/35B code word, the frame head of superframe should appear in the ad-hoc location of backward counting from this bit so, the encoded K 28.5 of 8B/10B is promptly arranged, or the distinctive 5B/6B coding of 32B/35 coding code block occurs.Found these spcial characters if detect ad-hoc location, thought that so current candidate's bit is the frame head of superframe, or the border of 32B/35B code word.
Find not have these special characters if detect ad-hoc location, think that so current candidate's bit is neither the border of superframe, neither encode by the distinctive 5B/6B of 32B/35 coding code block, then abandon current bit, with next bit as candidate's bit, step above repeating is up to the bit that finds to meet those spcial characters.
In embodiments of the present invention, can realize WORD ALIGNMENT mechanism by the mode of state machine, the specific implementation process can have multiple, illustrates respectively below.
Example 1: described state machine comprises following state: not synchronous (the LOSS of Sync) state of code word, code word character detect (Comma Detect) state, code word (Synchronized) state, code word timing error (Synchronized error) state synchronously, mainly comprise following process:
Not under the synchronous regime, find a predetermined bit stream pattern by drawing window in code word from the business code flow that receives, the 6B code word such as above-mentioned superframe head or 5B/6B coding enters code word character detected state;
At code word character detected state, continuation detects the follow-up data of described bit stream pattern, if the follow-up data of described bit stream pattern are legal sign indicating numbers and are described predetermined bit stream pattern, and its number reaches first predetermined value, then enters the code word synchronous regime; If the follow-up data of described bit stream pattern are improper codes, then get back to not synchronous regime of code word; The described data of described legal representation are the 6B significant characters in superframe frame head bit stream or the 5B/6B coding mapping table; Described improper code represent described data be not superframe frame head bit stream and neither 5B/6B 6B significant character in the coding mapping table;
Under the code word synchronous regime,, then keep the code word synchronous regime if the follow-up data of receiving are legal sign indicating numbers; If the data of receiving are improper codes, then enter code word timing error state;
At code word timing error state, reach second predetermined value if receive the number of improper code, then enter not synchronous regime of code word; Reach the 3rd predetermined value if receive the number of legal sign indicating number, will receive that then the number of improper code subtracts 1; When the number of receiving improper code is kept to 0, enter the code word synchronous regime;
If state machine is in code word not synchronous regime or code word character detected state, determine that then word boundary does not find;
If state machine is in code word synchronous regime or code word timing error state, determine that then word boundary finds.
Wherein, described first predetermined value is the number of state machine required significant bit flow graph case that receives when entering into the code word synchronous regime; Second predetermined value is that state machine enters the not number of the required invalid code word improper code that receives during synchronous regime of code word; The 3rd predetermined value is that state machine enters the number that the required continuous effective code word that receives of code word synchronous regime is legal sign indicating number.Described first predetermined value, second predetermined value and the 3rd predetermined value can be set according to the practical application needs by the user, such as setting according to the receivable delay of business, resource and to the requirement of synchronous regime stability.Such as, synchronously false for preventing, need detect 16 or 64 significant characters and just report synchronously, promptly first predetermined value can be set at 16 or 64; Equally, the code word synchronous regime is broken, could be reported asynchronous when the state less than significant character of need detecting reaches some for preventing little disturbance.
Need to prove because the coded system that 32B/35B coding and existing 8B/10B encode is different, therefore, on WORD ALIGNMENT mechanism with the CPRI existing protocol in the synchronization mechanism stipulated also different, specific as follows:
The basis for estimation that current data to be tested are invalid is:
1. detect [33:24] position of data, the 24th to 33 bit in described [33:24] expression one segment encode stream if do not meet the k28.5 code word of superframe head regulation, determines that then the current detection data are not the superframe heads;
2. detect [16:11] position or [33:28] position of data,, determine that then the current detection data are not the 5B/6B coding codewords if do not meet the 5B/6B code table.
The effective basis for estimation of current data to be tested is:
1. detect [33:24] position of data,, determine that then the superframe head is effective if meet the k28.5 code word of superframe head regulation;
2. detect [16:11] position and [33:28] position of data,, determine that then the current detection data are not the 5B/6B coding codewords if meet the 5B/6B code table.
Example 2: described state machine comprises following state: code word not synchronous regime, code word character detected state, code word synchronous regime, mainly comprise following process:
Not under the synchronous regime, find a predetermined bit stream pattern by drawing window in code word from the business code flow that receives, such as K28.5, or [16:11] and [33:28] all meet the 5B/6B code table of encoding, and enters the character detected state;
At code word character detected state, continuation detects the follow-up data of described bit stream pattern, if be consecutively detected the follow-up data of described bit stream pattern and be legal sign indicating number and, then enter the code word synchronous regime for the number of described predetermined bit stream pattern reaches the 4th predetermined value such as 64; If the follow-up data of described bit stream pattern are improper codes, then get back to not synchronous regime of code word; The described data of described legal representation are the 6B significant characters in superframe frame head bit stream or the 5B/6B coding mapping table; Described improper code represent described data be not superframe frame head bit stream and neither 5B/6B 6B significant character in the coding mapping table;
Under the code word synchronous regime, need to continue to detect the code word synchronous regime, the codeword boundary that guarantees follow-up reception all is correct.If the follow-up data of receiving are legal sign indicating numbers, then keep the code word synchronous regime; If the number that the follow-up data of receiving are improper codes reaches the 5th predetermined value such as 16, then get back to not synchronous regime of code word;
If state machine is in code word not synchronous regime or code word character detected state, determine that then described superframe boundaries does not find;
If state machine is in code word synchronous regime or code word timing error state, determine that then superframe boundaries finds.
Wherein, described the 4th predetermined value and the 5th predetermined value can be set according to application need, such as can be according to the receivable delay of business, resource, and to the requirement of synchronous regime stability and set.
As shown in Figure 8, be a kind of specific implementation flow chart of realizing above-mentioned WORD ALIGNMENT mechanism in the embodiment of the invention, may further comprise the steps:
Step 801 is reset, and promptly under synchronous regime not, finds a 32B/35B code word that meets the 5B/6B code table by drawing window from the business code flow that receives, and enters the character detected state;
Step 802 is carried out the serial data position and is slided, and coincidence counter returns 0;
Step 803 is obtained character late;
Step 804 judges whether the character that obtains is effective; If then execution in step 805; Otherwise return step 802;
Step 805 judges whether the character effective degree reaches 63 times; If then execution in step 807; Otherwise, execution in step 806;
Step 809 is obtained character late;
Step 810 judges whether the character that obtains is effective; If then execution in step 811; Otherwise execution in step 813;
Step 811 judges whether the effective number of times of character reaches 63 times; If then execution in step 808; Otherwise execution in step 812;
By above-mentioned dual mode, can correctly identify superframe boundaries and then guarantee that the data that receive are carried out the correct frame of separating to be handled.
In embodiments of the present invention; protection mechanism based on the transmitting terminal employing; correspondingly; in above-mentioned steps 802; whether transmission correctly can adopt serial data position sliding scale to detect equally to the verification frame; the correctness of current verification frame transmission need just can carry out after receiving next verification frame.Particularly, after receiving current verification frame, obtain the payload in the current verification frame, and generate the check digit of Business Stream coding code block in the current verification frame according to described payload, the mode that generates check digit with transmitting terminal is identical, such as utilizing FEC generator polynomial g (x)=x
32+ x
23+ x
21+ x
11+ x
2+ 1 produces; If the check digit of Business Stream coding code block is identical with check digit in the next verification frame in the current verification frame that generates, determine that then current verification frame transmission is correct, otherwise determine the error of transmission of current verification frame, need carry out error correction to it, the concrete mode of error correction can not repeat them here according to processing of the prior art.
With reference to shown in Figure 9, be verification frame error detection process schematic diagram in the embodiment of the invention.
For the sake of clarity, in the present embodiment, comprising 32 check code code blocks with a verification frame is that example describes.Certainly, the embodiment of the invention does not limit the concrete number of check code code block in the verification frame.
After receiving i-1 verification frame,, be assumed to A according to the check digit of the generation of the payload in i-1 the verification frame at 32 bits of i-1 verification frame, keep this check digit A, after receiving i verification frame, obtain the check digit of 32 bits in i the verification frame, be assumed to B.
By the description in the embodiment of the invention common public radio interface method for transmitting service of front as can be known, the check digit of 32 bits that interleave in i verification frame is the check digit at Business Stream coding code block in i-1 the verification frame.Therefore, whether identical by twin check position A with check digit B, can determine whether i-1 verification frame transmits correctly.If check digit A is identical with check digit B, determine that then i-1 verification frame transmission is correct; Otherwise show that i-1 verification frame transmission is incorrect, at this moment, may slide into candidate's bit and carry out same matching detection.
In embodiments of the present invention, also provide LOS (Loss of Signal, dropout) mechanism, mainly comprised two parts content:
If the 32B/35B coding code block that detects in the described verification frame is in not synchronous regime verification frame, then indicate los state in a superframe;
If the 32B/35B coding code block that detects in the described verification frame is in synchronous regime, and does not have check digit not match in this superframe, then indicate the LOS state of termination in a superframe.
For the 32B/35B coding, in the time of in being applied in CPRI transmission standard of future generation, the state of LOS has two kinds of criterions:
(1) 32B/35B code word synchronous regime is non-locking (unlock) state, and promptly state machine is in not synchronous regime;
(2) in a superframe, have at least the check digit of the coding of Business Stream in 16 verification frames code block not reach aforementioned matching status, promptly the Business Stream check digit of code block of encoding is identical with check digit in the next verification frame in the current verification frame of Sheng Chenging;
In addition, in the optical transmission of CPRI is used, when the luminous power that receives is lower than detection threshold, also cause los state.
Need to prove, the detection of los state is all carried out in same superframe.
(2) los state stops:
The end condition of los state is: the 32B/35B code word is locking (locked) state, and promptly state machine is in synchronous regime, and does not have the unmatched state of FEC check digit in the superframe.
Embodiment of the invention common public radio interface service receiving method, to carry out code word synchronous to receiving business code flow, identifies the border of second encoding block in superframe boundaries and the verification frame; According to the check digit in each check code code block in the verification frame Business Stream coding is carried out error detection or error correction, remove the check digit in the check code code block, obtain Business Stream coding code block; Described Business Stream coding code block is decoded, get decoded business datum, guaranteed to receive the correctness of data.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in the computer read/write memory medium, described storage medium, as: ROM/RAM, magnetic disc, CD etc.
Correspondingly, the embodiment of the invention also provides a kind of common public radio interface professional dispensing device, as shown in Figure 8, is a kind of structural representation of this device.
In this embodiment, the professional dispensing device of described common public radio interface comprises:
Verification frame generation unit 1001, be used for adding check digit at Business Stream coding code block, obtain the check code code block, a plurality of check code code blocks form a verification frame, and the check digit of adding in the Business Stream coding code block in the current verification frame is the check digit of Business Stream coding code block in the previous verification frame;
Transmitting element 1003 is used to send the superframe after the sign.
In embodiments of the present invention, described Business Stream coding code block is a 32B/34B coding code block, and described check code code block is a 32B/35B coding code block; Correspondingly, described device also further comprises:
Check digit generation unit 1004 is used to utilize multinomial g (x)=x
32+ x
23+ x
21+ x
11+ x
2+ 1, generate the check digit of 32 bits, wherein, described x represents shift register, power table shows the position of shift register.
In concrete the application, be inserted in the head of Business Stream coding code block between each bit in the 32 bit check digit that verification frame generation unit 1001 can generate check digit generation unit 1004, generate the check code code block, and with verification frame of a plurality of check code code blocks compositions, concrete interleaving mode and implementation procedure can not repeat them here with reference to the description in the embodiment of the invention common public radio interface method for transmitting service of front.
In embodiments of the present invention, described superframe generation unit 1002 can utilize control word K28.5 that the frame head of described superframe is identified, and, when if 1 number is more than or equal to 0 number in all codings that transmitted, the code word of control word K28.5 is mapped as " 1100000101 ", when if 1 number is less than 0 number in all codings that transmitted, the code word of control word K28.5 is mapped as " 0011111010 ".Specifically can be with reference to the description of front.
In embodiments of the present invention, described Business Stream coding code block can also be the 36B/40B coding code block of tape verifying position not, and described check code code block is a 36B/40B coding code block.
The professional dispensing device of embodiment of the invention common public radio interface; demand at the evolution of CPRI high speed; line coding mechanism is efficiently adopted in transmission to the CPRI interface business; and provide corresponding verification protection mechanism and superframe-synchronized mechanism; and the check digit of adding in the Business Stream coding code block in the current verification frame is the check digit of Business Stream coding code block in the previous verification frame; guaranteed the DC balance, thereby guaranteed the application demand of the CPRI next generation transmission rate.
Correspondingly, the embodiment of the invention also provides a kind of common public radio interface service receiving device, as shown in figure 11, is a kind of structural representation of this device.
In embodiments of the present invention, described common public radio interface service receiving device comprises:
Code word recognition unit 1101 is used for that to carry out code word synchronous to receiving business code flow, identifying the check code code block, and according to superframe head feature, identifies superframe boundaries;
Verification frame recognition unit 1102 is used to utilize superframe boundaries to delimit out the verification frame, comprises an integer verification frame in the superframe;
Verification frame detecting unit 1103 is used for according to the check digit in each check code code block of verification frame Business Stream coding code block being carried out error detection or error correction, comprises an integer verification frame in the superframe;
Code block obtains unit 1104, is used for removing the check digit of described check code code block, obtains Business Stream coding code block;
In embodiments of the present invention, described code word recognition unit 1101 can adopt multiple mode to realize WORD ALIGNMENT mechanism, thereby determines the border of superframe head, and the specific implementation process can not repeat them here with reference to the description of front.
Corresponding with verification frame generting machanism, described verification frame detecting unit 1103 comprises: check digit generates subelement and coupling subelement (not shown), wherein, check digit generates subelement, be used for obtaining the payload of previous verification frame, and generate the check digit of Business Stream coding code block in the previous verification frame according to described payload; The coupling subelement, be used for mating described check digit and generate the check digit of the previous verification frame Business Stream coding code block that subelement generates and the check digit in the current verification frame, and when matching result is identical, determine that the Business Stream coding code block transmission in the previous verification frame is correct.
In addition, embodiment of the invention common public radio interface service receiving device also provides LOS mechanism,, also can further comprise in described common public radio interface service receiving device for this reason:
Indicating member 1106 is used for when described code word recognition unit 1101 detects described verification frame in a superframe check code code block is in not synchronous regime the indication los state; And the check code code block that detects in the described verification frame in a superframe at described code word recognition unit 1101 is in synchronous regime, and described verification frame detecting unit 1103 detects when not having check digit not match in this superframe, and the indication los state stops.
Embodiment of the invention common public radio interface service receiving device can be realized the CPRI interface is adopted the correct identification of the business code flow of line coding mechanism transmission efficiently, has guaranteed to receive the correctness of data.
More than the embodiment of the invention is described in detail, used embodiment herein the present invention set forth, the explanation of above embodiment just is used for help understanding method and apparatus of the present invention; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (24)
1. a common public radio interface method for transmitting service is characterized in that, comprising:
Add check digit in Business Stream coding code block, obtain the check code code block, a plurality of check code code blocks form a verification frame, and the check digit of adding in the Business Stream coding code block in the current verification frame is the check digit of Business Stream coding code block in the previous verification frame;
A plurality of verification frames are formed a superframe, and identify the frame head of described superframe;
Send the superframe after identifying.
2. method according to claim 1, it is characterized in that, described Business Stream coding code block is a 32B/34B coding code block, described check code code block is a 32B/35B coding code block, perhaps described Business Stream coding code block is the not coding code block of tape verifying position of 36B/40B, and described check code code block is a 36B/40B coding code block.
3. method according to claim 2 is characterized in that, described method also comprises:
Utilize multinomial g (x)=x
32+ x
23+ x
21+ x
11+ x
2+ 1, generate the check digit of 32 bits, wherein, described x represents shift register, power table shows the position of shift register.
4. method according to claim 1 is characterized in that,
Describedly in Business Stream coding code block, add check digit, generate the check code code block, and a plurality of check code code blocks are formed the verification frames comprise:
For i verification frame, wherein i is the integer greater than 1, successively the coding of the Business Stream in i verification frame code block is carried out following processing:
Will be at being inserted between each bit in the check digit of i-1 verification frame generation in the Business Stream coding code block;
According to all the RD polarity of encoding code stream and the RD polarity of the part payload in the current Business Stream to be encoded coding code block, current Business Stream to be encoded coding code block is carried out the Business Stream coding obtain Business Stream coding code block; The check digit that is inserted in the described Business Stream coding code block that obtains between being reached by the described Business Stream coding code block that obtains is again formed the check code code block; Upgrade all RD polarity of encoding code stream;
The a plurality of check code code blocks that generate are formed i verification frame.
5. method according to claim 1 is characterized in that, described check digit is: FEC check digit or CRC check position or parity check bit.
6. method according to claim 4 is characterized in that, described all encoding code stream be the 32B/35B encoding code stream, described Business Stream is encoded to 32B/35B coding.
7. method according to claim 4 is characterized in that, described all encoding code stream be the 36B/40B encoding code stream, described Business Stream is encoded to 36B/40B coding.
8. according to each described method of claim 1 to 7, it is characterized in that described frame head to described superframe identifies and comprises:
Utilize control word K28.5 that the frame head of described superframe is identified, and
When if 1 number is more than or equal to 0 number in all codings that transmitted, the code word of control word K28.5 is mapped as " 1100000101 ";
When if 1 number is less than 0 number in all codings that transmitted, the code word of control word K28.5 is mapped as " 0011111010 ".
9. a common public radio interface service receiving method is characterized in that, comprising:
It is synchronous that the business code flow that receives is carried out code word, to identify the check code code block;
According to superframe head feature, identify superframe boundaries;
Utilize superframe boundaries to delimit out the verification frame, comprise an integer verification frame in the superframe;
According to the check digit in each check code code block in the verification frame Business Stream coding code block is carried out error detection or error correction;
Remove the check digit in the described check code code block, obtain Business Stream coding code block;
Described Business Stream coding code block is decoded, obtain decoded business datum.
10. method according to claim 9 is characterized in that, the business code flow of described reception is 32B/35B encoding code stream or 36B/40B encoding code stream.
11. method according to claim 10 is characterized in that, and is described according to superframe head feature, identifies superframe boundaries and comprises: by detecting the superframe boundaries of the described 32B/35B encoding code stream of k28.5 character recognition.
12. method according to claim 10 is characterized in that, and is described according to superframe head feature, identifies superframe boundaries and comprises: by detecting the superframe boundaries of 10 character recognition 36B/40B encoding code streams.
13. method according to claim 9 is characterized in that, described check code code block is a 32B/35B coding code block, and described Business Stream coding code block is a 32B/34B coding code block;
Describedly carry out code word and comprise synchronously receiving business code flow:
Utilize state machine to determine word boundary, described state machine comprises following state: code word is synchronous regime, code word character detected state, code word synchronous regime, code word timing error state not;
In code word not under the synchronous regime, find a predetermined bit stream pattern by stroke window from the business code flow that receives and enter code word character detected state, described predetermined bit stream pattern comprises: the 6B significant character in superframe frame head bit stream and the 5B/6B coding mapping table;
At code word character detected state, continue the follow-up data of described bit stream pattern are detected, if being legal sign indicating number and described legal yard number, the follow-up data of described bit stream pattern reach first predetermined value, then enter the code word synchronous regime; If the follow-up data of described bit stream pattern are improper codes, then get back to not synchronous regime of code word; The described data of described legal representation are the 6B significant characters in superframe frame head bit stream k28.5 or the 5B/6B coding mapping table; Described improper code represent described data be not superframe frame head bit stream k28.5 and neither 5B/6B 6B significant character in the coding mapping table;
Under the code word synchronous regime,, then keep the code word synchronous regime if the follow-up data of receiving are legal sign indicating numbers; If the follow-up data of receiving are improper codes, then enter code word timing error state;
At code word timing error state, reach second predetermined value if receive the number of improper code, then enter not synchronous regime of code word; Reach the 3rd predetermined value if receive the number of legal sign indicating number, will receive that then the number of improper code subtracts 1; When the number of receiving improper code is kept to 0, enter the code word synchronous regime;
If state machine is in code word not synchronous regime or code word character detected state, determine that then described superframe boundaries does not find;
If state machine is in code word synchronous regime or code word timing error state, determine that then described superframe boundaries finds.
14. method according to claim 9 is characterized in that, described check code code block is a 32B/35B coding code block, and described Business Stream coding code block is a 32B/34B coding code block;
Describedly carry out code word and comprise synchronously receiving business code flow:
Utilize state machine to determine word boundary, described state machine comprises following state: code word is synchronous regime, code word character detected state, code word synchronous regime not;
In code word not under the synchronous regime, from the business code flow that receives, find a predetermined bit stream pattern by drawing window, enter code word character detected state, described predetermined bit stream pattern comprises: the 6B significant character in superframe frame head bit stream, the 5B/6B coding mapping table;
At code word character detected state, continuation detects the follow-up data of described bit stream pattern, if be consecutively detected the follow-up data of described bit stream pattern and be legal sign indicating number and, then enter the code word synchronous regime for the number of described predetermined bit stream pattern reaches the 4th predetermined value; If the follow-up data of described bit stream pattern are improper codes, then get back to not synchronous regime of code word; The described data of described legal representation are the 6B significant characters in superframe frame head bit stream or the 5B/6B coding mapping table; Described improper code represent described data be not superframe frame head bit stream and neither 5B/6B 6B significant character in the coding mapping table;
Under the code word synchronous regime,, then keep the code word synchronous regime if the follow-up data of receiving are legal sign indicating numbers; If the number that the follow-up data of receiving are improper codes reaches the 5th predetermined value, then get back to not synchronous regime of code word;
If state machine is in code word not synchronous regime or code word character detected state, determine that then described superframe boundaries does not find;
If state machine is in code word synchronous regime or code word timing error state, determine that then described superframe boundaries finds.
15. method according to claim 14 is characterized in that, described the 4th predetermined value is that 64, the five predetermined values are 16.
16. method according to claim 9 is characterized in that, describedly Business Stream coding code block is carried out error detection or error correction comprises according to the check digit in each check code code block in the verification frame:
Obtain the payload in the previous verification frame, and generate the check digit of Business Stream coding code block in the previous verification frame according to described payload;
If the check digit of transmitting in the check digit that Business Stream coding code block generates in the previous verification frame and the current verification frame is identical, then determine in the previous verification frame the transmission of Business Stream coding code block correctly.
17., it is characterized in that described method also comprises according to each described method of claim 13 to 16:
If the 32B/35B coding code block that detects in a superframe in the described verification frame is in not synchronous regime, perhaps in a superframe, have at least 16 in the verification frame check digit and the check digit of its corresponding service stream encryption code block do not match, then indicate los state;
If the 32B/35B coding code block that detects in the described verification frame is in synchronous regime, and does not have check digit not match in this superframe, then indicate the LOS state of termination in a superframe.
18. the professional dispensing device of common public radio interface is characterized in that, comprising:
Verification frame generation unit, be used for adding check digit at Business Stream coding code block, obtain the check code code block, a plurality of check code code blocks form a verification frame, and the check digit of adding in the Business Stream coding code block in the current verification frame is the check digit of Business Stream coding code block in the previous verification frame;
The superframe generation unit is used for a plurality of verification frames are formed a superframe, and identifies the frame head of described superframe;
Transmitting element is used to send the superframe after the sign.
19. device according to claim 18 is characterized in that, described Business Stream coding code block is a 32B/34B coding code block, and described check code code block is a 32B/35B coding code block; Described device also comprises:
The check digit generation unit is used to utilize multinomial g (x)=x
32+ x
23+ x
21+ x
11+ x
2+ 1, generate the check digit of 32 bits, wherein, described x represents shift register, power table shows the position of shift register.
20. device according to claim 18 is characterized in that, described Business Stream coding code block is the not coding code block of tape verifying position of 36B/40B, and described check code code block is a 36B/40B coding code block.
21. device according to claim 18 is characterized in that,
Described superframe generation unit, specifically be used to utilize control word K28.5 that the frame head of described superframe is identified, and when if 1 number is more than or equal to 0 number in described all codings that transmitted, the code word of control word K28.5 is mapped as " 1100000101 ", when if 1 number is less than 0 number in described all codings that transmitted, the code word of control word K28.5 is mapped as " 0011111010 ".
22. a common public radio interface service receiving device is characterized in that, comprising:
The code word recognition unit, it is synchronous to be used for that the business code flow that receives is carried out code word, identifying the check code code block, and according to superframe head feature, identifies superframe boundaries;
Verification frame recognition unit is used to utilize superframe boundaries to delimit out the verification frame, comprises an integer verification frame in the superframe;
Verification frame detecting unit is used for according to the check digit in each check code code block of verification frame Business Stream coding code block being carried out error detection or error correction;
Code block obtains the unit, is used for removing the check digit of described check code code block, obtains Business Stream coding code block;
Decoding unit is used for described Business Stream coding code block is decoded, and obtains decoded business datum.
23. device according to claim 22 is characterized in that, described verification frame detecting unit comprises:
Check digit generates subelement, is used for obtaining the payload of previous verification frame, and generates the check digit of Business Stream coding code block in the previous verification frame according to described payload;
The coupling subelement, be used for mating described check digit and generate the check digit of the previous verification frame Business Stream coding code block that subelement generates and the check digit in the current verification frame, and when matching result is identical, determine that the Business Stream coding code block transmission in the previous verification frame is correct.
24., it is characterized in that described device also comprises according to claim 22 or 23 described devices:
Indicating member, be used for when described code word recognition unit detects described verification frame in a superframe check code code block is in not synchronous regime, perhaps in a superframe, have at least 16 in the verification frame check digit and the check digit of its corresponding service stream encryption code block do not match, the indication los state; And the check code code block that detects in the described verification frame in a superframe at described code word recognition unit is in synchronous regime, and described verification frame detecting unit detects when not having check digit not match in this superframe, and the indication los state stops.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105496819A CN102025448B (en) | 2010-11-18 | 2010-11-18 | Common public radio interface service transmitting/receiving method and device |
PCT/CN2011/074316 WO2011137790A1 (en) | 2010-11-18 | 2011-05-19 | Method and apparatus for sending/receiving common public radio interface service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105496819A CN102025448B (en) | 2010-11-18 | 2010-11-18 | Common public radio interface service transmitting/receiving method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102025448A true CN102025448A (en) | 2011-04-20 |
CN102025448B CN102025448B (en) | 2013-11-06 |
Family
ID=43866363
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010105496819A Active CN102025448B (en) | 2010-11-18 | 2010-11-18 | Common public radio interface service transmitting/receiving method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102025448B (en) |
WO (1) | WO2011137790A1 (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011137790A1 (en) * | 2010-11-18 | 2011-11-10 | 华为技术有限公司 | Method and apparatus for sending/receiving common public radio interface service |
CN102957492A (en) * | 2011-08-18 | 2013-03-06 | 盛科网络(苏州)有限公司 | Method and device for locking 64B/67B coding boundary |
WO2017012453A1 (en) * | 2015-07-23 | 2017-01-26 | 华为技术有限公司 | Method and device for data transmission |
CN103326810B (en) * | 2012-03-23 | 2017-03-01 | 京信通信系统(中国)有限公司 | The sending, receiving method of same-phase orthogonal data and device |
CN107005398A (en) * | 2014-12-15 | 2017-08-01 | 三菱电机株式会社 | Dispensing device, communicator and signal transmission system |
CN107370674A (en) * | 2016-05-13 | 2017-11-21 | 华为技术有限公司 | A kind of method, apparatus and system of data transfer |
CN109698732A (en) * | 2017-10-23 | 2019-04-30 | 华为技术有限公司 | The method and apparatus for transmitting data |
CN114614949A (en) * | 2022-03-17 | 2022-06-10 | 苏州盛科通信股份有限公司 | State machine state indication function verification method and device and electronic equipment |
WO2023116245A1 (en) * | 2021-12-22 | 2023-06-29 | 华为技术有限公司 | Sending method and apparatus, receiving method and apparatus, system, device, and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1309837A (en) * | 1998-07-17 | 2001-08-22 | 株式会社建伍 | BS digital broadcasting receiver |
CN1436308A (en) * | 2000-06-22 | 2003-08-13 | 密克罗奇普技术公司 | Method of checking EEPROM data with embedded CRC |
CN101047679A (en) * | 2006-03-28 | 2007-10-03 | 华为技术有限公司 | Data transmission method and system |
WO2010059772A1 (en) * | 2008-11-22 | 2010-05-27 | Qualcomm Incorporated | Scheduling data with time diversity in flo systems |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101345745B (en) * | 2007-07-09 | 2012-01-04 | 华为技术有限公司 | Data framing method and equipment thereof |
CN102025448B (en) * | 2010-11-18 | 2013-11-06 | 华为技术有限公司 | Common public radio interface service transmitting/receiving method and device |
-
2010
- 2010-11-18 CN CN2010105496819A patent/CN102025448B/en active Active
-
2011
- 2011-05-19 WO PCT/CN2011/074316 patent/WO2011137790A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1309837A (en) * | 1998-07-17 | 2001-08-22 | 株式会社建伍 | BS digital broadcasting receiver |
CN1436308A (en) * | 2000-06-22 | 2003-08-13 | 密克罗奇普技术公司 | Method of checking EEPROM data with embedded CRC |
CN101047679A (en) * | 2006-03-28 | 2007-10-03 | 华为技术有限公司 | Data transmission method and system |
WO2010059772A1 (en) * | 2008-11-22 | 2010-05-27 | Qualcomm Incorporated | Scheduling data with time diversity in flo systems |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011137790A1 (en) * | 2010-11-18 | 2011-11-10 | 华为技术有限公司 | Method and apparatus for sending/receiving common public radio interface service |
CN102957492A (en) * | 2011-08-18 | 2013-03-06 | 盛科网络(苏州)有限公司 | Method and device for locking 64B/67B coding boundary |
CN102957492B (en) * | 2011-08-18 | 2015-05-13 | 盛科网络(苏州)有限公司 | Method and device for locking 64B/67B coding boundary |
CN103326810B (en) * | 2012-03-23 | 2017-03-01 | 京信通信系统(中国)有限公司 | The sending, receiving method of same-phase orthogonal data and device |
CN107005398B (en) * | 2014-12-15 | 2018-12-28 | 三菱电机株式会社 | Sending device, communication device and signal transmission system |
CN107005398A (en) * | 2014-12-15 | 2017-08-01 | 三菱电机株式会社 | Dispensing device, communicator and signal transmission system |
US10567103B2 (en) | 2015-07-23 | 2020-02-18 | Huawei Technologies Co., Ltd. | Data transmission method and device |
WO2017012453A1 (en) * | 2015-07-23 | 2017-01-26 | 华为技术有限公司 | Method and device for data transmission |
CN107370674A (en) * | 2016-05-13 | 2017-11-21 | 华为技术有限公司 | A kind of method, apparatus and system of data transfer |
CN107370674B (en) * | 2016-05-13 | 2020-12-01 | 华为技术有限公司 | Data transmission method, equipment and system |
CN109698732A (en) * | 2017-10-23 | 2019-04-30 | 华为技术有限公司 | The method and apparatus for transmitting data |
US11516322B2 (en) | 2017-10-23 | 2022-11-29 | Huawei Technologies Co., Ltd. | Data transmission method and apparatus |
WO2023116245A1 (en) * | 2021-12-22 | 2023-06-29 | 华为技术有限公司 | Sending method and apparatus, receiving method and apparatus, system, device, and storage medium |
CN114614949A (en) * | 2022-03-17 | 2022-06-10 | 苏州盛科通信股份有限公司 | State machine state indication function verification method and device and electronic equipment |
CN114614949B (en) * | 2022-03-17 | 2023-12-19 | 苏州盛科通信股份有限公司 | State machine state indication function verification method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN102025448B (en) | 2013-11-06 |
WO2011137790A1 (en) | 2011-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102025448B (en) | Common public radio interface service transmitting/receiving method and device | |
CN100353690C (en) | Multiplex system using common network group to transmit multiple 8B/10B bit stream | |
CN102347817B (en) | Method for notifying reference signal configuration information and device thereof | |
CN1905541B (en) | Coding and decoding packet data | |
CN101267210B (en) | Data decoding and coding and receiving/transmission method and device | |
CN101312349B (en) | Method and apparatus for information block encoding and synchronous detecting | |
US5627845A (en) | Variable rate communication method and a variable rate communication system | |
US10511406B1 (en) | Power saving in a twisted wire pair communication network | |
US8594125B1 (en) | Inverse multiplexing using transcoding and frame alignment markers | |
EP0595034A1 (en) | Differentially coded and guard pulse position modulation for communication networks | |
CN103582026B (en) | A kind of method and apparatus of CPRI adaptive configurations | |
CN101345745B (en) | Data framing method and equipment thereof | |
US7333518B2 (en) | Transmission method and transmission system as well as communications device | |
CN109936393B (en) | A synchronization method and device suitable for extremely low reception rate | |
CN102299784A (en) | Data transmission method and equipment | |
CN114257334A (en) | Data encoding method, data decoding method and communication device | |
CN101174914A (en) | Code error correcting system and its transmission device, receiving device and code error correction method | |
CN101442380B (en) | Method and apparatus for testing error rate based on high speed serial interface encoded mode | |
US4635262A (en) | Method of detecting synchronization errors in a data transmission system using a linear block code | |
KR20010007070A (en) | A method and apparatus for enabling transmission of variable length encoded data in a low signal to noise ratio environment | |
US9594719B2 (en) | Seamless addition of high bandwidth lanes | |
CN101478385A (en) | Method for sending, receiving time clock and apparatus for transferring time clock | |
CN1897752B (en) | Method for generating user identifier H-RNTI of HSDPA system | |
JP2951992B2 (en) | Method and apparatus for transmitting information between stations of a communication network, especially for motor vehicles | |
CN110474718A (en) | A kind of data-encoding scheme, synchronous method, system and communication 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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210421 Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after: Honor Device Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |
|
TR01 | Transfer of patent right |