CN106134271B - A kind of device and method of data transmission - Google Patents

A kind of device and method of data transmission Download PDF

Info

Publication number
CN106134271B
CN106134271B CN201480037910.5A CN201480037910A CN106134271B CN 106134271 B CN106134271 B CN 106134271B CN 201480037910 A CN201480037910 A CN 201480037910A CN 106134271 B CN106134271 B CN 106134271B
Authority
CN
China
Prior art keywords
data
frame
wireless sub
size
redundancy versions
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
CN201480037910.5A
Other languages
Chinese (zh)
Other versions
CN106134271A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN106134271A publication Critical patent/CN106134271A/en
Application granted granted Critical
Publication of CN106134271B publication Critical patent/CN106134271B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a kind of device and method of data transmission, are related to internet of things field, which comprises encode to the first data to be transmitted, obtain the second data;Determine the size of data that multiple wireless sub-frames needed for transmitting second data and each wireless sub-frame in the multiple wireless sub-frame can carry;The size of data that can be carried according to the size of data of second data and each wireless sub-frame, from the third data transmitted on each wireless sub-frame are selected in second data, the size of data for the third data transmitted on each wireless sub-frame is identical as the size of data that each wireless sub-frame can carry;The third data are transmitted on each wireless sub-frame respectively.The device includes: coding module, determining module, selecting module and transmission module.Present invention reduces code rates, improve coding gain.

Description

