Signal decompression method and device and electronic equipment

By correcting the compression factor of the CPRI signal and fixing the output bit width to 16 bits during the decompression process, the problem of waste of calculation bit width and compatibility of multiple bit widths in the prior art is solved, and efficient signal solution is achieved compression.

CN119521306APending Publication Date: 2025-02-25HUBEI SILANG COMMUNICATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411639579.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-15
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

The existing CPRI signal compression and decompression methods cause waste of calculation bit width when processing original signals that are not 8 bit integer multiples, and it is difficult to compatible with original signal decompression of multiple bit widths.

Method used

By determining the compression factor correction value based on the input multiple compression factors of the decompression module, and decompressing the compressed signal per frame according to the modified compression factor, ensuring that the number of signal bits output by the decompression is fixed to 16 bits.

Benefits of technology

It effectively reduces the complexity and calculation amount of subsequent signal processing, avoids waste of calculation bit width, and is compatible with the original signal decompression of multiple bit widths.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119521306A_ABST
    Figure CN119521306A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a signal decompression method and device and electronic equipment, and relates to the technical field of communication, and the method comprises the steps: determining a compression factor correction value according to N compression factors inputted into a decompression module; correcting the N compression factors according to the compression factor correction value, the compressed signal bit width and the target output bit width after the signal is decompressed to obtain N corrected compression factors; and for each frame of compressed signal, decompressing the frame of compressed signal according to the corresponding corrected compression factor to obtain a decompressed signal. Through the signal decompression method, decompression of original signals with various bit widths can be compatible, and waste of bit width calculation is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a signal decompression method and device, and an electronic device. Background Art

[0002] CPRI (Common Public Radio Interface) is a digital interface standard used in wireless communication systems, used to connect the radio frequency unit (RRU) and baseband unit (BBU) of a wireless base station. The CPRI compression scheme refers to adding compression and decompression processing modules inside the RRU and BBU. For uplink reception, the RRU compresses the original signal into the target signal through the compression module, and the target signal is transmitted to the BBU through the CPRI standard interface. Inside the BBU, the compressed signal is restored through the decompression module. RRUs from different manufacturers use different uplink bit widths, and the BBU is required to support decompression of different uplink bit widths.

[0003] The existing signal compression and decompression method is: let the number of bits of the original signal x be Q s , compress the basic frame, the compression algorithm outputs signal y, and the number of compressed bits is Q q , output the compressed data block public index K (referred to as compression factor), where y = x·2 -K After CPRI transmission, the decompressed input signal y' is obtained, and the number of information bits of the output signal x' is Q c , where x'=y'·2 K . Conventional decompression algorithms require Q c =Q s , that is, the number of bits of the original information is restored by decompression according to the transmitted compression factor K. However, in order to match the data alignment method of the DSP (Digital Signal Processor), when Q s When the value is not an integer multiple of 8 bits, it will inevitably lead to a waste of multiple bits of calculation width. Summary of the invention

[0004] In order to solve one of the above-mentioned technical defects, a signal decompression method and device, and an electronic device are provided in an embodiment of the present application.

[0005] An embodiment of the present invention provides a signal decompression method, the method comprising:

[0006] Determine the compression factor correction value according to N compression factors input to the decompression module, wherein the N compression factors correspond to N frames of compressed signals;

[0007] According to the compression factor correction value, the compressed signal bit width and the target output bit width after signal decompression, the N compression factors are corrected to obtain N corrected compression factors;

[0008] For each frame of compressed signal, the frame compressed signal is decompressed according to the corresponding corrected compression factor to obtain a decompressed signal.

[0009] Optionally, the step of determining the compression factor correction value according to the N compression factors input to the decompression module includes:

[0010] Search for the maximum compression factor among the N compression factors input to the decompression module;

[0011] The maximum value of the compression factor is determined as the compression factor correction value.

[0012] Optionally, the step of correcting the N compression factors according to the compression factor correction value, the compressed signal bit width, and the target output bit width after signal decompression to obtain N corrected compression factors includes:

[0013] For each of the compression factors, calculating a first difference between the target output bit width of the signal after decompression and the bit width of the compressed signal;

[0014] calculating a second difference between the compression factor and the compression factor correction value;

[0015] The sum of the first difference and the second difference is determined as the corrected compression factor.

[0016] Optionally, before the step of determining the compression factor correction value according to the N compression factors input to the decompression module, the method further comprises:

[0017] Determining whether the bit width of an original signal corresponding to the compressed signal is greater than or equal to the target output bit width;

[0018] If yes, after receiving the compressed signal, the step of determining the compression factor correction value according to the N compression factors input to the decompression module is performed.

[0019] Optionally, the target output bit width is 16 bits.

[0020] An embodiment of the present invention further provides a signal decompression device, wherein the device comprises:

[0021] A determination module, used to determine a compression factor correction value according to N compression factors input to the decompression module, wherein the N compression factors correspond to N frames of compressed signals;

[0022] A compression factor correction module, used to correct the N compression factors according to the compression factor correction value, the compressed signal bit width and the target output bit width after signal decompression to obtain N corrected compression factors;

[0023] The decompression module is used to decompress each frame of compressed signal according to the corresponding corrected compression factor to obtain a decompressed signal.

[0024] Optionally, the determining module includes:

[0025] The first submodule is used to search for the maximum compression factor from the N compression factors input to the decompression module;

[0026] The second submodule is used to determine the maximum value of the compression factor as the compression factor correction value.

[0027] Optionally, the compression factor correction module includes:

[0028] A third submodule, configured to calculate, for each compression factor, a first difference between the target output bit width of the signal after decompression and the bit width of the compressed signal;

[0029] A fourth submodule, configured to calculate a second difference between the compression factor and the compression factor correction value;

[0030] The fifth submodule is configured to determine the sum of the first difference and the second difference as a corrected compression factor.

[0031] Optionally, the device further comprises:

[0032] A judging module, configured to judge whether the bit width of the original signal corresponding to the compressed signal is greater than or equal to the target output bit width before the determining module determines the compression factor correction value according to the N compression factors input to the decompression module;

[0033] The calling module is used for calling the determining module to perform the operation of determining the compression factor correction value according to the N compression factors input to the decompression module after receiving the compression signal if the judgment result of the judging module is yes.

[0034] In another aspect of the implementation of the present invention, there is also provided an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; the memory is used to store computer programs; and the processor is used to implement any of the above-mentioned signal decompression methods when executing the program stored in the memory.

[0035] The signal decompression scheme disclosed in the present application determines the compression factor correction value according to the N compression factors input to the decompression module; corrects the N compression factors according to the compression factor correction value, the bit width of the compressed signal and the target output bit width after the signal is decompressed to obtain N corrected compression factors; for each frame of compressed signal, decompresses the compressed signal of the frame according to the corresponding corrected compression factor to obtain the decompressed signal. The signal decompression scheme disclosed in the present application, on the one hand, corrects the compression factor before decompression and adopts a fixed decompression output bit width, which can effectively reduce the complexity and calculation amount of subsequent signal processing; on the other hand, it can be compatible with the decompression of original signals with various bit widths to avoid the waste of calculation bit width. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0037] Figure 1 is a flowchart showing the steps of a signal decompression method according to an embodiment of the present application;

[0038] Figure 2 is a flowchart showing the steps of the BBU decompression method of an embodiment of the present application;

[0039] Figure 3 It is a graph showing the relationship between N compression factors and compressed data;

[0040] Figure 4 It is a structural block diagram of a signal decompression device according to an embodiment of the present application. DETAILED DESCRIPTION

[0041] In order to make the technical solutions and advantages in the embodiments of the present application more clearly understood, the exemplary embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than an exhaustive list of all the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.

[0042] The CPRI compression solution refers to adding compression and decompression processing modules inside the RRU and BBU. For uplink reception, the RRU compresses the original signal into the target signal through the compression module, and the target signal is transmitted to the BBU through the CPRI standard interface. Inside the BBU, the compressed signal is restored through the decompression module. Assume that the number of bits of the original signal x is Q s , compress the basic frame, the compression algorithm outputs the compressed signal y, and the number of compressed bits is Q q, output the compressed data block public index K (referred to as compression factor), where y = x·2 -K After CPRI transmission, the decompressed input signal y' is obtained, and the number of information bits of the output signal x' is Q c , where x'=y'·2 K . Conventional decompression algorithms require Q c =Q s , that is, according to the transmitted compression factor K, the number of bits of the original information is restored by decompression. However, in order to match the data alignment of DSP, when Q s When the value is not an integer multiple of 8 bits, it will inevitably lead to a waste of multiple bits of calculation width. In order to reduce the amount of subsequent signal processing operations and reduce the waste of calculation width, s ≥16bit, a new decompression algorithm is proposed in this application. By modifying the compression factor K, the number of bits of the decompressed output signal Q can be ensured. c =16bit, the decompression algorithm basically does not introduce quantization error, ensuring data accuracy.

[0043] The signal decompression scheme provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0044] As attached Figure 1 As shown, the signal decompression method of the embodiment of the present application includes the following steps:

[0045] Step 101: Determine a compression factor correction value according to N compression factors input to a decompression module.

[0046] Among them, N compression factors correspond to N frames of compressed signals, and N is a positive integer greater than or equal to 2.

[0047] The signal decompression method provided in the embodiment of the present application can be applied to electronic devices such as BBU. The BBU is provided with a storage medium, and the storage medium stores a signal decompression computer program. When the signal decompression computer program is executed by the decompression module in the BBU, the signal compressed by the RRU is decompressed.

[0048] The RRU compresses the original signal to generate N frames of compressed signals. Each frame of compressed signal corresponds to a compression factor, which is the N compression factors input to the decompression module in the BBU. For example, the RRU uses 32 sampling points as a basic frame and performs CPRI compression on the original signal. For a single OFDM symbol, the BBU receives 4384 Q q =8-bit compressed signal (i.e., I / Q baseband data stream) and the corresponding 137 compression factors, Q q That is, the number of compressed bits.

[0049] An alternative method of determining the compression factor correction value based on the N compression factors input to the decompression module may be as follows:

[0050] The maximum compression factor is searched from the N compression factors input to the decompression module; and the maximum compression factor is determined as the compression factor correction value.

[0051] It should be noted that the above is only an example of taking the maximum value among N compression factors as the compression factor correction value.

[0052] In an optional embodiment, before determining the compression factor correction value based on the N compression factors input to the decompression module, it is determined whether the original signal bit width corresponding to the compressed signal is greater than or equal to the target output bit width; if so, after receiving the compressed signal, step 101 is executed, that is, the compression factor correction value is determined based on the N compression factors input to the decompression module. If not, there is no need to execute the signal decompression process shown in the embodiment of the present application, and the existing decompression method is used without correcting the compression factor.

[0053] The target output bit width may be 16 bits. Accordingly, when it is determined that the bit width of the compressed original signal is greater than or equal to 16 bits, the signal decompression process shown in the embodiment of the present application is executed.

[0054] Step 102: According to the compression factor correction value, the compressed signal bit width and the target output bit width after signal decompression, the N compression factors are corrected to obtain N corrected compression factors.

[0055] An optional method of correcting N compression factors according to the compression factor correction value, the compressed signal bit width, and the target output bit width after signal decompression to obtain N corrected compression factors may be as follows:

[0056] For each compression factor, a first difference between the target output bit width after signal decompression and the compressed signal bit width is calculated; a second difference between the compression factor and the compression factor correction value is calculated; and the sum of the first difference and the second difference is determined as the corrected compression factor.

[0057] In the actual implementation process, when the compression factor correction value is the maximum value among the N compression factors, the following formula can be used to correct the compression factor:

[0058] K i '=KK max +(Q c -Q q ), where Q c The value is fixed to 16.

[0059] Among them, K i ' represents the corrected compression factor, Qq represents the bit width of the compressed signal, K represents the compression factor before correction; Q c is the target output bit width. For example, when the target output bit width can be 16 bits, the value can be fixed to 16.

[0060] After the compression factor correction value is determined by the compression factors corresponding to N frames of compressed signals, the above process can be repeated to calculate the corrected compression factor corresponding to each frame of compressed signal. Therefore, the number of modified compression factors is also N.

[0061] Step 103: for each frame of compressed signal, decompress the frame of compressed signal according to the corresponding corrected compression factor to obtain a decompressed signal.

[0062] The signal decompression method provided in the embodiment of the present application determines the compression factor correction value according to the N compression factors input to the decompression module; corrects the N compression factors according to the compression factor correction value, the bit width of the compressed signal and the target output bit width after the signal is decompressed to obtain N corrected compression factors; for each frame of compressed signal, decompresses the compressed signal of the frame according to the corresponding corrected compression factor to obtain the decompressed signal. The signal decompression scheme disclosed in the present application, on the one hand, corrects the compression factor before decompression and adopts a fixed decompression output bit width, which can effectively reduce the complexity and calculation amount of subsequent signal processing; on the other hand, it can be compatible with the decompression of original signals with various bit widths to avoid the waste of calculation bit width.

[0063] The signal decompression method of the embodiment of the present application is described below with a specific example.

[0064] In this specific example, when the BBU decompresses the received compressed signal frame, it adjusts (ie, corrects) the decompression factor K, and when the original data bit width is greater than or equal to 16 bits, it ensures that the decompressed output bit width is 16 bits.

[0065] The flow chart of BBU decompression method is as follows Figure 2 As shown, the following steps are included:

[0066] Step 201: Find the maximum value K of the compression factor K max .

[0067] The compression factor of the input decompression module is fed into the maximum value search module to find the maximum value K max .

[0068] Step 202: The compression factor K is corrected to K'.

[0069] Correct the input compression factor and get a new compression factor K'=KK max +16-Q qAfter obtaining the compression factor correction value K', record the compression factor correction value as 16-Q q- K max It should be noted that K max As the compression factor correction value. q- K max When the compression factor correction value is used, the sum of the compression factor correction value and K is directly determined as K'. max When used as a compression factor correction value, K' needs to be finally determined based on the compression factor correction value, the compressed signal bit width, the target output bit width after signal decompression, and the K value.

[0070] Step 203: Use the compression factor K' to reduce Q q Decompress bit compressed data and output 16-bit decompressed data.

[0071] The signal decompression method provided in this specific example is compatible with the decompression of various original signal bit widths (16-bit to 23-bit). The fixed 16-bit decompression output bit width can effectively reduce the complexity and calculation amount of subsequent signal processing and avoid waste of calculation bit width.

[0072] The signal decompression method of the embodiment of the present application is described below with a specific example.

[0073] In this example, the TDD 5GNR conventional CP (Cyclic Prefix) configuration is used, and a single OFDM symbol (except the 0th symbol) contains 4384 sampling points as the scenario, and the signal decompression method is described in more detail:

[0074] Assume that the RRU uses 32 sampling points as a basic frame and performs CPRI compression on the original signal. For a single OFDM symbol, the BBU receives 4384 Q q =8bit compressed signal (i.e. I / Q baseband data stream) and the corresponding 137 compression factors, such as Figure 3 When the decompression module of the BBU compresses the received signal compression frame, it performs the following steps:

[0075] S1: The 137 compression factors K of the input decompression module i , i=1,2,…,137 enter the maximum value search module and find the maximum value K max .

[0076] S2: 137 compression factors K for the input i After correction, we get a new compression factor K of 137 i '. K i '=KK max+(Q c -Q q ), where Q c The value of is 16.

[0077] S3: Use the new compression factor K i 'To Q q bit compressed data I j / Q j Decompress them separately to get I j ' / Q j '. I j '=I j 2 Ki’ , where j=32(i-1)+1~32i.

[0078] The signal decompression method provided in the present application is used to decompress the original signal larger than 16 bits into 16 bits, and the loss of quantization performance can be basically ignored.

