CN111447600A - Audio sharing method for wireless earphone, terminal device and storage medium - Google Patents

Audio sharing method for wireless earphone, terminal device and storage medium Download PDF

Info

Publication number
CN111447600A
CN111447600A CN202010248656.0A CN202010248656A CN111447600A CN 111447600 A CN111447600 A CN 111447600A CN 202010248656 A CN202010248656 A CN 202010248656A CN 111447600 A CN111447600 A CN 111447600A
Authority
CN
China
Prior art keywords
pair
wireless
earphones
wireless earphones
connection
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.)
Granted
Application number
CN202010248656.0A
Other languages
Chinese (zh)
Other versions
CN111447600B (en
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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202010248656.0A priority Critical patent/CN111447600B/en
Publication of CN111447600A publication Critical patent/CN111447600A/en
Application granted granted Critical
Publication of CN111447600B publication Critical patent/CN111447600B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • 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
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • 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

Abstract

The invention discloses an audio sharing method of a wireless earphone, which comprises the following steps: after receiving connection information sent by connected electronic equipment, the first pair of wireless earphones are connected with the second pair of wireless earphones according to the connection information; and after receiving the audio data sent by the electronic equipment, the first pair of wireless earphones sends the audio data to the second wireless earphone. The invention also discloses a wireless earphone and electronic equipment. The first pair of wireless earphones is connected with the electronic equipment, then the first pair of wireless earphones is connected with the second pair of wireless earphones, the audio data are sent to the second pair of wireless earphones after the audio data sent by the electronic equipment are received, the second pair of wireless earphones does not need to establish a connection relation with the electronic equipment, the same audio data of the same electronic equipment can be synchronously listened to by the plurality of pairs of earphones without adding other interfaces or modifying hardware of the electronic equipment, and the wireless earphones have the advantages of simplicity in implementation and low cost.

Description

Audio sharing method for wireless earphone, terminal device and storage medium
Technical Field
The present invention relates to the field of bluetooth headset technology, and in particular, to an audio sharing method for a wireless headset, a terminal device, and a storage medium.
Background
Along with the development of the Bluetooth technology, the Bluetooth headset is utilized to listen to audio, thereby greatly facilitating the life of people. When listening to the audio frequency at bluetooth headset, a playback devices often can only send the audio frequency for a pair of bluetooth headset, can not send the audio frequency for many pairs of bluetooth headset simultaneously, but there is the condition of many people sharing one section audio frequency, like lovers, through set up a plurality of earphone interfaces on mobile terminal among the prior art, even have a pair of earphone on every earphone interface, thereby realize that many pairs of earphones listen to same mobile terminal's same audio data simultaneously, there is the cost to increase, earphone cord winding problem.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The embodiment of the invention mainly aims to provide an audio sharing method of a wireless earphone, and aims to solve the technical problems of cost increase and earphone wire winding in the prior art.
To solve the above problem, an embodiment of the present invention provides an audio sharing method for a wireless headset, including the following steps:
after receiving connection information sent by connected electronic equipment, the first pair of wireless earphones are connected with the second pair of wireless earphones according to the connection information;
and after receiving the audio data sent by the electronic equipment, the first pair of wireless earphones sends the audio data to the second wireless earphone.
Optionally, after receiving connection information sent by the connected electronic device, the step of establishing connection with the second pair of wireless headsets according to the connection information includes:
the first pair of wireless earphones is switched to a main connection mode after receiving the connection information sent by the electronic equipment;
pairing a second pair of wireless earphones corresponding to address information in the connection information according to a secret key in the connection information, wherein the connection information comprises the secret key and the address information;
and after the pairing is successful, the first pair of wireless earphones and the second pair of wireless earphones are connected.
Optionally, after the first pair of wireless earphones receives the identification information sent by the connected electronic device, the step of establishing connection with the second pair of wireless earphones corresponding to the identification information further includes:
the first pair of wireless earphones switches to a main connection mode after receiving connection information sent by the electronic equipment, wherein the connection information comprises identification information;
receiving Bluetooth broadcast information;
when identification information in Bluetooth broadcast information is matched with identification information in the connection information, sending a pairing request to a second wireless earphone which sends the Bluetooth broadcast information;
and after the pairing is successful, the first pair of wireless earphones and the second pair of wireless earphones are connected.
Optionally, the step of establishing a connection between the first pair of wireless headsets and the second pair of wireless headsets comprises:
the left earphone of the first pair of wireless earphones is connected with the left earphone of the second pair of wireless earphones;
the right earphone of the first pair of wireless earphones establishes a connection with the right earphone of the second pair of wireless earphones.
Optionally, after receiving the audio data sent by the electronic device, the step of sending the audio data to the second pair of wireless headsets by the first pair of wireless headsets includes:
the first pair of wireless earphones obtains authority information of the audio data after receiving the audio data sent by the electronic equipment;
and when the permission information contains the identification information of the second pair of wireless earphones, sending the audio data to the second pair of wireless earphones.
In addition, to solve the above problem, an embodiment of the present invention further provides an audio sharing method for a wireless headset, where the audio sharing method for a wireless headset includes:
the electronic equipment acquires the connection information of a second pair of wireless earphones after receiving a pairing request of the second pair of wireless earphones;
and the electronic equipment sends the connection information to the first pair of wireless earphones so that the first pair of wireless earphones can be connected with the second pair of wireless earphones according to the connection information.
Optionally, after the step of sending, by the electronic device, the connection information to the first pair of wireless headsets for the first pair of wireless headsets to establish a connection with the second pair of wireless headsets according to the connection information, the method for audio sharing of wireless headsets further includes:
the electronic device transmits audio data to the first pair of wireless headsets.
Optionally, after receiving a pairing request of a second pair of wireless headsets, the step of acquiring connection information of the second pair of wireless headsets by the electronic device includes:
after receiving the pairing request of the second pair of wireless earphones, the electronic equipment disconnects the first pair of wireless earphones;
the electronic equipment establishes connection with the second pair of wireless earphones and acquires the connection information of the second pair of wireless earphones;
and after the electronic equipment acquires the connection information of the second pair of wireless earphones, the electronic equipment is disconnected from the second pair of wireless earphones and establishes connection with the first pair of wireless earphones.
The embodiment of the present invention further provides a wireless headset, where the wireless headset includes a processor, a memory, and an audio sharing program of the wireless headset, which is stored in the memory and can be executed on the processor, and when the audio sharing program of the wireless headset is executed by the processor, the steps of the audio sharing method of the wireless headset as described above are implemented.
The embodiment of the present invention further provides an electronic device, where the electronic device includes a processor, a memory, and an audio sharing program of a wireless headset stored on the memory and operable on the processor, and when the audio sharing program of the wireless headset is executed by the processor, the steps of the audio sharing method of the wireless headset are implemented.
According to the audio sharing method of the wireless earphones provided by the embodiment of the invention, the first pair of wireless earphones sends the pairing request by detecting that the first pair of wireless earphones are in the out-of-box state, the first pair of wireless earphones establishes connection with the electronic equipment, then establishes connection with the second pair of wireless earphones, and sends the audio data to the second pair of wireless earphones after receiving the audio data sent by the electronic equipment, and the second pair of wireless earphones can synchronously listen to the same audio data of the same electronic equipment without establishing connection relation with the electronic equipment, without adding other earphone interfaces or modifying hardware of the electronic equipment, so that the audio sharing method has the advantages of being simple to implement and low in cost.
Drawings
FIG. 1 is a flowchart illustrating a first embodiment of an audio sharing method for a wireless headset according to the present invention;
fig. 2 is a schematic diagram illustrating a connection between a first pair of wireless headsets, an electronic device and a second pair of wireless headsets according to an embodiment of the invention;
FIG. 3 is a flowchart illustrating a second embodiment of an audio sharing method for wireless headsets according to the present invention;
FIG. 4 is a flowchart illustrating a third embodiment of an audio sharing method for wireless headsets according to the invention;
fig. 5 is a flowchart illustrating a fourth embodiment of an audio sharing method for a wireless headset according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the detailed description and specific examples, while indicating the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.
The main solution of the embodiment of the invention is as follows: after receiving connection information sent by connected electronic equipment, the first pair of wireless earphones are connected with the second pair of wireless earphones according to the connection information; and after receiving the audio data sent by the electronic equipment, the first pair of wireless earphones sends the audio data to the second wireless earphone.
Because there is the cost increase among the prior art, earphone cord twines technical problem.
The embodiment of the invention provides a solution, the first pair of wireless earphones sends a pairing request to establish connection with electronic equipment and then establish connection with the second pair of wireless earphones by detecting that the first pair of wireless earphones are in an out-of-box state, the audio data is sent to the second pair of wireless earphones after the audio data sent by the electronic equipment is received, the second pair of wireless earphones can simultaneously listen to the same audio data of the same electronic equipment without establishing a connection relation with the electronic equipment, more interfaces are not required to be added, the hardware of the electronic equipment is not required to be modified, and the invention has the advantages of simple realization and low cost
The execution main body of the embodiment of the invention is a first pair of wireless earphones, which can be TWS (True Wireless stereo) Bluetooth earphones or common Bluetooth earphones.
The first pair of wireless earphones may include a processor, wherein the processor may be implemented by a highly integrated chip, functions of a bluetooth module, an MCU (micro controller Unit) and a DSP (Digital Signal Processing) are integrated together, and other components may also be integrated, which are not limited herein, the bluetooth module may include a dual mode bluetooth module, i.e., a basic rate/enhanced rate bluetooth module (BR/EDR) and a low power bluetooth module (B L E), the MCU is mainly used for earphone control functions, and the DSP is mainly used for Digital Signal Processing.
The first pair of wireless earphones further comprises an audio acquisition device (such as a microphone), a battery assembly, a touch assembly, a L ED lamp, a sensor and a loudspeaker, wherein the audio acquisition device (such as the microphone) is used for acquiring an audio signal to realize a conversation function, the other microphone can be a noise reduction microphone, the audio signal acquired by the audio acquisition device is used for reducing the noise function, the battery assembly is used for supplying power to the first pair of wireless earphones, the touch assembly is used for realizing a touch function and can be a key, the L ED lamp is used for prompting the working state of Bluetooth, such as a power-on prompt, a charging prompt, a terminal connection prompt and an earphone box connection prompt lamp, the sensor can comprise a gravity acceleration sensor, a vibration sensor, a gyroscope and the like and is used for detecting the state of the first pair of wireless earphones so as to judge the body action state of a user wearing the first pair of wireless earphones currently, the loudspeaker can comprise more than two loudspeakers, for example, each earphone of the first pair of wireless earphones is provided with two loudspeakers, one moving-coil loudspeaker and one moving-coil loudspeaker has good low-frequency response in low-frequency response, the two loudspeakers are used for simultaneously processing the sound wave frequency of the whole earphone in parallel connection through the loudspeaker.
It will be appreciated by those skilled in the art that the hardware configuration of the first pair of wireless headsets described above is not intended to limit the invention, and in practice the first pair of wireless headsets may include more or less components than those illustrated above, or some components may be combined, or a different arrangement of components.
Based on the structure of the first pair of wireless earphones, a first embodiment of the present invention is proposed, and referring to fig. 1, fig. 1 is a schematic flow chart of the first embodiment of the audio sharing method of the wireless earphones according to the present invention, where the audio sharing method of the wireless earphones includes the following steps:
step S10, after receiving the connection information sent by the connected electronic equipment, the first pair of wireless earphones establish connection with the second pair of wireless earphones according to the connection information;
in this embodiment, the execution body is a first pair of wireless headsets. The first pair of wireless headsets may be TWS bluetooth headsets or may be normal bluetooth headsets.
When detecting that the first pair of wireless earphones are in the out-of-box state, the first pair of wireless earphones broadcast a pairing request to establish connection with an electronic device, wherein the electronic device is a device with a Bluetooth module and can be terminal devices such as a smart phone, a smart watch, a PAD, an MP3, a portable notebook, and an MP 4. The electronic equipment has the function of playing audio and can play audio files through a loudspeaker or a microphone.
Optionally, the left and right earphones of the first pair of wireless earphones may be connected to the electronic device, respectively, to achieve the effect of stereo audio that is played by the left and right earphones synchronously. The left earphone and the right earphone of the first pair of wireless earphones can be distinguished through Bluetooth addresses, so that the left ear and the right ear are not interfered with each other, and better stereo experience is provided for users. The bluetooth addresses of the left and right earphones of the first pair of wireless earphones are the same except for the portion that distinguishes the left and right ears, and are not limited herein.
The electronic equipment can receive nearby pairing broadcast through the Bluetooth module, acquire the connection information of the second pair of wireless earphones after receiving the pairing request of the second pair of wireless earphones, and transmit the connection information to the first pair of wireless earphones so that the first pair of wireless earphones can establish connection with the second pair of wireless earphones after receiving the connection information. Wherein the connection information may include one or more of a device number, a key, and address information for the second pair of wireless headsets.
The second pair of wireless headsets may be TWS bluetooth headsets or common wireless headsets, and may be of the same or different manufacturer model as the first pair of wireless headsets.
In the communication connection between the first pair of wireless earphones and the electronic device, the first pair of wireless earphones serve as the slave device, but the first pair of wireless earphones can serve as the slave device and can be switched into the master device.
After receiving the connection information sent by the electronic device, the first pair of wireless earphones triggers the first pair of wireless earphones to be switched from the slave device to the master device, and is switched to the master connection mode to be paired with the second pair of wireless earphones.
The first pair of wireless earphones can be connected with the second pair of wireless earphones in a pairing mode according to the address information and the secret key in the connection information; the first pair of wireless earphones can also be connected with the second pair of wireless earphones in a pairing mode through broadcasting the pairing request according to the equipment number in the connecting equipment.
After the first pair of wireless earphones and the second pair of wireless earphones are connected, data can be transmitted through Bluetooth.
Referring to fig. 2, fig. 2 is a schematic connection diagram of a first pair of wireless headsets, an electronic device, and a second pair of wireless headsets, and it can be seen that the first pair of wireless headsets 10 are connected with the electronic device 20 and the second pair of wireless headsets 20, respectively.
After the pairing is completed, each device records the information of the paired device, and when the paired device broadcasts the next pairing request, the connection can be directly established.
As an alternative embodiment, step S10 includes:
the left earphone of the first pair of wireless earphones is connected with the left earphone of the second pair of wireless earphones;
the right earphone of the first pair of wireless earphones establishes a connection with the right earphone of the second pair of wireless earphones.
The difference exists between the Bluetooth addresses corresponding to the left earphone and the right earphone of the second pair of wireless earphones. The left earphone of the first pair of wireless earphones can be connected with the second pair of wireless left earphones in a pairing mode according to the Bluetooth address of the left earphone of the second pair of wireless earphones; the right earphone of the first pair of wireless earphones can be connected with the second pair of wireless earphones in a pairing mode according to the Bluetooth address of the right earphone of the second pair of wireless earphones.
The electronic device can simultaneously transmit multiple paths of audio data, so that the left earphone and the right earphone of the first pair of wireless earphones can simultaneously receive audio data from different sound channels of the electronic device.
The left earphone of the first pair of wireless earphones can transmit the audio data of the left sound channel to the left earphone of the second pair of wireless earphones through Bluetooth transmission; the right earphone of the first pair of wireless earphones may transmit audio data for the right channel to the right earphone of the second pair of wireless earphones via bluetooth transmission. Thus, the second pair of wireless headsets also has a stereo effect of a different channel.
Step S20, after receiving the audio data sent by the electronic device, the first pair of wireless earphones sends the audio data to the second wireless earphone.
The electronic device can transmit the audio data to the first pair of wireless earphones through Bluetooth transmission, and can transmit the audio data to the first pair of wireless earphones in a data packet mode in a packing mode.
After receiving the audio data sent by the electronic device, the first pair of wireless earphones not only play the audio data through the microphone, but also forward the audio data to the second pair of wireless earphones, so that the audio data is shared.
As an alternative embodiment, step S20 includes:
the first pair of wireless earphones obtains authority information of the audio data after receiving the audio data sent by the electronic equipment;
and when the permission information contains the identification information of the second pair of wireless earphones, sending the audio data to the second pair of wireless earphones.
When data is protected, the electronic device can set authority information for the audio data only when certain authority is opened to be shared, and the electronic device is permitted to be shared when the requirement of the authority information is met.
After the first pair of wireless earphones receives the audio data sent by the electronic equipment, if the audio data contains authority information, the authority information in the audio data can be analyzed, wherein the authority information contains identification information of the equipment which is allowed to receive. The identification information may be a device number of the bluetooth device.
When the authority information contains the identification information of the second pair of wireless earphones, the second pair of wireless earphones is permitted to receive, and the first pair of wireless earphones transmits the audio data to the second pair of wireless earphones through Bluetooth transmission. In this way, encryption protection of the audio data can be achieved.
In this embodiment, by detecting that the first pair of wireless earphones are in the out-of-box state, the first pair of wireless earphones send the pairing request, establish connection with the electronic device, establish connection with the second pair of wireless earphones, after receiving that the electronic device sends audio data, send the audio data to the second pair of wireless earphones, the second pair of wireless earphones do not need to establish connection with the electronic device, and then the same audio data of the same electronic device can be listened to by a plurality of pairs of earphones simultaneously, and no more interfaces need to be added, and no modification needs to be performed on hardware of the electronic device
Referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of the audio sharing method for wireless headsets of the present invention, based on the first embodiment, step S10 includes:
step S11, after receiving the connection information sent by the electronic device, the first pair of wireless headsets switches to a main connection mode;
step S12, pairing a second pair of wireless headsets corresponding to the key in the connection information and the address information in the connection information, where the connection information includes the key and the address information;
the first pair of wireless headsets is in a state of a slave device in connection with the electronic device. When the first pair of wireless earphones is in the slave state, the first pair of wireless earphones cannot be actively connected with the second pair of wireless earphones. After receiving the connection information sent by the electronic device, the first pair of wireless earphones is switched to the main connection mode, and a pairing request can be sent to the second pair of wireless earphones. It will be appreciated that the connection information may trigger the first pair of wireless headsets to be switched by the slave device to the master connection mode.
The connection information includes one or more of a key and address information for the second pair of wireless headsets. The address information may be a bluetooth address of the second pair of wireless headsets.
The first pair of wireless earphones obtains a second pair of wireless earphones corresponding to the address information according to the address information in the connection information, and pairs with the second pair of wireless earphones according to a secret key in the connection information so as to establish connection with the second pair of wireless earphones.
Step S13, after the pairing is successful, the first pair of wireless earphones and the second pair of wireless earphones establish a connection.
And after the first pair of wireless earphones and the second pair of wireless earphones are successfully paired, the first pair of wireless earphones and the second pair of wireless earphones are connected.
The pairing of the first pair of wireless earphones and the second pair of wireless earphones can be realized by connecting the touched bluetooth and connecting the touched bluetooth through a secret key and address information.
Optionally, the first pair of wireless headsets may store the successfully paired device information, and when the pairing broadcast of the second pair of wireless headsets is detected next time, and the first pair of wireless headsets is in the main connection mode, the first pair of wireless headsets may automatically establish a connection with the second pair of wireless headsets.
In this embodiment, the first pair of wireless earphones establishes pairing with the second pair of wireless earphones corresponding to the address information in the connection information according to the key in the connection information sent by the electronic device, and after the pairing is successful, connection with the second pair of wireless earphones is established, the electronic device is required to send information to trigger the first pair of wireless earphones to establish connection with specific devices, and connection is established with the second pair of wireless earphones according to the address information and the key, so that the devices connected with the first pair of wireless earphones have directivity, and connection can be performed according to the requirements of users.
Referring to fig. 4, fig. 4 is a flowchart illustrating a third embodiment of the audio sharing method for wireless headsets of the present invention, based on the first embodiment, step S10 further includes:
step S14, after receiving connection information sent by the electronic device, the first pair of wireless headsets switches to a main connection mode, where the connection information includes identification information;
and after receiving the connection information of the electronic equipment, the first pair of wireless earphones triggers the first pair of wireless earphones to be switched into a main connection mode by the slave equipment so as to establish connection with other equipment. The connection information includes identification information, wherein the identification information may be a device number.
Step S15, receiving Bluetooth broadcast information;
step S16, when the identification information in the Bluetooth broadcast information is matched with the identification information in the connection information, sending a pairing request to a second wireless earphone sending the Bluetooth broadcast information;
the first pair of wireless earphones can receive bluetooth broadcast information in a signal range and can acquire identification information corresponding to the bluetooth broadcast information, wherein the bluetooth broadcast information can be a pairing request broadcasted by other bluetooth devices and contains the identification information of the bluetooth devices.
And when the identification information in the received Bluetooth broadcast information is matched with the identification information in the connection information, the first pair of wireless earphones sends a pairing request to a second pair of wireless earphones broadcasting the Bluetooth broadcast information. The matching is complete matching, that is, the identification information in the connection information is completely consistent with the identification information in the bluetooth broadcast information.
Step S17, after the pairing is successful, the first pair of wireless earphones and the second pair of wireless earphones establish a connection.
And after the pairing is successful, the first pair of wireless earphones and the second pair of wireless earphones are connected. After the first pair of wireless headsets communicate a request to the second pair of wireless headsets for pairing, a connection may be established with the first pair of wireless headsets without the second pair of wireless headsets establishing a connection with other wireless headsets.
In this embodiment, the first pair of wireless earphones sends the pairing request to the second pair of wireless earphones corresponding to the identification information according to the identification information in the connection information sent by the electronic device, and establishes a connection with the second pair of wireless earphones, so that the device connected with the first pair of wireless earphones has directivity, and can be connected according to the requirements of the user.
Referring to fig. 5, fig. 5 is a schematic flowchart illustrating a fourth embodiment of an audio sharing method for a wireless headset according to the present invention, where the audio sharing method for a wireless headset includes:
step S30, the electronic device obtains the connection information of a second pair of wireless earphones after receiving the pairing request of the second pair of wireless earphones;
in this embodiment, the execution subject is an electronic device, wherein the electronic device is a device having a bluetooth module, and may be a terminal device such as a smartphone, a smart watch, a PAD, an MP3, a portable notebook, and an MP 4. The electronic equipment has the function of playing audio and can play audio files through a loudspeaker or a microphone.
The electronic device establishes a connection with the first pair of wireless headsets after receiving the pairing request of the first pair of wireless headsets.
The electronic device can receive Bluetooth broadcast information in a signal range, and can acquire connection information of a second pair of wireless earphones after receiving a pairing request of the second pair of wireless earphones. Wherein the connection information may include one or more of identification information, a key, and address information.
If the electronic device and the second pair of wireless earphones are connected and paired before, the electronic device can store the connection information of the second pair of wireless earphones, and obtain the identification information of the second pair of wireless earphones according to the pairing request of the second pair of wireless earphones, so that the connection information corresponding to the identification information can be obtained.
As an alternative embodiment, step S30 includes:
after receiving the pairing request of the second pair of wireless earphones, the electronic equipment disconnects the first pair of wireless earphones;
the electronic equipment establishes connection with the second pair of wireless earphones and acquires the connection information of the second pair of wireless earphones;
and after the electronic equipment acquires the connection information of the second pair of wireless earphones, the electronic equipment is disconnected from the second pair of wireless earphones and establishes connection with the first pair of wireless earphones.
If the electronic equipment and the second pair of wireless earphones are not in a connection relation, the electronic equipment is disconnected from the first pair of wireless earphones after receiving a pairing request of the second pair of wireless earphones, broadcasts the pairing request to the second pair of wireless earphones, and establishes Bluetooth connection with the second pair of wireless earphones after pairing is successful. After the electronic device establishes a connection with the second pair of wireless earphones, connection information of the second pair of wireless earphones can be acquired. After the electronic equipment acquires the connection information of the second pair of wireless earphones, the electronic equipment is disconnected from the second pair of wireless earphones, broadcasts a pairing request to the first pair of wireless earphones, and establishes connection with the first pair of wireless earphones.
Therefore, even if the electronic equipment does not store the connection information of the second pair of wireless earphones, the connection information of the second pair of wireless earphones can be obtained, the electronic equipment can share the audio data for the plurality of pairs of wireless earphones without user operation, and the electronic equipment has the advantages of simplicity, convenience and high efficiency.
Step S40, the electronic device sends the connection information to the first pair of wireless headsets, so that the first pair of wireless headsets establishes a connection with the second pair of wireless headsets according to the connection information.
The electronic equipment transmits the connection information of the second pair of wireless earphones to the first pair of wireless earphones through Bluetooth transmission so as to trigger the first pair of wireless earphones to be switched into a main connection mode from the slave equipment, and connection is established with the second pair of wireless earphones according to the connection information.
As an alternative implementation, after step S40, the method further includes:
the electronic device transmits audio data to the first pair of wireless headsets.
The electronic device may send the audio data to the first pair of wireless headsets via bluetooth transmission. The first pair of wireless earphones can send the received audio data to the second pair of wireless earphones, synchronous sharing of the audio data on the plurality of pairs of Bluetooth earphones is achieved, and the left earphones and the right earphones of the first pair of wireless earphones can be connected with the left earphones and the right earphones of the second pair of wireless earphones respectively, so that the two pairs of wireless earphones have stereo sound.
In this embodiment, when the electronic device receives a pairing request of a second pair of wireless earphones, the electronic device obtains connection information of the second pair of wireless earphones, and sends the connection information to a first pair of wireless earphones connected to the electronic device, so that the first pair of wireless earphones can establish connection with the second pair of wireless earphones according to the connection information after receiving the connection information of the electronic device, and when the electronic device transmits audio data, the electronic device achieves the beneficial effect of sharing the same audio data among the plurality of pairs of wireless earphones.
In addition, an embodiment of the present invention further provides a wireless headset, where the wireless headset includes a processor, a memory, and an audio sharing program of the wireless headset, which is stored on the memory and can be executed on the processor, and when the audio sharing program of the wireless headset is executed by the processor, the contents of the embodiment of the audio sharing method of the wireless headset described above are implemented.
The embodiment of the present invention further provides an electronic device, where the electronic device includes a processor, a memory, and an audio sharing program of a wireless headset stored on the memory and being executable on the processor, and when the audio sharing program of the wireless headset is executed by the processor, the content of the embodiment of the audio sharing method of the wireless headset as described above is implemented.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a computer-readable storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, and includes several instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An audio sharing method of a wireless headset, the audio sharing method of the wireless headset comprising the steps of:
after receiving connection information sent by connected electronic equipment, the first pair of wireless earphones are connected with the second pair of wireless earphones according to the connection information;
and after receiving the audio data sent by the electronic equipment, the first pair of wireless earphones sends the audio data to the second wireless earphone.
2. The method of claim 1, wherein the step of establishing a connection with a second pair of wireless headsets according to the connection information after the first pair of wireless headsets receives the connection information sent by the connected electronic equipment comprises:
the first pair of wireless earphones is switched to a main connection mode after receiving the connection information sent by the electronic equipment;
pairing a second pair of wireless earphones corresponding to address information in the connection information according to a secret key in the connection information, wherein the connection information comprises the secret key and the address information;
and after the pairing is successful, the first pair of wireless earphones and the second pair of wireless earphones are connected.
3. The audio sharing method of wireless headphones as claimed in claim 1, wherein the step of establishing connection with the second pair of wireless headphones corresponding to the identification information after the first pair of wireless headphones receives the identification information sent by the connected electronic device further comprises:
the first pair of wireless earphones switches to a main connection mode after receiving connection information sent by the electronic equipment, wherein the connection information comprises identification information;
receiving Bluetooth broadcast information;
when identification information in Bluetooth broadcast information is matched with identification information in the connection information, sending a pairing request to a second wireless earphone which sends the Bluetooth broadcast information;
and after the pairing is successful, the first pair of wireless earphones and the second pair of wireless earphones are connected.
4. A method for audio sharing of wireless headsets as claimed in claim 2 or 3, wherein the step of establishing a connection between the first pair of wireless headsets and the second pair of wireless headsets comprises:
the left earphone of the first pair of wireless earphones is connected with the left earphone of the second pair of wireless earphones;
the right earphone of the first pair of wireless earphones establishes a connection with the right earphone of the second pair of wireless earphones.
5. The method of claim 1, wherein the step of the first pair of wireless headsets transmitting audio data to the second pair of wireless headsets after receiving the audio data transmitted by the electronic device comprises:
the first pair of wireless earphones obtains authority information of the audio data after receiving the audio data sent by the electronic equipment;
and when the permission information contains the identification information of the second pair of wireless earphones, sending the audio data to the second pair of wireless earphones.
6. An audio sharing method of a wireless headset is characterized in that a first wireless headset is connected to an electronic device, and the audio sharing method of the wireless headset comprises the following steps:
the electronic equipment acquires the connection information of a second pair of wireless earphones after receiving a pairing request of the second pair of wireless earphones;
and the electronic equipment sends the connection information to the first pair of wireless earphones so that the first pair of wireless earphones can be connected with the second pair of wireless earphones according to the connection information.
7. The method of audio sharing of wireless headphones as recited in claim 6, wherein after the step of the electronic device sending the connection information to the first pair of wireless headphones for the first pair of wireless headphones to establish a connection with the second pair of wireless headphones according to the connection information, the method of audio sharing of wireless headphones further comprises:
the electronic device transmits audio data to the first pair of wireless headsets.
8. The method of claim 6, wherein the step of the electronic device obtaining the connection information of the second pair of wireless headsets after receiving the pairing request of the second pair of wireless headsets comprises:
after receiving the pairing request of the second pair of wireless earphones, the electronic equipment disconnects the first pair of wireless earphones;
the electronic equipment establishes connection with the second pair of wireless earphones and acquires the connection information of the second pair of wireless earphones;
and after the electronic equipment acquires the connection information of the second pair of wireless earphones, the electronic equipment is disconnected from the second pair of wireless earphones and establishes connection with the first pair of wireless earphones.
9. A wireless headset comprising a processor, a memory, and an audio sharing program of the wireless headset stored on the memory and executable on the processor, the audio sharing program of the wireless headset when executed by the processor implementing the steps of the audio sharing method of the wireless headset of any one of claims 1 to 5.
10. An electronic device, characterized in that the electronic device comprises a processor, a memory and an audio sharing program of a wireless headset stored on the memory and executable on the processor, the audio sharing program of a wireless headset implementing the steps of the audio sharing method of a wireless headset according to any of claims 6 to 8 when executed by the processor.
CN202010248656.0A 2020-03-31 2020-03-31 Audio sharing method of wireless earphone, terminal equipment and storage medium Active CN111447600B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010248656.0A CN111447600B (en) 2020-03-31 2020-03-31 Audio sharing method of wireless earphone, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010248656.0A CN111447600B (en) 2020-03-31 2020-03-31 Audio sharing method of wireless earphone, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111447600A true CN111447600A (en) 2020-07-24
CN111447600B CN111447600B (en) 2023-04-25

Family

ID=71652758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010248656.0A Active CN111447600B (en) 2020-03-31 2020-03-31 Audio sharing method of wireless earphone, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111447600B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112492529A (en) * 2020-11-27 2021-03-12 努比亚技术有限公司 Audio transmission method, mobile terminal and computer readable storage medium
CN112995829A (en) * 2021-02-25 2021-06-18 恒玄科技(上海)股份有限公司 Audio processing assembly for wireless communication and signal processing method thereof
CN113709737A (en) * 2021-08-24 2021-11-26 深圳艾创力科技有限公司 Voice communication method and device based on TWS Bluetooth headset
CN114499587A (en) * 2021-07-22 2022-05-13 荣耀终端有限公司 Audio synchronization communication method and system and electronic equipment
CN115278624A (en) * 2022-07-21 2022-11-01 Oppo广东移动通信有限公司 Information updating method and device, audio sharing method and system and electronic equipment
WO2022267974A1 (en) * 2021-06-25 2022-12-29 华为技术有限公司 Screen projection method and related apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101057291A (en) * 2004-11-12 2007-10-17 皇家飞利浦电子股份有限公司 Apparatus and method for sharing contents via headphone set
CN103825635A (en) * 2014-03-11 2014-05-28 宁波翼动通讯科技有限公司 Method for sharing audio by Bluetooth headsets
CN105208511A (en) * 2015-08-28 2015-12-30 深圳市冠旭电子有限公司 Intelligent Bluetooth earphone-based music sharing method, system and intelligent Bluetooth earphone
CN105517186A (en) * 2014-10-10 2016-04-20 三星电子株式会社 Multi-connection method and electronic device supporting same
CN108810741A (en) * 2018-06-14 2018-11-13 歌尔科技有限公司 A kind of method, apparatus and wireless headset of double wireless headset connections

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101057291A (en) * 2004-11-12 2007-10-17 皇家飞利浦电子股份有限公司 Apparatus and method for sharing contents via headphone set
CN103825635A (en) * 2014-03-11 2014-05-28 宁波翼动通讯科技有限公司 Method for sharing audio by Bluetooth headsets
CN105517186A (en) * 2014-10-10 2016-04-20 三星电子株式会社 Multi-connection method and electronic device supporting same
CN105208511A (en) * 2015-08-28 2015-12-30 深圳市冠旭电子有限公司 Intelligent Bluetooth earphone-based music sharing method, system and intelligent Bluetooth earphone
CN108810741A (en) * 2018-06-14 2018-11-13 歌尔科技有限公司 A kind of method, apparatus and wireless headset of double wireless headset connections

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112492529A (en) * 2020-11-27 2021-03-12 努比亚技术有限公司 Audio transmission method, mobile terminal and computer readable storage medium
CN112492529B (en) * 2020-11-27 2022-09-23 努比亚技术有限公司 Audio transmission method, mobile terminal and computer readable storage medium
CN112995829A (en) * 2021-02-25 2021-06-18 恒玄科技(上海)股份有限公司 Audio processing assembly for wireless communication and signal processing method thereof
CN112995829B (en) * 2021-02-25 2023-04-25 恒玄科技(上海)股份有限公司 Audio processing assembly for wireless communication and signal processing method thereof
WO2022267974A1 (en) * 2021-06-25 2022-12-29 华为技术有限公司 Screen projection method and related apparatus
CN114499587A (en) * 2021-07-22 2022-05-13 荣耀终端有限公司 Audio synchronization communication method and system and electronic equipment
CN114499587B (en) * 2021-07-22 2022-12-23 荣耀终端有限公司 Audio synchronization communication method, system, wireless earphone, terminal and storage medium
CN113709737A (en) * 2021-08-24 2021-11-26 深圳艾创力科技有限公司 Voice communication method and device based on TWS Bluetooth headset
CN113709737B (en) * 2021-08-24 2024-01-26 深圳艾创力科技有限公司 Voice communication method and device based on TWS Bluetooth headset
CN115278624A (en) * 2022-07-21 2022-11-01 Oppo广东移动通信有限公司 Information updating method and device, audio sharing method and system and electronic equipment
WO2024016948A1 (en) * 2022-07-21 2024-01-25 Oppo广东移动通信有限公司 Information updating method and apparatus, audio sharing method and system, and electronic device

Also Published As

Publication number Publication date
CN111447600B (en) 2023-04-25

Similar Documents

Publication Publication Date Title
CN111447600B (en) Audio sharing method of wireless earphone, terminal equipment and storage medium
US10524300B2 (en) Wireless low-latency audio content sharing
US11129218B2 (en) Bluetooth communication method and terminal
CN112868244B (en) Point-to-multipoint data transmission method and device
JP4779063B2 (en) Wireless earphones that migrate between wireless networks
US7747338B2 (en) Audio system employing multiple mobile devices in concert
US20070223725A1 (en) Method and apparatus for wirelessly streaming multi-channel content
US9380613B2 (en) Media device configuration and ecosystem setup
US20140270284A1 (en) Characteristic-based communications
CN109348334B (en) Wireless earphone and environment monitoring method and device thereof
US20170195817A1 (en) Simultaneous Binaural Presentation of Multiple Audio Streams
WO2020063499A1 (en) Wireless earphones
WO2023040517A1 (en) Audio data playback method, device, electronic equipment, and storage medium
WO2022242528A1 (en) Volume adjustment method and terminal device
CN110933555A (en) TWS noise reduction earphone and noise reduction method and device thereof
CN115175159B (en) Bluetooth headset playing method and equipment
CN112468914A (en) Multifunctional charging box control method, multifunctional charging box and Bluetooth headset
CN113645573B (en) Headset configuration data sharing method, headset and storage medium
US11916988B2 (en) Methods and systems for managing simultaneous data streams from multiple sources
US20220295287A1 (en) Remote device pairing
CN110968233A (en) Music playing switching operation method, system, storage medium and equipment
US11700653B2 (en) Context-based wireless-protocol connections
WO2022237353A1 (en) Method, apparatus, and device for configuring earphones in earphone holding case, and program product
CN115297460A (en) Control method, control device, equipment and readable storage medium of Bluetooth adapter
CN113472379A (en) Intercommunication method, earphone box, earphone and 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
GR01 Patent grant
GR01 Patent grant