WO2022183950A1 - 音频传输方法及系统、芯片及存储介质 - Google Patents

音频传输方法及系统、芯片及存储介质 Download PDF

Info

Publication number
WO2022183950A1
WO2022183950A1 PCT/CN2022/077440 CN2022077440W WO2022183950A1 WO 2022183950 A1 WO2022183950 A1 WO 2022183950A1 CN 2022077440 W CN2022077440 W CN 2022077440W WO 2022183950 A1 WO2022183950 A1 WO 2022183950A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio
audio data
broadcast
relay device
data
Prior art date
Application number
PCT/CN2022/077440
Other languages
English (en)
French (fr)
Inventor
许超杰
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022183950A1 publication Critical patent/WO2022183950A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H20/00Arrangements for broadcast or for distribution combined with broadcast
    • H04H20/65Arrangements characterised by transmission systems for broadcast
    • H04H20/71Wireless systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H60/00Arrangements for broadcast applications with a direct linking to broadcast information or broadcast space-time; Broadcast-related systems
    • H04H60/09Arrangements for device control with a direct linkage to broadcast information or to broadcast space-time; Arrangements for control of broadcast-related services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H60/00Arrangements for broadcast applications with a direct linking to broadcast information or broadcast space-time; Broadcast-related systems
    • H04H60/35Arrangements for identifying or recognising characteristics with a direct linkage to broadcast information or to broadcast space-time, e.g. for identifying broadcast stations or for identifying users
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H60/00Arrangements for broadcast applications with a direct linking to broadcast information or broadcast space-time; Broadcast-related systems
    • H04H60/56Arrangements characterised by components specially adapted for monitoring, identification or recognition covered by groups H04H60/29-H04H60/54
    • H04H60/58Arrangements characterised by components specially adapted for monitoring, identification or recognition covered by groups H04H60/29-H04H60/54 of audio
    • 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
    • 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

