WO2016095577A1 - 数据传输方法及装置 - Google Patents

数据传输方法及装置 Download PDF

Info

Publication number
WO2016095577A1
WO2016095577A1 PCT/CN2015/090060 CN2015090060W WO2016095577A1 WO 2016095577 A1 WO2016095577 A1 WO 2016095577A1 CN 2015090060 W CN2015090060 W CN 2015090060W WO 2016095577 A1 WO2016095577 A1 WO 2016095577A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
compression
compressed
factor
index
Prior art date
Application number
PCT/CN2015/090060
Other languages
English (en)
French (fr)
Inventor
周敏
王永贵
李建
罗志芳
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016095577A1 publication Critical patent/WO2016095577A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received

Definitions

  • the present invention relates to the field of data processing technologies, and in particular, to a data transmission method and apparatus.
  • the BBU Building Baseband Unit
  • the RRU Remote Radio Unit
  • the increase in the amount of data transmitted by the baseband radio frequency interface is bound to place higher demands on the transmission rate of the optical fiber or the network cable.
  • there are usually two solutions one is to increase the fiber or network cable speed; the other is to increase the number of fibers or network cables. These two solutions are bound to increase hardware costs and increase the complexity of the design.
  • LTE Long Term Evolution
  • the BBU and RRU fibers are remote, and the IQ data of the baseband radio interface (ie, baseband data, I is the same direction component, and Q is orthogonal).
  • the calculation method of the component transmission rate is: sampling rate ⁇ sampling precision ⁇ 2 (I/Q two-way) ⁇ carrier number ⁇ antenna number ⁇ coding efficiency. Taking a typical two-carrier four-antenna 20MHz bandwidth 16-bit transmission system of LTE as an example, consider 80% coding efficiency.
  • the main purpose of the embodiments of the present invention is to provide a data transmission method and apparatus, which aim to solve the problem that the hardware cost and the operation and maintenance cost are required to be increased, resulting in high cost of data transmission.
  • an embodiment of the present invention provides a data transmission method, including the following steps:
  • the sender obtains IQ data to be transmitted
  • the transmitting end compresses the IQ data to be transmitted according to a fractional compression algorithm to obtain a compression factor and compressed IQ data, and the compressed IQ data includes decimal digit information;
  • the IQ data is decompressed to obtain decompressed IQ data, and the decompressed IQ data includes decimal place information.
  • the step of the sender compressing the IQ data to be transmitted according to a fractional compression algorithm to obtain a compression factor and compressed IQ data includes:
  • the transmitting end compresses each group according to a fractional compression algorithm, and obtains a compression factor corresponding to each group and compressed IQ data.
  • the sending end compresses each group according to a fractional compression algorithm, and the steps of obtaining the compression factor and the compressed IQ data corresponding to each group include:
  • the transmitting end determines data with the largest absolute value among the respective groups as reference data
  • the transmitting end determines a first valid sign bit of the reference data, from the first one
  • the effective sign bit begins to intercept the valid data of the preset number of bits as an index coefficient, and determines a truncation factor, the compression factor including an index coefficient and a truncation factor;
  • the sending end queries the compressed data table according to the index coefficient to obtain a compression index multiplication factor corresponding to the index coefficient;
  • the transmitting end multiplies the original data by the compression index multiplication factor to obtain new original data, and intercepts the preset digits minus one bit of data from the first valid symbol bit of the new original data as compression. After the IQ data;
  • the other data in the respective groups are compressed in the above manner to obtain compression factors corresponding to the respective groups and compressed IQ data.
  • the method further includes:
  • the receiving end decompresses the compressed IQ data according to the compression factor to obtain decompressed IQ data.
  • the step of decompressing the compressed IQ data according to the compression factor to obtain decompressed IQ data includes:
  • the receiving end determines an index coefficient and a truncation factor according to the compression factor
  • the receiving end decompresses the compressed IQ data according to the truncation factor, and the decompressed IQ data obtains complete IQ data consistent with the original IQ data bit width by adding a sign bit; the receiving end is according to the
  • the index coefficient query compressed data table obtains a decompressed index multiplication factor corresponding to the index coefficient, and decompresses the complete IQ data according to the decompressed index multiplication factor to obtain decompressed IQ data.
  • the embodiment of the present invention further provides a data transmission method, including the following steps:
  • the receiving end decompresses the compressed IQ data according to the compression factor to obtain decompressed IQ data.
  • the step of decompressing the compressed IQ data according to the compression factor to obtain decompressed IQ data includes:
  • the receiving end determines an index coefficient and a truncation factor according to the compression factor
  • the receiving end decompresses the compressed IQ data according to the truncation factor, and the decompressed IQ data obtains complete IQ data consistent with the original IQ data bit width by adding a sign bit; the receiving end is according to the
  • the index coefficient query compressed data table obtains a decompressed index multiplication factor corresponding to the index coefficient, and decompresses the complete IQ data according to the decompressed index multiplication factor to obtain decompressed IQ data.
  • the method before the receiving end receives the encoded data sent by the transmitting end, and decodes the encoded data to obtain the compression factor and the compressed IQ data, the method further includes :
  • the sender obtains IQ data to be transmitted
  • the transmitting end compresses the IQ data to be transmitted according to a fractional compression algorithm to obtain a compression factor and compressed IQ data, and the compressed IQ data includes decimal digit information;
  • the transmitting end encodes the compression factor and the compressed IQ data according to a preset protocol, and sends the encoded data to the receiving end.
  • the step of the sender compressing the IQ data to be transmitted according to a fractional compression algorithm to obtain a compression factor and compressed IQ data includes:
  • the transmitting end groups the IQ data according to a preset sampling rate
  • the transmitting end compresses each group according to a fractional compression algorithm, and obtains a compression factor corresponding to each group and compressed IQ data.
  • the sending end compresses each group according to a fractional compression algorithm, and the steps of obtaining the compression factor and the compressed IQ data corresponding to each group include:
  • the transmitting end determines data with the largest absolute value among the respective groups as reference data
  • the transmitting end determines a first valid sign bit of the reference data, and intercepts valid data of a preset number of bits as an index coefficient from the first valid sign bit, and determines a truncation factor, where the compression factor includes Index coefficient and intercept factor;
  • the sending end queries the compressed data table according to the index coefficient to obtain a compression index multiplication factor corresponding to the index coefficient;
  • the transmitting end multiplies the original data by the compression index multiplication factor to obtain the processed original data, and intercepts the preset digits minus one digit of the data from the first valid symbol bit of the processed original data.
  • compressed IQ data As compressed IQ data;
  • the other data in the respective groups are compressed in the above manner to obtain compression factors corresponding to the respective groups and compressed IQ data.
  • an embodiment of the present invention further provides a data transmission apparatus, including:
  • a first acquiring module configured to acquire IQ data to be transmitted
  • a first compression module compresses the IQ data to be transmitted according to a fractional compression algorithm to obtain a compression factor and compressed IQ data, where the compressed IQ data includes decimal place information;
  • a first processing module configured to encode the compression factor and the compressed IQ data according to a preset protocol
  • a first sending module configured to send the encoded data to the receiving end, where the receiving end decompresses the compressed IQ data according to the compression factor to obtain decompressed IQ data, and the decompressed IQ data
  • the data includes decimal place information.
  • the first compression module includes a first grouping unit and a first compression unit
  • the first grouping unit is configured to group the IQ data packets according to a group at a preset sampling rate
  • the first compression unit is configured to compress each group according to a fractional compression algorithm to obtain a compression factor corresponding to each group and compressed IQ data.
  • the first compression unit is further configured to determine data having the largest absolute value among the respective groups as reference data; and further configured to determine a first valid symbol bit of the reference data, The first valid sign bit begins to intercept the valid data of the preset number of bits as an index coefficient, and determines a truncation factor, where the compression factor includes an index coefficient and a truncation factor; and is further configured to query the compressed data according to the index coefficient.
  • the table obtains a compression index multiplication factor corresponding to the index coefficient;
  • the data transmission device further includes:
  • a first receiving module configured to receive the encoded data, and decode the encoded data to obtain the compression factor and the compressed IQ data
  • a first decompression module configured to decompress the compressed IQ data according to the compression factor to obtain decompressed IQ data.
  • the first decompression module includes a first determining unit and a first decompressing unit
  • the first determining unit is configured to determine an index coefficient and a truncation factor according to the compression factor
  • the first decompression unit is configured to decompress the compressed IQ data according to the truncation factor, and the decompressed IQ data is obtained by supplementing a sign bit to obtain a complete consistency with an original IQ data bit width.
  • the IQ data is further configured to query the compressed data table according to the index coefficient to obtain a decompressed index multiplication factor corresponding to the index coefficient, and decompress the complete IQ data according to the decompressed index multiplication factor to obtain decompressed IQ data.
  • an embodiment of the present invention further provides a data transmission apparatus, including:
  • a second receiving module configured to receive the encoded data sent by the sending end, and decode the encoded data to obtain the compression factor and the compressed IQ data;
  • a second decompression module configured to decompress the compressed IQ data according to the compression factor to obtain decompressed IQ data.
  • the second decompression module includes a second determining unit and a second decompressing unit
  • the second determining unit is configured to determine an index coefficient and a truncation factor according to the compression factor
  • the second decompression unit is configured to decompress the compressed IQ data according to the truncation factor, and the decompressed IQ data obtains complete IQ data consistent with the original IQ data bit width by supplementing the sign bit; And decompressing the compressed data table according to the index coefficient to obtain a decompressed index multiplication factor corresponding to the index coefficient, and decompressing the complete IQ data according to the decompressed index multiplication factor to obtain decompressed IQ data.
  • the method further includes: a second acquiring module, configured to acquire IQ data to be transmitted;
  • a second compression module configured to compress the IQ data to be transmitted according to a fractional compression algorithm to obtain a compression factor and compressed IQ data, where the compressed IQ data includes decimal place information
  • a second processing module configured to: the sending end encodes the compression factor and the compressed IQ data according to a preset protocol
  • the second sending module is configured to send the encoded data to the receiving end.
  • the second compression module includes a second grouping unit and a second compression unit
  • the second grouping unit is configured to group the IQ data according to a preset sampling rate
  • the second compression unit is configured to compress each group according to a fractional compression algorithm to obtain a compression factor corresponding to each group and compressed IQ data.
  • the second compression unit is further configured to determine data having the largest absolute value among the respective groups as reference data
  • the transmitting end determines a first valid sign bit of the reference data, and intercepts valid data of a preset number of bits as an index coefficient from the first valid sign bit, and determines a truncation factor, where the compression factor includes An index coefficient and a truncation factor; further configured to query the compressed data table according to the index coefficient to obtain a compression index multiplication factor corresponding to the index coefficient;
  • the invention compresses the IQ data to be transmitted by the fractional compression algorithm, reduces the data amount of the IQ data to be transmitted, and effectively avoids the need to increase the hardware cost and the later operation and maintenance cost in the existing mode, resulting in high cost of data transmission.
  • the problem is reduced the cost of data transmission.
  • FIG. 1 is a schematic flow chart of a first embodiment of a data transmission method according to the present invention.
  • FIG. 2 is a schematic flow chart of a refinement of an embodiment of step S20 of FIG. 1;
  • FIG. 3 is a schematic diagram showing the refinement process of an embodiment of step S22 in FIG. 2;
  • FIG. 4 is a schematic flowchart of a second embodiment of a data transmission method according to the present invention.
  • FIG. 5 is a schematic diagram showing the refinement process of an embodiment of step S50 in FIG. 4;
  • FIG. 6 is a schematic flow chart of an embodiment of a compression process according to the present invention.
  • FIG. 7 is a schematic flow chart of an embodiment of a decompression process according to the present invention.
  • FIG. 8 is a schematic flowchart diagram of a third embodiment of a data transmission method according to the present invention.
  • FIG. 9 is a schematic flowchart diagram of a fourth embodiment of a data transmission method according to the present invention.
  • FIG. 10 is a schematic diagram of functional modules of a first embodiment of a data transmission apparatus according to the present invention.
  • FIG. 11 is a schematic diagram of a refinement function module of an embodiment of the first compression module of FIG. 10;
  • FIG. 12 is a schematic diagram of functional modules of a second embodiment of a data transmission apparatus according to the present invention.
  • FIG. 13 is a schematic diagram of a refinement function module of an embodiment of the first decompression module of FIG. 12;
  • FIG. 14 is a schematic diagram of functional modules of a third embodiment of a data transmission apparatus according to the present invention.
  • 15 is a schematic diagram of a refinement function module of an embodiment of the second decompression module of FIG. 14;
  • 16 is a schematic diagram of functional modules of a fourth embodiment of a data transmission apparatus according to the present invention.
  • FIG. 17 is a schematic diagram of a refinement function module of an embodiment of the second compression module of FIG. 16 according to the present invention.
  • the main solution of the embodiment of the present invention is: the transmitting end acquires the IQ data to be transmitted; the transmitting end compresses the IQ data to be transmitted according to the decimal compression algorithm to obtain a compression factor and the compressed IQ data, after the compression
  • the IQ data includes decimal digit information; the transmitting end encodes the compression factor and the compressed IQ data according to a preset protocol, and sends the encoded data to the receiving end, so that the receiving end is configured according to the
  • the compression factor decompresses the compressed IQ data to obtain decompressed IQ data, and the decompressed IQ data includes decimal place information.
  • the data amount of the IQ data to be transmitted is reduced, thereby effectively avoiding the need to increase the hardware cost and the later stage in the existing mode.
  • the cost of operation and maintenance leads to the problem of high cost of data transmission and reduces the cost of data transmission.
  • the present invention provides a data transmission method.
  • the preferred implementation of the data transmission method and the wireless communication system may also be performed in other processes that require data transmission.
  • the following embodiments use a wireless communication system as an example, but are not limited to use in wireless. Data transmission in the communication system.
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of a data transmission method according to an embodiment of the present invention.
  • the data transmission method includes:
  • Step S10 The sender acquires IQ data to be transmitted.
  • the main body of the data transmission method of the present invention may be a data transmission device of a base station such as an RRU or a BBU, and further a data transmission application loaded on the RRU and the BBU device side.
  • a base station such as an RRU or a BBU
  • a data transmission application loaded on the RRU and the BBU device side.
  • the RRU when the RRU is the transmitting end, it is preferably an RRU device, and when the BBU is the transmitting end, it is preferably a BBU device.
  • the sending end is preferably an RRU device, and the receiving end is preferably a BBU side device.
  • the transmitting end acquires IQ data to be transmitted when the data needs to be transmitted, the I data is the same direction component data, the Q data is orthogonal component data, and the IQ data is in-phase component data and orthogonal component data. Combination of.
  • Step S20 the transmitting end compresses the IQ data to be transmitted according to a fractional compression algorithm to obtain a compression factor and compressed IQ data, where the compressed IQ data includes decimal place information;
  • the process in which the transmitting end compresses the IQ data to be transmitted according to the fractional compression algorithm to obtain the compression factor and the compressed IQ data may include:
  • Step S21 the sending end obtains the group after the IQ data grouping according to a preset sampling rate
  • the IQ data includes I data and Q data, and the transmitting end is at a preset sampling rate, that is, The IQ data to be transmitted is grouped at a baseband sampling rate, and each IQ data is grouped in order, that is, a predetermined number of data packets are sequentially ordered, and the preset number may be 4 or 5, etc. as needed. Settings. For example, if the IQ data includes N data, divided into M groups, each group includes N/M data, and both I data and Q data need to be grouped.
  • Step S22 the transmitting end compresses each group according to a fractional compression algorithm, and obtains a compression factor corresponding to each group and compressed IQ data.
  • the transmitting end compresses the data in each group after the packet according to a fractional compression algorithm to obtain compression factors and compressed IQ data of each group, where the compression factor includes an I compression factor and a Q compression factor, that is, I.
  • the compression factor and the Q compression factor are independent.
  • the sending end compresses each group according to a fractional compression algorithm, and the process of obtaining the compression factor and the compressed IQ data corresponding to each group may include:
  • Step S221 the transmitting end determines, as the reference data, the data with the largest absolute value in the respective groups; if there are N/M data in the group, determining the absolute maximum value from the N/M data.
  • the data is used as reference data.
  • Step S222 the transmitting end determines a first valid sign bit of the reference data, and intercepts valid data of a preset number of bits as an index coefficient from the first valid sign bit, and determines a truncation factor,
  • the compression factor includes an index coefficient and a truncation factor;
  • the preset bit number may be any bit number smaller than the original data bit width, for example, may be 6 bit or 5 bit or the like.
  • the transmitting end intercepts the valid data of the preset number of bits from the first valid sign bit as an index coefficient, that is, from the first valid symbol
  • the bit starts to intercept the preset bit number as an index coefficient, discards the lower bit data, refers to the compressed data table, and the index coefficient is decimal data.
  • the valid data of the preset preset bit number is binary
  • the preset is The valid data of the number of digits is converted to decimal data as an index coefficient.
  • the transmitting end After intercepting the valid data of the preset number of bits as the index coefficient, the transmitting end generates a truncation factor, for example, discarding a low-order data, the truncation factor is 1, discarding the two lower-order data, and the intercept factor is 2.
  • the compression factor includes an index coefficient and a truncation factor.
  • Step S223 the sending end queries the compressed data table according to the index coefficient to obtain a compression index multiplication factor corresponding to the index coefficient;
  • Step S224 the transmitting end multiplies the original data by the compression index multiplication factor to obtain new original data, and intercepts the preset number of bits minus one bit from the first valid symbol bit of the new original data.
  • the transmitting end queries the compressed data table according to the index coefficient obtained by intercepting the valid data of the preset number of bits to obtain a compressed index multiplication factor, and multiplies the original data by the compressed index multiplication factor to obtain new original data.
  • the first valid sign bit of the new raw data begins to intercept the data of the preset number of bits minus one bit as the compressed IQ data. That is, the target data is data that is reduced by 1 bit for the preset number of bits. For example, when it is necessary to intercept 5 bits of data, the preset number of bits is set to 6 bits.
  • the compression multiplication factor is obtained by looking up the table according to the decimal result of the preset number of bits.
  • the multiplication factor needs to be quantized by first multiplying the original data by a compression multiplication factor, and then starting from the first valid symbol bit.
  • the 5 bit data is intercepted as the compressed data, so that some decimal places information can be reserved after processing.
  • Step S225 compressing other data in the respective groups according to the above manner to obtain compression factors corresponding to the respective groups and compressed IQ data.
  • the other data in each group is compressed in the above manner to obtain compression factors corresponding to the respective groups and compressed IQ data.
  • the result of rounding, the purpose of quantification is to facilitate fixed-point calculations.
  • the multiplication factor quantization gain here is eliminated during processing.
  • the index coefficient that needs to be packed into the compression factor is the default number of bits minus 1 bit, and the bit number of the truncation factor is based on the original data bit.
  • the wide and compressed data bit widths are combined. For example, if the original data is 16 bits and needs to be compressed to 5 bits, the default number of bits is 6 bits.
  • the index coefficient that needs to be transmitted only needs 5 bits, and the maximum value of the truncation factor is 11, so the truncation factor uses 4 bits.
  • Step S30 the transmitting end encodes the compression factor and the compressed IQ data according to a preset protocol, and sends the encoded data to the receiving end, so that the receiving end performs the pair according to the compression factor.
  • the compressed IQ data is decompressed to obtain decompressed IQ data, and the decompressed IQ data includes decimal place information.
  • the preset protocol is a communication protocol, for example, a 4G communication protocol, a 3G communication protocol, or the like. Transmitting, by the sending end, the compression factor and the compressed IQ data according to a preset protocol,
  • the code is a format that can be transmitted between the RRU and the BBU, and the encoded data is sent to the receiving end, so that the receiving end decompresses the compressed IQ data according to the compression factor to obtain the decompressed IQ data.
  • the decompressed IQ data includes decimal place information.
  • the IQ data is 16 bit compressed to 5 bit width as an example to explain the compression process of the present invention.
  • the transmitting end groups 16-bit I-channel data and Q-channel data respectively, and sequentially takes N/M data as a group, finds the largest absolute value among the N/M data, and then finds the largest absolute value.
  • a valid sign bit the 6-bit effective data is intercepted from the first valid sign bit as an index coefficient, and is mainly used for querying the compressed data table to obtain a compression index multiplication factor, and the bit width of the index coefficient only needs to be smaller than the compressed data bit.
  • the width is more than 1bit, and the compressed data table is shown in Table 1.
  • IQ index coefficients and truncation factors.
  • the 16-bit IQ data is compressed in the above manner to obtain 5 bits of compressed IQ data and a 0 compression factor, the compression factor including an index coefficient and a truncation factor.
  • the IQ data to be transmitted is compressed by the fractional compression algorithm, and the decimal information is included in the compressed IQ data, thereby reducing the data amount of the IQ data to be transmitted, thereby effectively avoiding the need to add hardware in the existing mode. Cost and post-operation and maintenance costs lead to high cost of data transmission and reduce the cost of data transmission.
  • FIG. 4 is a schematic flowchart diagram of a second embodiment of a data transmission method according to the present invention. Based on the first embodiment of the foregoing data transmission method, after the step S30, the method further includes:
  • Step S40 the receiving end receives the encoded data, and decodes the encoded data to obtain the compression factor and the compressed IQ data.
  • the decompression process is an inverse process of the compression process, and the receiving end receives the encoded data sent by the transmitting end, and after receiving the encoded data, decoding the encoded data to obtain a compressed data.
  • IQ data and compression factor are inverse processes of the compression process, and the receiving end receives the encoded data sent by the transmitting end, and after receiving the encoded data, decoding the encoded data to obtain a compressed data.
  • Step S50 the receiving end decompresses the compressed IQ data according to the compression factor to obtain decompressed IQ data.
  • the process in which the receiving end decompresses the compressed IQ data according to the compression factor to obtain the decompressed IQ data may include:
  • Step S51 the receiving end determines an index coefficient and a truncation factor according to the compression factor
  • Step S52 the receiving end decompresses the compressed IQ data according to the truncation factor to obtain complete IQ data; the receiving end fills the truncated low bit by 0 according to the truncation factor in the compression factor, and intercepts
  • the size of the factor indicates the number of bits that need to be padded with 0, and the highest bit fills the sign bit to restore the data to the number of bits of the original data.
  • Step S53 the receiving end queries the compressed data table according to the index coefficient to obtain a decompressed index multiplication factor corresponding to the index coefficient, and decompresses the complete IQ data according to the decompressed index multiplication factor to obtain decompressed IQ data.
  • the compressed data table is queried according to the index coefficient to obtain a decompressed index multiplication factor, and the multiplication operation is completed, and the multiplication method is also needed in the decompression process.
  • Factor quantization gain that is, the restored raw data needs to be restored to the data retaining the decimal.
  • the 16-bit IQ data is compressed to 5 bits as an example, and the compressed 5-bit IQ data is truncated according to the truncation factor in the compression factor.
  • the size of the truncation factor is the number of low-order complement
  • the highest-bit complement sign bit restores the compressed IQ data to 16bit, and then completes the multiplication operation by adding 1 bit of 0-index to the corresponding decompression multiplication factor according to the 5-bit index coefficient. And eliminate the quantization gain of the multiplication factor.
  • the compressed 5-bit IQ data is restored to 16-bit raw data by the index coefficient and the truncation factor in the compression factor to achieve the purpose of data transmission.
  • FIG. 6 is a compression process in which the left table is 16-bit raw data, wherein the vertical column represents the bit, and the horizontal direction represents the first data (bit 14 is the first valid sign bit), here is a set of 4 data ( WORD0 ⁇ WORD3), the largest is WORD0, according to the final 5bit output such a truncation factor is (0x1010), the index coefficient starts from the first sign bit 14 of WORD0, 6 bits, and then according to the 6-bit data 0x011010 check index table
  • the compression multiplication factor is obtained as 1182, and then the four data of WORD0 ⁇ WORD3 are respectively multiplied by the multiplication factor, and then the lower 10 bits are cut off (the quantization gain is removed), and then the high-order 5 bits are reserved according to the 6-bit intercept information of WORD0, so that the final compressed 5 bit is obtained.
  • the 5-bit index coefficient is 0x11010
  • the 9-bit compression factor is 0x110101010, where the high 5 bits represent the index coefficient and the lower 4 bits represent the truncation factor.
  • the results of the compression are shown in the table on the right in Figure 6.
  • the decompression side according to the truncation factor in the 9-bit compression factor that is, filling 10 zeros in the lower bits (bit 9 to bit 0), and then searching the index table according to the index coefficient 0x011010 to obtain a decompression multiplication factor of 921
  • the compressed four data are multiplied by the multiplication factor and then truncated by 10 bits, bit 15 and bit 14 are filled with 2 sign bits (positive number is filled with 0, negative number is filled with 1), and the data is restored to 16-bit IQ data.
  • the decompression results are shown in the figure. 7 right form.
  • the IQ data bit width is reduced from 16 bits to 5 bits during compression, thereby reducing the amount of transmitted IQ data, and effectively reducing the transmission rate of the optical fiber or the network cable.
  • the method will cut off some low-order bytes during compression, and the decompressed data will be different from the data before compression on the RRU side.
  • This is the compression loss, and the compression loss depends on the two core parameters in the algorithm. N and the compressed data bit width M, these two parameters are based on the baseband RF interface rate and The system EVM (Error Vector Magnitude) requires a comprehensive presentation. The smaller the M is, the worse the EVM is, but the lower the baseband radio interface rate requirement is.
  • the larger the M the better the EVM but the higher the baseband radio interface rate requirement.
  • the smaller the N the better the EVM, and the larger the transmission bandwidth occupied by the compression factor.
  • the larger N is, the worse the EVM is, and the smaller the transmission bandwidth occupied by the compression factor.
  • the embodiment of the invention compresses the IQ data to be transmitted by the fractional compression algorithm, and includes the decimal digit information in the compressed IQ data, thereby reducing the data amount of the IQ data to be transmitted, and the receiving end restores the compressed according to the compression factor.
  • the data effectively avoids the need to increase the hardware cost and the later operation and maintenance cost in the existing mode, which leads to the problem of high data transmission cost and reduces the cost of data transmission.
  • FIG. 8 is a schematic flowchart diagram of a third embodiment of a data transmission method according to the present invention.
  • the data transmission method includes:
  • Step S100 The receiving end receives the encoded data sent by the sending end, and decodes the encoded data to obtain the compression factor and the compressed IQ data.
  • the decompression process is an inverse process of the compression process, and the receiving end receives the encoded data sent by the transmitting end, and after receiving the encoded data, decoding the encoded data.
  • the compressed IQ data and compression factor are obtained.
  • Step S200 the receiving end decompresses the compressed IQ data according to the compression factor to obtain decompressed IQ data.
  • the receiving end decompresses the compressed IQ data according to the compression factor to obtain the decompressed IQ data, where the receiving end may: determine, by the receiving end, an index coefficient and a truncation factor according to the compression factor; The truncation factor decompresses the compressed IQ data to obtain complete IQ data; the receiving end fills the truncated low bit according to the truncation factor in the compression factor, and the truncation factor indicates that it needs to fill 0. The number of digits, the highest digit fills the sign bit to restore the data to the number of bits of the original data.
  • the receiving end queries the compressed data table according to the index coefficient to obtain a decompressed index multiplication factor corresponding to the index coefficient, and decompresses the complete IQ data according to the decompressed index multiplication factor to obtain decompressed IQ data.
  • the compressed data table is queried according to the index coefficient to obtain a decompressed index multiplication factor, and the multiplication operation is completed, and the multiplication method is also needed in the decompression process.
  • Factor quantization gain that is, the restored raw data needs to be restored to the data retaining the decimal.
  • the 16-bit IQ data is compressed to 5 bits as an example, and the compressed 5-bit IQ data is zero-cut by the truncation factor in the compression factor, and the truncation factor is The size is the number of low bits, and the highest bit complements the sign bit to restore the compressed IQ data to 16 bits. Then, according to the 5-bit index coefficient, the 1-bit 0 index is added to the corresponding decompression multiplication factor to complete the multiplication operation, and the multiplication factor is eliminated. Quantize the gain. The compressed 5-bit IQ data is restored to 16-bit raw data by the index coefficient and the truncation factor in the compression factor to achieve the purpose of data transmission.
  • the embodiment of the invention compresses the IQ data to be transmitted by the fractional compression algorithm, and includes the decimal digit information in the compressed IQ data, thereby reducing the data amount of the IQ data to be transmitted, and the receiving end restores the compressed according to the compression factor.
  • Data effectively avoiding the need to increase in existing ways
  • the hardware cost and the later operation and maintenance cost lead to the problem of high cost of data transmission and reduce the cost of data transmission.
  • FIG. 9 is a schematic flowchart diagram of a fourth embodiment of a data transmission method according to the present invention. Based on the third embodiment of the foregoing data transmission method, before the step S100, the method further includes:
  • Step S300 the sending end acquires IQ data to be transmitted
  • the sending end is preferably an RRU device, and the receiving end is preferably a BBU side device.
  • the transmitting end acquires IQ data to be transmitted when the data needs to be transmitted, the I data is the same direction component data, and the Q data is orthogonal component data.
  • Step S400 the transmitting end compresses the IQ data to be transmitted according to a fractional compression algorithm to obtain a compression factor and compressed IQ data, where the compressed IQ data includes decimal place information;
  • the process of compressing the IQ data to be transmitted by the sending end to obtain the compression factor and the compressed IQ data according to the fractional compression algorithm may include: the sending end grouping the IQ data packets according to a preset sampling rate. After the group;
  • the IQ data includes I data and Q data, and the transmitting end groups the IQ data to be transmitted at a preset sampling rate, that is, at a baseband sampling rate, and sequentially groups each IQ data, that is, sequentially A number of data packets are set, and the preset number may be 4 or 5, etc., as needed. For example, if the IQ data includes N data, divided into M groups, each group includes N/M data, and both I data and Q data need to be grouped.
  • the transmitting end compresses each group according to a fractional compression algorithm, and obtains a compression factor corresponding to each group and compressed IQ data.
  • the transmitting end compresses the data in each group after the packet according to a fractional compression algorithm to obtain compression factors and compressed IQ data of each group, where the compression factor includes an I compression factor and a Q compression factor, that is, I.
  • the compression factor and the Q compression factor are independent.
  • the sending end compresses each group according to the fractional compression algorithm, and the process of obtaining the compression factor corresponding to each group and the compressed IQ data may include:
  • the transmitting end determines data having the largest absolute value among the respective groups as original data; if there are N/M data in the group, determining the data with the largest absolute value from the N/M data as Reference data.
  • the transmitting end determines a first valid sign bit of the original data, and intercepts valid data of a preset number of bits as an index coefficient from the first valid sign bit, and determines a truncation factor, where the compression factor includes The index coefficient and the truncation factor; the preset bit number may be any value smaller than the original data bit number, for example, may be 6 bit or 5 bit or the like.
  • the transmitting end intercepts the valid data of the preset number of bits from the first valid sign bit as an index coefficient, that is, from the first valid symbol
  • the bit starts to intercept the valid data of the preset number of bits as an index coefficient, and refers to the compressed data table, where the index coefficient is decimal data, and if the valid data of the preset preset bit number is binary, the preset number of bits is valid.
  • the data is converted to decimal data as an index coefficient.
  • the transmitting end After intercepting the valid data of the preset number of bits as the index coefficient, the transmitting end generates a truncation factor, for example, discarding a low-order data, the truncation factor is 1, discarding the two lower-order data, and the intercept factor is 2.
  • the compression factor includes an index coefficient and a truncation factor.
  • the sending end queries the compressed data table according to the index coefficient to obtain a compression index multiplication factor corresponding to the index coefficient;
  • the transmitting end multiplies the original data by the compression index multiplication factor to obtain new original data, and intercepts the preset digits minus one bit of data from the first valid symbol bit of the new original data as compression. After the IQ data;
  • the transmitting end queries the compressed data table according to the index coefficient obtained by intercepting the valid data of the preset number of bits to obtain a compressed index multiplication factor, and multiplies the original data by the compressed index multiplication factor to obtain new original data.
  • Said first valid symbol bit of the new raw data The data of the preset number of bits minus one bit is taken as the compressed IQ data. That is, the target data is data that is reduced by 1 bit for the preset number of bits. For example, when it is necessary to intercept 5 bits of data, the preset number of bits is set to 6 bits.
  • the compression multiplication factor is obtained by looking up the table according to the decimal result of the preset number of bits.
  • the multiplication factor needs to be quantized by first multiplying the original data by a compression multiplication factor, and then starting from the first valid symbol bit.
  • the 5 bit data is intercepted as the compressed data, so that some decimal places information can be reserved after processing.
  • the other data in the respective groups are compressed in the above manner to obtain compression factors corresponding to the respective groups and compressed IQ data.
  • the other data in each group is compressed in the above manner to obtain compression factors corresponding to the respective groups and compressed IQ data.
  • the first column is an index coefficient A
  • the third column is a quantized compression multiplication factor C
  • the quantization bit width can be set according to the quantization precision requirement
  • D (210/C)*210 rounded off
  • the index coefficient that needs to be packed into the compression factor is the default number of bits minus 1 bit
  • the truncation factor is the preset number of bits minus 2 bits. For example, taking the preset number of bits as 6 bits as an example, the index coefficient is 5 bits and the truncation factor is 4 bits.
  • Step S500 the transmitting end encodes the compression factor and the compressed IQ data according to a preset protocol, and sends the encoded data to the receiving end.
  • the preset protocol is a communication protocol, for example, a 4G communication protocol, a 3G communication protocol, or the like. Transmitting, by the sending end, the compression factor and the compressed IQ data according to a preset protocol, encoding into a format that can be transmitted between the RRU and the BBU, and transmitting the encoded data to the receiving end, for providing The receiving end decompresses the compressed IQ data according to the compression factor to obtain decompressed IQ data, and the decompressed IQ data includes decimal place information.
  • the IQ data is 16 bit compressed to 5 bit width as an example to explain the compression process of the present invention.
  • the transmitting end groups 16-bit I-channel data and Q-channel data respectively, and sequentially takes N/M data as a group, finds the largest absolute value among the N/M data, and then finds the largest absolute value.
  • a valid sign bit the 6-bit effective data is intercepted from the first valid sign bit as an index coefficient, and is mainly used for querying the compressed data table to obtain a compression index multiplication factor, and the bit width of the index coefficient only needs to be smaller than the compressed data bit.
  • the width is more than 1bit, and the compressed data table is shown in Table 1.
  • IQ index coefficients and truncation factors.
  • the 16-bit IQ data is compressed in the above manner to obtain 5 bits of compressed IQ data and a 0 compression factor, the compression factor including an index coefficient and a truncation factor.
  • the IQ data to be transmitted is compressed by the fractional compression algorithm, and the decimal information is included in the compressed IQ data, thereby reducing the data amount of the IQ data to be transmitted, thereby effectively avoiding the need to add hardware in the existing mode. Cost and post-operation and maintenance costs lead to high cost of data transmission and reduce the cost of data transmission.
  • the present invention further provides a data transmission device.
  • FIG. 10 is a schematic diagram of functional modules of a first embodiment of a data transmission apparatus according to the present invention.
  • the data transmission device includes: a first acquisition module 10, a first compression module 20, a first processing module 30, and a first transmission module 40.
  • the first obtaining module 10 is configured to acquire IQ data to be transmitted.
  • the sending end is preferably an RRU device, and the receiving end is preferably a BBU side device.
  • the transmitting end acquires IQ data to be transmitted when the data needs to be transmitted, the I data is the same direction component data, and the Q data is orthogonal component data.
  • the first compression module 20 compresses the IQ data to be transmitted according to a fractional compression algorithm to obtain a compression factor and compressed IQ data, where the compressed IQ data includes decimal place information;
  • the first compression module 20 includes a first grouping unit 21 and a first compression unit 22,
  • the first grouping unit 21 is configured to group the IQ data packets according to a group at a preset sampling rate
  • the IQ data includes I data and Q data, and the transmitting end groups the IQ data to be transmitted at a preset sampling rate, that is, at a baseband sampling rate, and sequentially sequences each IQ data, that is, sequentially A number of data packets are set, and the preset number may be 4 or 5, etc., as needed. For example, if the IQ data includes N data, divided into M groups, each group includes N/M data, and both I data and Q data need to be grouped.
  • the first compression unit 22 is configured to compress each group according to a fractional compression algorithm to obtain compression factors corresponding to the respective groups and compressed IQ data.
  • the transmitting end compresses the data in each group after the packet according to a fractional compression algorithm to obtain compression factors and compressed IQ data of each group, where the compression factor includes an I compression factor and a Q compression factor, that is, I.
  • the compression factor and the Q compression factor are independent.
  • the first compression unit 22 is further configured to determine data with the largest absolute value in the respective groups as the original data; if there are N/M data in the group, the N/M is obtained from the N/M The data with the largest absolute value is determined as the original data.
  • the first compression unit 22 is further configured to determine a first valid sign bit of the original data, and intercept valid data of a preset number of bits as an index coefficient from the first valid sign bit, and Determining a truncation factor, the compression factor including an index coefficient and a truncation factor; the preset bit number may be any value smaller than the original data bit width, for example, may be 6 bit or 5 bit or the like.
  • the transmitting end intercepts the valid data of the preset number of bits from the first valid sign bit as an index coefficient, and refers to the compressed data table, the index coefficient For decimal data, if the valid data of the preset preset bit number is binary, the valid data of the preset number of bits is converted into decimal data as an index coefficient. In other embodiments of the present invention, it is also possible to convert the index coefficients in the compressed data table into binary index coefficients, such that the effective data of the preset preset bits is reserved as a binary index.
  • the transmitting end After intercepting the valid data of the preset number of bits as the index coefficient, the transmitting end generates a truncation factor, for example, discarding a low-order data, the truncation factor is 1, discarding the two lower-order data, and the truncation factor is 2.
  • the compression factor includes an index coefficient and a truncation factor.
  • the first compression unit 22 is further configured to query the compressed data table according to the index coefficient to obtain a compression index multiplication factor corresponding to the index coefficient;
  • the first compression unit 22 is further configured to multiply the original data by the compression index multiplication factor to obtain new original data, and intercept the preset number of bits from the first valid symbol bit of the new original data. Subtract 1 bit of data as compressed IQ data;
  • the transmitting end queries the compressed data table according to the index coefficient obtained by intercepting the valid data of the preset number of bits to obtain a compressed index multiplication factor, and multiplies the original data by the compressed index multiplication factor to obtain new original data.
  • the first valid sign bit of the new raw data begins to intercept the data of the preset number of bits minus one bit as the compressed IQ data. That is, the target data is data that is reduced by 1 bit for the preset number of bits. For example, if the original data needs to be compressed to 6 bits, the preset number of bits is 6 bits, and the compression multiplication factor is obtained according to the decimal result of the preset number of digits.
  • the multiplication factor needs to be quantized, by first referring to the original The data is multiplied by the compression multiplication factor, and then the 5-bit data is intercepted from the first significant sign bit as the compressed data, so that part of the decimal information can be retained after the processing.
  • the first compression unit 22 is further configured to compress the other data in the respective groups according to the foregoing manner to obtain compression factors corresponding to the respective groups and compressed IQ data.
  • the other data in each group is compressed in the above manner to obtain compression factors corresponding to the respective groups and compressed IQ data.
  • the first processing module 30 is configured to encode the compression factor and the compressed IQ data according to a preset protocol.
  • the first sending module 40 is configured to send the encoded data to the receiving end, where the receiving end decompresses the compressed IQ data according to the compression factor to obtain decompressed IQ data, and the decompressing
  • the subsequent IQ data includes decimal place information.
  • the preset protocol is a communication protocol, for example, a 4G communication protocol, a 3G communication protocol, or the like. Transmitting, by the sending end, the compression factor and the compressed IQ data according to a preset protocol, encoding into a format that can be transmitted between the RRU and the BBU, and transmitting the encoded data to the receiving end, for providing The receiving end decompresses the compressed IQ data according to the compression factor to obtain decompressed IQ data, and the decompressed IQ data includes decimal place information.
  • the IQ data is 16 bit compressed to 5 bit width as an example to explain the compression process of the present invention.
  • the transmitting end groups 16-bit I-channel data and Q-channel data respectively, and sequentially takes N/M data as a group, finds the largest absolute value among the N/M data, and then finds the largest absolute value.
  • a valid sign bit the 6-bit effective data is intercepted from the first valid sign bit as an index coefficient, and is mainly used for querying the compressed data table to obtain a compression index multiplication factor, and the bit width of the index coefficient only needs to be smaller than the compressed data bit.
  • the width is more than 1bit, and the compressed data table is shown in Table 1.
  • IQ is independent
  • the compression factor is composed of index coefficients and truncation factors.
  • the 16-bit IQ data is compressed in the above manner to obtain 5 bits of compressed IQ data and a compression factor, and the compression factor includes an index coefficient and a truncation factor.
  • the IQ data to be transmitted is compressed by the fractional compression algorithm, and the decimal information is included in the compressed IQ data, thereby reducing the data amount of the IQ data to be transmitted, thereby effectively avoiding the need to add hardware in the existing mode. Cost and post-operation and maintenance costs lead to high cost of data transmission and reduce the cost of data transmission.
  • FIG. 12 is a schematic diagram of functional modules of a second embodiment of a data transmission apparatus according to the present invention.
  • the first receiving module 50 and the first decompression module 60 are further included.
  • the first receiving module 50 is configured to receive the encoded data, and decode the encoded data to obtain the compression factor and the compressed IQ data.
  • the decompression process is an inverse process of the compression process, and the receiving end receives the encoded data sent by the transmitting end, and after receiving the encoded data, decoding the encoded data to obtain a compressed data.
  • IQ data and compression factor are inverse processes of the compression process, and the receiving end receives the encoded data sent by the transmitting end, and after receiving the encoded data, decoding the encoded data to obtain a compressed data.
  • the first decompression module 60 is configured to decompress the compressed IQ data according to the compression factor to obtain decompressed IQ data.
  • the first decompression module 60 includes a first determining unit 61 and a first decompressing unit 62,
  • the first determining unit 61 is configured to determine an index coefficient and a truncation factor according to the compression factor; the receiving end complements the truncated low bit according to a truncation factor in the compression factor, and the size of the truncation factor is represented by The number of digits to be filled with 0 is required, and the highest digit fills the sign bit to restore the data to the number of bits of the original data.
  • the first decompressing unit 62 is configured to decompress the compressed IQ number according to the truncation factor According to the method, the complete IQ data is obtained; and the decompressed index multiplication factor corresponding to the index coefficient is obtained by querying the compressed data table according to the index coefficient, and decompressing the complete IQ data according to the decompressed index multiplication factor to obtain a decompressed IQ data.
  • the receiving end restores the compressed data to the number of bits of the original data according to the compression factor
  • the compressed data table is queried according to the index coefficient to obtain a decompressed index multiplication factor, and the multiplication operation is completed, and the multiplication method is also needed in the decompression process.
  • Factor quantization gain that is, the restored raw data needs to be restored to the data retaining the decimal.
  • the 16-bit IQ data is compressed to 5 bits as an example, and the compressed 5-bit IQ data is zero-cut by the truncation factor in the compression factor, and the truncation factor is The size is the number of low bits, and the highest bit complements the sign bit to restore the compressed IQ data to 16 bits. Then, according to the 5-bit index coefficient, the 1-bit 0 index is added to the corresponding decompression multiplication factor to complete the multiplication operation, and the multiplication factor is eliminated. Quantize the gain. The compressed 5-bit IQ data is restored to 16-bit raw data by the index coefficient and the truncation factor in the compression factor to achieve the purpose of data transmission.
  • the embodiment of the invention compresses the IQ data to be transmitted by the fractional compression algorithm, and includes the decimal digit information in the compressed IQ data, thereby reducing the data amount of the IQ data to be transmitted, and the receiving end restores the compressed according to the compression factor.
  • the data effectively avoids the need to increase the hardware cost and the later operation and maintenance cost in the existing mode, which leads to the problem of high data transmission cost and reduces the cost of data transmission.
  • the data transmission device includes: a second receiving module 100 and a second decompression module 200.
  • the second receiving module 100 is configured to receive the encoded data sent by the sending end, and decode the encoded data to obtain the compression factor and the compressed IQ data.
  • the decompression process is an inverse process of the compression process, and the receiving end receives the encoded data sent by the transmitting end, and after receiving the encoded data, decoding the encoded data to obtain a compressed data.
  • IQ data and compression factor are inverse processes of the compression process, and the receiving end receives the encoded data sent by the transmitting end, and after receiving the encoded data, decoding the encoded data to obtain a compressed data.
  • the second decompression module 200 is configured to decompress the compressed IQ data according to the compression factor to obtain decompressed IQ data.
  • the second decompression module 200 includes a second determining unit 201 and a second decompressing unit 202,
  • the second determining unit 201 is configured to determine an index coefficient and a truncation factor according to the compression factor; the receiving end complements the truncated low bit according to a truncation factor in the compression factor, and the size of the truncation factor is represented by The number of digits to be filled with 0 is required, and the highest digit fills the sign bit to restore the data to the number of bits of the original data.
  • the receiving end queries the compressed data table according to the index coefficient to obtain a decompressed index multiplication factor corresponding to the index coefficient, and decompresses the complete IQ data according to the decompressed index multiplication factor to obtain decompressed IQ data.
  • the second decompressing unit 202 is configured to decompress the compressed IQ data according to the truncation factor to obtain complete IQ data, and is further configured to query the compressed data table according to the index coefficient to obtain the index coefficient.
  • the index multiplication factor is decompressed, and the decompressed IQ data is obtained by decompressing the complete IQ data according to the decompression index multiplication factor.
  • the compressed data table is queried according to the index coefficient to obtain a decompressed index multiplication factor, and the multiplication operation is completed, and the multiplication method is also needed in the decompression process.
  • Factor quantization gain that is, the restored raw data needs to be restored to the data retaining the decimal.
  • the 16-bit IQ data is compressed to 5 bits as an example, and the compressed 5-bit IQ data is zero-cut by the truncation factor in the compression factor, and the truncation factor is The size is the number of low bits, and the highest bit complements the sign bit to restore the compressed IQ data to 16 bits. Then, according to the 5-bit index coefficient, the 1-bit 0 index is added to the corresponding decompression multiplication factor to complete the multiplication operation, and the multiplication factor is eliminated. Quantize the gain. The compressed 5-bit IQ data is restored to 16-bit raw data by the index coefficient and the truncation factor in the compression factor to achieve the purpose of data transmission.
  • the embodiment of the invention compresses the IQ data to be transmitted by the fractional compression algorithm, and includes the decimal digit information in the compressed IQ data, thereby reducing the data amount of the IQ data to be transmitted, and the receiving end restores the compressed according to the compression factor.
  • the data effectively avoids the need to increase the hardware cost and the later operation and maintenance cost in the existing mode, which leads to the problem of high data transmission cost and reduces the cost of data transmission.
  • the second obtaining module 300 is configured to obtain the IQ data to be transmitted.
  • the sending end is preferably an RRU device, and the receiving end is preferably a BBU side device.
  • the transmitting end acquires IQ data to be transmitted when the data needs to be transmitted, the I data is the same direction component data, and the Q data is orthogonal component data.
  • the sending end may also be a BBU, and the receiving end may be an RRU.
  • a second compression module 400 configured to compress the IQ data to be transmitted according to a fractional compression algorithm to obtain a compression factor and compressed IQ data, where the compressed IQ data includes decimal place information;
  • the second compression module 400 includes a second grouping unit 401 and a second compression unit 402.
  • the second compression module 400 is configured to group the IQ data packets according to a preset sampling rate
  • the IQ data includes I data and Q data, and the transmitting end groups the IQ data to be transmitted at a preset sampling rate, that is, at a baseband sampling rate, and sequentially sequences each IQ data, that is, sequentially A number of data packets are set, and the preset number may be 4 or 5, etc., as needed. For example, if the IQ data includes N data, divided into M groups, each group includes N/M data, and both I data and Q data need to be grouped.
  • the second compression unit 402 is configured to compress each group according to a fractional compression algorithm to obtain compression factors corresponding to the respective groups and compressed IQ data.
  • the transmitting end compresses the data in each group after the packet according to a fractional compression algorithm to obtain compression factors and compressed IQ data of each group, where the compression factor includes an I compression factor and a Q compression factor, that is, I.
  • the compression factor and the Q compression factor are independent.
  • the sending end compresses each group according to the fractional compression algorithm, and the process of obtaining the compression factor corresponding to each group and the compressed IQ data may include:
  • the transmitting end determines data having the largest absolute value among the respective groups as original data; if there are N/M data in the group, determining the data with the largest absolute value from the N/M data as Raw data.
  • the transmitting end determines a first valid sign bit of the original data, and intercepts valid data of a preset number of bits as an index coefficient from the first valid sign bit, and determines a truncation factor, where the compression factor includes an index a coefficient and an interception factor; the preset number of bits may be 6 bits or 5 bits, etc., after determining the first valid sign bit of the original data, the transmitting end intercepts the preset from the first valid sign bit
  • the effective data of the number of bits is used as an index coefficient, that is, the lower data is discarded from the first valid symbol bit, and the valid data of the preset number of bits is reserved as an index coefficient, and the index data is referred to as a compressed data table, and the index coefficient is decimal data.
  • the valid data of the preset preset digits is binary
  • the valid data of the preset digits is converted into decimal data as an index coefficient.
  • the transmitting end After intercepting the valid data of the preset number of bits as the index coefficient, the transmitting end generates a truncation factor, for example, discarding a low-order data, the truncation factor is 1, discarding the two lower-order data, and the intercept factor is 2.
  • the compression factor includes an index coefficient and a truncation factor.
  • the sending end queries the compressed data table according to the index coefficient to obtain a compression index multiplication factor corresponding to the index coefficient;
  • the transmitting end multiplies the original data by the compression index multiplication factor to obtain a new original number According to the first valid sign bit of the new original data, the preset bit number minus one bit of data is intercepted as the compressed IQ data;
  • the transmitting end queries the compressed data table according to the index coefficient obtained by intercepting the valid data of the preset number of bits to obtain a compressed index multiplication factor, and multiplies the original data by the compressed index multiplication factor to obtain new original data.
  • the first valid sign bit of the new raw data begins to intercept the data of the preset number of bits minus one bit as the compressed IQ data. That is, the target data is data that is reduced by 1 bit for the preset number of bits. For example, if the preset number of bits is 6 bits, 5 bits of data are intercepted.
  • the original data is first amplified to achieve the purpose of intercepting the data at a fixed point, and the decimal data in the original data is retained, that is, the decimal data is retained at the time of interception.
  • the other data in the respective groups are compressed in the above manner to obtain compression factors corresponding to the respective groups and compressed IQ data.
  • the other data in each group is compressed in the above manner to obtain compression factors corresponding to the respective groups and compressed IQ data.
  • the first column is an index coefficient A
  • the third column is a quantized compression multiplication factor C
  • the quantization bit width can be set according to the quantization precision requirement
  • D (210/C)*210 rounded off
  • the index coefficient that needs to be packed into the compression factor is the default number of bits minus 1 bit
  • the truncation factor is the preset number of bits minus 2 bits. For example, taking the preset number of bits as 6 bits as an example, the index coefficient is 5 bits and the truncation factor is 4 bits.
  • the second processing module 500 is configured to: the transmitting end encodes the compression factor and the compressed IQ data according to a preset protocol;
  • the second sending module 600 is configured to send the encoded data to the receiving end.
  • the preset protocol is a communication protocol, for example, a 4G communication protocol, a 3G communication protocol, or the like. Transmitting, by the sending end, the compression factor and the compressed IQ data according to a preset protocol, encoding into a format that can be transmitted between the RRU and the BBU, and transmitting the encoded data to the receiving end, for providing The receiving end decompresses the compressed IQ data according to the compression factor to obtain decompressed IQ data, and the decompressed IQ data includes decimal place information.
  • the IQ data is 16 bit compressed to 5 bit width as an example to explain the compression process of the present invention.
  • the transmitting end groups 16-bit I-channel data and Q-channel data respectively, and sequentially takes N/M data as a group, finds the largest absolute value among the N/M data, and then finds the largest absolute value.
  • a valid sign bit the 6-bit effective data is intercepted from the first valid sign bit as an index coefficient, and is mainly used for querying the compressed data table to obtain a compression index multiplication factor, and the bit width of the index coefficient only needs to be smaller than the compressed data bit.
  • the width is more than 1bit, and the compressed data table is shown in Table 1.
  • IQ index coefficients and truncation factors.
  • the 16-bit IQ data is compressed in the above manner to obtain 5 bits of compressed IQ data and a 0 compression factor, the compression factor including an index coefficient and a truncation factor.
  • the IQ data to be transmitted is compressed by the fractional compression algorithm, and the decimal information is included in the compressed IQ data, thereby reducing the data amount of the IQ data to be transmitted, thereby effectively avoiding the need to add hardware in the existing mode. Cost and post-operation and maintenance costs lead to high cost of data transmission and reduce the cost of data transmission.
  • a data transmission system including the transmitting end and the receiving end, wherein the data compression and decompression process is as described in the foregoing embodiment, and is not Let me repeat.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
  • the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
  • the units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the above integration
  • the unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing storage device includes the following steps: the foregoing storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • ROM read-only memory
  • RAM random access memory
  • magnetic disk or an optical disk.
  • optical disk A medium that can store program code.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

