Data compression method and related device and storage medium applied to channel estimation

By using public floating-point indexes and anchor points for block floating-point compression in the communication system, the problem of large data volume in channel estimation results is solved, and efficient data compression and storage resource optimization are achieved.

CN115242883BActive Publication Date: 2024-08-23GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210820260.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-12
Publication Date
2024-08-23
Estimated Expiration
2042-07-12

AI Technical Summary

Technical Problem

In communication systems, the dynamic range of channel estimation results is large, which requires a large number of bits for quantification, occupying a large amount of transmission and storage resources. Existing data compression schemes have low compression efficiency and large storage resource overhead.

Method used

By determining the common floating point index and anchor point from multiple channel estimation results, and using block floating point compression technology, the data margin is processed and compressed to reduce the resources occupied by data storage.

Benefits of technology

It effectively reduces the storage resources occupied by data storage, reduces the loss of compression accuracy of data volume, and improves data compression efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115242883B
    Figure CN115242883B
Patent Text Reader

Abstract

The embodiment of the present application discloses a data compression method and related devices and storage media applied to channel estimation. The method includes: determining multiple data to be compressed from multiple channel estimation results, and determining a first common floating-point index and a common anchor point from the multiple data to be compressed; determining multiple data margins corresponding to the multiple data to be compressed one by one according to the first common floating-point index and the common anchor point; each data margin is data obtained by processing one data to be compressed using the first common floating-point index and the common anchor point; performing block floating-point compression processing on the multiple data margins to obtain a second common floating-point index and multiple margin floating-point mantissas; each margin floating-point mantissa is a floating-point mantissa corresponding to a data margin and the second common floating-point index; determining the first common floating-point index, the second common floating-point index and the common anchor point as data compression parameters for the multiple data to be compressed, and determining the multiple margin floating-point mantissas as data compression results for the multiple data to be compressed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communication technology, and in particular to a data compression method and related devices and storage media applied to channel estimation. Background Art

[0002] In communication systems, there are often a large number of random signals that need to be transmitted and stored, such as voice signals, received signals, channel estimation results, etc. Random signals usually have a large dynamic range. For example, for frequency domain channel estimation results, the differences in channel estimation results on different subcarriers, different symbols, and different antennas may be very large. If a fixed-point number of a certain number of bits is used for quantization, in order to avoid overflow of peak signals and retain high accuracy for small signals, a very large number of bits is often required, which will further occupy a large amount of transmission resources and storage resources.

[0003] From LTE to NR, the channel bandwidth has increased from 20MHz to 50MHz to 100MHz, which means more channel estimation results per unit time. However, current data compression schemes, such as block floating-point compression schemes, compress less data. Therefore, a large amount of storage resources are still required for data storage, resulting in high storage resource overhead. Summary of the invention

[0004] The embodiments of the present application provide a data compression method and related devices and storage medium for channel estimation, which reduce the amount of compressed data and the storage resources occupied by data storage.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] The present application provides a data compression method for channel estimation, including:

[0007] Determine a plurality of data to be compressed from a plurality of channel estimation results, and determine a first common floating point exponent and a common anchor point from the plurality of data to be compressed;

[0008] Determine, according to the first public floating-point exponent and the public anchor point, a plurality of data margins corresponding one to one to the plurality of data to be compressed; each data margin is data obtained by processing one data to be compressed using the first public floating-point exponent and the public anchor point;

[0009] Performing block floating-point compression processing on the multiple data remainders to obtain a second common floating-point exponent and multiple remainder floating-point mantissas; each remainder floating-point mantissa is a floating-point mantissa corresponding to a data remainder and the second common floating-point exponent;

[0010] The first common floating-point exponent, the second common floating-point exponent, and the common anchor point are determined as data compression parameters of the plurality of data to be compressed, and the plurality of residual floating-point mantissas are determined as data compression results of the plurality of data to be compressed.

[0011] In the above method, determining the first common floating-point exponent and the common anchor point from the plurality of data to be compressed includes:

[0012] Performing block floating-point compression processing on the plurality of data to be compressed to obtain the first common floating-point exponent and a plurality of original floating-point mantissas; each original floating-point mantissa is a floating-point mantissa corresponding to a data to be compressed and the first common floating-point exponent;

[0013] Determining first anchor point data to be quantized from the plurality of original floating-point mantissas;

[0014] The difference between a preset original mantissa bit width and a preset anchor point bit width is used as a shift value, and the first anchor point data is shifted to obtain first shifted data; the preset original mantissa bit width is the data bit width of each original floating point mantissa;

[0015] The first shifted data is quantized into the common anchor point having a bit width equal to the preset anchor point bit width.

[0016] In the above method, performing block floating-point compression on the plurality of data to be compressed to obtain the first common floating-point exponent and a plurality of original floating-point mantissas includes:

[0017] Finding the position of the most significant bit of the plurality of data to be compressed and determining it as the first bit;

[0018] Determining the first public floating-point exponent based on a difference between the first bit and the preset original mantissa bit width;

[0019] Using the first common floating-point exponent as a shift value, respectively performing shift processing on each of the plurality of data to be compressed, to obtain a plurality of shifted data corresponding to the plurality of data to be compressed;

[0020] Each shifted data in the plurality of shifted data is quantized into an original floating-point mantissa whose bit width is the preset original mantissa bit width, to obtain the plurality of original floating-point mantissas.

[0021] In the above method, determining the first anchor point data to be quantized from the multiple original floating-point mantissas includes:

[0022] Determine the mean value of the plurality of original floating-point mantissas as the first anchor point data;

[0023] Alternatively, obtaining a maximum original floating-point mantissa and a minimum original floating-point mantissa from the plurality of original floating-point mantissas;

[0024] The average of the maximum original floating-point mantissa and the minimum original floating-point mantissa is determined as the first anchor point data.

[0025] In the above method, determining a plurality of data margins corresponding one-to-one to the plurality of data to be compressed according to the first common floating-point exponent and the common anchor point comprises:

[0026] Taking the difference between the preset original mantissa bit width and the preset anchor point bit width as a shift value, performing shift processing on the common anchor point to obtain a first shift anchor point;

[0027] The difference between each original floating-point mantissa of the multiple original floating-point mantissas and the first shift anchor point is determined as a data margin to obtain the multiple data margins.

[0028] In the above method, determining the first common floating-point exponent and the common anchor point from the plurality of data to be compressed includes:

[0029] Determining second anchor point data to be quantized from the plurality of data to be compressed;

[0030] Finding the position of the most significant bit of the second anchor point data and determining it as the second bit;

[0031] Determining the first public floating-point exponent based on a difference between the second bit width and a preset anchor point bit width;

[0032] Using the first common floating-point exponent as a shift value, performing a shift process on the second anchor point data to obtain second shifted data;

[0033] The second shifted data is quantized into the common anchor point having a bit width equal to the preset anchor point bit width.

[0034] In the above method, determining the second anchor point data to be quantized from the plurality of data to be compressed includes:

[0035] Determine the mean value of the plurality of data to be compressed as the second anchor point data;

[0036] Alternatively, obtaining the maximum data to be compressed and the minimum data to be compressed from the plurality of data to be compressed;

[0037] The average of the maximum data to be compressed and the minimum data to be compressed is determined as the second anchor point data.

[0038] In the above method, determining a plurality of data margins corresponding one-to-one to the plurality of data to be compressed according to the first common floating-point exponent and the common anchor point comprises:

[0039] Using the first common floating-point exponent as a shift value, performing a shift process on the common anchor point to obtain a second shift anchor point;

[0040] The difference between each to-be-compressed data in the plurality of to-be-compressed data and the second shift anchor point is determined as a data margin to obtain the plurality of data margins.

[0041] In the above method, the block floating point compression processing is performed on the plurality of data remainders to obtain a second common floating point exponent and a plurality of remainder floating point mantissas corresponding one-to-one to the plurality of data remainders, including:

[0042] Finding the position of the most significant bit of the plurality of data margins and determining it as the third bit;

[0043] Determining the second common floating-point exponent based on a difference between the third bit and a preset remainder mantissa bit width;

[0044] Using the second common floating-point exponent as a shift value, performing a shift process on each of the plurality of data remainders to obtain a plurality of remainder shift data corresponding one-to-one to the plurality of data remainders;

[0045] Each of the plurality of residue shift data is quantized into a residue floating-point mantissa whose bit width is the preset residue mantissa bit width, to obtain the plurality of residue floating-point mantissas.

[0046] The present application provides a data compression device for channel estimation, including:

[0047] A first compression module, configured to determine a plurality of data to be compressed from a plurality of channel estimation results, and determine a first common floating-point index and a common anchor point from the plurality of data to be compressed; determine a plurality of data margins corresponding one to one to the plurality of data to be compressed according to the first common floating-point index and the common anchor point; each data margin is data obtained by processing one data to be compressed using the first common floating-point index and the common anchor point;

[0048] A second compression module is used to perform block floating point compression processing on the multiple data residuals to obtain a second common floating point exponent and multiple residual floating point mantissas; each residual floating point mantissa is a floating point mantissa corresponding to a data residual and the second common floating point exponent;

[0049] A determination module is used to determine the first common floating-point exponent, the second common floating-point exponent and the common anchor point as data compression parameters of the plurality of data to be compressed, and to determine the plurality of residual floating-point mantissas as data compression results of the plurality of data to be compressed.

[0050] An embodiment of the present application provides a terminal, including: a processor, a memory, and a communication bus;

[0051] The communication bus is used to realize the communication connection between the processor and the memory;

[0052] The processor is used to execute the computer program stored in the memory to implement the above-mentioned data compression method applied to channel estimation.

[0053] A chip comprises a processor and an interface, wherein the processor obtains a computer program through the interface, and the processor is used to run the computer program to implement the above-mentioned data compression method applied to channel estimation.

[0054] An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the data compression method for channel estimation is implemented.

[0055] The embodiment of the present application provides a data compression method and related devices and storage media applied to channel estimation. The method includes: determining multiple data to be compressed from multiple channel estimation results, and determining a first common floating-point exponent and a common anchor point from the multiple data to be compressed; determining multiple data margins corresponding to the multiple data to be compressed one by one according to the data margins of the first common floating-point exponent and the common anchor point; each data margin is data obtained by processing one data to be compressed using the first common floating-point exponent and the common anchor point; performing block floating-point compression processing on the multiple data margins to obtain a second common floating-point exponent and multiple margin floating-point mantissas; each margin floating-point mantissa is a floating-point mantissa corresponding to a data margin and the second common floating-point exponent; determining the first common floating-point exponent, the second common floating-point exponent and the common anchor point as data compression parameters for the multiple data to be compressed, and determining the multiple margin floating-point mantissas as data compression results for the multiple data to be compressed. The technical solution provided in the embodiment of the present application utilizes the cross-correlation characteristics between data and introduces a common anchor point based on the block floating-point compression technology, thereby combining the common anchor point as a benchmark for determining the compressed data. This can further reduce the amount of compressed data with a smaller loss of accuracy during the compression process, thereby reducing the storage resources occupied by data storage. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 A schematic diagram of a flow chart of a data compression method applied to channel estimation provided in an embodiment of the present application;

[0057] Figure 2 A schematic diagram of a compression result of an exemplary first-order block floating-point compression provided in an embodiment of the present application;

[0058] Figure 3 A schematic diagram of an exemplary compression result of a second-order block floating-point compression provided in an embodiment of the present application;

[0059] Figure 4 A schematic diagram of the structure of a data compression device for channel estimation provided in an embodiment of the present application;

[0060] Figure 5 A schematic diagram of the structure of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION

[0061] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0062] The following will specifically describe the technical solution of the present application and how the technical solution of the present application solves the above technical problems through embodiments and in conjunction with the accompanying drawings. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

