CN106911857A - A kind of speech data exchange method and device - Google Patents

A kind of speech data exchange method and device Download PDF

Info

Publication number
CN106911857A
CN106911857A CN201710134633.5A CN201710134633A CN106911857A CN 106911857 A CN106911857 A CN 106911857A CN 201710134633 A CN201710134633 A CN 201710134633A CN 106911857 A CN106911857 A CN 106911857A
Authority
CN
China
Prior art keywords
bluetooth earphone
speech data
bluetooth
data
channel
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
CN201710134633.5A
Other languages
Chinese (zh)
Other versions
CN106911857B (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 Cloud Era Information Technology Co Ltd
Original Assignee
Qingdao Cloud Era 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 Cloud Era Information Technology Co Ltd filed Critical Qingdao Cloud Era 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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the present application provides a kind of speech data exchange method and device, is used to solve the problems, such as to be realized present in prior art device and at least two bluetooth earphones based on Android platform while carrying out data interaction.Method includes:Set up respectively and control channel and data channel between the first bluetooth earphone and the second bluetooth earphone;Control the microphone of the first bluetooth earphone in running order by control channel, loudspeaker are in off position;The speech data sent by the bluetooth earphone of data channel reception first;Control the microphone of the second bluetooth earphone in running order by control channel, loudspeaker are in off position;The speech data of reception is sent to the second bluetooth earphone by data channel.Due to establishing the control channel between bluetooth earphone and data channel, instruction and the transmission of speech data are controlled by these channels afterwards, realize device and at least two bluetooth earphones based on Android platform while carrying out data interaction.

Description

A kind of speech data exchange method and device
Technical field
The application is related to communication technical field, more particularly to a kind of speech data exchange method and device.
Background technology
Existing Android (Android) platform only supports the scheme connected with a BT (Blue Tooth, bluetooth earphone), i.e., Can only support that single bluetooth earphone carries out the situation that speech data is interacted with the device (such as mobile phone) based on Android platform.Tool The data interaction scheme of body is as shown in figure 1, bluetooth earphone is based on traditional bluetooth protocol repertory HFP/HSP (Hands-free Profile, handsfree protocol/Head-set Profile, headset profile) and A2DP (AdvanceAudio Distribution Profile, Bluetooth stereo message host-host protocol).This is Android platform setting problem in itself.
However, increasing usage scenario needs the device based on Android platform to support and at least two bluetooth ears Machine is while interactive voice information.For example, as the mobile phone A PP (Application, third-party application journey that are based on Android platform Sequence) support voiced translation function when, it is necessary to two users for wearing earphone carry out the situation of the exchange between different language.Cause This, needing badly will provide a kind of speech data exchange method, to realize that at least two bluetooth earphones are needed simultaneously with based on Android The device (such as mobile phone) of platform interacts data.
The content of the invention
The embodiment of the present application provides a kind of speech data exchange method and device, is used to solve nothing present in prior art Method realizes that device and at least two bluetooth earphones based on Android platform carry out the problem of data interaction simultaneously.
A kind of speech data exchange method, including:
Device based on Android platform determines to need to enter simultaneously with the first bluetooth earphone and at least one second bluetooth earphones After the interaction of row speech data, set up and control channel and data channel between first bluetooth earphone, and with described second Control channel and data channel between bluetooth earphone;
The first working state control is sent by control channel corresponding with the first bluetooth earphone to the first bluetooth earphone to refer to Order, first working state control is instructed for controlling the microphone of bluetooth earphone in running order, and loudspeaker are in not work Make state;
The speech data sent by the bluetooth earphone of data channel reception first corresponding with the first bluetooth earphone;
The second working state control is sent by control channel corresponding with the second bluetooth earphone to the second bluetooth earphone to refer to Order, second working state control is instructed for controlling the microphone of bluetooth earphone to be in off position, and loudspeaker are in work Make state;
The speech data for receiving is sent to the second bluetooth ear by data channel corresponding with the second bluetooth earphone Machine.
A kind of speech data exchange method, including:
Bluetooth earphone is it is determined that need to be carried out with another one or more bluetooth earphones by the device based on Android platform simultaneously After speech data interaction, set up and control channel and data channel between the device based on Android platform;
The device based on Android platform is received to be instructed by the working state control that the control channel sends, its In, the working state control instruction is the instruction of the first working state control or the instruction of the second working state control, described first Working state control is instructed for controlling the microphone of bluetooth earphone in running order, and loudspeaker are in off position, described Second working state control is instructed for controlling the microphone of bluetooth earphone to be in off position, and loudspeaker are in running order;
Working state control instruction according to receiving is controlled to the working condition of microphone and loudspeaker;
Receive the speech data of user input;
The speech data of reception is sent to the device based on Android platform by the data channel.
A kind of speech data interactive device, including:
Determining unit, for determining that it is blue with the first bluetooth earphone and at least one second that the device based on Android platform needs Tooth earphone carries out speech data interaction simultaneously;
Channel sets up unit, for after determining unit determines to need to carry out the speech data interaction, setting up the base Control channel and data channel between the device and first bluetooth earphone of Android platform, and with the second bluetooth ear Control channel and data channel between machine;
First control instruction transmitting element, for by control channel corresponding with the first bluetooth earphone to the first bluetooth ear Machine sends the instruction of the first working state control, and first working state control is instructed at the microphone for controlling bluetooth earphone In working condition, loudspeaker are in off position;
Speech data receiving unit, for by the bluetooth earphone of data channel reception first corresponding with the first bluetooth earphone The speech data of transmission;
Second control instruction transmitting element, for by control channel corresponding with the second bluetooth earphone to the second bluetooth ear Machine sends the instruction of the second working state control, and second working state control is instructed at the microphone for controlling bluetooth earphone In off position, loudspeaker are in running order;
Speech data transmitting element, for the voice that will be received by data channel corresponding with the second bluetooth earphone Data is activation is to the second bluetooth earphone.
A kind of speech data interactive device, including:
Determining unit, for determining to need to enter with another one or more bluetooth earphones by the device based on Android platform simultaneously Row speech data is interacted;
Channel sets up unit, for after determining unit determines to carry out the speech data interaction, foundation to be based on described Control channel and data channel between the device of Android platform;
Control instruction receiving unit, for receiving what the device based on Android platform was sent by the control channel Working state control is instructed, wherein, the working state control instruction is the instruction of the first working state control or the second work shape State control instruction, first working state control is instructed for controlling the microphone of bluetooth earphone in running order, loudspeaker In off position, second working state control is instructed for controlling the microphone of bluetooth earphone to be in the shape that do not work State, loudspeaker are in running order;
Control unit, for the working state control instruction that is received according to the control instruction receiving unit to microphone and The working condition of loudspeaker is controlled;
Speech data receiving unit, receives the speech data of user input;
Speech data transmitting element, for the speech data of reception to be sent to described based on peace by the data channel The device of Zhuo Pingtai.
Beneficial effect:
In the scheme of the embodiment of the present application, due to establishing between the device based on Android platform and the first bluetooth earphone Control channel and data channel, and with the control channel and data channel between at least one second bluetooths, afterwards by this A little channels are controlled instruction and the transmission of speech data, realize device and at least two bluetooth earphones based on Android platform Carry out data interaction simultaneously.
Brief description of the drawings
Fig. 1 is that the bluetooth earphone of offer in the application background technology interacts schematic diagram with data in mobile phone;
The structural representation of the speech data interactive system that Fig. 2 is provided for the embodiment of the present application;
One of flow chart of speech data exchange method that Fig. 3 the embodiment of the present application is provided;
Fig. 4 time diagram of the speech data exchange method of the embodiment of the present application offer;
The two of the flow chart of the speech data exchange method that Fig. 5 is provided for the embodiment of the present application;
The three of the flow chart of the speech data exchange method that Fig. 6 is provided for the embodiment of the present application;
One of structural representation of speech data interactive device that Fig. 7 is provided for the embodiment of the present application;
The two of the structural representation of the speech data interactive device that Fig. 8 is provided for the embodiment of the present application.
Specific embodiment
In order to solve existing can only to support that single bluetooth earphone carries out language with based on the device (such as mobile phone) of Android platform The problem of sound data interaction, the embodiment of the present application provides a kind of speech data exchange method and device.
The preferred embodiment of the application is illustrated below in conjunction with Figure of description, it will be appreciated that described herein Preferred embodiment is merely to illustrate and explains the application, is not used to limit the application.And in the case where not conflicting, this Shen Please in embodiment and the feature in embodiment can be mutually combined.
Below in conjunction with the accompanying drawings, so that the device based on Android platform is mobile phone as an example, the application is provided with specific embodiment Method and device be described in detail.Certainly, the device based on Android platform can also be PAD, if device use it is flat Platform is Android platform.
As shown in Fig. 2 it shows for that can implement the structure of the speech data interactive system of the method that the embodiment of the present application is provided It is intended to.System includes:First bluetooth earphone 21, the bluetooth earphone 23 of mobile phone 22 and at least one second;Wherein, the first bluetooth earphone 21st, at least one second bluetooth earphones can and mobile phone matched.
As shown in figure 3, one of its flow chart of speech data exchange method provided for the embodiment of the present application, including it is following Step:
Step 301:Mobile phone determines to need to carry out voice simultaneously with the first bluetooth earphone and at least one second bluetooth earphones After data interaction, set up and first bluetooth earphone between control channel and data channel, and with the second bluetooth ear Control channel and data channel between machine;
Here, mobile phone determines to need to carry out speech data simultaneously with the first bluetooth earphone and at least one second bluetooth earphones Interaction is specifically as follows:
Mobile phone receives the interactive voice trigger signal that the first bluetooth earphone and/or any second bluetooth earphone send;
Determine to need and the first bluetooth earphone and at least one second bluetooth ears based on the interactive voice trigger signal for receiving Machine carries out speech data interaction simultaneously.
Can also be specifically:Mobile phone receives the interactive voice trigger signal that user is input into by mobile phone A PP, based on what is received Interactive voice trigger signal determines to need to carry out speech data simultaneously with the first bluetooth earphone and at least one second bluetooth earphones Interaction.
Matched in multiple bluetooth earphones based on mobile phone and determined to need and multiple earphones between while carrying out voice After interaction, the control channel and data channel that can be set up between mobile phone as shown in Figure 2 and the first bluetooth earphone, and mobile phone And the second control channel and data channel between bluetooth earphone.
Specific mobile phone sets up corresponding control channel sum with the first bluetooth earphone and the second bluetooth earphone by interaction It is believed that road.
Control channel and data channel between the mobile phone of foundation and the first bluetooth earphone, as with the first bluetooth earphone pair The control channel answered, and data channel corresponding with the first bluetooth earphone;
Control channel and data channel between the mobile phone of foundation and the second bluetooth earphone, as with the second bluetooth earphone pair The control channel answered, and data channel corresponding with the second bluetooth earphone.
Specifically, the foundation of control channel and data channel here, is repaiied based on the underlying protocol to bluetooth earphone Change, increase by two proprietary protocols and communicated with mobile phone for bluetooth earphone, reach at least two bluetooth earphones and handed over by mobile phone The purpose of mutual voice messaging.
First proprietary protocol of the first bluetooth earphone communicates for control voice, and the Article 2 of the first bluetooth earphone is privately owned Agreement is used for realizing that the first bluetooth earphone carries out voice data communication with mobile phone A PP;Similarly, first private of the second bluetooth earphone There is agreement to be communicated for control voice, the Article 2 proprietary protocol of the second bluetooth earphone is used for realizing the second bluetooth earphone and mobile phone APP carries out voice data communication.
It is feasible above by increasing the communication of proprietary protocol control voice and carrying out voice data communication, because: RFCOMM (serial cable simulation protocol) is a simple agreement, wherein addition of part for the emulation of 9 pin RS-232 serial ports Clause.Can support between two bluetooth equipments while being maintained for up to the communication connection on 60 tunnels.The purpose of RFCOMM be directed to as Where a complete communication path is ensured between the application on two distinct devices.
Also, RFCOMM in bluetooth protocol repertory, for the tradition application set up on serial ports provides environmental interface so that can Can just be worked on Bluetooth wireless communication Radio Link with comparing few protocol change.Multi-channel serial port emulation is the weight of RFCOMM Function is wanted, by multiplexer (multiplexer), L2CAP (logical link control and adaptation protocol) link can be with While multiple serial applications.
There is the above-mentioned explanation to RFCOMM to understand that the protocol characteristic based on RFCOMM can be built by two proprietary protocols Connection between vertical mobile phone and multiple bluetooth equipments, and then can realize that multiple bluetooth earphones are same with interacting for mobile phone A PP by increasing When with mobile phone interaction function.
Step 302:First work shape is sent to the first bluetooth earphone by control channel corresponding with the first bluetooth earphone State control instruction;
Wherein, first working state control is instructed for controlling the microphone of bluetooth earphone in running order, loudspeaker Be in off position;
Step 303:The voice number sent by the bluetooth earphone of data channel reception first corresponding with the first bluetooth earphone According to;
Step 304:Second work shape is sent to the second bluetooth earphone by control channel corresponding with the second bluetooth earphone State control instruction;
Wherein, second working state control is instructed for controlling the microphone of bluetooth earphone to be in off position, Loudspeaker are in running order;
Step 305:The speech data for receiving is sent to the by data channel corresponding with the second bluetooth earphone Two bluetooth earphones.
Above-mentioned steps 301 to the timing diagram of the speech data exchange method shown in step 305 can be as shown in Figure 4.In Fig. 4, In mobile phone based on Android platform install APP due to need interacted with two bluetooth earphones respectively, and often with an indigo plant Tooth earphone interaction need from RFCOMN agreements select two serial ports, set up two path channels/passage (control channel sum it is believed that Road), therefore, passage 1, passage 2, passage 3 and passage 4 are referred to as in Fig. 4, in Fig. 4, MIC is microphone, and SPK is loudspeaker.
Above-mentioned steps 302 to step 305 completes the voice data transmission that will be sent from the first bluetooth earphone to second Bluetooth earphone, in order to realize the voice data transmission that will be sent from the second bluetooth earphone to the first bluetooth earphone, methods described Further comprising the steps of 306 to step 309:
Step 306:First work shape is sent to the second bluetooth earphone by control channel corresponding with the second bluetooth earphone State control instruction;
Step 307:The voice number sent by the bluetooth earphone of data channel reception second corresponding with the second bluetooth earphone According to;
Step 308:Second work shape is sent to the first bluetooth earphone by control channel corresponding with the first bluetooth earphone State control instruction;
Step 309:The speech data for receiving is sent to the by data channel corresponding with the first bluetooth earphone One bluetooth earphone.
Above-mentioned steps 306 implement that details is similar to step 309 and above-mentioned steps 302 to step 305, and difference is Control instruction is different with the flow direction of speech data, repeats no more here.
Speech data interaction between double bluetooth earphones that above-mentioned steps 302 are realized to step 309 and mobile phone it is similar with it is logical Half-duplex operation in letter.If after performing above-mentioned steps 302 a to step 309, bluetooth earphone also needs to carry out language with mobile phone Sound data, then can again perform above-mentioned steps 302 to step 305, or perform above-mentioned steps 302 to step 309 again, so Above-mentioned steps 302 to step 309 are performed again and again, you can complete speech data interaction.
Speech data interaction flow shown in Fig. 3, voice signal of the mobile phone not to receiving is processed, and at some In the case of, it is to need to process the voice signal for receiving, to meet the demand of specific usage scenario, for example, it is desired to right The voice signal of reception carries out translation treatment, or voice signal to receiving carries out voice change process etc..Below by Fig. 5 institutes The speech data exchange method for showing comprising the speech data exchange method processed voice signal to illustrating.
As shown in figure 5, the two of the flow chart of its speech data exchange method provided for the embodiment of the present application, including it is following Step:
Step 501:Mobile phone determines to need to carry out voice simultaneously with the first bluetooth earphone and at least one second bluetooth earphones After data interaction, set up and first bluetooth earphone between control channel and data channel, and with the second bluetooth ear Control channel and data channel between machine;
Step 502:First work shape is sent to the first bluetooth earphone by control channel corresponding with the first bluetooth earphone State control instruction;
Step 503:The voice number sent by the bluetooth earphone of data channel reception first corresponding with the first bluetooth earphone According to;
Step 504:Speech data signal to receiving is processed, the speech data signal after being processed;
The treatment can specifically be determined according to usage scenario, for example, in simultaneous interpretation scene, being specifically as follows translation Treatment, now, this step 504 is specially:Speech data signal to receiving is translated, the speech data letter after being translated Number.
The languages of specific translation can be set in advance.
Translated according to actual demand for convenience, preferably, before speech data signal is received, methods described is also Including:
Receive language information corresponding with the first bluetooth earphone, and language information corresponding with the second bluetooth earphone;
Now, above-mentioned steps 504 are specifically included:
By the speech data signal that the affiliated language information for receiving is the corresponding language information of the first bluetooth earphone, it is translated as Affiliated language information is the speech data signal of the corresponding language information of the second bluetooth earphone.
Specifically translation process can be:Mobile phone connection network Cloud Server carries out speech recognition, and translates into affiliated language The information of kind is the text information of the corresponding language information of the second bluetooth earphone, and the text information that will be obtained is converted to voice signal, Mobile phone is sent to afterwards.
Step 505:Second work shape is sent to the second bluetooth earphone by control channel corresponding with the second bluetooth earphone State control instruction;
Step 506:By the speech data signal after treatment by the corresponding data channel of the second bluetooth earphone sent to Second bluetooth earphone.
Likewise, when mobile phone receives the voice signal of the second bluetooth earphone, it is also possible to receiving from second The voice signal of bluetooth earphone is processed, for example, carrying out translation treatment, is repeated no more here.
As shown in fig. 6, the three of the flow chart of its speech data exchange method provided for the embodiment of the present application, it is from bluetooth What earpiece side was described, comprise the following steps:
Step 601:Bluetooth earphone is it is determined that need by mobile phone with another one or more bluetooth earphones while carrying out voice number After interaction, set up and control channel and data channel between the mobile phone;
Preferably, bluetooth earphone determines to need by mobile phone with another one or more bluetooth earphones while carrying out speech data friendship Mutually, it may include:
Receive the interactive voice trigger signal of user input;
Determine to need and the first bluetooth earphone and at least one second bluetooth ears based on the interactive voice trigger signal for receiving Machine carries out speech data interaction simultaneously.
Here can also be the interactive voice trigger signal of mobile phone reception user input, afterwards, the language that mobile phone will be received again Sound interaction trigger signal is sent to bluetooth earphone.
Step 602:The mobile phone is received to be instructed by the working state control that the control channel sends;
Wherein, the working state control instruction is that the instruction of the first working state control or the second working state control refer to Order, first working state control is instructed for controlling the microphone of bluetooth earphone in running order, and loudspeaker are in not work Make state, second working state control is instructed for controlling the microphone of bluetooth earphone to be in off position, at loudspeaker In working condition;
Step 603:Working state control instruction according to receiving is controlled to the working condition of microphone and loudspeaker;
Step 604:Receive the speech data of user input;
Step 605:The speech data of reception is sent to the mobile phone by the data channel.
In the scheme of the embodiment of the present application, due to establishing between the mobile phone based on Android platform and the first bluetooth earphone Control channel and data channel, and with the control channel and data channel between at least one second bluetooths, afterwards by this A little channels are controlled between instruction and the transmission of speech data, multiple bluetooth earphones, on the basis of mobile phone is as medium, with half The mode of duplex realizes speech data interaction.
Based on same inventive concept, the embodiment of the present application additionally provides two kinds of speech data interactive devices, and it is implemented Details can refer to above-mentioned speech data exchange method, be introduced separately below:
As shown in fig. 7, one of its structural representation of speech data interactive device provided for the embodiment of the present application, bag Include:
Determining unit 71, for determining that the device based on Android platform needs and the first bluetooth earphone and at least one second Bluetooth earphone carries out speech data interaction simultaneously;
Channel sets up unit 72, for after determining unit determines to need to carry out the speech data interaction, setting up described Control channel and data channel between device and first bluetooth earphone based on Android platform, and with second bluetooth Control channel and data channel between earphone;
First control instruction transmitting element 73, for by control channel corresponding with the first bluetooth earphone to the first bluetooth Earphone sends the instruction of the first working state control, and first working state control instructs the microphone for controlling bluetooth earphone In running order, loudspeaker are in off position;
Speech data receiving unit 74, for by the first bluetooth of data channel reception ear corresponding with the first bluetooth earphone The speech data that machine sends;
Second control instruction transmitting element 75, for by control channel corresponding with the second bluetooth earphone to the second bluetooth Earphone sends the instruction of the second working state control, and second working state control instructs the microphone for controlling bluetooth earphone In off position, loudspeaker are in running order;
Speech data transmitting element 76, for the institute's predicate that will be received by data channel corresponding with the second bluetooth earphone Sound data is activation is to the second bluetooth earphone.
Preferably, described device also includes:
Language data process unit 77, in speech data receiving unit by data corresponding with the first bluetooth earphone Channel receive the first bluetooth earphone send speech data after, the second control instruction transmitting element by with the second bluetooth earphone Before corresponding control channel sends the instruction of the second working state control to the second bluetooth earphone, speech data receiving unit is connect The speech data signal of receipts is processed, the speech data signal after being processed;
The speech data transmitting element 76, specifically for by the speech data signal after treatment by the second bluetooth ear The corresponding data channel of machine is sent to the second bluetooth earphone.
Preferably, the language data process unit 77, specifically for the voice number received to speech data receiving unit It is believed that number being translated, the speech data signal after being translated.
Preferably, described device also includes:Language information receiving unit 78, in the language data process unit pair The speech data signal of reception is translated, and before the speech data signal after being translated, is received and the first bluetooth earphone pair The language information answered, and language information corresponding with the second bluetooth earphone;
The language data process unit 77, the affiliated language information specifically for that will receive is the first bluetooth earphone correspondence Language information speech data signal, be translated as the voice that affiliated language information is the corresponding language information of the second bluetooth earphone Data-signal.
Preferably, the first control instruction transmitting element 73, is additionally operable to by control corresponding with the second bluetooth earphone Channel sends the first working state control and instructs to the second bluetooth earphone;
The speech data receiving unit 74, is additionally operable to by data channel reception second corresponding with the second bluetooth earphone The speech data that bluetooth earphone sends;
The second control instruction transmitting element 75, is additionally operable to by control channel corresponding with the first bluetooth earphone to One bluetooth earphone sends the instruction of the second working state control;
The speech data transmitting element 76, be additionally operable to will receive the speech data by with the first bluetooth earphone pair The data channel answered is sent to the first bluetooth earphone.
Preferably, the determining unit 71, specifically for receiving the first bluetooth earphone and/or any second bluetooth earphone hair The interactive voice trigger signal sent;Determine to need and the first bluetooth earphone and at least one based on the interactive voice trigger signal for receiving Individual second bluetooth earphone carries out speech data interaction simultaneously.
As shown in figure 8, the two of the structural representation of its speech data interactive device provided for the embodiment of the present application, bag Include:
Determining unit 81, for determining to need by the device based on Android platform with another one or more bluetooth earphones simultaneously Carry out speech data interaction;
Channel sets up unit 82, for after determining unit determines to carry out the speech data interaction, setting up and the base Control channel and data channel between the device of Android platform;
Control instruction receiving unit 83, is sent for receiving the device based on Android platform by the control channel Working state control instruction, wherein, working state control instruction is the instruction of the first working state control or the second work State control instruction, first working state control is instructed for controlling the microphone of bluetooth earphone in running order, loudspeaker Be in off position, second working state control is instructed and not worked shape for controlling the microphone of bluetooth earphone to be in State, loudspeaker are in running order;
Control unit 84, the working state control for being received according to the control instruction receiving unit is instructed to microphone Working condition with loudspeaker is controlled;
Speech data receiving unit 85, receives the speech data of user input;
Speech data transmitting element 86, is based on for the speech data of reception to be sent to described by the data channel The device of Android platform.
Preferably, speech data interactive device also includes:Trigger signal receiving unit 87;
The trigger signal receiving unit 87, the interactive voice trigger signal for receiving user input;
The determining unit 81, specifically for determining to need and the first bluetooth ear based on the interactive voice trigger signal for receiving Machine and at least one second bluetooth earphones carry out speech data interaction simultaneously.
Through the above description of the embodiments, those skilled in the art can be understood that the embodiment of the present application Can be realized by hardware, it is also possible to realized by the mode of software plus necessary general hardware platform.Based on such understanding, The technical scheme of the embodiment of the present application can be embodied in the form of software product, and the software product can store non-at one Volatile storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in, including some instructions are used to so that a computer Equipment (can be personal computer, server, or network equipment etc.) performs the method described in the application each embodiment.
It will be appreciated by those skilled in the art that accompanying drawing is a schematic diagram for preferred embodiment, module or stream in accompanying drawing Journey is not necessarily implemented necessary to the application.
It will be appreciated by those skilled in the art that the module in embodiment in terminal can be distributed according to embodiment description In the terminal of embodiment, it is also possible to carry out respective change and be disposed other than in one or more terminals of the present embodiment.It is above-mentioned The module of embodiment can merge into a module, it is also possible to be further split into multiple submodule.
Above-mentioned the embodiment of the present application sequence number is for illustration only, and the quality of embodiment is not represented.
Obviously, those skilled in the art can carry out the essence of various changes and modification without deviating from the application to the application God and scope.So, if these modifications of the application and modification belong to the scope of the application claim and its equivalent technologies Within, then the application is also intended to comprising these changes and modification.

Claims (16)

1. a kind of speech data exchange method, it is characterised in that including:
Device based on Android platform determines to need to carry out language simultaneously with the first bluetooth earphone and at least one second bluetooth earphones After sound data interaction, set up and first bluetooth earphone between control channel and data channel, and with second bluetooth Control channel and data channel between earphone;
The first working state control is sent by control channel corresponding with the first bluetooth earphone to the first bluetooth earphone to instruct, institute State the first working state control to instruct for controlling the microphone of bluetooth earphone in running order, loudspeaker are in the shape that do not work State;
The speech data sent by the bluetooth earphone of data channel reception first corresponding with the first bluetooth earphone;
The second working state control is sent by control channel corresponding with the second bluetooth earphone to the second bluetooth earphone to instruct, institute State the second working state control to instruct for controlling the microphone of bluetooth earphone to be in off position, loudspeaker are in work shape State;
The speech data for receiving is sent to the second bluetooth earphone by data channel corresponding with the second bluetooth earphone.
2. the method for claim 1, it is characterised in that by data channel reception corresponding with the first bluetooth earphone After the speech data that one bluetooth earphone sends, sent out to the second bluetooth earphone by control channel corresponding with the second bluetooth earphone Before sending the second working state control to instruct, methods described also includes:
Speech data signal to receiving is processed, the speech data signal after being processed;
It is described to be sent to the second bluetooth ear the speech data for receiving by data channel corresponding with the second bluetooth earphone Machine, specifically includes:
Speech data signal after treatment is sent to the second bluetooth earphone by the corresponding data channel of the second bluetooth earphone.
3. method as claimed in claim 2, it is characterised in that the speech data signal to receiving is processed, and is processed Speech data signal afterwards, specifically includes:
Speech data signal to receiving is translated, the speech data signal after being translated.
4. method as claimed in claim 3, it is characterised in that the speech data signal to receiving is translated, and is translated Before speech data signal afterwards, methods described also includes:
Receive language information corresponding with the first bluetooth earphone, and language information corresponding with the second bluetooth earphone;
The speech data signal of described pair of reception is translated, and is specifically included:
By the speech data signal that the affiliated language information for receiving is the corresponding language information of the first bluetooth earphone, it is translated as affiliated Language information is the speech data signal of the corresponding language information of the second bluetooth earphone.
5. the method as described in claim 1-4 is any, it is characterised in that methods described also includes:
The first working state control is sent by control channel corresponding with the second bluetooth earphone to the second bluetooth earphone to instruct;
The speech data sent by the bluetooth earphone of data channel reception second corresponding with the second bluetooth earphone;
The second working state control is sent by control channel corresponding with the first bluetooth earphone to the first bluetooth earphone to instruct;
The speech data for receiving is sent to the first bluetooth earphone by data channel corresponding with the first bluetooth earphone.
6. the method for claim 1, it is characterised in that the device based on Android platform determines to need and the first bluetooth ear Machine and at least one second bluetooth earphones carry out speech data interaction simultaneously, including:
Device based on Android platform receives the interactive voice triggering that the first bluetooth earphone and/or any second bluetooth earphone send Signal;
Determine that needs are same with the first bluetooth earphone and at least one second bluetooth earphones based on the interactive voice trigger signal for receiving Shi Jinhang speech datas are interacted.
7. a kind of speech data exchange method, it is characterised in that including:
Bluetooth earphone is it is determined that need to carry out voice simultaneously with another one or more bluetooth earphones by the device based on Android platform After data interaction, set up and control channel and data channel between the device based on Android platform;
The device based on Android platform is received to be instructed by the working state control that the control channel sends, wherein, institute It is the instruction of the first working state control or the instruction of the second working state control, the first work shape to state working state control instruction State control instruction is used to control the microphone of bluetooth earphone in running order, and loudspeaker are in off position, second work Make microphone of the state control instruction for controlling bluetooth earphone and be in off position, loudspeaker are in running order;
Working state control instruction according to receiving is controlled to the working condition of microphone and loudspeaker;
Receive the speech data of user input;
The speech data of reception is sent to the device based on Android platform by the data channel.
8. method as claimed in claim 7, it is characterised in that bluetooth earphone determines to need by the device based on Android platform Speech data is carried out with another one or more bluetooth earphones simultaneously to interact, including:
Receive the interactive voice trigger signal of user input;
Determine that needs are same with the first bluetooth earphone and at least one second bluetooth earphones based on the interactive voice trigger signal for receiving Shi Jinhang speech datas are interacted.
9. a kind of speech data interactive device, it is characterised in that including:
Determining unit, for determining that the device based on Android platform needs and the first bluetooth earphone and at least one second bluetooth ears Machine carries out speech data interaction simultaneously;
Channel sets up unit, described based on peace for after determining unit determines to need to carry out the speech data interaction, setting up Control channel and data channel between the device of Zhuo Pingtai and first bluetooth earphone, and between second bluetooth earphone Control channel and data channel;
First control instruction transmitting element, for being sent out to the first bluetooth earphone by control channel corresponding with the first bluetooth earphone The first working state control is sent to instruct, first working state control is instructed for controlling the microphone of bluetooth earphone to be in work Make state, loudspeaker are in off position;
Speech data receiving unit, for being sent by the bluetooth earphone of data channel reception first corresponding with the first bluetooth earphone Speech data;
Second control instruction transmitting element, for being sent out to the second bluetooth earphone by control channel corresponding with the second bluetooth earphone The second working state control is sent to instruct, second working state control is instructed for controlling the microphone of bluetooth earphone to be in not Working condition, loudspeaker are in running order;
Speech data transmitting element, for the speech data that will be received by data channel corresponding with the second bluetooth earphone Send to the second bluetooth earphone.
10. device as claimed in claim 9, it is characterised in that described device also includes:
Language data process unit, for being connect by data channel corresponding with the first bluetooth earphone in speech data receiving unit Receive after the speech data of the first bluetooth earphone transmission, the second control instruction transmitting element is by corresponding with the second bluetooth earphone Before control channel sends the instruction of the second working state control to the second bluetooth earphone, the language received to speech data receiving unit Sound data-signal is processed, the speech data signal after being processed;
The speech data transmitting element, specifically for the speech data signal after treatment is corresponded to by the second bluetooth earphone Data channel send to the second bluetooth earphone.
11. devices as claimed in claim 10, it is characterised in that the language data process unit, specifically for voice The speech data signal that data receipt unit is received is translated, the speech data signal after being translated.
12. devices as claimed in claim 11, it is characterised in that described device also includes:Language information receiving unit, is used for The language data process unit to receive speech data signal translate, the speech data signal after being translated it Before, receive language information corresponding with the first bluetooth earphone, and language information corresponding with the second bluetooth earphone;
The language data process unit, the affiliated language information specifically for that will receive is the corresponding languages of the first bluetooth earphone The speech data signal of information, is translated as the speech data letter that affiliated language information is the corresponding language information of the second bluetooth earphone Number.
13. device as described in claim 9-12 is any, it is characterised in that the first control instruction transmitting element, also uses Instructed in the first working state control is sent to the second bluetooth earphone by control channel corresponding with the second bluetooth earphone;
The speech data receiving unit, is additionally operable to by the second bluetooth of data channel reception ear corresponding with the second bluetooth earphone The speech data that machine sends;
The second control instruction transmitting element, is additionally operable to by control channel corresponding with the first bluetooth earphone to the first bluetooth Earphone sends the instruction of the second working state control;
The speech data transmitting element, is additionally operable to the speech data that will be received by number corresponding with the first bluetooth earphone It is believed that road is sent to the first bluetooth earphone.
14. devices as claimed in claim 9, it is characterised in that the determining unit, specifically for receiving the first bluetooth earphone And/or the interactive voice trigger signal that any second bluetooth earphone sends;Determine to need based on the interactive voice trigger signal for receiving Speech data is carried out with the first bluetooth earphone and at least one second bluetooth earphones simultaneously to interact.
A kind of 15. speech data interactive devices, it is characterised in that including:
Determining unit, language is carried out for determining to need simultaneously by the device based on Android platform with another one or more bluetooth earphones Sound data interaction;
Channel sets up unit, for after determining unit determines to carry out the speech data interaction, setting up with described based on Android Control channel and data channel between the device of platform;
Control instruction receiving unit, for receiving the work that the device based on Android platform is sent by the control channel State control instruction, wherein, the working state control instruction is the instruction of the first working state control or the second working condition control System instruction, first working state control is instructed for controlling the microphone of bluetooth earphone in running order, and loudspeaker are in Off position, second working state control is instructed for controlling the microphone of bluetooth earphone to be in off position, loudspeaker It is in running order;
Control unit, the working state control for being received according to the control instruction receiving unit is instructed to microphone and loudspeaker Working condition be controlled;
Speech data receiving unit, receives the speech data of user input;
Speech data transmitting element, is put down for the speech data of reception to be sent to described by the data channel based on Android The device of platform.
16. devices as claimed in claim 15, it is characterised in that speech data interactive device also includes:Trigger signal is received Unit;
The trigger signal receiving unit, the interactive voice trigger signal for receiving user input;
The determining unit, specifically for the interactive voice trigger signal determination needs and the first bluetooth earphone based on reception and extremely Few second bluetooth earphone carries out speech data interaction simultaneously.
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 true CN106911857A (en) 2017-06-30
CN106911857B 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)

Cited By (12)

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

Citations (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

Patent Citations (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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李兆麟主编: "《嵌入式系统设计与实践[M]》", 30 September 2010 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107708006A (en) * 2017-08-23 2018-02-16 广东思派康电子科技有限公司 Computer-readable recording medium, real-time translation system
CN107708006B (en) * 2017-08-23 2020-08-28 广东思派康电子科技有限公司 Computer-readable storage medium, real-time translation system
CN107885731A (en) * 2017-11-06 2018-04-06 深圳市沃特沃德股份有限公司 Voice translation method and device
WO2019084962A1 (en) * 2017-11-06 2019-05-09 深圳市沃特沃德股份有限公司 Speech-to-speech translation method and apparatus, and translating machine
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
CN109963354A (en) * 2017-12-26 2019-07-02 新智数字科技有限公司 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
CN109195055A (en) * 2018-11-09 2019-01-11 歌尔股份有限公司 A kind of wireless headset, TWS earphone and Bluetooth connecting method
CN112913321A (en) * 2018-12-07 2021-06-04 华为技术有限公司 Method, equipment and system for carrying out call by using Bluetooth headset
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
CN112090061A (en) * 2020-09-16 2020-12-18 深圳未来游戏设备科技有限公司 Game peripheral mode adjusting method aiming at Bluetooth communication protocol
WO2022057370A1 (en) * 2020-09-16 2022-03-24 深圳未来游戏设备科技有限公司 Method for adjusting game peripheral mode on bluetooth communication protocol
CN112509569A (en) * 2020-11-24 2021-03-16 北京百度网讯科技有限公司 Voice data processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN106911857B (en) 2020-06-12

Similar Documents

Publication Publication Date Title
CN106911857A (en) A kind of speech data exchange method and device
EP3629561B1 (en) Data transmission method and system, and bluetooth headphone
US7187948B2 (en) Personal portable integrator for music player and mobile phone
CN103686516A (en) Bluetooth headset capable of sharing audios and control method thereof
KR100791097B1 (en) Bluetooth remote ptt and handsfree communication system and method thereof
CN101631156B (en) Method and system for controlling orderly connection of Bluetooth headset by using terminal
CN107659551A (en) For carrying out the System and method for of voice communication using LTE
KR102503748B1 (en) Techniques for generating multiple listening environments via auditory devices
CN109089330B (en) Audio data transmission method and terminal
CN106851450A (en) A kind of wireless headset pair and electronic equipment
CN101911661A (en) Wireless headset having fm transmitter
CN106982286B (en) Recording method, recording equipment and computer readable storage medium
CN110234045A (en) To be wirelessly connected the bluetooth headset of ears
CN205491055U (en) Bluetooth headset of expanded sim card
US20230367817A1 (en) Real-time voice processing
CN112055280A (en) Wireless communication method for earphone and intelligent devices and wireless earphone assembly
KR101006198B1 (en) Hands-free system using bluetooth and control method thereof
US10802791B2 (en) Methods and systems for streaming audio and voice data
US20210157543A1 (en) Processing of multiple audio streams based on available bandwidth
CN103166935A (en) Method and device for realizing near field communication
KR101820369B1 (en) Bluetooth Communication Method Of Smartphone To A Headset
US11190556B2 (en) Systems and methods for data management
CN105872882A (en) Method and terminal for matched connection of Bluetooth earphones and Bluetooth earphones
KR20200055958A (en) System and method for processing communication of wireless earset
CN111263343B (en) Multi-terminal audio interactive system suitable for HUD and 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

Granted publication date: 20200612

CF01 Termination of patent right due to non-payment of annual fee