本发明公开了一种数据传输方法及装置,其中方法包括以下步骤:发送端获取待传输的IQ数据;所述发送端按照小数压缩算法对所述待传输的IQ数据压缩得到压缩因子及压缩后的IQ数据,所述压缩后的IQ数据包括小数位信息;所述发送端按照预设协议对所述压缩因子和所述压缩后的IQ数据编码,并将编码后的数据发送至接收端,以供所述接收端根据所述压缩因子对所述压缩后的IQ数据解压得到解压后的IQ数据,所述解压后的IQ数据包括小数位信息。

Description

数据传输方法及装置 技术领域
本发明涉及数据处理技术领域,尤其涉及数据传输方法及装置。
背景技术
随着移动通信技术的迅速发展,高速大容量的数据传输是必然趋势。在无线通信分布式基站中,BBU(Building Baseband Unit,室内基带处理单元)和RRU(Remote Radio Unit,射频拉远单元))间为通过光纤或网线拉远来完成数据传输。
因此,基带射频接口传输数据量的增加势必对光纤或网线传输速率提出了更高要求。当单光纤或网线无法满足传输速率要求时,通常有两种解决方案,一是提高光纤或网线速率;二是增加光纤或网线数量。这两种解决方案势必会增加硬件成本,同时也增加了设计的复杂度。
例如,以LTE(Long Term Evolution,长期演进),也可以说是4G系统为例,BBU和RRU光纤拉远,基带射频接口的IQ数据(即基带数据,I为同向分量,Q为正交分量)传输速率的计算方法为:采样速率×采样精度×2(I/Q两路)×载波数×天线数÷编码效率。以LTE的典型配置两载波四天线20MHz带宽16bit传输系统为例,考虑80%的编码效率,该配置下,基带射频接口传输速率为:30.72Mbps(采样速率)×16(采样精度)×2(I/Q两路)×2(载波数)×4(天线数)÷80%(编码效率)=9830.4Mbps,因此要完成此数据量的传输,单光纤的速率至少需要支持到10Gbps,双光纤的速率至少需要支持到5Gbps。在上述方式下,需要增加了硬件成本以及后期的运维成本,导致数据传输的成本偏高。
上述内容仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。
发明内容
本发明实施例的主要目的在于提供一种数据传输方法及装置,旨在解决需要增加了硬件成本以及后期的运维成本,导致数据传输的成本偏高的问题。
为实现上述目的,本发明实施例提供一种数据传输方法,包括以下步骤:
发送端获取待传输的IQ数据;
所述发送端按照小数压缩算法对所述待传输的IQ数据压缩得到压缩因子及压缩后的IQ数据,所述压缩后的IQ数据包括小数位信息;
所述发送端按照预设协议对所述压缩因子和所述压缩后的IQ数据编码,并将编码后的数据发送至接收端,以供所述接收端根据所述压缩因子对所述压缩后的IQ数据解压得到解压后的IQ数据,所述解压后的IQ数据包括小数位信息。
在另一实施例中,所述发送端按照小数压缩算法对所述待传输的IQ数据压缩得到压缩因子及压缩后的IQ数据的步骤包括:
所述发送端按照在预设采样率下将所述IQ数据分组得到分组后的组别;
所述发送端按照小数压缩算法对各个组别压缩,得到各个组别对应的压缩因子及压缩后的IQ数据。
在另一实施例中,所述发送端按照小数压缩算法对各个组别压缩,得到各个组别对应的压缩因子及压缩后的IQ数据的步骤包括:
所述发送端确定所述各个组别中绝对值最大的数据作为参考数据;
所述发送端确定所述参考数据的第一个有效符号位,从所述第一个有 效符号位开始截取预设位数的有效数据作为索引系数,并确定截位因子,所述压缩因子包括索引系数和截位因子;
所述发送端根据所述索引系数查询压缩数据表得到所述索引系数对应的压缩索引乘法因子;
所述发送端将原始数据乘以所述压缩索引乘法因子得到新的原始数据,从所述新的原始数据的所述第一个有效符号位开始截取预设位数减1位的数据作为压缩后的IQ数据;
按照上述方式对所述各个组别中的其他数据压缩得到各个组别对应的压缩因子及压缩后的IQ数据。
在另一实施例中,所述发送端按照预设协议对所述压缩因子和所述压缩后的IQ数据编码,并将编码后的数据发送至接收端的步骤之后,还包括:
所述接收端接收所述编码后的数据,并对所述编码后的数据解码得到所述压缩因子和所述压缩后的IQ数据;
所述接收端根据所述压缩因子解压所述压缩后的IQ数据得到解压后的IQ数据。
在另一实施例中,所述接收端根据所述压缩因子解压所述压缩后的IQ数据得到解压后的IQ数据的步骤包括:
所述接收端根据所述压缩因子确定索引系数和截位因子;
所述接收端根据所述截位因子解压所述压缩后的IQ数据,所述解压后的IQ数据通过补充符号位得到和原始IQ数据位宽一致的完整IQ数据;所述接收端根据所述索引系数查询压缩数据表得到所述索引系数对应的解压索引乘法因子,并根据所述解压索引乘法因子解压所述完整的IQ数据得到解压后的IQ数据。
为实现上述目的,本发明实施例还进一步提供一种数据传输方法,包括以下步骤:
接收端接收发送端发送来的编码后的数据,并对所述编码后的数据解码得到所述压缩因子和所述压缩后的IQ数据;
所述接收端根据所述压缩因子解压所述压缩后的IQ数据得到解压后的IQ数据。
在另一实施例中,所述接收端根据所述压缩因子解压所述压缩后的IQ数据得到解压后的IQ数据的步骤包括:
所述接收端根据所述压缩因子确定索引系数和截位因子;
所述接收端根据所述截位因子解压所述压缩后的IQ数据,所述解压后的IQ数据通过补充符号位得到和原始IQ数据位宽一致的完整IQ数据;所述接收端根据所述索引系数查询压缩数据表得到所述索引系数对应的解压索引乘法因子,并根据所述解压索引乘法因子解压所述完整的IQ数据得到解压后的IQ数据。
在另一实施例中,所述接收端接收发送端发送来的编码后的数据,并对所述编码后的数据解码得到所述压缩因子和所述压缩后的IQ数据的步骤之前,还包括:
发送端获取待传输的IQ数据;
所述发送端按照小数压缩算法对所述待传输的IQ数据压缩得到压缩因子及压缩后的IQ数据,所述压缩后的IQ数据包括小数位信息;
所述发送端按照预设协议对所述压缩因子和所述压缩后的IQ数据编码,并将编码后的数据发送至接收端。
在另一实施例中,所述发送端按照小数压缩算法对所述待传输的IQ数据压缩得到压缩因子及压缩后的IQ数据的步骤包括:
所述发送端按照在预设采样率下将所述IQ数据分组;
所述发送端按照小数压缩算法对各个组别压缩,得到各个组别对应的压缩因子及压缩后的IQ数据。
在另一实施例中,所述发送端按照小数压缩算法对各个组别压缩,得到各个组别对应的压缩因子及压缩后的IQ数据的步骤包括:
所述发送端确定所述各个组别中绝对值最大的数据作为参考数据;
所述发送端确定所述参考数据的第一个有效符号位,从所述第一个有效符号位开始截取预设位数的有效数据作为索引系数,并确定截位因子,所述压缩因子包括索引系数和截位因子;
所述发送端根据所述索引系数查询压缩数据表得到所述索引系数对应的压缩索引乘法因子;
所述发送端将原始数据乘以所述压缩索引乘法因子得到处理后的原始数据,从所述处理后的原始数据的所述第一个有效符号位开始截取预设位数减1位的数据作为压缩后的IQ数据;
按照上述方式对所述各个组别中的其他数据压缩得到各个组别对应的压缩因子及压缩后的IQ数据。
此外,为实现上述目的,本发明实施例还进一步提供一种数据传输装置,包括:
第一获取模块,用于获取待传输的IQ数据;
第一压缩模块,按照小数压缩算法对所述待传输的IQ数据压缩得到压缩因子及压缩后的IQ数据,所述压缩后的IQ数据包括小数位信息;
第一处理模块,用于按照预设协议对所述压缩因子和所述压缩后的IQ数据编码;
第一发送模块,用于将编码后的数据发送至接收端,以供所述接收端根据所述压缩因子对所述压缩后的IQ数据解压得到解压后的IQ数据,所述解压后的IQ数据包括小数位信息。
在另一实施例中,所述第一压缩模块包括第一分组单元和第一压缩单元,
所述第一分组单元,用于按照在预设采样率下将所述IQ数据分组得到分组后的组别;
所述第一压缩单元,用于按照小数压缩算法对各个组别压缩,得到各个组别对应的压缩因子及压缩后的IQ数据。
在另一实施例中,所述第一压缩单元,还用于确定所述各个组别中绝对值最大的数据作为参考数据;还用于确定所述参考数据的第一个有效符号位,从所述第一个有效符号位开始截取预设位数的有效数据作为索引系数,并确定截位因子,所述压缩因子包括索引系数和截位因子;还用于根据所述索引系数查询压缩数据表得到所述索引系数对应的压缩索引乘法因子;
还用于将原始数据乘以所述压缩索引乘法因子得到新的原始数据,从所述新的原始数据的所述第一个有效符号位开始截取预设位数减1位的数据作为压缩后的IQ数据;
还用于按照上述方式对所述各个组别中的其他数据压缩得到各个组别对应的压缩因子及压缩后的IQ数据。
在另一实施例中,所述数据传输装置还包括:
第一接收模块,用于接收所述编码后的数据,并对所述编码后的数据解码得到所述压缩因子和所述压缩后的IQ数据;
第一解压模块,用于根据所述压缩因子解压所述压缩后的IQ数据得到解压后的IQ数据。
在另一实施例中,所述第一解压模块包括第一确定单元和第一解压单元,
所述第一确定单元,用于根据所述压缩因子确定索引系数和截位因子;
所述第一解压单元,用于根据所述截位因子解压所述压缩后的IQ数据,所述解压后的IQ数据通过补充符号位得到和原始IQ数据位宽一致的完整 IQ数据;还用于根据所述索引系数查询压缩数据表得到所述索引系数对应的解压索引乘法因子,并根据所述解压索引乘法因子解压所述完整的IQ数据得到解压后的IQ数据。
为实现上述目的,本发明实施例还进一步提供一种数据传输装置,包括:
第二接收模块,用于接收发送端发送来的编码后的数据,并对所述编码后的数据解码得到所述压缩因子和所述压缩后的IQ数据;
第二解压模块,用于根据所述压缩因子解压所述压缩后的IQ数据得到解压后的IQ数据。
在另一实施例中,所述第二解压模块包括第二确定单元和第二解压单元,
所述第二确定单元,用于根据所述压缩因子确定索引系数和截位因子;
所述第二解压单元,用于根据所述截位因子解压所述压缩后的IQ数据,所述解压后的IQ数据通过补充符号位得到和原始IQ数据位宽一致的完整IQ数据;还用于根据所述索引系数查询压缩数据表得到所述索引系数对应的解压索引乘法因子,并根据所述解压索引乘法因子解压所述完整的IQ数据得到解压后的IQ数据。
在另一实施例中,还包括第二获取模块,用于获取待传输的IQ数据;
第二压缩模块,用于按照小数压缩算法对所述待传输的IQ数据压缩得到压缩因子及压缩后的IQ数据,所述压缩后的IQ数据包括小数位信息;
第二处理模块,用于发送端按照预设协议对所述压缩因子和所述压缩后的IQ数据编码;
第二发送模块,用于编码后的数据发送至接收端。
在另一实施例中,所述第二压缩模块包括第二分组单元和第二压缩单元,
所述第二分组单元,用于按照在预设采样率下将所述IQ数据分组;
所述第二压缩单元,用于按照小数压缩算法对各个组别压缩,得到各个组别对应的压缩因子及压缩后的IQ数据。
在另一实施例中,所述第二压缩单元,还用于确定所述各个组别中绝对值最大的数据作为参考数据;
所述发送端确定所述参考数据的第一个有效符号位,从所述第一个有效符号位开始截取预设位数的有效数据作为索引系数,并确定截位因子,所述压缩因子包括索引系数和截位因子;还用于根据所述索引系数查询压缩数据表得到所述索引系数对应的压缩索引乘法因子;
还用于将原始数据乘以所述压缩索引乘法因子得到处理后的原始数据,从所述处理后的原始数据的所述第一个有效符号位开始截取预设位数减1位的数据作为压缩后的IQ数据;
还用于按照上述方式对所述各个组别中的其他数据压缩得到各个组别对应的压缩因子及压缩后的IQ数据。
本发明通过以小数压缩算法对待传输的IQ数据进行压缩,降低了待传输的IQ数据的数据量,有效避免在现有方式下需要增加硬件成本以及后期运维成本,导致数据传输的成本偏高的问题,降低了数据传输的成本。
附图说明
图1为本发明数据传输方法的第一实施例的流程示意图;
图2为图1中步骤S20一实施例的细化流程示意图;
图3为图2中步骤S22一实施例的细化流程示意图;
图4为本发明数据传输方法的第二实施例的流程示意图;
图5为图4中步骤S50一实施例的细化流程示意图;
图6为本发明压缩过程一实施例的流程示意图;
图7为本发明解压缩过程一实施例的流程示意图;
图8为本发明数据传输方法的第三实施例的流程示意图;
图9为本发明数据传输方法的第四实施例的流程示意图;
图10为本发明数据传输装置的第一实施例的功能模块示意图;
图11为图10中第一压缩模块一实施例的细化功能模块示意图;
图12为本发明数据传输装置的第二实施例的功能模块示意图;
图13为图12中第一解压模块一实施例的细化功能模块示意图;
图14为本发明数据传输装置的第三实施例的功能模块示意图;
图15为图14中第二解压模块一实施例的细化功能模块示意图;
图16为本发明数据传输装置的第四实施例的功能模块示意图;
图17为本发明图16中第二压缩模块一实施例的细化功能模块示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明实施例的主要解决方案是:发送端获取待传输的IQ数据;所述发送端按照小数压缩算法对所述待传输的IQ数据压缩得到压缩因子及压缩后的IQ数据,所述压缩后的IQ数据包括小数位信息;所述发送端按照预设协议对所述压缩因子和所述压缩后的IQ数据编码,并将编码后的数据发送至接收端,以供所述接收端根据所述压缩因子对所述压缩后的IQ数据解压得到解压后的IQ数据,所述解压后的IQ数据包括小数位信息。通过以小数压缩算法对待传输的IQ数据进行压缩,并在压缩后的IQ数据中包括小数位信息,降低了待传输的IQ数据的数据量,有效避免在现有方式下需要增加硬件成本以及后期运维成本,导致数据传输的成本偏高的问题,降低了数据传输的成本。
由于现有的数据传输需要增加了硬件成本以及后期的运维成本,导致数据传输的成本偏高。
基于上述问题,本发明提供一种数据传输方法。所述数据传输方法优选的执行与无线通讯系统中,也还可以是执行在其他需要进行数据传输的过程中以下实施例中均以无线通讯系统为例来描述,但并不局限于使用在无线通讯系统中的数据传输。
参照图1,图1为本发明实施例数据传输方法的第一实施例的流程示意图。
在一实施例中,所述数据传输方法包括:
步骤S10,发送端获取待传输的IQ数据;
执行本发明数据传输方法的主体可以是RRU、BBU等基站的数据传输设备,进一步地,为加载在所述RRU、BBU设备侧的数据传输应用程序。在本实施例中在RRU为发送端时,优选为RRU设备,在BBU为发送端时,优选为BBU设备。
在本实施例中所述发送端优选为RRU设备,接收端优选为BBU侧设备。所述发送端在需要传输数据时,获取待传输的IQ数据,所述I数据为同向分量数据,所述Q数据为正交分量数据,所述IQ数据为同相分量数据和正交分量数据的结合。
步骤S20,所述发送端按照小数压缩算法对所述待传输的IQ数据压缩得到压缩因子及压缩后的IQ数据,所述压缩后的IQ数据包括小数位信息;
参考图2,所述发送端按照小数压缩算法对所述待传输的IQ数据压缩得到压缩因子及压缩后的IQ数据的过程可以包括:
步骤S21,所述发送端按照在预设采样率下将所述IQ数据分组得到分组后的组别;
所述IQ数据包括I数据和Q数据,所述发送端在预设采样率下,即在 基带采样率下将待传输的IQ数据分组,且按顺序将各个IQ数据分组,即按顺序去预设个数的数据分组,所述预设个数可以是4个或5个等按照需要进行设置。例如,若所述IQ数据包括N个数据,分为M组,则每组包括N/M个数据,且需要将I数据和Q数据均分组。
步骤S22,所述发送端按照小数压缩算法对各个组别压缩,得到各个组别对应的压缩因子及压缩后的IQ数据。
所述发送端对每个分组后的组别中的数据按照小数压缩算法压缩,得到各个组别的压缩因子及压缩后的IQ数据,所述压缩因子包括I压缩因子和Q压缩因子,即I压缩因子和Q压缩因子独立。
具体的,参考图3,所述发送端按照小数压缩算法对各个组别压缩,得到各个组别对应的压缩因子及压缩后的IQ数据的过程可以包括:
步骤S221,所述发送端确定所述各个组别中绝对值最大的数据作为参考数据;若所述组别中存在N/M个数据,则从所述N/M个数据中确定绝对值最大的数据作为参考数据。
步骤S222,所述发送端确定所述参考数据的第一个有效符号位,从所述第一个有效符号位开始截取预设位数的有效数据作为索引系数,并确定截位因子,所述压缩因子包括索引系数和截位因子;所述预设位数可以是小于原始数据位宽的任意比特位数,例如,可以是6bit或5bit等。所述发送端在确定所述参考数据的第一个有效符号位后,从所述第一个有效符号位开始截取预设位数的有效数据作为索引系数,即从所述第一个有效符号位开始截取预设比特位数作为索引系数,将低位的数据丢弃,参考压缩数据表,所述索引系数为十进制数据,若截取的预设位数的有效数据为二进制时,将所述预设位数的有效数据转为十进制数据作为索引系数。在本发明其他实施例中,也还可以是将所述压缩数据表中的索引系数转换为二进制索引系数,如此,截取的预设位数的有效数据保留二进制的形式作为索 引系数。
在截取预设位数的有效数据作为索引系数后,所述发送端生成截位因子,例如,丢弃掉一个低位数据,截位因子为1,丢弃掉两个低位数据,截取因子为2。所述压缩因子包括索引系数和截位因子。
步骤S223,所述发送端根据所述索引系数查询压缩数据表得到所述索引系数对应的压缩索引乘法因子;
步骤S224,所述发送端将原始数据乘以所述压缩索引乘法因子得到新的原始数据,从所述新的原始数据的所述第一个有效符号位开始截取预设位数减1位的数据作为压缩后的IQ数据;
所述发送端在根据截取预设位数的有效数据得到的索引系数查询压缩数据表得到压缩索引乘法因子后,将所述原始数据乘以所述压缩索引乘法因子得到新的原始数据,从所述新的原始数据的所述第一个有效符号位开始截取预设位数减1位的数据作为压缩后的IQ数据。即目标数据是为预设位数减1位的数据。例如,在需要截取5bit数据时,所述预设位数设置为6bit。根据预设位数的十进制结果查表得到压缩乘法因子,为了定点处理,乘法因子需要做量化处理,通过先将所述原始数据乘以压缩乘法因子,再从所述第一个有效符号位开始截取5bit数据作为压缩后的数据,这样处理后可以保留部分小数位信息。
步骤S225,按照上述方式对所述各个组别中的其他数据压缩得到各个组别对应的压缩因子及压缩后的IQ数据。
按照上述方式将各个组别中的其他数据压缩得到各个组别对应的压缩因子及压缩后的IQ数据。
表1
Figure PCTCN2015090060-appb-000001
Figure PCTCN2015090060-appb-000002
Figure PCTCN2015090060-appb-000003
在所述压缩数据表中,所有数据均为十进制,所述第一列为索引系数A,第二列为理论压缩乘法因子B,B=(25-2)/A,第三列为量化后的压缩乘法因子C,C=210*B四舍五入的结果,210表示按照11比特进行量化,量化比特位宽可根据量化精度要求设定,第四列为解压量化乘法因子D,D=(210/C)*210四舍五入的结果,量化的目的是便于定点计算。这里的乘法因子量化增益在处理过程中要消除。由于去绝对值后索引系数为正数,最高比特位始终为0,因此最终需要打包到压缩因子里面的索引系数为预设位数减1bit,截位因子比特位数则是根据原始数据比特位宽和压缩后的数据位宽综合得到。例如,原始数据为16bit,需要压缩到5bit,则预设位数为6bit,则真正需要传递的索引系数只需要5bit,截位因子最大值则为11,因此截位因子使用4bit即可。
步骤S30,所述发送端按照预设协议对所述压缩因子和所述压缩后的IQ数据编码,并将编码后的数据发送至接收端,以供所述接收端根据所述压缩因子对所述压缩后的IQ数据解压得到解压后的IQ数据,所述解压后的IQ数据包括小数位信息。
所述预设协议为通讯协议,例如,为4G通讯协议、3G通讯协议等。所述发送端按照预设协议对所述压缩因子和所述压缩后的IQ数据编码,编 码为能够在RRU和BBU之间传输的格式,并将编码后的数据发送至接收端,以供所述接收端根据所述压缩因子对所述压缩后的IQ数据解压得到解压后的IQ数据,所述解压后的IQ数据包括小数位信息。
具体的,为了更好的说明本发明数据传输方法中数据压缩的过程,IQ数据为16bit压缩至5bit位宽为例解释本发明压缩过程。
发送端分别将16bit的I路数据和Q路数据进行分组,按顺序依次取N/M个数据为一组,找到N/M个数据中绝对值最大者,再找出绝对值最大者的第一个有效符号位,从所述第一个有效符号位开始截取6bit有效数据作为索引系数,主要用于查询压缩数据表得到压缩索引乘法因子,索引系数的比特位宽只需要比压缩后数据位宽多1bit,压缩数据表如表1所示。为了将此6bit有效数据调整到接近6bit满动态,需要将16bit原始数据乘以压缩乘法因子后按照绝对值最大者的第一个有效符号位开始截取5bit有效数据,然后按照同样的方式去处理其他(N/M)-1个数据,这就相当于把最低的几位截掉同时又保留了部分小数位信息,被截掉的数据用0代替。最低位删掉的bit数,用截位因子来表示。截位因子=1,表示把bit0删掉了,截位因子=2,表示把bit0、bit1都删掉了,依次类推。每组数据的压缩因子只有一个,IQ独立,压缩因子由索引系数和截位因子构成。通过上述方式将16bit IQ数据压缩后得到5bit的压缩后的IQ数据及0压缩因子,所述压缩因子包括索引系数和截位因子。
本实施例通过以小数压缩算法对待传输的IQ数据进行压缩,并在压缩后的IQ数据中包括小数位信息,降低了待传输的IQ数据的数据量,有效避免在现有方式下需要增加硬件成本以及后期运维成本,导致数据传输的成本偏高的问题,降低了数据传输的成本。
参照图4,图4为本发明数据传输方法的第二实施例的流程示意图。基于上述数据传输方法的第一实施例,所述步骤S30之后,还包括:
步骤S40,所述接收端接收所述编码后的数据,并对所述编码后的数据解码得到所述压缩因子和所述压缩后的IQ数据;
解压缩过程为压缩过程的逆过程,所述接收端接收所述发送端发送的编码后的数据,在接收到所述编码后的数据后,对所述编码后的数据解码,得到压缩后的IQ数据和压缩因子。
步骤S50,所述接收端根据所述压缩因子解压所述压缩后的IQ数据得到解压后的IQ数据。
参考图5,所述接收端根据所述压缩因子解压所述压缩后的IQ数据得到解压后的IQ数据的过程可以包括:
步骤S51,所述接收端根据所述压缩因子确定索引系数和截位因子;
步骤S52,所述接收端根据所述截位因子解压所述压缩后的IQ数据,得到完整的IQ数据;所述接收端根据压缩因子中的截位因子将截掉的低位补0,截位因子的大小即表示需要补0的位数,最高位补齐符号位将数据还原成原始数据的位数。
步骤S53,所述接收端根据所述索引系数查询压缩数据表得到所述索引系数对应的解压索引乘法因子,并根据所述解压索引乘法因子解压所述完整的IQ数据得到解压后的IQ数据。
所述接收端在根据压缩因子将所述压缩后的数据还原为原始数据的位数后,根据所述索引系数查询压缩数据表得到解压索引乘法因子,完成乘法操作,解压过程中同样需要消除乘法因子量化增益,即需要将还原的原始数据还原为保留小数的数据。通过在压缩和数据传输过程中,保留了部分小数位信息,使得数据传输更加准确、可靠和真实,在提高数据传输效率的同时,提高了数据传输的准确性。
为了更好的说明上述解压缩过程,以将16bit的IQ数据压缩至5bit为例,将压缩后的5bit的IQ数据,根据压缩因子中截位因子将截掉的低位补 0,截位因子的大小即低位补0的个数,最高位补齐符号位将压缩后的IQ数据还原为16bit,然后根据5bit索引系数补1bit的0后索引到相应解压乘法因子完成乘法操作,并消除乘法因子的量化增益。通过压缩因子中的索引系数和截位因子将压缩后的5bit IQ数据还原为16bit的原始数据,达到数据传输的目的。
进一步地,参考图6为压缩过程,其中左边表格中为16bit原始数据,其中竖列表示位,横向表示第几个数据(bit14为第一个有效符号位),这里是1组4个数据(WORD0~WORD3),最大的是WORD0,按照最终5bit输出这样截位因子就是(0x1010),索引系数从WORD0的第一个符号位bit14开始数6个bit,,然后根据这6bit数据0x011010查索引表得到压缩乘法因子为1182,再把WORD0~WORD3四个数据分别乘以乘法因子后截掉低10bit(去除量化增益),然后按照WORD0的6bit截位信息保留高5bit,这样得到最终压缩后的5bit数据,5bit索引系数为0x11010,因此9bit压缩因子为0x110101010,其中高5bit表示索引系数,低4bit表示截位因子。压缩后的结果见图6中右边表格。
参考图7,为解压缩过程,解压侧根据9bit压缩因子中的截位因子,即在低位(bit9~bit0)填10个0,然后根据索引系数0x011010查索引表得到解压乘法因子为921,将压缩后的四个数据分别乘以乘法因子后截掉低10bit,bit15和bit14填2个符号位(正数填0,负数填1),重新将数据还原为16bit的IQ数据,解压结果见图7右边表格。
由上述可知,压缩时将IQ数据位宽从16bit降到了5bit,从而减少了传输IQ数据量,可以有效降低光纤或网线传输速率。另外该方法在压缩时会砍掉一些低位字节,解压缩后的数据跟RRU侧压缩前的数据会有一定差异,这就是压缩损耗,压缩损耗大小依赖算法中两个核心参数选择,分组参数N和压缩后数据比特位宽M,这两个参数要依据基带射频接口速率和 系统EVM(Error Vector Magnitude)要求综合给出。M越小,EVM越差但基带射频接口速率要求越低,反之,M越大,EVM越好但基带射频接口速率要求越高;N越小,EVM越好,压缩因子占用的传输带宽越大,反之,N越大,EVM越差,压缩因子占用的传输带宽越小。
以LTE的典型配置两载波四天线的20MHz带宽16bit传输系统为例,考虑80%的编码效率,该配置下,基带射频接口传输速率为:30.72Mbps(采样速率)×16(采样精度)×2(I/Q两路)×2(载波数)×4(天线数)÷80%(编码效率)=9830.4Mbps。采用本发明小数压缩算法后,假如数据位宽从16bit压缩至5bit,分组系数为16,这样IQ数据传输速率变为:30.72Mbps(采样速率)×5(采样精度)×2(I/Q两路)×2(载波数)×4(天线数)÷80%(编码效率)=3072Mbps,压缩因子带宽占用为:30.72Mbps(采样速率)×9(压缩因子位宽)×2(I/Q两路)×2(载波数)×4(天线数)/16(分组系数)÷80%(编码效率)=345.6Mbps,因此基带射频接口传输总速率为:3072+345.6=3417.6Mbps,大大降低了基带射频接口传输带宽要求。
本发明实施例通过以小数压缩算法对待传输的IQ数据进行压缩,并在压缩后的IQ数据中包括小数位信息,降低了待传输的IQ数据的数据量,接收端根据压缩因子还原压缩后的数据,有效避免在现有方式下需要增加硬件成本以及后期运维成本,导致数据传输的成本偏高的问题,降低了数据传输的成本。
参照图8,图8为本发明数据传输方法的第三实施例的流程示意图。所述数据传输方法包括:
步骤S100,接收端接收发送端发送来的编码后的数据,并对所述编码后的数据解码得到所述压缩因子和所述压缩后的IQ数据;
解压缩过程为压缩过程的逆过程,所述接收端接收所述发送端发送的编码后的数据,在接收到所述编码后的数据后,对所述编码后的数据解码, 得到压缩后的IQ数据和压缩因子。
步骤S200,所述接收端根据所述压缩因子解压所述压缩后的IQ数据得到解压后的IQ数据。
所述接收端根据所述压缩因子解压所述压缩后的IQ数据得到解压后的IQ数据的过程可以包括:所述接收端根据所述压缩因子确定索引系数和截位因子;所述接收端根据所述截位因子解压所述压缩后的IQ数据,得到完整的IQ数据;所述接收端根据压缩因子中的截位因子将截掉的低位补0,截位因子的大小即表示需要补0的位数,最高位补齐符号位将数据还原成原始数据的位数。所述接收端根据所述索引系数查询压缩数据表得到所述索引系数对应的解压索引乘法因子,并根据所述解压索引乘法因子解压所述完整的IQ数据得到解压后的IQ数据。
所述接收端在根据压缩因子将所述压缩后的数据还原为原始数据的位数后,根据所述索引系数查询压缩数据表得到解压索引乘法因子,完成乘法操作,解压过程中同样需要消除乘法因子量化增益,即需要将还原的原始数据还原为保留小数的数据。
为了更好的说明上述解压缩过程,以将16bit的IQ数据压缩至5bit为例,将压缩后的5bit的IQ数据,根据压缩因子中截位因子将截掉的低位补0,截位因子的大小即低位补0的个数,最高位补齐符号位将压缩后的IQ数据还原为16bit,然后根据5bit索引系数补1bit的0后索引到相应解压乘法因子完成乘法操作,并消除乘法因子的量化增益。通过压缩因子中的索引系数和截位因子将压缩后的5bit IQ数据还原为16bit的原始数据,达到数据传输的目的。
本发明实施例通过以小数压缩算法对待传输的IQ数据进行压缩,并在压缩后的IQ数据中包括小数位信息,降低了待传输的IQ数据的数据量,接收端根据压缩因子还原压缩后的数据,有效避免在现有方式下需要增加 硬件成本以及后期运维成本,导致数据传输的成本偏高的问题,降低了数据传输的成本。
参照图9,图9为本发明数据传输方法的第四实施例的流程示意图。基于上述数据传输方法的第三实施例,所述步骤S100之前,还包括:
步骤S300,发送端获取待传输的IQ数据;
在本实施例中所述发送端优选为RRU设备,接收端优选为BBU侧设备。所述发送端在需要传输数据时,获取待传输的IQ数据,所述I数据为同向分量数据,所述Q数据为正交分量数据。
步骤S400,所述发送端按照小数压缩算法对所述待传输的IQ数据压缩得到压缩因子及压缩后的IQ数据,所述压缩后的IQ数据包括小数位信息;
所述发送端按照小数压缩算法对所述待传输的IQ数据压缩得到压缩因子及压缩后的IQ数据的过程可以包括:所述发送端按照在预设采样率下将所述IQ数据分组得到分组后的组别;
所述IQ数据包括I数据和Q数据,所述发送端在预设采样率下,即在基带采样率下将待传输的IQ数据分组,且按顺序将各个IQ数据分组,即按顺序去预设个数的数据分组,所述预设个数可以是4个或5个等按照需要进行设置。例如,若所述IQ数据包括N个数据,分为M组,则每组包括N/M个数据,且需要将I数据和Q数据均分组。
所述发送端按照小数压缩算法对各个组别压缩,得到各个组别对应的压缩因子及压缩后的IQ数据。
所述发送端对每个分组后的组别中的数据按照小数压缩算法压缩,得到各个组别的压缩因子及压缩后的IQ数据,所述压缩因子包括I压缩因子和Q压缩因子,即I压缩因子和Q压缩因子独立。
所述发送端按照小数压缩算法对各个组别压缩,得到各个组别对应的压缩因子及压缩后的IQ数据的过程可以包括:
所述发送端确定所述各个组别中绝对值最大的数据作为原始数据;若所述组别中存在N/M个数据,则从所述N/M个数据中确定绝对值最大的数据作为参考数据。
所述发送端确定所述原始数据的第一个有效符号位,从所述第一个有效符号位开始截取预设位数的有效数据作为索引系数,并确定截位因子,所述压缩因子包括索引系数和截位因子;所述预设位数可以是小于原始数据位数的任何值,例如,可以是6bit或5bit等。所述发送端在确定所述原始数据的第一个有效符号位后,从所述第一个有效符号位开始截取预设位数的有效数据作为索引系数,即从所述第一个有效符号位开始截取预设位数的有效数据作为索引系数,参考压缩数据表,所述索引系数为十进制数据,若截取的预设位数的有效数据为二进制时,将所述预设位数的有效数据转为十进制数据作为索引系数。在本发明其他实施例中,也还可以是将所述压缩数据表中的索引系数转换为二进制索引系数,如此,截取的预设位数的有效数据保留二进制的形式作为索引系数。
在截取预设位数的有效数据作为索引系数后,所述发送端生成截位因子,例如,丢弃掉一个低位数据,截位因子为1,丢弃掉两个低位数据,截取因子为2。所述压缩因子包括索引系数和截位因子。
所述发送端根据所述索引系数查询压缩数据表得到所述索引系数对应的压缩索引乘法因子;
所述发送端将原始数据乘以所述压缩索引乘法因子得到新的原始数据,从所述新的原始数据的所述第一个有效符号位开始截取预设位数减1位的数据作为压缩后的IQ数据;
所述发送端在根据截取预设位数的有效数据得到的索引系数查询压缩数据表得到压缩索引乘法因子后,将所述原始数据乘以所述压缩索引乘法因子得到新的原始数据,从所述新的原始数据的所述第一个有效符号位开 始截取预设位数减1位的数据作为压缩后的IQ数据。即目标数据是为预设位数减1位的数据。例如,在需要截取5bit数据时,所述预设位数设置为6bit。根据预设位数的十进制结果查表得到压缩乘法因子,为了定点处理,乘法因子需要做量化处理,通过先将所述原始数据乘以压缩乘法因子,再从所述第一个有效符号位开始截取5bit数据作为压缩后的数据,这样处理后可以保留部分小数位信息。
按照上述方式对所述各个组别中的其他数据压缩得到各个组别对应的压缩因子及压缩后的IQ数据。按照上述方式将各个组别中的其他数据压缩得到各个组别对应的压缩因子及压缩后的IQ数据。
在所述压缩数据表中,所述第一列为索引系数A,第二列为理论压缩乘法因子B,B=(25-2)/A,第三列为量化后的压缩乘法因子C,C=210*B四舍五入的结果,210表示按照11比特进行量化,量化比特位宽可根据量化精度要求设定,第四列为解压量化乘法因子D,D=(210/C)*210四舍五入的结果,量化的目的是便于顶点计算。这里的乘法因子量化增益在处理过程中要消除。由于去绝对值后索引系数为正数,最高比特位始终为0,因此最终需要打包到压缩因子里面的索引系数为预设位数减1bit,截位因子为预设位数减2bit。例如,以预设位数为6bit为例,则索引系数为5bit,截位因子为4bit。
步骤S500,所述发送端按照预设协议对所述压缩因子和所述压缩后的IQ数据编码,并将编码后的数据发送至接收端。
所述预设协议为通讯协议,例如,为4G通讯协议、3G通讯协议等。所述发送端按照预设协议对所述压缩因子和所述压缩后的IQ数据编码,编码为能够在RRU和BBU之间传输的格式,并将编码后的数据发送至接收端,以供所述接收端根据所述压缩因子对所述压缩后的IQ数据解压得到解压后的IQ数据,所述解压后的IQ数据包括小数位信息。
具体的,为了更好的说明本发明数据传输方法中数据压缩的过程,IQ数据为16bit压缩至5bit位宽为例解释本发明压缩过程。
发送端分别将16bit的I路数据和Q路数据进行分组,按顺序依次取N/M个数据为一组,找到N/M个数据中绝对值最大者,再找出绝对值最大者的第一个有效符号位,从所述第一个有效符号位开始截取6bit有效数据作为索引系数,主要用于查询压缩数据表得到压缩索引乘法因子,索引系数的比特位宽只需要比压缩后数据位宽多1bit,压缩数据表如表1所示。为了将此6bit有效数据调整到接近6bit满动态,需要将16bit原始数据乘以压缩乘法因子后按照绝对值最大者的第一个有效符号位开始截取5bit有效数据,然后按照同样的方式去处理其他(N/M)-1个数据,这就相当于把最低的几位截掉同时又保留了部分小数位信息,被截掉的数据用0代替。最低位删掉的bit数,用截位因子来表示。截位因子=1,表示把bit0删掉了,截位因子=2,表示把bit0、bit1都删掉了,依次类推。每组数据的压缩因子只有一个,IQ独立,压缩因子由索引系数和截位因子构成。通过上述方式将16bit IQ数据压缩后得到5bit的压缩后的IQ数据及0压缩因子,所述压缩因子包括索引系数和截位因子。
本实施例通过以小数压缩算法对待传输的IQ数据进行压缩,并在压缩后的IQ数据中包括小数位信息,降低了待传输的IQ数据的数据量,有效避免在现有方式下需要增加硬件成本以及后期运维成本,导致数据传输的成本偏高的问题,降低了数据传输的成本。
对应的本发明进一步提供一种数据传输装置。
参照图10,图10为本发明数据传输装置的第一实施例的功能模块示意图。
在一实施例中,所述数据传输装置包括:第一获取模块10、第一压缩模块20、第一处理模块30及第一发送模块40。
所述第一获取模块10,用于获取待传输的IQ数据;
在本实施例中所述发送端优选为RRU设备,接收端优选为BBU侧设备。所述发送端在需要传输数据时,获取待传输的IQ数据,所述I数据为同向分量数据,所述Q数据为正交分量数据。
所述第一压缩模块20,按照小数压缩算法对所述待传输的IQ数据压缩得到压缩因子及压缩后的IQ数据,所述压缩后的IQ数据包括小数位信息;
参考图11,所述第一压缩模块20包括第一分组单元21和第一压缩单元22,
所述第一分组单元21,用于按照在预设采样率下将所述IQ数据分组得到分组后的组别;
所述IQ数据包括I数据和Q数据,所述发送端在预设采样率下,即在基带采样率下将待传输的IQ数据分组,且案顺序将各个IQ数据分组,即按顺序去预设个数的数据分组,所述预设个数可以是4个或5个等按照需要进行设置。例如,若所述IQ数据包括N个数据,分为M组,则每组包括N/M个数据,且需要将I数据和Q数据均分组。
所述第一压缩单元22,用于按照小数压缩算法对各个组别压缩,得到各个组别对应的压缩因子及压缩后的IQ数据。
所述发送端对每个分组后的组别中的数据按照小数压缩算法压缩,得到各个组别的压缩因子及压缩后的IQ数据,所述压缩因子包括I压缩因子和Q压缩因子,即I压缩因子和Q压缩因子独立。
进一步地,所述第一压缩单元22,还用于确定所述各个组别中绝对值最大的数据作为原始数据;若所述组别中存在N/M个数据,则从所述N/M个数据中确定绝对值最大的数据作为原始数据。
所述第一压缩单元22,还用于确定所述原始数据的第一个有效符号位,从所述第一个有效符号位开始截取预设位数的有效数据作为索引系数,并 确定截位因子,所述压缩因子包括索引系数和截位因子;所述预设位数可以是小于原始数据位宽的任意值,例如可以是6bit或5bit等。所述发送端在确定所述原始数据的第一个有效符号位后,从所述第一个有效符号位开始截取预设位数的有效数据作为索引系数,参考压缩数据表,所述索引系数为十进制数据,若截取的预设位数的有效数据为二进制时,将所述预设位数的有效数据转为十进制数据作为索引系数。在本发明其他实施例中,也还可以是将所述压缩数据表中的索引系数转换为二进制索引系数,如此,截取的预设位数的有效数据保留二进制的形式作为索引系数。
在截取预设位数的有效数据作为索引系数后,所述发送端生成截位因子,例如,丢弃掉一个低位数据,截位因子为1,丢弃掉两个低位数据,截位因子为2。所述压缩因子包括索引系数和截位因子。
所述第一压缩单元22,还用于根据所述索引系数查询压缩数据表得到所述索引系数对应的压缩索引乘法因子;
所述第一压缩单元22,还用于将原始数据乘以所述压缩索引乘法因子得到新的原始数据,从所述新的原始数据的所述第一个有效符号位开始截取预设位数减1位的数据作为压缩后的IQ数据;
所述发送端在根据截取预设位数的有效数据得到的索引系数查询压缩数据表得到压缩索引乘法因子后,将所述原始数据乘以所述压缩索引乘法因子得到新的原始数据,从所述新的原始数据的所述第一个有效符号位开始截取预设位数减1位的数据作为压缩后的IQ数据。即目标数据是为预设位数减1位的数据。例如,需要将原始数据压缩至6bit,则预设位数为6bit,根据预设位数的十进制结果查表得到压缩乘法因子,为了定点处理,乘法因子需要做量化处理,通过先将所述原始数据乘以压缩乘法因子,再从所述第一个有效符号位开始截取5bit数据作为压缩后的数据,这样处理后可以保留部分小数位信息。
所述第一压缩单元22,还用于按照上述方式对所述各个组别中的其他数据压缩得到各个组别对应的压缩因子及压缩后的IQ数据。
按照上述方式将各个组别中的其他数据压缩得到各个组别对应的压缩因子及压缩后的IQ数据。
所述第一处理模块30,用于按照预设协议对所述压缩因子和所述压缩后的IQ数据编码;
所述第一发送模块40,用于将编码后的数据发送至接收端,以供所述接收端根据所述压缩因子对所述压缩后的IQ数据解压得到解压后的IQ数据,所述解压后的IQ数据包括小数位信息。
所述预设协议为通讯协议,例如,为4G通讯协议、3G通讯协议等。所述发送端按照预设协议对所述压缩因子和所述压缩后的IQ数据编码,编码为能够在RRU和BBU之间传输的格式,并将编码后的数据发送至接收端,以供所述接收端根据所述压缩因子对所述压缩后的IQ数据解压得到解压后的IQ数据,所述解压后的IQ数据包括小数位信息。
具体的,为了更好的说明本发明数据传输方法中数据压缩的过程,IQ数据为16bit压缩至5bit位宽为例解释本发明压缩过程。
发送端分别将16bit的I路数据和Q路数据进行分组,按顺序依次取N/M个数据为一组,找到N/M个数据中绝对值最大者,再找出绝对值最大者的第一个有效符号位,从所述第一个有效符号位开始截取6bit有效数据作为索引系数,主要用于查询压缩数据表得到压缩索引乘法因子,索引系数的比特位宽只需要比压缩后数据位宽多1bit,压缩数据表如表1所示。为了将此6bit有效数据调整到接近6bit满动态,需要将16bit原始数据乘以压缩乘法因子后按照绝对值最大者的第一个有效符号位开始截取5bit有效数据,然后按照同样的方式去处理其他(N/M)-1个数据,这就相当于把最低的几位截掉同时又保留了部分小数位信息,被截掉的数据用0代替。最 低位删掉的bit数,用截位因子来表示。截位因子=1,表示把bit0删掉了,截位因子=2,表示把bit0、bit1都删掉了,依次类推。每组数据的压缩因子只有一个,IQ独立,压缩因子由索引系数和截位因子构成。通过上述方式将16bit IQ数据压缩后得到5bit的压缩后的IQ数据及压缩因子,所述压缩因子包括索引系数和截位因子。
本实施例通过以小数压缩算法对待传输的IQ数据进行压缩,并在压缩后的IQ数据中包括小数位信息,降低了待传输的IQ数据的数据量,有效避免在现有方式下需要增加硬件成本以及后期运维成本,导致数据传输的成本偏高的问题,降低了数据传输的成本。
参考图12,为本发明数据传输装置的第二实施例的功能模块示意图。还包括:第一接收模块50和第一解压模块60。
所述第一接收模块50,用于接收所述编码后的数据,并对所述编码后的数据解码得到所述压缩因子和所述压缩后的IQ数据;
解压缩过程为压缩过程的逆过程,所述接收端接收所述发送端发送的编码后的数据,在接收到所述编码后的数据后,对所述编码后的数据解码,得到压缩后的IQ数据和压缩因子。
所述第一解压模块60,用于根据所述压缩因子解压所述压缩后的IQ数据得到解压后的IQ数据。
参考图13,所述第一解压模块60包括第一确定单元61和第一解压单元62,
所述第一确定单元61,用于根据所述压缩因子确定索引系数和截位因子;所述接收端根据压缩因子中的截位因子将截掉的低位补0,截位因子的大小即表示需要补0的位数,最高位补齐符号位将数据还原成原始数据的位数。
所述第一解压单元62,用于根据所述截位因子解压所述压缩后的IQ数 据,得到完整的IQ数据;还用于根据所述索引系数查询压缩数据表得到所述索引系数对应的解压索引乘法因子,并根据所述解压索引乘法因子解压所述完整的IQ数据得到解压后的IQ数据。所述接收端在根据压缩因子将所述压缩后的数据还原为原始数据的位数后,根据所述索引系数查询压缩数据表得到解压索引乘法因子,完成乘法操作,解压过程中同样需要消除乘法因子量化增益,即需要将还原的原始数据还原为保留小数的数据。
为了更好的说明上述解压缩过程,以将16bit的IQ数据压缩至5bit为例,将压缩后的5bit的IQ数据,根据压缩因子中截位因子将截掉的低位补0,截位因子的大小即低位补0的个数,最高位补齐符号位将压缩后的IQ数据还原为16bit,然后根据5bit索引系数补1bit的0后索引到相应解压乘法因子完成乘法操作,并消除乘法因子的量化增益。通过压缩因子中的索引系数和截位因子将压缩后的5bit IQ数据还原为16bit的原始数据,达到数据传输的目的。
本发明实施例通过以小数压缩算法对待传输的IQ数据进行压缩,并在压缩后的IQ数据中包括小数位信息,降低了待传输的IQ数据的数据量,接收端根据压缩因子还原压缩后的数据,有效避免在现有方式下需要增加硬件成本以及后期运维成本,导致数据传输的成本偏高的问题,降低了数据传输的成本。
参考图14,为本发明数据传输装置的第三实施例的功能模块示意图。所述数据传输装置包括:第二接收模块100和第二解压模块200。
所述第二接收模块100,用于接收发送端发送来的编码后的数据,并对所述编码后的数据解码得到所述压缩因子和所述压缩后的IQ数据;
解压缩过程为压缩过程的逆过程,所述接收端接收所述发送端发送的编码后的数据,在接收到所述编码后的数据后,对所述编码后的数据解码,得到压缩后的IQ数据和压缩因子。
所述第二解压模块200,用于根据所述压缩因子解压所述压缩后的IQ数据得到解压后的IQ数据。
参考图15,所述第二解压模块200包括第二确定单元201和第二解压单元202,
所述第二确定单元201,用于根据所述压缩因子确定索引系数和截位因子;所述接收端根据压缩因子中的截位因子将截掉的低位补0,截位因子的大小即表示需要补0的位数,最高位补齐符号位将数据还原成原始数据的位数。所述接收端根据所述索引系数查询压缩数据表得到所述索引系数对应的解压索引乘法因子,并根据所述解压索引乘法因子解压所述完整的IQ数据得到解压后的IQ数据。
所述第二解压单元202,用于根据所述截位因子解压所述压缩后的IQ数据,得到完整的IQ数据;还用于根据所述索引系数查询压缩数据表得到所述索引系数对应的解压索引乘法因子,并根据所述解压索引乘法因子解压所述完整的IQ数据得到解压后的IQ数据。
所述接收端在根据压缩因子将所述压缩后的数据还原为原始数据的位数后,根据所述索引系数查询压缩数据表得到解压索引乘法因子,完成乘法操作,解压过程中同样需要消除乘法因子量化增益,即需要将还原的原始数据还原为保留小数的数据。
为了更好的说明上述解压缩过程,以将16bit的IQ数据压缩至5bit为例,将压缩后的5bit的IQ数据,根据压缩因子中截位因子将截掉的低位补0,截位因子的大小即低位补0的个数,最高位补齐符号位将压缩后的IQ数据还原为16bit,然后根据5bit索引系数补1bit的0后索引到相应解压乘法因子完成乘法操作,并消除乘法因子的量化增益。通过压缩因子中的索引系数和截位因子将压缩后的5bit IQ数据还原为16bit的原始数据,达到数据传输的目的。
本发明实施例通过以小数压缩算法对待传输的IQ数据进行压缩,并在压缩后的IQ数据中包括小数位信息,降低了待传输的IQ数据的数据量,接收端根据压缩因子还原压缩后的数据,有效避免在现有方式下需要增加硬件成本以及后期运维成本,导致数据传输的成本偏高的问题,降低了数据传输的成本。
参考图16,为本发明数据传输装置的第四实施例的功能模块示意图。还包括:第二获取模块300,用于获取待传输的IQ数据;在本实施例中所述发送端优选为RRU设备,接收端优选为BBU侧设备。所述发送端在需要传输数据时,获取待传输的IQ数据,所述I数据为同向分量数据,所述Q数据为正交分量数据。在本发明其他实施例中所述发送端也可以是BBU,接收端可以是RRU。
第二压缩模块400,用于按照小数压缩算法对所述待传输的IQ数据压缩得到压缩因子及压缩后的IQ数据,所述压缩后的IQ数据包括小数位信息;
参考图17,所述第二压缩模块400包括第二分组单元401和第二压缩单元402,
所述第二压缩模块400,用于按照在预设采样率下将所述IQ数据分组得到分组后的组别;
所述IQ数据包括I数据和Q数据,所述发送端在预设采样率下,即在基带采样率下将待传输的IQ数据分组,且案顺序将各个IQ数据分组,即按顺序去预设个数的数据分组,所述预设个数可以是4个或5个等按照需要进行设置。例如,若所述IQ数据包括N个数据,分为M组,则每组包括N/M个数据,且需要将I数据和Q数据均分组。
所述第二压缩单元402,用于按照小数压缩算法对各个组别压缩,得到各个组别对应的压缩因子及压缩后的IQ数据。
所述发送端对每个分组后的组别中的数据按照小数压缩算法压缩,得到各个组别的压缩因子及压缩后的IQ数据,所述压缩因子包括I压缩因子和Q压缩因子,即I压缩因子和Q压缩因子独立。
所述发送端按照小数压缩算法对各个组别压缩,得到各个组别对应的压缩因子及压缩后的IQ数据的过程可以包括:
所述发送端确定所述各个组别中绝对值最大的数据作为原始数据;若所述组别中存在N/M个数据,则从所述N/M个数据中确定绝对值最大的数据作为原始数据。
所述发送端确定所述原始数据的第一个有效符号位,从所述第一个有效符号位开始截取预设位数的有效数据作为索引系数,并确定截取因子,所述压缩因子包括索引系数和截取因子;所述预设位数可以是6bit或5bit等,所述发送端在确定所述原始数据的第一个有效符号位后,从所述第一个有效符号位开始截取预设位数的有效数据作为索引系数,即从所述第一个有效符号位开始将低位的数据丢弃,保留预设位数的有效数据作为索引系数,参考压缩数据表,所述索引系数为十进制数据,若截取的预设位数的有效数据为二进制时,将所述预设位数的有效数据转为十进制数据作为索引系数。在本发明其他实施例中,也还可以是将所述压缩数据表中的索引系数转换为二进制索引系数,如此,截取的预设位数的有效数据保留二进制的形式作为索引系数。
在截取预设位数的有效数据作为索引系数后,所述发送端生成截位因子,例如,丢弃掉一个低位数据,截位因子为1,丢弃掉两个低位数据,截取因子为2。所述压缩因子包括索引系数和截位因子。
所述发送端根据所述索引系数查询压缩数据表得到所述索引系数对应的压缩索引乘法因子;
所述发送端将原始数据乘以所述压缩索引乘法因子得到新的原始数 据,从所述新的原始数据的所述第一个有效符号位开始截取预设位数减1位的数据作为压缩后的IQ数据;
所述发送端在根据截取预设位数的有效数据得到的索引系数查询压缩数据表得到压缩索引乘法因子后,将所述原始数据乘以所述压缩索引乘法因子得到新的原始数据,从所述新的原始数据的所述第一个有效符号位开始截取预设位数减1位的数据作为压缩后的IQ数据。即目标数据是为预设位数减1位的数据。例如,预设位数为6bit,则截取5bit数据。通过先将所述原始数据乘以压缩乘法因子,先将原始数据放大,做到定点截取数据的目的,保留了原始数据中的小数位数据,即在截取的时候,将小数位数据保留下来。
按照上述方式对所述各个组别中的其他数据压缩得到各个组别对应的压缩因子及压缩后的IQ数据。按照上述方式将各个组别中的其他数据压缩得到各个组别对应的压缩因子及压缩后的IQ数据。
在所述压缩数据表中,所述第一列为索引系数A,第二列为理论压缩乘法因子B,B=(25-2)/A,第三列为量化后的压缩乘法因子C,C=210*B四舍五入的结果,210表示按照11比特进行量化,量化比特位宽可根据量化精度要求设定,第四列为解压量化乘法因子D,D=(210/C)*210四舍五入的结果,量化的目的是便于顶点计算。这里的乘法因子量化增益在处理过程中要消除。由于去绝对值后索引系数为正数,最高比特位始终为0,因此最终需要打包到压缩因子里面的索引系数为预设位数减1bit,截位因子为预设位数减2bit。例如,以预设位数为6bit为例,则索引系数为5bit,截位因子为4bit。
第二处理模块500,用于发送端按照预设协议对所述压缩因子和所述压缩后的IQ数据编码;
第二发送模块600,用于编码后的数据发送至接收端。
所述预设协议为通讯协议,例如,为4G通讯协议、3G通讯协议等。所述发送端按照预设协议对所述压缩因子和所述压缩后的IQ数据编码,编码为能够在RRU和BBU之间传输的格式,并将编码后的数据发送至接收端,以供所述接收端根据所述压缩因子对所述压缩后的IQ数据解压得到解压后的IQ数据,所述解压后的IQ数据包括小数位信息。
具体的,为了更好的说明本发明数据传输方法中数据压缩的过程,IQ数据为16bit压缩至5bit位宽为例解释本发明压缩过程。
发送端分别将16bit的I路数据和Q路数据进行分组,按顺序依次取N/M个数据为一组,找到N/M个数据中绝对值最大者,再找出绝对值最大者的第一个有效符号位,从所述第一个有效符号位开始截取6bit有效数据作为索引系数,主要用于查询压缩数据表得到压缩索引乘法因子,索引系数的比特位宽只需要比压缩后数据位宽多1bit,压缩数据表如表1所示。为了将此6bit有效数据调整到接近6bit满动态,需要将16bit原始数据乘以压缩乘法因子后按照绝对值最大者的第一个有效符号位开始截取5bit有效数据,然后按照同样的方式去处理其他(N/M)-1个数据,这就相当于把最低的几位截掉同时又保留了部分小数位信息,被截掉的数据用0代替。最低位删掉的bit数,用截位因子来表示。截位因子=1,表示把bit0删掉了,截位因子=2,表示把bit0、bit1都删掉了,依次类推。每组数据的压缩因子只有一个,IQ独立,压缩因子由索引系数和截位因子构成。通过上述方式将16bit IQ数据压缩后得到5bit的压缩后的IQ数据及0压缩因子,所述压缩因子包括索引系数和截位因子。
本实施例通过以小数压缩算法对待传输的IQ数据进行压缩,并在压缩后的IQ数据中包括小数位信息,降低了待传输的IQ数据的数据量,有效避免在现有方式下需要增加硬件成本以及后期运维成本,导致数据传输的成本偏高的问题,降低了数据传输的成本。
可以理解的是,在本发明其他实施例中,还提出一种数据传输系统,包括所述发送端和所述接收端,其中,数据的压缩和解压缩过程如上述实施例所述,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。
另外,在本发明各实施例中的各功能单元可以全部集成在一个处理模块中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。

Claims (20)

  1. 一种数据传输方法,包括以下步骤:
    发送端获取待传输的IQ数据;
    所述发送端按照小数压缩算法对所述待传输的IQ数据压缩得到压缩因子及压缩后的IQ数据,所述压缩后的IQ数据包括小数位信息;
    所述发送端按照预设协议对所述压缩因子和所述压缩后的IQ数据编码,并将编码后的数据发送至接收端,以供所述接收端根据所述压缩因子对所述压缩后的IQ数据解压得到解压后的IQ数据,所述解压后的IQ数据包括小数位信息。
  2. 如权利要求1所述的数据传输方法,其中,所述发送端按照小数压缩算法对所述待传输的IQ数据压缩得到压缩因子及压缩后的IQ数据的步骤包括:
    所述发送端按照在预设采样率下将所述IQ数据分组得到分组后的组别;
    所述发送端按照小数压缩算法对各个组别压缩,得到各个组别对应的压缩因子及压缩后的IQ数据。
  3. 如权利要求2所述的数据传输方法,其中,所述发送端按照小数压缩算法对各个组别压缩,得到各个组别对应的压缩因子及压缩后的IQ数据的步骤包括:
    所述发送端确定所述各个组别中绝对值最大的数据作为参考数据;
    所述发送端确定所述参考数据的第一个有效符号位,从所述第一个有效符号位开始截取预设位数的有效数据作为索引系数,并确定截位因子,所述压缩因子包括索引系数和截位因子;
    所述发送端根据所述索引系数查询压缩数据表得到所述索引系数对应的压缩索引乘法因子;
    所述发送端将原始数据乘以所述压缩索引乘法因子得到新的原始数据,从所述新的原始数据的所述第一个有效符号位开始截取预设位数减1位的数据作为压缩后的IQ数据;
    按照上述方式对所述各个组别中的其他数据压缩得到各个组别对应的压缩因子及压缩后的IQ数据。
  4. 如权利要求1所述的数据传输方法,其中,所述发送端按照预设协议对所述压缩因子和所述压缩后的IQ数据编码,并将编码后的数据发送至接收端的步骤之后,还包括:
    所述接收端接收所述编码后的数据,并对所述编码后的数据解码得到所述压缩因子和所述压缩后的IQ数据;
    所述接收端根据所述压缩因子解压所述压缩后的IQ数据得到解压后的IQ数据。
  5. 如权利要求4所述的数据传输方法,其中,所述接收端根据所述压缩因子解压所述压缩后的IQ数据得到解压后的IQ数据的步骤包括:
    所述接收端根据所述压缩因子确定索引系数和截位因子;
    所述接收端根据所述截位因子解压所述压缩后的IQ数据,所述解压后的IQ数据通过补充符号位得到和原始IQ数据位宽一致的完整IQ数据;
    所述接收端根据所述索引系数查询压缩数据表得到所述索引系数对应的解压索引乘法因子,并根据所述解压索引乘法因子解压所述完整的IQ数据得到解压后的IQ数据。
  6. 一种数据传输方法,包括以下步骤:
    接收端接收发送端发送来的编码后的数据,并对所述编码后的数据解码得到所述压缩因子和所述压缩后的IQ数据;
    所述接收端根据所述压缩因子解压所述压缩后的IQ数据得到解压后的IQ数据。
  7. 如权利要求6所述的数据传输方法,其中,所述接收端根据所述压缩因子解压所述压缩后的IQ数据得到解压后的IQ数据的步骤包括:
    所述接收端根据所述压缩因子确定索引系数和截位因子;
    所述接收端根据所述截位因子解压所述压缩后的IQ数据,所述解压后的IQ数据通过补充符号位得到和原始IQ数据位宽一致的完整IQ数据;
    所述接收端根据所述索引系数查询压缩数据表得到所述索引系数对应的解压索引乘法因子,并根据所述解压索引乘法因子解压所述完整的IQ数据得到解压后的IQ数据。
  8. 如权利要求6或7所述的数据传输方法,其中,所述接收端接收发送端发送来的编码后的数据,并对所述编码后的数据解码得到所述压缩因子和所述压缩后的IQ数据的步骤之前,还包括:
    发送端获取待传输的IQ数据;
    所述发送端按照小数压缩算法对所述待传输的IQ数据压缩得到压缩因子及压缩后的IQ数据,所述压缩后的IQ数据包括小数位信息;
    所述发送端按照预设协议对所述压缩因子和所述压缩后的IQ数据编码,并将编码后的数据发送至接收端。
  9. 如权利要求8所述的数据传输方法,其中,所述发送端按照小数压缩算法对所述待传输的IQ数据压缩得到压缩因子及压缩后的IQ数据的步骤包括:
    所述发送端按照在预设采样率下将所述IQ数据分组;
    所述发送端按照小数压缩算法对各个组别压缩,得到各个组别对应的压缩因子及压缩后的IQ数据。
  10. 如权利要求9所述的数据传输方法,其中,所述发送端按照小数压缩算法对各个组别压缩,得到各个组别对应的压缩因子及压缩后的IQ数据的步骤包括:
    所述发送端确定所述各个组别中绝对值最大的数据作为参考数据;
    所述发送端确定所述参考数据的第一个有效符号位,从所述第一个有效符号位开始截取预设位数的有效数据作为索引系数,并确定截位因子,所述压缩因子包括索引系数和截位因子;
    所述发送端根据所述索引系数查询压缩数据表得到所述索引系数对应的压缩索引乘法因子;
    所述发送端将原始数据乘以所述压缩索引乘法因子得到处理后的原始数据,从所述处理后的原始数据的所述第一个有效符号位开始截取预设位数减1位的数据作为压缩后的IQ数据;
    按照上述方式对所述各个组别中的其他数据压缩得到各个组别对应的压缩因子及压缩后的IQ数据。
  11. 一种数据传输装置,包括:
    第一获取模块,配置为获取待传输的IQ数据;
    第一压缩模块,配置为按照小数压缩算法对所述待传输的IQ数据压缩得到压缩因子及压缩后的IQ数据,所述压缩后的IQ数据包括小数位信息;
    第一处理模块,配置为按照预设协议对所述压缩因子和所述压缩后的IQ数据编码;
    第一发送模块,配置为将编码后的数据发送至接收端,以供所述接收端根据所述压缩因子对所述压缩后的IQ数据解压得到解压后的IQ数据,所述解压后的IQ数据包括小数位信息。
  12. 如权利要求11所述的数据传输装置,其中,所述第一压缩模块包括第一分组单元和第一压缩单元;其中,
    所述第一分组单元,配置为按照在预设采样率下将所述IQ数据分组得到分组后的组别;
    所述第一压缩单元,配置为按照小数压缩算法对各个组别压缩,得到 各个组别对应的压缩因子及压缩后的IQ数据。
  13. 如权利要求11所述的数据传输装置,其中,所述第一压缩单元,配置为确定所述各个组别中绝对值最大的数据作为参考数据;确定所述参考数据的第一个有效符号位,从所述第一个有效符号位开始截取预设位数的有效数据作为索引系数,并确定截位因子,所述压缩因子包括索引系数和截位因子;还用于根据所述索引系数查询压缩数据表得到所述索引系数对应的压缩索引乘法因子;
    配置为将原始数据乘以所述压缩索引乘法因子得到新的原始数据,从所述新的原始数据的所述第一个有效符号位开始截取预设位数减1位的数据作为压缩后的IQ数据;
    配置为按照上述方式对所述各个组别中的其他数据压缩得到各个组别对应的压缩因子及压缩后的IQ数据。
  14. 如权利要求11所述的数据传输装置,其中,所述数据传输装置还包括:
    第一接收模块,配置为接收所述编码后的数据,并对所述编码后的数据解码得到所述压缩因子和所述压缩后的IQ数据;
    第一解压模块,配置为根据所述压缩因子解压所述压缩后的IQ数据得到解压后的IQ数据。
  15. 如权利要求14所述的数据传输装置,其中,所述第一解压模块包括第一确定单元和第一解压单元;其中,
    所述第一确定单元,配置为根据所述压缩因子确定索引系数和截位因子;
    所述第一解压单元,配置为根据所述截位因子解压所述压缩后的IQ数据,所述解压后的IQ数据通过补充符号位得到和原始数据位宽一致的完整IQ数据;还用于根据所述索引系数查询压缩数据表得到所述索引系数对应 的解压索引乘法因子,并根据所述解压索引乘法因子解压所述完整的IQ数据得到解压后的IQ数据。
  16. 一种数据传输装置,,包括:
    第二接收模块,配置为接收发送端发送来的编码后的数据,并对所述编码后的数据解码得到所述压缩因子和所述压缩后的IQ数据;
    第二解压模块,配置为根据所述压缩因子解压所述压缩后的IQ数据得到解压后的IQ数据。
  17. 如权利要求16所述的数据传输装置,其中,所述第二解压模块包括第二确定单元和第二解压单元,
    所述第二确定单元,配置为根据所述压缩因子确定索引系数和截位因子;
    所述第二解压单元,配置为根据所述截位因子解压所述压缩后的IQ数据,所述解压后的IQ数据通过补充符号位得到和原始IQ数据位宽一致的完整IQ数据;还用于根据所述索引系数查询压缩数据表得到所述索引系数对应的解压索引乘法因子,并根据所述解压索引乘法因子解压所述完整的IQ数据得到解压后的IQ数据。
  18. 如权利要求16所述的数据传输装置,其中,还包括第二获取模块,用于获取待传输的IQ数据;
    第二压缩模块,配置为按照小数压缩算法对所述待传输的IQ数据压缩得到压缩因子及压缩后的IQ数据,所述压缩后的IQ数据包括小数位信息;
    第二处理模块,配置为发送端按照预设协议对所述压缩因子和所述压缩后的IQ数据编码;
    第二发送模块,配置为编码后的数据发送至接收端。
  19. 如权利要求17所述的数据传输装置,其中,所述第二压缩模块包括第二分组单元和第二压缩单元,
    所述第二分组单元,配置为按照在预设采样率下将所述IQ数据分组;
    所述第二压缩单元,配置为按照小数压缩算法对各个组别压缩,得到各个组别对应的压缩因子及压缩后的IQ数据。
  20. 如权利要求18所述的数据传输装置,其中,所述第二压缩单元,配置为确定所述各个组别中绝对值最大的数据作为参考数据;
    所述发送端确定所述参考数据的第一个有效符号位,从所述第一个有效符号位开始截取预设位数的有效数据作为索引系数,并确定截位因子,所述压缩因子包括索引系数和截位因子;还用于根据所述索引系数查询压缩数据表得到所述索引系数对应的压缩索引乘法因子;
    配置为将原始数据乘以所述压缩索引乘法因子得到处理后的原始数据,从所述处理后的原始数据的所述第一个有效符号位开始截取预设位数减1位的数据作为压缩后的IQ数据;
    配置为按照上述方式对所述各个组别中的其他数据压缩得到各个组别对应的压缩因子及压缩后的IQ数据。
PCT/CN2015/090060 2014-12-16 2015-09-18 数据传输方法及装置 WO2016095577A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410783987.9 2014-12-16
CN201410783987.9A CN105763287B (zh) 2014-12-16 2014-12-16 数据传输方法及装置

Publications (1)

Publication Number Publication Date
WO2016095577A1 true WO2016095577A1 (zh) 2016-06-23

Family

ID=56125845

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/090060 WO2016095577A1 (zh) 2014-12-16 2015-09-18 数据传输方法及装置

Country Status (2)

Country Link
CN (1) CN105763287B (zh)
WO (1) WO2016095577A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112134568A (zh) * 2020-09-15 2020-12-25 广州市埃信电信有限公司 一种有损的数据压缩、解压缩方法及其系统
CN113114686A (zh) * 2021-04-14 2021-07-13 广州开信通讯系统有限公司 用于5g的光纤传输方法及其传输系统

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106656201B (zh) * 2016-12-23 2020-06-30 燕山大学 一种基于采样数据幅频特性的压缩方法
CN110019184B (zh) * 2017-09-04 2021-04-27 北京字节跳动网络技术有限公司 一种压缩和解压缩有序整数数组的方法
CN108965333B (zh) * 2018-08-30 2021-02-19 北京锐安科技有限公司 一种数据压缩、解压缩方法、系统及电子设备
CN114513279A (zh) * 2020-10-28 2022-05-17 华为技术有限公司 一种数据传输的方法和装置
CN115720350A (zh) * 2021-08-24 2023-02-28 华为技术有限公司 一种数据压缩、解压缩方法及通信装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101932002A (zh) * 2009-06-19 2010-12-29 中兴通讯股份有限公司 实现上下行传输速率匹配的方法及bbu和rru
CN102075467A (zh) * 2010-12-17 2011-05-25 中兴通讯股份有限公司 同相正交信号iq数据压缩方法及装置
CN102821072A (zh) * 2011-06-08 2012-12-12 中兴通讯股份有限公司 一种同相正交信号iq数据发送、接收方法、系统及装置
CN103634273A (zh) * 2012-08-21 2014-03-12 电信科学技术研究院 数据压缩发送及解压缩方法和设备

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108134805B (zh) * 2014-08-08 2021-04-30 安科讯(福建)科技有限公司 一种数据同步压缩还原算法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101932002A (zh) * 2009-06-19 2010-12-29 中兴通讯股份有限公司 实现上下行传输速率匹配的方法及bbu和rru
CN102075467A (zh) * 2010-12-17 2011-05-25 中兴通讯股份有限公司 同相正交信号iq数据压缩方法及装置
CN102821072A (zh) * 2011-06-08 2012-12-12 中兴通讯股份有限公司 一种同相正交信号iq数据发送、接收方法、系统及装置
CN103634273A (zh) * 2012-08-21 2014-03-12 电信科学技术研究院 数据压缩发送及解压缩方法和设备

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112134568A (zh) * 2020-09-15 2020-12-25 广州市埃信电信有限公司 一种有损的数据压缩、解压缩方法及其系统
CN113114686A (zh) * 2021-04-14 2021-07-13 广州开信通讯系统有限公司 用于5g的光纤传输方法及其传输系统
CN113114686B (zh) * 2021-04-14 2023-03-21 广州开信通讯系统有限公司 用于5g的光纤传输方法及其传输系统

Also Published As

Publication number Publication date
CN105763287B (zh) 2019-12-03
CN105763287A (zh) 2016-07-13

Similar Documents

Publication Publication Date Title
WO2016095577A1 (zh) 数据传输方法及装置
EP2946538B1 (en) Compression and de-compression of complex valued ofdm data for a radio base station
US9794828B2 (en) Radio unit, baseband processing unit and base station system
CN101932002B (zh) 实现上下行传输速率匹配的方法及bbu和rru
EP2802078B1 (en) Data compression and decompression method between digital unit and radio unit in cloud radio access network
WO2014029260A1 (zh) 数据压缩发送及解压缩方法和设备
US9059970B1 (en) Method of compressing and decompressing I/Q sample data in cloud radio access network
EP3065324A1 (en) Method and device for processing signal sampling-point data
CN102075467A (zh) 同相正交信号iq数据压缩方法及装置
US20150117470A1 (en) Efficient signal compression format schemes
KR102395669B1 (ko) 오류 벡터 크기 계산을 기반으로 한 데이터 압축 및 복원 장치와 그 방법
WO2014136193A1 (ja) 基地局装置、基地局システムおよびiqデータの圧縮方法
CN105846828A (zh) Iq数据的压缩和解压缩方法、装置和iq数据的传输方法、系统
US11632139B2 (en) Efficient transfer of IQ sample data
CN107493257B (zh) 一种帧数据压缩传输方法和装置
US10075183B2 (en) Compression and encryption of a file
CN106304190A (zh) 一种cpri接口数据压缩传输方法及系统
WO2016015286A1 (en) Methods and apparatuses for data compression and decompression
EP3284174A1 (en) Improved compression and/or encryption of a file
WO2023024796A1 (zh) 一种数据压缩、解压缩方法及通信装置
US20180041334A1 (en) Improved compression and/or encryption of a file

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15869088

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15869088

Country of ref document: EP

Kind code of ref document: A1