CN116170039A - Audio play control method, device, equipment and storage medium - Google Patents

Audio play control method, device, equipment and storage medium Download PDF

Info

Publication number
CN116170039A
CN116170039A CN202310110022.2A CN202310110022A CN116170039A CN 116170039 A CN116170039 A CN 116170039A CN 202310110022 A CN202310110022 A CN 202310110022A CN 116170039 A CN116170039 A CN 116170039A
Authority
CN
China
Prior art keywords
bluetooth
channel
audio
audio data
sending module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310110022.2A
Other languages
Chinese (zh)
Inventor
邱凡
杨健斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Weifang Geldanna Electronic Technology Co ltd
Original Assignee
Weifang Geldanna Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Weifang Geldanna Electronic Technology Co ltd filed Critical Weifang Geldanna Electronic Technology Co ltd
Priority to CN202310110022.2A priority Critical patent/CN116170039A/en
Publication of CN116170039A publication Critical patent/CN116170039A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/008Multichannel audio signal coding or decoding using interchannel correlation to reduce redundancy, e.g. joint-stereo, intensity-coding or matrixing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • H04B5/72Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for local intradevice communication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention discloses an audio play control method, an audio play control device, audio play control equipment and a storage medium, wherein the method comprises the following steps: receiving multichannel coded data sent by a radio source terminal; decoding the multi-channel coded data to obtain audio data of each channel; and sending the audio data of each sound channel to a corresponding Bluetooth sending module, and sending the received audio data to a Bluetooth sound box with established Bluetooth connection for playing through each Bluetooth sending module. According to the invention, the multichannel audio data sent by the sound source end are decoded into the audio data of each channel, the audio data are sent to the Bluetooth sound box with the established Bluetooth connection for playing through the Bluetooth sending module corresponding to each channel, so that the multichannel audio playing is realized, the immersion experience of a user can be improved, the wireless transmission of the audio data is realized through the Bluetooth sending module, the wired connection is not needed, and the user experience is improved while the cost is reduced.

Description

