CN114501401A - Audio transmission method and device, electronic equipment and readable storage medium - Google Patents

Audio transmission method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN114501401A
CN114501401A CN202110784078.7A CN202110784078A CN114501401A CN 114501401 A CN114501401 A CN 114501401A CN 202110784078 A CN202110784078 A CN 202110784078A CN 114501401 A CN114501401 A CN 114501401A
Authority
CN
China
Prior art keywords
audio
sound effect
effect parameters
sound
audio stream
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
CN202110784078.7A
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.)
Beijing Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202110784078.7A priority Critical patent/CN114501401A/en
Publication of CN114501401A publication Critical patent/CN114501401A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • 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)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The application provides an audio transmission method, wherein a first electronic device outputs audio streams with different sound effects to a plurality of second electronic devices in parallel, so that the audio output function of the existing electronic devices is expanded, and users of the second electronic devices set the sound effects required by the second electronic devices respectively, so that the users can listen to the sound with different sound effects from the first electronic device simultaneously when the first electronic device plays multimedia files.

Description

Audio transmission method and device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of electronic information, and in particular, to an audio transmission method and apparatus, an electronic device, and a readable storage medium.
Background
With the development of electronic device intelligence, it is a common application scenario that a plurality of electronic devices are connected to each other to realize a certain function.
For example, an earphone as an audio output device is connected to an electronic device playing a multimedia file, and then receives an audio stream from the electronic device and converts the audio stream into a sound signal to output.
Disclosure of Invention
The application provides an audio transmission method and device, electronic equipment and a readable storage medium, and aims to solve the problem of how to improve the audio output function.
In order to achieve the above object, the present application provides the following technical solutions:
a first aspect of the present application provides an audio transmission method, which is applied to a first electronic device, and the method specifically includes: the first electronic equipment transmits audio streams with different sound effects to the second electronic equipment in parallel, so that the functions of the electronic equipment are expanded, and the requirement that a plurality of users listen to the sound with different sound effects simultaneously can be met.
Optionally, before the audio streams with different sound effects are transmitted in parallel to the plurality of second electronic devices, the method further includes: and displaying an interactive interface, wherein the interactive interface comprises an adjusting control, the adjusting control is used for adjusting at least one of the second electronic equipment and setting the sound effect parameters of the sound effect of the audio stream, and the adjusting control responds to an operation instruction of the adjusting control and receives the at least one of the sound effect parameters of the second electronic equipment. The sound effect parameters are acquired through the interactive interface, and the method has high convenience.
Optionally, before the displaying the interactive interface, the method further includes: and displaying equipment controls corresponding to the second electronic equipment one to one, and sending prompt audio to the second electronic equipment corresponding to the equipment controls by responding to a first operation instruction of the equipment controls. The equipment control provides convenience for a user of the second electronic equipment to identify the second electronic equipment, and further lays a foundation for setting sound effect parameters of the second electronic equipment.
Optionally, a specific implementation manner of the display interactive interface includes: and displaying the interactive interface by responding to a second operation instruction of the equipment control, thereby providing convenience for calling the interactive interface for a user.
Optionally, before the audio streams with different sound effects are transmitted in parallel to the plurality of second electronic devices, the method further includes: and receiving at least one sound effect parameter transmitted by the second electronic equipment, wherein any one sound effect parameter is acquired by the second electronic equipment through responding to a touch instruction. The second electronic equipment acquires the sound effect parameters and transmits the sound effect parameters to the first electronic equipment, so that the influence of the setting of the sound effect parameters on the display content of the first electronic equipment can be reduced.
Optionally, before the audio streams with different sound effects are transmitted in parallel to the plurality of second electronic devices, the method further includes: and synchronizing the sound effect parameters with the second electronic equipment. Because the first electronic device and the second electronic device can both acquire the sound effect parameters, the sound effect parameters are synchronized so that the first electronic device and the second electronic device acquire the same sound effect parameters, and an audio stream of a sound effect required by a user can be accurately generated.
Optionally, the generating process of the audio streams with different sound effects includes: and generating audio streams transmitted to multiple paths of second electronic equipment in parallel, wherein any path of audio stream is generated by using sound effect parameters of one second electronic equipment. The mode of generating the audio stream in parallel can ensure that users of a plurality of second electronic devices can obtain sound signals with different sound effects at the same time or with smaller time delay.
Optionally, the sound effect parameters include first type sound effect parameters and second type sound effect parameters, and the calculation power resources required for responding to the second type sound effect parameters are less than the calculation power resources required for responding to the first type sound effect parameters; the generating of any audio stream by using sound effect parameters of the second electronic device includes: any one audio stream is generated by using the first type sound effect parameters of the second electronic equipment. The response of the second type of sound effect parameters is distributed to the second electronic equipment, so that computational resources of the first electronic equipment can be saved, the computational resources required by the second type of sound effect parameters distributed to the response of the second electronic equipment are less, and the second electronic equipment can be guaranteed to have stronger cruising ability.
Optionally, the generating of any one of the audio streams using a sound effect parameter of the second electronic device includes: and under the condition that the residual electric quantity of the second electronic equipment is greater than the threshold value, any one path of audio stream is generated by using one sound effect parameter of the second electronic equipment so as to further ensure that the second electronic equipment has stronger cruising ability.
Optionally, the method further includes: and instructing the second electronic equipment to respond to the second class of sound effect parameters to save resources of the first electronic equipment under the condition that the residual capacity of the second electronic equipment is greater than the threshold value.
Optionally, the transmitting audio streams with different sound effects to a plurality of second electronic devices in parallel includes: transmitting audio streams of different sound effects in parallel to a plurality of second electronic devices by using a Bluetooth-based A2DP protocol; or, using the ISOAL protocol based on Bluetooth low power consumption to transmit audio streams with different sound effects to a plurality of second electronic devices in parallel; or broadcasting audio streams with different sound effects to a plurality of second electronic equipment in a Bluetooth low energy based mode. Various Bluetooth modes are optional, and the compatibility with the Bluetooth technology is ensured, so that the method has higher implementability.
Optionally, a specific implementation manner of transmitting audio streams with different sound effects to multiple second electronic devices in parallel includes: and audio streams with different sound effects are transmitted to a plurality of second electronic equipment in parallel in a time division multiplexing mode, so that the parallel transmission of the multi-channel audio streams has high practicability.
A second aspect of the present application provides an audio transmission method, which is applied to a second electronic device, and specifically includes: a first audio stream of a first electronic transmission is received, and a sound signal is output according to the first audio stream. The sound effect of the first audio stream is different from the sound effect of the second audio stream received by other equipment, and the first audio stream and the second audio stream are transmitted in parallel by the first electronic equipment, so that the functions of the electronic equipment are expanded, and the requirements of a plurality of users for listening to the sound with different sound effects simultaneously can be met.
Optionally, before the receiving the first audio stream of the first electronic transmission, the method further includes: and acquiring sound effect parameters by responding to a touch instruction, and transmitting the sound effect parameters to the first electronic equipment, wherein the sound effect parameters are used for setting the sound effect of the first audio stream. The second electronic equipment acquires the sound effect parameters and transmits the sound effect parameters to the first electronic equipment, so that the influence of the setting of the sound effect parameters on the display content of the first electronic equipment can be reduced.
Optionally, before the receiving the first audio stream of the first electronic transmission, the method further includes: and synchronizing the sound effect parameters with the first electronic equipment. And synchronizing the sound effect parameters to ensure that the first electronic equipment and the second electronic equipment obtain the same sound effect parameters so as to accurately generate the audio stream of the sound effect required by the user.
Optionally, the sound effect parameters include first type sound effect parameters and second type sound effect parameters, and the calculation power resources required for responding to the second type sound effect parameters are less than the calculation power resources required for responding to the first type sound effect parameters; the first audio stream is generated according to the first type of sound effect parameters; the outputting a sound signal in accordance with the first audio stream comprises: processing the first audio stream by using the second type of sound effect parameters to obtain a processed audio stream; and converting the processed audio stream into the sound signal and outputting the sound signal. The response of the second type of sound effect parameters is distributed to the second electronic equipment, so that computational resources of the first electronic equipment can be saved, the computational resources required by the second type of sound effect parameters distributed to the response of the second electronic equipment are less, and the second electronic equipment can be guaranteed to have stronger cruising ability.
Optionally, before the processing the first audio stream using the second type of sound effect parameters, the method further includes: transmitting power information to the first electronic device, and receiving indication information of the first electronic device, which is sent by the first electronic device when the power information indicates that the remaining power is greater than a threshold value, wherein the indication information indicates that the second type of sound effect parameters are responded. Therefore, the electric quantity information is transmitted to the first electronic equipment, and the second electronic equipment can be guaranteed to have stronger cruising ability under the condition of responding to the second sound effect parameters.
The third aspect of the present application provides an audio output apparatus, which is applied to a first electronic device, and includes a transmission unit, where the transmission unit is configured to transmit audio streams of different sound effects to a plurality of second electronic devices in parallel. Not only expanded electronic equipment's function, can also satisfy the demand that a plurality of users listened to the sound of different audio simultaneously.
Optionally, the apparatus further comprises: the display unit is used for displaying an interactive interface, the interactive interface comprises an adjusting control, and the adjusting control is used for adjusting sound effect parameters of at least one piece of second electronic equipment; the sound effect parameters are used for setting the sound effect of the audio stream; and receiving the sound effect parameters of the at least one second electronic device by responding to the operation instruction of the adjusting control. The sound effect parameters are acquired through the interactive interface, and the method has high convenience.
Optionally, the display unit is further configured to display, before the interactive interface is displayed, device controls corresponding to the second electronic devices one to one; the transmission unit is further configured to send a prompt audio to the second electronic device corresponding to the device control by responding to the first operation instruction of the device control. The equipment control provides convenience for a user of the second electronic equipment to identify the second electronic equipment, and further lays a foundation for setting sound effect parameters of the second electronic equipment.
Optionally, a specific implementation manner of the display unit displaying the interactive interface is as follows: and displaying the interactive interface by responding to a second operation instruction of the equipment control, thereby providing convenience for calling the interactive interface for a user.
Optionally, the transmission unit is further configured to receive at least one sound effect parameter transmitted by the second electronic device before the audio streams with different sound effects are transmitted in parallel to the plurality of second electronic devices, and any one of the second electronic devices obtains the sound effect parameter by responding to the touch instruction. The second electronic equipment acquires the sound effect parameters and transmits the sound effect parameters to the first electronic equipment, so that the influence of the setting of the sound effect parameters on the display content of the first electronic equipment can be reduced.
Optionally, the transmission unit is further configured to synchronize the sound effect parameters with the second electronic device before transmitting the audio streams with different sound effects to the plurality of second electronic devices in parallel, so as to accurately generate the audio stream with the sound effect required by the user.
Optionally, the apparatus further comprises: and the generating unit is used for generating audio streams transmitted to multiple paths of second electronic equipment in parallel, and any path of audio stream is generated by using one sound effect parameter of the second electronic equipment. The mode of generating the audio stream in parallel can ensure that users of a plurality of second electronic devices can obtain sound signals with different sound effects at the same time or with smaller time delay.
Optionally, the sound effect parameters include a first kind of sound effect parameters and a second kind of sound effect parameters, and the calculation power resource required for responding to the second kind of sound effect parameters is less than that required for responding to the first kind of sound effect parameters; the generating unit is specifically configured to: any one audio stream is generated by using the first type sound effect parameters of the second electronic equipment. The response of the second type of sound effect parameters is distributed to the second electronic equipment, so that computational resources of the first electronic equipment can be saved, the computational resources required by the second type of sound effect parameters distributed to the response of the second electronic equipment are less, and the second electronic equipment can be guaranteed to have stronger cruising ability.
Optionally, the generating unit is specifically configured to: and under the condition that the residual electric quantity of the second electronic equipment is greater than the threshold value, any one path of audio stream is generated by using one sound effect parameter of the second electronic equipment so as to further ensure that the second electronic equipment has stronger cruising ability.
Optionally, the transmission unit is further configured to: and instructing the second electronic equipment to respond to the second class of sound effect parameters to save resources of the first electronic equipment under the condition that the residual capacity of the second electronic equipment is greater than the threshold value.
Optionally, a specific implementation manner of the transmission unit transmitting the audio streams with different sound effects to the plurality of second electronic devices in parallel includes: transmitting audio streams of different sound effects in parallel to a plurality of second electronic devices by using a Bluetooth-based A2DP protocol; or, using the ISOAL protocol based on Bluetooth low power consumption to transmit audio streams with different sound effects to a plurality of second electronic devices in parallel; or broadcasting audio streams with different sound effects to a plurality of second electronic equipment in a Bluetooth low energy based mode. Various Bluetooth modes are optional, and the compatibility with the Bluetooth technology is ensured, so that the method has higher implementability.
Optionally, a specific implementation manner of the transmission unit transmitting the audio streams with different sound effects to the plurality of second electronic devices in parallel includes: and audio streams with different sound effects are transmitted to a plurality of second electronic equipment in parallel in a time division multiplexing mode, so that the parallel transmission of the multi-channel audio streams has high practicability.
A fourth aspect of the present application provides an audio transmission apparatus, applied to a second electronic device, including: a receiving unit and an output unit. The receiving unit is used for receiving a first audio stream transmitted by first electronic equipment, wherein the sound effect of the first audio stream is different from the sound effect of a second audio stream received by other equipment, and the first audio stream and the second audio stream are transmitted by the first electronic equipment in parallel. The output unit is used for outputting a sound signal according to the first audio stream. The device not only expands the functions of the electronic equipment, but also can meet the requirement that a plurality of users listen to the sound of different sound effects simultaneously.
Optionally, the device further includes an obtaining unit, where the obtaining unit is configured to obtain a sound effect parameter by responding to a touch instruction before the receiving unit receives a first audio stream of a first electronic transmission, and transmit the sound effect parameter to the first electronic device, where the sound effect parameter is used to set a sound effect of the first audio stream. The second electronic equipment acquires the sound effect parameters and transmits the sound effect parameters to the first electronic equipment, so that the influence of the setting of the sound effect parameters on the display content of the first electronic equipment can be reduced.
Optionally, the apparatus further includes a synchronization unit, where the synchronization unit is configured to synchronize the sound effect parameters with the first electronic device before the receiving unit receives the first audio stream of the first electronic transmission, so as to accurately generate an audio stream of a sound effect required by the user.
Optionally, the sound effect parameters include first type sound effect parameters and second type sound effect parameters, and the calculation power resources required for responding to the second type sound effect parameters are less than the calculation power resources required for responding to the first type sound effect parameters; the first audio stream is generated according to the first type of sound effect parameters; the specific implementation manner of the output unit outputting the sound signal according to the first audio stream is as follows: processing the first audio stream by using the second type of sound effect parameters to obtain a processed audio stream; and converting the processed audio stream into the sound signal and outputting the sound signal. The response of the second type of sound effect parameters is distributed to the second electronic equipment, so that computational resources of the first electronic equipment can be saved, the computational resources required by the second type of sound effect parameters distributed to the response of the second electronic equipment are less, and the second electronic equipment can be guaranteed to have stronger cruising ability.
Optionally, the apparatus further includes a sending unit, configured to transmit power information to the first electronic device before the output unit processes the first audio stream using the second type of sound effect parameters. The receiving unit is further configured to: receiving indication information of the first electronic device, wherein the indication information indicates response to the second type of sound effect parameters, and the indication information is sent by the first electronic device when the power information indicates that the remaining power is greater than a threshold value. The electric quantity information is transmitted to the first electronic equipment, so that the second electronic equipment can be guaranteed to have stronger cruising ability under the condition of responding to the second sound effect parameters.
A fifth aspect of the present application provides an electronic device, comprising: a processor, a memory, and a wireless communication chip. The memory is used for storing programs, and the wireless communication chip is used for responding to the calling of the processor and realizing a transmission function; the processor is configured to execute the program to implement the audio transmission method according to the first aspect of the present application.
A sixth aspect of the present application provides an electronic device, comprising: wireless communication chip, treater, memory and sound generating unit. The memory is used for storing programs. The sound generating unit outputs sound for responding to the calling of the processor and generating sound signals. The processor is configured to execute the program to implement the audio transmission method according to the second aspect of the present application.
A seventh aspect of the present application provides a readable storage medium on which a program is stored, which, when read and executed by a computer device, implements the audio transmission method of the first or second aspect of the present application.
Drawings
Fig. 1 is a diagram illustrating an example of a scenario in which an audio transmission method provided in an embodiment of the present application is applicable;
fig. 2 is a schematic diagram of a technical framework for transmitting audio from a first electronic device to a second electronic device according to an embodiment of the present disclosure;
fig. 3a is a schematic structural diagram of a first electronic device disclosed in the embodiment of the present application;
fig. 3b is a schematic structural diagram of a second electronic device disclosed in the embodiment of the present application;
fig. 4 is a flowchart of an audio transmission method disclosed in an embodiment of the present application;
fig. 5 is an exemplary diagram of a control correspondingly displayed on an earphone and triggering an earphone prompt audio, disclosed in an embodiment of the present application;
FIG. 6 is an exemplary diagram of an interactive interface for sound effect parameter setting disclosed in the embodiments of the present application;
fig. 7 is a schematic diagram of a specific transmission manner in the audio transmission method disclosed in the embodiment of the present application;
fig. 8 is a schematic diagram of another specific transmission manner in the audio transmission method disclosed in the embodiment of the present application;
fig. 9 is a schematic diagram of another specific transmission manner in the audio transmission method disclosed in the embodiment of the present application;
fig. 10 is a diagram illustrating an example of parallel transmission of audio streams in a time division multiplexing manner in an audio transmission method disclosed in an embodiment of the present application;
fig. 11 is an exemplary diagram of sounds with different sound effects simultaneously received by multiple users from a first electronic device according to the audio transmission method disclosed in the embodiment of the present application;
fig. 12 is a flowchart of another audio transmission method disclosed in the embodiment of the present application;
fig. 13 is a scene example of acquiring sound effect parameters through a touch earphone according to the embodiment of the present disclosure;
fig. 14 is a flowchart of another audio transmission method disclosed in the embodiment of the present application;
fig. 15 is a flowchart of another audio transmission method disclosed in the embodiment of the present application;
fig. 16 is an exemplary diagram of sounds with different sound effects received from a first electronic device by a plurality of users wearing different earphones of the same pair of earphones according to the audio transmission method disclosed in the embodiment of the present application.
Detailed Description
Fig. 1 is an example of a scene in which a user receives an audio stream from an audio playback device such as a smart screen 2 and outputs a sound signal using an audio output device such as a headphone 1:
in figure 1, earphone 1 and the big screen of wisdom 2 pass through the bluetooth mode and are connected, and the big screen of wisdom plays multimedia file 2, and at the play in-process, the big screen of wisdom is with audio flow to earphone 1 transmission. The headphone 1 outputs a sound signal after receiving the audio stream, and a user wearing the headphone 1 hears the sound.
In the course of research, the applicant finds that the audio output function shown in the above scenario cannot meet the further needs of the user, and mainly includes the following two points:
1. a pair of earphones cannot meet the demand for outputting audio to a plurality of persons in parallel.
2. Even if the audio playback device can be connected to a plurality of pairs of headphones, the need to provide personalized sound effects to users wearing different headphones cannot be met. For example, when a song is played on the smart screen, the user a and the user B wear earphones respectively, and listen to the song played on the smart screen 2, the user a wants to obtain a heavy bass sound effect, and the user B wants to obtain a soft sound effect. The existing audio output functions cannot meet such a demand.
It can be seen that, in both electronic devices for audio playing and electronic devices for audio output, there is room for further improvement in existing functions.
The embodiment of the application discloses an audio transmission method and an audio transmission device, which are used for meeting the requirements and enabling electronic equipment to have more complete functions.
For convenience of description, in the following, an electronic device for playing a multimedia file is referred to as a first electronic device, and an electronic device for outputting audio as a sound signal is referred to as a second electronic device.
The technical framework for the first electronic device to transmit audio to the second electronic device is shown in fig. 2:
the application layer runs a player (such as APP) for playing multimedia (such as audio and video) files, and transmits audio generated in the process of playing the multimedia files to the audio framework layer. And the audio decoder in the audio frame layer is used for decoding the audio, and the decoded audio is resampled and forms an audio stream according to the sound effect parameters. And a Bluetooth encoder is arranged in a Bluetooth hardware abstraction layer in the hardware abstraction layer and is used for encoding the audio stream transmitted by the audio frame layer according to a Bluetooth transmission protocol to obtain the Bluetooth audio stream. And the Bluetooth driver arranged on the core layer drives the Bluetooth chip on the hardware layer to transmit Bluetooth audio streams to the second electronic equipment.
The second electronic device takes a bluetooth headset as an example, the bluetooth headset performs bluetooth decoding on the received audio stream, and acquires audio with sound effect required by a user wearing the bluetooth headset by using the decoded audio stream, namely, personalized sound effect at the headset side.
According to the technical scheme, the application layer and the audio frame layer of the first electronic device are improved, and the existing or improved Bluetooth technology (including Bluetooth drivers, Bluetooth chips and the like) is used for transmitting audio streams to the second electronic devices in parallel.
As shown in fig. 2, the improved application layer can acquire sound effect parameters. The improved audio frame layer differs from the prior art in that: a plurality of threads each for generating an audio stream using the sound-effect parameters so that the audio stream has a certain sound effect are run in parallel (in fig. 2, the threads are referred to as sound-effect threads based on this function). In connection with the above scenario, it can be understood that any one thread is used to generate an audio stream of an audio effect required by a user wearing a pair (or one) of earphones, and in fig. 2, the audio effect parameter is referred to as a personalized audio effect parameter. The personalized sound effect parameters may be obtained from an application of the application layer. The specific implementation flow of the functions of the sound effect framework layer can be referred to the flow described in the following embodiments.
According to the technical scheme, the process of generating the audio by the second electronic equipment according to the sound effect parameters is improved. Compared with the prior art, the function of negotiating with the first electronic device for the sound effect parameters to be processed by the second electronic device and sending the locally obtained sound effect parameters to the first electronic device is added (not shown in fig. 2, see the following process).
The first electronic device may be a smart screen, a mobile phone, a tablet Computer, a desktop Computer, a laptop Computer, a notebook Computer, an Ultra-mobile Personal Computer (UMPC), a handheld Computer, a netbook, a Personal Digital Assistant (PDA), a wearable electronic device, a smart watch, or the like.
The structure of the first electronic device may be as shown in fig. 3a, including: a processor 110, a memory 120, and a wireless communication chip, such as a bluetooth chip 130.
It is to be understood that the illustrated structure of the present embodiment does not constitute a specific limitation to the first electronic device. In other embodiments, the first electronic device may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processor (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processor (NPU), among others. The different processing units may be separate devices or may be integrated into one or more processors.
The wireless communication chip provides wireless communication technology for the electronic device, including but not limited to: wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and other solutions for wireless communication.
Taking the bluetooth chip 130 as an example, the bluetooth chip 130 provides bluetooth communication technology for the electronic device. The bluetooth chip 130 may receive electromagnetic waves via an antenna, frequency modulate and filter electromagnetic wave signals, and transmit the processed signals to the processor 110. The bluetooth chip 130 may also receive a signal to be transmitted from the processor 110, perform frequency modulation, amplification, and the like on the signal, and convert the signal into electromagnetic waves through the antenna to radiate the electromagnetic waves.
The memory 120 is used to store program codes, such as program codes for implementing the bluetooth driver, player, audio frame and bluetooth encoder functions in fig. 2, and the processor 110 implements an audio output function by executing the program codes stored in the memory 120.
The memory 120 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a Universal Flash Storage (UFS), and the like.
The second electronic device may be a wireless earphone, a wireless sound box, a wearable device, and the like. An example of a Wireless headset is a True Wireless Stereo (TWS) headset.
The second electronic device has a structure as shown in fig. 3b, and includes: such as a bluetooth chip 210, a processor 211, a memory 212, and a sound unit 213.
The bluetooth chip 210 is used to receive and decode bluetooth audio streams.
The memory 212 is used to store program code, such as the code used to implement the functionality of the personalized sound effects of FIG. 2. The processor 211 is configured to run a program code, implement personalized processing on the audio stream decoded by the bluetooth chip 210, and convert the processed audio stream into a sound signal through the sound generation unit 213.
The following will describe in detail a flow of the first electronic device and the second electronic device to implement parallel output of audio of personalized sound effect through cooperation, by taking an intelligent large screen and two pairs of earphones (respectively represented by the earphone 1 and the earphone 2) as an example. It should be understood that, in the scenarios and embodiments described in the present application, bluetooth connection and transmission are used as examples for illustration, but the present invention is not limited thereto, and other connection or transmission methods, such as Wi-Fi, etc. described above, may also be used.
Fig. 4 is a flowchart of an audio transmission method disclosed in an embodiment of the present application, including the following steps:
s11, after the connection between the intelligent large screen and at least one pair of the two pairs of earphones is established, the unique identification information of the connected earphones is obtained.
In this embodiment, the unique identification information includes a hardware machine code. The hardware machine code is an Extended Unique Identifier (EUI) with 48 bits, which is abbreviated as EUI-48.
In this embodiment, the EUI-48 may be obtained from link information linked to the headset. Taking the example that the earphone 1 and the earphone 2 are both connected with the smart large screen, the earphone 1 is connected with the smart large screen by using the link 1, the earphone 2 is connected with the smart large screen by using the link 2, the link information of the link 1 comprises the EUI-48 of the earphone 1, and the link information of the link 2 comprises the EUI-48 of the earphone 2.
Because the hardware machine code is not beneficial to the identification and memory of the user, the user can configure an identifier, namely a user name, for the headset. Thus, optionally, the unique identification information may also include a user name.
It will be appreciated that the manner in which the user configures the user name for the headset may include, but is not limited to: after the smart large screen is connected to the headset, a dialog box pops up prompting the user to enter the user name of the headset, e.g., the user enters the user name "twilight TWS headset" configured for headset 1 in the dialog box.
Optionally, under the condition that the unique identification information further includes a user name, the intelligent large screen stores the corresponding relationship between the user name and the hardware machine code of the same headset. For example, the smart large screen constructs a mapping table of user names and hardware machine codes of the headset.
And S12, displaying the control corresponding to the connected earphone on the intelligent large screen.
As shown in fig. 5, an example of a control is a horn control. Suppose that the earphone 1 and the earphone 2 are both connected with the smart large screen, and the smart large screen displays controls corresponding to the two earphones, which are respectively marked as a and b.
And S13, responding to the first operation instruction of the control corresponding to the earphone by the intelligent large screen, and sending prompt audio to the earphone.
After a plurality of earphones, especially a plurality of earphones of the same model all are connected with the big screen of wisdom, the user probably can not discern which controlling part corresponds the earphone of oneself wearing, consequently, is not convenient for set up the parameter to the earphone through the big screen of wisdom, for example the audio parameter of earphone. Therefore, the function of S13 is to assist the user in identifying the corresponding control of the headset worn, so as to improve the convenience of the user in setting the parameters of the headset.
Optionally, the first operation instruction may be a touch instruction for the control, for example, an instruction triggered by clicking the control a or b on the smart large screen, as shown in a manner a in fig. 5.
Alternatively, the first operation instruction may also be a received control instruction, for example, an instruction triggered by selecting the control a or B by a remote control device of a smart large screen, as shown in a manner B in fig. 5. In this embodiment, the remote control device with the smart large screen includes, but is not limited to, a remote controller or a mobile phone.
One example of the cue audio is a voice cue, and another example is audio that is currently playing.
It is understood that S13 is an optional step.
And S14, responding to the second operation instruction of the control, and receiving sound effect parameters of at least one of the earphone 1 and the earphone 2 by the intelligent large screen.
An example of the second operation instruction is an instruction triggered by double clicking a control corresponding to the smart large-screen headset. Or the next-layer menu of the control can be displayed while the prompt tone is sent to the earphone, and the second operation instruction is a touch instruction for triggering the control through sound effect adjustment in the next-layer menu. Alternatively, the second operation instruction may be transmitted by a remote control device of a smart large screen.
Sound effect parameters include, but are not limited to: a volume parameter, a subwoofer parameter, a dialog enhancement parameter, and an equalization parameter. Taking the subwoofer parameter as an example, the subwoofer parameter is a parameter for realizing the subwoofer effect, and may include at least one specific parameter item, which is not described herein again.
The specific method for receiving the sound effect parameters is as follows:
the smart large screen displays a User Interface (UI) Interface as shown in fig. 6, and receives sound effect parameters by responding to an adjustment instruction for a control on the Interface.
In the interface shown in fig. 6, the top row illustrates the following columns. The left-most column is the user name of each connected headset: "TWS headphones for grandpa" and the like. Volume controls in the next column are used to adjust the volume parameters of the respective headphones. The control in the next column of the 'heavy bass' is used for adjusting whether the heavy bass function of each earphone is turned on or not, wherein the black color represents turning on, and the white color represents turning off. The control in the next column of 'dialog enhancement' is used for adjusting whether the contrast enhancement function of each earphone is started or not, wherein the black represents the starting, and the white represents the closing. "balance" the controls of the following column are used to select the balance effect of each headphone, and clicking on each control of the column effects a switch between different balance effects. The control in the next column of 'cancel personalization' is used for selecting whether to cancel the personalized setting function of the sound effect parameter, clicking each control to realize selection or non-selection, and using black dots to represent that the personalized setting function is canceled.
It will be appreciated that for the purpose of distinguishing from the controls shown in fig. 5, the controls shown in fig. 5 may be referred to as device controls, and the controls shown in fig. 6 may be referred to as prominence adjustment controls or adjustment controls. The specific form and style of the sound effect adjustment controls in the interactive interface shown in FIG. 6 are only examples and are not intended to be limiting.
The specific way of receiving the adjusting instruction of the adjusting control by the interactive interface is as follows: and receiving at least one of a touch instruction of the adjusting control and an adjusting instruction of the remote controller of the adjusting control through the touch screen. The remote controller can be a remote controller special for an intelligent large screen, and can also be electronic equipment such as a mobile phone.
It should be noted that after receiving a second operation instruction of an apparatus control (such as the horn-shaped control shown in fig. 5) corresponding to any one of the earphones, the interactive interface shown in fig. 6 is displayed, and in fig. 6, an adjustment control of sound effect parameters of a plurality of earphones is taken as an example, so as to improve convenience in adjustment for a plurality of users. Of course, only the adjustment control of the sound effect parameter of the earphone corresponding to the operated device control may be displayed.
It will be appreciated that the smart large screen may be configured to associate a unique identification of the headset with the sound effect parameters, for example, by writing the EUI-48 of the headset in the sound effect parameter file for easy differentiation.
And S15, generating an audio stream by using the sound effect parameters through the intelligent large screen.
It should be noted that this step may be performed by the audio frame layer shown in fig. 2. The difference from the prior art is that multiple sound effect threads are executed in parallel, each for generating an audio stream using sound effect parameters of one headphone.
It will be appreciated that the smart large screen may be configured to associate a unique identification of the headset with the sound effect stream, for example, by writing the EUI-48 of the headset in the audio stream for ease of differentiation.
S16, smart large screen transmits audio stream to headset 1 and headset 2.
From the perspective of the transmission path, the audio stream may be transmitted to the headphones 1 and 2 using several ways:
1. the Audio stream is transmitted to the headphones using the Advanced Audio Distribution Profile (A2 DP) protocol, as shown in fig. 7.
The A2DP protocol uses a point-to-point connection mode, and can realize the parallel transmission of 2-3 audio streams.
Since the audio stream corresponds to the unique identification information of the headphones from the link information, the audio stream with the same unique identification is transmitted to the headphones with the same unique identification information using each link.
2. The plurality of audio streams are transmitted to the headphones 1 and 2, respectively, in a manner based on an Isochronous adaptation layer (ISOAL).
ISOAL is a functional layer introduced in a control layer on the basis of a Bluetooth Low Energy (BLE) protocol on traditional Bluetooth. This approach can support the transmission of 3 and more than 3 audio streams, as shown in fig. 8.
3. And a broadcasting mode is adopted.
In this case, it is not necessary to distinguish the correspondence between the audio streams and the headphones, while broadcasting the multiple audio streams to the headphones 1 and 2. After receiving the audio stream, the headphones can use the unique identification information to identify the audio stream corresponding to themselves and discard the audio streams of other headphones, as shown in fig. 9.
If there are n audio streams, each audio stream has 2 sound channels, then the audio of 2n sound channels in total is packaged and broadcast transmitted according to the bluetooth protocol, each TWS headset can receive all 2n sound channels, then only 2 sound channels corresponding to its own unique identification information are extracted for decoding and playing. The unique identification information of the user self is obtained from the link information when the connection with the intelligent large screen is established.
For 2 and 3, from the perspective of transmission time, the audio streams may be transmitted in a time division multiplexing manner, as shown in fig. 10, in each time period, a time slot is allocated to each audio stream, and one audio frame of each audio stream is transmitted in sequence according to the sequence of the time slots from front to back. In fig. 10, each personalized data block refers to any one of the audio data blocks (audio frames) in the audio stream.
It can be understood that, based on the above-mentioned parallel generation and parallel transmission of audio, the headset 1 and the headset 2 should receive the audio stream at the same time, and there may be a delay difference between the times when the headset 1 and the headset 2 receive the audio stream due to device differences, etc., but the delay difference is not usually perceived by the user.
S17, headphone 1, and headphone 2 output the sound signal converted from the audio stream.
In this embodiment, the first electronic device may transmit the audio streams to the plurality of second electronic devices in parallel, and the audio effects of the audio streams transmitted to different second electronic devices may be different, so that the function of the first electronic device is improved, and a requirement that multiple users use the second electronic devices to obtain sounds with different audio effects at the same time is met.
Taking the example shown in fig. 11:
the earphone that a plurality of users wore all establishes the bluetooth with 2 big screens of wisdom. Suppose a user clicks a control corresponding to any one of the earphones on the smart screen 2, and the smart screen is triggered to display the interactive interface shown in fig. 6. And a plurality of users set the sound effect parameters required by the users through touch operation of each control on the interactive interface. Let the sound effect parameters set for "twilight TWS headphones" be: the sound effect parameters set for the subwoofer and the small red TWS earphone are as follows: and enhancing the dialogue.
In the process that the intelligent large screen 2 uses the player to play audio files, the process of the embodiment is used, audio streams of a plurality of users are obtained in parallel, and the audio streams of different sound effects are sent to the users in parallel, so that the earphones of the users receive the audio streams at the same time, and the users hear the sound with the set personalized sound effects, namely, the sound effects of the same multimedia heard by the users are different.
It can be seen that, compared with fig. 1, fig. 11 not only can realize that a plurality of users receive audio simultaneously, but also can realize that a plurality of users receive audio with different sound effects simultaneously, thereby achieving the purpose of listening to sound signals with different sound effects.
In the above process, the configuration of the sound effect parameters and the step of generating the audio stream using the sound effect parameters are performed by the first electronic device, and in addition, may be performed by the second electronic device. Fig. 12 is a schematic diagram of another audio transmission method according to an embodiment of the present application, including the following steps:
and S21, after the connection between the intelligent large screen and at least one of the earphone 1 and the earphone 2 is established, acquiring the unique identification information of the connected earphone.
S22, at least one of the earphone 1 and the earphone 2 responds to the touch instruction and transmits sound effect parameters to the smart large screen.
Touch instructions to the headset may include, but are not limited to: and the user can perform wearing, single-click, double-click, sliding touch and other triggering instructions on the earphone.
Different from the above embodiments, in the present embodiment, the sound effect parameter is obtained based on the touch instruction of the user to the earphone. The touch control of response to the earphone promptly, the earphone acquires the sound effect parameter, transmits the sound effect parameter to the big screen of wisdom again.
Examples of touch-sensing of the headset include, but are not limited to: increasing the volume by sliding forward on the left side earphone, decreasing the volume by sliding backward on the left side earphone, squeezing the left side earphone to open or close the bass, squeezing the right side earphone to open or close the dialogue enhancement, as shown in fig. 13, canceling or opening the personalized setting by sliding backward on the right side earphone, switching the balance (timbre) by sliding forward on the right side earphone.
Optionally, after the wisdom large screen received the sound effect parameter of earphone transmission, can show the interface that fig. 6 is shown to, follow the sound effect parameter received, control corresponding controlling part and make the regulation, with the sound effect parameter that instructs receipt. The purpose is that the adjustment of the sound effect parameters on the earphone is visual, and better user experience is obtained.
And S23, generating an audio stream by using the first type of sound effect parameters through the intelligent large screen.
In this embodiment, the sound effect parameters are divided into a first kind of sound effect parameters and a second kind of sound effect parameters. Fewer computational resources are required to respond to the second type of audio effect parameters than the first type of audio effect parameters. The responding to the sound effect parameter is to generate or process an audio stream using the sound effect parameter, so that the audio stream has the sound effect indicated by the sound effect parameter.
Responding to the second type of sound effect parameters means that the audio stream is generated or processed using the second type of sound effect parameters. The fact that less computational resources are required for responding to the second type of audio effect parameters means that less computational resources are required for generating or processing the audio stream using the second type of audio effect parameters than for generating or processing the audio stream using the first type of audio effect parameters.
Therefore, the first type of sound effect parameters are the pre-designated sound effect parameters responded by the smart large screen. The second type of sound effect parameters are relative to the first type of sound effect parameters, and the second type of sound effect parameters are pre-specified sound effect parameters responded by the earphone.
In this embodiment, although the earphone has the function of processing the audio stream according to the sound effect parameters, in order to ensure that the earphone has higher cruising ability, the earphone responds to the second sound effect parameters, and the response of the first kind of sound effect parameters is executed by the smart large screen. Therefore, in this step, the smart large screen only needs to use the first type of sound effect parameters to generate the audio stream, and does not need to respond to the second type of sound effect parameters.
The first type of sound-effect parameters may be a dialog enhancement parameter (for enhancing dialog) and an equalization parameter. The second sound-effect parameter may be a sound-effect parameter with a low calculation amount, such as a volume parameter (for adjusting the volume) and a low-frequency enhancement parameter (for turning on the sub-bass).
S24, smart large screen transmits audio stream to headset 1 and headset 2.
S25, at least one of headphone 1 and headphone 2 processes the received audio stream using the second type of sound effect parameters and outputs a sound signal converted from the processed audio stream.
It can be understood that if the smart large screen transmits audio streams using the broadcast method described in the above method 3, any one of the earphones may receive audio streams of other earphones, but as described above, such audio streams are discarded without being processed, so in this step, the audio stream received by the earphone refers to the audio stream corresponding to the unique identification information of the earphone, and does not include the audio streams of other earphones.
Optionally, in the process that the earphone receives and outputs the sound signal of the audio stream conversion, if a touch instruction is received, at least one of the first type of sound effect parameter and the second type of sound effect parameter can still be adjusted, and the smart large screen and the earphone act on the newly acquired sound effect parameters on the subsequent audio stream.
It is thus clear that this embodiment the mode of earphone side regulation sound effect parameter, can not influence the broadcast of the picture on the big screen of wisdom.
Under the big screen of wisdom and bluetooth headset's scene, bluetooth headset compares with the big screen of wisdom, and duration is more important, and following embodiment can ensure bluetooth headset's duration.
Fig. 14 is a diagram of another audio transmission method disclosed in the embodiment of the present application, including the following steps:
and S31, after the connection between the intelligent large screen and at least one of the earphone 1 and the earphone 2 is established, acquiring the unique identification information of the connected earphone.
S32, at least one of the earphone 1 and the earphone 2, and the smart large screen acquiring sound effect parameters.
In this embodiment, the mode that earphone and wisdom large-size screen acquireed the sound effect parameter can be: the intelligent large screen displays the interactive interface, responds to an operation instruction of a control in the interactive interface and acquires sound effect parameters. Or receiving sound effect parameters sent by the earphone. Or, the sound effect parameters are received through the interactive interface, and the sound effect parameters sent by the earphone are received.
It can be understood that the smart large screen is not limited to acquiring only the first type of sound effect parameters, and may acquire the second type of sound effect parameters. The earphone is not limited to acquiring only the second type of sound effect parameters, and can acquire the first type of sound effect parameters.
It will be appreciated that whichever of the above approaches is used, the sound effect parameters may be synchronized periodically between the smart large screen and the respective earphones before the following steps are performed. The synchronous sound effect parameters refer to sound effect parameters which are acquired by mutual transmission, so that the two parties obtain the same sound effect parameters, the sound effect parameters set by a user are not omitted, and the sound effect required by the user is ensured to be obtained.
S33, acquiring the power information of the earphones by the intelligent large screen, judging whether the residual power of the earphones is larger than a preset threshold value or not according to the power information, if so, executing S34, and if not, executing S35.
The earphone can use the battery service interface of bluetooth, with electric quantity information transmission to the big screen of wisdom.
The preset threshold may be set as required, and may be 20% of the total amount of electricity, for example.
S34, the smart large screen generates an audio stream by using the first type of sound effect parameters and instructs the earphones to respond to the second type of sound effect parameters.
It will be appreciated that the audio stream to be transmitted to headset 1 is generated using the first type of audio effect parameters of headset 1 and the audio stream to be transmitted to headset 2 is generated using the first type of audio effect parameters of headset 2.
And S35, generating an audio stream by using the first type of sound effect parameters and the second type of sound effect parameters through the intelligent large screen, and indicating that the earphones do not respond to the second type of sound effect parameters.
Therefore, the function of S33-S35 is to respond to sound effect parameters by a smart large screen under the condition that the electric quantity of the earphone is insufficient, so that the cruising ability of the earphone is preferentially ensured.
S36, smart large screen transmits audio stream to headset 1 and headset 2.
S37, headphone 1 and headphone 2, when instructed to respond to the second type of sound effect parameter, process the received audio stream and output a sound signal converted from the processed audio stream. The headphones 1 and 2 output the audio stream-converted sound signals when instructed not to respond to the second-type sound effect parameters.
The process described in this embodiment can output the sound signals of different sound effects by a plurality of second electronic devices simultaneously under the condition of ensuring the cruising ability of the second electronic devices.
In the above embodiments, the case where a pair of earphones is worn by the same user is taken as an example, and in addition, two earphones of a pair of earphones may be worn by different users, in this case, a scene in which the same pair of earphones outputs sound signals of different sound effects may be realized.
Fig. 15 is a schematic diagram illustrating a further audio output method according to an embodiment of the present application, including the following steps:
and S41, after the connection between the intelligent large screen and at least one of the earphone 1 and the earphone 2 is established, acquiring the unique identification information of the connected earphone.
Unlike the above embodiment, the earphones 1 and 2 described in this step are two of the same pair of earphones.
The headset 1 and the headset 2 have respective unique identification information, that is, the unique identification information of the headset 1 and the headset 2 are different, in this step, the unique identification information may be a serial number, or may be a name set by a user, for example, "twilight TWS left headset" or "twilight TWS right headset".
S42, the earphone 1, the earphone 2 and at least one of the smart large screen acquire sound effect parameters.
See S32 for a specific implementation of this step.
It can be understood that, in the case of acquiring the sound effect parameters through at least one of the headphones 1 and 2, since the two headphones of a pair of headphones have different instructions obtained through touch control, for example, an instruction to decrease the volume is obtained by sliding the left headphone downward, and an instruction to turn on heavy bass is obtained by sliding the right headphone downward, it is possible that a user wearing only the left headphone or the right headphone cannot input the sound effect parameters through touch control over the headphones. In this case, the user may reconfigure the correspondence between the touch of the headset and the instruction, for example, configuring the sliding down on the left headset as an instruction to achieve a decrease in volume.
The mode of obtaining the sound effect parameters through the intelligent large screen can be as follows: the user can store the sound effect parameters of the required sound effect to the intelligent large screen in advance.
For example, a user can register on the smart large screen to obtain unique user information, and sound effect parameters corresponding to the user information are configured on the smart large screen through an interactive interface. After a user wears one earphone and the worn earphone is connected with the smart large screen, the smart large screen identifies identity information of the user, such as a human face and the like, confirms a logged-in user, displays a control of the earphone in a mode shown in fig. 5, confirms an equipment control of the worn earphone through operation A or B shown in fig. 5 by the user, and informs the smart large screen, so that the smart large screen establishes a corresponding relation between the user information and the earphone worn by the user, and accordingly establishes a corresponding relation between sound effect parameters and the earphone.
And S43, generating and transmitting an audio stream to the earphone according to the sound effect parameters by the intelligent large screen.
As mentioned above, the smart large screen may generate the audio stream according to the first kind of sound effect parameters only, or generate the audio stream according to the first kind of sound effect parameters and the second kind of sound effect parameters.
Specific transmission modes can be seen in fig. 7-9, and are not described in detail here.
It will be appreciated that in the case of headphones 1 and 2 with pre-configured channels (e.g. left or right channels), the transmission mode of the smart large screen needs to be matched to the channels.
S44, at least one of headphone 1 and headphone 2 processes the received audio stream using the second type of sound effect parameters.
S44 is an optional step, and the execution conditions can be as described in the above embodiments.
S45, the headphones 1 and 2 convert the acquired audio stream into sound signals and output them.
In this embodiment, as shown in fig. 16, the same pair of earphones can be worn by different users, so that the purpose of acquiring audio streams from the same electronic device in parallel and outputting sound signals with different sound effects is achieved, the functions of the earphones are expanded, and the user experience can be improved.
The embodiment of the application also discloses an audio output device, which is applied to the first electronic equipment and comprises a transmission unit, wherein the transmission unit is used for transmitting audio streams with different sound effects to the plurality of second electronic equipment in parallel. Not only expanded electronic equipment's function, can also satisfy the demand that a plurality of users listened to the sound of different audio simultaneously.
Another audio output device disclosed in the embodiment of the present application is applied to a second electronic device, and includes: a receiving unit and an output unit. The receiving unit is used for receiving a first audio stream transmitted by first electronic equipment, wherein the sound effect of the first audio stream is different from the sound effect of a second audio stream received by other equipment, and the first audio stream and the second audio stream are transmitted by the first electronic equipment in parallel. The output unit is used for outputting a sound signal according to the first audio stream. Not only expanded electronic equipment's function, can also satisfy the demand that a plurality of users listened to the sound of different audio simultaneously.
The above embodiments can be referred to for specific implementation of the functions of the above devices.
The embodiment of the application also discloses a readable storage medium, wherein a program is stored on the readable storage medium, and when the program is read and run by computer equipment, the audio transmission method of the embodiment of the application is realized.

Claims (22)

1. A method for transmitting audio, applied to a first electronic device, includes:
and transmitting audio streams with different sound effects to the plurality of second electronic equipment in parallel.
2. The method of claim 1, wherein before the transmitting audio streams of different sound effects in parallel to the plurality of second electronic devices, further comprising:
displaying an interactive interface, wherein the interactive interface comprises an adjusting control, and the adjusting control is used for adjusting at least one sound effect parameter of the second electronic equipment; the sound effect parameters are used for setting the sound effect of the audio stream;
and receiving the sound effect parameters of the at least one second electronic device by responding to the operation instruction of the adjusting control.
3. The method of claim 2, prior to said displaying an interactive interface, further comprising:
displaying equipment controls which correspond to the second electronic equipment one to one;
and sending a prompt audio to the second electronic equipment corresponding to the equipment control by responding to the first operation instruction of the equipment control.
4. The method of claim 3, wherein displaying the interactive interface comprises:
and displaying the interactive interface by responding to a second operation instruction of the equipment control.
5. The method according to any of claims 1-4, further comprising, before said transmitting audio streams of different sound effects in parallel to a plurality of second electronic devices:
and receiving at least one sound effect parameter transmitted by the second electronic equipment, wherein any one sound effect parameter is acquired by the second electronic equipment through responding to a touch instruction.
6. The method according to claim 2 or 5, wherein before the transmitting audio streams of different sound effects to the plurality of second electronic devices in parallel, further comprising:
and synchronizing the sound effect parameters with the second electronic equipment.
7. The method according to any of claims 1-6, wherein the generating of the audio streams of different sound effects comprises:
and generating audio streams transmitted to multiple paths of second electronic equipment in parallel, wherein any path of audio stream is generated by using sound effect parameters of one second electronic equipment.
8. The method of claim 7 wherein the audio-effect parameters include first type audio-effect parameters and second type audio-effect parameters, and wherein less computational resources are required to respond to the second type audio-effect parameters than to respond to the first type audio-effect parameters;
the generating of any audio stream by using sound effect parameters of the second electronic device includes:
any one audio stream is generated by using the first type sound effect parameters of the second electronic equipment.
9. The method according to claim 8, wherein the generating of any audio stream using sound-effect parameters of the second electronic device comprises:
and under the condition that the residual electric quantity of the second electronic equipment is greater than a threshold value, any one path of audio stream is generated by using one sound effect parameter of the second electronic equipment.
10. The method of claim 9, further comprising:
and instructing the second electronic equipment to respond to the second class of sound effect parameters when the residual capacity of the second electronic equipment is larger than the threshold value.
11. The method according to any of claims 1-10, wherein the transmitting audio streams of different sound effects in parallel to a plurality of second electronic devices comprises:
transmitting audio streams of different sound effects in parallel to a plurality of second electronic devices by using a Bluetooth-based A2DP protocol;
or, using the ISOAL protocol based on Bluetooth low power consumption to transmit audio streams with different sound effects to a plurality of second electronic devices in parallel;
or broadcasting audio streams with different sound effects to a plurality of second electronic equipment in a Bluetooth low energy mode.
12. The method of claim 11, wherein transmitting audio streams of different sound effects in parallel to a plurality of second electronic devices comprises:
and transmitting audio streams with different sound effects to a plurality of second electronic equipment in parallel by using a time division multiplexing mode.
13. A method for transmitting audio, applied to a second electronic device, includes:
receiving a first audio stream transmitted by first electronic equipment, wherein the sound effect of the first audio stream is different from the sound effect of a second audio stream received by other equipment, and the first audio stream and the second audio stream are transmitted by the first electronic equipment in parallel;
and outputting a sound signal according to the first audio stream.
14. The method of claim 13, prior to said receiving the first electronically transmitted first audio stream, further comprising:
acquiring sound effect parameters by responding to the touch instruction;
and transmitting the sound effect parameters to the first electronic equipment, wherein the sound effect parameters are used for setting the sound effect of the first audio stream.
15. The method of claim 13 or 14, further comprising, prior to said receiving the first electronically transmitted first audio stream:
and synchronizing the sound effect parameters with the first electronic equipment.
16. The method of claims 13-15, wherein the audio-effect parameters comprise a first type of audio-effect parameters and a second type of audio-effect parameters, and wherein less computational resources are required to respond to the second type of audio-effect parameters than to respond to the first type of audio-effect parameters;
the first audio stream is generated according to the first type of sound effect parameters;
the outputting a sound signal in accordance with the first audio stream comprises:
processing the first audio stream by using the second type of sound effect parameters to obtain a processed audio stream;
and converting the processed audio stream into the sound signal and outputting the sound signal.
17. The method of claim 16, further comprising, prior to said processing the first audio stream using the second type of sound effect parameters:
transmitting power information to the first electronic device;
receiving indication information of the first electronic device, wherein the indication information indicates response to the second type of sound effect parameters, and the indication information is sent by the first electronic device when the power information indicates that the remaining power is greater than a threshold value.
18. An audio transmission device applied to a first electronic device, comprising:
and the transmission unit is used for transmitting audio streams with different sound effects to the plurality of second electronic devices in parallel.
19. An audio transmission device applied to a second electronic device, comprising:
the receiving unit is used for receiving a first audio stream transmitted by first electronic equipment, wherein the sound effect of the first audio stream is different from the sound effect of a second audio stream received by other equipment, and the first audio stream and the second audio stream are transmitted by the first electronic equipment in parallel;
and the output unit is used for outputting a sound signal according to the first audio stream.
20. An electronic device, comprising:
a processor, a memory, and a wireless communication chip;
the memory is used for storing programs;
the wireless communication chip is used for responding to the calling of the processor and realizing a transmission function;
the processor is configured to execute the program to implement the audio transmission method according to any one of claims 1 to 12.
21. An electronic device, comprising:
the device comprises a wireless communication chip, a processor, a memory and a sound production unit;
the memory is used for storing programs;
the sound-producing unit outputs sound for responding to the calling of the processor and producing sound signals;
the processor is configured to execute the program to implement the audio transmission method according to any one of claims 13 to 17.
22. A readable storage medium on which a program is stored, characterized by implementing the audio transmission method of any one of claims 1 to 17 when the program is read and executed by a computer device.
CN202110784078.7A 2021-07-12 2021-07-12 Audio transmission method and device, electronic equipment and readable storage medium Pending CN114501401A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110784078.7A CN114501401A (en) 2021-07-12 2021-07-12 Audio transmission method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110784078.7A CN114501401A (en) 2021-07-12 2021-07-12 Audio transmission method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN114501401A true CN114501401A (en) 2022-05-13

Family

ID=81491558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110784078.7A Pending CN114501401A (en) 2021-07-12 2021-07-12 Audio transmission method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114501401A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024001535A1 (en) * 2022-06-30 2024-01-04 海信视像科技股份有限公司 Display device, playing device, control device and data transmission method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024001535A1 (en) * 2022-06-30 2024-01-04 海信视像科技股份有限公司 Display device, playing device, control device and data transmission method

Similar Documents

Publication Publication Date Title
CN108337595B (en) Bluetooth headset realizes the method being precisely played simultaneously
US20070087686A1 (en) Audio playback device and method of its operation
US10425758B2 (en) Apparatus and method for reproducing multi-sound channel contents using DLNA in mobile terminal
WO2020182020A1 (en) Audio signal playback method and display device
CN107277691B (en) Multi-channel audio playing method and system based on cloud and audio gateway device
KR100728019B1 (en) Method for wireless transmitting audio signals and appararus thereof
CN104301782A (en) Method and device for outputting audios and terminal
US9826558B2 (en) Wireless mute device and method
CN107431859A (en) The radio broadcasting of the voice data of encapsulation with control data
CN114501401A (en) Audio transmission method and device, electronic equipment and readable storage medium
CN103702274A (en) Method and device for reconstructing stereo surround sound
CN109040384A (en) Stereosonic mobile terminal can be achieved
CN115038021B (en) Real wireless stereo earphone, audio processing, lighting and vibration method
CN111782176A (en) Method for simultaneously using wired earphone and Bluetooth earphone and electronic equipment
US20070195962A1 (en) Apparatus and method for outputting audio data using wireless terminal
CN109818979A (en) A kind of method, apparatus that realizing audio return, equipment and storage medium
JP2004206581A (en) Sound device and vocal information acquiring method in same
WO2017219309A1 (en) Head-mounted playback apparatus
CN1953526A (en) A display device and the AV playing system using the same
CN217590944U (en) Combined television surround stereo system
WO2024066373A1 (en) Display device, intelligent device and incoming call presentation method
CN112954528B (en) Method for transmitting audio data
US11573761B2 (en) Audio-based near field communication
WO2023185589A1 (en) Volume control method and electronic device
US11138984B2 (en) Information processing apparatus and information processing method for generating and processing a file including speech waveform data and vibration waveform data

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
TA01 Transfer of patent application right

Effective date of registration: 20220608

Address after: 100095 floors 2-14, building 3, yard 5, honeysuckle Road, Haidian District, Beijing

Applicant after: Beijing Honor Device Co.,Ltd.

Address before: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Applicant before: Honor Device Co.,Ltd.

TA01 Transfer of patent application right