CN102025448B - 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
- CN102025448B CN102025448B CN2010105496819A CN201010549681A CN102025448B CN 102025448 B CN102025448 B CN 102025448B CN 2010105496819 A CN2010105496819 A CN 2010105496819A CN 201010549681 A CN201010549681 A CN 201010549681A CN 102025448 B CN102025448 B CN 102025448B
- 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.)
- Active
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 a kind of common public radio interface service sending, receiving method and device.
Background technology
CPRI(Common Public Radio Interface, common public radio interface) standard has mainly defined protocol interface between wireless base station and base station controller, is used for the communication between base station and base station controller.
The line coding form of CPRI existing standard (speed is less than 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 coding processing procedure 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: beginning 5 bits and last 3 bits.Begin 5 Bit datas and be imported into the 5B functional module, to produce DC(Direct Current, direct current) encoding function that balance is relevant.Last 3 bits are imported into the 3B functional module too, produce the relevant encoding function of DC balance.That 5B functional module or 3B functional module are all for the DC balance of determining final coding.The DC balancing information that the balance control module uses functional module to provide 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, the LOS(Loss of Signal of this line coding, dropout)/LOF(Loss of Frame, LOF) mechanism.But in realizing the process of the embodiment of the present 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 large, is unfavorable for system transmissions;
2, the efficient of 8B/10B coding is lower, and the wasting of resources is larger, can not satisfy CPRI high speed evolution demand.
Summary of the invention
The embodiment of the present invention provides a kind of common public radio interface service sending, receiving method and device, to improve line coding efficient, reduces cross talk effects, satisfies the CPRI next generation to the application demand of transmission rate.
For this reason, the embodiment of the present invention provides following technical scheme:
A kind of common public radio interface service sending method 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, the check digit of adding in Business Stream coding code block in current verification frame is the check digit of Business Stream coding code block in previous verification frame, by the correctness of the previous verification frame of current verification frame protection;
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 method of reseptance comprises:
The business code flow that receives is carried out code word synchronous, 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 a superframe, in a described integer verification frame, the check digit of adding in Business Stream coding code block in a rear verification frame is the check digit of Business Stream coding code block in previous verification frame, by the correctness of the previous verification frame of rear verification frame protection;
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 described check code code block, obtain Business Stream coding code block;
Described Business Stream coding code block is decoded, obtain decoded business datum.
A kind of common public radio interface service dispensing device 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, the check digit of adding in Business Stream coding code block in current verification frame is the check digit of Business Stream coding code block in previous verification frame, by the correctness of the previous verification frame of current verification frame protection;
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 for sending the superframe after identifying.
A kind of common public radio interface service receiving system comprises:
The code word recognition unit is used for that the business code flow that receives is carried out code word synchronous, identifying the check code code block, and according to superframe head feature, identifies superframe boundaries;
Verification frame recognition unit, be used for utilizing superframe boundaries to delimit out the verification frame, comprise an integer verification frame in a superframe, in a described integer verification frame, the check digit of adding in Business Stream coding code block in a rear verification frame is the check digit of Business Stream coding code block in previous verification frame, by the correctness of the previous verification frame of rear verification frame protection;
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.
Embodiment of the present invention common public radio interface service sending, receiving method and device; demand for the evolution of CPRI high speed; efficient line coding mechanism is 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 Business Stream coding code block in current verification frame is the check digit of Business Stream coding code block in previous verification frame; saved the transmission buffer memory; also guarantee the compatibility with the CPRI standard, thereby guaranteed the application demand of the CPRI next generation to 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 comprising an integer verification frame in a superframe, therefore and then can determine the border of each verification frame in superframe, and 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 described check code code block, obtain Business Stream coding code block, described Business Stream coding code block is decoded, obtain decoded business datum, guaranteed the correctness of receive 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, the below will do to introduce simply to the accompanying drawing of required use in embodiment, apparently, the accompanying drawing that the following describes is only some embodiment that put down in writing in the present invention, for those of ordinary skills, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the 8B/10B line coding processing procedure schematic diagram of CPRI in prior art;
Fig. 2 is the flow chart of embodiment of the present invention common public radio interface service sending method;
Fig. 3 is the schematic diagram of a kind of 32B/34B coded system in the embodiment of the present invention;
Fig. 4 is the generative process schematic diagram of FEC piece in the embodiment of the present invention;
Fig. 5 is 32B/34B coding and 32/35B schematic diagram in the embodiment of the present invention;
Fig. 6 is the form of superframe-synchronized head in the embodiment of the present invention;
Fig. 7 is the flow chart of embodiment of the present invention common public radio interface service method of reseptance;
Fig. 8 is a kind of realization flow figure of WORD ALIGNMENT mechanism in the embodiment of the present invention;
Fig. 9 is FEC piece error detection process schematic diagram in the embodiment of the present invention;
Figure 10 is a kind of structural representation of embodiment of the present invention common public radio interface service dispensing device;
Figure 11 is a kind of structural representation of embodiment of the present invention common public radio interface service receiving system.
Embodiment
In order to make those skilled in the art person understand better the scheme of the embodiment of the present invention, below in conjunction with drawings and embodiments, the embodiment of the present invention is described in further detail.
In CPRI standard evolution work, standard of future generation (speed is more than or equal to 9.8304Gbps) for CPRI, the applicant has proposed a kind of line coding method, specifically: code stream is encoded, comprise the payload to the Frame in 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 n position continuous data to the conversion of m position continuous data according to n/m line coding table, continuous data corresponding polarity deviation RD(Running Disparity in each n position in this n/m line coding table) be positive m position continuous data for negative m position continuous data and/or polarity deviation RD, wherein, can define RD for 0 number in the continuous data of negative m position more than or equal to 1 number, RD is that in the continuous data of positive m position, 0 number is less than or equal to 1 number.Certainly, can also define RD and be less than or equal to 1 number for 0 number in the continuous data of negative m position, RD be in the continuous data of positive m position 0 number more than or equal to 1 number.RD for just or for negative be only for the comparative result of 0 and 1 number is described in 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 the coding schedule commonly used such as 4B/5B, 8B/9B or 8B/10B.
Preferably, N is that 32, b is that 2, n is that 5, m is 6, namely the partial bit of the bit stream that enters encoder is carried out the mapping of 5B/6B coding and processes, and all the other bits are not done mapping and processed.
In addition, in order to guarantee coding efficiency, before coding, need that also all bit stream are carried out scrambling and process.Can avoid as long in the 64B/66B coding by 0, long 1 data initiation ISI(Inter Symbol Interference by this line coding, intersymbol interference) appearance of effect, guarantee the DC balance, the problem that also can avoid simultaneously the too high initiation of hopping edge probability of occurrence as rear in the 8B/10B coding to crosstalk, guarantee the physical electrical transmission performance of coding, and the low rate of the compatible CPRI of energy is used.
The embodiment of the present invention provides for above-mentioned this line coding mode carries out method and the device that the CPRI business sends, receives.
As shown in Figure 2, be a kind of flow chart of embodiment of the present invention common public radio interface service sending method, comprise the following steps:
Need to prove, in embodiments of the present invention, described Business Stream coding code block is 32B/34B coding code block, described check code code block is 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 36B/40B coding code block.
Described Business Stream coding code block can be 32B/34B coding code block, and the line coding method that namely proposes according to above-mentioned applicant is mapped as 32 bit codewords the coding code block of 34 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 processes;
(2) 5 bits carry out the 5B/6B coding before 16 bits, and rear 11 bits keep, and do not carry out any processing.
Certainly, the embodiment of the present invention does not limit the specific coding form of described Business Stream coding code block, such as being the coded format such as 36B/40B.
Each bit of 36B/40B coding represents 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 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 32B/35B coding code block.Certainly, can with being inserted into any position of Business Stream coding code block between each check digit, this embodiment of the present invention not done restriction yet.
Particularly, can generate in such a way check code code block and verification frame:
Will be for being inserted between each bit in the check digit of i-1 verification frame generation in Business Stream coding code block;
According to all the RD polarity of encoding code stream and the RD polarity of the part payload in 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 again forms the check code code block; Upgrade all RD polarity of encoding code stream;
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, described check digit can be FEC check digit or CRC check position or parity check bit.And the check digit of adding in current verification frame is the check digit of Business Stream coding code block in previous verification frame, that is to say, by the correctness of the previous verification frame of rear verification frame protection.
Step 202 forms 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; namely add the FEC check digit in Business Stream coding code block, 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 present invention; can satisfy the 10Gbps transmission demand of CPRI standard of future generation; such as; can take such framing mode: every 32 32B/35B coding code block forms a verification frame, realizes (1120,1088; 32) coding; namely utilize the overhead digit of 32 bits, the payload of protection 1088 bits, the length of whole verification frame is 1120 bits.Certainly, the embodiment of the present invention does not limit the concrete number of the check code code block that forms the verification frame.
The below increases by 1 bit check digit with the head of Business Stream coding code block, 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 coding code blocks of check bit sum of 32 bits, inserts 1 bit harbour of each 32B/35 coding code block that forms 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 the DC(Direct Current that the check digit of further avoiding 32 bits may cause, direct current) imbalance problem, in embodiments of the present invention, the overhead digit that distributes in the following ways fec frame is the check digit of 32 bits:
For the fec frame of the 1st transmission, fill full 0 in the check digit of its 32 bit;
Be integer greater than 1 for i(i) individual fec frame, need to fill the check digit of 32 bits that produced by i-1 fec frame in the check digit of its 32 bit, concrete filling mode is with reference to shown in Figure 3.
With reference to Fig. 4, the situation of the check digit of 32 bits that i-1 fec frame produced for the overhead digit filling needle of i fec frame describes.
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 processed and the RD polarity mark of another part code word, whether described RD polarity mark is to overturn according to described a part of code word to decide, if described a part of code word upset, the RD polarity mark of described another part code word is for 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, the RD polarity mark is for just, and keep 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 current 32B/34B code block to be encoded in encoding code stream and current 32B/34B code block to be encoded the RD polarity of position [10:0] and [26:16] this 22 bit identical, and in current [15:11] and [31:27] any one or two when having simultaneously the RD negative value, 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 simultaneously the RD-sign to any one or two in [15:11] and [31:27], generates the 1st the 32B/34B code block of encoding, otherwise, if all before current 32B/34B code block to be encoded in encoding code stream and 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 current 32B/34B code block to be encoded all in encoding code stream and 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 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 32B/34B code block to be encoded has the RD negative value, 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 current 32B/34B code block to be encoded in encoding code stream and 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 current 32B/34B code block to be encoded all in encoding code stream and 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 not overturning, corresponding [15:11] and [31:27] carried out the RD+ sign, 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.The rest may be inferred, until generate 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 for making receiving terminal, can with two 5B codes in current code block to be encoded, be respectively bit [15:11] and bit [31:27]) do the 5B/6B coding mapping of RD-, mapping table is shown in Table 1.If the some 5B codes in these two 5B codes do not have the mapping of RD-, carry out the mapping of RD+ for this 5B code.If two 5B codes all do not have the mapping of RD-, 22 bits in current code block to be encoded are not overturn, simultaneously two 5B codes all are mapped as the 5B/6B coding of RD+.
Table 1:
The 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 with the current 32B/34B code block that receives, if the RD code word that identifies is entirely for just, just not to 22 bit reversals in current code block.
In embodiments of the present invention, can utilize FEC generator polynomial g (x)=x for the check digit of 32 bits of each fec frame
32+ x
23+ x
21+ x
11+ 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 with reference to the explanation in the 802.3AP standard, be not described in detail at this.
Need to prove, the embodiment of the present invention does not limit the number of the 32B/35B coding code block that forms fec frame, such as forming a fec frame by 64 32B/35B coding code blocks yet.
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, namely in above-mentioned steps 202, the frame head to described superframe identifies.
In existing CPRI agreement, under various wire rates, the co-controlling word of superframe head is K28.5, fills the code word of different length after K28.5 according to the difference of CPRI wire rate.
Character testing mechanism for identical with existing CPRI agreement maintenance in embodiments of the present invention, can utilize control word K28.5 that the frame head of described superframe is identified, and 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 from 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 in all codings that transmitted, 1 number is more than or equal to 0 number (with it referred to as RD+), the code word of control word K28.5 is mapped as " 1100000101 ", namely select the RD-mapping value; When if in all codings that transmitted, 1 number is less than 0 number (with it referred to as RD-), the code word of control word K28.5 is mapped as " 0011111010 ", namely select the RD+ mapping value.
In embodiments of the present invention, [23:0] field of superframe head remains unchanged, and namely [23:0] all adopts fixing spcial character.
Embodiment of the present invention common public radio interface service sending method; demand for the evolution of CPRI high speed; efficient line coding mechanism is 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 current verification frame in next verification frame; guarantee the DC balance, thereby guaranteed the application demand of the CPRI next generation to transmission rate.
Correspondingly, for above-mentioned CPRI method for transmitting service, at receiving terminal, need to the business code flow that receive be carried out synchronously, process in order to business datum is carried out correct solution frame.Business code flow synchronously mainly comprised following several respects: the border of correctly identifying superframe boundaries and the second encoding block from the business code flow that receives.
For this reason, the embodiment of the present invention also provides a kind of common public radio interface service method of reseptance, as shown in Figure 7, is the flow chart of the method, comprises the following steps:
Step 701 is carried out code word to the business code flow that receives synchronous, to identify the check code code block.
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 a superframe.
After identifying superframe boundaries, according to the number of the verification frame that comprises in each superframe, can determine the border of each verification frame in 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 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, provide that correspondingly WORD ALIGNMENT(code word is synchronous) mechanism, determining the border of superframe head, the below's code block of encoding take the check code code block as 32B/35B describes as example.Main process is as follows:
Receiver is selected a bit from the business code flow that enters receiver, begin synchronously to detect from this bit.The synchronous mode that detects 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 namely 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, abandon current bit, with next bit as candidate's bit, step above repeating is until find a bit that meets those spcial characters.
In embodiments of the present invention, can realize by the mode of state machine WORD ALIGNMENT mechanism, the specific implementation process can have multiple, and the below illustrates respectively.
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, synchronous (Synchronized) state of code word, code word timing error (Synchronized error) state, mainly comprise following process:
Not under 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 codes and are described predetermined bit stream pattern, and its number reaches the first predetermined value, enters the code word synchronous regime; If the follow-up data of described bit stream pattern are improper codes, 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 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, if the follow-up data of receiving are legal codes, keep the code word synchronous regime; If the data of receiving are improper codes, enter code word timing error state;
At code word timing error state, if receive that the number of improper code reaches the second predetermined value, enter not synchronous regime of code word; If receive that the number of legal code reaches the 3rd predetermined value, will receive that 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 word boundary does not find;
If state machine is in code word synchronous regime or code word timing error state, determine that word boundary finds.
Wherein, described the 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; The 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 code.Described the first predetermined value, the second predetermined value and the 3rd predetermined value can be set according to the practical application needs by the user, such as can delay receivable according to business, resource and the requirement of synchronous regime stability is set.Such as, false synchronous for preventing, 16 or 64 significant characters need to be detected and just report synchronously, namely the first predetermined value can be set as 16 or 64; Equally, for preventing little disturbance, the code word synchronous regime is broken, could be reported asynchronous when the state that need to can't detect significant character reaches some.
Need to prove, the coded system of encoding due to 32B/35B coding and existing 8B/10B 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 the current detection data are not the superframe heads;
2. detect [16:11] position or [33:28] position of data, if do not meet the 5B/6B code table, determine that the current detection data are not the 5B/6B coding codewords.
The effective basis for estimation of current data to be tested is:
1. detect [33:24] position of data, if meet the k28.5 code word of superframe head regulation, determine that the superframe head is effective;
2. detect [16:11] position and [33:28] position of data, if meet the 5B/6B code table, determine that the current detection data are not the 5B/6B coding codewords.
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 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 code and for the number of described predetermined bit stream pattern reaches the 4th predetermined value such as 64, enter the code word synchronous regime; If the follow-up data of described bit stream pattern are improper codes, 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 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, guarantee that the codeword boundary of follow-up reception is all correct.If the follow-up data of receiving are legal codes, 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, 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 described superframe boundaries does not find;
If state machine is in code word synchronous regime or code word timing error state, determine that superframe boundaries finds.
Wherein, described the 4th predetermined value and the 5th predetermined value can be set according to using needs, such as can delay receivable according to business, resource, and the requirement of synchronous regime stability is 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 present invention, comprise the following steps:
Step 801 is reset, and namely 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 serial data position slip, and coincidence counter returns 0;
Step 803 is obtained character late;
Step 805 judges whether the character effective degree reaches 63 times; If so, execution in step 807; Otherwise, execution in step 806;
Step 809 is obtained character late;
Step 811 judges whether the effective number of times of character reaches 63 times; If so, 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 correct solution frame to be processed.
In embodiments of the present invention; protection mechanism based on the transmitting terminal employing; correspondingly; in above-mentioned steps 802; whether correctly can adopt equally serial data position sliding scale to detect to verification frame transmission; the correctness of current verification frame transmission need to just can carry out after receiving next verification frame.Particularly, after receiving current verification frame, obtain the payload in current verification frame, and generate the check digit of Business Stream coding code block in 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 in the current verification frame that generates, the check digit of Business Stream coding code block is identical with check digit in next verification frame, determine that current verification frame transmission is correct, otherwise determine the error of transmission of current verification frame, need to carry out error correction to it, the concrete mode of error correction can according to processing of the prior art, not repeat them here.
With reference to shown in Figure 9, it is verification frame error detection process schematic diagram in the embodiment of the present invention.
For the sake of clarity, in the present embodiment, comprise 32 check code code blocks take a verification frame and describe as example.Certainly, the embodiment of the present invention does not limit the concrete number of check code code block in the verification frame.
After receiving i-1 verification frame, according to the check digit of the generation of the payload in i-1 verification frame for 32 bits of i-1 verification frame, be assumed to A, keep this check digit A, after receiving i verification frame, obtain the check digit of 32 bits in i verification frame, be assumed to B.
The check digit of 32 bits that interleave in i verification frame by the description in the embodiment of the present invention common public radio interface service sending method of front as can be known, is the check digit for Business Stream coding code block in i-1 verification frame.Therefore, whether identical by twin check position A and check digit B, can determine whether i-1 verification frame transmits correctly.If check digit A is identical with check digit B, determine that 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 comprise two parts content:
If the 32B/35B coding code block that detects in described verification frame is in not synchronous regime verification frame, indicate los state in a superframe;
If the 32B/35B coding code block that detects in described verification frame is in synchronous regime, and does not have check digit not mate in this superframe, 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 namely 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, in the current verification frame that namely generates, the check digit of Business Stream coding code block is identical with check digit in next verification frame;
In addition, in the transmission of the light of CPRI is used, during lower than detection threshold, also cause los state when the luminous power that receives.
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 namely state machine is in synchronous regime, and there is no the unmatched state of FEC check digit in superframe.
Embodiment of the present invention common public radio interface service method of reseptance, to carry out code word synchronous to receiving business code flow, identifies the border of the second encoding block in superframe boundaries and verification frame; According to the check digit in each check code code block in the verification frame, the 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 the correctness of receive data.
One of ordinary skill in the art will appreciate that all or part of step that realizes in above-described embodiment method is to come the relevant hardware of instruction to complete by program, described program can be stored in a computer read/write memory medium, described storage medium, as: ROM/RAM, magnetic disc, CD etc.
Correspondingly, the embodiment of the present invention also provides a kind of common public radio interface service dispensing device, as shown in Figure 8, is a kind of structural representation of this device.
In this embodiment, described common public radio interface service dispensing device 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 Business Stream coding code block in current verification frame is the check digit of Business Stream coding code block in previous verification frame;
Superframe generation unit 1002 is used for a plurality of verification frames are formed a superframe, and identifies the frame head of described superframe;
Transmitting element 1003 is used for sending the superframe after identifying.
In embodiments of the present invention, described Business Stream coding code block is 32B/34B coding code block, and described check code code block is 32B/35B coding code block; Correspondingly, described device also further comprises:
Check digit generation unit 1004 is used for utilizing multinomial g (x)=x
32+ x
23+ x
21+ x
11+ x
2+ 1, the check digit of generation 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 a plurality of check code code blocks are formed a verification frame, concrete interleaving mode and implementation procedure can with reference to the description in the embodiment of the present invention common public radio interface service sending method of front, not repeat them here.
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 in all codings that transmitted, 1 number is more than or equal to 0 number, the code word of control word K28.5 is mapped as " 1100000101 ", when if in all codings that transmitted, 1 number is less than 0 number, 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 36B/40B coding code block.
Embodiment of the present invention common public radio interface service dispensing device; demand for the evolution of CPRI high speed; efficient line coding mechanism is 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 Business Stream coding code block in current verification frame is the check digit of Business Stream coding code block in previous verification frame; guarantee the DC balance, thereby guaranteed the application demand of the CPRI next generation to transmission rate.
Correspondingly, the embodiment of the present invention also provides a kind of common public radio interface service receiving system, 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 system 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 for utilizing superframe boundaries to delimit out the verification frame, comprises an integer verification frame in a 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 a 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 various ways to realize WORD ALIGNMENT mechanism, thereby determines the border of superframe head, and the specific implementation process can with reference to the description of front, not repeat them here.
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 previous verification frame according to described payload; The coupling subelement, for the check digit of the previous verification frame Business Stream coding code block that mates the generation of described check digit generation subelement and the check digit in current verification frame, and when matching result is identical, determine that the Business Stream coding code block transmission in previous verification frame is correct.
In addition, embodiment of the present invention common public radio interface service receiving system also provides LOS mechanism,, also can further comprise in described common public radio interface service receiving system for this reason:
When indicating member 1106, the check code code block that is used for detecting in a superframe at described code word recognition unit 1101 described verification frame are in not synchronous regime, the indication los state; And the check code code block in described code word recognition unit 1101 detects described verification frame in a superframe is in synchronous regime, and described verification frame detecting unit 1103 detects when not having check digit not mate in this superframe, and the indication los state stops.
Embodiment of the present invention common public radio interface service receiving system can realize the CPRI interface is adopted the correct identification of the business code flow of efficient line coding mechanism transmission, has guaranteed the correctness of receive data.
Above the embodiment of the present invention is described in detail, has used embodiment herein the present invention is set forth, the explanation of above embodiment just is used for helping to understand method and apparatus of the present invention; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will 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 service sending method, 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, the check digit of adding in Business Stream coding code block in current verification frame is the check digit of Business Stream coding code block in previous verification frame, by the correctness of the previous verification frame of current verification frame protection;
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 32B/34B coding code block, described check code code block is 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 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, the check digit of generation 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 add check digit in Business Stream coding code block, 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 for being inserted between each bit in the check digit of i-1 verification frame generation in Business Stream coding code block;
According to all the RD polarity of encoding code stream and the RD polarity of the part payload in 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 again forms the check code code block; Upgrade all RD polarity of encoding code stream;
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. the described method of according to claim 1 to 7 any one, 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 in all codings that transmitted, 1 number is more than or equal to 0 number, the code word of control word K28.5 is mapped as " 1100000101 ";
When if in all codings that transmitted, 1 number is less than 0 number, the code word of control word K28.5 is mapped as " 0011111010 ".
9. a common public radio interface service method of reseptance, is characterized in that, comprising:
The business code flow that receives is carried out code word synchronous, 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 a superframe, in a described integer verification frame, the check digit of adding in Business Stream coding code block in a rear verification frame is the check digit of Business Stream coding code block in previous verification frame, by the correctness of the previous verification frame of rear verification frame protection;
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 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 32B/35B coding code block, and described Business Stream coding code block is 32B/34B coding code block;
Describedly carry out code word and synchronously comprise 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 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 5B/6B coding mapping table;
At code word character detected state, continue the follow-up data of described bit stream pattern are detected, if the number that the follow-up data of described bit stream pattern are legal code and described legal code reaches the first predetermined value, enter the code word synchronous regime; If the follow-up data of described bit stream pattern are improper codes, 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 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, if the follow-up data of receiving are legal codes, keep the code word synchronous regime; If the follow-up data of receiving are improper codes, enter code word timing error state;
At code word timing error state, if receive that the number of improper code reaches the second predetermined value, enter not synchronous regime of code word; If receive that the number of legal code reaches the 3rd predetermined value, will receive that 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 described superframe boundaries does not find;
If state machine is in code word synchronous regime or code word timing error state, determine that described superframe boundaries finds.
14. method according to claim 9 is characterized in that, described check code code block is 32B/35B coding code block, and described Business Stream coding code block is 32B/34B coding code block;
Describedly carry out code word and synchronously comprise 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 synchronous regime, find a predetermined bit stream pattern by drawing window from the business code flow that receives, enter code word character detected state, described predetermined bit stream pattern comprises: the 6B significant character in superframe frame head bit stream or 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 code and for the number of described predetermined bit stream pattern reaches the 4th predetermined value, enter the code word synchronous regime; If the follow-up data of described bit stream pattern are improper codes, 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 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, if the follow-up data of receiving are legal codes, keep the code word synchronous regime; If the number that the follow-up data of receiving are improper codes reaches the 5th predetermined value, 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 described superframe boundaries does not find;
If state machine is in the code word synchronous regime, determine that 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 previous verification frame, and generate the check digit of Business Stream coding code block in previous verification frame according to described payload;
If the check digit of transmitting in the check digit that in previous verification frame, Business Stream coding code block generates and current verification frame is identical, determine in previous verification frame the transmission of Business Stream coding code block correctly.
17. according to claim 13 to the 16 described methods of any one, it is characterized in that, described method also comprises:
If the 32B/35B coding code block that detects in a superframe in described verification frame is in not synchronous regime, perhaps in a superframe, have at least the check digit of 16 check digit in verification frame Business Streams coding code block corresponding with it not mate, indicate los state;
If the 32B/35B coding code block that detects in described verification frame is in synchronous regime, and does not have check digit not mate in this superframe, indicate the LOS state of termination in a superframe.
18. a common public radio interface service dispensing device 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, the check digit of adding in Business Stream coding code block in current verification frame is the check digit of Business Stream coding code block in previous verification frame, by the correctness of the previous verification frame of current verification frame protection;
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 for sending the superframe after identifying.
19. device according to claim 18 is characterized in that, described Business Stream coding code block is 32B/34B coding code block, and described check code code block is 32B/35B coding code block; Described device also comprises:
The check digit generation unit is used for utilizing multinomial g (x)=x
32+ x
23+ x
21+ x
11+ x
2+ 1, the check digit of generation 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 36B/40B coding code block.
21. device according to claim 18 is characterized in that,
Described superframe generation unit, concrete being used for utilizes control word K28.5 that the frame head of described superframe is identified, when and if in described all codings that transmitted, 1 number is more than or equal to 0 number, the code word of control word K28.5 is mapped as " 1100000101 ", when if in described all codings that transmitted, 1 number is less than 0 number, the code word of control word K28.5 is mapped as " 0011111010 ".
22. a common public radio interface service receiving system is characterized in that, comprising:
The code word recognition unit is used for that the business code flow that receives is carried out code word synchronous, identifying the check code code block, and according to superframe head feature, identifies superframe boundaries;
Verification frame recognition unit, be used for utilizing superframe boundaries to delimit out the verification frame, comprise an integer verification frame in a superframe, in a described integer verification frame, the check digit of adding in Business Stream coding code block in a rear verification frame is the check digit of Business Stream coding code block in previous verification frame, by the correctness of the previous verification frame of rear verification frame protection;
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 previous verification frame according to described payload;
The coupling subelement, for the check digit of the previous verification frame Business Stream coding code block that mates the generation of described check digit generation subelement and the check digit in current verification frame, and when matching result is identical, determine that the Business Stream coding code block transmission in previous verification frame is correct.
24. according to claim 22 or 23 described devices is characterized in that, described device also comprises:
Indicating member, when the check code code block that is used for detecting in a superframe at described code word recognition unit described verification frame is in not synchronous regime, perhaps in a superframe, have at least the check digit of 16 check digit in verification frame Business Streams coding code block corresponding with it not mate, the indication los state; And the check code code block in described code word recognition unit detects described verification frame in a superframe is in synchronous regime, and described verification frame detecting unit detects when not having check digit not mate 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 CN102025448A (en) | 2011-04-20 |
CN102025448B true 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) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102025448B (en) * | 2010-11-18 | 2013-11-06 | 华为技术有限公司 | Common public radio interface service transmitting/receiving method and device |
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 |
EP3188400B1 (en) * | 2014-12-15 | 2020-06-17 | Mitsubishi Electric Corporation | Transmitting device, communication device and signal transmission system |
CN106712893B (en) * | 2015-07-23 | 2020-10-09 | 华为技术有限公司 | Method and device for data transmission |
CN107370674B (en) * | 2016-05-13 | 2020-12-01 | 华为技术有限公司 | Data transmission method, equipment and system |
CN109698732B (en) * | 2017-10-23 | 2021-07-09 | 华为技术有限公司 | Method and device for transmitting data |
CN116346278A (en) * | 2021-12-22 | 2023-06-27 | 华为技术有限公司 | Transmitting method, receiving method, device, system, equipment and storage medium |
CN114614949B (en) * | 2022-03-17 | 2023-12-19 | 苏州盛科通信股份有限公司 | State machine state indication function verification method and device and electronic equipment |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN102025448A (en) | 2011-04-20 |
WO2011137790A1 (en) | 2011-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102025448B (en) | Common public radio interface service transmitting/receiving method and device | |
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 | |
US8594125B1 (en) | Inverse multiplexing using transcoding and frame alignment markers | |
US10511406B1 (en) | Power saving in a twisted wire pair communication network | |
EP0595034A1 (en) | Differentially coded and guard pulse position modulation for communication networks | |
CN103201976A (en) | Packet-level erasure protection coding in aggregated packet transmissions | |
WO1996026582A1 (en) | Variable rate transmitting method, and transmitter and receiver using it | |
CN103582026B (en) | A kind of method and apparatus of CPRI adaptive configurations | |
CN101682481A (en) | Be used to indicate the method and apparatus of the Temporary Block Flow that ACK/NACK field incidentally is addressed to | |
CN101345745B (en) | Data framing method and equipment thereof | |
CN105281883A (en) | Multi-channel synchronization method, synchronization device and system | |
CN101488827B (en) | Method and apparatus for implementing data error reporting | |
US7333518B2 (en) | Transmission method and transmission system as well as communications device | |
CN103763070A (en) | Method and device for notifying reference signal configuration information | |
CN102299784A (en) | Data transmission method and equipment | |
EP0596736A1 (en) | Split channel data transmission | |
CN101174914A (en) | Code error correcting system and its transmission device, receiving device and code error correction method | |
JP3712593B2 (en) | Method and apparatus for enabling transmission of variable length coded data in a low S / N ratio environment | |
US9594719B2 (en) | Seamless addition of high bandwidth lanes | |
CN108650047B (en) | Serial data receiving real-time synchronous monitoring circuit and monitoring method | |
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 |
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 |