CN108337074B - The bluetooth headset wireless communications method of high reliability - Google Patents

The bluetooth headset wireless communications method of high reliability Download PDF

Info

Publication number
CN108337074B
CN108337074B CN201810648005.3A CN201810648005A CN108337074B CN 108337074 B CN108337074 B CN 108337074B CN 201810648005 A CN201810648005 A CN 201810648005A CN 108337074 B CN108337074 B CN 108337074B
Authority
CN
China
Prior art keywords
smart machine
earphone
packets
audio data
main earphone
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.)
Active
Application number
CN201810648005.3A
Other languages
Chinese (zh)
Other versions
CN108337074A (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.)
Bestechnic Shanghai Co Ltd
Original Assignee
Heng Xuan Technology (shanghai) 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 Heng Xuan Technology (shanghai) Co Ltd filed Critical Heng Xuan Technology (shanghai) Co Ltd
Priority to CN201810648005.3A priority Critical patent/CN108337074B/en
Publication of CN108337074A publication Critical patent/CN108337074A/en
Application granted granted Critical
Publication of CN108337074B publication Critical patent/CN108337074B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1812Hybrid protocols; Hybrid automatic repeat request [HARQ]
    • H04L1/1816Hybrid protocols; Hybrid automatic repeat request [HARQ] with retransmission of the same, encoded, message
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1867Arrangements specially adapted for the transmitter end
    • H04L1/189Transmission or retransmission of more than one copy of a message
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

The present invention provides a kind of bluetooth headset wireless communications method of high reliability:Smart machine sends the maximum retransmission N of packets of audio data to main earphone1, preceding N of the smart machine to main earphone transmission packets of audio data2- 1 time, the main earphone replys a NACK packet to the smart machine, if smart machine sends the preceding N of packets of audio data to main earphone2Certain in secondary is primary, and the main earphone receives packets of audio data, then in N2After secondary smart machine sends packets of audio data to main earphone, main earphone replys an ACK packet to smart machine;Wherein N2> 1, and N2≤N1;From headphone monitor and receive the packets of audio data that smart machine sends each time to main earphone.The present invention can effectively improve the reliability of signal transmission between smart machine and bluetooth headset on the basis of reasonable holding time resource.

Description

