CN115037398A - Audio transmission method and system, chip and storage medium - Google Patents

Audio transmission method and system, chip and storage medium Download PDF

Info

Publication number
CN115037398A
CN115037398A CN202110237272.3A CN202110237272A CN115037398A CN 115037398 A CN115037398 A CN 115037398A CN 202110237272 A CN202110237272 A CN 202110237272A CN 115037398 A CN115037398 A CN 115037398A
Authority
CN
China
Prior art keywords
audio
audio data
broadcast
data
initial
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
CN202110237272.3A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110237272.3A priority Critical patent/CN115037398A/en
Priority to PCT/CN2022/077440 priority patent/WO2022183950A1/en
Publication of CN115037398A publication Critical patent/CN115037398A/en
Pending legal-status Critical Current

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

Landscapes

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

Abstract

The embodiment of the application discloses an audio transmission method and system, a chip and a storage medium, wherein the audio transmission method is applied to an audio transmission system, the audio transmission system comprises an audio transfer device and an audio output device, and the method comprises the following steps: after the audio transfer equipment establishes wireless communication connection with the audio output equipment, the audio transfer equipment acquires target broadcast audio data; if the current state of the audio transfer equipment is outputting initial audio data, the audio transfer equipment generates audio data to be transmitted according to the initial audio data and the target broadcast audio data; the audio transfer equipment sends the audio data to be transmitted to the audio output equipment; and the audio output equipment plays the audio data to be transmitted.

Description

Audio transmission method and system, chip and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an audio transmission method and system, a chip, and a storage medium.
Background
With the rapid development of communication technology, there are many Broadcast Isochronous (BIS)/Broadcast synchrony Group (BIG) related communication environments, such as a subway station reporter, an alarm, a home doorbell, an airport boarding Broadcast, or a train station boarding Broadcast. Currently, the type of protocol broadcast defined by the Bluetooth Special Interest Group (Bluetooth SIG) organization is listened to through an earphone/speaker.
However, most of the broadcasting is silent packets, and audio playing (such as boarding prompt, station reporting, fire alarm, and the like) is performed only when needed, so that in order to listen to the broadcasting signal in time, audio output devices such as earphones, sound equipment, and the like need to continuously listen to the broadcasting, and the defect of excessive power consumption of the earphones is caused; and if the audio output device is currently playing other audio data, the playing of the broadcast audio data and the playing of the other audio data can generate a time sequence conflict problem.
Disclosure of Invention
The embodiment of the application provides an audio transmission method, an audio transmission system, a chip and a storage medium, which not only overcome the defect of overlarge power consumption of an earphone, but also solve the problem of time sequence conflict between the playing of broadcast audio data and the playing of other audio data, and have high system intelligence.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides an audio transmission method, where 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:
after the audio transfer device establishes wireless communication connection with the audio output device, the audio transfer device acquires target broadcast audio data;
if the current state of the audio transfer equipment is outputting initial audio data, the audio transfer equipment generates audio data to be transmitted according to the initial audio data and the target broadcast audio data;
the audio transfer equipment sends the audio data to be transmitted to the audio output equipment;
and the audio output equipment plays the audio data to be transmitted.
In a second aspect, an embodiment of the present application provides an audio transmission system, where the audio transmission system includes an audio relay device and an audio output device, where the audio relay device includes an obtaining unit, a generating unit, and a sending unit; the audio output device includes a play unit,
the acquisition unit is used for acquiring target broadcast audio data after the audio transfer equipment establishes wireless communication connection with the audio output equipment;
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 that initial audio data is output;
the sending unit is used for sending the audio data to be transmitted to the audio output equipment;
the playing unit is used for playing the audio data to be transmitted.
In a third aspect, 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 instructions executable by the processor, and when the instructions are executed by the processor, the audio transmission method is implemented.
In a fourth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and an interface, where the processor obtains program instructions through the interface, and the processor is configured to execute the program instructions to implement the audio transmission method as described above.
In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a program is stored, where the program, when executed by a processor, implements the audio transmission method as described above.
The embodiment of the application provides an audio transmission method and system, a chip and a storage medium, wherein the audio transmission system comprises an audio transfer device and an audio output device, and after the audio transfer device establishes wireless communication connection with the audio output device, the audio transfer device acquires target broadcast audio data; if the current state of the audio transfer equipment is that the initial audio data are output, the audio transfer equipment generates audio data to be transmitted according to the initial audio data and the target broadcast audio data; the audio transfer equipment sends the audio data to be transmitted to audio output equipment; and the audio output equipment plays the audio data to be transmitted. That is to say, in the embodiment of the present application, on one hand, audio output devices, such as earphones/speakers, are not required to autonomously receive broadcast audio data, but the collection of the broadcast audio data is performed through the audio relay device, and the earphones/speakers only need to be connected to and receive the audio data forwarded by the audio relay device, so that the defect that the power consumption of the earphones is too large is overcome; on the other hand, after the audio transmission system receives the broadcast audio data, the target audio data to be transmitted can be generated according to the broadcast audio data and other currently output audio data, and then the target audio data is played, so that the problem that time sequence conflict exists between the playing of the broadcast audio data and the playing of other audio data is solved, and the system is high in intelligence.
Drawings
Fig. 1 is a first schematic structural diagram of an audio transmission system according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a broadcast listening system according to an embodiment of the present application;
fig. 3 is a first schematic flow chart illustrating an implementation of an audio transmission method according to an embodiment of the present application;
fig. 4 is a schematic flow chart illustrating an implementation process of the audio transmission method according to the embodiment of the present application;
fig. 5 is a schematic flowchart illustrating an implementation process of the audio transmission method according to the embodiment of the present application;
fig. 6 is a schematic flow chart illustrating an implementation of the audio transmission method according to the embodiment of the present application;
fig. 7 is a schematic flow chart illustrating an implementation of the audio transmission method according to the embodiment of the present application;
fig. 8 is a sixth schematic flow chart illustrating an implementation process of the audio transmission method according to the embodiment of the present application;
fig. 9 is a seventh schematic implementation flowchart of an audio transmission method according to an embodiment of the present application;
fig. 10 is a schematic flowchart illustrating an implementation flow of an audio transmission method according to an embodiment of the present application;
fig. 11 is a flowchart illustrating a ninth implementation of the audio transmission method according to the embodiment of the present application;
fig. 12 is a first schematic view illustrating an application scenario of the audio transmission method according to the embodiment of the present application;
fig. 13 is a schematic view illustrating an application scenario of the audio transmission method according to the embodiment of the present application;
fig. 14 is a schematic structural diagram of a second component of an audio transmission system according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of an audio transmission system according to an embodiment of the present application
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant application and are not limiting of the application. It should be further noted that, for the convenience of description, only the portions relevant to the related applications are shown in the drawings.
With the rapid development of communication technology, many BIS/BIG are involved in the communication environment, such as a station reporter in a subway, an alarm, a doorbell in a home, an airport boarding broadcast, or a boarding broadcast at a train station. Currently, the type of protocol broadcast defined by the SIG organization is listened to through headphones/speakers. The mobile phone is used as an assistant party to receive the broadcasted configuration information, such as the broadcast receiving password corresponding to each broadcasting device.
However, most of the broadcasts are silent packets, and audio playing (such as boarding prompt, stop report, fire alarm and the like) can be performed only when needed, so if the broadcasts are listened by the earphone according to the SIG scheme, the broadcasts need to be listened by the earphone continuously when no sound is available, otherwise, the broadcasts cannot be received in time when the sound comes, and the defect of excessive power consumption of the earphone is caused; and if the current earphone/stereo plays the voice or music of the mobile phone/TV, the problem that the broadcasting audio data playing conflicts with other audio playing time sequences exists, namely the conflict of time slices is very serious. Therefore, how to efficiently transmit the broadcast audio data to the user becomes a technical problem to be solved.
In order to solve the above problem, embodiments of the present application provide an audio transmission method and system, a chip, and a storage medium. On one hand, audio output equipment such as earphones/sound equipment is not needed any more, the broadcasting audio data are collected through the audio transfer equipment, the earphones/sound equipment only need to be connected with and receive the audio data forwarded by the audio transfer equipment, and the defect that the power consumption of the earphones is overlarge is overcome; on the other hand, after the audio transmission system receives the broadcast audio data, the target audio data to be transmitted can be generated according to the broadcast audio data and other currently output audio data, and then the target audio data is played, so that the problem that time sequence conflict exists between the playing of the broadcast audio data and the playing of other audio data is solved, and the system is high in intelligence.
It should be understood that the technical solution of the embodiment of the present invention may apply to a fifth generation mobile communication network (5G) communication system or a future communication system, and may also be applied to other various wireless communication systems, for example: a Global System for Mobile communications (GSM) System, a Code Division Multiple Access (CDMA) System, a Wideband Code Division Multiple Access (WCDMA) System, a General Packet Radio Service (GPRS), a Long Term Evolution (LTE) System, a Frequency Division Duplex (FDD) System, a Time Division Duplex (TDD) System, a Universal Mobile Telecommunications System (UMTS), and the like.
An embodiment of the present application provides an audio transmission method, which is applied to an audio transmission system shown in fig. 1, where fig. 1 is a schematic structural diagram of a composition of the audio transmission system provided in the embodiment of the present application, and as shown in fig. 1, in the embodiment of the present application, an audio transmission system 10 includes an audio relay device 20 and an audio output device 30.
It should be noted that, in the embodiment of the present application, the audio transmission system 10 shown in fig. 1 can be applied to the broadcast listening system shown in fig. 2, and can be used to receive and play broadcast audio data from an external broadcast device. Fig. 2 is a schematic structural diagram of a broadcast listening system according to an embodiment of the present application, and as shown in fig. 2, in the embodiment of the present application, the broadcast listening system 40 includes a broadcasting device 50 and an audio transmission system 10.
Specifically, the broadcasting device 50 is used to perform transmission of broadcast audio data; the audio relay device 20 is configured to receive the broadcast audio data from the broadcasting device 50 and forward the broadcast audio data to the audio output device 30; the audio output device 30 is used for outputting and playing the received broadcast audio data for the user to listen.
It should be understood that the audio relay device 20 may be a User Equipment (UE), a subscriber unit, a subscriber station, a mobile 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 Equipment, 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 Assistant (PDA), a handheld device with Wireless communication capability, a computing device or other processing device connected to a Wireless modem, a vehicle-mounted device, a wearable device, an audio relay device in a 5G Network, or an audio relay device in a future evolved Public Land Mobile Network (PLMN), etc.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
An embodiment of the present application provides an audio transmission method, and fig. 3 is a schematic implementation flow diagram of the audio transmission method provided in the embodiment of the present application, as shown in fig. 3, in the embodiment of the present application, an audio transmission method executed by an audio transmission system may include the following steps:
step 100, after the audio relay device establishes wireless communication connection with the audio output device, the audio relay device obtains target broadcast audio data.
In the embodiment of the application, the audio transmission system may acquire the target broadcast audio data through the audio relay device after the audio relay device establishes the wireless communication connection with the audio output device.
It should be noted that, in the embodiments of the present application, the audio relay device may be any wireless communication electronic device with an audio acquisition and transmission function. Optionally, the audio relay device is not limited to an electronic device such as a smart phone, a gateway device (e.g., a router), a tablet Computer, a television, a Personal Computer (PC), and a notebook Computer.
It should be noted that, in the embodiments of the present application, the audio output device may be any electronic device with wireless communication and having an audio playing function. Specifically, the wireless communication may be bluetooth communication. Optionally, the audio output device is not limited to a bluetooth headset or a bluetooth sound.
It can be understood that, in the embodiment of the application, if the audio data in the audio relay device is to be played using a bluetooth headset or a bluetooth sound, the audio relay device may be an electronic device with a bluetooth communication function. Here, the audio transmission system may first establish a bluetooth communication connection between the audio relay apparatus and the audio output apparatuses.
Specifically, the audio relay device may send a bluetooth connection request to the audio output device, wait to receive pairing connection confirmation information of the audio output device, and when receiving a pairing connection instruction returned by the audio output device, the audio relay device may establish bluetooth communication connection with the audio transmission device based on the pairing connection instruction.
It should be noted that, in the embodiment of the present application, the bluetooth communication connection is not limited to a conventional bluetooth physical link (ACL), but may also be a CIG/CIS link newly introduced by BT 5.2.
Further, in the embodiment of the present application, after the audio relay device establishes the communication connection with the audio output device, the audio relay device may first acquire the broadcast audio data. It should be understood that, in the embodiment of the present application, the audio relay apparatus may acquire the broadcast audio data from the broadcasting apparatus.
It should be understood that the broadcast device may be a device capable of BIG/BIS broadcasting, or a device capable of broadcasting through a speaker/speaker. Such as a station reporter in a subway, an alarm, a doorbell at home, a boarding reporter at an airport or a boarding reporter at a train station.
It can be understood that, in the embodiment of the present application, in order to ensure timely listening to a broadcast, the audio relay device needs to be always kept in a broadcast listening state, however, when outputting and playing received broadcast audio data through the audio output device, it is possible that other audio data are currently being output and played, and in order to avoid time sequence conflict between playing of the broadcast audio data and other currently played audio data, the audio relay device needs to perform real-time detection on a current audio output state while receiving the broadcast audio data.
Further, in the embodiment of the present application, after the audio transmission system obtains the target broadcast audio data through the audio relay device and detects the current audio output state, the audio relay device may further determine whether to execute the audio mixing process of the broadcast audio data according to the current audio output state.
And step 110, if the current state of the audio relay device is outputting the 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.
And step 120, the audio transfer equipment sends the audio data to be transmitted to the audio output equipment.
In the embodiment of the application, 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, the audio relay device may generate the audio data to be transmitted according to the initial audio data and the target broadcast audio data.
It should be noted that, in the embodiments of the present application, the initial audio data refers to other non-broadcast audio data that the audio relay apparatus currently sends to the audio output apparatus.
It should be noted that, in the embodiment of the present application, the current state of the audio relay device may be that the audio relay device currently sends other non-broadcast audio data to the audio output device, so as to play the other non-broadcast audio data through the audio output device; on the other hand, the current state of the audio relay device may also be that the audio relay device does not currently 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.
Here, if the audio relay device determines that the current state is outputting the initial audio data, in order to not affect the playing of other initial audio data and allow the user to listen to the broadcast audio data in time, the audio relay device may obtain the audio data to be transmitted based on the mixing processing of the target broadcast audio data and the initial audio data, and transmit the data to be transmitted to the audio output device.
Specifically, fig. 4 is a schematic view of an implementation flow chart of an audio transmission method provided in an embodiment of the present application, and as shown in fig. 4, in the embodiment of the present application, a method for generating audio data to be transmitted by an audio relay device according to initial audio data and target 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 audio mixing processing on the initial audio data and the target broadcast audio data to generate audio data after audio mixing; the mixed data comprises target broadcast audio data with a first identification level and initial audio data with a second identification level; the first recognition level is greater than the second recognition level.
It can be understood that, since the mixing process is to play a plurality of audio data simultaneously, in order to enable a user to more effectively listen to the broadcast audio data, the audio relay device needs to make the broadcast audio data more prominent when playing the broadcast audio data on the audio output device, and therefore, in the embodiment of the present application, the audio relay device needs to perform a mixing operation on the two audio data, namely, the broadcast audio data and the original audio data, so that the target broadcast audio data in the mixed data is more easily identified by the user than the original audio data.
Specifically, the audio relay device may enable, through the audio mixing process, the identification level of the target broadcast audio data, that is, the first identification level, to be greater than the identification level of the initial audio data, that is, the second identification level, in the mixed data.
Optionally, the audio relay device may make the target broadcast audio data in the audio data after the audio mixing processing more prominent through volume adjustment processing, frequency adjustment processing, and the like.
In detail, fig. 5 is a schematic flow chart of a third implementation of an audio transmission method provided in the embodiment of the present application, and as shown in fig. 5, in the embodiment of the present application, an audio relay device performs audio mixing processing on initial audio data and target broadcast audio data, and a method for generating audio data after audio mixing may include the following steps:
and step 111a, if the current state of the audio relay device is outputting the 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 with the first volume.
And step 111b, carrying out volume adjustment processing on the initial audio data according to the second weight value to obtain initial audio data with a second volume.
And step 111c, generating the audio data after mixing based on the target broadcast audio data with the first volume and the initial audio data with the second volume.
It should be noted that, in the embodiment of the present application, the audio relay device may perform volume adjustment processing on the audio data by using weights representing different volume sizes.
Specifically, the audio relay device may perform volume adjustment processing on the broadcast audio data according to the first weight value, so as to obtain broadcast audio data with a first volume; and meanwhile, carrying out volume adjustment processing on the initial audio data according to a second weight value smaller than the first weight value so as to obtain the initial audio data with a second volume.
Further, the audio relay device may generate the mixed data based on the two audio data with different volume levels.
Specifically, the audio relay device may perform decoding processing on the broadcast audio data and the currently output initial audio data, further perform audio mixing processing on the decoded data based on the volume weight value to obtain mixed audio data, encode the mixed audio data again to obtain mixed audio data, and use the mixed audio data as the audio data to be transmitted.
And step 112, the audio transit device takes the audio data after the audio mixing as audio data to be transmitted.
Further, after the audio relay device performs sound mixing processing on the sound, the audio relay device may forward the audio data after sound mixing to the audio output device for playing.
In detail, the audio relay device may perform sound mixing processing by weakening other non-broadcast initial audio data currently being played and enhancing the broadcast audio data. For example, the audio relay apparatus may reduce the sound of other initial audio data currently being played to highlight the sound of the broadcast audio data.
Here, if the audio relay device determines that the current state is outputting the initial audio data, in order to avoid the defect of unclear sound generated by the audio mixing process, so as to ensure that the user clearly and effectively listens to the broadcast audio data, the audio relay device may perform the sending process of different audio data according to the time sequence.
Specifically, fig. 6 is a schematic view of an implementation flow of an audio transmission method provided in an embodiment of the present application, and as shown in fig. 6, in the embodiment of the present application, a method for generating, by an audio relay device, audio data to be transmitted according to initial audio data and target broadcast audio data may include the following steps:
and 113, if the current state of the audio transfer device is outputting the initial audio data, the audio transfer device directly takes the initial audio data and the target broadcast audio data as audio data to be transmitted.
Further, the method for sending the audio data to be transmitted to the audio output device by the audio transfer device includes:
and 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.
And 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.
In detail, the audio relay device may suspend sending the current initial audio data to the audio output device when receiving the broadcast audio data, and send the broadcast audio data to the audio output device first, so that the audio output device plays the current broadcast audio data.
Further, after the transmission of the broadcast audio data is completed, the audio relay device may continue to transmit the initial audio data to the audio output device, so that the audio output device continues to play the initial audio data next.
For example, when the mobile phone receives a boarding broadcast, at this time, the mobile phone is playing music through the bluetooth headset, the mobile phone pauses music, only the boarding broadcast is played through the headset first, and after the boarding broadcast is played, the mobile phone continues to play music through the headset.
Step 130, the audio output device plays the audio data to be transmitted.
In the embodiment of the application, after the audio output device receives the audio data to be transmitted sent by the audio relay device, the audio output device can play the audio data to be transmitted.
It should be noted that, in the embodiment of the present application, the audio output device adopts different playing strategies for different audio data to be transmitted.
Here, when the data to be transmitted is the mixed audio data obtained by the mixing process, the audio output device plays the broadcast audio data and the initial audio data at different volumes.
Specifically, fig. 7 is a schematic view illustrating an implementation flow of an audio transmission method provided in an embodiment of the present application, as shown in fig. 7, in the embodiment of the present application, after the audio relay device uses the audio data after audio mixing as audio data to be transmitted, and sends the data to be transmitted to the audio output device, that is, after step 120, the method for 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.
It should be understood that in the mixed audio data received by the audio output device, the audio relay device has performed volume adjustment processing on the audio data according to different weight values capable of representing the volume, so that the broadcast audio data is more prominent than the original audio data during playing. Therefore, in the embodiment of the present application, the audio output device may play according to a play policy that the volume of the target broadcast audio data is greater than the volume of the initial audio data.
For example, when the mobile phone receives a boarding broadcast, at this time, the mobile phone is playing music through a bluetooth headset, and then the mobile phone may perform sound mixing processing on the boarding broadcast and the music, and may tune the sound of the music down to highlight the sound of the important boarding broadcast; alternatively, the volume of the music data may be directly reduced to 0, and only the boarding broadcast may be played.
Optionally, based on the audio transmission method shown in fig. 6, when the data to be transmitted is different audio data sent according to the time sequence, the audio output device may directly play the received different audio data according to the time sequence.
It should be understood that, since the audio output device is a passive audio playing 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 the broadcast audio data, the audio output device only plays the received broadcast audio data at this time; and when the audio transfer equipment finishes outputting the broadcast audio data and continues outputting the initial audio data, the audio output equipment continues playing the initial audio data at the moment. After receiving the target broadcast audio data sent by the audio transfer equipment, the audio output equipment plays the target broadcast audio data; and after the audio output equipment receives the initial audio data sent by the audio transfer equipment, playing the initial audio data.
It should be noted that, if the audio relay device determines that the current state is that no audio data is sent to the audio output device, that is, no initial audio data is output, the audio transmission system may directly send the received broadcast audio data to the audio output device through the audio relay device for playing.
In summary, in the present application, in the audio transmission system, the audio relay device plays a role as a broadcast collector, and the audio relay device may be a mobile phone, a television TV, or a bluetooth gateway. The audio relay device may perform audio decoding on the received broadcast signal, and then forward the obtained broadcast audio data to an audio output device, such as an earphone or a sound device. If the existing song listening service is in progress during forwarding, the broadcasting and the existing music are required to be forwarded to the earphone or the sound after mixed sound processing, or the existing music is suspended to play the broadcasting first. Therefore, the earphone/sound equipment does not need to listen to the broadcast by itself, the broadcast forwarded by the audio relay equipment is received based on the Bluetooth communication connection with the audio relay equipment, and if the Bluetooth communication connection between the audio relay equipment and the earphone is disconnected, the user cannot listen to the broadcast through the earphone.
The embodiment of the application provides an audio transmission method, wherein an audio transmission system comprises an audio transfer device and an audio output device, and after the audio transfer device establishes wireless communication connection with the audio output device, the audio transfer device acquires target broadcast audio data; if the current state of the audio transfer equipment is that the initial audio data are output, the audio transfer equipment performs audio mixing processing on the initial audio data according to the target broadcast audio data to obtain audio data after audio mixing, and sends the audio data after audio mixing to the audio output equipment; the audio output equipment 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. That is to say, in the embodiment of the application, on one hand, audio output equipment such as an earphone/a sound device is not needed to autonomously receive broadcast audio data, but the collection of the broadcast audio data is performed through the audio relay equipment, and the earphone/the sound device only needs to be connected with and receive the audio data forwarded by the audio relay equipment, so that the defect that the power consumption of the earphone is too large is overcome; on the other hand, after the audio transmission system receives the broadcast audio data, the target audio data to be transmitted can be generated according to the broadcast audio data and other currently output audio data, and then the target audio data is played, so that the problem that time sequence conflict exists between the playing of the broadcast audio data and the playing of other audio data is solved, and the system is high in intelligence.
Based on the foregoing embodiment, in a further embodiment of the present application, fig. 8 is a sixth schematic implementation flow chart of an audio transmission method provided in the embodiment of the present application, and as shown in fig. 8, in the embodiment of the present application, a method for an audio transmission system to obtain target broadcast audio data through an audio relay device (step 101) includes the following steps:
step 101a, after the audio relay device establishes wireless communication connection with the audio output device, receiving a wireless broadcast signal sent by the broadcast device.
And step 101b, decoding the wireless broadcast signals to obtain target broadcast audio data.
It should be noted that, in the embodiment of the present application, the broadcasting device may be a Bluetooth Low Energy (BLE) broadcasting device.
Specifically, in the embodiment of the present application, when the external broadcasting device performs broadcast transmission in the form of BIG/BIS, the audio transmission system may receive the wireless broadcast signal transmitted by the broadcasting device through the audio relay device, and decode the wireless broadcast signal to obtain the target broadcast audio data, so that the decoded broadcast audio data may be further transmitted to the audio output device.
It should be understood that the broadcasting device generally has the broadcast receiving authority and the broadcast importance, and before the audio relay device performs the acquisition of the broadcast audio data from the broadcasting device, the audio relay device may first acquire the audio receiving parameters corresponding to the external related broadcasting device through common manners such as network, positioning, or ecological software, and then perform the reception of the wireless broadcast signal based on the audio receiving parameters.
Specifically, in the embodiment of the application, when the audio relay device receives the wireless broadcast signal, the audio relay device may first obtain an audio receiving parameter corresponding to the broadcast device, and then receive the wireless broadcast signal based on the audio receiving parameter.
Optionally, the audio receiving parameter may include an encryption parameter corresponding to a broadcasting device; or the audio receiving parameter may include a priority level corresponding to the broadcasting device; or the audio receiving parameter may include an encryption parameter or a priority level.
Specifically, in a case that the audio receiving parameter includes an encryption parameter, fig. 9 is a seventh implementation flow diagram of the audio transmission method provided in the embodiment of the present application, and as shown in fig. 9, the method for receiving, by the audio transmission system, the wireless broadcast signal sent by the broadcast device through the audio relay device includes:
step 101a1, after the audio relay device establishes wireless communication connection with the audio output device, obtaining the corresponding encryption parameter of the broadcast device.
Step 101a2, receiving a wireless broadcast signal based on the encryption parameters.
In detail, the encryption parameter is not limited to the device name and the broadcast reception password corresponding to the broadcasting device.
Here, after the audio relay device obtains the encryption parameter corresponding to the broadcast device based on the configuration information, the audio relay device may input the device name of the broadcast to be received and the password corresponding to the device name on the parameter setting interface, and the audio relay device may respond to the operation and obtain the receiving authority of the target broadcast signal based on the encryption parameter, so that the target broadcast signal may be further received to obtain the target broadcast audio data.
Specifically, in a case that the audio receiving parameter includes a priority level, fig. 10 is an eighth implementation flow diagram of the audio transmission method provided in the embodiment of the present application, and as shown in fig. 10, the method for receiving, by the audio transmission system, the wireless broadcast signal sent by the broadcast device through the audio relay device includes:
step 101a3, after the audio relay apparatus establishes wireless communication connection with the audio output apparatus, acquiring the priority level corresponding to the broadcasting apparatus.
Step 101a4, receiving the wireless broadcast signal according to the priority level.
It should be understood that there are a plurality of different broadcasting devices outside, and according to the self configuration of the device or the user requirements, there are differences in the priority levels corresponding to the broadcasting devices, for example, the broadcasting priority level corresponding to the fire alarm device is always at the highest priority level; it can be seen that if multiple broadcasts exist at the same time, in order to avoid the problem of conflict generated by broadcast scheduling, the audio relay device may first obtain the broadcast receiving priority corresponding to each broadcast device based on the configuration information of the broadcast device, or a user may manually set the priority level of each broadcast on an operation interface according to actual needs, and then the audio relay device responds to the above operations, and receives the target broadcast signal according to the order of the priority levels from high to low, so as to obtain the target broadcast audio data.
For example, if a site announcer and a fire alarm are currently broadcasting, the mobile phone can select to preferentially receive the wireless broadcast signal sent by the fire alarm because the fire alarm is at the highest priority.
Further, in the embodiment of the present application, if there are multiple broadcast signals with the same priority, to avoid timing conflicts between the multiple broadcasts, the audio relay device may configure multiple antennas for receiving, that is, may be capable of receiving multiple wireless broadcast signals simultaneously to avoid timing conflicts between the multiple broadcast signals.
It should be understood that the audio relay apparatus may be configured with a plurality of receiving antennas, such as a first receiving antenna and a second receiving antenna, and the audio relay apparatus may receive a first wireless broadcast signal transmitted by the first broadcasting apparatus by using the first receiving antenna, and simultaneously receive a second wireless broadcast signal transmitted by the second broadcasting apparatus by using the second broadcasting apparatus, thereby avoiding a timing collision in signal reception between a plurality of broadcasts.
Further, in the embodiment of the present application, while the audio transmission system obtains the broadcast audio data through the audio relay device, the audio relay device may also detect whether it is currently outputting other non-broadcast audio data, that is, detect the current audio output state (102), and then execute the forwarding processing of the target broadcast audio data in combination with the current audio output state.
Therefore, in the application, the audio transmission system can execute the receiving process of the wireless broadcast signal according to the broadcast configuration information corresponding to the broadcast equipment, such as the encryption parameter, the broadcast signal receiving priority level and the like, through the audio relay equipment, and then decode the broadcast signal, and after the broadcast audio data is obtained, further forward the broadcast audio data to the audio output equipment through the audio relay equipment, so that the defect that the power consumption of the earphone is too large is overcome, the problem that the time sequence conflict exists between the broadcast audio data playing and the current audio playing is solved, and the intelligence of the audio relay equipment is high.
Based on the foregoing embodiment, in a further embodiment of the present application, fig. 11 is a schematic diagram illustrating an implementation flow of an audio transmission method proposed in the embodiment of the present application, as shown in fig. 11, in the embodiment of the present application, a method for an audio transmission system to obtain target broadcast audio data through an audio relay device (step 101) includes the following steps:
step 101c, after the audio transfer device establishes wireless communication connection with the audio output device, acquiring current broadcast audio data played by the broadcast device through a sound acquisition module, and detecting the current position state;
and step 101d, if the current position state is the target position, determining the current broadcast audio data as the target broadcast audio data.
It can be understood that, if the broadcasting device plays the broadcast audio data through the speaker or the loudspeaker, the audio transmission system may collect the broadcast audio data in real time through the sound collection module in the audio relay device, such as the microphone, and since the collected broadcast audio data are not all required by the user, the audio relay device may determine the target broadcast audio data that the user needs to listen to in combination with the current position state.
Specifically, the audio transmission system may detect the current position state in real time through the audio relay device, and if the current position state is the target position state, the audio relay device may determine the broadcast audio data collected by the microphone at this time as the target broadcast audio data, and further forward the target broadcast audio data to the audio output device, such as a bluetooth headset.
For example, when a passenger takes an airplane, a mobile phone can acquire real-time position information of the passenger through a WIFI signal in an airport or satellite positioning, and when the passenger is known to be located in the airport at present, the mobile phone collects boarding and broadcasting information of the airport through a microphone and forwards the boarding and broadcasting information to the passenger. In detail, the audio relay device may further combine with the passenger's target flight boarding information, and when it is known that the passenger is currently located in the airport and the collected boarding reminder is the user's target flight boarding reminder, the audio relay device may determine the collected current broadcast audio data as the target broadcast audio data, and further forward the target broadcast audio data to an audio output device, such as a bluetooth headset.
For example, when a passenger takes a subway, the mobile phone can acquire real-time position information of the passenger through a WIFI signal in the subway or satellite positioning, and when the passenger arrives at a certain station, the mobile phone can forward station broadcasting received by the microphone to the passenger with the Bluetooth headset.
Therefore, in the application, the audio transmission system can collect the broadcast audio data through the microphone in the audio transfer device and forward the broadcast audio data to the audio output device through the audio transfer device, so that the defect of overlarge power consumption of the earphone is overcome, the problem of time sequence conflict between the broadcast audio data and the current audio playing is solved, and the intelligence of the audio transfer device is high.
Based on the foregoing embodiment, in yet another embodiment of the present application, fig. 12 is a schematic view of an application scenario of an audio transmission method provided in the embodiment of the present application, and it is assumed that an audio relay device is a mobile phone and an audio transmission device is an earphone, as shown in fig. 12, in the embodiment of the present application, after a bluetooth communication connection (such as an ACL link or a CIG/CIS link newly introduced by BT 5.2) is established between the mobile phone and a wireless earphone, the mobile phone may receive a BIG/BIS broadcast sent by any one or more devices in a doorbell, a fire alarm, an airport, a mall, a train station broadcast, or a subway station reporter, and decode the BIG/BIS broadcast to obtain broadcast audio data. If the mobile phone is playing other audio data through the wireless earphone at present, the mobile phone can perform audio mixing processing on the broadcast audio data and other audio data, so that the broadcast audio data is emphasized in the audio data after audio mixing, and then the audio data after audio mixing is sent to the wireless earphone to enable a user to listen to the broadcast. If the mobile phone does not play other audio data through the wireless earphone currently, the mobile phone can directly send the broadcast audio data to the wireless earphone so as to enable the user to listen to the broadcast.
Based on the foregoing embodiment, in yet another embodiment of the present application, fig. 13 is a schematic view of an application scenario of an audio transmission method provided in the embodiment of the present application, and it is assumed that an audio relay device is a gateway or a television, and an audio transmission device is an earphone/a sound, as shown in fig. 13, in the embodiment of the present application, after a bluetooth communication connection (ACL link or CIG/CIS link newly introduced by BT 5.2) is established between a gateway in a living room and the sound, the gateway may receive a BIG/BIS broadcast sent by any one or more devices of a doorbell, a fire alarm, a kitchen appliance broadcast, or a living room appliance broadcast, and decode the BIG/BIS broadcast to obtain broadcast audio data. If the gateway in the living room plays other audio data through the sound box currently, the gateway can perform sound mixing processing on the broadcast audio data and other audio data first, so that the broadcast audio data are highlighted in the audio data after sound mixing, and then the audio data after sound mixing are sent to the sound box to enable a user to listen to the broadcast. If the gateway does not play other audio data currently through the stereo, the gateway can send the broadcast audio data directly to the stereo to enable the user to listen to the broadcast.
The embodiment of the application provides an audio transmission method, on one hand, audio output equipment such as earphones/sound equipment is not needed to receive broadcast audio data autonomously, but the collection of the broadcast audio data is carried out through audio transfer equipment, the earphones/sound equipment only needs to be connected with and receive the audio data forwarded by the audio transfer equipment, and the defect that the electricity consumption of the earphones is overlarge is overcome; on the other hand, the audio relay device can perform audio mixing processing on the broadcast audio data and other currently output initial audio data, reduce the volume of the other initial audio data, and highlight the broadcast audio data, so that the problem that time sequence conflict exists between the broadcast of the broadcast audio data and the play of the other initial audio data is solved, and the intelligence is high.
Based on the foregoing embodiment, in another embodiment of the present application, fig. 14 is a schematic structural diagram of a composition of an audio transmission system proposed in the embodiment of the present application, and as shown in fig. 14, the audio transmission system 10 proposed in the embodiment of the present application may include an audio relay device 20 and an audio output device 30, where the audio relay device 20 includes an obtaining unit 21, a generating unit 22, a sending unit 23, and a establishing unit 24; the audio output device 30 comprises a playback unit 31,
the obtaining unit 21 is configured to obtain target broadcast audio data after the audio relay device establishes a wireless communication connection with the audio output device;
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 that initial audio data is output;
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.
Further, in an embodiment of the present application, the generating unit 22 is specifically configured to perform audio mixing processing on the initial audio data and the target broadcast audio data, and generate audio data after audio mixing; the mixed data comprises target broadcast audio data of a first identification level and initial audio data of a second identification level; the first recognition level is greater than the second recognition level; and taking the audio data after the sound mixing as the audio data to be transmitted.
Further, in an embodiment of the present application, the generating unit 22 is further specifically configured to perform volume adjustment processing on the target broadcast audio data according to a first weight value, so as to obtain target broadcast audio data with the first volume; carrying out volume adjustment processing on the initial audio data according to a second weight value to obtain initial audio data with a second volume; and generating the mixed audio data based on the target broadcast audio data with the first volume and the initial audio data with the second volume.
Further, in this embodiment of the application, the playing unit 31 is specifically configured to play the target broadcast audio data according to a first volume, and simultaneously play the initial audio data according to a second volume.
Further, in an embodiment of the present application, the generating unit 22 is specifically configured to directly use the initial audio data and the target broadcast audio data as the audio data to be transmitted.
Further, in the embodiment of the present application, the sending unit 23 has a function of stopping the output of the initial audio data, and sending the target broadcast audio data to the audio output device, so that the audio output device plays the target broadcast audio data; and after the target broadcast audio data is completely sent, continuing to send the initial audio data to the audio output device so that the audio output device continues to play the initial audio data.
Further, in an embodiment of the present application, the playing unit 31 is specifically configured to, after the audio relay device obtains target broadcast audio data, if the current audio output state is that initial audio data is not output, send the target broadcast audio data to the audio output device by the audio relay device; and the audio output equipment plays the audio data to be transmitted.
Further, in an embodiment of the present application, the obtaining unit 21 is specifically configured to receive a wireless broadcast signal sent by a broadcasting device; and decoding the wireless broadcast signal to obtain the target broadcast audio data.
Further, in an embodiment of the present application, the obtaining unit 21 is further specifically configured to obtain an encryption parameter corresponding to the broadcasting device; and receiving the wireless broadcast signal based on the encryption parameter.
Further, in an embodiment of the present application, the obtaining unit 21 is further specifically configured to obtain a receiving priority level corresponding to the broadcasting device; and receiving the wireless broadcast signal according to the reception priority level.
Further, in an embodiment of the present application, the broadcasting device includes a first device and a second device, the audio relay device configures a first receiving antenna and a second receiving antenna, and the obtaining unit 21 is further specifically configured to receive a first wireless broadcast signal sent by the first device through the first receiving antenna; and receiving a second wireless broadcast signal transmitted by the second device through the second receiving antenna.
Further, in an embodiment of the present application, the obtaining unit 21 is further specifically configured to collect, through a sound collecting module, current broadcast audio data played by a broadcasting device, and detect a current position state; and if the current position state is a target position, determining the current broadcast audio data as the target broadcast audio data.
Further, in an embodiment of the present application, the target broadcast audio data is BIG data.
In an embodiment of the present application, further, fig. 15 is a schematic diagram of a third component structure of an audio relay device according to an embodiment of the present application, and as shown in fig. 15, an audio transmission system 10 according to an embodiment of the present application includes an audio relay device 20 and an audio output device 30, where the audio relay device 20 includes a first processor 25, a first memory 26 storing an executable instruction of the first processor 25, and a first bus 28 of a first communication interface 27; the audio 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 a second communication interface 34.
In an embodiment of the present invention, the first Processor 25 or the second Processor 32 is at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a ProgRAMmable Logic Device (PLD), a Field ProgRAMmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It is understood that the electronic devices for implementing the above processor functions may be other devices, and the embodiments of the present application are not limited in particular. The audio transmission system 10 may further comprise a first memory 26 and a second memory 33, the first memory 26 may be connected to the first processor 25, the second memory 33 may be connected to the second processor 32, wherein the first memory 26 and the second memory 33 are configured to store executable program code comprising computer operating instructions, the first memory 26 and the second memory 33 may comprise a high speed RAM memory, and may further comprise a non-volatile memory, such as at least two disk memories.
In the embodiment of the present application, the first bus 28 is used for connecting the first communication interface 27, the first processor 25 and the first memory 26 and the intercommunication among these devices, and the second bus 35 is used for connecting the second communication interface 34, the second processor 32 and the second memory 33 and the intercommunication among these devices.
In the embodiment of the present application, the first memory 26 and the second memory 33 are used for storing instructions and data.
Further, in an embodiment of the present application, the first processor 25 is configured to obtain, by the audio relay apparatus, target broadcast audio data after the audio relay apparatus establishes a wireless communication connection with the audio output apparatus; if the current state of the audio transfer equipment is outputting initial audio data, generating audio data to be transmitted according to the initial audio data and the target broadcast audio data through the audio transfer equipment; and sending the audio data to be transmitted to the audio output equipment through the audio transfer equipment.
Further, in an embodiment of the present application, the second processor 32 is configured to play the audio data to be transmitted through the audio output device.
In practical applications, the first Memory 26 and the second Memory 33 may be volatile memories (RAMs), such as Random-Access memories (RAMs); or a non-volatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk (Hard Disk Drive, HDD) or a Solid-State Drive (SSD); or a combination of the above types of memories and provides instructions and data to the processor.
In addition, each functional module in this embodiment may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware or a form of a software functional module.
Based on the understanding that the technical solution of the present embodiment essentially or a part contributing to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium, and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the method of the present embodiment. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiment of the application provides an audio transmission system, which comprises an audio transfer device and an audio output device, wherein the audio transfer device acquires target broadcast audio data after the audio transfer device establishes wireless communication connection with the audio output device; if the current state of the audio transfer equipment is that the initial audio data are output, the audio transfer equipment generates audio data to be transmitted according to the initial audio data and the target broadcast audio data; the audio transfer equipment sends the audio data to be transmitted to the audio output equipment; and the audio output equipment plays the audio data to be transmitted. That is to say, in the embodiment of the present application, on one hand, audio output devices, such as earphones/speakers, are not required to autonomously receive broadcast audio data, but the collection of the broadcast audio data is performed through the audio relay device, and the earphones/speakers only need to be connected to and receive the audio data forwarded by the audio relay device, so that the defect that the power consumption of the earphones is too large is overcome; on the other hand, after the audio transmission system receives the broadcast audio data, the target audio data to be transmitted can be generated according to the broadcast audio data and other currently output audio data, and then the target audio data is played, so that the problem that time sequence conflict exists between the playing of the broadcast audio data and the playing of other audio data is solved, and the system is high in intelligence.
An embodiment of the present application provides a computer-readable storage medium, on which a program is stored, and is applied to an audio transmission system including an audio relay apparatus and an audio output apparatus, where the program, when executed by a first processor in the audio relay apparatus and a second processor in the audio output apparatus, implements the audio transmission method as described above.
Specifically, the program instructions corresponding to an audio transmission method in the present embodiment may be stored on a storage medium such as an optical disc, a hard disc, a usb disk, or the like, and when the program instructions corresponding to an audio transmission method in the storage medium are read or executed by an audio relay apparatus, the method includes the following steps:
after the audio transfer device establishes wireless communication connection with the audio output device, the audio transfer device acquires target broadcast audio data;
if the current state of the audio transfer equipment is outputting initial audio data, the audio transfer equipment generates audio data to be transmitted according to the initial audio data and the target broadcast audio data;
and the audio transfer equipment sends the audio data to be transmitted to the audio output equipment.
When program instructions in a storage medium corresponding to an audio transmission method are read or executed by an audio output device, the method includes the steps of:
and the audio output equipment plays the audio data to be transmitted.
The embodiment of the application provides a chip, which is applied to an audio transmission system, and comprises a first chip arranged on an audio transfer device and a second chip arranged on an audio output device, wherein the first chip comprises a first processor and a first interface, the second chip comprises a second processor and a second interface, the first processor acquires a first program instruction through the first interface, the second processor acquires a second program instruction through the second interface, and the first processor and the second processor realize the audio transmission method through operating the first program instruction and the second program instruction. Specifically, the audio transmission method includes the following steps:
after the audio transfer device establishes wireless communication connection with the audio output device, the audio transfer device acquires target broadcast audio data;
if the current state of the audio transfer equipment is outputting initial audio data, the audio transfer equipment generates audio data to be transmitted according to the initial audio data and the target broadcast audio data;
the audio transfer equipment sends the audio data to be transmitted to the audio output equipment;
and the audio output equipment plays the audio data to be transmitted.
The embodiment of the application provides a chip, which is applied to audio transfer equipment and comprises a processor and an interface, wherein the processor acquires a program instruction through the interface, and the processor realizes the audio transmission method by running the program instruction. Specifically, the audio transmission method comprises the following steps:
after the audio transfer device establishes wireless communication connection with the audio output device, the audio transfer device acquires target broadcast audio data;
if the current state of the audio transfer equipment is outputting initial audio data, the audio transfer equipment generates audio data to be transmitted according to the initial audio data and the target broadcast audio data;
and the audio transfer equipment sends the audio data to be transmitted to the audio output equipment so that the audio output equipment plays the audio data to be transmitted.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present 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 (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of implementations of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart block or blocks and/or flowchart block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks in the flowchart and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and is not intended to limit the scope of the present application.

Claims (16)

1. An audio transmission method applied to an audio transmission system including an audio relay apparatus and an audio output apparatus, the method comprising:
after the audio transfer device establishes wireless communication connection with the audio output device, the audio transfer device acquires target broadcast audio data;
if the current state of the audio transfer equipment is outputting initial audio data, the audio transfer equipment generates audio data to be transmitted according to the initial audio data and the target broadcast audio data;
the audio transfer equipment sends the audio data to be transmitted to the audio output equipment;
and the audio output equipment plays the audio data to be transmitted.
2. The method according to claim 1, wherein the audio relay device generates audio data to be transmitted according to the initial audio data and the target broadcast audio data, and includes:
performing sound mixing processing on the initial audio data and the target broadcast audio data to generate sound-mixed audio data; the mixed data comprises target broadcast audio data with a first identification level and initial audio data with a second identification level; the first recognition level is greater than the second recognition level;
and taking the audio data after the sound mixing as the audio data to be transmitted.
3. The method of claim 2, wherein the mixing the initial audio data and the target broadcast audio data to generate mixed audio data comprises:
carrying out volume adjustment processing on the target broadcast audio data according to the first weight value to obtain target broadcast audio data with first volume;
carrying out volume adjustment processing on the initial audio data according to a second weight value to obtain initial audio data with a second volume;
generating the mixed audio data based on the target broadcast audio data with the first volume and the initial audio data with the second volume;
correspondingly, the audio output device plays the audio data to be transmitted, including:
and playing the target broadcast audio data according to the first volume, and simultaneously playing the initial audio data according to the second volume.
4. The method according to claim 1, wherein the audio relay device generates audio data to be transmitted according to the initial audio data and the target broadcast audio data, and includes:
and directly taking the initial audio data and the target broadcast audio data as the audio data to be transmitted.
5. The method according to claim 4, wherein the audio relay device sends the audio data to be transmitted to the audio output device, and the method comprises:
stopping outputting the initial audio data, and sending the target broadcast audio data to the audio output equipment so as to enable the audio output equipment to play the target broadcast audio data;
after the target broadcast audio data is sent, the initial audio data is continuously sent to the audio output device, so that the audio output device continuously plays the initial audio data.
6. The method of claim 1, wherein after the audio relay device acquires the target broadcast audio data, the method further comprises:
if the current state of the audio relay device is that initial audio data are not output, the audio relay device sends the target broadcast audio data to the audio output device;
and the audio output equipment plays the audio data to be transmitted.
7. The method of claim 1, wherein the audio relay device obtains the target broadcast audio data, and comprises:
receiving a wireless broadcast signal sent by broadcast equipment;
and decoding the wireless broadcast signal to obtain the target broadcast audio data.
8. The method of claim 7, wherein the receiving the wireless broadcast signal transmitted by the broadcasting device comprises:
acquiring audio receiving parameters corresponding to the broadcasting equipment; wherein the audio reception parameters comprise encryption parameters and/or priority levels;
receiving the wireless broadcast signal based on the audio reception parameter.
9. The method of claim 7, wherein the broadcasting device comprises a first device and a second device, the audio relay device configures a first receiving antenna and a second receiving antenna, and the receiving the wireless broadcast signal sent by the broadcasting device comprises:
receiving a first wireless broadcast signal sent by the first equipment through the first receiving antenna;
and receiving a second wireless broadcast signal sent by the second equipment through the second receiving antenna.
10. The method of claim 1, wherein the audio relay device obtains the target broadcast audio data, and comprises:
acquiring current broadcast audio data played by broadcast equipment by using a sound acquisition module, and detecting the current position state;
and if the current position state is the target position, determining the current broadcast audio data as the target broadcast audio data.
11. The method of claim 1, wherein the target broadcast audio data is broadcast synchronization group (BIG) data or broadcast synchronization group information (BIS) data.
12. The audio transmission system is characterized by comprising audio transfer equipment and audio output equipment, wherein the audio transfer equipment comprises an acquisition unit, a generation unit and a sending unit; the audio output device includes a play unit,
the acquisition unit is used for acquiring target broadcast audio data after the audio transfer equipment establishes wireless communication connection with the audio output equipment;
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 that initial audio data is output;
the sending unit is used for sending the audio data to be transmitted to the audio output equipment;
the playing unit is used for playing the audio data to be transmitted.
13. An audio transmission system comprising an audio relay device and an audio output device, the audio relay device comprising a first processor and a first memory storing instructions executable by the first processor, the audio output device comprising a second processor and a second memory storing instructions executable by the second processor, the instructions, when executed by the first processor and the second processor, performing the method of any of claims 1-11.
14. A chip, wherein the chip is applied to an audio transmission system, and the chip includes a first chip disposed on an audio relay device and a second chip disposed on an audio output device, the first chip includes a first processor and a first interface, the second chip includes a second processor and a second interface, the first processor obtains a first program instruction through the first interface, the second processor obtains a second program instruction through the second interface, and the first processor and the second processor execute the first program instruction and the second program instruction to perform the method according to any one of claims 1 to 11.
15. A chip, wherein the chip is applied to an audio relay device, and the chip comprises a processor and an interface, the processor obtains program instructions through the interface, and the processor executes the program instructions to perform the method according to any one of claims 1 to 11.
16. A computer-readable storage medium, on which a program is stored, for application to an audio transmission system comprising an audio relay device and an audio output device, wherein the program, when executed by a first processor in the audio relay device and a second processor in the audio output device, implements the method of any one of claims 1-11.
CN202110237272.3A 2021-03-03 2021-03-03 Audio transmission method and system, chip and storage medium Pending CN115037398A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110237272.3A CN115037398A (en) 2021-03-03 2021-03-03 Audio transmission method and system, chip and storage medium
PCT/CN2022/077440 WO2022183950A1 (en) 2021-03-03 2022-02-23 Audio transmission method and system, and chip and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110237272.3A CN115037398A (en) 2021-03-03 2021-03-03 Audio transmission method and system, chip and storage medium

Publications (1)

Publication Number Publication Date
CN115037398A true CN115037398A (en) 2022-09-09

Family

ID=83117740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110237272.3A Pending CN115037398A (en) 2021-03-03 2021-03-03 Audio transmission method and system, chip and storage medium

Country Status (2)

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

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100335613B1 (en) * 1999-11-12 2002-05-08 윤종용 Apparatus and method for transmission of a sound
JP2009300915A (en) * 2008-06-17 2009-12-24 Fujitsu Ltd Mobile terminal with music playback function
CN103414982B (en) * 2013-07-31 2018-02-13 小米科技有限责任公司 A kind of method and apparatus that sound is provided
CN105554664A (en) * 2015-12-22 2016-05-04 王晓晖 Headset based sound processing method and apparatus, and headset
CN106791109A (en) * 2016-12-23 2017-05-31 维沃移动通信有限公司 A kind of sound prompting method and mobile terminal
CN109379483B (en) * 2018-09-07 2021-06-11 平安科技(深圳)有限公司 Method, device, storage medium, computer equipment and system for preventing earphone from isolating prompt information
CN212211362U (en) * 2020-07-21 2020-12-22 乐行装备(深圳)有限公司 Bluetooth headset with alarm reminding function

Also Published As

Publication number Publication date
WO2022183950A1 (en) 2022-09-09

Similar Documents

Publication Publication Date Title
US11438643B2 (en) Terminal, method for voice control, and related products
CN109714782A (en) Method, apparatus and electronic equipment for smart machine distribution
CN107040874A (en) Method, device and the bluetooth equipment of blue-teeth data simultaneously operating
EP3685600B1 (en) Performing a reliable broadcast to a plurality of nodes
CN111479184A (en) True wireless earphone, terminal equipment and connection method of true wireless earphone
CN111049709B (en) Bluetooth-based interconnected loudspeaker box control method, equipment and storage medium
WO2013020278A1 (en) Method for reporting channel state information, user equipment and base station
CN110830973B (en) Method for transmitting audio information by using wireless earphone
WO2012016497A1 (en) Method and device for playing audio signal
CN105744022A (en) Mobile terminal as well as voice playing method and system
WO2021218563A1 (en) Method and device for transmitting data
CN105828253A (en) Wireless connection control method and device in audio playing system
CN113347578A (en) Audio data transmission method, device and system, storage medium and earphone
CN115037398A (en) Audio transmission method and system, chip and storage medium
CN112105005A (en) Method and device for controlling Bluetooth equipment to play
CN107528793B (en) Bluetooth transmission processing method, storage device and mobile terminal
CN113115153B (en) Processing method, Bluetooth headset and management platform
WO2015154460A1 (en) Audio data recording method and apparatus
CN202772917U (en) Multimedia-file split-type multi-channel synchronized broadcast implement system based on wireless transmission technology
CN114786095A (en) Audio sharing control method and device, earphone equipment and storage medium
CN113795016A (en) High-reliability Bluetooth multicast audio communication method and system and TWS earphone
JP7045403B2 (en) Signaling and use of virtual cell identifiers for SFN-type transmission
CN105635431A (en) Incoming call processing method, incoming call processing apparatus and terminal
WO2016197626A1 (en) Control method and device
WO2023102946A1 (en) Information transmission method and apparatus, and device/storage medium

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