CN109039390A - A kind of method of bluetooth transmitted in both directions voice data - Google Patents

A kind of method of bluetooth transmitted in both directions voice data Download PDF

Info

Publication number
CN109039390A
CN109039390A CN201811076453.7A CN201811076453A CN109039390A CN 109039390 A CN109039390 A CN 109039390A CN 201811076453 A CN201811076453 A CN 201811076453A CN 109039390 A CN109039390 A CN 109039390A
Authority
CN
China
Prior art keywords
bluetooth equipment
voice signal
transmitting terminal
address code
receiving end
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
CN201811076453.7A
Other languages
Chinese (zh)
Other versions
CN109039390B (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.)
Ma Yi
Original Assignee
SHENZHEN ZHUIFENGMA 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 SHENZHEN ZHUIFENGMA TECHNOLOGY Co Ltd filed Critical SHENZHEN ZHUIFENGMA TECHNOLOGY Co Ltd
Priority to CN201811076453.7A priority Critical patent/CN109039390B/en
Publication of CN109039390A publication Critical patent/CN109039390A/en
Application granted granted Critical
Publication of CN109039390B publication Critical patent/CN109039390B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • H04B5/72
    • 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

Abstract

The invention discloses a kind of methods of bluetooth transmitted in both directions voice data, specifically includes the following steps: (1) transmitting terminal bluetooth equipment acquires voice signal, and the voice signal are carried out A/D conversion, analog voice signal is converted to audio digital signals;(2) address code of receiving end bluetooth equipment is located to the front end of audio digital signals, the address code of transmitting terminal bluetooth equipment is located to the end of audio digital signals;(3) transmitting terminal bluetooth equipment is sent with the voice signal postponed;(4) receiving end bluetooth equipment receives and screens voice signal.The data of the data for distinguishing transmission or receiving that the present invention can be fairly simple.

Description

A kind of method of bluetooth transmitted in both directions voice data
Technical field
The present invention relates to a kind of methods of bluetooth transmitted in both directions voice data.
Background technique
In the prior art, bluetooth transmitted in both directions voice data, it is the number sent that bluetooth equipment, which needs to distinguish voice data, According to or receive data.
Summary of the invention
A kind of method that the present invention proposes bluetooth transmitted in both directions voice data, the data of difference transmission that can be fairly simple Or the data received.
The technical scheme of the present invention is realized as follows:
A kind of method of bluetooth transmitted in both directions voice data, specifically includes the following steps:
(1) transmitting terminal bluetooth equipment acquires voice signal, and the voice signal is carried out A/D conversion, by analog voice signal Be converted to audio digital signals;
(2) address code of receiving end bluetooth equipment is located to the front end of audio digital signals, by the address of transmitting terminal bluetooth equipment Code is located at the end of audio digital signals;
(3) transmitting terminal bluetooth equipment is sent with the voice signal postponed;
(4) receiving end bluetooth equipment receives and screens voice signal.
Preferably, in step (3), transmitting terminal bluetooth equipment will send data buffer zone progress with the voice signal postponed After buffering, issue with the voice signal postponed.
Preferably, in step (4), receiving end bluetooth equipment carries out the voice signal received in reception data buffer After buffering, whether the address code for parsing the front end of voice signal is identical as the address code of this equipment, if so, voice signal is turned It changes analog signal into and plays.
Preferably, further comprising the steps of:
(5) receiving end bluetooth equipment extracts the address code of voice signal end, and the voice that the address code of extraction is located at return is believed Number front end.
Preferably, step (1) and (2) specifically include the following contents:
(1) transmitting terminal bluetooth equipment acquires multiple groups voice signal, and carries out A/D conversion to all voice signals, will simulate language Sound signal is converted to audio digital signals, and multiple groups voice signal corresponds to multiple receiving end bluetooth equipments;
(2) address code of corresponding receiving end bluetooth equipment is located to the front end of each group of audio digital signals, by transmitting terminal indigo plant The address code of tooth equipment is located at the end of audio digital signals.
Preferably, step (1), (2) and (3) specifically includes the following contents:
(1) transmitting terminal bluetooth equipment acquires multiple groups voice signal, and carries out A/D conversion to all voice signals, will simulate language Sound signal is converted to audio digital signals, and multiple groups voice signal corresponds to the same receiving end bluetooth equipment;
(2) timestamp of each group of voice signal of the address code of corresponding receiving end bluetooth equipment and acquisition is located at each group The address code of transmitting terminal bluetooth equipment is located at the end of audio digital signals by the front end of audio digital signals;
(3) transmitting terminal bluetooth equipment is using timestamp as the priority level for judging that each group of voice signal is sent, according to priority It Fa Song not be with the voice signal postponed.
Preferably, further comprising the steps of before step (3):
Transmitting terminal bluetooth equipment by the address code of the address code of receiving end bluetooth equipment and transmitting terminal bluetooth equipment transmit to Receiving end bluetooth equipment, the receiving end bluetooth equipment is by the ground of the address code of transmitting terminal bluetooth equipment and receiving end bluetooth equipment Location code packing hollow-square should be to transmitting terminal bluetooth equipment.
Preferably, further comprising the steps of before step (2):
The address code of transmitting terminal bluetooth equipment acquisition receiving end bluetooth equipment.
The beneficial effects of the present invention are: the data of difference transmission that can be fairly simple or the data of receiving.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow chart of method one embodiment of bluetooth transmitted in both directions voice data of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
As shown in Figure 1, specifically including following step the invention proposes a kind of method of bluetooth transmitted in both directions voice data It is rapid:
(1) transmitting terminal bluetooth equipment acquires voice signal, and the voice signal is carried out A/D conversion, by analog voice signal Be converted to audio digital signals;
(2) address code of receiving end bluetooth equipment is located to the front end of audio digital signals, by the address of transmitting terminal bluetooth equipment Code is located at the end of audio digital signals;
(3) transmitting terminal bluetooth equipment is sent with the voice signal postponed;
(4) receiving end bluetooth equipment receives and screens voice signal.
Preferably, in step (3), transmitting terminal bluetooth equipment will send data buffer zone progress with the voice signal postponed After buffering, issue with the voice signal postponed.
Preferably, in step (4), receiving end bluetooth equipment carries out the voice signal received in reception data buffer After buffering, whether the address code for parsing the front end of voice signal is identical as the address code of this equipment, if so, voice signal is turned It changes analog signal into and plays.
Preferably, further comprising the steps of:
(5) receiving end bluetooth equipment extracts the address code of voice signal end, and the voice that the address code of extraction is located at return is believed Number front end.
Preferably, step (1) and (2) specifically include the following contents:
(1) transmitting terminal bluetooth equipment acquires multiple groups voice signal, and carries out A/D conversion to all voice signals, will simulate language Sound signal is converted to audio digital signals, and multiple groups voice signal corresponds to multiple receiving end bluetooth equipments;
(2) address code of corresponding receiving end bluetooth equipment is located to the front end of each group of audio digital signals, by transmitting terminal indigo plant The address code of tooth equipment is located at the end of audio digital signals.
Preferably, step (1), (2) and (3) specifically includes the following contents:
(1) transmitting terminal bluetooth equipment acquires multiple groups voice signal, and carries out A/D conversion to all voice signals, will simulate language Sound signal is converted to audio digital signals, and multiple groups voice signal corresponds to the same receiving end bluetooth equipment;
(2) timestamp of each group of voice signal of the address code of corresponding receiving end bluetooth equipment and acquisition is located at each group The address code of transmitting terminal bluetooth equipment is located at the end of audio digital signals by the front end of audio digital signals;
(3) transmitting terminal bluetooth equipment is using timestamp as the priority level for judging that each group of voice signal is sent, according to priority It Fa Song not be with the voice signal postponed.
Preferably, further comprising the steps of before step (3):
Transmitting terminal bluetooth equipment by the address code of the address code of receiving end bluetooth equipment and transmitting terminal bluetooth equipment transmit to Receiving end bluetooth equipment, the receiving end bluetooth equipment is by the ground of the address code of transmitting terminal bluetooth equipment and receiving end bluetooth equipment Location code packing hollow-square should be to transmitting terminal bluetooth equipment.
Preferably, further comprising the steps of before step (2):
The address code of transmitting terminal bluetooth equipment acquisition receiving end bluetooth equipment.
In other embodiments, transmitting terminal bluetooth equipment judges whether to need data subpackage after step (1), if so, It carries out in next step;Audio digital signals are divided into several VoPs, set gradually reception in the starting point of VoP Hold address code, packet number code and the timestamp of bluetooth equipment;In the end of VoP, transmitting terminal bluetooth equipment is set Address code;In step (3), Bluetooth transmission link is established, is successively sent according to packet number code or timestamp with the voice postponed Data packet.Corresponding to this, receiving end bluetooth equipment receiving end bluetooth equipment receives VoP;Each group of VoP It is made of the first address code information, timestamp, voice data and the second address code information;The is extracted from the front end of VoP One-address code information is compared with the address code of this equipment, is judged whether unanimously, if so, entering in next step, otherwise abandoning should VoP;Include from voice data front end extraction time stamp, using timestamp as handle priority level judgment criteria, From the end of VoP extract the second address code information, according to the second address code information to the VoP received into Row grouping;The VoP after grouping is recombinated according to timestamp, VoP is converted into analog voice signal, Play the analog voice signal.VoP can be by the first address code information, timestamp, voice data, background noise data It is constituted with the second address code information.For the setting of the first address code information, timestamp, background noise data and the second address code information Fixed byte number after receiving end bluetooth equipment receives VoP, may be selected to abandon background noise data, also using back Scape noise data optimizes processing to voice data.
The coding method of VoP the following steps are included:
Original audio is obtained, the non-speech data in original audio is rejected, obtains speech segments and background sound data, it is right respectively Speech segments and background sound data are quantified, encoded and are transmitted;
Speech segments to input and background sound data carry out characteristic parameter extraction, the characteristic parameter of extraction include line spectrum pair, Pitch period and gain mean value carry out parameter transformation to above-mentioned parameter, change into required format when parameter quantization;
Various speech parameters are quantified and encoded, according to the first address code information, timestamp, voice data, background noise The format of data and the second address code information generates VoP.
The data of the data for distinguishing transmission or receiving that the present invention can be fairly simple, bluetooth equipment are also sent out with the forms of broadcasting Data packet is sent, matches and interrupts to prevent bluetooth equipment, lead to data transmission fails, gives the experience of user poor problem.
Above-mentioned technical proposal discloses improvement of the invention, the technology contents not being disclosed in detail, can be by art technology Personnel are achieved by the prior art.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (8)

1. a kind of method of bluetooth transmitted in both directions voice data, which is characterized in that specifically includes the following steps:
(1) transmitting terminal bluetooth equipment acquires voice signal, and the voice signal is carried out A/D conversion, by analog voice signal Be converted to audio digital signals;
(2) address code of receiving end bluetooth equipment is located to the front end of audio digital signals, by the address of transmitting terminal bluetooth equipment Code is located at the end of audio digital signals;
(3) transmitting terminal bluetooth equipment is sent with the voice signal postponed;
(4) receiving end bluetooth equipment receives and screens voice signal.
2. a kind of method of bluetooth transmitted in both directions voice data according to claim 1, which is characterized in that in step (3), Transmitting terminal bluetooth equipment after sending data buffer zone and being buffered, will be issued with the voice signal postponed with the voice letter postponed Number.
3. a kind of method of bluetooth transmitted in both directions voice data according to claim 1, which is characterized in that in step (4), After receiving end bluetooth equipment is buffered the voice signal received in reception data buffer, the front end of voice signal is parsed Address code it is whether identical as the address code of this equipment, if so, converting voice signals into analog signal and playing.
4. a kind of method of bluetooth transmitted in both directions voice data according to claim 3, which is characterized in that further include following Step:
(5) receiving end bluetooth equipment extracts the address code of voice signal end, and the voice that the address code of extraction is located at return is believed Number front end.
5. a kind of method of bluetooth transmitted in both directions voice data according to claim 1, which is characterized in that step (1) and (2) the following contents is specifically included:
(1) transmitting terminal bluetooth equipment acquires multiple groups voice signal, and carries out A/D conversion to all voice signals, will simulate language Sound signal is converted to audio digital signals, and multiple groups voice signal corresponds to multiple receiving end bluetooth equipments;
(2) address code of corresponding receiving end bluetooth equipment is located to the front end of each group of audio digital signals, by transmitting terminal indigo plant The address code of tooth equipment is located at the end of audio digital signals.
6. a kind of method of bluetooth transmitted in both directions voice data according to claim 1, which is characterized in that
Step (1), (2) and (3) specifically includes the following contents:
(1) transmitting terminal bluetooth equipment acquires multiple groups voice signal, and carries out A/D conversion to all voice signals, will simulate language Sound signal is converted to audio digital signals, and multiple groups voice signal corresponds to the same receiving end bluetooth equipment;
(2) timestamp of each group of voice signal of the address code of corresponding receiving end bluetooth equipment and acquisition is located at each group The address code of transmitting terminal bluetooth equipment is located at the end of audio digital signals by the front end of audio digital signals;
(3) transmitting terminal bluetooth equipment is using timestamp as the priority level for judging that each group of voice signal is sent, according to priority It Fa Song not be with the voice signal postponed.
7. a kind of method of bluetooth transmitted in both directions voice data according to claim 1, which is characterized in that step (3) it It is preceding further comprising the steps of:
Transmitting terminal bluetooth equipment by the address code of the address code of receiving end bluetooth equipment and transmitting terminal bluetooth equipment transmit to Receiving end bluetooth equipment, the receiving end bluetooth equipment is by the ground of the address code of transmitting terminal bluetooth equipment and receiving end bluetooth equipment Location code packing hollow-square should be to transmitting terminal bluetooth equipment.
8. a kind of method of bluetooth transmitted in both directions voice data according to claim 1, which is characterized in that step (2) it It is preceding further comprising the steps of:
The address code of transmitting terminal bluetooth equipment acquisition receiving end bluetooth equipment.
CN201811076453.7A 2018-09-14 2018-09-14 Method for Bluetooth bidirectional transmission of voice data Active CN109039390B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811076453.7A CN109039390B (en) 2018-09-14 2018-09-14 Method for Bluetooth bidirectional transmission of voice data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811076453.7A CN109039390B (en) 2018-09-14 2018-09-14 Method for Bluetooth bidirectional transmission of voice data

Publications (2)

Publication Number Publication Date
CN109039390A true CN109039390A (en) 2018-12-18
CN109039390B CN109039390B (en) 2021-04-27

Family

ID=64622393

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811076453.7A Active CN109039390B (en) 2018-09-14 2018-09-14 Method for Bluetooth bidirectional transmission of voice data

Country Status (1)

Country Link
CN (1) CN109039390B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2850178Y (en) * 2005-06-07 2006-12-20 和恩科技股份有限公司 Blue tooth earphone seat with bidirectional speech transmission
CN101114859A (en) * 2007-09-05 2008-01-30 勾延根 Digital cordless microphone
CN101719911A (en) * 2009-11-24 2010-06-02 中兴通讯股份有限公司 Method, device and system capable of transmitting multimedia data by Bluetooth and playing in real time
CN202798680U (en) * 2012-06-19 2013-03-13 杨子忠 System with short-distance starting frequency-comparison 2.4G digital wireless microphone and a plurality of simultaneously used wireless audio frequency transmission receivers
CN104065401A (en) * 2014-06-25 2014-09-24 青岛歌尔声学科技有限公司 Voice transmission method based on HID bluetooth module and HID bluetooth voice communication device
EP3352077A1 (en) * 2017-01-24 2018-07-25 Da Sheng Inc. Method for synchronously taking audio and video in order to proceed one-to-multi multimedia stream

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2850178Y (en) * 2005-06-07 2006-12-20 和恩科技股份有限公司 Blue tooth earphone seat with bidirectional speech transmission
CN101114859A (en) * 2007-09-05 2008-01-30 勾延根 Digital cordless microphone
CN101719911A (en) * 2009-11-24 2010-06-02 中兴通讯股份有限公司 Method, device and system capable of transmitting multimedia data by Bluetooth and playing in real time
CN202798680U (en) * 2012-06-19 2013-03-13 杨子忠 System with short-distance starting frequency-comparison 2.4G digital wireless microphone and a plurality of simultaneously used wireless audio frequency transmission receivers
CN104065401A (en) * 2014-06-25 2014-09-24 青岛歌尔声学科技有限公司 Voice transmission method based on HID bluetooth module and HID bluetooth voice communication device
EP3352077A1 (en) * 2017-01-24 2018-07-25 Da Sheng Inc. Method for synchronously taking audio and video in order to proceed one-to-multi multimedia stream

Also Published As

Publication number Publication date
CN109039390B (en) 2021-04-27

Similar Documents

Publication Publication Date Title
CN101299632B (en) Synchronization and segment type detection method for data transmission via an audio communication system
CN101102506A (en) A multi-media broadcast data transmission method, device and system
WO2007021835A3 (en) Real time bit rate switching for internet protocol television
CN102301702B (en) Transmitting/receiving system and the method processing data in transmitting/receiving system
CN105992040A (en) Multichannel audio data transmitting method, audio data synchronization playing method and devices
KR101773156B1 (en) Communication method, system and device for optical network system
JP6610960B2 (en) Transmitting apparatus, transmitting method, receiving apparatus, and receiving method
KR101200070B1 (en) Apparatus and method for inserting or extracting a timestamp information
Katugampala et al. Real time data transmission over GSM voice channel for secure voice and data applications
CN101098213A (en) Data transmission method and system
CN101159579A (en) Method and terminal of receiving network transport protocol based stream media data
MX2011004645A (en) Method and system for synchronized mapping of data packets in an atsc data stream.
CN1960435B (en) Method and system for synchronizing broadcast time of mobile multimedia
KR101199373B1 (en) Digital broadcasting system and processing method
CN109039390A (en) A kind of method of bluetooth transmitted in both directions voice data
CN106683682A (en) Method for improving speech transmission efficiency
CN103826084A (en) Audio encoding method
JP2003507929A (en) Method and apparatus for combining a plurality of 8B / 10B encoded data streams
CN103024369B (en) Transmitting terminal, terminal, the system and method for hierarchical coding multiplexing
CN101102507B (en) Transmission method, device and system for mobile multimedia broadcast data
CN105024764A (en) Audio-format-based file transmission method and system
CN103474067A (en) Voice signal transmission method and system
CN102752400A (en) Multiplicity speed security transmission method of inter-network audio file and system thereof
CN100534198C (en) Information source adapter based on SAF
CN101110960A (en) Multimedia broadcast data transmission method, device and system

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
CB02 Change of applicant information

Address after: 518000 a506-3, building a, huashengtai science and technology building, 36 hanghang Road, Sanwei community, Hangcheng street, Bao'an District, Shenzhen City, Guangdong Province

Applicant after: SHENZHEN ZHUIFENGMA TECHNOLOGY Co.,Ltd.

Address before: 518000 south block, Tairan Cangsong building, 6 Tairan Road, chegong temple, Shatou street, Futian District, Shenzhen, Guangdong, 2011, 2012

Applicant before: SHENZHEN ZHUIFENGMA TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230420

Address after: Room 801, Building E, No. 111, North 1st Lane, Chuangye Second Road, Bao'an District, Shenzhen City, Guangdong Province, 518101

Patentee after: Ma Yi

Address before: 518000 a506-3, building a, huashengtai science and technology building, 36 hanghang Road, Sanwei community, Hangcheng street, Bao'an District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN ZHUIFENGMA TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right