CN106412991A - Data transmission method, sending device, and receiving device - Google Patents

Data transmission method, sending device, and receiving device Download PDF

Info

Publication number
CN106412991A
CN106412991A CN201510459378.2A CN201510459378A CN106412991A CN 106412991 A CN106412991 A CN 106412991A CN 201510459378 A CN201510459378 A CN 201510459378A CN 106412991 A CN106412991 A CN 106412991A
Authority
CN
China
Prior art keywords
transmission data
current slot
time period
parameter information
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510459378.2A
Other languages
Chinese (zh)
Other versions
CN106412991B (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 data transmission method. The method includes: packaging parameter information and/or a mapping rule of transmission data of the next period in CPRI control word reserved fields of the current period, and sending transmission data of the current period according to a mapping rule of the transmission data of the current period in the current period, wherein the transmission data of the current period comprises data in CPRI control words of the current period and data in non-CPRI control words of the current period. The embodiments of the invention also disclose a sending device and a receiving device.

Description

A kind of data transmission method, dispensing device and reception device
Technical field
The present invention relates to common public radio interface (CPRI, the Common Public of wireless communication field Radio Interface) technology, more particularly, to a kind of data transmission method, dispensing device and reception device.
Background technology
CPRI is a set of interface standard being combined issue by many companies in the industry, defines radio equipment controller (REC, Radio Equipment Controller) and wireless device (RE, Radio Equipment) it Between interface protocol.
When applying CPRI to carry out data transmission, dispensing device can be according to fixing mapping ruler by CPRI The transmission data of superframe sends, and reception device can receive this CPRI according to identical mapping ruler and surpass The transmission data of frame, mapping ruler described here carries out arranging solidification by upper-layer protocol mostly, sends Device and reception device all send and receive transmission data according to the fixing mapping ruler of identical.
Inventor finds there is problems with above-mentioned data transmission procedure:Control word in CPRI superframe retains Field is not fully used, and leads to need to transmit the data of some redundancies in above-mentioned data transmission procedure, In addition the mapping ruler of solidification does not support dynamic change, thus have impact on the flexibility of CPRI data transfer.
Content of the invention
In view of this, embodiment of the present invention expectation provides a kind of data transmission method, dispensing device and receives dress Put, the control word reserved field in CPRI superframe can be made full use of.
For reaching above-mentioned purpose, the technical scheme is that and be achieved in that:
A kind of data transmission method, methods described includes:
The mapping ruler of parameter information and/or the transmission data of next time period is encapsulated into current slot Common public radio interface CPRI control word reserved field in;
In current slot, the mapping ruler according to the transmission data of current slot sends current slot Transmission data, the transmission data of described current slot includes the number in the CPRI control word of current slot Data according to this and in the non-CPRI control word of current slot.
In such scheme, described parameter information includes:The parameter information of the transmission data of current slot or under The parameter information of the transmission data of one time period.
A kind of data transmission method, methods described includes:
In current slot, the mapping ruler according to the transmission data of current slot extracts and receives current time The transmission data of section;
According to the transmission data of described current slot, from the common public radio interface of described current slot The mapping rule of the transmission data of the information that gets parms in CPRI control word reserved field and/or next time period Then;
Wherein, the mapping ruler of the transmission data of described current slot is fixing mapping ruler or from upper The mapping ruler obtaining in the CPRI control word reserved field of individual time period.
In such scheme, described parameter information includes:The parameter information of the transmission data of current slot or under The parameter information of the transmission data of one time period.
In such scheme, retaining from the common public radio interface CPRI control word of described current slot After the mapping ruler of transmission data of the information that gets parms in field and/or next time period, methods described Also include:
The parameter information of the transmission data according to current slot processes the transmission data of current slot;
Wherein, the parameter information of the transmission data of described current slot is the CPRI control from current slot In word reserved field processed obtain parameter information or from the CPRI control word reserved field of a upper time period The parameter information obtaining.
A kind of dispensing device, described dispensing device includes:
Encapsulation unit, for encapsulating the mapping ruler of parameter information and/or the transmission data of next time period To in the common public radio interface CPRI control word reserved field of current slot;
Transmitting element, the CPRI control word for completing current slot in the encapsulation of described encapsulation unit retains After field, in current slot, the mapping ruler according to the transmission data of current slot sends current time The transmission data of section, the transmission data of described current slot is included in the CPRI control word of current slot Data and current slot non-CPRI control word in data.
In such scheme, described parameter information includes:The parameter information of the transmission data of current slot or under The parameter information of the transmission data of one time period.
A kind of reception device, described reception device includes:
Receiving unit, in current slot, the mapping ruler according to the transmission data of current slot connects Receive the transmission data of current slot;
Acquiring unit, the transmission data of the described current slot for being received according to described receiving unit, Get parms from the common public radio interface CPRI control word reserved field of described current slot information And/or the mapping ruler of the transmission data of next one time period;
Wherein, the mapping ruler of the transmission data of described current slot is fixing mapping ruler or from upper The mapping ruler obtaining in the CPRI control word reserved field of individual time period.
In such scheme, described parameter information includes:The parameter information of the transmission data of current slot or under The parameter information of the transmission data of one time period.
In such scheme, described reception device also includes processing unit, wherein,
Described processing unit, the parameter information for the transmission data according to current slot processes described reception The transmission data of the current slot that unit receives;
Wherein, the parameter information of the transmission data of described current slot is the CPRI control from current slot In word reserved field processed obtain parameter information or from the CPRI control word reserved field of a upper time period The parameter information obtaining.
Embodiments provide a kind of data transmission method, dispensing device and reception device, parameter is believed The mapping ruler of the transmission data of breath and/or next time period is encapsulated into the CPRI control word of current slot In reserved field, make full use of the control word reserved field in current slot, and by parameter information and/or reflect Penetrate rule to be encapsulated in control word reserved field, be transmitted phase in data words with encapsulation of the prior art The present embodiment method can apply more data words to transmit more data to ratio, improves data transfer effect Rate.In addition, the mapping ruler of the transmission data of next time period can be encapsulated into by the embodiment of the present invention working as In the CPRI control word reserved field of front time period, the mapping ruler of the transmission data of so each time period can With dynamic change, enhance the flexibility of CPRI data transfer.
Brief description
A kind of data transmission method stream being applied to dispensing device side that Fig. 1 provides for the embodiment of the present invention 1 Journey schematic diagram;
The CPRI superframe structure schematic diagram that Fig. 2 provides for the embodiment of the present invention 1;
A kind of data transmission method stream being applied to reception device side that Fig. 3 provides for the embodiment of the present invention 1 Journey schematic diagram;
A kind of data transmission method schematic flow sheet that Fig. 4 provides for the embodiment of the present invention 2;
The dispensing device that Fig. 5 provides for the embodiment of the present invention 2 encapsulates the schematic diagram of mapping ruler in superframes;
Fig. 6 extracts transmission number for the reception device that the embodiment of the present invention 2 provides according to mapping ruler from superframe According to schematic diagram;
A kind of structured flowchart of dispensing device that Fig. 7 provides for the embodiment of the present invention 3;
A kind of structured flowchart of reception device that Fig. 8 provides for the embodiment of the present invention 3.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, it is fully described by.
Embodiment 1
Embodiments provide a kind of data transmission method, be applied to dispensing device side, as Fig. 1 institute Show, the handling process of the present embodiment method comprises the following steps:
Step 101, the mapping ruler of parameter information and/or the transmission data of next time period is encapsulated into and works as In the CPRI control word reserved field of front time period.
The link layer of CPRI defines the frame structure of a synchronization, in frame structure most important concept be superframe and Basic frame, as shown in Fig. 2 the schematic diagram of the CPRI control word reserved field for CPRI superframe.
210 is the frame in the 10ms time period.
220 is a CPRI superframe, and each 10ms frame comprises 150 superframes:#0 ..., #Z ..., #149.
230 is the basic frame of CPRI, and each superframe comprises 256 basic frames:#0 ..., #K ..., #255.
The CPRI control word of 240 each basic frame in of expression.
Each field in the CPRI control word of 250 each basic frame in of expression, word of withing a hook at the end in these fields Section also has non-reserved field.
In the case that CPRI line rate is 1228.8Mbit/s, in the basic frame of CPRI (Basic Frame) The data of transmission includes one control word and 15 data words, transmit in the basic frame of CPRI control The a width of 16bit of word bit processed, data word is 15 16bit.As can be seen from Figure 2 in a CPRI superframe Comprise the basic frame of 256 CPRI, in the basic frame of each CPRI, in the data of transmission, have a control word, Therefore have 256 control words in the data of transmission in a CPRI superframe.Transmit in one of CPRI superframe Control word reserved field be 36 16bit.During transmission data, first of transmission is effectively Data is exactly the data in control word.
In the present embodiment method, dispensing device is before sending transmission data, by parameter information and/or next when Between the mapping ruler of transmission data of section be encapsulated in the CPRI control word reserved field of current slot.Should Current slot can be 0.5 CPRI superframe, can be 1 CPRI superframe or multiple CPRI superframe, is not restricted in the present embodiment.If current slot is 1 CPRI superframe, will join The mapping ruler of the transmission data of number information and/or next time period is encapsulated into 1 shown in Fig. 2 CPRI In the CPRI control word reserved field of superframe #Z.
In this step, the mapping of parameter information and/or the transmission data of next time period is advised by dispensing device Then it is encapsulated into successively in the reserved field of CPRI control word of current slot.
Step 102, in current slot, the mapping ruler according to the transmission data of current slot sends works as The transmission data of front time period.
Dispensing device can send the transmission of current slot according to the mapping ruler of the transmission data of current slot Data, the transmission data of described current slot include data in the CPRI control word of current slot with And the data in the non-CPRI control word of current slot.Data in the CPRI control word of current slot Including the data in the CPRI control word reserved field of current slot, that is, it is encapsulated into current slot Parameter information in CPRI control word reserved field and/or the mapping ruler of the transmission data of next time period. Data in the non-CPRI control word of current slot includes the information data of dispensing device needs transmission.
Dispensing device can be according to the mapping ruler of the transmission data of current slot by the transmission number of current slot According to sending.Mapping ruler described here i.e., current slot is divided into n (n is more than or equal to 1) The individual sub- time period, each sub- time period comprises m (m is more than or equal to 1) individual basic frame, and mapping ruler specifies In m basic frame, each system clock cycle is effective or invalid, sends data in the effective system clock cycle, Do not send data in the null system clock cycle, between the sub- time period, adopt identical mapping ruler.
In the case that CPRI line rate is 1228.8Mbit/s, dispensing device sends the data order of data According to basic frame data structure (structure of basic frame be positioned at 1 of basic frame header control word cell and Remaining 15 data cells).So that in current system, CPRI data transfer bit wide is as 16bit as a example, send Device only sends transmission data in the effective system clock cycle of first sub- time period according to mapping ruler, therefore Dispensing device first effective system clock cycle of first sub- time period send for first sub- time Data in the control word cell of first basic frame in section, second of first sub- time period to the 16th The data of the data cell for frame basic in first sub- time period that the individual effective system clock cycle sends, the One sub- time period is in first sub- time period second in the 17th effective system clock cycle transmission Data in the control word of individual basic frame, like this dispensing device according to mapping ruler first sub- time period The effective system time cycle send data, the null system clock cycle within first sub- time period do not send out Send data, successively the transmission data of first sub- time period is all sent.First sub- time period Transmission data includes data and non-controlling word in the CPRI control word be encapsulated in first sub- time period Partial data.If n is the integer more than 1, the transmission number of other the sub- time periods in current slot It is transmitted according to according to first sub- time period identical mapping ruler.
The packet being encapsulated in the present embodiment method in the CPRI control word reserved field of current slot contains There are following three kinds of situations:
The first situation, the CPRI control word that parameter information is only encapsulated into current slot by dispensing device is protected Write down characters in section.
The mapping ruler of the transmission data of each time period can be carried out about by upper-layer protocol in this case Fixed solidification, that is, the mapping ruler of the transmission data of each time period is all fixing the same, now, sends dress Do not need to encapsulate the next time period in the CPRI control word reserved field putting the current slot that will send Transmission data mapping ruler, but only encapsulation parameter information.Now, the transmission number that dispensing device sends According in there is no mapping ruler.So, reception device according to the mapping ruler of the transmission data of current slot is After fixing mapping ruler receives the transmission data of current slot, from the CPRI control of described current slot The only parameter information obtaining in word reserved field processed.
Described parameter information can be the parameter information of the transmission data of current slot or next time period The parameter information of transmission data.If described parameter information is the parameter information of the transmission data of current slot, The then biography of the mapping ruler reception current slot in the described transmission data according to current slot for the reception device The transmission of current slot after transmission of data, can be processed according to the parameter information of the transmission data of current slot Data;If described parameter information is the parameter information of the transmission data of subsequent time period, reception device is connecing After receiving the transmission data of current slot, can be according to the CPRI control word reserved word from a upper time period The parameter information obtaining in section processes the transmission data of current slot, the now transmission number of first time period According to parameter information can to preset storage good, dispensing device and reception device are aware that understanding, Reception device, can be according to first time prestoring after the transmission data receiving first time period The parameter information of the transmission data of section processes the transmission data of first time period.
Second situation, the mapping ruler of the transmission data of next time period is only encapsulated into by dispensing device works as In the CPRI control word reserved field of front time period.
The mapping ruler of the transmission data of each time period can be dynamic change in this case, now, The mapping ruler of the transmission data of next time period can be encapsulated into the CPRI of current slot by dispensing device In control word reserved field.So, reception device can be protected according to from the CPRI control word of a upper time period The mapping ruler obtaining in section of writeeing down characters receives the transmission data of current slot, and the transmission from current slot The mapping ruler of the transmission data of data acquisition next one time period.
In order to be illustrated more clearly that this kind of situation it is assumed that current slot is CPRI superframe F1, it transmits number Mapping ruler according to D1 is Y1;A upper time period is CPRI superframe F0, the reflecting of its transmission data D0 Penetrating rule is Y0;The next time period is CPRI superframe F2, and its transmission data is that the mapping ruler of D2 is Y2.
Y1 is encapsulated in the CPRI control word reserved field of F0 dispensing device, and Y2 is encapsulated in F1's In CPRI control word reserved field;When reception device receives the D0 of F0, can control from the CPRI of F0 Y1 is obtained in word reserved field;So reception device will receive the D1 of F1 according to Y1, can be from F1 CPRI control word reserved field in obtain mapping ruler Y2.
In such cases, the mapping ruler of the transmission data of first time period is pre-set fixation Mapping ruler, dispensing device and reception device are aware that the content understanding this mapping ruler.So dispensing device Just according to the mapping ruler of pre-set fixation, the transmission data of first time period can be sent; Reception device, can reflecting according to pre-set fixation when receiving the transmission data of first time period Penetrate the transmission data that rule receives first time period.
In this case, for parameter information, parameter information can be encapsulated into the number of CPRI by dispensing device It is transmitted according in word.Described parameter information can be the transmission data of current slot parameter information or under The parameter information of the transmission data of one time period.Concrete application is with reference to the description in the first situation.
The third situation, dispensing device is by the mapping ruler of parameter information and the transmission data of next time period All it is encapsulated in the CPRI control word reserved field of current slot.
In this case the mapping ruler of the transmission data of each time period can be dynamic change, described parameter Information can be the parameter information of the transmission data of current slot or the ginseng of the transmission data of next time period Number information.Concrete application may be referred to the description in the first situation and second situation.
The embodiment of the present invention additionally provides a kind of data transmission method, is applied to reception device side, such as Fig. 3 Shown, the handling process of the present embodiment method comprises the following steps:
Step 301, in current slot, the mapping ruler according to the transmission data of current slot extracts and connects Receive the transmission data of current slot.
Dispensing device sends the transmission number of current slot according to the mapping ruler of the transmission data of current slot According to that is, only the effective system clock cycle in current slot sends transmission data;Specifically refer to step Description in 102.Now, reception device is accomplished by the mapping ruler of the transmission data according to current slot, Within the effective system clock cycle that mapping ruler specifies, only receive the transmission data of current slot.
Some CPRI superframes are included, its concrete structure may be referred to shown in Fig. 2 in current slot.One Include 256 basic frames in individual CPRI superframe, in the basic frame of each CPRI, include a control word, Therefore in a CPRI superframe, comprise 256 control words.The reservation of the control word in one of CPRI superframe Field is 36 16bit.The data word that the basic frame of one CPRI comprises is 15 16bit.
The structure of the transmission data of described current slot just as shown in Fig. 2 current slot include some Basic frame, has one to control word cell and 15 data cells in each basic frame, these control word cells and Data in data cell is exactly the transmission data of current slot.
In the case that CPRI line rate is 1228.8Mbit/s, reception device is according to the biography of current slot The mapping ruler of transmission of data connect successively within the effective system clock cycle of the n of current slot sub- time period Receive data, receive within first effective system clock cycle of first sub- time period of current slot For first in first sub- time period basic frame control word cell in data, second to the 16th In the data cell for first in first sub- time period basic frame receiving in the effective system clock cycle Data, first sub- time period receive within the 17th effective system clock cycle for first period of the day from 11 p.m. to 1 a.m Between in section second basic frame the data controlling in word cell, like this successively by the in current slot Transmission data in one sub- time period receives, and is assembled into basic frame one by one.If n is more than 1 Integer, then the transmission data of the sub- time period of other in current slot according to first sub- time period phase Same mapping ruler is received.
Step 302, the transmission data according to described current slot, from the general public affairs of described current slot The information that gets parms in radio interface CPRI control word reserved field altogether and/or the transmission number of next time period According to mapping ruler.
The transmission data of described current slot includes CPRI control word (the CPRI control of current slot With a hook at the end in word field) and the CPRI data word of current slot in data.Described current slot CPRI control word reserved field in data include parameter information and/or the transmission data of next time period Mapping ruler, the data in the CPRI data word of current slot include current slot transmission information Data.In step 301, reception device is extracted according to the mapping ruler of the transmission data of current slot and is received By the transmission data in the basic frame in current slot, reception device can be reduced and is assembled into one by one Basic frame structure, obtain in the CPRI control word reserved field from the basic frame in described current slot Take parameter information and/or the mapping ruler of the transmission data of next time period.Can certainly be from other controls The control information of dispensing device transmission, the CPRI from the basic frame in described current slot is obtained in word The information data of transmission is obtained in data word.
When being only packaged with parameter information in the CPRI control word reserved field of described current slot, receive The mapping ruler of the transmission data of each time period of device application is all to carry out agreement solidification by upper-layer protocol, I.e. the mapping ruler of the transmission data of each time period is all fixing the same, and this fixing mapping ruler is pre- It is first stored in reception device, reception device can be directly according to the mapping rule of the transmission data of current slot It is then the transmission data that the fixing mapping ruler of identical receives current slot.
When the transmission being packaged with the next time period in the CPRI control word reserved field of described current slot During the mapping ruler of data, the mapping ruler of the transmission data of each time period of reception device application is dynamic change Change, reception device can be according to reflecting of obtaining from the CPRI control word reserved field of a upper time period Penetrate the mapping ruler that rule is the transmission data of current slot, receive the transmission data of current slot.This In the case of kind, the mapping ruler of the transmission data of first time period is the mapping rule of pre-set fixation Then, dispensing device and reception device are aware that the content understanding this mapping ruler.So reception device is receiving The biography of current slot during first time period, can be received according to the mapping ruler of pre-set fixation Transmission of data.
Parameter information described in the present embodiment method includes:The parameter information of the transmission data of current slot or The parameter information of the transmission data of next time period.
In the transmission data according to described current slot, connect from the general public wireless of described current slot The mapping of the transmission data of the information that gets parms in mouth CPRI control word reserved field and/or next time period After rule, methods described also includes:
The parameter information of the transmission data according to current slot processes the transmission data of current slot;
Wherein, the parameter information of the transmission data of described current slot is the CPRI control from current slot In word reserved field processed obtain parameter information or from the CPRI control word reserved field of a upper time period The parameter information obtaining.
The parameter information of the transmission data of first time period can preset storage well, dispensing device Be aware that understanding with reception device, reception device after the transmission data extracting current slot, meeting The parameter information of the transmission data according to first time period prestoring processes the transmission of first time period Data.
The present embodiment method passes through the mapping ruler of the transmission data by parameter information and/or next time period It is encapsulated in the CPRI control word reserved field of current slot, make full use of the control in current slot Word reserved field, and parameter information and/or mapping ruler are encapsulated in control word reserved field, with existing skill Encapsulation in art is transmitted comparing in data words, and the present embodiment method can apply more data words Transmit more data, improve data transmission efficiency.In addition, the present embodiment method can be by the next time The mapping ruler of the transmission data of section is encapsulated in the CPRI control word reserved field of current slot, so The mapping ruler of the transmission data of each time period can enhance the flexible of CPRI data transfer with dynamic change Property.
Embodiment 2
Embodiments provide a kind of data transmission method, as shown in figure 4, the place of the present embodiment method Reason flow process comprises the following steps:
The mapping ruler of parameter information and the transmission data of next time period is sealed by step 401, dispensing device It is attached in the CPRI control word reserved field of current slot.
This current slot can be 0.5 CPRI superframe, can be 1 CPRI superframe or Multiple CPRI superframes, are not restricted in the present embodiment.The concrete structure of CPRI superframe may be referred to Fig. 2 Shown.
In the present embodiment method, when applying CPRI to carry out data transmission, dispensing device can be by for dispensing device The mapping ruler of the transmission data of parameter information and next time period is encapsulated into the CPRI control of current slot In word reserved field processed.
Described parameter information can be the parameter information of the transmission data of current slot or next time period The parameter information of transmission data.
Step 402, dispensing device are advised in current slot, the mapping according to the transmission data of current slot Then send the transmission data of current slot.
Dispensing device can send the transmission of current slot according to the mapping ruler of the transmission data of current slot Data, the transmission data of described current slot include data in the CPRI control word of current slot with And the data in the non-CPRI control word of current slot.Data in the CPRI control word of current slot Including the data in the CPRI control word reserved field of current slot, that is, it is encapsulated into current slot Parameter information in CPRI control word reserved field and/or the mapping ruler of the transmission data of next time period. Data in the non-CPRI control word of current slot includes the information data of dispensing device needs transmission.
Dispensing device sends the process of transmission data as shown in Fig. 2 a basic frame is an entirety, sends The transmission data of current slot can be sent out by device according to the mapping ruler of the transmission data of current slot Go.Mapping ruler described here i.e., current slot is divided into n (n is more than or equal to 1) the individual sub- time Section, each sub- time period comprises m (m is more than or equal to 1) individual basic frame, and mapping ruler regulation m is basic In frame, each system clock cycle is effective or invalid, sends data in the effective system clock cycle, invalid System clock cycle does not send data, adopts identical mapping ruler between the sub- time period.
In the case that CPRI line rate is 1228.8Mbit/s, dispensing device sends the data order of data According to basic frame data structure (structure of basic frame be positioned at 1 of basic frame header control word cell and Remaining 15 data cells).So that in current system, CPRI data transfer bit wide is as 16bit as a example, send Device only sends transmission data in the effective system clock cycle of first sub- time period according to mapping ruler, therefore Dispensing device first effective system clock cycle of first sub- time period send for first sub- time Data in the control word cell of first basic frame in section, second of first sub- time period to the 16th The data of the data cell for frame basic in first sub- time period that the individual effective system clock cycle sends, the One sub- time period is in first sub- time period second in the 17th effective system clock cycle transmission Data in the control word of individual basic frame, like this dispensing device according to mapping ruler first sub- time period The effective system time cycle send data, the null system clock cycle within first sub- time period do not send out Send data, successively the transmission data of first sub- time period is all sent.First sub- time period Transmission data includes data in the CPRI control word reserved field be encapsulated in the currently sub- time period and non- Control the data of character segment.If n is the integer more than 1, other sub- time periods in current slot Transmission data is transmitted according to first sub- time period identical mapping ruler.
Dispensing device sends data according to mapping ruler within the effective system clock cycle of current slot, Data is not sent, like this by current slot in the invalid effective system clock cycle in current slot Transmission data all sends.The transmission data of current slot includes being encapsulated in current slot Parameter information in CPRI control word reserved field and/or the mapping ruler of the transmission data of next time period.
Step 403, reception device are advised in current slot, the mapping according to the transmission data of current slot Then extract the transmission data receiving current slot.
In step 402, dispensing device sends currently according to the mapping ruler of the transmission data of current slot The transmission data of time period, that is, only the effective effective system clock cycle in current slot sends transmission number According to;Now, reception device is accomplished by the mapping ruler of the transmission data according to current slot, only in mapping The transmission data of current slot is received in the effective system clock cycle of rule regulation.
In the case that CPRI line rate is 1228.8Mbit/s, reception device is according to the biography of current slot The mapping ruler of transmission of data successively current slot n sub- time period the effective system clock cycle in Receiving data, received within first effective system clock cycle of first sub- time period of current slot For first in first sub- time period basic frame control word cell in data, second to the 16th In the data cell for first in first sub- time period basic frame receiving in the individual effective system clock cycle Data, first sub- time period receive within the 17th effective system clock cycle for first son The data controlling in word cell of second basic frame in time period, like this successively by current slot Transmission data in first sub- time period receives, and is assembled into basic frame one by one.If n be more than 1 integer, then the transmission data of the sub- time period of other in current slot according to first sub- time period Identical mapping ruler is received.
Step 404, the transmission data according to described current slot, from the general public affairs of described current slot The information that gets parms in radio interface CPRI control word reserved field altogether and the transmission data of next time period Mapping ruler.
In step 403, the mapping ruler extraction reception according to the transmission data of current slot will for reception device The transmission data in basic frame in current slot, reception device can be reduced and is assembled into one by one Basic frame structure, obtains in the CPRI control word reserved field from the basic frame in described current slot The mapping ruler of the transmission data of parameter information and next time period.Can certainly be from other control words Obtain the control information of dispensing device transmission, the CPRI data from the basic frame in described current slot The information data of transmission is obtained in word.
When current slot is first time period, the mapping ruler of the transmission data of first time period is pre- The mapping ruler of the fixation first setting, dispensing device and reception device are aware that the mapping rule understanding this fixation Content then.So in step 402, dispensing device just can be according to the mapping ruler of pre-set fixation The transmission data of first time period is sent;Reception device receive first time period data when, The transmission data of first time period can be received according to the mapping ruler of pre-set fixation.Now, The mapping ruler of the transmission data of current slot is fixing mapping ruler.
When current slot is not first time period, the mapping ruler of the transmission data of current slot is permissible Obtained from the CPRI control word reserved field of a upper time period.
Step 405, reception device process current time according to the parameter information of the transmission data of current slot The transmission data of section.
In step 401, dispensing device is encapsulated into the ginseng in the CPRI control word reserved field of current slot Number information can be the parameter information of transmission data or the transmission data of next time period of current slot Parameter information.
If dispensing device is to be encapsulated into currently the parameter information of the transmission data of current slot in step 401 In the CPRI control word reserved field of time period, therefore reception device is in step 404 from described current time The parameter information obtaining in the CPRI control word reserved field of section is the parameter of the transmission data of current slot Information, reception device can process current slot according to the parameter information of the transmission data of current slot Transmission data.
If dispensing device is to be encapsulated into currently the parameter information of the transmission data of subsequent time period in step 401 In the CPRI control word reserved field of time period, then reception device was protected from the CPRI control word of a upper time period The parameter information obtaining in section of writeeing down characters is the parameter information of the transmission data of current slot, and reception device is permissible Parameter information according to obtaining in the CPRI control word reserved field of a upper time period is the biography of current slot The parameter information of transmission of data processes the transmission data of current slot.Now, the transmission number of first time period According to parameter information can to preset storage good, dispensing device and reception device are aware that understanding, Reception device, can be according to first time prestoring after the transmission data extracting current slot The parameter information of the transmission data of section processes the transmission data of first time period.
In the present embodiment method, the parameter information of the transmission data with described parameter information as current slot is Example is being described.This parameter information is believed including but not limited to data packet locations configured information, data packet addressed Breath, data packet length information, package number information and data packet check information (even-odd check or circulation Redundancy check (CRC, Cyclic Redundancy Check) verification etc.) etc..
Example it is assumed that one of the present embodiment method time period is the time period of a superframe.
As shown in Figure 5 and Figure 6,210 is the frame in the 10ms time period.220 is that a CPRI surpasses Frame, each 10ms frame comprises 150 superframes, is designated as #0 ..., #Z ..., #149.230 is one The basic frame of CPRI, each superframe comprises 256 basic frames and is designated as #0 ..., #K ..., #255.
As shown in figure 5, dispensing device is by the mapping ruler of parameter information and the transmission data of next time period It is encapsulated in the CPRI control word reserved field 260 that current slot is CPRI superframe #Z.Dispensing device Mapping ruler according to the transmission data of CPRI superframe #Z sends the transmission data of CPRI superframe #Z, receives The mapping ruler of the transmission data according to CPRI superframe #Z for the device extracts the transmission number receiving CPRI superframe #Z According to.
As shown in fig. 6, reception device is when receiving CPRI superframe #Z, according to from a upper time period can be The mapping ruler obtaining in the CPRI control word reserved field of CPRI superframe #Z-1 be 270 (current slot The mapping ruler of transmission data), extract the transmission data receiving CPRI superframe #Z.
As shown in fig. 6,270 represent the mapping ruler obtaining from CPRI superframe #Z-1, this mapping ruler For the mapping ruler of the transmission data in CPRI superframe #Z, in the present embodiment method, by CPRI superframe #Z is divided into n=256 sub- time period, and each sub- time comprises m-1 basic frame, and this mapping ruler specifies In the basic frame of m=1, each system clock cycle is effective or invalid, now, mapping ruler have k bit position with The k system clock cycle one-to-one corresponding that one basic frame comprises, in mapping ruler field, bit position is 1 expression Corresponding system clock cycle is the effective system clock cycle, and in mapping ruler field, bit position is that 0 expression corresponds to System clock cycle is the null system clock cycle.Reception device receives during CPRI superframe #Z can be according to This mapping ruler receives the transmission data in CPRI superframe #Z in each basic frame effective system clock cycle. As shown in fig. 6,280 represent k system clock cycle in a basic frame, 270 represent super from CPRI The mapping ruler obtaining in frame #Z-1, mapping ruler has k system clock in k bit position and each basic frame Cycle corresponds, and it was 1 corresponding effective system clock week that reception device only extracts reception mapping ruler field Transmission data in phase.
Reception device, can be in the CPRI control word of CPRI superframe #Z after receiving CPRI superframe #Z Extract and combine the mapping ruler of transmission data in CPRI superframe #Z+1 in reserved field, to receive After CPRI superframe #Z+1, apply this mapping ruler to extract and receive transmission data in CPRI superframe #Z+1.
Embodiment 3,
Embodiments provide a kind of dispensing device, as shown in fig. 7, described dispensing device includes:Envelope Dress unit 701, transmitting element 702, wherein,
Encapsulation unit 701, for by the mapping ruler of parameter information and/or the transmission data of next time period It is encapsulated in the CPRI control word reserved field of current slot;
Transmitting element 702, for completing current slot CPRI superframe in the encapsulation of described encapsulation unit 701 After CPRI control word reserved field, in current slot, according to the mapping rule of the transmission data of current slot Then send the transmission data of current slot, the transmission data of described current slot includes current slot Data in the non-CPRI control word of the data in CPRI control word and current slot.
Described parameter information includes:The parameter information of the transmission data of current slot or next time period The parameter information of transmission data.
Embodiments provide a kind of reception device, as shown in figure 8, described reception device includes:Connect Receive unit 801, acquiring unit 802, wherein,
Receiving unit 801, in current slot, according to the mapping rule of the transmission data of current slot Then receive the transmission data of current slot;
Acquiring unit 802, the biography of the described current slot for being received according to described receiving unit 801 Transmission of data, obtains from the common public radio interface CPRI control word reserved field of described current slot The mapping ruler of the transmission data of parameter information and/or next time period;Wherein, described current slot The mapping ruler of transmission data is fixing mapping ruler or retained from the CPRI control word of a upper time period The mapping ruler obtaining in field.
Described parameter information includes:The parameter information of the transmission data of current slot or next time period The parameter information of transmission data.
As shown in figure 8, described reception device also includes processing unit 803, wherein,
Described processing unit 803, for described in the parameter information process of the transmission data according to current slot The transmission data of the current slot that receiving unit 801 receives;
Wherein, the parameter information of the transmission data of described current slot is the CPRI control from current slot In word reserved field processed obtain parameter information or from the CPRI control word reserved field of a upper time period The parameter information obtaining.
In actual applications, described encapsulation unit 701, transmitting element 702 can be by dispensing device Central processing unit (CPU), microprocessor (MPU), digital signal processor (DSP) or scene can The devices such as programming gate array (FPGA) are realized.Receiving unit 801, acquiring unit 802, processing unit 803 Can be by the central processing unit (CPU) in reception device, microprocessor (MPU), data signal The device such as reason device (DSP) or field programmable gate array (FPGA) is realized.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can using hardware embodiment, software implementation or combine software and The form of the embodiment of hardware aspect.And, the present invention can adopt and wherein include calculating one or more Computer-usable storage medium (including but not limited to magnetic disc store and the optical storage of machine usable program code Device etc.) the upper computer program implemented form.
The present invention is with reference to method according to embodiments of the present invention, equipment (system) and computer program Flow chart and/or block diagram describing.It should be understood that can be by computer program instructions flowchart and/or side Each flow process in block diagram and/or the knot of the flow process in square frame and flow chart and/or block diagram and/or square frame Close.Can provide these computer program instructions to all-purpose computer, special-purpose computer, Embedded Processor or The processor of other programmable data processing device with produce a machine so that by computer or other can The instruction of the computing device of programming data processing equipment produces for realizing in one flow process or multiple of flow chart The device of the function of specifying in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing device So that being stored in this computer-readable memory in the computer-readable memory working in a specific way Instruction produces the manufacture including command device, and this command device is realized in one flow process of flow chart or multiple stream The function of specifying in journey and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Obtain and series of operation steps executed on computer or other programmable devices to produce computer implemented process, Thus the instruction of execution is provided for realizing in one flow process of flow chart on computer or other programmable devices Or the step of the function of specifying in multiple flow process and/or one square frame of block diagram or multiple square frame.
The above, only presently preferred embodiments of the present invention, it is not intended to limit the protection model of the present invention Enclose.

Claims (10)

1. a kind of data transmission method is it is characterised in that methods described includes:
The mapping ruler of parameter information and/or the transmission data of next time period is encapsulated into current slot Common public radio interface CPRI control word reserved field in;
In current slot, the mapping ruler according to the transmission data of current slot sends current slot Transmission data, the transmission data of described current slot includes the number in the CPRI control word of current slot Data according to this and in the non-CPRI control word of current slot.
2. method according to claim 1 is it is characterised in that described parameter information includes:When current Between the parameter information of transmission data of section or the parameter information of the transmission data of next time period.
3. a kind of data transmission method is it is characterised in that methods described includes:
In current slot, the mapping ruler according to the transmission data of current slot extracts and receives current time The transmission data of section;
According to the transmission data of described current slot, from the common public radio interface of described current slot The mapping rule of the transmission data of the information that gets parms in CPRI control word reserved field and/or next time period Then;
Wherein, the mapping ruler of the transmission data of described current slot is fixing mapping ruler or from upper The mapping ruler obtaining in the CPRI control word reserved field of individual time period.
4. method according to claim 3 is it is characterised in that described parameter information includes:When current Between the parameter information of transmission data of section or the parameter information of the transmission data of next time period.
5. method according to claim 4 is it is characterised in that general from described current slot The information that gets parms in public radio interface CPRI control word reserved field and/or the transmission of next time period After the mapping ruler of data, methods described also includes:
The parameter information of the transmission data according to current slot processes the transmission data of current slot;
Wherein, the parameter information of the transmission data of described current slot is the CPRI control from current slot In word reserved field processed obtain parameter information or from the CPRI control word reserved field of a upper time period The parameter information obtaining.
6. a kind of dispensing device is it is characterised in that described dispensing device includes:
Encapsulation unit, for encapsulating the mapping ruler of parameter information and/or the transmission data of next time period To in the common public radio interface CPRI control word reserved field of current slot;
Transmitting element, the CPRI control word for completing current slot in the encapsulation of described encapsulation unit retains After field, in current slot, the mapping ruler according to the transmission data of current slot sends current time The transmission data of section, the transmission data of described current slot is included in the CPRI control word of current slot Data and current slot non-CPRI control word in data.
7. dispensing device according to claim 1 is it is characterised in that described parameter information includes:When The parameter information of the transmission data of the parameter information of the transmission data of front time period or next time period.
8. a kind of reception device is it is characterised in that described reception device includes:
Receiving unit, in current slot, the mapping ruler according to the transmission data of current slot connects Receive the transmission data of current slot;
Acquiring unit, the transmission data of the described current slot for being received according to described receiving unit, Get parms from the common public radio interface CPRI control word reserved field of described current slot information And/or the mapping ruler of the transmission data of next one time period;
Wherein, the mapping ruler of the transmission data of described current slot is fixing mapping ruler or from upper The mapping ruler obtaining in the CPRI control word reserved field of individual time period.
9. reception device according to claim 8 is it is characterised in that described parameter information includes:When The parameter information of the transmission data of the parameter information of the transmission data of front time period or next time period.
10. reception device according to claim 9 is it is characterised in that described reception device also includes Processing unit, wherein,
Described processing unit, the parameter information for the transmission data according to current slot processes described reception The transmission data of the current slot that unit receives;
Wherein, the parameter information of the transmission data of described current slot is the CPRI control from current slot In word reserved field processed obtain parameter information or from the CPRI control word reserved field of a upper time period The parameter information obtaining.
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 true CN106412991A (en) 2017-02-15
CN106412991B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087290A (en) * 2019-06-12 2020-12-15 深圳市中兴微电子技术有限公司 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
WO2022236621A1 (en) * 2021-05-10 2022-11-17 北京小米移动软件有限公司 Data packet sending method and apparatus, and storage medium

Citations (3)

* 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
US20140003565A1 (en) * 2012-06-28 2014-01-02 Fujitsu Limited Apparatus and method for changing a clock rate for transmission data

Family Cites Families (3)

* 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
WO2014110791A1 (en) * 2013-01-18 2014-07-24 华为技术有限公司 Data transmission method, device, and system

Patent Citations (3)

* 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
US20140003565A1 (en) * 2012-06-28 2014-01-02 Fujitsu Limited Apparatus and method for changing a clock rate for transmission data

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087290A (en) * 2019-06-12 2020-12-15 深圳市中兴微电子技术有限公司 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
WO2022236621A1 (en) * 2021-05-10 2022-11-17 北京小米移动软件有限公司 Data packet sending method and apparatus, and storage medium

Also Published As

Publication number Publication date
WO2017016304A1 (en) 2017-02-02
CN106412991B (en) 2019-07-19

Similar Documents

Publication Publication Date Title
CN105429726B (en) Business mapping treatment method, the apparatus and system of Optical Transmission Network OTN
CN110505656A (en) Data processing method, apparatus and system
CN103415001B (en) Device, system and method for message forwarding
CN106412991A (en) Data transmission method, sending device, and receiving device
CN104378315B (en) A kind of method and device of CAPWAP tunnel packet transmission
CN102291398A (en) Data compression and decompression method, device and system in wireless communication system
CN103365810B (en) The method and apparatus that flash memory devices programming time is reduced in C.A.N. buses
CN103595660A (en) IP data packet encapsulating method and method for compressing packet head of data packet
KR102450095B1 (en) Data transmission method, transmission device, and reception device
CN106612245A (en) Message transmission method and system based on GTPU (GPRS Tunneling Protocol for the user plane) tunnel protocol
CN101882975A (en) Method for transmitting data by using preamble of Ethernet frame
CN102404414A (en) Ethernet communication system and method based on multi-media card/security digital card (MMC/SD) interface
CN105610730A (en) Method and system for message interaction between CPU and network equipment
CN103297311A (en) Method and device for achieving control and provision for wireless access point protocol (CAPWAP) data tunnels
CN105635173B (en) Intelligent power distribution terminal communicates weak coupling modular system and method
CN101783772A (en) Method, device and system for encapsulating and de-encapsulating messages
CN102571271B (en) The method for automatically generating dynamic frame encapsulation group
CN109286574A (en) A kind of transmission method of information, network side equipment and terminal
CN108696900A (en) A kind of packaging method of data packet, analytic method, device and equipment
CN106899342B (en) A kind of encapsulation of data, transmission method and device
CN103825768B (en) Message transmitting method and device
CN103634229B (en) A kind of Inter-chip communication method and control device
CN101197742B (en) System and method for transmitting additional data between equipments through Ethernet interface
CN108988977A (en) The methods, devices and systems of business transferring stream in a kind of flexible Ethernet protocol
CN109391605B (en) Data transmission method, device and system

Legal Events

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