CN106412991B - A kind of data transmission method, sending device and reception device - Google Patents

A kind of data transmission method, sending device and reception device Download PDF

Info

Publication number
CN106412991B
CN106412991B CN201510459378.2A CN201510459378A CN106412991B CN 106412991 B CN106412991 B CN 106412991B CN 201510459378 A CN201510459378 A CN 201510459378A CN 106412991 B CN106412991 B CN 106412991B
Authority
CN
China
Prior art keywords
current slot
transmission data
parameter information
data
control word
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510459378.2A
Other languages
Chinese (zh)
Other versions
CN106412991A (en
Inventor
刘钱飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen ZTE Microelectronics Technology Co Ltd
Original Assignee
Shenzhen ZTE Microelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen ZTE Microelectronics Technology Co Ltd filed Critical Shenzhen ZTE Microelectronics Technology Co Ltd
Priority to CN201510459378.2A priority Critical patent/CN106412991B/en
Priority to PCT/CN2016/083912 priority patent/WO2017016304A1/en
Publication of CN106412991A publication Critical patent/CN106412991A/en
Application granted granted Critical
Publication of CN106412991B publication Critical patent/CN106412991B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information

Abstract

The embodiment of the invention discloses a kind of data transmission methods, the described method includes: the mapping ruler of parameter information and/or the transmission data of next period is encapsulated into the CPRI control word reserved field of current slot, in current slot, the transmission data of current slot are sent according to the mapping ruler of the transmission data of current slot, the transmission data of the current slot include the data in the non-CPRI control word of the data and current slot in the CPRI control word of current slot.The embodiment of the invention also discloses a kind of sending device and reception devices.

Description

A kind of data transmission method, sending device and reception device
Technical field
The present invention relates to the common public radio interface of wireless communication field (CPRI, Common Public Radio Interface) technology more particularly to a kind of data transmission method, sending device and reception device.
Background technique
CPRI be by a set of interface standard of the joint publication of more companies in the industry, define radio equipment controller (REC, Radio Equipment Controller) and wireless device (RE, Radio Equipment) between interface protocol.
When carrying out data transmission using CPRI, sending device can be according to fixed mapping ruler by the transmission of CPRI superframe Data are sent, and reception device can receive the transmission data of the CPRI superframe according to identical mapping ruler, described here Mapping ruler pass through upper-layer protocol mostly and arrange cured, sending device and reception device are all reflected according to identical fixation It penetrates rule and sends and receives transmission data.
Inventor has found to have the following problems in above-mentioned data transmission procedure: the control word reserved field in CPRI superframe does not have It is fully used, leads to the data for needing to transmit some redundancies in above-mentioned data transmission procedure, in addition cured mapping rule Dynamic change is not supported then, to affect the flexibility of CPRI data transmission.
Summary of the invention
It, can be in view of this, an embodiment of the present invention is intended to provide a kind of data transmission method, sending device and reception device Make full use of the control word reserved field in CPRI superframe.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
A kind of data transmission method, which comprises
The mapping ruler of parameter information and/or the transmission data of next period is encapsulated into the general of current slot In public radio interface CPRI control word reserved field;
In current slot, the transmission number of current slot is sent according to the mapping ruler of the transmission data of current slot According to the transmission data of the current slot include data and current slot in the CPRI control word of current slot Data in non-CPRI control word.
In above scheme, the parameter information include: the transmission data of current slot parameter information or it is next when Between section transmission data parameter information.
A kind of data transmission method, which comprises
In current slot, the biography for receiving current slot is extracted according to the mapping ruler of the transmission data of current slot Transmission of data;
According to the transmission data of the current slot, from the common public radio interface CPRI control of the current slot The mapping ruler of the information that gets parms in word reserved field processed and/or the transmission data of next period;
Wherein, the mapping ruler of the transmission data of the current slot was fixed mapping ruler or from the upper time The mapping ruler obtained in the CPRI control word reserved field of section.
In above scheme, the parameter information include: the transmission data of current slot parameter information or it is next when Between section transmission data parameter information.
In above scheme, obtained in the common public radio interface CPRI control word reserved field from the current slot After the mapping ruler for taking the transmission data of parameter information and/or next period, the method also includes:
The transmission data of current slot are handled according to the parameter information of the transmission data of current slot;
Wherein, the parameter information of the transmission data of the current slot is to retain from the CPRI control word of current slot The parameter information obtained in field or the parameter information obtained from the CPRI control word reserved field of a upper period.
A kind of sending device, the sending device include:
Encapsulation unit is worked as the mapping ruler of parameter information and/or the transmission data of next period to be encapsulated into In the common public radio interface CPRI control word reserved field of preceding period;
Transmission unit, after encapsulating the CPRI control word reserved field for completing current slot in the encapsulation unit, In current slot, the transmission data of current slot are sent according to the mapping ruler of the transmission data of current slot, it is described The transmission data of current slot include the non-CPRI of the data and current slot in the CPRI control word of current slot Data in control word.
In above scheme, the parameter information include: the transmission data of current slot parameter information or it is next when Between section transmission data parameter information.
A kind of reception device, the reception device include:
Receiving unit, for being received according to the mapping ruler of the transmission data of current slot current in current slot The transmission data of period;
Acquiring unit, the transmission data of the current slot for being received according to the receiving unit, from described It gets parms information and/or next period in the common public radio interface CPRI control word reserved field of current slot Transmission data mapping ruler;
Wherein, the mapping ruler of the transmission data of the current slot was fixed mapping ruler or from the upper time The mapping ruler obtained in the CPRI control word reserved field of section.
In above scheme, the parameter information include: the transmission data of current slot parameter information or it is next when Between section transmission data parameter information.
In above scheme, the reception device further includes processing unit, wherein
The processing unit, the parameter information processing receiving unit for the transmission data according to current slot connect The transmission data of the current slot received;
Wherein, the parameter information of the transmission data of the current slot is to retain from the CPRI control word of current slot The parameter information obtained in field or the parameter information obtained from the CPRI control word reserved field of a upper period.
The embodiment of the invention provides a kind of data transmission method, sending device and reception device, by parameter information and/or The mapping ruler of the transmission data of next period is encapsulated into the CPRI control word reserved field of current slot, sufficiently benefit With the control word reserved field in current slot, and parameter information and/or mapping ruler are encapsulated into control word reserved field In, compared with encapsulation in the prior art carries out transmission in data words, the present embodiment method can apply more data words To transmit more data, improve data transfer efficiency.In addition, the embodiment of the present invention can be by the transmission number of next period According to mapping ruler be encapsulated into the CPRI control word reserved field of current slot, the transmission data of period each in this way are reflected The flexibility of CPRI data transmission can be enhanced with dynamic change by penetrating rule.
Detailed description of the invention
Fig. 1 is that a kind of data transmission method process applied to sending device side that the embodiment of the present invention 1 provides is illustrated Figure;
Fig. 2 is the CPRI superframe structure schematic diagram that the embodiment of the present invention 1 provides;
Fig. 3 is that a kind of data transmission method process applied to reception device side that the embodiment of the present invention 1 provides is illustrated Figure;
Fig. 4 is a kind of data transmission method flow diagram that the embodiment of the present invention 2 provides;
Fig. 5 is the schematic diagram that the sending device that the embodiment of the present invention 2 provides encapsulates mapping ruler in superframes;
Fig. 6 is that the reception device that the embodiment of the present invention 2 provides extracts showing for transmission data according to mapping ruler from superframe It is intended to;
Fig. 7 is a kind of structural block diagram for sending device that the embodiment of the present invention 3 provides;
Fig. 8 is a kind of structural block diagram for reception device that the embodiment of the present invention 3 provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description.
Embodiment 1
The embodiment of the invention provides a kind of data transmission methods, are applied to sending device side, as shown in Figure 1, this reality Apply the process flow of a method the following steps are included:
The mapping ruler of parameter information and/or the transmission data of next period is encapsulated into current time by step 101 In the CPRI control word reserved field of section.
The link layer of CPRI defines a synchronous frame structure, and most important concept is superframe and basic in frame structure Frame, as shown in Fig. 2, the schematic diagram of the CPRI control word reserved field for CPRI superframe.
210 be the frame in a 10ms period.
220 be a CPRI superframe, and each 10ms frame includes 150 superframes: #0 ..., #Z ..., #149.
230 be the basic frame of CPRI, and each superframe includes 256 basic frames: #0 ..., #K ..., #255.
240 indicate the CPRI control word in each basic frame.
250 indicate that each field in the CPRI control word in each basic frame, field of withing a hook at the end in these fields also have Non-reserved field.
In the case where CPRI line rate is 1228.8Mbit/s, the number of transmission in the basic frame of CPRI (Basic Frame) It include a control word and 15 data words in, the control word bit wide transmitted in a basic frame of CPRI is 16bit, data Word is 15 16bit.It as can be seen from Figure 2 include 256 basic frames of CPRI, each basic frame of CPRI in a CPRI superframe There is a control word in the data of middle transmission, therefore there are 256 control words in the data transmitted in a CPRI superframe.One of them The reserved field for the control word transmitted in CPRI superframe is 36 16bit.During transmitting data, first of transmission has Effect data are exactly the data in control word.
Sending device is before sending transmission data in the present embodiment method, by parameter information and/or next period The mapping rulers of transmission data be encapsulated into the CPRI control word reserved field of current slot.The current slot can be 0.5 CPRI superframe can be 1 CPRI superframe, be also possible to multiple CPRI superframes, in the present embodiment and with no restriction.If Current slot is 1 CPRI superframe, then encapsulates parameter information and/or the mapping ruler of the transmission data of next period Into the CPRI control word reserved field of 1 CPRI superframe #Z shown in Fig. 2.
In this step, sending device by parameter information and/or the mapping ruler of the transmission data of next period according to In the reserved field of the secondary CPRI control word for being encapsulated into current slot.
Step 102, in current slot, send current slot according to the mapping ruler of the transmission data of current slot Transmission data.
Sending device can send the transmission data of current slot according to the mapping ruler of the transmission data of current slot, The transmission data of the current slot include the non-of data in the CPRI control word of current slot and current slot Data in CPRI control word.Data in the CPRI control word of current slot include that the CPRI control word of current slot is protected Data in section of writeeing down characters, that is, the parameter information being encapsulated into the CPRI control word reserved field of current slot and/or next The mapping ruler of the transmission data of period.Data in the non-CPRI control word of current slot include that sending device needs to send out The information data sent.
Sending device can send out the transmission data of current slot according to the mapping ruler of the transmission data of current slot It sees off.Mapping ruler described here is that is, be divided into n (n is more than or equal to 1) a sub- period, every height for current slot Period includes m (m is more than or equal to 1) a basic frame, and each system clock cycle is effective in the basic frames of mapping ruler regulation m Or it is invalid, data are sent in the effective system clock cycle, data is not sent in the null system clock cycle, is adopted between the sub- period With identical mapping ruler.
In the case where CPRI line rate is 1228.8Mbit/s, sending device sends the data of data sequential in accordance with basic (structure of basic frame is the 1 control word cell and remaining 15 data sheets positioned at basic frame head portion to the data structure of frame Member).By taking CPRI data transmission bit wide is 16bit in current system as an example, sending device is according to mapping ruler only in first son The effective system clock cycle of period sends transmission data, therefore sending device is in first effective system of first sub- period The transmission of system clock cycle is the data in first sub- period in the control word cell of first basic frame, first period of the day from 11 p.m. to 1 a.m Between section second to the 16th effective system clock cycle send be basic frame in first sub- period data sheet The data of member, sending in the 17th effective system clock cycle for first sub- period is the in first sub- period Data in the control word of two basic frames, like this sending device according to mapping ruler first sub- period effective system The system time cycle sends data, and the null system clock cycle within first sub- period does not send data, successively by first The transmission data of a sub- period are all sent.It include being encapsulated in first son in the transmission data of first sub- period The data of data and non-controlling character segment in the CPRI control word of period.If n is the integer greater than 1, current time The transmission data of other sub- periods in section are sent according to mapping ruler identical with first sub- period.
The packet being encapsulated in the CPRI control word reserved field of current slot in the present embodiment method contains following Three kinds of situations:
Parameter information is only encapsulated into the CPRI control word reserved field of current slot by the first situation, sending device In.
The mapping ruler of the transmission data of each period, which can be, in this case arrange admittedly by upper-layer protocol Change, i.e., the mapping ruler of the transmission data of each period is all fixed the same, at this point, sending device is to be sent current Do not need to encapsulate the mapping ruler of the transmission data of next period in the CPRI control word reserved field of period, but only Encapsulation parameter information.At this point, there is no mapping ruler in the transmission data that sending device is sent.In this way, reception device is according to current After the i.e. fixed mapping ruler of the mapping ruler of the transmission data of period receives the transmission data of current slot, work as from described The only parameter information obtained in the CPRI control word reserved field of preceding period.
The parameter information can be parameter information or the transmission of next period of the transmission data of current slot The parameter information of data.If the parameter information is the parameter information of the transmission data of current slot, reception device is in institute State according to the transmission data of current slot mapping ruler receive current slot transmission data after, can according to it is current when Between section transmission data parameter information processing current slot transmission data;If the parameter information is subsequent time period The parameter information of data is transmitted, then reception device understood basis from upper a period of time after receiving the transmission data of current slot Between section CPRI control word reserved field in obtain parameter information processing current slot transmission data, at this time first when Between the parameter information of transmission data of section can be to preset and stored, sending device and reception device be aware that understanding , reception device is after receiving the transmission data of first time period, the biography of meeting first period according to the pre-stored data The parameter information of transmission of data handles the transmission data of first period.
The mapping ruler of the transmission data of next period is only encapsulated into current time by second situation, sending device In the CPRI control word reserved field of section.
The mapping ruler of the transmission data of each period can be dynamic change in this case, at this point, sending dress Setting can be encapsulated into the mapping ruler of the transmission data of next period in the CPRI control word reserved field of current slot. In this way, reception device can receive currently according to the mapping ruler obtained from the CPRI control word reserved field of a upper period The transmission data of period, and the mapping of the transmission data from transmission data acquisition next period of current slot is advised Then.
In order to illustrate more clearly of such situation, it is assumed that current slot is CPRI superframe F1, and transmission data D1's reflects Penetrating rule is Y1;A upper period is CPRI superframe F0, and the mapping ruler of transmission data D0 is Y0;Next period is CPRI superframe F2, the mapping ruler that transmission data are D2 is Y2.
Y1 is encapsulated in the CPRI control word reserved field of F0 by sending device, and the Y2 CPRI control word for being encapsulated in F1 is protected In section of writeeing down characters;When reception device receives the D0 of F0, Y1 can be obtained from the CPRI control word reserved field of F0;Dress is received in this way The D1 that F1 will be received according to Y1 is set, the mapping ruler Y2 that can be obtained from the CPRI control word reserved field of F1.
In such cases, the mapping ruler of the transmission data of first period is the mapping rule of pre-set fixation Then, sending device and reception device are aware that the content for understanding the mapping ruler.Sending device can be according to setting in advance in this way The mapping ruler for the fixation set sends the transmission data of first period;Reception device is receiving first time When the transmission data of section, the transmission data of first period can be received according to the mapping ruler of pre-set fixation.
In this case, for parameter information, sending device parameter information can be encapsulated into the data word of CPRI into Row is sent.The parameter information can be the parameter information of the transmission data of current slot or the transmission number of next period According to parameter information.Concrete application is with reference to the description in the first situation.
The third situation, sending device all encapsulate the mapping ruler of parameter information and the transmission data of next period Into the CPRI control word reserved field of current slot.
In this case the mapping ruler of the transmission data of each period can be dynamic change, and the parameter information can Be current slot transmission data parameter information or the transmission data of next period parameter information.Concrete application It can be with reference to the description in the first situation and second situation.
The embodiment of the invention also provides a kind of data transmission methods, are applied to reception device side, as shown in figure 3, this The process flow of embodiment method the following steps are included:
Step 301, in current slot, extracted according to the mapping ruler of the transmission data of current slot when receiving current Between section transmission data.
Sending device sends the transmission data of current slot according to the mapping ruler of the transmission data of current slot, i.e., Only the effective system clock cycle in current slot sends transmission data;Specifically please refer to the description in step 102.This When, reception device just needs the mapping ruler of the transmission data according to current slot, is only effectively as defined in the mapping ruler The transmission data of current slot are received in the system clock cycle.
It include several CPRI superframes in current slot, specific structure can be with reference to shown in Fig. 2.One CPRI superframe In include 256 basic frames, include a control word in each basic frame of CPRI, therefore include 256 in CPRI superframe A control word.The reserved field of control word in one of CPRI superframe is 36 16bit.One basic frame of CPRI includes Data word is 15 16bit.
The structure of the transmission data of the current slot just as shown in Fig. 2, current slot includes several basic frames, As soon as having control word cell and 15 data cells in each basic frame, the data in these control word cells and data unit It is the transmission data of current slot.
In the case where CPRI line rate is 1228.8Mbit/s, reception device according to current slot transmission data Mapping ruler successively receives data within the effective system clock cycle of the n of current slot sub- periods, in current time Received in first effective system clock cycle of first sub- period of section is first base in first sub- period Data in the control word cell of this frame, received in second to the 16th effective system clock cycle is first period of the day from 11 p.m. to 1 a.m Between data in section in the data cell of first basic frame, first sub- period the 17th effective system clock week In phase it is received be second basic frame in first sub- period control word cell in data, like this successively will be current The transmission data receiver in first sub- period in period comes, and is assembled into basic frame one by one.If n is greater than 1 Integer, then the transmission data of the sub- period of other in current slot are advised according to mapping identical with first sub- period Then received.
Step 302, the transmission data according to the current slot, connect from the general public wireless of the current slot Get parms in mouthful CPRI control word reserved field information and/or next period transmission data mapping ruler.
CPRI control word in the transmission data of the current slot including current slot (has guarantor in CPRI control word Write down characters section) and the CPRI data word of current slot in data.The CPRI control word reserved field of the current slot In data include parameter information and/or next period transmission data mapping ruler, the CPRI number of current slot It include the information data of current slot transmission according to the data in word.Reception device is according to current slot in step 301 The mapping ruler for transmitting data, which extracts, to be received the transmission data in the basic frame in current slot, and reception device can be by it Reduction is assembled into basic frame structure one by one, from the CPRI control word reserved field in the basic frame in the current slot In get parms information and/or next period transmission data mapping ruler.It can certainly be from other control words The control information for obtaining sending device transmission obtains transmission from the CPRI data word in the basic frame in the current slot Information data.
When being only packaged with parameter information in the CPRI control word reserved field of the current slot, reception device application The mapping ruler of transmission data of each period be all arrange by upper-layer protocol cured, i.e., the transmission of each period The mapping ruler of data be all it is fixed the same, this fix mapping ruler be stored in advance in reception device, receive dress Set can directly according to the i.e. identical fixation of mapping ruler of the transmission data of current slot mapping ruler receive it is current when Between section transmission data.
When the transmission data for being packaged with next period in the CPRI control word reserved field of the current slot When mapping ruler, the mapping ruler of the transmission data of each period of reception device application is dynamic change, and reception device can According to the transmission number of the i.e. current slot of mapping ruler obtained from the CPRI control word reserved field of a upper period According to mapping ruler, receive the transmission data of current slot.In such cases, the mapping of the transmission data of first period Rule is the mapping ruler of pre-set fixation, and sending device and reception device, which are aware that, understands the interior of the mapping ruler Hold.Reception device in this way can receive according to the mapping ruler of pre-set fixation and work as when receiving first period The transmission data of preceding period.
Parameter information described in the present embodiment method includes: the parameter information or next of the transmission data of current slot The parameter information of the transmission data of period.
In the transmission data according to the current slot, from the common public radio interface CPRI of the current slot After the mapping ruler of the information that gets parms in control word reserved field and/or the transmission data of next period, the side Method further include:
The transmission data of current slot are handled according to the parameter information of the transmission data of current slot;
Wherein, the parameter information of the transmission data of the current slot is to retain from the CPRI control word of current slot The parameter information obtained in field or the parameter information obtained from the CPRI control word reserved field of a upper period.
The parameter informations of the transmission data of first period can be to preset and store, sending device and reception Device is aware that understanding, and reception device, can according to the pre-stored data the after extracting the transmission data of current slot The parameter information of the transmission data of one period handles the transmission data of first period.
The present embodiment method is by the way that the mapping ruler of parameter information and/or the transmission data of next period to be encapsulated into In the CPRI control word reserved field of current slot, the control word reserved field in current slot is made full use of, and will ginseng Number information and/or mapping ruler are encapsulated into control word reserved field, are passed in data words with encapsulation in the prior art Defeated to compare, the present embodiment method can transmit more data, improve data transfer efficiency using more data words.Separately Outside, the mapping ruler of the transmission data of next period can be encapsulated into the CPRI control of current slot by the present embodiment method In word reserved field processed, the mapping ruler of the transmission data of period each in this way can enhance CPRI data biography with dynamic change Defeated flexibility.
Embodiment 2
The embodiment of the invention provides a kind of data transmission methods, as shown in figure 4, the process flow packet of the present embodiment method Include following steps:
The mapping ruler of parameter information and the transmission data of next period is encapsulated by step 401, sending device works as In the CPRI control word reserved field of preceding period.
The current slot can be 0.5 CPRI superframe, can be 1 CPRI superframe, and it is super to be also possible to multiple CPRI Frame, in the present embodiment and with no restriction.The specific structure of CPRI superframe can be with reference to shown in Fig. 2.
In the present embodiment method, for sending device when carrying out data transmission using CPRI, sending device can be by parameter information It is encapsulated into the CPRI control word reserved field of current slot with the mapping ruler of the transmission data of next period.
The parameter information can be parameter information or the transmission of next period of the transmission data of current slot The parameter information of data.
Step 402, sending device are worked as in current slot according to the mapping ruler transmission of the transmission data of current slot The transmission data of preceding period.
Sending device can send the transmission data of current slot according to the mapping ruler of the transmission data of current slot, The transmission data of the current slot include the non-of data in the CPRI control word of current slot and current slot Data in CPRI control word.Data in the CPRI control word of current slot include that the CPRI control word of current slot is protected Data in section of writeeing down characters, that is, the parameter information being encapsulated into the CPRI control word reserved field of current slot and/or next The mapping ruler of the transmission data of period.Data in the non-CPRI control word of current slot include that sending device needs to send out The information data sent.
Sending device sends the process of transmission data as shown in Fig. 2, basic frame is an entirety, and sending device can be by The transmission data of current slot are sent according to the mapping ruler of the transmission data of current slot.Mapping described here For rule that is, current slot is divided into n (n is more than or equal to 1) a sub- period, each sub- period includes that (m is more than or equal to m 1) a basic frame, mapping ruler provides the effective or invalid of each system clock cycle in the basic frames of m, in effective system clock Period sends data, does not send data in the null system clock cycle, and identical mapping ruler is used between the sub- period.
In the case where CPRI line rate is 1228.8Mbit/s, sending device sends the data of data sequential in accordance with basic (structure of basic frame is the 1 control word cell and remaining 15 data sheets positioned at basic frame head portion to the data structure of frame Member).By taking CPRI data transmission bit wide is 16bit in current system as an example, sending device is according to mapping ruler only in first son The effective system clock cycle of period sends transmission data, therefore sending device is in first effective system of first sub- period The transmission of system clock cycle is the data in first sub- period in the control word cell of first basic frame, first period of the day from 11 p.m. to 1 a.m Between section second to the 16th effective system clock cycle send be basic frame in first sub- period data sheet The data of member, sending in the 17th effective system clock cycle for first sub- period is the in first sub- period Data in the control word of two basic frames, like this sending device according to mapping ruler first sub- period effective system The system time cycle sends data, and the null system clock cycle within first sub- period does not send data, successively by first The transmission data of a sub- period are all sent.It include being encapsulated in the current period of the day from 11 p.m. to 1 a.m in the transmission data of first sub- period Between section CPRI control word reserved field in data and non-controlling character segment data.If n is the integer greater than 1, when The transmission data of other sub- periods in the preceding period are sent according to mapping ruler identical with first sub- period.
Sending device sends data within the effective system clock cycle of current slot according to mapping ruler, when current Between do not send data in invalid effective system clock cycle in section, the transmission data of current slot are all sent like this It goes out.It include the parameter letter being encapsulated in the CPRI control word reserved field of current slot in the transmission data of current slot The mapping ruler of the transmission data of breath and/or next period.
Step 403, reception device connect in current slot according to the mapping ruler extraction of the transmission data of current slot Receive the transmission data of current slot.
In step 402, sending device sends current slot according to the mapping ruler of the transmission data of current slot Transmission data, i.e., only effective effective system clock cycle in current slot sends transmission data;At this point, reception device With regard to needing the mapping ruler of the transmission data according to current slot, only in the effective system clock cycle as defined in mapping ruler Receive the transmission data of current slot.
In the case where CPRI line rate is 1228.8Mbit/s, reception device according to current slot transmission data Mapping ruler successively receives data within the effective system clock cycle of the n of current slot sub- periods, when current Between section first sub- period first effective system clock cycle in it is received be first in first sub- period Data in the control word cell of basic frame, received in second to the 16th effective system clock cycle is first son Data in period in the data cell of first basic frame, first sub- period in the 17th effective system clock In period it is received be second basic frame in first sub- period control word cell in data, will successively work as like this The transmission data receiver in first sub- period in the preceding period comes, and is assembled into basic frame one by one.If n be greater than 1 integer, then the transmission data of the sub- period of other in current slot are according to mapping identical with first sub- period Rule is received.
Step 404, the transmission data according to the current slot, connect from the general public wireless of the current slot Get parms in mouthful CPRI control word reserved field information and next period transmission data mapping ruler.
When reception device will be current according to the mapping ruler extraction reception of the transmission data of current slot in step 403 Between transmission data in basic frame in section, reception device can be restored the basic frame structure being assembled into one by one, from institute State the biography of get parms in the CPRI control word reserved field in the basic frame in current slot information and next period The mapping ruler of transmission of data.The control information that sending device transmission can certainly be obtained from other control words, works as from described The information data of transmission is obtained in the CPRI data word in basic frame in the preceding period.
When current slot is first period, the mapping ruler of the transmission data of first period is to preset The mapping ruler of good fixation, sending device and reception device are aware that the content for understanding the mapping ruler of the fixation.It walks in this way Sending device can send out the transmission data of first period according to the mapping ruler of pre-set fixation in rapid 402 It sees off;Reception device, can be according to the mapping ruler of pre-set fixation when receiving the data of first period Receive the transmission data of first period.At this point, the mapping ruler of the transmission data of current slot is fixed mapping rule Then.
When current slot is not first period, the mapping ruler of the transmission data of current slot can be from upper one It is obtained in the CPRI control word reserved field of a period.
Step 405, reception device handle the biography of current slot according to the parameter information of the transmission data of current slot Transmission of data.
In step 401, the parameter information that sending device is encapsulated into the CPRI control word reserved field of current slot can Be current slot transmission data parameter information or the transmission data of next period parameter information.
If sending device is that the parameter information of the transmission data of current slot is encapsulated into current slot in step 401 CPRI control word reserved field in, therefore reception device in step 404 from the CPRI control word of the current slot retain The parameter information obtained in field is the parameter information of the transmission data of current slot, and reception device can be according to current time The transmission data of the parameter information processing current slot of the transmission data of section.
If sending device is that the parameter information of the transmission data of subsequent time period is encapsulated into current slot in step 401 CPRI control word reserved field in, then reception device was obtained from the CPRI control word reserved field of a upper period parameter Information is the parameter information of the transmission data of current slot, and reception device can be protected according to the CPRI control word of a upper period The transmission number of the parameter information processing current slot of the transmission data of the i.e. current slot of the parameter information obtained in section of writeeing down characters According to.It has been stored at this point, the parameter informations of the transmission data of first period can be to preset, sending device and reception Device is aware that understanding, and reception device, can according to the pre-stored data the after extracting the transmission data of current slot The parameter information of the transmission data of one period handles the transmission data of first period.
Come so that the parameter information is the parameter information of the transmission data of current slot as an example in the present embodiment method It is described.The parameter information is believed including but not limited to data packet locations instruction information, packet address information, data packet length Breath, package number information and data packet check information (even-odd check or Cyclical Redundancy Check (CRC, Cyclic Redundancy Check) verification etc.) etc..
It is exemplary, it is assumed that a period in the present embodiment method is the period of a superframe.
As shown in Figure 5 and Figure 6,210 be the frame in a 10ms period.220 be a CPRI superframe, each 10ms frame Comprising 150 superframes, it is denoted as #0 ..., #Z ..., #149.230 be the basic frame of CPRI, and each superframe includes 256 basic Frame is denoted as #0 ..., #K ..., #255.
As shown in figure 5, the mapping ruler of parameter information and the transmission data of next period is encapsulated by sending device In current slot, that is, CPRI superframe #Z CPRI control word reserved field 260.Sending device according to CPRI superframe #Z transmission The mapping rulers of data sends the transmission data of CPRI superframe #Z, reception device according to the transmission data of CPRI superframe #Z mapping The transmission data of Rule Extraction reception CPRI superframe #Z.
It, can be according to from a upper period, that is, CPRI superframe # as shown in fig. 6, reception device is when receiving CPRI superframe #Z The mapping ruler 270 (mapping rulers of the transmission data of current slot) obtained in the CPRI control word reserved field of Z-1, mentions Take the transmission data for receiving CPRI superframe #Z.
As shown in fig. 6,270 indicate that the mapping ruler obtained from CPRI superframe #Z-1, the mapping ruler are CPRI superframe # The mapping ruler of transmission data in Z divides CPRI superframe #Z for n=256 sub- periods, often in the present embodiment method A sub- time includes m-1 basic frames, the mapping ruler provide the effective of each system clock cycle in m=1 basic frames or In vain, at this point, mapping ruler has bit k system clock cycles for including with a basic frame of k to correspond, mapping ruler Bit indicate that corresponding system clock cycle is the effective system clock cycle for 1 in field, and bit are 0 in mapping ruler field The expression correspondence system clock cycle is the null system clock cycle.Reception device can be according to this when receiving CPRI superframe #Z Mapping ruler receives the transmission data in CPRI superframe #Z in each basic frame effective system clock cycle.As shown in fig. 6,280 Indicate k system clock cycle in a basic frame, 270 indicate the mapping ruler obtained from CPRI superframe #Z-1, mapping Rule has k bit to correspond with k system clock cycle in each basic frame, and reception device only extracts reception mapping rule Then field is the transmission data in 1 corresponding effective system clock cycle.
Reception device can mention after receiving CPRI superframe #Z in the CPRI control word reserved field of CPRI superframe #Z The mapping ruler that data are transmitted in CPRI superframe #Z+1 is taken and combines, to be reflected after receiving CPRI superframe #Z+1 using this It penetrates in Rule Extraction reception CPRI superframe #Z+1 and transmits data.
Embodiment 3,
The embodiment of the invention provides a kind of sending devices, as shown in fig. 7, the sending device includes: encapsulation unit 701, transmission unit 702, wherein
Encapsulation unit 701, for the mapping ruler of parameter information and/or the transmission data of next period to be encapsulated into In the CPRI control word reserved field of current slot;
Transmission unit 702, for encapsulating the CPRI control for completing current slot CPRI superframe in the encapsulation unit 701 After word reserved field, in current slot, current slot is sent according to the mapping ruler of the transmission data of current slot Data are transmitted, when the transmission data of the current slot include data in the CPRI control word of current slot and is current Between section non-CPRI control word in data.
The parameter information includes: the parameter information of the transmission data of current slot or the transmission number of next period According to parameter information.
The embodiment of the invention provides a kind of reception devices, as shown in figure 8, the reception device includes: receiving unit 801, acquiring unit 802, wherein
Receiving unit 801, for working as according to the mapping ruler reception of the transmission data of current slot in current slot The transmission data of preceding period;
Acquiring unit 802, the transmission data of the current slot for being received according to the receiving unit 801, The information that gets parms from the common public radio interface CPRI control word reserved field of the current slot and/or next The mapping ruler of the transmission data of period;Wherein, the mapping ruler of the transmission data of the current slot is fixed reflects The mapping ruler penetrating rule or being obtained from the CPRI control word reserved field of a upper period.
The parameter information includes: the parameter information of the transmission data of current slot or the transmission number of next period According to parameter information.
As shown in figure 8, the reception device further includes processing unit 803, wherein
The processing unit 803, the parameter information for the transmission data according to current slot handle the reception list The transmission data for the current slot that member 801 receives;
Wherein, the parameter information of the transmission data of the current slot is to retain from the CPRI control word of current slot The parameter information obtained in field or the parameter information obtained from the CPRI control word reserved field of a upper period.
In practical applications, the encapsulation unit 701, transmission unit 702 can be by the centres on sending device The devices such as reason device (CPU), microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA) are real It is existing.Receiving unit 801, acquiring unit 802, processing unit 803 can by be located at reception device on central processing unit (CPU), The devices such as microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA) are realized.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention Formula.Moreover, the present invention, which can be used, can use storage in the computer that one or more wherein includes computer usable program code The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.

