CN106911857B - Voice data interaction method and device - Google Patents

Voice data interaction method and device Download PDF

Info

Publication number
CN106911857B
CN106911857B CN201710134633.5A CN201710134633A CN106911857B CN 106911857 B CN106911857 B CN 106911857B CN 201710134633 A CN201710134633 A CN 201710134633A CN 106911857 B CN106911857 B CN 106911857B
Authority
CN
China
Prior art keywords
bluetooth headset
voice data
working state
bluetooth
control instruction
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.)
Expired - Fee Related
Application number
CN201710134633.5A
Other languages
Chinese (zh)
Other versions
CN106911857A (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.)
Qingdao Zhongyun Times Information Technology Co ltd
Original Assignee
Qingdao Zhongyun Times Information Technology 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 Qingdao Zhongyun Times Information Technology Co ltd filed Critical Qingdao Zhongyun Times Information Technology Co ltd
Priority to CN201710134633.5A priority Critical patent/CN106911857B/en
Publication of CN106911857A publication Critical patent/CN106911857A/en
Application granted granted Critical
Publication of CN106911857B publication Critical patent/CN106911857B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

The embodiment of the application provides a voice data interaction method and device, and aims to solve the problem that data interaction cannot be simultaneously performed between an android platform-based device and at least two Bluetooth headsets in the prior art. The method comprises the following steps: respectively establishing a control channel and a data channel between the first Bluetooth headset and the second Bluetooth headset; controlling a microphone of the first Bluetooth headset to be in a working state and a loudspeaker to be in a non-working state through a control channel; receiving voice data sent by a first Bluetooth headset through a data channel; controlling a microphone of the second Bluetooth headset to be in a working state and a loudspeaker to be in a non-working state through a control channel; and sending the received voice data to the second Bluetooth headset through a data channel. Due to the fact that the control channels and the data channels between the Bluetooth earphones are established, and then the control instructions and the voice data are transmitted through the channels, data interaction between the device based on the android platform and at least two Bluetooth earphones is achieved.

Description

Voice data interaction method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a voice data interaction method and apparatus.
Background
The existing Android platform only supports a scheme of connecting with one BT (bluetooth headset), that is, only can support a situation that a single bluetooth headset performs voice data interaction with an Android platform-based device (such as a mobile phone). The specific data interaction scheme is shown in fig. 1, and the bluetooth headset is based on the conventional bluetooth protocol stack HFP/HSP (Hands-free protocol/Head-set Profile, headset protocol) and A2DP (advanced audio distribution Profile, bluetooth stereo audio transmission protocol). This is a set problem for the Android platform itself.
However, more and more usage scenarios require Android platform based devices to support simultaneous voice information interaction with at least two bluetooth headsets. For example, when a mobile phone APP (Application) based on an Android platform supports a function of voice translation, two users wearing earphones are required to communicate between different languages. Therefore, it is highly desirable to provide a voice data interaction method to enable at least two bluetooth headsets to simultaneously interact data with an Android platform-based device (e.g., a mobile phone).
Disclosure of Invention
The embodiment of the application provides a voice data interaction method and device, and aims to solve the problem that data interaction cannot be simultaneously performed between an android platform-based device and at least two Bluetooth headsets in the prior art.
A voice data interaction method, comprising:
after determining that voice data interaction needs to be carried out with a first Bluetooth headset and at least one second Bluetooth headset simultaneously, the android platform-based device establishes a control channel and a data channel between the android platform-based device and the first Bluetooth headset and a control channel and a data channel between the android platform-based device and the second Bluetooth headset;
sending a first working state control instruction to the first Bluetooth headset through a control channel corresponding to the first Bluetooth headset, wherein the first working state control instruction is used for controlling a microphone of the Bluetooth headset to be in a working state and a loudspeaker to be in an out-of-work state;
receiving voice data sent by a first Bluetooth headset through a data channel corresponding to the first Bluetooth headset;
sending a second working state control instruction to the second Bluetooth headset through a control channel corresponding to the second Bluetooth headset, wherein the second working state control instruction is used for controlling a microphone of the Bluetooth headset to be in a non-working state and a loudspeaker to be in a working state;
and sending the received voice data to a second Bluetooth headset through a data channel corresponding to the second Bluetooth headset.
A voice data interaction method, comprising:
after determining that voice data interaction is required to be simultaneously carried out on the Bluetooth headset and one or more other Bluetooth headsets through the android platform based device, the Bluetooth headset establishes a control channel and a data channel between the Bluetooth headset and the android platform based device;
receiving a working state control instruction sent by the android platform-based device through the control channel, wherein the working state control instruction is a first working state control instruction or a second working state control instruction, the first working state control instruction is used for controlling a microphone of the Bluetooth headset to be in a working state, a loudspeaker to be in an out-of-work state, the second working state control instruction is used for controlling the microphone of the Bluetooth headset to be in an out-of-work state, and the loudspeaker to be in a working state;
controlling the working states of the microphone and the loudspeaker according to the received working state control instruction;
receiving voice data input by a user;
and sending the received voice data to the android platform based device through the data channel.
A voice data interaction device, comprising:
the device comprises a determining unit, a processing unit and a processing unit, wherein the determining unit is used for determining that the android platform-based device needs to perform voice data interaction with a first Bluetooth headset and at least one second Bluetooth headset simultaneously;
the channel establishing unit is used for establishing a control channel and a data channel between the android platform-based device and the first Bluetooth headset and a control channel and a data channel between the android platform-based device and the second Bluetooth headset after the determining unit determines that the voice data interaction is required;
the first control instruction sending unit is used for sending a first working state control instruction to the first Bluetooth headset through a control channel corresponding to the first Bluetooth headset, wherein the first working state control instruction is used for controlling a microphone of the Bluetooth headset to be in a working state, and a loudspeaker is in a non-working state;
the voice data receiving unit is used for receiving voice data sent by the first Bluetooth headset through a data channel corresponding to the first Bluetooth headset;
the second control instruction sending unit is used for sending a second working state control instruction to the second Bluetooth headset through a control channel corresponding to the second Bluetooth headset, wherein the second working state control instruction is used for controlling a microphone of the Bluetooth headset to be in a non-working state, and a loudspeaker to be in a working state;
and the voice data sending unit is used for sending the received voice data to the second Bluetooth earphone through a data channel corresponding to the second Bluetooth earphone.
A voice data interaction device, comprising:
the device comprises a determining unit, a processing unit and a processing unit, wherein the determining unit is used for determining that voice data interaction is required to be simultaneously carried out with one or more other Bluetooth headsets through an android platform-based device;
the channel establishing unit is used for establishing a control channel and a data channel between the android platform-based device and the channel establishing unit after the determining unit determines to perform the voice data interaction;
the control instruction receiving unit is used for receiving a working state control instruction sent by the android platform-based device through the control channel, wherein the working state control instruction is a first working state control instruction or a second working state control instruction, the first working state control instruction is used for controlling a microphone of the Bluetooth headset to be in a working state, a loudspeaker is in a non-working state, the second working state control instruction is used for controlling the microphone of the Bluetooth headset to be in a non-working state, and the loudspeaker is in a working state;
the control unit is used for controlling the working states of the microphone and the loudspeaker according to the working state control instruction received by the control instruction receiving unit;
a voice data receiving unit receiving voice data input by a user;
and the voice data sending unit is used for sending the received voice data to the android platform-based device through the data channel.
Has the advantages that:
in the scheme of the embodiment of the application, due to the fact that the control channel and the data channel between the device based on the android platform and the first Bluetooth headset and the control channel and the data channel between the device based on the android platform and the at least one second Bluetooth are established, the control command and the voice data are transmitted through the channels, and the device based on the android platform and the at least two Bluetooth headsets can perform data interaction simultaneously.
Drawings
Fig. 1 is a schematic diagram of data interaction between a bluetooth headset and a mobile phone provided in the background art of the present application;
fig. 2 is a schematic structural diagram of a voice data interaction system according to an embodiment of the present application;
FIG. 3 is a flowchart of a voice data interaction method according to an embodiment of the present application;
FIG. 4 is a timing diagram illustrating a voice data interaction method according to an embodiment of the present application;
fig. 5 is a second flowchart of a voice data interaction method according to an embodiment of the present application;
fig. 6 is a third flowchart of a voice data interaction method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a voice data interaction apparatus according to an embodiment of the present application;
fig. 8 is a second schematic structural diagram of a voice data interaction device according to an embodiment of the present application.
Detailed Description
In order to solve the problem that the existing method only can support a single Bluetooth headset to perform voice data interaction with an android platform-based device (such as a mobile phone), the embodiment of the application provides a voice data interaction method and a voice data interaction device.
The preferred embodiments of the present application will be described in conjunction with the drawings of the specification, it being understood that the preferred embodiments described herein are merely for purposes of illustration and explanation and are not intended to limit the present application. And the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
The method and the device provided by the present application are described in detail with specific embodiments, taking an android platform based device as an example, with reference to the accompanying drawings. Of course, the device based on the android platform may also be a PAD as long as the platform used by the device is the android platform.
Fig. 2 is a schematic structural diagram of a voice data interaction system capable of implementing the method provided by the embodiment of the present application. The system comprises: a first bluetooth headset 21, a handset 22 and at least one second bluetooth headset 23; the first bluetooth headset 21 and the at least one second bluetooth headset may be paired with a mobile phone.
As shown in fig. 3, which is a flowchart of a voice data interaction method provided in an embodiment of the present application, the method includes the following steps:
step 301: after determining that voice data interaction needs to be carried out with a first Bluetooth headset and at least one second Bluetooth headset simultaneously, the mobile phone establishes a control channel and a data channel between the mobile phone and the first Bluetooth headset and a control channel and a data channel between the mobile phone and the second Bluetooth headset;
here, the determining, by the mobile phone, that voice data interaction needs to be performed simultaneously with the first bluetooth headset and the at least one second bluetooth headset may specifically be:
the mobile phone receives a voice interaction triggering signal sent by the first Bluetooth headset and/or any second Bluetooth headset;
determining that a simultaneous voice data interaction with the first Bluetooth headset and the at least one second Bluetooth headset is required based on the received voice interaction trigger signal.
The method can specifically comprise the following steps: the mobile phone receives a voice interaction trigger signal input by a user through the mobile phone APP, and determines that voice data interaction needs to be carried out simultaneously with the first Bluetooth headset and the at least one second Bluetooth headset based on the received voice interaction trigger signal.
After the handset is paired with multiple bluetooth headsets and it is determined that simultaneous voice interaction with the multiple headsets is required, a control channel and a data channel between the handset and the first bluetooth headset, and a control channel and a data channel between the handset and the second bluetooth headset as shown in fig. 2 may be established.
The specific mobile phone establishes a corresponding control channel and a corresponding data channel with the first Bluetooth headset and the second Bluetooth headset through interaction.
The established control channel and data channel between the mobile phone and the first Bluetooth headset are the control channel corresponding to the first Bluetooth headset and the data channel corresponding to the first Bluetooth headset;
and establishing a control channel and a data channel between the mobile phone and the second Bluetooth headset, namely a control channel corresponding to the second Bluetooth headset and a data channel corresponding to the second Bluetooth headset.
Specifically, the establishment of the control channel and the data channel is based on modifying a bottom layer protocol of the bluetooth headset, and two private protocols are added for the communication between the bluetooth headset and the mobile phone, so that the purpose that at least two bluetooth headsets exchange voice information through the mobile phone is achieved.
The first private protocol of the first Bluetooth headset is used for controlling voice communication, and the second private protocol of the first Bluetooth headset is used for realizing voice data communication between the first Bluetooth headset and the mobile phone APP; similarly, the first private protocol of the second bluetooth headset is used for controlling voice communication, and the second private protocol of the second bluetooth headset is used for realizing voice data communication between the second bluetooth headset and the mobile phone APP.
The above-described control of voice communication and the communication of voice data by adding a private protocol are possible because: RFCOMM (Serial Cable simulation protocol) is a simple protocol with partial clauses attached for 9 pin RS-232 serial port simulation. Up to 60 way communication connections between two bluetooth devices may be supported simultaneously. The purpose of RFCOMM is to guarantee a complete communication path between applications on two different devices.
And the RFCOMM in the Bluetooth protocol stack provides an environment interface for the traditional application established on the serial port, so that the RFCOMM can work on a Bluetooth wireless communication wireless link with less protocol change. The multi-path serial port simulation is an important function of the RFCOMM, and a plurality of serial applications can be simultaneously carried out on one L2CAP (logical link control and adaptation protocol) link through a multiplexer (multiplexer).
As can be seen from the above description of the RFCOMM, based on the protocol characteristics of the RFCOMM, the connection between the mobile phone and the multiple bluetooth devices can be established through two private protocols, and then the interaction with the mobile phone APP can be added to realize the function of simultaneously interacting with the mobile phone for the multiple bluetooth headsets.
Step 302: sending a first working state control instruction to the first Bluetooth headset through a control channel corresponding to the first Bluetooth headset;
the first working state control instruction is used for controlling a microphone of the Bluetooth headset to be in a working state, and the loudspeaker is in a non-working state;
step 303: receiving voice data sent by a first Bluetooth headset through a data channel corresponding to the first Bluetooth headset;
step 304: sending a second working state control instruction to the second Bluetooth headset through a control channel corresponding to the second Bluetooth headset;
the second working state control instruction is used for controlling a microphone of the Bluetooth headset to be in a non-working state, and the loudspeaker is in a working state;
step 305: and sending the received voice data to a second Bluetooth headset through a data channel corresponding to the second Bluetooth headset.
The timing chart of the voice data interaction method shown in the above steps 301 to 305 can be as shown in fig. 4. In fig. 4, the APP installed in the android platform-based mobile phone needs to interact with two bluetooth headsets respectively, and each time the APP interacts with one bluetooth headset, two serial ports need to be selected from the RFCOMN protocol, and two channels/channels (control channel and data channel) are established, so that the channel 1, the channel 2, the channel 3, and the channel 4 are referred to in fig. 4, the MIC is a microphone, and the SPK is a speaker.
The above steps 302 to 305 complete the transmission of the voice data from the first bluetooth headset to the second bluetooth headset, and in order to implement the transmission of the voice data from the second bluetooth headset to the first bluetooth headset, the method further includes the following steps 306 to 309:
step 306: sending a first working state control instruction to a second Bluetooth headset through a control channel corresponding to the second Bluetooth headset;
step 307: receiving voice data sent by a second Bluetooth headset through a data channel corresponding to the second Bluetooth headset;
step 308: sending a second working state control instruction to the first Bluetooth headset through a control channel corresponding to the first Bluetooth headset;
step 309: and sending the received voice data to the first Bluetooth headset through a data channel corresponding to the first Bluetooth headset.
The above steps 306 to 309 are similar to the above steps 302 to 305, except that the flow direction of the control command and the voice data is different, and are not described herein again.
The voice data interaction between the dual bluetooth headset and the mobile phone realized in the above steps 302 to 309 is similar to half duplex communication in communication. If the bluetooth headset still needs to perform voice data with the mobile phone after the steps 302 to 309 are performed once, the steps 302 to 305 may be performed again, or the steps 302 to 309 may be performed again, so that the voice data interaction may be completed by performing the steps 302 to 309 again.
In the voice data interaction flow shown in fig. 3, the mobile phone does not process the received voice signal, and in some cases, the received voice signal needs to be processed to meet the requirements of a specific use scenario, for example, the received voice signal needs to be interpreted, or the received voice signal needs to be subjected to a sound change process, and so on. A voice data interactive method including processing a voice signal will be described below with reference to the voice data interactive method shown in fig. 5.
As shown in fig. 5, it is a second flowchart of a voice data interaction method provided in the embodiment of the present application, and includes the following steps:
step 501: after determining that voice data interaction needs to be carried out with a first Bluetooth headset and at least one second Bluetooth headset simultaneously, the mobile phone establishes a control channel and a data channel between the mobile phone and the first Bluetooth headset and a control channel and a data channel between the mobile phone and the second Bluetooth headset;
step 502: sending a first working state control instruction to the first Bluetooth headset through a control channel corresponding to the first Bluetooth headset;
step 503: receiving voice data sent by a first Bluetooth headset through a data channel corresponding to the first Bluetooth headset;
step 504: processing the received voice data signal to obtain a processed voice data signal;
the processing may specifically be determined according to a usage scenario, for example, in a simultaneous interpretation scenario, specifically, the processing may be a translation processing, and in this case, this step 504 specifically includes: and translating the received voice data signal to obtain a translated voice data signal.
The language of the specific translation may be set in advance.
To facilitate the translation according to the actual requirement, preferably, before receiving the voice data signal, the method further comprises:
receiving language information corresponding to the first Bluetooth headset and language information corresponding to the second Bluetooth headset;
at this time, the step 504 specifically includes:
and translating the received voice data signal with the language information corresponding to the first Bluetooth headset into the voice data signal with the language information corresponding to the second Bluetooth headset.
The specific translation process may be: the mobile phone is connected with the network cloud server for voice recognition, the mobile phone is translated into text information of which the language information is the language information corresponding to the second Bluetooth headset, the obtained text information is converted into voice signals, and then the voice signals are sent to the mobile phone.
Step 505: sending a second working state control instruction to the second Bluetooth headset through a control channel corresponding to the second Bluetooth headset;
step 506: and sending the processed voice data signal to a second Bluetooth earphone through a data channel corresponding to the second Bluetooth earphone.
Similarly, when the mobile phone receives the voice signal of the second bluetooth headset, the received voice signal from the second bluetooth headset may also be processed, for example, translated, and details are not repeated here.
As shown in fig. 6, a third flowchart of a voice data interaction method provided in the embodiment of the present application is described from a bluetooth headset side, and includes the following steps:
step 601: after determining that voice data interaction is required to be simultaneously carried out on the Bluetooth headset and one or more other Bluetooth headsets through the mobile phone, the Bluetooth headset establishes a control channel and a data channel with the mobile phone;
preferably, the determining by the bluetooth headset that voice data interaction needs to be performed simultaneously with one or more other bluetooth headsets via the mobile phone may include:
receiving a voice interaction trigger signal input by a user;
determining that a simultaneous voice data interaction with the first Bluetooth headset and the at least one second Bluetooth headset is required based on the received voice interaction trigger signal.
Here, the mobile phone may also receive a voice interaction trigger signal input by the user, and then send the received voice interaction trigger signal to the bluetooth headset.
Step 602: receiving a working state control instruction sent by the mobile phone through the control channel;
the working state control instruction is a first working state control instruction or a second working state control instruction, the first working state control instruction is used for controlling a microphone of the Bluetooth headset to be in a working state, the loudspeaker is in an out-of-work state, the second working state control instruction is used for controlling the microphone of the Bluetooth headset to be in an out-of-work state, and the loudspeaker is in a working state;
step 603: controlling the working states of the microphone and the loudspeaker according to the received working state control instruction;
step 604: receiving voice data input by a user;
step 605: and sending the received voice data to the mobile phone through the data channel.
In the scheme of the embodiment of the application, as the control channel and the data channel between the mobile phone based on the android platform and the first Bluetooth headset and the control channel and the data channel between the mobile phone based on the android platform and at least one second Bluetooth are established, the control instruction and the voice data are transmitted through the channels, and the voice data interaction is realized among the plurality of Bluetooth headsets in a half-duplex mode on the basis that the mobile phone is used as a medium.
Based on the same inventive concept, the embodiment of the present application further provides two voice data interaction apparatuses, and specific implementation details thereof can refer to the above voice data interaction method, which is described below:
as shown in fig. 7, which is a schematic structural diagram of a voice data interaction apparatus provided in an embodiment of the present application, the voice data interaction apparatus includes:
a determining unit 71, configured to determine that the android platform-based device needs to perform voice data interaction with the first bluetooth headset and the at least one second bluetooth headset simultaneously;
a channel establishing unit 72, configured to establish a control channel and a data channel between the android platform-based device and the first bluetooth headset and a control channel and a data channel between the android platform-based device and the second bluetooth headset after the determining unit determines that the voice data interaction is required;
a first control instruction sending unit 73, configured to send a first working state control instruction to the first bluetooth headset through a control channel corresponding to the first bluetooth headset, where the first working state control instruction is used to control a microphone of the bluetooth headset to be in a working state, and a speaker of the bluetooth headset to be in a non-working state;
a voice data receiving unit 74, configured to receive voice data sent by the first bluetooth headset through a data channel corresponding to the first bluetooth headset;
a second control instruction sending unit 75, configured to send a second working state control instruction to the second bluetooth headset through a control channel corresponding to the second bluetooth headset, where the second working state control instruction is used to control a microphone of the bluetooth headset to be in a non-working state, and a speaker of the bluetooth headset to be in a working state;
a voice data transmitting unit 76 for transmitting the received voice data to the second bluetooth headset through a data channel corresponding to the second bluetooth headset.
Preferably, the apparatus further comprises:
a voice data processing unit 77, configured to process the voice data signal received by the voice data receiving unit to obtain a processed voice data signal before the second control instruction sending unit sends the second operating state control instruction to the second bluetooth headset through the control channel corresponding to the second bluetooth headset after the voice data receiving unit receives the voice data sent by the first bluetooth headset through the data channel corresponding to the first bluetooth headset;
the voice data sending unit 76 is specifically configured to send the processed voice data signal to the second bluetooth headset through a data channel corresponding to the second bluetooth headset.
Preferably, the voice data processing unit 77 is specifically configured to translate the voice data signal received by the voice data receiving unit to obtain a translated voice data signal.
Preferably, the apparatus further comprises: a language information receiving unit 78, configured to receive language information corresponding to the first bluetooth headset and language information corresponding to the second bluetooth headset before the voice data processing unit translates the received voice data signal to obtain a translated voice data signal;
the voice data processing unit 77 is specifically configured to translate the received voice data signal with the language information corresponding to the first bluetooth headset into the voice data signal with the language information corresponding to the second bluetooth headset.
Preferably, the first control instruction sending unit 73 is further configured to send a first working state control instruction to the second bluetooth headset through a control channel corresponding to the second bluetooth headset;
the voice data receiving unit 74 is further configured to receive voice data sent by the second bluetooth headset through a data channel corresponding to the second bluetooth headset;
the second control instruction sending unit 75 is further configured to send a second working state control instruction to the first bluetooth headset through a control channel corresponding to the first bluetooth headset;
the voice data sending unit 76 is further configured to send the received voice data to the first bluetooth headset through a data channel corresponding to the first bluetooth headset.
Preferably, the determining unit 71 is specifically configured to receive a voice interaction trigger signal sent by the first bluetooth headset and/or any one of the second bluetooth headsets; determining that a simultaneous voice data interaction with the first Bluetooth headset and the at least one second Bluetooth headset is required based on the received voice interaction trigger signal.
As shown in fig. 8, a second schematic structural diagram of a voice data interaction device according to an embodiment of the present application is shown, which includes:
a determining unit 81, configured to determine that voice data interaction needs to be performed simultaneously with another one or more bluetooth headsets through the android platform based device;
the channel establishing unit 82 is configured to establish a control channel and a data channel with the android platform based device after the determining unit determines to perform the voice data interaction;
a control instruction receiving unit 83, configured to receive an operating state control instruction sent by the android platform-based device through the control channel, where the operating state control instruction is a first operating state control instruction or a second operating state control instruction, the first operating state control instruction is used to control a microphone of a bluetooth headset to be in an operating state, and a speaker of the bluetooth headset to be in an operating state, the second operating state control instruction is used to control the microphone of the bluetooth headset to be in an operating state, and the speaker of the bluetooth headset to be in an operating state;
the control unit 84 is used for controlling the working states of the microphone and the loudspeaker according to the working state control instruction received by the control instruction receiving unit;
a voice data receiving unit 85 that receives voice data input by a user;
and a voice data sending unit 86, configured to send the received voice data to the android platform based device through the data channel.
The determining unit 81 is specifically configured to determine that voice data interaction needs to be performed simultaneously with the first bluetooth headset and the at least one second bluetooth headset based on the received voice interaction trigger signal.
Through the above description of the embodiments, it is clear to those skilled in the art that the embodiments of the present application may be implemented by hardware, or by software plus a necessary general hardware platform. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments of the present application.
Those skilled in the art will appreciate that the drawings are merely schematic representations of one preferred embodiment and that the blocks or flow diagrams in the drawings are not necessarily required to practice the present application.
Those skilled in the art can understand that the modules in the terminal in the embodiment can be distributed in the terminal in the embodiment according to the description of the embodiment, and can also be located in one or more terminals different from the embodiment with corresponding changes. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (16)

1. A voice data interaction method, comprising:
after determining that voice data interaction needs to be simultaneously carried out with a first Bluetooth headset and at least one second Bluetooth headset, the android platform-based device establishes a control channel and a data channel between the android platform-based device and the first Bluetooth headset and a control channel and a data channel between the android platform-based device and the second Bluetooth headset, wherein the control channel and the data channel are established on the basis of modification of a serial cable emulation protocol of the Bluetooth headset;
the first private protocol of the first Bluetooth headset is used for controlling voice communication, and the second private protocol of the first Bluetooth headset is used for realizing voice data communication between the first Bluetooth headset and the android platform-based device; the first private protocol of the second Bluetooth headset is used for controlling voice communication, and the second private protocol of the second Bluetooth headset is used for realizing voice data communication between the second Bluetooth headset and the android platform-based device;
sending a first working state control instruction to the first Bluetooth headset through a control channel corresponding to the first Bluetooth headset, wherein the first working state control instruction is used for controlling a microphone of the Bluetooth headset to be in a working state and a loudspeaker to be in an out-of-work state;
receiving voice data sent by a first Bluetooth headset through a data channel corresponding to the first Bluetooth headset;
sending a second working state control instruction to the second Bluetooth headset through a control channel corresponding to the second Bluetooth headset, wherein the second working state control instruction is used for controlling a microphone of the Bluetooth headset to be in a non-working state and a loudspeaker to be in a working state;
and sending the received voice data to a second Bluetooth headset through a data channel corresponding to the second Bluetooth headset.
2. The method of claim 1, wherein after receiving the voice data transmitted by the first bluetooth headset via the data channel corresponding to the first bluetooth headset, and before transmitting the second operating state control command to the second bluetooth headset via the control channel corresponding to the second bluetooth headset, the method further comprises:
processing the received voice data signal to obtain a processed voice data signal;
the sending the received voice data to the second bluetooth headset through the data channel corresponding to the second bluetooth headset specifically includes:
and sending the processed voice data signal to a second Bluetooth earphone through a data channel corresponding to the second Bluetooth earphone.
3. The method of claim 2, wherein processing the received voice data signal to obtain a processed voice data signal, comprises:
and translating the received voice data signal to obtain a translated voice data signal.
4. The method of claim 3, wherein prior to translating the received voice data signal to obtain the translated voice data signal, the method further comprises:
receiving language information corresponding to the first Bluetooth headset and language information corresponding to the second Bluetooth headset;
the translating the received voice data signal specifically includes:
and translating the received voice data signal with the language information corresponding to the first Bluetooth headset into the voice data signal with the language information corresponding to the second Bluetooth headset.
5. The method of any of claims 1-4, wherein the method further comprises:
sending a first working state control instruction to a second Bluetooth headset through a control channel corresponding to the second Bluetooth headset;
receiving voice data sent by a second Bluetooth headset through a data channel corresponding to the second Bluetooth headset;
sending a second working state control instruction to the first Bluetooth headset through a control channel corresponding to the first Bluetooth headset;
and sending the received voice data to the first Bluetooth headset through a data channel corresponding to the first Bluetooth headset.
6. The method of claim 1, wherein determining that a simultaneous voice data interaction with a first bluetooth headset and at least one second bluetooth headset is required by the android platform-based device comprises:
the method comprises the steps that a device based on an android platform receives a voice interaction trigger signal sent by a first Bluetooth headset and/or any second Bluetooth headset;
determining that a simultaneous voice data interaction with the first Bluetooth headset and the at least one second Bluetooth headset is required based on the received voice interaction trigger signal.
7. A voice data interaction method, comprising:
after determining that voice data interaction is required to be simultaneously carried out on the Bluetooth headset and one or more other Bluetooth headsets through the android platform-based device, establishing a control channel and a data channel between the Bluetooth headset and the android platform-based device, wherein the control channel and the data channel are established on the basis of modifying a serial cable simulation protocol of the Bluetooth headset;
the first private protocol of the first Bluetooth headset is used for controlling voice communication, and the second private protocol of the first Bluetooth headset is used for realizing voice data communication between the first Bluetooth headset and the android platform-based device; the first private protocol of the second Bluetooth headset is used for controlling voice communication, and the second private protocol of the second Bluetooth headset is used for realizing voice data communication between the second Bluetooth headset and the android platform-based device;
receiving a working state control instruction sent by the android platform-based device through the control channel, wherein the working state control instruction is a first working state control instruction or a second working state control instruction, the first working state control instruction is used for controlling a microphone of the Bluetooth headset to be in a working state, a loudspeaker to be in an out-of-work state, the second working state control instruction is used for controlling the microphone of the Bluetooth headset to be in an out-of-work state, and the loudspeaker to be in a working state;
controlling the working states of the microphone and the loudspeaker according to the received working state control instruction;
receiving voice data input by a user;
and sending the received voice data to the android platform based device through the data channel.
8. The method of claim 7, wherein the determining that voice data interaction with another one or more bluetooth headsets via an android platform based device is required by a bluetooth headset comprises:
receiving a voice interaction trigger signal input by a user;
determining that a simultaneous voice data interaction with the first Bluetooth headset and the at least one second Bluetooth headset is required based on the received voice interaction trigger signal.
9. A voice data interaction device, comprising:
the device comprises a determining unit, a processing unit and a processing unit, wherein the determining unit is used for determining that the android platform-based device needs to perform voice data interaction with a first Bluetooth headset and at least one second Bluetooth headset simultaneously, and a control channel and a data channel are established on the basis of modifying a serial cable emulation protocol of the Bluetooth headsets; the first private protocol of the first Bluetooth headset is used for controlling voice communication, and the second private protocol of the first Bluetooth headset is used for realizing voice data communication between the first Bluetooth headset and the android platform-based device; the first private protocol of the second Bluetooth headset is used for controlling voice communication, and the second private protocol of the second Bluetooth headset is used for realizing voice data communication between the second Bluetooth headset and the android platform-based device;
the channel establishing unit is used for establishing a control channel and a data channel between the android platform-based device and the first Bluetooth headset and a control channel and a data channel between the android platform-based device and the second Bluetooth headset after the determining unit determines that the voice data interaction is required;
the first control instruction sending unit is used for sending a first working state control instruction to the first Bluetooth headset through a control channel corresponding to the first Bluetooth headset, wherein the first working state control instruction is used for controlling a microphone of the Bluetooth headset to be in a working state, and a loudspeaker is in a non-working state;
the voice data receiving unit is used for receiving voice data sent by the first Bluetooth headset through a data channel corresponding to the first Bluetooth headset;
the second control instruction sending unit is used for sending a second working state control instruction to the second Bluetooth headset through a control channel corresponding to the second Bluetooth headset, wherein the second working state control instruction is used for controlling a microphone of the Bluetooth headset to be in a non-working state, and a loudspeaker to be in a working state;
and the voice data sending unit is used for sending the received voice data to the second Bluetooth earphone through a data channel corresponding to the second Bluetooth earphone.
10. The apparatus of claim 9, wherein the apparatus further comprises:
the voice data processing unit is used for processing the voice data signals received by the voice data receiving unit to obtain processed voice data signals before the second control instruction sending unit sends a second working state control instruction to the second Bluetooth earphone through the control channel corresponding to the second Bluetooth earphone after the voice data receiving unit receives the voice data sent by the first Bluetooth earphone through the data channel corresponding to the first Bluetooth earphone;
the voice data sending unit is specifically configured to send the processed voice data signal to the second bluetooth headset through a data channel corresponding to the second bluetooth headset.
11. The apparatus according to claim 10, wherein the speech data processing unit is configured to translate the speech data signal received by the speech data receiving unit to obtain a translated speech data signal.
12. The apparatus of claim 11, wherein the apparatus further comprises: a language information receiving unit, configured to receive language information corresponding to the first bluetooth headset and language information corresponding to the second bluetooth headset before the voice data processing unit translates the received voice data signal to obtain a translated voice data signal;
the voice data processing unit is specifically configured to translate the received voice data signal with the language information corresponding to the first bluetooth headset into the voice data signal with the language information corresponding to the second bluetooth headset.
13. The apparatus according to any of claims 9-12, wherein the first control instruction sending unit is further configured to send the first operating state control instruction to the second bluetooth headset via a control channel corresponding to the second bluetooth headset;
the voice data receiving unit is also used for receiving voice data sent by the second Bluetooth earphone through a data channel corresponding to the second Bluetooth earphone;
the second control instruction sending unit is also used for sending a second working state control instruction to the first Bluetooth headset through a control channel corresponding to the first Bluetooth headset;
the voice data sending unit is further configured to send the received voice data to the first bluetooth headset through a data channel corresponding to the first bluetooth headset.
14. The apparatus according to claim 9, wherein the determining unit is specifically configured to receive a voice interaction trigger signal sent by the first bluetooth headset and/or any second bluetooth headset; determining that a simultaneous voice data interaction with the first Bluetooth headset and the at least one second Bluetooth headset is required based on the received voice interaction trigger signal.
15. A voice data interaction device, comprising:
the device comprises a determining unit, a processing unit and a processing unit, wherein the determining unit is used for determining that voice data interaction is required to be simultaneously carried out with one or more other Bluetooth headsets through an android platform-based device;
the channel establishing unit is used for establishing a control channel and a data channel between the device based on the android platform and the device based on the android platform after the voice data interaction is determined by the determining unit, wherein the control channel and the data channel are established on the basis of modifying a serial cable simulation protocol of a Bluetooth headset; the first private protocol of the first Bluetooth headset is used for controlling voice communication, and the second private protocol of the first Bluetooth headset is used for realizing voice data communication between the first Bluetooth headset and the android platform-based device; the first private protocol of the second Bluetooth headset is used for controlling voice communication, and the second private protocol of the second Bluetooth headset is used for realizing voice data communication between the second Bluetooth headset and the android platform-based device;
the control instruction receiving unit is used for receiving a working state control instruction sent by the android platform-based device through the control channel, wherein the working state control instruction is a first working state control instruction or a second working state control instruction, the first working state control instruction is used for controlling a microphone of the Bluetooth headset to be in a working state, a loudspeaker is in a non-working state, the second working state control instruction is used for controlling the microphone of the Bluetooth headset to be in a non-working state, and the loudspeaker is in a working state;
the control unit is used for controlling the working states of the microphone and the loudspeaker according to the working state control instruction received by the control instruction receiving unit;
a voice data receiving unit receiving voice data input by a user;
and the voice data sending unit is used for sending the received voice data to the android platform-based device through the data channel.
16. The apparatus of claim 15, wherein the voice data interaction means further comprises: a trigger signal receiving unit;
the trigger signal receiving unit is used for receiving a voice interaction trigger signal input by a user;
the determining unit is specifically configured to determine that voice data interaction needs to be performed simultaneously with the first bluetooth headset and the at least one second bluetooth headset based on the received voice interaction trigger signal.
CN201710134633.5A 2017-03-08 2017-03-08 Voice data interaction method and device Expired - Fee Related CN106911857B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710134633.5A CN106911857B (en) 2017-03-08 2017-03-08 Voice data interaction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710134633.5A CN106911857B (en) 2017-03-08 2017-03-08 Voice data interaction method and device

