CN115968054A - Communication method, communication device, earphone set and computer readable medium - Google Patents

Communication method, communication device, earphone set and computer readable medium Download PDF

Info

Publication number
CN115968054A
CN115968054A CN202111189210.6A CN202111189210A CN115968054A CN 115968054 A CN115968054 A CN 115968054A CN 202111189210 A CN202111189210 A CN 202111189210A CN 115968054 A CN115968054 A CN 115968054A
Authority
CN
China
Prior art keywords
earphone
request
wireless
headset
wireless headset
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
CN202111189210.6A
Other languages
Chinese (zh)
Inventor
侯锐填
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202111189210.6A priority Critical patent/CN115968054A/en
Priority to PCT/CN2022/118168 priority patent/WO2023061127A1/en
Publication of CN115968054A publication Critical patent/CN115968054A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • 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
    • H04R3/12Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S3/00Systems employing more than two channels, e.g. quadraphonic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a communication method, a communication device, an earphone set and a computer readable medium, and belongs to the technical field of Internet of things, and the method comprises the following steps: the first wireless earphone sends a first request, the first request is used for triggering the establishment of a communication link between the first wireless earphone and the first terminal equipment receiving the first request, and the second wireless earphone is used for broadcasting a second request to indicate the second terminal equipment receiving the second request to display target information. Therefore, the first request and the second request are distributed by the two earphones, the efficiency problem caused by the fact that one earphone sends the two requests at the same time can be well solved, and therefore the connection efficiency between the electronic equipment and the earphones can be effectively improved.

Description