Claims (16)

1. a kind of data transmission method, which is characterized in that the described method includes:
By reflecting for the transmission data of the mapping ruler or next period of parameter information and the transmission data of next period Rule is penetrated to be encapsulated into the common public radio interface CPRI control word reserved field of current slot;
In current slot, the transmission data of current slot are sent according to the mapping ruler of the transmission data of current slot, The transmission data of the current slot include the non-of data in the CPRI control word of current slot and current slot Data in CPRI control word.
2. the method according to claim 1, wherein the parameter information includes: the transmission number of current slot According to parameter information or the transmission data of next period parameter information.
3. a kind of data transmission method, which is characterized in that the described method includes:
Parameter information is encapsulated into the common public radio interface CPRI control word reserved field of current slot;
In current slot, the transmission data of current slot are sent according to the mapping ruler of the transmission data of current slot, The transmission data of the current slot include the non-of data in the CPRI control word of current slot and current slot Data in CPRI control word;
Wherein, the parameter information includes: parameter information or the transmission of next period of the transmission data of current slot The parameter information of data.
4. a kind of data transmission method, which is characterized in that the described method includes:
In current slot, the transmission number for receiving current slot is extracted according to the mapping ruler of the transmission data of current slot According to;
According to the transmission data of the current slot, from the common public radio interface CPRI control word of the current slot The mapping ruler or the transmission of next period of the information that gets parms in reserved field and the transmission data of next period The mapping ruler of data;
Wherein, the mapping ruler of the transmission data of the current slot was fixed mapping ruler or from a upper period The mapping ruler obtained in CPRI control word reserved field.
5. according to the method described in claim 4, it is characterized in that, the parameter information includes: the transmission number of current slot According to parameter information or the transmission data of next period parameter information.
6. according to the method described in claim 5, it is characterized in that, in the common public radio interface from the current slot The mapping ruler of the information that gets parms in CPRI control word reserved field and the transmission data of next period or it is next when Between section transmission data mapping ruler after, the method also includes:
The transmission data of current slot are handled according to the parameter information of the transmission data of current slot;
Wherein, the parameter information of the transmission data of the current slot is the CPRI control word reserved field from current slot The parameter information of middle acquisition or the parameter information obtained from the CPRI control word reserved field of a upper period.
7. a kind of data transmission method, which is characterized in that the described method includes:
In current slot, the transmission number for receiving current slot is extracted according to the mapping ruler of the transmission data of current slot According to;
According to the transmission data of the current slot, from the common public radio interface CPRI control word of the current slot Get parms information in reserved field;
Wherein, the mapping ruler of the transmission data of the current slot was fixed mapping ruler or from a upper period The mapping ruler obtained in CPRI control word reserved field;
The parameter information includes: the parameter information of the transmission data of current slot or the transmission data of next period Parameter information.
8. the method according to the description of claim 7 is characterized in that in the common public radio interface from the current slot After the information that gets parms in CPRI control word reserved field, the method also includes:
The transmission data of current slot are handled according to the parameter information of the transmission data of current slot;
Wherein, the parameter information of the transmission data of the current slot is the CPRI control word reserved field from current slot The parameter information of middle acquisition or the parameter information obtained from the CPRI control word reserved field of a upper period.
9. a kind of sending device, which is characterized in that the sending device includes:
Encapsulation unit, for by the mapping ruler or next period of parameter information and the transmission data of next period The mapping rulers of transmission data be encapsulated into the common public radio interface CPRI control word reserved field of current slot;
Transmission unit is being worked as after encapsulating the CPRI control word reserved field for completing current slot in the encapsulation unit The preceding period sends the transmission data of current slot according to the mapping ruler of the transmission data of current slot, described current The transmission data of period include the non-CPRI control of the data and current slot in the CPRI control word of current slot Data in word.
10. sending device according to claim 9, which is characterized in that the parameter information includes: the biography of current slot The parameter information of the transmission data of the parameter information of transmission of data or next period.
11. a kind of sending device, which is characterized in that the sending device includes:
Encapsulation unit, for parameter information to be encapsulated into the common public radio interface CPRI control word reserved word of current slot Duan Zhong;
Transmission unit is being worked as after encapsulating the CPRI control word reserved field for completing current slot in the encapsulation unit The preceding period sends the transmission data of current slot according to the mapping ruler of the transmission data of current slot, described current The transmission data of period include the non-CPRI control of the data and current slot in the CPRI control word of current slot Data in word;
Wherein, the parameter information includes: parameter information or the transmission of next period of the transmission data of current slot The parameter information of data.
12. a kind of reception device, which is characterized in that the reception device includes:
Receiving unit, for receiving current time according to the mapping ruler of the transmission data of current slot in current slot The transmission data of section;
Acquiring unit, the transmission data of the current slot for being received according to the receiving unit, from described current The transmission for the information and next period of getting parms in the common public radio interface CPRI control word reserved field of period The mapping ruler of the transmission data of the mapping ruler of data or next period;
Wherein, the mapping ruler of the transmission data of the current slot was fixed mapping ruler or from a upper period The mapping ruler obtained in CPRI control word reserved field.
13. reception device according to claim 12, which is characterized in that the parameter information includes: current slot Transmit the parameter information of data or the parameter information of the transmission data of next period.
14. reception device according to claim 13, which is characterized in that the reception device further includes processing unit, In,
The processing unit, the parameter information processing receiving unit for the transmission data according to current slot receive Current slot transmission data;
Wherein, the parameter information of the transmission data of the current slot is the CPRI control word reserved field from current slot The parameter information of middle acquisition or the parameter information obtained from the CPRI control word reserved field of a upper period.
15. a kind of reception device, which is characterized in that the reception device includes:
Receiving unit, for receiving current time according to the mapping ruler of the transmission data of current slot in current slot The transmission data of section;
Acquiring unit, the transmission data of the current slot for being received according to the receiving unit, from described current Get parms information in the common public radio interface CPRI control word reserved field of period;
Wherein, the mapping ruler of the transmission data of the current slot was fixed mapping ruler or from a upper period The mapping ruler obtained in CPRI control word reserved field;
The parameter information includes: the parameter information of the transmission data of current slot or the transmission data of next period Parameter information.
16. reception device according to claim 15, which is characterized in that the reception device further includes processing unit, In,
The processing unit, the parameter information processing receiving unit for the transmission data according to current slot receive Current slot transmission data;
Wherein, the parameter information of the transmission data of the current slot is the CPRI control word reserved field from current slot The parameter information of middle acquisition or the parameter information obtained from the CPRI control word reserved field of a upper period.
CN201510459378.2A 2015-07-30 2015-07-30 A kind of data transmission method, sending device and reception device Active CN106412991B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510459378.2A CN106412991B (en) 2015-07-30 2015-07-30 A kind of data transmission method, sending device and reception device
PCT/CN2016/083912 WO2017016304A1 (en) 2015-07-30 2016-05-30 Data transmission method and apparatus, and computer-readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510459378.2A CN106412991B (en) 2015-07-30 2015-07-30 A kind of data transmission method, sending device and reception device

