Audio transmission method and device, medium and product
By using psychoacoustic modules and lossless compression algorithms to process audio signals in audio wireless transmission, and combining Halow WiFi transmission, the problems of packet loss, delay and sound quality degradation in audio wireless transmission are solved, and high-quality and anti-interference audio transmission effect is achieved.
Patent Information
- Application Number
- CN202411181408.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2044-08-27
AI Technical Summary
Existing audio wireless transmission technologies are prone to packet loss, delay or sound quality degradation, resulting in reduced audio playback effect.
By obtaining the initial audio signal in the audio signal that meets the preset conditions, using the psychoacoustic module and lossless compression algorithm to process it, wireless transmission is performed in combination with the Halow WiFi transmission method to ensure that the receiver can effectively restore and play high-quality audio signals.
While reducing bandwidth usage, it retains key information of the audio signal, improves sound quality, enhances anti-interference ability and extends transmission distance, thereby avoiding packet loss and delay and improving audio playback effect.
Smart Images

Figure CN119626232A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of audio transmission technology. Specifically, the present application relates to an audio transmission method, device, medium and product. Background Art
[0002] With the continuous development of audio transmission technology and the popularization of electronic devices, more and more users are beginning to use mobile phones, computers and other electronic devices to wirelessly receive audio signals and play audio.
[0003] However, wireless audio transmission is easily affected by environmental factors, interference sources and obstacles, which may lead to packet loss, delay or sound quality degradation during audio transmission, thereby reducing the audio playback effect. Summary of the invention
[0004] The embodiments of the present application provide an audio transmission method, device, medium and product, which can solve the problem that the existing wireless audio transmission is prone to packet loss, delay or sound quality degradation, which reduces the audio playback effect. To achieve this purpose, the embodiments of the present application provide the following solutions.
[0005] According to one aspect of an embodiment of the present application, there is provided an audio transmission method for a sending object of an audio signal, comprising:
[0006] Acquire an initial audio signal that meets a preset condition in an audio signal, and process the initial audio signal based on a first preset method to obtain a target audio signal, wherein the preset condition includes reaching a threshold perceived by a human ear, and the first preset method includes a preset lossless compression method and a preset error correction method;
[0007] The target audio signal is wirelessly sent to a receiving object based on a second preset method so that the receiving object obtains an initial audio signal corresponding to the target audio signal and plays the initial audio signal according to the first preset method, and the second preset method includes a Halow WiFi transmission method.
[0008] In a possible implementation, the obtaining of an initial audio signal that meets a preset condition in the audio signal includes:
[0009] A sampling signal of the audio signal is obtained, and an initial audio signal satisfying a preset condition is extracted from the sampling signal using a psychoacoustic module.
[0010] In a possible implementation, the extracting the initial audio signal satisfying a preset condition from the sampled signal by using a psychoacoustic module includes:
[0011] The initial audio signal is extracted by using a preset equation corresponding to the psychoacoustic module, wherein the preset equation includes:
[0012] x_p[n]=(x[n]-α*x[n-1]-β*x[n-2])*W(t), where x_p[n] is the initial audio signal, α and β are parameters for controlling the masking effect, W(t) is the psychoacoustic weight function, and x[n] represents the nth sampled signal.
[0013] In a possible implementation, the preset lossless compression method includes a lossless compression algorithm, and processing the initial audio signal based on the first preset method includes:
[0014] The initial audio signal is compressed using a lossless compression algorithm based on a preset compression ratio to generate a compressed audio signal.
[0015] In a possible implementation, the preset error correction method includes an adaptive error correction algorithm, and the processing of the initial audio signal based on the first preset method further includes:
[0016] Redundant information corresponding to the compressed audio signal is acquired, and the redundant information is added to the compressed audio signal to generate the initial audio signal, wherein the redundant information includes at least one of an error correction code and a checksum.
[0017] According to one aspect of an embodiment of the present application, there is provided an audio transmission method for a receiving object of a target audio signal, comprising:
[0018] Receiving a target audio signal sent by a sending object based on a second preset method, where the target audio signal is obtained by the sending object obtaining an initial audio signal that meets a preset condition in an audio signal, and processing the initial audio signal based on a first preset method, where the preset condition includes reaching a threshold perceived by a human ear, the first preset method includes a preset lossless compression method and a preset error correction method, and the second preset method includes a Halow WiFi transmission method;
[0019] An initial audio signal corresponding to the target audio signal is acquired according to the first preset manner, and the initial audio signal is played.
[0020] In a possible implementation, the first preset mode includes a preset lossless compression mode and a preset error correction mode, and acquiring the initial audio signal corresponding to the target audio signal according to the first preset mode includes:
[0021] Identifying and correcting errors in the target audio signal based on the preset error correction method;
[0022] The target audio signal after error correction is decompressed according to the preset lossless compression method to obtain the initial audio signal.
[0023] According to one aspect of an embodiment of the present application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the method described above.
[0024] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described above are implemented.
[0025] According to one aspect of an embodiment of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps of the method described above are implemented.
[0026] The beneficial effects of the technical solution provided by the embodiment of the present application are:
[0027] The audio transmission method provided by the present application obtains an initial audio signal in an audio signal that reaches a threshold perceived by the human ear, processes the initial audio signal based on a first preset method, and wirelessly sends the target audio signal to a receiving object based on a second preset method so that the receiving object obtains the initial audio signal corresponding to the target audio signal and plays the initial audio signal according to the first preset method. The embodiment of the present application can retain key information of the audio signal while reducing bandwidth occupancy, improve sound quality, and enhance the anti-interference ability of the audio signal and extend the transmission distance, thereby avoiding packet loss and delay in wireless audio transmission and improving audio playback effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following is a brief introduction to the drawings required for use in describing the embodiments of the present application.
[0029] Figure 1 A flowchart of an audio transmission method applied to a sending object provided in an embodiment of the present application;
[0030] Figure 2 A flowchart of audio signal processing provided in an embodiment of the present application;
[0031] Figure 3 A flowchart of an audio transmission method applied to a receiving object provided in an embodiment of the present application;
[0032] Figure 4 A structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0033] The embodiments of the present application are described below in conjunction with the drawings in the present application. It should be understood that the implementation methods described below in conjunction with the drawings are exemplary descriptions for explaining the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions of the embodiments of the present application.
[0034] It will be understood by those skilled in the art that, unless specifically stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the terms "including" and "comprising" used in the embodiments of the present application refer to that the corresponding features can be implemented as the presented features, information, data, steps, operations, elements and / or components, but do not exclude the implementation of other features, information, data, steps, operations, elements, components and / or combinations thereof supported by the present technical field. It should be understood that when we say that an element is "connected" or "coupled" to another element, the one element may be directly connected or coupled to the other element, or it may refer to that the one element and the other element establish a connection relationship through an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein indicates at least one of the items defined by the term, for example, "A and / or B" indicates that it is implemented as "A", or is implemented as "A", or is implemented as "A and B".
[0035] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.
[0036] The following describes several exemplary embodiments to illustrate the technical solutions of the embodiments of the present application and the technical effects produced by the technical solutions of the present application. It should be noted that the following embodiments can refer to, draw on or combine with each other, and the same terms, similar features and similar implementation steps in different embodiments will not be described repeatedly.
[0037] The audio transmission method, device, medium and product provided in this application are intended to solve at least one technical problem existing in the prior art.
[0038] In an embodiment of the present application, an audio transmission method is provided, which is used for the sending object of the audio signal, and the sending object can be a mobile phone, a computer, a headset, a microphone, or other objects that can process audio signals and wirelessly transmit audio signals. The corresponding receiving object of the target audio signal can also be a mobile phone, a computer, a headset, a microphone, or other objects that can receive the wirelessly transmitted target audio signal and obtain the initial audio signal according to the target audio signal.
[0039] Alternatively, if Figure 1 , 2 As shown, the audio transmission method includes:
[0040] S101: acquiring an initial audio signal that meets a preset condition from an audio signal, and processing the initial audio signal based on a first preset method to obtain a target audio signal.
[0041] Optionally, the preset condition includes reaching a threshold value perceived by human ears, and the first preset method includes a preset lossless compression method and a preset error correction method. The initial audio signal that meets the preset condition can be obtained by psychoacoustic modeling (PAM).
[0042] Optionally, the acquired audio signal is a continuous-time audio signal, and acquiring the initial audio signal that meets the preset conditions in the audio signal includes: acquiring a sampling signal of the audio signal, and using a psychoacoustic module to extract the initial audio signal that meets the preset conditions in the sampling signal. Among them, psychoacoustics recognizes how humans perceive sound, emphasizing which frequencies and volume signals the human ear is more sensitive to, and which can be ignored. By quantifying the human ear's non-uniform perception of audio signals, the PAM module can effectively identify and remove frequency bands that the human ear cannot hear or is not sensitive to (i.e., the sound in this frequency band does not meet the preset conditions), thereby greatly reducing the amount of data.
[0043] Optionally, the acquired audio signal is an analog signal, and the sampled signal is a sampled signal obtained by sampling the acquired audio signal based on a preset time interval, wherein the size of the preset time interval corresponding to the sampling operation can be determined according to sampling accuracy, audio playback requirements and other conditions.
[0044] Optionally, the process of extracting the initial audio signal by the psychoacoustic module can be expressed by a formula, wherein the initial audio signal that meets preset conditions in the sampled signal is extracted by using the psychoacoustic module, including: extracting the initial audio signal by using a preset equation corresponding to the psychoacoustic module, the preset equation including: x_p[n]=(x[n]-α*x[n-1]-β*x[n-2])*W(t), wherein x_p[n] is the initial audio signal, α and β are parameters for controlling the masking effect, wherein W(t) is the psychoacoustic weight function, and audio signals of different frequencies have different corresponding psychoacoustic weight functions, and x[n] represents the nth sampled signal.
[0045] In one embodiment, the audio frequency at time t is f, then A is a constant used to adjust the amplitude of the function. The values of ɑ1, β1 and γ correspond to one of f, and the specific values can be determined based on the auditory test data. Among them, in the preset formula, the size of ɑ and β can be adjusted according to the size of the psychoacoustic weight function. Specifically, when the psychoacoustic weight function is less than the preset threshold, α=α1*(1+1 / W(t)+1 / (W(t)*2)), β=β1*(1+1 / W(t)).
[0046] Optionally, the preset lossless compression method includes a lossless compression algorithm, and processing the initial audio signal based on the first preset method includes: compressing the initial audio signal using the lossless compression algorithm based on a preset compression ratio to generate a compressed audio signal.
[0047] In one embodiment, the lossless compression algorithm can compress the initial audio signal into FLAC (Free Lossless Audio Codec), and reduce the amount of audio data transmission by compressing it into this format, while retaining key information of the audio signal to ensure high fidelity of sound quality. The initial audio signal can also be compressed into other formats according to the selected algorithm and format requirements.
[0048] Alternatively, the formula D 压缩 =D 初始 *C represents the amount of data before and after compression. 压缩 Indicates the data volume of the original audio signal obtained after compression, D 初始 represents the data volume of the initial audio signal before compression, and C represents the compression ratio. The compression ratio can be set according to actual needs or the type of compression algorithm used.
[0049] Optionally, the preset error correction method includes an adaptive error correction algorithm, and processing the initial audio signal based on the first preset method further includes: obtaining redundant information corresponding to the compressed audio signal, adding the redundant information to the compressed audio signal, and generating the initial audio signal, wherein the redundant information includes at least one of an error correction code and a checksum. By adding the redundant information to the compressed audio signal, the anti-interference ability of the audio signal during the transmission process is improved, and the reliability of the transmission of the audio signal in a complex environment is improved.
[0050] In one embodiment, the error correction code is a channel code, which can be any one of Hamming code, Hamming code, Bulma, RS code (Reed-Solomon Code), and the error correction code can be generated by any one of automatic request for retransmission, forward error correction, and hybrid error correction. Checksum is an error detection method. By processing the data with a specific algorithm, a short fixed-length check code is generated and attached to the end of the data. The receiver processes the data with the same algorithm and compares it with the attached check code to detect whether the data has errors during transmission. The checksum can be generated by bit-by-bit XOR operation, cyclic redundancy check, etc. Among them, the data volume of the target audio signal = the data volume of the compressed audio signal + the data volume corresponding to the redundant information.
[0051] S102: Wirelessly sending the target audio signal to a receiving object based on the second preset method so that the receiving object obtains an initial audio signal corresponding to the target audio signal and plays the initial audio signal according to the first preset method.
[0052] Optionally, the second preset mode includes a Halow WiFi transmission mode, which is used to expand the coverage of the wireless audio signal and ensure stable transmission in a large space.
[0053] Optionally, a plurality of target audio signal sending modes may be set, and a corresponding sending mode may be selected to send the target audio signal according to at least one of the type of the receiving object, the current communication environment, and the distance between the sending object and the receiving object.
[0054] Optionally, when sending the target audio signal, in order to reduce the probability of data errors, the target audio signal may be divided into multiple groups, and the multiple groups of signals may be sent to the receiving object in sequence.
[0055] Optionally, before sending the target audio signal, an audio signal sending notification may be sent to the receiving object, and if feedback information based on the notification is received from the receiving object, the target audio signal is sent to the receiving object in a second preset manner. If the target audio signal sending notification is not received, the target audio signal will not be sent.
[0056] Optionally, after sending the target audio signal, it is also possible to detect whether a signal reception notification fed back by the receiving object is received within a preset time period. If received, it is determined that the signal generation is completed. If not received, the target audio signal is sent again after the preset time period. The preset time period can be calculated from the moment when the target audio signal is finished being sent.
[0057] Optionally, in order to accurately obtain the initial audio signal, the receiving object processes the received audio signal according to the preset lossless compression method and preset error correction method adopted by the sending object, such as real-time monitoring of the signal reception status, identifying and correcting errors in the received audio signal according to the preset error correction method to ensure data integrity and improve audio quality. The original audio signal is reconstructed from the received compressed data according to the lossless compression algorithm used by the sending object, ensuring that the reconstructed audio signal is consistent with the input signal to achieve distortion-free restoration.
[0058] Optionally, the receiving object may be a speaker, a mobile phone, a computer, or other device that has an audio playback device or can be connected to an audio receiving device. The receiving object may play audio through its own audio playback device or a connected audio playback device, providing the user with a high-quality audio experience. The audio playback device may be a speaker or a headset.
[0059] The audio transmission method of the present application has the following advantages:
[0060] 1. High-quality sound transmission: The use of psychoacoustic modeling and lossless compression algorithm ensures that the audio signal will not lose quality during transmission, thereby obtaining better sound quality.
[0061] 2. Effective bandwidth utilization: Through data compression and the introduction of redundant information, the bandwidth utilization rate is improved (data compression can compress the transmitted data, and more information can be transmitted under the same bandwidth), and more audio information can be transmitted under the same wireless spectrum.
[0062] 3. Intelligent error correction mechanism: Adaptive error correction technology ensures high-quality audio transmission in an interference environment, reducing the risk of data loss and errors.
[0063] 4. Low power consumption design: Halow WiFi technology is designed specifically for IoT devices and has the characteristics of low power consumption, which enables the device to effectively save energy during long-term use and is suitable for wireless audio applications.
[0064] 5. Long-distance transmission capability: It is particularly suitable for long-distance transmission scenarios and can maintain stable audio signal transmission over a large range to meet the needs of modern wireless audio distribution.
[0065] 6. Flexible application scenarios: This technology can be widely used in various scenarios, including home entertainment, smart home, conference system, etc., with good adaptability and scalability.
[0066] 7. Improve user experience: Lossless reconstruction technology ensures that the audio signal received by the user is consistent with the source signal, greatly improving the user's audio experience, especially in high-fidelity music and professional audio applications.
[0067] 8. Anti-interference capability: Redundant transmission mechanism and error correction capability effectively enhance the system's resistance to environmental interference, ensuring reliable operation in complex environments.
[0068] In summary, this technology shows obvious advantages over existing technologies in terms of audio quality, transmission efficiency, system stability and user experience, and has broad application prospects and market value.
[0069] In an optional embodiment, an audio transmission method is provided, such as Figure 3 As shown, the audio transmission method is used for a receiving object of a target audio signal.
[0070] Optionally, the audio transmission method includes:
[0071] S201: Receive a target audio signal sent by a sending object based on a second preset manner.
[0072] S202: Acquire an initial audio signal corresponding to the target audio signal according to a first preset method, and play the initial audio signal.
[0073] Optionally, the target audio signal is an initial audio signal that satisfies preset conditions in the audio signal obtained by the sending object, and is obtained by processing the initial audio signal based on a first preset method, wherein the preset conditions include reaching a threshold perceived by the human ear, the first preset method includes a preset lossless compression method, a preset error correction method, and the second preset method includes a Halow WiFi transmission method.
[0074] Optionally, the sending object obtains an initial audio signal that meets a preset condition in the audio signal, including: obtaining a sampling signal of the audio signal, and extracting the initial audio signal that meets the preset condition in the sampling signal by using a psychoacoustic module.
[0075] Optionally, a psychoacoustic module is used to extract an initial audio signal that meets preset conditions from a sampled signal, including: extracting the initial audio signal through a preset equation corresponding to the psychoacoustic module, the preset equation including: x_p[n]=(x[n]-α*x[n-1]-β*x[n-2])*W(t), wherein x_p[n] is the initial audio signal, α and β are parameters for controlling masking effects, wherein W(t) is a psychoacoustic weight function, and x[n] represents the nth sampled signal.
[0076] Optionally, the preset lossless compression method includes a lossless compression algorithm, and processing the initial audio signal based on the first preset method includes: compressing the initial audio signal using the lossless compression algorithm based on a preset compression ratio to generate a compressed audio signal.
[0077] Optionally, the preset error correction method includes an adaptive error correction algorithm, and processing the initial audio signal based on the first preset method also includes: obtaining redundant information corresponding to the compressed audio signal, adding the redundant information to the compressed audio signal, and generating an initial audio signal, wherein the redundant information includes at least one of an error correction code and a checksum.
[0078] Optionally, the receiving object obtains an initial audio signal corresponding to the target audio signal according to a first preset method, including: identifying and correcting errors in the target audio signal based on a preset error correction method; decompressing the error-corrected target audio signal according to a preset lossless compression method to obtain the initial audio signal.
[0079] This application ensures long-distance and high-quality wireless audio transmission by combining psychoacoustic modeling, lossless compression and redundant transmission with Halow WiFi technology. At the same time, the adaptive error correction mechanism effectively improves the reliability of the audio signal. Through the reasonable combination of these technologies, not only efficient data transmission is achieved, but also system power consumption is minimized, meeting the needs of modern wireless audio transmission.
[0080] In an optional embodiment, an electronic device is provided, such as Figure 4 As shown, Figure 4 The electronic device 4000 shown includes: a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, such as through a bus 4002. Optionally, the electronic device 4000 may also include a transceiver 4004, which may be used for data interaction between the electronic device and other electronic devices, such as data transmission and / or data reception. It should be noted that in actual applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present application.
[0081] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 4001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0082] The bus 4002 may include a path to transmit information between the above components. The bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 4002 may 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.
[0083] Memory 4003 can be ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or it can be EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disc, optical disk, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage medium, other magnetic storage devices or any other medium that can be used to carry or store computer programs and can be read by a computer, without limitation here.
[0084] The memory 4003 is used to store the computer program for executing the embodiment of the present application, and the execution is controlled by the processor 4001. The processor 4001 is used to execute the computer program stored in the memory 4003 to implement the steps shown in the above method embodiment.
[0085] Among them, the electronic device can be any electronic product that can interact with an object, such as a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game console, an interactive network television (IPTV), a smart wearable device, etc.
[0086] The electronic device may also include a network device and / or an object device, wherein the network device includes, but is not limited to, a single network server, a server group consisting of multiple network servers, or a cloud consisting of a large number of hosts or network servers for cloud computing.
[0087] The network where the electronic device is located includes but is not limited to the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (Virtual Private Network, VPN), etc.
[0088] An embodiment of the present application provides a computer-readable storage medium, which includes a computer program. When the computer program is executed by a processor, the steps and corresponding contents of the aforementioned method embodiment can be implemented.
[0089] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps and corresponding contents of the aforementioned method embodiment can be implemented.
[0090] The terms "first", "second", "third", "fourth", "1", "2", etc. (if any) in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that shown or described in the drawings.
[0091] It should be understood that, although each operation step is indicated by arrows in the flowchart of the embodiment of the present application, the implementation order of these steps is not limited to the order indicated by the arrows. Unless clearly stated herein, in some implementation scenarios of the embodiment of the present application, the implementation steps in each flowchart can be performed in other orders according to demand. In addition, some or all of the steps in each flowchart are used for actual implementation scenarios, and may include multiple sub-steps or multiple stages. Some or all of these sub-steps or stages can be executed at the same time, and each sub-step or stage in these sub-steps or stages can also be executed at different times respectively. In different scenarios at the execution time, the execution order of these sub-steps or stages can be flexibly configured according to demand, and the embodiment of the present application does not limit this.
[0092] The above is only an optional implementation method for some implementation scenarios of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the technical concept of the solution of the present application, other similar implementation means used for the technical ideas of the present application also fall within the protection scope of the embodiments of the present application.
Claims
1. An audio transmission method, characterized in that: Objects used to send audio signals, including: Acquire an initial audio signal that meets a preset condition in an audio signal, and process the initial audio signal based on a first preset method to obtain a target audio signal, wherein the preset condition includes reaching a threshold perceived by a human ear, and the first preset method includes a preset lossless compression method and a preset error correction method; The target audio signal is wirelessly sent to a receiving object based on a second preset method so that the receiving object obtains an initial audio signal corresponding to the target audio signal and plays the initial audio signal according to the first preset method, and the second preset method includes a Halow WiFi transmission method.
2. The audio transmission method according to claim 1, characterized in that: The obtaining of an initial audio signal that meets a preset condition from the audio signal includes: A sampling signal of the audio signal is obtained, and an initial audio signal satisfying a preset condition is extracted from the sampling signal using a psychoacoustic module.
3. The audio transmission method according to claim 2, characterized in that: The extracting the initial audio signal satisfying a preset condition from the sampled signal by using a psychoacoustic module comprises: The initial audio signal is extracted by using a preset equation corresponding to the psychoacoustic module, wherein the preset equation includes: x_p[n]=(x[n]-α*x[n-1]-β*x[n-2])*W(t), where x_p[n] is the initial audio signal, α and β are parameters for controlling the masking effect, W(t) is the psychoacoustic weight function, and x[n] represents the nth sampled signal.
4. The audio transmission method according to claim 1, characterized in that: The preset lossless compression method includes a lossless compression algorithm, and the processing of the initial audio signal based on the first preset method includes: The initial audio signal is compressed using a lossless compression algorithm based on a preset compression ratio to generate a compressed audio signal.
5. The audio transmission method according to claim 4, characterized in that: The preset error correction method includes an adaptive error correction algorithm, and the processing of the initial audio signal based on the first preset method further includes: Redundant information corresponding to the compressed audio signal is acquired, and the redundant information is added to the compressed audio signal to generate the initial audio signal, wherein the redundant information includes at least one of an error correction code and a checksum.
6. An audio transmission method, characterized in that: The receiving object for the target audio signal includes: Receiving a target audio signal sent by a sending object based on a second preset method, where the target audio signal is obtained by the sending object obtaining an initial audio signal that meets a preset condition in an audio signal, and processing the initial audio signal based on a first preset method, where the preset condition includes reaching a threshold perceived by a human ear, the first preset method includes a preset lossless compression method and a preset error correction method, and the second preset method includes a Halow WiFi transmission method; An initial audio signal corresponding to the target audio signal is acquired according to the first preset manner, and the initial audio signal is played.
7. The audio transmission method according to claim 6, characterized in that: The first preset mode includes a preset lossless compression mode and a preset error correction mode, and obtaining the initial audio signal corresponding to the target audio signal according to the first preset mode includes: Identifying and correcting errors in the target audio signal based on the preset error correction method; The target audio signal after error correction is decompressed according to the preset lossless compression method to obtain the initial audio signal.
8. An electronic device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 7.
9. 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 implemented.
10. A computer program product, comprising a computer program, 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 implemented.
Citation Information
Patent Citations
High-fidelity audio transmission method based on WIFI (Wireless Fidelity)
CN102842337A
Method for audio data transmission based on short-range wireless sensing network
CN105208680A
Audio transmission method and device and WiFi earphone
CN114885239A
Audio playing method, electronic equipment and computer readable storage medium
CN117093182A
UWB-based audio transmission method and device, terminal and storage medium
CN117498892A