Method and device for compressing / decompressing data of forward transmission interface

By using the method of using the target instruction configuration in the prequel interface data processing, the processing interface data is used to compress/decompress the processing, and the flexibility and applicability of the exclusive integrated circuit for existing technologies will be solved. Treatment and bandwidth decrease.

CN119383657AInactive Publication Date: 2025-01-28JIXIN COMM TECH (NANJING) CO LTD
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202411945311.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2025-01-28
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, compression/decompression is implemented based on application-specific integrated circuits, resulting in poor flexibility and applicability, and the inability to expand and adapt to new needs or standards.

Method used

By receiving the data of the interface to be treated, the data is compressed/decompressed by the target instruction, and the target instruction pre -configured the data processing type, data processing algorithm and total amount of data to achieve flexible data processing.

Benefits of technology

Realize the data processing of predecessor interface interface with flexible, applicability and hardware, improve the efficiency of data transmission, and reduce the bandwidth of the communication system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119383657A_ABST
    Figure CN119383657A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of communication, and provides a compression / decompression method and device for forward transmission interface data, and the method comprises the steps: receiving to-be-processed interface data; performing compression / decompression processing based on the target instruction, and determining processing data; the target instruction is obtained by performing pre-configuration based on the data processing type of the to-be-processed interface data, a data processing algorithm corresponding to the data processing type and the total data amount. The method provided by the invention comprises the following steps: configuring a target instruction through a data processing type of to-be-processed interface data, a data processing algorithm corresponding to the data processing type and a total data amount; and performing compression / decompression processing on the to-be-processed interface data based on the target instruction, thereby realizing flexible, high-applicability and hardware-saving forward transmission interface data processing, and further realizing improvement of the data transmission efficiency of the forward transmission interface and reduction of the bandwidth of a communication system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a method and device for compressing / decompressing fronthaul interface data. Background Art

[0002] RRU (Radio Remote Unit) brings a new distributed network coverage mode. It places large-capacity macro cell base stations in an available central machine room, centrally processes the baseband part, and uses optical fiber to pull the radio frequency module in the base station to the remote radio frequency unit, which is placed at the site determined by the network planning, thus saving a large number of machine rooms required for conventional solutions; at the same time, by using large-capacity macro base stations to support a large number of optical fiber remotes, the conversion between capacity and coverage can be achieved. The interface between RRU and BBU (Building Baseband Unite) is called the fronthaul interface. In order to reduce the complexity of hardware design, improve the data transmission efficiency of the fronthaul interface, and reduce the system bandwidth, the service data of the fronthaul interface will be compressed and transmitted. Traditional compression algorithms are all implemented based on ASIC (Application-Specific Integrated Circuit), and their advantage is fast speed.

[0003] However, once an ASIC is manufactured, its functions and performance are fixed and cannot be easily modified or upgraded to adapt to new requirements or standards. As a result, traditional compression / decompression implementation methods are not flexible enough, are highly specialized, cannot be expanded, and have poor applicability. Summary of the invention

[0004] The present invention provides a method and device for compressing / decompressing front transmission interface data, so as to solve the defects of the prior art that compression / decompression is realized based on a dedicated integrated circuit, resulting in poor flexibility and applicability.

[0005] The present invention provides a compression / decompression method for forward transmission interface data, comprising: Receive interface data to be processed; Based on the target instruction, compressing / decompressing the interface data to be processed to determine the processing data; The target instruction is pre-configured based on the data processing type of the interface data to be processed, the data processing algorithm corresponding to the data processing type, and the total amount of data; The data processing type is compression / decompression.

[0006] According to a method for compressing / decompressing forward transmission interface data provided by the present invention, the pre-configuration step of the target instruction includes: Determine a single data processing amount and a loop number instruction based on the total amount of data and a data processing algorithm corresponding to the data processing type; Based on the data processing type, the data processing algorithm and the single data processing amount, configure a calculation execution instruction; The target instruction is determined based on the loop count instruction and the operation execution instruction.

[0007] According to a method for compressing / decompressing forward transmission interface data provided by the present invention, the method compresses / decompresses the interface data to be processed based on a target instruction to determine the processed data, including: Based on the operation execution instruction, compressing / decompressing the interface data to be processed to obtain intermediate interface data, until the number of times of performing the compression / decompression processing satisfies the loop number instruction; The intermediate interface data of each time is output to obtain the processing data.

[0008] According to a method for compressing / decompressing forward interface data provided by the present invention, the method compresses / decompresses the interface data to be processed based on the operation execution instruction to obtain intermediate interface data, including: When the single data processing amount is greater than 1, the interface data to be processed are cached one by one to obtain cached interface data, until the data amount of the cached interface data meets the single data processing amount, and based on the operation execution instruction, the cached interface data is compressed / decompressed to obtain the intermediate interface data; When the single data processing amount is equal to 1, the cache interface data is compressed / decompressed directly based on the target instruction to determine the intermediate interface data.

[0009] According to a method for compressing / decompressing forward interface data provided by the present invention, the method of compressing / decompressing the cache interface data based on the operation execution instruction to obtain the intermediate interface data includes: When the data processing type is compression, performing bias calculation on the maximum value data in the cache interface data to obtain bias interface data; Based on the operation execution instruction, the bias interface data is compressed / decompressed to obtain the intermediate interface data.

[0010] The present invention also provides a compression / decompression device for forward transmission interface data, comprising: A receiving unit, receiving interface data to be processed; The processing unit compresses / decompresses the interface data to be processed based on the target instruction to determine the processing data; The target instruction is pre-configured based on the data processing type of the interface data to be processed, the data processing algorithm corresponding to the data processing type, and the total amount of data; The data processing type is compression / decompression.

[0011] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a method for compressing / decompressing the forward transmission interface data as described above is implemented.

[0012] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-described methods for compressing / decompressing forward transmission interface data.

[0013] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned methods for compressing / decompressing forward transmission interface data.

[0014] The compression / decompression method and device for the fronthaul interface data provided by the present invention configure the target instruction through the data processing type of the interface data to be processed, the data processing algorithm corresponding to the data processing type, and the total amount of data; based on the target instruction, the interface data to be processed is compressed / decompressed to determine the processing data, thereby realizing flexible, highly applicable and hardware-saving fronthaul interface data processing, thereby improving the data transmission efficiency of the fronthaul interface and reducing the bandwidth of the communication system. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0016] Figure 1 This is one of the flow charts of the compression / decompression method of the front transmission interface data provided by the present invention; Figure 2 It is a schematic diagram of the location of the fronthaul interface provided by the present invention; Figure 3 This is a second flow chart of the method for compressing / decompressing the front transmission interface data provided by the present invention; Figure 4 It is a schematic diagram of data comparison before and after compression processing provided by the present invention; Figure 5It is a schematic diagram of data flow when data compression is performed based on a block floating point algorithm provided by the present invention; Figure 6 It is a schematic diagram of data flow with bias when data compression is performed based on a block floating point algorithm provided by the present invention; Figure 7 It is one of the structural schematic diagrams of the compression / decompression device of the front transmission interface data provided by the present invention; Figure 8 This is the second structural schematic diagram of the compression / decompression device for forward transmission interface data provided by the present invention; Fig. 9 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0018] It should be noted that in order to reduce the complexity of hardware design, improve the data transmission efficiency of the fronthaul interface, and reduce the system bandwidth, the service data of the fronthaul interface will be compressed before transmission. There are two common protocols for the fronthaul interface, CPRI (Common Public Radio Interface) and eCPRI. In the ORAN (Open Radio Access Network) protocol based on eCPRI (evolved Common Public Radio interface) and the CPRI protocol, data compression methods are defined.

[0019] Data compression can reduce the bandwidth requirements of the fronthaul interface, effectively improve the transmission efficiency of the fronthaul interface, and enable the fronthaul interface to have higher transmission capacity. Based on the traditional Option8 CPRI interface, the interface rate is about 40Gps under the four-transmit and four-receive 200MHz signal bandwidth configuration, and the interface rate is about 20Gbps after 2:1 time domain compression processing. Based on the Option7-2 eCPRI interface, the interface rate is about 24Gps under the four-transmit and four-receive 200MHz signal bandwidth configuration, and the interface rate is about 12Gbps after 2:1 frequency domain compression processing. While meeting the system accuracy requirements, compression brings system gain by reducing the interface bandwidth.

[0020] Traditional compression algorithms are all based on ASIC implementation, which has the advantages of fast speed, but is not flexible enough, highly specialized, and cannot be expanded. Especially when the module is applied to the interface, because manufacturers have different implementations of the interface, and the interface protocol is constantly being upgraded. Therefore, the use of ASIC will greatly reduce the flexibility and applicability of the interface.

[0021] In view of the above problems, the present invention provides a compression / decompression method for forward transmission data to achieve flexible and highly applicable data processing. Figure 1 FIG. 1 is one of the flow charts of the compression / decompression method of the front transmission interface data provided by the present invention, such as Figure 1 As shown, the method includes: Step 110: receiving interface data to be processed.