Publications (2)

Publication Number Publication Date
CN106412991A CN106412991A (en) 2017-02-15
CN106412991B true CN106412991B (en) 2019-07-19

Family

ID=57885576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510459378.2A Active CN106412991B (en) 2015-07-30 2015-07-30 A kind of data transmission method, sending device and reception device

Country Status (2)

Country Link
CN (1) CN106412991B (en)
WO (1) WO2017016304A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087290B (en) * 2019-06-12 2023-05-02 深圳市中兴微电子技术有限公司 Control word transmission method and device and computer readable storage medium
CN114095172A (en) * 2020-07-02 2022-02-25 中国移动通信集团设计院有限公司 Wireless interface forward data verification method and device
CN115769558A (en) * 2021-05-10 2023-03-07 北京小米移动软件有限公司 Data packet sending method, device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282349A (en) * 2007-04-02 2008-10-08 华为技术有限公司 Method and system for promoting application of CPRI interface, processing module for CPRI interface
CN101998675A (en) * 2009-08-14 2011-03-30 华为技术有限公司 Radio equipment access method and device and communication system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100508663C (en) * 2007-01-11 2009-07-01 华为技术有限公司 Method and device for realizing the preferential access to REC at the RE beginning end
CN101729423B (en) * 2009-12-21 2011-11-09 华为技术有限公司 Method and device for transmitting data between common public radio interface CPRI ports
JP6060538B2 (en) * 2012-06-28 2017-01-18 富士通株式会社 Radio apparatus and signal processing method
WO2014110791A1 (en) * 2013-01-18 2014-07-24 华为技术有限公司 Data transmission method, device, and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282349A (en) * 2007-04-02 2008-10-08 华为技术有限公司 Method and system for promoting application of CPRI interface, processing module for CPRI interface
CN101998675A (en) * 2009-08-14 2011-03-30 华为技术有限公司 Radio equipment access method and device and communication system

Also Published As

Publication number Publication date
CN106412991A (en) 2017-02-15
WO2017016304A1 (en) 2017-02-02

Similar Documents

Publication Publication Date Title
CN103414547B (en) A kind of main website controls method, main website and the system of many slave stations
CN106412991B (en) A kind of data transmission method, sending device and reception device
CN110495114A (en) Method and apparatus for code block grouping
CN101188477B (en) A data packet sequence receiving method and device
US20210160353A1 (en) Data sending method and device, data receiving method and device, and system
CN106162528B (en) LoRa signal and Bluetooth signal conversion module, conversion method and sender unit
EP3553977A1 (en) Method and apparatus for sending and receiving multiframe, device, system, and storage medium
CN106612245A (en) Message transmission method and system based on GTPU (GPRS Tunneling Protocol for the user plane) tunnel protocol
EP2421187A3 (en) Method for transmitting control information in a wireless communication system and apparatus therefor
KR102450095B1 (en) Data transmission method, transmission device, and reception device
CN104168582A (en) Micro cell base station system, related equipment and data processing method
CN106230541B (en) A kind of Site synch system and method for Industrial Ethernet
CN104662989B (en) The system and method that user carries out message transmission via control plane
US20180146077A1 (en) Method and apparatus for determining processing mode for data packet
CN113438633B (en) Communication data processing method, terminal and computer readable storage medium
CN103297311A (en) Method and device for achieving control and provision for wireless access point protocol (CAPWAP) data tunnels
CN110166485A (en) A kind of the scheduling application method and device of agreement
CN103746984A (en) Method for realizing transparent transmission between WIA-PA (wireless network for industrial automation - process automation) industrial wireless protocol and Modbus protocol
CN103634229B (en) A kind of Inter-chip communication method and control device
CN107342920B (en) Internet of things gateway access equipment and data interaction method thereof
CN202817898U (en) Power distribution terminal based on EtherCAT industrial Ethernet
CN206370845U (en) A kind of communicator based on Ethernet virtual serial port technology and LTE wireless networks
CN106685927A (en) Data subframe structure compilation method and relevant device
EP3046333B1 (en) Service sending, receiving methods and apparatuses
CN111327575B (en) Communication method and device based on Ethernet in train

Legal Events

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