WO2021208359A1 - 蓝牙tws设备及其主设备、从设备和设备间的数据传输方法 - Google Patents

蓝牙tws设备及其主设备、从设备和设备间的数据传输方法 Download PDF

Info

Publication number
WO2021208359A1
WO2021208359A1 PCT/CN2020/117086 CN2020117086W WO2021208359A1 WO 2021208359 A1 WO2021208359 A1 WO 2021208359A1 CN 2020117086 W CN2020117086 W CN 2020117086W WO 2021208359 A1 WO2021208359 A1 WO 2021208359A1
Authority
WO
WIPO (PCT)
Prior art keywords
bluetooth
tws
auxiliary frame
link
data
Prior art date
Application number
PCT/CN2020/117086
Other languages
English (en)
French (fr)
Inventor
陈金宏
Original Assignee
炬力(珠海)微电子有限公司
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 炬力(珠海)微电子有限公司 filed Critical 炬力(珠海)微电子有限公司
Publication of WO2021208359A1 publication Critical patent/WO2021208359A1/zh

Links

Images

Classifications

    • 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
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0016Hand-off preparation specially adapted for end-to-end data sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Definitions

  • the wireless communication technology of the present application specifically relates to a data transmission method between Bluetooth TWS devices, a data transmission method of a Bluetooth TWS master device, a data transmission method of a Bluetooth TWS slave device, and a Bluetooth TWS device.
  • the main and auxiliary ears In order to ensure that the main ear and the auxiliary ear are either in the receiving mobile phone data communication mode at the same time, or are in the communication mode between the main and auxiliary ears at the same time, the main and auxiliary ears
  • the Bluetooth link between the ears needs to enter a periodic fixed-point communication state similar to the sniff working mode. In this working state, the Bluetooth link between the primary ear and the secondary ear only occupies a small amount of bandwidth, leaving more Bluetooth bandwidth for the mobile phone to communicate with the primary ear, and the secondary ear is also receiving data from the mobile phone at this time. And the secondary ear can know when the primary ear will send data or polling packets to itself, and only need to switch to the primary and secondary links for communication at that moment.
  • the bandwidth allocation is performed in the above manner, when the fixed-point communication period of the TWS link is set to be larger, the data exchange delay between TWS will be very large, especially in the interference environment.
  • the fixed-point communication cycle of the TWS link is set to be smaller, it will cause the TWS link to occupy more Bluetooth bandwidth, and then affect the communication with the mobile phone.
  • the main purpose of the embodiments of the present invention is to provide a data transmission method between Bluetooth TWS devices, so as to achieve the smallest communication delay between TWS devices and the smallest occupied Bluetooth bandwidth.
  • the embodiment of the present invention is implemented as follows, a data transmission method between Bluetooth TWS devices, the method includes:
  • the master device After the master device and the slave device receive the data packet of the Bluetooth device at the Bluetooth link time N, the master device switches to the state of receiving the first auxiliary frame;
  • the slave device If the slave device has additional data to send to the master device, after sending the first auxiliary frame request data transmission to the master device, the slave device switches to a state of receiving a second auxiliary frame;
  • the master device switches to TWS link communication after sending the second auxiliary frame to the slave device at the Bluetooth link time N+1;
  • the slave device After receiving the second auxiliary frame, the slave device switches to the TWS link communication, and the slave device sends the additional data to the master device.
  • an embodiment of the present invention also provides a data transmission method between Bluetooth TWS devices, and the method further includes:
  • the master device and the slave device receive the data packet of the Bluetooth device at the time N of the Bluetooth link;
  • the slave device switches to the state of receiving the second auxiliary frame
  • the master device switches to TWS link communication after sending the second auxiliary frame to the slave device at the Bluetooth link time N+1;
  • the slave device After receiving the second auxiliary frame, the slave device switches to the TWS link communication;
  • the master device sends the additional data to the slave device.
  • the data packet is a valid data packet, an empty packet or a polling packet.
  • the first auxiliary frame includes a request data transmission flag; the second auxiliary frame includes a communication switching command.
  • the second auxiliary frame includes a communication switching command.
  • the method further includes: The master device sends data to the Bluetooth device at the Bluetooth link time N+1;
  • the method further includes: The master device directly sends the second auxiliary frame to the slave device and switches to TWS link communication.
  • the method further includes, when the additional data transmission is completed, the master device and the slave device switch back to the communication link with the Bluetooth device.
  • the master device or the slave device receives a response from the counterpart device, and there is no more data to be sent to the counterpart, and the counterpart device does not send data that needs to be responded, the additional data transmission is completed.
  • the master device switches to the TWS link communication, if the TWS link communication cannot be established with the slave device after a predetermined number of consecutive connections, it switches back to communication with the Bluetooth device over time.
  • the method further includes presetting the maximum duration of a single communication of the TWS link, and extending the interval waiting time of the additional data transmission according to the number of retransmissions of the additional data.
  • sending the additional data from the slave device to the master device includes: the slave device broadcasts the additional data according to a predetermined time sequence, and the number of times of the broadcast is preset.
  • the sending of the additional data by the master device to the slave device further includes: the master device broadcasts the additional data according to a predetermined time sequence, and the number of times of the broadcast is preset.
  • the purpose of the embodiments of the present invention is to provide a data transmission method for a Bluetooth master device, which realizes the smallest communication delay between TWS devices and the smallest occupied Bluetooth bandwidth.
  • the embodiments of the present invention are implemented in this way and include:
  • the purpose of the embodiments of the present invention is to provide a data transmission method for Bluetooth TWS slave devices, which realizes the smallest communication delay between TWS devices and the smallest occupied Bluetooth bandwidth.
  • the embodiment of the present invention is implemented as follows.
  • a data transmission method of a Bluetooth TWS slave device includes:
  • the first auxiliary frame After receiving the data packet of the Bluetooth device at the time N of the Bluetooth link, the first auxiliary frame is sent to request the data to be sent and then switched to the state of receiving the second auxiliary frame;
  • the purpose of the embodiments of the present invention is to provide a Bluetooth TWS device, which realizes the smallest communication delay between TWS devices and the smallest occupied Bluetooth bandwidth.
  • the embodiment of the present invention is implemented in this way.
  • a Bluetooth TWS device includes a master device and a slave device. The master device is used to switch to receiving the first auxiliary frame state after receiving the data packet of the Bluetooth device at the Bluetooth link time N, At Bluetooth link time N+1, switch to TWS link communication after sending the second auxiliary frame to the slave device; or switch to receiving the second auxiliary frame when additional data is sent;
  • the slave device is used to send the first auxiliary frame to the master device when additional data is to be sent, and then switch to receiving the second auxiliary frame after sending the data; or to switch to the state of receiving the second auxiliary frame when the second auxiliary frame is received Then, switch to the TWS link communication, and send the additional data to the master device.
  • the embodiment of the present invention has the following effect: the master device and the slave device simultaneously receive data from the Bluetooth device.
  • the slave device When the slave device has additional data that needs to be sent to the master device, it sends a request to the master device through the first auxiliary frame.
  • the master device When the master device has additional data that needs to be sent to the slave device, or the master device receives an additional data sending request from the slave device, the master device sends a communication switching command to the slave device through the second auxiliary frame. Then, the master device and the slave device switch to TWS communication together.
  • the master device or the slave device quickly switches back to communicate with the Bluetooth device.
  • the first auxiliary frame and the second auxiliary frame do not occupy the additional bandwidth of the Bluetooth link, and can enable the data between the master device and the slave device to interact quickly with minimal delay. Once the additional data transmission is completed, it switches back to communication with the Bluetooth device, which occupies the smallest Bluetooth bandwidth.
  • Figure 1 shows a flow chart of a method for data transmission between Bluetooth TWS devices provided by this application
  • FIG. 2 shows a flow chart of another method for data transmission between Bluetooth TWS devices provided by this application
  • FIG. 3 shows a schematic diagram of a sequence of a Bluetooth device and a TWS device provided by the present application
  • FIG. 4 shows a flow chart of another method for data transmission between Bluetooth TWS devices provided by this application.
  • Fig. 5 shows a flowchart of another data transmission method between Bluetooth TWS devices provided by the present application.
  • a method for data transmission between Bluetooth TWS devices includes the following steps:
  • S103 The master device switches to TWS link communication after sending the second auxiliary frame to the slave device at the Bluetooth link time N+1;
  • the TWS device includes a master device and a slave device.
  • the master device establishes a wireless connection with the Bluetooth device, and the slave device learns some relevant parameters of the wireless link from the master device in a direct or indirect manner.
  • the slave device establishes a virtual connection with the Bluetooth device according to the obtained parameters.
  • the virtual connection can receive the data sent by the Bluetooth device to the main device, and can also be converted to a real connection when needed, and send data to the Bluetooth device.
  • the slave device can directly or indirectly obtain the relevant parameters of the link established by the master device and the Bluetooth device.
  • the slave device establishes a connection with the master device, and then the master device transmits the relevant parameters to the slave device.
  • the master device broadcasts the relevant parameters, and the slave device receives it through scanning.
  • the slave device obtains relevant parameters from the master device through OOB communication.
  • the master device gives relevant parameters to a third-party device, and then the slave device obtains the relevant parameters from the third-party device to establish a virtual connection.
  • the master device and the Bluetooth device establish a standard Bluetooth ACL link, which is a reliable connection. Regardless of whether it is a reliable connection between the master device and the Bluetooth device or a virtual connection between the slave device and the Bluetooth device, the TWS device can obtain data from the Bluetooth device.
  • FIG. 3 it is a schematic diagram of the timing of data transmission between the Bluetooth device and the master device or the slave device.
  • the Bluetooth device sends a data packet to the master device at the Bluetooth link time N, and the slave device is also at the Bluetooth link time. N receives this data packet.
  • the data packet can be a valid data packet, an empty packet or a polling packet, that is to say, the slave device and the master device may receive valid data when receiving the data packet of the Bluetooth device. , It can also receive no data or polling data.
  • the master device After the master device and the slave device have received the data packet sent by the Bluetooth device, the master device switches to the state of receiving the first auxiliary frame, and if the slave device has additional data to send to the master device at this time, it will switch to sending the first auxiliary frame.
  • the first auxiliary frame sent contains the "request data transmission flag".
  • the slave device After the slave device sends the first auxiliary frame request data to the master device, the slave device switches to the state of receiving the second auxiliary frame.
  • the master device After the master device sends a packet to the Bluetooth device at the Bluetooth link time N+1, if it agrees to the additional data sending request of the slave device, it will then send a second auxiliary frame containing the "communication switching command" to the slave device.
  • the master device After the master device finishes sending the second auxiliary frame, it switches to TWS link communication and prepares to receive the data sent by the slave device. After the slave device receives the second auxiliary frame containing the "communication switching command", it switches to the TWS link communication and sends the additional data that needs to be transmitted to the master device.
  • the additional data here generally refers to the upper-layer user data, mainly the TWS device Synchronization of various information between, such as fine-tuning the playback speed, keeping the master and slave devices playing audio data at the same time, such as synchronizing button information, synchronizing battery information, synchronizing prompt sound, synchronizing working status, etc., and can also include underlying link control Data, such as frequency hopping sequence, power control, or no data, such as empty packets, is only used to synchronize the timing of the TWS device.
  • link control Data such as frequency hopping sequence, power control, or no data, such as empty packets
  • the master device and the slave device switch back to the communication link with the Bluetooth device.
  • the master device or the slave device receives a response from the other device, and there is no more data to send to the other party, and the other device does not send data that needs to be answered, the additional data transmission is completed, and the response can be It is done through the first auxiliary frame or the second auxiliary frame, or the other party's device is notified by broadcast.
  • the master device may not respond to the first auxiliary frame sent by the slave device, but directly send the master device.
  • the additional data that needs to be sent is sent, and the process is as follows:
  • a data transmission method between Bluetooth TWS devices includes the following steps:
  • the master device and the slave device receive data packets of the Bluetooth device at the Bluetooth link time N; if the master device has additional data to send to the slave device, the slave device switches to a state of receiving a second auxiliary frame;
  • S202 The master device switches to TWS link communication after sending the second auxiliary frame to the slave device at the Bluetooth link time N+1;
  • S204 The master device sends the additional data to the slave device.
  • the slave device has no additional data to send to the master device or the master device needs to send additional data, when the master device and the slave device.
  • the slave device switches to the state of receiving the second auxiliary frame; after the master device sends the packet to the Bluetooth device at the Bluetooth link time N+1, if there is additional data that needs to be sent to the slave device, send The second auxiliary frame containing the "communication switching command" is sent to the slave device; after the master device sends the second auxiliary frame, it switches to TWS link communication and sends data to the slave device.
  • the slave device switches to TWS link communication, and prepares to receive data sent by the master device, and the master device sends the additional data to the slave device.
  • the present invention provides another embodiment.
  • whether the master device or the slave device has additional data that needs to be sent, at the Bluetooth link time N+1 if the master device receives the Bluetooth device data at the Bluetooth link time N
  • the packet before the step of sending the second auxiliary frame to the slave device and switching to TWS link communication, further includes: the master device sends data to the Bluetooth device at the Bluetooth link time N+1. Specifically, as shown in FIG.
  • this embodiment includes the following steps: S401, after the master device and the slave device receive the data packet of the Bluetooth device at the Bluetooth link time N, the master device switches to the state of receiving the first auxiliary frame S402, if the slave device has additional data to send to the master device, after sending the first auxiliary frame request data to the master device, the slave device switches to the state of receiving the second auxiliary frame; S403, the The master device at the Bluetooth link time N+1, if the master device receives the data packet of the Bluetooth device at the Bluetooth link time N; S404, the master device sends data to the Bluetooth device at the Bluetooth link time N+1, The slave device sends the second auxiliary frame and switches to TWS link communication; S405, after receiving the second auxiliary frame, the slave device switches to the TWS link communication, and the slave device sends the The main device sends the additional data.
  • the present invention provides another embodiment.
  • the master device does not receive the data packet of the Bluetooth device at the Bluetooth link time N, the data packet is sent to the slave device.
  • the master device Before the step of switching the second auxiliary frame to TWS link communication, it further includes: the master device directly sends the second auxiliary frame to the slave device and switching to TWS link communication. Specifically, as shown in FIG.
  • this embodiment includes the following steps: S501, after the master device and the slave device receive the data packet of the Bluetooth device at the Bluetooth link time N, the master device switches to the state of receiving the first auxiliary frame S502, if the slave device has additional data to send to the master device, after sending the first auxiliary frame request data to the master device, the slave device switches to the state of receiving the second auxiliary frame; S503, the master device At the Bluetooth link time N+1, if the master device does not receive the data packet of the Bluetooth device at the Bluetooth link time N; S504, the master device directly sends the second auxiliary frame to the slave device and switches to the TWS link Communication; S505, after receiving the second auxiliary frame, the slave device switches to the TWS link communication, and the slave device sends the additional data to the master device.
  • the embodiment of the present invention provides a preferred solution.
  • the predetermined number of times can be set in advance during product design. Generally, it can be set at least 2 times as needed. Of course, 3 times, 4 times or more can be set according to different design schemes.
  • the communication of the TWS link occupies too much bandwidth, which may affect the communication of the Bluetooth device link.
  • the present invention also provides a preferred embodiment.
  • the above-mentioned process further includes pre-setting the maximum duration of a single communication of the TWS link, and extending the total duration according to the number of retransmissions of the additional data.
  • the interval waiting time for additional data transmission It is preset to limit the maximum duration of a single TWS link communication. For example, the duration of a single TWS link communication cannot exceed 20 milliseconds or 15 milliseconds.
  • the length of time can be adjusted according to the product design.
  • the master device has a data packet that has been retransmitted three times in a TWS communication without success. Then the main device needs to wait 30ms for the next additional data transmission interval. The more retransmissions are set, the longer the waiting time is.
  • the above embodiments describe the additional data transmission method after the master device and the slave device establish the TWS link.
  • the TWS link is a link with links that requires two-way interaction, and a link with flow control and response. Its advantages are If the master and slave devices have additional data to be transmitted, a switchover can be completed. In addition, it is convenient to maintain the connection status of the link for the connected TWS teaming method.
  • the data transmission can also be one-way transmission, and the data transmission is one-way interaction without flow control and no response.
  • the main device has additional data to send, after switching to the TWS link, the data will be broadcast to the other party according to the agreed time sequence, and the number of broadcasts can be set.
  • the slave device can also broadcast data to the master device.
  • the foregoing embodiment describes the technical solution for establishing communication and data transmission between the two parties from the perspective of the interaction between the master device and the slave device.
  • a data transmission method of a Bluetooth master device includes the following steps:
  • the embodiment of the present invention also provides another method for data transmission of a Bluetooth master device, including the following steps:
  • the master device receives the data packet from the Bluetooth device at Bluetooth time N, it switches to the state of receiving the first auxiliary frame; at this time, if the external slave device has additional data that needs to be sent to the master device, then the master device receives the external For the first auxiliary frame containing the "request data transmission" command sent from the device, the master device forwards the data in a unified manner. After the master device sends a packet to the Bluetooth device at the Bluetooth link time N+1, it sends a "communication switching command" The second auxiliary frame is sent to the external slave device, and then switched to TWS link communication, and the TWS link is established with the external slave device to receive additional data sent by the external slave device.
  • the master device needs to send additional data
  • the master device after the master device receives the data packet from the Bluetooth device at Bluetooth time N, the master device sends the packet to the Bluetooth device at Bluetooth link time N+1, and then sends a "communication switching command"
  • the second auxiliary frame is given to the slave device, and then switched to the TWS link communication. After the TWS link is established with the external slave device, the additional data is sent to the external slave device.
  • a data transmission method for a Bluetooth slave device includes the following steps:
  • the first auxiliary frame After receiving the data packet of the Bluetooth device at the time N of the Bluetooth link, the first auxiliary frame is sent to request the data to be sent and then switched to the state of receiving the second auxiliary frame;
  • the embodiment of the present invention also provides another method for data transmission from a Bluetooth slave device, including the following steps:
  • the slave device After receiving the data packet from the Bluetooth device at the Bluetooth link time N, the slave device sends the first auxiliary frame containing the "request data transmission" command to request data transmission Then switch to the state of receiving the second auxiliary frame; at this time, if the external master device agrees to receive data transmission, it will send the second auxiliary frame to the slave device, then the slave device at the Bluetooth link time N+1, the reception contains "communication switching After the second auxiliary frame of "Command", it switches to TWS link communication to establish a TWS link with the external master device, and send additional data to the external master device.
  • the slave device will directly switch to receiving the second auxiliary frame state after receiving the data packet of the Bluetooth device at the Bluetooth link time N; then the slave device At the Bluetooth link time N+1, after receiving the second auxiliary frame containing the "communication switching command", it switches to the TWS link communication and establishes a TWS link with the external master device, and receives additional data sent by the external master device.
  • the embodiments of the present invention also correspondingly provide a Bluetooth TWS device that implements the above data transmission method.
  • the embodiment of the present invention is implemented in this way.
  • a Bluetooth TWS device includes a master device and a slave device. Device, the master device is configured to switch to receiving the first auxiliary frame state after receiving the data packet of the Bluetooth device at the Bluetooth link time N, and send the second auxiliary frame to the slave device at the Bluetooth link time N+1 Switch to TWS link communication after the frame; or used to switch to receiving the second auxiliary frame state when additional data is sent;
  • the slave device is used to send the first auxiliary frame to the master device when additional data is to be sent, and then switch to receiving the second auxiliary frame after sending the data; or to switch to the state of receiving the second auxiliary frame when the second auxiliary frame is received Then, switch to the TWS link communication, and send the additional data to the master device.
  • the master device establishes a wireless connection with the Bluetooth device, and the slave device learns some relevant parameters of the wireless link from the master device in a direct or indirect manner.
  • the slave device establishes a virtual connection with the Bluetooth device according to the obtained parameters.
  • the virtual connection can receive the data sent by the Bluetooth device to the master device, and with the help of the first auxiliary frame, the virtual connection can be turned into a reliable connection, and the data can be sent to the Bluetooth device. Therefore, whether it is a master device or a slave device in the embodiment of the present invention, it is only described from the perspective of the master and slave realized in the data transmission process.
  • the master device can be converted into a slave device, and the slave device is also It can be converted to a master device, and those skilled in the art can understand that the master device and slave device described here are only for data transmission, and do not refer to the actual main earphone or auxiliary earphone of the TWS earphone.

Landscapes

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

Abstract

本发明实施例用于提供一种蓝牙TWS设备间的数据传输方法,本发明实施例是这样实现的,一种蓝牙TWS设备间的数据传输方法,所述方法包括:主设备和从设备在蓝牙链路时刻N接收蓝牙设备的数据包后,所述主设备切换到接收第一辅助帧状态;如果所述从设备有额外数据发送给主设备,向所述主设备发送所述第一辅助帧请求数据发送后,所述从设备切换到接收第二辅助帧状态;所述主设备在蓝牙链路时刻N+1,向所述从设备发送所述第二辅助帧后切换到TWS链路通信;所述从设备接收到所述第二辅助帧后,切换到所述TWS链路通信,所述从设备向所述主设备发送所述额外数据。相应的还提供一种蓝牙TWS设备,实现TWS设备间通信的时延最小,且占用的蓝牙带宽最小。

Description

蓝牙TWS设备及其主设备、从设备和设备间的数据传输方法 技术领域
本申请无线通信技术,具体涉及一种蓝牙TWS设备间的数据传输方法、蓝牙TWS主设备的数据传输方法、蓝牙TWS从设备的数据传输方法及其蓝牙TWS设备。
背景技术
目前市面上采用监听方式实现的TWS(True Wireless Stereo,真正的无线立体声)耳机中,为了保证主耳和副耳要么同时处于接收手机数据通信模式,要么同时处于主副耳间通信模式,主副耳间的蓝牙链路需要进入一种类似sniff工作方式的周期性定点通信状态。在这种工作状态下,主耳和副耳的蓝牙链路只占用了少量的带宽,将更多的蓝牙带宽留给了手机和主耳进行通信,副耳此时也在接收手机的数据。并且副耳能够知道主耳在什么时刻会给自己发送数据或者轮询包,只需在那个时刻切换到主副链路进行通信。
但是采用上述方式进行带宽分配,当TWS链路的定点通信周期定得较大时,TWS间数据交互的时延会很大,特别是干扰环境下会更加严重。当TWS链路的定点通信周期定得较小时,又会造成TWS链路占用了较多蓝牙带宽,继而影响与手机的通信。
发明内容
有鉴于此,本发明实施例的主要目的在于提供一种蓝牙TWS设备间的数据传输方法,实现TWS设备间通信的时延最小,且占用的蓝牙带宽最小。本发明实施例是这样实现的,一种蓝牙TWS设备间的数据传输方法,所述方法包括:
主设备和从设备在蓝牙链路时刻N接收蓝牙设备的数据包后,所述主设备切换到接收第一辅助帧状态;
如果所述从设备有额外数据发送给主设备,向所述主设备发送所述第一辅助帧请求数据发送后,所述从设备切换到接收第二辅助帧状态;
所述主设备在蓝牙链路时刻N+1,向所述从设备发送所述第二辅助帧后切换到TWS链路通信;
所述从设备接收到所述第二辅助帧后,切换到所述TWS链路通信,所述从设备向所述主设备发送所述额外数据。
相应地,本发明实施例还提供一种蓝牙TWS设备间的数据传输方法,所述方法还包括:
主设备和从设备在蓝牙链路时刻N接收蓝牙设备的数据包;
如果所述主设备有额外数据发送给所述从设备,所述从设备切换到接收第二辅助帧状态;
所述主设备在蓝牙链路时刻N+1,向所述从设备发送所述第二辅助帧后切换到TWS链路通信;
所述从设备接收到所述第二辅助帧后,切换到所述TWS链路通信;
所述主设备向所述从设备发送所述额外数据。
进一步地,所述数据包为有效数据包、空包或者轮询包。
进一步地,所述第一辅助帧包含请求数据发送标志;所述第二辅助帧包含通信切换命令。
进一步地,所述第二辅助帧包含通信切换命令。
进一步地,如果所述主设备在蓝牙链路时刻N接收到蓝牙设备的数据包,在所述向所述从设备发送所述第二辅助帧并切换到TWS链路通信的步骤之前进一步包括:所述主设备在蓝牙链路时刻N+1给蓝牙设备发送数据;
如果所述主设备在蓝牙链路时刻N没有接收到蓝牙设备的数据包,在所述向所述从设备发送所述第二辅助帧并切换到TWS链路通信的步骤之前进一步包括:所述主设备直接向所述从设备发送第二辅助帧并切换到TWS链路通信。
进一步地,所述方法进一步包括,当所述额外数据传输完成后,所述主 设备和所述从设备切换回与所述蓝牙设备的通信链接。
进一步地,当所述主设备或所述从设备收到对方设备的应答,且没有更多的数据需要发送给对方,且对方设备也没有发送需要应答的数据,则所述额外数据传输完成。
进一步地,当所述主设备切换到所述TWS链路通信后,如果在预定的次数连续连接后都无法与所述从设备建立TWS链路通信,则超时切换回与蓝牙设备通信。
进一步地,所述方法进一步包括,预先设定所述TWS链路单次通信的最大时长,根据所述额外数据重传的次数,延长所述额外数据传输的间隔等待时间。
进一步地,所述从设备向所述主设备发送所述额外数据包括:所述从设备按照预定时序将所述额外数据广播,所述广播的次数预先设定。
进一步地,所述主设备向从设备发送所述额外数据进一步包括:所述主设备按照预定时序将所述额外数据广播,所述广播的次数预先设定。
根据本发明实施例的另一方面,本发明实施例的目的在于提供一种蓝牙主设备的数据传输方法,实现TWS设备间通信的时延最小,且占用的蓝牙带宽最小。本发明实施例是这样实现的,包括:
在蓝牙链路时刻N接收蓝牙设备的数据包后,切换到接收第一辅助帧状态;
接收第一辅助帧;
在蓝牙链路时刻N+1,发送第二辅助帧后切换到TWS链路通信;
接收额外数据。
或者,
在蓝牙链路时刻N接收蓝牙设备的数据包;
如果有额外数据发送给从设备,在蓝牙链路时刻N+1,发送第二辅助帧后切换到TWS链路通信;
发送所述额外数据。
根据本发明实施例的另一方面,本发明实施例的目的在于提供一种蓝牙TWS从设备的数据传输方法,实现TWS设备间通信的时延最小,且占用的 蓝牙带宽最小。本发明实施例是这样实现的,一种蓝牙TWS从设备的数据传输方法,包括:
在蓝牙链路时刻N接收蓝牙设备的数据包后,发送第一辅助帧请求数据发送后切换到接收第二辅助帧状态;
在蓝牙链路时刻N+1,接收第二辅助帧后切换到TWS链路通信;
发送额外数据。
或者,
在蓝牙链路时刻N接收蓝牙设备的数据包后切换到接收第二辅助帧状态;
在蓝牙链路时刻N+1,接收第二辅助帧后切换到TWS链路通信;
接收额外数据。
根据本发明实施例的另一方面,本发明实施例的目的在于提供一种蓝牙TWS设备,实现TWS设备间通信的时延最小,且占用的蓝牙带宽最小。本发明实施例是这样实现的,一种蓝牙TWS设备,包括主设备和从设备,所述主设备用于在蓝牙链路时刻N接收蓝牙设备的数据包后切换到接收第一辅助帧状态,在蓝牙链路时刻N+1,向所述从设备发送所述第二辅助帧后切换到TWS链路通信;或用于当有额外数据发送时,切换到接收第二辅助帧状态;
所述从设备用于当有额外数据发送时,向所述主设备发送所述第一辅助帧请求数据发送后切换到接收第二辅助帧状态;或用于在接收到所述第二辅助帧后,切换到所述TWS链路通信,向所述主设备发送所述额外数据。
根据上述技术方案,本发明实施例具有如下效果:主设备和从设备同时接收蓝牙设备的数据。当从设备有额外数据需要发送给主设备时,通过第一辅助帧给主设备发送请求。当主设备有额外数据需要发送给从设备,或者主设备收到从设备的额外数据发送请求时,主设备通过第二辅助帧给从设备发送通信切换命令。然后,主设备和从设备一起切换到TWS通信。当TWS通信完成或者TWS通信超时后,主设备或者从设备又快速切换回与蓝牙设备 进行通信。第一辅助帧和第二辅助帧不占用蓝牙链路的额外带宽,又能使得主设备和从设备间的数据可以快速交互,时延最小。一旦额外数据传输完成,又切换回与蓝牙设备通信,占用的蓝牙带宽最小。
附图说明
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:
图1示出了本申请提供的一种蓝牙TWS设备间的数据传输方法流程图;
图2示出了本申请提供的另一种蓝牙TWS设备间的数据传输方法流程图;
图3示出了本申请提供的一种蓝牙设备与TWS设备时序示意图;
图4示出了本申请提供的另一种蓝牙TWS设备间的数据传输方法流程图;
图5示出了本申请提供的另一种蓝牙TWS设备间的数据传输方法流程图。
具体实施方式
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请,以下实施例中的步骤顺序仅为列举,在不冲突的情况下可以调整。
如图1所示,本发明实施例是这样实现的,一种蓝牙TWS设备间的数据传输方法,所述方法包括如下步骤:
S101,主设备和从设备在蓝牙链路时刻N接收蓝牙设备的数据包后,所述主设备切换到接收第一辅助帧状态;
S102,如果所述从设备有额外数据发送给主设备,向所述主设备发送所述第一辅助帧请求数据发送后,所述从设备切换到接收第二辅助帧状态;
S103,所述主设备在蓝牙链路时刻N+1,向所述从设备发送所述第二辅助帧后切换到TWS链路通信;
S104,所述从设备接收到所述第二辅助帧后,切换到所述TWS链路通信,所述从设备向所述主设备发送所述额外数据。TWS设备包括主设备和从设备,其中主设备和蓝牙设备建立一条无线连接,而从设备通过直接或者间接的方式从主设备得知所述无线链路的一些相关参数。从设备根据得到的参数建立一条与蓝牙设备的虚拟连接。该虚拟连接可以接收到蓝牙设备发送给主设备的数据,也可以在需要的时候转换为真实连接,给蓝牙设备发送数据。从设备可直接或间接得到主设备和蓝牙设备建立的链路的相关参数,比如从设备与主设备建立一条连接,然后主设备将相关参数传输给从设备。比如主设备将相关参数广播出去,从设备通过扫描收到。比如从设备通过OOB通信方式从主设备获取相关参数。比如主设备将相关参数给到一个第三方设备,然后从设备再从第三方设备获取相关参数,以建立一条虚拟连接。主设备和蓝牙设备建立的是一条标准蓝牙ACL链路,是一条可靠连接。上述无论是主设备与蓝牙设备建立的可靠连接,还是从设备与蓝牙设备建立的虚拟连接,TWS设备都可以从蓝牙设备获取数据。
具体来说,如图3所示,为蓝牙设备与主设备或从设备进行数据传输的时序示意图,蓝牙设备在蓝牙链路时刻N给主设备发送一个数据包,从设备也在蓝牙链路时刻N接收这个数据包,本领域技术人员都理解,该数据包可以为有效数据包、空包或者轮询包,也就是说,从设备和主设备接收蓝牙设备的数据包可能会接收到有效数据,也可以接收不到任何数据或者是轮询数据。当主设备和从设备接收完蓝牙设备发送的数据包后,主设备切换到接收第一辅助帧的状态,而如果此时从设备有额外数据需要发送给主设备时,则会切换到发送第一辅助帧的状态,发送的第一辅助帧中包含“请求数据发送标志”,从设备向所述主设备发送第一辅助帧请求数据发送后,然后从设备切换到接收第二辅助帧的状态。主设备在蓝牙链路时刻N+1给蓝牙设备发送包后,如果同意从设备的额外数据发送请求,则会接着发送包含“通信切换 命令”的第二辅助帧给从设备。主设备在发送完第二辅助帧后,切换到TWS链路通信,准备接收从设备发送的数据。而从设备在收到包含“通信切换命令”的第二辅助帧后,切换到TWS链路通信,给主设备发送需要传输的额外数据,这里的额外数据一般指上层用户数据,主要是TWS设备间各种信息的同步,比如微调播放速度,保持主设备和从设备播放同一时刻的音频数据,比如同步按键信息、同步电量信息、同步提示音、同步工作状态等,也可以包含底层链路控制数据,比如跳频序列,功率控制,或者没有数据,比如空包,只为了同步TWS设备的时序。
优选地,在上述实施例的基础上,可以进一步补充对数据传输完成的流程补充,当额外数据传输完成后,主设备和从设备切换回与所述蓝牙设备的通信链接。当所述主设备或所述从设备收到对方设备的应答,且没有更多的数据需要发送给对方,且对方设备也没有发送需要应答的数据,则所述额外数据传输完成,本应答可通过第一辅助帧或第二辅助帧来完成,或者通过广播的方式告知另外一方设备。
在上述实施例的情况下,如果从设备并没有额外数据需要发送或者主设备需要进行额外数据发送的情况下,主设备可以对从设备发送的第一辅助帧不进行应答,而直接将主设备需要发送的额外数据进行发送,该流程如下:
如图2所示,一种蓝牙TWS设备间的数据传输方法,所述方法包括如下步骤:
S201,主设备和从设备在蓝牙链路时刻N接收蓝牙设备的数据包;如果所述主设备有额外数据发送给所述从设备,所述从设备切换到接收第二辅助帧状态;
S202,所述主设备在蓝牙链路时刻N+1,向所述从设备发送所述第二辅助帧后切换到TWS链路通信;
S203,所述从设备接收到所述第二辅助帧后,切换到所述TWS链路通信;
S204,所述主设备向所述从设备发送所述额外数据。
具体来说,参考图3,如果在蓝牙时刻N主设备和从设备接收完蓝牙设备的数据包后,从设备没有额外数据需要发送给主设备或者主设备需要进行 额外数据发送,当主设备和从设备接收完蓝牙设备发送的包后,从设备切换到接收第二辅助帧的状态;主设备在蓝牙链路时刻N+1给蓝牙设备发送包后,如果有额外数据需要发送给从设备,发送包含“通信切换命令”的第二辅助帧给从设备;主设备在发送完第二辅助帧后,切换到TWS链路通信,发送数据给从设备。而从设备在收到包含“通信切换命令”的第二辅助帧后,切换到TWS链路通信,准备接收主设备发送的数据,主设备向从设备发送所述额外数据。
本发明提供另一实施例,实际通信过程中,无论是主设备还是从设备有额外数据需要发送,在蓝牙链路时刻N+1,如果主设备在蓝牙链路时刻N接收到蓝牙设备的数据包,在所述向所述从设备发送所述第二辅助帧并切换到TWS链路通信的步骤之前进一步包括:所述主设备在蓝牙链路时刻N+1给蓝牙设备发送数据。具体来说,如图4所示,本实施例包括如下步骤:S401,主设备和从设备在蓝牙链路时刻N接收蓝牙设备的数据包后,所述主设备切换到接收第一辅助帧状态;S402,如果所述从设备有额外数据发送给主设备,向所述主设备发送所述第一辅助帧请求数据发送后,所述从设备切换到接收第二辅助帧状态;S403,所述主设备在蓝牙链路时刻N+1,如果主设备在蓝牙链路时刻N接收到蓝牙设备的数据包;S404,所述主设备在蓝牙链路时刻N+1给蓝牙设备发送数据后,向所述从设备发送所述第二辅助帧并切换到TWS链路通信;S405,所述从设备接收到所述第二辅助帧后,切换到所述TWS链路通信,所述从设备向所述主设备发送所述额外数据。
相应的,本发明提供另一实施例,在蓝牙链路时刻N+1,如果所述主设备在蓝牙链路时刻N没有接收到蓝牙设备的数据包,在所述向所述从设备发送所述第二辅助帧并切换到TWS链路通信的步骤之前进一步包括:所述主设备直接向所述从设备发送第二辅助帧并切换到TWS链路通信。具体来说,如图5所示,本实施例包括如下步骤:S501,主设备和从设备在蓝牙链路时刻N接收蓝牙设备的数据包后,所述主设备切换到接收第一辅助帧状态;S502,如果所述从设备有额外数据发送给主设备,向所述主设备发送所述第一辅助帧请求数据发送后,所述从设备切换到接收第二辅助帧状态;S503,主设备在蓝牙链路时刻N+1,如果主设备在蓝牙链路时刻N没有接收到蓝牙 设备的数据包;S504,所述主设备直接向所述从设备发送第二辅助帧并切换到TWS链路通信;S505,所述从设备接收到所述第二辅助帧后,切换到所述TWS链路通信,所述从设备向所述主设备发送所述额外数据。
上述实施例中,可能会发生主设备或从设备TWS链路通信建立不成功的情况,发生这种情况可能是由于主设备发送给从设备的第二辅助帧,从设备可能没能正确收到。继而导致主设备切换到TWS链路通信,而从设备还处于与蓝牙设备通信的状态。所以需要给切换到TWS链路通信的TWS设备加一个超时。比如,主设备切换到TWS链路通信后,如果连续两次都无法与另一个TWS设备同步上,则超时切换回与蓝牙设备通信。所以在上述实施例的基础上,本发明实施例提供一种优选的方案,当所述主设备切换到所述TWS链路通信后,如果在预定的次数连续连接后都无法与所述从设备建立TWS链路通信,则超时切换回与蓝牙设备通信。该预定次数可以在产品设计时预先设定,根据需要,一般至少设定2次,当然根据不同的设计方案,3次,4次或以上都可以。
为了防止TWS设备间有太多额外数据要传输,或者TWS设备间数据链路传输出现阻塞等问题,继而导致TWS链路的通信占用太多带宽,可能会影响了蓝牙设备链路的通信。本发明还提供一优选地实施例,在上述实施例的基础上,上述流程进一步包括,预先设定所述TWS链路单次通信的最大时长,根据所述额外数据重传的次数,延长所述额外数据传输的间隔等待时间。预先设定限制单次TWS链路单次通信的最大时长,比如单次TWS链路通信时长不能超过20毫秒或者15毫秒,该时间长度根据产品设计可以自行调整。同时还限制同一数据包重传时加大相邻两次TWS链路通信的间隔。比如主设备有一个数据包在一次TWS通信里重传了3次都未能成功。则主设备下一次额外数据传输的间隔需要等待30ms,设定重传的次数越多,需要等待的时间越久。
上述实施例描述了主设备和从设备建立TWS链路后的额外数据传输方法,TWS链路是一种有链路的链接即需要双向交互,有流控有应答的链路,它的优点在于如果主从设备都有额外数据需要传输时,一次切换就可以完成。另外对于有连接的TWS组队方式方便保持链路的连接状态。
当然,在上述实施例通过第一辅助帧和第二辅助帧建立TWS链接后,数据传输亦可通过单向传输,数据传输是单向交互,没有流控,没有应答。在这种方式下,如果主设备有额外数据要发送时,切换到TWS链路后,按照约定好的时序将数据广播给对方,广播的次数可以设定。反之,从设备也可以将数据广播给主设备。
上述实施例是从主设备和从设备交互的角度来描述双方建立通信和数据传输的技术方案。
根据本发明实施例的另一方面,本发明实施例还从主设备或从设备的角度对上述方案进行说明。本发明实施例是这样实现的,一种蓝牙主设备的数据传输方法,包括如下步骤:
在蓝牙链路时刻N接收蓝牙设备的数据包后,切换到接收第一辅助帧状态;
接收第一辅助帧;
在蓝牙链路时刻N+1,发送第二辅助帧后切换到TWS链路通信;
接收额外数据。
本发明实施例还提供一种蓝牙主设备的数据传输的另一种方法包括如下步骤:
在蓝牙链路时刻N接收蓝牙设备的数据包;
如果有额外数据发送给从设备,在蓝牙链路时刻N+1,发送第二辅助帧后切换到TWS链路通信;
发送所述额外数据。
具体来说,主设备如果在蓝牙时刻N收完蓝牙设备的数据包后,切换到接收第一辅助帧状态;此时如果外部的从设备有额外数据需要发送给主设备,那么主设备接收外部从设备发来的包含“请求数据发送”命令的第一辅助帧,主设备统一进行数据转发,主设备在蓝牙链路时刻N+1给蓝牙设备发送包后,发送包含“通信切换命令”的第二辅助帧给外部的从设备,然后切换到TWS链路通信,与外部从设备建立TWS链路后接收外部从设备发来的额外数据。或者如果主设备需要进行额外数据发送,主设备在蓝牙时刻N收完蓝牙设备的数据包后,主设备在蓝牙链路时刻N+1给蓝牙设备发送包后, 发送包含“通信切换命令”的第二辅助帧给从设备,然后切换到TWS链路通信,与外部从设备建立TWS链路后,将额外数据发送给外部从设备。
相应地,本发明亦提供了从蓝牙从设备的角度进行描述,本发明实施例是这样实现的,一种蓝牙从设备的数据传输方法,包括如下步骤:
在蓝牙链路时刻N接收蓝牙设备的数据包后,发送第一辅助帧请求数据发送后切换到接收第二辅助帧状态;
在蓝牙链路时刻N+1,接收第二辅助帧后切换到TWS链路通信;
发送额外数据。
本发明实施例还提供一种蓝牙从设备的数据传输的另一种方法包括如下步骤:
在蓝牙链路时刻N接收蓝牙设备的数据包后切换到接收第二辅助帧状态;
在蓝牙链路时刻N+1,接收第二辅助帧后切换到TWS链路通信;
接收额外数据。
具体来说,如果从设备有额外数据需要发送给外部的主设备,从设备在蓝牙链路时刻N接收蓝牙设备的数据包后,发送包含“请求数据发送”命令的第一辅助帧请求数据发送后切换到接收第二辅助帧状态;此时,如果外部主设备同意接收数据发送,则会向从设备发送第二辅助帧,那么从设备在蓝牙链路时刻N+1,接收包含“通信切换命令”的第二辅助帧后切换到TWS链路通信与外部的主设备建立TWS链路,将额外数据发送给外部的主设备。或者,如果此时从设备没有额外数据需要发送而外部的主设备有额外数据发送,从设备在蓝牙链路时刻N接收蓝牙设备的数据包后直接切换到接收第二辅助帧状态;那么从设备在蓝牙链路时刻N+1,接收包含“通信切换命令”的第二辅助帧后切换到TWS链路通信与外部的主设备建立TWS链路,接收外部的主设备发送的额外数据。
由于上述方法流程与前述实施例方法的实现只是从不同的角度进行描述,所以此处不予赘述。
根据本发明实施例的另一方面,本发明实施例还相应的提供一种实现上述数据传输方法的蓝牙TWS设备,本发明实施例是这样实现的,一种蓝牙 TWS设备,包括主设备和从设备,所述主设备用于在蓝牙链路时刻N接收蓝牙设备的数据包后切换到接收第一辅助帧状态,在蓝牙链路时刻N+1,向所述从设备发送所述第二辅助帧后切换到TWS链路通信;或用于当有额外数据发送时,切换到接收第二辅助帧状态;
所述从设备用于当有额外数据发送时,向所述主设备发送所述第一辅助帧请求数据发送后切换到接收第二辅助帧状态;或用于在接收到所述第二辅助帧后,切换到所述TWS链路通信,向所述主设备发送所述额外数据。
根据本发明提供的实施例,主设备和蓝牙设备建立一条无线连接,而从设备通过直接或者间接的方式从主设备得知所述无线链路的一些相关参数。从设备根据得到的参数建立一条与蓝牙设备的虚拟连接。该虚拟连接可以接收到蓝牙设备发送给主设备的数据,并且借助第一辅助帧,可以使得该虚拟连接变成一条可靠连接,给蓝牙设备发送数据。所以本发明实施例中的无论是主设备还是从设备,只是在描述其数据传输过程中所实现主从的角度来描述,根据上述技术方案的描述,主设备可以转换为从设备,从设备亦可以转换为主设备,本领域技术人员可以理解,这里所描述的主设备和从设备仅针对数据传输角度,而并非指实际中TWS耳机的主耳机或副耳机。
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离所述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。

Claims (17)

  1. 一种蓝牙TWS设备间的数据传输方法,其特征在于,所述方法包括:
    主设备和从设备在蓝牙链路时刻N接收蓝牙设备的数据包后,所述主设备切换到接收第一辅助帧状态;
    如果所述从设备有额外数据发送给主设备,向所述主设备发送所述第一辅助帧请求数据发送后,所述从设备切换到接收第二辅助帧状态;
    所述主设备在蓝牙链路时刻N+1,向所述从设备发送所述第二辅助帧后切换到TWS链路通信;
    所述从设备接收到所述第二辅助帧后,切换到所述TWS链路通信,所述从设备向所述主设备发送所述额外数据。
  2. 一种蓝牙TWS设备间的数据传输方法,其特征在于,所述方法包括:
    主设备和从设备在蓝牙链路时刻N接收蓝牙设备的数据包;
    如果所述主设备有额外数据发送给所述从设备,所述从设备切换到接收第二辅助帧状态;
    所述主设备在蓝牙链路时刻N+1,向所述从设备发送所述第二辅助帧后切换到TWS链路通信;
    所述从设备接收到所述第二辅助帧后,切换到所述TWS链路通信;
    所述主设备向所述从设备发送所述额外数据。
  3. 根据权利要求1或2所述的蓝牙TWS设备间的数据传输方法,其特征在于,所述数据包为有效数据包、空包或者轮询包。
  4. 根据权利要求3所述的蓝牙TWS设备间的数据传输方法,其特征在于,所述第一辅助帧包含请求数据发送标志;所述第二辅助帧包含通信切换命令。
  5. 根据权利要求3所述的蓝牙TWS设备间的数据传输方法,其特征在于,所述第二辅助帧包含通信切换命令。
  6. 根据权利要求3所述的蓝牙TWS设备间的数据传输方法,其特征在于,
    如果所述主设备在蓝牙链路时刻N接收到所述蓝牙设备的数据包,在所 述向所述从设备发送所述第二辅助帧并切换到TWS链路通信的步骤之前进一步包括:所述主设备在蓝牙链路时刻N+1给所述蓝牙设备发送数据;
    如果所述主设备在蓝牙链路时刻N没有接收到所述蓝牙设备的数据包,在所述向所述从设备发送所述第二辅助帧并切换到TWS链路通信的步骤之前进一步包括:所述主设备直接向所述从设备发送所述第二辅助帧并切换到TWS链路通信。
  7. 根据权利要求4~6任一所述的蓝牙TWS设备间的数据传输方法,其特征在于,所述方法进一步包括,当所述额外数据传输完成后,所述主设备和所述从设备切换回与所述蓝牙设备的通信链接。
  8. 根据权利要求4~6任一所述的蓝牙TWS设备间的数据传输方法,其特征在于,当所述主设备或所述从设备收到对方设备的应答,且没有更多的数据需要发送给对方,且对方设备也没有发送需要应答的数据,则所述额外数据传输完成。
  9. 根据权利要求4~6任一所述的蓝牙TWS设备间的数据传输方法,其特征在于,当所述主设备切换到所述TWS链路通信后,如果在预定的次数连续连接后都无法与所述从设备建立TWS链路通信,则超时切换回与蓝牙设备通信。
  10. 根据权利要求4~6任一所述的蓝牙TWS设备间的数据传输方法,其特征在于,所述方法进一步包括,预先设定所述TWS链路单次通信的最大时长,根据所述额外数据重传的次数,延长所述额外数据传输的间隔等待时间。
  11. 根据权利要求4~6任一所述的蓝牙TWS设备间的数据传输方法,其特征在于,所述从设备向所述主设备发送所述额外数据包括:所述从设备按照预定时序将所述额外数据广播,所述广播的次数预先设定。
  12. 根据权利要求4~6任一所述的蓝牙TWS设备间的数据传输方法,其特征在于,所述主设备向从设备发送所述额外数据进一步包括:所述主设备按照预定时序将所述额外数据广播,所述广播的次数预先设定。
  13. 一种蓝牙TWS主设备的数据传输方法,其特征在于,包括:
    在蓝牙链路时刻N接收蓝牙设备的数据包后,切换到接收第一辅助帧状 态;
    接收第一辅助帧;
    在蓝牙链路时刻N+1,发送第二辅助帧后切换到TWS链路通信;
    接收额外数据。
  14. 一种蓝牙TWS主设备的数据传输方法,其特征在于,包括:
    在蓝牙链路时刻N接收蓝牙设备的数据包;
    如果有额外数据发送给从设备,在蓝牙链路时刻N+1,发送第二辅助帧后切换到TWS链路通信;
    发送所述额外数据。
  15. 一种蓝牙TWS从设备的数据传输方法,其特征在于,包括:
    在蓝牙链路时刻N接收蓝牙设备的数据包后,发送第一辅助帧请求数据发送后切换到接收第二辅助帧状态;
    在蓝牙链路时刻N+1,接收第二辅助帧后切换到TWS链路通信;
    发送额外数据。
  16. 一种蓝牙TWS从设备的数据传输方法,其特征在于,包括:
    在蓝牙链路时刻N接收蓝牙设备的数据包后切换到接收第二辅助帧状态;
    在蓝牙链路时刻N+1,接收第二辅助帧后切换到TWS链路通信;
    接收额外数据。
  17. 一种蓝牙TWS设备,包括主设备和从设备,其特征在于,
    所述主设备用于在蓝牙链路时刻N接收蓝牙设备的数据包后切换到接收第一辅助帧状态,在蓝牙链路时刻N+1,向所述从设备发送所述第二辅助帧后切换到TWS链路通信;或用于当有额外数据发送时,切换到接收第二辅助帧状态;
    所述从设备用于当有额外数据发送时,向所述主设备发送所述第一辅助帧请求数据发送后切换到接收第二辅助帧状态;或用于在接收到所述第二辅助帧后,切换到所述TWS链路通信,向所述主设备发送所述额外数据。
PCT/CN2020/117086 2020-04-17 2020-09-23 蓝牙tws设备及其主设备、从设备和设备间的数据传输方法 WO2021208359A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010305288.9A CN111556475B (zh) 2020-04-17 2020-04-17 蓝牙tws设备及其主、从设备和设备间的数据传输方法
CN202010305288.9 2020-04-17

Publications (1)

Publication Number Publication Date
WO2021208359A1 true WO2021208359A1 (zh) 2021-10-21

Family

ID=72003060

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/117086 WO2021208359A1 (zh) 2020-04-17 2020-09-23 蓝牙tws设备及其主设备、从设备和设备间的数据传输方法

Country Status (2)

Country Link
CN (1) CN111556475B (zh)
WO (1) WO2021208359A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114710771A (zh) * 2022-06-07 2022-07-05 成都市安比科技有限公司 基于tws系统的链路切换方法、装置及蓝牙通信系统
CN117858031A (zh) * 2024-03-07 2024-04-09 深圳市汇杰芯科技有限公司 一种低延时无线对讲和tws无缝切换系统、方法及介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111556475B (zh) * 2020-04-17 2022-04-19 炬力(珠海)微电子有限公司 蓝牙tws设备及其主、从设备和设备间的数据传输方法
CN113613223B (zh) * 2021-06-29 2024-08-09 成都市安比科技有限公司 蓝牙音频系统的主从切换方法、第一设备及第二设备
CN114827974B (zh) * 2022-06-29 2022-11-29 成都市安比科技有限公司 一种tws系统的带宽优化方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587666A (zh) * 2018-11-22 2019-04-05 重庆物奇科技有限公司 蓝牙设备、系统及调度方法
CN109660971A (zh) * 2018-12-05 2019-04-19 恒玄科技(上海)有限公司 无线耳机及用于无线耳机的通信方法
CN110191389A (zh) * 2019-06-25 2019-08-30 歌尔股份有限公司 无线耳机的多点连接方法、装置、蓝牙耳机及tws耳机
EP3629561A1 (en) * 2018-09-30 2020-04-01 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Data transmission method and system, and bluetooth headphone
CN110970040A (zh) * 2018-09-28 2020-04-07 炬芯(珠海)科技有限公司 无线蓝牙装置的音频同步方法及无线蓝牙装置
CN111556475A (zh) * 2020-04-17 2020-08-18 炬力(珠海)微电子有限公司 蓝牙tws设备及其主、从设备和设备间的数据传输方法

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100389820B1 (ko) * 2001-07-12 2003-07-02 삼성전자주식회사 블루투스 무선 통신을 이용한 블루투스 장치간 링크 설정방법
CN107277668B (zh) * 2017-07-28 2019-05-31 广州黑格智能科技有限公司 一种双蓝牙耳机
CN108600897B (zh) * 2018-07-20 2018-11-23 恒玄科技(上海)有限公司 实现低频切换的一拖二蓝牙耳机及通信方法
CN109165390A (zh) * 2018-07-25 2019-01-08 中译语通科技(青岛)有限公司 一种支持tws蓝牙耳机的翻译系统
CN113382397B (zh) * 2019-04-18 2023-12-08 华为技术有限公司 一种蓝牙连接方法、设备及系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110970040A (zh) * 2018-09-28 2020-04-07 炬芯(珠海)科技有限公司 无线蓝牙装置的音频同步方法及无线蓝牙装置
EP3629561A1 (en) * 2018-09-30 2020-04-01 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Data transmission method and system, and bluetooth headphone
CN109587666A (zh) * 2018-11-22 2019-04-05 重庆物奇科技有限公司 蓝牙设备、系统及调度方法
CN109660971A (zh) * 2018-12-05 2019-04-19 恒玄科技(上海)有限公司 无线耳机及用于无线耳机的通信方法
CN110191389A (zh) * 2019-06-25 2019-08-30 歌尔股份有限公司 无线耳机的多点连接方法、装置、蓝牙耳机及tws耳机
CN111556475A (zh) * 2020-04-17 2020-08-18 炬力(珠海)微电子有限公司 蓝牙tws设备及其主、从设备和设备间的数据传输方法

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114710771A (zh) * 2022-06-07 2022-07-05 成都市安比科技有限公司 基于tws系统的链路切换方法、装置及蓝牙通信系统
CN114710771B (zh) * 2022-06-07 2022-08-23 成都市安比科技有限公司 基于tws系统的链路切换方法、装置及蓝牙通信系统
CN117858031A (zh) * 2024-03-07 2024-04-09 深圳市汇杰芯科技有限公司 一种低延时无线对讲和tws无缝切换系统、方法及介质
CN117858031B (zh) * 2024-03-07 2024-05-28 深圳市汇杰芯科技有限公司 一种低延时无线对讲和tws无缝切换系统、方法及介质