[0022] Here, the interface data to be processed refers to data transmitted through the fronthaul interface, and may include input fronthaul interface data and output fronthaul interface data. Figure 2 Schematic diagram of the location of the fronthaul interface provided by the present invention, such as Figure 2 As shown, the execution subject of the compression / decompression method of the fronthaul interface data provided by the embodiment of the present invention is a compression / decompression device (this device) for fronthaul interface data. In the design and implementation of long-term evolution (LTE) and 5G new radio frequency (NR), the baseband processing unit (Building Baseband Unite, BBU) and the remote radio unit (Remote Radio Unit, RRU) are usually divided and connected using optical fiber. The interface used for data transmission between the baseband processing unit and the remote radio unit is the fronthaul interface. The user's input data is received in the remote radio unit, and the input data is processed by intermediate frequency radio frequency. Then, the processed data is compressed by the compression module of this device to complete the uplink signal processing. Then, the compressed data is transmitted to the base station processing unit based on the fronthaul interface. In the base station processing unit, the decompression module of this device is used to perform decompression processing, and the decompressed data is input to the baseband processor to complete the uplink signal processing. Then, in the base station processing unit, based on the data output by the baseband processor, the compression module of this device is used to compress the data to complete the downlink signal processing. The compressed data is transmitted to the RF remote unit through the fronthaul interface. In the RF remote unit, the decompression module of the device performs decompression processing, and the decompressed data is processed by the intermediate frequency RF to complete the downlink signal processing.

[0023] Step 120: based on the target instruction, compress / decompress the interface data to be processed to determine the processed data.

[0024] The target instruction is pre-configured based on the data processing type of the interface data to be processed, the data processing algorithm corresponding to the data processing type, and the total amount of data.

[0025] Here, the data processing type is compression / decompression; the data processing algorithm is any one of the A-law algorithm, the μ-law algorithm, the block floating point algorithm, and the Block scaling algorithm.

[0026] In addition, the data processing type here is compression / decompression. It can be understood that data compression can reduce the bandwidth requirement of the fronthaul interface, effectively improve the transmission efficiency of the fronthaul interface, and enable the fronthaul interface to have a higher transmission capacity. The data processing algorithm is any one of the A-law algorithm, the μ-law algorithm, the block floating point algorithm, and the Block scaling algorithm. That is, when data processing is performed during compression or decompression, the algorithm that can be used is any one of the A-law algorithm, the μ-law algorithm, the block floating point algorithm, and the Block scaling algorithm. In addition, the amount of data received here for the interface data to be processed can be multiple.

[0027] Specifically, first, before data compression / decompression is performed, the target instruction can be determined to perform compression or decompression according to the data processing type of the interface data to be processed; the algorithm applied when the target instruction performs data processing is determined by the data processing algorithm corresponding to the data processing type; the amount of data executed by the target instruction is determined by the total amount of data of the received interface data to be processed, or the number of times the target execution instruction needs to be executed and the amount of data to be processed each time. Thus, the target instruction is configured through the data processing type of the interface data to be processed, the data processing algorithm corresponding to the data processing type, and the total amount of data, and the configured target instruction can instruct the processor to apply the corresponding data processing algorithm to the specified amount of interface data to be processed to perform compression / decompression processing.

[0028] In detail, the 16-bit binary number can be split to configure the information indicating data processing, such as the data processing type, the data processing algorithm corresponding to the data processing type, and the total amount of data. For example, the first four bits can represent the data processing type corresponding to the target instruction and the data processing algorithm corresponding to the data processing type. For example, "0001" can represent data compression based on the A-law algorithm; "0010" can represent data compression based on the μ-law algorithm.

[0029] It should be emphasized that, compared with the prior art, data compression and decompression are implemented based on ASIC. When the module is applied to the fronthaul interface, it cannot be changed or upgraded to adapt to new requirements. The method provided in the embodiment of the present invention refines the data processing algorithm corresponding to the compression / decompression processing, configures the target instruction, flexibly supports the compression / decompression instruction configuration of different algorithms, and realizes flexible and highly applicable compression / decompression processing of the fronthaul interface data.

[0030] Furthermore, the target instruction may be decoded to obtain a decoding result. According to the decoding result, the corresponding data processing algorithm is applied to the interface data to be processed with a specified data volume, compression / decompression operation is performed, the processed data is determined, and the data transmission of the forward transmission interface is completed.

[0031] It should be emphasized that, compared with the prior art, different data processing algorithms have their own decompression data channels. The method provided by the embodiment of the present invention integrates the data channels of different algorithms by configuring target instructions for the multiple data processing algorithms corresponding to the compression / decompression processing, so as to construct a universal data processing channel, and realize that multiple compression / decompression algorithms share one data channel, thereby realizing flexible and adaptable compression / decompression processing, and saving hardware at the same time.

[0032] The method provided by the embodiment of the present invention configures the target instruction through the data processing type of the interface data to be processed, the data processing algorithm corresponding to the data processing type, and the total amount of data; based on the target instruction, the interface data to be processed is compressed / decompressed to determine the processing data, thereby realizing flexible, highly applicable and hardware-saving forward transmission interface data processing, thereby improving the data transmission efficiency of the forward transmission interface and reducing the bandwidth of the communication system.

[0033] Based on any of the above embodiments, the step of pre-configuring the target instruction includes: Determine a single data processing amount and a loop number instruction based on the total amount of data and a data processing algorithm corresponding to the data processing type; Based on the data processing type, the data processing algorithm and the single data processing amount, configure a calculation execution instruction; The target instruction is determined based on the loop count instruction and the operation execution instruction.

[0034] Specifically, first, the total amount of data of the received interface data to be processed is multiple. Moreover, for different data processing algorithms corresponding to the compression processing, there are different data volume requirements. For example, in the ORAN protocol, BFP compression, μ-law algorithm, and BSC compression all require 12 REs (resource elements) as a group for processing, that is, 12 data volumes of the interface data to be processed are required to be processed as a group. Therefore, the single data processing volume can be determined by the data processing algorithm corresponding to the data processing type. Then, based on the total amount of data of the interface data to be processed and the single data processing volume, the number of cycles required to process the interface data to be processed is determined, and the number of cycles instruction is configured to realize the 2-layer hardware loop without causing additional clock overhead. For example, the total amount of data of the interface data to be processed is 120, and the interface data to be processed is compressed by the BFP algorithm, then the single data processing volume is 12, and the number of cycles instruction indicates that the number of cycles is 10.

[0035] Next, the operation execution instruction for a single execution can be configured by the data processing type, the data processing algorithm, and the single data processing amount. It can be understood that the operation execution instruction here is used to indicate that the compression / decompression processing of the data processing algorithm is performed on a specified number of interface data to be processed each time within the number of cycles. Finally, the number of cycles instruction and the operation execution instruction can be used as a separate target instruction respectively. Thus, when the interface data to be processed is compressed / decompressed, two target instructions, namely the number of cycles instruction and the operation execution instruction, can be obtained by configuration to complete the compression / decompression of the data.

[0036] Table 1 shows the target instruction set and its encoding, as shown in Table 1: Table 1

[0037] As shown in Table 1, the target instruction can include an operation execution instruction and a loop count instruction, namely, a repeat instruction. Among them, the operation execution instruction includes 8 categories, which are the target instructions corresponding to the four data processing algorithms corresponding to the compression processing, namely, acom (A-law algorithm compression processing), uom (μ-law algorithm compression processing), bfpcom (BFP algorithm compression processing), bccom (BSC algorithm compression processing), and the target instructions corresponding to the four data processing algorithms corresponding to the decompression processing, namely, ade (A-law algorithm decompression processing), ude (μ-law algorithm decompression processing), bfpde (BFP algorithm decompression processing), bcde (BSC algorithm decompression processing). As shown in Table 1, for any of the operation execution instructions, the encoding is based on 16 binary bits (bits), and the 0th to 3rd bits represent the data processing type and the data processing algorithm corresponding to the data processing type, the 4th to 6th bits represent the input bit width, the 7th to 9th bits represent the output bit width, the 10th bit represents rounding, the 11th bit represents bias, and the 12th to 15th bits represent the data volume, that is, the single data processing volume. In addition, for the loop count instruction, bits 0 to 3 represent the loop count instruction, and the subsequent bits can represent the loop count.

[0038] The method provided by the embodiment of the present invention determines the single data processing amount and the number of loop instructions through the total amount of data to be processed and the data processing algorithm corresponding to the data processing type; based on the data processing type, the data processing algorithm and the single data processing amount, the operation execution instruction is configured to obtain the target instruction including the number of loop instructions and the operation execution instruction, thereby realizing flexible and clear target instruction configuration for a variety of data processing algorithms corresponding to compression / decompression, and laying the foundation for realizing compression / decompression processing of the forward transmission interface based on the target instruction. Moreover, if the data processing algorithm needs to be adjusted later, it can be realized by adjusting the content corresponding to the target instruction, which further increases the flexibility and applicability of data processing on the forward transmission interface.

[0039] Based on any of the above embodiments, step 120 includes: Based on the operation execution instruction, compressing / decompressing the interface data to be processed to obtain intermediate interface data, until the number of times of performing the compression / decompression processing satisfies the loop number instruction; The intermediate interface data of each time is output to obtain the processing data.

[0040] Specifically, first, the operation execution instruction can be decoded by a decoder, and the decoding result can be sent to the operation module. The operation module can perform compression / decompression operation of the corresponding data processing algorithm on the interface data to be processed of the single data processing amount based on the decoding result to obtain the intermediate interface data of this time. Then, it is judged whether the number of times the current compression / decompression processing reaches the number of cycles in the loop number instruction. If not satisfied, the compression / decompression processing of the interface data to be processed of the single data processing amount continues to be performed to obtain the intermediate interface data until the number of executions reaches the number of cycles in the loop number instruction. Finally, the intermediate interface data of each number of times can be used as the final processing data obtained by compression / decompression.

[0041] Based on any of the above embodiments, the step of performing compression / decompression processing on the interface data to be processed based on the operation execution instruction to obtain intermediate interface data includes: When the single data processing amount is greater than 1, the interface data to be processed are cached one by one to obtain cached interface data, until the data amount of the cached interface data meets the single data processing amount, and based on the operation execution instruction, the cached interface data is compressed / decompressed to obtain the intermediate interface data; When the single data processing amount is equal to 1, the cache interface data is compressed / decompressed directly based on the target instruction to determine the intermediate interface data.

[0042] Specifically, when the interface data to be processed is compressed / decompressed, the interface data to be processed can be cached one by one through the cache unit, and then the obtained cached data can be sent to the operation unit for compression / decompression. For example, the cache of the input interface data to be processed can be managed by the input management unit. When the single data processing volume is greater than 1, the interface data to be processed can be sent to the cache unit through the input management unit to bypass directly until the data volume meets the single data processing volume. Then, based on the operation execution instruction, the interface data to be processed of the single data processing volume is compressed / decompressed to obtain the intermediate interface data.

[0043] When the single data processing amount is equal to 1, the interface data to be processed can be directly sent to the computing unit for compression / decompression processing to obtain intermediate interface data, and the intermediate interface data at this time is the processed data. It should be noted that when the single data processing amount is equal to 1, after completing the data processing, the intermediate interface data can be directly transmitted to the output unit to obtain the processed data.

[0044] Figure 3 FIG. 2 is a flow chart of the compression / decompression method of the front transmission interface data provided by the present invention. Figure 3As shown, the method includes: first, start working. Then, set the number of cycles. In detail, the single data processing amount and the number of cycles can be determined by the data processing algorithm corresponding to the total amount of data and the data processing type. Next, set the compression or decompression method, compression bit width and each compression amount. Further, determine whether the compression amount is greater than 1. When the compression amount is equal to 1 each time, the interface data to be processed directly enters the operation unit for compression or decompression processing. When the compression amount is greater than 1 each time, write the data into the input cache until the cache is sufficient and enter the operation unit for processing. After the processing is completed, write the output cache until the cache is sufficient, and then output the intermediate interface data. At this time, determine whether the number of times the data processing is executed reaches the number of cycles, that is, determine whether the cycle is over. If the number of times the data processing is executed does not reach the number of cycles, execute the cycle work. Re-set the compression or decompression method, compression bit width and each compression amount to complete the data compression / decompression processing again until the number of times the data processing is executed reaches the number of cycles, that is, the cycle ends. Finally, end the work.

[0045] Figure 4 is a schematic diagram of data comparison before and after compression processing provided by the present invention, such as Figure 4 As shown in the figure, the first row represents the data before compression / decompression, the source data (I and Q) has a bit width of M, the compressed data (I and Q) has a bit width of N, and the extra data after compression (such as exponent bits) has a bit width of MN. Figure 4 It can be seen that after the data is compressed, the bit width of the data is compressed, which improves the data transmission efficiency and reduces the transmission bandwidth. In one embodiment, the source data bit width is M, the compressed data bit width is N, and n numbers are compressed each time. The bit width of the additional data (such as exponent bits) after compression is E, and the gain after compression can be calculated by the following formula:

[0046] In the formula, Indicates the gain after compression. Table 2 shows the gain of different compression bit widths based on 16-bit data of the eCPRI interface. As shown in Table 2: Table 2

[0047] It should be noted that Table 2 is a set of gain cases brought by different compression bit widths of data applied to the eCPRI interface. According to the O-RAN protocol, whether the μ-law algorithm, BFP algorithm or BSC algorithm is used, 12 data are grouped together, and 8 bits of information are added after compression for decompression. Substituting the above formula for calculating the gain after compression, where M=16, E=8, and n=12, the gain after compression in each case can be calculated.