Audio play control method, device, equipment and storage medium
Technical Field
The present invention relates to the field of audio technologies, and in particular, to a method, an apparatus, a device, and a storage medium for controlling audio playback.
Background
The audio amplifier that uses generally is monaural or binaural stereo, because the limitation of sound track number, the tone quality of audio amplifier is relatively poor, can't accomplish immersive experience, probably uses sound channels such as 5.1 sound channels, 7.1 sound channels in some audio amplifier systems such as home theater, but often uses wired connection between with the audio amplifier, and wired connection's circuit is complicated, leads to user experience poor.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention mainly aims to provide an audio playing control method, device, equipment and storage medium, and aims to solve the technical problem of poor user experience when multi-channel audio playing is performed in the prior art.
In order to achieve the above object, the present invention provides an audio play control method, the method comprising the steps of:
receiving multichannel coded data sent by a radio source terminal;
decoding the multi-channel coded data to obtain audio data of each channel;
and sending the audio data of each sound channel to a corresponding Bluetooth sending module, and sending the received audio data to a Bluetooth sound box with established Bluetooth connection for playing through each Bluetooth sending module.
Optionally, the sending the audio data of each channel to a corresponding bluetooth sending module, and sending the received audio data to a bluetooth speaker with established bluetooth connection for playing through each bluetooth sending module includes:
transmitting the audio data of each channel to a Bluetooth transmitting module corresponding to each channel through a preset audio channel;
and the received audio data is sent to the Bluetooth sound boxes for establishing Bluetooth connection through the Bluetooth sending modules corresponding to the sound channels, and each Bluetooth sending module is provided with two Bluetooth sound boxes for establishing Bluetooth connection.
Optionally, before receiving the multi-channel encoded data sent by the audio source end, the method further includes:
receiving a Bluetooth connection instruction sent by terminal equipment;
and sending the Bluetooth connection instruction to a corresponding Bluetooth sending module, so that the Bluetooth sending module and a Bluetooth sound box corresponding to the Bluetooth connection instruction establish Bluetooth connection.
Optionally, before the receiving the bluetooth connection instruction sent by the terminal device, the method further includes:
when the Bluetooth sending module enters a Bluetooth searching mode, receiving a Bluetooth searching result fed back by the Bluetooth sending module in the Bluetooth searching mode;
and controlling the terminal equipment to display the Bluetooth search result, and receiving a Bluetooth connection instruction sent based on the Bluetooth search result displayed on the terminal equipment.
Optionally, before receiving the bluetooth search result fed back by the bluetooth sending module in the bluetooth search mode when the bluetooth sending module enters the bluetooth search mode, the method further includes:
when a Bluetooth searching instruction sent by the terminal equipment is received, controlling a Bluetooth sending module corresponding to the Bluetooth searching instruction to enter a Bluetooth searching mode.
Optionally, the receiving the multi-channel encoded data sent by the audio source terminal includes:
and receiving multichannel coded data sent by the radio source end through an HDMI interface or a USB interface.
Optionally, the number of the bluetooth transmission modules is determined according to a channel type.
In addition, to achieve the above object, the present invention also proposes an audio play control device, the device comprising:
the receiving module is used for receiving the multichannel coded data sent by the audio source terminal;
the decoding module is used for decoding the multi-channel coded data to obtain audio data of each channel;
and the sending module is used for sending the audio data of each sound channel to the corresponding Bluetooth sending module, and sending the received audio data to the Bluetooth sound box with the established Bluetooth connection for playing through each Bluetooth sending module.
In addition, to achieve the above object, the present invention also proposes an audio play control apparatus, the apparatus comprising: the system comprises a memory, a processor and an audio play control program stored on the memory and capable of running on the processor, wherein the audio play control program is configured to realize the steps of the audio play control method.
In addition, in order to achieve the above object, the present invention also proposes a storage medium having stored thereon an audio playback control program which, when executed by a processor, implements the steps of the audio playback control method as described above.
The invention receives multi-channel coded data sent by a sound source terminal; decoding the multi-channel coded data to obtain audio data of each channel; and sending the audio data of each sound channel to a corresponding Bluetooth sending module, and sending the received audio data to a Bluetooth sound box with established Bluetooth connection for playing through each Bluetooth sending module. According to the invention, the multichannel audio data sent by the sound source end are decoded into the audio data of each channel, the audio data are sent to the Bluetooth sound box with the established Bluetooth connection for playing through the Bluetooth sending module corresponding to each channel, so that the multichannel audio playing is realized, the immersion experience of a user can be improved, the wireless transmission of the audio data is realized through the Bluetooth sending module, the wired connection is not needed, and the user experience is improved while the cost is reduced.
Drawings
Fig. 1 is a schematic structural diagram of an audio playback control device of a hardware running environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of an audio playback control method according to the present invention;
FIG. 3 is a schematic diagram of a 5.1 channel audio system according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a second embodiment of an audio playback control method according to the present invention;
FIG. 5 is a flowchart illustrating a third embodiment of an audio playback control method according to the present invention;
fig. 6 is a block diagram of a first embodiment of an audio playback control apparatus according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an audio playback control device in a hardware running environment according to an embodiment of the present invention.
As shown in fig. 1, the audio play control apparatus may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (WI-FI) interface). The Memory 1005 may be a high-speed random access Memory (Random Access Memory, RAM) or a stable nonvolatile Memory (NVM), such as a disk Memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the structure shown in fig. 1 does not constitute a limitation of the audio playback control apparatus, and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and an audio playback control program may be included in the memory 1005 as one type of storage medium.
In the audio playback control apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the audio play control apparatus of the present invention may be provided in the audio play control apparatus, and the audio play control apparatus calls the audio play control program stored in the memory 1005 through the processor 1001 and executes the audio play control method provided by the embodiment of the present invention.
An embodiment of the present invention provides an audio playing control method, referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the audio playing control method of the present invention.
In this embodiment, the audio playing control method includes the following steps:
step S10: receiving multichannel coded data sent by a radio source terminal.
It should be noted that, the execution body of the embodiment may be a computing service device or unit having functions of data processing, network communication and program running, for example, a main control unit, a tablet computer, a personal computer, a mobile phone, or an electronic device, an audio playing control device, or the like capable of implementing the above functions. The present embodiment and the following embodiments will be described below using a master control unit as an example.
It can be understood that the audio source end may be a terminal for transmitting multi-channel encoded data, for example, the audio source end is a computer, a television, a mobile phone, a tablet computer, etc.; the multi-channel encoded data may be data obtained by encoding multi-channel audio data; the sound source end and the main control unit can be connected in a wired mode, the sound source end sends multi-channel coding data to the main control unit through the wired connection, wireless communication connection can be further established between the sound source end and the main control unit, and the sound source end sends multi-channel audio data to the main control unit through the wireless communication connection.
Step S20: and decoding the multi-channel coded data to obtain audio data of each channel.
In this embodiment, each channel has corresponding audio data, for example, by implementing audio playing of 5.1 channels by the method set forth in this embodiment, the total 5.1 channels have 6 channels of a left channel, a right channel, a left surround channel, a right surround channel, a center channel and a subwoofer channel, and correspondingly have 6 audio data.
Step S30: and sending the audio data of each sound channel to a corresponding Bluetooth sending module, and sending the received audio data to a Bluetooth sound box with established Bluetooth connection for playing through each Bluetooth sending module.
It can be understood that the bluetooth transmitting module may be a module for receiving and transmitting data through bluetooth; the Bluetooth sending module is used for encoding the received audio data to obtain encoded audio data, sending the encoded audio data to the Bluetooth sound box with the established Bluetooth connection, decoding the received encoded audio data by the Bluetooth sound box to obtain audio data, and playing the audio data.
In this embodiment, a plurality of bluetooth transmitting modules are provided, and each bluetooth transmitting module transmits audio data corresponding to a preset channel, for example: the mapping relation exists between the sound channels and the Bluetooth sending modules, and the audio data of each sound channel can be sent to the corresponding Bluetooth sending module according to the mapping relation.
In one implementation, the main control unit and the bluetooth transmitting module are arranged at the audio transmitting end, the audio source end and the audio transmitting end are connected in a wired manner, the audio source end transmits multi-channel coding data to the main control unit, the main control unit decodes the received multi-channel coding data to obtain audio data of each channel, the main control unit transmits the audio data of each channel to the corresponding bluetooth transmitting module according to the mapping relation between each channel and the bluetooth transmitting module, the bluetooth transmitting module encodes the received audio data to obtain coding audio data, the coding audio data is transmitted to a bluetooth sound box which has established bluetooth connection, the bluetooth sound box decodes the received coding audio data to obtain audio data, plays the audio data, and plays the audio data played by each bluetooth sound box to realize playing of multi-channel audio.
Further, in order to reduce audio playing delay, the sending the audio data of each channel to a corresponding bluetooth sending module, and sending the received audio data to a bluetooth speaker with established bluetooth connection for playing through each bluetooth sending module includes: transmitting the audio data of each channel to a Bluetooth transmitting module corresponding to each channel through a preset audio channel; and the received audio data is sent to the Bluetooth sound boxes for establishing Bluetooth connection through the Bluetooth sending modules corresponding to the sound channels, and each Bluetooth sending module is provided with two Bluetooth sound boxes for establishing Bluetooth connection.
It can be understood that the preset audio channel may be a channel for transmitting audio data to the bluetooth transmitting module; each bluetooth transmitting module has two bluetooth connected sound boxes, for example, three bluetooth transmitting modules correspond to six bluetooth sound boxes. The preset audio channels include Line in, I2S, SPIDF, and the like.
In specific implementation, the main control unit decodes the multi-channel encoded data sent by the sound source end to obtain audio data of each channel, the audio data is sent to the Bluetooth sending module corresponding to each channel through Line in, I2S or SPIDF, the Bluetooth sending module encodes the audio data of each channel to obtain encoded audio data, each Bluetooth sending module is provided with two Bluetooth sound boxes with established Bluetooth connection, the Bluetooth sending module sends the encoded audio data to the two Bluetooth sound boxes with established Bluetooth connection, the Bluetooth sound boxes decode the received encoded audio data to obtain audio data, and play the audio data, and the audio data of the corresponding channels are played through the Bluetooth sound boxes to realize multi-channel audio playing.
Further, in order to improve stability of data transmission, the receiving the multichannel coded data sent by the audio source terminal includes: and receiving multichannel coded data sent by the radio source end through an HDMI interface or a USB interface.
In this embodiment, the audio source end is connected to the main control unit by a wire through an HDMI interface or a USB interface, and the audio source end sends multi-encoded audio data to the main control unit through the HDMI interface or the USB interface.
Further, in order to be suitable for audio playing of different channel types, the number of the Bluetooth sending modules is determined according to the channel types.
In this embodiment, the number of bluetooth transmitting modules may be set according to the channel type, for example, the channel type is two channels, two bluetooth transmitting modules may be set, the channel type is 5.1 channels, and three bluetooth transmitting modules may be set, and the channel types are not listed here.
In one implementation manner, the audio playing control method provided by the embodiment can be applied to a multichannel audio playing system, the system comprises an audio source end, an audio transmitting end and an audio receiving end, the audio transmitting end comprises a main control unit and a Bluetooth transmitting module, the data of the Bluetooth transmitting module are determined according to channel data of audio to be played, the audio receiving end comprises a plurality of Bluetooth sound boxes, the number of the Bluetooth sound boxes is determined according to the number of the Bluetooth transmitting modules, when multichannel audio playing is carried out through the system, bluetooth connection is established between the Bluetooth transmitting module and two corresponding Bluetooth sound boxes, the main control unit receives multichannel coding data transmitted by the audio source end through an HDMI interface, the audio data of each channel obtained after decoding is transmitted to the corresponding Bluetooth transmitting module through an audio channel, and each Bluetooth transmitting module transmits the audio data to the two Bluetooth sound boxes which establish Bluetooth connection and plays the audio data through each Bluetooth sound box so as to realize playing of the multichannel audio data.
In specific implementation, referring to fig. 3, fig. 3 is a schematic diagram of a 5.1 channel audio system, for example, the audio playing control method provided in this embodiment is applied to the system, and assuming that a sound source end is a PC or a TV, a connection is established between the sound source end and a main control unit through USB or HDMI, the main control unit sends audio data to a bluetooth sending module corresponding to each channel through Line in, I2S or SPIDF, and 3 bluetooth sending modules are set: bluetooth sending module 1, bluetooth sending module 2 and bluetooth sending module 3, and the audio receiving end includes 6 bluetooth speaker: bluetooth sound box 1 to Bluetooth sound box 6, bluetooth transmitting module 1 corresponds to left sound channel and right sound channel and establishes Bluetooth connection with Bluetooth sound box 1 and Bluetooth sound box 2, bluetooth transmitting module 2 corresponds to left surrounding sound channel and right surrounding sound channel and establishes Bluetooth connection with Bluetooth sound box 3 and Bluetooth sound box 4, bluetooth transmitting module 3 corresponds to middle sound channel and heavy bass sound channel and establishes Bluetooth connection with Bluetooth sound box 5 and Bluetooth sound box 6, sound source end transmits 5.1 sound channel coding data to main control unit, main control unit decodes 5.1 sound channel coding data to obtain left sound channel audio data, right sound channel audio data, left surrounding sound channel audio data, right surrounding sound channel audio data, middle sound channel audio data and heavy bass sound channel audio data, main control unit transmits left sound channel audio data and right sound channel audio data to Bluetooth transmitting module 1, bluetooth transmitting module transmits left sound channel audio data to Bluetooth sound box 1, right sound channel audio data to Bluetooth sound box 2; transmitting the left surround channel audio data and the right surround channel audio data to the Bluetooth transmitting module 2, transmitting the left surround channel audio data to the Bluetooth sound box 3 by the Bluetooth transmitting module 2, and transmitting the right surround channel audio data to the Bluetooth sound box 4; the center sound channel audio data and the heavy bass sound channel audio data are sent to the Bluetooth sending module 3, the Bluetooth sending module 3 sends the center sound channel audio data to the Bluetooth sound box 5, the heavy bass sound channel audio data are sent to the Bluetooth sound box 6, and the Bluetooth sound box plays the received audio data, so that the playing of 5.1 sound channel audio is realized.
The embodiment receives multichannel coded data sent by a sound source terminal; decoding the multi-channel coded data to obtain audio data of each channel; and sending the audio data of each sound channel to a corresponding Bluetooth sending module, and sending the received audio data to a Bluetooth sound box with established Bluetooth connection for playing through each Bluetooth sending module. According to the invention, the multichannel audio data sent by the sound source end are decoded into the audio data of each channel, the audio data are sent to the Bluetooth sound box with the established Bluetooth connection for playing through the Bluetooth sending module corresponding to each channel, so that the multichannel audio playing is realized, the immersion experience of a user can be improved, the wireless transmission of the audio data is realized through the Bluetooth sending module, the wired connection is not needed, and the user experience is improved while the cost is reduced.
Referring to fig. 4, fig. 4 is a flowchart illustrating a second embodiment of an audio playback control method according to the present invention.
Based on the first embodiment, in this embodiment, before step S10, the method further includes:
step S01: and receiving a Bluetooth connection instruction sent by the terminal equipment.
It can be understood that the bluetooth connection instruction may be a control instruction for controlling the bluetooth connection between the bluetooth transmission module and the bluetooth speaker.
In one implementation, the terminal device may be a device including a display device, and the main control unit may acquire a bluetooth connection state of each bluetooth transmission module, and send the bluetooth connection state to the terminal device, and display, through the display device in the terminal device, the bluetooth connection state between each bluetooth transmission module and the bluetooth speaker, so that the user sends a bluetooth connection instruction to the main control unit through the terminal device based on the bluetooth connection state.
Step S02: and sending the Bluetooth connection instruction to a corresponding Bluetooth sending module, so that the Bluetooth sending module and a Bluetooth sound box corresponding to the Bluetooth connection instruction establish Bluetooth connection.
It can be understood that the main control unit sends the bluetooth connection instruction sent by the terminal device to the bluetooth connection module corresponding to the bluetooth connection instruction, and after the bluetooth connection module receives the bluetooth connection instruction, the bluetooth connection is established with the corresponding bluetooth speaker based on the bluetooth connection instruction.
In specific implementation, with continued reference to fig. 3, for example, the bluetooth connection state acquired by the main control unit is that bluetooth connection is not established by the bluetooth transmitting module 1, and bluetooth connection is established between the bluetooth transmitting module 2 and the bluetooth speaker 3 and between the bluetooth transmitting module 2 and the bluetooth speaker 4; the Bluetooth transmitting module 3 establishes Bluetooth connection with the Bluetooth sound box 5 and the Bluetooth sound box 6; the main control unit sends the Bluetooth connection state to the terminal equipment, and displays the Bluetooth connection state through a display device of the terminal equipment, and a Bluetooth connection instruction sent by a user based on the Bluetooth connection state is as follows: the Bluetooth connection is established between the Bluetooth sending module 1 and the Bluetooth sound box 1 and between the Bluetooth sound box 2, the main control unit sends the Bluetooth connection instruction to the Bluetooth connection module 1, the Bluetooth connection module 1 establishes Bluetooth connection with the Bluetooth sound box 1 and the Bluetooth sound box 2 according to the Bluetooth connection instruction, and when the Bluetooth connection is established, the main control unit sends connection establishment completion prompt information to the terminal equipment for displaying.
The embodiment receives a Bluetooth connection instruction sent by terminal equipment; and sending the Bluetooth connection instruction to a corresponding Bluetooth sending module, so that the Bluetooth sending module and a Bluetooth sound box corresponding to the Bluetooth connection instruction establish Bluetooth connection. According to the embodiment, the Bluetooth connection is established between the Bluetooth sending module and the Bluetooth sound box according to the connection instruction sent by the terminal equipment, the connection relation between the Bluetooth sending module and the Bluetooth sound box can be flexibly configured, when the Bluetooth sound box with a fault exists, the normal Bluetooth sound box can be connected into the Bluetooth sound box again for multi-channel audio playing, and the stability of the system is improved.
Referring to fig. 5, fig. 5 is a flowchart illustrating a third embodiment of an audio playback control method according to the present invention.
Based on the foregoing embodiments, in this embodiment, before step S01, the method further includes:
step S001: and when the Bluetooth sending module enters a Bluetooth searching mode, receiving a Bluetooth searching result fed back by the Bluetooth sending module in the Bluetooth searching mode.
It can be understood that the bluetooth search mode may be a mode in which the bluetooth transmission module searches for bluetooth devices within a preset range; the bluetooth search result may be a search result of the bluetooth transmitting module in the bluetooth search mode for bluetooth devices within a preset range.
Step S002: and controlling the terminal equipment to display the Bluetooth search result, and receiving a Bluetooth connection instruction sent based on the Bluetooth search result displayed on the terminal equipment.
In specific implementation, when the bluetooth transmitting module enters the bluetooth searching mode, the main control unit receives bluetooth equipment searched by the bluetooth transmitting module in the bluetooth searching mode in a preset range, transmits the searched bluetooth equipment to the terminal equipment for display, and receives a bluetooth connection instruction transmitted by a user based on the displayed searched bluetooth equipment.
Further, in order to reduce power consumption, before the bluetooth transmitting module enters the bluetooth searching mode and receives the bluetooth searching result fed back by the bluetooth transmitting module in the bluetooth searching mode, the method further includes: when a Bluetooth searching instruction sent by the terminal equipment is received, controlling a Bluetooth sending module corresponding to the Bluetooth searching instruction to enter a Bluetooth searching mode.
It is understood that the bluetooth search command may be a control command for controlling the bluetooth transmission module to enter the bluetooth search mode.
It should be noted that, the power consumption of the bluetooth transmitting module in the bluetooth searching mode may be increased, and in this embodiment, when the bluetooth searching instruction is not received, the bluetooth transmitting module is controlled to maintain the normal working mode; and when receiving the Bluetooth searching instruction, controlling the Bluetooth sending module to enter a Bluetooth searching mode.
In a specific implementation, two channels of audio data are transferred between the main control unit and the Bluetooth transmission module through one of the modes of Line in and I2S, SPIDF, and a control instruction is notified between the main control unit and the Bluetooth transmission module through a UART, for example, the main control unit enables the Bluetooth transmission module to enter a Bluetooth search mode through sending the UART instruction, the Bluetooth transmission module reports a Bluetooth search result to the main control through the UART, and then the main control unit controls the terminal equipment to display the search result. Further, the user can set which Bluetooth sending module enters the Bluetooth searching mode through the terminal equipment and is used for searching the Bluetooth sound box of the audio receiving end, the main control unit sends the Bluetooth searching result to the terminal equipment for displaying, and the user checks whether the Bluetooth sound box to be connected exists in the Bluetooth searching result or not, so that the user can connect the Bluetooth sound box of the audio receiving end through terminal identification.
In one implementation, the bluetooth transmitting module and the bluetooth speaker are communicated by using a bluetooth connection mode, AAC, LHDC and other modes can be used for encoding and decoding, different encoding and decoding modes, such as a high-resolution tone quality decoding mode or a low-delay decoding mode, can be selected according to specific application scenes, in order to reduce audio playing delay, each two bluetooth speakers at the audio receiving end form a pair box, each bluetooth transmitting module is connected with the pair box by using a monitoring scheme similar to a TWS earphone, a relay scheme is not used, a low-delay encoding and decoding format is used, meanwhile, the lower delay is considered later, an LC3 encoding and decoding scheme used in LE audio can be adopted, the encoding and decoding efficiency is high, the delay can be greatly reduced, and the low-delay requirement of the sound in the game can be met.
In the embodiment, when a Bluetooth sending module enters a Bluetooth searching mode, a Bluetooth searching result fed back by the Bluetooth sending module in the Bluetooth searching mode is received; and controlling the terminal equipment to display the Bluetooth search result, and receiving a Bluetooth connection instruction sent based on the Bluetooth search result displayed on the terminal equipment. According to the embodiment, the Bluetooth search result fed back by the Bluetooth sending module in the Bluetooth search mode is sent to the terminal equipment for display, and the Bluetooth connection instruction sent based on the Bluetooth search result displayed on the terminal equipment is received, so that the connection relation between the Bluetooth sending module and the Bluetooth sound box can be flexibly configured.
In addition, the embodiment of the invention also provides a storage medium, wherein the storage medium is stored with an audio play control program, and the audio play control program realizes the steps of the audio play control method when being executed by a processor.
Referring to fig. 6, fig. 6 is a block diagram illustrating a first embodiment of an audio playback control apparatus according to the present invention.
As shown in fig. 6, an audio play control device according to an embodiment of the present invention includes:
a receiving module 10, configured to receive multi-channel encoded data sent by a radio source end;
a decoding module 20, configured to decode the multi-channel encoded data to obtain audio data of each channel;
the transmitting module 30 is configured to transmit the audio data of each channel to a corresponding bluetooth transmitting module, and transmit, through each bluetooth transmitting module, the received audio data to a bluetooth speaker that has established a bluetooth connection for playing.
The embodiment receives multichannel coded data sent by a sound source terminal; decoding the multi-channel coded data to obtain audio data of each channel; and sending the audio data of each sound channel to a corresponding Bluetooth sending module, and sending the received audio data to a Bluetooth sound box with established Bluetooth connection for playing through each Bluetooth sending module. According to the embodiment, the multichannel audio data sent by the sound source end are decoded into the audio data of each channel, the audio data are sent to the Bluetooth sound box with the established Bluetooth connection through the Bluetooth sending module corresponding to each channel to be played, so that multichannel audio playing is realized, the immersion experience of a user can be improved, wireless transmission of the audio data is realized through the Bluetooth sending module, wired connection is not needed, and the user experience is improved while the cost is reduced.
Based on the first embodiment of the audio play control device of the present invention, a second embodiment of the audio play control device of the present invention is provided.
In this embodiment, the transmitting module 30 is further configured to transmit the audio data of each channel to a bluetooth transmitting module corresponding to each channel through a preset audio channel; and the received audio data is sent to the Bluetooth sound boxes for establishing Bluetooth connection through the Bluetooth sending modules corresponding to the sound channels, and each Bluetooth sending module is provided with two Bluetooth sound boxes for establishing Bluetooth connection.
The receiving module 10 is further configured to receive a bluetooth connection instruction sent by the terminal device; transmitting the Bluetooth connection instruction to a corresponding Bluetooth transmitting module so that the Bluetooth transmitting module and a Bluetooth sound box corresponding to the Bluetooth connection instruction establish Bluetooth connection; the number of the Bluetooth sending modules is determined according to the channel type.
The receiving module 10 is further configured to receive a bluetooth search result fed back by the bluetooth sending module in the bluetooth search mode when the bluetooth sending module enters the bluetooth search mode; and controlling the terminal equipment to display the Bluetooth search result, and receiving a Bluetooth connection instruction sent based on the Bluetooth search result displayed on the terminal equipment.
The receiving module 10 is further configured to control, when receiving a bluetooth search instruction sent by a terminal device, a bluetooth sending module corresponding to the bluetooth search instruction to enter a bluetooth search mode.
The receiving module 10 is further configured to receive multi-channel encoded data sent by the radio source through an HDMI interface or a USB interface.
Other embodiments or specific implementation manners of the audio play control device of the present invention may refer to the above method embodiments, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. read-only memory/random-access memory, magnetic disk, optical disk), comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. An audio playback control method, the method comprising:
receiving multichannel coded data sent by a radio source terminal;
decoding the multi-channel coded data to obtain audio data of each channel;
and sending the audio data of each sound channel to a corresponding Bluetooth sending module, and sending the received audio data to a Bluetooth sound box with established Bluetooth connection for playing through each Bluetooth sending module.
2. The method of claim 1, wherein the transmitting the audio data of each channel to the corresponding bluetooth transmitting module and transmitting the received audio data to the bluetooth speaker having the established bluetooth connection for playing via each bluetooth transmitting module comprises:
transmitting the audio data of each channel to a Bluetooth transmitting module corresponding to each channel through a preset audio channel;
and the received audio data is sent to the Bluetooth sound boxes for establishing Bluetooth connection through the Bluetooth sending modules corresponding to the sound channels, and each Bluetooth sending module is provided with two Bluetooth sound boxes for establishing Bluetooth connection.
3. The method according to claim 1 or 2, wherein before receiving the multi-channel encoded data transmitted from the audio source, the method further comprises:
receiving a Bluetooth connection instruction sent by terminal equipment;
and sending the Bluetooth connection instruction to a corresponding Bluetooth sending module, so that the Bluetooth sending module and a Bluetooth sound box corresponding to the Bluetooth connection instruction establish Bluetooth connection.
4. The method of claim 3, wherein before receiving the bluetooth connection instruction sent by the terminal device, the method further comprises:
when the Bluetooth sending module enters a Bluetooth searching mode, receiving a Bluetooth searching result fed back by the Bluetooth sending module in the Bluetooth searching mode;
and controlling the terminal equipment to display the Bluetooth search result, and receiving a Bluetooth connection instruction sent based on the Bluetooth search result displayed on the terminal equipment.
5. The method of claim 4, wherein before receiving the bluetooth search result fed back by the bluetooth transmitting module in the bluetooth search mode when the bluetooth transmitting module enters the bluetooth search mode, further comprising:
when a Bluetooth searching instruction sent by the terminal equipment is received, controlling a Bluetooth sending module corresponding to the Bluetooth searching instruction to enter a Bluetooth searching mode.
6. The method according to claim 1 or 2, wherein receiving the multi-channel encoded data transmitted from the audio source terminal includes:
and receiving multichannel coded data sent by the radio source end through an HDMI interface or a USB interface.
7. The method of claim 1 or 2, wherein the number of bluetooth transmission modules is determined according to channel type.
8. An audio playback control device, the device comprising:
the receiving module is used for receiving the multichannel coded data sent by the audio source terminal;
the decoding module is used for decoding the multi-channel coded data to obtain audio data of each channel;
and the sending module is used for sending the audio data of each sound channel to the corresponding Bluetooth sending module, and sending the received audio data to the Bluetooth sound box with the established Bluetooth connection for playing through each Bluetooth sending module.
9. An audio play control device, the device comprising: a memory, a processor, and an audio playback control program stored on the memory and executable on the processor, the audio playback control program configured to implement the steps of the audio playback control method of any one of claims 1 to 7.
10. A storage medium having stored thereon an audio playback control program which, when executed by a processor, implements the steps of the audio playback control method of any one of claims 1 to 7.
CN202310110022.2A 2023-02-10 2023-02-10 Audio play control method, device, equipment and storage medium Pending CN116170039A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310110022.2A CN116170039A (en) 2023-02-10 2023-02-10 Audio play control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310110022.2A CN116170039A (en) 2023-02-10 2023-02-10 Audio play control method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116170039A true CN116170039A (en) 2023-05-26