A kind of device and method of data transmission
Technical field
The present invention relates to move internet of things field, the in particular to device and method that a kind of data are transmitted.
Background technique
In 3GPP (3rd Generation Partnership Project, third generation partner program) LTE (Long Term Evolution, long term evolution) or LTE-A (the advanced evolution of LTE-advanced, LTE) system in, terminal require to Data are transmitted in base station, are interacted with realizing with base station.
Terminal can press method to transmit data to base station at present, comprising: terminal selects superfluous from redundancy versions set Remaining version obtains the corresponding initial position of the redundancy versions, and according to the initial position, 288 ratios are selected from data to be transmitted Special data (each wireless sub-frame can carry 288 bit datas), 288 bit datas of selection are carried on wireless sub-frame, Then wireless sub-frame is carried on a resource block, sends the resource block to base station, to complete the process of data transmission.
Wherein, include 4 kinds of redundancy versions in redundancy versions set, respectively redundancy versions 0,1,2,3, redundancy versions 0,1, 2,3 corresponding initial positions are as shown in Figure 1.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
Due in redundancy versions set only there are four types of redundancy versions, and the starting of the corresponding data selection of every kind of redundancy versions Position be it is fixed, therefore, no matter transmit how many times, always some data cannot be transmitted in data to be transmitted, from And cause a part of data in data to be transmitted that can be dropped, cause code rate very high, coding gain cannot be obtained.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of device and method of data transmission.Institute It is as follows to state technical solution:
In a first aspect, the present invention provides a kind of device of data transmission, described device includes:
Coding module obtains the second data for encoding to the first data to be transmitted;
Determining module, for determine transmit second data needed for multiple wireless sub-frames and the multiple wireless The size of data that each wireless sub-frame in subframe can carry;
Selecting module, the number that can be carried for the size of data and each wireless sub-frame according to second data According to size, from the third data that selection is transmitted on each wireless sub-frame in second data, each wireless son The size of data for the third data transmitted on frame is identical as the size of data that each wireless sub-frame can carry;
Transmission module, for transmitting the third data on each wireless sub-frame respectively.
With reference to first aspect, in the first possible implementation of the first aspect, the selecting module, comprising:
First acquisition unit obtains the number of each wireless sub-frame for the size of data according to second data According to the initial position of selection;
First selecting unit, initial position and each nothing for being selected according to the data of each wireless sub-frame The size of data that line subframe can carry, from the third number that selection is transmitted on each wireless sub-frame in second data According to.
With reference to first aspect the first is possible, in the second possible implementation of the first aspect, described first Acquiring unit, comprising:
First computation subunit, for that can be held according to the size of data and each wireless sub-frame of second data The size of data of load calculates redundancy versions number needed for transmitting second data;
Subelement is obtained, for obtaining the third transmitted on each wireless sub-frame according to the redundancy versions number The redundancy versions serial number of data;
Second computation subunit, for according to the size of data of second data, redundancy versions number and each wireless The redundancy versions serial number for the third data transmitted in subframe calculates the initial position of the data selection of each wireless sub-frame.
Second with reference to first aspect is possible, in the third possible implementation of first aspect, second meter Operator unit is calculated for the line number of the interleaver according to used in the size of data of second data and second data The columns of the interleaver;According to the columns of the interleaver, the size of data of second data, the redundancy versions number With the redundancy versions serial number for the third data transmitted on each wireless sub-frame, pass through described in following formula (1) calculating respectively The initial position of the data selection of each wireless sub-frame:
Wherein, k0 is the initial position of the data selection of each wireless sub-frame,For the column of the interleaver Number, NcbFor the size of data of second data, RVnumFor the redundancy versions number, rvindexFor each wireless sub-frame The redundancy versions serial number of the third data of upper transmission.
Second with reference to first aspect is possible, in a fourth possible implementation of the first aspect, described first Computation subunit, the size of data that size of data and each wireless sub-frame for calculating second data can carry Ratio;By the upper rounding of the ratio or lower rounding as redundancy versions number needed for transmitting second data.
Second with reference to first aspect is possible, in the 5th kind of possible implementation of first aspect, acquisition Unit, for obtaining the System Frame Number of each wireless sub-frame;According to the System Frame Number of each wireless sub-frame and described Redundancy versions number calculates the redundancy versions serial number of each wireless sub-frame.
The 5th kind of possibility with reference to first aspect, in the 6th kind of possible implementation of first aspect, acquisition Unit, for according to each wireless sub-frame System Frame Number and the redundancy versions number, pass through following formula (2) calculate The redundancy versions serial number of each wireless sub-frame:
rvindex=NTTImod RVnum;(2)
Wherein, rvindexFor the redundancy versions serial number of each wireless sub-frame, RVnumFor the redundancy versions number, NTTI For the System Frame Number of each wireless sub-frame.
With reference to first aspect, in the 7th kind of possible implementation of first aspect, the selecting module, comprising:
Second acquisition unit obtains the number of each wireless sub-frame for the size of data according to second data According to the initial position of selection;
Second selecting unit, for selecting a starting from the initial position that the data of each wireless sub-frame select Position;
Third selecting unit, the number for that can be carried according to the selected initial position and each wireless sub-frame According to size, from the third data that continuously circulation selection is transmitted on each wireless sub-frame in second data.
Second aspect, the present invention provides a kind of methods of data transmission, which comprises
First data to be transmitted are encoded, the second data are obtained;
Determine multiple wireless sub-frames needed for transmitting second data and each nothing in the multiple wireless sub-frame The size of data that line subframe can carry;
According to the size of data that the size of data of second data and each wireless sub-frame can carry, from described The third data transmitted on each wireless sub-frame, the third transmitted on each wireless sub-frame are selected in second data The size of data of data is identical as the size of data that each wireless sub-frame can carry;
The third data are transmitted on each wireless sub-frame respectively.
It is in the first possible implementation of the second aspect, described according to second data in conjunction with second aspect Size of data and the size of data that can carry of each wireless sub-frame, selection is described each from second data The third data transmitted on wireless sub-frame, comprising:
According to the size of data of second data, the initial position of the data selection of each wireless sub-frame is obtained;
It can be carried according to the initial position of the data of each wireless sub-frame selection and each wireless sub-frame Size of data, from the third data that selection is transmitted on each wireless sub-frame in second data.
The first in conjunction with second aspect is possible, in a second possible implementation of the second aspect, the basis The size of data of second data obtains the initial position of the data selection of each wireless sub-frame, comprising:
According to the size of data that the size of data of second data and each wireless sub-frame can carry, calculates and pass Redundancy versions number needed for defeated second data;
According to the redundancy versions number, the redundancy versions sequence for the third data transmitted on each wireless sub-frame is obtained Number;
According to the third data transmitted in the size of data, redundancy versions number and each wireless sub-frame of second data Redundancy versions serial number, calculate the initial position of the data selection of each wireless sub-frame.
Second in conjunction with second aspect is possible, described according to institute in the third possible implementation of second aspect State the redundancy versions sequence for the third data transmitted in the size of data, redundancy versions number and each wireless sub-frame of the second data Number, calculate the initial position of the data selection of each wireless sub-frame, comprising:
According to the line number of interleaver used in the size of data of second data and second data, the friendship is calculated Knit the columns of device;
According to the columns of the interleaver, the size of data of second data, the redundancy versions number and described every The redundancy versions serial number for the third data transmitted on a wireless sub-frame is calculated by following formula (1) described each wireless respectively The initial position of the data selection of subframe:
Wherein, k0 is the initial position of the data selection of each wireless sub-frame,For the column of the interleaver Number, NcbFor the size of data of second data, RVnumFor the redundancy versions number, rvindexFor each wireless sub-frame The redundancy versions serial number of the third data of upper transmission.
Second in conjunction with second aspect is possible, in the fourth possible implementation of the second aspect, the basis The size of data that the size of data of second data and each wireless sub-frame can carry calculates transmission second number According to required redundancy versions number, comprising:
Calculate the size of data of second data and the ratio of size of data that each wireless sub-frame can carry;
By the upper rounding of the ratio or lower rounding as redundancy versions number needed for transmitting second data.
Second in conjunction with second aspect is possible, described according to institute in the 5th kind of possible implementation of second aspect State the redundancy versions serial number that redundancy versions number obtains each wireless sub-frame, comprising:
Obtain the System Frame Number of each wireless sub-frame;
According to the System Frame Number of each wireless sub-frame and the redundancy versions number, each wireless sub-frame is calculated Redundancy versions serial number.
It is described according to institute in the 6th kind of possible implementation of second aspect in conjunction with the 5th kind of possibility of second aspect State each wireless sub-frame System Frame Number and the redundancy versions number, calculate the redundancy versions sequence of each wireless sub-frame Number, comprising:
According to the System Frame Number of each wireless sub-frame and the redundancy versions number, calculated by following formula (2) The redundancy versions serial number of each wireless sub-frame:
rvindex=NTTImod RVnum;(2)
Wherein, rvindexFor the redundancy versions serial number of each wireless sub-frame, RVnumFor the redundancy versions number, NTTi For the System Frame Number of each wireless sub-frame.
It is described according to second data in the 7th kind of possible implementation of second aspect in conjunction with second aspect The size of data that size of data and each wireless sub-frame can carry, selection is in each nothing from second data The third data transmitted in line subframe, comprising:
According to the size of data of second data, the initial position of the data selection of each wireless sub-frame is obtained;
An initial position is selected from the initial position that the data of each wireless sub-frame select;
According to the size of data that the selected initial position and each wireless sub-frame can carry, from described second The third data that continuously circulation selection is transmitted on each wireless sub-frame in data.
The third aspect, the present invention provides a kind of devices of data transmission, and described device includes: processor and transmitter;
The processor obtains the second data for encoding to the first data to be transmitted;
The processor, be also used to determine transmit second data needed for multiple wireless sub-frames and the multiple The size of data that each wireless sub-frame in wireless sub-frame can carry;
The processor is also used to be carried according to the size of data and each wireless sub-frame of second data Size of data, from selecting the third data transmitted on each wireless sub-frame, each nothing in second data The size of data for the third data transmitted in line subframe is identical as the size of data that each wireless sub-frame can carry;
The transmitter is also used to transmit the third data on each wireless sub-frame respectively.
In conjunction with the third aspect, in the first possible implementation of the third aspect, the processor is also used to basis The size of data of second data obtains the initial position of the data selection of each wireless sub-frame;
The processor, the initial position for being also used to be selected according to the data of each wireless sub-frame and each nothing The size of data that line subframe can carry, from the third number that selection is transmitted on each wireless sub-frame in second data According to.
The first in conjunction with the third aspect is possible, in the second possible implementation of the third aspect, the processing Device is also used to the size of data that can be carried according to the size of data and each wireless sub-frame of second data, calculates Redundancy versions number needed for transmitting second data;
The processor, is also used to according to the redundancy versions number, obtains the transmitted on each wireless sub-frame The redundancy versions serial number of three data;
The processor is also used to according to the size of data of second data, redundancy versions number and each wireless son The redundancy versions serial number for the third data transmitted on frame calculates the initial position of the data selection of each wireless sub-frame.
In conjunction with second of the third aspect may, in the third possible implementation of the third aspect, the processor, It is also used to the line number of the interleaver according to used in the size of data of second data and second data, calculates the intertexture The columns of device;
The processor is also used to the columns according to the interleaver, the size of data of second data, the redundancy The redundancy versions serial number for the third data transmitted in number of versions and each wireless sub-frame passes through following formula (1) respectively Calculate the initial position of the data selection of each wireless sub-frame:
Wherein, k0 is the initial position of the data selection of each wireless sub-frame,For the column of the interleaver Number, NcbFor the size of data of second data, RVnumFor the redundancy versions number, rvindexFor each wireless sub-frame The redundancy versions serial number of the third data of upper transmission.
Second in conjunction with the third aspect is possible, in the fourth possible implementation of the third aspect, the processing Device is also used to calculate the size of data of second data and the ratio of size of data that each wireless sub-frame can carry Value;
The processor is also used to the upper rounding of the ratio or lower rounding as needed for transmission second data Redundancy versions number.
In conjunction with second of the third aspect may, in the 5th kind of possible implementation of the third aspect, the processor, It is also used to obtain the System Frame Number of each wireless sub-frame;
The processor is also used to System Frame Number and the redundancy versions number according to each wireless sub-frame, meter Calculate the redundancy versions serial number of each wireless sub-frame.
In conjunction with the 5th kind of possibility of the third aspect, in the 6th kind of possible implementation of the third aspect, the processor, It is also used to the System Frame Number and the redundancy versions number according to each wireless sub-frame, calculates institute by following formula (2) State the redundancy versions serial number of each wireless sub-frame:
rvindex=NTTImod RVnum;(2)
Wherein, rvindexFor the redundancy versions serial number of each wireless sub-frame, RVnumFor the redundancy versions number, NTTI For the System Frame Number of each wireless sub-frame.
In conjunction with the third aspect, in the 7th kind of possible implementation of the third aspect, the processor is also used to according to institute The size of data of the second data is stated, the initial position of the data selection of each wireless sub-frame is obtained;
The processor is also used to one starting of selection from the initial position that the data of each wireless sub-frame select Position;
The processor is also used to the number that can be carried according to the selected initial position and each wireless sub-frame According to size, from the third data that continuously circulation selection is transmitted on each wireless sub-frame in second data.
The beneficial effect of technical solution provided in an embodiment of the present invention is: encoding, obtains to the first data to be transmitted To the second data;The wireless son of each of multiple wireless sub-frames and multiple wireless sub-frames needed for determining the second data of transmission The size of data that frame can carry;According to the size of data that the size of data of the second data and each wireless sub-frame can carry, From selecting the third data transmitted on each wireless sub-frame in the second data, the third data transmitted on each wireless sub-frame The size of data that the corresponding wireless sub-frame of size of data can carry is identical;Third is transmitted on each wireless sub-frame respectively Data.Since the present invention is the size of data that can be carried according to the size of data and each wireless sub-frame of the second data, from The third data transmitted on each wireless sub-frame are selected to reduce so as to transmit whole information bits in two data Code rate improves coding gain.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the schematic diagram of the initial position for the data selection that background of invention provides;
Fig. 2 is a kind of apparatus structure schematic diagram for data transmission that the embodiment of the present invention 1 provides;
Fig. 3 is a kind of method flow diagram for data transmission that the embodiment of the present invention 2 provides;
Fig. 4 is a kind of method flow diagram for data transmission that the embodiment of the present invention 3 provides;
Fig. 5 is a kind of apparatus structure schematic diagram for data transmission that the embodiment of the present invention 4 provides.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Embodiment 1
Referring to fig. 2, the embodiment of the invention provides a kind of device of data transmission, which can be terminal or base It stands, which includes: coding module 101, determining module 102, selecting module 103 and transmission module 104.
Coding module 101 obtains the second data for encoding to the first data to be transmitted;
When terminal will transmit data to base station or when base station is to terminal transmission data, coding module 101 obtains to be passed Defeated data, using data to be transmitted as the first data, in order to improve the anti-interference ability of the first data, to the first data into Row coding, obtains the second data.
Coding module 101 can encode the first data to be transmitted using any coding mode, such as to be transmitted The first data carry out Turbo2/3 or Turbo1/3 coding, obtain the second data.
For example, the size of data of the first data to be transmitted is 1000, then Turbo1/3 coding is carried out to the first data, obtained To the second data, then the size of data of the second data is 3000.
The detailed process that first data are carried out with Turbo1/3 coding is the prior art, is no longer described in detail herein.
Determining module 102, in multiple wireless sub-frames and multiple wireless sub-frames needed for determining the second data of transmission The size of data that can carry of each wireless sub-frame;
When terminal transmits the second data to base station, alternatively, determining module is true when base station is to the second data of terminal transmission Surely multiple wireless sub-frames needed for the second data are transmitted, the second data are then transmitted on determining wireless sub-frame.
Wherein it is determined that module determines the process for the size of data that each wireless sub-frame in multiple wireless sub-frames can carry It is as follows:
For each wireless sub-frame, the number for transmitting available bit in total of a transmission block is expressed as G, i.e. G is The resource that a transmission block can occupy on this wireless sub-frame, in embodiments of the present invention, G are illustrated in bit levels =288.
Enable G`=G/ (NL*Qm), NLIt is equal to 2 when using transmission diversity, in the case of other, NLEqual to one transmission block reflects It is mapped to the number namely N of layerLEqual to 1.When the modulation system used is QPSK, Qm=2;When the modulation system used for When 16QAM, Qm=4;When the modulation system used is 64QAM, Qm=6.
Enabling y=G`modC, C is the number of code block, and the number of code block is related with the size of data of the first data, if first When the size of data of data is within the scope of 0-6144, C=1, if the size of data of the first data is within the scope of 6145-12289 When, C=2, if the size of data of the first data is within the scope of 12290-184334, C=3, and so on.
Enable Er=NL*Qm* y, ErIt indicates the size of data that can be carried on the wireless sub-frame, namely is every time the wireless son Frame selects size of data for Er
For example, G=288, NL=1, the modulation system that the present invention uses is QPSK namely Qm=2, then G`=G/ (NL*Qm) =144, the size of data of the first data is 1000,1000 within the scope of 0-6144, then C=1;Then y=G`modC=144, Er =NL*Qm* y=1*2*144=288, i.e., the size of data that can be carried on the wireless sub-frame are 288 bits, namely selection every time The size of data of data is 288 bits.
It should be noted that calculate the data that can be carried on the wireless sub-frame by the above process big for each wireless sub-frame It is small, and the size of data that can be carried on each wireless sub-frame may be identical, it is also possible to it is different.
Selecting module 103, the data that can be carried for the size of data and each wireless sub-frame according to the second data are big It is small, from selecting the third data transmitted on each wireless sub-frame, the third number transmitted on each wireless sub-frame in the second data According to size of data it is identical as the size of data that each wireless sub-frame can carry;
Wherein, selecting module 103, comprising: first acquisition unit and first selecting unit.
First acquisition unit obtains the data selection of each wireless sub-frame for the size of data according to the second data Initial position;
When transmitting the second data, by the second Deta bearer on wireless sub-frame, therefore, it is necessary to be obtained by first acquisition unit The initial position for taking the data of each wireless sub-frame to select, according to the initial position that the data of each wireless sub-frame select, from the The third data being carried on the wireless sub-frame are selected in two data.
Wherein, first acquisition unit, comprising: the first computation subunit obtains subelement and the second computation subunit,.
First computation subunit, the data that can be carried for the size of data and each wireless sub-frame according to the second data Size, redundancy versions number needed for calculating the second data of transmission;
First computation subunit, the data that size of data and each wireless sub-frame for calculating the second data can carry The ratio of size;By the upper rounding of the ratio or lower rounding as redundancy versions number needed for the second data of transmission.
If the ratio is integer, the first computation subunit is directly using the ratio as superfluous needed for the second data of transmission Remaining number of versions;If the ratio is non-integer, the integer part of the ratio is added one to be used as transmission by the first computation subunit Redundancy versions number needed for second data;If the ratio is non-integer, the work that can also subtract one for the integer part of the ratio For redundancy versions number needed for the second data of transmission.
For example, the size of data of the second data is 3000 bits, the size of data that each wireless sub-frame can carry is 288 Bit, then the integer part that 3000 and 288 ratio is 10.4,10.4 is 10, in embodiments of the present invention by 10 plus 1 namely 11 As redundancy versions number RV needed for the second data of transmissionnum
Wherein, the initial position of the corresponding data selection of every kind of redundancy versions.
Subelement is obtained, for obtaining the superfluous of the third data transmitted on each wireless sub-frame according to redundancy versions number Remaining version serial number;
When transmitting the second data, redundancy versions, the corresponding number of each redundancy versions are selected from redundancy versions set According to the initial position of selection, the initial position of the corresponding data selection of redundancy versions of selection is obtained, according to the initial position, from The third data transmitted on each wireless sub-frame are selected in second data.It is transmitted on each wireless sub-frame therefore, it is necessary to obtain Third data redundancy versions serial number.
Wherein, the value range of the redundancy versions serial number for the third data transmitted on each wireless sub-frame is 0~redundancy version This number -1.
Wherein, subelement is obtained, is also used to obtain the System Frame Number of each wireless sub-frame;What it is according to each wireless sub-frame is System frame number and redundancy versions number, calculate the redundancy versions serial number of each wireless sub-frame.
Wherein, subelement is obtained, the System Frame Number and redundancy versions number according to each wireless sub-frame are also used to, by such as Lower formula (2) calculates the redundancy versions serial number of each wireless sub-frame:
rvindex=NTTImod RVnum;(2)
Wherein, rvindexFor the redundancy versions serial number of each wireless sub-frame, RVnumFor redundancy versions number, NTTIFor each nothing The System Frame Number of line subframe.
For example, the System Frame Number of current wireless sub-frame is 23, then 23 and 11 remainder is 1, then current wireless sub-frame is superfluous Remaining version serial number 1.
In this step, redundancy versions sequence can also be selected from redundancy versions set according to the number for sending wireless sub-frame Number.For example, wireless sub-frame selects redundancy versions 0 when sending the second data for the first time, when sending the second data for the second time, wirelessly Subframe selects redundancy versions 1, RVnumWhen the second data of secondary transmission, wireless sub-frame selects redundancy versions RVnum- 1, RVnum+1 When the second data of secondary transmission, wireless sub-frame selects redundancy versions 0, circuits sequentially.
Wherein, the second computation subunit, for according to the size of data of the second data, redundancy versions number and each wireless The redundancy versions serial number for the third data transmitted in subframe calculates the initial position of the data selection of each wireless sub-frame.
Second computation subunit, specifically for the interleaver according to used in the size of data of the second data and the second data Line number calculates the columns of interleaver;According to the columns of interleaver, the size of data of the second data, redundancy versions number and each The redundancy versions serial number for the third data transmitted on wireless sub-frame calculates each wireless sub-frame by following formula (1) respectively The initial position of data selection:
Wherein, the line number of interleaver is fixed value 32, and the columns of interleaver is set according to the size of data of the first data It sets, and the columns of interleaver meets+4 < of size of data=(the line number * columns of the interleaver) minimum value of the first data.
For example, the size of data of the first data is 1000, then 1000+4 <=(columns of 32* interleaver), then calculate Columns to interleaver is 32.The size of data N of second datacbIt is 3000, redundancy versions number RVnumIt is 11, each wireless son The redundancy versions serial number rv of frameindexRespectively 0,1,2,3,4,5,6,7,8,9,10, then be calculated each by above formula The initial position of the data selection of wireless sub-frame is respectively 64,336,609,882,1154,1427,1699,1972,2245, 2517、2790。
First selecting unit, initial position and each wireless sub-frame energy for being selected according to the data of each wireless sub-frame The size of data enough carried, from the third data that selection is transmitted on each wireless sub-frame in the second data.
Wherein, the data that the size of data for the third data transmitted on each wireless sub-frame and the wireless sub-frame can carry Size is identical.
First selecting unit, the initial position for being selected according to the data of each wireless sub-frame should from the second data The original position of the data selection of wireless sub-frame starts, the third number for the size of data for selecting the wireless sub-frame that can carry According to.
For example, the size of data that each wireless sub-frame can carry is identical, and it is all 288 bits, then it is wireless according to first Subframe data selection 64 bit of initial position, from 64 bits in the second data select 288 bit datas, namely First wireless sub-frame selects 64-351 bit data;Compared according to the initial position 336 of the data of second wireless sub-frame selection Spy, from 336 bits in the second data select 288 bit datas namely second wireless sub-frame to select 336-623 bit Data;According to 609 bit of initial position that the data of third wireless sub-frame select, since in the second data at 609 bits 288 bit datas namely third wireless sub-frame are selected to select 609-896 bit data;According to the number of the 4th wireless sub-frame According to the initial position 882 of selection, from 882 in the second data select 288 bit datas namely the 4th wireless sub-frame choosing Select 882-1169 bit data;According to the initial position 1154 of the data of the 5th wireless sub-frame selection, from the second data Start to select 288 bit datas namely the 5th wireless sub-frame selection 1154-1441 bit data at 1154;According to the 6th The initial position 1427 of the data selection of wireless sub-frame, from 1427 in the second data select 288 bit datas, Ye Ji Six wireless sub-frames select 1427-1714 bit data;According to the initial position 1699 of the data of the 7th wireless sub-frame selection, 288 bit datas namely the 7th wireless sub-frame are selected to select 1699-1986 bit number from 1699 in the second data According to;According to the initial position 1972 of the data of the 8th wireless sub-frame selection, from 1972 in the second data 288 ratio of selection Special data namely the 8th wireless sub-frame select 1972-2259 bit data;According to the selection of the data of the 9th wireless sub-frame Initial position 2245, from 2245 in the second data select 288 bit datas namely the 9th wireless sub-frame selection 2245-2532 bit data;According to the initial position 2517 of the data of the tenth wireless sub-frame selection, 2517 from the second data Place starts to select 288 bit datas namely the tenth wireless sub-frame selection 2517-2804 bit data;According to the 11st nothing The initial position 2790 of the data selection of line subframe, from 2790 in the second data select 288 bit datas, due to second The size of data of data is 3000, then 2790-2999 bit data namely 210 bit datas is selected from the second data, then 78 bit data of reselection since 0, namely selection 0-77 bit, then the 11st wireless sub-frame selects 2790-3000 and 0- 77 bit datas.
It can be seen that the 0-2999 of the second data is selected namely the second data are all transmitted, the second data do not have It is dropped, reduces code rate, improve coding gain.
For another example, the size of data that first wireless sub-frame can carry is 288, and the initial position that data select is 14, the The size of data that two wireless sub-frames can carry is 144, and the initial position that data select is 200, then from first wireless son The third data that frame is selected from the second data are 14-301, the third data that second wireless sub-frame is selected from the second data For 200-343.
Wherein, selecting module 103, further includes: second acquisition unit, the second selecting unit and third selecting unit;
Second acquisition unit obtains the data selection of each wireless sub-frame for the size of data according to the second data Initial position;
Wherein, second acquisition unit obtains the initial position of the data selection of each wireless sub-frame and first acquisition unit obtains The initial position for taking the data of each wireless sub-frame to select is identical, and details are not described herein.
Second selecting unit, for selecting a start bit from the initial position that the data of each wireless sub-frame select It sets;
Wherein it is possible to an initial position is randomly choosed from the initial position that the data of each wireless sub-frame select, It can choose the initial position of the data selection of the corresponding wireless sub-frame of redundancy versions 0.
Third selecting unit, for the size of data that the initial position and each wireless sub-frame according to selection can carry, From the third data that continuously circulation selection is transmitted on each wireless sub-frame in the second data.
It can be held when the last one bit data of the initial position of data selection to the second data is less than the wireless sub-frame When the size of data of load, select the initial position of data selection to the last one bit number of the second data from the second data According to then starting the cycle over selection data from first bit of the second data, select this wireless until third size of data is equal to The size of data that can be carried in subframe.
For example, the size of data of the second data is 3000, then the bit range of the second data is 0-2999, data selection Initial position is 2944, and the size of data which can carry is 288 bits, then the size of data of 2944-2999 is 55 to be less than the size of data that can carry of the wireless sub-frame be 288, then 2944-2999 and 0-231 is selected from the second data Bit data.
For example, the initial position for selecting the data of the corresponding wireless sub-frame of redundancy versions 0 to select is 64, each wireless sub-frame The size of data that can be carried is 288 bits, then since at 64 bits of the second data, first wireless sub-frame is counted from second According to middle selection 64-351 bit data, second wireless sub-frame selects 352-639 from the second data, third wireless sub-frame from Select 640-927 in second data, the 4th wireless sub-frame selects 928-1215 from the second data, the 5th wireless sub-frame from 1216-1503 is selected in second data, the 6th wireless sub-frame selects 1504-1791, the 7th wireless son from the second data Frame selects 1792-2079 from the second data, and the 8th wireless sub-frame selects 2080-2367, the 9th nothing from the second data Line subframe selects 2368-2655 from the second data, and the tenth wireless sub-frame selects 2656-2943 from the second data, and the tenth One wireless sub-frame selects 2944-2999 and 0-231 from the second data.
Transmission module 104, for transmitting third data on each wireless sub-frame respectively.
Wherein, transmission module includes: modulation unit, the first load bearing unit, the second load bearing unit and transmission unit;
Modulation unit obtains modulated third data for third data to be modulated processing respectively;
The bit of third data is successively linked in sequence, continuous coded-bit is obtained, by continuous coded-bit It is modulated processing, obtains modulated third data.
Third data can be carried out with any modulation treatment, such as QPSK modulation, 16QAM or 64QAM in the present invention, Modulation system is not specifically limited in the present invention, and being modulated processing to third data is the prior art, herein not It is described in detail again.
First load bearing unit, for obtaining multiple respectively by modulated third Deta bearer in a wireless sub-frame Carry the wireless sub-frame of third data;
Second load bearing unit, for each wireless sub-frame in the wireless sub-frame of multiple third data to be carried on one respectively On a resource block, the resource block of multiple carrying third data is obtained.
When terminal sends the second data to base station or when base station sends the second data to terminal, nothing cannot be directly transmitted Line subframe needs for wireless sub-frame to be carried on resource block, namely in this step, obtains the corresponding resource of each wireless sub-frame Each wireless sub-frame is carried on the corresponding resource block of the wireless sub-frame by block.
Transmission unit, for successively transmitting multiple resource blocks.
Once one resource block of transmission, is successively transferred to base station for the resource block of obtained multiple carrying third data, or The resource block of obtained multiple carrying third data is successively transferred to terminal by person.
Further, base station successively receives the resource block of the carrying third data of terminal transmission, obtains and adjusts from resource block Third data after system demodulate modulated third data, obtain multiple third data, to multiple third data into Row decoding, obtains the first data.
Alternatively, terminal successively receives the resource block of the carrying third data of base station transmission, after obtaining modulation from resource block Third data, modulated third data are demodulated, multiple third data are obtained, multiple third data are solved Code, obtains the first data.
If the base station determine that some third data is damaged in transmission process, then base station can also send retransmission It requests to terminal, retransmission request carries the mark for needing the third data retransmitted;Terminal receives what base station was sent Request is retransmitted, and obtains the mark for the third data that the needs carried in retransmission request retransmit, according to this The mark of third data obtains the third data, by the third Deta bearer on the corresponding resource block of wireless sub-frame, Xiang Jizhan Send the resource block.
In embodiments of the present invention, the first data to be transmitted are encoded, obtains the second data;Determine transmission second The size of data that each wireless sub-frame in multiple wireless sub-frames and multiple wireless sub-frames needed for data can carry;Root According to the size of data that the size of data and each wireless sub-frame of the second data can carry, selection is in each nothing from the second data The third data transmitted in line subframe, the corresponding wireless son of the size of data for the third data transmitted on each wireless sub-frame The size of data that frame can carry is identical;Third data are transmitted on each wireless sub-frame respectively.Since the present invention is according to The size of data that the size of data of two data and each wireless sub-frame can carry, selection is in each wireless son from the second data The third data transmitted on frame reduce code rate, improve coding gain so as to transmit whole information bits.
Embodiment 2
Referring to Fig. 3, the embodiment of the invention provides a kind of method of data transmission, the executing subject of this method can be for eventually End or base station, wherein this method comprises:
Step 201: the first data to be transmitted being encoded, the second data are obtained;
Step 202: multiple wireless sub-frames needed for determining the second data of transmission and each nothing in multiple wireless sub-frames The size of data that line subframe can carry;
Step 203: the size of data that can be carried according to the size of data of the second data and each wireless sub-frame, from second The third data transmitted on each wireless sub-frame are selected in data, the data for the third data transmitted on each wireless sub-frame are big The small size of data that can be carried with each wireless sub-frame is identical;
Step 204: transmitting third data on each wireless sub-frame respectively.
In embodiments of the present invention, the first data to be transmitted are encoded, obtains the second data;Determine transmission second The size of data that each wireless sub-frame in multiple wireless sub-frames and multiple wireless sub-frames needed for data can carry;Root According to the size of data that the size of data and each wireless sub-frame of the second data can carry, selection is in each nothing from the second data The third data transmitted in line subframe, the corresponding wireless son of the size of data for the third data transmitted on each wireless sub-frame The size of data that frame can carry is identical;Third data are transmitted on each wireless sub-frame respectively.Since the present invention is according to The size of data that the size of data of two data and each wireless sub-frame can carry, selection is in each wireless son from the second data The third data transmitted on frame reduce code rate, improve coding gain so as to transmit whole information bits.
Embodiment 3
Referring to fig. 4, the embodiment of the invention provides a kind of methods of data transmission, and the executing subject of this method can be for eventually End or base station, wherein this method comprises:
Step 301: the first data to be transmitted being encoded, the second data are obtained;
When terminal will transmit data to base station, terminal obtains data to be transmitted, using data to be transmitted as first Data encode the first data to improve the anti-interference ability of the first data, obtain the second data.Alternatively,
When base station is to terminal transmission data, base station obtains data to be transmitted, using data to be transmitted as the first number According in order to improve the anti-interference ability of the first data, being encoded to the first data, obtain the second data.
First data to be transmitted can be encoded using any coding mode, such as to the first data to be transmitted into Row Turbo2/3 or Turbo1/3 coding, obtain the second data.
For example, the size of data of the first data to be transmitted is 1000, then Turbo1/3 coding is carried out to the first data, obtained To the second data, then the size of data of the second data is 3000.
The detailed process that first data are carried out with Turbo1/3 coding is the prior art, is no longer described in detail herein.
Step 302: multiple wireless sub-frames needed for determining the second data of transmission and each nothing in multiple wireless sub-frames The size of data that line subframe can carry;
When terminal transmits the second data to base station, multiple wireless sub-frames needed for base station determines the second data of transmission, to Terminal sends the System Frame Number of determining wireless sub-frame.
When base station is to the second data of terminal transmission, multiple wireless sons needed for base station directly determines the second data of transmission Then frame transmits the second data on determining wireless sub-frame.
Wherein it is determined that the process for the size of data that each wireless sub-frame in multiple wireless sub-frames can carry is as follows:
For each wireless sub-frame, the number for transmitting available bit in total of a transmission block is expressed as G, i.e. G is The resource that a transmission block can occupy on this wireless sub-frame, in embodiments of the present invention, G are illustrated in bit levels =288.
Enable G`=G/ (NL*Qm), NLIt is equal to 2 when using transmission diversity, in the case of other, NLEqual to one transmission block reflects It is mapped to the number namely N of layerLEqual to 1.When the modulation system used is QPSK, Qm=2;When the modulation system used for When 16QAM, Qm=4;When the modulation system used is 64QAM, Qm=6.
Enabling y=G`modC, C is the number of code block, and the number of code block is related with the size of data of the first data, if first When the size of data of data is within the scope of 0-6144, C=1, if the size of data of the first data is within the scope of 6145-12289 When, C=2, if the size of data of the first data is within the scope of 12290-184334, C=3, and so on.
Enable Er=NL*Qm* y, ErIt indicates the size of data that can be carried on the wireless sub-frame, namely is every time the wireless son Frame selects size of data for Er
For example, G=288, NL=1, the modulation system that the present invention uses is QPSK namely Qm=2, then G`=G/ (NL*Qm) =144, the size of data of the first data is 1000,1000 within the scope of 0-6144, then C=1;Then y=G`modC=144, Er =NL*Qm* y=1*2*144=288, i.e., the size of data that can be carried on the wireless sub-frame are 288 bits, namely selection every time The size of data of data is 288 bits.
It should be noted that calculate the data that can be carried on the wireless sub-frame by the above process big for each wireless sub-frame It is small, and the size of data that can be carried on each wireless sub-frame may be identical, it is also possible to it is different.
Step 303: according to the size of data of the second data, obtaining the initial position of the data selection of each wireless sub-frame;
When transmitting the second data, by the second Deta bearer on wireless sub-frame, therefore, it is necessary to obtain each wireless sub-frame The initial position of data selection selects carrying according to the initial position that the data of each wireless sub-frame select from the second data Third data on the wireless sub-frame.
Wherein, step 303 can be realized by following steps (1) to (3), comprising:
(1): the size of data that can be carried according to the size of data of the second data and each wireless sub-frame calculates transmission the Redundancy versions number needed for two data;
Specifically, the ratio for the size of data that the size of data of the second data of calculating and each wireless sub-frame can carry, By the upper rounding of the ratio or lower rounding as redundancy versions number needed for the second data of transmission.
It should be noted that if the ratio is integer, directly using the ratio as superfluous needed for the second data of transmission Remaining number of versions;If the ratio be non-integer, by the integer part of the ratio add one as transmit the second data needed for Redundancy versions number;If the ratio is non-integer, the integer part of the ratio can also be subtracted one as the second data of transmission Required redundancy versions number.
For example, the size of data of the second data is 3000 bits, the size of data that each wireless sub-frame can carry is 288 Bit, then the integer part that 3000 and 288 ratio is 10.4,10.4 is 10, in embodiments of the present invention by 10 plus 1 namely 11 As redundancy versions number RV needed for the second data of transmissionnum
Wherein, the initial position of the corresponding data selection of every kind of redundancy versions.
(2): according to redundancy versions number, obtaining the redundancy versions serial number for the third data transmitted on each wireless sub-frame;
When transmitting the second data, redundancy versions, the corresponding number of each redundancy versions are selected from redundancy versions set According to the initial position of selection, the initial position of the corresponding data selection of redundancy versions of selection is obtained, according to the initial position, from The third data transmitted on each wireless sub-frame are selected in second data.It is transmitted on each wireless sub-frame therefore, it is necessary to obtain Third data redundancy versions serial number.
Wherein, the value range of the redundancy versions serial number for the third data transmitted on each wireless sub-frame is 0~redundancy version This number -1.
Step (2) can be with are as follows: the System Frame Number for obtaining each wireless sub-frame, according to the System Frame Number of each wireless sub-frame and Redundancy versions number calculates the redundancy versions serial number of each wireless sub-frame.
Specifically, it according to the System Frame Number of each wireless sub-frame and redundancy versions number, is calculated by following formula (2) every The redundancy versions serial number of a wireless sub-frame:
rvindex=NTTImod RVnum;(2)
Wherein, rvindexFor the redundancy versions serial number of each wireless sub-frame, RVnumFor redundancy versions number, NTTIFor each nothing The System Frame Number of line subframe.
For example, the System Frame Number of current wireless sub-frame is 23, then 23 and 11 remainder is 1, then current wireless sub-frame is superfluous Remaining version serial number 1.
In this step, redundancy versions sequence can also be selected from redundancy versions set according to the number for sending wireless sub-frame Number.For example, wireless sub-frame selects redundancy versions 0 when sending the second data for the first time, when sending the second data for the second time, wirelessly Subframe selects redundancy versions 1, RVnumWhen the second data of secondary transmission, wireless sub-frame selects redundancy versions RVnum- 1, RVnum+1 When the second data of secondary transmission, wireless sub-frame selects redundancy versions 0, circuits sequentially.
(3): the third data transmitted on the size of data of the second data, redundancy versions number and each wireless sub-frame it is superfluous Remaining version serial number calculates the initial position of the data selection of each wireless sub-frame.
Step (3) can be realized by following steps (3-1) to (3-2), comprising:
(3-1): according to the line number of interleaver used in the size of data of the second data and the second data, interleaver is calculated Columns
Before transmitting the second data, need to be interleaved the second data by interleaver, i.e., by the every of the second data A bit stream is entered the matrix of interleaver by row write, is carried out column permutation to matrix, then read each bit stream by column, is obtained bit stream v0 (i), v1 (i), v2 (i), i=0,1,2, KIIIt is the bit of each bit stream in three bit streams of a code block after being interleaved Number.The stream of i=0 contains information bit, these three bit streams are put into caching, for data cached, the size N of cachingcb =Kw=3KII, remember that the bit in caching is wk, k=0 ... Ncb-1。wk=vk (0), wKII+2k=vk (1), wKII+2k+1=vk (2), k=0 ... KII-1.Therefore, the second data discharge in the buffer is as shown in table 1 below:
Table 1
KIIBit (K containing information bitr) 2KIICheck bit
Wherein, the line number of interleaver is fixed value 32, and the columns of interleaver is set according to the size of data of the first data It sets, and the columns of interleaver meets+4 < of size of data=(the line number * columns of the interleaver) minimum value of the first data.
For example, the size of data of the first data is 1000, then 1000+4 <=(columns of 32* interleaver), then calculate Columns to interleaver is 32.
(3-2): according to the columns of interleaver, the size of data of the second data, redundancy versions number and each wireless sub-frame The redundancy versions serial number of the third data of upper transmission is selected by the data that following formula (1) calculates each wireless sub-frame respectively Initial position:
Wherein, k0 is the initial position of the data selection of each wireless sub-frame,For the columns of interleaver, NcbIt is The size of data of two data, RVnumFor redundancy versions number, rvindexRedundancy for the third data transmitted on each wireless sub-frame Version serial number.
For example, the columns of interleaverIt is 32, the size of data N of the second datacbIt is 3000, redundancy versions number RVnumIt is 11, the redundancy versions serial number rv of each wireless sub-frameindexRespectively 0,1,2,3,4,5,6,7,8,9,10, then by with Upper formula be calculated the initial position of the data selection of each wireless sub-frame be respectively 64,336,609,882,1154,1427, 1699、1972、2245、2517、2790。
Step 304: can be carried according to the initial position of the data of each wireless sub-frame selection and each wireless sub-frame Size of data, from the third data that selection is transmitted on each wireless sub-frame in the second data;
Wherein, the data that the size of data for the third data transmitted on each wireless sub-frame and the wireless sub-frame can carry Size is identical.
Step 304 can be with are as follows: according to the initial position that the data of each wireless sub-frame select, this is wireless from the second data The original position of the data selection of subframe starts, the third data for the size of data for selecting the wireless sub-frame that can carry.
For example, the size of data that each wireless sub-frame can carry is identical, and it is all 288 bits, then it is wireless according to first Subframe data selection 64 bit of initial position, from 64 bits in the second data select 288 bit datas, namely First wireless sub-frame selects 64-351 bit data;Compared according to the initial position 336 of the data of second wireless sub-frame selection Spy, from 336 bits in the second data select 288 bit datas namely second wireless sub-frame to select 336-623 bit Data;According to 609 bit of initial position that the data of third wireless sub-frame select, since in the second data at 609 bits 288 bit datas namely third wireless sub-frame are selected to select 609-896 bit data;According to the number of the 4th wireless sub-frame According to the initial position 882 of selection, from 882 in the second data select 288 bit datas namely the 4th wireless sub-frame choosing Select 882-1169 bit data;According to the initial position 1154 of the data of the 5th wireless sub-frame selection, from the second data Start to select 288 bit datas namely the 5th wireless sub-frame selection 1154-1441 bit data at 1154;According to the 6th The initial position 1427 of the data selection of wireless sub-frame, from 1427 in the second data select 288 bit datas, Ye Ji Six wireless sub-frames select 1427-1714 bit data;According to the initial position 1699 of the data of the 7th wireless sub-frame selection, 288 bit datas namely the 7th wireless sub-frame are selected to select 1699-1986 bit number from 1699 in the second data According to;According to the initial position 1972 of the data of the 8th wireless sub-frame selection, from 1972 in the second data 288 ratio of selection Special data namely the 8th wireless sub-frame select 1972-2259 bit data;According to the selection of the data of the 9th wireless sub-frame Initial position 2245, from 2245 in the second data select 288 bit datas namely the 9th wireless sub-frame selection 2245-2532 bit data;According to the initial position 2517 of the data of the tenth wireless sub-frame selection, 2517 from the second data Place starts to select 288 bit datas namely the tenth wireless sub-frame selection 2517-2804 bit data;According to the 11st nothing The initial position 2790 of the data selection of line subframe, from 2790 in the second data select 288 bit datas, due to second The size of data of data is 3000, then 2790-2999 bit data namely 210 bit datas is selected from the second data, then 78 bit data of reselection since 0, namely selection 0-77 bit, then the 11st wireless sub-frame selects 2790-3000 and 0- 77 bit datas.
It can be seen that the 0-2999 of the second data is selected namely the second data are all transmitted, the second data do not have It is dropped, reduces code rate, improve coding gain.
For example, the size of data that first wireless sub-frame can carry is 288, the initial position that data select is 14, the The size of data that two wireless sub-frames can carry is 144, and the initial position that data select is 200, then from first wireless son The third data that frame is selected from the second data are 14-301, the third data that second wireless sub-frame is selected from the second data For 200-343.
Wherein, step 304 could alternatively be: from selection one in the initial position that the data of each wireless sub-frame select Beginning position is continuously followed from the second data according to the size of data that the initial position of selection and each wireless sub-frame can carry Ring selects the third data transmitted on each wireless sub-frame.
It can be held when the last one bit data of the initial position of data selection to the second data is less than the wireless sub-frame When the size of data of load, select the initial position of data selection to the last one bit number of the second data from the second data According to then starting the cycle over selection data from first bit of the second data, select this wireless until third size of data is equal to The size of data that can be carried in subframe.
For example, the size of data of the second data is 3000, then the bit range of the second data is 0-2999, data selection Initial position is 2944, and the size of data which can carry is 288 bits, then the size of data of 2944-2999 is 55 to be less than the size of data that can carry of the wireless sub-frame be 288, then 2944-2999 and 0-231 is selected from the second data Bit data.
Wherein it is possible to an initial position is randomly choosed from the initial position that the data of each wireless sub-frame select, It can choose the initial position of the data selection of the corresponding wireless sub-frame of redundancy versions 0.
For example, in this step, the initial position for selecting the data of the corresponding wireless sub-frame of redundancy versions 0 to select is 64, The size of data that each wireless sub-frame can carry is 288 bits, then since at 64 bits of the second data, first wireless Subframe selects 64-351 bit data from the second data, and second wireless sub-frame selects 352-639, third from the second data A wireless sub-frame selects 640-927 from the second data, and the 4th wireless sub-frame selects 928-1215 from the second data, and the 5th A wireless sub-frame selects 1216-1503 from the second data, and the 6th wireless sub-frame selects 1504-1791 from the second data, 7th wireless sub-frame selects 1792-2079 from the second data, and the 8th wireless sub-frame selects 2080- from the second data 2367, the 9th wireless sub-frame selects 2368-2655 from the second data, and the tenth wireless sub-frame is selected from the second data 2656-2943, the 11st wireless sub-frame select 2944-2999 and 0-231 from the second data.
Step 305: transmitting third data on each wireless sub-frame respectively;
Step 305 can be realized by following steps (1) to (4), comprising:
(1): third data being modulated processing respectively, obtain modulated third data;
The bit of third data is successively linked in sequence, continuous coded-bit is obtained, by continuous coded-bit It is modulated processing, obtains modulated third data.
Third data can be carried out with any modulation treatment, such as QPSK modulation, 16QAM or 64QAM in the present invention, Modulation system is not specifically limited in the present invention, and being modulated processing to third data is the prior art, herein not It is described in detail again.
(2): respectively by modulated third Deta bearer on a wireless sub-frame, obtaining multiple carrying third data Wireless sub-frame;
(3): each wireless sub-frame in the wireless sub-frame of multiple third data being carried on a resource block respectively, is obtained To the resource block of multiple carrying third data.
When terminal sends the second data to base station or when base station sends the second data to terminal, nothing cannot be directly transmitted Line subframe needs for wireless sub-frame to be carried on resource block, namely in this step, obtains the corresponding resource of each wireless sub-frame Each wireless sub-frame is carried on the corresponding resource block of the wireless sub-frame by block.
(4): successively transmitting multiple resource blocks.
Once one resource block of transmission, is successively transferred to base station for the resource block of obtained multiple carrying third data, or The resource block of obtained multiple carrying third data is successively transferred to terminal by person.
Further, base station successively receives the resource block of the carrying third data of terminal transmission, obtains and adjusts from resource block Third data after system demodulate modulated third data, obtain multiple third data, to multiple third data into Row decoding, obtains the first data.
Alternatively, terminal successively receives the resource block of the carrying third data of base station transmission, after obtaining modulation from resource block Third data, modulated third data are demodulated, multiple third data are obtained, multiple third data are solved Code, obtains the first data.
If the base station determine that some third data is damaged in transmission process, then base station can also send retransmission It requests to terminal, retransmission request carries the mark for needing the third data retransmitted;Terminal receives what base station was sent Request is retransmitted, and obtains the mark for the third data that the needs carried in retransmission request retransmit, according to this The mark of third data obtains the third data, by the third Deta bearer on the corresponding resource block of wireless sub-frame, Xiang Jizhan Send the resource block.
In embodiments of the present invention, the first data to be transmitted are encoded, obtains the second data;Determine transmission second The size of data that each wireless sub-frame in multiple wireless sub-frames and multiple wireless sub-frames needed for data can carry;Root According to the size of data that the size of data and each wireless sub-frame of the second data can carry, selection is in each nothing from the second data The third data transmitted in line subframe, the corresponding wireless son of the size of data for the third data transmitted on each wireless sub-frame The size of data that frame can carry is identical;Third data are transmitted on each wireless sub-frame respectively.Since the present invention is according to The size of data that the size of data of two data and each wireless sub-frame can carry, selection is in each wireless son from the second data The third data transmitted on frame reduce code rate, improve coding gain so as to transmit whole information bits.
Embodiment 4
Referring to Fig. 5, the embodiment of the invention provides a kind of devices of data transmission, which can be terminal or base It stands, wherein the device includes: processor 401 and transmitter 402;
The processor 401 obtains the second data for encoding to the first data to be transmitted;
The processor 401, be also used to determine transmit second data needed for multiple wireless sub-frames and described more The size of data that each wireless sub-frame in a wireless sub-frame can carry;
The processor 401, being also used to can according to the size of data and each wireless sub-frame of second data The size of data of carrying, it is described every from the third data that selection is transmitted on each wireless sub-frame in second data The size of data for the third data transmitted on a wireless sub-frame is identical as the size of data that each wireless sub-frame can carry;
The transmitter 402 is also used to transmit the third data on each wireless sub-frame respectively.
Preferably, the processor 401 is also used to the size of data according to second data, obtains each nothing The initial position of the data selection of line subframe;
The processor 401, the initial position for being also used to be selected according to the data of each wireless sub-frame and described every The size of data that a wireless sub-frame can carry, from selection is transmitted on each wireless sub-frame in second data the Three data.
Preferably, the processor 401 is also used to size of data and each wireless sub-frame energy according to second data The size of data enough carried calculates redundancy versions number needed for transmitting second data;
The processor 401, be also used to according to the redundancy versions number, obtains and transmits on each wireless sub-frame The redundancy versions serial number of third data;
The processor 401 is also used to according to the size of data of second data, redundancy versions number and each wireless The redundancy versions serial number for the third data transmitted in subframe calculates the initial position of the data selection of each wireless sub-frame.
Preferably, the processor 401 is also used to size of data and the second data institute according to second data The line number of interleaver calculates the columns of the interleaver;
The processor 401 is also used to the size of data, described of the columns according to the interleaver, second data The redundancy versions serial number for the third data transmitted in redundancy versions number and each wireless sub-frame passes through following formula respectively (1) initial position of the data selection of each wireless sub-frame is calculated:
Wherein, k0 is the initial position of the data selection of each wireless sub-frame,For the column of the interleaver Number, NcbFor the size of data of second data, RVnumFor the redundancy versions number, rvindexFor each wireless sub-frame The redundancy versions serial number of the third data of upper transmission.
Preferably, processor 401, be also used to calculate second data size of data and each wireless sub-frame energy The ratio of the size of data enough carried;
Processor 401 is also used to the upper rounding of the ratio or lower rounding as needed for transmission second data Redundancy versions number.
Preferably, the processor 401 is also used to obtain the System Frame Number of each wireless sub-frame;
The processor 401 is also used to System Frame Number and the redundancy versions number according to each wireless sub-frame, Calculate the redundancy versions serial number of each wireless sub-frame.
Preferably, the processor 401 is also used to System Frame Number and the redundancy version according to each wireless sub-frame This number calculates the redundancy versions serial number of each wireless sub-frame by following formula (2):
rvindex=NTTImod RVnum;(2)
Wherein, rvindexFor the redundancy versions serial number of each wireless sub-frame, RVnumFor the redundancy versions number, NTTI For the System Frame Number of each wireless sub-frame.
Preferably, the processor 401 is also used to the size of data according to second data, obtains each nothing The initial position of the data selection of line subframe;
The processor 401 is also used to select one from the initial position that the data of each wireless sub-frame select Initial position;
The processor 401 is also used to be carried according to the selected initial position and each wireless sub-frame Size of data, from the continuous third data transmitted on each wireless sub-frame of circulation selection in second data.
In embodiments of the present invention, the first data to be transmitted are encoded, obtains the second data;Determine transmission second The size of data that each wireless sub-frame in multiple wireless sub-frames and multiple wireless sub-frames needed for data can carry;Root According to the size of data that the size of data and each wireless sub-frame of the second data can carry, selection is in each nothing from the second data The third data transmitted in line subframe, the corresponding wireless son of the size of data for the third data transmitted on each wireless sub-frame The size of data that frame can carry is identical;Third data are transmitted on each wireless sub-frame respectively.Since the present invention is according to The size of data that the size of data of two data and each wireless sub-frame can carry, selection is in each wireless son from the second data The third data transmitted on frame reduce code rate, improve coding gain so as to transmit whole information bits.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (18)

1. a kind of device of data transmission, which is characterized in that described device includes:
Coding module obtains the second data for encoding to the first data to be transmitted;
Determining module, for multiple wireless sub-frames and the multiple wireless sub-frame needed for determining transmission second data In the size of data that can carry of each wireless sub-frame;
Selecting module includes first acquisition unit and first selecting unit, and the first acquisition unit includes that the first calculating is single Member obtains subelement and the second computation subunit;
First computation subunit, for that can be held according to the size of data and each wireless sub-frame of second data The size of data of load calculates redundancy versions number needed for transmitting second data;
The acquisition subelement, for obtaining the third transmitted on each wireless sub-frame according to the redundancy versions number The redundancy versions serial number of data;
Second computation subunit, for according to the size of data of second data, redundancy versions number and each wireless The redundancy versions serial number for the third data transmitted in subframe calculates the initial position of the data selection of each wireless sub-frame;
The first selecting unit, initial position and each nothing for being selected according to the data of each wireless sub-frame The size of data that line subframe can carry, from the third number that selection is transmitted on each wireless sub-frame in second data According to the data that the size of data for the third data transmitted on each wireless sub-frame can be carried with each wireless sub-frame Size is identical;
Transmission module, for transmitting the third data on each wireless sub-frame respectively.
2. device as described in claim 1, which is characterized in that
Second computation subunit, for the intertexture according to used in the size of data of second data and second data The line number of device calculates the columns of the interleaver;According to the columns of the interleaver, the size of data of second data, institute The redundancy versions serial number for the third data transmitted on redundancy versions number and each wireless sub-frame is stated, respectively by following public Formula (1) calculates the initial position of the data selection of each wireless sub-frame:
Wherein, k0 is the initial position of the data selection of each wireless sub-frame,For the columns of the interleaver, Ncb For the size of data of second data, RVnumFor the redundancy versions number, rvindexTo be transmitted on each wireless sub-frame Third data redundancy versions serial number.
3. device as described in claim 1, which is characterized in that
First computation subunit, the size of data for calculating second data can be held with each wireless sub-frame The ratio of the size of data of load;By the upper rounding of the ratio or lower rounding as redundancy needed for transmitting second data Number of versions.
4. device as described in claim 1, which is characterized in that
The acquisition subelement, for obtaining the System Frame Number of each wireless sub-frame;According to each wireless sub-frame System Frame Number and the redundancy versions number calculate the redundancy versions serial number of each wireless sub-frame.
5. device as claimed in claim 4, which is characterized in that
The acquisition subelement, for according to each wireless sub-frame System Frame Number and the redundancy versions number, pass through Following formula (2) calculates the redundancy versions serial number of each wireless sub-frame:
rvindex=NTTImod RVnum; (2)
Wherein, rvindexFor the redundancy versions serial number of each wireless sub-frame, RVnumFor the redundancy versions number, NTTIFor institute State the System Frame Number of each wireless sub-frame.
6. device as described in claim 1, which is characterized in that the selecting module, comprising:
Second acquisition unit obtains the data choosing of each wireless sub-frame for the size of data according to second data The initial position selected;
Second selecting unit, for selecting a start bit from the initial position that the data of each wireless sub-frame select It sets;
Third selecting unit, the data for that can be carried according to the selected initial position and each wireless sub-frame are big It is small, from the third data that continuously circulation selection is transmitted on each wireless sub-frame in second data.
7. a kind of method of data transmission, which is characterized in that the described method includes:
First data to be transmitted are encoded, the second data are obtained;
Determine the wireless son of each of multiple wireless sub-frames and the multiple wireless sub-frame needed for transmitting second data The size of data that frame can carry;
According to the size of data that the size of data of second data and each wireless sub-frame can carry, transmission institute is calculated Redundancy versions number needed for stating the second data;
According to the redundancy versions number, the redundancy versions serial number for the third data transmitted on each wireless sub-frame is obtained;
According to the superfluous of the third data transmitted in the size of data, redundancy versions number and each wireless sub-frame of second data Remaining version serial number calculates the initial position of the data selection of each wireless sub-frame;
The data that can be carried according to the initial position of the data of each wireless sub-frame selection and each wireless sub-frame Size, from the third data that selection is transmitted on each wireless sub-frame in second data, each wireless sub-frame The size of data of the third data of upper transmission is identical as the size of data that each wireless sub-frame can carry;
The third data are transmitted on each wireless sub-frame respectively.
8. the method for claim 7, which is characterized in that size of data, the redundancy version according to second data The redundancy versions serial number for the third data transmitted in this number and each wireless sub-frame calculates the data of each wireless sub-frame The initial position of selection, comprising:
According to the line number of interleaver used in the size of data of second data and second data, the interleaver is calculated Columns;
According to the columns of the interleaver, the size of data of second data, the redundancy versions number and each nothing The redundancy versions serial number for the third data transmitted in line subframe calculates each wireless sub-frame by following formula (1) respectively Data selection initial position:
Wherein, k0 is the initial position of the data selection of each wireless sub-frame,For the columns of the interleaver, Ncb For the size of data of second data, RVnumFor the redundancy versions number, rvindexTo be transmitted on each wireless sub-frame Third data redundancy versions serial number.
9. the method for claim 7, which is characterized in that the size of data according to second data and described every The size of data that a wireless sub-frame can carry calculates redundancy versions number needed for transmitting second data, comprising:
Calculate the size of data of second data and the ratio of size of data that each wireless sub-frame can carry;
By the upper rounding of the ratio or lower rounding as redundancy versions number needed for transmitting second data.
10. the method for claim 7, which is characterized in that described described each according to redundancy versions number acquisition The redundancy versions serial number of wireless sub-frame, comprising:
Obtain the System Frame Number of each wireless sub-frame;
According to the System Frame Number of each wireless sub-frame and the redundancy versions number, the superfluous of each wireless sub-frame is calculated Remaining version serial number.
11. method as claimed in claim 10, which is characterized in that the System Frame Number according to each wireless sub-frame and The redundancy versions number calculates the redundancy versions serial number of each wireless sub-frame, comprising:
According to the System Frame Number of each wireless sub-frame and the redundancy versions number, by described in following formula (2) calculating The redundancy versions serial number of each wireless sub-frame:
rvindex=NTTImod RVnum; (2)
Wherein, rvindexFor the redundancy versions serial number of each wireless sub-frame, RVnumFor the redundancy versions number, NTTIFor institute State the System Frame Number of each wireless sub-frame.
12. the method for claim 7, which is characterized in that the size of data according to second data and described The size of data that each wireless sub-frame can carry is transmitted on each wireless sub-frame from selection in second data Third data, comprising:
According to the size of data of second data, the initial position of the data selection of each wireless sub-frame is obtained;
An initial position is selected from the initial position that the data of each wireless sub-frame select;
According to the size of data that the selected initial position and each wireless sub-frame can carry, from second data In the continuous third data transmitted on each wireless sub-frame of circulation selection.
13. a kind of device of data transmission, which is characterized in that described device includes: processor and transmitter;
The processor obtains the second data for encoding to the first data to be transmitted;
The processor, be also used to determine transmit second data needed for multiple wireless sub-frames and the multiple wireless The size of data that each wireless sub-frame in subframe can carry;
The processor is also used to the number that can be carried according to the size of data and each wireless sub-frame of second data According to size, redundancy versions number needed for transmitting second data is calculated;
According to the redundancy versions number, the redundancy versions serial number for the third data transmitted on each wireless sub-frame is obtained;
According to the superfluous of the third data transmitted in the size of data, redundancy versions number and each wireless sub-frame of second data Remaining version serial number calculates the initial position of the data selection of each wireless sub-frame;
The data that can be carried according to the initial position of the data of each wireless sub-frame selection and each wireless sub-frame Size, from the third data that selection is transmitted on each wireless sub-frame in second data, each wireless sub-frame The size of data of the third data of upper transmission is identical as the size of data that each wireless sub-frame can carry;
The transmitter is also used to transmit the third data on each wireless sub-frame respectively.
14. device as claimed in claim 13, which is characterized in that
The processor is also used to the row of the interleaver according to used in the size of data of second data and second data Number, calculates the columns of the interleaver;
The processor is also used to the columns according to the interleaver, the size of data of second data, the redundancy versions The redundancy versions serial number for the third data transmitted in number and each wireless sub-frame is calculated by following formula (1) respectively The initial position of the data selection of each wireless sub-frame:
Wherein, k0 is the initial position of the data selection of each wireless sub-frame,For the columns of the interleaver, Ncb For the size of data of second data, RVnumFor the redundancy versions number, rvindexTo be transmitted on each wireless sub-frame Third data redundancy versions serial number.
15. device as claimed in claim 13, which is characterized in that
The processor is also used to calculate the size of data of second data and number that each wireless sub-frame can carry According to the ratio of size;
The processor is also used to the upper rounding of the ratio or lower rounding is superfluous needed for second data as transmitting Remaining number of versions.
16. device as claimed in claim 13, which is characterized in that
The processor is also used to obtain the System Frame Number of each wireless sub-frame;
The processor is also used to System Frame Number and the redundancy versions number according to each wireless sub-frame, calculates institute State the redundancy versions serial number of each wireless sub-frame.
17. device as claimed in claim 16, which is characterized in that
The processor is also used to System Frame Number and the redundancy versions number according to each wireless sub-frame, by such as Lower formula (2) calculates the redundancy versions serial number of each wireless sub-frame:
rvindex=NTTImod RVnum; (2)
Wherein, rvindexFor the redundancy versions serial number of each wireless sub-frame, RVnumFor the redundancy versions number, NTTIFor institute State the System Frame Number of each wireless sub-frame.
18. device as claimed in claim 13, which is characterized in that
The processor is also used to the size of data according to second data, obtains the data choosing of each wireless sub-frame The initial position selected;
The processor is also used to select a start bit from the initial position that the data of each wireless sub-frame select It sets;
The processor, the data for being also used to be carried according to the selected initial position and each wireless sub-frame are big It is small, from the third data that continuously circulation selection is transmitted on each wireless sub-frame in second data.
CN201480037910.5A 2014-12-19 2014-12-19 A kind of device and method of data transmission Active CN106134271B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/094407 WO2016095217A1 (en) 2014-12-19 2014-12-19 Device and method for data transmission