Definitions

  • the present invention relates to the field of communication technologies, and in particular, to an audio transmission method and system, a chip and a storage medium.
  • BIS Broadcast Isochronous
  • Broadcast synchronous group Broadcast Isochronous Group
  • BIG Broadcast Isochronous Group
  • Embodiments of the present application provide an audio transmission method and system, a chip and a storage medium.
  • an embodiment of the present application provides an audio transmission method, and the method is applied to an audio transmission system, where the audio transmission system includes an audio relay device and an audio output device, and the method includes:
  • the audio relay device After the audio relay device establishes a wireless communication connection with the audio output device, the audio relay device acquires target broadcast audio data;
  • the audio relay device If the current state of the audio relay device is to output initial audio data, then the audio relay device generates audio data to be transmitted according to the initial audio data and the target broadcast audio data;
  • the audio relay device sends the audio data to be transmitted to the audio output device
  • the audio output device plays the audio data to be transmitted.
  • an embodiment of the present application provides an audio transmission system, the audio transmission system includes an audio relay device and an audio output device, the audio relay device includes an acquisition unit, a generation unit, and a transmission unit; the audio output device including playback unit,
  • the acquiring unit is configured to acquire target broadcast audio data after the audio relay device and the audio output device establish a wireless communication connection;
  • the generating unit is configured to generate audio data to be transmitted according to the initial audio data and the target broadcast audio data if the current state of the audio relay device is to output initial audio data;
  • the sending unit configured to send the audio data to be transmitted to the audio output device
  • the playing unit is configured to play the audio data to be transmitted.
  • an embodiment of the present application provides an audio transmission system, where the audio transmission system includes an audio relay device, an audio output device, a processor, and a memory storing executable instructions of the processor. When executed by the processor, the audio transmission method according to the first aspect is implemented.
  • an embodiment of the present application provides a chip, where the chip includes a processor and an interface, the processor obtains program instructions through the interface, and the processor is configured to run the program instructions, to achieve the first The audio transmission method described in the aspect.
  • an embodiment of the present application provides a computer-readable storage medium on which a program is stored, and when the program is executed by a processor, the audio transmission method according to the first aspect is implemented.
  • FIG. 1 is a schematic diagram 1 of the composition structure of an audio transmission system proposed by an embodiment of the application;
  • FIG. 2 is a schematic structural diagram of a broadcast listening system proposed by an embodiment of the present application.
  • FIG. 3 is a schematic diagram 1 of the implementation flow of the audio transmission method proposed by the embodiment of the present application.
  • FIG. 4 is a second implementation flowchart of the audio transmission method proposed by the embodiment of the present application.
  • FIG. 5 is a schematic diagram 3 of the implementation flow of the audio transmission method proposed by the embodiment of the present application.
  • FIG. 6 is a fourth schematic diagram of the implementation flow of the audio transmission method proposed by the embodiment of the present application.
  • FIG. 7 is a schematic diagram 5 of the implementation flow of the audio transmission method proposed by the embodiment of the present application.
  • FIG. 8 is a sixth schematic flowchart of the implementation process of the audio transmission method proposed by the embodiment of the present application.
  • FIG. 9 is a seventh implementation flowchart of the audio transmission method proposed by the embodiment of the present application.
  • FIG. 10 is a schematic diagram eight of the implementation flow of the audio transmission method proposed by the embodiment of the application.
  • FIG. 11 is a schematic diagram 9 of the implementation flow of the audio transmission method proposed by the embodiment of the application.
  • FIG. 12 is a schematic diagram 1 of an application scenario of the audio transmission method proposed by the embodiment of the application.
  • FIG. 13 is a second schematic diagram of an application scenario of the audio transmission method proposed by the embodiment of the application.
  • FIG. 14 is a second schematic diagram of the composition and structure of an audio transmission system proposed by an embodiment of the application.
  • FIG. 15 is a third schematic diagram of the composition and structure of an audio transmission system proposed by an embodiment of the present application.
  • embodiments of the present application provide an audio transmission method and system, a chip and a storage medium.
  • audio output devices are no longer required, such as earphones/audios that independently receive broadcast audio data, but the collection of broadcast audio data through audio relay devices. Headphones/audios only need to connect and receive the audio data forwarded by the audio relay device.
  • the audio transmission system can generate the target audio data to be transmitted according to the broadcast audio data and other audio data currently output, and then Performing playback processing on the target audio data solves the problem of timing conflict between the playback of broadcast audio data and the playback of other audio data, and the system has high intelligence.
  • GSM Global System of Mobile Communication
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • GPRS General Packet Wireless service
  • LTE Long Term Evolution
  • FDD Frequency Division Duplex
  • TDD Time Division Duplex
  • Universal Mobile Communication system UMTS, Universal Mobile Telecommunication System
  • FIG. 1 is a schematic diagram 1 of the composition and structure of the audio transmission system proposed by the embodiment of the application.
  • the audio transmission system 10 includes an audio relay device 20 and an audio output device 30 .
  • FIG. 2 is a schematic structural diagram of a broadcast listening system proposed by an embodiment of the present application.
  • the broadcast listening system 40 includes a broadcast device 50 and an audio transmission system 10 .
  • the broadcasting device 50 is used to send the broadcasting audio data;
  • the audio relay device 20 is used to receive the broadcasting audio data from the broadcasting device 50 and forward it to the audio output device 30; Broadcast audio data for output playback for users to listen to.
  • the audio relay device 20 may be a user equipment (User Equipment, UE), a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote audio relay device, a mobile device, a user audio relay device, an audio relay device,
  • a wireless communication device, a user agent or a user device, and the audio relay device may also be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a personal digital processing (Personal Digital Assistant, PDA), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, audio relay devices in 5G networks, or future evolution of public land mobile networks (Public Land Mobile Network, PLMN) audio relay equipment, etc.
  • PLMN Public Land Mobile Network
  • FIG. 3 is a schematic diagram 1 of the implementation flow of the audio transmission method proposed by the embodiment of the present application.
  • the audio transmission system performs audio
  • the transmission method may include the following steps:
  • Step 100 After the audio relay device establishes a wireless communication connection with the audio output device, the audio relay device acquires target broadcast audio data.
  • the audio transmission system may first obtain target broadcast audio data through the audio relay device after establishing a wireless communication connection between the audio relay device and the audio output device.
  • the audio relay device may be any wireless communication electronic device that has the function of audio collection and transmission.
  • the audio relay device is not limited to electronic devices such as smart phones, gateway devices (such as routers), tablet computers, televisions, personal computers (Personal Computer, PC), and notebook computers.
  • the audio output device may be any wireless communication electronic device with an audio playback function.
  • the wireless communication may be Bluetooth communication.
  • the audio output device is not limited to Bluetooth headsets and Bluetooth speakers.
  • the audio relay device may be an electronic device with a Bluetooth communication function.
  • the audio transmission system may first establish a Bluetooth communication connection between the audio relay device and these audio output devices.
  • the audio relay device may send a Bluetooth connection request to the audio output device and wait to receive the pairing connection confirmation information from the audio output device.
  • the audio relay device When receiving the pairing connection instruction returned by the audio device, the audio relay device Then the Bluetooth communication connection with the audio transmission device can be established based on the pairing connection instruction.
  • the above-mentioned Bluetooth communication connection is not limited to a traditional Bluetooth physical link (Asynchronous Connectionless, ACL), and may also be a CIG/CIS link newly introduced by BT5.2.
  • the audio relay device can first acquire broadcast audio data. It should be understood that, in the embodiment of the present application, the audio relay device may acquire broadcast audio data from the broadcast device.
  • the broadcasting device may be a device capable of BIG/BIS broadcasting, or may be a device capable of broadcasting broadcasting through a speaker/speaker.
  • a speaker/speaker Such as subway mid-station announcers, sirens, doorbells at home, boarding at airports or boarding announcers at train stations.
  • the audio relay device in order to ensure timely listening of the broadcast, the audio relay device always needs to remain in the broadcast listening state. However, when the received broadcast audio data is output and played through the audio output device, It is possible that the output playback of other audio data is currently being performed. In order to avoid timing conflicts between the playback of broadcast audio data and other audio data currently being played, the audio relay device needs to perform real-time detection of the current audio output state while receiving the broadcast audio data. .
  • the audio relay device can further judge whether to execute the broadcast audio according to the current audio output state. Mixing processing of data.
  • Step 110 If the current state of the audio relay device is outputting initial audio data, the audio relay device generates audio data to be transmitted according to the initial audio data and the target broadcast audio data.
  • Step 120 The audio relay device sends the audio data to be transmitted to the audio output device.
  • the audio relay device after the audio transmission system acquires the broadcast audio data through the audio relay device and detects the current audio output state, if the current state of the audio relay device is to output the initial audio data, then the audio relay device can The initial audio data and the target broadcast audio data first generate audio data to be transmitted.
  • the initial audio data refers to other non-broadcast audio data that the audio relay device is currently sending to the audio output device.
  • the current state of the audio relay device may be that the audio relay device is currently sending other non-broadcast audio data to the audio output device, so as to play other non-broadcast audio data through the audio output device.
  • the current state of the audio relay device may also be that the audio relay device currently does not send any audio data to the audio output device, that is, the current audio output device does not play any other non-broadcast audio data.
  • the audio relay device determines that the current state is to output initial audio data, then in order not to affect the playback of other initial audio data, and at the same time, the user can listen to the broadcast audio data in time, the audio relay device can be based on the target broadcast audio data and initial audio data.
  • the audio data mixing process obtains the audio data to be transmitted, and sends the to-be-transmitted data to the audio output device.
  • Step 130 The audio output device plays the audio data to be transmitted.
  • the audio output device after receiving the audio data to be transmitted sent by the audio relay device, the audio output device can play the audio data to be transmitted.
  • the audio output device adopts different playback strategies for different audio data to be transmitted.
  • the audio output device plays the broadcast audio data and the initial audio data at different volumes.
  • FIG. 4 is a schematic diagram 2 of the implementation flow of the audio transmission method proposed by the embodiment of the present application.
  • the audio relay device is based on the initial audio data and the target
  • the generation of audio data to be transmitted from the broadcast audio data may include the following steps:
  • Step 111 if the current state of the audio relay device is to output the initial audio data, the audio relay device performs mixing processing on the initial audio data and the target broadcast audio data to generate audio data after mixing; wherein, the data after mixing includes the first identification.
  • the audio relay device needs to make the broadcast audio data more prominent when the audio output device is playing. Therefore, , in the embodiment of the present application, the audio relay device needs to first perform a mixing operation on the two audio data, the broadcast audio data and the initial audio data, which can make the target broadcast audio data stand out from the initial audio data during playback, that is to say , so that the target broadcast audio data in the mixed data is easier to be identified by the user than the original audio data.
  • the audio relay device can use the mixing process to make the identification level of the target broadcast audio data, namely the first identification level, greater than the identification level of the initial audio data, namely the second identification level, in the mixed data.
  • the audio relay device can make the target broadcast audio data more prominent in the audio data after the mixing process through volume adjustment processing, frequency adjustment processing, and the like.
  • FIG. 5 is a schematic diagram 3 of the implementation flow of the audio transmission method proposed by the embodiments of the present application.
  • the audio relay device performs the conversion between the initial audio data and the target audio data.
  • the broadcast audio data is mixed and processed to generate mixed audio data, that is, step 111 may include the following steps:
  • Step 111a If the current state of the audio relay device is outputting initial audio data, the audio relay device performs volume adjustment processing on the target broadcast audio data according to the first weight value to obtain the target broadcast audio data of the first volume.
  • Step 111b Perform volume adjustment processing on the initial audio data according to the second weight value to obtain initial audio data of the second volume.
  • Step 111c Generate mixed audio data based on the target broadcast audio data of the first volume and the initial audio data of the second volume.
  • the audio relay device may perform volume adjustment processing on the audio data by using weight values representing different volume levels.
  • the audio relay device may first perform volume adjustment processing on the broadcast audio data according to the first weight value, and then obtain broadcast audio data with the first volume; at the same time, according to the second weight value smaller than the first weight value A volume adjustment process is performed on the initial audio data, thereby obtaining initial audio data of a second volume.
  • the audio transfer device can generate the mixed data based on the above-mentioned two audio data with different volume sizes.
  • the audio relay device may first perform decoding processing of the broadcast audio data and the currently output initial audio data, and then perform a sound mixing process based on the volume weight value on the decoded data to obtain the mixed sound data, The mixed data is encoded again to obtain the mixed audio data, and the mixed audio data is used as the audio data to be transmitted.
  • Step 112 The audio relay device uses the mixed audio data as the audio data to be transmitted.
  • the audio transfer device can forward the mixed audio data to the audio output device for playback.
  • the audio relay device may perform sound mixing processing in a manner of weakening other non-broadcast initial audio data currently being played, while strengthening and highlighting the broadcast audio data. For example, the audio relay device can reduce the sound of other currently playing original audio data to highlight the sound of the broadcast audio data.
  • the audio relay device determines that the current state is to output the initial audio data, in order to avoid the defect of unclear sound caused by the mixing process, and to ensure that the user can listen to the broadcast audio data clearly and effectively, the audio relay device can perform chronological order. The transmission process of different audio data.
  • FIG. 6 is a fourth schematic diagram of the implementation flow of the audio transmission method proposed by the embodiments of the present application.
  • the audio relay device is based on the initial audio data and the target
  • the generation of audio data to be transmitted from the broadcast audio data may include the following steps:
  • Step 113 If the current state of the audio relay device is to output the initial audio data, the audio relay device directly uses the initial audio data and the target broadcast audio data as the audio data to be transmitted.
  • step 120 includes:
  • Step 121 The audio relay device stops outputting the initial audio data, and sends the target broadcast audio data to the audio output device, so that the audio output device plays the target broadcast audio data.
  • Step 122 After the target broadcast audio data is sent, the audio relay device continues to send the initial audio data to the audio output device, so that the audio output device continues to play the initial audio data.
  • the audio relay device may, when receiving the broadcast audio data, suspend the transmission of the current initial audio data to the audio output device, first send the broadcast audio data to the audio output device, and then make the audio output device play The current broadcast audio data.
  • the audio relay device may continue to send the initial audio data to the audio output device, so that the audio output device continues to play the initial audio data next.
  • FIG. 7 is a schematic diagram 5 of the implementation flow of the audio transmission method proposed in the embodiment of the present application.
  • the audio relay device sends the audio data to be transmitted.
  • playing the audio data to be transmitted by the audio output device may include the following steps:
  • Step 131 The audio output device plays the target broadcast audio data according to the first volume, and simultaneously plays the initial audio data according to the second volume.
  • the audio relay device has performed volume adjustment processing on the audio data according to different weight values that can characterize the volume, so that the broadcast audio data is more prominent than the original audio data during playback. Therefore, in the embodiment of the present application, the audio output device may play according to a playback strategy in which the volume of the target broadcast audio data is greater than the volume of the initial audio data.
  • the mobile phone when the mobile phone receives the boarding broadcast, at this time, the mobile phone is playing music through the Bluetooth headset, then the mobile phone can mix the sound of the boarding broadcast and the music, which can be to lower the sound of the music to highlight this The sound of important boarding announcements; or you can directly reduce the volume of the music data to 0 and only play the boarding announcements.
  • the audio output device can directly play the received different audio data in chronological order.
  • the audio output device is a passive audio playback device, it only passively receives the audio data sent by the audio relay device. Therefore, in the embodiment of the present application, when the audio relay device stops outputting the initial audio data and sends broadcast audio data, the audio output device only plays the received broadcast audio data; When the audio data output is completed and the initial audio data continues to be output, the audio output device continues to play the initial audio data at this time. That is, after receiving the target broadcast audio data sent by the audio relay device, the audio output device plays the target broadcast audio data; after receiving the initial audio data sent by the audio relay device, the audio output device plays the initial audio data.
  • the audio transmission system can directly send the received broadcast audio data to the audio through the audio relay device. output device for playback.
  • the audio relay device plays the role of a broadcast collector, and the audio relay device can be a mobile phone, a TV, or a Bluetooth gateway.
  • the audio relay device can perform audio decoding on the received broadcast signal, and then forward the obtained broadcast audio data to an audio output device, such as earphones or speakers.
  • an audio output device such as earphones or speakers.
  • the headset/audio of the present application no longer needs to listen to the broadcast by itself, but receives the broadcast forwarded by the audio relay device based on the Bluetooth communication connection with the audio relay device. If the Bluetooth communication connection between the audio relay device and the headset is disconnected, then the user The radio cannot be heard through the headphones.
  • the embodiment of the present application provides an audio transmission method.
  • the audio transmission system includes an audio relay device and an audio output device. After the audio relay device and the audio output device establish a wireless communication connection, the audio relay device obtains target broadcast audio data; if the audio relay The current state of the device is to output the initial audio data, then the audio relay device performs mixing processing on the initial audio data according to the target broadcast audio data, obtains the mixed audio data, and sends the mixed audio data to the audio output device; audio output The device plays the target broadcast audio data according to the first volume, and simultaneously plays the initial audio data according to the second volume; wherein the first volume is greater than the second volume.
  • audio output devices are no longer required, such as earphones/audios to receive broadcast audio data autonomously, but the collection of broadcast audio data is performed through audio relay equipment, and earphones/audios only It is only necessary to connect and receive the audio data forwarded by the audio relay device, which overcomes the defect of excessive power consumption of the headset; on the other hand, after receiving the broadcast audio data, the audio transmission system can Other audio data generates target audio data to be transmitted, and then performs playback processing on the target audio data, which solves the problem of timing conflict between the playback of broadcast audio data and the playback of other audio data, and the system has high intelligence.
  • FIG. 8 is a sixth schematic diagram of the implementation flow of the audio transmission method proposed by the embodiment of the present application.
  • the audio transmission system Obtaining target broadcast audio data (step 100) through the audio relay device includes the following steps:
  • Step 101a After the audio relay device establishes a wireless communication connection with the audio output device, receive a wireless broadcast signal sent by the broadcast device.
  • Step 101b Decode the wireless broadcast signal to obtain target broadcast audio data.
  • the broadcasting device may be a Bluetooth Low Energy (Bluetooth Low Energy, BLE) broadcasting device.
  • BLE Bluetooth Low Energy
  • the audio transmission system can receive the wireless broadcast sent by the broadcast device through the audio relay device. signal, and decode the wireless broadcast signal to obtain target broadcast audio data, so that the decoded broadcast audio data can be further sent to the audio output device.
  • broadcast equipment is generally set with broadcast receiving authority and broadcast importance. Before the audio relay equipment executes the acquisition of broadcast audio data from the broadcast equipment, the audio relay equipment can first obtain it through common methods such as network, positioning, or ecological software. The audio receiving parameters corresponding to the external related broadcasting equipment, and then the reception of the wireless broadcast signal is performed based on the above-mentioned audio receiving parameters.
  • the audio relay device when the audio relay device receives the wireless broadcast signal, the audio relay device may first obtain the audio reception parameters corresponding to the broadcast device, and then receive the audio based on the audio reception parameters. Wireless broadcast signal.
  • the above audio reception parameters may include encryption parameters corresponding to broadcast equipment; or the above audio reception parameters may include priority levels corresponding to broadcast equipment; or the above audio reception parameters may include encryption parameters and priority levels.
  • FIG. 9 is a schematic diagram 7 of the implementation flow of the audio transmission method proposed by the embodiments of the present application.
  • the audio transmission system Receiving wireless broadcast signals sent by broadcast equipment through audio relay equipment includes:
  • Step 101a1 After the audio relay device establishes a wireless communication connection with the audio output device, obtain encryption parameters corresponding to the broadcast device.
  • Step 101a2 Receive the wireless broadcast signal based on the encryption parameter.
  • the encryption parameters are not limited to the device name corresponding to the broadcast device and the broadcast receiving password.
  • the audio relay device can enter the device name of the broadcast to be received and the password corresponding to the device name in the parameter setting interface.
  • the receiving authority of the target broadcast signal can be obtained based on the encryption parameter, so that the target broadcast signal can be further received to obtain the target broadcast audio data.
  • FIG. 10 is a schematic diagram 8 of the implementation flow of the audio transmission method proposed in the embodiment of the present application.
  • the audio transmission system transmits the audio through the audio
  • the method for the device to receive the wireless broadcast signal sent by the broadcast device includes:
  • Step 101a3 After the audio relay device establishes a wireless communication connection with the audio output device, acquire the priority level corresponding to the broadcast device.
  • Step 101a4 Receive the wireless broadcast signal according to the priority.
  • the audio relay device can first obtain the broadcast receiving priority corresponding to each broadcast device based on the configuration information of the broadcast device, or the user can manually set each broadcast on the operation interface according to actual needs. The priority level, and the audio relay device responds to the above operation and receives the target broadcast signal in the order of the priority level from high to low, so as to obtain the target broadcast audio data.
  • the mobile phone can choose to preferentially receive the wireless broadcast signal sent by the fire alarm.
  • the audio relay device can be configured with multiple antennas for reception, that is, it can receive multiple radio signals at the same time. Broadcast signals to avoid timing conflicts between multiple broadcast signals.
  • the audio relay device can be configured with multiple receiving antennas, such as a first receiving antenna and a second receiving antenna, and the audio relay device can use the first receiving antenna to receive the first wireless broadcast signal sent by the first broadcast
  • the broadcasting device receives the second wireless broadcasting signal sent by the second device, so as to avoid timing conflict during signal reception among multiple broadcasting devices.
  • the audio transmission system while the audio transmission system obtains the broadcast audio data through the audio relay device, it can also use the audio relay device to detect in real time whether it is currently outputting other non-broadcast audio data, that is, to detect the current output of non-broadcast audio data. audio output state (step 102), and then perform forwarding processing of the target broadcast audio data in combination with the current audio output state.
  • the audio transmission system can perform the receiving process of the wireless broadcast signal through the audio relay equipment according to the broadcast configuration information corresponding to the broadcast equipment, such as encryption parameters, broadcast signal receiving priority, etc., and then complete the decoding of the broadcast signal.
  • the broadcast audio data is further forwarded to the audio output device through the audio relay device, which not only overcomes the defect of excessive power consumption of the headset, but also solves the problem of timing conflicts between the broadcast audio data playback and the current audio playback.
  • the problem is that the audio transfer device is highly intelligent.
  • FIG. 11 is a schematic diagram 9 of the implementation flow of the audio transmission method proposed by the embodiment of the present application.
  • the audio transmission system Obtaining target broadcast audio data (step 100) through the audio relay device includes the following steps:
  • Step 101c after the audio relay device and the audio output device establish a wireless communication connection, collect the current broadcast audio data played by the broadcast device through the sound acquisition module, and detect the current position state;
  • Step 101d if the current location state is the target location, determine the current broadcast audio data as the target broadcast audio data.
  • the audio transmission system can collect the broadcasting audio data in real time through the sound acquisition module such as a microphone in the audio relay equipment. If required by the user, the audio relay device can determine the target broadcast audio data that the user needs to listen to in combination with the current location state.
  • the audio transmission system can detect the current location state in real time through the audio relay device. If the current location state is the target location state, the audio relay device can determine the broadcast audio data collected through the microphone at this time as The target broadcasts audio data and further forwards it to an audio output device such as a Bluetooth headset.
  • the mobile phone can obtain the real-time location information of the passenger through the WIFI signal in the airport or satellite positioning.
  • the mobile phone collects the airport boarding broadcast through the microphone and forwards it to the passenger.
  • the audio transfer device can also combine the boarding information of the passenger's target flight.
  • the audio transfer device can The received current broadcast audio data is determined as the target broadcast audio data, and is further forwarded to an audio output device, such as a Bluetooth headset.
  • the mobile phone can obtain the real-time location information of the passenger through the WIFI signal in the subway or satellite positioning.
  • the mobile phone can forward the station announcement broadcast currently received through the microphone to the bluetooth Headphones for passengers.
  • the audio transmission system can collect broadcast audio data through the microphone in the audio relay device, and forward the broadcast audio data to the audio output device through the audio relay device, which not only overcomes the defect that the headset consumes too much power, Moreover, the problem of timing conflict between broadcast audio data and current audio playback is solved, and the audio transfer device is highly intelligent.
  • FIG. 12 is a schematic diagram of application scenario 1 of the audio transmission method proposed by the embodiment of the present application.
  • the audio relay device is a mobile phone and the audio transmission device is an earphone, as shown in the figure
  • the mobile phone after the mobile phone establishes a Bluetooth communication connection with the wireless headset (such as an ACL link or a CIG/CIS link newly introduced by BT5.2), the mobile phone can receive a doorbell, a fire alarm, BIG/BIS broadcasts sent by any one or more devices in airports, shopping malls, railway stations, or subway station announcers, and decode to obtain broadcast audio data.
  • the wireless headset such as an ACL link or a CIG/CIS link newly introduced by BT5.2
  • the mobile phone can receive a doorbell, a fire alarm, BIG/BIS broadcasts sent by any one or more devices in airports, shopping malls, railway stations, or subway station announcers, and decode to obtain broadcast audio data.
  • the mobile phone can mix the broadcast audio data and other audio data, so that the broadcast audio data is emphasized in the mixed audio data, and then the mixed audio data is sent to Wireless earphones to enable users to listen to the radio. If the mobile phone does not currently play other audio data through the wireless headset, the mobile phone can directly send the broadcast audio data to the wireless headset so that the user can listen to the broadcast.
  • FIG. 13 is a schematic diagram 2 of an application scenario of the audio transmission method proposed by the embodiment of the present application.
  • the audio relay device is a gateway or a TV
  • the audio transmission device is an earphone/ Audio
  • the gateway in the living room establishes a Bluetooth communication connection (ACL link or CIG/CIS link newly introduced in BT5.2) with the audio
  • the gateway can receive the doorbell, BIG/BIS broadcast sent by any one or more devices in fire alarm, kitchen appliance broadcast, or living room appliance broadcast, and decode to obtain broadcast audio data.
  • the gateway can first mix the broadcast audio data and other audio data, so that the broadcast audio data is emphasized in the mixed audio data, and then the mixed audio data is sent. to the speaker to enable users to listen to the radio. If the gateway does not currently play other audio data through the speaker, the gateway can directly send the broadcast audio data to the speaker so that the user can listen to the broadcast.
  • the embodiment of the present application provides an audio transmission method.
  • an audio output device is no longer required, such as earphones/audio to receive broadcast audio data independently, but an audio relay device is used to collect broadcast audio data. It is only necessary to connect and receive the audio data forwarded by the audio relay device, which overcomes the defect that the headset consumes too much power; on the other hand, the audio relay device can mix the broadcast audio data and other initial audio data currently output, The volume of other initial audio data is lowered to highlight the broadcast audio data, thereby solving the problem of timing conflict between the playback of the broadcast audio data and the playback of other initial audio data, and has high intelligence.
  • FIG. 14 is a second schematic diagram of the composition and structure of the audio transmission system proposed by the embodiment of the present application.
  • the audio transmission system 10 proposed by the embodiment of the present application may Including an audio relay device 20 and an audio output device 30, the audio relay device 20 includes an acquisition unit 21, a generation unit 22, a transmission unit 23 and a setup unit 24; the audio output device 30 includes a playback unit 31,
  • the acquiring unit 21 is configured to acquire target broadcast audio data after the audio relay device and the audio output device establish a wireless communication connection;
  • the generating unit 22 is configured to generate audio data to be transmitted according to the initial audio data and the target broadcast audio data if the current state of the audio relay device is to output initial audio data;
  • the sending unit 23 is configured to send the audio data to be transmitted to the audio output device
  • the playing unit 31 is configured to play the audio data to be transmitted.
  • the generating unit 22 is further configured to perform sound mixing processing on the initial audio data and the target broadcast audio data to generate mixed audio data; wherein, the The mixed data includes target broadcast audio data of a first recognition level and initial audio data of a second recognition level; the first recognition level is greater than the second recognition level; the mixed audio data is used as the to-be-recognized audio data. Transmit audio data.
  • the generating unit 22 is further configured to perform volume adjustment processing on the target broadcast audio data according to a first weight value to obtain target broadcast audio data of the first volume; and performing volume adjustment processing on the initial audio data according to the second weight value to obtain the initial audio data of the second volume; and based on the target broadcast audio data of the first volume and the initial audio data of the second volume The post-mixed audio data is generated.
  • the playing unit 31 is further configured to play the target broadcast audio data according to the first volume, and simultaneously play the initial audio data according to the second volume.
  • the generating unit 22 is further configured to directly use the initial audio data and the target broadcast audio data as the audio data to be transmitted.
  • the sending unit 23 is further configured to stop the output of the initial audio data, and send the target broadcast audio data to the audio output device, so that the audio The output device plays the target broadcast audio data; and after the target broadcast audio data is sent, continue to send the initial audio data to the audio output device, so that the audio output device continues to play the initial audio data .
  • the playback unit 31 is further configured so that after the audio relay device obtains the target broadcast audio data, if the current audio output state is that the initial audio data is not output, the The audio relay device sends the target broadcast audio data to the audio output device; the audio output device plays the to-be-transmitted audio data.
  • the obtaining unit 21 is further configured to receive a wireless broadcast signal sent by a broadcast device; and perform decoding processing on the wireless broadcast signal to obtain the target broadcast audio data.
  • the obtaining unit 21 is further configured to obtain an encryption parameter corresponding to the broadcast device; and receive the wireless broadcast signal based on the encryption parameter.
  • the obtaining unit 21 is further configured to obtain the receiving priority level corresponding to the broadcasting device; and receive the wireless broadcast signal according to the receiving priority level.
  • the broadcasting device includes a first device and a second device
  • the audio relay device is configured with a first receiving antenna and a second receiving antenna
  • the acquiring unit 21 is also specifically configured In order to receive the first wireless broadcast signal sent by the first device through the first receiving antenna; and receive the second wireless broadcast signal sent by the second device through the second receiving antenna.
  • the acquisition unit 21 is also configured to collect the current broadcast audio data played by the broadcast equipment through the sound acquisition module, and detect the current location state; and if the current location state is the target position, the current broadcast audio data is determined as the target broadcast audio data.
  • the target broadcast audio data is BIG data.
  • FIG. 15 is a schematic diagram 3 of the composition structure of the audio relay device proposed by the embodiment of the application.
  • the audio transmission system 10 proposed by the embodiment of the present application includes the audio relay device 20 and The audio output device 30, the audio relay device 20 includes a first processor 25, a first memory 26 storing executable instructions of the first processor 25, and a first bus 28 of the first communication interface 27; the audio The output device 30 includes a second processor 32 and a second memory 33 storing instructions executable by the second processor 32 and a second bus 35 of the second communication interface 34 .
  • the first processor 25 or the second processor 32 is an application specific integrated circuit (ASIC), a digital signal processor (DSP), or a digital signal processing device.
  • ASIC application specific integrated circuit
  • DSP digital signal processor
  • DSPD Digital Signal Processing Device
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • CPU Central Processing Unit
  • microcomputer At least one of a controller and a microprocessor. It can be understood that, for different devices, the electronic device configured to implement the function of the processor may also be other, which is not specifically limited in this embodiment of the present application.
  • the audio transmission system 10 may further include a first memory 26 and a second memory 33, the first memory 26 may be connected to the first processor 25, and the second memory 33 may be connected to the second processor 32, wherein the first memory 26,
  • the second memory 33 is configured to store executable program codes including computer operation instructions.
  • the first memory 26 and the second memory 33 may include high-speed RAM memory, and may also include non-volatile memory, for example, at least two disk storage.
  • the first bus 28 is configured to connect the first communication interface 27, the first processor 25 and the first memory 26 and the mutual communication among these devices
  • the second bus 35 is configured to connect the first The two communication interfaces 34, the second processor 32 and the second memory 33 and the mutual communication between these devices.
  • the first memory 26 and the second memory 33 are configured to store instructions and data.
  • the above-mentioned first processor 25 is configured to obtain target broadcast audio data through the audio relay device after the audio relay device establishes a wireless communication connection with the audio output device ; If the current state of the audio relay device is to output initial audio data, then generate audio data to be transmitted according to the initial audio data and the target broadcast audio data by the audio relay device; And by the audio relay device will The audio data to be transmitted is sent to the audio output device.
  • the above-mentioned second processor 32 is configured to play the audio data to be transmitted through the audio output device.
  • the above-mentioned first processor 25 is further configured to perform sound mixing processing on the initial audio data and the target broadcast audio data to generate mixed audio data; wherein, the The post-mixing data includes target broadcast audio data of a first recognition level and initial audio data of a second recognition level; the first recognition level is greater than the second recognition level; and the audio data after the audio mixing is used as the Describe the audio data to be transmitted.
  • the above-mentioned first processor 25 is further configured to perform sound mixing processing on the initial audio data and the target broadcast audio data to generate mixed audio data; wherein, the The post-mixing data includes target broadcast audio data of a first recognition level and initial audio data of a second recognition level; the first recognition level is greater than the second recognition level; and the audio data after the audio mixing is used as the Describe the audio data to be transmitted.
  • the above-mentioned first processor 25 is further configured to perform volume adjustment processing on the target broadcast audio data according to the first weight value to obtain target broadcast audio data of the first volume; and Perform volume adjustment processing on the initial audio data according to the second weight value to obtain initial audio data of the second volume; generate the mixed volume based on the target broadcast audio data of the first volume and the initial audio data of the second volume post-sound audio data; and accordingly,
  • the second processor 32 is further configured to play the target broadcast audio data according to the first volume, and simultaneously play the initial audio data according to the second volume.
  • the above-mentioned first processor 25 is further configured to directly use the initial audio data and the target broadcast audio data as the audio data to be transmitted.
  • the above-mentioned first processor 25 is further configured to stop the output of the initial audio data, and send the target broadcast audio data to the audio output device, so that the The audio output device plays the target broadcast audio data; and after the target broadcast audio data is sent, continue to send the initial audio data to the audio output device, so that the audio output device continues to play the initial audio data.
  • the above-mentioned first processor 25 is further configured to, if the current state of the audio relay device is not outputting initial audio data, the audio relay device to the audio output device sending the target broadcast audio data; and the audio output device playing the audio data to be transmitted.
  • the above-mentioned first processor 25 is further configured to receive a wireless broadcast signal sent by a broadcast device; and perform decoding processing on the wireless broadcast signal to obtain the target broadcast audio data.
  • the above-mentioned first processor 25 is further configured to acquire audio receiving parameters corresponding to the broadcasting device; wherein, the audio receiving parameters include encryption parameters and/or priority levels; and The wireless broadcast signal is received based on the audio reception parameters.
  • the above-mentioned first processor 25 is further configured to receive, through the first receiving antenna, the first wireless broadcast signal sent by the first device; and to receive through the second The antenna receives the second wireless broadcast signal sent by the second device.
  • the above-mentioned first processor 25 is also configured to use a sound acquisition module to collect the current broadcast audio data played by the broadcast equipment, and to detect the current location state; and if the current location state is target position, the current broadcast audio data is determined as the target broadcast audio data.
  • the target broadcast audio data is broadcast synchronization group BIG data or broadcast synchronization group information BIS data.
  • first memory 26 and second memory 33 may be volatile memory (volatile memory), such as random access memory (Random-Access Memory, RAM); or non-volatile memory (non-volatile memory) volatile memory), such as read-only memory (Read-Only Memory, ROM), flash memory (flash memory), hard disk (Hard Disk Drive, HDD) or solid-state drive (Solid-State Drive, SSD); or the above types of memory combination and provide instructions and data to the processor.
  • volatile memory such as random access memory (Random-Access Memory, RAM); or non-volatile memory (non-volatile memory) volatile memory), such as read-only memory (Read-Only Memory, ROM), flash memory (flash memory), hard disk (Hard Disk Drive, HDD) or solid-state drive (Solid-State Drive, SSD); or the above types of memory combination and provide instructions and data to the processor.
  • volatile memory such as random access memory (Random-Access Memory, RAM); or non-volatile memory (non-volatile
  • each functional module in this embodiment may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware, or can be implemented in the form of software function modules.
  • the integrated unit is implemented in the form of software function modules and is not sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of this embodiment is essentially or correct. Part of the contribution made by the prior art or all or part of the technical solution can be embodied in the form of a software product, the computer software product is stored in a storage medium, and includes several instructions to make a computer device (which can be a personal A computer, a server, or a network device, etc.) or a processor (processor) executes all or part of the steps of the method in this embodiment.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random-Access Memory, RAM), magnetic disk or optical disk and other various storage media that can store program codes medium.
  • An embodiment of the present application provides an audio transmission system, which includes an audio relay device and an audio output device. After the audio relay device and the audio output device establish a wireless communication connection, the audio relay device obtains target broadcast audio data; The current state of the relay device is to output the initial audio data, then the audio relay device generates the audio data to be transmitted according to the initial audio data and the target broadcast audio data; the audio relay device sends the audio data to be transmitted to the audio output device; the audio output device plays the audio data to be transmitted. audio data.
  • audio output devices are no longer required, such as earphones/audios to receive broadcast audio data autonomously, but the collection of broadcast audio data is performed through audio relay equipment, and earphones/audios only It is only necessary to connect and receive the audio data forwarded by the audio relay device, which overcomes the defect of excessive power consumption of the headset; on the other hand, after receiving the broadcast audio data, the audio transmission system can Other audio data generates target audio data to be transmitted, and then performs playback processing on the target audio data, which solves the problem of timing conflict between the playback of broadcast audio data and the playback of other audio data, and the system has high intelligence.
  • An embodiment of the present application provides a computer-readable storage medium, on which a program is stored, and applied to an audio transmission system, where the audio transmission system includes an audio relay device and an audio output device, and the program is stored in the audio relay device.
  • a processor and the second processor in the audio output device implement the audio transmission method described above when executed.
  • a program instruction corresponding to an audio transmission method in this embodiment may be stored on a storage medium such as an optical disc, a hard disk, a U disk, etc.
  • a storage medium such as an optical disc, a hard disk, a U disk, etc.
  • the audio relay device After the audio relay device establishes a wireless communication connection with the audio output device, the audio relay device acquires target broadcast audio data;
  • the audio relay device If the current state of the audio relay device is to output initial audio data, then the audio relay device generates audio data to be transmitted according to the initial audio data and the target broadcast audio data;
  • the audio relay device sends the audio data to be transmitted to the audio output device.
  • the audio output device plays the audio data to be transmitted.
  • An embodiment of the present application provides a chip, which is applied to an audio transmission system.
  • the chip includes a first chip disposed in an audio relay device and a second chip disposed in an audio output device, and the first chip includes a first processor and a second chip. an interface, the second chip includes a second processor and a second interface, the first processor obtains the first program instruction through the first interface, and the second processor obtains the second program instruction through the second interface,
  • the first processor and the second processor implement the above-mentioned audio transmission method by running the first program instruction and the second program instruction.
  • the audio transmission method includes the following steps:
  • the audio relay device After the audio relay device establishes a wireless communication connection with the audio output device, the audio relay device acquires target broadcast audio data;
  • the audio relay device If the current state of the audio relay device is to output initial audio data, then the audio relay device generates audio data to be transmitted according to the initial audio data and the target broadcast audio data;
  • the audio relay device sends the audio data to be transmitted to the audio output device
  • the audio output device plays the audio data to be transmitted.
  • An embodiment of the present application provides a chip, which is applied to an audio relay device.
  • the chip includes a processor and an interface.
  • the processor obtains program instructions through the interface, and the processor implements the above audio transmission by running the program instructions. method.
  • the audio transmission method includes the following steps:
  • the audio relay device After the audio relay device establishes a wireless communication connection with the audio output device, the audio relay device acquires target broadcast audio data;
  • the audio relay device If the current state of the audio relay device is to output initial audio data, then the audio relay device generates audio data to be transmitted according to the initial audio data and the target broadcast audio data;
  • the audio relay device sends the audio data to be transmitted to the audio output device, so that the audio output device plays the audio data to be transmitted.
  • the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied therein, including but not limited to disk storage, optical storage, and the like.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions
  • An apparatus implements the functions specified in a flow or flows of the implementation flow diagram and/or a block or blocks of the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the implementing flow diagram and/or the block or blocks of the block diagram.
  • audio output devices such as earphones/sounds are no longer required to independently receive broadcast audio data, but an audio relay device can be used to collect broadcast audio data, and earphones/sounds only need to be connected and It is enough to receive the audio data forwarded by the audio relay device, thus overcoming the defect of power consumption of the earphone; on the other hand, after receiving the broadcast audio data, the audio transmission system can generate the audio data according to the broadcast audio data and other currently output audio data.
  • the target audio data to be transmitted is further processed for playback, which solves the problem of timing conflict between the playback of broadcast audio data and the playback of other audio data, and the system is more intelligent.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请实施例公开了一种音频传输方法及系统、芯片及存储介质,所述音频传输方法应用于音频传输系统,音频传输系统包括音频中转设备和音频输出设备,所述方法包括:在音频中转设备与音频输出设备建立无线通信连接之后,音频中转设备获取目标广播音频数据;若音频中转设备的当前状态为输出初始音频数据,则音频中转设备根据初始音频数据和目标广播音频数据生成待传输音频数据;音频中转设备将待传输音频数据发送至音频输出设备;音频输出设备播放待传输音频数据。

Description

音频传输方法及系统、芯片及存储介质
相关申请的交叉引用
本申请基于申请号为202110237272.3、申请日为2021年03月03日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本发明涉及通信技术领域,尤其涉及一种音频传输方法及系统、芯片及存储介质。
背景技术
随着通信技术的快速发展,通信环境中涉及有很多广播同步信息(Broadcast Isochronous,BIS)/广播同步组(Broadcast Isochronous Group,BIG),例如地铁中报站器、警报器、家中的门铃、机场登机播报或者火车站的登车播报。目前,蓝牙技术联盟(Bluetooth Special Interest Group,Bluetooth SIG)组织定义的该类协议广播均通过耳机/音响去进行收听。
然而,由于该类广播中大部分时刻都为静音包,只在需要的时候才会进行音频播放(如提示登机、报站点以及火警等),因此,为了能够及时收听广播信号,耳机、音响等音频输出设备需要持续不间断的进行广播收听,从而导致了耳机电量损耗过大的缺陷;并且如果音频输出设备当前正在播放其他音频数据,会使广播音频数据的播放与其他音频数据的播放产生时序冲突的问题。
发明内容
本申请实施例提供了一种音频传输方法及系统、芯片及存储介质。
本申请实施例的技术方案是这样实现的:
第一方面,本申请实施例提供了一种音频传输方法,所述方法应用于音频传输系统,所述音频传输系统包括音频中转设备和音频输出设备,所述方法包括:
在所述音频中转设备与所述音频输出设备建立无线通信连接之后,所述音频中转设备获取目标广播音频数据;
若所述音频中转设备的当前状态为输出初始音频数据,则所述音频中转设备根据所述初始音频数据和所述目标广播音频数据生成待传输音频数据;
所述音频中转设备将所述待传输音频数据发送至所述音频输出设备;
所述音频输出设备播放所述待传输音频数据。
第二方面,本申请实施例提供了一种音频传输系统,所述音频传输系统包括音频中转设备和音频输出设备,所述音频中转设备包括获取单元、生成单元、发送单元;所述音频输出设备包括播放单元,
所述获取单元,被配置为在所述音频中转设备与所述音频输出设备建立无线通信连接之后,获取目标广播音频数据;
所述生成单元,被配置为若所述音频中转设备的当前状态为输出初始音频数据,则根据所述初始音频数据和所述目标广播音频数据生成待传输音频数据;
所述发送单元,被配置为将所述待传输音频数据发送至所述音频输出设备;
所述播放单元,被配置为播放所述待传输音频数据。
第三方面,本申请实施例提供了一种音频传输系统,所述音频传输系统包括音频中转设备、音频输出设备、处理器、存储有所述处理器可执行指令的存储器,当所述指令被所述处理器执行时,实现如第一方面所述的音频传输方法。
第四方面,本申请实施例提供了一种芯片,所述芯片包括处理器和接口,所述处理器通过所述接口获取程序指令,所述处理器用于运行所述程序指令,实现如第一方面所述的音频传输方法。
第五方面,本申请实施例提供了一种计算机可读存储介质,其上存储有程序,所述程序被处理器执行时,实现如第一方面所述的音频传输方法。
附图说明
图1为本申请实施例提出的音频传输系统的组成结构示意图一;
图2为本申请实施例提出的广播收听系统的结构示意图;
图3为本申请实施例提出的音频传输方法的实现流程示意图一;
图4为本申请实施例提出的音频传输方法的实现流程示意图二;
图5为本申请实施例提出的音频传输方法的实现流程示意图三;
图6为本申请实施例提出的音频传输方法的实现流程示意图四;
图7为本申请实施例提出的音频传输方法的实现流程示意图五;
图8为本申请实施例提出的音频传输方法的实现流程示意图六;
图9为本申请实施例提出的音频传输方法的实现流程示意图七;
图10为本申请实施例提出的音频传输方法的实现流程示意图八;
图11为本申请实施例提出的音频传输方法的实现流程示意图九;
图12为本申请实施例提出的音频传输方法的应用场景示意图一;
图13为本申请实施例提出的音频传输方法的应用场景示意图二;
图14为本申请实施例提出的音频传输系统的组成结构示意图二;
图15为本申请实施例提出的音频传输系统的组成结构示意图三。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。可以理解的是,此处所描述的具体实施例仅用于解释相关申请,而非对该申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关申请相关的部分。
随着通信技术的快速发展,通信环境中涉及有很多BIS/BIG,例如地铁中报站器、警报器、家中的门铃、机场登机播报或者火车站的登车播报。目前,SIG组织定义的该类协议广播均通过耳机/音响去进行收听。手机作为辅助方把广播的配置信息,如每个广播设备对应的广播接收密码。
然而,由于该类广播中大部分时刻都为静音包,只在需要的时候才会进行音频播放(如提示登机、报站点以及火警等),因此,如果这些广播按SIG的方案,都需要耳机自己去收听的话,由于没声音的时候也需要持续不间断的进行广播收听,否则声音来的时候无法及时收到,因而导致了耳机电量损耗过大的缺陷;而且如果当前耳机/音响播放 手机/TV的语音或者音乐,会存在广播音频数据播放与其他音频播放时序冲突的问题,即时间片的冲突会非常严重。鉴于此,如何高效的进行广播音频数据至用户的传输,成为一个亟待解决的技术问题。
为了解决上述问题,本申请实施例提供了一种音频传输方法及系统、芯片及存储介质。一方面不再需要音频输出设备,如耳机/音响自主的接收广播音频数据,而是通过音频中转设备来进行广播音频数据的采集,耳机/音响只需要连接并接收音频中转设备转发的音频数据即可,克服了耳机耗电量过大的缺陷;另一方面,音频传输系统在接收到广播音频数据之后,可以根据该广播音频数据和当前输出的其他音频数据生成待传输的目标音频数据,进而对该目标音频数据进行播放处理,解决了广播音频数据的播放与其他音频数据的播放存在时序冲突的问题,系统智能性高。
应理解,本发明实施例的技术方案本申请实施例的技术方案可以应用第五代移动通信网络(5th generation mobile networks,5G)通信系统或未来的通信系统,也可以用于其他各种无线通信系统,例如:全球移动通讯(GSM,Global System of Mobile Communication)系统、码分多址(CDMA,Code Division Multiple Access)系统、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)系统、通用分组无线业务(GPRS,General Packet Radio Service)、长期演进(LTE,Long Term Evolution)系统、LTE频分双工(FDD,Frequency Division Duplex)系统、LTE时分双工(TDD,Time Division Duplex)、通用移动通信系统(UMTS,Universal Mobile Telecommunication System)等。
本申请一实施例提供了一种音频传输方法,应用于图1所示的音频传输系统,图1为本申请实施例提出的音频传输系统的组成结构示意图一,如图1所示,在本申请的实施例中,音频传输系统10包括音频中转设备20和音频输出设备30。
需要说明的是,在本申请的实施例中,图1所示的音频传输系统10可应用于图2所示的广播收听系统,可用于接收并播放来自于外界广播设备的广播音频数据。图2为本申请实施例提出的广播收听系统的结构示意图,如图2所示,在本申请的实施例中,广播收听系统40包括广播设备50以及音频传输系统10。
具体的,广播设备50用于进行广播音频数据的发送;音频中转设备20用于接收来自于广播设备50的广播音频数据,并转发至音频输出设备30;音频输出设备30用于对接收到的广播音频数据进行输出播放以使用户收听。
应理解,音频中转设备20可以是用户设备(User Equipment,UE)、用户单元、用户站、移动站、移动台、远方站、远程音频中转设备、移动设备、用户音频中转设备、音频中转设备、无线通信设备、用户代理或用户装置,音频中转设备还可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备、5G网络中的音频中转设备或者未来演进的公共陆地移动网(Public Land Mobile Network,PLMN)中的音频中转设备等。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。
本申请一实施例提供了一种音频传输方法,图3为本申请实施例提出的音频传输方法的实现流程示意图一,如图3所示,在本申请的实施例中,音频传输系统执行音频传输方法可以包括以下步骤:
步骤100、在音频中转设备与音频输出设备建立无线通信连接之后,音频中转设备获取目标广播音频数据。
在本申请的实施例中,音频传输系统可以在音频中转设备与音频输出设备建立无线通信连接之后,先通过音频中转设备获取目标广播音频数据。
需要说明的是,在本申请的实施例中,音频中转设备可以为任何具备音频采集传输功能的无线通信电子设备。可选的,该音频中转设备不局限于智能手机、网关设备(如路由器)、平板电脑、电视、个人计算机(Personal Computer,PC)、笔记本电脑等电子设备。
需要说明的是,在本申请的实施例中,音频输出设备可以为任何具备音频播放功能的无线通信电子设备。具体的,该无线通信可以为蓝牙通信。可选的,该音频输出设备不局限于蓝牙耳机、蓝牙音响。
可以理解的是,在本申请的实施例中,若要使用蓝牙耳机或者蓝牙音响对音频中转设备中的音频数据进行播放,音频中转设备可以为具备蓝牙通信功能的电子设备。这里,音频传输系统可以先建立音频中转设备与这些音频输出设备之间的蓝牙通信连接。
在本申请的一些实施例中,音频中转设备可以向音频输出设备发送蓝牙连接请求,并等待接收音频输出设备的配对连接确认信息,当接收到该音频设备返回的配对连接指令时,音频中转设备便可以基于该配对连接指令建立与音频传输设备之间的蓝牙通信连接。
需要说明的是,在本申请的实施例中,上述蓝牙通信连接不限定于传统的蓝牙物理链路(Asynchronous Connectionless,ACL),也可以是BT5.2新引入的CIG/CIS链路。
进一步的,在本申请的实施例中,音频中转设备在与音频输出设备建立通信连接之后,音频中转设备便可以先获取广播音频数据。应理解,在本申请的实施例中,音频中转设备可以获取来自于广播设备的广播音频数据。
应理解,该广播设备可以为可进行BIG/BIS广播的设备,也可以为通过扬声器/喇叭播放广播的设备。例如地铁中报站器,警报器,家里的门铃,机场的登机或者火车站的登车播报器。
可以理解的是,在本申请的实施例中,为了保证广播的及时收听,音频中转设备始终需要保持在广播收听状态,然而在将接收到的广播音频数据通过音频输出设备进行输出播放的时候,有可能当前正在进行其他音频数据的输出播放,为了避免广播音频数据的播放与当前播放的其他音频数据产生时序冲突,音频中转设备需要在接收广播音频数据的同时,进行当前音频输出状态的实时检测。
进一步的,在本申请的实施例中,音频传输系统在通过音频中转设备获取目标广播音频数据,并检测出当前音频输出状态之后,音频中转设备可以进一步根据当前音频输出状态判断是否执行该广播音频数据的混音处理。
步骤110、若音频中转设备的当前状态为输出初始音频数据,则音频中转设备根据初始音频数据和目标广播音频数据生成待传输音频数据。
步骤120、音频中转设备将待传输音频数据发送至音频输出设备。
在本申请的实施例中,音频传输系统在通过音频中转设备获取到广播音频数据以及检测出当前音频输出状态之后,如果音频中转设备的当前状态为输出初始音频数据,那么音频中转设备便可以根据初始音频数据和目标广播音频数据先生成待传输音频数据。
需要说明的是,在本申请的实施例中,初始音频数据指音频中转设备当前正向音频输出设备发送的其他非广播音频数据。
需要说明的是,在本申请的实施例中,音频中转设备的当前状态可以是音频中转设备当前正向音频输出设备发送其他非广播音频数据,以通过音频输出设备进行其他非广播音频数据的播放;另一方面,音频中转设备的当前状态还可以是音频中转设备当前并未向音频输出设备发送任何音频数据,即当前音频输出设备并没有进行任何其他非广播 音频数据的播放。
这里,如果音频中转设备确定当前状态为输出初始音频数据,那么为了在不影响其他初始音频数据的播放,同时用户又可以及时收听到广播音频数据,音频中转设备可以基于对目标广播音频数据和初始音频数据的混音处理获得待传输音频数据,并将待传输数据发送至音频输出设备。
步骤130、音频输出设备播放待传输音频数据。
在本申请的实施例中,音频输出设备在接收到音频中转设备发送的待传输音频数据之后,便可对该待传输音频数据进行播放。
需要说明的是,在本申请的实施例中,音频输出设备针对不同的待传输音频数据采用不同的播放策略。
这里,当待传输数据为经混音处理得到的混音后音频数据时,音频输出设备以不同的音量对广播音频数据和初始音频数据进行播放。
在本申请的一些实施例中,图4为本申请实施例提出的音频传输方法的实现流程示意图二,如图4所示,在本申请的实施例中,音频中转设备根据初始音频数据和目标广播音频数据生成待传输音频数据可以包括以下步骤:
步骤111、若音频中转设备的当前状态为输出初始音频数据,音频中转设备对初始音频数据和目标广播音频数据进行混音处理,生成混音后音频数据;其中,混音后数据包括第一识别等级的目标广播音频数据和第二识别等级的初始音频数据;第一识别等级大于第二识别等级。
可以理解的是,由于混音处理是将多个音频数据同时播放,那么为了使用户更有效的收听到广播音频数据,音频中转设备需要使广播音频数据在音频输出设备播放时更为突出,因此,在本申请的实施例中,音频中转设备需要先对广播音频数据和初始音频数据这两个音频数据进行能够使目标广播音频数据在播放时突出于初始音频数据的混音操作,也就是说,使混音后数据中的目标广播音频数据相比于初始音频数据更容易被用户识别到。
在本申请的一些实施例中,音频中转设备可以通过混音处理使混音后数据中,目标广播音频数据的识别等级即第一识别等级,大于初始音频数据的识别等级即第二识别等级。
可选的,音频中转设备可以通过音量调节处理、频率调节处理等,使混音处理后的音频数据中目标广播音频数据更为突出。
在本申请的一些实施例中,图5为本申请实施例提出的音频传输方法的实现流程示意图三,如图5所示,在本申请的实施例中,音频中转设备对初始音频数据和目标广播音频数据进行混音处理,生成混音后音频数据,即步骤111可以包括以下步骤:
步骤111a、若音频中转设备的当前状态为输出初始音频数据,音频中转设备按照第一权重值对目标广播音频数据进行音量调节处理,获得第一音量的目标广播音频数据。
步骤111b、按照第二权重值对初始音频数据进行音量调节处理,获得第二音量的初始音频数据。
步骤111c、基于第一音量的目标广播音频数据和第二音量的初始音频数据生成混音后音频数据。
需要说明的是,在本申请的实施例中,音频中转设备可以利用表征不同音量大小的权重值对音频数据进行音量调节处理。
在本申请的一些实施例中,音频中转设备可以先按照第一权重值对广播音频数据进行音量调节处理,进而获得第一音量的广播音频数据;同时按照小于第一权重值的第二权重值对初始音频数据进行音量调节处理,进而获得第二音量的初始音频数据。
进一步的,音频中转设备便可以基于上述不同音量大小的两个音频数据生成混音后数据。
在本申请的一些实施例中,音频中转设备可以先进行广播音频数据和当前输出初始音频数据的解码处理,进而对解码后的数据进行基于音量权重值的混音处理,得到混音后数据,并对混音后数据再次进行编码,得到混音后音频数据,并将该混音后音频数据作为待传输音频数据。
步骤112、音频中转设备将混音后音频数据作为待传输音频数据。
进一步的,音频中转设备在进行声音的混音处理后,音频中转设备便可以将混音后的音频数据转发给音频输出设备进行播放。
详细的,音频中转设备可以采用弱化当前播放的其他非广播初始音频数据,而加强突出广播音频数据的方式进行声音的混音处理。如,音频中转设备可以把当前播放的其他初始音频数据的声音降低,以突出广播音频数据的声音。
这里,如果音频中转设备确定当前状态为输出初始音频数据,为了避免混音处理产生的声音不清晰的缺陷,以保证用户清晰且有效的收听到广播音频数据,音频中转设备可以按照时间先后顺序进行不同音频数据的发送过程。
在本申请的一些实施例中,图6为本申请实施例提出的音频传输方法的实现流程示意图四,如图6所示,在本申请的实施例中,音频中转设备根据初始音频数据和目标广播音频数据生成待传输音频数据可以包括以下步骤:
步骤113、若音频中转设备的当前状态为输出初始音频数据,音频中转设备直接将初始音频数据和目标广播音频数据作为待传输音频数据。
进一步的,音频中转设备将待传输音频数据发送至音频输出设备,即步骤120包括:
步骤121、音频中转设备停止初始音频数据的输出,将目标广播音频数据发送至音频输出设备,以使音频输出设备播放目标广播音频数据。
步骤122、在目标广播音频数据发送完成之后,音频中转设备继续向音频输出设备发送初始音频数据,以使音频输出设备继续播放初始音频数据。
在本申请的一些实施例中,音频中转设备可以在接收到广播音频数据时,暂停当前初始音频数据至音频输出设备的发送,先将广播音频数据发送至音频输出设备,进而使得音频输出设备播放当前的广播音频数据。
进一步的,在广播音频数据发送完成之后,音频中转设备可以向音频输出设备继续发送初始音频数据,使得音频输出设备接下来继续播放初始音频数据。
例如,当手机接收到登机广播时,此时,手机正在通过蓝牙耳机播放音乐,那么手机暂停音乐,先通过耳机仅播放登机广播,登机广播播放完成之后,手机继续通过耳机播放音乐。在本申请的一些实施例中,图7为本申请实施例提出的音频传输方法的实现流程示意图五,如图7所示,在本申请的实施例中,音频中转设备将待传输音频数据发送至音频输出设备之后,即步骤120之后,音频输出设备播放待传输音频数据可以包括以下步骤:
步骤131、音频输出设备按照第一音量播放目标广播音频数据,同时按照第二音量播放初始音频数据。
应理解,音频输出设备接收到的混音数据中,音频中转设备已按照能够表征音量大小的不同权重值对音频数据进行了音量调节处理,使得播放时广播音频数据更加突出于初始音频数据。因此,在本申请的实施例中,音频输出设备可以按照目标广播音频数据音量大于初始音频数据音量的播放策略进行播放。
例如,当手机接收到登机广播时,此时,手机正在通过蓝牙耳机播放音乐,那么手机可以对登机广播和音乐进行声音的混音处理,可以是将音乐的声音往下调一些,突出 这个重要登机广播的声音;或者也可以是直接把音乐数据的音量降为0,仅播放登机广播即可。
可选的,基于图6所示的音频传输方法,当待传输数据为按照时间先后顺序发送的不同的音频数据时,音频输出设备直接按照时间先后顺序对接收到的不同音频数据进行播放即可。
应理解,由于音频输出设备是一个被动的音频播放设备,只是被动的接收音频中转设备发送的音频数据。因此,在本申请的实施例中,当音频中转设备停止输出初始音频数据,而发送广播音频数据时,音频输出设备此时仅对接收到的广播音频数据播放即可;而当音频中转设备广播音频数据输出完成继续输出初始音频数据时,音频输出设备此时继续进行初始音频数据的播放。即音频输出设备在接收到音频中转设备发送的目标广播音频数据之后,播放目标广播音频数据;音频输出设备在接收到音频中转设备发送的初始音频数据之后,播放初始音频数据。
需要说明的是,如果音频中转设备确定当前状态为未向音频输出设备发送任何音频数据,即未输出初始音频数据,那么音频传输系统可以通过音频中转设备直接将接收到的广播音频数据发送至音频输出设备以进行播放。
综上所述,在本申请中,音频传输系统中,音频中转设备作为一个广播收集者的角色,音频中转设备可以是手机,也可以是电视TV,也可以是蓝牙网关。音频中转设备可以对接收到的广播信号进行音频解码后,将获取到的广播音频数据转发给音频输出设备,如耳机或音响。其中,如果转发时当前已有听歌业务在进行,则需要把广播和已有的音乐混音处理后转发给耳机或者音响,或者暂停已有的音乐先播放广播。可见,本申请耳机/音响不再需要自己去收听广播,而是基于与音频中转设备的蓝牙通信连接而接收音频中转设备转发的广播,如果断开音频中转设备与耳机的蓝牙通信连接,那么用户通过耳机便无法收听到广播。
本申请实施例提供了一种音频传输方法,音频传输系统包括音频中转设备和音频输出设备,在音频中转设备与音频输出设备建立无线通信连接之后,音频中转设备获取目标广播音频数据;若音频中转设备的当前状态为输出初始音频数据,则音频中转设备根据目标广播音频数据对初始音频数据进行混音处理,获得混音后音频数据,并将混音后音频数据发送至音频输出设备;音频输出设备按照第一音量播放目标广播音频数据,同时按照第二音量播放初始音频数据;其中,第一音量大于第二音量。也就是说,在本申请的实施例中,一方面不再需要音频输出设备,如耳机/音响自主的接收广播音频数据,而是通过音频中转设备来进行广播音频数据的采集,耳机/音响只需要连接并接收音频中转设备转发的音频数据即可,克服了耳机耗电量过大的缺陷;另一方面,音频传输系统在接收到广播音频数据之后,可以根据该广播音频数据和当前输出的其他音频数据生成待传输的目标音频数据,进而对该目标音频数据进行播放处理,解决了广播音频数据的播放与其他音频数据的播放存在时序冲突的问题,系统智能性高。
基于上述实施例,在本申请的再一实施例中,图8为本申请实施例提出的音频传输方法的实现流程示意图六,如图8所示,在本申请的实施例中,音频传输系统通过音频中转设备获取目标广播音频数据(步骤100)包括以下步骤:
步骤101a、在音频中转设备与音频输出设备建立无线通信连接之后,接收广播设备发送的无线广播信号。
步骤101b、对无线广播信号进行解码处理,获得目标广播音频数据。
需要说明的是,在本申请的实施例中,该广播设备可以为低功耗蓝牙(Bluetooth Low Energy,BLE)广播设备。
在本申请的一些实施例中,在本申请的实施例中,当外界的广播设备以BIG/BIS的 形式进行广播发送时,音频传输系统可以通过音频中转设备可以接收该广播设备发送的无线广播信号,并对该无线广播信号进行解码处理,进而得到目标广播音频数据,从而可将该解码后得到的广播音频数据进一步发送至音频输出设备。
应理解,广播设备普遍设置有广播接收权限和广播重要性,音频中转设备在执行来自于广播设备的广播音频数据的获取之前,音频中转设备可以先通过网络、定位、或者生态软件等常用方式获取外界相关广播设备对应的音频接收参数,进而基于上述音频接收参数执行无线广播信号的接收。
在本申请的一些实施例中,在本申请的实施例中,音频中转设备在进行无线广播信号的接收时,音频中转设备可以先获取广播设备对应的音频接收参数,然后基于该音频接收参数接收无线广播信号。
需要说明的是,上述音频接收参数可以包括广播设备对应的加密参数;或者上述音频接收参数可以包括广播设备对应的优先级别;或者上述音频接收参数既可以包括加密参数,也可以包括优先级别。
进一步地,在本申请的一些实施例中,在音频接收参数包括加密参数的情况下,图9为本申请实施例提出的音频传输方法的实现流程示意图七,如图9所示,音频传输系统通过音频中转设备接收广播设备发送的无线广播信号包括:
步骤101a1、在音频中转设备与音频输出设备建立无线通信连接之后,获取广播设备对应的加密参数。
步骤101a2、基于加密参数接收无线广播信号。
在本申请的一些实施例中,加密参数不限制于广播设备对应的设备名称以及广播接收密码。
这里,音频中转设备在基于配置信息获取到广播设备对应的加密参数之后,音频中转设备便可以在参数设置界面输入所需要接收的广播的设备名称,以及该设备名称所对应的密码,音频中转设备便可以响应该操作,基于该加密参数获取到该目标广播信号的接收权限,从而便可以进一步进行对目标广播信号的接收,以获取目标广播音频数据。
在本申请的一些实施例中,在音频接收参数包括优先级别的情况下,图10为本申请实施例提出的音频传输方法的实现流程示意图八,如图10所示,音频传输系统通过音频中转设备接收广播设备发送的无线广播信号的方法包括:
步骤101a3、在音频中转设备与音频输出设备建立无线通信连接之后,获取广播设备对应的优先级别。
步骤101a4、根据优先级别接收无线广播信号。
应理解,外界存在多个不同的广播设备,根据设备自身配置或者用户需求,各广播设备对应的优先级别存在差异,如火警设备对应的广播优先级别始终处于最高优先级;可见,如果出现同一时刻存在多个广播,为了避免出现广播调度产生冲突的问题,音频中转设备可以基于广播设备的配置信息先获取各个广播设备对应的广播接收优先级,或者用户可以根据实际需要在操作界面手动设置各广播的优先级别,进而音频中转设备响应上述操作,按照该优先级别由高到低的顺序进行对目标广播信号的接收,以获取目标广播音频数据。
例如,如果当前同时存在站点播报器和火警报警器正在广播,由于火警广播处于最高优先级,因此手机可以选择优先接收火警报警器发送的无线广播信号。
进一步的,在本申请的实施例中,如果存在多个优先级相同的广播信号,为了避免多个广播之间的时序冲突,音频中转设备可以配置多天线接收,也就是能够同时接收多个无线广播信号,避免多个广播信号之间的时序冲突。
应理解,音频中转设备可以配置多个接收天线,如第一接收天线和第二接收天线, 音频中转设备可以利用第一接收天线接收第一广播设备发送的第一无线广播信号,同时通过第二广播设备接收第二设备发送的第二无线广播信号,从而避免了多个广播之间信号接收时的时序冲突。
进一步的,在本申请的实施例中,音频传输系统通过音频中转设备获取该广播音频数据的同时,还可以通过音频中转设备实时检测自身当前是否正在进行其他非广播音频数据的输出,即检测当前音频输出状态(步骤102),进而结合当前音频输出状态执行目标广播音频数据的转发处理。
可见,在本申请中,音频传输系统可以通过音频中转设备,根据广播设备对应广播配置信息,如加密参数、广播信号接收优先级别等执行无线广播信号的接收流程,进而在完成该广播信号的解码,获取到广播音频数据之后,进一步通过音频中转设备将广播音频数据转发至音频输出设备,不仅克服了耳机耗电量过大的缺陷,而且解决了广播音频数据播放与当前音频播放存在时序冲突的问题,音频中转设备智能性高。
基于上述实施例,在本申请的再一实施例中,图11为本申请实施例提出的音频传输方法的实现流程示意图九,如图11所示,在本申请的实施例中,音频传输系统通过音频中转设备获取目标广播音频数据(步骤100)包括以下步骤:
步骤101c、在音频中转设备与音频输出设备建立无线通信连接之后,通过声音采集模块采集广播设备播放的当前广播音频数据,并检测当前位置状态;
步骤101d、若当前位置状态为目标位置,则将当前广播音频数据确定为目标广播音频数据。
可以理解的是,如果广播设备通过扬声器或者喇叭播放广播音频数据,音频传输系统可以通过音频中转设备中的声音采集模块如麦克风,实时采集广播音频数据,由于采集到的这些广播音频数据并不全是用户所需的,那么音频中转设备可以结合当前位置状态确定出用户所需要收听的目标广播音频数据。
在本申请的一些实施例中,音频传输系统可以通过音频中转设备实时检测当前位置状态,如果当前位置状态为目标位置状态,那么音频中转设备可以将此时通过麦克风采集到的广播音频数据确定为目标广播音频数据,并进一步转发至音频输出设备,如蓝牙耳机。
例如,乘客乘坐飞机,手机可以通过机场里面的WIFI信号、或者卫星定位获取乘客的实时位置信息,当得知乘客当前位于机场内时,手机通过麦克风采集机场登机广播并转发给乘客。详细的,音频中转设备还可以结合乘客的目标航班登机信息,当得知乘客当前位于机场内时,且采集到的登机提醒为用户的目标航班登机提醒,那么音频中转设备可以将采集到的当前广播音频数据确定为目标广播音频数据,并进一步转发至音频输出设备,如蓝牙耳机。
例如,乘客乘坐地铁,手机可以通过地铁里面的WIFI信号、或者卫星定位获取乘客的实时位置信息,当乘客到达某一站点时,手机可以将当前通过麦克风接收到的站点报站广播转发给带蓝牙耳机的乘客。
可见,在本申请中,音频传输系统可以通过音频中转设备中的麦克风采集广播音频数据,并通过音频中转设备将广播音频数据转发至音频输出设备,不仅克服了耳机耗电量过大的缺陷,而且解决了广播音频数据与当前音频播放存在时序冲突的问题,音频中转设备智能性高。
基于上述实施例,在本申请的再一实施例中,图12为本申请实施例提出的音频传输方法的应用场景示意图一,假定音频中转设备为一台手机,音频传输设备为耳机,如图12所示,在本申请的实施例中,手机在与无线耳机建立蓝牙通信连接(如ACL链路或者BT5.2新引入的CIG/CIS链路)之后,手机可以接收门铃,火警报警器,机场、商 场、火车站广播,或者地铁报站器中的任意一个或多个设备发送的BIG/BIS广播,并进行解码获得广播音频数据。如果手机当前通过无线耳机正在播放其他音频数据,那么手机可以对广播音频数据和其他音频数据进行混音处理,使得混音后音频数据中着重突出广播音频数据,进而将混音后音频数据发送至无线耳机以实现用户收听广播。如果手机当前通过无线耳机并没有播放其他音频数据,那么手机可以将广播音频数据直接发送至无线耳机以实现用户收听广播。
基于上述实施例,在本申请的再一实施例中,图13为本申请实施例提出的音频传输方法的应用场景示意图二,假定音频中转设备为一台网关或者电视,音频传输设备为耳机/音响,如图13所示,在本申请的实施例中,客厅的网关在与音响建立蓝牙通信连接(ACL链路或者BT5.2新引入的CIG/CIS链路)之后,网关可以接收门铃,火警报警器,厨房电器广播,或者客厅电器广播中的任意一个或多个设备发送的BIG/BIS广播,并进行解码获得广播音频数据。如果客厅网关当前通过音响正在播放其他音频数据,那么网关可以先对广播音频数据和其他音频数据进行混音处理,使得混音后音频数据中着重突出广播音频数据,进而将混音后音频数据发送至音响以实现用户收听广播。如果网关当前通过音响并没有播放其他音频数据,那么网关可以将广播音频数据直接发送至音响以实现用户收听广播。
本申请实施例提供了一种音频传输方法,一方面不再需要音频输出设备,如耳机/音响自主的接收广播音频数据,而是通过音频中转设备来进行广播音频数据的采集,耳机/音响只需要连接并接收音频中转设备转发的音频数据即可,克服了耳机耗电量过大的缺陷;另一方面,音频中转设备可以对广播音频数据和当前输出的其他初始音频数据进行混音处理,将其他初始音频数据的音量下降,突出广播音频数据,进而解决了广播音频数据的播放与其他初始音频数据的播放存在时序冲突的问题,智能性高。
基于上述实施例,在本申请的另一实施例中,图14为本申请实施例提出的音频传输系统的组成结构示意图二,如图14所示,本申请实施例提出的音频传输系统10可以包括音频中转设备20和音频输出设备30,该音频中转设备20包括获取单元21、生成单元22、发送单元23以及建立单元24;该音频输出设备30包括播放单元31,
所述获取单元21,被配置为在所述音频中转设备与所述音频输出设备建立无线通信连接之后,获取目标广播音频数据;
所述生成单元22,被配置为若所述音频中转设备的当前状态为输出初始音频数据,则根据所述初始音频数据和所述目标广播音频数据生成待传输音频数据;
所述发送单元23,被配置为将所述待传输音频数据发送至所述音频输出设备;
所述播放单元31,被配置为播放所述待传输音频数据。
进一步的,在本申请的实施例中,所述生成单元22,还被配置为对所述初始音频数据和所述目标广播音频数据进行混音处理,生成混音后音频数据;其中,所述混音后数据包括第一识别等级的目标广播音频数据和第二识别等级的初始音频数据;所述第一识别等级大于所述第二识别等级;将所述混音后音频数据作为所述待传输音频数据。
进一步的,在本申请的实施例中,所述生成单元22,还被配置为按照第一权重值对所述目标广播音频数据进行音量调节处理,获得所述第一音量的目标广播音频数据;以及按照第二权重值对所述初始音频数据进行音量调节处理,获得所述第二音量的初始音频数据;以及基于所述第一音量的目标广播音频数据和所述第二音量的初始音频数据生成所述混音后音频数据。
进一步的,在本申请的实施例中,所述播放单元31,还被配置为按照第一音量播放所述目标广播音频数据,同时按照第二音量播放所述初始音频数据。
进一步的,在本申请的实施例中,所述生成单元22,还被配置为直接将所述初始音 频数据和所述目标广播音频数据作为所述待传输音频数据。
进一步的,在本申请的实施例中,所述发送单元23,还被配置为停止所述初始音频数据的输出,将所述目标广播音频数据发送至所述音频输出设备,以使所述音频输出设备播放所述目标广播音频数据;以及在所述目标广播音频数据发送完成之后,继续向所述音频输出设备发送所述初始音频数据,以使所述音频输出设备继续播放所述初始音频数据。
进一步的,在本申请的实施例中,所述播放单元31,还被配置为所述音频中转设备获取目标广播音频数据之后,若所述当前音频输出状态为未输出初始音频数据,则所述音频中转设备向所述音频输出设备发送所述目标广播音频数据;所述音频输出设备播放所述待传输音频数据。
进一步的,在本申请的实施例中,所述获取单元21,还被配置为接收广播设备发送的无线广播信号;以及对所述无线广播信号进行解码处理,获得所述目标广播音频数据。
进一步的,在本申请的实施例中,所述获取单元21,还被配置为获取所述广播设备对应的加密参数;以及基于所述加密参数接收所述无线广播信号。
进一步的,在本申请的实施例中,所述获取单元21,还被配置为获取所述广播设备对应的接收优先级别;以及根据所述接收优先级别接收所述无线广播信号。
进一步的,在本申请的实施例中,所述广播设备包括第一设备和第二设备,所述音频中转设备配置第一接收天线和第二接收天线,所述获取单元21,还具体被配置为通过所述第一接收天线接收所述第一设备发送的第一无线广播信号;以及通过所述第二接收天线接收所述第二设备发送的第二无线广播信号。
进一步的,在本申请的实施例中,所述获取单元21,还被配置为通过声音采集模块采集广播设备播放的当前广播音频数据,并检测当前位置状态;以及若所述当前位置状态为目标位置,则将所述当前广播音频数据确定为所述目标广播音频数据。
进一步的,在本申请的实施例中,所述目标广播音频数据为BIG数据。
在本申请的实施例中,进一步地,图15为本申请实施例提出的音频中转设备组成结构示意图三,如图15所示,本申请实施例提出的音频传输系统10包括音频中转设备20和音频输出设备30,所述音频中转设备20包括第一处理器25和存储有所述第一处理器25可执行指令的第一存储器26以及第一通信接口27的第一总线28;所述音频输出设备30包括第二处理器32和存储有所述第二处理器32可执行指令的第二存储器33以及第二通信接口34的第二总线35。
在本申请的实施例中,上述第一处理器25或第二处理器32为特定用途集成电路(Application Specific Integrated Circuit,ASIC)、数字信号处理器(Digital Signal Processor,DSP)、数字信号处理装置(Digital Signal Processing Device,DSPD)、可编程逻辑装置(Programmable Logic Device,PLD)、现场可编程门阵列(Field Programmable Gate Array,FPGA)、中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器中的至少一种。可以理解地,对于不同的设备,被配置为实现上述处理器功能的电子器件还可以为其它,本申请实施例不作具体限定。音频传输系统10还可以包括第一存储器26和第二存储器33,该第一存储器26可以与第一处理器25连接,第二存储器33可以与第二处理器32连接其中,第一存储器26、第二存储器33被配置为存储可执行程序代码,该程序代码包括计算机操作指令,第一存储器26、第二存储器33可能包含高速RAM存储器,也可能还包括非易失性存储器,例如,至少两个磁盘存储器。
在本申请的实施例中,第一总线28被配置为连接第一通信接口27、第一处理器25以及第一存储器26以及这些器件之间的相互通信,第二总线35被配置为连接第二通信接口34、第二处理器32以及第二存储器33以及这些器件之间的相互通信。
在本申请的实施例中,第一存储器26、第二存储器33,被配置为存储指令和数据。
进一步地,在本申请的实施例中,上述第一处理器25,被配置为在所述音频中转设备与所述音频输出设备建立无线通信连接之后,通过所述音频中转设备获取目标广播音频数据;若所述音频中转设备的当前状态为输出初始音频数据,则通过所述音频中转设备根据所述初始音频数据和所述目标广播音频数据生成待传输音频数据;以及通过所述音频中转设备将所述待传输音频数据发送至所述音频输出设备。
进一步地,在本申请的实施例中,上述第二处理器32,被配置为通过所述音频输出设备播放所述待传输音频数据。
进一步地,在本申请的实施例中,上述第一处理器25,还被配置为对所述初始音频数据和所述目标广播音频数据进行混音处理,生成混音后音频数据;其中,所述混音后数据包括第一识别等级的目标广播音频数据和第二识别等级的初始音频数据;所述第一识别等级大于所述第二识别等级;以及将所述混音后音频数据作为所述待传输音频数据。
进一步地,在本申请的实施例中,上述第一处理器25,还被配置为对所述初始音频数据和所述目标广播音频数据进行混音处理,生成混音后音频数据;其中,所述混音后数据包括第一识别等级的目标广播音频数据和第二识别等级的初始音频数据;所述第一识别等级大于所述第二识别等级;以及将所述混音后音频数据作为所述待传输音频数据。
进一步地,在本申请的实施例中,上述第一处理器25,还被配置为按照第一权重值对所述目标广播音频数据进行音量调节处理,获得第一音量的目标广播音频数据;以及按照第二权重值对所述初始音频数据进行音量调节处理,获得第二音量的初始音频数据;基于所述第一音量的目标广播音频数据和所述第二音量的初始音频数据生成所述混音后音频数据;以及相应地,
所述第二处理器32,还被配置为按照所述第一音量播放所述目标广播音频数据,同时按照所述第二音量播放所述初始音频数据。
进一步地,在本申请的实施例中,上述第一处理器25,还被配置为直接将所述初始音频数据和所述目标广播音频数据作为所述待传输音频数据。
进一步地,在本申请的实施例中,上述第一处理器25,还被配置为停止所述初始音频数据的输出,将所述目标广播音频数据发送至所述音频输出设备,以使所述音频输出设备播放所述目标广播音频数据;以及在所述目标广播音频数据发送完成之后,继续向所述音频输出设备发送所述初始音频数据,以使所述音频输出设备继续播放所述初始音频数据。
进一步地,在本申请的实施例中,上述第一处理器25,还被配置为若所述音频中转设备的当前状态为未输出初始音频数据,则所述音频中转设备向所述音频输出设备发送所述目标广播音频数据;以及所述音频输出设备播放所述待传输音频数据。
进一步地,在本申请的实施例中,上述第一处理器25,还被配置为接收广播设备发送的无线广播信号;以及对所述无线广播信号进行解码处理,获得所述目标广播音频数据。
进一步地,在本申请的实施例中,上述第一处理器25,还被配置为获取所述广播设备对应的音频接收参数;其中,所述音频接收参数包括加密参数和/或优先级别;以及基于所述音频接收参数接收所述无线广播信号。
进一步地,在本申请的实施例中,上述第一处理器25,还被配置为通过所述第一接收天线接收所述第一设备发送的第一无线广播信号;以及通过所述第二接收天线接收所述第二设备发送的第二无线广播信号。
进一步地,在本申请的实施例中,上述第一处理器25,还被配置为利用声音采集模块采集广播设备播放的当前广播音频数据,并检测当前位置状态;以及若所述当前位置 状态为目标位置,则将所述当前广播音频数据确定为所述目标广播音频数据。
进一步地,在本申请的实施例中,所述目标广播音频数据为广播同步组BIG数据或广播同步组信息BIS数据。
在实际应用中,上述第一存储器26、第二存储器33,可以是易失性存储器(volatile memory),例如随机存取存储器(Random-Access Memory,RAM);或者非易失性存储器(non-volatile memory),例如只读存储器(Read-Only Memory,ROM),快闪存储器(flash memory),硬盘(Hard Disk Drive,HDD)或固态硬盘(Solid-State Drive,SSD);或者上述种类的存储器的组合,并向处理器提供指令和数据。
另外,在本实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
集成的单元如果以软件功能模块的形式实现并非作为独立的产品进行销售或使用时,可以存储在一个计算机可读取存储介质中,基于这样的理解,本实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或processor(处理器)执行本实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random-Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
本申请实施例提供了一种音频传输系统,该音频传输系统包括音频中转设备和音频输出设备,在音频中转设备与音频输出设备建立无线通信连接之后,音频中转设备获取目标广播音频数据;若音频中转设备的当前状态为输出初始音频数据,则音频中转设备根据初始音频数据和目标广播音频数据生成待传输音频数据;音频中转设备将待传输音频数据发送至音频输出设备;音频输出设备播放待传输音频数据。也就是说,在本申请的实施例中,一方面不再需要音频输出设备,如耳机/音响自主的接收广播音频数据,而是通过音频中转设备来进行广播音频数据的采集,耳机/音响只需要连接并接收音频中转设备转发的音频数据即可,克服了耳机耗电量过大的缺陷;另一方面,音频传输系统在接收到广播音频数据之后,可以根据该广播音频数据和当前输出的其他音频数据生成待传输的目标音频数据,进而对目标音频数据进行播放处理,解决了广播音频数据的播放与其他音频数据的播放存在时序冲突的问题,系统智能性高。
本申请实施例提供一种计算机可读存储介质,其上存储有程序,应用于音频传输系统,所述音频传输系统包括音频中转设备和音频输出设备,该程序被所述音频中转设备中的第一处理器和所述音频输出设备中的第二处理器执行时实现如上所述的音频传输方法。
具体来讲,本实施例中的一种音频传输方法对应的程序指令可以被存储在光盘,硬盘,U盘等存储介质上,当存储介质中的与一种音频传输方法对应的程序指令被音频中转设备读取或被执行时,包括如下步骤:
在所述音频中转设备与所述音频输出设备建立无线通信连接之后,所述音频中转设备获取目标广播音频数据;
若所述音频中转设备的当前状态为输出初始音频数据,则所述音频中转设备根据所述初始音频数据和所述目标广播音频数据生成待传输音频数据;
所述音频中转设备将所述待传输音频数据发送至所述音频输出设备。
当存储介质中的与一种音频传输方法对应的程序指令被音频输出设备读取或被执行时,包括如下步骤:
所述音频输出设备播放所述待传输音频数据。
本申请实施例提供一种芯片,应用于音频传输系统,该芯片包括设置于音频中转设备的第一芯片和设置于音频输出设备的第二芯片,所述第一芯片包括第一处理器和第一接口,所述第二芯片包括第二处理器和第二接口,所述第一处理器通过第一接口获取第一程序指令,所述第二处理器通过第二接口获取第二程序指令,所述第一处理器和所述第二处理器通过运行所述第一程序指令和所述第二程序指令,实现如上所述的音频传输方法。在本申请的一些实施例中,所述音频传输方法,包括以下步骤:
在所述音频中转设备与所述音频输出设备建立无线通信连接之后,所述音频中转设备获取目标广播音频数据;
若所述音频中转设备的当前状态为输出初始音频数据,则所述音频中转设备根据所述初始音频数据和所述目标广播音频数据生成待传输音频数据;
所述音频中转设备将所述待传输音频数据发送至所述音频输出设备;
所述音频输出设备播放所述待传输音频数据。
本申请实施例提供一种芯片,应用于音频中转设备,该芯片包括处理器和接口,所述处理器通过接口获取程序指令,所述处理器通过运行所述程序指令实现如上所述的音频传输方法。在本申请的一些实施例中,所述音频传输方法,包括以下步骤:
在所述音频中转设备与所述音频输出设备建立无线通信连接之后,所述音频中转设备获取目标广播音频数据;
若所述音频中转设备的当前状态为输出初始音频数据,则所述音频中转设备根据所述初始音频数据和所述目标广播音频数据生成待传输音频数据;
所述音频中转设备将所述待传输音频数据发送至所述音频输出设备,以使所述音频输出设备播放所述待传输音频数据。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的实现流程示意图和/或方框图来描述的。应理解可由计算机程序指令实现流程示意图和/或方框图中的每一流程和/或方框、以及实现流程示意图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。
工业实用性
在本申请的实施例中,一方面,可以不再需要耳机/音响这些音频输出设备自主接收广播音频数据,而是可以通过音频中转设备来进行广播音频数据的采集,耳机/音响只需要连接并接收音频中转设备转发的音频数据即可,从而克服了耳机耗电量的缺陷;另一方面,音频传输系统在接收到广播音频数据之后,可以根据该广播音频数据和当前输出的其他音频数据生成待传输的目标音频数据,进而对该目标音频数据进行播放处理,解决了广播音频数据的播放与其他音频数据的播放存在时序冲突的问题,系统智能型更高。

Claims (20)

  1. 一种音频传输方法,所述方法应用于音频传输系统,所述音频传输系统包括音频中转设备和音频输出设备,所述方法包括:
    在所述音频中转设备与所述音频输出设备建立无线通信连接之后,所述音频中转设备获取目标广播音频数据;
    若所述音频中转设备的当前状态为输出初始音频数据,则所述音频中转设备根据所述初始音频数据和所述目标广播音频数据生成待传输音频数据;
    所述音频中转设备将所述待传输音频数据发送至所述音频输出设备;
    所述音频输出设备播放所述待传输音频数据。
  2. 根据权利要求1所述的方法,其中,所述音频中转设备根据所述初始音频数据和所述目标广播音频数据生成待传输音频数据,包括:
    对所述初始音频数据和所述目标广播音频数据进行混音处理,生成混音后音频数据;其中,所述混音后数据包括第一识别等级的目标广播音频数据和第二识别等级的初始音频数据;所述第一识别等级大于所述第二识别等级;
    将所述混音后音频数据作为所述待传输音频数据。
  3. 根据权利要求2所述的方法,其中,所述对所述初始音频数据和所述目标广播音频数据进行混音处理,生成混音后音频数据,包括:
    按照第一权重值对所述目标广播音频数据进行音量调节处理,获得第一音量的目标广播音频数据;
    按照第二权重值对所述初始音频数据进行音量调节处理,获得第二音量的初始音频数据;
    基于所述第一音量的目标广播音频数据和所述第二音量的初始音频数据生成所述混音后音频数据;
    相应地,所述音频输出设备播放所述待传输音频数据,包括:
    按照所述第一音量播放所述目标广播音频数据,同时按照所述第二音量播放所述初始音频数据。
  4. 根据权利要求1所述的方法,其中,所述音频中转设备根据所述初始音频数据和所述目标广播音频数据生成待传输音频数据,包括:
    直接将所述初始音频数据和所述目标广播音频数据作为所述待传输音频数据。
  5. 根据权利要求4所述的方法,其中,所述音频中转设备将所述待传输音频数据发送至所述音频输出设备,包括:
    停止所述初始音频数据的输出,将所述目标广播音频数据发送至所述音频输出设备,以使所述音频输出设备播放所述目标广播音频数据;
    在所述目标广播音频数据发送完成之后,继续向所述音频输出设备发送所述初始音频数据,以使所述音频输出设备继续播放所述初始音频数据。
  6. 根据权利要求1所述的方法,其中,所述音频中转设备获取目标广播音频数据之后,所述方法还包括:
    若所述音频中转设备的当前状态为未输出初始音频数据,则所述音频中转设备向所述音频输出设备发送所述目标广播音频数据;
    所述音频输出设备播放所述待传输音频数据。
  7. 根据权利要求1所述的方法,其中,所述音频中转设备获取目标广播音频数据,包括:
    接收广播设备发送的无线广播信号;
    对所述无线广播信号进行解码处理,获得所述目标广播音频数据。
  8. 根据权利要求7所述的方法,其中,所述接收广播设备发送的无线广播信号,包括:
    获取所述广播设备对应的音频接收参数;其中,所述音频接收参数包括加密参数和/或优先级别;
    基于所述音频接收参数接收所述无线广播信号。
  9. 根据权利要求7所述的方法,其中,所述广播设备包括第一设备和第二设备,所述音频中转设备配置第一接收天线和第二接收天线,所述接收广播设备发送的无线广播信号,包括:
    通过所述第一接收天线接收所述第一设备发送的第一无线广播信号;
    通过所述第二接收天线接收所述第二设备发送的第二无线广播信号。
  10. 根据权利要求1所述的方法,其中,所述音频中转设备获取目标广播音频数据,包括:
    利用声音采集模块采集广播设备播放的当前广播音频数据,并检测当前位置状态;
    若所述当前位置状态为目标位置,则将所述当前广播音频数据确定为所述目标广播音频数据。
  11. 根据权利要求1所述的方法,其中,所述目标广播音频数据为广播同步组BIG数据或广播同步组信息BIS数据。
  12. 一种音频传输系统,所述音频传输系统包括音频中转设备和音频输出设备,所述音频中转设备包括获取单元、生成单元、发送单元;所述音频输出设备包括播放单元,
    所述获取单元,被配置为在所述音频中转设备与所述音频输出设备建立无线通信连接之后,获取目标广播音频数据;
    所述生成单元,被配置为若所述音频中转设备的当前状态为输出初始音频数据,则根据所述初始音频数据和所述目标广播音频数据生成待传输音频数据;
    所述发送单元,被配置为将所述待传输音频数据发送至所述音频输出设备;
    所述播放单元,被配置为播放所述待传输音频数据。
  13. 一种音频传输系统,所述音频传输系统包括音频中转设备和音频输出设备,所述音频中转设备包括第一处理器和存储有所述第一处理器可执行指令的第一存储器,所述音频输出设备包括第二处理器和存储有所述第二处理器可执行指令的第二存储器,当所述可执行指令被所述第一处理器时,所述第一处理器,被配置为在所述音频中转设备与所述音频输出设备建立无线通信连接之后,通过所述音频中转设备获取目标广播音频数据;若所述音频中转设备的当前状态为输出初始音频数据,则所述音频中转设备根据所述初始音频数据和所述目标广播音频数据生成待传输音频数据;以及通过所述音频中转设备将所述待传输音频数据发送至所述音频输出设备;当所述可执行指令被所述第二处理器时,所述第二处理器,被配置为通过所述音频输出设备播放所述待传输音频数据。
  14. 根据权利要求13所述的音频传输系统,其中,所述第一处理器,还被配置为对所述初始音频数据和所述目标广播音频数据进行混音处理,生成混音后音频数据;其中,所述混音后数据包括第一识别等级的目标广播音频数据和第二识别等级的初始音频数据;所述第一识别等级大于所述第二识别等级;以及将所述混音后音频数据作为所述待传输音频数据。
  15. 根据权利要求14所述的音频传输系统,其中,所述第一处理器,还被配置为按照第一权重值对所述目标广播音频数据进行音量调节处理,获得第一音量的目标广播音频数据;以及按照第二权重值对所述初始音频数据进行音量调节处理,获得第二音量的初始音频数据;基于所述第一音量的目标广播音频数据和所述第二音量的初始音频数 据生成所述混音后音频数据;以及相应地,
    所述第二处理器,还被配置为按照所述第一音量播放所述目标广播音频数据,同时按照所述第二音量播放所述初始音频数据。
  16. 根据权利要求13所述的音频传输系统,其中,所述第一处理器,还被配置为直接将所述初始音频数据和所述目标广播音频数据作为所述待传输音频数据。
  17. 根据权利要求16所述的音频传输系统,其中,所述第一处理器,还被配置为停止所述初始音频数据的输出,将所述目标广播音频数据发送至所述音频输出设备,以使所述音频输出设备播放所述目标广播音频数据;以及在所述目标广播音频数据发送完成之后,继续向所述音频输出设备发送所述初始音频数据,以使所述音频输出设备继续播放所述初始音频数据。
  18. 一种芯片,所述芯片应用于音频传输系统,所述芯片包括设置于音频中转设备的第一芯片和设置于音频输出设备的第二芯片,所述第一芯片包括第一处理器和第一接口,所述第二芯片包括第二处理器和第二接口,所述第一处理器通过所述第一接口获取第一程序指令,所述第二处理器通过所述第二接口获取第二程序指令,所述第一处理器和所述第二处理器通过运行所述第一程序指令和所述第二程序指令,以执行如权利要求1-11任一项所述的方法。
  19. 一种芯片,所述芯片应用于音频中转设备,所述芯片包括处理器和接口,所述处理器通过所述接口获取程序指令,所述处理器通过运行所述程序指令,以执行如权利要求1-11任一项所述的方法。
  20. 一种计算机可读存储介质,其上存储有程序,应用于音频传输系统,所述音频传输系统包括音频中转设备和音频输出设备,所述程序被所述音频中转设备中的第一处理器和所述音频输出设备中的第二处理器执行时,实现如权利要求1-11任一项所述的方法。
PCT/CN2022/077440 2021-03-03 2022-02-23 音频传输方法及系统、芯片及存储介质 WO2022183950A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110237272.3 2021-03-03
CN202110237272.3A CN115037398A (zh) 2021-03-03 2021-03-03 音频传输方法及系统、芯片及存储介质

Publications (1)

Publication Number Publication Date
WO2022183950A1 true WO2022183950A1 (zh) 2022-09-09

Family

ID=83117740

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/077440 WO2022183950A1 (zh) 2021-03-03 2022-02-23 音频传输方法及系统、芯片及存储介质

Country Status (2)

Country Link
CN (1) CN115037398A (zh)
WO (1) WO2022183950A1 (zh)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6782106B1 (en) * 1999-11-12 2004-08-24 Samsung Electronics Co., Ltd. Apparatus and method for transmitting sound
JP2009300915A (ja) * 2008-06-17 2009-12-24 Fujitsu Ltd 音楽再生機能を有する携帯端末
CN103414982A (zh) * 2013-07-31 2013-11-27 北京小米科技有限责任公司 一种提供声音的方法和装置
CN105554664A (zh) * 2015-12-22 2016-05-04 王晓晖 一种基于耳机的声音处理方法、装置及耳机
CN106791109A (zh) * 2016-12-23 2017-05-31 维沃移动通信有限公司 一种声音提醒方法及移动终端
CN109379483A (zh) * 2018-09-07 2019-02-22 平安科技(深圳)有限公司 防止耳机隔绝提示信息的方法、装置及系统
CN212211362U (zh) * 2020-07-21 2020-12-22 乐行装备(深圳)有限公司 一种具有警报提醒功能的蓝牙耳机

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6782106B1 (en) * 1999-11-12 2004-08-24 Samsung Electronics Co., Ltd. Apparatus and method for transmitting sound
JP2009300915A (ja) * 2008-06-17 2009-12-24 Fujitsu Ltd 音楽再生機能を有する携帯端末
CN103414982A (zh) * 2013-07-31 2013-11-27 北京小米科技有限责任公司 一种提供声音的方法和装置
CN105554664A (zh) * 2015-12-22 2016-05-04 王晓晖 一种基于耳机的声音处理方法、装置及耳机
CN106791109A (zh) * 2016-12-23 2017-05-31 维沃移动通信有限公司 一种声音提醒方法及移动终端
CN109379483A (zh) * 2018-09-07 2019-02-22 平安科技(深圳)有限公司 防止耳机隔绝提示信息的方法、装置及系统
CN212211362U (zh) * 2020-07-21 2020-12-22 乐行装备(深圳)有限公司 一种具有警报提醒功能的蓝牙耳机

Also Published As

Publication number Publication date
CN115037398A (zh) 2022-09-09

Similar Documents

Publication Publication Date Title
JP7137635B2 (ja) ヘッドホーン無線通信方法、メインヘッドホーン、スレーブヘッドホーンおよびヘッドホーンシステム
CN107659551B (zh) 用于利用lte进行音频通信的系统与方法
CN109714782A (zh) 用于智能设备配网的方法、装置及电子设备
CN109819377B (zh) 无线耳机的信号传输方法及无线耳机系统
KR102569374B1 (ko) 블루투스 장치 동작 방법
WO2018152908A1 (zh) 一种可识别蓝牙耳机语音来源的方法及设备
CN109166578A (zh) 移动终端、语音控制方法及相关产品
CN107040874A (zh) 蓝牙数据同步操作的方法、装置及蓝牙设备
CN105763213A (zh) 采用两种不同的无线协议的无线耳机系统
CN104426832A (zh) 一种多终端多声道独立播放方法及装置
CN107040848A (zh) Avdtp协议的同步参数传输方法、装置及设备
CN111049709B (zh) 一种基于蓝牙的互联音箱控制方法、设备及存储介质
CN110830973B (zh) 一种利用无线耳机传输音频信息的方法
TWI799130B (zh) 可避免聲音中斷的藍牙通信系統及相關的藍牙設備群
CN114982369A (zh) 音频数据传输的方法、装置、芯片和电子设备
CN112105005B (zh) 一种控制蓝牙设备播放的方法及装置
WO2022183950A1 (zh) 音频传输方法及系统、芯片及存储介质
CN109874179B (zh) 通话系统、主控制器、无线处理单元以及转发方法
CN104427381A (zh) 播放方法及装置
WO2015154460A1 (zh) 音频数据的录音方法及装置
WO2010081383A1 (zh) 一种mbms控制信令的更新指示信令的产生方法及装置
WO2022198391A1 (zh) 一种通信方法、通信装置及终端
CN105635431A (zh) 来电处理方法、来电处理装置和终端
CN106686259B (zh) 一种通话时共享背景音的方法及装置
CN105635427A (zh) 信息处理方法、信息处理装置和终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22762416

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22762416

Country of ref document: EP

Kind code of ref document: A1