Also Published As

Publication number Publication date
CN111556475A (zh) 2020-08-18
CN111556475B (zh) 2022-04-19

Similar Documents

Publication Publication Date Title
WO2021208359A1 (zh) 蓝牙tws设备及其主设备、从设备和设备间的数据传输方法
CN110267305B (zh) 一种无线数据重传方法
US10412494B2 (en) Operation mode switch of wireless headphones
CN110995326B (zh) 一种无线耳机的通信方法、无线耳机及无线耳塞
CN111436044B (zh) 双无线蓝牙通信网络丢包数据处理方法、装置及系统
WO2022021607A1 (zh) 音频数据的传输方法、系统、tws耳机对、芯片及介质
WO2019144343A1 (zh) 组网方法、芯片及无线网络系统
CN111436043B (zh) 双无线蓝牙通信网络的通信方法、装置、设备及系统
WO2020107691A1 (zh) 蓝牙连接方法及装置
CN109922540B (zh) 无线收发设备组通信方法、设备组、系统及存储介质
WO2021208358A1 (zh) 蓝牙tws设备间的数据传输方法及其蓝牙tws设备
CN111464988A (zh) 音频数据传输方法、系统和装置
CN109618406B (zh) 无线连接方法、设备组、系统
CN110166988B (zh) 一种无线通信系统及其方法
WO2023179159A1 (zh) 通信芯片、蓝牙通信设备及数据传输方法
US20240063981A1 (en) Uplink management for true wireless earbuds
CN112039637A (zh) 一种音频数据通信方法、系统及音频通信设备
US20130278707A1 (en) Video communication method and terminal
WO2022222648A1 (zh) 音频数据接收、发送方法、音频接收装置和音频发送装置
CN115396856A (zh) 建立蓝牙链路的方法、装置、设备及存储介质
CN114079894B (zh) 双无线音频通信控制方法、装置、设备和系统
WO2020172830A1 (zh) 无线连接方法、设备组、系统及存储介质
CN114079897B (zh) 一种蓝牙音频系统、设备及系统通信方法
CN114079898A (zh) 双发模式下音频数据通信方法、装置、设备和系统
CN115669051A (zh) 用于在无线通信系统中选择通道的方法、设备和计算机程序及其记录介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20931317

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20931317

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 19/05/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20931317

Country of ref document: EP

Kind code of ref document: A1