Publications (2)

Publication Number Publication Date
CN106911857A CN106911857A (en) 2017-06-30
CN106911857B true CN106911857B (en) 2020-06-12

Family

ID=59186923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710134633.5A Expired - Fee Related CN106911857B (en) 2017-03-08 2017-03-08 Voice data interaction method and device

Country Status (1)

Country Link
CN (1) CN106911857B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107708006B (en) * 2017-08-23 2020-08-28 广东思派康电子科技有限公司 Computer-readable storage medium, real-time translation system
WO2019084962A1 (en) * 2017-11-06 2019-05-09 深圳市沃特沃德股份有限公司 Speech-to-speech translation method and apparatus, and translating machine
CN107885731A (en) * 2017-11-06 2018-04-06 深圳市沃特沃德股份有限公司 Voice translation method and device
CN107885732A (en) * 2017-11-08 2018-04-06 深圳市沃特沃德股份有限公司 Voice translation method, system and device
CN109963354B (en) * 2017-12-26 2021-10-26 新智数字科技有限公司 Intelligent terminal data transmission method and transmission system
CN109121123A (en) * 2018-07-03 2019-01-01 Oppo广东移动通信有限公司 Information processing method and related product
CN109218883A (en) * 2018-08-27 2019-01-15 深圳市声临科技有限公司 A kind of interpretation method, translation system, TWS earphone and terminal
CN109195055B (en) * 2018-11-09 2021-04-02 歌尔股份有限公司 Wireless earphone, TWS earphone and Bluetooth connection method
CN112913321B (en) * 2018-12-07 2022-12-27 华为技术有限公司 Method, equipment and system for carrying out call by using Bluetooth headset
CN112312368A (en) * 2019-08-01 2021-02-02 阿里巴巴集团控股有限公司 Data processing method, device, equipment and storage medium
CN112090061B (en) * 2020-09-16 2021-04-27 深圳未来游戏设备科技有限公司 Game peripheral mode adjusting method aiming at Bluetooth communication protocol
CN112509569B (en) * 2020-11-24 2022-05-17 北京百度网讯科技有限公司 Voice data processing method and device, electronic equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150021707A (en) * 2013-08-21 2015-03-03 삼성전기주식회사 Simultaneity interpreting terminal
CN204906681U (en) * 2015-06-26 2015-12-23 苏州优函信息科技有限公司 Many headsets interpretation device
CN205092951U (en) * 2015-11-16 2016-03-16 北京祥雍智杰科技有限公司 Mike's earplug device has been embedded
CN106060272A (en) * 2016-07-12 2016-10-26 魏喜国 Bilingual instant translation device taking smart phone as carrier
CN106412813A (en) * 2016-11-30 2017-02-15 深圳市高为通信技术有限公司 Real-time communication translation method with bluetooth headsets

Also Published As

Publication number Publication date
CN106911857A (en) 2017-06-30

Similar Documents

Publication Publication Date Title
CN106911857B (en) Voice data interaction method and device
EP3629561B1 (en) Data transmission method and system, and bluetooth headphone
US20210218785A1 (en) System for audio communication using LTE
EP3790291A1 (en) Wireless earphones communication method, master earphone, slave earphone, and earphones system
CN108419226B (en) Method for connecting Bluetooth devices and Bluetooth devices
CN103686516A (en) Bluetooth headset capable of sharing audios and control method thereof
US8363844B2 (en) Contextual audio switching for a USB controlled audio device
CN105763213A (en) Wireless Headset System With Two Different Radio Protocols
CN112055349B (en) Wireless communication method and Bluetooth device
WO2016153681A1 (en) Systems and methods for audio streaming
CN112055280B (en) Wireless communication method for earphone and intelligent devices and wireless earphone assembly
CN110234045A (en) To be wirelessly connected the bluetooth headset of ears
CN111294777A (en) Control method and communication method of Bluetooth audio transmitter
CN104184499A (en) Bluetooth device control method, device and system
TWI718367B (en) Multi-connection device and multi-connection method
US20230367817A1 (en) Real-time voice processing
CN103166935A (en) Method and device for realizing near field communication
EP3063958B1 (en) A method of extending an intercom communication range and device thereof
KR101820369B1 (en) Bluetooth Communication Method Of Smartphone To A Headset
CN105872882A (en) Method and terminal for matched connection of Bluetooth earphones and Bluetooth earphones
CN113472379B (en) Intercommunication method, earphone box, earphone and storage medium
US11665473B2 (en) Transmitting microphone audio from two or more audio output devices to a source device
WO2023283909A1 (en) Communication method, system and apparatus, and storage medium
CN116033404B (en) Multi-path Bluetooth-linked hybrid communication system and method
KR20150142410A (en) Apparatus and method for servicing conference call based on bluetooth

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200612