Family

ID=86414307

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310110022.2A Pending CN116170039A (en) 2023-02-10 2023-02-10 Audio play control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116170039A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014067073A1 (en) * 2012-10-30 2014-05-08 深圳市多尼卡电子技术有限公司 Method and device for editing and playing audio-video file, and broadcasting system
CN107864432A (en) * 2017-10-25 2018-03-30 努比亚技术有限公司 Baffle Box of Bluetooth connection management method, terminal and computer-readable recording medium
KR20200040531A (en) * 2018-10-10 2020-04-20 엔에이치엔 주식회사 Device and method to control plurality of speakers through short range wireless communication
CN111757171A (en) * 2020-07-03 2020-10-09 海信视像科技股份有限公司 Display device and audio playing method
CN112055286A (en) * 2020-09-04 2020-12-08 捷开通讯(深圳)有限公司 Control method and system of Bluetooth sound box, storage medium and mobile terminal
CN113473319A (en) * 2021-07-14 2021-10-01 斑马网络技术有限公司 Bluetooth multi-channel audio playing method, device and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014067073A1 (en) * 2012-10-30 2014-05-08 深圳市多尼卡电子技术有限公司 Method and device for editing and playing audio-video file, and broadcasting system
CN107864432A (en) * 2017-10-25 2018-03-30 努比亚技术有限公司 Baffle Box of Bluetooth connection management method, terminal and computer-readable recording medium
KR20200040531A (en) * 2018-10-10 2020-04-20 엔에이치엔 주식회사 Device and method to control plurality of speakers through short range wireless communication
CN111757171A (en) * 2020-07-03 2020-10-09 海信视像科技股份有限公司 Display device and audio playing method
CN112055286A (en) * 2020-09-04 2020-12-08 捷开通讯(深圳)有限公司 Control method and system of Bluetooth sound box, storage medium and mobile terminal
CN113473319A (en) * 2021-07-14 2021-10-01 斑马网络技术有限公司 Bluetooth multi-channel audio playing method, device and system

Similar Documents

Publication Publication Date Title
US8498726B2 (en) Bi-directional broadcasting system for a small space
US20080103615A1 (en) Method and apparatus for spatial reformatting of multi-channel audio conetent
CN111132111B (en) BLE-based audio sharing method, system and computer readable storage medium
US10425758B2 (en) Apparatus and method for reproducing multi-sound channel contents using DLNA in mobile terminal
KR102393290B1 (en) Remote control, electronic apparatus and pairing method thereof
CN111970613A (en) Wireless transmitting device, control method and display device
CN114067810A (en) Audio signal rendering method and device
WO2014160717A1 (en) Using single bitstream to produce tailored audio device mixes
CN213339098U (en) Wireless transmitting device
CN113473319A (en) Bluetooth multi-channel audio playing method, device and system
CN108650592B (en) Method for realizing neck strap type surround sound and stereo control system
US20230147334A1 (en) Display apparatus and operating method thereof
CN116170039A (en) Audio play control method, device, equipment and storage medium
CN211509211U (en) Audio control device and audio playing system
CN112423197A (en) Method and device for realizing multipath Bluetooth audio output
CN111405356A (en) Audio control device, audio playing system and method
CN106210762A (en) Method, source device, purpose equipment, TV and the terminal that audio frequency is play
WO2022168499A1 (en) Transmission device, reception device, and communication system
CN109348460B (en) Mobile terminal, computer storage medium, data transmission method and system thereof
CN113724717B (en) Vehicle-mounted audio processing system and method, vehicle-mounted controller and vehicle
KR100597483B1 (en) Method for surround music play using a lot of wireless telecommunication terminal
CN111464989B (en) Audio data processing method, control device and readable storage medium
US11533523B2 (en) Interconnected system for high-quality wireless transmission of audio and video between electronic consumer devices
CN113473219A (en) Method and device for realizing native multichannel audio data output and smart television
CN116801420A (en) System for intelligent device and multichannel wireless audio playing component

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination