CN102412877A - Non-audio data transmission method based on A2DP (audio 2 device protocol) - Google Patents

Non-audio data transmission method based on A2DP (audio 2 device protocol) Download PDF

Info

Publication number
CN102412877A
CN102412877A CN2011104410853A CN201110441085A CN102412877A CN 102412877 A CN102412877 A CN 102412877A CN 2011104410853 A CN2011104410853 A CN 2011104410853A CN 201110441085 A CN201110441085 A CN 201110441085A CN 102412877 A CN102412877 A CN 102412877A
Authority
CN
China
Prior art keywords
audio data
sbc
bluetooth
packets
method based
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
CN2011104410853A
Other languages
Chinese (zh)
Other versions
CN102412877B (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.)
SHANGHAI MVSILICON INTEGRATED CIRCUIT CO Ltd
Original Assignee
SHANGHAI MVSILICON INTEGRATED CIRCUIT 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 SHANGHAI MVSILICON INTEGRATED CIRCUIT CO Ltd filed Critical SHANGHAI MVSILICON INTEGRATED CIRCUIT CO Ltd
Priority to CN201110441085.3A priority Critical patent/CN102412877B/en
Publication of CN102412877A publication Critical patent/CN102412877A/en
Application granted granted Critical
Publication of CN102412877B publication Critical patent/CN102412877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a non-audio data transmission method based on an A2DP (audio 2 device protocol). The method is mainly characterized in that on the premise of not changing the existing Bluetooth related protocols, when a sending terminal embeds non-audio data into the head or tail of an SBC (subband coding) audio data packet so as to encapsulate the SBC audio data packet into an SBC data packet and transmits the SBC data packet to a receiving terminal through Bluetooth according to the A2DP, the receiving terminal separates the SBC audio data packet and the non-audio data out from the received SBC data packet according to a preset analysis rule, so that the receiving terminal can synchronously display the required non-audio data while displaying audio data, thus the Bluetooth-based aural reception experience of a user can be enriched.

Description

