A Beidou short message voice transmission method and device
By sampling, LPC filtering, encoding and compressing Beidou short message voice signals, the problem of low Beidou short message voice transmission efficiency is solved and efficient voice transmission is achieved.
Patent Information
- Application Number
- CN202210320220.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-29
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-03-29
AI Technical Summary
Beidou short message voice transmission efficiency is low, and existing technology cannot effectively solve this problem, resulting in low transmission efficiency and long-term occupation of satellite resources.
By sampling, quantizing, and framing the speech signal to be transmitted and then performing LPC filtering, the attribute data and type of the speech frame are extracted, a super frame is constructed, and coding and vector quantization are performed. Combined with the LZ77 compression algorithm, a compressed signal is generated for Beidou short message transmission. .
It has improved the efficiency of Beidou short message voice transmission and can transmit 20 seconds of voice within 20 seconds, solving the problem of low transmission efficiency and improving the efficiency of Beidou short message communication.
Smart Images

Figure CN114664314B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data transmission, and in particular to a Beidou short message voice transmission method and device. Background Art
[0002] The data capacity of a single frame of Beidou short message is small, with 14 Chinese characters for Beidou-2 and 1,000 Chinese characters for Beidou-3. Beidou short message communication covers a wide area and is widely used. If voice is transmitted through short messages, it will bring greater convenience and more applications to Beidou short message communication.
[0003] If existing voice transmission technology is not compressed, multiple frames are needed to transmit short-duration voice, which is inefficient and occupies satellite resources for a long time, resulting in low transmission efficiency.
[0004] There is no effective solution to the above problems. Summary of the invention
[0005] In view of this, the object of the present invention is to provide a Beidou short message voice transmission method and device to alleviate the technical problem of low efficiency of existing Beidou short message voice transmission.
[0006] In a first aspect, an embodiment of the present invention provides a Beidou short message voice transmission method, comprising: obtaining a voice signal to be transmitted, and sampling, quantizing and framing the voice signal to be transmitted in sequence to obtain a target voice signal; performing LPC filtering on the target voice signal, and determining the attribute data of the filtered target voice signal and the type of each voice frame, wherein the attribute data includes: LPC coefficients of each voice frame, LPC gains of each voice frame, fundamental frequency period of each voice frame and wavelet decomposition coefficients of characteristic waves of each voice frame, and the types of the voice frames include: unvoiced and voiced sounds; constructing a super frame based on the correlation of the voice frame and the filtered target voice signal, and encoding the super frame based on the types of each voice frame to obtain a super frame code; performing vector quantization on the super frame code and the attribute data of the voice frame contained in the super frame code to obtain a voice compression code, and compressing the voice compression code to obtain a compressed signal; sending the compressed signal to a receiving device in a Beidou short message transmission mode, so that the receiving device parses the compressed signal to obtain the voice signal to be transmitted.
[0007] Furthermore, the attribute data of the filtered target speech signal and the type of each speech frame are determined, including: inputting the filtered target speech signal into the LPC linear prediction model to obtain the LPC coefficient and the LPC gain; based on the cepstrum method, extracting the fundamental frequency period of the residual of the filtered target speech signal to obtain the fundamental frequency period; extracting the characteristic wave of the residual of the filtered target speech signal to obtain the characteristic wave of the filtered target speech signal; calculating the amplitude of the characteristic wave, and performing wavelet decomposition on the amplitude of the characteristic wave to obtain the wavelet decomposition coefficient; calculating the autocorrelation coefficient of each speech frame based on the residual of the filtered target speech signal; if the autocorrelation coefficient is greater than or equal to a preset threshold, the type of the speech frame is voiced speech; if the autocorrelation coefficient is less than the preset threshold, the type of the speech frame is unvoiced speech.
[0008] Furthermore, based on the correlation of the speech frames, the speech frames in the filtered target speech signal are merged according to a preset number to obtain a super frame.
[0009] Further, based on the types of the respective speech frames, the super frame is encoded to obtain a super frame code, including: based on the types of the speech frames contained in the super frame, determining the type of the super frame, wherein the types of the super frame include: unvoiced sound, unvoiced sound, medium voiced sound and heavily voiced sound; based on the type of the super frame, encoding the super frame to obtain the super frame code.
[0010] Furthermore, the attribute data of the super frame code and the speech frame contained in the super frame code are vector quantized to obtain a speech compression code, including: vector quantizing the first attribute data of the super frame code and the speech frame contained in the super frame code to obtain a first speech compression code, wherein the first attribute data includes: LPC coefficient, LPC gain, fundamental frequency period; based on the type of super frame corresponding to the super frame code, vector quantizing the wavelet decomposition coefficients of the speech frame contained in the super frame code to obtain a second speech compression code; constructing the speech compression code based on the first speech compression code and the second speech compression code.
[0011] Furthermore, the wavelet decomposition coefficients include: L3, H3, H2 and H1, and based on the type of the super frame corresponding to the super frame encoding, the wavelet decomposition coefficients of the speech frame contained in the super frame encoding are vector quantized, including: if the type of the super frame corresponding to the super frame encoding is unvoiced, L3, H3, H2 and H1 are vector quantized; if the type of the super frame corresponding to the super frame encoding is unvoiced and voiced, L3, H3 and H2 are vector quantized; if the type of the super frame corresponding to the super frame encoding is medium voiced, L3 and H3 are vector quantized; if the type of the super frame corresponding to the super frame encoding is heavy voiced, L3 is vector quantized.
[0012] Furthermore, compressing the speech compression code to obtain a compressed signal includes: using an LZ77 compression algorithm to compress the speech compression code to obtain the compressed signal.
[0013] In the second aspect, an embodiment of the present invention also provides a Beidou short message voice transmission device, comprising: an acquisition unit, a determination unit, a construction unit, a processing unit and a sending unit, wherein the acquisition unit is used to acquire a voice signal to be transmitted, and to sample, quantize and frame the voice signal to be transmitted in sequence to obtain a target voice signal; the determination unit is used to perform LPC filtering on the target voice signal, and determine the attribute data of the filtered target voice signal and the type of each voice frame, wherein the attribute data includes: the LPC coefficient of each voice frame, the LPC gain of each voice frame, the fundamental frequency period of each voice frame and the wavelet decomposition coefficient of the characteristic wave of each voice frame , the types of speech frames include: unvoiced and voiced; the construction unit is used to construct a super frame based on the correlation of speech frames and the filtered target speech signal, and encode the super frame based on the types of each speech frame to obtain a super frame code; the processing unit is used to vector quantize the super frame code and the attribute data of the speech frame contained in the super frame code to obtain a speech compression code, and compress the speech compression code to obtain a compressed signal; the sending unit is used to send the compressed signal to a receiving device in a Beidou short message transmission mode, so that the receiving device parses the compressed signal to obtain the speech signal to be transmitted.
[0014] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising a memory and a processor, wherein the memory is used to store a program that supports the processor to execute the method described in the first aspect above, and the processor is configured to execute the program stored in the memory.
[0015] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored.
[0016] In the embodiment of the present invention, by performing the first-level voice compression and the second-level byte compression on the voice signal to be transmitted, wherein the first-level voice compression adopts the waveform interpolation technology, performs LPC (Linear Predict Code) linear filtering on the voice signal after sampling and framing the voice signal to be transmitted, extracts the characteristic wave and the fundamental frequency period of the residual after LPC filtering, performs wavelet decomposition on the characteristic wave amplitude, distinguishes the unvoiced and voiced sounds at the same time, and forms a super frame, and according to the type of the super frame, performs quantization coding on the fundamental frequency period, LPC coefficient, wavelet decomposition coefficient, and unvoiced and voiced sound flag. The second-level byte compression performs repeated byte scanning and merge coding on the coded bytes, and finally transmits them to the receiving device, so as to achieve the purpose of transmitting 20 seconds of voice in Beidou short message communication, thereby solving the problem that the efficiency of Beidou short message voice transmission is low, thereby achieving the technical effect of improving the efficiency of Beidou short message voice transmission.
[0017] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0018] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 A flowchart of a Beidou short message voice transmission method provided by an embodiment of the present invention;
[0021] Figure 2 A flow chart of wavelet extraction provided by an embodiment of the present invention;
[0022] Figure 3 A schematic diagram of a Beidou short message voice transmission device provided by an embodiment of the present invention;
[0023] Figure 4 A schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] Embodiment 1:
[0026] According to an embodiment of the present invention, an embodiment is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0027] Figure 1 is a flow chart according to an embodiment of the present invention, such as Figure 1 As shown, the method comprises the following steps:
[0028] Step S102, obtaining a voice signal to be transmitted, and sequentially sampling, quantizing and framing the voice signal to be transmitted to obtain a target voice signal;
[0029] It should be noted that the parameters corresponding to the target speech signal are 8k sampling, 16-bit encoding, and a frame length of 22.5ms.
[0030] Step S104, performing LPC filtering on the target speech signal, and determining the attribute data of the filtered target speech signal and the type of each speech frame, wherein the attribute data includes: LPC coefficients of each speech frame, LPC gains of each speech frame, pitch periods of each speech frame and wavelet decomposition coefficients of characteristic waves of each speech frame, and the types of speech frames include: unvoiced and voiced;
[0031] Step S106, constructing a super frame based on the correlation of the speech frames and the filtered target speech signal, and encoding the super frame based on the type of each speech frame to obtain a super frame code;
[0032] Step S108, performing vector quantization on the super frame code and the attribute data of the speech frame contained in the super frame code to obtain a speech compression code, and compressing the speech compression code to obtain a compressed signal;
[0033] Step S110: sending the compressed signal to a receiving device in a Beidou short message transmission mode, so that the receiving device parses the compressed signal to obtain the voice signal to be transmitted.
[0034] In the embodiment of the present invention, by performing the first-level voice compression and the second-level byte compression on the voice signal to be transmitted, wherein the first-level voice compression adopts the waveform interpolation technology, performs LPC (Linear Predict Code) linear filtering on the voice signal after sampling and framing the voice signal to be transmitted, extracts the characteristic wave and the fundamental frequency period of the residual after LPC filtering, performs wavelet decomposition on the characteristic wave amplitude, distinguishes the unvoiced and voiced sounds at the same time, and forms a super frame, and according to the type of the super frame, performs quantization coding on the fundamental frequency period, LPC coefficient, wavelet decomposition coefficient, and unvoiced and voiced sound flag. The second-level byte compression performs repeated byte scanning and merge coding on the coded bytes, and finally transmits them to the receiving device, so as to achieve the purpose of transmitting 20 seconds of voice in Beidou short message communication, thereby solving the problem that the efficiency of Beidou short message voice transmission is low, thereby achieving the technical effect of improving the efficiency of Beidou short message voice transmission.
[0035] In the embodiment of the present invention, step S104 includes the following steps:
[0036] Step S11, inputting the filtered target speech signal into an LPC linear prediction model to obtain the LPC coefficient and the LPC gain;
[0037] Step S12, extracting the pitch period of the residual of the filtered target speech signal based on the cepstrum method to obtain the pitch period;
[0038] Step S13, extracting characteristic waves from the residual of the filtered target speech signal to obtain characteristic waves of the filtered target speech signal;
[0039] Step S14, calculating the amplitude of the characteristic wave, and performing wavelet decomposition on the amplitude of the characteristic wave to obtain the wavelet decomposition coefficient;
[0040] Step S15, calculating the autocorrelation coefficient of each speech frame based on the residual of the filtered target speech signal;
[0041] Step S16, if the autocorrelation coefficient is greater than or equal to a preset threshold, the type of the speech frame is voiced sound;
[0042] Step S17: If the autocorrelation coefficient is less than the preset threshold, the type of the speech frame is unvoiced.
[0043] In the embodiment of the present invention, after LPC filtering is performed on the target speech signal to obtain the filtered target speech signal, LPC analysis is first performed on the filtered target speech signal. The LPC (Linear Prediction Coding) linear prediction model considers that speech has periodicity, and the nth signal can be expressed by the first p signals, as shown in the following formula:
[0044]
[0045] The model parameter p = 10, and the LPC coefficient a can be obtained by solving the linear equation i , the model can also be expressed as:
[0046]
[0047] The LPC coefficient a can be obtained from the LPC linear prediction model and the filtered target speech signal. i and LPC gain G.
[0048] Then, the residual of the filtered target speech signal is subjected to pitch period extraction, and the pitch period P(n), (fmax(t), t=n) is extracted by using the cepstrum method.
[0049] First, the residual r(t) after LPC filtering is Fourier transformed to obtain the spectrum R(ω);
[0050] R(ω)=DFT(r(t))
[0051] Take the logarithm of the spectrum and perform an inverse Fourier transform:
[0052] f(t)=IDFT(Ln(R(ω)))
[0053] Take the maximum amplitude in the time domain as the fundamental pitch period P(n);
[0054] max(f(t)),t=P(n)
[0055] The autocorrelation coefficient of the residual r(t) is calculated and compared with the threshold T. If it is greater than T, it is considered to be voiced V, otherwise it is unvoiced U:
[0056]
[0057] The residual of the filtered target speech signal is subjected to characteristic wave extraction, and the characteristic wave s(n,φ) extraction formula is as follows;
[0058]
[0059] The amplitude of the characteristic wave can be calculated by the following formula:
[0060]
[0061] like Figure 2 As shown, the amplitude of the characteristic wave is subjected to three-level wavelet decomposition, and Daubechies is used as the wavelet basis to extract the L3, H3, H2 and H1 coefficients.
[0062] In the embodiment of the present invention, step S106 includes the following steps:
[0063] Step S21, based on the correlation of the speech frames, the speech frames in the filtered target speech signal are merged according to a preset number to obtain a super frame.
[0064] In this application, the correlation between speech frames is used, 4 frames are merged into a super frame, and the unvoiced and voiced sounds are classified, with U representing the unvoiced sound and V representing the voiced sound, and the classification is performed according to the frequency of occurrence of the pattern, as shown in the following table:
[0065]
[0066]
[0067] In the embodiment of the present invention, step S108 includes the following steps:
[0068] Step S31, performing vector quantization on the super frame code and first attribute data of the speech frame contained in the super frame code to obtain a first speech compression code, wherein the first attribute data includes: LPC coefficient, LPC gain, pitch period;
[0069] Step S32, based on the type of the super frame corresponding to the super frame code, vector quantize the wavelet decomposition coefficients of the speech frame contained in the super frame code to obtain a second speech compression code;
[0070] Step S33: construct the voice compression code based on the first voice compression code and the second voice compression code.
[0071] Specifically, the wavelet decomposition coefficients include: L3, H3, H2 and H1, and step S32 includes the following steps:
[0072] If the type of the super frame corresponding to the super frame encoding is unvoiced, vector quantization is performed on L3, H3, H2 and H1;
[0073] If the type of the super frame corresponding to the super frame encoding is unvoiced and voiced sound, vector quantization is performed on L3, H3 and H2;
[0074] If the type of the super frame corresponding to the super frame encoding is medium voiced sound, vector quantization is performed on L3 and H3;
[0075] If the type of the super frame corresponding to the super frame encoding is heavy voiced sound, vector quantization is performed on L3.
[0076] In the embodiment of the present invention, the fundamental frequency period, the unvoiced and voiced sound mode, the LPC coefficient (the LPC coefficient is converted into a line spectrum and then the LSF is quantized), the gain, and the wavelet decomposition coefficient are vector quantized by using the VQ quantization method; according to the different types of super frames, the amplitude quantization of the characteristic wave is subdivided; if the super frame type is unvoiced, the wavelets L3, H3, H2, and H1 are quantized; if the super frame type is unvoiced and voiced sound, the wavelets L3, H3, and H2 are quantized; if the super frame type is medium voiced sound, the wavelets L3 and H3 are quantized; if the super frame type is heavily voiced sound, the wavelet L3 is quantized.
[0077] The super frame code, pitch period, subband amplitude, LSF coefficient, gain, and wavelet decomposition coefficient form a speech compression code. The super frame after merging 4 frames is compressed to 60 bits, and the speech rate is about 666.7bps, which meets the requirement of 14000 bits to transmit 20s speech.
[0078] In the embodiment of the present invention, step S108 further includes:
[0079] The speech compression code is compressed using the LZ77 compression algorithm to obtain the compressed signal.
[0080] In an embodiment of the present invention, after obtaining the speech compression code, the LZ77 compression algorithm is used to scan the binary string of the speech compression code to find repeated strings, and the repeated strings and positions are extracted to form a (p, l, c) tuple for encoding and compression, where p represents the starting position of the dictionary character when the longest match occurs; l is the length of the longest matching string, and c refers to the next character after the longest match ends.
[0081] Step S110 will be described in detail below.
[0082] After receiving the compressed signal, the receiving device extracts the voice compression code according to the protocol, decompresses it using LZ77, and obtains the super frame type, pitch period, LSF code, gain and wavelet decomposition coefficient code;
[0083] The LSF coefficient, gain, and wavelet decomposition coefficient are restored through the quantization code table, the characteristic wave amplitude is restored through the wavelet decomposition coefficient, the residual after LPC filtering is restored through the characteristic wave amplitude combined with the fixed phase (voiced sound) and the random phase (unvoiced sound), and the residual, gain, LPC coefficient, etc. are synthesized and filtered to restore the single-frame speech signal;
[0084] The frames are assembled to form a complete voice signal to be transmitted, thereby completing the transmission process of the voice signal to be transmitted.
[0085] Embodiment 2:
[0086] An embodiment of the present invention also provides a Beidou short message voice transmission device, which is used to execute the Beidou short message voice transmission method provided by the above content of the embodiment of the present invention. The following is a specific introduction to the Beidou short message voice transmission device provided by the embodiment of the present invention.
[0087] like Figure 3 As shown, Figure 3 Schematic diagram of the above-mentioned Beidou short message voice transmission device, which includes: an acquisition unit 10, a determination unit 20, a construction unit 30, a processing unit 40 and a sending unit 50.
[0088] The acquisition unit 10 is used to acquire the voice signal to be transmitted, and sequentially sample, quantize and frame the voice signal to be transmitted to obtain a target voice signal;
[0089] The determining unit 20 is used to perform LPC filtering on the target speech signal and determine the attribute data of the filtered target speech signal and the type of each speech frame, wherein the attribute data includes: LPC coefficients of each speech frame, LPC gains of each speech frame, pitch periods of each speech frame and wavelet decomposition coefficients of characteristic waves of each speech frame, and the types of speech frames include: unvoiced and voiced;
[0090] The construction unit 30 is used to construct a super frame based on the correlation of the speech frames and the filtered target speech signal, and encode the super frame based on the type of each speech frame to obtain a super frame code;
[0091] The processing unit 40 is used to perform vector quantization on the super frame code and the attribute data of the speech frame contained in the super frame code to obtain a speech compression code, and compress the speech compression code to obtain a compressed signal;
[0092] The sending unit 50 is used to send the compressed signal to the receiving device in a Beidou short message transmission mode, so that the receiving device parses the compressed signal to obtain the voice signal to be transmitted.
[0093] In the embodiment of the present invention, by performing the first-level voice compression and the second-level byte compression on the voice signal to be transmitted, wherein the first-level voice compression adopts the waveform interpolation technology, performs LPC (Linear Predict Code) linear filtering on the voice signal after sampling and framing the voice signal to be transmitted, extracts the characteristic wave and the fundamental frequency period of the residual after LPC filtering, performs wavelet decomposition on the characteristic wave amplitude, distinguishes the unvoiced and voiced sounds at the same time, and forms a super frame, and according to the type of the super frame, performs quantization coding on the fundamental frequency period, LPC coefficient, wavelet decomposition coefficient, and unvoiced and voiced sound flag. The second-level byte compression performs repeated byte scanning and merge coding on the coded bytes, and finally transmits them to the receiving device, so as to achieve the purpose of transmitting 20 seconds of voice in Beidou short message communication, thereby solving the problem that the efficiency of Beidou short message voice transmission is low, thereby achieving the technical effect of improving the efficiency of Beidou short message voice transmission.
[0094] Embodiment three:
[0095] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein the memory is used to store a program that supports the processor to execute the method described in the above embodiment 1, and the processor is configured to execute the program stored in the memory.
[0096] See also Figure 4 An embodiment of the present invention further provides an electronic device 100, comprising: a processor 60, a memory 61, a bus 62 and a communication interface 63, wherein the processor 60, the communication interface 63 and the memory 61 are connected via the bus 62; the processor 60 is used to execute an executable module stored in the memory 61, such as a computer program.
[0097] The memory 61 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 63 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0098] The bus 62 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0099] Among them, the memory 61 is used to store programs, and the processor 60 executes the program after receiving the execution instruction. The method executed by the device for flow process definition disclosed in any embodiment of the above-mentioned embodiment of the present invention can be applied to the processor 60 or implemented by the processor 60.
[0100] The processor 60 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 60. The above processor 60 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiments of the present invention can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 61, and the processor 60 reads the information in the memory 61 and completes the steps of the above method in combination with its hardware.
[0101] Embodiment 4:
[0102] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in the above-mentioned embodiment 1 are executed.
[0103] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" 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 or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0104] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0105] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0106] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0107] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0108] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A Beidou short message voice transmission method, characterized in that: include: Acquire a voice signal to be transmitted, and sequentially sample, quantize and frame the voice signal to be transmitted to obtain a target voice signal; Performing LPC filtering on the target speech signal, and determining the attribute data of the filtered target speech signal and the type of each speech frame, wherein the attribute data includes: LPC coefficients of each speech frame, LPC gains of each speech frame, pitch periods of each speech frame and wavelet decomposition coefficients of characteristic waves of each speech frame, and the types of the speech frames include: unvoiced and voiced; Based on the correlation of the speech frames and the filtered target speech signal, a super frame is constructed, and based on the type of each speech frame, the super frame is encoded to obtain a super frame code; Performing vector quantization on the super frame code and the attribute data of the speech frame contained in the super frame code to obtain a speech compression code, and compressing the speech compression code to obtain a compressed signal; The compressed signal is sent to a receiving device in a Beidou short message transmission mode, so that the receiving device parses the compressed signal to obtain the voice signal to be transmitted.
2. The method according to claim 1, characterized in that: Determine the attribute data of the filtered target speech signal and the type of each speech frame, including: Inputting the filtered target speech signal into an LPC linear prediction model to obtain the LPC coefficient and the LPC gain; Based on the cepstrum method, extracting the pitch period of the residual of the filtered target speech signal to obtain the pitch period; Extracting characteristic waves from the residual of the filtered target speech signal to obtain characteristic waves of the filtered target speech signal; Calculating the amplitude of the characteristic wave, and performing wavelet decomposition on the amplitude of the characteristic wave to obtain the wavelet decomposition coefficient; Calculating the autocorrelation coefficient of each speech frame based on the residual of the filtered target speech signal; If the autocorrelation coefficient is greater than or equal to a preset threshold, the type of the speech frame is voiced sound; If the autocorrelation coefficient is less than the preset threshold, the type of the speech frame is unvoiced.
3. The method according to claim 1, characterized in that Based on the correlation of the speech frames and the filtered target speech signal, a super frame is constructed, including: Based on the correlation of the speech frames, the speech frames in the filtered target speech signal are merged according to a preset number to obtain a super frame.
4. The method according to claim 1, characterized in that: Based on the types of the respective speech frames, the super frame is encoded to obtain super frame encoding, including: Determine the type of the super frame based on the type of speech frame included in the super frame, wherein the type of the super frame includes: unvoiced, unvoiced, voiced, moderately voiced and heavily voiced; Based on the type of the super frame, the super frame is encoded to obtain the super frame code.
5. The method according to claim 4, characterized in that The super frame code and the attribute data of the speech frame contained in the super frame code are vector quantized to obtain speech compression code, including: Performing vector quantization on the super frame code and first attribute data of the speech frame contained in the super frame code to obtain a first speech compression code, wherein the first attribute data includes: LPC coefficient, LPC gain, and pitch period; Based on the type of the super frame corresponding to the super frame code, vector quantization is performed on the wavelet decomposition coefficients of the speech frame contained in the super frame code to obtain a second speech compression code; The speech compression code is constructed based on the first speech compression code and the second speech compression code.
6. The method according to claim 5, characterized in that The wavelet decomposition coefficients include: L3, H3, H2 and H1, then based on the type of the super frame corresponding to the super frame encoding, the wavelet decomposition coefficients of the speech frame included in the super frame encoding are vector quantized, including: If the type of the super frame corresponding to the super frame encoding is unvoiced, vector quantization is performed on L3, H3, H2 and H1; If the type of the super frame corresponding to the super frame encoding is unvoiced and voiced sound, vector quantization is performed on L3, H3 and H2; If the type of the super frame corresponding to the super frame encoding is medium voiced sound, vector quantization is performed on L3 and H3; If the type of the super frame corresponding to the super frame encoding is heavy voiced sound, vector quantization is performed on L3.
7. The method according to claim 1, characterized in that The speech compression code is compressed to obtain a compressed signal, including: The speech compression code is compressed using the LZ77 compression algorithm to obtain the compressed signal.
8. A Beidou short message voice transmission device, characterized in that: include: an acquisition unit, a determination unit, a construction unit, a processing unit and a sending unit, wherein, The acquisition unit is used to acquire the voice signal to be transmitted, and sequentially sample, quantize and frame the voice signal to be transmitted to obtain a target voice signal; The determining unit is used to perform LPC filtering on the target speech signal and determine the attribute data of the filtered target speech signal and the type of each speech frame, wherein the attribute data includes: LPC coefficients of each speech frame, LPC gains of each speech frame, pitch periods of each speech frame and wavelet decomposition coefficients of characteristic waves of each speech frame, and the types of the speech frames include: unvoiced and voiced; The construction unit is used to construct a super frame based on the correlation of the speech frames and the filtered target speech signal, and encode the super frame based on the type of each speech frame to obtain a super frame code; The processing unit is used to perform vector quantization on the super frame code and the attribute data of the speech frame contained in the super frame code to obtain a speech compression code, and compress the speech compression code to obtain a compressed signal; The sending unit is used to send the compressed signal to a receiving device in a Beidou short message transmission mode, so that the receiving device parses the compressed signal to obtain the voice signal to be transmitted.
9. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory is used to store a program for supporting the processor to execute the method according to any one of claims 1 to 7, and the processor is configured to execute the program stored in the memory.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are executed.
