CN105407225A - Data transmission method and Bluetooth equipment - Google Patents

Data transmission method and Bluetooth equipment Download PDF

Info

Publication number
CN105407225A
CN105407225A CN201510853910.9A CN201510853910A CN105407225A CN 105407225 A CN105407225 A CN 105407225A CN 201510853910 A CN201510853910 A CN 201510853910A CN 105407225 A CN105407225 A CN 105407225A
Authority
CN
China
Prior art keywords
operational order
speech data
terminal equipment
packet
bluetooth equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510853910.9A
Other languages
Chinese (zh)
Inventor
周全
金鑫
隋星光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Electronics Co Ltd
Original Assignee
Qingdao Hisense Xinxin 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 Hisense Xinxin Technology Co Ltd filed Critical Qingdao Hisense Xinxin Technology Co Ltd
Priority to CN201510853910.9A priority Critical patent/CN105407225A/en
Publication of CN105407225A publication Critical patent/CN105407225A/en
Pending legal-status Critical Current

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
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • H04B5/72Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for local intradevice communication
    • 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/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a data transmission method and Bluetooth equipment, relates to the field of communication, and solves the problem that broadcasting of any voice and transmission of data instructions cannot be implemented during call answering or music playing of an existing Bluetooth headset. The method is applied to Bluetooth equipment. A Bluetooth communication connection is established between the Bluetooth equipment and terminal equipment. The method comprises the following steps: receiving a connection request sent by the terminal equipment based on a serial port profile (SPP) protocol, and establishing an SPP channel between the Bluetooth equipment and the terminal equipment according to an instruction of the connection request; receiving a first data packet transmitted by the terminal equipment through the SPP channel, wherein the first data packet comprises a first operation instruction sent to the Bluetooth equipment by the terminal equipment; and resolving the first operation instruction from the first data packet, and executing a corresponding operation according to the first operation instruction.

Description

A kind of data transmission method and bluetooth equipment
Technical field
The present invention relates to communication technical field, particularly relate to a kind of data transmission method and bluetooth equipment.
Background technology
At present, when bluetooth earphone is on the market when receiving calls and playing music, speech data can monopolize SCCP connection-oriented (English: SynchronousConnectionOriented, abbreviation: SCO) passage between smart mobile phone and bluetooth earphone.Now, bluetooth earphone only can play the bell sound prompting of this bluetooth earphone this locality, and the report of any voice or the transmission of data command cannot be carried out, namely terminal equipment cannot send some information of voice prompt (such as, the details of incoming person, the detailed content of note, other any user of wanting hear personalized hommization voice message etc.) and other data message by Bluetooth chip to bluetooth earphone or be used to indicate; Bluetooth earphone performs the control command information of certain operations, makes this bluetooth earphone to receive calls as the equipment of answering and to play music, and cannot realize alternately with terminal equipment.
Although the scheme that patent 200810081632.X provides can realize the report of any voice at bluetooth earphone end, but the Bluetooth chip being terminal equipment due to this any voice messaging is sent to this bluetooth earphone by the SCO passage between this terminal equipment and bluetooth earphone, because this SCO passage only can transmit a road speech data simultaneously, therefore, when receiving calls to bluetooth earphone or playing music, this bluetooth earphone still cannot realize the report of any voice and the transmission of data command.
Summary of the invention
Embodiments of the invention provide a kind of voice data transmission method and bluetooth equipment, solving existing bluetooth earphone when receiving calls or play music, cannot realize the problem of the report of any voice and the transmission of data command.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, provides a kind of data transmission method, is applied to bluetooth equipment, and described bluetooth equipment and terminal equipment are set up Bluetooth communication and be connected, and comprising:
Receive described terminal equipment and send connection request based on serial port SPP agreement, and set up the SPP passage between described bluetooth equipment and described terminal equipment according to the instruction of described connection request;
Receive the first packet that described terminal equipment is sent by described SPP passage, in described first packet, comprise the first operational order that described terminal equipment sends described bluetooth equipment;
From described first packet, parse described first operational order, and perform corresponding operation according to described first operational order.
Second aspect, provides a kind of bluetooth equipment, and described bluetooth equipment and terminal equipment are set up Bluetooth communication and be connected, and described bluetooth equipment comprises:
Receiver module, for receiving the connection request that described terminal equipment sends based on serial port SPP agreement;
Set up module, the SPP passage between described bluetooth equipment and described terminal equipment is set up in the instruction for the described connection request received according to described receiver module;
Described receiver module, also for receiving the first packet that described terminal equipment is sent by described SPP passage, comprises the first operational order that described terminal equipment sends described bluetooth equipment in described first packet;
Processing module, parses described first operational order in described first packet that receives from described receiver module, and performs corresponding operation according to described first operational order.
A kind of voice data transmission method that embodiments of the invention provide and bluetooth equipment, this bluetooth equipment sends connection request by receiving terminal apparatus based on serial port SPP agreement, and set up the SPP passage between bluetooth equipment and terminal equipment according to the instruction of this connection request, then, this terminal equipment comprises the packet of terminal equipment to the operational order of bluetooth equipment by this SPP passage to the transmission of this bluetooth equipment, and this bluetooth equipment is after receiving this packet, resolve this packet, and the operational order in this packet is processed, such as, if this operational order is speech data, play this speech data, if this operational order is concrete director data, perform the operation that this operational order is corresponding.The bluetooth equipment of such the application is when playing phone or listening to music, now terminal equipment can send concrete operational order by the SPP passage opened up in addition to this bluetooth equipment, such as: the real time status information of instruction bluetooth equipment to the details of incoming person, the detailed content of note or mobile phone carries out real-time voice report, or, instruction bluetooth earphone realizes the operations such as start, vibrations, jingle bell, thus while improve Consumer's Experience greatly, expanded the user interactions scene of bluetooth earphone.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The method flow diagram of a kind of data transmission method that Fig. 1 provides for the embodiment of the present invention;
The buffer memory schematic diagram of the data buffer area of the bluetooth equipment that Fig. 2 provides for the embodiment of the present invention;
The mutual schematic diagram of director data between the bluetooth equipment that Fig. 3 provides for the embodiment of the present invention and terminal equipment;
The structural representation of a kind of bluetooth equipment that Fig. 4 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiments of the invention provide a kind of data transmission method, and the embodiment of the present invention is applied to bluetooth equipment (such as, bluetooth earphone), and this bluetooth equipment and terminal equipment are set up Bluetooth communication and be connected, and as shown in Figure 1, the method specifically comprises the steps:
101, bluetooth equipment receiving terminal apparatus sends connection request based on serial port SPP agreement, and sets up the SPP passage between bluetooth equipment and terminal equipment according to the instruction of connection request.
Exemplary, the connection request that bluetooth equipment in the embodiment of the present invention is sent based on bluetooth SPP protocol specification by monitor terminal equipment, after connection request is confirmed, this bluetooth equipment can set up a new data path according to the instruction of connection request, and (namely serial port is (English: SerialPortProfile, be called for short: SPP) passage) carry out the transmission of data, after this SPP Path Setup completes, this bluetooth equipment starts the packet that receiving terminal apparatus sends.
102, the first packet of being sent by SPP passage of bluetooth equipment receiving terminal apparatus.
Exemplary, first operational order of terminal equipment to bluetooth equipment is comprised in the first above-mentioned packet, this first operational order comprises speech data and/or director data, if this first operational order is speech data, then this first operational order is used to indicate this bluetooth equipment and plays this speech data, if this first operational order is director data, then this first operational order is used to indicate this bluetooth equipment and performs operation corresponding to this director data.Concrete, when this first operational order is director data, this director data is the designation data that terminal equipment instruction bluetooth equipment performs concrete operations, and such as, instruction bluetooth earphone realizes the operations etc. such as start, vibrations, jingle bell; When this first operational order is speech data, this speech data can be the voice messaging real time status information of the details of incoming person, the detailed content of note or mobile phone being carried out to real-time voice report, also can be the personalized suggestion voice information that terminal equipment is wanted to be circulated a notice of to user by bluetooth earphone.Exemplary, above-mentioned speech data can be (English: PulseCodeModulation without the pulse code modulation of compression, be called for short: PCM) code stream, the adaptive difference pulse code modulation that also can be through compression is (English: AdaptiveDifferentialPulseCodeModulation, be called for short: ADPCM), Advanced Audio Coding is (English: AdvancedAudioCoding, be called for short: AAC), APT-X (a kind of digital audio compression algorithm based on subband ADPCM technology), sub-band coding is (English: sub-bandcoding, SBC) be called for short: the audio code stream of form such as.And when this speech data is compressed audio code stream, the code stream form of the compressed encoding of this audio code stream depends on the audio coding stream format that bluetooth earphone can be play.
103, bluetooth equipment parses the first operational order from the first packet, and performs corresponding operation according to the first operational order.
Exemplary, when this first operational order comprises the first speech data, this bluetooth equipment can separate out the first speech data by Directly solution from the first packet, and plays this first speech data.And when this first operational order comprises director data, this bluetooth equipment can parse director data from the first packet, and perform operation corresponding to this director data according to the instruction of this director data.
Exemplary, when this first operational order comprises the first speech data, in order to ensure the continuity of speech play, need in bluetooth equipment in the present embodiment to set up a data buffer area, speech data for being sent by SPP passage by terminal equipment carries out buffer memory, etc. next step operation pending, wherein, if this terminal equipment by SPP passage send be director data time, because director data is general all very little, then can not need to carry out caching process, bluetooth equipment directly performs corresponding operation according to the instruction of this director data.Concrete, if when this first speech data is the voice data of compressed encoding form, this bluetooth and equipment need to carry out audio decoder operation at this bluetooth equipment end, and by decoded voice data stored in the data buffer area of this bluetooth equipment, play so that this bluetooth equipment is follow-up; Such as, if this first speech data is not the voice data of compressed encoding form, pcm audio data, then this first speech data directly can be filled to the data buffer zone of this bluetooth equipment by this bluetooth equipment, plays so that this bluetooth equipment is follow-up.
As shown in Figure 2, loop buffer (buffer) mechanism is taked in the data buffer area of the bluetooth equipment in the present embodiment, namely by read-write two buffer pointers, data buffer area is operated, wherein, write buffer be responsible for by from SPP channel reception to data code flow be filled in data buffer area, read buffer and be responsible for the decoder module sent in bluetooth equipment by the bit stream data in data buffer area and carry out audio decoder operation.When not filling full in data buffer area, write buffer can fill audio code stream data to data buffer area always, and write buffer pointer and along with the growth of data in data buffer area, the end of data buffer area can be pointed to, until data buffer area is filled full.When this bluetooth equipment detects that data buffer area is non-NULL, bit stream data can be sent into Bluetooth audio frequency decoder module and carry out audio decoder operation by this bluetooth equipment, reads buffer pointer and also can move accordingly after code stream is sent.When writing end, buffer pointed data buffer area and also have data to need to write, writing buffer pointer and can automatically jump back to data buffer area original position, thus forming the buffering area of a ring-type.According to above mechanism, the pointer of read-write buffer is in ceaselessly padding data and decoding of fetching data, form an optimum circulation, even if the data in buffering area ensure when reception has card once in a while, also have data send into endlessly decoder carry out decoding play, ensure that the fluency of speech play.
It should be noted that, because the present embodiment is that SPP passage by opening up separately carrys out the operational order of transmission package containing speech data or designation data, therefore, when bluetooth equipment does not play phone or plays music, terminal equipment is without the need to (English: SynchronousConnectionOriented by SPP passage and SCCP connection-oriented, be called for short: SCO) passage switches mutually, can directly pass through the above-mentioned operational order of SPP channel transfer, bluetooth earphone is indicated to perform corresponding operation, such as, the report of suggestion voice information is carried out.
In addition, when this bluetooth equipment is while the first packet receiving terminal equipment transmission, when this bluetooth equipment is playing phone or audio plays, after step 101, the method also comprises the steps:
Current the second packet carrying second speech data sent by the SCO passage between bluetooth equipment and terminal equipment of a1, bluetooth equipment receiving terminal apparatus, and second speech data is parsed from this second packet.
Exemplary, above-mentioned second audio data is voice data or the voice data that this bluetooth equipment plays phone generation.
Based on step a1, step 103 specifically comprises following content:
A2, bluetooth equipment parse the first speech data from the first packet, and second speech data and the first speech data are carried out audio mix process, obtain the 3rd speech data, and play the 3rd speech data.
Exemplary, if bluetooth equipment is current when playing phone or music (i.e. second speech data), can report out with background sound to make audio-frequency information corresponding to the first speech data, this the first speech data and second speech data is then needed to carry out audio mix, after audio mix process, the audio-frequency information that the first speech data is corresponding can be reported out with soft background sound when the audio-frequency information that broadcasting second speech data is corresponding.Both do voice message to user, also can not affect the play quality of the audio frequency that user is listening to simultaneously.
Namely the bluetooth equipment that the present embodiment provides is client is also server end, namely the bluetooth equipment in the present embodiment is except can the packet that sent by SPP passage of receiving terminal apparatus, also can be sent as server the packet carrying operational order to terminal equipment by SPP passage, carry out indicating terminal equipment and perform corresponding operation.Concrete, after step 103, also comprise:
104, bluetooth equipment comprises second packet of bluetooth equipment to the second operational order of terminal equipment by SPP passage to terminal equipment transmission, so that terminal equipment parses the second operational order from the second packet, and perform corresponding operation according to the second operational order.
Exemplary, the second above-mentioned operational order comprises director data and/or speech data, namely this bluetooth equipment can to terminal equipment transmit operation instruction, this terminal equipment is indicated to perform corresponding operation, exemplary, this bluetooth equipment can be used to indicate by sending the director data that this terminal equipment performs the operations such as start, shutdown, vibrations, jingle bell, broadcasting music.Such as, this bluetooth equipment is for bluetooth earphone, when this bluetooth earphone sends director data to terminal equipment, because bluetooth earphone does not have interactive interface can only do concrete operations by the button above bluetooth earphone, as, unit, double-click, long by, three to hit, combination button etc. sends the instruction reserved in advance, carry out indicating terminal equipment and perform corresponding operation and control.
Exemplary, with reference to foregoing and the bluetooth equipment shown in Fig. 3 and the mutual schematic diagram of the director data between terminal equipment known, namely bluetooth equipment in the present embodiment and terminal equipment can be all clients is also server end, when this bluetooth equipment is server end, this bluetooth equipment can to terminal equipment transmit operation instruction, when this terminal equipment is server end, this terminal equipment is to this bluetooth equipment transmit operation instruction.
A kind of voice data transmission method that embodiments of the invention provide, this bluetooth equipment sends connection request by receiving terminal apparatus based on serial port SPP agreement, and set up the SPP passage between bluetooth equipment and terminal equipment according to the instruction of this connection request, then, this terminal equipment comprises the packet of terminal equipment to the operational order of bluetooth equipment by this SPP passage to the transmission of this bluetooth equipment, and this bluetooth equipment is after receiving this packet, resolve this packet, and the operational order in this packet is processed, such as, if this operational order is speech data, then play this speech data, if this operational order is concrete director data, perform the operation that this operational order is corresponding.The bluetooth equipment of such the application is when playing phone or listening to music, now terminal equipment can send concrete operational order by the SPP passage opened up in addition to this bluetooth equipment, such as: the real time status information of instruction bluetooth equipment to the details of incoming person, the detailed content of note or mobile phone carries out real-time voice report, or, instruction bluetooth earphone realizes the operations such as start, vibrations, jingle bell, thus while improve Consumer's Experience greatly, expanded the user interactions scene of bluetooth earphone.
Embodiments of the invention provide a kind of bluetooth equipment, this bluetooth equipment is for realizing above-mentioned data processing method, and this bluetooth equipment and terminal equipment are set up Bluetooth communication and be connected, as shown in Figure 4, this bluetooth equipment 2 comprises: receiver module 21, set up module 22 and processing module 23, wherein:
Receiver module 21, for the connection request that receiving terminal apparatus sends based on SPP agreement.
Set up module 22, the SPP passage between bluetooth equipment and terminal equipment is set up in the instruction for the connection request received according to receiver module 21.
Receiver module 21, also for the first packet that receiving terminal apparatus is sent by SPP passage, comprises the first operational order that terminal equipment sends bluetooth equipment in this first packet.
Processing module 23, parses the first operational order in the first packet of receiving from receiver module 21, and performs corresponding operation according to this first operational order.
Exemplary, the first above-mentioned operational order comprises director data and/or speech data.When this first operational order comprises the first speech data, this bluetooth equipment can separate out the first speech data by Directly solution from the first packet, and plays this first speech data.And when this first operational order comprises director data, this bluetooth equipment can parse director data from the first packet, and perform operation corresponding to this director data according to the instruction of this director data.
Optionally, when the first operational order comprises the first speech data, this first operational order is used to indicate bluetooth equipment and plays the first speech data;
Processing module 23 specifically for: from the first packet, parse the first speech data, and play the first speech data.
Optionally, when the first operational order comprises the first speech data, receiver module 21, also for current the second packet carrying second speech data sent by the SCO passage between bluetooth equipment and terminal equipment of receiving terminal apparatus, and parses second speech data from the second packet;
Further, processing module 23 specifically for: from the first packet, parse the first speech data, second speech data and the first speech data carried out audio mix process, obtain the 3rd speech data, and play the 3rd speech data.
Optionally, as shown in Figure 4, this bluetooth equipment 2 also comprises: sending module 24, wherein:
Sending module 24, for comprising second packet of bluetooth equipment to the second operational order of terminal equipment by SPP passage to terminal equipment transmission, so that terminal equipment parses the second operational order from the second packet, and perform corresponding operation according to the second operational order; This second operational order comprises director data and/or speech data.
A kind of bluetooth equipment that embodiments of the invention provide, this bluetooth equipment sends connection request by receiving terminal apparatus based on serial port SPP agreement, and set up the SPP passage between bluetooth equipment and terminal equipment according to the instruction of this connection request, then, this terminal equipment comprises the packet of terminal equipment to the operational order of bluetooth equipment by this SPP passage to the transmission of this bluetooth equipment, and this bluetooth equipment is after receiving this packet, resolve this packet, and the operational order in this packet is processed, such as, if this operational order is speech data, then play this speech data, if this operational order is concrete director data, perform the operation that this operational order is corresponding.The bluetooth equipment of such the application is when playing phone or listening to music, now terminal equipment can send concrete operational order by the SPP passage opened up in addition to this bluetooth equipment, such as: the real time status information of instruction bluetooth equipment to the details of incoming person, the detailed content of note or mobile phone carries out real-time voice report, or, instruction bluetooth earphone realizes the operations such as start, vibrations, jingle bell, thus while improve Consumer's Experience greatly, expanded the user interactions scene of bluetooth earphone.
In several embodiments that the application provides, should be understood that disclosed terminal and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit comprises, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the part steps of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (Read-OnlyMemory, be called for short ROM), random access memory (RandomAccessMemory, be called for short RAM), magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a data transmission method, is characterized in that, is applied to bluetooth equipment, and described bluetooth equipment and terminal equipment are set up Bluetooth communication and be connected, and comprising:
Receive the connection request that described terminal equipment sends based on serial port SPP agreement, and set up the SPP passage between described bluetooth equipment and described terminal equipment according to the instruction of described connection request;
Receive the first packet that described terminal equipment is sent by described SPP passage, in described first packet, comprise the first operational order that described terminal equipment sends described bluetooth equipment;
From described first packet, parse described first operational order, and perform corresponding operation according to described first operational order.
2. method according to claim 1, is characterized in that, described first operational order comprises director data and/or speech data.
3. method according to claim 2, is characterized in that, when described first operational order comprises the first speech data, described first operational order is used to indicate described bluetooth equipment and plays described first speech data;
Describedly from described first packet, parse described first operational order, and perform corresponding operation according to described first operational order and specifically comprise: from described first packet, parse described first speech data, and play described first speech data.
4. method according to claim 2, it is characterized in that, when described first operational order comprises the first speech data, after the SPP passage between described bluetooth equipment and described terminal equipment is set up in the described instruction according to described connection request, described method also comprises:
Receive current the second packet carrying second speech data sent by the SCCP connection-oriented SCO passage between described bluetooth equipment and described terminal equipment of described terminal equipment, and parse described second speech data from described second packet;
Describedly from described first packet, parse described first operational order, and specifically comprise according to the operation that described first operational order performs correspondence: from described first packet, parse described first speech data, described second speech data and described first speech data are carried out audio mix process, obtain the 3rd speech data, and play described 3rd speech data.
5. the method according to any one of claim 1-4, is characterized in that, after the SPP passage between described bluetooth equipment and described terminal equipment is set up in the described instruction according to described connection request, described method also comprises:
Second packet of described bluetooth equipment to the second operational order of described terminal equipment is comprised to described terminal equipment transmission by described SPP passage, so that described terminal equipment parses described second operational order from described second packet, and perform corresponding operation according to described second operational order; Described second operational order comprises director data and/or speech data.
6. a bluetooth equipment, is characterized in that, described bluetooth equipment and terminal equipment are set up Bluetooth communication and be connected, and described bluetooth equipment comprises:
Receiver module, for receiving the connection request that described terminal equipment sends based on serial port SPP agreement;
Set up module, the SPP passage between described bluetooth equipment and described terminal equipment is set up in the instruction for the described connection request received according to described receiver module;
Described receiver module, also for receiving the first packet that described terminal equipment is sent by described SPP passage, comprises the first operational order that described terminal equipment sends described bluetooth equipment in described first packet;
Processing module, parses described first operational order in described first packet that receives from described receiver module, and performs corresponding operation according to described first operational order.
7. bluetooth equipment according to claim 6, is characterized in that, described first operational order comprises director data and/or speech data.
8. bluetooth equipment according to claim 7, is characterized in that, when described first operational order comprises the first speech data, described first operational order is used to indicate described bluetooth equipment and plays described first speech data;
Described processing module specifically for: from described first packet, parse described first speech data, and play described first speech data.
9. bluetooth equipment according to claim 7, it is characterized in that, when described first operational order comprises the first speech data, described receiver module, also for receiving current the second packet carrying second speech data sent by the SCCP connection-oriented SCO passage between described bluetooth equipment and described terminal equipment of described terminal equipment, and parse described second speech data from described second packet;
Described processing module specifically for: from described first packet, parse described first speech data, described second speech data and described first speech data carried out audio mix process, obtains the 3rd speech data, and play described 3rd speech data.
10. the bluetooth equipment according to any one of claim 6 to 9, is characterized in that, described bluetooth equipment comprises:
Sending module, for comprising second packet of described bluetooth equipment to the second operational order of described terminal equipment by described SPP passage to described terminal equipment transmission, so that described terminal equipment parses described second operational order from described second packet, and perform corresponding operation according to described second operational order; Described second operational order comprises director data and/or speech data.
CN201510853910.9A 2015-11-27 2015-11-27 Data transmission method and Bluetooth equipment Pending CN105407225A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510853910.9A CN105407225A (en) 2015-11-27 2015-11-27 Data transmission method and Bluetooth equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510853910.9A CN105407225A (en) 2015-11-27 2015-11-27 Data transmission method and Bluetooth equipment

Publications (1)

Publication Number Publication Date
CN105407225A true CN105407225A (en) 2016-03-16

Family

ID=55472466

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510853910.9A Pending CN105407225A (en) 2015-11-27 2015-11-27 Data transmission method and Bluetooth equipment

Country Status (1)

Country Link
CN (1) CN105407225A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018032622A1 (en) * 2016-08-19 2018-02-22 深圳市元征科技股份有限公司 Bluetooth switching method and device
CN108260117A (en) * 2018-02-28 2018-07-06 惠州Tcl移动通信有限公司 A kind of Bluetooth transmission control method, control system and storage medium
CN110880949A (en) * 2019-11-21 2020-03-13 成都融智汽车服务有限公司 Bluetooth communication method, device and system
CN111083755A (en) * 2019-12-24 2020-04-28 维沃移动通信有限公司 Equipment switching method and related equipment
CN112134549A (en) * 2020-09-22 2020-12-25 Oppo广东移动通信有限公司 Startup control method, device, equipment and storage medium
CN114340021A (en) * 2022-03-03 2022-04-12 荣耀终端有限公司 Request processing method and device
WO2023045800A1 (en) * 2021-09-24 2023-03-30 Oppo广东移动通信有限公司 Call control method and apparatus, electronic device, and computer-readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201928440U (en) * 2010-12-22 2011-08-10 北京格林思通科技有限公司 Wireless relay device, mobile wireless communication terminal and wireless communication system
CN103166935A (en) * 2011-12-16 2013-06-19 中兴通讯股份有限公司 Method and device for realizing near field communication
CN105050034A (en) * 2015-08-25 2015-11-11 百度在线网络技术(北京)有限公司 Method, device and system for implementing voice service based on Bluetooth connection

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201928440U (en) * 2010-12-22 2011-08-10 北京格林思通科技有限公司 Wireless relay device, mobile wireless communication terminal and wireless communication system
CN103166935A (en) * 2011-12-16 2013-06-19 中兴通讯股份有限公司 Method and device for realizing near field communication
CN105050034A (en) * 2015-08-25 2015-11-11 百度在线网络技术(北京)有限公司 Method, device and system for implementing voice service based on Bluetooth connection

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018032622A1 (en) * 2016-08-19 2018-02-22 深圳市元征科技股份有限公司 Bluetooth switching method and device
CN108260117A (en) * 2018-02-28 2018-07-06 惠州Tcl移动通信有限公司 A kind of Bluetooth transmission control method, control system and storage medium
US11258844B2 (en) 2018-02-28 2022-02-22 Huizhou Tcl Mobile Communication Co., Ltd. Bluetooth transmission control method, control system, and storage medium
CN110880949A (en) * 2019-11-21 2020-03-13 成都融智汽车服务有限公司 Bluetooth communication method, device and system
CN110880949B (en) * 2019-11-21 2021-11-16 智车(上海)实业有限公司 Bluetooth communication method, device and system
CN111083755A (en) * 2019-12-24 2020-04-28 维沃移动通信有限公司 Equipment switching method and related equipment
CN111083755B (en) * 2019-12-24 2022-06-10 维沃移动通信有限公司 Equipment switching method and related equipment
CN112134549A (en) * 2020-09-22 2020-12-25 Oppo广东移动通信有限公司 Startup control method, device, equipment and storage medium
WO2023045800A1 (en) * 2021-09-24 2023-03-30 Oppo广东移动通信有限公司 Call control method and apparatus, electronic device, and computer-readable storage medium
CN114340021A (en) * 2022-03-03 2022-04-12 荣耀终端有限公司 Request processing method and device
CN114340021B (en) * 2022-03-03 2022-08-12 荣耀终端有限公司 Request processing method and device