[0063] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

[0064] An embodiment of the present application provides a data compression method for channel estimation, which is implemented by a data compression device for channel estimation. The data compression device can be an electronic device such as a mobile phone or a tablet computer, and the embodiment of the present application is not limited thereto.

[0065] Figure 1 A flow chart of a data compression method for channel estimation provided by the present application. Figure 1 As shown, in an embodiment of the present application, the data compression method applied to channel estimation includes:

[0066] S101. Determine a plurality of data to be compressed from a plurality of channel estimation results, and determine a first common floating-point exponent and a common anchor point from the plurality of data to be compressed.

[0067] In an embodiment of the present application, the data compression device can obtain multiple channel estimation results, determine multiple data to be compressed from the multiple channel estimation results, and determine a first common floating-point exponent and a common anchor point from the multiple data to be compressed.

[0068] It should be noted that in the embodiment of the present application, when channel estimation is performed on multiple subcarriers in the frequency domain and multiple channel estimation results corresponding to the multiple subcarriers are obtained, data compression is performed on the multiple channel estimation results. The multiple subcarriers may be adjacent subcarriers, and the multiple channel estimation results have a cross-correlation characteristic.

[0069] It should be noted that in an embodiment of the present application, the channel estimation result is a complex number, including a real part and an imaginary part. When performing data compression, the data compression device may process the real part and the imaginary part of the channel estimation result on adjacent subcarriers as a data block, or may process the real part or the imaginary part of the channel estimation result on adjacent subcarriers as a data block. The data compression device determines multiple data to be compressed from multiple channel estimation results, specifically, each channel estimation result may be determined as a data to be compressed, or the real part of each channel estimation result may be determined as a data to be compressed, or the imaginary part of each channel estimation result may be determined as a data to be compressed. The specific compression method and data block size can be set according to the actual and application scenarios, and are not limited in the embodiments of the present application.

[0070] It should be noted that, in the embodiments of the present application, data is generally stored in a computer or circuit in the form of binary bits, and each of the multiple channel estimation results is specifically data in the form of binary bits.

[0071] It should be noted that, in the embodiment of the present application, the data compression device can determine a common floating-point exponent for a plurality of data to be compressed, and further determine a common anchor point for a plurality of data to be compressed.

[0072] It should be noted that, in the embodiments of the present application, different methods may be used to determine the first common floating-point exponent and the common anchor point. Two determination methods are described in detail below.

[0073] In an embodiment of the present application, a data compression device determines a first common floating-point exponent and a common anchor point from a plurality of data to be compressed, including: performing block floating-point compression processing on the plurality of data to be compressed to obtain a first common floating-point exponent and a plurality of original floating-point mantissas; each original floating-point mantissa is a floating-point mantissa corresponding to the data to be compressed and the first common floating-point exponent; determining the first anchor point data to be quantized from the plurality of original floating-point mantissas; using the difference between a preset original mantissa bit width and a preset anchor point bit width as a shift value, performing shift processing on the first anchor point data to obtain first shifted data; the preset original mantissa bit width is the data bit width of each original floating-point mantissa; and quantizing the first shifted data into a common anchor point having a bit width equal to the preset anchor point bit width.

[0074] It should be noted that, in the embodiment of the present application, the data compression device may first perform block floating-point compression processing on the plurality of data to be compressed, so that the plurality of data to be compressed may be compressed into a common floating-point exponent, namely, a first common floating-point exponent, and a floating-point mantissa corresponding to each data to be compressed and the first common floating-point exponent. The floating-point mantissa corresponding to each data to be compressed and the first common floating-point exponent is an original floating-point mantissa.

[0075] It should be noted that, in an embodiment of the present application, the data compression device uses the difference between the preset original mantissa bit width and the preset anchor point bit width as the shift value to shift the first anchor point data. In fact, it uses the difference between the preset original mantissa bit width and the preset anchor point bit width as the shift value to shift the first anchor point data toward the low-bit direction to obtain the first shifted data.

[0076] In an embodiment of the present application, a data compression device performs block floating-point compression processing on multiple data to be compressed to obtain a first common floating-point exponent and multiple original floating-point mantissas, including: finding the position of the most significant bit of the multiple data to be compressed and determining it as the first bit; determining the first common floating-point exponent based on the difference between the first bit and a preset original mantissa bit width; using the first common floating-point exponent as a shift value, performing shift processing on each of the multiple data to be compressed, respectively, to obtain multiple shifted data corresponding to the multiple data to be compressed; quantizing each of the multiple shifted data into an original floating-point mantissa whose bit width is the preset original mantissa bit width, to obtain multiple original floating-point mantissas.

[0077] It should be noted that, in an embodiment of the present application, the data compression device first finds the position of the most significant bit (MSB) of multiple data to be compressed. Specifically, for a positive number, the most significant bit is the position of the first 1, and for a negative number, the most significant bit is the position of the first 0.

[0078] It should be noted that, in an embodiment of the present application, the data compression device uses the first common floating-point exponent as a shift value to perform shift processing on each of the multiple data to be compressed. In fact, it uses the first common floating-point exponent as a shift value to shift each of the multiple data to be compressed toward the low-order direction.

[0079] It should be noted that, in the embodiment of the present application, the data compression device may specifically determine the first common floating-point exponent e1 according to the following formula (1):

[0080] e1=max(MSB1-B1+1,0) (1)

[0081] Wherein, MSB1 represents the first bit, and B1 represents the preset original mantissa bit width. When the data compression device obtains e1, it can shift each to-be-compressed data uniformly in the low-order direction by the first common floating-point exponent e1 bit, obtain the shifted data corresponding to each to-be-compressed data, and then round it to the preset original mantissa bit width B1, thereby obtaining the original floating-point mantissa corresponding to each to-be-compressed data and the first common floating-point exponent e1.