Communication method, communication device, earphone set and computer readable medium
Technical Field
The present application relates to the field of internet of things technology, and more particularly, to a communication method, apparatus, earphone set, and computer readable medium.
Background
At present, two wireless earphones can form an earphone set and be used together. For example, a True Wireless Stereo (TWS) headphone composed of two Wireless headphones, a left headphone and a right headphone of the TWS headphone are independent from each other, and Wireless separation of left and right channels can be achieved without cable connection. The earphone set can be connected with the electronic equipment, so that the electronic equipment can multicast audio through the earphones. However, the connection between the electronic device and the headset is not efficient at present.
Disclosure of Invention
The present application proposes a communication method, apparatus, earphone set and computer readable medium to improve the above-mentioned drawbacks.
In a first aspect, an embodiment of the present application provides a communication method applied to a headset of an audio system, where the headset includes a first wireless headset and a second wireless headset, and the method includes: the first wireless headset sends a first request to trigger establishment of a communication link between the first wireless headset and a first terminal device receiving the first request; the second wireless headset broadcasts a second request to indicate the second terminal device receiving the second request to display target information.
In a second aspect, an embodiment of the present application further provides a communication device applied to a headset of an audio system, where the headset includes a first wireless headset and a second wireless headset, the device includes: a first transmission unit and a second transmission unit. The first sending unit is operated on the first wireless earphone and used for sending a first request so as to trigger the establishment of a communication link between the first wireless earphone and the first terminal equipment receiving the first request; and the second sending unit is operated on the second wireless earphone and used for broadcasting a second request so as to indicate the second terminal equipment receiving the second request to display the target information.
In a third aspect, an embodiment of the present application further provides an earphone set applied to an audio system, where the earphone set includes a first wireless earphone and a second wireless earphone. The first wireless headset is used for sending a first request to trigger the establishment of a communication link between the first wireless headset and a first terminal device receiving the first request; the second wireless headset is configured to broadcast a second request to instruct a second terminal device receiving the second request to display target information.
In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, where the readable storage medium stores program code executable by a processor, and the program code causes the processor to execute the method described above when executed by the processor.
According to the communication method, the communication device, the earphone set and the computer readable medium, a first wireless earphone sends a first request, the first request is used for triggering the establishment of a communication link between the first wireless earphone and a first terminal device receiving the first request, and a second wireless earphone is used for broadcasting a second request so as to indicate a second terminal device receiving the second request to display target information. Therefore, the first request and the second request are distributed by the two earphones, the efficiency problem caused by the fact that one earphone sends the two requests at the same time can be well solved, and therefore the connection efficiency between the electronic equipment and the earphones can be effectively improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows a block diagram of an audio system provided in an embodiment of the present application;
fig. 2 shows a connection diagram of an earphone and a user terminal provided in an embodiment of the present application;
fig. 3 is a schematic diagram illustrating bullet box information provided by an embodiment of the present application;
fig. 4 is a flowchart illustrating a method of communication according to an embodiment of the present application;
FIG. 5 illustrates a method flow diagram of a communication method provided by another embodiment of the present application;
fig. 6 is a flowchart illustrating a communication process between a headset and a user terminal according to an embodiment of the present application;
fig. 7 illustrates a method flow diagram of a communication method provided by yet another embodiment of the present application;
fig. 8 shows a flowchart of S720 in fig. 7;
fig. 9 illustrates a block diagram of a communication device provided by an embodiment of the present application;
FIG. 10 is a block diagram illustrating an embodiment of an earphone set provided by the present application;
fig. 11 is a storage unit according to an embodiment of the present application, configured to store or carry program code for implementing a communication method according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
Internet Of Things (IOT) is a network concept that extends and expands its user end to any article to article for information exchange and communication based on the Internet concept. With the development of the internet of things technology, some scenes can be configured in the internet of things system. For a configured scene, a plurality of intelligent devices can be involved, and the plurality of intelligent devices have a certain linkage relation and can work cooperatively. For example, a configured scenario may include at least one of the two devices performing a specified operation when the one device is in close proximity to the other device. Or when one device executes a certain operation, a part of data of the operation is processed by the device, and the other part of data is processed by the other device.
Specifically, the wireless headset and the terminal may cooperate with each other to play audio data, for example, when the terminal plays a video picture or when playing audio, the terminal sends the audio data to the wireless headset, and the audio data is played by the wireless headset. As shown in fig. 1, the sound recording system 10 includes a user terminal 100, a first wireless headset 210, and a second wireless headset 220. The user terminal can be a smart phone, a tablet computer, an electronic book, an intelligent wearable device and other devices which can run application programs and have the functions of playing audio signals and video signals. The first Wireless earphone 210 and the second Wireless earphone 220 form a True Wireless Stereo (TWS) earphone, wherein the left and right earphones of the TWS earphone are independent from each other, and are not connected by a cable, so that the Wireless separation of the left and right sound channels can be realized. In the embodiment of the present application, the audio requested to be played by the user terminal may be collected and played by the wireless earphone set 200.
In the embodiment of the present application, an application program capable of playing audio is installed in the user terminal 100, and specifically, the application program may be audio playing software, video playing software, or call software, or other software capable of triggering audio playing. The user terminal 100 transmits the audio to be played to the first wireless headset 210 and/or the second wireless headset 220, and the first wireless headset 210 and/or the second wireless headset 220 plays the voice.
As shown in fig. 2, the user terminal 100 is connected to the first wireless headset 210 via bluetooth, and then the first wireless headset 210 is connected to the second wireless headset 220 via bluetooth, so that the user terminal 100, the first wireless headset 210 and the second wireless headset 220 are connected simultaneously via a networking manner, that is, the first wireless headset 210 serves as a relay for the user terminal 100 and the second wireless headset 220. In the embodiment of the present application, the user terminal 100, the first wireless earphone 210 and the second wireless earphone 220 are connected in the manner shown in fig. 2, so that the first wireless earphone 210 can be used as a master earphone, and the second wireless earphone 220 can be used as a slave earphone.
Currently, the communication modes of the TWS bluetooth headset and the user terminal include two modes, forwarding and listening. The mode of forwarding is that one earphone in the double earphones serves as a master earphone, the other earphone serves as a slave earphone, and the user terminal sends data to the master earphone and forwards the data to the slave earphone. And the monitoring mode is that the user terminal sends data to the master earphone, and the slave earphone monitors the data between the user terminal and the master earphone so as to realize that the master earphone synchronizes the data to the slave earphone. A bluetooth setup may be established between the master and slave headsets and the master headset may establish a bluetooth connection with the user terminal. The master earpiece may send connection information, such as the device address of the user terminal and a link key, to the slave earpiece. In this way, the slave earphone can also receive the data sent to the master earphone by the user terminal through the connection information sent by the master earphone. For example, when a user terminal plays a song, the slave earphone needs to monitor the audio data sent from the user terminal to the master earphone, so that the slave earphone can play the audio data
In some schemes, the master/slave roles of the two earphones can be switched during the use process of the earphone set. Optionally, when the earphone is put into the earphone box and the box is closed, the bluetooth connection already established between the master earphone and the user terminal may be disconnected, and further, the bluetooth connection between the master earphone and the slave earphone may also be disconnected.
In order to ensure that the user uses the earphone set to play audio together with the user terminal, it is necessary to establish a communication connection between the user terminal and the main earphone in the earphone set, and to know information about the earphone. As shown in fig. 3, the wireless headset system 300 may trigger the user terminal 100 to display the frame information 110, the wireless headset system 300 includes a headset 320 and a headset box 310, the headset 320 may include the first wireless headset 210 and the second wireless headset 220, the headset box 310 may accommodate the headset 320, specifically, an inner wall of the headset box 310 forms an accommodating cavity, and the headset 320 may be accommodated in the accommodating cavity of the headset box 310. In addition, the earphone box 310 may not only provide an accommodating cavity for accommodating the earphone set 320, but also communicate with the earphone set 320, so that information such as the power, name, or network parameters of the earphone set 320 can be obtained, so that the user terminal can successfully pair with the earphone set 320 through the earphone box 310 and realize communication connection. The earphone box 310 is also used to charge the earphone set 320, as an embodiment. Specifically, the power of the earphone set 320 and the power of the earphone box 310 may be simultaneously displayed within the bezel information
Specifically, in a case where the wireless headset system 300 is close to the user terminal 100, or in a case where the headset case 310 is opened, or in other cases, the user terminal 100 may display the pop-up box information 110. The pop frame information 110 may be triggered by a master earphone in the earphone set 320, and the master earphone further needs to establish a communication connection with the user terminal to implement data interaction between the earphone set and the user terminal. Specifically, the pop-up frame information 110 may be displayed on the screen of the user terminal 100 when the user terminal 100 receives a pop-up broadcast signal transmitted from the main headset. The pop-window broadcast signal may be a bluetooth broadcast message, for example, a Bluetooth Low Energy (BLE) broadcast.
Therefore, the process of establishing communication between the earphone set and the user terminal may include:
1. when the earphone box is in an uncovering state, the earphone box sends an uncovering signal to the earphone set, wherein the uncovering signal can be a wireless signal with a specified waveform generated during uncovering, and the earphone set starts a starting-up process after receiving the uncovering signal;
2. two wireless earphones of the earphone set are connected through Bluetooth, and one earphone is a main earphone;
3. if the user terminal and the main headset are not connected before, the main headset enters a pairing state, for example, a connectable state, that is, a page scan state and an inquiry scan state, can be found, so that the unconnected user terminal can scan and can be used for a user to trigger a connection request (page), if the user terminal and the main headset are connected before, the main headset can connect back to the user terminal, wherein the main headset sends a page packet to the user terminal to request for establishing a communication connection with the user terminal, the page is a connection (paging) generally called, and an operation of connecting/activating a slave device (i.e., the user terminal) is called as a page, specifically, the page refers to a device (main device) initiating connection knows an address of a device to be connected, so that the page can be directly paged, and can be regarded as a connection request, specifically, and can refer to relevant provisions in a standard bluetooth protocol; in addition, in order to make the connection faster, the main headset periodically transmits a broadcast signal (e.g., BLE broadcast) after being uncapped, connection information (e.g., bluetooth address) carried by the broadcast signal may allow an unconnected user terminal to pop up or otherwise prompt the user after receiving the broadcast signal, so that the user may trigger the user terminal to initiate connection with the headset based on the connection information (e.g., send a page packet), but since only the user terminal capable of supporting a private protocol can analyze the broadcast signal, even if there is a broadcast at a product end, the product end still needs to enter a pairing state as described above, so that other terminal users not supporting the private protocol can connect; in the foregoing context, it may also be configured to open a cover and then send a broadcast signal, so that other user terminals may be connected quickly when the backhaul is not available, or the user may be further prompted to disconnect the user terminal that has been reconnected first when the user selects connection, or a plurality of user terminals may be connected conveniently when "one drags more" is supported, that is, one earphone may be connected to a plurality of terminals.
4. And after the master earphone successfully establishes communication connection with the user terminal, the master earphone shares connection information with the slave ear, and the slave ear monitors data of communication between the master earphone and the user terminal.
The inventor finds in research that, during the process of establishing connection with the user terminal, especially during the process of connection back, the main earphone also sends a broadcast signal for triggering the user terminal to display a popup window, and if one earphone needs to send two types of signals, there is an influence between the two types of signals, especially when the earphone is connected back, a page packet is sent, which needs to last for a certain time, and the broadcast signal needs to be sent, so that the probability of successfully establishing connection between the earphone and the user terminal is reduced, and the connection speed is influenced accordingly.
Therefore, in order to overcome the above-mentioned drawbacks, embodiments of the present application provide a communication method, apparatus, headset set, and computer readable medium, which can better solve the problem of connection efficiency caused when one headset sends the two requests.
Referring to fig. 4, fig. 4 illustrates a communication method provided by an embodiment of the present application, where the communication method is applied to a headset of the audio system, where the headset includes a first wireless headset and a second wireless headset, and the method includes: s402 to S402.
S401: the first wireless headset sends a first request to trigger establishment of a communication link between the first wireless headset and a first terminal device that received the first request.
It is understood that one of the first wireless earphone and the second wireless earphone may be a master earphone and the other may be a slave earphone, and the communication connection between the first wireless earphone and the user terminal may be a connection after scanning or a direct connection. The first request may include a scan request or may include a reconnect request. It should be noted that, generally, since the headset does not have a display function and cannot display the scanned user terminal for the user to select, the user terminal generally scans the headset, but a default priority connection mode (for example, a device with high priority is automatically connected according to the priority of the scanned device without user trigger) or a voice prompt mode may be set for the user to select, so that the headset scans the user; in addition, in a "drag and drop" scenario, a user terminal (e.g., a mobile phone) that has established a connection with the headset may be utilized to display so that the user may select another user terminal to which the headset needs to be connected.
As an embodiment, it is assumed that the first request is a scan request, and the scan request includes a scan broadcast. In some embodiments, the first wireless headset may enter a scan mode in which the first wireless headset actively scans (e.g., inquiries) surrounding bluetooth devices in a paired state (page scan and inquiry scan), acquires bluetooth addresses of the surrounding bluetooth devices, and selects at least one bluetooth device to establish a bluetooth connection. Specifically, a first wireless headset sends a scanning request, the scanning request carries a bluetooth address of the first wireless headset, after receiving the scanning request, peripheral bluetooth devices in a pairing state send a scanning response to the first wireless headset based on the bluetooth address of the first wireless headset, the scanning response at least carries the bluetooth address of the bluetooth device, then, the first wireless headset determines one bluetooth device from the bluetooth devices corresponding to each scanning request as a first terminal device based on a selection operation of a user or a preset rule and sends a connection request to the first terminal device, and the first wireless headset establishes a communication link with the first terminal device.
As an implementation manner, assuming that the first wireless headset is provided with a display screen, when the first wireless headset scans surrounding bluetooth devices, the first wireless headset acquires an identifier of each surrounding bluetooth device, the identifier of each bluetooth device is displayed through the display screen of the first wireless headset, and the user determines the first terminal device from the plurality of bluetooth devices based on the display screen. In addition, the first wireless headset may be provided with a projection device, the first wireless headset displays the identifier of each bluetooth device based on the projection device, detects an operation gesture input to the first wireless headset by a user based on the displayed identifier of the bluetooth device, and determines the bluetooth device corresponding to the operation gesture. For example, the operation gesture is a click gesture, the number of times of continuous input of the click gesture is counted, and the bluetooth device corresponding to the gesture is determined as the first terminal device according to the number of times and the display sequence of the identifiers of the bluetooth devices.
Furthermore, the user may select the first terminal device by voice, specifically, the first wireless headset plays the voice content of each bluetooth device by voice, where the voice content includes an identifier of the bluetooth device, and then the user selects an identifier of one bluetooth device based on the voice content and inputs the voice of the identifier of the bluetooth device to the first wireless headset, so that the first wireless headset can determine the first terminal device.
As another embodiment, the first wireless headset may use the first scanned bluetooth device as the first terminal device, or use the bluetooth device with the highest signal strength as the first terminal device, which is not limited herein.
Specifically, the first wireless earphone starts an Inquiry mode, a mode of discovering peripheral bluetooth devices is entered, and the peripheral bluetooth devices start an Inquiry scan mode, so that the first wireless earphone can search the peripheral bluetooth devices. In the embodiment of the present application, the pairing state may be understood as that an Inquiry scan mode and a page scan mode are turned on, where the scan mode may be an Inquiry mode, and the first request includes an Inquiry request.
As another embodiment, the first request may also be a loopback request, and specifically, may be a page request. As an implementation manner, the first wireless headset sends a connection request back to the first terminal device to establish a communication link between the first wireless headset and the first terminal device, where the first terminal device is a device to be connected back, it is understood that the first terminal device and the first wireless headset have previously established a connection, that is, the first wireless headset already knows the bluetooth address of the first terminal device, so that the first terminal device can be paged to establish a bluetooth connection. Specifically, the first wireless earphone serves as a master device, the first terminal device serves as a slave device, the master device pages the slave device, specifically, the master device pages the slave device by sending a page packet, the slave device scans external pages at regular intervals, and when an external paging request is scanned, the paging request is responded, so that a connection of a physical link, for example, an ACL link, is established between the two devices, so that a communication link can be established. The default master-slave relationship between the first wireless earphone and the second wireless earphone can be set when leaving a factory, for example, the right earphone is the default master earphone, the left earphone is the default slave earphone, and the master earphone and the slave earphone can be switched; that is, the first request may be sent by the master earphone and the second request may be broadcast by the slave earphone, for example, after the cover is opened, the first request may be sent by the default master earphone and the second request may be broadcast by the default slave earphone.
As an implementation, the connection request may be the page package described above, and specifically, will be described in the following embodiments. Since the first wireless earphone and the second wireless earphone have already established communication connection, which is equivalent to that the master earphone and the slave earphone have already established communication connection, after the master earphone establishes connection with the first terminal device, the master earphone can acquire data sent by the first terminal device, and the slave earphone can acquire data sent by the user terminal to the master earphone through the monitoring mode.
For example, in some embodiments, the slave headset acquires first link information of the master headset and the first terminal device, so as to listen to a communication link between the master headset and the first terminal device based on the first link information, that is, the foregoing listening manner. In other embodiments, the master earphone forwards the data sent by the first terminal device to the slave earphone, i.e. the aforementioned forwarding manner.
The process of the user terminal establishing the communication link between the primary earpiece and the user terminal based on the first request may refer to the foregoing description, and is not described herein again.
S402: the second wireless headset broadcasts a second request to indicate the second terminal device that received the second request to display the target information.
It is to be understood that the target information may be parameter information for indicating the earphone set, and may also be used to remind the user that the earphone set may establish an audio system with the user terminal, so that the user may directly initiate a connection request to the earphone set by using reminding information, such as a quick pop-up window, and since the bluetooth addresses of the left and right earphones may be the same when establishing a connection with the user terminal, further, the connection may be processed by any one of the first wireless earphone and the second wireless earphone, for example, the connection may be processed by the master earphone, or the connection may be processed by the slave earphone and then the master-slave switching is performed. Optionally, bluetooth addresses of a master earphone and a slave earphone used for establishing connection between the master earphone and the slave earphone may be different, and the same address is applicable to left and right ears when the earphone and the user terminal establish connection, for example, the address of the master earphone, so that the user terminal can only display one piece of device information. Certainly, the master and the slave may not be distinguished when the cover is opened, for example, the master and the slave are divided after the two earphones are successfully connected with the user terminal by using the same bluetooth address, for example, the first wireless earphone processes the loop connection or the scanning, the first wireless earphone is connected first, the first wireless earphone is the master earphone, the second wireless earphone processes the received connection request, triggered by the popup window, sent by the first terminal device, of the user, and if the second wireless earphone is connected with the terminal device first, the second wireless earphone is the master earphone, or of course, other situations may also exist.
As an implementation manner, the target information may be a target popup, and remaining power of the first wireless headset and the second wireless headset and remaining power of a headset box are displayed in the target popup, where the headset box is configured to accommodate the first wireless headset and the second wireless headset, and specifically, please refer to the popup frame information 110 shown in fig. 3, then the parameter information is the remaining power.
It should be noted that the first terminal device and the second terminal device may be the same device or different devices, which is not limited herein.
In some embodiments, in case the headset is capable of supporting "one drag many", the first wireless headset may initiate a fallback to the first terminal device, i.e. the first request is a fallback request, e.g. direct paging to establish a connection; the second wireless headset may perform bluetooth broadcasting, and when the second terminal device receives the second broadcast, initiates a connection request to the headset set (the bluetooth addresses of the first wireless headset and the second wireless headset are the same), the headset set establishes a connection with the second terminal device, for example, the master headset establishes a connection with the second terminal device, so that the master headset of the first wireless headset and the second wireless headset establishes a bluetooth connection with the first terminal device and the second terminal device, and the slave headset therein monitors communication between the master headset and the first terminal device and the second terminal device.
Therefore, according to the method provided by the embodiment of the application, the first request and the second request are sent by the two earphones respectively, so that the problem that the connection speed is affected when one earphone sends the two requests simultaneously can be solved well, and the connection efficiency between the electronic device and the earphones can be effectively guaranteed.
Optionally, when the first wireless headset is a master headset, the second wireless headset is a slave headset, and the master headset has no connection record of the first terminal device, the slave headset sends the second request when the master headset sends the first request, so that in a process of scanning the first terminal device by the master headset, the scanning request sent by the master headset is not interfered and interrupted by sending of the second request, and it is possible to avoid that the connection efficiency between the electronic device and the headset is reduced due to too low pairing speed or too low pairing success rate. Similarly, in the case that the first terminal device and the master earphone have established a communication link once, or the master earphone knows the bluetooth address of the first terminal device, the master earphone sends a connection request back to the first terminal device, and the slave earphone sends a second request (for example, BLE broadcast), so that the master earphone sends the second request by the slave earphone during the process of connecting back to the first terminal device, and the process that the master earphone sends the connection request back to the master earphone is prevented from being interfered due to the fact that the second request is sent by the master earphone.
In some embodiments, the loopback request is the page packet periodically and continuously sent, and the information prompt request is the pop-up broadcast signal. The reconnection request is a plurality of continuous page packets, the plurality of continuously transmitted page packets correspond to a period, which is recorded as a first period, a transmission period of the popup broadcast signal is recorded as a second period, and the duration of the transmission period of the popup broadcast signal is less than the transmission duration of the page packet, that is, the second period is less than the first period, so if the first wireless headset is used to simultaneously transmit the connection request and the information prompt request, since the second period is less than the first period, the transmission of the popup broadcast signal interferes with the transmission of the reconnection request during the transmission of the reconnection request, and since the transmission period of the popup broadcast signal is short, for example, the transmission period of a single broadcast is 20ms, that is, a broadcast is transmitted once every 20ms, and the number of channels of bluetooth is 3, 3 BLE broadcasts are transmitted every 20ms, and the first period may be 1.2s. Therefore, if the first wireless headset sends back a connect request and a pop-window broadcast signal simultaneously, it will be frequently interfered by BLE broadcast during a long first period.
In the embodiment of the present application, the backhaul request can be prevented from being interfered by a pop-up broadcast signal, specifically, the embodiment of the present application is described by taking the first request as the backhaul request and the second request as the pop-up broadcast signal as an example, please refer to fig. 5, and fig. 5 shows a communication method provided in the embodiment of the present application, where the communication method is applied to an earphone set of an audio system, specifically, the method includes: s501 to S502.
S501: the first wireless headset sends a first request to trigger establishment of a communication link between the first wireless headset and the first terminal device that received the first request.
S502: and the second wireless earphone broadcasts a second request to indicate the second terminal equipment receiving the second request to display the target information, wherein a communication link exists between the first wireless earphone and the second wireless earphone.
Optionally, the establishment of the communication link may be performed before the first request or the second request is sent, or may be performed after the headset and the terminal device establish a connection, for example, the connection between the first wireless headset and the second wireless headset may be initiated after the headset is opened, and then the step S501 or S502 is started. It should be noted that, the steps of S501 and S502 may have a sequential starting sequence, or may be started simultaneously, but the two steps may be parallel to each other for increasing the speed.
In the embodiment of the application, the second request includes a bluetooth broadcast message, that is, a pop-up window broadcast signal, the first wireless earphone sends back the connection request, the second wireless earphone sends the pop-up window broadcast signal, and the first wireless earphone is not interfered by sending of the pop-up window broadcast signal in the process of continuously sending a plurality of page packets, so that the continuous sending of the page packets can be maintained, the connection request can be prevented from being interfered by the information prompt request, and the interference of the information prompt request on the continuity of the connection request can be prevented.
In some embodiments, in an audio system to which the method is applied, one earphone is a master earphone and the other earphone is a slave earphone, the slave earphone may not be directly connected to the first terminal device, but the master earphone forwards data sent by the first terminal device to the slave earphone, that is, in a forwarding mode, or the slave earphone listens to data sent by the user terminal to the master earphone, that is, in a listening mode. Therefore, before the first wireless headset establishes a communication connection with the first user terminal, the first wireless headset and the second wireless headset may establish a communication connection. Specifically, the connection timing between the first wireless earphone and the second wireless earphone may be that communication connection is established between the two wireless earphones after the earphone box is opened, or that the first wireless earphone and the second wireless earphone are manually paired by a user to realize communication connection between the first wireless earphone and the second wireless earphone.
In addition, before the first wireless earphone establishes communication connection with the first terminal device, a communication link between the first wireless earphone and the second wireless earphone is established, and the first wireless earphone can also be ensured to acquire information such as electric quantity of the second wireless earphone in time, so that the first terminal device can display the information such as the electric quantity of the first wireless earphone and the second wireless earphone in time through the target information. Of course, after the communication link is established between the first terminal device and the first wireless headset, the communication connection may be established between the first wireless headset and the second wireless headset, which is not limited herein.
As an embodiment, in order to further avoid mutual interference between the second request and the connection back request, it is also possible that the two use different channels, i.e. the first wireless headset uses the first channel to send the connection back request, and the second wireless headset uses the second channel to send the second request, wherein the first channel and the second channel are at least partially not identical. In particular, the first channel may include a plurality of sub-channels, and the second channel may also include a plurality of sub-channels, where the plurality of sub-channels of the first channel are not completely consistent with the sub-channels of the second channel, and in some embodiments, the plurality of sub-channels of the first channel are not consistent with the sub-channels of the second channel, which may further reduce mutual interference between the second request and the backhaul request.
As an embodiment, the bluetooth addresses of the first wireless headset and the second wireless headset are the same, where the same bluetooth address may refer to a bluetooth address used when the first wireless headset and the second wireless headset are connected to the user terminal as one headset group, for example, different bluetooth addresses may be used when the first wireless headset and the second wireless headset are connected to each other, and the bluetooth addresses are shared after the two wireless headsets are connected to each other, so that the two wireless headsets and the user terminal are connected to each other by using the same bluetooth address, for example, the address of the master headset is a common address for both the two wireless headsets. In addition, as shown in fig. 3, a connection control 111 is also displayed in the target information, the user terminal performs a connection operation when detecting that the connection control 111 performs the connection operation, and the connection operation is to establish a connection based on the bluetooth address of the master earphone carried in the second request, that is, to request connection with the master earphone, and the user terminal can connect to the master earphone since the slave earphone and the master earphone use the same bluetooth address. As an implementation manner, the second request carries an access address, and the user terminal may establish a connection with a device corresponding to the access address, where the access address is a bluetooth address of the primary headset.
Specifically, the second request is a popup broadcast signal, the specified field in the popup broadcast signal is an access address, after the bluetooth address of the master earphone is acquired from the earphone, the bluetooth address of the master earphone is written into the specified field to serve as the access address of the popup broadcast signal, and after the user terminal receives the popup broadcast signal, the broadcast is analyzed to obtain the access address, so that the user terminal can initiate paging to a device (i.e., the master earphone) at the access address to trigger the user terminal to establish communication connection with the master earphone.
As an implementation manner, when the user wants to refer to information such as the power amounts of the first wireless headset and the second wireless headset, the master headset may temporarily and not actively send back a connection request, the slave headset broadcasts a second request, the second request includes the bluetooth address of the master headset, and the user terminal displays target information after receiving the second request, such as the popup window mentioned above, so that the user can know the power amounts of the first wireless headset and the second wireless headset through the target information, thereby avoiding the power consumption of the headset group from being too large. In some embodiments, the slave earphone starts to time by taking the first broadcast second request as a time starting point, and synchronizes the time length of the time counting to the master earphone. If the main earphone receives a paging request sent by the user terminal based on the Bluetooth address of the main earphone before the timing duration reaches the specified duration, for example, the user operates a connection control in the popup window to trigger the user terminal to actively page the main earphone, the main earphone establishes connection with the user terminal, if the main earphone does not receive the paging request before the timing duration reaches the specified duration, the connection request is not actively sent back in a time period when the timing duration does not reach the specified duration, and the connection request is sent back when the timing duration is greater than the specified duration along with the continuous increase of the timing duration. The timing duration can be set according to actual requirements.
As an implementation manner, the target information includes device information and a connection control of the earphone group, where the connection control is used for a user to trigger establishment of a communication link with the earphone group, as shown in fig. 3, a connection control 111 is provided in the pop-up window, and in addition, the device information may be a name of the earphone group, so that a user of a second terminal device can know a device that can be currently connected based on the device information, and can be connected with the earphone group by triggering transmission of the connection control 111, specifically, the earphone group establishes bluetooth connection between the main earphone and the second terminal device after receiving a connection request sent by the second terminal device based on the connection control. Specifically, the user may operate the connection control 111 displayed by the second terminal device to trigger the second terminal device to send a connection inquiry request to the earphone set, where the connection inquiry request is a connection request sent by the second terminal device based on the connection control.
In addition, second link information of the master earphone and the second terminal equipment is obtained from an earphone, so that a communication link between the master earphone and the first terminal equipment is monitored based on the second link information; and/or the master earphone forwards the data sent by the first terminal equipment to the slave earphone. As an embodiment, the first terminal device and the second terminal device are not the same device, the master earphone may be connected to the first terminal device and the second terminal device at the same time, and the slave earphone may respectively obtain data from each of the first terminal device and the second terminal device based on the master earphone.
As another embodiment, it is assumed that the first terminal device and the second terminal device are the same device and are named as a user terminal, that is, when the user terminal is a device to be reconnected, the user terminal may receive a reconnection request sent by the first wireless headset, or may receive a second request, for example, a quick connection popup request, but at this time, the user terminal may not display a popup and only complete reconnection. In another possible embodiment, the user terminal is in a pairing state, and may receive the scan request sent by the first wireless headset, or may receive a second request, for example, when a quick connection popup request is received, the user may actively connect the headset (e.g., a main headset therein) through the popup, or may wait for the headset to actively initiate a connection request. As shown in fig. 6, fig. 6 shows a communication process between the earphone set and the user terminal, specifically, as shown in fig. 6 (a), assuming that the earphone box 310 is in a closed state in an initial state, and the first wireless earphone and the second wireless earphone are both located in the earphone box 310, when the earphone box 310 is opened, as shown in fig. 6 (b), the earphone box 310 can detect that the cover of the earphone box 310 is opened, for example, the closed state and the opened state of the cover can be detected by providing a displacement sensor, an infrared sensor, etc. at the position of the cover, if the earphone box 310 detects that the cover is in the opened state, the earphone box 310 will notify the first wireless earphone 210 and the second wireless earphone 220 that the earphone box 310 has been opened, and then, a communication connection is established between the first wireless earphone 210 and the second wireless earphone 220 (after the two earphones establish a communication connection, the bluetooth address of one of the earphones can also be shared, which is generally the default bluetooth address of the main earphone, so that the earphone set only displays one piece of device information when the user terminal is connected, that is shown in fig. 6 (c), after the communication connection between the two earphones is detected, the earphone box 310 detects that the second wireless earphone box 220 is opened, the second earphone box 220 starts to establish a connection, and then the wireless earphone box 220, the wireless earphone box 220 starts to initiate a wireless earphone connection process flow, and then the wireless earphone box 210 starts to receive a wireless earphone connection process of the second earphone connection, and then the wireless earphone box 210, and the wireless earphone connection process of the second earphone box 210 starts to start a wireless earphone connection process of the wireless earphone box 210. As an embodiment, it is further required to determine one earphone as a master earphone and the other earphone as a slave earphone from between the first wireless earphone 210 and the second wireless earphone 220, specifically, one earphone may be designated as the master earphone in advance, and the other earphone is the slave earphone, in some embodiments, an earphone worn by the right ear may be the master earphone, an earphone worn by the left ear may be the slave earphone, an earphone worn by the left ear may be the master earphone, and an earphone worn by the right ear may be the slave earphone, and then, the master earphone initiates a connection with the slave earphone, so as to establish a connection between the two earphones, or the master earphone and the slave earphone may be determined by the user terminal based on the electric quantities of the first wireless earphone 210 and the second wireless earphone 220, specifically, please refer to the subsequent embodiments.
As shown in fig. 6 (d), after the connection is established between the first wireless headset 210 and the second wireless headset 220, and it is determined that one of the headsets is a master headset and the other headset is a slave headset, as shown in fig. 6 (d), the first wireless headset 210 is the master headset and the second wireless headset 220 is the slave headset, the first wireless headset 210 sends back a connection request, the second wireless headset 220 sends a second request, and then the user terminal establishes a connection with the first wireless headset 210 based on the connection-back request and displays the popup information 110 based on the second request. As shown in fig. 6 (e), the user terminal and the first wireless headset 210 interact with each other via the communication link established in fig. 6 (d), and the second wireless headset 220 listens to the data on the communication link. For example, if the user terminal needs to play the target audio, the user terminal sends the audio data of the target audio to the first wireless headset 210 through the communication link, so that the first wireless headset 210 can play the audio data, meanwhile, the second wireless headset 220 monitors the audio data on the communication link, and the second wireless headset 220 can also play the audio data, so that the first wireless headset 210 and the second wireless headset 220 play the audio data together.
As an embodiment, the user terminal may determine the master earphone and the slave earphone from the first wireless earphone and the second wireless earphone, specifically, instruct the master earphone to send the first request and instruct the slave earphone to send the second request. Thus, the first wireless headset can determine whether it is the master headset or the slave headset based on the indication of the user terminal, and thus can determine whether to transmit the first request or the second request, and similarly, the second wireless headset can determine whether it is the master headset or the slave headset based on the indication of the user terminal, and thus can determine whether to transmit the first request or the second request. Specifically, please refer to fig. 7, where fig. 7 illustrates a communication method provided in an embodiment of the present application, where the communication method is applied to a user terminal of an audio system, where the audio system further includes a first wireless headset and a second wireless headset, and an execution subject of the method may be the user terminal described above. Specifically, the method comprises the following steps: s710 to S760.
S710: and acquiring a first residual capacity of the first wireless earphone and a second residual capacity of the second wireless earphone.
As an embodiment, in addition to the foregoing manner of pre-specifying the master earphone, for example, an earphone worn by the left ear or the earphone worn by the right ear is defaulted as the master earphone, and the master earphone may be determined by the first remaining capacity of the first wireless earphone and the second remaining capacity of the second wireless earphone. Or, the left ear and the right ear are defaulted when the cover is opened, and the master-slave switching is carried out according to the electric quantity in the using process.
As an embodiment, when the earphone box 310 is in an open state, that is, when the earphone box 310 is opened, and the first wireless earphone 210 and the second wireless earphone 220 are not communicatively connected, the first wireless earphone 210 and the second wireless earphone 220 transmit respective remaining power to the user terminal, specifically, the first wireless earphone 210 transmits the first remaining power to the user terminal, and the second wireless earphone 220 transmits the second remaining power to the user terminal, for example, both the first wireless earphone 210 and the second wireless earphone 220 transmit the remaining power to the user terminal in a broadcast manner.
As another embodiment, when the earphone box 310 is in an open state, that is, when the earphone box 310 is opened, and when the first wireless earphone 210 and the second wireless earphone 220 have established a communication connection, one of the earphones may send the first remaining power and the second remaining power to the user terminal, specifically, the target earphone may obtain the first remaining power of the first wireless earphone and the second remaining power of the second wireless earphone, and send the first remaining power of the first wireless earphone and the second remaining power of the second wireless earphone to the user terminal, where the target earphone is the first wireless earphone or the second wireless earphone.
S720: determining, by the first wireless headset and the second wireless headset, the master headset and the slave headset based on the first remaining capacity and the second remaining capacity, and instructing the master headset to send a first request and the slave headset to send a second request.
As an embodiment, after determining the master earphone and the slave earphone from the first wireless earphone and the second wireless earphone, the user terminal sends first information to the first wireless earphone and sends second information to the second wireless earphone, where the first information is used to inform identity attributes of the first wireless earphone and the second information is used to inform identity attributes of the second wireless earphone, where the identity attributes include a master earphone identity and a slave earphone identity. Thereby, the first wireless headset and the second wireless headset are able to determine whether themselves are the master headset or the slave headset by the attribute information, in particular wherein the attribute information comprises a first attribute information for characterizing the master headset identity and a second attribute information for characterizing the slave headset identity. Accordingly, the user terminal transmits the first attribute information to the master earphone and the second attribute information to the slave earphone after determining the master earphone and the slave earphone from the first wireless earphone and the second wireless earphone.
The master headset sends the bluetooth address of the master headset to the slave headset after the first wireless headset and the second wireless headset are unambiguously identified, and the master headset may send a first request and the slave headset may send a second request. Specifically, in an embodiment of sending the first request to the user terminal by the primary earphone, the first wireless earphone acquires first information sent by the user terminal, and when it is determined that attribute information included in the first information is first attribute information, the first wireless earphone serves as the primary earphone to send the first request to the user terminal. The embodiment of sending the second request from the earphone to the user terminal may be that the first wireless earphone acquires first information sent by the user terminal, and when it is determined that the attribute information included in the first information is the second attribute information, the first wireless earphone serves as a wireless earphone that sends the second request from the earphone to the user terminal.
As an embodiment, the determining the master earphone and the slave earphone from the first wireless earphone and the second wireless earphone may be implemented by determining a wireless earphone corresponding to a larger remaining power amount as the master earphone and determining a wireless earphone corresponding to a smaller remaining power amount as the slave earphone. Specifically, because the sending period of the first request sent by the main earphone is relatively long, and data interaction with the user terminal is also required, determining the wireless earphone with the larger remaining power as the main earphone from the first wireless earphone and the second wireless earphone can avoid that the connection is not possible or the data interaction is not possible due to insufficient power of the main earphone, and even if the power of the auxiliary earphone is insufficient, the user terminal may not display the target information or the user terminal plays the audio data through the main earphone, so that the influence on the use experience of the user is lower.
As another embodiment, the master earphone and the slave earphone are determined from the first wireless earphone and the second wireless earphone based on the first remaining capacity and the second remaining capacity, and the duration of the two earphones can be estimated according to the remaining capacities of the two earphones, and the master earphone and the slave earphone can be determined according to the duration of the duration. Specifically, as shown in fig. 8, S720 includes S721 to S724.
S721: and acquiring a first working parameter of the first wireless earphone and a second working parameter of the second wireless earphone.
The operating parameters may include volume parameters, microphone operating states, and the like, where the volume parameters may be volume values, and the larger the volume value, the larger the power consumption, the smaller the volume value, and the smaller the power consumption. The microphone working state may include an on state and an off state, the on state indicates that the microphone is in the working state and is collecting audio data, the off state indicates that the microphone is not working, and the off state does not collect audio data, and then the power consumption of the earphone is greater than the power consumption of the microphone in the off state.
As an implementation manner, a manner of obtaining the first working parameter and the second working parameter by the user terminal may refer to a process of respectively sending the first remaining power and the second remaining power by the first wireless headset and the second wireless headset, that is, a situation that the first wireless headset 210 and the second wireless headset 220 have established a communication connection and a situation that the first wireless headset 210 and the second wireless headset 220 have not established a communication connection.
S722: and determining a first endurance time based on the first working parameter and the first residual capacity.
S723: and determining a second endurance time based on the second operating parameter and the second residual capacity.
As an implementation mode, the working parameters can reflect the current power consumption trend of the wireless headset, and the endurance time of the wireless headset can be predicted by combining the residual power and the power consumption trend of the wireless headset. Specifically, the correspondence relationship between the operating parameters and the power consumption amount trend, which may be the power consumption amount per unit time, may be established in advance. Then, the duration can be estimated by the ratio of the residual electricity quantity to the electricity consumption quantity.
S724: and determining the wireless earphone corresponding to the larger duration as the master earphone and determining the wireless earphone corresponding to the smaller duration as the slave earphone from the first duration and the second duration.
Because the sending cycle of the first request sent by the main earphone is longer and data interaction with the user terminal is also needed, the wireless earphone with longer duration is determined to be used as the main earphone from the first wireless earphone and the second wireless earphone, so that the problem that the connection cannot be carried out or the data cannot be interacted due to insufficient electric quantity of the main earphone can be avoided, even if the electric quantity of the auxiliary earphone is insufficient, the user terminal can not display target information, or the user terminal plays audio data through the main earphone, and the influence on the use experience of the user is lower.
In some embodiments, the first terminal device and the second terminal device are the same terminal device, for example, a user terminal, and the present application further provides a communication connection method, applied to the user terminal, for performing the following steps:
s730: the method includes obtaining a first request sent by a first wireless headset and obtaining a second request sent by a second wireless headset.
S740: establishing a communication link between the first wireless headset and the user terminal in response to the first request.
S750: and responding to the second request, and displaying target information on a screen of the user terminal.
S760: transmitting target data to the first wireless headset based on the communication link. It should be noted that the target data may be audio data, call voice data, control instructions, and the like. For the above portions not described in detail, reference may be made to the foregoing embodiments, which are not described in detail herein. Referring to fig. 9, which shows a block diagram of a communication device 900 according to an embodiment of the present disclosure, where the communication device 900 is applied to a set of audio systems, where the set of earphones includes a first wireless earphone and a second wireless earphone, and the communication device 900 may include: a first transmission unit 901 and a second transmission unit 902.
A first sending unit 901, running in the first wireless headset, configured to send a first request to trigger establishment of a communication link between the first wireless headset and the first terminal device that receives the first request.
Further, the first request is a scanning request, the first sending unit 901 is further configured to send the scanning request, and if a scanning response sent by the first terminal device based on the scanning request is received, send a connection request to the first terminal device based on a selection operation of a user or a preset rule, so as to establish a communication link between the first wireless headset and the first terminal device.
The first request comprises an inquiry request and the second request comprises a Bluetooth broadcast message.
Further, the first request is a reconnection request, and the first sending unit 901 is further configured to send the reconnection request back to the first terminal device to establish a communication link between the first wireless headset and the first terminal device, where the first terminal device is a device to be reconnected. The first request comprises a page request and the second request comprises a bluetooth broadcast message.
Further, the first sending unit 901 is further configured to establish a communication link with the second wireless headset, and send a first request if the first wireless headset and the second wireless headset have established a communication connection.
Further, the first sending unit 901 is further configured to forward the data sent by the first terminal device to the second wireless headset.
A second sending unit 902, running on the second wireless headset, configured to broadcast a second request to instruct a second terminal device receiving the second request to display target information.
Further, the bluetooth addresses of the first wireless headset and the second wireless headset are the same.
Further, the target information includes device information of the earphone set and a connection control, where the connection control is used for a user to trigger the second terminal device to establish a communication link with the earphone set. The device information includes remaining power of the first wireless headset and the second wireless headset, and remaining power of the headset case.
Further, the second sending unit 902 is further configured to obtain second link information of the first wireless headset and the second terminal device, so as to monitor a communication link between the first wireless headset and the first terminal device based on the second link information.
Further, the second sending unit 902 is further configured to obtain first link information of the first wireless headset and the first terminal device, so as to monitor a communication link between the first wireless headset and the first terminal device based on the first link information.
Further, the communication device further includes a connection unit, running on the first wireless headset, and configured to establish a bluetooth connection between the first wireless headset and the second terminal device after receiving a connection request sent by the second terminal device based on the connection control. Further, a communication link exists between the first wireless headset and the second wireless headset; the first wireless earphone is a master earphone, and the second wireless earphone is a slave earphone.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In several embodiments provided in the present application, the coupling of the modules to each other may be electrical, mechanical or other forms of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 10, a block diagram of an earphone set according to an embodiment of the present application is shown. The headset includes a first wireless headset 210 and a second wireless headset 220.
The first wireless headset is configured to send a first request to trigger establishment of a communication link between the first wireless headset and a first terminal device that received the first request.
The second wireless headset is configured to broadcast a second request to instruct a second terminal device receiving the second request to display target information.
A communication link exists between the first wireless headset and the second wireless headset; the first wireless earphone is a master earphone, and the second wireless earphone is a slave earphone.
Referring to fig. 11, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer readable medium 1100 has stored therein program code that can be called by a processor to perform the method described in the method embodiments above.
The computer-readable storage medium 1100 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 1100 includes a non-volatile computer-readable storage medium. The computer readable storage medium 1100 has storage space for program code 1110 for performing any of the method steps of the method described above. The program code can be read from and written to one or more computer program products. The program code 1110 may be compressed, for example, in a suitable form.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (17)

1. A method of communication, in a headset for use in an audio system, the headset comprising a first wireless headset and a second wireless headset, the method comprising:
the first wireless headset sends a first request to trigger establishment of a communication link between the first wireless headset and a first terminal device receiving the first request;
the second wireless headset broadcasts a second request to indicate the second terminal device receiving the second request to display target information.
2. The method of claim 1, wherein the first request is a scan request, and wherein the first wireless headset sends a first request to trigger establishment of a communication link between the first wireless headset and a first terminal device that received the first request, comprising:
and the first wireless earphone sends the scanning request, and if a scanning response sent by the first terminal equipment based on the scanning request is received, a connection request is sent to the first terminal equipment based on the selection operation of a user or a preset rule so as to establish a communication link between the first wireless earphone and the first terminal equipment.
3. The method of claim 2, wherein the first request comprises an inquiry request and the second request comprises a bluetooth broadcast message.
4. The method of claim 1, wherein the first request is a request to connect back, wherein the first wireless headset sends a first request to trigger establishment of a communication link between the first wireless headset and a first terminal device that received the first request, and wherein the method comprises:
the first wireless earphone sends a connection request back to the first terminal device to establish a communication link between the first wireless earphone and the first terminal device, and the first terminal device is a device to be connected back.
5. The method of claim 4, wherein the first request comprises a page request and the second request comprises a Bluetooth broadcast message.
6. The method of any of claims 1-5, wherein a communication link exists between the first wireless headset and the second wireless headset.
7. The method of any of claims 1-5, wherein the Bluetooth addresses of the first wireless headset and the second wireless headset are the same.
8. The method of any of claims 1-5, wherein after the first wireless headset establishes a communication link with the first terminal device, the method further comprises:
the second wireless earphone acquires first link information of the first wireless earphone and the first terminal equipment so as to monitor a communication link between the first wireless earphone and the first terminal equipment based on the first link information; and/or the presence of a gas in the atmosphere,
and the first wireless earphone forwards the data sent by the first terminal equipment to the second wireless earphone.
9. The method according to any of claims 1-5, wherein the target information comprises device information of the set of headphones and a connection control for a user to trigger the second terminal device to establish a communication link with the set of headphones.
10. The method of claim 9, further comprising: and after receiving a connection request sent by the second terminal device based on the connection control, the earphone set establishes Bluetooth connection between the first wireless earphone and the second terminal device.
11. The method of claim 10, wherein the second wireless headset obtains second link information of the first wireless headset and the second terminal device to listen to a communication link between the first wireless headset and the first terminal device based on the second link information; and/or the presence of a gas in the atmosphere,
and the first wireless earphone forwards the data sent by the first terminal equipment to the second wireless earphone.
12. The method of any of claims 1-5, wherein the first wireless headset is a master headset and the second wireless headset is a slave headset.
13. A communications device for use in a headset for an audio system, the headset comprising a first wireless headset and a second wireless headset, the device comprising:
a first sending unit, running on the first wireless headset, configured to send a first request to trigger establishment of a communication link between the first wireless headset and a first terminal device that receives the first request;
and the second sending unit is operated on the second wireless earphone and used for broadcasting a second request so as to indicate the second terminal equipment receiving the second request to display the target information.
14. The communications device of claim 13, wherein a communications link exists between the first wireless headset and the second wireless headset; the first wireless earphone is a master earphone, and the second wireless earphone is a slave earphone.
15. An earphone set, which is applied to an audio system and comprises a first wireless earphone and a second wireless earphone;
the first wireless headset is used for sending a first request to trigger the establishment of a communication link between the first wireless headset and a first terminal device receiving the first request;
the second wireless headset is configured to broadcast a second request to instruct a second terminal device receiving the second request to display target information.
16. The headset of claim 15, wherein a communication link exists between the first wireless headset and the second wireless headset; the first wireless earphone is a master earphone, and the second wireless earphone is a slave earphone.
17. A computer-readable medium having stored program code executable by a processor, the program code causing the processor to perform the method of any one of claims 1-7 when executed by the processor.
CN202111189210.6A 2021-10-12 2021-10-12 Communication method, communication device, earphone set and computer readable medium Pending CN115968054A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111189210.6A CN115968054A (en) 2021-10-12 2021-10-12 Communication method, communication device, earphone set and computer readable medium
PCT/CN2022/118168 WO2023061127A1 (en) 2021-10-12 2022-09-09 Communication method and apparatus, earphone set, and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111189210.6A CN115968054A (en) 2021-10-12 2021-10-12 Communication method, communication device, earphone set and computer readable medium

Publications (1)

Publication Number Publication Date
CN115968054A true CN115968054A (en) 2023-04-14

Family

ID=85888337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111189210.6A Pending CN115968054A (en) 2021-10-12 2021-10-12 Communication method, communication device, earphone set and computer readable medium

Country Status (2)

Country Link
CN (1) CN115968054A (en)
WO (1) WO2023061127A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117202181A (en) * 2023-05-11 2023-12-08 长江量子(武汉)科技有限公司 Method for synchronizing keys of two-ear earphone and two-ear encryption earphone
CN117858031B (en) * 2024-03-07 2024-05-28 深圳市汇杰芯科技有限公司 Low-delay wireless opposite-speaking and TWS seamless switching system, method and medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107708014B (en) * 2017-11-08 2020-07-28 深圳市沃特沃德股份有限公司 Method and device for automatically switching master-slave relation of wireless earphone and wireless earphone
CN108718467B (en) * 2018-06-06 2020-03-13 歌尔科技有限公司 Voice data transmission method, wireless headset and TWS headset
CN113225693B (en) * 2019-04-18 2022-04-15 华为技术有限公司 Bluetooth connection method, equipment and system
US20200396680A1 (en) * 2019-06-14 2020-12-17 Redpine Signals, Inc. Wire-Free Bluetooth Communication System with RSSI-based Dynamic Switchover

Also Published As

Publication number Publication date
WO2023061127A1 (en) 2023-04-20

Similar Documents

Publication Publication Date Title
US11438962B2 (en) Method and apparatus for establishing single-line connection, and wireless headset and charging box
CN111436041B (en) Method and device for switching master and slave Bluetooth earphones, bluetooth earphones and system
WO2019090726A1 (en) Method for selecting bluetooth device, terminal, and system
WO2023061127A1 (en) Communication method and apparatus, earphone set, and computer readable medium
JP2016537933A (en) Method, apparatus, program and recording medium for connecting to wireless network
CN110650408B (en) Earphone, anti-lost method, anti-lost system and computer readable storage medium
CN113766477A (en) Device connection method, device, electronic device and computer readable medium
CN105101131A (en) Method and device for answering incoming call
CN111757306B (en) External playing method and system based on earphone charging box and readable storage medium
EP3820168A1 (en) Microphone hole blockage detection method and related product
WO2023036178A1 (en) Bluetooth connection method and apparatus, earphone device, and computer-readable storage medium
CN113038316A (en) Earphone control method and device, Bluetooth earphone and storage medium
CN114245362B (en) Device reconnection method and Bluetooth peripheral
CN110602683B (en) Bluetooth control method, device, mobile terminal and storage medium
CN111988693B (en) Earphone control method and system based on earphone charging box and readable storage medium
WO2024119947A1 (en) Bluetooth communication method and apparatus, electronic device, and computer-readable medium
CN113840269A (en) Multimedia data transmission method and device, electronic equipment and storage medium
CN114866998B (en) Bluetooth connection method and Bluetooth device
CN111182518A (en) Processing method and device
CN115665671A (en) Audio data sharing method and device, electronic equipment and storage medium
CN114501239A (en) Master-slave switching method and device of earphone, Bluetooth earphone and storage medium
CN113038317B (en) Earphone control method and device, bluetooth earphone and storage medium
CN115442753B (en) Sound box control method, device, equipment and storage medium
CN116074986B (en) Bluetooth connection method, device and system
CN114245269B (en) Earphone interaction method, earphone kit, earphone part 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