CN110381485A - Bluetooth communication method, TWS bluetooth headset and terminal - Google Patents

Bluetooth communication method, TWS bluetooth headset and terminal Download PDF

Info

Publication number
CN110381485A
CN110381485A CN201910513900.9A CN201910513900A CN110381485A CN 110381485 A CN110381485 A CN 110381485A CN 201910513900 A CN201910513900 A CN 201910513900A CN 110381485 A CN110381485 A CN 110381485A
Authority
CN
China
Prior art keywords
earphone
terminal
audio data
language
link
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
CN201910513900.9A
Other languages
Chinese (zh)
Other versions
CN110381485B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910513900.9A priority Critical patent/CN110381485B/en
Publication of CN110381485A publication Critical patent/CN110381485A/en
Priority to PCT/CN2020/095872 priority patent/WO2020249098A1/en
Application granted granted Critical
Publication of CN110381485B publication Critical patent/CN110381485B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/58Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computational Linguistics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Acoustics & Sound (AREA)
  • Telephone Function (AREA)
  • Headphones And Earphones (AREA)

Abstract

Bluetooth communication method, TWS bluetooth headset and terminal provided in this embodiment, the first ACL link is established between terminal and main earphone, in the case that main earphone and set of headphones establish the second ACL link, the the first scene alteration command received in response to terminal, the first both SCO link is established between terminal and main earphone, and the second both SCO link is established between set of headphones.It enables the terminal to through transmitting audio data between the first both SCO link and main earphone, and pass through transmitting audio data between the second both SCO link and set of headphones, to realize that main earphone and set of headphones acquire the voice data of two different users respectively, and terminal is transferred to by different both SCO links respectively and is translated, realize simultaneous interpretation process, the application scenarios for enriching bluetooth headset meet user's demand multi-functional for bluetooth headset.

Description