[0082] In an embodiment of the present application, when a data compression device obtains multiple original floating-point mantissas, the first anchor point data to be quantized can be determined from the multiple original floating-point mantissas according to the following steps: determining the average of the multiple original floating-point mantissas as the first anchor point data; or, obtaining the maximum original floating-point mantissa and the minimum original floating-point mantissa from the multiple original floating-point mantissas; determining the average of the maximum original floating-point mantissa and the minimum original floating-point mantissa as the first anchor point data.

[0083] It should be noted that in the embodiment of the present application, the data compression device can determine a first anchor point data to be quantized from multiple original floating-point mantissas, and then calculate the difference between the preset original mantissa bit width and the preset anchor point bit width, and then shift the first anchor point data in the low-order direction by the difference, and then round it to the preset anchor point bit width to obtain a common anchor point. The common anchor point is a signed binary value.

[0084] It should be noted that, in the embodiments of the present application, the preset original mantissa bit width and the preset anchor point bit width can be set according to actual needs and application scenarios, and the embodiments of the present application are not limited thereto.

[0085] In the embodiment of the present application, the above method for determining the first public floating-point exponent and the public anchor point is a first optional implementation method. In addition, the data compression device can also determine the first public floating-point exponent and the public anchor point in another way. The second method is described in detail below.

[0086] In an embodiment of the present application, a data compression device determines a first common floating-point exponent and a common anchor point from a plurality of data to be compressed, including: determining second anchor point data to be quantized from a plurality of data to be compressed; finding the position of the most significant bit of the second anchor point data and determining it as the second bit; determining the first common floating-point exponent based on the difference between the second bit and a preset anchor point bit width; using the first common floating-point exponent as a shift value, performing a shift processing on the second anchor point data to obtain second shifted data; and quantizing the second shifted data into a common anchor point having a bit width equal to the preset anchor point bit width.

[0087] It should be noted that in an embodiment of the present application, similar to determining the first anchor point data, the data compression device may determine the mean of multiple data to be compressed as the second anchor point data; or, obtain the maximum data to be compressed and the minimum data to be compressed from multiple data to be compressed; and determine the mean of the maximum data to be compressed and the minimum data to be compressed as the second anchor point data.

[0088] It should be noted that, in the embodiment of the present application, the data compression device may specifically determine the first common floating-point exponent e1 according to the following formula (2):

[0089] e1=max(MSB2-A+1,0) (2)

[0090] Wherein, MSB2 represents the second bit, and A represents the preset anchor point width. When the data compression device obtains the first common floating point exponent e1, it can shift the second anchor point data by e1 bits in the low-order direction, round it to the preset anchor point width A, and thus obtain the common anchor point.

[0091] It should be noted that, in the embodiments of the present application, the above two methods of the first public floating-point exponent and the public anchor point are two specific methods that can be implemented and can be selected for use according to actual needs and application scenarios, and the embodiments of the present application are not limited thereto.

[0092] S102. Determine a plurality of data margins corresponding one-to-one to a plurality of data to be compressed according to the first common floating-point index and the common anchor point; each data margin is data obtained by processing a piece of data to be compressed using the first common floating-point index and the common anchor point.

[0093] In an embodiment of the present application, after obtaining the first common floating-point exponent and the common anchor point, the data compression device determines a plurality of data margins corresponding one-to-one to the plurality of data to be compressed according to the first common floating-point exponent and the common anchor point.

[0094] In an embodiment of the present application, for the first common floating-point exponent and the common anchor point determined by the first method in the above step S101, the data compression device determines multiple data margins corresponding to multiple data to be compressed according to the first common floating-point exponent and the common anchor point, including: taking the difference between the preset original mantissa bit width and the preset anchor point bit width as the shift value, shifting the common anchor point to obtain a first shift anchor point; determining the difference between each original floating-point mantissa in the multiple original floating-point mantissas and the first shift anchor point as a data margin to obtain multiple data margins.

[0095] It should be noted that, in an embodiment of the present application, the data compression device uses the difference between the preset original mantissa bit width and the preset anchor point bit width as the shift value to shift the common anchor point. In fact, it uses the difference between the preset original mantissa bit width and the preset anchor point bit width as the shift value to shift the common anchor point toward the high-bit direction.

[0096] It should be noted that, in the embodiment of the present application, for the first common floating-point exponent and common anchor point determined in the first way in the above step S101, the data compression device can directly subtract anchor<<(B1-A) from the floating-point mantissa of the first common floating-point exponent corresponding to each data to be compressed, that is, each original floating-point mantissa, to obtain the data remainder. Wherein, anchor represents the common anchor point, B1 represents the preset original mantissa bit width, A represents the preset anchor point bit width, and << represents arithmetic left shift, that is, shifting towards the high bit direction.

[0097] In an embodiment of the present application, with respect to the first common floating-point exponent and the common anchor point determined by the second method in the above step S101, the data compression device determines a plurality of data margins corresponding one-to-one to the plurality of data to be compressed according to the first common floating-point exponent and the common anchor point, including: using the first common floating-point exponent as a shift value, shifting the common anchor point, and obtaining a second shift anchor point; determining the difference between each data to be compressed in the plurality of data to be compressed and the second shift anchor point as a data margin, and obtaining a plurality of data margins.

[0098] It should be noted that, in the embodiment of the present application, the data compression device uses the first common floating-point exponent as the shift value to shift the common anchor point, which actually uses the first common floating-point exponent as the shift value to shift the common anchor point toward the high-order direction.

[0099] It should be noted that, in the embodiment of the present application, for the first common floating-point exponent and the common anchor point determined by the second method in the above step S101, the data compression device can directly subtract anchor<<e1 from each data to be compressed to obtain the data remainder. Wherein, anchor represents the common anchor point, e1 represents the first common floating-point exponent, and << represents arithmetic left shift, i.e., shifting towards the high-order direction.

[0100] It should be noted that, in the embodiment of the present application, the first common floating-point exponent actually represents the common representation range of different data, and the common anchor point actually represents the reference data between different data. The data compression device determines the corresponding data margin for each data to be compressed according to the first common floating-point exponent and the common anchor point, which can effectively reduce the amount of compressed data while ensuring accuracy.

[0101] S103, performing block floating-point compression processing on the multiple data residuals to obtain a second common floating-point exponent and multiple residual floating-point mantissas; each residual floating-point mantissa is a floating-point mantissa corresponding to a data residual and the second common floating-point exponent.

[0102] In an embodiment of the present application, when a data compression device obtains multiple data residues, it can perform block floating-point compression processing on the multiple data residues to obtain a second common floating-point exponent and multiple residue floating-point mantissas; each residue floating-point mantissa is a floating-point mantissa corresponding to a data residue and the second common floating-point exponent.

[0103] In an embodiment of the present application, a data compression device performs block floating-point compression processing on multiple data residuals to obtain a second common floating-point exponent and multiple residual floating-point mantissas corresponding one-to-one to the multiple data residuals, including: finding the position of the most significant bit of the multiple data residuals and determining it as the third bit; determining the second common floating-point exponent based on the difference between the third bit and a preset residual mantissa bit width; using the second common floating-point exponent as a shift value, performing shift processing on each data residual in the multiple data residuals to obtain multiple residual shift data corresponding one-to-one to the multiple data residuals; quantizing each residual shift data in the multiple residual shift data into a residual floating-point mantissa whose bit width is the preset residual mantissa bit width to obtain multiple residual floating-point mantissas.

[0104] It should be noted that, in an embodiment of the present application, the data compression device uses the second common floating-point exponent as a shift value to shift each of the multiple data remainders. In fact, it uses the second common floating-point exponent as a shift value to shift each of the multiple data remainders toward the low-order direction.

[0105] It should be noted that, in the embodiment of the present application, similar to the first method of determining the first common floating-point exponent in the above step S101, the data compression device performs block floating-point compression processing on the multiple data remainders, and can first find the position of the MSB of the multiple data remainders and determine it as the third bit MSB3. After that, the data compression device can specifically determine the second common floating-point exponent e2 according to the following formula (3):

[0106] e2=max(MSB3-B2+1,0) (3)

[0107] Among them, MSB2 represents the third bit, and B2 represents the preset margin mantissa bit width. When the data compression device obtains e2, it can uniformly shift each data margin in the low-order direction by the second common floating-point exponent e2 bits to obtain the margin shift data corresponding to each data margin, and then round it to the preset margin mantissa bit width B2, thereby obtaining the margin floating-point mantissa corresponding to each data margin and the second common floating-point exponent e2.

[0108] It should be noted that, in the embodiments of the present application, in the above floating-point compression of the data block, the floating-point mantissa and the common anchor point are signed numbers, and the common floating-point exponent is an unsigned positive number. The difference lies in whether the highest bit of the data is used as a sign bit.

[0109] S104: Determine the first common floating-point exponent, the second common floating-point exponent, and the common anchor point as data compression parameters of the plurality of data to be compressed, and determine the plurality of residual floating-point mantissas as data compression results of the plurality of data to be compressed.

[0110] In an embodiment of the present application, when the data compression device obtains a first common floating-point exponent, a second common floating-point exponent, a common anchor point, and a plurality of residual floating-point mantissas, it can determine the first common floating-point exponent, the second common floating-point exponent, and the common anchor point as data compression parameters of a plurality of data to be compressed, and determine the plurality of residual floating-point mantissas as data compression results of the plurality of data to be compressed.

[0111] It should be noted that, in an embodiment of the present application, the data compression device can store a first common floating-point exponent, a second common floating-point exponent, a common anchor point, and a plurality of residual floating-point mantissas, and each residual floating-point mantissa performs a reverse operation with the first common floating-point exponent, the second common floating-point exponent, and the common anchor point to recover a to-be-compressed data. Wherein, for the first method of determining the first common floating-point exponent and the common anchor point in the above step S101 and the corresponding method of determining the data residual in step S102, the to-be-compressed data can be recovered as (x<<e2+anchor<<(B1-A))<<e1, and for the second method of determining the first common floating-point exponent and the common anchor point in the above step S101 and the corresponding method of determining the data residual in step S102, the to-be-compressed data can be recovered as x<<e2+anchor<<e1.

[0112] It should be noted that, in an embodiment of the present application, for the second method of determining the first common floating-point exponent and the common anchor point in the above-mentioned step S101 and the corresponding method of determining the data margin in step S102, the determined first common floating-point exponent and the second common floating-point exponent both require a larger bit width. In this case, when storing the data compression result, the second common floating-point exponent and the difference between the first common floating-point exponent and the second common floating-point exponent can be stored. Accordingly, the data to be compressed can be restored to x<<e2+anchor<<(e2+e1-e2)=(x+anchor<<(e1-e2))<<e2.

[0113] In combination with the above steps S101 to S104, two specific data compression steps are described below.

[0114] In an embodiment of the present application, the data compression device can specifically perform the following data compression steps: Step 1: According to the position MSB1 of the MSB of the N M-bit data to be compressed in the data block, determine the first common floating-point exponent e1=max(MSB1-B1+1,0) with a bit width of E1, uniformly shift the N data to be compressed by e1 bits in the low-order direction and quantize them to B1 bits, and obtain the first-level mantissa, that is, N original floating-point mantissas. Step 2: Determine a common anchor anchor according to the N original floating-point mantissas and quantize it to A bits, and subtract anchor<<(B1-A) from each original floating-point mantissa to obtain the data remainder. Step 3: According to the position MSB3 of the MSB of the N data remainders, determine the second common floating-point exponent e2=max(MSB3-B2+1,0) with a bit width of E2, uniformly shift the N data remainders by e2 bits in the low-order direction and quantize them to B2 bits, and obtain the second-level mantissa x, that is, N remainder floating-point mantissa x. Step 4: Store N B2-bit residual floating-point mantissas x, public floating-point exponents e1 and e2, and public anchor point anchor.

[0115] Exemplarily, taking N=6, M=15, B1=8, E1=3 as an example, the data before and after block floating-point compression of N data to be compressed are given, that is, the data obtained by executing step Step1, the highest bit is the sign bit, see the following Table 1.

[0116] Table 1

[0117] Data to be compressed before quantization Raw floating point mantissa Decompressing data 000010001110110 01000111 000010001110000 000010010010001 01001001 000010010010000 000010010100011 01001010 000010010100000 000010011000100 01001100 000010011000000 000010011100110 01001110 000010011100000 000010100001100 01010001 000010100010000 <![CDATA[First common floating-point exponent e1]]> 100(4)

[0118] Among them, after the N data to be compressed are subjected to block floating point compression, that is, after executing step 1, the total number of bits is N*B1+E1.

[0119] Exemplarily, taking B2=6, E2=2A=3 as an example, the data before and after the compression of the floating points of N data remainder blocks are given, that is, the data obtained by executing step Step3, see the following Table 2.

[0120] Table 2

[0121]

[0122]

[0123] As shown in Table 2, the data that needs to be stored includes N B2-bit residual floating-point mantissas x, an E1-bit first public floating-point exponent e1, an E2-bit second public floating-point exponent e2, and an A-bit public anchor point anchor. The total number of bits that need to be stored is N*B2+E1+E2+A=44 bits.

[0124] In an embodiment of the present application, the data compression device can also specifically perform the following data compression steps: Step 1: Determine an anchor point data to be quantized based on N M-bit data to be compressed, that is, the second anchor point data in the above step, determine the first common floating point exponent e1=max(MSB2-A+1,0) based on the position MSB2 of the MSB of the data, shift the data by e1 bits in the low-order direction and quantize it to A bits as the common anchor point anchor, and then subtract anchor<<e1 from the N data to be compressed to obtain the data remainder. Step 2: Determine the common exponent e2=max(MSB3-B2+1,0) based on the position MSB3 of the MSB of the N data remainders, uniformly shift the N data remainders by e2 bits in the low-order direction and quantize them to B2 bits, and obtain the remainder floating point mantissa x. Step 3: Store N B2-bit remainder floating point mantissa x, common floating point exponents e1 and e2, and common anchor point anchor.

[0125] It can be understood that in the embodiments of the present application, second-order block floating-point compression is actually performed on multiple data to be compressed, wherein the steps performed before generating multiple residual data are actually the construction of first-order block floating points, and the steps of generating residual data and performing block floating-point compression on multiple residual data are actually the construction of second-order block floating points.

[0126] Figure 2 The following is a schematic diagram of an exemplary compression result of a first-order block floating point compression provided in an embodiment of the present application. Figure 2 As shown, in the prior art, each of the six data to be compressed can be represented by an 8-bit floating-point mantissa and a 3-bit floating-point exponent, totaling 66 bits. The first-order block floating-point scheme can reduce the required 66 bits to 51 bits, reducing the required storage resources by 23%. Figure 3 The following is a schematic diagram of an exemplary compression result of a second-order block floating point compression provided in an embodiment of the present application. Figure 3 As shown, for the same data, compared with Figure 2 The compression result shown in the figure further reduces the number of bits required to store to 44 bits. Figure 2 and Figure 3 The first filled box of each data shown in represents the sign bit of the data.

[0127] It should be noted that in the embodiments of the present application, multiple data to be compressed can all be channel estimation results. When the channel correlation is better, e2=0, there is no loss of precision in the compression from first-order block floating point to second-order block floating point. The data compression scheme of the present application can further reduce the storage resource overhead with very little loss of precision.

[0128] An embodiment of the present application provides a data compression method for channel estimation, comprising: determining a plurality of data to be compressed from a plurality of channel estimation results, and determining a first common floating-point exponent and a common anchor point from the plurality of data to be compressed; determining a plurality of data margins corresponding one-to-one to the plurality of data to be compressed according to the data margins of the first common floating-point exponent and the common anchor point; each data margin is data obtained by processing a data to be compressed by the first common floating-point exponent and the common anchor point; performing block floating-point compression processing on the plurality of data margins to obtain a second common floating-point exponent and a plurality of margin floating-point mantissas; each margin floating-point mantissa is a floating-point mantissa corresponding to a data margin and the second common floating-point exponent; determining the first common floating-point exponent, the second common floating-point exponent and the common anchor point as data compression parameters for the plurality of data to be compressed, and determining the plurality of margin floating-point mantissas as data compression results for the plurality of data to be compressed. The data compression method provided in the embodiment of the present application utilizes the cross-correlation characteristics between data and introduces a common anchor point based on the block floating-point compression technology, thereby combining the common anchor point as a benchmark for determining the compressed data. This can further reduce the amount of compressed data with a smaller loss of accuracy during the compression process, thereby reducing the storage resources occupied by data storage.

[0129] An embodiment of the present application also provides a data compression device for channel estimation. Figure 4 The present invention provides a schematic diagram of a data compression device for channel estimation according to an embodiment of the present invention. Figure 4 As shown, in an embodiment of the present application, a data compression device applied to channel estimation includes:

[0130] A first compression module 401 is used to determine a plurality of data to be compressed from a plurality of channel estimation results, and determine a first common floating-point index and a common anchor point from the plurality of data to be compressed; according to the first common floating-point index and the common anchor point, determine a plurality of data margins corresponding one to one to the plurality of data to be compressed; each data margin is data obtained by processing one data to be compressed using the first common floating-point index and the common anchor point;

[0131] A second compression module 402 is used to perform block floating point compression processing on the multiple data residuals to obtain a second common floating point exponent and multiple residual floating point mantissas; each residual floating point mantissa is a floating point mantissa corresponding to a data residual and the second common floating point exponent;

[0132] The determination module 403 is used to determine the first common floating-point exponent, the second common floating-point exponent and the common anchor point as data compression parameters of the plurality of data to be compressed, and determine the plurality of residual floating-point mantissas as data compression results of the plurality of data to be compressed.

[0133] In one embodiment of the present application, the first compression module 401 is also used to perform block floating-point compression processing on the multiple data to be compressed to obtain the first common floating-point exponent and multiple original floating-point mantissas; each original floating-point mantissa is a floating-point mantissa corresponding to the data to be compressed and the first common floating-point exponent; from the multiple original floating-point mantissas, determine the first anchor point data to be quantized; use the difference between the preset original mantissa bit width and the preset anchor point bit width as the shift value, and perform shift processing on the first anchor point data to obtain first shifted data; the preset original mantissa bit width is the data bit width of each original floating-point mantissa; quantize the first shifted data into the common anchor point with a bit width of the preset anchor point bit width.

[0134] In one embodiment of the present application, the first compression module 401 is further used to find the position of the most significant bit of the multiple data to be compressed, and determine it as the first bit; determine the first common floating-point exponent based on the difference between the first bit and the preset original mantissa bit width; use the first common floating-point exponent as a shift value to shift each of the multiple data to be compressed, respectively, to obtain a plurality of shifted data corresponding to the multiple data to be compressed; quantize each of the multiple shifted data into an original floating-point mantissa with a bit width of the preset original mantissa bit width, to obtain the multiple original floating-point mantissas.

[0135] In one embodiment of the present application, the first compression module 401 is further used to determine the average of the multiple original floating-point mantissas as the first anchor point data; or, to obtain the maximum original floating-point mantissa and the minimum original floating-point mantissa from the multiple original floating-point mantissas; and to determine the average of the maximum original floating-point mantissa and the minimum original floating-point mantissa as the first anchor point data.

[0136] In one embodiment of the present application, the first compression module 401 is further used to use the difference between the preset original mantissa bit width and the preset anchor point bit width as a shift value, shift the common anchor point, and obtain a first shift anchor point; and determine the difference between each original floating-point mantissa in the multiple original floating-point mantissas and the first shift anchor point as a data margin to obtain the multiple data margins.

[0137] In one embodiment of the present application, the first compression module 401 is further used to determine the second anchor point data to be quantized from the multiple data to be compressed; find the position of the most significant bit of the second anchor point data and determine it as the second bit; determine the first common floating-point exponent based on the difference between the second bit and the preset anchor point bit width; use the first common floating-point exponent as the shift value to shift the second anchor point data to obtain second shifted data; and quantize the second shifted data into the common anchor point having a bit width equal to the preset anchor point bit width.

[0138] In one embodiment of the present application, the first compression module 401 is further used to determine the average of the multiple data to be compressed as the second anchor point data; or, to obtain the maximum data to be compressed and the minimum data to be compressed from the multiple data to be compressed; and to determine the average of the maximum data to be compressed and the minimum data to be compressed as the second anchor point data.

[0139] In one embodiment of the present application, the first compression module 401 is further used to use the first common floating-point exponent as a shift value to shift the common anchor point to obtain a second shift anchor point; and determine the difference between each of the multiple data to be compressed and the second shift anchor point as a data margin to obtain the multiple data margins.

[0140] In one embodiment of the present application, the second compression module 402 is further used to find the position of the most significant bit of the multiple data remainders and determine it as the third bit; determine the second common floating-point exponent based on the difference between the third bit and the preset remainder mantissa bit width; use the second common floating-point exponent as the shift value to shift each of the multiple data remainders to obtain a plurality of remainder shift data corresponding one to one to the multiple data remainders; quantize each of the multiple remainder shift data into a remainder floating-point mantissa with a bit width equal to the preset remainder mantissa bit width to obtain the multiple remainder floating-point mantissas.

[0141] Figure 5 A schematic diagram of the structure of a terminal provided in an embodiment of the present application. Figure 5 As shown, in an embodiment of the present application, the terminal includes: a processor 501, a memory 502 and a communication bus 503;

[0142] The communication bus 503 is used to realize the communication connection between the processor 501 and the memory 502;

[0143] The processor 501 is used to execute the computer program stored in the memory 502 to implement the above-mentioned data compression method applied to channel estimation.

[0144] An embodiment of the present application also provides a chip, including a processor and an interface, wherein the processor obtains a computer program through the interface, and the processor is used to run the computer program to implement the above-mentioned data compression method applied to channel estimation.

[0145] The embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and the computer program, when executed by a processor, implements the above-mentioned data compression method for channel estimation. The computer-readable storage medium may be a volatile memory (volatile memory), such as a random access memory (Random-Access Memory, RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (Read-Only Memory, ROM), a flash memory (flash memory), a hard disk (Hard Disk Drive, HDD) or a solid-state drive (Solid-State Drive, SSD); or it may be a respective device including one or any combination of the above memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc.

[0146] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0147] The present application is described with reference to implementation flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0148] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which is implemented in the implementation flow diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0149] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing the steps in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0150] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed in the utility model should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A data compression method for channel estimation, characterized in that: include: Determine a plurality of data to be compressed from a plurality of channel estimation results, and determine a first common floating point exponent and a common anchor point from the plurality of data to be compressed; Determine, according to the first public floating-point exponent and the public anchor point, a plurality of data margins corresponding one to one to the plurality of data to be compressed; each data margin is data obtained by processing one data to be compressed using the first public floating-point exponent and the public anchor point; Performing block floating-point compression processing on the multiple data remainders to obtain a second common floating-point exponent and multiple remainder floating-point mantissas; each remainder floating-point mantissa is a floating-point mantissa corresponding to a data remainder and the second common floating-point exponent; The first common floating-point exponent, the second common floating-point exponent, and the common anchor point are determined as data compression parameters of the plurality of data to be compressed, and the plurality of residual floating-point mantissas are determined as data compression results of the plurality of data to be compressed.

2. The method according to claim 1, characterized in that: The determining a first common floating-point exponent and a common anchor point from the plurality of data to be compressed comprises: Performing block floating-point compression processing on the plurality of data to be compressed to obtain the first common floating-point exponent and a plurality of original floating-point mantissas; each original floating-point mantissa is a floating-point mantissa corresponding to a data to be compressed and the first common floating-point exponent; Determining first anchor point data to be quantized from the plurality of original floating-point mantissas; The difference between a preset original mantissa bit width and a preset anchor point bit width is used as a shift value, and the first anchor point data is shifted to obtain first shifted data; the preset original mantissa bit width is the data bit width of each original floating point mantissa; The first shifted data is quantized into the common anchor point having a bit width equal to the preset anchor point bit width.

3. The method according to claim 2, characterized in that The performing block floating-point compression on the plurality of data to be compressed to obtain the first common floating-point exponent and a plurality of original floating-point mantissas comprises: Finding the position of the most significant bit of the plurality of data to be compressed and determining it as the first bit; Determining the first public floating-point exponent based on a difference between the first bit and the preset original mantissa bit width; Using the first common floating-point exponent as a shift value, respectively performing shift processing on each of the plurality of data to be compressed, to obtain a plurality of shifted data corresponding to the plurality of data to be compressed; Each shifted data in the plurality of shifted data is quantized into an original floating-point mantissa whose bit width is the preset original mantissa bit width, to obtain the plurality of original floating-point mantissas.

4. The method according to claim 2, characterized in that: The step of determining first anchor point data to be quantized from the plurality of original floating-point mantissas comprises: Determine the mean value of the plurality of original floating-point mantissas as the first anchor point data; Alternatively, obtaining a maximum original floating-point mantissa and a minimum original floating-point mantissa from the plurality of original floating-point mantissas; The average of the maximum original floating-point mantissa and the minimum original floating-point mantissa is determined as the first anchor point data.

5. The method according to any one of claims 2 to 4, characterized in that: The step of determining, according to the first common floating-point exponent and the common anchor point, a plurality of data margins corresponding one-to-one to the plurality of data to be compressed comprises: Taking the difference between the preset original mantissa bit width and the preset anchor point bit width as a shift value, performing shift processing on the common anchor point to obtain a first shift anchor point; The difference between each original floating-point mantissa of the multiple original floating-point mantissas and the first shift anchor point is determined as a data margin to obtain the multiple data margins.

6. The method according to claim 1, characterized in that The determining a first common floating-point exponent and a common anchor point from the plurality of data to be compressed comprises: Determining second anchor point data to be quantized from the plurality of data to be compressed; Finding the position of the most significant bit of the second anchor point data and determining it as the second bit; Determining the first public floating-point exponent based on a difference between the second bit width and a preset anchor point bit width; Using the first common floating-point exponent as a shift value, performing a shift process on the second anchor point data to obtain second shifted data; The second shifted data is quantized into the common anchor point having a bit width equal to the preset anchor point bit width.

7. The method according to claim 6, characterized in that The step of determining the second anchor point data to be quantized from the plurality of data to be compressed comprises: Determine the mean value of the plurality of data to be compressed as the second anchor point data; Alternatively, obtaining the maximum data to be compressed and the minimum data to be compressed from the plurality of data to be compressed; The average of the maximum data to be compressed and the minimum data to be compressed is determined as the second anchor point data.

8. The method according to claim 6, characterized in that The step of determining, according to the first common floating-point exponent and the common anchor point, a plurality of data margins corresponding one-to-one to the plurality of data to be compressed comprises: Using the first common floating-point exponent as a shift value, performing a shift process on the common anchor point to obtain a second shift anchor point; The difference between each to-be-compressed data in the plurality of to-be-compressed data and the second shift anchor point is determined as a data margin to obtain the plurality of data margins.

9. The method according to claim 1, characterized in that: The performing block floating point compression processing on the plurality of data remainders to obtain a second common floating point exponent and a plurality of remainder floating point mantissas corresponding one-to-one to the plurality of data remainders comprises: Finding the position of the most significant bit of the plurality of data margins and determining it as the third bit; Determining the second common floating-point exponent based on a difference between the third bit and a preset remainder mantissa bit width; Using the second common floating-point exponent as a shift value, performing a shift process on each of the plurality of data remainders to obtain a plurality of remainder shift data corresponding one-to-one to the plurality of data remainders; Each of the plurality of residue shift data is quantized into a residue floating-point mantissa whose bit width is the preset residue mantissa bit width, to obtain the plurality of residue floating-point mantissas.

10. A data compression device for channel estimation, characterized in that: include: A first compression module, configured to determine a plurality of data to be compressed from a plurality of channel estimation results, and to determine a first common floating-point exponent and a common anchor point from the plurality of data to be compressed; Determine, according to the first public floating-point exponent and the public anchor point, a plurality of data margins corresponding one to one to the plurality of data to be compressed; each data margin is data obtained by processing one data to be compressed using the first public floating-point exponent and the public anchor point; A second compression module is used to perform block floating point compression processing on the multiple data residuals to obtain a second common floating point exponent and multiple residual floating point mantissas; each residual floating point mantissa is a floating point mantissa corresponding to a data residual and the second common floating point exponent; A determination module is used to determine the first common floating-point exponent, the second common floating-point exponent and the common anchor point as data compression parameters of the plurality of data to be compressed, and to determine the plurality of residual floating-point mantissas as data compression results of the plurality of data to be compressed.

11. A terminal, characterized in that: include: processor, memory, and communication bus; The communication bus is used to realize the communication connection between the processor and the memory; The processor is used to execute the computer program stored in the memory to implement the data compression method for channel estimation according to any one of claims 1 to 9.

12. A chip, characterized in that: It comprises a processor and an interface, the processor obtains a computer program through the interface, and the processor is used to run the computer program to implement the data compression method applied to channel estimation according to any one of claims 1 to 9.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the data compression method for channel estimation according to any one of claims 1 to 9 is implemented.