Publications (2)

Publication Number Publication Date
CN106134271A CN106134271A (en) 2016-11-16
CN106134271B true CN106134271B (en) 2019-10-25

Family

ID=56125677

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201480037910.5A Active CN106134271B (en) 2014-12-19 2014-12-19 A kind of device and method of data transmission

Country Status (2)

Country Link
CN (1) CN106134271B (en)
WO (1) WO2016095217A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102695283A (en) * 2012-05-28 2012-09-26 华为技术有限公司 Dispatching method of downlink subframes and base station
CN103220099A (en) * 2006-02-03 2013-07-24 交互数字技术公司 A base station for transmitting a plurality of transport blocks
WO2014008818A1 (en) * 2012-07-13 2014-01-16 电信科学技术研究院 Method and apparatus for uplink data transmission and reception in time division duplex
EP2706678A2 (en) * 2011-05-03 2014-03-12 LG Electronics Inc. Method for transmitting/receiving downlink control information in wireless communication system and device therefor
CN103915100A (en) * 2013-01-07 2014-07-09 中兴通讯股份有限公司 Encoding mode switching method and device, and decoding mode switching method and device
CN103944674A (en) * 2014-04-04 2014-07-23 浙江大学 Data cutting and packaging method suitable for physical layer rateless code transmission

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330671A (en) * 2007-06-20 2008-12-24 北京三星通信技术研究有限公司 Device and method for transmitting broadcast information
KR20090067011A (en) * 2007-12-20 2009-06-24 엘지전자 주식회사 Method for transmitting data in wireless communication system
CN102448122B (en) * 2011-12-30 2017-07-14 中兴通讯股份有限公司 The method of transport block size and base station in a kind of determination subframe

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103220099A (en) * 2006-02-03 2013-07-24 交互数字技术公司 A base station for transmitting a plurality of transport blocks
EP2706678A2 (en) * 2011-05-03 2014-03-12 LG Electronics Inc. Method for transmitting/receiving downlink control information in wireless communication system and device therefor
CN102695283A (en) * 2012-05-28 2012-09-26 华为技术有限公司 Dispatching method of downlink subframes and base station
WO2014008818A1 (en) * 2012-07-13 2014-01-16 电信科学技术研究院 Method and apparatus for uplink data transmission and reception in time division duplex
CN103915100A (en) * 2013-01-07 2014-07-09 中兴通讯股份有限公司 Encoding mode switching method and device, and decoding mode switching method and device
CN103944674A (en) * 2014-04-04 2014-07-23 浙江大学 Data cutting and packaging method suitable for physical layer rateless code transmission

Also Published As

Publication number Publication date
WO2016095217A1 (en) 2016-06-23
CN106134271A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
EP3213454B1 (en) Resource allocation for repetitions of transmissions in a communication system
CN105164956B (en) Speed matching method and equipment, the wireless communication device of Polar code
CN108649965B (en) Coding, interpretation method and equipment
CN104640211B (en) A kind of method sending and receiving data, system and equipment
CN105530072B (en) A kind of uplink signal coding/decoding method and base station based on code block segmentation
CN105634689B (en) A kind of feedback method and device of HARQ confirmation message
CN110663205B (en) Data processing method and data processing device
TW201707409A (en) Information transmission method and device
CN106961744A (en) The sending method and device of ascending control information
CN105337684B (en) A kind of method, base station and terminal transmitted, store downlink data
CN109845350B (en) Terminal device, base station device, communication method, and integrated circuit
CN103944663A (en) Transmission method and device for enhanced PBCH
CN103580772A (en) Data transmission method, system and device, and data acquisition method of terminal and terminal
CN107846707A (en) A kind of method and apparatus in the UE for exempting to authorize, base station
CN109889310A (en) A kind of coding method of polar code and code device
CN109150378B (en) Data processing method and data processing device
US20180062669A1 (en) Coding apparatus and method
CN104378178B (en) A kind of transmission method and equipment of confirmation message
CN109039529A (en) Data transmission method and data transmission device
CN109150416A (en) Data transmission method and device
CN115225201A (en) Modulation method, demodulation method and communication device
CN106134271B (en) A kind of device and method of data transmission
CN112753178B (en) Bit selection for hybrid automatic repeat request
CN108289009A (en) A kind of method and apparatus in the UE for being used for channel coding, base station
US11166284B2 (en) Data transmission method, terminal, and base station

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