The bluetooth headset wireless communications method of high reliability
Technical field
The present invention relates to technical field of bluetooth communication, more particularly to the bluetooth headset wireless communications method of high reliability.
Background technology
With the raising of social progress and living standards of the people, earphone has become the essential daily necessities of people.It passes System wired earphone connects smart machine by conducting wire(Such as smart mobile phone, laptop, tablet computer etc.), this can limit pendant The action of wearer is especially inconvenient in sports ground conjunction.Meanwhile it the winding of earphone cable and pullling and stethoscope effect all shadows Ring user experience.Common bluetooth headset eliminates the line between earphone and smart machine, but there are still connect between the ear of left and right Line.True wireless stereo headset comes into being.
One kind of existing true wireless headset is achieved in that smart machine first data(Can be music, voice or number According to packet etc.)Main earphone is sent to by bluetooth, is then forwarded the data to from earphone by main earphone.But the existing above method Main ear power consumption is big, and is deposited from earphone and transmit audio also easy holding time resource between main earphone, and causes audio data Loading error occurring.
Therefore, to solve the above-mentioned problems, the bluetooth headset wireless communications method of high reliability is needed.
Invention content
One aspect of the present invention is to provide a kind of bluetooth headset wireless communications method of high reliability, the method packet Include following method and step:
Smart machine sends the maximum retransmission N of packets of audio data to main earphone1, smart machine to main earphone send sound The preceding N of frequency data packet2- 1 time, the main earphone replys a NACK packet to the smart machine,
If smart machine sends the preceding N of packets of audio data to main earphone2One or many in secondary, the main earphone receives To packets of audio data, then in N2After secondary smart machine sends packets of audio data to main earphone, main earphone is replied to smart machine One ACK packet;Wherein N2> 1, and N2≤N1
From headphone monitor and receive the packets of audio data that smart machine sends each time to main earphone.
Preferably, the method further includes following method and step:
If smart machine sends the preceding N of packets of audio data to main earphone2It is described not received from institute from earphone in secondary State the packets of audio data of smart machine;
Then in N2It is described to be sent out from earphone to the smart machine after secondary smart machine sends packets of audio data to main earphone An interference signal is sent, the ACK packets for preventing smart machine to be returned from receiving the main earphone.
Preferably, the method further includes:It is described from earphone to the smart machine send an interference signal before, to master Earphone sends an indication signal,
When main earphone receives the indication signal, the power of the ACK packets sent to smart machine is reduced.
Preferably, the method further includes:Compare the main earphone and the packets of audio data received from earphone Signal strength, if the signal strength that the main earphone receives is more than the signal strength received from earphone, principal and subordinate's ear Machine-cut is changed.
Another aspect of the present invention is to provide a kind of bluetooth headset wireless communications method of high reliability, the method Including following method and step:
Smart machine sends packets of audio data to main earphone, from headphone monitor and receives what smart machine was sent to main earphone Packets of audio data, when the main earphone receives the packets of audio data that the smart machine is sent, then the main earphone is with first Power returns to ACK packets to the smart machine;
When the main earphone does not receive the packets of audio data that the smart machine is sent, then the main earphone is to the intelligence It can equipment return NACK packets;
The smart machine does not receive ACK packets, or receives NACK packets, then the smart machine retransmits audio Data packet;
If the main earphone receives the packets of audio data again, the main earphone is with the second power to the intelligence Equipment returns to ACK packets, wherein second power is more than first power.
Preferably, the method further includes following method and step:
From headphone monitor and the packets of audio data that smart machine sends to main earphone is received, is come from when not received from earphone The packets of audio data of the smart machine,
It is then described to send an interference signal from earphone to the smart machine, prevent smart machine from receiving the master The ACK packets that earphone returns.
Preferably, the method further includes:It is described from earphone to the smart machine send an interference signal before, to master Earphone sends an indication signal,
When main earphone receives the indication signal, the power that ACK packets are replied to smart machine is reduced.
Preferably, the method includes:Compare the letter of the main earphone and the packets of audio data received from earphone Number intensity, if the signal strength that the main earphone receives is more than the signal strength received from earphone, principal and subordinate's earphone Switching.
Preferably, when the main earphone receives the packets of audio data that the smart machine is sent, and it is described from earphone Also the packets of audio data that the smart machine is sent is received,
Then the main earphone is described to be returned from earphone to the smart machine to the smart machine returning part ACK packets Another part ACK packets form complete ACK packets with the main earphone to the smart machine returning part ACK packets.
Preferably, the data packet head for sending an interference signal to the smart machine from earphone includes ARQN bits For 0 and/or FLOW bits be 0 and/or SEQN bits are 0.
The present invention can effectively improve on the basis of reasonable holding time resource between smart machine and bluetooth headset The reliability of signal transmission.
It should be appreciated that aforementioned description substantially and follow-up description in detail are exemplary illustration and explanation, it should not As the limitation to the claimed content of the present invention.
Description of the drawings
With reference to the attached drawing of accompanying, the more purposes of the present invention, function and advantage are by the as follows of embodiment through the invention Description is illustrated, wherein:
The structure that Fig. 1 diagrammatically illustrates smart machine of the present invention and main earphone and transmitted from audio data between earphone is shown It is intended to.
It is transmitted Fig. 2 shows smart machine in one embodiment of the invention and main earphone and from audio data between earphone Flow diagram.
Fig. 3 shows smart machine and main earphone in another embodiment of the present invention and is transmitted from audio data between earphone Flow diagram.
Fig. 4 shows the main earphone of the present invention and the transmitting-receiving sequence diagram from earphone and smart machine packets of audio data.
Fig. 5 shows the head-coating structure schematic diagram of ACK packets or NACK packets of the present invention;
Fig. 6 shows the main earphone of the present invention flow diagram synchronous with smart machine signal.
Specific implementation mode
By reference to exemplary embodiment, the purpose of the present invention and function and the side for realizing these purposes and function Method will be illustrated.However, the present invention is not limited to exemplary embodiment as disclosed below;Can by different form come It is realized.The essence of specification is only to aid in the detail of the various equivalent modifications Integrated Understanding present invention.
Hereinafter, the embodiment of the present invention will be described with reference to the drawings, relevant technical terms should be people in the art Known to member.In the accompanying drawings, identical reference numeral represents same or similar component or same or like step, Unless otherwise indicated.Present disclosure is illustrated below by specific embodiment, according to an embodiment of the invention, this Invention provides a kind of wireless communications method suitable for bluetooth headset, in smart machine(Such as mobile phone, ipad)It is main when playing music Earphone receives packets of audio data, from headphone monitor and receives packets of audio data.By Signal Regulation, realize that left and right earphone is protected always It holds while receiving music.
Smart machine of the present invention as shown in Figure 1 and main earphone and the structural schematic diagram transmitted from audio data between earphone, It establishes linking bluetooth between smart machine 10 and main earphone 20, main earphone 20 and establishes linking bluetooth between earphone 30.It broadcasts When putting stereo music, smart machine 10 plays stereo music, and packets of audio data is sent to main earphone by linking bluetooth 20, monitor and receive the packets of audio data that smart machine 10 sends to main earphone 20 from earphone 30, and then to main earphone 20 and from Earphone 30 plays music or call voice simultaneously.In an embodiment of the present invention, between smart machine 10 and main earphone 20, main Earphone 20 and linking bluetooth is established between earphone 30, after establishing linking bluetooth, main earphone 20 is by 10 bluetooth of smart machine Address, main earphone 20 and the encryption parameter information of 10 linking bluetooth of smart machine are sent to from earphone 30, to facilitate from earphone 30 Monitor and receive the audio data of smart machine transmission.
According to an embodiment of the invention, smart machine 10 sends the packets of audio data of left and right acoustic channels to main earphone 20, from ear The packets of audio data that smart machine 10 is sent to main earphone 20 is monitored and received to machine.In order to enable present disclosure clearly Illustrate, the process sent to audio data in embodiment is described in detail.It should be understood that main earphone 20 and smart machine 10 Linking bluetooth is established, during smart machine 10 sends packets of audio data to main earphone 20, from 30 monitored data packet of earphone.This During a, main earphone 20 and/or participated in from earphone 30 to the feedback of smart machine 10, including ACK(Acknowledge is answered It answers)And NACK(Negative acknowledge, negative response).In the prior art, usual feeding back ACK packet then shows to connect Packets of audio data is received, feeds back NACK packets, then it represents that do not receive packets of audio data.One embodiment of the invention as shown in Figure 2 Middle smart machine and main earphone and the flow diagram transmitted from audio data between earphone, a kind of bluetooth headset of high reliability without Line communication means, including following method and step:
Smart machine 10 sends the maximum retransmission N of packets of audio data to main earphone 201, i.e. smart machine 10 sets in advance It orients main earphone and at most sends packets of audio data N1It is secondary.
The maximum retransmission N of packets of audio data is sent to main earphone 20 for smart machine 101, in some musics Embodiment in, since A2DP reaches an agreement on, N1 is infinitely great.At other in the embodiment for playing voice communication, N1By smart machine (Mobile phone)Pass through HFP with main earphone(Hands-free Profile)Negotiate to determine, for example, smart machine(Mobile phone)To main earphone Send request maximum retransmission N1It is 5 times.If main earphone is agreed to, it is determined that be maximum retransmission N1It is 5 times, if disagreeing, Main earphone is to smart machine(Mobile phone))Reply maximum retransmission N1It it is 4 times, if smart machine(Mobile phone)Agree to maximum re-transmission time Number N1It is 4 times, then negotiates success.If smart machine(Mobile phone)Disagree maximum retransmission N1It is 4 times, then continues to repeat above-mentioned Negotiations process.
Smart machine 10 sends the preceding N of packets of audio data to main earphone 202- 1 time, main earphone 20 is to smart machine 10 Reply a NACK packet.That is, the preceding N of packets of audio data is sent to main earphone 20 in smart machine 102- 1 process In, no matter whether main earphone 20 receives packets of audio data, a NACK will be returned to smart machine 10, force smart machine 10 Repeat the transmission of packets of audio data.
If smart machine sends the preceding N of packets of audio data to main earphone2One or many in secondary, main earphone receives sound Frequency data packet, then in N2After secondary smart machine sends packets of audio data to main earphone, main earphone replys one to smart machine ACK packets;Wherein N2> 1, and N2≤N1
It is supervised from earphone during smart machine 10 constantly sends packets of audio data to main earphone 20 according to the present invention Listen and receive the packets of audio data that smart machine is sent each time to main earphone.
In the present embodiment, illustratively with the maximum retransmission N in voice call process1For=4, smart machine 10 Packets of audio data is sent to main earphone 20, from headphone monitor packets of audio data.Main earphone 20 receives or does not receive audio at this time Data packet returns to a NACK packet to smart machine 10, and smart machine 10 is forced to repeat to send packets of audio data.
For example, work as N2When=2, then smart machine 10 the 1st time(Preceding N2- 1)Packets of audio data is sent to main earphone 20, 20 machine of main earphone replys a NACK packet to smart machine 10.If main earphone 20 receives smart machine 10 the 1st time(Preceding N2- 1) Packets of audio data is sent to main earphone 20, then at the 2nd time(N2It is secondary)Smart machine 10 sends packets of audio data to main earphone 20 Afterwards, main earphone 20 replys an ACK packet to smart machine 10, and smart machine 10 stops sending the packets of audio data, starts to send Next frame packets of audio data.
Again for example, work as N2When=3, then smart machine 10 the 1st time, the 2nd time(Preceding N2- 1)Audio is sent to main earphone 20 Data packet, main earphone 20 reply a NACK packet to smart machine 10.When smart machine 10 receives the 2nd reply of main earphone NACK packets, carry out the 3rd secondary audio program data send, if main earphone 20 receive smart machine 10 the 1st time and/or the 2nd time and/or 3rd time(Preceding N2It is one or many in secondary, including N2It is secondary), packets of audio data is sent to main earphone 20, then at the 3rd time(N2 It is secondary)After smart machine 10 sends packets of audio data to main earphone 20, main earphone 20 replys an ACK packet, intelligence to smart machine 10 Energy equipment 10 stops sending the packets of audio data, starts to send next frame packets of audio data.
Again for example, work as N2=N1When=4, then smart machine 10 the 1st time, the 2nd time, the 2nd time(Preceding N2- 1)To main earphone 20 send packets of audio data, and main earphone 20 replys a NACK packet to smart machine 10.When smart machine 10 receives main ear The NACK packets of the reply of machine the 3rd time, carry out the 4th audio data transmission, if main earphone 20 receive smart machine 10 the 1st time with/ Or the 2nd time and/or the 3rd time and/the 4th(Preceding N2It is one or many in secondary, including N2It is secondary), audio is sent to main earphone 20 Data packet, then in the 4th(N2It is secondary)After smart machine 10 sends packets of audio data to main earphone 20, main earphone 20 is set to intelligence Standby 10 reply an ACK packet, and smart machine 10 stops sending the packets of audio data, starts to send next frame packets of audio data.
It should be noted that for N in the present invention2Value configured by main earphone, minimum 2 times, be up to Maximum retransmission N1, can effectively make smart machine 10 at least repeat to send packets of audio data 2 times, and will intelligently set Standby 10 numbers for repeating to send packets of audio data are limited in N in maximum retransmission1, on the basis of reasonable holding time resource On, improve the reliability of audio data transmission.
According to an embodiment of the invention, a kind of bluetooth headset wireless communications method method of high reliability, further includes as follows Method and step:
The packets of audio data that smart machine is sent each time to main earphone is monitored and received from earphone 30, if smart machine 10 The preceding N of packets of audio data is sent to main earphone 202In secondary, the audio data from smart machine 10 is not received from earphone Packet.
Then in N2After secondary smart machine 10 sends packets of audio data to main earphone 20, main earphone replys one to smart machine While a ACK packets, an interference signal is sent from earphone 30 to smart machine 10, prevents smart machine 10 from receiving main ear The ACK packets that machine 20 returns, to force smart machine 10 to retransmit a packets of audio data.
For example, work as N2When=2, at the 2nd time(N2It is secondary)After smart machine 10 sends packets of audio data to main earphone 20, When main earphone 20 replys an ACK packet to smart machine 10, an interference signal is sent from earphone 30 to smart machine 10, makes intelligence Energy equipment 10 cannot receive the ACK packets of the return of main earphone 20, and smart machine 10 is forced to retransmit a packets of audio data.
Again for example, work as N2When=3, at the 3rd time(N2It is secondary)Smart machine 10 sends packets of audio data to main earphone 20 Afterwards, when main earphone 20 replys an ACK packet to smart machine 10, an interference signal is sent from earphone 30 to smart machine 10, The ACK packets for preventing smart machine 10 to be returned from receiving main earphone 20, force smart machine 10 to retransmit a packets of audio data.
Again for example, work as N2=N1When=4, in the 4th(N2It is secondary)Smart machine 10 sends audio data to main earphone 20 Bao Hou, main earphone 20 reply an ACK packet to smart machine 10, and an interference signal is sent from earphone 30 to smart machine 10, The ACK packets for preventing smart machine 10 to be returned from receiving main earphone 20, force smart machine 10 to retransmit a packets of audio data.
Further, before sending an interference signal from earphone 30 to smart machine 10, one is sent to main earphone 20 Indication signal.
When main earphone 20 receives the indication signal, the power that ACK packets are sent to smart machine 10 is reduced.To make main ear The ACK packets that machine 20 is sent to smart machine 10 are easier to be interfered successfully by the interference signal sent from earphone.
According to an embodiment of the invention, the packets of audio data of smart machine transmission is received when main earphone and from earphone When, the signal strength of more main earphone and the packets of audio data received from earphone, if the letter that the main earphone receives Number intensity is more than the signal strength received from earphone, then principal and subordinate's earphone switches, and the above-mentioned intelligence of duplicate embodiment of laying equal stress on is set Preparation send the process of packets of audio data.
If the signal strength that main earphone receives is less than the signal strength that is received from earphone, main earphone and from earphone not It switches over.
The present invention is through the above technical solutions, the slave earphone 30 made is monitored and receives audio data to a greater extent Packet improves the reliability of bluetooth headset communication.
It smart machine and main earphone and is transmitted from audio data between earphone in another embodiment of the present invention as shown in Figure 3 Flow diagram, a kind of bluetooth headset wireless communications method of high reliability includes following method and step:
Smart machine 10 sends packets of audio data to main earphone 20, is monitored from earphone 30 and receives smart machine 10 to main ear Machine 20 send packets of audio data, when main earphone 20 receive smart machine 10 transmission packets of audio data, then main earphone 20 with First power returns to ACK packets to smart machine 10.When main earphone 20 do not receive smart machine 10 transmission packets of audio data, then Main earphone 20 returns to NACK packets to smart machine 10.
Due to being influenced by communication environment, smart machine 10 may not receive the ACK packets of return, when smart machine 10 ACK packets are not received, or receive NACK packets, then smart machine 10 retransmits packets of audio data.
After smart machine 10 retransmits packets of audio data, if main earphone 20 receives packets of audio data, main ear again Machine 20 returns to ACK packets with the second power to smart machine 10, wherein the second power is more than the first power.
Successively, if smart machine 10 does not still receive ACK packets, smart machine 10 continues to retransmit audio data Packet, after smart machine 30 retransmits packets of audio data, if main earphone 20 receives packets of audio data again, main earphone 20 after The continuous power that improves returns to ACK packets, such as main earphone with third power reply ACK packets to smart machine 10, wherein third power is big In the second power.
The explanation needed, those skilled in the art select smart machine most according to specific audio transmission situation Big number of retransmissions.In scheme defined by the present invention, when smart machine does not receive the ACK packets that main earphone is replied, main earphone is replied ACK packets at least increase a power.
According to an embodiment of the invention, the bluetooth headset wireless communications method of a kind of high reliability further includes following method Step:
The packets of audio data that smart machine 10 is sent to main earphone 20 is monitored and received from earphone 30, is not connect when from earphone 30 Receive the packets of audio data from smart machine 10.
An interference signal is then sent from earphone 30 to smart machine, and smart machine 10 is prevented to be returned from receiving main earphone 20 The ACK packets returned, force smart machine 10 to retransmit packets of audio data again.
Further, before sending an interference signal from earphone 30 to smart machine 10, one is sent to main earphone 20 Indication signal.
When main earphone 20 receives the indication signal, the power that ACK packets are sent to smart machine 10 is reduced.To make main ear The ACK packets that machine 20 is sent to smart machine 10 are easier to be interfered successfully by the interference signal sent from earphone.
According to an embodiment of the invention, the packets of audio data of smart machine transmission is received when main earphone and from earphone When, the signal strength of more main earphone and the packets of audio data received from earphone, if the signal that main earphone receives is strong Degree is more than the signal strength received from earphone, then principal and subordinate's earphone switches, the above-mentioned smart machine hair of duplicate embodiment of laying equal stress on Send the process of packets of audio data.If the signal strength that main earphone receives is less than the signal strength received from earphone, main ear Machine and from earphone without switching.
In the present invention when smart machine does not receive the ACK packets that main earphone returns, replied by the way that main earphone is continuously improved The power of ACK packets, to realize the reliability of bluetooth headset communication.
In the above embodiment of the present invention, when main earphone 20 receive smart machine 10 transmission packets of audio data, and The packets of audio data that smart machine 10 is sent also is received from earphone 30.
Then main earphone 20 returns to another part from earphone 30 to smart machine 10 to 10 returning part ACK packets of smart machine ACK packets form complete ACK packets with main earphone 20 to 10 returning part ACK packets of smart machine.
In the present embodiment, when main earphone 20 receives the packets of audio data of the transmission of smart machine 10, then main earphone 20 is to intelligence It can 10 returning part ACK packets of equipment(ACK_P1).
When receiving the packets of audio data (packets of audio data listened to) that smart machine 10 is sent from earphone 30, then from ear Machine returns to another part ACK packets to 30 smart machines(ACK_P2), formed to smart machine returning part ACK packets with main earphone 20 Complete ACK packets.In embodiment, ACK_P1 is the packet header that access code, ACK_P1 and ACK_P2 are ACK packets.
The main earphone of the present invention and the transmitting-receiving sequence diagram from earphone and smart machine packets of audio data as shown in Figure 4.The present invention In, it will be appreciated by those skilled in the art that receiving and sending audio data includes a complete transmitting-receiving sequential each time, such as in sequential In 1, smart machine 10 sends packets of audio data in SLOT N, and main earphone 20 receives packets of audio data, monitors and connects from earphone 30 Receive packets of audio data.
Smart machine 10 sends packets of audio data in SLOT N, and main earphone 20 is returned in SLOT N+1 to smart machine 10 ACK packets or NACK packets.
In sequential 2, smart machine 10 sends packets of audio data in SLOT N, and main earphone 20 receives packets of audio data, from Earphone 30 is monitored and receives packets of audio data.
Smart machine 10 sends packets of audio data in SLOT N, and main earphone 20 is returned in SLOT N+1 to smart machine 10 ACK packets or NACK packets send interference packet from earphone 30 in SLOT N+1.
The embodiment of the present invention, the situation of the packets of audio data for not receiving monitoring from earphone 30.It is needed from earphone 30 Send ACK packet of the interference packet to interfere main earphone 20 to return.In order to make the power foot of the interference packet sent from earphone 30 To interfere smart machine 10 to receive the ACK packets of the transmission of main earphone 20, the interference packet sent from earphone 30 is illustrated below.It answers Work as understanding, interference packet remains as ACK packets or NACK packets.
The head-coating structure schematic diagram of ACK packets or NACK packets of the present invention as shown in Figure 5, wherein ARQN are response indication bit (acknowledge indication).ARQN=1 indicates that this is an ACK packet, and ARQN=0 indicates that this is a NAK packet.
According to an embodiment of the invention, it is preferable that the data of an interference signal are sent from earphone 30 to smart machine 10 It is 0 and/or FLOW bits are 0 and/or SEQN bits are 0 that packet header, which includes ARQN bits,.
According to an embodiment of the invention, it is preferable that the data of an interference signal are sent from earphone 30 to smart machine 10 Packet sends out random number bit in the access code of entire packet header and bluetooth physical layer.
According to an embodiment of the invention, it is preferable that the data of an interference signal are sent from earphone 30 to smart machine 10 Packet header sends negating for normal ACK packets in the access code in entire packet header and bluetooth physical layer.I.e. in a certain bit The normal ACK packets in position are 1 hairs 0, whereas if normal ACK packets are 0 hairs 1.
It is understood that the wireless communications method provided by the present invention suitable for bluetooth headset, main earphone with from earphone Between may be implemented to switch, signal quality can be by SNR(Signal-to-noise ratio)Or RSSI(Received Signal Strength Indication, the instruction of received signal intensity)To indicate.The earphone for receiving poor signal quality is chosen as main earphone, into And it carries out the above-mentioned main earphone of the present invention and is participated in jointly from earphone to smart machine feeding back ACK packet or NACK packets.Simultaneously as master Earphone or it is more from earphone power consumption when, carry out principal and subordinate's earphone switching, to reduce power consumption.
The main earphone of the present invention flow diagram synchronous with smart machine signal as shown in Figure 6, intelligently to set in the present embodiment For standby signal between main earphone synchronizes, it should be understood that carry out synchronous same of signal between smart machine and main earphone When, it is synchronous with to carry out signal between earphone with same synchronous method.
The radio-frequency front-end 203 of main earphone receives L channel radiofrequency signal, and main earphone number is obtained by digital-to-analogue conversion 204 Signal obtains time synchronization signals machine timing synchronization errors 206, carrier synchronization error 208 by synchronization, demodulation process.
Timing synchronization errors and/or carrier synchronization error 208 adjust crystal through phaselocked loop 207 and shake frequency so that main ear Clock frequency same frequency of the machine with smart machine.The initial time of time synchronization signals is sent with smart machine to main earphone left simultaneously The initial time of the slot of sound channel signal synchronizes.Demodulated signal after phaselocked loop 207 adjusts crystal concussion frequency is fed back to Radio-frequency front-end and frequency divider.By above-mentioned signal synchronization process, main earphone realizes that clock is synchronous between smart machine.This hair Realize that clock is synchronous between smart machine in the same way from earphone in bright, to realize main earphone and between earphone Clock synchronize, while the present invention by time synchronization signals realize main earphone and from earphone while play, ensure that synchronize and broadcast The quality put the music on.
In the present embodiment, timing synchronization errors and carrier synchronization error are adjusted into crystal concussion frequency through phaselocked loop 207 simultaneously Rate can be in some embodiments that any synchronous error is adjusted through phaselocked loop 207 in timing synchronization errors and carrier synchronization error Whole crystal shakes frequency.
The present invention can effectively improve on the basis of reasonable holding time resource between smart machine and bluetooth headset The reliability of signal transmission.
A kind of wireless communications method suitable for bluetooth headset provided by the invention, reduces the power consumption of main earphone, improves The performance of audio data transmission, plays while ensure that left and right earphone.
Explanation in conjunction with the present invention disclosed here and practice, the other embodiment of the present invention is for those skilled in the art It all will be readily apparent and understand.Illustrate and embodiment is regarded only as being exemplary, true scope of the invention and purport are equal It is defined in the claims.

Claims (10)

1. a kind of bluetooth headset wireless communications method of high reliability, which is characterized in that the method includes following method and steps:
Smart machine sends the maximum retransmission N of packets of audio data to main earphone1, smart machine to main earphone send audio number According to the preceding N of packet2- 1 time, the main earphone replys a NACK packet to the smart machine,
If smart machine sends the preceding N of packets of audio data to main earphone2One or many in secondary, the main earphone receives sound Frequency data packet, then in N2After secondary smart machine sends packets of audio data to main earphone, main earphone replys one to smart machine ACK packets;Wherein N2> 1, and N2≤N1
From headphone monitor and receive the packets of audio data that smart machine sends each time to main earphone.
2. according to the method described in claim 1, it is characterized in that, the method further includes following method and step:
If smart machine sends the preceding N of packets of audio data to main earphone2It is described not received from the intelligence from earphone in secondary The packets of audio data of energy equipment;
Then in N2It is described to send one from earphone to the smart machine after secondary smart machine sends packets of audio data to main earphone A interference signal, the ACK packets for preventing smart machine to be returned from receiving the main earphone.
3. according to the method described in claim 2, it is characterized in that, the method further includes:It is described from earphone to the intelligence Before equipment sends an interference signal, an indication signal is sent to main earphone,
When main earphone receives the indication signal, the power that ACK packets are replied to smart machine is reduced.
4. according to the method described in claim 1, it is characterized in that, the method further includes:Compare the main earphone with it is described The signal strength of the packets of audio data received from earphone, if the signal strength that receives of the main earphone be more than it is described from earphone The signal strength received, then principal and subordinate's earphone switching.
5. a kind of bluetooth headset wireless communications method of high reliability, which is characterized in that the method includes following method and steps:
Smart machine sends packets of audio data to main earphone, from headphone monitor and receives the audio that smart machine sends to main earphone Data packet, when the main earphone receives the packets of audio data that the smart machine is sent, then the main earphone is with the first power ACK packets are returned to the smart machine;
If the smart machine does not receive ACK packets, the smart machine retransmits packets of audio data;
If the main earphone receives the packets of audio data again, the main earphone is with the second power to the smart machine Return to ACK packets, wherein second power is more than first power.
6. according to the method described in claim 5, it is characterized in that, the method further includes following method and step:
From headphone monitor and the packets of audio data that smart machine sends to main earphone is received, when not received from earphone from described The packets of audio data of smart machine,
It is then described to send an interference signal from earphone to the smart machine, prevent smart machine from receiving the main earphone The ACK packets of return.
7. according to the method described in claim 6, it is characterized in that, the method further includes:It is described from earphone to the intelligence Before equipment sends an interference signal, an indication signal is sent to main earphone,
When main earphone receives the indication signal, the power that ACK packets are replied to smart machine is reduced.
8. the method according to the description of claim 7 is characterized in that the method further includes:Compare the main earphone with it is described The signal strength of the packets of audio data received from earphone, if the signal strength that receives of the main earphone be more than it is described from earphone The signal strength received, then principal and subordinate's earphone switching.
9. according to the method described in claim 5, it is characterized in that, when the main earphone receives what the smart machine was sent Packets of audio data, and the packets of audio data for also receiving the smart machine from earphone and sending,
Then the main earphone is described another from earphone to smart machine return to the smart machine returning part ACK packets Part ACK packets form complete ACK packets with the part ACK packets that the main earphone is returned to the smart machine.
10. according to the method described in claim 6, it is characterized in that, described dry from earphone to smart machine transmission one Disturb signal, it is 0 and/or FLOW bits are 0 and/or SEQN bits are that the data packet head of the interference signal, which includes ARQN bits, 0。
CN201810648005.3A 2018-06-22 2018-06-22 The bluetooth headset wireless communications method of high reliability Active CN108337074B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810648005.3A CN108337074B (en) 2018-06-22 2018-06-22 The bluetooth headset wireless communications method of high reliability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810648005.3A CN108337074B (en) 2018-06-22 2018-06-22 The bluetooth headset wireless communications method of high reliability

Publications (2)

Publication Number Publication Date
CN108337074A CN108337074A (en) 2018-07-27
CN108337074B true CN108337074B (en) 2018-09-11

Family

ID=62934963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810648005.3A Active CN108337074B (en) 2018-06-22 2018-06-22 The bluetooth headset wireless communications method of high reliability

Country Status (1)

Country Link
CN (1) CN108337074B (en)

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108901004A (en) * 2018-08-08 2018-11-27 易兆微电子(杭州)有限公司 A kind of method of synchronous transfer bluetooth headset
CN109194998B (en) * 2018-08-14 2021-05-11 Oppo广东移动通信有限公司 Data transmission method and device, electronic equipment and computer readable medium
CN110913503A (en) * 2018-09-17 2020-03-24 泰凌微电子(上海)有限公司 Wireless earphone signal transmission method and wireless earphone
CN109495869A (en) 2018-11-30 2019-03-19 锐迪科微电子科技(上海)有限公司 Bluetooth connecting method and device
WO2020124581A1 (en) * 2018-12-21 2020-06-25 华为技术有限公司 Audio data transmission method and electronic device
CN113170297A (en) * 2018-12-28 2021-07-23 万魔声学股份有限公司 Earphone communication method
CN109547992A (en) * 2018-12-29 2019-03-29 展讯通信(上海)有限公司 A kind of wireless communications method, terminal, audio component, device and storage medium
WO2020140186A1 (en) * 2018-12-31 2020-07-09 华为技术有限公司 Wireless audio system, and audio communication method and device
CN109819377B (en) * 2019-02-19 2020-12-29 恒玄科技(上海)股份有限公司 Signal transmission method of wireless earphone and wireless earphone system
CN109561419B (en) * 2019-02-19 2019-06-11 恒玄科技(上海)有限公司 The ears wireless headset of high reliability and communication means for ears wireless headset
CN109995479A (en) * 2019-06-03 2019-07-09 南京中感微电子有限公司 A kind of voice data communication method, system and audio communication device
CN111294779B (en) * 2019-06-21 2021-07-06 展讯通信(上海)有限公司 Audio playing method, device and storage medium
CN110234100B (en) * 2019-06-28 2022-09-30 重庆物奇科技有限公司 Wireless data transmission method, equipment and system
CN110234101B (en) * 2019-06-28 2022-09-30 重庆物奇科技有限公司 Wireless transmission method, equipment and system for reliably transmitting data
CN110266444A (en) * 2019-07-08 2019-09-20 展讯通信(上海)有限公司 Data transmission method, device and equipment
CN110290412B (en) * 2019-08-26 2019-11-29 恒玄科技(北京)有限公司 A kind of audio sync playback method, device and loudspeaker apparatus, wireless headset
CN113038317B (en) * 2019-12-25 2024-01-16 Oppo广东移动通信有限公司 Earphone control method and device, bluetooth earphone and storage medium
CN111031437B (en) * 2019-12-27 2021-05-28 恒玄科技(北京)有限公司 Wireless earphone assembly and communication method thereof
CN111510899B (en) * 2020-04-17 2023-03-31 昆腾微电子股份有限公司 Bluetooth transmission method and device
CN111885553B (en) * 2020-04-24 2023-09-12 珠海市杰理科技股份有限公司 Bluetooth device communication method and related device
CN111901729A (en) * 2020-06-22 2020-11-06 芯原微电子(上海)股份有限公司 TWS earphone communication method and system and TWS earphone
CN111901074B (en) * 2020-06-24 2022-06-17 广州安凯微电子股份有限公司 Method, device, medium and terminal equipment for real wireless stereo headset communication
CN111770428B (en) * 2020-06-24 2021-12-07 杭州国芯科技股份有限公司 Monitoring method of wireless equipment
CN111818496B (en) * 2020-06-24 2024-03-22 芯原微电子(上海)股份有限公司 TWS earphone communication method and system based on carrier monitoring and TWS earphone
CN112423198B (en) * 2021-01-22 2021-04-27 成都市安比科技有限公司 Audio system data synchronization method and audio component
CN113068167B (en) * 2021-03-17 2021-12-10 上海物骐微电子有限公司 High-reliability Bluetooth data transmission system and method
CN113271641A (en) * 2021-05-18 2021-08-17 南京大学 Method for reducing packet loss rate based on Bluetooth scattering network communication
CN113556650B (en) * 2021-06-07 2023-04-21 广州安凯微电子股份有限公司 TWS earphone wireless communication method, system, device and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7379434B2 (en) * 2001-10-19 2008-05-27 Koninklijke Philips Electronics N.V. Radio communication system
KR100850989B1 (en) * 2002-01-05 2008-08-12 엘지전자 주식회사 A method for controlling power for response signals ACK or NACK in an ARQ system
US8693352B2 (en) * 2009-07-02 2014-04-08 Telefonaktiebolaget L M Ericsson (Publ) Method and apparatus for ARQ control in wireless communications
GB0913018D0 (en) * 2009-07-27 2009-09-02 Cambridge Silicon Radio Ltd Method of generating repeated data package transmission
CN106792454A (en) * 2016-12-19 2017-05-31 建荣半导体(深圳)有限公司 Bluetooth communication method, communicator, communication system and electronic equipment
CN106535081A (en) * 2016-12-20 2017-03-22 建荣半导体(深圳)有限公司 Bluetooth mode switching method and device, communication system and stereophonic audio transmission method
CN107065583B (en) * 2017-04-27 2021-06-25 台州市吉吉知识产权运营有限公司 Medium-range communication connection system and implementation method
CN107135256A (en) * 2017-04-27 2017-09-05 建荣半导体(深圳)有限公司 Bluetooth communication method, communicator, communication system and electronic equipment
CN107124674B (en) * 2017-06-20 2019-11-08 歌尔科技有限公司 A kind of audio-frequency inputting method of bluetooth headset, device and bluetooth headset

Also Published As

Publication number Publication date
CN108337074A (en) 2018-07-27

Similar Documents

Publication Publication Date Title
CN108337074B (en) The bluetooth headset wireless communications method of high reliability
CN108419228B (en) A kind of wireless communications method suitable for bluetooth headset
US11064280B2 (en) Wireless audio system and method for wirelessly communicating audio information using the same
CN109561419B (en) The ears wireless headset of high reliability and communication means for ears wireless headset
US10932043B2 (en) Wireless audio system and method for wirelessly communicating audio information using the same
US10659943B2 (en) Short-range wireless communication based on indirect transmission of communication parameters
CN108600897B (en) Realize the one drag two bluetooth headset and communication means of low frequency switching
US11451906B2 (en) Operation mode switch of wireless headphones
CN110995326B (en) Communication method of wireless earphone, wireless earphone and wireless earplug
US10412481B1 (en) Operation mode switch of wireless headphones
CN109660906B (en) Wireless Bluetooth headsets, wireless Bluetooth headsets master-slave swap optimization method
CN108429949A (en) A kind of Bluetooth audio frequency mixed communication method suitable for bluetooth headset
CN110708142A (en) Audio data communication method, system and equipment
CN111436044B (en) Method, device and system for processing packet loss data of dual-wireless Bluetooth communication network
CN109660971A (en) Wireless headset and communication means for wireless headset
CN111436043B (en) Communication method, device, equipment and system of dual-wireless Bluetooth communication network
CN111435844A (en) Method, device, equipment and system for correcting audio data in dual-wireless Bluetooth communication
CN109922540B (en) Wireless transceiver group communication method, device group, system and storage medium
US11171410B1 (en) Wireless audio system and method for wirelessly communicating audio information using the same
US8582539B2 (en) System and method to implement synchronous channel timing in a wireless communications network
CN114079898A (en) Audio data communication method, device, equipment and system in dual-transmission mode
CN112218197B (en) Audio compensation method and wireless audio output device using same
CN114666741B (en) Wireless communication method and system
US20230106965A1 (en) Wireless stereo headset group communications
WO2023000565A1 (en) Packet loss data error correction method and apparatus in dual-transmission mode, and 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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 201306 room 904, No. 800, Huanhu West 2nd Road, Lingang New Area, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai

Patentee after: Hengxuan Technology (Shanghai) Co., Ltd

Address before: 200135 Shanghai 647 free trade pilot area, 171 Pudong New Area Road, 1 buildings, 6 rooms

Patentee before: Heng Xuan Technology (Shanghai) Co., Ltd.

CP03 Change of name, title or address