[0079] SQNR (signal-to-quantization noise ratio) is used to evaluate the decompression damage caused by decompressing the original signal larger than 16 bits into 16 bits. SQNR is defined as follows:

[0080]

[0081] Among them, s d (i) is the input of the compression module at the compression end, It is the output of the decompression module on the decompression side.

[0082] Assume the number of input bits of the compression module at the compression end is Q s 16 to 23 bits, output bit number Q q 8 bits, the input bit number Q of the decompression module at the decompression end q 8 bits, output bit number Q c The decompressed SQNR is shown in Table 1:

[0083] Table 1

[0084]

[0085] The signal decompression method provided in the present application is compatible with the decompression of various original signal bit widths such as (16bit~23bit), and adopts a fixed 16bit decompression output bit width, which can effectively reduce the complexity and computational complexity of subsequent signal processing.

[0086] In an optional embodiment of the present application, the signal between the radio frequency unit and the baseband unit (BBU) of the wireless base station can be time synchronized based on the decompressed signal to ensure the consistency of data transmission between the two. The data synchronization process may include the following steps:

[0087] Down-sampling the sampled signal stored in the memory to generate at least three groups of first main synchronization signal sequences;

[0088] Calculating the correlation between each signal in the at least three groups of first primary synchronization signal sequences and the sampling signal, and obtaining sequence information and first position information with the greatest correlation with the sampling signal;

[0089] Determine a time domain signal in a cell identification group internal number based on the sequence information;

[0090] Determine a second primary synchronization signal sequence in the sampled signal based on the first position information and a symbol length of the second primary synchronization signal sequence, wherein the symbol length of the second primary synchronization signal sequence is greater than the symbol length of the first primary synchronization signal sequence;

[0091] Calculating the correlation between each signal in the second primary synchronization signal sequence and the time domain signal, and obtaining the frequency offset information and the second position information having the greatest correlation with the time domain signal;

[0092] Time synchronization is performed according to the frequency offset information and the second position information.

[0093] In an optional embodiment of the present application, the down-sampling processing of the sampled signal stored in the memory to generate at least three groups of first primary synchronization signal sequences includes:

[0094] Determining a downsampling rate based on a bandwidth of a master synchronization signal;

[0095] Based on the down-sampling rate, the sampling signal stored in the memory is down-sampled to generate at least three groups of first main synchronization signals.

[0096] In an optional embodiment of the present application, calculating the correlation between each signal in the at least three groups of first primary synchronization signal sequences and the sampled signal to obtain the sequence information and the first position information with the greatest correlation with the sampled signal includes:

[0097] Performing conjugate calculations on the at least three groups of first primary synchronization signal sequences respectively to obtain at least three groups of conjugate symmetric signals;

[0098] Perform sliding correlation calculation on the sampled signal through at least three groups of the conjugate symmetric signals to obtain at least three groups of first correlation value sequences representing correlation with the sampled signal;

[0099] performing normalization processing on at least three groups of the first correlation value sequences to calculate a power value of each piece of data information in each of the first correlation value sequences;

[0100] The sequence information and the first position information having the greatest correlation with the sampling signal are determined based on the largest power value.

[0101] In an optional embodiment of the present application, determining the second primary synchronization signal sequence in the sampled signal based on the first position information and the symbol length of the second primary synchronization signal sequence includes:

[0102] Determine a starting position of a second primary synchronization signal sequence in the sampled signal based on the first position information;

[0103] Determining an end position of a second local primary synchronization signal based on the start position and a symbol length of the second primary synchronization signal sequence;

[0104] The second primary synchronization signal sequence is determined based on the start position and the end position.

[0105] In an optional embodiment of the present application, the starting position is a first position code corresponding to the first position information or a position code corresponding to the first position code minus a first preset symbol length.

[0106] In an optional embodiment of the present application, the end position is the sum of the start position and the symbol length of the local primary synchronization signal sequence;

[0107] Or, the end position is the sum of the start position, the symbol length of the local primary synchronization signal sequence, and a second set symbol length.

[0108] In an optional embodiment of the present application, calculating the correlation between each signal in the second primary synchronization signal sequence and the time domain signal to obtain the frequency offset information and the second position information having the greatest correlation with the time domain signal includes:

[0109] Performing conjugate calculation and frequency shift calculation on the time domain signal to obtain a second correlation value sequence;

[0110] Performing sliding correlation calculation on the second primary synchronization signal sequence by using the second correlation value sequence to obtain a second correlation value sequence;

[0111] performing normalization processing on the second correlation value sequences to calculate power values ​​of each of the second correlation value sequences;

[0112] Based on the maximum power value in the second correlation value sequence, the frequency offset information and the second position information with the greatest correlation with the time domain signal are obtained.

[0113] In an optional embodiment of the present application, the down-sampling process of the sampled signal stored in the memory generates at least three groups of first main synchronization signals, and the method further includes:

[0114] Downsampling is performed on the signal to be downsampled sent by the analog-to-digital converter to obtain the sampling signal.

[0115] Figure 4 A structural block diagram of a signal decompression device for implementing an embodiment of the present application.

[0116] The signal decompression device provided in the embodiment of the present application includes the following functional modules:

[0117] The determination module 401 is used to determine the compression factor correction value according to the N compression factors input to the decompression module, wherein the N compression factors correspond to N frames of compressed signals;

[0118] A compression factor correction module 402 is used to correct the N compression factors according to the compression factor correction value, the compressed signal bit width and the target output bit width after signal decompression to obtain N corrected compression factors;

[0119] The decompression module 403 is used to decompress each frame of compressed signal according to the corresponding corrected compression factor to obtain a decompressed signal.

[0120] Optionally, the determining module includes:

[0121] The first submodule is used to search for the maximum compression factor from the N compression factors input to the decompression module;

[0122] The second submodule is used to determine the maximum value of the compression factor as the compression factor correction value.

[0123] Optionally, the compression factor correction module includes:

[0124] A third submodule, configured to calculate, for each compression factor, a first difference between the target output bit width of the signal after decompression and the bit width of the compressed signal;

[0125] A fourth submodule, configured to calculate a second difference between the compression factor and the compression factor correction value;

[0126] The fifth submodule is configured to determine the sum of the first difference and the second difference as a corrected compression factor.

[0127] Optionally, the device further comprises:

[0128] A judging module, configured to judge whether the bit width of the original signal corresponding to the compressed signal is greater than or equal to the target output bit width before the determining module determines the compression factor correction value according to the N compression factors input to the decompression module;

[0129] The calling module is used for calling the determining module to perform the operation of determining the compression factor correction value according to the N compression factors input to the decompression module after receiving the compression signal if the judgment result of the judging module is yes.

[0130] The embodiments of the present application provide Figure 4 The signal decompression device shown can achieve Figure 1 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0131] The signal decompression device provided in the embodiment of the present application determines the compression factor correction value according to the N compression factors input to the decompression module; corrects the N compression factors according to the compression factor correction value, the bit width of the compressed signal, and the target output bit width after signal decompression to obtain N corrected compression factors; for each frame of compressed signal, decompresses the compressed signal of the frame according to the corresponding corrected compression factor to obtain a decompressed signal. The signal decompression device disclosed in the present application, on the one hand, corrects the compression factor before decompression and adopts a fixed decompression output bit width, which can effectively reduce the complexity and calculation amount of subsequent signal processing; on the other hand, it can be compatible with the decompression of original signals with various bit widths to avoid the waste of calculation bit width.

[0132] The embodiment of the present invention further provides an electronic device, comprising a decompression module, a communication interface, a memory and a communication bus, wherein the decompression module, the communication interface and the memory communicate with each other via the communication bus. The electronic device may be a BBU.

[0133] Memory, used to store computer programs;

[0134] The decompression module is used to implement the signal decompression methods shown in the above method embodiments when executing the program stored in the memory.

[0135] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0136] The communication interface is used for communication between the above terminal and other devices.

[0137] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0138] In another embodiment of the present invention, a computer-readable storage medium is provided, in which instructions are stored. When the computer-readable storage medium is executed on an electronic device, the electronic device implements the signal decompression method described in any one of the above embodiments.

[0139] In another embodiment of the present invention, a computer program product including instructions is provided. When the computer program product is run on an electronic device, the electronic device implements the signal decompression method described in any one of the above embodiments.

[0140] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code. The scheme in the embodiments of the present application can be implemented in various computer languages, for example, C language, VHDL language, Verilog language, object-oriented programming language Java and literal scripting language JavaScript, etc.

[0141] The present application is described with reference to the 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 the 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 processes in the flowchart and / or block diagram. 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.

[0142] These computer program instructions may also be stored in a computer-readable memory capable of directing 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 an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

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

[0144] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0145] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0146] In this application, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or can communicate with each other; it can be a direct connection, or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0147] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0148] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A signal decompression method, characterized in that: The method comprises: Determining a compression factor correction value according to N compression factors input to a decompression module, wherein the N compression factors correspond to N frames of compressed signals; According to the compression factor correction value, the compressed signal bit width and the target output bit width of the signal after decompression, the N compression factors are corrected to obtain N corrected compression factors; For each frame of compressed signal, the frame compressed signal is decompressed according to the corresponding corrected compression factor to obtain a decompressed signal.

2. The method according to claim 1, characterized in that The step of determining the compression factor correction value according to the N compression factors input to the decompression module comprises: Search for the maximum compression factor among the N compression factors input to the decompression module; The maximum value of the compression factor is determined as the compression factor correction value.

3. The method according to any one of claims 1 to 2, characterized in that: The step of correcting the N compression factors according to the compression factor correction value, the compressed signal bit width, and the target output bit width after signal decompression to obtain N corrected compression factors includes: For each of the compression factors, calculating a first difference between the target output bit width of the signal after decompression and the bit width of the compressed signal; calculating a second difference between the compression factor and the compression factor correction value; The sum of the first difference and the second difference is determined as the corrected compression factor.

4. The method according to claim 1, characterized in that: Before the step of determining the compression factor correction value according to the N compression factors input to the decompression module, the method further comprises: Determining whether the bit width of an original signal corresponding to the compressed signal is greater than or equal to the target output bit width; If yes, after receiving the compressed signal, the step of determining the compression factor correction value according to the N compression factors input to the decompression module is performed.

5. The method according to claim 1, characterized in that The target output bit width is 16 bits.

6. A signal decompression device, characterized in that: The device comprises: A determination module, used to determine a compression factor correction value according to N compression factors input to the decompression module, wherein the N compression factors correspond to N frames of compressed signals; A compression factor correction module, used to correct the N compression factors according to the compression factor correction value, the compressed signal bit width and the target output bit width after signal decompression to obtain N corrected compression factors; The decompression module is used to decompress each frame of compressed signal according to the corresponding corrected compression factor to obtain a decompressed signal.

7. The device according to claim 6, characterized in that The determination module comprises: The first submodule is used to search for the maximum compression factor from the N compression factors input to the decompression module; The second submodule is used to determine the maximum value of the compression factor as the compression factor correction value.

8. The device according to any one of claims 6 to 7, characterized in that: The compression factor correction module comprises: A third submodule, configured to calculate, for each compression factor, a first difference between the target output bit width of the signal after decompression and the bit width of the compressed signal; A fourth submodule, configured to calculate a second difference between the compression factor and the compression factor correction value; The fifth submodule is configured to determine the sum of the first difference and the second difference as a corrected compression factor.

9. The device according to claim 6, characterized in that The device also includes: A judging module, configured to judge whether the bit width of the original signal corresponding to the compressed signal is greater than or equal to the target output bit width before the determining module determines the compression factor correction value according to the N compression factors input to the decompression module; The calling module is used for calling the determining module to perform the operation of determining the compression factor correction value according to the N compression factors input to the decompression module after receiving the compression signal if the judgment result of the judging module is yes.

10. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, used to implement the signal decompression method as described in any one of claims 1 to 5 when executing a program stored in a memory.