Similar Documents

Publication Publication Date Title
CN105407225A (en) Data transmission method and Bluetooth equipment
US11109138B2 (en) Data transmission method and system, and bluetooth headphone
US7822606B2 (en) Method and apparatus for generating audio information from received synthesis information
JP7302006B2 (en) Methods for operating Bluetooth devices
RU2434333C2 (en) Apparatus and method of transmitting sequence of data packets and decoder and apparatus for recognising sequence of data packets
CN108932948B (en) Audio data processing method and device, computer equipment and computer readable storage medium
CN109461450B (en) Audio data transmission method, system, storage medium and Bluetooth headset
KR101550462B1 (en) A method and an apparatus for embedding data in a media stream
JP2000138956A (en) Voice information transmission method and voice information transmission system
CN109857364A (en) Audio frequency playing method and device, storage medium, communication terminal
CN108718361B (en) Audio file playing method and wireless answering device
TW200948035A (en) Systems, methods and apparatus for transmitting data over a voice channel of a wireless telephone network
CN104184894A (en) Karaoke implementation method and system
US20230069653A1 (en) Audio Transmission Method and Electronic Device
CN100492327C (en) Memory expansion pack for conveying content to portable terminal and its method
CN102055683A (en) Method, device and system for sharing music data
CN109413525A (en) Encoding rate method of adjustment, device, electronic equipment and storage medium
CN104363496A (en) Method for achieving multiple scenario application of audio system in network set top box
CN106878384A (en) Data forwarding method, its device, bluetooth equipment and audio frequency transmission method
JP2005253051A (en) Device and method of communication terminal to reproduce and store three-dimensional stereo sound
US8213985B2 (en) Mobile communication terminal supporting TTY device for hard-of-hearing or speech-disabled person and communication method thereof
CN115174538A (en) Data transmission method and device, electronic equipment and computer readable medium
CN104468991A (en) Mobile terminal and voice frequency receiving and sending method thereof
CN105808198A (en) Audio file processing method and apparatus applied to android system and terminal
CN103888473A (en) Systems, Methods And Apparatus For Transmitting Data Over A Voice Channel Of A Wireless Telephone Network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160721

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant after: Qingdao Hisense Electric Co., Ltd.

Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Applicant before: Qingdao Hisense Xinxin Technology Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160316