Bluetooth communication method, TWS bluetooth headset and terminal
Technical field
The invention relates to field of communication technology more particularly to a kind of Bluetooth communication methods, TWS bluetooth headset and end End.
Background technique
With the development of social progress and the communication technology, earphone has become essential daily necessity in for people's lives. Wherein, bluetooth headset is to apply Bluetooth technology in hands-free headsets, allows user that can exempt impeding for headset cord, comfortable Ground easily uses earphone in various ways.
Currently, real wireless stereo (True Wireless Stereo, TWS) bluetooth headset, thoroughly gets rid of connection The constraint of line.TWS earphone includes main earphone and set of headphones, and main earphone and terminal establish bluetooth connection, main earphone and set of headphones it Between establish bluetooth connection.Carried out data transmission by way of data forwarding between main earphone and set of headphones.Illustratively, terminal Audio data is sent to main earphone, audio data is transmitted to set of headphones by main earphone, thus, main earphone hair synchronous with set of headphones Sound.Due to being connected between main earphone and set of headphones without physical cord cable, so that the wearing experience of TWS bluetooth headset is improved.
However, current TWS bluetooth headset only has the basic function listened to music with making and receiving calls, so that bluetooth headset Function it is relatively simple, be unable to satisfy user to the multi-functional demand of TWS bluetooth headset.
Summary of the invention
The embodiment of the present application provides a kind of Bluetooth communication method, TWS bluetooth headset and terminal, to enrich TWS bluetooth headset Function, meet user's demand multi-functional for TWS bluetooth headset.
In a first aspect, the embodiment of the present application provides a kind of Bluetooth communication method, it is applied to Bluetooth communication system, the bluetooth Communication system includes real wireless stereo TWS bluetooth headset and terminal, and the TWS bluetooth headset includes the first earphone and second Earphone, which comprises
The first ACL link, first earphone and second earphone are established between the terminal and first earphone Between establish the second ACL link;
The terminal sends the first audio data, first ear to first earphone by first ACL link First audio data is forwarded to second earphone by second ACL link by machine;
The terminal receives the first scene alteration command;
In response to the first scene alteration command, the first both SCO link is established between the terminal and first earphone, The second both SCO link is established between the terminal and second earphone;
Second audio data, the end are transmitted by first both SCO link between the terminal and first earphone Second audio data is transmitted by second both SCO link between end and second earphone.
Using this scheme, enable the terminal to through transmitting audio data between the first both SCO link and main earphone, and lead to Transmitting audio data between the second both SCO link and set of headphones is crossed, to realize that main earphone and set of headphones acquire two differences respectively The voice data of user, and terminal is transferred to by different both SCO links respectively.Likewise, terminal can also pass through two SCO Link sends different voice data to main earphone and set of headphones respectively, enriches the application scenarios of bluetooth headset, meets use Family demand multi-functional for bluetooth headset.
Optionally, the application scenarios that the first scene alteration command is used to indicate the TWS bluetooth headset are changed to together Sound translates scene;Second audio data is transmitted by first both SCO link between the terminal and first earphone, it is described Second audio data is transmitted by second both SCO link between terminal and second earphone, comprising:
The second audio data of first earphone acquisition first language, and by the second audio data of the first language It is sent to the terminal by first both SCO link, the second audio data of the first language is translated as by the terminal The second audio data of second language, and the second audio data of the second language after translation is passed through into second both SCO link It is sent to second earphone, second earphone plays out the second audio data of the second language;
The second audio data of second earphone acquisition second language, and by the second audio data of the second language It is sent to the terminal by second both SCO link, the second audio data of the second language is translated as by the terminal The second audio data of first language, and the second audio data of the first language after translation is passed through into first both SCO link It is sent to first earphone, first earphone plays out the second audio data of the first language.
Using this scheme, both SCO link is established between terminal and main earphone, set of headphones, two both SCO links and two It is mutually indepedent to translate access, does not interfere with each other, and two both SCO links support the transmission of double-directional speech data, so that two uses The user of different language can in real time accessible exchange, achieve the effect that simultaneous interpretation.
Optionally, before the terminal receives the first scene alteration command, the method also includes:
First earphone receives the first operation of user's input;
In response to first operation, first earphone sends physical address request message to second earphone;
First earphone receives the physical address for second earphone that second earphone is sent;
The physical address of first scene alteration command and second earphone is sent to the end by first earphone End.
Optionally, before the terminal receives the first scene alteration command, the method also includes:
Second earphone receives the first operation of user's input;
In response to it is described first operation, second earphone to first earphone send the first scene alteration command and The physical address of second earphone;
The physical address of the first scene alteration command and second earphone is transmitted to institute by first earphone State terminal.
Using this scheme, user can both realize scene change by the first earphone of operation, can also pass through operation the Two earphones realize scene change, can be applied to various scenes, improve application flexibility.
Optionally, the method also includes:
The terminal receives the translation configuration information of user's input, and the translation configuration information is used to indicate first ear The acquisition language of machine is the first language, and the acquisition language of second earphone is the second language.
Using this scheme, by carrying out translation processing according to the translation configuration information of user setting, so that the application Terminal can be flexibly applied to various application scenarios.
Optionally, the first both SCO link, the terminal and second ear are established between the terminal and first earphone It is established between machine after the second both SCO link, the method also includes:
The terminal receives the second scene alteration command;
In response to the second scene alteration command, the first SCO chain between the terminal and first earphone is disconnected Road, and disconnect the second both SCO link between the terminal and second earphone.
Optionally, before the terminal receives the second scene alteration command, the method also includes:
First earphone receives the second operation of user's input;
In response to second operation, first earphone sends the second scene alteration command to the terminal.
Optionally, before the terminal receives the second scene alteration command, the method also includes:
Second earphone receives the second operation of user's input;
In response to second operation, second earphone sends the second scene alteration command to first earphone;
The the second scene alteration command received is transmitted to the terminal by first earphone.
Optionally, first audio data is media audio data, and the second audio data is voice communication data.
Second aspect, the embodiment of the present application provide a kind of TWS bluetooth headset, and the TWS bluetooth headset includes the first earphone With the second earphone, first earphone and second earphone include processor, memory and are stored in the memory Computer program that is upper and can running on the processor, the processor execute following step when executing the computer program It is rapid:
The first ACL link is established between terminal and first earphone, between first earphone and second earphone Establish the second ACL link;
First earphone receives the first audio data that the terminal is sent by first ACL link, and described the First audio data is forwarded to second earphone by second ACL link by one earphone;
In response to the first scene alteration command that the terminal receives, established between the terminal and first earphone First both SCO link establishes the second both SCO link between the terminal and second earphone;
Second audio data, the end are transmitted by first both SCO link between the terminal and first earphone Second audio data is transmitted by second both SCO link between end and second earphone.
Optionally, the application scenarios that the first scene alteration command is used to indicate the TWS bluetooth headset are changed to together Sound translates scene;Second audio data is transmitted by first both SCO link between the terminal and first earphone, it is described Second audio data is transmitted by second both SCO link between terminal and second earphone, comprising:
The second audio data of first earphone acquisition first language, and by the second audio data of the first language It is sent to the terminal by first both SCO link, so that the terminal turns over the second audio data of the first language It is translated into the second audio data of second language, and the second audio data of the second language after translation is passed through into the 2nd SCO Link is sent to second earphone, and second earphone plays out the second audio data of the second language;
The second audio data of second earphone acquisition second language, and by the second audio data of the second language It is sent to the terminal by second both SCO link, so that the terminal turns over the second audio data of the second language It is translated into the second audio data of first language, and the second audio data of the first language after translation is passed through into the first SCO Link is sent to first earphone, and first earphone plays out the second audio data of the first language.
Optionally, before the first scene alteration command received in response to the terminal, further includes:
First earphone receives the first operation of user's input;
In response to first operation, first earphone sends physical address request message to second earphone;
First earphone receives the physical address for second earphone that second earphone is sent;
The physical address of first scene alteration command and second earphone is sent to the end by first earphone End.
Optionally, before the first scene alteration command received in response to the terminal, further includes:
Second earphone receives the first operation of user's input;
In response to it is described first operation, second earphone to first earphone send the first scene alteration command and The physical address of second earphone;
The physical address of the first scene alteration command and second earphone is transmitted to institute by first earphone State terminal.
Optionally, the first both SCO link, the terminal and second ear are established between the terminal and first earphone It is established between machine after the second both SCO link, further includes:
In response to the second scene alteration command that the terminal receives, disconnect between the terminal and first earphone The first both SCO link, and disconnect the second both SCO link between the terminal and second earphone.
Optionally, before the second scene alteration command received in response to the terminal, further includes:
First earphone receives the second operation of user's input;
In response to second operation, first earphone sends the second scene alteration command to the terminal.
Optionally, before the second scene alteration command received in response to the terminal, further includes:
Second earphone receives the second operation of user's input;
In response to second operation, second earphone sends the second scene alteration command to first earphone;
The the second scene alteration command received is transmitted to the terminal by first earphone.
Optionally, first audio data is media audio data, and the second audio data is voice communication data.
The third aspect, the embodiment of the present application provide a kind of terminal, and the terminal includes processor, memory and storage On the memory and the computer program that can run on the processor, the processor execute the computer program Shi Zhihang following steps:
The first ACL link is established between the terminal and the first earphone, is established between first earphone and the second earphone Second ACL link, first earphone and second earphone are the monomer ear in real wireless stereo TWS bluetooth headset Machine;
The terminal sends the first audio data, first ear to first earphone by first ACL link First audio data is forwarded to second earphone by second ACL link by machine;
The terminal receives the first scene alteration command;
In response to the first scene alteration command, the first both SCO link is established between the terminal and first earphone, The second both SCO link is established between the terminal and second earphone;
Second audio data, the end are transmitted by first both SCO link between the terminal and first earphone Second audio data is transmitted by second both SCO link between end and second earphone.
Optionally, the application scenarios that the first scene alteration command is used to indicate the TWS bluetooth headset are changed to together Sound translates scene;Second audio data is transmitted by first both SCO link between the terminal and first earphone, it is described Second audio data is transmitted by second both SCO link between terminal and second earphone, comprising:
The terminal receives the second audio data of first language by first both SCO link from first earphone, The second audio data of the first language is acquired by first earphone, and the terminal is by the second of the first language Audio data is translated as the second audio data of second language, and the second audio data of the second language after translation is passed through institute It states the second both SCO link and is sent to second earphone, so that second audio data of second earphone to the second language It plays out;
The terminal receives the second audio data of second language by second both SCO link from second earphone, The second audio data of the second language is acquired by second earphone, and the terminal is by the second of the second language Audio data is translated as the second audio data of first language, and the second audio data of the first language after translation is passed through institute It states the first both SCO link and is sent to first earphone, so that second audio data of first earphone to the first language It plays out.
Optionally, further includes: the terminal receives the translation configuration information of user's input, and the translation configuration information is used for The acquisition language for indicating first earphone is the first language, and the acquisition language of second earphone is second language Speech.
Optionally, the first both SCO link, the terminal and second ear are established between the terminal and first earphone It is established between machine after the second both SCO link, further includes:
The terminal receives the second scene alteration command;
In response to the second scene alteration command, the first SCO chain between the terminal and first earphone is disconnected Road, and disconnect the second both SCO link between the terminal and second earphone.
Optionally, first audio data is media audio data, and the second audio data is voice communication data.
Fourth aspect, the embodiment of the present application provide a kind of Bluetooth communication method, are applied to TWS bluetooth headset, and the TWS is blue Tooth earphone includes the first earphone and the second earphone, which comprises
The first ACL link is established between terminal and first earphone, between first earphone and second earphone Establish the second ACL link;
First earphone receives the first audio data that the terminal is sent by first ACL link, and described the First audio data is forwarded to second earphone by second ACL link by one earphone;
In response to the first scene alteration command that the terminal receives, established between the terminal and first earphone First both SCO link establishes the second both SCO link between the terminal and second earphone;
Second audio data, the end are transmitted by first both SCO link between the terminal and first earphone Second audio data is transmitted by second both SCO link between end and second earphone.
Optionally, the application scenarios that the first scene alteration command is used to indicate the TWS bluetooth headset are changed to together Sound translates scene;Second audio data is transmitted by first both SCO link between the terminal and first earphone, it is described Second audio data is transmitted by second both SCO link between terminal and second earphone, comprising:
The second audio data of first earphone acquisition first language, and by the second audio data of the first language It is sent to the terminal by first both SCO link, so that the terminal turns over the second audio data of the first language It is translated into the second audio data of second language, and the second audio data of the second language after translation is passed through into the 2nd SCO Link is sent to second earphone, and second earphone plays out the second audio data of the second language;
The second audio data of second earphone acquisition second language, and by the second audio data of the second language It is sent to the terminal by second both SCO link, so that the terminal turns over the second audio data of the second language It is translated into the second audio data of first language, and the second audio data of the first language after translation is passed through into the first SCO Link is sent to first earphone, and first earphone plays out the second audio data of the first language.
Optionally, before the first scene alteration command received in response to the terminal, the method also includes:
First earphone receives the first operation of user's input;
In response to first operation, first earphone sends physical address request message to second earphone;
First earphone receives the physical address for second earphone that second earphone is sent;
The physical address of first scene alteration command and second earphone is sent to the end by first earphone End.
Optionally, before the first scene alteration command received in response to the terminal, the method also includes:
Second earphone receives the first operation of user's input;
In response to it is described first operation, second earphone to first earphone send the first scene alteration command and The physical address of second earphone;
The physical address of the first scene alteration command and second earphone is transmitted to institute by first earphone State terminal.
Optionally, the first both SCO link, the terminal and second ear are established between the terminal and first earphone It is established between machine after the second both SCO link, the method also includes:
In response to the second scene alteration command that the terminal receives, disconnect between the terminal and first earphone The first both SCO link, and disconnect the second both SCO link between the terminal and second earphone.
Optionally, before the second scene alteration command received in response to the terminal, the method also includes:
First earphone receives the second operation of user's input;
In response to second operation, first earphone sends the second scene alteration command to the terminal.
Optionally, before the second scene alteration command received in response to the terminal, the method also includes:
Second earphone receives the second operation of user's input;
In response to second operation, second earphone sends the second scene alteration command to first earphone;
The the second scene alteration command received is transmitted to the terminal by first earphone.
Optionally, first audio data is media audio data, and the second audio data is voice communication data.
5th aspect, the embodiment of the present application provide a kind of Bluetooth communication method, are applied to terminal, which comprises
The first ACL link is established between the terminal and the first earphone, is established between first earphone and the second earphone Second ACL link, first earphone and second earphone are the monomer ear in real wireless stereo TWS bluetooth headset Machine;
The terminal sends the first audio data, first ear to first earphone by first ACL link First audio data is forwarded to second earphone by second ACL link by machine;
The terminal receives the first scene alteration command;
In response to the first scene alteration command, the first both SCO link is established between the terminal and first earphone, The second both SCO link is established between the terminal and second earphone;
Second audio data, the end are transmitted by first both SCO link between the terminal and first earphone Second audio data is transmitted by second both SCO link between end and second earphone.
Optionally, the application scenarios that the first scene alteration command is used to indicate the TWS bluetooth headset are changed to together Sound translates scene;Second audio data is transmitted by first both SCO link between the terminal and first earphone, it is described Second audio data is transmitted by second both SCO link between terminal and second earphone, comprising:
The terminal receives the second audio data of first language by first both SCO link from first earphone, The second audio data of the first language is acquired by first earphone, and the terminal is by the second of the first language Audio data is translated as the second audio data of second language, and the second audio data of the second language after translation is passed through institute It states the second both SCO link and is sent to second earphone, so that second audio data of second earphone to the second language It plays out;
The terminal receives the second audio data of second language by second both SCO link from second earphone, The second audio data of the second language is acquired by second earphone, and the terminal is by the second of the second language Audio data is translated as the second audio data of first language, and the second audio data of the first language after translation is passed through institute It states the first both SCO link and is sent to first earphone, so that second audio data of first earphone to the first language It plays out.
Optionally, the method also includes: the terminal receives the translation configuration information of user's input, the translation configuration The acquisition language that information is used to indicate first earphone is the first language, and the acquisition language of second earphone is described Second language.
Optionally, the first both SCO link, the terminal and second ear are established between the terminal and first earphone It is established between machine after the second both SCO link, the method also includes:
The terminal receives the second scene alteration command;
In response to the second scene alteration command, the first SCO chain between the terminal and first earphone is disconnected Road, and disconnect the second both SCO link between the terminal and second earphone.
Optionally, first audio data is media audio data, and the second audio data is voice communication data.
6th aspect, the embodiment of the present application provide a kind of chip, and the chip includes at least one communication interface, at least one A processor, at least one processor, by bus bar, the processor is logical for the communication interface, memory and processor The instruction for executing and storing in the memory is crossed, to execute such as the described in any item Bluetooth communication methods of fourth aspect, Huo Zheru The 5th described in any item Bluetooth communication methods of aspect.
7th aspect, the embodiment of the present application provide a kind of storage medium, and the storage medium is used to store computer program, For realizing the described in any item Bluetooth communication sides of such as fourth aspect when the computer program is executed by computer or processor Method, alternatively, described in any item Bluetooth communication methods in terms of realizing the such as the 5th.
Eighth aspect, the embodiment of the present application provide a kind of computer program product, and the computer program product includes referring to It enables, when described instruction is executed by computer or processor, realizes such as described in any item Bluetooth communication methods of fourth aspect, Alternatively, described in any item Bluetooth communication methods in terms of realizing the such as the 5th.
Bluetooth communication method, TWS bluetooth headset and terminal provided by the embodiments of the present application, build between terminal and main earphone In the case that vertical first ACL link, main earphone and set of headphones establish the second ACL link, received in response to terminal first Scape alteration command establishes the first both SCO link between terminal and main earphone, and the second both SCO link is established between set of headphones.So that Terminal can be by transmitting audio data between the first both SCO link and main earphone, and passes through between the second both SCO link and set of headphones Transmitting audio data to realize that main earphone and set of headphones acquire the voice data of two different users respectively, and passes through respectively Different both SCO links is transferred to terminal and is translated, and realizes simultaneous interpretation process, enriches the application scenarios of bluetooth headset, full Foot user demand multi-functional for bluetooth headset.
Detailed description of the invention
Fig. 1 is system architecture diagram provided by the embodiments of the present application;
Fig. 2 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application;
Fig. 3 A to Fig. 3 E is the terminal interface schematic diagram under a kind of application scenarios provided by the embodiments of the present application;
Fig. 4 A is the link schematic diagram provided by the embodiments of the present application listened to music under scene between terminal and bluetooth headset;
Fig. 4 B is the data transmission signal provided by the embodiments of the present application listened to music under scene between terminal and bluetooth headset Figure;
Fig. 5 A is the link schematic diagram provided by the embodiments of the present application made a phone call under scene between terminal and bluetooth headset;
Fig. 5 B is that the data transmission provided by the embodiments of the present application made a phone call under scene between terminal and bluetooth headset is shown It is intended to;
Fig. 6 is the flow diagram of Bluetooth communication method provided by the embodiments of the present application;
Fig. 7 A is bluetooth headset provided by the embodiments of the present application by listening to music the signal that scene switching is simultaneous interpretation scene Figure;
Fig. 7 B is that the data transmission under simultaneous interpretation scene provided by the embodiments of the present application between terminal and bluetooth headset is shown It is intended to;
It is showing for double call scene that Fig. 8 A, which is bluetooth headset provided by the embodiments of the present application by single call scene switching, It is intended to;
Fig. 8 B is that the data transmission under double call scene provided by the embodiments of the present application between terminal and bluetooth headset is shown It is intended to;
Fig. 9 is a kind of flow diagram into simultaneous interpretation mode provided by the embodiments of the present application;
Figure 10 is another flow diagram for entering simultaneous interpretation mode provided by the embodiments of the present application;
Figure 11 is that the data transmission under simultaneous interpretation scene provided by the embodiments of the present application between terminal and bluetooth headset is shown It is intended to;
Figure 12 is the schematic diagram at the translation configuration interface of terminal provided by the embodiments of the present application;
Figure 13 is the schematic diagram at the translation configuration interface of terminal provided by the embodiments of the present application;
Figure 14 is the flow diagram of Bluetooth communication method provided by the embodiments of the present application;
Figure 15 is that the link provided by the embodiments of the present application exited after simultaneous interpretation mode between terminal and bluetooth headset shows It is intended to;
Figure 16 is the structural schematic diagram of TWS bluetooth headset provided by the embodiments of the present application;
Figure 17 is the structural schematic diagram of terminal provided by the embodiments of the present application.
Specific embodiment
For the ease of the understanding to the application, the application is applicable in combined with Figure 1 and Figure 2, first system architecture and set It is standby to be illustrated.
Fig. 1 is system architecture diagram provided by the embodiments of the present application.Referring to Figure 1, including terminal 10 and bluetooth headset 20.Eventually It is connected between end 10 and bluetooth headset 20 by bluetooth (Bluetooth).
In the application, bluetooth headset is the earphone for supporting Bluetooth communication protocol.Wherein, Bluetooth communication protocol can pass for ER System Bluetooth protocol, or BDR conventional Bluetooth agreement can also be BLE low-power consumption bluetooth agreement.It is, of course, also possible to be not Come other the new Bluetooth protocol types released.From the version angle of Bluetooth protocol, under the version of Bluetooth communication protocol can be Any in stating: 1.0 family releases, 2.0 family releases, 3.0 family releases, 4.0 family releases, based on future release other Family release.
Bluetooth headset in the present embodiment is TWS bluetooth headset.TWS bluetooth headset includes the first earphone and the second earphone. For convenience, in the embodiment of the present application, the first earphone is known as main earphone, the second earphone is known as set of headphones.Main earphone With bluetooth module is provided in set of headphones, main earphone and set of headphones can be carried out data transmission between by Bluetooth protocol.TWS Earphone has the advantages that easy to carry, easy to use from the appearance point of view, not having connecting line between main earphone and set of headphones.
Wherein, main earphone and set of headphones include microphone, that is to say, that main earphone and set of headphones with audio in addition to broadcasting Outside the function of putting, main earphone and set of headphones also have the function of audio collection.
Bluetooth headset in the application can be one of following applications or a variety of: HSP (Headset Profile) is answered With, HFP (Hands-free Profile) application, A2DP (Advanced Audio Distribution Profile) application, AVRCP (Audio/Video Remote Control Profile) application.
Wherein, HSP application represents earpiece application, provides and communicates required basic function between terminal and earphone.Bluetooth ear Machine can be used as the audio input and output interface of terminal.
HFP application represents hands free applications, and HFP, which is applied, increases certain extension functions, bluetooth ear on the basis of HSP application Machine can control the communication process of terminal, such as: it answers, hang up, rejection, phonetic dialing etc..
A2DP applies to be applied for advanced audio transmission, and A2DP can reach sound using the chip in earphone come stacked data The fine definition of sound.
It is audio frequency and video remote control application that AVRCP, which is applied, and how AVRCP application definition controls the feature of Streaming Media, comprising: Pause stops, starting playback, volume control and other types of remote control operation.
In the application, terminal 100 can be any equipment with calculation processing power.Certainly, terminal can also have Audio and video playing and interface display function.For example, terminal can be mobile phone, computer, intelligent TV set, mobile unit, can wear Wear equipment, industrial equipment etc..Terminal 100 supports Bluetooth communication protocol.
In this application, terminal is electronic equipment, below with reference to Fig. 2, is illustrated to the structure of electronic equipment.
Fig. 2 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.As shown in Fig. 2, electronic equipment 100 can be with Including processor 110, external memory interface 120, internal storage 121, universal serial bus (universal serial Bus, USB) interface 130, charge management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication Module 150, wireless communication module 160, audio-frequency module 170, loudspeaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, key 190, motor 191, indicator 192, camera 193, display 194 and user identifier Module (subscriber identification module, SIM) card interface 195 etc..Wherein sensor module 180 can wrap Include pressure sensor 180A, gyro sensor 180B, baroceptor 180C, Magnetic Sensor 180D, acceleration transducer 180E, range sensor 180F, close to optical sensor 180G, fingerprint sensor 180H, temperature sensor 180J, touch sensor 180K, ambient light sensor 180L, bone conduction sensor 180M etc..
It is understood that the structure of the embodiment of the present application signal does not constitute the specific restriction to electronic equipment 100.? In other embodiments of the application, electronic equipment 100 may include than illustrating more or fewer components, or the certain portions of combination Part perhaps splits certain components or different component layouts.The component of diagram can be with hardware, software or software and hardware Combination realize.
Processor 110 may include one or more processing units, such as: processor 110 may include application processor (application processor, AP), modem processor, graphics processor (graphics processing Unit, GPU), image-signal processor (image signal processor, ISP), controller, Video Codec, number Signal processor (digital signal processor, DSP), baseband processor and/or neural network processor (neural-network processing unit, NPU) etc..Wherein, different processing units can be independent device, It can integrate in one or more processors.
Controller can generate operating control signal according to instruction operation code and clock signal, complete instruction fetch and execution The control of instruction.
Memory can also be set in processor 110, for storing instruction and data.In some embodiments, processor Memory in 110 is cache memory.The memory can save the instruction that processor 110 is just used or is recycled Or data.If processor 110 needs to reuse the instruction or data, can be called directly from the memory.It avoids Repeated access, reduces the waiting time of processor 110, thus improves the efficiency of system.
In some embodiments, processor 110 may include one or more interfaces.Interface may include integrated circuit (inter-integrated circuit, I2C) interface, integrated circuit built-in audio (inter-integrated circuit Sound, I2S) interface, pulse code modulation (pulse code modulation, PCM) interface, universal asynchronous receiving-transmitting transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), universal input export (general-purpose Input/output, GPIO) interface, Subscriber Identity Module (subscriber identity module, SIM) interface, and/or Universal serial bus (universal serial bus, USB) interface etc..
I2C interface is a kind of bi-directional synchronization universal serial bus, including serial data line (serial data line, SDA) He Yigen serial time clock line (derail clock line, SCL).In some embodiments, processor 110 may include Multiple groups I2C bus.Processor 110 can by different I2C bus interface distinguish coupled with touch sensors 180K, charger, Flash lamp, camera 193 etc..Such as: processor 110 can make processor by I2C interface coupled with touch sensors 180K 110 are communicated with touch sensor 180K by I2C bus interface, realize the touch function of electronic equipment 100.
I2S interface can be used for voice communication.In some embodiments, processor 110 may include multiple groups I2S bus. Processor 110 can be coupled by I2S bus with audio-frequency module 170, be realized logical between processor 110 and audio-frequency module 170 Letter.In some embodiments, audio-frequency module 170 can transmit audio signal to wireless communication module 160 by I2S interface, real The function of now being received calls by bluetooth headset.
Pcm interface can be used for voice communication, by analog signal sampling, quantization and coding.In some embodiments, sound Frequency module 170 can be coupled with wireless communication module 160 by pcm bus interface.In some embodiments, audio-frequency module 170 Audio signal can also be transmitted to wireless communication module 160 by pcm interface, realize the function to receive calls by bluetooth headset Energy.The I2S interface and the pcm interface may be used to voice communication.
UART interface is a kind of Universal Serial Bus, is used for asynchronous communication.The bus can be bidirectional communications bus. The data that it will be transmitted are converted between serial communication and parallel communications.In some embodiments, UART interface usually by with In connection processor 110 and wireless communication module 160.Such as: processor 110 passes through UART interface and wireless communication module 160 In bluetooth module communication, realize Bluetooth function.In some embodiments, audio-frequency module 170 can be by UART interface to nothing Line communication module 160 transmits audio signal, realizes the function that music is played by bluetooth headset.
MIPI interface can be used to connect the peripheral components such as processor 110 and display 194, camera 193.MIPI connects Mouth includes camera serial line interface (camera serial interface, CSI), display serial line interface (display Serial interface, DSI) etc..In some embodiments, processor 110 and camera 193 are communicated by CSI interface, real The shooting function of existing electronic equipment 100.Processor 110 and display 194 realize electronic equipment 100 by DSI interface communication Display function.
It is understood that the interface connection relationship of each intermodule of the embodiment of the present application signal, only schematically illustrates, The structure qualification to electronic equipment 100 is not constituted.In other embodiments of the application, electronic equipment 100 can also be used The combination of different interface connection type or multiple interfaces connection type in above-described embodiment.
Mobile communication module 150, which can provide, applies wirelessly communicating on electronic equipment 100 including 2G/3G/4G/5G etc. Solution.Mobile communication module 150 may include at least one filter, switch, power amplifier, low-noise amplifier (low noise amplifier, LNA) etc..Mobile communication module 150 can receive electromagnetic wave by antenna 1, and to received electricity Magnetic wave is filtered, and the processing such as amplification is sent to modem processor and is demodulated.Mobile communication module 150 can also be right The modulated modulated signal amplification of demodulation processor, switchs to electromagenetic wave radiation through antenna 1 and goes out.In some embodiments, it moves At least partly functional module of dynamic communication module 150 can be arranged in processor 110.In some embodiments, mobile logical At least partly functional module of letter module 150 can be arranged in the same device at least partly module of processor 110.
Modem processor may include modulator and demodulator.Wherein, modulator is used for low frequency base to be sent Band signal is modulated into high frequency signal.Demodulator is used to received electromagnetic wave signal being demodulated into low frequency baseband signal.Then solution Adjust device that the low frequency baseband signal that demodulation obtains is sent to baseband processor.Low frequency baseband signal is through baseband processor Afterwards, it is delivered to application processor.Application processor is defeated by audio frequency apparatus (being not limited to loudspeaker 170A, receiver 170B etc.) Voice signal out, or image or video are shown by display 194.In some embodiments, modem processor can be Independent device.In further embodiments, modem processor can be independently of processor 110, with mobile communication module 150 or other function module be arranged in the same device.
It includes WLAN (wireless that wireless communication module 160, which can be provided and be applied on electronic equipment 100, Local area networks, WLAN) (such as Wireless Fidelity (wireless fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), Global Navigation Satellite System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), the short distance wireless communication technology (near field communication, NFC) are red The solution of the wireless communications such as outer technology (infrared, IR).Wireless communication module 160 can be integrated into few communication One or more devices of processing module.Wireless communication module 160 receives electromagnetic wave via antenna 2, by electromagnetic wave signal frequency modulation And filtering processing, by treated, signal is sent to processor 110.Wireless communication module 160 can also connect from processor 110 Signal to be sent is received, frequency modulation is carried out to it, is amplified, is switched to electromagenetic wave radiation through antenna 2 and go out.
In some embodiments, the antenna 1 of electronic equipment 100 and mobile communication module 150 couple, antenna 2 and channel radio Believe that module 160 couples, allowing electronic equipment 100, technology is communicated with network and other equipment by wireless communication.It is described Wireless communication technique may include global system for mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), CDMA access (code Division multiple access, CDMA), wideband code division multiple access (wideband code division multiple Access, WCDMA), time division CDMA (time-division code division multiple access, TD- SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM and/or IR technology etc..Institute Stating GNSS may include GPS (global positioning system, GPS), global navigational satellite system It unites (global navigation satellite system, GLONASS), Beidou satellite navigation system (beidou Navigation satellite system, BDS), quasi- zenith satellite system (quasi-zenith satellite System, QZSS) and/or satellite-based augmentation system (satellite based augmentation systems, SBAS).
Electronic equipment 100 realizes display function by GPU, display 194 and application processor etc..GPU is at image The microprocessor of reason connects display 194 and application processor.GPU is calculated for executing mathematics and geometry, is used for figure wash with watercolours Dye.Processor 110 may include one or more GPU, execute program instructions to generate or change display information.
Display 194 is for showing image, video etc..Display 194 includes display panel.Display panel can use liquid Crystal display (liquid crystal display, LCD), Organic Light Emitting Diode (organic light-emitting Diode, OLED), active matrix organic light-emitting diode or active-matrix organic light emitting diode (active-matrix Organic light emitting diode's, AMOLED), Flexible light-emitting diodes (flex light-emitting Diode, FLED), Miniled, MicroLed, Micro-oLed, light emitting diode with quantum dots (quantum dot light Emitting diodes, QLED) etc..In some embodiments, electronic equipment 100 may include 1 or N number of display 194, N For the positive integer greater than 1.
Electronic equipment 100 can be by ISP, camera 193, Video Codec, GPU, display 194 and at It manages device etc. and realizes shooting function.
ISP is used to handle the data of the feedback of camera 193.For example, opening shutter when taking pictures, light is passed by camera lens It is delivered on camera photosensitive element, optical signal is converted to electric signal, and camera photosensitive element passes to the electric signal at ISP Reason, is converted into macroscopic image.ISP can also be to the noise of image, brightness, colour of skin progress algorithm optimization.ISP can be with Exposure to photographed scene, the parameter optimizations such as colour temperature.In some embodiments, ISP can be set in camera 193.
Digital signal processor, in addition to can handle data image signal, can also handle it for handling digital signal His digital signal.For example, digital signal processor is used to carry out Fu to frequency point energy when electronic equipment 100 is when frequency point selects In leaf transformation etc..
Video Codec is used for compression of digital video or decompression.Electronic equipment 100 can be supported one or more Video Codec.In this way, electronic equipment 100 can play or record the video of a variety of coded formats, and such as: dynamic image is special Family's group (moving picture experts group, MPEG) 1, MPEG2, mpeg 3, MPEG4 etc..
NPU is neural network (neural-network, NN) computation processor, by using for reference biological neural network structure, Such as transfer mode between human brain neuron is used for reference, it, can also continuous self study to input information fast processing.Pass through NPU The application such as intelligent cognition of electronic equipment 100 may be implemented, such as: image recognition, recognition of face, speech recognition, text understanding Deng.
External memory interface 120 can be used for connecting external memory card, such as Micro SD card, realize that extension electronics is set Standby 100 storage capacity.External memory card is communicated by external memory interface 120 with processor 110, realizes that data store function Energy.Such as by music, the files such as video are stored in external memory card.
Internal storage 121 can be used for storing computer executable program code, and the executable program code includes Instruction.Internal storage 121 may include storing program area and storage data area.Wherein, storing program area can store operation system It unites, application program (such as sound-playing function, image player function etc.) needed at least one function etc..It storage data area can The data (such as audio data, phone directory etc.) etc. created in storage 100 use process of electronic equipment.In addition, storage inside Device 121 may include high-speed random access memory, can also include nonvolatile memory, for example, at least a disk storage Device, flush memory device, generic flash memory (universal flash storage, UFS) etc..Processor 110 passes through operation It is stored in the instruction of internal storage 121, and/or is stored in the instruction for the memory being set in processor, electronics is executed and sets Standby 100 various function application and data processing.
Electronic equipment 100 can pass through audio-frequency module 170, loudspeaker 170A, receiver 170B, microphone 170C, earphone Interface 170D and application processor etc. realize audio-frequency function.Such as music, recording etc..
Audio-frequency module 170 is used to for digitized audio message to be converted into analog audio signal output, is also used for analogue audio frequency Input is converted to digital audio and video signals.Audio-frequency module 170 can be also used for audio-frequency signal coding and decoding.In some embodiments In, audio-frequency module 170 can be set in processor 110, or the partial function module of audio-frequency module 170 is set to processor In 110.
In order to make it easy to understand, below taking the terminal as an example, introducing terminal and bluetooth headset establishing the mistake of service connection Journey.It includes three phases that terminal and bluetooth headset, which establish service connection process, is that scan phase, pairing stage and business connect respectively Connect establishment stage.It is described in detail below with reference to Fig. 3 A to Fig. 3 E.
Fig. 3 A to Fig. 3 E is the terminal interface schematic diagram under a kind of application scenarios provided by the embodiments of the present application.It is exemplary , as shown in Figure 3A, select " bluetooth " to enter bluetooth set interface, bluetooth set interface such as Fig. 3 B institute in terminal set interface Show.Referring to Fig. 3 B, when terminal, which receives user's operation bluetooth, opens the corresponding instruction of option, terminal opened bluetooth function.One In a little scenes, after terminal opened bluetooth function, it can be found that the bluetooth equipment that can nearby match, and the bluetooth equipment that will be scanned It is shown in " available devices " list.Illustratively, it is that present terminal equipment HUAWEIP30 scanning is set to bluetooth that Fig. 3 B is exemplary The case where standby HUAWEIMate20 and bluetooth headset 1.The stage is known as scan phase.
In some scenes, when terminal detects that user clicks some bluetooth equipment in " available devices " list, terminal meeting It is matched with the bluetooth equipment.Illustratively, as shown in Figure 3 C, terminal detects that user clicks in " available devices " list When " bluetooth headset 1 ", terminal is matched with bluetooth headset 1, if successful matching, " bluetooth headset 1 " is shown in and " has been matched Equipment " in list, as shown in Figure 3D.The stage is known as the pairing stage.
In some scenes, if once establishing service connection with some other bluetooth equipment before terminal, " it can match Pair equipment " show the bluetooth equipment for once establishing service connection in list.Referring to Fig. 3 D, in " equipment matched " list In also show the bluetooth equipment HUAWEI free buds for once establishing service connection.
In some scenes, when terminal detects that user clicks some bluetooth equipment in " equipment matched " list, eventually End can establish service connection with the bluetooth equipment.As shown in FIGURE 3 E, terminal detects that user clicks " equipment that can be matched " list In " bluetooth headset 1 " when, terminal and bluetooth headset 1 establish service connection.If service connection is successfully established, terminal and bluetooth Audio data can be transmitted between earphone 1.The stage is known as service connection establishment stage.Terminal described in subsequent embodiment with Interactive process between bluetooth headset is carried out after terminal and bluetooth headset establish service connection.
It should be noted that the schematic diagram of the exemplary terminal interface of Fig. 3 A to Fig. 3 E is only a kind of example.Different terminals The corresponding set interface of equipment and mode of operation may be different.
After terminal and bluetooth headset establish connection, audio data can be transmitted between terminal and bluetooth headset.For TWS indigo plant When tooth earphone, terminal and bluetooth headset establish connection, terminal only establishes bluetooth connection with main earphone, nothing between terminal and set of headphones Bluetooth connection need to be established.It is communicated by the way of data forwarding between main earphone and set of headphones.Illustratively, terminal is by sound Audio data after main earphone receives audio data, is transmitted to set of headphones according to main earphone is sent to by frequency, thus, realize master Synchronous cant between earphone and set of headphones.
Bluetooth physical link between terminal and TWS bluetooth headset is divided into two kinds, and one kind is asynchronous connection (asynchronous connection less, ACL) link, another kind connect (synchronous for synchronous orientation Connection oriented, SCO) link.
ACL link is the basic connection of bluetooth, the negotiation signaling of transmission connection class is generally used for, for keeping bluetooth to connect It connects.ACL link also supports one-way transmission audio data.Illustratively, when terminal sends audio number to main earphone by ACL link According to when, main earphone can not simultaneously to terminal send audio data.
Both SCO link is the interconnection technique that bluetooth baseband is supported, transmits data using reserved time slot.Both SCO link is supported two-way Transmit audio data.Illustratively, when terminal sends audio data to main earphone by both SCO link, main earphone can also lead to It crosses the both SCO link and sends audio data to terminal.
Current TWS bluetooth headset usually all has the basic function listened to music with making and receiving calls.Below with reference to listening to music With make a phone call two kinds of application scenarios, the communication process between terminal and bluetooth headset is described.
Fig. 4 A is the link schematic diagram provided by the embodiments of the present application listened to music under scene between terminal and bluetooth headset.Such as Shown in Fig. 4 A, in listening to music scene, the main earphone in terminal and TWS bluetooth headset establishes ACL link, main earphone and set of headphones Between also establish ACL link.
Fig. 4 B is the data transmission signal provided by the embodiments of the present application listened to music under scene between terminal and bluetooth headset Figure.As shown in Figure 4 B, terminal receives the music to be played of user's selection.Terminal, will be currently playing when playing the music Audio data main earphone is sent to by ACL link, the audio data received is transmitted to pair by ACL link by main earphone Earphone.Bluetooth headset controls main earphone and the audio data is played simultaneously in set of headphones, thus, the main earphone that user passes through wearing And/or set of headphones uppick music.
In practical application, the wearing state of main earphone and set of headphones can also be detected, according to main earphone and auricular appendage The wearing state of machine carries out the transmission of audio data.Illustratively, when detecting user while having worn main earphone and set of headphones When, currently playing audio data is sent to main earphone by ACL link by terminal, and main earphone leads to the audio data received It crosses ACL link and is transmitted to set of headphones, make winner's earphone and set of headphones synchronous cant.When detecting that user only worn main earphone When, currently playing audio data is sent to main earphone by ACL link by terminal, and main earphone is not necessarily to carry out audio to set of headphones The forwarding of data.When detecting that user has only worn set of headphones, first the role of main earphone and set of headphones can be switched over, Will main earphone be switched to set of headphones, set of headphones is switched as main earphone.Then, terminal passes through currently playing audio data ACL link is sent to main earphone, and main earphone is not necessarily to carry out the forwarding of audio data to set of headphones.
Wherein, Through Several Survey Measure can be used by detecting to the wearing state of main earphone and set of headphones.Illustratively, Sensor-based wearing detection technique can be used, that is, sensor is provided in main earphone and set of headphones, sensor is used for Acquire wearing state signal.Main earphone or auricular appendage can be determined according to the collected wearing state signal of optical proximity sensor Whether machine is in wearing state.Wherein, above-mentioned sensor can for optical proximity sensor, pressure sensor, heat sensor, One or more in moisture transducer.
Fig. 5 A is the link schematic diagram provided by the embodiments of the present application made a phone call under scene between terminal and bluetooth headset. As shown in figure 5, the main earphone in terminal and TWS bluetooth headset establishes both SCO link, main earphone and pair in dialing phone scene Also both SCO link is established between earphone.
Fig. 5 B is that the data transmission provided by the embodiments of the present application made a phone call under scene between terminal and bluetooth headset is shown It is intended to.As shown in Figure 5 B, user wears main earphone and set of headphones simultaneously.User during a voice call, the Mike of main earphone Wind carries out voice collecting, and the microphone of set of headphones is without voice collecting.The first language that the microphone acquisition user of main earphone says Sound data, and collected first voice data is sent to terminal by both SCO link, carried out speech processes by terminal and is passed through Radio Transmission Technology is transferred to partner.Meanwhile after terminal receives the second speech data of partner, by the second voice Data are sent to main earphone by both SCO link, and the second speech data received is transmitted to auricular appendage by both SCO link by main earphone Machine.Bluetooth headset controls main earphone and the second speech data is played simultaneously in set of headphones, thus, the main earphone that user passes through wearing With the second speech data of set of headphones uppick partner.
It should be noted that main earphone refers to the earphone for establishing connecting link between terminal in the application, do not limit Left earphone or right earphone.In some scenes, main earphone is left earphone, and set of headphones is right earphone.In other scenes, main earphone For right earphone, set of headphones is left earphone.There are also in some scenes, main earphone and set of headphones can also be switched over.A kind of possibility Mode in, can be switched over according to the state of charge of main earphone and set of headphones.Illustratively, if the electricity of current main earphone Lower than some threshold value, and the electricity of main earphone is lower than the electricity of set of headphones, then switches set of headphones for main earphone.It is alternatively possible Mode in, can also be switched over according to the wearing state of main earphone and set of headphones.Illustratively, in certain application scenarios In, if bluetooth headset detects main earphone produce agaric or falls, main earphone is switched to set of headphones, and based on set of headphones switched Earphone.
Current TWS bluetooth headset usually only has the basic function listened to music with making and receiving calls, so that bluetooth headset Function is relatively simple.In order to enrich the application scenarios of TWS bluetooth headset, meet user to the multi-functional demand of TWS bluetooth headset, The embodiment of the present application provides a kind of Bluetooth communication method.
In this application, the main earphone of TWS bluetooth headset and the microphone of set of headphones acquire the voice of different user respectively Data realize the function of simultaneous interpretation using TWS bluetooth headset and terminal.Illustratively, say that the user A of first language wears master Earphone says that the user B of second language wears set of headphones.When user A and user B are talked, the microphone of main earphone, which acquires, to be used The voice data for the first language that family A is said, and it is sent to terminal, terminal is transferred to set of headphones after being translated into second language. The voice data for the second language that the microphone acquisition user B of set of headphones is said, and it is sent to terminal, terminal is translated into first Main earphone is transferred to after language.To realize the accessible talk of user A and user B.
In the following, technical solution shown in the application is described in detail by specific embodiment.It should be noted that Several embodiments can also be combined with each other below with individualism, for the same or similar content, in different embodiments In be not repeated to illustrate.
Fig. 6 is the flow diagram of Bluetooth communication method provided by the embodiments of the present application.As shown in fig. 6, this method comprises:
S601: establishing the first ACL link between the terminal and the main earphone, the main earphone and the set of headphones it Between establish the second ACL link.
S602: the terminal sends the first audio data, the main ear to the main earphone by first ACL link First audio data is forwarded to the set of headphones by second ACL link by machine.
In the present embodiment, in S601 and S602, TWS bluetooth headset is in and listens to music scene.Illustratively, terminal, main ear Link schematic diagram between machine, set of headphones is as shown in Figure 4 A, that is, between terminal and main earphone and main earphone and set of headphones it Between establish ACL link.For convenience, in the present embodiment, the ACL link between terminal and main earphone is known as first ACL link between main earphone and set of headphones is known as the second ACL link by ACL link.
Terminal, main earphone, the audio transmission process between set of headphones are as shown in Figure 4 B.That is, terminal is by the first audio data It is sent to main earphone by the first ACL link, the first audio data received is transmitted to pair by ACL link again by main earphone Earphone.Wherein, the first audio data is media audio data, including but not limited to: audio data in music, movie and video programs, The audio data etc. of recording.
S603: the terminal receives the first scene alteration command.
Wherein, the application scenarios that the first scene alteration command is used to indicate the TWS bluetooth headset are changed. In the application, the application scenarios of bluetooth headset include but is not limited to: listen to music scene, make a phone call scene, simultaneous interpretation scene, Double call scene.Wherein, the link listened to music under scene between terminal and bluetooth headset is as shown in Figure 4 A, the biography of audio data Defeated process is as shown in Figure 4 B.The link made a phone call under scene between terminal and bluetooth headset is as shown in Figure 5A, audio data Transmission process is as shown in Figure 5 B.
In different application scenarios, the wearing mode and working method of bluetooth headset are different.Below to several applications Wearing mode and working method under scene are introduced respectively.
It is listening to music and is making a phone call in scene, the corresponding wearer of main earphone and set of headphones is identical.Listening to music scene In, main earphone and set of headphones only carry out audio broadcasting, and the audio data that main earphone and set of headphones play is identical.Main earphone Microphone with set of headphones is without audio collection.
In making a phone call scene, main earphone can both carry out audio and play or carry out audio collection, and set of headphones is only Audio is carried out to play without audio collection.Also, in making a phone call scene, the audio data of main earphone and set of headphones broadcasting It is also identical.
In simultaneous interpretation scene, corresponding wearer is different with the set of headphones for the main earphone.Main earphone and auricular appendage Machine can carry out audio broadcasting and audio collection, also, the audio data difference that main earphone is played with set of headphones, main ear simultaneously The audio data that machine and set of headphones acquire is different.
In double call scene, corresponding wearer is different with the set of headphones for the main earphone.Main earphone and auricular appendage Machine can carry out audio broadcasting and audio collection, also, the audio data difference that main earphone is acquired with set of headphones, main ear simultaneously Machine is identical with the audio data that set of headphones plays.
In the embodiment of the present application, terminal receive the first scene alteration command, can be from user directly to terminal input, It can also be that user inputs to TWS bluetooth headset, terminal be transmitted to by TWS bluetooth headset.
In some embodiments, TWS bluetooth headset receives the first operation that user inputs to TWS bluetooth headset, in response to First operation, TWS bluetooth headset send the first scene alteration command to terminal.Illustratively, when user needs to change bluetooth ear When the application scenarios of machine, the first operation can be inputted to bluetooth headset.User can input to bluetooth headset in several ways First operation.In a kind of possible embodiment, mode switch button is provided on the fuselage of bluetooth headset, user can operate The mode switch button, illustratively, user can click the mode switch button or double-click the mode switch button or Person touches the mode switch button to operate to bluetooth headset input first.In alternatively possible embodiment, bluetooth headset It can identify preset phonetic order, user can input preset phonetic order to bluetooth headset and realize scene change.For example, User needs to apply bluetooth headset when listening to music scene, and voice " enter and listen to music mode " can be inputted to bluetooth headset. User needs to apply bluetooth headset in simultaneous interpretation scene, can input voice to bluetooth headset and " enter simultaneous interpretation mould Formula ".
In other embodiments, terminal receives the first scene alteration command of user's input.Illustratively, with user to The mode that TWS bluetooth headset inputs the first scene alteration command is similar, and user can be in several ways to terminal input first Scene alteration command.Such as: in terminal interface, by clicking mode toggle control, double-clicking mode toggle control, touch mode The modes such as toggle control, sliding-modes toggle control input the first scene alteration command to terminal.Interactive voice can also be passed through Mode input the first scene alteration command to terminal, for example, to terminal input voice " enter simultaneous interpretation mode " etc..
In other embodiment, it is provided with sensor in main earphone and set of headphones, for acquiring main earphone and auricular appendage The wearing state signal of machine.The sensor can be optical proximity sensor, pressure sensor, heat sensor, moisture transducer In one or more.It can be adopted according to the collected wearing state signal of sensor of main earphone and the sensor of set of headphones The wearing state signal collected, intelligently to determine whether current application scenarios switch.It illustratively, is heat sensing with sensor For device, the collected wearing state signal designation of heat sensor be wearer body temperature.It is listening to music scene or is dialing Under phone scene, main earphone and the corresponding wearing state signal of set of headphones are possible to same or similar, it is also possible to differ greatly. Such as: the difference of body temperature indicated by body temperature indicated by the wearing state signal of main earphone and the wearing state signal of set of headphones is small In first threshold (the case where user wears main earphone and set of headphones simultaneously), alternatively, indicated by the wearing state signal of main earphone Body temperature and set of headphones wearing state signal indicated by body temperature difference be greater than second threshold (user only wears main earphone and does not wear The case where wearing set of headphones).When the pendant for the body temperature and set of headphones for detecting wearer indicated by the wearing state signal of main earphone When wearing that there are differences between first threshold and second threshold between the body temperature of wearer indicated by status signal, it can determine The corresponding wearer of main earphone and set of headphones is different, i.e. the application scenarios of TWS bluetooth headset change.
S604: in response to the first scene alteration command, the first SCO chain is established between the terminal and the main earphone The second both SCO link is established on road between the terminal and the set of headphones.
S605: transmitting second audio data by first both SCO link between the terminal and the main earphone, described Second audio data is transmitted by second both SCO link between terminal and the set of headphones.
In the application, the first scene alteration command can instruct for AT (attention).AT instruction refers to that Bluetooth communication is assisted Control command used in view.Illustratively, it can be multiplexed existing AT instruction, some information field in existing AT instruction is arranged For the value for being used to indicate the application scenarios after change.AT instruction can also be increased newly, be used to indicate the alteration of application scenarios.
Assuming that the application scenarios that the first scene alteration command is used to indicate the TWS bluetooth headset are changed to simultaneous interpretation field Scape.In the application, under simultaneous interpretation scene, the link established between terminal and bluetooth headset is made a phone call with shown in Fig. 5 A The link established in scene is different.Under simultaneous interpretation scene, terminal not only establishes both SCO link, terminal and pair between main earphone Also both SCO link is established between earphone.For convenience, in the embodiment of the present application, by the both SCO link between terminal and main earphone Both SCO link between terminal and set of headphones is known as the second both SCO link by referred to as the first both SCO link.
It establishes after the first both SCO link and the second both SCO link, passes through first both SCO link between terminal and main earphone Second audio data is transmitted, second audio data is transmitted by second both SCO link between terminal and set of headphones.Wherein, Two audio datas are voice communication data.Such as: it can be the voice data in user's progress voice call process, can also be User carries out the voice data in video call process.
First both SCO link and the second both SCO link are two-way link, being capable of transmitted in both directions voice data.Illustratively, Terminal by the first both SCO link to main earphone send voice data when, main earphone can also simultaneously by the first both SCO link to Terminal sends voice data.For terminal when sending voice data to set of headphones by the second both SCO link, set of headphones can also be simultaneously Voice data is sent to terminal by the second both SCO link.First both SCO link and the second both SCO link are mutually indepedent, do not interfere with each other.
It can be seen that the Bluetooth communication method of the embodiment of the present application can be realized in response to the first scene alteration command The switching of the application scenarios of TWS bluetooth headset.It describes below with reference to Fig. 7 A and Fig. 7 B to be to turn in unison by listening to music scene switching Translate the situation of change of situation of change and the data transmission of link after scene.
Fig. 7 A is bluetooth headset provided by the embodiments of the present application by listening to music the signal that scene switching is simultaneous interpretation scene Figure.It as shown in Figure 7 A, is the first ACL link between terminal and main earphone, between main earphone and set of headphones in listening to music scene For the second ACL link.After terminal receives the first scene alteration command, the first SCO chain is established between terminal and main earphone The second both SCO link is established on road between terminal and set of headphones.Therefore, in simultaneous interpretation scene, exist between terminal and main earphone Both links, respectively the first ACL link and the first both SCO link.It is the second both SCO link between terminal and set of headphones.Main earphone It is still the second ACL link between set of headphones.
In simultaneous interpretation scene, terminal has interpretative function.Terminal and main earphone and set of headphones establish both SCO link it Afterwards, bluetooth headset can be used in user and terminal carries out simultaneous interpretation.Specifically, the second of the main earphone acquisition first language Audio data, and the second audio data of the first language is sent to the terminal by first both SCO link, it is described The second audio data of the first language is translated as the second audio data of second language by terminal, and by second after translation The second audio data of language is sent to the set of headphones by second both SCO link, and the set of headphones is to second language The second audio data of speech plays out.Meanwhile the second audio data of set of headphones acquisition second language, and by described the The second audio data of two language is sent to the terminal by second both SCO link, and the terminal is by the second language Second audio data be translated as the second audio data of first language, and by the second audio data of the first language after translation Be sent to the main earphone by first both SCO link, the main earphone to the second audio data of the first language into Row plays.
Fig. 7 B is that the data transmission under simultaneous interpretation scene provided by the embodiments of the present application between terminal and bluetooth headset is shown It is intended to.As shown in Figure 7 B, user A wears main earphone, and user B wears set of headphones.As shown in solid in Fig. 7 B, user A say After the voice data of one language is acquired by main earphone, terminal is sent to by the first both SCO link, terminal translates the voice data For second language, and the voice data of the second language after translation is sent to set of headphones by the second both SCO link, thus user B can hear the voice data of second language.Meanwhile as shown in dotted line in Fig. 7 B, the voice data for the second language that user B is said After being acquired by set of headphones, terminal is sent to by the second both SCO link, which is translated as first language by terminal, and will The voice data of first language after translation is sent to main earphone by the first both SCO link, so that user A can hear the first language The voice data of speech.By the above process, the simultaneous interpretation process of user A and user B is realized.
Bluetooth communication method provided in this embodiment, establishes the first ACL link between terminal and main earphone, main earphone with In the case that set of headphones establishes the second ACL link, in response to the first scene alteration command that terminal receives, terminal and main earphone Between establish the first both SCO link, and the second both SCO link is established between set of headphones.It enables the terminal to through the first both SCO link The transmitting audio data between main earphone, and by transmitting audio data between the second both SCO link and set of headphones, to realize master Earphone and set of headphones acquire the voice data of two different users respectively, and are transferred to terminal by different both SCO links respectively It is translated, realizes simultaneous interpretation process, enrich the application scenarios of bluetooth headset, meet user's function more for bluetooth headset The demand of energy.
It should be noted that it is to listen to music the schematic diagram that scene switching is simultaneous interpretation scene that Fig. 7 A, Fig. 7 B are exemplary, it is real In the application of border, the case where being likely present other scene switchings, such as: it is double call field by single call scene switching Scape is described below with reference to Fig. 8 A and Fig. 8 B.
It is showing for double call scene that Fig. 8 A, which is bluetooth headset provided by the embodiments of the present application by single call scene switching, It is intended to.As shown in Figure 8 A, before handover, bluetooth headset is single call mode.Such as: user A wear simultaneously main earphone and Set of headphones and user C carry out voice communication.In communication process, user A determination needs to be switched to double call scene, it is assumed that uses Family A wishes that the user B made it at one's side is also added in call.Illustratively, user A, which wears set of headphones, gives user B, also, uses Family A inputs the first scene alteration command to main earphone or terminal.That is, user A wears after being switched to double call scene Main earphone is worn, user B wears set of headphones, user A and user B and carries out voice communication using the same terminal and user C.
It as shown in Figure 8 A, is the first both SCO link, main earphone and pair between terminal and main earphone in single call scene It is third both SCO link between earphone.In the scene, the microphone of only main earphone acquires audio data.The transmission of audio data Process is similar with Fig. 5 B, that is, the microphone of main earphone uses the voice data of user A, and the voice data is passed through the first SCO Link is sent to terminal.To which the voice data is sent to user C by terminal.Meanwhile terminal receives the voice data of user C, And the voice data received is sent to main earphone by the first both SCO link, main earphone passes through the voice data received Second both SCO link is sent to set of headphones, makes winner's earphone and set of headphones synchronous cant, and user A is received by main earphone and set of headphones Hear the speech content of user C.
With continued reference to Fig. 8 A, in the embodiment of the present application, after receiving the first scene alteration command of user's input, terminal The second both SCO link is established with set of headphones.It is still the between terminal and main earphone that is, into after double call scene One both SCO link is still third both SCO link between main earphone and set of headphones, has increased the 2nd SCO chain between terminal and set of headphones newly Road.
Fig. 8 B is that the data transmission under double call scene provided by the embodiments of the present application between terminal and bluetooth headset is shown It is intended to.As shown in Figure 8 B, under double call scene, the microphone of main earphone and set of headphones acquires audio data.Specifically, When user A speaks, the audio data of main earphone acquisition user A, and the audio data of user A is sent out by the first both SCO link Terminal is given, so that the audio data of user A is sent to user C by terminal.When user B speaks, set of headphones acquires user B's Audio data, and the audio data of user B is sent to terminal by the second both SCO link, so that terminal is by the audio number of user B According to being sent to user C.Certainly, in some scenes, user A and user C is also possible to speak simultaneously, and therefore, terminal will pass through The audio data of the audio data for the user A that one both SCO link receives and the user B received by the second both SCO link carry out Then audio data after audio mixing is sent to user C by audio mixing.
Under double call scene, after terminal receives the voice data of user C, which is passed through into the first SCO chain Road is sent to main earphone, and is sent to set of headphones by the second both SCO link, thus, user A and user B can be used with uppick The speech content of family C.It certainly, in some scenes, can also be by the voice number after terminal receives voice data from user C According to only main earphone is sent to by the first both SCO link, the audio number is forwarded to set of headphones by third both SCO link from main earphone According to.
In above-described embodiment, in terminal from the embodiment that TWS bluetooth headset receives the first scene alteration command, TWS The first operation that bluetooth headset is inputted in response to user, sends the first scene alteration command to terminal.Wherein, the first operation can be with It is to wear the user of main earphone to main earphone input, can also be what the user for wearing set of headphones inputted to set of headphones.Below It is described in detail respectively in connection with two kinds of possible embodiments.
Fig. 9 is a kind of flow diagram into simultaneous interpretation mode provided by the embodiments of the present application.As shown in figure 9, should Method includes:
S901: main earphone receives the first operation of user's input.
Illustratively, the application scenarios that the first operation is used to indicate TWS bluetooth headset are changed to simultaneous interpretation scene.
Illustratively, the user for wearing main earphone can operate the mode switch button on main earphone, alternatively, wearing main ear The user of machine can to the preset phonetic order of main earphone input, such as: microphone input voice from user to main earphone " enter Simultaneous interpretation mode ".
S902: in response to the first operation, main earphone sends physical address request message to set of headphones.
S903: the physical address for the set of headphones that set of headphones is sent to main earphone.
Illustratively, main earphone can send physical address request message to set of headphones by the second ACL link.Accordingly , set of headphones can send the physical address of set of headphones by the second ACL link to main earphone.
The physical address of above-mentioned physical address request message and set of headphones can be instructed by AT and be transmitted.
S904: the physical address of the first scene alteration command and set of headphones is sent to terminal by main earphone.
Illustratively, main earphone sends the first scene alteration command and set of headphones to terminal by the first ACL link Physical address.Correspondingly, terminal receives the physical address of the first scene alteration command and set of headphones by the first ACL link.
Wherein, the first scene alteration command and the physical address of set of headphones can be sent simultaneously, can also successively be sent.Show Example property, the physical address of the first scene alteration command and set of headphones is by an AT instruction transmission, alternatively, first passing through the first AT Instruction sends the first scene alteration command, then the physical address of set of headphones is sent by the 2nd AT instruction.Alternatively, first passing through first AT instruction sends the physical address of set of headphones, then sends the first scene alteration command by the 2nd AT instruction.
S905: the first both SCO link is established between terminal and main earphone, and according to the physical address of the set of headphones, terminal The second both SCO link is established between set of headphones.
By the above process, both SCO link is established between terminal and main earphone and between terminal and set of headphones.
Figure 10 is another flow diagram for entering simultaneous interpretation mode provided by the embodiments of the present application.Such as Figure 10 institute Show, this method comprises:
S1001: set of headphones receives the first operation of user's input.
Illustratively, the application scenarios that the first operation is used to indicate TWS bluetooth headset are changed to simultaneous interpretation scene.
Illustratively, the user for wearing set of headphones can operate the mode switch button in set of headphones, alternatively, wearing auricular appendage The user of machine can input preset phonetic order to set of headphones, such as: user " enters to the microphone input voice of set of headphones Simultaneous interpretation mode ".
S1002: in response to first operation, set of headphones sends the first scene alteration command and the pair to main earphone The physical address of earphone.
Illustratively, set of headphones sends the first scene alteration command and the pair to main earphone by the second ACL link The physical address of earphone.Correspondingly, main earphone receives the first scene alteration command and the set of headphones by the second ACL link Physical address.
The physical address of the first scene alteration command and set of headphones that set of headphones is sent to main earphone can pass through AT Instruction transmission.Wherein, the first scene alteration command and the physical address of set of headphones can be sent simultaneously, can also successively be sent. Illustratively, the first scene alteration command and the physical address of set of headphones are by an AT instruction transmission, alternatively, first passing through first AT instruction sends the first scene alteration command, then the physical address of set of headphones is sent by the 2nd AT instruction.Alternatively, first passing through One AT instruction sends the physical address of set of headphones, then sends the first scene alteration command by the 2nd AT instruction.
S1003: the physical address of the first scene alteration command and set of headphones is transmitted to terminal by main earphone.
Illustratively, main earphone sends the first scene alteration command and set of headphones to terminal by the first ACL link Physical address.Correspondingly, terminal receives the physical address of the first scene alteration command and set of headphones by the first ACL link.
Wherein, the first scene alteration command and the physical address of set of headphones can be sent simultaneously, can also successively be sent.Show Example property, the physical address of the first scene alteration command and set of headphones is by an AT instruction transmission, alternatively, first passing through the first AT Instruction sends the first scene alteration command, then the physical address of set of headphones is sent by the 2nd AT instruction.Alternatively, first passing through first AT instruction sends the physical address of set of headphones, then sends the first scene alteration command by the 2nd AT instruction.
S1004: the first both SCO link is established between terminal and main earphone, and according to the physical address of the set of headphones, terminal The second both SCO link is established between set of headphones.
By the above process, both SCO link is established between terminal and main earphone and between terminal and set of headphones.
In the various embodiments described above, after establishing both SCO link between terminal and main earphone, set of headphones, terminal can use more The mode of hair carries out data transmission with main earphone and set of headphones.Illustratively, terminal receives main earphone hair by the first both SCO link While the audio data sent, the audio data that set of headphones is sent can also be received by the second both SCO link.Terminal is to passing through the The received audio data of one both SCO link carry out translation processing while, can also to pass through the received audio number of the second both SCO link According to carrying out translation processing.Terminal, can be with while sending the audio data after translation to main earphone by the first both SCO link The audio data after translation is sent to set of headphones by the second both SCO link.
In the embodiment of the present application, Bluetooth chip is provided in terminal, Bluetooth chip is while supporting the core of two-way both SCO link Piece.Bluetooth chip drives layer to contact with the foundation of Bluetooth software protocol stack layer by bluetooth.Bluetooth software protocol stack is supported to two-way Both SCO link is managed.Illustratively, Bluetooth software protocol stack is supported to carry out state-maintenance to two-way both SCO link.Bluetooth software Protocol stack also supports to carry out the audio data that obtains from each both SCO link protocol processes, and will treated audio data It is transferred to apparatus for processing audio.Certainly, Bluetooth software protocol stack is also supported to receive audio data from apparatus for processing audio, and will connect The audio data received is transferred on corresponding both SCO link.
Wherein, two apparatus for processing audio can be set in terminal.Audio data is turned in apparatus for processing audio support Translate processing.The corresponding both SCO link of each apparatus for processing audio.Illustratively, apparatus for processing audio 1 is used for the first SCO chain The audio data of road transmission carries out translation processing.The audio data that apparatus for processing audio 2 is used to transmit the second both SCO link carries out Translation processing.
It include: receiver, translater and transmitter in each apparatus for processing audio in a kind of possible embodiment.Show Example property, for apparatus for processing audio 1, receiver is used to receive the audio data of first language from the first both SCO link, turns over Device is translated for translating to the audio data of first language, obtains the audio data of second language, transmitter will be for that will translate The audio data of second language afterwards is transmitted to the second both SCO link.For apparatus for processing audio 2, receiver is used for from the Two both SCO links receive the audio data of second language, and translater obtains for translating to the audio data of second language The audio data of one language, transmitter are used to the audio data of the first language after translation being transmitted to the first both SCO link.
By the way that two apparatus for processing audio are arranged in the terminal, realizing two both SCO links can simultaneously bi-directionally be transmitted Data, two both SCO links are mutually indepedent, are independent of each other, and enable two to use the real-time accessible friendships of the user of different language Stream.It is described in detail below with reference to a specific usage scenario.
Figure 11 is that the data transmission under simultaneous interpretation scene provided by the embodiments of the present application between terminal and bluetooth headset is shown It is intended to.Assuming that user A uses Chinese, user B uses English.User A wears main earphone, and user B wears set of headphones.
As shown in figure 11, the Chinese speech that user A is said is acquired by the microphone of main earphone, and passes through first by main earphone Both SCO link is transmitted to the receiver 1 of terminal.After terminal receives Chinese speech, Chinese speech is translated as by English by translater 1 English voice after translation is sent to set of headphones by the second both SCO link by literary voice, then, transmitter 1.To wear secondary The speech content of the user B uppick user A of earphone.
The English voice that user B is said is acquired by the microphone of set of headphones, and is transmitted to by set of headphones by the second both SCO link The receiver 2 of terminal.After terminal receives English voice, by translater 2 by English voiced translation be Chinese speech, then, Chinese speech after translation is sent to main earphone by the first both SCO link by transmitter 2.To which the user A for wearing main earphone is received Hear the speech content of user B.
In a kind of possible embodiment, translater can also be arranged in server beyond the clouds.Terminal receives to be translated Voice data after, voice data to be translated is sent to cloud server.Cloud server is by the voice data after translation Return to terminal.
Traditional translating equipment, such as translation stick, two users, usually can not be real-time when being engaged in the dialogue using translation stick Dialogue.Specifically, needing the user A first object language that selection needs to translate on translation stick, and press when user A speaks The record button of translation stick is recorded.After End of Tape, the data translation of recording is the first object language by translation stick, and It plays out, so that user B passes through the semanteme that the first object language after listening to translation understands user A.Similar, as user B When speaking, user B selection on translation stick is needed to need the second object language for translating, and press the record button of translation stick into Row recording.After End of Tape, the data translation of recording is second object language by translation stick, and is played out, thus user A The semanteme of user B is understood by listening to the second object language after translating.In the above process, user A and user B need alternately to make With translation stick, the operation recorded, played respectively is cumbersome, and can not actual conversation.
And both SCO link is established in the embodiment of the present application, between terminal and main earphone, set of headphones, two both SCO links and Two translation accesses are mutually indepedent, do not interfere with each other, and two both SCO links support the transmission of double-directional speech data, so that two Using different language user can in real time accessible exchange, achieve the effect that simultaneous interpretation.
In the embodiment of the present application, terminal can also receive the translation configuration information of user's input.Translation configuration information instruction Be main earphone and set of headphones acquisition language and/or play language.Illustratively, user can be according to talk scene and friendship The language that is said or talked about personnel use, is rationally arranged translation configuration information, and terminal is carried out at translation according to translation configuration information Reason.It is described below with reference to two kinds of possible embodiments.
In a kind of possible embodiment, terminal receives the acquisition of the acquisition language and set of headphones of the main earphone of user's input Language.Figure 12 is the schematic diagram at the translation configuration interface of terminal provided by the embodiments of the present application.As shown in figure 12, user setting master The acquisition language of earphone is Chinese, and the acquisition language of set of headphones is English.After being configured so that, terminal is automatically by Chinese as master The broadcasting language of earphone, the broadcasting language by English as set of headphones.That is, terminal will be English from the translator of Chinese of main ear pickup Text is played by set of headphones.Terminal will be Chinese from the translator of English of set of headphones pickup, be played by main earphone.
In alternatively possible embodiment, terminal receives the broadcasting language of main earphone and the broadcasting for set of headphones of user's input Put language.Figure 13 is the schematic diagram at the translation configuration interface of terminal provided by the embodiments of the present application.As shown in figure 13, user setting The broadcasting language of main earphone is Chinese, and the broadcasting language of set of headphones is English.After being configured so that, terminal is automatically by Chinese conduct The acquisition language of main earphone, the acquisition language by English as set of headphones.That is, terminal will be from the translator of Chinese of main earphone pickup English is played by set of headphones.Terminal will be Chinese from the translator of English of set of headphones pickup, be played by main earphone.
By carrying out translation processing according to the translation configuration information of user setting, so that the terminal of the application can flexible Application In various application scenarios.
Certainly, terminal can be with the pickup voice of the main earphone of automatic identification and set of headphones, so that intelligence carries out at translation Reason simplifies user's operation, promotes user experience.Illustratively, it is assumed that user A wears main earphone, and user B wears set of headphones.? Before user A and user B formally talk, user A and user B can input a tested speech to terminal first.Terminal The acquisition language of main earphone is determined according to the tested speech that user A is inputted.Terminal determines secondary according to the tested speech that user B is inputted The acquisition language of earphone.Such as: the tested speech of user A input is " I am accurate good ", and the tested speech of user B input is " I am ok".Then terminal can determine the acquisition language of main earphone as Chinese, and the acquisition language of set of headphones is English.In turn, terminal Automatically it will will be English from the translator of Chinese of main ear pickup, played by set of headphones.Terminal will be from the translator of English of set of headphones pickup For Chinese, played by main earphone.
In the embodiment of the present application, after serving as interpreter, user can be exited together by operating terminal or TWS bluetooth headset Sound interpretive scheme.It is illustrated below with reference to Figure 14.
Figure 14 is the flow diagram of Bluetooth communication method provided by the embodiments of the present application.When the execution opportunity of the present embodiment The case where terminal and main earphone and set of headphones establish both SCO link.That is, the first both SCO link is established between terminal and main earphone, The second both SCO link is established between terminal and set of headphones.
As shown in figure 14, this method comprises:
S1401: terminal receives the second scene alteration command.
Wherein, the application scenarios that the second scene alteration command is used to indicate the TWS bluetooth headset are changed to non-same Sound translates scene.
In some embodiments, TWS bluetooth headset receives the second operation that user inputs to TWS bluetooth headset, and responds In the second operation, TWS bluetooth headset sends the second scene alteration command to terminal.Illustratively, when user needs to terminate in unison It, can be in several ways to the second operation of bluetooth headset input when translation.In a kind of possible embodiment, user can be grasped Operation mode switching push button.It is exemplary, user can click the mode switch button or double-click the mode switch button or Touch the mode switch button.In alternatively possible embodiment, user can input preset voice to bluetooth headset and refer to It enables, for example, user inputs voice " exiting simultaneous interpretation mode " to bluetooth headset.
In the embodiment of the present application, the second operation that TWS bluetooth headset receives can be and wear the user of main earphone to master Earphone input, it can also be what the user for wearing set of headphones inputted to set of headphones.
In a kind of possible scene, main earphone receives the second operation of user's input, and in response to the second operation, main earphone is logical It crosses the first ACL link and sends the second scene alteration command to terminal.Correspondingly, terminal by the first ACL link receive this second Scene alteration command.
In alternatively possible scene, set of headphones receives the second operation of user's input, in response to the second operation, set of headphones The second scene alteration command is sent to main earphone by the second ACL link.The second scene alteration command that main earphone will receive Terminal is transmitted to by the first ACL link.
In the application, the second scene alteration command can instruct for AT.Illustratively, it can be multiplexed existing AT instruction, it will Some information field in existing AT instruction is provided for the value that simultaneous interpretation mode is exited in instruction.AT instruction can also be increased newly, It is used to indicate and exits simultaneous interpretation mode.
In other embodiments, terminal receives the second scene alteration command of user's input.With user to TWS bluetooth headset The mode for inputting the first scene alteration command is similar, and user can input the change of the second scene to terminal in several ways and refer to It enables.Such as: in terminal interface, by click mode toggle control, double-click mode toggle control, touch mode toggle control, The modes such as sliding-modes toggle control input the second scene alteration command to terminal.It can also be by way of interactive voice to end The second scene alteration command of end input, for example, to terminal input voice " exiting simultaneous interpretation mode " etc..
S1402: in response to the second scene alteration command, first between the terminal and first earphone is disconnected Both SCO link, and disconnect the second both SCO link between the terminal and second earphone.
After terminal receives the second scene alteration command, the first both SCO link between main earphone is disconnected, and disconnect The second both SCO link between set of headphones.Figure 15 is terminal and indigo plant provided by the embodiments of the present application after exiting simultaneous interpretation mode Link schematic diagram between tooth earphone.As shown in figure 15, in simultaneous interpretation mode, there are two chains between terminal and main earphone Road, respectively the first ACL link and the first both SCO link.It is the second both SCO link between terminal and set of headphones.Main earphone and auricular appendage It is the second ACL link between machine.After terminal receives the second scene alteration command, terminal disconnects the between main earphone One both SCO link, and disconnect the second both SCO link between set of headphones.Therefore, it exits after simultaneous interpretation mode, terminal and master It is the first ACL link, connectionless link between terminal and set of headphones between earphone.It is still second between main earphone and set of headphones ACL link.That is, the link-recovery between terminal and bluetooth headset listens to music scene for as shown in Figure 4 after terminating simultaneous interpretation Under link state.To be convenient for user's normal use bluetooth headset.
Figure 16 is the structural schematic diagram of TWS bluetooth headset provided by the embodiments of the present application, as shown in figure 16, the present embodiment TWS bluetooth headset 20 includes the first earphone 21 and the second earphone 22, and first earphone 21 includes processor 211, memory 212 and it is stored in the computer program that can be run on the memory 212 and on the processor 211.Second ear Machine 22 includes processor 221, memory 222 and is stored on the memory 222 and can transport on the processor 221 Capable computer program.Illustratively, memory 211 and processor 212 can be communicated by communication bus.The processor The technical solution of the first earphone 21 in above-described embodiment is executed when the 211 execution computer program.Illustratively, memory 222 and processor 221 can be communicated by communication bus.The processor 221 executes above-mentioned when executing the computer program The technical solution of second earphone 22 in embodiment.That the realization principle and technical effect are similar is similar for it, and details are not described herein again.
Figure 17 is the structural schematic diagram of terminal provided by the embodiments of the present application.As shown in figure 17, the terminal 10 of the present embodiment Including processor 11, memory 12 and it is stored in the calculating that can be run on the memory 12 and on the processor 11 Machine program.Illustratively, memory 12 and processor 11 can be communicated by communication bus 13, and the processor 11 executes described The technical solution of the terminal side in any of the above-described embodiment of the method, implementing principle and technical effect class are executed when computer program Seemingly, details are not described herein again.
The embodiment of the present application provides a kind of storage medium, and the storage medium is for storing computer program, the calculating For realizing the Bluetooth communication method of TWS bluetooth headset side when machine program is executed by computer or processor, alternatively, realizing terminal The Bluetooth communication method of side.
The embodiment of the present application provides a kind of computer program product, and the computer program product includes instruction, when described Instruction is performed, so that computer executes the Bluetooth communication method of above-mentioned TWS bluetooth headset side, alternatively, realizing terminal side Bluetooth communication method.
The embodiment of the present application provides a kind of chip, and the chip can be applied to terminal or TWS bluetooth headset, the chip It include: at least one communication interface, at least one processor, at least one processor, the communication interface, memory and processing Device by bus bar, the processor by executing the instruction stored in the memory so that terminal can be performed it is above-mentioned Bluetooth communication method, or TWS bluetooth headset is made to execute above-mentioned Bluetooth communication method.
In the embodiment of the present application, processor can be general processor, digital signal processor, specific integrated circuit, Field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present application.General processor can be Microprocessor or any conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present application, can directly embody Execute completion for hardware processor, or in processor hardware and software module combination execute completion.
In the embodiment of the present application, memory can be nonvolatile memory, such as hard disk (hard disk drive, HDD) or solid state hard disk (solid-state drive, SSD) etc., it can also be volatile memory (volatile ), such as random access memory (random-access memory, RAM) memory.Memory can be used for carrying or deposit Store up the desired program code with instruction or data structure form and can be by any other medium of computer access, but not It is limited to this.Memory in the embodiment of the present application can also be circuit or other devices that arbitrarily can be realized store function, For storing program instruction and/or data.
In the method that each embodiment of the application provides, can wholly or partly by software, hardware, firmware or its Meaning combination is to realize.When implemented in software, it can entirely or partly realize in the form of a computer program product.It is described Computer program product includes one or more computer instructions.Load and execute on computers the computer program instructions When, it entirely or partly generates according to process or function described in the embodiment of the present application.The computer can be general-purpose computations Machine, special purpose computer, computer network, the network equipment, user equipment or other programmable devices.The computer instruction can To store in a computer-readable storage medium, or computer-readable deposit from a computer readable storage medium to another Storage media transmission, for example, the computer instruction can pass through from a web-site, computer, server or data center Wired (such as coaxial cable, optical fiber, Digital Subscriber Line (digital subscriber line, DSL)) or wireless (for example, it is red Outside, wirelessly, microwave etc.) mode transmitted to another web-site, computer, server or data center.The calculating Machine readable storage medium storing program for executing can be any usable medium or include one or more usable mediums that computer can access The data storage devices such as integrated server, data center.The usable medium can be magnetic medium (for example, floppy disk, hard Disk, tape), optical medium (for example, digital video disk (digital video disc, DVD)) or semiconductor medium (example Such as, SSD) etc..
Obviously, those skilled in the art can carry out various modification and variations without departing from the model of the application to the application It encloses.In this way, if these modifications and variations of the application belong within the scope of the claim of this application and its equivalent technologies, then The application is also intended to include these modifications and variations.

Claims (22)

1. a kind of Bluetooth communication method, which is characterized in that be applied to Bluetooth communication system, the Bluetooth communication system includes real Wireless stereo TWS bluetooth headset and terminal, the TWS bluetooth headset include the first earphone and the second earphone, the method packet It includes:
The first ACL link is established between the terminal and first earphone, between first earphone and second earphone Establish the second ACL link;
The terminal sends the first audio data to first earphone by first ACL link, and first earphone will First audio data is forwarded to second earphone by second ACL link;
The terminal receives the first scene alteration command;
In response to the first scene alteration command, the first both SCO link is established between the terminal and first earphone, it is described The second both SCO link is established between terminal and second earphone;
Between the terminal and first earphone by first both SCO link transmit second audio data, the terminal and Second audio data is transmitted by second both SCO link between second earphone.
2. the method according to claim 1, wherein the first scene alteration command is used to indicate the TWS The application scenarios of bluetooth headset are changed to simultaneous interpretation scene;Pass through described first between the terminal and first earphone Both SCO link transmits second audio data, passes through second both SCO link transmission second between the terminal and second earphone Audio data, comprising:
The second audio data of the first earphone acquisition first language, and the second audio data of the first language is passed through First both SCO link is sent to the terminal, and the second audio data of the first language is translated as second by the terminal The second audio data of language, and the second audio data of the second language after translation is sent by second both SCO link To second earphone, second earphone plays out the second audio data of the second language;
The second audio data of the second earphone acquisition second language, and the second audio data of the second language is passed through Second both SCO link is sent to the terminal, and the second audio data of the second language is translated as first by the terminal The second audio data of language, and the second audio data of the first language after translation is sent by first both SCO link To first earphone, first earphone plays out the second audio data of the first language.
3. method according to claim 1 or 2, which is characterized in that before the terminal receives the first scene alteration command, The method also includes:
First earphone receives the first operation of user's input;
In response to first operation, first earphone sends physical address request message to second earphone;
First earphone receives the physical address for second earphone that second earphone is sent;
The physical address of first scene alteration command and second earphone is sent to the terminal by first earphone.
4. method according to claim 1 or 2, which is characterized in that before the terminal receives the first scene alteration command, The method also includes:
Second earphone receives the first operation of user's input;
In response to first operation, second earphone sends the first scene alteration command and described to first earphone The physical address of second earphone;
The physical address of the first scene alteration command and second earphone is transmitted to the end by first earphone End.
5. according to the method described in claim 2, it is characterized in that, the method also includes:
The terminal receives the translation configuration information of user's input, and the translation configuration information is used to indicate first earphone Acquisition language is the first language, and the acquisition language of second earphone is the second language.
6. method according to any one of claims 1 to 5, which is characterized in that between the terminal and first earphone The first both SCO link is established, is established after the second both SCO link between the terminal and second earphone, the method also includes:
The terminal receives the second scene alteration command;
In response to the second scene alteration command, the first both SCO link between the terminal and first earphone is disconnected, and Disconnect the second both SCO link between the terminal and second earphone.
7. according to the method described in claim 6, it is characterized in that, the terminal receive the second scene alteration command before, institute State method further include:
First earphone receives the second operation of user's input;
In response to second operation, first earphone sends the second scene alteration command to the terminal.
8. according to the method described in claim 6, it is characterized in that, the terminal receive the second scene alteration command before, institute State method further include:
Second earphone receives the second operation of user's input;
In response to second operation, second earphone sends the second scene alteration command to first earphone;
The the second scene alteration command received is transmitted to the terminal by first earphone.
9. method according to any one of claims 1 to 8, which is characterized in that first audio data is media audio Data, the second audio data are voice communication data.
10. a kind of real wireless stereo TWS bluetooth headset, which is characterized in that the TWS bluetooth headset include the first earphone and Second earphone, first earphone and second earphone include processor, memory and are stored on the memory And the computer program that can be run on the processor, the processor execute following step when executing the computer program It is rapid:
The first ACL link is established between terminal and first earphone, is established between first earphone and second earphone Second ACL link;
First earphone receives the first audio data that the terminal is sent, first ear by first ACL link First audio data is forwarded to second earphone by second ACL link by machine;
In response to the first scene alteration command that the terminal receives, first is established between the terminal and first earphone Both SCO link establishes the second both SCO link between the terminal and second earphone;
Between the terminal and first earphone by first both SCO link transmit second audio data, the terminal and Second audio data is transmitted by second both SCO link between second earphone.
11. TWS bluetooth headset according to claim 10, which is characterized in that the first scene alteration command is for referring to Show that the application scenarios of the TWS bluetooth headset are changed to simultaneous interpretation scene;Pass through between the terminal and first earphone First both SCO link transmits second audio data, passes through second both SCO link between the terminal and second earphone Transmit second audio data, comprising:
The second audio data of the first earphone acquisition first language, and the second audio data of the first language is passed through First both SCO link is sent to the terminal, so that the second audio data of the first language is translated as by the terminal The second audio data of second language, and the second audio data of the second language after translation is passed through into second both SCO link It is sent to second earphone, second earphone plays out the second audio data of the second language;
The second audio data of the second earphone acquisition second language, and the second audio data of the second language is passed through Second both SCO link is sent to the terminal, so that the second audio data of the second language is translated as by the terminal The second audio data of first language, and the second audio data of the first language after translation is passed through into first both SCO link It is sent to first earphone, first earphone plays out the second audio data of the first language.
12. TWS bluetooth headset described in 0 or 11 according to claim 1, which is characterized in that described to be received in response to the terminal Before the first scene alteration command arrived, further includes:
First earphone receives the first operation of user's input;
In response to first operation, first earphone sends physical address request message to second earphone;
First earphone receives the physical address for second earphone that second earphone is sent;
The physical address of first scene alteration command and second earphone is sent to the terminal by first earphone.
13. TWS bluetooth headset described in 0 or 11 according to claim 1, which is characterized in that described to be received in response to the terminal Before the first scene alteration command arrived, further includes:
Second earphone receives the first operation of user's input;
In response to first operation, second earphone sends the first scene alteration command and described to first earphone The physical address of second earphone;
The physical address of the first scene alteration command and second earphone is transmitted to the end by first earphone End.
14. TWS bluetooth headset according to any one of claims 10 to 13, which is characterized in that the terminal and described the The first both SCO link is established between one earphone, is established after the second both SCO link between the terminal and second earphone, is also wrapped It includes:
In response to the second scene alteration command that the terminal receives, between the terminal and first earphone is disconnected One both SCO link, and disconnect the second both SCO link between the terminal and second earphone.
15. TWS bluetooth headset according to claim 14, which is characterized in that described to be received in response to the terminal Before second scene alteration command, further includes:
First earphone receives the second operation of user's input;
In response to second operation, first earphone sends the second scene alteration command to the terminal.
16. TWS bluetooth headset according to claim 14, which is characterized in that described to be received in response to the terminal Before second scene alteration command, further includes:
Second earphone receives the second operation of user's input;
In response to second operation, second earphone sends the second scene alteration command to first earphone;
The the second scene alteration command received is transmitted to the terminal by first earphone.
17. TWS bluetooth headset according to any one of claims 10 to 16, which is characterized in that first audio data For media audio data, the second audio data is voice communication data.
18. a kind of terminal, which is characterized in that the terminal includes processor, memory and is stored on the memory simultaneously The computer program that can be run on the processor, the processor execute following steps when executing the computer program:
The first ACL link is established between the terminal and the first earphone, establishes second between first earphone and the second earphone ACL link, first earphone and second earphone are the monomer earphone in real wireless stereo TWS bluetooth headset;
The terminal sends the first audio data to first earphone by first ACL link, and first earphone will First audio data is forwarded to second earphone by second ACL link;
The terminal receives the first scene alteration command;
In response to the first scene alteration command, the first both SCO link is established between the terminal and first earphone, it is described The second both SCO link is established between terminal and second earphone;
Between the terminal and first earphone by first both SCO link transmit second audio data, the terminal and Second audio data is transmitted by second both SCO link between second earphone.
19. terminal according to claim 18, which is characterized in that the first scene alteration command is used to indicate described The application scenarios of TWS bluetooth headset are changed to simultaneous interpretation scene;Pass through described the between the terminal and first earphone One both SCO link transmits second audio data, passes through second both SCO link transmission the between the terminal and second earphone Two audio datas, comprising:
The terminal receives the second audio data of first language by first both SCO link from first earphone, described The second audio data of first language is acquired by first earphone, and the terminal is by the second audio of the first language Data translation is the second audio data of second language, and the second audio data of the second language after translation is passed through described the Two both SCO links are sent to second earphone, so that second earphone carries out the second audio data of the second language It plays;
The terminal receives the second audio data of second language by second both SCO link from second earphone, described The second audio data of second language is acquired by second earphone, and the terminal is by the second audio of the second language Data translation is the second audio data of first language, and the second audio data of the first language after translation is passed through described the One both SCO link is sent to first earphone, so that first earphone carries out the second audio data of the first language It plays.
20. terminal according to claim 19, which is characterized in that further include:
The terminal receives the translation configuration information of user's input, and the translation configuration information is used to indicate first earphone Acquisition language is the first language, and the acquisition language of second earphone is the second language.
21. 8 to 20 described in any item terminals according to claim 1, which is characterized in that the terminal and first earphone it Between establish the first both SCO link, established after the second both SCO link between the terminal and second earphone, further includes:
The terminal receives the second scene alteration command;
In response to the second scene alteration command, the first both SCO link between the terminal and first earphone is disconnected, and Disconnect the second both SCO link between the terminal and second earphone.
22. 8 to 21 described in any item terminals according to claim 1, which is characterized in that first audio data is media sound Frequency evidence, the second audio data are voice communication data.
CN201910513900.9A 2019-06-14 2019-06-14 Bluetooth communication method, TWS (two way communication system) Bluetooth headset and terminal Active CN110381485B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910513900.9A CN110381485B (en) 2019-06-14 2019-06-14 Bluetooth communication method, TWS (two way communication system) Bluetooth headset and terminal
PCT/CN2020/095872 WO2020249098A1 (en) 2019-06-14 2020-06-12 Bluetooth communication method, tws bluetooth headset, and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910513900.9A CN110381485B (en) 2019-06-14 2019-06-14 Bluetooth communication method, TWS (two way communication system) Bluetooth headset and terminal

Publications (2)

Publication Number Publication Date
CN110381485A true CN110381485A (en) 2019-10-25
CN110381485B CN110381485B (en) 2021-01-29

Family

ID=68250292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910513900.9A Active CN110381485B (en) 2019-06-14 2019-06-14 Bluetooth communication method, TWS (two way communication system) Bluetooth headset and terminal

Country Status (2)

Country Link
CN (1) CN110381485B (en)
WO (1) WO2020249098A1 (en)

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111063170A (en) * 2019-11-29 2020-04-24 歌尔股份有限公司 TWS earphone loss prevention method, TWS earphone and computer readable storage medium
CN111107463A (en) * 2019-12-30 2020-05-05 广州由我科技股份有限公司 Wireless earphone switching method and device, wireless earphone and medium
CN111314814A (en) * 2020-01-19 2020-06-19 湖南国声声学科技股份有限公司 TWS Bluetooth headset-based translation method, mobile terminal, TWS Bluetooth headset and storage medium
CN111428515A (en) * 2020-03-30 2020-07-17 浙江大学 Simultaneous interpretation equipment and method
CN111526440A (en) * 2020-04-27 2020-08-11 歌尔科技有限公司 Method, device and medium for switching master ear and slave ear of TWS earphone in call scene
CN111615036A (en) * 2020-04-17 2020-09-01 歌尔科技有限公司 Data processing method and device and electronic equipment
CN111698672A (en) * 2020-05-26 2020-09-22 展讯通信(上海)有限公司 Audio synchronization method of wireless earphone and wireless earphone
CN111696552A (en) * 2020-06-05 2020-09-22 北京搜狗科技发展有限公司 Translation method, translation device and earphone
CN111739538A (en) * 2020-06-05 2020-10-02 北京搜狗科技发展有限公司 Translation method and device, earphone and server
CN111988771A (en) * 2020-08-28 2020-11-24 维沃移动通信有限公司 Wireless connection control method and device and electronic equipment
WO2020249098A1 (en) * 2019-06-14 2020-12-17 华为技术有限公司 Bluetooth communication method, tws bluetooth headset, and terminal
GB2585104A (en) * 2019-06-26 2020-12-30 Tymphany Acoustic Tech Huizhou Co Ltd Method for pairing and connecting secondary earphone with sound source device
CN112446223A (en) * 2020-11-23 2021-03-05 维沃移动通信有限公司 Translation method and device and electronic equipment
CN112511942A (en) * 2020-12-03 2021-03-16 歌尔科技有限公司 Voice translation method based on TWS earphone and TWS earphone
CN112787742A (en) * 2021-03-16 2021-05-11 芯原微电子(成都)有限公司 Clock synchronization method and device, wireless earphone and readable storage medium
CN112911566A (en) * 2019-12-25 2021-06-04 华为终端有限公司 Bluetooth communication method and device
CN113055868A (en) * 2021-03-12 2021-06-29 上海物骐微电子有限公司 Bluetooth rapid networking method and system and Bluetooth headset
CN113115179A (en) * 2021-03-24 2021-07-13 维沃移动通信有限公司 Working state adjusting method and device
CN113329381A (en) * 2021-04-28 2021-08-31 荣耀终端有限公司 Method for establishing Bluetooth connection and electronic equipment
CN113382337A (en) * 2021-06-21 2021-09-10 紫优科技(深圳)有限公司 Equipment management system and method of intelligent earphone
EP3890356A1 (en) * 2020-03-30 2021-10-06 Sonova AG Bluetooth audio exchange with transmission diversity
CN113543101A (en) * 2021-07-09 2021-10-22 Oppo广东移动通信有限公司 Audio output method, Bluetooth device, mobile terminal and storage medium
CN114710771A (en) * 2022-06-07 2022-07-05 成都市安比科技有限公司 Link switching method and device based on TWS (two way traffic system) and Bluetooth communication system
WO2022158735A1 (en) * 2021-01-20 2022-07-28 삼성전자 주식회사 Electronic device for processing audio data, and operation method thereof
WO2022237609A1 (en) * 2021-05-08 2022-11-17 维沃移动通信有限公司 Communication control method, electronic device and earphones

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109005480A (en) * 2018-07-19 2018-12-14 Oppo广东移动通信有限公司 Information processing method and related product
CN114697754B (en) * 2020-12-28 2024-02-13 深圳Tcl新技术有限公司 Method, system, medium and terminal equipment based on wireless access telephone conference
CN113411712A (en) * 2021-06-29 2021-09-17 紫优科技(深圳)有限公司 Method and system for realizing double-ear separation mode based on intelligent earphone
EP4364395A1 (en) * 2021-08-02 2024-05-08 Samsung Electronics Co., Ltd. System and method for establishing call audio sharing using bluetooth low energy audio technology
CN113825125B (en) * 2021-09-15 2024-05-31 国芯科技(广州)有限公司 Audio sharing method for multiple groups of wireless Bluetooth headsets
CN115915037A (en) * 2021-09-24 2023-04-04 Oppo广东移动通信有限公司 Call control method and device, electronic equipment and computer readable storage medium
CN115776628B (en) * 2023-02-13 2023-04-14 成都市安比科技有限公司 Method for accurate synchronization of two-ear recording of TWS Bluetooth headset

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106851450A (en) * 2016-12-26 2017-06-13 歌尔科技有限公司 A kind of wireless headset pair and electronic equipment
US20170188168A1 (en) * 2015-12-27 2017-06-29 Philip Scott Lyren Switching Binaural Sound
CN107333200A (en) * 2017-07-24 2017-11-07 歌尔科技有限公司 One kind translation earphone storage box, wireless translation earphone and wireless translation system
US20180084569A1 (en) * 2016-09-21 2018-03-22 Apple Inc. Mitigating Scheduling Conflicts in Wireless Communication Devices
CN107894881A (en) * 2017-10-18 2018-04-10 恒玄科技(上海)有限公司 The method that principal and subordinate link switching, conversation monitoring and the Mike of bluetooth earphone switch
CN108345591A (en) * 2018-01-26 2018-07-31 歌尔股份有限公司 Voice real time translating method based on mobile terminal ears wireless headset and system
CN109005480A (en) * 2018-07-19 2018-12-14 Oppo广东移动通信有限公司 Information processing method and related product
CN109151789A (en) * 2018-09-30 2019-01-04 Oppo广东移动通信有限公司 Interpretation method, device, system and bluetooth headset
CN109218883A (en) * 2018-08-27 2019-01-15 深圳市声临科技有限公司 A kind of interpretation method, translation system, TWS earphone and terminal
CN109391724A (en) * 2018-08-01 2019-02-26 展讯通信(上海)有限公司 Realize method, mobile terminal and the ears wireless headset of ears call

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10631074B2 (en) * 2016-04-19 2020-04-21 Snik Llc Magnetic earphones holder
CN107708006B (en) * 2017-08-23 2020-08-28 广东思派康电子科技有限公司 Computer-readable storage medium, real-time translation system
CN110381485B (en) * 2019-06-14 2021-01-29 华为技术有限公司 Bluetooth communication method, TWS (two way communication system) Bluetooth headset and terminal

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170188168A1 (en) * 2015-12-27 2017-06-29 Philip Scott Lyren Switching Binaural Sound
US20180084569A1 (en) * 2016-09-21 2018-03-22 Apple Inc. Mitigating Scheduling Conflicts in Wireless Communication Devices
CN106851450A (en) * 2016-12-26 2017-06-13 歌尔科技有限公司 A kind of wireless headset pair and electronic equipment
CN107333200A (en) * 2017-07-24 2017-11-07 歌尔科技有限公司 One kind translation earphone storage box, wireless translation earphone and wireless translation system
CN107894881A (en) * 2017-10-18 2018-04-10 恒玄科技(上海)有限公司 The method that principal and subordinate link switching, conversation monitoring and the Mike of bluetooth earphone switch
CN108345591A (en) * 2018-01-26 2018-07-31 歌尔股份有限公司 Voice real time translating method based on mobile terminal ears wireless headset and system
CN109005480A (en) * 2018-07-19 2018-12-14 Oppo广东移动通信有限公司 Information processing method and related product
CN109391724A (en) * 2018-08-01 2019-02-26 展讯通信(上海)有限公司 Realize method, mobile terminal and the ears wireless headset of ears call
CN109218883A (en) * 2018-08-27 2019-01-15 深圳市声临科技有限公司 A kind of interpretation method, translation system, TWS earphone and terminal
CN109151789A (en) * 2018-09-30 2019-01-04 Oppo广东移动通信有限公司 Interpretation method, device, system and bluetooth headset

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
巴八安: "扒开蓝牙耳机行业真相:四款热销TWS真无线蓝牙耳机深度拆解", 《HTTPS://PIEBBS.PCONLINE.COM.CNTOPIC-292603.HTML》 *
无畏的希望: "全新的高通TSW Plus是更强的真无线耳机技术", 《HTTP://WWW.ZAEKE.COMARTICLE-9877.HTML》 *
雪云飞星: "蓝牙物理链路类型:SCO和ACL链路与A2DP", 《HTTPS://BLOG.CSDN.NETWENZONGLIANGARTICLEDETAILS84689377》 *

Cited By (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020249098A1 (en) * 2019-06-14 2020-12-17 华为技术有限公司 Bluetooth communication method, tws bluetooth headset, and terminal
GB2585104B (en) * 2019-06-26 2022-05-25 Tymphany Acoustic Tech Huizhou Co Ltd Method for pairing and connecting secondary earphone with sound source device
GB2585104A (en) * 2019-06-26 2020-12-30 Tymphany Acoustic Tech Huizhou Co Ltd Method for pairing and connecting secondary earphone with sound source device
CN111063170A (en) * 2019-11-29 2020-04-24 歌尔股份有限公司 TWS earphone loss prevention method, TWS earphone and computer readable storage medium
CN111063170B (en) * 2019-11-29 2021-12-07 歌尔股份有限公司 TWS earphone loss prevention method, TWS earphone and computer readable storage medium
CN112911566A (en) * 2019-12-25 2021-06-04 华为终端有限公司 Bluetooth communication method and device
WO2021129521A1 (en) * 2019-12-25 2021-07-01 华为技术有限公司 Bluetooth communication method and apparatus
CN111107463A (en) * 2019-12-30 2020-05-05 广州由我科技股份有限公司 Wireless earphone switching method and device, wireless earphone and medium
CN111314814A (en) * 2020-01-19 2020-06-19 湖南国声声学科技股份有限公司 TWS Bluetooth headset-based translation method, mobile terminal, TWS Bluetooth headset and storage medium
CN111428515B (en) * 2020-03-30 2022-07-15 浙江大学 Simultaneous interpretation equipment and method
CN111428515A (en) * 2020-03-30 2020-07-17 浙江大学 Simultaneous interpretation equipment and method
EP3890356A1 (en) * 2020-03-30 2021-10-06 Sonova AG Bluetooth audio exchange with transmission diversity
CN111615036B (en) * 2020-04-17 2021-07-23 歌尔科技有限公司 Data processing method and device and electronic equipment
CN111615036A (en) * 2020-04-17 2020-09-01 歌尔科技有限公司 Data processing method and device and electronic equipment
CN111526440A (en) * 2020-04-27 2020-08-11 歌尔科技有限公司 Method, device and medium for switching master ear and slave ear of TWS earphone in call scene
WO2021218190A1 (en) * 2020-04-27 2021-11-04 歌尔股份有限公司 Primary-secondary ear switching method and apparatus for tws earphones in communication scenario, and medium
CN111698672B (en) * 2020-05-26 2022-09-13 展讯通信(上海)有限公司 Audio synchronization method of wireless earphone and wireless earphone
CN111698672A (en) * 2020-05-26 2020-09-22 展讯通信(上海)有限公司 Audio synchronization method of wireless earphone and wireless earphone
CN111696552B (en) * 2020-06-05 2023-09-22 北京搜狗科技发展有限公司 Translation method, translation device and earphone
CN111739538B (en) * 2020-06-05 2022-04-26 北京搜狗科技发展有限公司 Translation method and device, earphone and server
CN111739538A (en) * 2020-06-05 2020-10-02 北京搜狗科技发展有限公司 Translation method and device, earphone and server
CN111696552A (en) * 2020-06-05 2020-09-22 北京搜狗科技发展有限公司 Translation method, translation device and earphone
CN111988771A (en) * 2020-08-28 2020-11-24 维沃移动通信有限公司 Wireless connection control method and device and electronic equipment
CN111988771B (en) * 2020-08-28 2023-09-15 维沃移动通信有限公司 Wireless connection control method and device and electronic equipment
CN112446223A (en) * 2020-11-23 2021-03-05 维沃移动通信有限公司 Translation method and device and electronic equipment
CN112511942A (en) * 2020-12-03 2021-03-16 歌尔科技有限公司 Voice translation method based on TWS earphone and TWS earphone
WO2022158735A1 (en) * 2021-01-20 2022-07-28 삼성전자 주식회사 Electronic device for processing audio data, and operation method thereof
US11916987B2 (en) 2021-01-20 2024-02-27 Samsung Electronics Co., Ltd. Electronic device for processing audio data, and operation method thereof
CN113055868B (en) * 2021-03-12 2022-09-23 上海物骐微电子有限公司 Bluetooth rapid networking method and system and Bluetooth headset
CN113055868A (en) * 2021-03-12 2021-06-29 上海物骐微电子有限公司 Bluetooth rapid networking method and system and Bluetooth headset
CN112787742A (en) * 2021-03-16 2021-05-11 芯原微电子(成都)有限公司 Clock synchronization method and device, wireless earphone and readable storage medium
CN113115179A (en) * 2021-03-24 2021-07-13 维沃移动通信有限公司 Working state adjusting method and device
CN113329381B (en) * 2021-04-28 2022-03-11 荣耀终端有限公司 Method for establishing Bluetooth connection and electronic equipment
CN113329381A (en) * 2021-04-28 2021-08-31 荣耀终端有限公司 Method for establishing Bluetooth connection and electronic equipment
WO2022237609A1 (en) * 2021-05-08 2022-11-17 维沃移动通信有限公司 Communication control method, electronic device and earphones
CN113382337A (en) * 2021-06-21 2021-09-10 紫优科技(深圳)有限公司 Equipment management system and method of intelligent earphone
CN113543101A (en) * 2021-07-09 2021-10-22 Oppo广东移动通信有限公司 Audio output method, Bluetooth device, mobile terminal and storage medium
CN114710771B (en) * 2022-06-07 2022-08-23 成都市安比科技有限公司 Link switching method and device based on TWS (two way communication system) and Bluetooth communication system
CN114710771A (en) * 2022-06-07 2022-07-05 成都市安比科技有限公司 Link switching method and device based on TWS (two way traffic system) and Bluetooth communication system

Also Published As

Publication number Publication date
WO2020249098A1 (en) 2020-12-17
CN110381485B (en) 2021-01-29

Similar Documents

Publication Publication Date Title
CN110381485A (en) Bluetooth communication method, TWS bluetooth headset and terminal
CN110138937B (en) Call method, device and system
US11805350B2 (en) Point-to-multipoint data transmission method and device
WO2020249062A1 (en) Voice communication method and related device
WO2020107485A1 (en) Bluetooth connection method and device
CN110191442A (en) A kind of Bluetooth connecting method, equipment and system
CN109660842A (en) A kind of method and electronic equipment playing multi-medium data
WO2020078337A1 (en) Translation method and electronic device
WO2021017909A1 (en) Method, electronic device and system for realizing functions through nfc tag
CN109286725A (en) Interpretation method and terminal
WO2022193989A1 (en) Operation method and apparatus for electronic device and electronic device
CN112911566B (en) Bluetooth communication method and device
US20230299806A1 (en) Bluetooth Communication Method, Wearable Device, and System
WO2020124371A1 (en) Method and device for establishing data channels
WO2020118641A1 (en) Microphone (mic) switching method and device
US20220272645A1 (en) Simultaneous Response Method and Device
CN110198362A (en) A kind of method and system for adding smart home device in contact person
CN114554012A (en) Incoming call answering method, electronic equipment and storage medium
WO2020078267A1 (en) Method and device for voice data processing in online translation process
US20230269437A1 (en) Screen sharing method and system and electronic device
CN113115483B (en) Method and device for releasing radio resource control connection and user equipment
WO2024022154A1 (en) Method for determining device user, and related apparatus
WO2023071730A1 (en) Voiceprint registration method and electronic devices
CN114449492B (en) Data transmission method and terminal equipment
CN116981108B (en) Wireless screen-throwing connection method, mobile terminal and computer readable 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