WO2013123787A1 - Lte-ir interface data compression method and device thereof - Google Patents
Lte-ir interface data compression method and device thereof Download PDFInfo
- Publication number
- WO2013123787A1 WO2013123787A1 PCT/CN2012/085130 CN2012085130W WO2013123787A1 WO 2013123787 A1 WO2013123787 A1 WO 2013123787A1 CN 2012085130 W CN2012085130 W CN 2012085130W WO 2013123787 A1 WO2013123787 A1 WO 2013123787A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- value
- compressed
- module
- lookup table
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
- H03M7/30—Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
Definitions
- the present application relates to the field of wireless communications, and in particular, to an LTE-IR interface data compression method and apparatus therefor. Background technique
- the LTE (Long Term Evolution) base station is a distributed base station device, which is composed of a Base Band Unit (BBU) and a Remote RF Unit (RRU).
- BBU Base Band Unit
- RRU Remote RF Unit
- the RRU and the BBU are connected by optical fibers. Since the maximum IQ (orthogonal two baseband signals) data sampling width of the system is 16 bits, the optical fiber transmission needs to encode the data by 8/10. Therefore, for a device with 8 antennas and 20M bandwidth, the maximum line rate of the optical port is:
- the data transmission of the base station optical port only supports 6.144 Gbps.
- 20M8A A for the antenna
- the cost of fiber for base station equipment will increase further.
- the data transmission between the RRU and the BBU follows the LTE-IR interface protocol standard.
- a basic frame contains 16 words, word length T is determined by the line bit rate. In a basic frame, the bitO bit of the I/Q data is discarded, and only 15 bits high are transmitted, leaving a word for control word transmission.
- 1 is a frame structure diagram of a word length T. Where W is the word, Y is the number of bytes, and B is the number of bits. When the line rate is 9.8304 Gbps, T is equal to 128.
- AGC Automatic Gain Control processing: Estimate the amplitude of the digital signal transmitted by the IR interface in units of symbol (symbol) and adjust it to the expected target value for later compression. deal with. Usually implemented by a shift operation.
- FIG. 2 is a schematic diagram of the structure of the IR interface data compression.
- the A-law compression algorithm is a non-uniform hook speech compression algorithm mainly used in public telephone networks.
- the A-law characteristic is defined as:
- x is the normalized input speech signal
- sgn(x) is the sign bit of X
- y is the normalized after companding
- A is the value of the compression parameter.
- the optimized A-law compression algorithm has three implementations on the FPGA:
- (1) Lookup table method Put the A-law compression result value in the ROM (Read-Only Memory) table, and the read address of the compression result value is the corresponding pre-compression data, and the input signal is used as the ROM.
- the read address lookup table can get the compressed result value.
- the A-law curve is approximated by a number of fold lines.
- the 13-fold line method can compress 16-bit wide input data to 8-bit width, and the performance loss is small, but for 7-bit compression, the performance loss is unacceptable.
- the IR interface bit compression algorithm optimizes the parameter A through different simulation experiments of the scene to achieve 7-bit compression.
- Lookup method It requires large storage resources.
- the lookup table has a capacity of 2 ⁇ 16*7 ⁇ and requires 56 ⁇ 9 ⁇ Memory Blocks.
- the embodiment of the present application provides an LTE-IR interface data compression method and device thereof, which are used to reduce technical implementation difficulty and reduce resource occupation.
- the distributed base station is provided with a lookup table, and the process of creating the lookup table includes: The value range after taking the absolute value is divided into 2 N numerical intervals, where N is the bit width after the symbol is removed from the compressed data; a value in each numerical interval is used as the identification value of the numerical interval in ascending or descending order. The order is stored in the lookup table, and the address of each identifier value in the lookup table is a compression result value of the data to be compressed in the corresponding value interval; the method includes:
- the ROM module is configured to store a lookup table.
- the process of creating the lookup table includes: dividing a value range after the absolute value of the data to be compressed into 2 N value intervals, where N is a bit after the compressed data is removed from the symbol bit. Width; a value in each numerical interval as the identification value of the numerical interval is stored in the lookup table in ascending or descending order, and the address of each identification value in the lookup table is the compression result of the data to be compressed within the corresponding numerical interval. value;
- An input module configured to receive input data to be compressed
- a first processing module configured to take an absolute value of the data to be compressed, and save a sign bit of the data to be compressed
- a table lookup module configured to use a binary search method to search for an identifier value of a value interval of the absolute value of the data to be compressed in the lookup table; and, in the lookup table, according to the identifier value of the found value interval Address, determining a compression result value of the data to be compressed;
- a second processing module configured to: the data to be compressed according to the sign bit of the data to be compressed The compressed result value is converted to a signed number
- An output module configured to output the signed number processed by the second processing module.
- the embodiment of the present application further provides a BBU in a distributed base station device, including an uplink data processing module and a downlink data processing module, where the uplink data processing module includes an IR interface module, a decompression module, an AGC module, and a baseband.
- the module, the downlink data processing module includes: an IR interface module, a compression module, an AGC module, and a baseband module, wherein the compression module in the downlink processing module is the foregoing device.
- the embodiment of the present application further provides an RRU in a distributed base station device, including an uplink data processing module and a downlink data processing module, where the uplink data processing module includes a radio frequency intermediate frequency module,
- the AGC module, the compression module, and the IR interface module includes: a radio frequency intermediate frequency module, a solution AGC module, a decompression module, and an IR interface module, wherein the compression module in the uplink processing module is the foregoing device.
- the above embodiment of the present application divides the value range after the absolute value of the data to be compressed and removes the sign bit into 2 N numerical intervals, where N is the bit width of the compressed data;
- a value in the numerical interval is stored in the lookup table as the identification value of the numerical interval in ascending or descending order, and the address of each identification value in the lookup table is the compression result value of the data to be compressed in the corresponding numerical interval, and
- the binary search method is adopted for data compression based on the lookup table, thereby realizing the combination of the binary search method and the data compression look-up table method, thereby reducing the technical implementation difficulty and reducing resource occupation.
- FIG. 1 is a structural diagram of a data frame of an LTE-IR interface with a word length T in the prior art
- FIG. 2 is a schematic structural diagram of data compression of an IR interface in the prior art
- FIG. 3 is a schematic diagram of a data compression process of an LTE-IR interface according to an embodiment of the present application
- FIG. 4 is a schematic diagram of a working principle of an A-law compression pipeline provided by an embodiment of the present application.
- FIG. 5 is a schematic diagram of a data format of an LTE-IR interface in the prior art
- FIG. 6 is a schematic diagram of a data format of an LTE-IR interface according to an embodiment of the present disclosure
- FIG. 7 is a schematic structural diagram of an LTE-IR interface data compression apparatus according to an embodiment of the present application. detailed description
- the embodiment of the present application proposes an LTE-IR interface data compression scheme, which can compress 16-bit baseband IQ data into 7-bit transmission (the compressed data does not need to be bitO discarded), thereby The amount of IQ data transmitted by the basic frame is doubled, the transmission rate is reduced, and finally, the amount of fiber is reduced by half, and the cost of the fiber is doubled.
- the compression scheme of the LTE-IR interface data provided by the embodiment of the present application can be implemented on an FPGA.
- the LTE-IR interface data compression algorithm can be divided into four steps: AGC processing, A-law compression, decompression, and AGC.
- the AGC processing, the solution AGC, and the decompression implement the cartridge, so the embodiment of the present application adopts a conventional mature solution for the three steps, and will not be described here.
- A-law compression is the core part of LTE-IR interface data compression, and it is also a difficult point of FPGA implementation.
- the embodiment of the present application optimizes the look-up table method, and uses the binary search method and the existing table lookup table. The method of combining the methods, in the case of ensuring that the compression ratio of the data is not lower than that, the A-law compression algorithm is implemented in a less resource-intensive manner.
- the A-law compression algorithm provided by the embodiment of the present application can support the data format before compression as Q (16, 1), and the compressed data format is Q (7, 1, 1). Further, the embodiment of the present application further optimizes the transmission format of the compressed data to improve the applicable range of the compression algorithm.
- the A-law compression is symmetrical, so the absolute value portion of the compressed data can be compressed first, followed by the sign bit extension.
- the sign bit is removed, the compressed data is 6 bits, and the data ranges from 0 to 63.
- Each compressed data corresponds to a plurality of pre-compressed data within a range of values.
- the value of the starting position of the numerical interval (hereinafter referred to as the starting point value) is stored in the lookup table (ROM table) in ascending order, and the address of each starting point value in the ROM table is the compression result value of the data to be compressed in the corresponding numerical interval.
- the size of the table is 2 6 * 15 bits. In this way, as long as the data to be compressed is determined by looking up the table The numerical interval of the genus can obtain the corresponding compressed data.
- the embodiment of the present application uses a binary search method to determine the numerical interval to which the data to be compressed belongs by looking up the table.
- Two-point search is also called half-fold search.
- the advantage is that the number of comparisons is small, the search speed is fast, and the average performance is good.
- the elements in the table are sorted in ascending order, and compare the keywords recorded in the middle position of the table with the search keywords. If the two are equal, the search is successful; otherwise, the intermediate position record is used to divide the table into two sub-tables, if the middle If the keyword of the location record is larger than the search keyword, the previous child table is further searched, otherwise the next child table is further searched. Repeat the above process until you find a record that meets the criteria, making the lookup successful, or until the child table does not exist.
- the keyword recorded in the table is the starting value of each of the 64 data intervals
- the search keyword is the absolute value of the data to be compressed.
- N is a compressed data bit width, excluding a sign bit, and a sign bit occupies 1 bit
- FIG. 3 shows a LTE-IR interface data A-law compression process provided by an embodiment of the present application.
- the flow is implemented in a compression module in the distributed base station RRU and BBU. As shown, the process can include:
- Step 301 Receive input data to be compressed.
- Step 302 Take the absolute value of the data to be compressed, and save the sign bit of the data to be compressed.
- Step 303 Search for the starting value of the value range of the absolute value of the data to be compressed in the ROM table by using a binary search method;
- Step 304 Determine, according to an address of the found value of the found value interval in the ROM table, a compression result value of the data to be compressed.
- Step 305 Convert the compression result value of the data to be compressed into a signed number according to the sign bit of the data to be compressed, and output the result.
- step 303 of the foregoing process may be: comparing the starting value stored in the middle position of the ROM table with the absolute value of the data to be compressed, and if the two are equal, ending the searching process; otherwise, the ROM table is taken at the intermediate position Dividing into two sub-tables, if the starting value stored in the intermediate position is greater than the absolute value of the data to be compressed, further searching for the previous sub-table, otherwise searching for the next sub-table, and so on, until the two are equal or The search process ends until the first or last start value stored in the ROM table is found.
- the searching process when searching in the sub-table, comparing the starting value stored in the middle position of the sub-table with the absolute value of the data to be compressed, if the two are equal, the searching process is ended; otherwise, the sub-location is the intermediate position
- the table is further divided into two sub-tables. If the starting value stored in the intermediate position is greater than the absolute value of the data to be compressed, the previous sub-table is further searched, otherwise the next sub-table is further searched.
- the current starting value is taken as the starting value of the numerical interval to which the absolute value of the data to be compressed belongs.
- the last starting value stored in the ROM table is found, if the identification value is greater than the absolute value of the data to be compressed, the previous starting value of the identification value is used as the starting value of the numerical interval to which the absolute value of the data to be compressed belongs. Otherwise, the current starting point value is taken as the starting point value of the numerical interval to which the absolute value of the data to be compressed belongs.
- the value range of the address space of the ROM table is also set to 0 ⁇ 63.
- the specific implementation process of the foregoing steps 303-304 may be: First, the address bit variable add of the ROM table is set, and the initial value is set to 31. After receiving the input data to be compressed and taking the absolute value (denoted as abs_data) and saving the sign bit, perform the following table lookup operation as follows:
- Step 3036 according to the current address variable add read the starting point value stored in the address in the ROM table and assign the variable dout, compare abs_data with dout; if abs_data>dout, go to step 3037a; if abs_data ⁇ dout, then transfer Step 3037b.
- step 3037a the address of the current starting point value in the ROM table is used as the compression result value of abs_data.
- Step 3037b the address value of the current starting point value in the ROM table is decremented by 1 as the compression result value of abs_data (that is, the address value of the previous starting point value is used as the compression result value of abs_data).
- the table lookup process of the A-law compression algorithm requires a maximum of 6 lookup operations (steps 3031 to 3036), and if the serial operation mode is adopted, the high speed cannot be satisfied. Data transmission requirements. Therefore, in another embodiment of the present application, the above table operation will be performed. The segmentation is done in a pipelined manner, which ensures that compressed data is output every clock cycle.
- ROM table since the ROM table is read in steps 3031 ⁇ 3016, in the pipeline working mode, the same ROM cannot be read multiple times in one clock cycle, so six identical images can be created.
- the ROM tables (ROM1 ⁇ 6) are used for steps 3031 ⁇ 3036, respectively.
- step 3031 uses ROM1
- step 3032 uses ROM2, and so on, that is, the previous lookup operation for the same compressed data is different from the ROM table used for the subsequent lookup operation.
- six look-up tables can be executed in parallel in six ROM tables in one clock cycle, which improves data processing efficiency and data transmission efficiency.
- the value of the address variable add is an initial value, which is fixed, and it is not necessary to determine the value of the address variable add by looking up the table, so the step 3031 is
- the judgment operation can be implemented without the table lookup operation, so that one ROM table can be reduced, and five ROM tables can be created for use in steps 3032 to 3036, respectively.
- the structure of the pipeline working mode can be as shown in FIG. 4, wherein addrO and doutO respectively represent an initial address value 31 and an initial comparison value (the initial comparison value is a starting value stored on the initial address, and the two values are fixed.
- addrl to addr5 respectively indicate the input address of ROM1 to ROM5, and doutl to dout5 are the corresponding output comparison values (ie, the starting value stored on the corresponding address, such as doutl The starting point value stored on addrl).
- the ROM table usually has a delay of 2 clock cycles from address input to data output, and a complete compression process takes at least 18 clock cycles to achieve (including absolute input data).
- Figure 4 is only a schematic structural diagram and does not represent a real structural diagram.
- the upstream compression module is added before the BBU's IR interface module
- the downstream compression module is added before the RRU's IR interface module.
- the input data format of the BBU downlink IR interface and the RRU uplink IR interface is as shown in Figure 5 (taking 20M8A as an example, where A is the antenna, S is the sampling point), and an AxSx is 30 bits wide, including 15bit I data and 15bit Q data (bitO bits of I/Q data are discarded).
- the compression module AxSx is 14 bits (7bitl data + 7bitQ data).
- the compression module If the compression module outputs the compressed data directly to the IR interface module, the effective input bit width of the IR interface becomes 14bit. This requires corresponding modifications within the IR interface module. In addition, since the data is processed by AGC before compression, the corresponding AGC factor value needs to be transmitted to the solution AGC module via the IR interface to restore the data amplitude.
- the compression module compresses data of two adjacent sampling points of the same antenna in consideration of the above data transmission requirements, in order to minimize the impact of the IR interface compression module on the base station device. (that is, the data after compression and sign bit expansion) are put together and output to the IR interface module. Further, the remaining 2 bits can also transmit the AGC factor of the antenna.
- the format of the output data of the compression module can be as shown in Figure 6. Since the amount of data after splicing is halved, the output data is not always valid, but 8 valid and 8 invalid. Invalid data is discarded in the IR interface module through a certain processing flow.
- the data format input to the IR interface module is equivalent to no change, and its bit width is 30 bits, which avoids the modification of the IR interface module and is beneficial to the upgrading of the existing base station equipment.
- FIG. 7 is a schematic structural diagram of an LTE-IR interface data compression apparatus according to an embodiment of the present disclosure, where the apparatus may include:
- the ROM module 701 is configured to store a lookup table.
- the process of creating the lookup table includes: dividing the value range after the absolute value of the data to be compressed into 2 N value intervals, where N is the compressed data after the sign bit is removed. Bit width; a value in each numerical interval is stored as an identification value of the numerical interval in an ascending or descending order in a lookup table, and each of the identification values in the lookup table is a compression of the data to be compressed within the corresponding numerical interval. Result value
- the input module 702 is configured to receive the input data to be compressed
- the first processing module 703 is configured to take an absolute value of the data to be compressed, and save a sign bit of the data to be compressed.
- the lookup table module 704 is configured to use a binary search method to search for an identifier value of a value interval of the absolute value of the data to be compressed in the lookup table; and, in the lookup table, according to the identifier value of the found value interval The address in the medium, determining a compression result value of the data to be compressed;
- the second processing module 705 is configured to convert the compressed result value of the data to be compressed into a signed number according to the sign bit of the data to be compressed.
- the output module 706 is configured to output the signed number processed by the second processing module 707.
- the identification value of each numerical interval is a starting position value of the numerical interval, and the identification values of each numerical interval are stored in the lookup table in ascending order.
- the lookup table module 704 compares the identifier value stored in the middle position of the lookup table with the absolute value of the data to be compressed, and if the two are equal, ends the search process; otherwise, the search is performed at the intermediate position
- the table is divided into two sub-tables, and if the identifier value stored in the intermediate location is greater than the absolute value of the data to be compressed, the previous sub-table is further searched, otherwise the next sub-table is further searched, and so on, until both Equal or until the first or last identity value stored in the lookup table is found, the search process ends;
- the search process when searching in the sub-table, comparing the identifier value stored in the middle position of the sub-table with the absolute value of the data to be compressed, if the two are equal, the search process is ended; otherwise, the intermediate position is used
- the child table is further divided into two front and a back child tables, if the intermediate location stores an identifier value greater than the If the absolute value of the data to be compressed is further, the previous sub-table is further searched, otherwise the next sub-table is further searched; when the search result is equal to the two or the first identification value stored in the lookup table is found, the current identification value is obtained.
- the last identifier value stored in the lookup table is found, if the identifier value is greater than the absolute value of the data to be compressed, the previous identifier value of the identifier value is used as the absolute value of the data to be compressed.
- the identifier value of the interval; otherwise, the current identifier value is used as the identifier value of the value interval to which the absolute value of the data to be compressed belongs.
- the number of the lookup tables is N.
- the lookup table module 704 is specifically configured to: perform, according to the N lookup tables, the number of data to be compressed that does not exceed N in parallel; wherein, the previous search operation for the same data to be compressed and the subsequent search The lookup table used by the operation is different.
- the number of the lookup tables is N-1.
- the look-up table module 704 is specifically configured to: perform, according to the N-1 lookup tables, the number of data to be compressed that does not exceed N in parallel; wherein, for the data to be compressed, except for the first search operation Other lookup operations, using a lookup table, and the previous lookup operation for the same data to be compressed is not the same as the lookup table used by the latter lookup operation.
- the output module 706 further splices the signed compressed data of at least two sampling points adjacent to the same antenna before outputting the signed number, and the bit width of the spliced data does not exceed the LTE-IR interface.
- the data width is wide.
- the output module 706 uses the remaining bits to carry the automatic gain control AGC factor of the corresponding antenna when the bit width of the spliced data is smaller than the LTE-IR interface data bit width.
- the compression result value of the data to be compressed is calculated according to an A-law compression algorithm, and the N is equal to 6.
- the embodiment of the present application further provides a BBU in a distributed base station device.
- the BBU includes an uplink data processing module and a downlink data processing module, where the uplink data processing module includes an IR interface module, a decompression module, a solution AGC module, and a baseband module, and the downlink data processing module
- the blocks include: IR interface module, compression module, AGC module, baseband module.
- the compression module in the downlink processing module has the structure and function as shown in FIG. 7, that is, can be implemented by using the apparatus shown in FIG.
- the embodiment of the present application further provides an RRU in a distributed base station device.
- the RRU includes an uplink data processing module and a downlink data processing module, where the uplink data processing module includes a radio frequency intermediate frequency module, an AGC module, a compression module, and an IR interface module, and the downlink data processing module includes: a radio frequency intermediate frequency module
- the AGC module, the decompression module, and the IR interface module are solved.
- the compression module in the upstream processing module has the structure and function as shown in FIG. 7, that is, it can be implemented by the device shown in FIG.
- the embodiment of the present application implements an IR interface bit compression algorithm based on A-law compression, which can compress I/Q data from 16 bits to 7 bits under the premise of small signal loss, thereby saving half of the fiber cost.
- the output data transmission format of the compression module to the IR interface module remains unchanged, which is beneficial to upgrade existing base stations.
- the design of the lookup table and the corresponding table lookup operation are described by taking the starting value of the value interval in ascending order in the lookup table as an example, but the application is implemented.
- the example is not limited to this.
- the starting point value of the numerical interval may be stored in the lookup table in descending order, or the end point value of the numerical interval may be stored in the lookup table in descending order, etc.
- the table lookup operation needs to be adjusted accordingly.
- modules in the apparatus in the embodiments may be distributed in the apparatus of the embodiment according to the description of the embodiments, or the corresponding changes may be located in one or more apparatuses different from the embodiment.
- the modules of the above embodiments may be combined into one module, or may be further split into a plurality of sub-modules.
- the embodiment of the present application further provides a computer readable recording medium on which a program for executing the LTE-IR interface data compression method applied to a distributed base station is recorded.
- the computer readable recording medium includes any mechanism for storing or transmitting information in a form readable by a computer (eg, a computer).
- a machine-readable medium includes a read only memory (ROM), a random access memory (RAM), a magnetic disk storage medium, an optical storage medium, a flash storage medium, an electrical, optical, acoustic, or other form of propagated signal (eg, a carrier wave) , infrared signals, digital signals, etc.).
- the present application can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is a better implementation. the way.
- the technical solution of the present application which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a
- the terminal device (which may be a mobile phone, a personal computer, a server, or a network device, etc.) performs the methods described in the various embodiments of the present application.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
An LTE-IR interface data compression method and device for use in a distributed base station provided with a lookup table, the creation process of said lookup table comprising: dividing the value range of the absolute values of the to-be-compressed data into a number 2N of value intervals, wherein N is the bit width of the compressed data after a sign bit is removed; selecting a value in each value interval as the identification value of the value interval, and saving the selected values into the lookup table in an ascending or descending order, the address of each identification value in the lookup table being the compression result value of the to-be-compressed data in the corresponding value interval; during data compression, using a binary search algorithm to search in the lookup table for the identification value of the value interval to which the absolute value of the to-be-compressed data belongs; and according to the address of the found identification value of the value interval in the lookup table, determining the compression result value of the to-be-compressed data. The present application reduces the difficulty of technical implementation and reduces resource occupation while satisfying existing requirements for data compression.
Description
说 明 书 Description
一种 LTE- IR接口数据压缩方法及其装置 本申请要求在 2012 年 2 月 22 日提交中国专利局、 申请号为 201210042937.6、 发明名称为 "一种 LTE-IR接口数据压缩方法及其装置" 的 中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 LTE-IR interface data compression method and device thereof The present application claims to be submitted to the Chinese Patent Office on February 22, 2012, the application number is 201210042937.6, and the invention name is "an LTE-IR interface data compression method and device thereof" Priority of Chinese Patent Application, the entire contents of which is incorporated herein by reference.
技术领域 Technical field
本申请涉及无线通信领域, 尤其涉及一种 LTE-IR接口数据压缩方法及其 装置。 背景技术 The present application relates to the field of wireless communications, and in particular, to an LTE-IR interface data compression method and apparatus therefor. Background technique
随着移动通信技术的发展, 高速大容量的数据传输是一个必然的趋势。 数 据量的增大, 对基站的光纤数据传输速度也提出了更高要求。 当单根光纤无法 满足传输速率时, 只能通过提高光纤速率或增加光纤数量的方法实现高速数据 传输。 这两种方式都会增加设备成本。 With the development of mobile communication technology, high-speed and large-capacity data transmission is an inevitable trend. The increase in the amount of data also places higher demands on the optical fiber data transmission speed of the base station. When a single fiber cannot meet the transmission rate, high-speed data transmission can only be achieved by increasing the fiber rate or increasing the number of fibers. Both of these methods increase equipment costs.
LTE ( Long Term Evolution, 长期演进)基站是一种分布式基站设备, 由 基带单元设备( Base Band Unit, BBU )及射频远端设备( Remote RF Unit, RRU ) 构成。 RRU与 BBU之间通过光纤连接。 由于系统最大 IQ (正交的两路基带信 号 )数据采样宽度为 16bit, 光纤传输还需对数据进行 8/10编码, 因此对于 8 天线 20M带宽的设备来说, 光口最大线速率为: The LTE (Long Term Evolution) base station is a distributed base station device, which is composed of a Base Band Unit (BBU) and a Remote RF Unit (RRU). The RRU and the BBU are connected by optical fibers. Since the maximum IQ (orthogonal two baseband signals) data sampling width of the system is 16 bits, the optical fiber transmission needs to encode the data by 8/10. Therefore, for a device with 8 antennas and 20M bandwidth, the maximum line rate of the optical port is:
30.72M*32bit*8天线 * ( 10/8 ) =9.8304Gbps 30.72M*32bit*8 antenna * ( 10/8 ) =9.8304Gbps
而目前基站光口数据传输只支持 6.144Gbps, 完成 20M8A ( A表示天线) 的数据传输就必须采用支持 10G速率的光口, 或者采用 2个 6.144G速率的光 口、 2根光纤完成数据传输。 随着天线数量或系统带宽增加, 基站设备的光纤 成本还将进一步增加。 At present, the data transmission of the base station optical port only supports 6.144 Gbps. To complete the data transmission of 20M8A (A for the antenna), it is necessary to use an optical port supporting 10G rate, or two optical ports of 6.144G rate and two optical fibers for data transmission. As the number of antennas or system bandwidth increases, the cost of fiber for base station equipment will increase further.
RRU与 BBU间的数据传输遵循 LTE-IR接口协议标准。 LTE-IR接口协议 规定数据传输的基本帧长为 1 Tc=l/3.84 MHz。 一个基本帧包含 16个字, 字长
T由线比特率决定。 在一个基本帧里, I/Q数据的 bitO位丢掉, 只传输高 15bit, 以余出一个字用于控制字的传输。 图 1是字长为 T的帧结构图。 其中, W表示 字, Y表示字节数, B表示 bit数。 当线速率为 9.8304Gbps时, T等于 128。 The data transmission between the RRU and the BBU follows the LTE-IR interface protocol standard. The LTE-IR interface protocol specifies that the basic frame length of data transmission is 1 Tc=l/3.84 MHz. A basic frame contains 16 words, word length T is determined by the line bit rate. In a basic frame, the bitO bit of the I/Q data is discarded, and only 15 bits high are transmitted, leaving a word for control word transmission. 1 is a frame structure diagram of a word length T. Where W is the word, Y is the number of bytes, and B is the number of bits. When the line rate is 9.8304 Gbps, T is equal to 128.
IR接口数据压缩算法具体实现可分为 4个步骤: The specific implementation of the IR interface data compression algorithm can be divided into four steps:
( 1 ) AGC ( Automatic Gain Control, 自动增益控制)处理: 以 symbol (符 号) 为单位, 对 IR接口传输的数字信号的幅值进行估计, 并将其调整到预期 的目标值, 方便后面的压缩处理。 通常采用移位操作实现。 (1) AGC (Automatic Gain Control) processing: Estimate the amplitude of the digital signal transmitted by the IR interface in units of symbol (symbol) and adjust it to the expected target value for later compression. deal with. Usually implemented by a shift operation.
( 2 )压缩: 实现基带数据由 16bit到 7bit的压缩, 是 IR接口数据传输压 缩过程的核心部分。 (2) Compression: The compression of the baseband data from 16bit to 7bit is the core part of the IR interface data transmission compression process.
( 3 )解压缩: 是压缩模块的反过程, 采用的算法取决于压缩算法。 通常 使用查表方式。 (3) Decompression: It is the inverse process of the compression module, and the algorithm used depends on the compression algorithm. Usually use the look-up table method.
( 4 )解 AGC处理: AGC处理的反过程。 (4) Solution AGC processing: The reverse process of AGC processing.
由于 RRU及 BBU的 IR接口功能是通过 FPGA( Programmable Gate Array, 现场可编程门阵列) 实现的, 所以数据压缩也在 FPGA上完成。 图 2是 IR接 口数据压缩的结构原理图。 Since the IR interface function of the RRU and the BBU is implemented by an FPGA (Programmable Gate Array), data compression is also performed on the FPGA. Figure 2 is a schematic diagram of the structure of the IR interface data compression.
A律压缩算法是一种非均勾语音压缩算法, 主要用于公用电话网。 A律特 性定义为: The A-law compression algorithm is a non-uniform hook speech compression algorithm mainly used in public telephone networks. The A-law characteristic is defined as:
Alxl Alxl
sgn(x)—— LL^, 0 < |x| < l/A Sgn(x)—— LL^, 0 < |x| < l/A
、 ; l + ln (A) 1 1 1 ,; L + ln (A) 1 1 1
y— , 、l + ln ( I) , , , [1] Y— , , l + ln ( I) , , , [1]
sgn x - lΓ +- lΓn7(AΓ) ' < x≤l 式(1 ) 中, x为归一化的输入语音信号, sgn(x)为 X的符号位, y为压扩 后的归一化输出信号, A为压缩参数取值。 s gn x - lΓ +- lΓn7(AΓ) '< x≤l In equation (1), x is the normalized input speech signal, sgn(x) is the sign bit of X, and y is the normalized after companding The output signal, A is the value of the compression parameter.
优化的 A律压缩算法在 FPGA上有三种实现方式: The optimized A-law compression algorithm has three implementations on the FPGA:
( 1 ) 查表法: 将 A律压缩结果值放在 ROM ( Read-Only Memory, 只读 内存)表中,压缩结果值的读地址为对应的压缩前数据, 以输入信号作为 ROM
的读地址查表可得到压缩结果值。 (1) Lookup table method: Put the A-law compression result value in the ROM (Read-Only Memory) table, and the read address of the compression result value is the corresponding pre-compression data, and the input signal is used as the ROM. The read address lookup table can get the compressed result value.
( 2 )计算法: 通过搭建逻辑电路来实现 A律计算式。 (2) Calculation method: The A-law calculation formula is realized by constructing a logic circuit.
( 3 )线性近似法: 用数段折线近似 A律曲线, 现有的典型应用是 A=87.6 的十三折线法。 十三折线法可以将 16bit位宽的输入数据, 压缩到 8bit位宽, 性能损失较小, 但对于 7bit的压缩, 其性能损失无法接受。 考虑到 LTE信号的 统计特性与语音信号的特性会有一定的差异, IR接口比特压缩算法通过不同场 景的仿真实验, 对参数 A进行优化, 实现 7bit压缩。 (3) Linear Approximation: The A-law curve is approximated by a number of fold lines. The typical application is the 13-fold line method of A=87.6. The 13-fold line method can compress 16-bit wide input data to 8-bit width, and the performance loss is small, but for 7-bit compression, the performance loss is unacceptable. Considering that the statistical characteristics of the LTE signal and the characteristics of the speech signal are different, the IR interface bit compression algorithm optimizes the parameter A through different simulation experiments of the scene to achieve 7-bit compression.
现有的三种 A律算法实现方案的主要缺点在于: The main disadvantages of the existing three A-law algorithm implementations are:
( 1 ) 查表法: 需要占用大的存储资源。 对 LTE系统而言, 查找表的容量 为 2Λ16*7ΐώ, 需要占用 56块 Μ9Κ Memory Block。 (1) Lookup method: It requires large storage resources. For the LTE system, the lookup table has a capacity of 2 Λ 16*7ΐώ and requires 56 Μ9Κ Memory Blocks.
( 2 )计算法: 由于 A律计算式包括对数及乘除运算, 通过逻辑电路实现 难度很大。 目前 FPGA芯片厂商提供对数运算及乘除运算的 IP核, 可筒化计 算过程,但计算周期长,且占有 DSP ( Digital Signal Processing,数字信号处理) 资源。 以 Altera的 FPGA为例, 一个对数运算器将占用 8块 DSP, —个乘法运 算器占用 4块 DSP。 (2) Calculation method: Since the A-law calculation formula includes logarithmic and multiplication and division operations, it is very difficult to implement through logic circuits. At present, FPGA chip manufacturers provide IP cores for logarithmic operation and multiplication and division operations, which can calculate the calculation process, but have a long calculation cycle and occupy DSP (Digital Signal Processing) resources. Taking Altera's FPGA as an example, a logarithmic operator will occupy 8 DSPs, and a multiply operator will occupy 4 DSPs.
( 3 ) 线性近似法: 计算结果精度有限, 且灵活性差, 对于不同的 A值需 要不同的折线来近似。 而 IR接口比特压缩算法在不同的场景下, A值可能变 化的。 (3) Linear approximation: The calculation results have limited precision and poor flexibility. Different A values require different fold lines to approximate. The IR interface bit compression algorithm may change the value of A in different scenarios.
由此可见, 目前的 A律压缩算法,在实现难度及资源占用等方面难以满足 系统需求。 发明内容 It can be seen that the current A-law compression algorithm is difficult to meet system requirements in terms of implementation difficulty and resource occupation. Summary of the invention
本申请实施例提供了一种 LTE-IR接口数据压缩方法及其装置, 用以降低 技术实现难度并减少资源占用。 The embodiment of the present application provides an LTE-IR interface data compression method and device thereof, which are used to reduce technical implementation difficulty and reduce resource occupation.
本申请实施例提供的应用于分布式基站的 LTE-IR接口数据压缩方法中, 所述分布式基站中设置有查找表, 所述查找表的创建过程包括: 将待压缩数据
取绝对值后的取值范围划分为 2N个数值区间, 其中 N为压缩后数据去除符号 位后的位宽; 将每个数值区间内的一个数值作为该数值区间的标识值按照升序 或降序顺序存储于查找表,每个标识值在查找表中的地址为相应数值区间内的 待压缩数据的压缩结果值; 该方法包括: In the LTE-IR interface data compression method applied to the distributed base station, the distributed base station is provided with a lookup table, and the process of creating the lookup table includes: The value range after taking the absolute value is divided into 2 N numerical intervals, where N is the bit width after the symbol is removed from the compressed data; a value in each numerical interval is used as the identification value of the numerical interval in ascending or descending order. The order is stored in the lookup table, and the address of each identifier value in the lookup table is a compression result value of the data to be compressed in the corresponding value interval; the method includes:
接收输入的待压缩数据; Receiving input data to be compressed;
取所述待压缩数据的绝对值, 保存所述待压缩数据的符号位; Taking the absolute value of the data to be compressed, and storing the sign bit of the data to be compressed;
采用二分查找法,在所述查找表中查找所述待压缩数据的绝对值所属数值 区间的标识值; Using a binary search method, searching for the identification value of the numerical interval to which the absolute value of the data to be compressed belongs belongs in the lookup table;
根据查找到的数值区间的标识值在所述查找表中的地址,确定所述待压缩 数据的压缩结果值; Determining a compression result value of the data to be compressed according to an address of the identifier value of the found value interval in the lookup table;
根据所述待压缩数据的符号位,将所述待压缩数据的压缩结果值转换为有 符号数后输出。 And compressing the compressed result value of the data to be compressed into a signed number according to the sign bit of the data to be compressed.
本申请实施例提供的应用于分布式基站的 LTE-IR接口数据压缩装置, 包 括: The LTE-IR interface data compression device applied to the distributed base station provided by the embodiment of the present application includes:
ROM模块, 配置为存储查找表; 所述查找表的创建过程包括: 将待压缩 数据取绝对值后的取值范围划分为 2N个数值区间, 其中 N为压缩后数据去除 符号位后的位宽; 将每个数值区间内的一个数值作为该数值区间的标识值按照 升序或降序顺序存储于查找表,每个标识值在查找表中的地址为相应数值区间 内的待压缩数据的压缩结果值; The ROM module is configured to store a lookup table. The process of creating the lookup table includes: dividing a value range after the absolute value of the data to be compressed into 2 N value intervals, where N is a bit after the compressed data is removed from the symbol bit. Width; a value in each numerical interval as the identification value of the numerical interval is stored in the lookup table in ascending or descending order, and the address of each identification value in the lookup table is the compression result of the data to be compressed within the corresponding numerical interval. value;
输入模块, 配置为接收输入的待压缩数据; An input module configured to receive input data to be compressed;
第一处理模块, 配置为取所述待压缩数据的绝对值, 保存所述待压缩数据 的符号位; a first processing module, configured to take an absolute value of the data to be compressed, and save a sign bit of the data to be compressed;
查表模块, 配置为采用二分查找法, 在所述查找表中查找所述待压缩数据 的绝对值所属数值区间的标识值; 以及, 根据查找到的数值区间的标识值在所 述查找表中的地址, 确定所述待压缩数据的压缩结果值; a table lookup module configured to use a binary search method to search for an identifier value of a value interval of the absolute value of the data to be compressed in the lookup table; and, in the lookup table, according to the identifier value of the found value interval Address, determining a compression result value of the data to be compressed;
第二处理模块, 配置为根据所述待压缩数据的符号位, 将所述待压缩数据
的压缩结果值转换为有符号数; a second processing module, configured to: the data to be compressed according to the sign bit of the data to be compressed The compressed result value is converted to a signed number;
输出模块, 配置为输出所述第二处理模块处理得到的有符号数。 And an output module configured to output the signed number processed by the second processing module.
本申请实施例还提供了一种分布式基站设备中的 BBU,包括上行数据处理 模块和下行数据处理模块, 其中, 所述上行数据处理模块包括 IR接口模块、 解压缩模块、 解 AGC模块、 基带模块, 所述下行数据处理模块包括: IR接口 模块、 压缩模块、 AGC模块、 基带模块, 其中, 所述下行处理模块中的压缩 模块为上述装置。 The embodiment of the present application further provides a BBU in a distributed base station device, including an uplink data processing module and a downlink data processing module, where the uplink data processing module includes an IR interface module, a decompression module, an AGC module, and a baseband. The module, the downlink data processing module includes: an IR interface module, a compression module, an AGC module, and a baseband module, wherein the compression module in the downlink processing module is the foregoing device.
本申请实施例还提供了一种分布式基站设备中的 RRU,包括上行数据处理 模块和下行数据处理模块, 其中, 所述上行数据处理模块包括射频中频模块、 The embodiment of the present application further provides an RRU in a distributed base station device, including an uplink data processing module and a downlink data processing module, where the uplink data processing module includes a radio frequency intermediate frequency module,
AGC模块、 压缩模块、 IR接口模块, 所述下行数据处理模块包括: 射频中频 模块、 解 AGC模块、 解压缩模块、 IR接口模块, 其中, 所述上行处理模块中 的压缩模块为上述装置。 The AGC module, the compression module, and the IR interface module, the downlink data processing module includes: a radio frequency intermediate frequency module, a solution AGC module, a decompression module, and an IR interface module, wherein the compression module in the uplink processing module is the foregoing device.
本申请的上述实施例, 通过设计查找表, 即, 将待压缩数据取绝对值并去 除符号位后的取值范围划分为 2N个数值区间, 其中 N为压缩后数据的位宽; 将每个数值区间内的一个数值作为该数值区间的标识值按照升序或降序顺序 存储于查找表,每个标识值在查找表中的地址为相应数值区间内的待压缩数据 的压缩结果值, 并且在基于该查找表进行数据压缩时采用二分查找法, 从而实 现了将二分查找法与数据压缩查表法相结合, 降低技术实现难度并减少资源占 用。 附图说明 The above embodiment of the present application divides the value range after the absolute value of the data to be compressed and removes the sign bit into 2 N numerical intervals, where N is the bit width of the compressed data; A value in the numerical interval is stored in the lookup table as the identification value of the numerical interval in ascending or descending order, and the address of each identification value in the lookup table is the compression result value of the data to be compressed in the corresponding numerical interval, and The binary search method is adopted for data compression based on the lookup table, thereby realizing the combination of the binary search method and the data compression look-up table method, thereby reducing the technical implementation difficulty and reducing resource occupation. DRAWINGS
图 1为现有技术中字长为 T的 LTE-IR接口数据帧结构图; 1 is a structural diagram of a data frame of an LTE-IR interface with a word length T in the prior art;
图 2为现有技术中 IR接口数据压缩的结构原理图; 2 is a schematic structural diagram of data compression of an IR interface in the prior art;
图 3为本申请实施例提供的 LTE-IR接口数据压缩流程示意图; FIG. 3 is a schematic diagram of a data compression process of an LTE-IR interface according to an embodiment of the present application;
图 4为本申请实施例提供的 A律压缩流水线工作原理示意图; 4 is a schematic diagram of a working principle of an A-law compression pipeline provided by an embodiment of the present application;
图 5为现有技术中的 LTE-IR接口数据格式示意图;
图 6为本申请实施例提供的 LTE-IR接口数据格式示意图; 5 is a schematic diagram of a data format of an LTE-IR interface in the prior art; FIG. 6 is a schematic diagram of a data format of an LTE-IR interface according to an embodiment of the present disclosure;
图 7为本申请实施例提供的 LTE-IR接口数据压缩装置结构示意图。 具体实施方式 FIG. 7 is a schematic structural diagram of an LTE-IR interface data compression apparatus according to an embodiment of the present application. detailed description
针对现有技术存在的问题, 本申请实施例提出一种 LTE-IR接口数据压缩 方案, 可将 16bit的基带 IQ数据压缩为 7bit传输(压缩后的数据无需再作 bitO 丢弃处理), 从而将一个基本帧传输的 IQ数据量增大一倍, 降低传输速率, 最 终达到减少一半光纤量, 将光纤成本降低一倍的目的。 本申请实施例提供的 LTE-IR接口数据的压缩方案可在 FPGA上实现。 For the problems existing in the prior art, the embodiment of the present application proposes an LTE-IR interface data compression scheme, which can compress 16-bit baseband IQ data into 7-bit transmission (the compressed data does not need to be bitO discarded), thereby The amount of IQ data transmitted by the basic frame is doubled, the transmission rate is reduced, and finally, the amount of fiber is reduced by half, and the cost of the fiber is doubled. The compression scheme of the LTE-IR interface data provided by the embodiment of the present application can be implemented on an FPGA.
LTE-IR接口数据压缩算法可分为 AGC处理、 A律压缩、 解压缩、解 AGC 四个步骤。 其中, AGC处理、 解 AGC及解压缩实现筒单, 因此本申请实施例 对这三个步骤采用常规成熟的解决方案,此处就不再描述。 A律压缩是 LTE-IR 接口数据压缩的核心部分, 也是 FPGA实现的难点, 本申请实施例在现有实现 方法的基础上, 对查表法进行了优化, 通过二分查找法与现有查表法相结合的 方式, 在保证不低于现有数据压缩率的情况下, 以较少的资源、 筒洁的方式实 现 A律压缩算法。 本申请实施例提供的 A律压缩算法可支持压缩前的数据格 式为 Q ( 16,1 ) , 压缩后的数据格式为 Q ( 7,1 )。 进一步的, 本申请实施例还对 压缩数据的传输格式进行了优化, 以提高压缩算法的适用范围。 The LTE-IR interface data compression algorithm can be divided into four steps: AGC processing, A-law compression, decompression, and AGC. The AGC processing, the solution AGC, and the decompression implement the cartridge, so the embodiment of the present application adopts a conventional mature solution for the three steps, and will not be described here. A-law compression is the core part of LTE-IR interface data compression, and it is also a difficult point of FPGA implementation. On the basis of the existing implementation method, the embodiment of the present application optimizes the look-up table method, and uses the binary search method and the existing table lookup table. The method of combining the methods, in the case of ensuring that the compression ratio of the data is not lower than that, the A-law compression algorithm is implemented in a less resource-intensive manner. The A-law compression algorithm provided by the embodiment of the present application can support the data format before compression as Q (16, 1), and the compressed data format is Q (7, 1, 1). Further, the embodiment of the present application further optimizes the transmission format of the compressed data to improve the applicable range of the compression algorithm.
A律压缩是对称的, 因此可先对待压缩数据的绝对值部分进行压缩, 再进 行符号位的扩展。 除去符号位,压缩后的数据为 6bit, 其数据取值范围为 0-63 , 每一个压缩后数据对应一个取值范围内的多个压缩前数据。 The A-law compression is symmetrical, so the absolute value portion of the compressed data can be compressed first, followed by the sign bit extension. The sign bit is removed, the compressed data is 6 bits, and the data ranges from 0 to 63. Each compressed data corresponds to a plurality of pre-compressed data within a range of values.
根据以上特点, 本申请实施例根据压缩后数据去除符号位后的位宽 N=6, 将待压缩数据取绝对值后的整个取值范围划分为 2N =64个连续数值区间,将每 个数值区间的起始位置数值(以下筒称起点值)按照升序顺序存储于查找表 ( ROM表 ), 每个起点值在 ROM表中的地址为相应数值区间内的待压缩数据 的压缩结果值, 表的大小为 26*15bit。 这样, 只要通过查表确定待压缩数据所
属的数值区间, 即可得到对应的压缩后数据。 According to the above features, in the embodiment of the present application, the bit width N=6 after removing the sign bit according to the compressed data, and the entire value range after the absolute value of the data to be compressed is taken as 2 N =64 consecutive value intervals, each will be The value of the starting position of the numerical interval (hereinafter referred to as the starting point value) is stored in the lookup table (ROM table) in ascending order, and the address of each starting point value in the ROM table is the compression result value of the data to be compressed in the corresponding numerical interval. The size of the table is 2 6 * 15 bits. In this way, as long as the data to be compressed is determined by looking up the table The numerical interval of the genus can obtain the corresponding compressed data.
在每一次查表操作中, 都有两种分支跳转的结果(即查找成功或不成功)。 若将所有的条件判断逻辑列出, 则需要 64个判断语句 (如 if... else...语句)。 这种方式的逻辑电路冗余复杂, 且过多判断语句嵌套, 会导致关键路径变长, 难以通过布局布线。 为解决该问题, 本申请实施例采用二分查找法, 通过查表 确定待压缩数据所属的数值区间。 In each lookup operation, there are two branch jump results (ie, the search is successful or unsuccessful). If all the conditional judgment logic is listed, then 64 judgment statements (such as if... else... statement) are required. The logic circuit of this method is redundant and complicated, and too many judgment statements are nested, which causes the critical path to become long and difficult to pass through the layout. In order to solve the problem, the embodiment of the present application uses a binary search method to determine the numerical interval to which the data to be compressed belongs by looking up the table.
二分查找又称折半查找, 优点是比较次数少, 查找速度快, 平均性能好。 假设表中元素是按升序排列的, 将表中间位置记录的关键字与查找关键字比 较, 如果两者相等, 则查找成功; 否则利用中间位置记录将表分成前、 后两个 子表, 如果中间位置记录的关键字大于查找关键字, 则进一步查找前一子表, 否则进一步查找后一子表。 重复以上过程, 直到找到满足条件的记录, 使查找 成功, 或直到子表不存在为止。 对于本申请实施例, 表中记录的关键字即为 64 个数据区间中每个区间的起点值, 查找关键字即为待压缩数据的绝对值。 Two-point search is also called half-fold search. The advantage is that the number of comparisons is small, the search speed is fast, and the average performance is good. Assume that the elements in the table are sorted in ascending order, and compare the keywords recorded in the middle position of the table with the search keywords. If the two are equal, the search is successful; otherwise, the intermediate position record is used to divide the table into two sub-tables, if the middle If the keyword of the location record is larger than the search keyword, the previous child table is further searched, otherwise the next child table is further searched. Repeat the above process until you find a record that meets the criteria, making the lookup successful, or until the child table does not exist. For the embodiment of the present application, the keyword recorded in the table is the starting value of each of the 64 data intervals, and the search keyword is the absolute value of the data to be compressed.
本申请实施例采用二分查找法, 针对一个待压缩数据, 最多只需进行 N=6 ( N为压缩后数据位宽, 不包括符号位, 符号位占 lbit ) 次查表判断即可确定 出待压缩数据所属的数据区间。 The embodiment of the present application adopts a binary search method, and for a data to be compressed, at most N=6 (N is a compressed data bit width, excluding a sign bit, and a sign bit occupies 1 bit), and the table can be determined and determined. The data interval to which the compressed data belongs.
基于以上查找表(ROM 表), 图 3 示出了为本申请实施例提供的一种 LTE-IR接口数据 A律压缩流程。对应于图 2所示的 IR接口数据压缩的结构原 理图, 该流程在分布式基站 RRU和 BBU中的压缩模块中实现。 如图所示, 该 流程可包括: Based on the above lookup table (ROM table), FIG. 3 shows a LTE-IR interface data A-law compression process provided by an embodiment of the present application. Corresponding to the structural principle diagram of the IR interface data compression shown in Fig. 2, the flow is implemented in a compression module in the distributed base station RRU and BBU. As shown, the process can include:
步骤 301 , 接收输入的待压缩数据; Step 301: Receive input data to be compressed.
步骤 302, 取该待压缩数据的绝对值, 保存该待压缩数据的符号位; 步骤 303, 采用二分查找法, 在 ROM表中查找该待压缩数据的绝对值所 属数值区间的起点值; Step 302: Take the absolute value of the data to be compressed, and save the sign bit of the data to be compressed. Step 303: Search for the starting value of the value range of the absolute value of the data to be compressed in the ROM table by using a binary search method;
步骤 304, 根据查找到的数值区间的起点值在该 ROM表中的地址, 确定 该待压缩数据的压缩结果值;
步骤 305 , 根据该待压缩数据的符号位, 将该待压缩数据的压缩结果值转 换为有符号数后输出。 Step 304: Determine, according to an address of the found value of the found value interval in the ROM table, a compression result value of the data to be compressed. Step 305: Convert the compression result value of the data to be compressed into a signed number according to the sign bit of the data to be compressed, and output the result.
上述流程的步骤 303的实现过程可以是: 将 ROM表中间位置存储的起点 值与待压缩数据的绝对值进行比较, 如果两者相等, 则结束查找过程; 否则, 以该中间位置将该 ROM表分成前、 后两个子表, 如果该中间位置存储的起点 值大于该待压缩数据的绝对值, 则进一步查找前一子表, 否则进一步查找后一 子表, 以此类推, 直到两者相等或直到查找到该 ROM表存储的第一个或最后 一个起点值时结束查找过程。 其中, 在子表中进行查找时, 将该子表中间位置 存储的起点值与该待压缩数据的绝对值进行比较, 如果两者相等, 则结束查找 过程; 否则, 以该中间位置将该子表再分成前、 后两个子表, 如果该中间位置 存储的起点值大于该待压缩数据的绝对值, 则进一步查找前一子表, 否则进一 步查找后一子表。 The implementation process of step 303 of the foregoing process may be: comparing the starting value stored in the middle position of the ROM table with the absolute value of the data to be compressed, and if the two are equal, ending the searching process; otherwise, the ROM table is taken at the intermediate position Dividing into two sub-tables, if the starting value stored in the intermediate position is greater than the absolute value of the data to be compressed, further searching for the previous sub-table, otherwise searching for the next sub-table, and so on, until the two are equal or The search process ends until the first or last start value stored in the ROM table is found. Wherein, when searching in the sub-table, comparing the starting value stored in the middle position of the sub-table with the absolute value of the data to be compressed, if the two are equal, the searching process is ended; otherwise, the sub-location is the intermediate position The table is further divided into two sub-tables. If the starting value stored in the intermediate position is greater than the absolute value of the data to be compressed, the previous sub-table is further searched, otherwise the next sub-table is further searched.
当查找结果为两者相等或查找到 ROM表存储的第一个起点值时, 将当前 起点值作为该待压缩数据的绝对值所属数值区间的起点值。 当查找到 ROM表 存储的最后一个起点值时, 若该标识值大于该待压缩数据的绝对值, 则将该标 识值的前一个起点值作为该待压缩数据的绝对值所属数值区间的起点值; 否 则, 将当前起点值作为该待压缩数据的绝对值所属数值区间的起点值。 When the search result is equal to the two or finds the first starting value stored in the ROM table, the current starting value is taken as the starting value of the numerical interval to which the absolute value of the data to be compressed belongs. When the last starting value stored in the ROM table is found, if the identification value is greater than the absolute value of the data to be compressed, the previous starting value of the identification value is used as the starting value of the numerical interval to which the absolute value of the data to be compressed belongs. Otherwise, the current starting point value is taken as the starting point value of the numerical interval to which the absolute value of the data to be compressed belongs.
具体实施时, 考虑到压缩后数据的取值区间为 0~63 , 因此 ROM表的地址 空间的数值范围也设置为 0~63。 上述步骤 303~304的具体实现过程可以是: 首先设置 ROM表的地址位变量 add, 其初始值设置为 31。 当接收到输入 的待压缩数据并取绝对值(记为 abs_data ) 以及保存符号位后, 执行如下所示 的以下查表操作: In the specific implementation, considering the value range of the compressed data is 0~63, the value range of the address space of the ROM table is also set to 0~63. The specific implementation process of the foregoing steps 303-304 may be: First, the address bit variable add of the ROM table is set, and the initial value is set to 31. After receiving the input data to be compressed and taking the absolute value (denoted as abs_data) and saving the sign bit, perform the following table lookup operation as follows:
步骤 3031 , 根据当前地址变量 add=31读取 ROM表中该地址存储的起点 值并赋予变量 dout, 将 abs_data与 dout进行比较; 若 abs_data>dout, 则将地 址变量 add加 16, 并转入步骤 3032; 若 abs_data<dout, 则将地址变量 add减 16, 并转入步骤 3032; 若 abs_data=dout, 则转入步骤 3037a。
步骤 3032, 根据当前地址变量 add读取 ROM表中该地址存储的起点值并 赋予变量 dout, 将 abs_data与 dout进行比较; 若 abs_data>dout, 则将地址变 量 add加 8, 并转入步骤 3033; 若 abs_data<dout, 则将地址变量 add减 8, 并 转入步骤 3033; 若 abs_data=dout, 则转入步骤 3037a。 Step 3031: Read the starting point value stored in the address in the ROM table according to the current address variable add=31 and assign the variable dout to compare the abs_data with the dout; if the abs_data>dout, add the address variable add to 16, and go to the step 3032; If abs_data <dout, the address variable add is decremented by 16 and the process proceeds to step 3032; if abs_data=dout, then the process proceeds to step 3037a. Step 3032, according to the current address variable add read the starting point value stored in the address of the ROM table and assign the variable dout, compare abs_data with dout; if abs_data>dout, add the address variable add 8, and then proceeds to step 3033; If abs_data <dout, the address variable add is decremented by 8 and the process proceeds to step 3033. If abs_data=dout, the process proceeds to step 3037a.
步骤 3033 , 根据当前地址变量 add读取 ROM表中该地址存储的起点值并 赋予变量 dout, 将 abs_data与 dout进行比较; 若 abs_data>dout, 则将地址变 量 add加 4, 并转入步骤 3034; 若 abs_data<dout, 则将地址变量 add减 4, 并 转入步骤 3034; 若 abs_data=dout, 则转入步骤 3037a。 Step 3033, according to the current address variable add read the starting point value stored in the ROM table and assign the variable dout, compare abs_data with dout; if abs_data>dout, then add the address variable add 4, and proceeds to step 3034; If abs_data <dout, the address variable add is decremented by 4, and the process proceeds to step 3034. If abs_data=dout, the process proceeds to step 3037a.
步骤 3034, 根据当前地址变量 add读取 ROM表中该地址存储的起点值并 赋予变量 dout, 将 abs_data与 dout进行比较; 若 abs_data>dout, 则将地址变 量 add加 2, 并转入步骤 3035; 若 abs_data<dout, 则将地址变量 add减 2, 并 转入步骤 3035; 若 abs_data=dout, 则转入步骤 3037a。 Step 3034, according to the current address variable add read the starting point value stored in the ROM table and assign the variable dout, compare abs_data and dout; if abs_data>dout, add the address variable add 2, and proceeds to step 3035; If abs_data <dout, the address variable add is decremented by 2, and the process proceeds to step 3035. If abs_data=dout, the process proceeds to step 3037a.
步骤 3035 , 根据当前地址变量 add读取 ROM表中该地址存储的起点值并 赋予变量 dout, 将 abs_data与 dout进行比较; 若 abs_data>dout, 则将地址变 量 add加 1 , 并转入步骤 3036; 若 abs_data<dout, 则将地址变量 add减 1 , 并 转入步骤 3036; 若 abs_data=dout, 则转入步骤 3037a。 Step 3035, according to the current address variable add read the starting point value stored in the ROM table and assign the variable dout, compare abs_data with dout; if abs_data>dout, then add the address variable add, and then proceeds to step 3036; If abs_data <dout, the address variable add is decremented by 1 and the process proceeds to step 3036; if abs_data=dout, the process proceeds to step 3037a.
步骤 3036, 根据当前地址变量 add读取 ROM表中该地址存储的起点值并 赋予变量 dout, 将 abs_data与 dout进行比较; 若 abs_data>dout, 则转入步骤 3037a; 若 abs_data<dout, 则转入步骤 3037b。 Step 3036, according to the current address variable add read the starting point value stored in the address in the ROM table and assign the variable dout, compare abs_data with dout; if abs_data>dout, go to step 3037a; if abs_data <dout, then transfer Step 3037b.
步骤 3037a, 将当前起点值在 ROM表中的地址作为 abs_data的压缩结果 值。 In step 3037a, the address of the current starting point value in the ROM table is used as the compression result value of abs_data.
步骤 3037b, 将当前起点值在 ROM表中的地址值减 1后作为 abs_data的 压缩结果值 (即将前一个起点值的地址值作为 abs_data的压缩结果值)。 Step 3037b, the address value of the current starting point value in the ROM table is decremented by 1 as the compression result value of abs_data (that is, the address value of the previous starting point value is used as the compression result value of abs_data).
通过以上流程可以看出, 由于压缩后的数据位宽为 6, 因此 A律压缩算法 的查表过程最多需要 6次查表操作(步骤 3031~3036 ), 若采用串行工作方式, 不能满足高速数据传输的要求。 因此, 本申请的另一实施例中, 将以上查表操
作进行分割, 采用流水线的方式完成, 这就保证了每个时钟周期都有压缩数据 输出。 It can be seen from the above process that since the compressed data bit width is 6, the table lookup process of the A-law compression algorithm requires a maximum of 6 lookup operations (steps 3031 to 3036), and if the serial operation mode is adopted, the high speed cannot be satisfied. Data transmission requirements. Therefore, in another embodiment of the present application, the above table operation will be performed. The segmentation is done in a pipelined manner, which ensures that compressed data is output every clock cycle.
具体实施时, 由于步骤 3031~3016都对 ROM表进行了读操作, 而在流水 线工作方式下, 是不能在一个时钟周期内对同一个 ROM进行多次读操作的, 因此可创建 6个相同的 ROM表(ROMl~6 ), 分别供步骤 3031~3036使用。 比 如, 步骤 3031使用 ROM1 , 步骤 3032使用 ROM2, 以此类推, 即针对同一待 压缩数据的前一个查表操作与其后一个查表操作所使用的 ROM表不相同。 这 样, 由于存在 6个 ROM表, 因此在一个时钟周期, 可以允许 6个查表操作分 别在 6个 ROM表中并行执行, 提高了数据处理效率和数据传输效率。 In the specific implementation, since the ROM table is read in steps 3031~3016, in the pipeline working mode, the same ROM cannot be read multiple times in one clock cycle, so six identical images can be created. The ROM tables (ROM1~6) are used for steps 3031~3036, respectively. For example, step 3031 uses ROM1, step 3032 uses ROM2, and so on, that is, the previous lookup operation for the same compressed data is different from the ROM table used for the subsequent lookup operation. In this way, since there are six ROM tables, six look-up tables can be executed in parallel in six ROM tables in one clock cycle, which improves data processing efficiency and data transmission efficiency.
进一步的, 在另一实施例中, 考虑到步骤 3031 的操作中, 地址变量 add 的取值为初始值, 是固定的, 不需要通过查表来确定该地址变量 add的数值, 因此步骤 3031 的判断操作可以不通过查表操作来实现, 这样就可以减少一个 ROM表, 即可需创建 5个 ROM表, 分别供步骤 3032~3036使用。 流水线工 作方式的结构可如图 4所示, 其中, addrO与 doutO分别表示初始地址值 31及 初始比较值(所述初始比较值即为初始地址上存储的起点值, 这两个值是固定 的(其中初始地址值 31上存储的起点值可预先得知)。 addrl到 addr5分别表示 ROM1到 ROM5的输入地址, doutl到 dout5为对应的输出比较值 (即相应地 址上存储的起点值, 比如 doutl为 addrl上存储的起点值)。 Further, in another embodiment, considering the operation of step 3031, the value of the address variable add is an initial value, which is fixed, and it is not necessary to determine the value of the address variable add by looking up the table, so the step 3031 is The judgment operation can be implemented without the table lookup operation, so that one ROM table can be reduced, and five ROM tables can be created for use in steps 3032 to 3036, respectively. The structure of the pipeline working mode can be as shown in FIG. 4, wherein addrO and doutO respectively represent an initial address value 31 and an initial comparison value (the initial comparison value is a starting value stored on the initial address, and the two values are fixed. (The starting value stored in the initial address value 31 can be known in advance.) addrl to addr5 respectively indicate the input address of ROM1 to ROM5, and doutl to dout5 are the corresponding output comparison values (ie, the starting value stored on the corresponding address, such as doutl The starting point value stored on addrl).
需要注意的是, 在实际的实现过程中, ROM表从地址输入到数据输出通 常有 2个时钟周期的延迟, 一个完整的压缩过程至少需要 18个时钟周期才能 实现(其中包括对输入数据取绝对值的步骤以及对压缩结果进行符号位扩展的 步骤), 因此流水线操作实际上被分为 18个步骤。 图 4只是一个原理性的结构 图, 不代表真实的结构图。 It should be noted that in the actual implementation process, the ROM table usually has a delay of 2 clock cycles from address input to data output, and a complete compression process takes at least 18 clock cycles to achieve (including absolute input data). The step of value and the step of sign bit expansion of the compression result), so the pipeline operation is actually divided into 18 steps. Figure 4 is only a schematic structural diagram and does not represent a real structural diagram.
通过以上描述可以看出, 通过采用二分查表法, 在压缩后数据位宽为 6的 情况下, 只占用 6个或 5个 M9K Memory Block, 与现有技术中的查表法需要 使用 56个 M9K Memory Block相比, 减少了资源占用。 另外, 从实现方式来
看, 采用二分查表法也比现有技术中的计算法筒洁, 因此, 二分查表法的综合 性能优于三种现有 A律压缩方法。 进一步的, 对不同的 A值, 本申请实施例 中, 对于二分查表法只需修改 ROM表的初始化数据文件即可, 比现有技术中 的线性近似法更灵活, 适用性更强。 As can be seen from the above description, by using the binary table lookup method, in the case where the data bit width after compression is 6, only 6 or 5 M9K Memory Blocks are occupied, and 56 methods need to be used in the prior art lookup table method. Compared with the M9K Memory Block, the resource consumption is reduced. In addition, from the implementation It can be seen that the two-point look-up table method is also cleaner than the calculation method in the prior art. Therefore, the comprehensive performance of the two-point look-up table method is superior to the three existing A-law compression methods. Further, for different values of A, in the embodiment of the present application, only the initialization data file of the ROM table can be modified for the binary table lookup method, which is more flexible and more applicable than the linear approximation method in the prior art.
从图 2可以看到, 上行方向的压缩模块添加在 BBU的 IR接口模块之前, 下行方向的压缩模块添加在 RRU的 IR接口模块之前。 对于现有的基站设备, BBU下行 IR接口及 RRU上行 IR接口的输入数据格式如图 5所示(以 20M8A 为例, 其中 A表示天线, S表示采样点), 一个 AxSx位宽为 30bit, 包括 15bit 的 I数据及 15bit的 Q数据 ( I/Q数据的 bitO位被丢弃)。在 IR接口比特压缩模 式下, 压缩模块压缩后的 AxSx为 14bit ( 7bitl数据 +7bitQ数据 ), 若压缩模块 将压缩后的数据直接输出给 IR接口模块, 则 IR接口的有效输入位宽则变为 14bit。 这就要求 IR接口模块内部做出相应的修改。 此外, 由于数据在压缩前 进行了 AGC处理, 对应的 AGC因子值需要经 IR接口传送到解 AGC模块, 恢复数据幅值。 As can be seen from Figure 2, the upstream compression module is added before the BBU's IR interface module, and the downstream compression module is added before the RRU's IR interface module. For the existing base station equipment, the input data format of the BBU downlink IR interface and the RRU uplink IR interface is as shown in Figure 5 (taking 20M8A as an example, where A is the antenna, S is the sampling point), and an AxSx is 30 bits wide, including 15bit I data and 15bit Q data (bitO bits of I/Q data are discarded). In the IR interface bit compression mode, the compression module AxSx is 14 bits (7bitl data + 7bitQ data). If the compression module outputs the compressed data directly to the IR interface module, the effective input bit width of the IR interface becomes 14bit. This requires corresponding modifications within the IR interface module. In addition, since the data is processed by AGC before compression, the corresponding AGC factor value needs to be transmitted to the solution AGC module via the IR interface to restore the data amplitude.
考虑到以上数据传输要求, 为了最大限度的减少 IR接口压缩模块对基站 设备带来的影响, 在本申请的另一实施例中, 压缩模块将压缩后的同一天线相 邻两个采样点的数据 (即压缩并进行符号位扩展后的数据 )拼在一起输出给 IR 接口模块。 进一步的, 余下的 2bit还可以传输该天线的 AGC因子。 压缩模块 输出数据的格式可如图 6所示。 由于拼接组合后的数据量减半, 因此输出数据 不是一直有效的, 而是 8个有效 8个无效。 无效数据在 IR接口模块中, 可通 过一定的处理流程丢弃。 In the other embodiment of the present application, the compression module compresses data of two adjacent sampling points of the same antenna in consideration of the above data transmission requirements, in order to minimize the impact of the IR interface compression module on the base station device. (that is, the data after compression and sign bit expansion) are put together and output to the IR interface module. Further, the remaining 2 bits can also transmit the AGC factor of the antenna. The format of the output data of the compression module can be as shown in Figure 6. Since the amount of data after splicing is halved, the output data is not always valid, but 8 valid and 8 invalid. Invalid data is discarded in the IR interface module through a certain processing flow.
通过 AGC因子及压缩数据的拼接,输入到 IR接口模块的数据格式相当于 没有改变, 其位宽为 30bit, 这就避免了 IR接口模块的修改, 有利于现有基站 设备的升级。 Through the splicing of the AGC factor and the compressed data, the data format input to the IR interface module is equivalent to no change, and its bit width is 30 bits, which avoids the modification of the IR interface module and is beneficial to the upgrading of the existing base station equipment.
基于相同的技术构思, 本申请实施例还提供了一种 LTE-IR接口数据压缩 装置, 可应用于分布式基站, 对应于图 2所示结构中的压缩模块。
参见图 7, 为本申请实施例提供的 LTE-IR接口数据压缩装置的结构示意 图, 该装置可包括: Based on the same technical concept, the embodiment of the present application further provides an LTE-IR interface data compression apparatus, which can be applied to a distributed base station, and corresponds to a compression module in the structure shown in FIG. 2. FIG. 7 is a schematic structural diagram of an LTE-IR interface data compression apparatus according to an embodiment of the present disclosure, where the apparatus may include:
ROM模块 701 , 配置为存储查找表; 所述查找表的创建过程包括: 将待压 缩数据取绝对值后的取值范围划分为 2N个数值区间, 其中 N为压缩后数据去 除符号位后的位宽; 将每个数值区间内的一个数值作为该数值区间的标识值按 照升序或降序顺序存储于查找表,每个标识值在查找表中的地址为相应数值区 间内的待压缩数据的压缩结果值; The ROM module 701 is configured to store a lookup table. The process of creating the lookup table includes: dividing the value range after the absolute value of the data to be compressed into 2 N value intervals, where N is the compressed data after the sign bit is removed. Bit width; a value in each numerical interval is stored as an identification value of the numerical interval in an ascending or descending order in a lookup table, and each of the identification values in the lookup table is a compression of the data to be compressed within the corresponding numerical interval. Result value
输入模块 702, 配置为接收输入的待压缩数据; The input module 702 is configured to receive the input data to be compressed;
第一处理模块 703, 配置为取所述待压缩数据的绝对值, 保存所述待压缩 数据的符号位; The first processing module 703 is configured to take an absolute value of the data to be compressed, and save a sign bit of the data to be compressed.
查表模块 704, 配置为采用二分查找法, 在所述查找表中查找所述待压缩 数据的绝对值所属数值区间的标识值; 以及, 根据查找到的数值区间的标识值 在所述查找表中的地址, 确定所述待压缩数据的压缩结果值; The lookup table module 704 is configured to use a binary search method to search for an identifier value of a value interval of the absolute value of the data to be compressed in the lookup table; and, in the lookup table, according to the identifier value of the found value interval The address in the medium, determining a compression result value of the data to be compressed;
第二处理模块 705, 配置为根据所述待压缩数据的符号位, 将所述待压缩 数据的压缩结果值转换为有符号数; The second processing module 705 is configured to convert the compressed result value of the data to be compressed into a signed number according to the sign bit of the data to be compressed.
输出模块 706, 配置为输出第二处理模块 707处理得到的有符号数。 The output module 706 is configured to output the signed number processed by the second processing module 707.
具体的, 每个数值区间的标识值为该数值区间的起始位置数值, 且每个数 值区间的标识值按照升序顺序存储于查找表。 相应的, 查表模块 704将所述查 找表中间位置存储的标识值与所述待压缩数据的绝对值进行比较,如果两者相 等, 则结束查找过程; 否则, 以该中间位置将所述查找表分成前、后两个子表, 如果该中间位置存储的标识值大于所述待压缩数据的绝对值, 则进一步查找前 一子表, 否则进一步查找后一子表, 以此类推, 直到两者相等或直到查找到所 述查找表存储的第一个或最后一个标识值时结束查找过程; Specifically, the identification value of each numerical interval is a starting position value of the numerical interval, and the identification values of each numerical interval are stored in the lookup table in ascending order. Correspondingly, the lookup table module 704 compares the identifier value stored in the middle position of the lookup table with the absolute value of the data to be compressed, and if the two are equal, ends the search process; otherwise, the search is performed at the intermediate position The table is divided into two sub-tables, and if the identifier value stored in the intermediate location is greater than the absolute value of the data to be compressed, the previous sub-table is further searched, otherwise the next sub-table is further searched, and so on, until both Equal or until the first or last identity value stored in the lookup table is found, the search process ends;
其中, 在子表中进行查找时, 将该子表中间位置存储的标识值与所述待压 缩数据的绝对值进行比较, 如果两者相等, 则结束查找过程; 否则, 以该中间 位置将该子表再分成前、 后两个子表, 如果该中间位置存储的标识值大于所述
待压缩数据的绝对值, 则进一步查找前一子表, 否则进一步查找后一子表; 当查找结果为两者相等或查找到所述查找表存储的第一个标识值时,将当 前标识值作为所述待压缩数据的绝对值所属数值区间的标识值; Wherein, when searching in the sub-table, comparing the identifier value stored in the middle position of the sub-table with the absolute value of the data to be compressed, if the two are equal, the search process is ended; otherwise, the intermediate position is used The child table is further divided into two front and a back child tables, if the intermediate location stores an identifier value greater than the If the absolute value of the data to be compressed is further, the previous sub-table is further searched, otherwise the next sub-table is further searched; when the search result is equal to the two or the first identification value stored in the lookup table is found, the current identification value is obtained. An identification value of a numerical interval to which the absolute value of the data to be compressed belongs;
当查找到所述查找表存储的最后一个标识值时, 若该标识值大于所述待压 缩数据的绝对值, 则将该标识值的前一个标识值作为所述待压缩数据的绝对值 所属数值区间的标识值; 否则, 将当前标识值作为所述待压缩数据的绝对值所 属数值区间的标识值。 When the last identifier value stored in the lookup table is found, if the identifier value is greater than the absolute value of the data to be compressed, the previous identifier value of the identifier value is used as the absolute value of the data to be compressed. The identifier value of the interval; otherwise, the current identifier value is used as the identifier value of the value interval to which the absolute value of the data to be compressed belongs.
具体的, 所述查找表的数量为 N个。 相应的, 查表模块 704具体配置为: 分别根据所述 N个查找表并行对数量不超过 N的待压缩数据进行所述查找; 其中,针对同一待压缩数据的前一个查找操作与其后一个查找操作所使用的查 找表不相同。 Specifically, the number of the lookup tables is N. Correspondingly, the lookup table module 704 is specifically configured to: perform, according to the N lookup tables, the number of data to be compressed that does not exceed N in parallel; wherein, the previous search operation for the same data to be compressed and the subsequent search The lookup table used by the operation is different.
具体的,所述查找表的数量为 N-1个。相应的,查表模块 704具体配置为: 分别根据所述 N-1个查找表并行对数量不超过 N的待压缩数据进行所述查找; 其中, 对于待压缩数据除第一次查找操作以外的其它查找操作, 使用查找表, 且针对同一待压缩数据的前一个查找操作与其后一个查找操作所使用的查找 表不相同。 Specifically, the number of the lookup tables is N-1. Correspondingly, the look-up table module 704 is specifically configured to: perform, according to the N-1 lookup tables, the number of data to be compressed that does not exceed N in parallel; wherein, for the data to be compressed, except for the first search operation Other lookup operations, using a lookup table, and the previous lookup operation for the same data to be compressed is not the same as the lookup table used by the latter lookup operation.
进一步的, 输出模块 706还在输出所述有符号数之前, 将同一天线相邻的 至少两个采样点的有符号压缩数据拼接在一起,拼接在一起的数据的位宽不超 过 LTE-IR接口数据位宽。 Further, the output module 706 further splices the signed compressed data of at least two sampling points adjacent to the same antenna before outputting the signed number, and the bit width of the spliced data does not exceed the LTE-IR interface. The data width is wide.
进一步的, 输出模块 706还在拼接在一起的数据的位宽小于 LTE-IR接口 数据位宽的情况下,使用余下的比特携带相应天线的自动增益控制 AGC因子。 Further, the output module 706 uses the remaining bits to carry the automatic gain control AGC factor of the corresponding antenna when the bit width of the spliced data is smaller than the LTE-IR interface data bit width.
具体的,待压缩数据的压缩结果值是根据 A律压缩算法计算得到的,所述 N等于 6。 Specifically, the compression result value of the data to be compressed is calculated according to an A-law compression algorithm, and the N is equal to 6.
本申请实施例还提供了一种分布式基站设备中的 BBU。 具体的, 该 BBU 包括上行数据处理模块和下行数据处理模块, 其中, 所述上行数据处理模块包 括 IR接口模块、 解压缩模块、 解 AGC模块、 基带模块, 所述下行数据处理模
块包括: IR接口模块、 压缩模块、 AGC模块、 基带模块。 其中, 所述下行处 理模块中的压缩模块具有如图 7所示的结构和功能, 即可以用图 7所示的装置 实现。 The embodiment of the present application further provides a BBU in a distributed base station device. Specifically, the BBU includes an uplink data processing module and a downlink data processing module, where the uplink data processing module includes an IR interface module, a decompression module, a solution AGC module, and a baseband module, and the downlink data processing module The blocks include: IR interface module, compression module, AGC module, baseband module. The compression module in the downlink processing module has the structure and function as shown in FIG. 7, that is, can be implemented by using the apparatus shown in FIG.
本申请实施例还提供了一种分布式基站设备中的 RRU。 具体的, 该 RRU 包括上行数据处理模块和下行数据处理模块, 其中, 所述上行数据处理模块包 括射频中频模块、 AGC模块、 压缩模块、 IR接口模块, 所述下行数据处理模 块包括: 射频中频模块、 解 AGC模块、 解压缩模块、 IR接口模块。 其中, 上 行处理模块中的压缩模块具有如图 7所示的结构和功能, 即可以用图 7所示的 装置实现。 The embodiment of the present application further provides an RRU in a distributed base station device. Specifically, the RRU includes an uplink data processing module and a downlink data processing module, where the uplink data processing module includes a radio frequency intermediate frequency module, an AGC module, a compression module, and an IR interface module, and the downlink data processing module includes: a radio frequency intermediate frequency module The AGC module, the decompression module, and the IR interface module are solved. The compression module in the upstream processing module has the structure and function as shown in FIG. 7, that is, it can be implemented by the device shown in FIG.
综上所述, 本申请实施例实现了一种基于 A律压缩的 IR接口比特压缩算 法, 可在较小信号损失的前提下, 将 I/Q数据由 16bit压缩为 7bit, 节约一半的 光纤成本。 另外, 压缩模块到 IR接口模块的输出数据传输格式保持不变, 有 利于对现有基站进行升级。 In summary, the embodiment of the present application implements an IR interface bit compression algorithm based on A-law compression, which can compress I/Q data from 16 bits to 7 bits under the premise of small signal loss, thereby saving half of the fiber cost. . In addition, the output data transmission format of the compression module to the IR interface module remains unchanged, which is beneficial to upgrade existing base stations.
需要说明的是, 本申请的以上实施例中, 对于查找表的设计以及相应的查 表操作, 均是以将数值区间的起点值按照升序顺序存储于查找表为例描述的, 但本申请实施例并不限于此。 比如, 可以将数值区间的起点值按照降序顺序存 储于查找表, 或者将数值区间的终点值按照降序顺序存储于查找表等等, 根据 查找表的设计, 查表操作需要进行相应调整。 It should be noted that, in the above embodiment of the present application, the design of the lookup table and the corresponding table lookup operation are described by taking the starting value of the value interval in ascending order in the lookup table as an example, but the application is implemented. The example is not limited to this. For example, the starting point value of the numerical interval may be stored in the lookup table in descending order, or the end point value of the numerical interval may be stored in the lookup table in descending order, etc. According to the design of the lookup table, the table lookup operation needs to be adjusted accordingly.
另外,本申请的以上实施例是以 A律压缩算法为例描述的,对于相似压缩 算法, 也可以按照本申请实施例提供的压缩方式实现数据压缩。 In addition, the above embodiment of the present application is described by taking an A-law compression algorithm as an example. For a similar compression algorithm, data compression may also be implemented according to the compression method provided by the embodiment of the present application.
本领域技术人员可以理解实施例中的装置中的模块可以按照实施例描述 进行分布于实施例的装置中,也可以进行相应变化位于不同于本实施例的一个 或多个装置中。 上述实施例的模块可以合并为一个模块, 也可以进一步拆分成 多个子模块。 Those skilled in the art can understand that the modules in the apparatus in the embodiments may be distributed in the apparatus of the embodiment according to the description of the embodiments, or the corresponding changes may be located in one or more apparatuses different from the embodiment. The modules of the above embodiments may be combined into one module, or may be further split into a plurality of sub-modules.
相应的, 本申请实施例还提供了一种在其上记录有用于执行所述应用于分 布式基站的 LTE-IR接口数据压缩方法的程序的计算机可读记录介质。
所述计算机可读记录介质包括用于以计算机(例如计算机)可读的形式存 储或传送信息的任何机制。 例如, 机器可读介质包括只读存储器(ROM )、 随 机存取存储器(RAM )、 磁盘存储介质、 光存储介质、 闪速存储介质、 电、 光、 声或其他形式的传播信号 (例如, 载波、 红外信号、 数字信号等)等。 Correspondingly, the embodiment of the present application further provides a computer readable recording medium on which a program for executing the LTE-IR interface data compression method applied to a distributed base station is recorded. The computer readable recording medium includes any mechanism for storing or transmitting information in a form readable by a computer (eg, a computer). For example, a machine-readable medium includes a read only memory (ROM), a random access memory (RAM), a magnetic disk storage medium, an optical storage medium, a flash storage medium, an electrical, optical, acoustic, or other form of propagated signal (eg, a carrier wave) , infrared signals, digital signals, etc.).
通过以上的实施方式的描述, 本领域的技术人员可以清楚地了解到本申请 可借助软件加必需的通用硬件平台的方式来实现, 当然也可以通过硬件, 但很 多情况下前者是更佳的实施方式。 基于这样的理解, 本申请的技术方案本质上 或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来, 该计算机 软件产品存储在一个存储介质中, 包括若干指令用以使得一台终端设备 (可以 是手机, 个人计算机, 服务器, 或者网络设备等)执行本申请各个实施例所述 的方法。 Through the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is a better implementation. the way. Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a The terminal device (which may be a mobile phone, a personal computer, a server, or a network device, etc.) performs the methods described in the various embodiments of the present application.
以上所述仅是本申请的优选实施方式, 应当指出, 对于本技术领域的普通 技术人员来说, 在不脱离本申请原理的前提下, 还可以做出若干改进和润饰, 这些改进和润饰也应视本申请的保护范围。
The above description is only a preferred embodiment of the present application, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present application. The scope of protection of this application shall be considered.
Claims
1、 一种应用于分布式基站的 LTE-IR接口数据压缩方法, 其特征在于, 所 述分布式基站中设置有查找表, 所述查找表的创建过程包括: 将待压缩数据取 绝对值后的取值范围划分为 2N个数值区间, 其中 N为压缩后数据去除符号位 后的位宽; 将每个数值区间内的一个数值作为该数值区间的标识值按照升序或 降序顺序存储于查找表,每个标识值在查找表中的地址为相应数值区间内的待 压缩数据的压缩结果值; 该方法包括: A LTE-IR interface data compression method for a distributed base station, wherein the distributed base station is provided with a lookup table, and the process of creating the lookup table includes: after taking the absolute value of the data to be compressed The value range is divided into 2 N numerical intervals, where N is the bit width after the symbol is removed from the compressed data; a value in each numerical interval is stored as an identification value of the numerical interval in ascending or descending order. The table, the address of each identifier value in the lookup table is a compressed result value of the data to be compressed in the corresponding value interval; the method includes:
接收输入的待压缩数据; Receiving input data to be compressed;
取所述待压缩数据的绝对值, 保存所述待压缩数据的符号位; Taking the absolute value of the data to be compressed, and storing the sign bit of the data to be compressed;
采用二分查找法,在所述查找表中查找所述待压缩数据的绝对值所属数值 区间的标识值; Using a binary search method, searching for the identification value of the numerical interval to which the absolute value of the data to be compressed belongs belongs in the lookup table;
根据查找到的数值区间的标识值在所述查找表中的地址, 确定所述待压缩 数据的压缩结果值; Determining a compression result value of the data to be compressed according to an address of the identifier value of the found value interval in the lookup table;
根据所述待压缩数据的符号位,将所述待压缩数据的压缩结果值转换为有 符号数后输出。 And compressing the compressed result value of the data to be compressed into a signed number according to the sign bit of the data to be compressed.
2、 如权利要求 1所述的方法, 其特征在于, 每个数值区间的标识值为该 数值区间的起始位置数值, 且每个数值区间的标识值按照升序顺序存储于查找 表; 所述采用二分查找法, 在所述查找表中查找所述待压缩数据的绝对值所属 数值区间的标识值的步骤, 包括: 2. The method according to claim 1, wherein the identification value of each numerical interval is a starting position value of the numerical interval, and the identification values of each numerical interval are stored in a lookup table in ascending order; The step of searching for the identifier value of the numerical interval to which the absolute value of the data to be compressed belongs is found in the lookup table by using a binary search method, including:
将所述查找表中间位置存储的标识值与所述待压缩数据的绝对值进行比 较, 如果两者相等, 则结束查找过程; 否则, 以该中间位置将所述查找表分成 前、后两个子表,如果该中间位置存储的标识值大于所述待压缩数据的绝对值, 则进一步查找前一子表, 否则进一步查找后一子表, 以此类推, 直到两者相等 或直到查找到所述查找表存储的第一个或最后一个标识值时结束查找过程; 其中, 在子表中进行查找时, 将该子表中间位置存储的标识值与所述待压 缩数据的绝对值进行比较, 如果两者相等, 则结束查找过程; 否则, 以该中间
位置将该子表再分成前、 后两个子表, 如果该中间位置存储的标识值大于所述 待压缩数据的绝对值, 则进一步查找前一子表, 否则进一步查找后一子表; 当查找结果为两者相等或查找到所述查找表存储的第一个标识值时, 将当 前标识值作为所述待压缩数据的绝对值所属数值区间的标识值; Comparing the identifier value stored in the middle position of the lookup table with the absolute value of the data to be compressed, if the two are equal, ending the searching process; otherwise, dividing the lookup table into the front and back by the intermediate position a table, if the identifier value stored in the intermediate location is greater than an absolute value of the data to be compressed, further searching for a previous sub-table, otherwise searching for a subsequent sub-table, and so on, until the two are equal or until the Ending the search process when searching for the first or last identifier value stored in the table; wherein, when performing the lookup in the child table, comparing the identifier value stored in the middle position of the child table with the absolute value of the data to be compressed, if If the two are equal, the search process ends; otherwise, the middle Positioning the sub-table into the previous two sub-tables. If the value stored in the intermediate location is greater than the absolute value of the data to be compressed, the previous sub-table is further searched, otherwise the subsequent sub-table is further searched; If the result is that the two are equal or find the first identifier value stored in the lookup table, the current identifier value is used as the identifier value of the value interval to which the absolute value of the data to be compressed belongs;
当查找到所述查找表存储的最后一个标识值时, 若该标识值大于所述待压 缩数据的绝对值, 则将该标识值的前一个标识值作为所述待压缩数据的绝对值 所属数值区间的标识值; 否则, 将当前标识值作为所述待压缩数据的绝对值所 属数值区间的标识值。 When the last identifier value stored in the lookup table is found, if the identifier value is greater than the absolute value of the data to be compressed, the previous identifier value of the identifier value is used as the absolute value of the data to be compressed. The identifier value of the interval; otherwise, the current identifier value is used as the identifier value of the value interval to which the absolute value of the data to be compressed belongs.
3、 如权利要求 1所述的方法, 其特征在于, 所述查找表的数量为 N个, 采用二分查找法,在所述查找表中查找所述待压缩数据的绝对值所属数值区间 的标识值时, 分别根据所述 N个查找表并行对数量不超过 N的待压缩数据进 行所述查找; 其中, 针对同一待压缩数据的前一个查找操作与其后一个查找操 作所使用的查找表不相同。 The method of claim 1, wherein the number of the lookup tables is N, and a binary search method is used, and the identifier of the numerical interval to which the absolute value of the data to be compressed belongs is searched in the lookup table. In the case of a value, the search is performed in parallel on the data to be compressed that does not exceed N according to the N lookup tables, wherein the previous search operation for the same data to be compressed is different from the lookup table used by the subsequent search operation. .
4、 如权利要求 1所述的方法, 其特征在于, 所述查找表的数量为 N-1个, 采用二分查找法,在所述查找表中查找所述待压缩数据的绝对值所属数值区间 的标识值时,分别根据所述 N-1个查找表并行对数量不超过 N的待压缩数据进 行所述查找; 其中, 对于待压缩数据除第一次查找操作以外的其它查找操作, 使用查找表, 且针对同一待压缩数据的前一个查找操作与其后一个查找操作所 使用的查找表不相同。 The method according to claim 1, wherein the number of the lookup tables is N-1, and a binary search method is used, and the value range of the absolute value of the data to be compressed is searched in the lookup table. And performing the searching according to the N-1 lookup tables in parallel for the number of data to be compressed that does not exceed N; wherein, for the search operation other than the first search operation, the data to be compressed is used for searching. The table, and the previous lookup operation for the same data to be compressed is not the same as the lookup table used by the latter lookup operation.
5、 如权利要求 1所述的方法, 其特征在于, 在将所述待压缩数据的压缩 结果值转换为有符号数后、 输出所述有符号数之前, 还包括: The method according to claim 1, wherein after converting the compressed result value of the data to be compressed into a signed number and outputting the signed number, the method further includes:
将同一天线相邻的至少两个采样点的有符号压缩数据拼接在一起,拼接在 一起的数据的位宽不超过 LTE-IR接口数据位宽。 The signed compressed data of at least two sampling points adjacent to the same antenna are spliced together, and the bit width of the data spliced together does not exceed the data bit width of the LTE-IR interface.
6、 如权利要求 5所述的方法, 其特征在于, 若拼接在一起的数据的位宽 小于 LTE-IR接口数据位宽, 则还使用余下的比特携带相应天线的自动增益控 制 AGC因子。
6. The method according to claim 5, wherein if the bit width of the data spliced together is smaller than the LTE-IR interface data bit width, the remaining bits are used to carry the automatic gain control AGC factor of the corresponding antenna.
7、 如权利要求 1-5 之一所述的方法, 其特征在于, 待压缩数据的压缩结 果值是根据 A律压缩算法计算得到的, 所述 N等于 6。 The method according to any one of claims 1 to 5, characterized in that the compression result value of the data to be compressed is calculated according to an A-law compression algorithm, and the N is equal to 6.
8、 一种应用于分布式基站的 LTE-IR接口数据压缩装置, 其特征在于, 包 括: 8. An LTE-IR interface data compression apparatus for a distributed base station, comprising:
ROM模块, 配置为存储查找表; 所述查找表的创建过程包括: 将待压缩 数据取绝对值后的取值范围划分为 2N个数值区间, 其中 N为压缩后数据去除 符号位后的位宽; 将每个数值区间内的一个数值作为该数值区间的标识值按照 升序或降序顺序存储于查找表,每个标识值在查找表中的地址为相应数值区间 内的待压缩数据的压缩结果值; The ROM module is configured to store a lookup table. The process of creating the lookup table includes: dividing a value range after the absolute value of the data to be compressed into 2 N value intervals, where N is a bit after the compressed data is removed from the symbol bit. Width; a value in each numerical interval as the identification value of the numerical interval is stored in the lookup table in ascending or descending order, and the address of each identification value in the lookup table is the compression result of the data to be compressed within the corresponding numerical interval. value;
输入模块, 配置为接收输入的待压缩数据; An input module configured to receive input data to be compressed;
第一处理模块, 配置为取所述待压缩数据的绝对值, 保存所述待压缩数据 的符号位; a first processing module, configured to take an absolute value of the data to be compressed, and save a sign bit of the data to be compressed;
查表模块, 配置为采用二分查找法, 在所述查找表中查找所述待压缩数据 的绝对值所属数值区间的标识值; 以及, 根据查找到的数值区间的标识值在所 述查找表中的地址, 确定所述待压缩数据的压缩结果值; a table lookup module configured to use a binary search method to search for an identifier value of a value interval of the absolute value of the data to be compressed in the lookup table; and, in the lookup table, according to the identifier value of the found value interval Address, determining a compression result value of the data to be compressed;
第二处理模块, 配置为根据所述待压缩数据的符号位, 将所述待压缩数据 的压缩结果值转换为有符号数; The second processing module is configured to convert the compressed result value of the data to be compressed into a signed number according to the sign bit of the data to be compressed;
输出模块, 配置为输出所述第二处理模块处理得到的有符号数。 And an output module configured to output the signed number processed by the second processing module.
9、 如权利要求 8所述的装置, 其特征在于, 每个数值区间的标识值为该 数值区间的起始位置数值,且每个数值区间的标识值按照升序顺序存储于查找 表; 9. The apparatus according to claim 8, wherein the identification value of each numerical interval is a starting position value of the numerical interval, and the identification values of each numerical interval are stored in the lookup table in ascending order;
所述查表模块具体配置为,将所述查找表中间位置存储的标识值与所述待 压缩数据的绝对值进行比较, 如果两者相等, 则结束查找过程; 否则, 以该中 间位置将所述查找表分成前、 后两个子表, 如果该中间位置存储的标识值大于 所述待压缩数据的绝对值,则进一步查找前一子表,否则进一步查找后一子表, 以此类推, 直到两者相等或直到查找到所述查找表存储的第一个或最后一个标
识值时结束查找过程; The table lookup module is configured to compare the identifier value stored in the middle position of the lookup table with the absolute value of the data to be compressed, and if the two are equal, the search process ends; otherwise, the intermediate location is The lookup table is divided into two preceding and succeeding sub-tables. If the identifier value stored in the intermediate location is greater than the absolute value of the data to be compressed, the previous sub-table is further searched, otherwise the subsequent sub-table is further searched, and so on, until The two are equal or until the first or last label stored in the lookup table is found End the search process when identifiable;
其中, 在子表中进行查找时, 将该子表中间位置存储的标识值与所述待压 缩数据的绝对值进行比较, 如果两者相等, 则结束查找过程; 否则, 以该中间 位置将该子表再分成前、 后两个子表, 如果该中间位置存储的标识值大于所述 待压缩数据的绝对值, 则进一步查找前一子表, 否则进一步查找后一子表; 当查找结果为两者相等或查找到所述查找表存储的第一个标识值时,将当 前标识值作为所述待压缩数据的绝对值所属数值区间的标识值; Wherein, when searching in the sub-table, comparing the identifier value stored in the middle position of the sub-table with the absolute value of the data to be compressed, if the two are equal, the search process is ended; otherwise, the intermediate position is used The sub-table is further divided into two sub-tables. If the value stored in the intermediate location is greater than the absolute value of the data to be compressed, the previous sub-table is further searched, otherwise the subsequent sub-table is further searched; When the first identifier value stored in the lookup table is equal or found, the current identifier value is used as an identifier value of the value interval to which the absolute value of the data to be compressed belongs;
当查找到所述查找表存储的最后一个标识值时, 若该标识值大于所述待压 缩数据的绝对值, 则将该标识值的前一个标识值作为所述待压缩数据的绝对值 所属数值区间的标识值; 否则, 将当前标识值作为所述待压缩数据的绝对值所 属数值区间的标识值。 When the last identifier value stored in the lookup table is found, if the identifier value is greater than the absolute value of the data to be compressed, the previous identifier value of the identifier value is used as the absolute value of the data to be compressed. The identifier value of the interval; otherwise, the current identifier value is used as the identifier value of the value interval to which the absolute value of the data to be compressed belongs.
10、 如权利要求 8所述的装置, 其特征在于, 所述查找表的数量为 N个; 所述查表模块具体配置为,分别根据所述 N个查找表并行对数量不超过 N 的待压缩数据进行所述查找; 其中, 针对同一待压缩数据的前一个查找操作与 其后一个查找操作所使用的查找表不相同。 The apparatus according to claim 8, wherein the number of the lookup tables is N; the lookup table module is specifically configured to: the number of parallel pairs of the N lookup tables not exceeding N respectively Compressing the data performs the lookup; wherein the previous lookup operation for the same data to be compressed is different from the lookup table used by the latter lookup operation.
11、如权利要求 8所述的装置,其特征在于,所述查找表的数量为 N-1个; 所述查表模块具体配置为,分别根据所述 N-1个查找表并行对数量不超过 The apparatus according to claim 8, wherein the number of the lookup tables is N-1; the lookup table module is specifically configured to: the number of parallel pairs according to the N-1 lookup tables respectively exceed
N的待压缩数据进行所述查找; 其中, 对于待压缩数据除第一次查找操作以外 的其它查找操作, 使用查找表, 且针对同一待压缩数据的前一个查找操作与其 后一个查找操作所使用的查找表不相同。 The data to be compressed is subjected to the search; wherein, for the search operation other than the first search operation, the lookup table is used, and the previous search operation for the same data to be compressed is used with the subsequent search operation The lookup table is not the same.
12、 如权利要求 8所述的装置, 其特征在于, 所述输出模块还配置为, 在 输出所述有符号数之前, 将同一天线相邻的至少两个采样点的有符号压缩数据 拼接在一起, 拼接在一起的数据的位宽不超过 LTE-IR接口数据位宽。 12. The apparatus according to claim 8, wherein the output module is further configured to splicing the signed compressed data of at least two sampling points adjacent to the same antenna before outputting the signed number. Together, the bit width of the data stitched together does not exceed the data bit width of the LTE-IR interface.
13、 如权利要求 12所述的装置, 其特征在于, 所述输出模块还配置为, 在拼接在一起的数据的位宽小于 LTE-IR接口数据位宽的情况下, 使用余下的 比特携带相应天线的自动增益控制 AGC因子。
The device according to claim 12, wherein the output module is further configured to: when the bit width of the spliced data is smaller than the LTE-IR interface data bit width, use the remaining bits to carry the corresponding The automatic gain control of the antenna controls the AGC factor.
14、 如权利要求 8-13之一所述的装置, 其特征在于, 待压缩数据的压缩 结果值是根据 A律压缩算法计算得到的, 所述 N等于 6。 The apparatus according to any one of claims 8-13, characterized in that the compression result value of the data to be compressed is calculated according to an A-law compression algorithm, and the N is equal to 6.
15、一种分布式基站设备中的基带单元设备 BBU, 包括上行数据处理模块 和下行数据处理模块, 其中, 所述上行数据处理模块包括 IR接口模块、 解压 缩模块、 解 AGC模块、基带模块, 所述下行数据处理模块包括: IR接口模块、 压缩模块、 AGC模块、 基带模块, 其特征在于, 所述下行处理模块中的压缩 模块为如权利要求 8所述的装置。 A baseband unit BBU in a distributed base station device, comprising an uplink data processing module and a downlink data processing module, wherein the uplink data processing module comprises an IR interface module, a decompression module, an AGC module, and a baseband module. The downlink data processing module includes: an IR interface module, a compression module, an AGC module, and a baseband module, wherein the compression module in the downlink processing module is the device according to claim 8.
16、一种分布式基站设备中的射频远端设备 RRU, 包括上行数据处理模块 和下行数据处理模块, 其中, 所述上行数据处理模块包括射频中频模块、 AGC 模块、 压缩模块、 IR接口模块, 所述下行数据处理模块包括: 射频中频模块、 解 AGC模块、 解压缩模块、 IR接口模块, 其特征在于, 所述上行处理模块中 的压缩模块为如权利要求 8所述的装置。 A radio remote device RRU in a distributed base station device, comprising an uplink data processing module and a downlink data processing module, wherein the uplink data processing module comprises a radio frequency intermediate frequency module, an AGC module, a compression module, and an IR interface module, The downlink data processing module includes: a radio frequency intermediate frequency module, a de-AGC module, a decompression module, and an IR interface module, wherein the compression module in the uplink processing module is the device according to claim 8.
17、一种在其上记录有用于执行权利要求 1所述方法的程序的计算机可读 记录介质。
A computer readable recording medium having recorded thereon a program for executing the method of claim 1.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210042937.6 | 2012-02-22 | ||
CN201210042937.6A CN102612079B (en) | 2012-02-22 | 2012-02-22 | Method for compressing LTE-IR interface data and device thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2013123787A1 true WO2013123787A1 (en) | 2013-08-29 |
Family
ID=46529169
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/085130 WO2013123787A1 (en) | 2012-02-22 | 2012-11-23 | Lte-ir interface data compression method and device thereof |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102612079B (en) |
WO (1) | WO2013123787A1 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102612079B (en) * | 2012-02-22 | 2014-12-17 | 大唐移动通信设备有限公司 | Method for compressing LTE-IR interface data and device thereof |
CN103905122A (en) * | 2012-12-28 | 2014-07-02 | 中国移动通信集团江苏有限公司 | Method and system for data transmission among Ir interfaces of double-module base station |
CN103399329B (en) * | 2013-08-20 | 2015-04-15 | 中国科学院微电子研究所 | GNSS receiver and intermediate frequency data processing method thereof |
CN107493257B (en) * | 2016-06-13 | 2020-07-03 | 大唐移动通信设备有限公司 | Frame data compression transmission method and device |
WO2018102972A1 (en) * | 2016-12-05 | 2018-06-14 | 华为技术有限公司 | Data transmission method, apparatus and system |
CN110798865B (en) * | 2019-10-14 | 2021-05-28 | 京信通信系统(中国)有限公司 | Data compression method, data compression device, computer equipment and computer-readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101932002A (en) * | 2009-06-19 | 2010-12-29 | 中兴通讯股份有限公司 | Method for realizing matching between uplink transmission rate and downlink transmission rate as well as BBU and RRU |
CN102255692A (en) * | 2011-07-14 | 2011-11-23 | 电信科学技术研究院 | Data compression method and equipment |
CN102291773A (en) * | 2011-07-18 | 2011-12-21 | 电信科学技术研究院 | Data compression method and equipment |
CN102612079A (en) * | 2012-02-22 | 2012-07-25 | 大唐移动通信设备有限公司 | Method for compressing LTE-IR interface data and device thereof |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101961248B (en) * | 2009-07-23 | 2013-12-25 | 深圳迈瑞生物医疗电子股份有限公司 | Method and device for nonlinear compression in ultrasonic system |
-
2012
- 2012-02-22 CN CN201210042937.6A patent/CN102612079B/en active Active
- 2012-11-23 WO PCT/CN2012/085130 patent/WO2013123787A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101932002A (en) * | 2009-06-19 | 2010-12-29 | 中兴通讯股份有限公司 | Method for realizing matching between uplink transmission rate and downlink transmission rate as well as BBU and RRU |
CN102255692A (en) * | 2011-07-14 | 2011-11-23 | 电信科学技术研究院 | Data compression method and equipment |
CN102291773A (en) * | 2011-07-18 | 2011-12-21 | 电信科学技术研究院 | Data compression method and equipment |
CN102612079A (en) * | 2012-02-22 | 2012-07-25 | 大唐移动通信设备有限公司 | Method for compressing LTE-IR interface data and device thereof |
Also Published As
Publication number | Publication date |
---|---|
CN102612079B (en) | 2014-12-17 |
CN102612079A (en) | 2012-07-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2013123787A1 (en) | Lte-ir interface data compression method and device thereof | |
Patel et al. | Comparative Study of 2G, 3G and 4G | |
CN102075467B (en) | Inphase quadrature signal intelligence quotient (IQ) data compression method and device | |
WO2016041204A1 (en) | Methods for compressing and decompressing iq data, and associated devices | |
CN107534661A (en) | Enhanced compressed format for data compression | |
CN108965333B (en) | Data compression method, data decompression method, data compression system, data decompression system and electronic equipment | |
CN111093293A (en) | Antenna signal processing method and device | |
RU2767321C1 (en) | Method and device for wireless communication | |
CN101437023A (en) | Wireless communication device, instruction set capable of being recognized by the same and operation method thereof | |
JP2016539582A (en) | Method and apparatus for processing signal sample point data | |
JP7282682B2 (en) | Data compression method and apparatus | |
WO2020125527A1 (en) | Data compression method, apparatus, computer device and storage medium | |
WO2017084343A1 (en) | Antenna multiplexing method and mobile terminal | |
CN106304190A (en) | A kind of CPRI interface data compression transmitting method and system | |
CN101483844B (en) | Method and system for indexing mobile telephone number | |
EP4412395A1 (en) | Communication link control method and apparatus, and electronic device and storage medium | |
WO2015172296A1 (en) | Antenna apparatus and electronic device | |
US20070106720A1 (en) | Reconfigurable signal processor architecture using multiple complex multiply-accumulate units | |
CN114077605A (en) | Data processing method and device | |
WO2015021623A1 (en) | Multi-carrier selection method and device | |
JP6501313B2 (en) | Physical layer data transmission method and data transmission device | |
CN202309693U (en) | Short wave automatic control communication unit based on radio frequency digitization | |
CN201528429U (en) | Mobile terminal and server for processing its data | |
KR20220140481A (en) | Method and apparatus for configuring time domain resource allocation | |
CN112235828B (en) | Data compression method based on CPRI protocol |
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: 12868962 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: 12868962 Country of ref document: EP Kind code of ref document: A1 |