[0048] The method provided by the embodiment of the present invention caches the interface data to be processed one by one when the single data processing amount is greater than 1, and obtains the cached interface data until the data amount of the cached interface data meets the single data processing amount; when the single data processing amount is equal to 1, the cached interface data is directly compressed / decompressed based on the target instruction to determine the intermediate interface data. That is, by judging the single data processing amount, the compression algorithm for the compression of a single data does not need to be cached, the processing delay is low, and the data transmission efficiency is further improved.

[0049] It should be noted that, due to the nonlinear characteristics of compression, the quantization interval of data with large values ​​is much larger than that of data with small values, which will result in reduced precision of data with large values. Based on any of the above embodiments, the step of compressing / decompressing the cache interface data based on the operation execution instruction to obtain the intermediate interface data includes: When the data processing type is compression, performing bias calculation on the maximum value data in the cache interface data to obtain bias interface data; Based on the operation execution instruction, the bias interface data is compressed / decompressed to obtain the intermediate interface data.

[0050] Specifically, when performing data compression processing, the size interval of the maximum value data can be looked up in a table to obtain a bias value. Then, the original value of the maximum value data is subtracted from the bias value obtained by looking up the table to complete the bias calculation and obtain the bias interface data. Finally, based on the operation execution instruction, the bias interface data obtained after the bias calculation is compressed / decompressed to obtain the intermediate interface data, thereby improving the problem of low precision of data with relatively large values ​​after compression, thereby improving the error vector amplitude of the communication system.

[0051] Figure 5 Schematic diagram of data flow when data compression is performed based on block floating point algorithm provided by the present invention, such as Figure 5 As shown in the figure, first, input data, calculate the extreme value of the input data, and define the dynamic range of the data. Then, calculate the exponent bit through the calculated extreme value. Then, quantize the calculated extreme value and exponent bit to better retain the key features of the data while reducing the number of bits required for data representation. Finally, output the data.

[0052] Figure 6 Schematic diagram of data flow with bias when data is compressed based on block floating point algorithm provided by the present invention, such as Figure 6As shown, first, input data, calculate the extreme value of the input data, and define the dynamic range of the data. Next, calculate the exponent bit through the calculated extreme value. Then, bias the calculated extreme value and exponent bit to improve the problem of low precision after compression of data with relatively large values. Furthermore, quantize the data calculated based on the bias to better retain the key features of the data while reducing the number of bits required for data representation. Finally, output the data.

[0053] Based on any of the above embodiments, the cache interface data is compressed / decompressed based on the operation execution instruction to obtain the intermediate interface data, including: applying a pipeline mode, compressing / decompressing the cache interface data based on the operation execution instruction to obtain the intermediate interface data.

[0054] Specifically, when data compression / decompression processing is performed by the operation unit, the operation unit can be an application pipeline mode, and through the operation execution instruction, the cache interface data is compressed / decompressed to obtain the intermediate interface data. Therefore, when the data is compressed / decompressed, there will be no occupancy resulting in data input failure, and different compression amounts will not cause congestion of the operation unit, thereby reducing waiting time and improving throughput.

[0055] Based on any of the above embodiments, Figure 7 FIG. 1 is one of the structural diagrams of the compression / decompression device for the forward transmission interface data provided by the present invention, such as Figure 7 As shown, the device comprises: A receiving unit 710 receives interface data to be processed; The processing unit 720 performs compression / decompression processing on the interface data to be processed based on the target instruction to determine the processing data; The target instruction is pre-configured based on the data processing type of the interface data to be processed, the data processing algorithm corresponding to the data processing type, and the total amount of data; The data processing type is compression / decompression.

[0056] The device provided by the embodiment of the present invention configures the target instruction through the data processing type of the interface data to be processed, the data processing algorithm corresponding to the data processing type, and the total amount of data; based on the target instruction, the interface data to be processed is compressed / decompressed to determine the processing data, thereby realizing flexible, highly applicable and hardware-saving forward transmission interface data processing, thereby improving the data transmission efficiency of the forward transmission interface and reducing the bandwidth of the communication system.

[0057] Figure 8 FIG. 2 is a second structural diagram of the compression / decompression device for the front transmission interface data provided by the present invention. Figure 8As shown, the device includes: a program controller 101, an instruction storage 102, a decoder 103, an input buffer unit 104, an input management unit 105, an operation unit 106, an output management unit 107, a bias unit 108 and an output buffer unit 109.

[0058] The program controller 101 is used to manage the program count and arbitrate the program count change requests sent by each module. The instruction storage 102 is used to store the instruction sequence of the processor. The decoder 103 is used to decode the instructions and distribute the decoding results to each module to drive the processor to work. Here, the loop number instruction is implemented in the decoder, and the loop number instruction is used to set the number of loops of the device.

[0059] The input cache unit 104 is used to cache input data. Since the input data is a single data, but for different compression requirements, there are different data volume requirements. For example, in the O-RAN protocol, BFP compression, μ-law algorithm, and BSC compression all require 12 REs (resource elements) as a group for processing. Therefore, the data first needs to be saved in the input cache unit, and then read and work by the operation unit after the data volume is sufficient. That is, the configuration of the input cache unit is completed by instructions, and it works according to the configured compression quantity.

[0060] The input management unit 105 is configured by instructions and is used to manage data input. If the amount of compressed or decompressed data is 1, the input cache unit is directly bypassed, and the data input directly enters the operation unit for compression and decompression; if the amount of compressed or decompressed data is greater than 1, the input data will first be written to the input cache unit for temporary storage. In addition, a loop counter is set inside the input management unit to facilitate counting of the amount of data.

[0061] The operation unit 106 is an implementation unit of the compression and decompression algorithm. It supports compression and decompression of any one of the A-law algorithm, μ-law algorithm, block floating point algorithm and Block scaling algorithm, and supports compression of different data volumes (1-12 REs). The operation unit is configured by instructions, and the corresponding algorithm unit is started to implement it according to the compression algorithm and compression configured by the instructions. In addition, the operation unit works in a pipeline, and the operation unit will not be occupied, resulting in data input failure.

[0062] The output management unit 107 is configured by instructions and is used to manage data output. If the amount of compressed and decompressed data is 1, the output cache unit is directly bypassed and the data is directly output; if it is greater than 1, the output data will be temporarily stored in the output cache unit and then output in sequence.

[0063] The bias unit 108, due to the nonlinear characteristics of compression, the quantization interval of data with large values ​​is much larger than that of data with small values, which will lead to reduced precision of data with large values. The bias unit is implemented to solve this problem. It performs a table lookup based on the size interval of the input data, and subtracts the bias value from the table lookup from the original value, in order to reduce the quantization interval of the original value and improve precision.

[0064] The output cache unit 109 is used to cache the input data. Since the output data is a single data, but for different compression requirements, there are different data volume requirements. For example, in the O-RAN protocol, BFP compression, μ-law algorithm, and BSC compression all require 12 REs (resource elements) to be processed as a group. Therefore, when the amount of compressed and decompressed data is greater than 1, the calculated data first needs to be written into the output cache unit, and then the data is output in sequence. The configuration of the output cache unit is completed by instructions, and it works according to the configured compression quantity. A loop counter is set inside the output management unit.

[0065] Based on any of the above embodiments, the device further includes an instruction configuration unit, and the instruction configuration unit is specifically used to: Determine a single data processing amount and a loop number instruction based on the total amount of data and a data processing algorithm corresponding to the data processing type; Based on the data processing type, the data processing algorithm and the single data processing amount, configure a calculation execution instruction; The target instruction is determined based on the loop count instruction and the operation execution instruction.

[0066] Based on any of the above embodiments, the processing unit is specifically used for: Based on the operation execution instruction, compressing / decompressing the interface data to be processed to obtain intermediate interface data, until the number of times of performing the compression / decompression processing satisfies the loop number instruction; The intermediate interface data of each time is output to obtain the processing data.

[0067] Based on any of the above embodiments, the processing unit is further specifically configured to: When the single data processing amount is greater than 1, the interface data to be processed are cached one by one to obtain cached interface data, until the data amount of the cached interface data meets the single data processing amount, and based on the operation execution instruction, the cached interface data is compressed / decompressed to obtain the intermediate interface data; When the single data processing amount is equal to 1, the cache interface data is compressed / decompressed directly based on the target instruction to determine the intermediate interface data.

[0068] Based on any of the above embodiments, the processing unit is further specifically configured to: When the data processing type is compression, performing bias calculation on the maximum value data in the cache interface data to obtain bias interface data; Based on the operation execution instruction, the bias interface data is compressed / decompressed to obtain the intermediate interface data.

[0069] Fig. 9 An example of a physical structure diagram of an electronic device is shown in FIG. Fig. 9 As shown, the electronic device may include: a processor 910, a communication interface 920, a memory 930 and a communication bus 940, wherein the processor 910, the communication interface 920 and the memory 930 communicate with each other through the communication bus 940. The processor 910 may call the logic instructions in the memory 930 to execute the compression / decompression method of the forward transmission interface data, the method comprising: receiving the interface data to be processed; based on the target instruction, compressing / decompressing the interface data to be processed to determine the processing data; the target instruction is pre-configured based on the data processing type of the interface data to be processed, the data processing algorithm corresponding to the data processing type and the total amount of data; the data processing type is compression / decompression.

[0070] In addition, the logic instructions in the above-mentioned memory 930 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0071] On the other hand, the present invention also provides a computer program product, which includes a computer program, and the computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the compression / decompression method of the forward transmission interface data provided by the above methods, and the method includes: receiving interface data to be processed; based on target instructions, compressing / decompressing the interface data to be processed to determine the processing data; the target instructions are pre-configured based on the data processing type of the interface data to be processed, the data processing algorithm corresponding to the data processing type, and the total amount of data; the data processing type is compression / decompression.

[0072] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the compression / decompression method of the forward transmission interface data provided by the above-mentioned methods, the method comprising: receiving interface data to be processed; based on target instructions, compressing / decompressing the interface data to be processed to determine the processed data; the target instructions are pre-configured based on the data processing type of the interface data to be processed, the data processing algorithm corresponding to the data processing type, and the total amount of data; the data processing type is compression / decompression.

[0073] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0074] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0075] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A compression / decompression method for fronthaul interface data, characterized in that: include: Receive interface data to be processed; Based on the target instruction, compressing / decompressing the interface data to be processed to determine the processing data; The target instruction is pre-configured based on the data processing type of the interface data to be processed, the data processing algorithm corresponding to the data processing type, and the total amount of data; The data processing type is compression / decompression.

2. The compression / decompression method for fronthaul interface data according to claim 1, characterized in that: The pre-configuration step of the target instruction includes: Determine a single data processing amount and a loop number instruction based on the total amount of data and a data processing algorithm corresponding to the data processing type; Based on the data processing type, the data processing algorithm and the single data processing amount, configure a calculation execution instruction; The target instruction is determined based on the loop count instruction and the operation execution instruction.

3. The compression / decompression method for fronthaul interface data according to claim 2, characterized in that: The method of compressing / decompressing the interface data to be processed based on the target instruction to determine the processed data includes: Based on the operation execution instruction, compressing / decompressing the interface data to be processed to obtain intermediate interface data, until the number of times of performing the compression / decompression processing satisfies the loop number instruction; The intermediate interface data of each time is output to obtain the processing data.

4. The compression / decompression method for fronthaul interface data according to claim 3, characterized in that: The step of compressing / decompressing the interface data to be processed based on the operation execution instruction to obtain intermediate interface data includes: When the single data processing amount is greater than 1, the interface data to be processed are cached one by one to obtain cached interface data, until the data amount of the cached interface data meets the single data processing amount, and based on the operation execution instruction, the cached interface data is compressed / decompressed to obtain the intermediate interface data; When the single data processing amount is equal to 1, the cache interface data is compressed / decompressed directly based on the target instruction to determine the intermediate interface data.

5. The compression / decompression method for fronthaul interface data according to claim 4, characterized in that: The step of compressing / decompressing the cache interface data based on the operation execution instruction to obtain the intermediate interface data includes: When the data processing type is compression, performing bias calculation on the maximum value data in the cache interface data to obtain bias interface data; Based on the operation execution instruction, the bias interface data is compressed / decompressed to obtain the intermediate interface data.

6. A compression / decompression device for front-end interface data, characterized in that: include: A receiving unit, receiving interface data to be processed; The processing unit compresses / decompresses the interface data to be processed based on the target instruction to determine the processing data; The target instruction is pre-configured based on the data processing type of the interface data to be processed, the data processing algorithm corresponding to the data processing type, and the total amount of data; The data processing type is compression / decompression.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the compression / decompression method of the fronthaul interface data as described in any one of claims 1 to 5 is implemented.

8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the compression / decompression method of the fronthaul interface data as claimed in any one of claims 1 to 5 is implemented.

9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the compression / decompression method of the fronthaul interface data as claimed in any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Data compression and decompression methods, apparatus and systems in wireless communication systems

    CN102291398A

  • Data processing method for long term evolution (LTE) system

    CN103138868A

  • Method for compressing vector data

    CN103746705A

  • System and method for user data transmission of satellite mobile communication system

    CN104202078A

  • Vector indexed memory access plus arithmetic and / or logical operation processors, methods, systems, and instructions

    CN105706155A