A kind of non-audio data transmission method based on the A2DP agreement
Technical field
The present invention relates to a kind of moving communicating field, particularly relate to a kind of non-audio data transmission method based on the A2DP agreement.
Background technology
Along with the quick decline of blue tooth products price, bluetooth equipment has obtained popularizing fast, and the device with Bluetooth function is also more and more general, and especially in field of mobile phones, bluetooth has almost become a kind of de facto standards configuration.
Current; Important function of bluetooth is utilized bluetooth high quality audio (A2DP) agreement that audio signal is sent to bluetooth from bluetooth output equipment (like mobile phone etc.) exactly and is play receiving equipment (like bluetooth earphone, Baffle Box of Bluetooth etc.), and wherein without any need for the physical connection of wired mode.People are enjoying the bluetooth high quality audio simultaneously easily conscientiously; But find to think further to improve and listen to but very inconvenience of experience; As can't be at bluetooth receiving terminal synchronously displaying lyrics or a series of attribute informations of audio frequency media itself, like album--name, song length, singer informations etc.
In order to improve the user experience of this respect, how a kind of non-audio data transmission method based on the A2DP agreement is proposed, it is very meaningful just to seem.
Summary of the invention
The shortcoming of prior art in view of the above; The object of the present invention is to provide a kind of non-audio data transmission method based on the A2DP agreement; With under the prerequisite of the related protocol that does not change existing bluetooth, but other non-audio data of real-time Transmission, and then enrich the experience of listening to that the user uses bluetooth.
For realizing above-mentioned purpose and other relevant purposes; The present invention provides a kind of non-audio data transmission method based on the A2DP agreement; It is applied in supports bluetooth approach to carry out between the transmitting terminal and receiving terminal of audio data transmission; And said voice data is the SBC packets of audio data that encapsulates according to the SBC standard, it is characterized in that said non-audio data transmission method based on the A2DP agreement comprises: at said transmitting terminal; Non-audio data is embedded in the packet header or the bag tail of said SBC packets of audio data, and is encapsulated as the SBC packet; At said transmitting terminal, after the normal pairing of bluetooth of transmitting terminal and receiving terminal, said SBC packet is carried out the wireless transmit transmission through said A2DP agreement through bluetooth; At said receiving terminal, receive said SBC packet through bluetooth through said A2DP agreement; And at said receiving terminal, the resolution rules that foundation one is preset is isolated SBC packets of audio data and non-audio data in the SBC packet that is received.
Wherein, the bag tail that non-audio data is embedded in said SBC packets of audio data only is suitable under the situation that said SBC packets of audio data sound intermediate frequency data do not take fully.This SBC packets of audio data comprises with the information of sync byte as first byte.This non-audio data is handled the data that do not comprise sync byte that obtain for protecting through bluetooth SBC code stream synchronization mechanism.This sync byte is 0x9C.Resolution rules that should be preset is for parsing the SBC packets of audio data according to said first byte information and said SBC standard, and what do not parse then is non-audio data.
As stated; Non-audio data transmission method based on the A2DP agreement of the present invention is on existing Bluetooth protocol basis (need not change Bluetooth protocol itself); The non-audio data that in through the blue tooth transmission audio frequency data, will transmit is embedded in the SBC packets of audio data in the lump, and is encapsulated as the SBC packet, and the non-audio data that embeds is extracted in the SBC packet at the bluetooth receiving terminal; So; Can enjoy the bluetooth high quality audio conscientiously simultaneously easily, and for example show non-audio data such as the lyrics synchronously, and further enrich the experience of listening to that the user uses bluetooth.
Description of drawings
Fig. 1 is shown as the operational flowchart of the non-audio data transmission method based on the A2DP agreement of the present invention.
The element numbers explanation
S10~S40 step
Embodiment
Below through specific instantiation execution mode of the present invention is described, those skilled in the art can understand other advantages of the present invention and effect easily by the content that this specification disclosed.The present invention can also implement or use through other different embodiment, and each item details in this specification also can be based on different viewpoints and application, carries out various modifications or change under the spirit of the present invention not deviating from.
See also Fig. 1.Need to prove; The diagram that is provided in the present embodiment is only explained basic conception of the present invention in a schematic way; Satisfy only show in graphic with the present invention in relevant assembly but not component count, shape and plotted when implementing according to reality; Kenel, quantity and the ratio of each assembly can be a kind of random change during its actual enforcement, and its assembly layout kenel also maybe be more complicated.
As shown in the figure; The present invention provides a kind of non-audio data transmission method based on the A2DP agreement; It is applied in supports bluetooth approach to carry out between the transmitting terminal and receiving terminal of audio data transmission, and said voice data is the SBC packets of audio data that encapsulates according to the SBC standard, and this SBC packets of audio data comprises with the information of sync byte as first byte; In the present embodiment, this sync byte is 0x9C.Below promptly the operating procedure of the non-audio data transmission method based on the A2DP agreement of the present invention is elaborated.
At first execution in step S10 at transmitting terminal, is embedded in the packet header or the bag tail of SBC packets of audio data with non-audio data, and is encapsulated as the SBC packet.Then, execution in step S20.Wherein, this non-audio data is handled the data that do not comprise sync byte that obtain for protecting through bluetooth SBC code stream synchronization mechanism.In addition, what need explain is that the bag tail that non-audio data is embedded in said SBC packets of audio data only is suitable under the situation that said SBC packets of audio data sound intermediate frequency data do not take fully.
In step S20,, after the normal pairing of bluetooth of transmitting terminal and receiving terminal, this SBC packet is carried out the wireless transmit transmission through the A2DP agreement through bluetooth at transmitting terminal.Then, execution in step S30.
In step S30,, receive this SBC packet through bluetooth through this A2DP agreement at receiving terminal.Then, execution in step S40.
In step S40, at receiving terminal, the resolution rules that foundation one is preset is isolated SBC packets of audio data and non-audio data in the SBC packet that is received.Wherein, this preset resolution rules is for parsing the SBC packets of audio data according to said first byte information and said SBC standard, and what do not parse then is non-audio data.
Use the non-audio data transmission method based on the A2DP agreement of the present invention for more detailed understanding and how when using the blue tooth transmission audio frequency data, to transmit other non-audio data in the lump, below take 2 examples and explain.
Example one: with 0,1,2,3,4,5,6,7, the packet header that 8,90 non-audio data are embedded in the SBC packets of audio data is that example describes.
At first; Protect processing not comprised 16 system data of sync byte through bluetooth SBC code stream synchronization mechanism non-audio data 0~9 this 10 number that needs transmit simultaneously; Be 0x30 to 0x39; Then, each non-audio data that takies a byte (8 bit) is embedded in the packet header of current SBC packets of audio data and is encapsulated as the SBC packet, the structural representation of this SBC packet such as following table 1:
Table 1
0x30 0x31 0x32 0x33 …… 0x39 0x9C XXXX
The sync byte of a SBC packets of audio data of 0x9C byte representation in the last table 1,0x30 to 0x39 in the table, promptly the data before the sync byte 0x9C are non-audio data, XXXX then representes the data of a SBC packets of audio data in the table.
Then, the bluetooth equipment of transmitting terminal and receiving terminal normally matches, and after normal pairing, in this transmitting terminal, the SBC packet that has encapsulated is carried out the wireless transmit transmission through the A2DP agreement through bluetooth.
Afterwards, at this receiving terminal, receive this SBC packet through bluetooth through this A2DP agreement.
At last; At this receiving terminal,, in the SBC packet that is received, isolate SBC packets of audio data and non-audio data according to preset resolution rules; Be about to 10 preceding data extracting of 0x9C sync byte and come out, and give corresponding audio decoder decode and playback the data that begin with 0x9C.
Example two: with under the situation about not taking fully in SBC packets of audio data sound intermediate frequency data with 0,1,2,3,4,5,6,7, the bag tail that 8,90 non-audio data are embedded in the SBC packets of audio data is that example describes.
At first; Protect processing not comprised 16 system data of sync byte through bluetooth SBC code stream synchronization mechanism non-audio data 0~9 this 10 number that needs transmit simultaneously; Then; Each non-audio data that takies a byte (8 bit) is embedded in the bag tail of current SBC packets of audio data and is encapsulated as the SBC packet, the structural representation of this SBC packet such as following table 2:
Table 2
0x9C XXXX 0x30 0x31 0x32 0x33 …… 0x39
The sync byte of a SBC packets of audio data of 0x9C byte representation in the last table 2, XXXX then representes the data of a SBC packets of audio data in the table, and 0x30 to 0x39 in the table, promptly the data after the data XXXX are non-audio data.
Then, the bluetooth equipment of transmitting terminal and receiving terminal normally matches, and after normal pairing, in this transmitting terminal, the SBC packet that has encapsulated is carried out the wireless transmit transmission through the A2DP agreement through bluetooth.
Afterwards, at this receiving terminal, receive this SBC packet through bluetooth through this A2DP agreement.
At last; At this receiving terminal; According to preset resolution rules, in the SBC packet that is received, isolate SBC packets of audio data and non-audio data, promptly obtain the effectively individual voice data XXXX that from sync byte 0x9C after, begins according to 0x9C sync byte information and SBC standard; And should be effectively a voice data XXXX give corresponding audio decoder decode and playback, and the data after the data XXXX are promptly separated and are non-audio data.
In sum; Non-audio data transmission method based on the A2DP agreement of the present invention mainly is with under the prerequisite of the related protocol that does not change existing bluetooth; The non-audio data that in the bluetooth playing audio-fequency data, will transmit is embedded in the SBC packets of audio data, and is encapsulated as the SBC packet, and the non-audio data that embeds is extracted in the SBC packet at the bluetooth receiving terminal and to get final product; So; Can enjoy the bluetooth high quality audio conscientiously simultaneously easily, and for example show non-audio data such as the lyrics synchronously, and further enrich the experience of listening to that the user uses bluetooth.
The foregoing description is illustrative principle of the present invention and effect thereof only, but not is used to limit the present invention.Any be familiar with this technological personage all can be under spirit of the present invention and category, the foregoing description is modified or is changed.Therefore, have common knowledge the knowledgeable in the affiliated such as technical field, must contain by claim of the present invention not breaking away from all equivalence modifications of being accomplished under disclosed spirit and the technological thought or changing.

Claims (5)

1. non-audio data transmission method based on the A2DP agreement; It is applied in supports bluetooth approach to carry out between the transmitting terminal and receiving terminal of audio data transmission; And said voice data is the SBC packets of audio data that encapsulates according to the SBC standard; It is characterized in that said non-audio data transmission method based on the A2DP agreement comprises:
At said transmitting terminal, non-audio data is embedded in the packet header or the bag tail of said SBC packets of audio data, and is encapsulated as the SBC packet;
At said transmitting terminal, after the normal pairing of bluetooth of transmitting terminal and receiving terminal, said SBC packet is carried out the wireless transmit transmission through said A2DP agreement through bluetooth;
At said receiving terminal, receive said SBC packet through bluetooth through said A2DP agreement; And
At said receiving terminal, the resolution rules that foundation one is preset is isolated SBC packets of audio data and non-audio data in the SBC packet that is received.
2. the non-audio data transmission method based on the A2DP agreement according to claim 1 is characterized in that: the bag tail that non-audio data is embedded in said SBC packets of audio data only is suitable under the situation that said SBC packets of audio data sound intermediate frequency data do not take fully.
3. the non-audio data transmission method based on the A2DP agreement according to claim 1 is characterized in that: said SBC packets of audio data comprises with the information of sync byte as first byte.
4. the non-audio data transmission method based on the A2DP agreement according to claim 1 is characterized in that: said non-audio data is handled the data that do not comprise sync byte that obtain for protecting through bluetooth SBC code stream synchronization mechanism.
5. the non-audio data transmission method based on the A2DP agreement according to claim 3; It is characterized in that: said preset resolution rules is for parsing the SBC packets of audio data according to said first byte information and said SBC standard, and what do not parse then is non-audio data.
CN201110441085.3A 2011-12-23 2011-12-23 Non-audio data transmission method based on A2DP (audio 2 device protocol) Active CN102412877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110441085.3A CN102412877B (en) 2011-12-23 2011-12-23 Non-audio data transmission method based on A2DP (audio 2 device protocol)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110441085.3A CN102412877B (en) 2011-12-23 2011-12-23 Non-audio data transmission method based on A2DP (audio 2 device protocol)

Publications (2)

Publication Number Publication Date
CN102412877A true CN102412877A (en) 2012-04-11
CN102412877B CN102412877B (en) 2014-05-28

Family

ID=45914755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110441085.3A Active CN102412877B (en) 2011-12-23 2011-12-23 Non-audio data transmission method based on A2DP (audio 2 device protocol)

Country Status (1)

Country Link
CN (1) CN102412877B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200263A (en) * 2013-04-02 2013-07-10 上海山景集成电路股份有限公司 Intelligent terminal, Bluetooth audio playing device and interactive method and interactive system for intelligent terminal and Bluetooth audio playing device
CN104023007A (en) * 2014-05-14 2014-09-03 上海卓悠网络科技有限公司 Data flow sending and reception method, terminal and system thereof
CN105407446A (en) * 2014-09-15 2016-03-16 中强光电股份有限公司 Bluetooth device, projection device and data transmission method
CN106205657A (en) * 2016-07-27 2016-12-07 腾讯科技(深圳)有限公司 A kind of lyric display method and device
CN107528793A (en) * 2017-08-01 2017-12-29 惠州Tcl移动通信有限公司 A kind of Bluetooth transmission processing method, storage device and mobile terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1630347A (en) * 2003-12-19 2005-06-22 乐金电子(中国)研究开发中心有限公司 Method and apparatus for addressable play of rolling/static title in digital television
CN1881821A (en) * 2005-05-26 2006-12-20 美国博通公司 Method and system for wireless communication
CN1925350A (en) * 2005-08-30 2007-03-07 美国博通公司 Method and system for processing data
CN1972408A (en) * 2006-11-30 2007-05-30 中兴通讯股份有限公司 A data transmission method for mobile multimedia broadcasting system
CN101499827A (en) * 2009-03-03 2009-08-05 青岛海信移动通信技术股份有限公司 Mobile terminal and Bluetooth communication method thereof
CN102196319A (en) * 2010-03-17 2011-09-21 中兴通讯股份有限公司 Live streaming service system and realization method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1630347A (en) * 2003-12-19 2005-06-22 乐金电子(中国)研究开发中心有限公司 Method and apparatus for addressable play of rolling/static title in digital television
CN1881821A (en) * 2005-05-26 2006-12-20 美国博通公司 Method and system for wireless communication
CN1925350A (en) * 2005-08-30 2007-03-07 美国博通公司 Method and system for processing data
CN1972408A (en) * 2006-11-30 2007-05-30 中兴通讯股份有限公司 A data transmission method for mobile multimedia broadcasting system
CN101499827A (en) * 2009-03-03 2009-08-05 青岛海信移动通信技术股份有限公司 Mobile terminal and Bluetooth communication method thereof
CN102196319A (en) * 2010-03-17 2011-09-21 中兴通讯股份有限公司 Live streaming service system and realization method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200263A (en) * 2013-04-02 2013-07-10 上海山景集成电路股份有限公司 Intelligent terminal, Bluetooth audio playing device and interactive method and interactive system for intelligent terminal and Bluetooth audio playing device
CN103200263B (en) * 2013-04-02 2016-06-01 上海山景集成电路股份有限公司 Intelligent terminal and Bluetooth audio frequency playback equipment and exchange method, system
CN104023007A (en) * 2014-05-14 2014-09-03 上海卓悠网络科技有限公司 Data flow sending and reception method, terminal and system thereof
CN105407446A (en) * 2014-09-15 2016-03-16 中强光电股份有限公司 Bluetooth device, projection device and data transmission method
CN105407446B (en) * 2014-09-15 2019-04-12 中强光电股份有限公司 A kind of blue-tooth device, projection arrangement and data transmission method
CN106205657A (en) * 2016-07-27 2016-12-07 腾讯科技(深圳)有限公司 A kind of lyric display method and device
CN106205657B (en) * 2016-07-27 2019-11-05 腾讯科技(深圳)有限公司 A kind of lyric display method and device
CN107528793A (en) * 2017-08-01 2017-12-29 惠州Tcl移动通信有限公司 A kind of Bluetooth transmission processing method, storage device and mobile terminal
CN107528793B (en) * 2017-08-01 2021-09-14 惠州Tcl移动通信有限公司 Bluetooth transmission processing method, storage device and mobile terminal

Also Published As

Publication number Publication date
CN102412877B (en) 2014-05-28

Similar Documents

Publication Publication Date Title
CN103607678B (en) A kind of wireless synchronization audio amplifier
CN105357604B (en) Audio playing device with Bluetooth function and audio playing method
CN102412877B (en) Non-audio data transmission method based on A2DP (audio 2 device protocol)
CN205540039U (en) One -to -many audio frequency control system based on radio transmission technology
CN103269475B (en) Data transmitting/receiving equipment and data receiving-transmitting method
CN106341719A (en) Synchronized audio play method simultaneously using various kinds of play modules of equipment and apparatus thereof
CN102655584A (en) Media data transmitting and playing method and system in tele-presence technology
CN103841498A (en) Terminal and stereophonic playing system and method
CN104361847A (en) Advertising playing system and method capable of interacting through audio
CN109819303A (en) Data output method and relevant device
CN203219287U (en) Media playing system and media emitting apparatus
CN202907119U (en) Digital television terminal with WIFI display function
CN104010226A (en) Multi-terminal interactive playing method and system based on voice frequency
CN106210312A (en) A kind of played in stereo method based on mobile terminal, mobile terminal and system
CN102693716B (en) Television karaoke system supporting network scoring function and television karaoke realization method
CN105681822A (en) Audio playing and big data acquisition method and device based on wifi
CN106792350A (en) A kind of device of compatible various Audio Signal Processings
CN114531671A (en) Automobile audio playing control method based on integration of Bluetooth and DLNA technologies
CN204046805U (en) A kind of electroacoustic transducer of tow sides sounding
CN205540057U (en) One -to -many audio frequency control system based on radio transmission technology
CN201957216U (en) Bluetooth earphone with sound recording function
CN104066033A (en) Bluetooth sound box system and using method thereof
CN104053042B (en) A kind of voice method for pushing, equipment and system
US20090010183A1 (en) Function configuration method of electronic apparatuses
CN1953526B (en) A display device and the AV playing system using the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 201203. 602, 603, building 2, 112 Liang Xiu Road, Zhangjiang hi tech park, Shanghai

Applicant after: Shanghai Mountain View Silicon Co., Ltd.

Address before: 200135, A building, block 1518, Golden Eagle building, No. 403 Minsheng Road, Shanghai, Pudong New Area

Applicant before: Shanghai Mvsilicon Integrated Circuit Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHANJING CIRCUIT TECH CO., LTD., SHANGHAI TO: SHANGHAI SHANJING INTEGRATED CIRCUITS CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant