WO2022134734A1 - 无线通讯方法及系统 - Google Patents

无线通讯方法及系统 Download PDF

Info

Publication number
WO2022134734A1
WO2022134734A1 PCT/CN2021/122647 CN2021122647W WO2022134734A1 WO 2022134734 A1 WO2022134734 A1 WO 2022134734A1 CN 2021122647 W CN2021122647 W CN 2021122647W WO 2022134734 A1 WO2022134734 A1 WO 2022134734A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
synchronization link
periodic broadcast
synchronization
wireless communication
Prior art date
Application number
PCT/CN2021/122647
Other languages
English (en)
French (fr)
Inventor
许超杰
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to EP21908735.0A priority Critical patent/EP4266711A4/en
Publication of WO2022134734A1 publication Critical patent/WO2022134734A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/16Interfaces between hierarchically similar devices
    • H04W92/18Interfaces between hierarchically similar devices between terminal devices
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application belongs to the technical field of electronic devices, and in particular, relates to a wireless communication method and system.
  • the Bluetooth protocol is used to realize the connection between multiple electronic devices.
  • there are various problems in the connection method based on the Bluetooth protocol resulting in various problems in the Bluetooth connection between multiple electronic devices.
  • Embodiments of the present application provide a wireless communication method, device, storage medium, and electronic device, which can reduce power consumption of the electronic device.
  • an embodiment of the present application provides a wireless communication method, which is applied to a wireless communication system, where the wireless communication system includes a first electronic device and a second electronic device, and the method includes:
  • the first electronic device sends a first periodic broadcast signal to the second electronic device to complete the establishment of a first synchronization link (Synchronization link) between the second electronic device and the first electronic device;
  • a first synchronization link Synchronization link
  • the first electronic device receives the second periodic broadcast signal sent by the second electronic device, so as to complete the establishment of a second synchronization link between the first electronic device and the second electronic device.
  • an embodiment of the present application provides a wireless communication system, including a first electronic device and a second electronic device, where the first electronic device is used for acquiring an audio signal of an audio source sending device, and the second electronic device is used for Receive the first periodic broadcast signal sent by the first electronic device to complete the establishment of the first synchronization link, and the first electronic device completes the second periodic broadcast signal after receiving the second periodic broadcast signal sent by the second electronic device Establishment of a synchronous link, after the first electronic device establishes a synchronous link connection with the second electronic device, the first electronic device communicates with the first electronic device through the first synchronous link and the second synchronous link Audio transmission to the second electronic device.
  • FIG. 1 is a first schematic flowchart of a wireless communication method provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a scenario of binaural communication of a True Wireless Stereo (TWS) headset provided by an embodiment of the present application.
  • TWS True Wireless Stereo
  • FIG. 3 is a schematic flowchart of a second type of wireless communication method provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a scenario of establishing a synchronization link for a true wireless headset provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of an interaction scenario of synchronization link confirmation provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of an interaction scenario of data transmission and reception of a true wireless headset provided by an embodiment of the present application.
  • FIG. 7 is a third schematic flowchart of a wireless communication method provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of an interaction scenario for updating a periodic broadcast interval (Periodic Interval) of a true wireless headset provided by an embodiment of the present application.
  • Period Interval Periodic broadcast interval
  • FIG. 9 is a schematic diagram of an interaction scenario for updating a physical layer of a true wireless headset provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of an interaction scenario in which a synchronous link of a true wireless headset is disconnected according to an embodiment of the present application.
  • FIG. 11 is a schematic diagram of an air interface packet sequence of a true wireless headset provided by an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a wireless communication device provided by an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 14 is another schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 15 is a schematic structural diagram of a wireless communication system provided by an embodiment of the present application.
  • the executive body of the embodiment of the present application may be an electronic device such as a Bluetooth headset, a Bluetooth speaker, a smart phone, or a tablet computer.
  • An embodiment of the present application provides a wireless communication method, which is applied to a wireless communication system, where the wireless communication system includes a first electronic device and a second electronic device, and the method includes:
  • the first electronic device receives the second periodic broadcast signal sent by the second electronic device, so as to complete the establishment of a second synchronization link between the first electronic device and the second electronic device.
  • the first electronic device sends a first periodic broadcast signal to the second electronic device to complete the establishment of a first synchronization link between the second electronic device and the first electronic device ,include:
  • the electronic device establishes a first synchronization link connection with the first electronic device based on the first periodic broadcast signal.
  • the method further includes:
  • a synchronization confirmation packet is broadcast between the first electronic device and the second electronic device to complete the confirmation process of the first synchronization link and the second synchronization link.
  • the method further includes:
  • the first electronic device broadcasts data to the first synchronization link of the second electronic device, and the response signal broadcasted by the second electronic device is acquired by the second synchronization link of the first electronic device.
  • the method further includes:
  • the periodic broadcast interval of the first synchronization link and the second synchronization link is updated.
  • the updating the periodic broadcast interval of the first synchronization link and the second synchronization link includes:
  • the second synchronization link of the first electronic device obtains an update confirmation packet from the first synchronization link of the second electronic device through a second periodic broadcast channel;
  • the second synchronization link of the first electronic device obtains a corresponding response signal from the first synchronization link of the second electronic device through the second periodic broadcast channel.
  • the method further includes:
  • the physical layers of the first synchronization link and the second synchronization link are updated.
  • the updating the physical layers of the first synchronization link and the second synchronization link includes:
  • the first electronic device sends a physical layer update packet to the first synchronization link of the second electronic device through a first periodic broadcast channel, where the physical layer update packet includes a target physical layer, a target time offset and a multiple;
  • the second synchronization link of the first electronic device obtains an update confirmation packet from the first synchronization link of the second electronic device through a second periodic broadcast channel;
  • the second synchronization link of the first electronic device obtains a corresponding response signal from the first synchronization link of the second electronic device through the second periodic broadcast channel.
  • the method further includes:
  • the first synchronization link and the second synchronization link are disconnected.
  • the disconnecting the first synchronization link and the second synchronization link includes:
  • the first electronic device sends a disconnection request signal to the first synchronization link of the second electronic device through a first periodic broadcast channel, so as to disconnect the first synchronization link of the second electronic device;
  • the second synchronization link of the first electronic device is disconnected after obtaining a disconnection confirmation packet from the first synchronization link of the second electronic device through the second periodic broadcast channel.
  • FIG. 1 is a schematic flowchart of a first type of wireless communication method provided by an embodiment of the present application.
  • the wireless communication method is applied to a wireless communication system, the wireless communication system includes a first electronic device and a second electronic device, and the process of the wireless communication method may include:
  • the first electronic device sends a first periodic broadcast signal to the second electronic device, so as to complete the establishment of the first synchronization link between the second electronic device and the first electronic device.
  • Bluetooth headsets such as true wireless headsets mainly have two technical directions, which are based on Bluetooth (BT) and Bluetooth low energy (BLE) respectively.
  • BT Bluetooth
  • BLE Bluetooth low energy
  • the representative solutions of Bluetooth Classic are all the first manufacturers.
  • BLE Audio Bluetooth low energy Audio
  • CIS Corporate Identity System
  • the technical solutions for inter-aural information synchronization mainly include Bluetooth Asynchronous Connectionless Link (BT ACL) and Bluetooth low energy Asynchronous Connectionless Link (BLE ACL). Binaural ACLs are established to synchronize clocks, frequency bands, data packets, etc.
  • BT ACL Bluetooth Asynchronous Connectionless Link
  • BLE ACL Bluetooth low energy Asynchronous Connectionless Link
  • the problem of information synchronization between the two ears will be involved.
  • the information can be desynchronized based on an asynchronous connectionless link.
  • the slave device (Slave) in the BT ACL always tries to receive packets in as many timeslots as possible, so the scheduling is not very flexible, and it is easy to be interrupted and cause retransmission in multi-service scenarios. Electricity. Each packet of data in the BT ACL requires an ACK to establish a connection. The efficiency of fast sending and receiving packets is not high.
  • a synchronization link between the first electronic device and the second electronic device may be established.
  • the first electronic device sends a first periodic broadcast signal to the second electronic device
  • the second electronic device establishes a synchronous link connection with the first electronic device based on the first periodic broadcast signal, that is, the second electronic device receives
  • the establishment of the first synchronization link between the second electronic device and the first electronic device is completed, that is, the second electronic device establishes a connection with the first synchronization link of the first electronic device.
  • the first electronic device receives the second periodic broadcast signal sent by the second electronic device, so as to complete the establishment of the second synchronization link between the first electronic device and the second electronic device.
  • the second electronic device sends the second periodic broadcast signal to the first electronic device, the first electronic device receives the second periodic broadcast signal sent by the second electronic device, and the first electronic device is based on the second periodic broadcast signal, Establish a synchronous link connection with the second electronic device, that is, after the first electronic device receives the second periodic broadcast signal, the establishment of the second synchronous link between the first electronic device and the second electronic device is completed, that is, the first electronic device The electronic device establishes a connection to the second synchronization link with the second electronic device.
  • the embodiment of the present application uses a true wireless earphone as an example to illustrate a communication method between two electronic devices.
  • the communication method is not limited to true wireless earphones, and can be used between any two Bluetooth devices.
  • FIG. 2 is a schematic diagram of a scenario of binaural communication of a true wireless headset provided by an embodiment of the present application.
  • the periodic broadcast channel includes the first periodic broadcast channel and the second periodic broadcast channel
  • the synchronization link includes the first synchronization link and the second synchronization link. link.
  • the left earphone can send a first periodic broadcast signal
  • the first periodic broadcast signal can perform periodic advertisement (Periodic Advertising) through the first periodic broadcast channel
  • the right earphone is synchronized to the first periodic broadcast of the left earphone through the first synchronization link.
  • broadcast signal The right earphone can send a second periodic broadcast signal, the second periodic broadcast signal can be broadcast periodically through the second periodic broadcast channel, and the left earphone is synchronized to the second periodic broadcast signal of the right earphone through the second synchronization link.
  • the first electronic device may send the first periodic broadcast signal to the second electronic device, so as to complete the establishment of the first synchronization link between the second electronic device and the first electronic device;
  • the first electronic device receives the second periodic broadcast signal sent by the second electronic device, so as to complete the establishment of the second synchronization link between the first electronic device and the second electronic device.
  • information interaction between two electronic devices can be completed by means of broadcast signals and synchronous links, so that the other electronic device can receive data only when one electronic device sends data, and when no data is sent. Time, another electronic device will not try to receive packets, and is not limited by the time interval between two consecutive packets on the same channel of the asynchronous connectionless link, it can achieve information synchronization between both parties.
  • the communication logic between the two electronic devices remains unchanged, but the mode of signal transmission is changed, that is, data transmission is performed by means of broadcast signals. Because the broadcast signal is used for data transmission and reception, the broadcast signal has no ACK problem. For example, the sender cannot know whether the receiver has received the data, the broadcast signal cycle interval is low, the frequency of data transmission is high, and its own power consumption lower. Therefore, the embodiments of the present application can reduce the power consumption of the electronic device.
  • FIG. 3 is a schematic flowchart of a second type of wireless communication method provided by an embodiment of the present application.
  • the wireless communication method is applied to a wireless communication system, the wireless communication system includes a first electronic device and a second electronic device, and the process of the wireless communication method may include:
  • the second electronic device can receive the first periodic broadcast signal synchronously through the receiving window.
  • the signal is broadcast periodically, so that the second electronic device can establish a first synchronization link connection with the first electronic device based on the first periodic broadcast signal.
  • the first periodic broadcast signal includes a BLE low-power broadcast signal.
  • step 201 the sending time of the first periodic broadcast signal sent by the first electronic device to the second electronic device is determined, and the receiving window of the second electronic device is opened based on the sending time, so that the first electronic device sends the first periodic broadcast signal to the second electronic device.
  • the second electronic device establishes a first synchronous link connection with the first electronic device based on the first periodic broadcast signal, which may include:
  • the first electronic device sends the main channel broadcast packet to the second electronic device through the main channel, so that the second electronic device can analyze the frequency point and the first time offset of the first data channel, and obtain the first time for sending the auxiliary broadcast packet ;
  • the first electronic device sends an auxiliary broadcast packet to the second electronic device through the first data channel at the first time, so that the second electronic device can parse out the frequency point and the second time offset of the second data channel, and obtain the sending periodic broadcast the second time of the package;
  • the first electronic device sends a periodic broadcast packet to the second electronic device through the second data channel at the second time, so as to complete the establishment of the synchronization link.
  • the first electronic device can send the main channel broadcast packet to the second electronic device through the main channel, and when the second electronic device receives the main channel broadcast packet, it can directly parse the first channel broadcast packet from the main channel broadcast packet.
  • the frequency point of the data channel and the first time offset, and then the first time for sending the auxiliary broadcast packet can be obtained according to the first time offset.
  • the first electronic device may be the left earphone
  • the second electronic device may be the right earphone.
  • Figure 2 When the true wireless earphone is opened, the left earphone (or the right earphone ) to establish a BT ACL link with the audio source sending device.
  • the left earphone and the right earphone enable Extended SCAN, Extended Advertising and Periodic Advertising, and then establish a synchronization link.
  • the left earphone can be the main earphone, and the right earphone can be the sub earphone.
  • FIG. 4 is a schematic diagram of a scenario of establishing a synchronization link for a true wireless headset provided by an embodiment of the present application.
  • Bluetooth Low Energy 5.1 works in the ISM frequency band: 4GHz to 2.48Ghz, and there are 40 (numbered 0 to 39) available channels, of which numbers 37, 38, and 39 are broadcast channels, and the remaining channels are data channels. The bandwidth is 2MHz.
  • the three broadcast channels numbered 37, 38 and 39 are the main channels, and the corresponding frequencies are 2402MHz, 2426MHz and 2480MHz.
  • the Bluetooth signal adopts frequency hopping technology to resist interference during transmission. When a Bluetooth data packet is transmitted on one channel, the next data packet will be transmitted on another channel.
  • the right earphone opens the receiving window (RX WINDOW) and receives the main channel broadcast packet ADV_EXT_IND sent by the left earphone on the main channel numbered 37, and directly analyzes the first data channel frequency point and the first time offset, and then calculates The sending time of the auxiliary broadcast packet AUX_ADV_IND is sent, that is, the first time T1 when the auxiliary broadcast packet AUX_ADV_IND is sent, so as to obtain the data channel and sending time for the subsequent sending of the auxiliary broadcast packet AUX_ADV_IND.
  • the right earphone opens the receiving window (RX WINDOW) and receives the main channel broadcast packet ADV_EXT_IND sent by the left earphone on the main channel numbered 38, and directly analyzes the first data channel frequency point and the first time offset, Further, the sending time for sending the auxiliary broadcast packet AUX_ADV_IND is calculated, that is, the first time T1 for sending the auxiliary broadcast packet AUX_ADV_IND.
  • the right earphone opens the receiving window (RX WINDOW) and receives the main channel broadcast packet ADV_EXT_IND sent by the left earphone on the main channel numbered 39, and parses out the first data channel frequency point and the first time offset, Further, the sending time for sending the auxiliary broadcast packet AUX_ADV_IND is calculated, that is, the first time T1 for sending the auxiliary broadcast packet AUX_ADV_IND.
  • the size of the first time offset parsed may be different, for example, when using the main channel numbered 37 to send the main channel broadcast packet ADV_EXT_IND, the parsed first time offset is greater than the first time offset parsed when using the main channel numbered 38 to send the main channel broadcast packet ADV_EXT_IND , when the main channel numbered 38 is used to send the main channel broadcast packet ADV_EXT_IND, the first time offset parsed is greater than the first time offset parsed when the main channel numbered 39 is used to send the main channel broadcast packet ADV_EXT_IND move, etc.
  • the first electronic device sends the auxiliary broadcast packet AUX_ADV_IND to the second electronic device through the first data channel, so that the second electronic device can resolve the frequency point and the second time offset of the second data channel, And obtain the second time T2 for sending the periodic broadcast packet AUX_SYNC_IND.
  • the frequency point and sending time of the data channel of the subsequent sending periodic broadcast packet AUX_SYNC_IND In order to obtain the frequency point and sending time of the data channel of the subsequent sending periodic broadcast packet AUX_SYNC_IND.
  • the right earphone opens the receiving window to receive the auxiliary broadcast packet AUX_ADV_IND sent by the first data channel, and calculates through the frequency hopping algorithm 2 to obtain the frequency point and second time offset of the second data channel, and then The sending time of the periodic broadcast packet AUX_SYNC_IND is calculated, that is, the second time T2 when the periodic broadcast packet AUX_SYNC_IND is sent.
  • the first electronic device sends a periodic broadcast packet AUX_SYNC_IND to the second electronic device through the second data channel, so as to complete the establishment of the first synchronization link.
  • the right earphone opens the receiving window to receive the periodic broadcast packet AUX_SYNC_IND sent by the left earphone through the second data channel.
  • the periodic broadcast packet AUX_SYNC_IND is the first packet in the synchronization link, so that the The establishment of the first synchronization link.
  • the periodic broadcast interval in FIG. 4 refers to the time difference between the transmission times of two adjacent periodic broadcast packets, for example, the time difference between the third time T3 and the second time T2.
  • the first electronic device receives the second periodic broadcast signal sent by the second electronic device, so as to complete the establishment of the second synchronization link between the first electronic device and the second electronic device.
  • the second electronic device sends the second periodic broadcast signal to the first electronic device, and the first electronic device receives the second periodic broadcast signal sent by the second electronic device to complete the communication between the first electronic device and the second electronic device.
  • the establishment of the second synchronization link Taking the first electronic device as the left earphone as an example, the process of establishing the second synchronization link of the left earphone is similar to the process of establishing the first synchronization link of the right earphone, which will not be repeated here.
  • the synchronization confirmation of the first electronic device and the second electronic device may be performed through a periodic broadcast channel and a synchronization link.
  • the first electronic device may send the synchronization request signal through the first periodic broadcast channel, and receive the synchronization response signal of the second electronic device through the second periodic broadcast channel, and then the first electronic device may send the synchronization through the first periodic broadcast channel A confirmation packet to indicate that the first electronic device is synchronized to the periodic broadcast data of the second electronic device, after that, the first electronic device obtains a synchronization confirmation packet from the second electronic device through the second periodic broadcast channel to indicate that the second electronic device is synchronized Periodically broadcast data to the first electronic device.
  • the first electronic device may directly send a synchronization confirmation packet through the first periodic broadcast channel to indicate that the first electronic device is synchronized to the periodic broadcast data of the second electronic device, and thereafter, the first electronic device directly transmits the second periodic broadcast channel A synchronization confirmation packet is acquired from the second electronic device to indicate that the second electronic device is synchronized with the periodic broadcast data of the first electronic device.
  • the first electronic device and the second electronic device in step 203 broadcast a synchronization confirmation packet to complete the confirmation process of the first synchronization link and the second synchronization link, which may include:
  • the first electronic device sends a synchronization request signal to the first synchronization link of the second electronic device through the first periodic broadcast channel;
  • the second synchronization link of the first electronic device obtains the synchronization response signal from the first synchronization link of the second electronic device through the second periodic broadcast channel;
  • the first electronic device sends a first synchronization confirmation packet to the first synchronization link of the second electronic device through the first periodic broadcast channel;
  • the second synchronization link of the first electronic device acquires the second synchronization confirmation packet from the first synchronization link of the second electronic device through the second periodic broadcast channel.
  • the first electronic device sends a synchronization request signal to the first synchronization link of the second electronic device through the first periodic broadcast channel.
  • the electronic device as a true wireless headset as an example, please refer to FIG. 5 , which is an embodiment of the present application Provides a schematic diagram of the interaction scenario for synchronization link confirmation.
  • the left earphone (which may also be the right earphone) periodically broadcasts and sends the synchronization request signal Sync_Req to the first synchronization link Sync1 of the right earphone through the first periodic broadcast channel Advhdl_1.
  • the second synchronization link of the first electronic device can obtain synchronization from the first synchronization link of the second electronic device through the second periodic broadcast channel response signal.
  • the first synchronization link Sync1 of the right earphone confirms that the reception of the synchronization request signal Sync_Req is completed, and then sends a synchronization response signal to the second synchronization link Sync2 of the left earphone through the second periodic broadcast channel Advhdl_2 Sync_Rsp.
  • the first electronic device may send the first synchronization acknowledgment packet to the first synchronization link of the second electronic device through the first periodic broadcast channel.
  • the second synchronization link Sync2 of the left earphone receives the synchronization response signal Sync_Rsp sent by the right earphone, it confirms that the reception of the synchronization response signal Sync_Rsp is completed, and then Advhdl_1 broadcasts the first synchronization link of the right earphone on the first periodic broadcast channel.
  • Sync1 sends the first synchronization confirmation packet Sync_Confirm.
  • the second synchronization link of the first electronic device may acquire the second synchronization confirmation packet from the first synchronization link of the second electronic device through the second periodic broadcast channel.
  • the first synchronization link Sync1 of the right earphone sends the second synchronization confirmation packet Sync_Confirm2 to the second synchronization link Sync2 of the left earphone on the second periodic broadcast channel Advhdl_2.
  • the process of sending the synchronization request signal and the synchronization response signal may not be required, and the confirmation process of the two synchronization links may be directly completed by means of synchronization confirmation packets.
  • the second electronic device has performed periodic broadcast synchronization with the first electronic device, which enables the second electronic device to receive the periodic broadcast packet AUX_SYNC_IND and the fixed message from the first electronic device. Frequency spread the signal, and parse it.
  • the second electronic device can also establish a connection with the third electronic device. If the third electronic device wishes to obtain the periodic broadcast packet from the first electronic device, the third electronic device needs to scan by itself and perform periodic broadcast synchronization with the first electronic device. The third electronic device takes additional time and power to complete the process, however such devices tend to have limited power.
  • the second electronic device can transmit the periodic broadcast synchronization information through the Bluetooth low energy link layer (Link Layer) to the third electronic device.
  • the Periodic Broadcast Sync Transfer feature simplifies this process and helps save power for a battery-constrained third electronic device.
  • the first electronic device broadcasts data to the first synchronization link of the second electronic device, and acquires the response signal broadcasted by the second electronic device from the second synchronization link of the first electronic device.
  • the data when data is sent and received between the first electronic device and the second electronic device, the data may be sent and received through a periodic broadcast channel and a synchronization link.
  • the first electronic device taking the first electronic device broadcasting data to the second electronic device as an example, the first electronic device sends data to the second electronic device through the first periodic broadcast channel, and then obtains the response signal of the second electronic device through the second periodic broadcast channel , after that, the first electronic device sends the next packet of data to the second electronic device through the first periodic broadcast channel, obtains the response signal of the second electronic device through the second periodic broadcast channel, and so on.
  • the first electronic device in step 204 broadcasts data to the first synchronization link of the second electronic device, and obtains the second electronic device from the second synchronization link of the first electronic device Broadcast response signals, which can include:
  • the first electronic device sends the first data to the first synchronization link of the second electronic device through the first periodic broadcast channel;
  • the second synchronization link of the first electronic device obtains the corresponding response signal from the first synchronization link of the second electronic device through the second periodic broadcast channel;
  • the first electronic device sends the second data to the first synchronization link of the second electronic device through the first periodic broadcast channel;
  • the second synchronization link of the first electronic device obtains a corresponding response signal from the first synchronization link of the second electronic device through the second periodic broadcast channel.
  • the first electronic device sends the first data to the first synchronization link of the second electronic device through the first periodic broadcast channel.
  • the electronic device being a true wireless earphone as an example, for example, please refer to FIG. 6 , which is a schematic diagram of an interaction scenario of data transmission and reception of a true wireless earphone provided by an embodiment of the present application.
  • the left earphone sends the first data Data1 to the first synchronization link Sync1 of the right earphone through the first periodic broadcast channel Advhdl_1.
  • the second synchronization link of the first electronic device may obtain a corresponding response signal from the first synchronization link of the second electronic device through the second periodic broadcast channel.
  • the first synchronization link Sync1 of the right earphone receives the first data Data1 sent by the second synchronization link Sync2 of the left earphone through the first periodic broadcast channel Advhdl_1, it confirms that the reception of the first data Data1 is completed, and then passes the The two-period broadcast channel Advhdl_2 replies the corresponding response signal Data1_ACK to the left earphone.
  • the first electronic device can send the corresponding response signal to the The first synchronization link of the second electronic device transmits the second data.
  • the left earphone can send the second data Data2 to the first synchronization link Sync1 of the right earphone through the first periodic broadcast channel Advhdl_1.
  • the second synchronization link of the first electronic device may transmit the second data from the second electronic device through the second periodic broadcast channel.
  • a corresponding response signal is obtained at the first synchronization link of the electronic device.
  • the first synchronization link Sync1 of the right earphone receives the second data Data2 sent by the second synchronization link Sync2 of the left earphone through the first periodic broadcast channel Advhdl_1, it can send the second data Data2 to the second periodic broadcast channel Advhdl_2 of the left earphone through the second periodic broadcast channel Advhdl_2.
  • the second synchronization link Sync2 sends the corresponding response signal Data2_ACK.
  • the data sending process of the right earphone is similar to the data sending process of the left earphone, which will not be repeated here.
  • a synchronization link between the first electronic device and the second electronic device can be established; the synchronization between the first electronic device and the second electronic device is performed through the periodic broadcast channel and the synchronization link Link confirmation; data transmission and reception through periodic broadcast channels and synchronous links. Therefore, in this embodiment of the present application, information interaction between two electronic devices can be completed through two periodic broadcast channels and two synchronization links, so that the other electronic device can receive data only when data is sent, and when data is not sent. , the other electronic device will not try to receive packets, that is, when the data is sent, it will receive the data at the same time, and when the data is not sent, it will not receive the data, so that it can send and receive at the same time.
  • the limitation of the time interval between two consecutive messages on the same channel of the connection link can not only achieve the information synchronization of both parties, but also because the broadcast signal is used for data transmission and reception, the broadcast signal has no ACK problem , the cycle interval is low, the frequency of sending data is high, and its own power consumption is low. Therefore, the embodiments of the present application can reduce the power consumption of the electronic device.
  • FIG. 7 is a third schematic flowchart of the wireless communication method provided by the embodiment of the present application.
  • the process of the wireless communication method may include:
  • the first electronic device sends a first periodic broadcast signal to the second electronic device, so as to complete the establishment of the first synchronization link between the second electronic device and the first electronic device.
  • step 301 For the specific implementation of step 301, reference may be made to the embodiment of step 101, which will not be repeated here.
  • the first electronic device receives the second periodic broadcast signal sent by the second electronic device, so as to complete the establishment of the second synchronization link between the first electronic device and the second electronic device.
  • step 302 For the specific implementation of step 302, reference may be made to the embodiment of step 102, which will not be repeated here.
  • step 303 For the specific implementation of step 303, reference may be made to the embodiment of step 202, which will not be repeated here.
  • the first electronic device broadcasts the data to the first synchronization link of the second electronic device, and acquires the response signal broadcasted by the second electronic device from the second synchronization link of the first electronic device.
  • step 304 For the specific implementation of step 304, reference may be made to the embodiment of step 204, and details are not repeated here.
  • the periodic broadcast interval update process that is, the periodic broadcast interval of the first synchronization link and the second synchronization link needs to be updated.
  • the left earphone and the right earphone need to speed up or reduce the data transmission efficiency, it can be implemented through the update process of the periodic broadcast interval, for example, the data transmission efficiency can be accelerated or reduced by reducing the periodic broadcast interval.
  • the updating of the periodic broadcast interval of the first synchronization link and the second synchronization link in step 305 may include:
  • the first electronic device sends an update packet to the first synchronization link of the second electronic device through the first periodic broadcast channel, where the update packet includes a target periodic broadcast interval, a target time offset and a multiple;
  • the second synchronization link of the first electronic device obtains the update confirmation packet from the first synchronization link of the second electronic device through the second periodic broadcast channel;
  • the second synchronization link of the first electronic device obtains a corresponding response signal from the first synchronization link of the second electronic device through the second periodic broadcast channel.
  • FIG. 8 is a schematic diagram of an interaction scenario of periodic broadcast interval update of a true wireless headset provided by an embodiment of the present application.
  • the left earphone sends an interval update packet Intvl_update to the first synchronization link Sync1 of the right earphone through the first periodic broadcast channel Advhdl_1.
  • the update packet Intvl_update contains the target periodic broadcast interval New Interval, the target time offset Offset and the multiple instant.
  • a synchronization link Sync1 is used to synchronize to the new periodic broadcast interval.
  • the multiple instant is a positive integer 1, 2, 3, . . .
  • the first synchronization link Sync1 of the right earphone After the first synchronization link Sync1 of the right earphone receives the update packet Intvl_update sent by the left earphone through the first periodic broadcast channel Advhdl_1, after confirming that the reception is completed, the first synchronization link Sync1 of the right earphone replies to the update through the second periodic broadcast channel Advhdl_2 Confirm the packet Update_confirm to the left earphone.
  • the second synchronization link Sync2 of the left earphone receives the update confirmation packet Update_confirm replied by the first synchronization link Sync1 of the right earphone through the second periodic broadcast channel Advhdl_2, it confirms that the reception is completed. Then, at the target time point, data is sent to the first synchronization link Sync1 of the right earphone according to the target periodic broadcast interval New Interval, that is, the update process is completed by scheduling according to the new periodic broadcast interval at the time point negotiated by both parties.
  • the target time point is obtained according to the target time offset Offset and the multiple instant. Specifically, the time point at which the update confirmation packet Update_confirm is generated is added to the original periodic broadcast interval multiplied by the multiple instant, and then added The target time offset is Offset, and the obtained value is used as the target time point. Starting from the target time point, data transmission and reception is performed according to the target periodic broadcast interval New Interval (ie, the new periodic broadcast interval).
  • New Interval ie, the new periodic broadcast interval
  • the first synchronization link Sync1 of the right earphone After the first synchronization link Sync1 of the right earphone obtains the data sent by the left earphone through the first periodic broadcast channel Advhdl_1 according to the target periodic broadcast interval New Interval, the first synchronization link Sync1 of the right earphone transmits the data through the second periodic broadcast channel Advhdl_2 The response signal Data2_ACK of the second data is sent to the second synchronization link Sync2 of the left earphone.
  • time offset can be controlled to reduce, so that more data can be sent in the same time, so the data throughput can be maximized by using dual synchronization links, and its data throughput can exceed BT ACL and BLE ACL.
  • the physical layers of the first synchronization link and the second synchronization link may be updated.
  • the left earphone and the right earphone need to increase the speed or increase the sensitivity, it can be implemented through the update process of the physical layer, for example, the transmission speed of the physical layer can be increased.
  • the updating of the physical layers of the first synchronization link and the second synchronization link in step 306 may include:
  • the first electronic device sends a physical layer update packet to the first synchronization link of the second electronic device through the first periodic broadcast channel, where the physical layer update packet includes a target physical layer, a target time offset and a multiple;
  • the second synchronization link of the first electronic device obtains the update confirmation packet from the first synchronization link of the second electronic device through the second periodic broadcast channel;
  • the second synchronization link of the first electronic device obtains a corresponding response signal from the first synchronization link of the second electronic device through the second periodic broadcast channel.
  • FIG. 9 is a schematic diagram of an interaction scenario for updating the physical layer of a true wireless earphone provided by an embodiment of the present application.
  • the left earphone sends a physical layer update packet PHY_update to the first synchronization link Sync1 of the right earphone through the first periodic broadcast channel Advhdl_1.
  • the physical layer update packet includes the target physical layer, the target time offset Offset and the multiple instant.
  • the first synchronization link Sync1 is used for synchronization to the data packets of the new physical layer.
  • the multiple instant is a positive integer 1, 2, 3, . . .
  • the first synchronization link Sync1 of the right earphone After the first synchronization link Sync1 of the right earphone receives the physical layer update packet PHY_update sent by the left earphone through the first periodic broadcast channel Advhdl_1, after confirming that the reception is completed, the first synchronization link Sync1 of the right earphone passes through the second periodic broadcast channel Advhdl_2 Reply the update confirmation package Update confirm to the left earphone.
  • the second synchronization link Sync2 of the left earphone receives the update confirmation packet Update_confirm replied by the first synchronization link Sync1 of the right earphone through the second periodic broadcast channel Advhdl_2, it confirms that the reception is completed. Then, at the target time point, data is sent to the first synchronization link Sync1 of the right earphone according to the target physical layer New PHY, that is, the update process is completed by scheduling according to the new physical layer at the time point negotiated by both parties.
  • the first synchronization link Sync1 of the right earphone After the first synchronization link Sync1 of the right earphone acquires the data sent by the left earphone through the first periodic broadcast channel Advhdl_1 according to the target physical layer New PHY, the first synchronization link Sync1 of the right earphone transmits the data through the second periodic broadcast channel Advhdl_2
  • the response signal Data2_ACK is sent to the second synchronization link Sync2 of the left earphone.
  • the purpose of physical layer PHY update is mainly to improve sensitivity and transmission speed.
  • the transmission speed of the physical layer can be improved, such as from 1Mbps->2Mbps->4Mbps. It is also possible to reduce the transmission speed of the physical layer, for example, from 4Mbps->2Mbps->1Mbps.
  • the physical layer can be updated to achieve a better user experience. For example, when the signal is good, the transmission speed of the physical layer can be automatically increased and the packet length can be expanded to achieve fast data transmission and reception. When the signal is poor, the transmission speed of the physical layer can be reduced to ensure that the synchronization link is continuously chained.
  • the first synchronization link and the second synchronization link may be disconnected.
  • the two synchronization links for the left and right earphones can be disconnected when synchronization is not required.
  • disconnecting the first synchronization link and the second synchronization link in step 307 may include:
  • the first electronic device sends a disconnection request signal to the first synchronization link of the second electronic device through the first periodic broadcast channel, so as to disconnect the first synchronization link of the second electronic device;
  • the second synchronization link of the first electronic device is disconnected after obtaining a disconnection confirmation packet from the first synchronization link of the second electronic device through the second periodic broadcast channel.
  • FIG. 10 is a schematic diagram of an interaction scenario in which the synchronization link of the true wireless headset provided by the embodiment of the present application is disconnected.
  • the left earphone sends the disconnection request signal Dis_Req to the first synchronization link Sync1 of the right earphone through the first periodic broadcast channel Advhdl_1.
  • the first synchronization link Sync1 of the right earphone disconnects the first synchronization link Sync1.
  • the right earphone replies the disconnect confirmation packet Dis_Confirm to the second synchronization link Sync2 of the left earphone through the second periodic broadcast channel Advhdl_2.
  • the second synchronization link Sync2 of the left earphone disconnects the second synchronization link Sync2, thus completing the disconnection process of the synchronization link.
  • the embodiments of the present application achieve the effects of BT ACL and BLE ACL by using two second-period broadcast channels and two synchronization links, and can control scheduling and power consumption more flexibly.
  • lower power consumption can be achieved by increasing the periodic broadcast interval of the electronic device.
  • the skip scheduling method in the BLE5.2 protocol can also be used to achieve lower power consumption. For example, using Skip's leaping scheduling, the original data packet is received every 1 second, and the data packet is adjusted to be received every 10 seconds, which can reduce power consumption.
  • the periodic broadcast packet includes a broadcast isochronous stream (Broadcast Isochronous Stream, BIS).
  • BIS broadcast Isochronous Stream
  • both the left earphone and the right earphone complete the similar periodic broadcast function through synchronous broadcast streaming.
  • the left and right earphones each achieve a similar purpose by monitoring each other's simultaneous broadcast streams.
  • the synchronous broadcast stream sends data at fixed time intervals and does not receive data.
  • the specific data sending process is similar to the data sending and receiving process through the first synchronization link and the second synchronization link in the embodiment of the present application.
  • FIG. 11 is a schematic diagram of an air interface packet sequence of a true wireless headset provided by an embodiment of the present application.
  • the data packet sent from the antenna is an air interface packet.
  • the left earphone or the right earphone sends data to the other party.
  • the content of the specific packet is freely defined by the application, which can be music data and control status data.
  • the efficiency of sending and receiving is higher than that of BT ACL and BLE ACL.
  • continuous transmission of super-long data can be achieved by attaching the auxiliary link packet AUX_CHAIN_IND at the end of the data packet, which can be freely customized according to the buffer of the headset.
  • the left earphone and the right earphone achieve the effect of sending and receiving data of the ACL link by establishing two synchronization links, and use the periodic broadcast channel and the synchronization link to achieve the same function as the ACL link. And using this technical function can freely control the data length and broadcast period, etc., has advantages in power consumption and data throughput.
  • the wireless communication device 400 may include: a first establishment module 401 and a second establishment module 402 .
  • the first establishment module 401 is used for the first electronic device to send a first periodic broadcast signal to the second electronic device to complete the first synchronization link between the second electronic device and the first electronic device the establishment of;
  • the second establishment module 402 is used for the first electronic device to receive the second periodic broadcast signal sent by the second electronic device, so as to complete the second synchronization chain between the first electronic device and the second electronic device Road establishment.
  • Embodiments of the present application provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed on a computer, causes the computer to execute the process in the wireless communication method provided by this embodiment.
  • An embodiment of the present application further provides an electronic device, including a memory and a processor, where the processor is configured to execute the process in the wireless communication method provided by the present embodiment by invoking a computer program stored in the memory.
  • the above-mentioned electronic device may be a mobile terminal such as a tablet computer or a smart phone.
  • FIG. 13 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device 500 may include a wireless communication module 501 , a memory 502 , a processor 503 and other components.
  • a wireless communication module 501 may include a wireless communication module 501 , a memory 502 , a processor 503 and other components.
  • FIG. 13 does not constitute a limitation to the electronic device, and may include more or less components than the one shown, or combine some components, or arrange different components.
  • the wireless communication module 501 can be used for wireless communication with external devices, such as Bluetooth communication.
  • Memory 502 may be used to store applications and data.
  • the application program stored in the memory 502 contains executable code.
  • Applications can be composed of various functional modules.
  • the processor 503 executes various functional applications and data processing by running the application programs stored in the memory 502 .
  • the processor 503 is the control center of the electronic device, uses various interfaces and lines to connect various parts of the entire electronic device, and executes the electronic device by running or executing the application program stored in the memory 502 and calling the data stored in the memory 502.
  • the various functions and processing data of the device are used to monitor the electronic equipment as a whole.
  • the processor 503 in the electronic device loads the executable code corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 503 executes and stores it in the memory 502 in the application, which executes:
  • the first electronic device receives the second periodic broadcast signal sent by the second electronic device, so as to complete the establishment of a second synchronization link between the first electronic device and the second electronic device.
  • the electronic device 500 may include components such as a wireless communication module 501 , a memory 502 , a processor 503 , a battery 504 , a microphone 505 , and a speaker 506 .
  • the wireless communication module 501 can be used for wireless communication with external devices, such as Bluetooth communication.
  • Memory 502 may be used to store applications and data.
  • the application program stored in the memory 502 contains executable code.
  • Applications can be composed of various functional modules.
  • the processor 503 executes various functional applications and data processing by running the application programs stored in the memory 502 .
  • the processor 503 is the control center of the electronic device, uses various interfaces and lines to connect various parts of the entire electronic device, and executes the electronic device by running or executing the application program stored in the memory 502 and calling the data stored in the memory 502.
  • the various functions and processing data of the device are used to monitor the electronic equipment as a whole.
  • the battery 504 may be used to provide electrical support for various components of the electronic device, thereby ensuring the normal operation of the various components.
  • the microphone 505 can be used to receive sound signals in the surrounding environment, for example, can be used to receive the voice uttered by the user.
  • Speaker 506 may be used to play sound signals.
  • the processor 503 in the electronic device loads the executable code corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 503 executes and stores it in the memory 502 in the application, which executes:
  • the first electronic device receives the second periodic broadcast signal sent by the second electronic device, so as to complete the establishment of a second synchronization link between the first electronic device and the second electronic device.
  • An embodiment of the present application further provides a wireless communication system, including a first electronic device and a second electronic device, the first electronic device is used to acquire an audio signal of an audio source sending device, and the second electronic device is used to receive the audio signal
  • the first periodic broadcast signal sent by the first electronic device completes the establishment of the first synchronization link
  • the first electronic device completes the second synchronization link after receiving the second periodic broadcast signal sent by the second electronic device
  • the first electronic device realizes the communication with the second electronic device through the first synchronization link and the second synchronization link. Audio signal transmission.
  • the first electronic device determines a transmission time at which the first electronic device transmits the first periodic broadcast signal to the second electronic device, and turns on the second electronic device based on the transmission time a receiving window of the electronic device, so that the second electronic device establishes a first synchronization link connection with the first electronic device based on the first periodic broadcast signal.
  • a synchronization confirmation packet is broadcast between the first electronic device and the second electronic device to complete the confirmation process of the first synchronization link and the second synchronization link.
  • the first electronic device broadcasts data to a first synchronization link of the second electronic device, and the second electronic device broadcast is acquired by a second synchronization link of the first electronic device response signal.
  • the first electronic device updates the periodic broadcast interval of the first synchronization link and the second synchronization link.
  • the first electronic device sends an update packet to the first synchronization link of the second electronic device through a first periodic broadcast channel, the update packet including a target periodic broadcast interval, a target time offset, and multiple;
  • the second synchronization link of the first electronic device obtains an update confirmation packet from the first synchronization link of the second electronic device through a second periodic broadcast channel;
  • the second synchronization link of the first electronic device obtains a corresponding response signal from the first synchronization link of the second electronic device through the second periodic broadcast channel.
  • the first electronic device updates the physical layers of the first synchronization link and the second synchronization link.
  • the first electronic device sends a physical layer update packet to the first synchronization link of the second electronic device through a first periodic broadcast channel, where the physical layer update packet includes a target physical layer, a target time offsets and multiples;
  • the second synchronization link of the first electronic device obtains an update confirmation packet from the first synchronization link of the second electronic device through a second periodic broadcast channel;
  • the second synchronization link of the first electronic device obtains a corresponding response signal from the first synchronization link of the second electronic device through the second periodic broadcast channel.
  • the first electronic device disconnects the first synchronization link and the second synchronization link.
  • the first electronic device sends a disconnection request signal to the first synchronization link of the second electronic device through a first periodic broadcast channel, so that the first synchronization link of the second electronic device road disconnected;
  • the second synchronization link of the first electronic device is disconnected after obtaining a disconnection confirmation packet from the first synchronization link of the second electronic device through the second periodic broadcast channel.
  • FIG. 15 is a schematic structural diagram of the wireless communication system provided by the embodiment of the present application.
  • the wireless communication system 600 includes a first electronic device 601 and a second electronic device 602, wherein the first electronic device 601 is used to acquire the audio signal of the audio source sending device, send the first periodic broadcast signal to the second electronic device 602,
  • the second electronic device 602 is configured to receive the first periodic broadcast signal sent by the first electronic device 601 to complete the establishment of the first synchronization link, that is, after the second electronic device 602 receives the first periodic broadcast signal, it completes the The establishment of a first synchronization link between an electronic device 601 .
  • the first electronic device 601 After the first electronic device 601 receives the second periodic broadcast signal sent by the second electronic device 602, it completes the establishment of the second synchronization link with the second electronic device 602.
  • the first electronic device 601 and the second electronic device 602 After the synchronization connection is established, the first electronic device 601 realizes audio signal transmission with the second electronic device 602 through the first synchronization link and the second synchronization link, and the connection based on the first synchronization link and the second synchronization link can be realized Synchronization between the first electronic device 601 and the second electronic device 602 .
  • the wireless communication device provided in the embodiment of the present application and the wireless communication method in the above embodiment belong to the same concept, and any method provided in the wireless communication method embodiment can be executed on the wireless communication device.
  • any method provided in the wireless communication method embodiment can be executed on the wireless communication device.
  • the implementation process please refer to the embodiment of the wireless communication method, which will not be repeated here.
  • the computer program can be stored in a computer-readable storage medium, such as a memory, and executed by at least one processor, and the execution process can include processes such as the embodiments of the wireless communication method .
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), and the like.
  • each functional module may be integrated into one processing chip, or each module may exist physically alone, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium, such as a read-only memory, a magnetic disk or an optical disk, etc. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

本申请公开了一种无线通讯方法及系统。该无线通讯系统包括第一电子设备和第二电子设备,该方法包括:第一电子设备向第二电子设备发送第一周期性广播信号,以完成第一同步链路的建立;第一电子设备接收第二电子设备发送的第二周期性广播信号,以完成第二同步链路的建立。本申请可以降低电子设备的功耗。

Description

无线通讯方法及系统
本申请要求于2020年12月22日提交中国专利局、申请号为202011528924.0、申请名称为“无线通讯方法及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请属于电子设备技术领域,尤其涉及一种无线通讯方法及系统。
背景技术
随着技术的发展,越来越多的电子设备之间实现互联互通。一般应用蓝牙协议实现多个电子设备之间的连接。然而,相关技术中,基于蓝牙协议的连接方式会存在各种各样的问题,导致多个电子设备之间在蓝牙连接时也存在各种各样的问题。
发明内容
本申请实施例提供一种无线通讯方法、装置、存储介质及电子设备,可以降低电子设备的功耗。
第一方面,本申请实施例提供一种无线通讯方法,应用于无线通讯系统,所述无线通讯系统包括第一电子设备和第二电子设备,所述方法包括:
所述第一电子设备向所述第二电子设备发送第一周期性广播信号,以完成所述第二电子设备与所述第一电子设备的第一同步链路(Synchronization link)的建立;
所述第一电子设备接收所述第二电子设备发送的第二周期性广播信号,以完成所述第一电子设备与所述第二电子设备的第二同步链路的建立。
第二方面,本申请实施例提供一种无线通讯系统,包括第一电子设备和第二电子设备,所述第一电子设备用于获取音源发送设备的音频信号,所述第二电子设备用于接收所述第一电子设备发送的第一周期性广播信号以完成第一同步链路的建立,所述第一电子设备接收所述第二电子设备发送的第二周期性广播信号后完成第二同步链路的建立,所述第一电子设备与所述第二电子设备建立同步链路连接后,所述第一电子设备通过所述第一同步链路和第二同步链路实现与所述第二电子设备的音频传输。
附图说明
下面结合附图,通过对本申请的具体实施方式详细描述,将使本申请的技术方案及其有益效果显而易见。
图1是本申请实施例提供的无线通讯方法的第一种流程示意图。
图2是本申请实施例提供的真无线(True Wireless Stereo,TWS)耳机双耳通讯的场景示意图。
图3是本申请实施例提供的无线通讯方法的第二种流程示意图。
图4是本申请实施例提供的真无线耳机同步链路建立的场景示意图。
图5是本申请实施例提供的同步链路确认的交互场景示意图。
图6是本申请实施例提供的真无线耳机数据收发的交互场景示意图。
图7是本申请实施例提供的无线通讯方法的第三种流程示意图。
图8是本申请实施例提供的真无线耳机周期广播间隔(Periodic Interval)更新的交互场景示意图。
图9是本申请实施例提供的真无线耳机物理层更新的交互场景示意图。
图10是本申请实施例提供的真无线耳机同步链路断开的交互场景示意图。
图11是本申请实施例提供的真无线耳机空口包时序的示意图。
图12是本申请实施例提供的无线通讯装置的结构示意图。
图13是本申请实施例提供的电子设备的结构示意图。
图14是本申请实施例提供的电子设备的另一结构示意图。
图15是本申请实施例提供的无线通讯系统的结构示意图。
具体实施方式
请参照图示,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算 环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。
可以理解的是,本申请实施例的执行主体可以是诸如蓝牙耳机、蓝牙音箱、智能手机或平板电脑等的电子设备。
本申请实施例提供一种无线通讯方法,应用于无线通讯系统,所述无线通讯系统包括第一电子设备和第二电子设备,所述方法包括:
所述第一电子设备向所述第二电子设备发送第一周期性广播信号,以完成所述第二电子设备与所述第一电子设备的第一同步链路的建立;
所述第一电子设备接收所述第二电子设备发送的第二周期性广播信号,以完成所述第一电子设备与所述第二电子设备的第二同步链路的建立。
在一些实施例中,所述第一电子设备向所述第二电子设备发送第一周期性广播信号,以完成所述第二电子设备与所述第一电子设备的第一同步链路的建立,包括:
确定所述第一电子设备向所述第二电子设备发送所述第一周期性广播信号的发送时间,并基于所述发送时间打开所述第二电子设备的接收窗口,以使所述第二电子设备基于所述第一周期性广播信号建立与所述第一电子设备的第一同步链路连接。
在一些实施例中,所述方法还包括:
所述第一电子设备与第二电子设备之间通过广播同步确认包,以完成所述第一同步链路和第二同步链路的确认过程。
在一些实施例中,所述方法还包括:
所述第一电子设备向所述第二电子设备的第一同步链路广播数据,并由所述第一电子设备的第二同步链路获取所述第二电子设备广播的响应信号。
在一些实施例中,所述方法还包括:
对所述第一同步链路和第二同步链路的周期广播间隔进行更新。
在一些实施例中,所述对所述第一同步链路和第二同步链路的周期广播间隔进行更新,包括:
所述第一电子设备通过第一周期广播信道向所述第二电子设备的第一同步链路发送更新包,所述更新包包括目标周期广播间隔、目标时间偏移和倍数;
所述第一电子设备的第二同步链路通过第二周期广播信道从所述第二电子设备的第一同步链路处获取更新确认包;
在目标时间点上按照所述目标周期广播间隔向所述第二电子设备的第一同步链路发送数据,所述目标时间点是根据所述目标时间偏移和倍数得到的;
所述第一电子设备的第二同步链路通过所述第二周期广播信道从所述第二电子设备的第一同步链路处获取对应的响应信号。
在一些实施例中,所述方法还包括:
对所述第一同步链路和第二同步链路的物理层进行更新。
在一些实施例中,所述对所述第一同步链路和第二同步链路的物理层进行更新,包括:
所述第一电子设备通过第一周期广播信道向所述第二电子设备的第一同步链路发送物理层更新包,所述物理层更新包包括目标物理层、目标时间偏移和倍数;
所述第一电子设备的第二同步链路通过第二周期广播信道从所述第二电子设备的第一同步链路处获取更新确认包;
在目标时间点上按照所述目标物理层向所述第二电子设备的第一同步链路发送数据,所述目标时间点是根据所述目标时间偏移和倍数得到的;
所述第一电子设备的第二同步链路通过所述第二周期广播信道从所述第二电子设备的第一同步链路处获取对应的响应信号。
在一些实施例中,所述方法还包括:
将所述第一同步链路和第二同步链路断开。
在一些实施例中,所述将所述第一同步链路和第二同步链路断开,包括:
所述第一电子设备通过第一周期广播信道向所述第二电子设备的第一同步链路发送断开请求信号,以使所述第二电子设备的第一同步链路断开;
所述第一电子设备的第二同步链路通过第二周期广播信道从所述第二电子设备的第一同步链路处获取断开确认包后进行断开。
请参阅图1,图1是本申请实施例提供的无线通讯方法的第一种流程示意图。该无线通讯方法应用于无线通讯系统,该无线通讯系统包括第一电子设备和第二电子设备,该无线通讯方法的流程可以包括:
101、第一电子设备向第二电子设备发送第一周期性广播信号,以完成第二电子设备与第一电子设备的第一同步链路的建立。
随着技术的发展,诸如蓝牙耳机等电子设备越来越多的走进人们的生活。用户经常使用蓝牙耳机接听电话,听音乐等。诸如真无线耳机等蓝牙耳机主要有两个技术方向,分别基于蓝牙(Bluetooth,BT)和低功耗蓝牙(Bluetooth low energy,BLE),其中,经典蓝牙(Bluetooth Classic)的代表方案所有第一厂商的监听方案,第二厂商的监听转发方案,低耗电蓝牙音频(Bluetooth low energy Audio,BLE Audio)的代表方案第三厂商的企业识别系统(Corporate Identity System,CIS)方案等。这两大类技术方向都会涉及双耳间信息同步问题。双耳间信息同步技术方案,主要有蓝牙异步无连接链路(Bluetooth Asynchronous Connectionless Link,BT ACL)和低功耗蓝牙异步无连接链路(Bluetooth low energy Asynchronous Connectionless Link,BLE ACL)。双耳建立ACL用来同步时钟,频段,数据包等。
在诸如蓝牙耳机的使用过程中,会涉及到双耳间信息同步的问题。比如,可以基于异步无连接链路去同步信息。然而,BT ACL当中的从设备(Slave)总是尽可能多的时隙上去尝试收包,因此调度不是很灵活,多业务场景下容易被打断导致重传等问题,而且对于从设备更费电。BT ACL的每包数据都需要ACK后,才表示建立连接,快速收发包场景效率并不高。
在本申请实施例中,可以建立第一电子设备与第二电子设备的同步链路。比如,第一电子设备向第二电子设备发送第一周期性广播信号,第二电子设备基于该第一周期性广播信号建立与第一电子设备的同步链路连接,即第二电子设备收到该第一周期性广播信号后,则完成第二电子设备与第一电子设备的第一同步链路的建立,即第二电子设备会建立与第一电子设备的第一同步链路的连接。
102、第一电子设备接收第二电子设备发送的第二周期性广播信号,以完成第一电子设备与第二电子设备的第二同步链路的建立。
比如,第二电子设备向第一电子设备发送第二周期性广播信号,第一电子设备接收第二电子设备发送的第二周期性广播信号,第一电子设备基于该第二周期性广播信号,建立与第二电子设备的同步链路连接,即第一电子设备收到第二周期性广播信号后,则完成第一电子设备与第二电子设备的第二同步链路的建立,即第一电子设备建立与第二电子设备的第二同步链路的连接。
本申请实施例以真无线耳机为例说明两个电子设备间的通讯方法,该通讯方法并不局限于真无线耳机,可以用在任何两个蓝牙设备之间。
请参阅图2,图2是本申请实施例提供的真无线耳机双耳通讯的场景示意图。图2中以周期广播信道和同步链路均为两条为例进行说明,即周期广播信道包括第一周期广播信道和第二周期广播信道,同步链路包括第一同步链路和第二同步链路。左耳机可以发送第一周期性广播信号,该第一周期性广播信号可以通过第一周期广播信道进行周期广播(Periodic Advertising),右耳机通过第一同步链路同步到左耳机的第一周期性广播信号。右耳机可以发送第二周期性广播信号,该第二周期性广播信号可以通过第二周期广播信道进行周期广播,左耳机通过第二同步链路同步到右耳机的第二周期性广播信号。
可以理解的是,在本申请实施例中,第一电子设备可以向第二电子设备发送第一周期性广播信号,以完成第二电子设备与第一电子设备的第一同步链路的建立;第一电子设备接收第二电子设备发送的第二周期性广播信号,以完成第一电子设备与第二电子设备的第二同步链路的建立。。因此,本申请实施例通过广播信号和同步链路的方式可以完成两个电子设备之间的信息交互,使 得在其中一个电子设备发送数据的时间才让另一个电子设备接收,在未发送数据的时间,另一个电子设备不会尝试收包,不受异步无连接链路的相同信道上两个连续报文之间的时间间隔的限制,其可以达到通讯双方的信息同步。
另外,两个电子设备之间的通讯逻辑不变,只是改变了信号传输的方式,即通过广播信号的方式进行数据传输。由于采用广播信号的方式进行数据的发送和接收,广播信号无ACK问题,比如发送方无法知道接收方是否收到数据,广播信号周期间隔较低,发送数据的频率较高,且自身的功耗较低。因此本申请实施例可以降低电子设备的功耗。
请参阅图3,图3为本申请实施例提供的无线通讯方法的第二种流程示意图。该无线通讯方法应用于无线通讯系统,该无线通讯系统包括第一电子设备和第二电子设备,该无线通讯方法的流程可以包括:
201、确定第一电子设备向第二电子设备发送第一周期性广播信号的发送时间,并基于发送时间打开第二电子设备的接收窗口,以使第二电子设备基于第一周期性广播信号建立与第一电子设备的第一同步链路连接。
比如,确定出第一电子设备向第二电子设备发送第一周期性广播信号的发送时间,基于该发送时间打开第二电子设备的接收窗口,第二电子设备就可以通过接收窗口同步接收第一周期性广播信号,这样就可以使第二电子设备基于第一周期性广播信号建立与第一电子设备的第一同步链路连接。该第一周期性广播信号包括BLE低功耗广播信号。
比如,在一种实施方式中,步骤201中的确定第一电子设备向第二电子设备发送第一周期性广播信号的发送时间,并基于发送时间打开第二电子设备的接收窗口,以使第二电子设备基于第一周期性广播信号建立与第一电子设备的第一同步链路连接,可以包括:
第一电子设备通过主信道向第二电子设备发送主信道广播包,以使第二电子设备解析出第一数据信道的频点和第一时间偏移,并得到发送辅助广播包的第一时间;
第一电子设备在第一时间通过第一数据信道向第二电子设备发送辅助广播包,以使第二电子设备解析出第二数据信道的频点和第二时间偏移,并得到发送周期广播包的第二时间;
第一电子设备在第二时间通过第二数据信道向第二电子设备发送周期广播包,以完成同步链路的建立。
具体而言,比如,第一电子设备可以通过主信道向第二电子设备发送主信道广播包,当第二电子设备收到主信道广播包后,可以从主信道广播包中直接解析出第一数据信道的频点和第一时间偏移,然后根据第一时间偏移可以得到发送辅助广播包的第一时间。
例如,以电子设备是真无线耳机为例,第一电子设备可以是左耳机,第二电子设备可以是右耳机,请参阅图2,当真无线耳机开盒后,左耳机(也可以是右耳机)与音源发送设备建立BT ACL链路。同时左耳机和右耳机开启后台扩展扫描(Extended SCAN)、扩展广播(Extended Adverting)和周期广播(Periodic Adverting),然后建立同步链路。
下面以右耳机建立同步链路的过程来说明。其中,左耳机可以为主耳机,右耳机可以为副耳机。
比如,请参阅图4,图4是本申请实施例提供的真无线耳机同步链路建立的场景示意图。需要说明的是,蓝牙低功耗5.1工作在ISM频段:4GHz~2.48Ghz,有40(编号0~39)个可用信道,其中编号37、38、39为广播信道,其余信道为数据信道,信道带宽为2MHz。图4中,编号为37、38和39的三个广播信道为主信道,对应的频率为2402MHz、2426MHz和2480MHz。蓝牙信号在传输时采用跳频技术来抗干扰,当一个蓝牙数据包在一个信道上传输完毕后,会在另一个信道上传输下一个数据包。
在T0时刻,右耳机打开接收窗口(RX WINDOW)接收到左耳机在编号为37的主信道发送的主信道广播包ADV_EXT_IND,直接解析出第一数据信道频点和第一时间偏移,进而推算发出辅助广播包AUX_ADV_IND的发送时间,即发送辅助广播包AUX_ADV_IND的第一时间T1,以便于得到后续发送辅助广播包AUX_ADV_IND的数据信道以及发送时间。
例如,在T0时刻,右耳机打开接收窗口(RX WINDOW)接收到左耳机在编号为38的主信 道发送的主信道广播包ADV_EXT_IND,直接解析出第一数据信道频点和第一时间偏移,进而推算发出辅助广播包AUX_ADV_IND的发送时间,即发送辅助广播包AUX_ADV_IND的第一时间T1。
再如,在T0时刻,右耳机打开接收窗口(RX WINDOW)接收到左耳机在编号为39的主信道发送的主信道广播包ADV_EXT_IND,解析出第一数据信道频点和第一时间偏移,进而推算发出辅助广播包AUX_ADV_IND的发送时间,即发送辅助广播包AUX_ADV_IND的第一时间T1。
需要说明的是,当采用不同编号的主信道(编号为37、38或39的主信道)发送主信道广播包ADV_EXT_IND时,其解析出的第一时间偏移的大小可能是不同的,比如,当采用编号为37的主信道发送主信道广播包ADV_EXT_IND时,其解析出的第一时间偏移的要大于采用编号为38的主信道发送主信道广播包ADV_EXT_IND时解析出的第一时间偏移,当采用编号为38的主信道发送主信道广播包ADV_EXT_IND时,其解析出的第一时间偏移的要大于采用编号为39的主信道发送主信道广播包ADV_EXT_IND时解析出的第一时间偏移,等等。
比如,在第一时间T1,第一电子设备通过第一数据信道向第二电子设备发送辅助广播包AUX_ADV_IND,以使第二电子设备解析出第二数据信道的频点和第二时间偏移,并得到发送周期广播包AUX_SYNC_IND的第二时间T2。以便于得到后续发送周期广播包AUX_SYNC_IND的数据信道的频点以及发送时间。
例如,在第一时间T1,右耳机时刻打开接收窗口接收第一数据信道发送的辅助广播包AUX_ADV_IND,通过跳频算法2进行计算,得到第二数据信道的频点和第二时间偏移,进而推算出周期广播包AUX_SYNC_IND的发送时间,即发送周期广播包AUX_SYNC_IND的第二时间T2。
比如,在第二时间T2,第一电子设备通过第二数据信道向第二电子设备发送周期广播包AUX_SYNC_IND,以完成第一同步链路的建立。例如,在第二时间T2,右耳机打开接收窗口接收左耳机通过第二数据信道发送的周期广播包AUX_SYNC_IND,该周期广播包AUX_SYNC_IND是同步链路中的第一包,这样就可以完成右耳机的第一同步链路的建立。
需要说明的是,图4中的周期广播间隔指的是相邻两次发送周期广播包的发送时间的时间差,比如,第三时间T3与第二时间T2之间的时间差。
202、第一电子设备接收第二电子设备发送的第二周期性广播信号,以完成第一电子设备与第二电子设备的第二同步链路的建立。
比如,第二电子设备向第一电子设备发送第二周期性广播信号,第一电子设备接收第二电子设备发送的第二周期性广播信号后,以完成第一电子设备与第二电子设备的第二同步链路的建立。以第一电子设备为左耳机作为示例,左耳机的第二同步链路的建立与流程与右耳机的第一同步链路的建立流程类似,此处不再进行赘述。
203、第一电子设备与第二电子设备之间通过广播同步确认包,以完成第一同步链路和第二同步链路的确认过程。
比如,本申请实施例中,在将第一电子设备与第二电子设备进行信息同步时,可以通过周期广播信道和同步链路进行第一电子设备与第二电子设备的同步确认。比如,第一电子设备可以通过第一周期广播信道发送同步请求信号,并通过第二周期广播信道接收第二电子设备的同步响应信号,然后,第一电子设备可以通过第一周期广播信道发送同步确认包,以表明第一电子设备同步到第二电子设备的周期广播数据,此后,第一电子设备通过第二周期广播信道从第二电子设备处获取同步确认包,以表明第二电子设备同步到第一电子设备的周期广播数据。
再比如,第一电子设备可以直接通过第一周期广播信道发送同步确认包,以表明第一电子设备同步到第二电子设备的周期广播数据,此后,第一电子设备直接通过第二周期广播信道从第二电子设备处获取同步确认包,以表明第二电子设备同步到第一电子设备的周期广播数据。
比如,在一种实施方式中,步骤203中的第一电子设备与第二电子设备之间通过广播同步确认包,以完成第一同步链路和第二同步链路的确认过程,可以包括:
第一电子设备通过第一周期广播信道向第二电子设备的第一同步链路发送同步请求信号;
第一电子设备的第二同步链路通过第二周期广播信道从第二电子设备的第一同步链路处获取同步响应信号;
第一电子设备通过第一周期广播信道向第二电子设备的第一同步链路发送第一同步确认包;
第一电子设备的第二同步链路通过第二周期广播信道从第二电子设备的第一同步链路处获取第二同步确认包。
比如,第一电子设备通过第一周期广播信道向第二电子设备的第一同步链路发送同步请求信号,以电子设备是真无线耳机为例,请参阅图5,图5是本申请实施例提供的同步链路确认的交互场景示意图。例如,左耳机(也可以是右耳机)通过第一周期广播信道Advhdl_1向右耳机的第一同步链路Sync1周期广播发送同步请求信号Sync_Req。
比如,第二电子设备的第一同步链路收到同步请求信号后,第一电子设备的第二同步链路通过第二周期广播信道可以从第二电子设备的第一同步链路处获取同步响应信号。例如,右耳机的第一同步链路Sync1收到同步请求信号Sync_Req后,确认完成同步请求信号Sync_Req的接收,然后通过第二周期广播信道Advhdl_2向左耳机的第二同步链路Sync2发送同步响应信号Sync_Rsp。
比如,第一电子设备可以通过第一周期广播信道向第二电子设备的第一同步链路发送第一同步确认包。例如,左耳机的第二同步链路Sync2收到右耳机发送的同步响应信号Sync_Rsp后,确认完成同步响应信号Sync_Rsp的接收,然后在第一周期广播信道上Advhdl_1向右耳机的第一同步链路Sync1发送第一同步确认包Sync_Confirm。
比如,第一电子设备的第二同步链路可以通过第二周期广播信道从第二电子设备的第一同步链路处获取第二同步确认包。例如,右耳机的第一同步链路Sync1收到第一同步确认包Sync_Confirm1后,在第二周期广播信道Advhdl_2上向左耳机的第二同步链路Sync2发送第二同步确认包Sync_Confirm2。
需要说明的是,为了节省同步链路建立确认的时间,可以不需要发送同步请求信号和同步响应信号的流程,直接通过同步确认包的方式完成两条同步链路的确认过程。
需要说明的是,在双同步链路建立的确认过程中,可以通过周期广播同步转移(Periodic Advertising Sync Transfer,PAST)功能进行优化。但前提是左右耳间需要建立BLE链路或者通过第三个设备完成流程的简化。
比如,在没有周期广播同步转移功能的情况下,第二电子设备已经与第一电子设备进行了周期广播同步,这能让第二电子设备收到周期广播包AUX_SYNC_IND和来自第一电子设备的固定频率扩展信号,并且对其进行解析。同时,第二电子设备还能与第三个电子设备建立连接。如果第三个电子设备希望从第一电子设备处获得周期广播包,那么第三个电子设备需要自行扫描并与第一电子设备进行周期广播同步。第三个电子设备在完成这一过程时需要耗费额外的时间和电能,然而此类设备往往电量有限。
在有周期广播同步转移功能的情况下,情况会截然不同。在相同的情景中,如果第三个电子设备想要扫描并与第一电子设备进行周期广播同步,第二电子设备能够通过低功耗蓝牙链路层(Link Layer)将周期广播同步信息传输到第三个电子设备。周期广播同步转移功能能够简化这一过程并帮助电量有限的第三个电子设备节省电能。
204、第一电子设备向所述第二电子设备的第一同步链路广播数据,并由第一电子设备的第二同步链路获取第二电子设备广播的响应信号。
比如,本申请实施例中,当在第一电子设备与第二电子设备之间进行数据收发时,可以通过周期广播信道和同步链路进行数据的收发。例如,以第一电子设备向第二电子设备广播数据为例,第一电子设备通过第一周期广播信道发送数据给第二电子设备,然后通过第二周期广播信道获取第二电子设备的响应信号,之后,第一电子设备通过第一周期广播信道发送下一包数据给第二电子设备,通过第二周期广播信道获取第二电子设备的响应信号,等等。
比如,在一种实施方式中,步骤204中的第一电子设备向所述第二电子设备的第一同步链路广播数据,并由第一电子设备的第二同步链路获取第二电子设备广播的响应信号,可以包括:
第一电子设备通过第一周期广播信道向第二电子设备的第一同步链路发送第一数据;
第一电子设备的第二同步链路通过第二周期广播信道从第二电子设备的第一同步链路处获取对应的响应信号;
第一电子设备通过第一周期广播信道向第二电子设备的第一同步链路发送第二数据;
第一电子设备的第二同步链路通过第二周期广播信道从第二电子设备的第一同步链路处获取对应的响应信号。
比如,第一电子设备通过第一周期广播信道向第二电子设备的第一同步链路发送第一数据。以电子设备是真无线耳机为例,例如,请参阅图6,图6是本申请实施例提供的真无线耳机数据收发的交互场景示意图。比如,左耳机通过第一周期广播信道Advhdl_1向右耳机的第一同步链路Sync1发送第一数据Data1。
比如,第一电子设备的第二同步链路可以通过第二周期广播信道从第二电子设备的第一同步链路处获取对应的响应信号。例如,右耳机的第一同步链路Sync1收到左耳机的第二同步链路Sync2通过第一周期广播信道Advhdl_1发送的第一数据Data1后,确认完成第一数据Data1的接收,然后会通过第二周期广播信道Advhdl_2回复对应的响应信号Data1_ACK给左耳机。
比如,第一电子设备的第二同步链路通过第二周期广播信道从第二电子设备的第一同步链路处获取对应的响应信号后,该第一电子设备可以通过第一周期广播信道向第二电子设备的第一同步链路发送第二数据。例如,左耳机收到右耳机通过第二周期广播信道Advhdl_2回复的对应的响应信号Data1_ACK后,可以通过第一周期广播信道Advhdl_1向右耳机的第一同步链路Sync1发送第二数据Data2。
比如,当第一电子设备通过第一周期广播信道向第二电子设备的第一同步链路发送第二数据后,第一电子设备的第二同步链路可以通过第二周期广播信道从第二电子设备的第一同步链路处获取对应的响应信号。例如,右耳机的第一同步链路Sync1收到左耳机的第二同步链路Sync2通过第一周期广播信道Advhdl_1发送的第二数据Data2后,可以通过第二周期广播信道Advhdl_2向左耳机的第二同步链路Sync2发送对应的响应信号Data2_ACK。右耳机的发送数据流程与左耳机的发送数据的流程类似,在此不再进行赘述。
可以理解的是,在本申请实施例中,可以建立第一电子设备与第二电子设备之间的同步链路;通过周期广播信道和同步链路第一电子设备与第二电子设备之间同步链路的确认;通过周期广播信道和同步链路进行数据的收发。因此,本申请实施例通过两个周期广播信道和两个同步链路可以完成两个电子设备之间的信息交互,使得在发送数据的时间才让另一个电子设备接收,在未发送数据的时间,另一个电子设备不会尝试收包,即在发送数据的时刻,同时进行数据的接收,在未发送数据的时间,不进行数据的接收,做到同时刻进行发送和接收,不受异步无连接链路的相同信道上两个连续报文之间的时间间隔的限制,其不仅可以达到通讯双方的信息同步,另外,由于采用广播信号的方式进行数据的发送和接收,广播信号无ACK问题,周期间隔较低,发送数据的频率较高,且自身的功耗较低。因此本申请实施例可以降低电子设备的功耗。
请参阅图7,图7是本申请实施例提供的无线通讯方法的第三种流程示意图。该无线通讯方法的流程可以包括:
301、第一电子设备向第二电子设备发送第一周期性广播信号,以完成第二电子设备与第一电子设备的第一同步链路的建立。
步骤301的具体实施可以参阅步骤101的实施例,在此不再进行赘述。
302、第一电子设备接收第二电子设备发送的第二周期性广播信号,以完成第一电子设备与第二电子设备的第二同步链路的建立。
步骤302的具体实施可以参阅步骤102的实施例,在此不再进行赘述。
303、第一电子设备与第二电子设备之间通过广播同步确认包,以完成第一同步链路和第二同步链路的确认过程。
步骤303的具体实施可以参阅步骤202的实施例,在此不再进行赘述。
304、第一电子设备向第二电子设备的第一同步链路广播数据,并由第一电子设备的第二同 步链路获取第二电子设备广播的响应信号。
步骤304的具体实施可以参阅步骤204的实施例,在此不再进行赘述。
305、对第一同步链路和第二同步链路的周期广播间隔进行更新。
比如,如果需要加快或降低数据传输效率,则可以通过周期广播间隔更新流程实现,即需要对第一同步链路和第二同步链路的周期广播间隔进行更新。例如,左耳机和右耳机如果需要加快或降低数据传输效率,则可以通过周期广播间隔的更新流程实现,如可以通过降低周期广播间隔加快或降低数据传输效率。
比如,在一种实施方式中,步骤305中的对第一同步链路和第二同步链路的周期广播间隔进行更新,可以包括:
第一电子设备通过第一周期广播信道向第二电子设备的第一同步链路发送更新包,更新包包括目标周期广播间隔、目标时间偏移和倍数;
第一电子设备的第二同步链路通过第二周期广播信道从第二电子设备的第一同步链路处获取更新确认包;
在目标时间点上按照目标周期广播间隔向第二电子设备的第一同步链路发送数据,目标时间点是根据目标时间偏移和倍数得到的;
第一电子设备的第二同步链路通过第二周期广播信道从第二电子设备的第一同步链路处获取对应的响应信号。
比如,以电子设备是真无线耳机为例,请参阅图8,图8是本申请实施例提供的真无线耳机周期广播间隔更新的交互场景示意图。左耳机通过第一周期广播信道Advhdl_1发送间隔更新包Intvl_update给右耳机的第一同步链路Sync1,该更新包Intvl_update包含目标周期广播间隔New Interval、目标时间偏移Offset和倍数instant,右耳机的第一同步链路Sync1用于同步到新的周期广播间隔。其中,倍数instant为正整数1、2、3、……。
右耳机的第一同步链路Sync1收到左耳机通过第一周期广播信道Advhdl_1发送的更新包Intvl_update后,确认完成接收后,右耳机的第一同步链路Sync1通过第二周期广播信道Advhdl_2回复更新确认包Update_confirm给左耳机。
当左耳机的第二同步链路Sync2接收到右耳机的第一同步链路Sync1通过第二周期广播信道Advhdl_2回复的更新确认包Update_confirm后,确认完成接收。然后在目标时间点上按照目标周期广播间隔New Interval向右耳机的第一同步链路Sync1发送数据,即在双方协商的时间点按照新的周期广播间隔进行调度完成更新流程。
需要说明的是,该目标时间点是根据目标时间偏移Offset和倍数instant得到的,具体而言,产生更新确认包Update_confirm的时间点,加上原始的周期广播间隔乘以倍数instant,然后加上目标时间偏移Offset,得到的值作为目标时间点,从该目标时间点开始,按照目标周期广播间隔New Interval(即新的周期广播间隔)开始执行数据收发。
当右耳机的第一同步链路Sync1获取到左耳机通过第一周期广播信道Advhdl_1按照目标周期广播间隔New Interval发送的数据后,右耳机的第一同步链路Sync1通过第二周期广播信道Advhdl_2将第二数据的响应信号Data2_ACK发送给左耳机的第二同步链路Sync2。
需要说明的是,可以通过控制时间偏移减小,使得在相同的时间内可以发送更多的数据,因此通过采用双同步链路可以做到数据吞吐量最大化,其数据吞吐量可以超过BT ACL和BLE ACL。
306、对第一同步链路和第二同步链路的物理层进行更新。
比如,第一电子设备与第二电子设备需要提高速率或者提高灵敏度时,可以对第一同步链路和第二同步链路的物理层进行更新。例如,左耳机和右耳机如果需要需要提高速率或者提高灵敏度,则可以通过物理层的更新流程实现,如可以提高物理层的传输速度。
比如,在一种实施方式中,步骤306中的对第一同步链路和第二同步链路的物理层进行更新,可以包括:
第一电子设备通过第一周期广播信道向第二电子设备的第一同步链路发送物理层更新包,物理层更新包包括目标物理层、目标时间偏移和倍数;
第一电子设备的第二同步链路通过第二周期广播信道从第二电子设备的第一同步链路处获取更新确认包;
在目标时间点上按照目标物理层向第二电子设备的第一同步链路发送数据,目标时间点是根据目标时间偏移和倍数得到的;
第一电子设备的第二同步链路通过第二周期广播信道从第二电子设备的第一同步链路处获取对应的响应信号。
比如,以电子设备是真无线耳机为例,请参阅图9,图9是本申请实施例提供的真无线耳机物理层更新的交互场景示意图。例如,左耳机通过第一周期广播信道Advhdl_1向右耳机的第一同步链路Sync1发送物理层更新包PHY_update,该物理层更新包包括目标物理层、目标时间偏移Offset和倍数instant,右耳机的第一同步链路Sync1用于同步到新物理层的数据包上。其中,倍数instant为正整数1、2、3、……。
右耳机的第一同步链路Sync1收到左耳机通过第一周期广播信道Advhdl_1发送的物理层更新包PHY_update后,确认完成接收后,右耳机的第一同步链路Sync1通过第二周期广播信道Advhdl_2回复更新确认包Update confirm给左耳机。
当左耳机的第二同步链路Sync2接收到右耳机的第一同步链路Sync1通过第二周期广播信道Advhdl_2回复的更新确认包Update_confirm后,确认完成接收。然后在目标时间点上按照目标物理层New PHY向右耳机的第一同步链路Sync1发送数据,即在双方协商的时间点按照新的物理层进行调度完成更新流程。
当右耳机的第一同步链路Sync1获取到左耳机通过第一周期广播信道Advhdl_1按照目标物理层New PHY发送的数据后,右耳机的第一同步链路Sync1通过第二周期广播信道Advhdl_2将数据的响应信号Data2_ACK发送给左耳机的第二同步链路Sync2。
物理层PHY更新的目的主要是提高灵敏度和传输速度。比如可以提升物理层的传输速度,比如由1Mbps->2Mbps->4Mbps等。同样也可以对物理层的传输速度进行降速,比如由4Mbps->2Mbps->1Mbps。
可知,可以根据信号灵敏度等,采用更新物理层的方式做到用户体验更优,比如信号好的时候可以自动提升物理层的传输速度和扩大包长做到数据的快速收发。信号差的时候可以做到降低物理层的传输速度以保证同步链路不断链。
307、将第一同步链路和第二同步链路断开。
比如,当不需要进行同步时,为了节省功耗,可以将第一同步链路和第二同步链路断开。例如,当不需要进行同步时,可以将左耳机与右耳机的两个同步链路断开。
比如,在一种实施方式中,步骤307中的将第一同步链路和第二同步链路断开,可以包括:
第一电子设备通过第一周期广播信道向第二电子设备的第一同步链路发送断开请求信号,以使第二电子设备的第一同步链路断开;
第一电子设备的第二同步链路通过第二周期广播信道从第二电子设备的第一同步链路处获取断开确认包后进行断开。
比如,以电子设备是真无线耳机为例,请参阅图10,图10是本申请实施例提供的真无线耳机同步链路断开的交互场景示意图。例如,左耳机通过第一周期广播信道Advhdl_1将断开请求信号Dis_Req发送给右耳机的第一同步链路Sync1。右耳机的第一同步链路Sync1收到该断开请求信号Dis_Req后,将第一同步链路Sync1断开。同时,右耳机通过第二周期广播信道Advhdl_2回复断开确认包Dis_Confirm给左耳机的第二同步链路Sync2。左耳机的第二同步链路Sync2收到断开确认包Dis_Confirm后,断开第二同步链路Sync2,这样就完成了同步链路的断开流程。
可以理解的是,本申请实施例通过使用两第二周期广播信道和两条同步链路做到BT ACL和BLE ACL的效果,并可以更灵活的控制调度和功耗。比如其中一个电子设备只发送数据、不接收数据的情况下,可以通过增大电子设备的周期广播间隔做到更低功耗。如果没有数据也可以利用BLE5.2协议当中的跳过(Skip)调度方式实现更低功耗。例如,采用Skip的跨越式调度,将原始每隔1秒接收一次数据包,调整到每隔10秒接收一次数据包,这样可以降低功耗。
比如,在一种实施方式中,周期广播包包括同步广播串流(Broadcast Isochronous Stream,BIS)。例如左耳机和右耳机均通过同步广播串流完成类似周期广播功能。左耳机和右耳机分别通过监听对方的同步广播串流达成类似的目的。同步广播串流按照固定时间间隔发送数据,不接收数据,其具体的发送数据的流程与本申请实施例中的通过第一同步链路和第二同步链路进行数据收发的流程类似。
请参阅图11,图11是本申请实施例提供的真无线耳机空口包时序的示意图。从天线发出来的数据包为空口包,左耳机或右耳机发送数据给对方,具体包的内容由应用自由定义,可以为音乐数据、控制状态数据。左耳机或右耳机可以通过控制周期广播间隔和图11中的offset做到收发效率最高(offset>=0μs),不受ACL链路中的相同信道上两个连续报文之间的时间间隔T_IFS(150μs)限制。做到收发效率高于BT ACL和BLE ACL。每一路周期数据可以通过在数据包的尾部挂接辅助链接包AUX_CHAIN_IND的形式做到超长数据的连续发送,具体可以根据耳机的缓冲(Buffer)自由定制。
可以理解的,本申请实施例中,左耳机和右耳机通过建立两条同步链路达到ACL链路数据的收发效果,利用周期广播信道和同步链路达到和ACL链路同样的功能。并且利用该技术功能可自由控制数据长度和广播周期等,在功耗和数据吞吐上具有优势。
请参阅图12,图12为本申请实施例提供的无线通讯装置的结构示意图。该无线通讯装置400可以包括:第一建立模块401,第二建立模块402。
第一建立模块401,用于所述第一电子设备向所述第二电子设备发送第一周期性广播信号,以完成所述第二电子设备与所述第一电子设备的第一同步链路的建立;
第二建立模块402,用于所述第一电子设备接收所述第二电子设备发送的第二周期性广播信号,以完成所述第一电子设备与所述第二电子设备的第二同步链路的建立。
本申请实施例提供一种计算机可读的存储介质,其上存储有计算机程序,当所述计算机程序在计算机上执行时,使得所述计算机执行如本实施例提供的无线通讯方法中的流程。
本申请实施例还提供一种电子设备,包括存储器,处理器,所述处理器通过调用所述存储器中存储的计算机程序,用于执行本实施例提供的无线通讯方法中的流程。
例如,上述电子设备可以是诸如平板电脑或者智能手机等移动终端。请参阅图13,图13为本申请实施例提供的电子设备的结构示意图。
该电子设备500可以包括无线通讯模组501、存储器502、处理器503等部件。本领域技术人员可以理解,图13中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
无线通讯模组501可以用于与外界设备进行无线通讯,如进行蓝牙通讯。
存储器502可用于存储应用程序和数据。存储器502存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器503通过运行存储在存储器502的应用程序,从而执行各种功能应用以及数据处理。
处理器503是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器502内的应用程序,以及调用存储在存储器502内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。
在本实施例中,电子设备中的处理器503会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行代码加载到存储器502中,并由处理器503来运行存储在存储器502中的应用程序,从而执行:
所述第一电子设备向所述第二电子设备发送第一周期性广播信号,以完成所述第二电子设备与所述第一电子设备的第一同步链路的建立;
所述第一电子设备接收所述第二电子设备发送的第二周期性广播信号,以完成所述第一电子设备与所述第二电子设备的第二同步链路的建立。
请参阅图14,电子设备500可以包括无线通讯模组501、存储器502、处理器503、电池504、麦克风505、扬声器506等部件。
无线通讯模组501可以用于与外界设备进行无线通讯,如进行蓝牙通讯。
存储器502可用于存储应用程序和数据。存储器502存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器503通过运行存储在存储器502的应用程序,从而执行各种功能应用以及数据处理。
处理器503是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器502内的应用程序,以及调用存储在存储器502内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。
电池504可用于为电子设备的各个部件提供电力支持,从而保障各个部件的正常运行。
麦克风505可用于接收周围环境中的声音信号,例如可以用于接收用户发出的语音。
扬声器506可以用于播放声音信号。
在本实施例中,电子设备中的处理器503会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行代码加载到存储器502中,并由处理器503来运行存储在存储器502中的应用程序,从而执行:
所述第一电子设备向所述第二电子设备发送第一周期性广播信号,以完成所述第二电子设备与所述第一电子设备的第一同步链路的建立;
所述第一电子设备接收所述第二电子设备发送的第二周期性广播信号,以完成所述第一电子设备与所述第二电子设备的第二同步链路的建立。
本申请实施例还提供一种无线通讯系统,包括第一电子设备和第二电子设备,所述第一电子设备用于获取音源发送设备的音频信号,所述第二电子设备用于接收所述第一电子设备发送的第一周期性广播信号以完成第一同步链路的建立,所述第一电子设备接收所述第二电子设备发送的第二周期性广播信号后完成第二同步链路的建立,所述第一电子设备与所述第二电子设备建立同步连接后,所述第一电子设备通过所述第一同步链路和第二同步链路实现与所述第二电子设备的音频信号传输。
在一些实施例中,所述第一电子设备确定所述第一电子设备向所述第二电子设备发送所述第一周期性广播信号的发送时间,并基于所述发送时间打开所述第二电子设备的接收窗口,以使所述第二电子设备基于所述第一周期性广播信号建立与所述第一电子设备的第一同步链路连接。
在一些实施例中,所述第一电子设备与第二电子设备之间通过广播同步确认包,以完成所述第一同步链路和第二同步链路的确认过程。
在一些实施例中,所述第一电子设备向所述第二电子设备的第一同步链路广播数据,并由所述第一电子设备的第二同步链路获取所述第二电子设备广播的响应信号。
在一些实施例中,所述第一电子设备对所述第一同步链路和第二同步链路的周期广播间隔进行更新。
在一些实施例中,所述第一电子设备通过第一周期广播信道向所述第二电子设备的第一同步链路发送更新包,所述更新包包括目标周期广播间隔、目标时间偏移和倍数;
所述第一电子设备的第二同步链路通过第二周期广播信道从所述第二电子设备的第一同步链路处获取更新确认包;
在目标时间点上按照所述目标周期广播间隔向所述第二电子设备的第一同步链路发送数据,所述目标时间点是根据所述目标时间偏移和倍数得到的;
所述第一电子设备的第二同步链路通过所述第二周期广播信道从所述第二电子设备的第一同步链路处获取对应的响应信号。
在一些实施例中,所述第一电子设备对所述第一同步链路和第二同步链路的物理层进行更新。
在一些实施例中,所述第一电子设备通过第一周期广播信道向所述第二电子设备的第一同步链路发送物理层更新包,所述物理层更新包包括目标物理层、目标时间偏移和倍数;
所述第一电子设备的第二同步链路通过第二周期广播信道从所述第二电子设备的第一同步链路处获取更新确认包;
在目标时间点上按照所述目标物理层向所述第二电子设备的第一同步链路发送数据,所述目 标时间点是根据所述目标时间偏移和倍数得到的;
所述第一电子设备的第二同步链路通过所述第二周期广播信道从所述第二电子设备的第一同步链路处获取对应的响应信号。
在一些实施例中,所述第一电子设备将所述第一同步链路和第二同步链路断开。
在一些实施例中,所述第一电子设备通过第一周期广播信道向所述第二电子设备的第一同步链路发送断开请求信号,以使所述第二电子设备的第一同步链路断开;
所述第一电子设备的第二同步链路通过第二周期广播信道从所述第二电子设备的第一同步链路处获取断开确认包后进行断开。
本申请实施例还提供一种无线通讯系统,请参阅图15,图15是本申请实施例提供的无线通讯系统的结构示意图。该无线通讯系统600包括第一电子设备601和第二电子设备602,其中,第一电子设备601用于获取音源发送设备的音频信号,向第二电子设备602发送第一周期性广播信号,第二电子设备602用于接收第一电子设备601发送的第一周期性广播信号以完成第一同步链路的建立,即第二电子设备602接收到第一周期性广播信号后,则完成与第一电子设备601之间第一同步链路的建立。
第一电子设备601接收第二电子设备602发送的第二周期性广播信号后,则完成与第二电子设备602之间第二同步链路的建立,第一电子设备601与第二电子设备602建立同步连接后,第一电子设备601通过第一同步链路和第二同步链路实现与第二电子设备602的音频信号传输,基于第一同步链路和第二同步链路的连接可以实现第一电子设备601与第二电子设备602之间的同步。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见上文针对无线通讯方法的详细描述,此处不再赘述。
本申请实施例提供的所述无线通讯装置与上文实施例中的无线通讯方法属于同一构思,在所述无线通讯装置上可以运行所述无线通讯方法实施例中提供的任一方法,其具体实现过程详见所述无线通讯方法实施例,此处不再赘述。
需要说明的是,对本申请实施例所述无线通讯方法而言,本领域普通技术人员可以理解实现本申请实施例所述无线通讯方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述计算机程序可存储于一计算机可读取存储介质中,如存储在存储器中,并被至少一个处理器执行,在执行过程中可包括如所述无线通讯方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)等。
对本申请实施例的所述无线通讯装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中,所述存储介质譬如为只读存储器,磁盘或光盘等。
以上对本申请实施例所提供的一种无线通讯方法、装置、存储介质、电子设备以及系统进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种无线通讯方法,其中,应用于无线通讯系统,所述无线通讯系统包括第一电子设备和第二电子设备,所述方法包括:
    所述第一电子设备向所述第二电子设备发送第一周期性广播信号,以完成所述第二电子设备与所述第一电子设备的第一同步链路的建立;
    所述第一电子设备接收所述第二电子设备发送的第二周期性广播信号,以完成所述第一电子设备与所述第二电子设备的第二同步链路的建立。
  2. 根据权利要求1所述的无线通讯方法,其中,所述第一电子设备向所述第二电子设备发送第一周期性广播信号,以完成所述第二电子设备与所述第一电子设备的第一同步链路的建立,包括:
    确定所述第一电子设备向所述第二电子设备发送所述第一周期性广播信号的发送时间,并基于所述发送时间打开所述第二电子设备的接收窗口,以使所述第二电子设备基于所述第一周期性广播信号建立与所述第一电子设备的第一同步链路连接。
  3. 根据权利要求1所述的无线通讯方法,其中,所述方法还包括:
    所述第一电子设备与第二电子设备之间通过广播同步确认包,以完成所述第一同步链路和第二同步链路的确认过程。
  4. 根据权利要求3所述的无线通讯方法,其中,所述方法还包括:
    所述第一电子设备向所述第二电子设备的第一同步链路广播数据,并由所述第一电子设备的第二同步链路获取所述第二电子设备广播的响应信号。
  5. 根据权利要求1所述的无线通讯方法,其中,所述方法还包括:
    对所述第一同步链路和第二同步链路的周期广播间隔进行更新。
  6. 根据权利要求5所述的无线通讯方法,其中,所述对所述第一同步链路和第二同步链路的周期广播间隔进行更新,包括:
    所述第一电子设备通过第一周期广播信道向所述第二电子设备的第一同步链路发送更新包,所述更新包包括目标周期广播间隔、目标时间偏移和倍数;
    所述第一电子设备的第二同步链路通过第二周期广播信道从所述第二电子设备的第一同步链路处获取更新确认包;
    在目标时间点上按照所述目标周期广播间隔向所述第二电子设备的第一同步链路发送数据,所述目标时间点是根据所述目标时间偏移和倍数得到的;
    所述第一电子设备的第二同步链路通过所述第二周期广播信道从所述第二电子设备的第一同步链路处获取对应的响应信号。
  7. 根据权利要求1所述的无线通讯方法,其中,所述方法还包括:
    对所述第一同步链路和第二同步链路的物理层进行更新。
  8. 根据权利要求1的无线通讯方法,其中,所述对所述第一同步链路和第二同步链路的物理层进行更新,包括:
    所述第一电子设备通过第一周期广播信道向所述第二电子设备的第一同步链路发送物理层更新包,所述物理层更新包包括目标物理层、目标时间偏移和倍数;
    所述第一电子设备的第二同步链路通过第二周期广播信道从所述第二电子设备的第一同步链路处获取更新确认包;
    在目标时间点上按照所述目标物理层向所述第二电子设备的第一同步链路发送数据,所述目标时间点是根据所述目标时间偏移和倍数得到的;
    所述第一电子设备的第二同步链路通过所述第二周期广播信道从所述第二电子设备的第一同步链路处获取对应的响应信号。
  9. 根据权利要求1所述的无线通讯方法,其中,所述方法还包括:
    将所述第一同步链路和第二同步链路断开。
  10. 根据权利要求9所述的无线通讯方法,其中,所述将所述第一同步链路和第二同步链路 断开,包括:
    所述第一电子设备通过第一周期广播信道向所述第二电子设备的第一同步链路发送断开请求信号,以使所述第二电子设备的第一同步链路断开;
    所述第一电子设备的第二同步链路通过第二周期广播信道从所述第二电子设备的第一同步链路处获取断开确认包后进行断开。
  11. 一种无线通讯系统,其中,包括第一电子设备和第二电子设备,所述第一电子设备用于获取音源发送设备的音频信号,所述第二电子设备用于接收所述第一电子设备发送的第一周期性广播信号以完成第一同步链路的建立,所述第一电子设备接收所述第二电子设备发送的第二周期性广播信号后完成第二同步链路的建立,所述第一电子设备与所述第二电子设备建立同步连接后,所述第一电子设备通过所述第一同步链路和第二同步链路实现与所述第二电子设备的音频信号传输。
  12. 根据权利要求11所述的无线通讯系统,其中,所述第一电子设备确定所述第一电子设备向所述第二电子设备发送所述第一周期性广播信号的发送时间,并基于所述发送时间打开所述第二电子设备的接收窗口,以使所述第二电子设备基于所述第一周期性广播信号建立与所述第一电子设备的第一同步链路连接。
  13. 根据权利要求11所述的无线通讯系统,其中,所述第一电子设备与第二电子设备之间通过广播同步确认包,以完成所述第一同步链路和第二同步链路的确认过程。
  14. 根据权利要求13所述的无线通讯系统,其中,所述第一电子设备向所述第二电子设备的第一同步链路广播数据,并由所述第一电子设备的第二同步链路获取所述第二电子设备广播的响应信号。
  15. 根据权利要求11所述的无线通讯系统,其中,所述第一电子设备对所述第一同步链路和第二同步链路的周期广播间隔进行更新。
  16. 根据权利要求15所述的无线通讯系统,其中,所述第一电子设备通过第一周期广播信道向所述第二电子设备的第一同步链路发送更新包,所述更新包包括目标周期广播间隔、目标时间偏移和倍数;
    所述第一电子设备的第二同步链路通过第二周期广播信道从所述第二电子设备的第一同步链路处获取更新确认包;
    在目标时间点上按照所述目标周期广播间隔向所述第二电子设备的第一同步链路发送数据,所述目标时间点是根据所述目标时间偏移和倍数得到的;
    所述第一电子设备的第二同步链路通过所述第二周期广播信道从所述第二电子设备的第一同步链路处获取对应的响应信号。
  17. 根据权利要求11所述的无线通讯系统,其中,所述第一电子设备对所述第一同步链路和第二同步链路的物理层进行更新。
  18. 根据权利要求11所述的无线通讯系统,其中,所述第一电子设备通过第一周期广播信道向所述第二电子设备的第一同步链路发送物理层更新包,所述物理层更新包包括目标物理层、目标时间偏移和倍数;
    所述第一电子设备的第二同步链路通过第二周期广播信道从所述第二电子设备的第一同步链路处获取更新确认包;
    在目标时间点上按照所述目标物理层向所述第二电子设备的第一同步链路发送数据,所述目标时间点是根据所述目标时间偏移和倍数得到的;
    所述第一电子设备的第二同步链路通过所述第二周期广播信道从所述第二电子设备的第一同步链路处获取对应的响应信号。
  19. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,当所述计算机程序在计算机上执行时,使得所述计算机执行如权利要求1至10任一项所述的无线通讯方法。
  20. 一种电子设备,所述电子设备包括处理器和存储器,所述处理器通过调用所述存储器中 存储的计算机程序,用于执行如权利要求1至10任一项所述的无线通讯方法。
PCT/CN2021/122647 2020-12-22 2021-10-08 无线通讯方法及系统 WO2022134734A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP21908735.0A EP4266711A4 (en) 2020-12-22 2021-10-08 WIRELESS COMMUNICATION METHOD AND SYSTEM

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011528924.0 2020-12-22
CN202011528924.0A CN114666741B (zh) 2020-12-22 2020-12-22 无线通讯方法及系统

Publications (1)

Publication Number Publication Date
WO2022134734A1 true WO2022134734A1 (zh) 2022-06-30

Family

ID=82024510

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/122647 WO2022134734A1 (zh) 2020-12-22 2021-10-08 无线通讯方法及系统

Country Status (3)

Country Link
EP (1) EP4266711A4 (zh)
CN (1) CN114666741B (zh)
WO (1) WO2022134734A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110933616A (zh) * 2019-11-21 2020-03-27 昆山泰芯微电子有限公司 一种无线耳机配对方法及系统
CN111294783A (zh) * 2020-05-08 2020-06-16 深圳市汇顶科技股份有限公司 音频数据传输的方法、装置、芯片和电子设备
CN111464993A (zh) * 2020-04-08 2020-07-28 昆山泰芯微电子有限公司 双耳蓝牙耳机配对方法以及用于双耳蓝牙耳机的无线耳机
CN111629369A (zh) * 2020-05-27 2020-09-04 歌尔科技有限公司 一种蓝牙耳机及其配对连接方法、装置和tws耳机

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10154384B2 (en) * 2016-06-22 2018-12-11 Qualcomm Incorporated Systems and methods for back channel communication
US11665214B2 (en) * 2018-11-08 2023-05-30 Lg Electronics Inc. Method and apparatus for receiving audio data by using Bluetooth technology
WO2020213959A1 (ko) * 2019-04-16 2020-10-22 엘지전자 주식회사 블루투스 기술을 이용하여 오디오 데이터를 수신하기 위한 방법 및 이에 대한 장치
CN118264987A (zh) * 2019-06-03 2024-06-28 英迪股份有限公司 用于无线通信系统中的广播发现服务的方法、装置和计算机程序及其记录介质
CN111698672B (zh) * 2020-05-26 2022-09-13 展讯通信(上海)有限公司 无线耳机的音频同步方法及无线耳机

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110933616A (zh) * 2019-11-21 2020-03-27 昆山泰芯微电子有限公司 一种无线耳机配对方法及系统
CN111464993A (zh) * 2020-04-08 2020-07-28 昆山泰芯微电子有限公司 双耳蓝牙耳机配对方法以及用于双耳蓝牙耳机的无线耳机
CN111294783A (zh) * 2020-05-08 2020-06-16 深圳市汇顶科技股份有限公司 音频数据传输的方法、装置、芯片和电子设备
CN111629369A (zh) * 2020-05-27 2020-09-04 歌尔科技有限公司 一种蓝牙耳机及其配对连接方法、装置和tws耳机

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4266711A4

Also Published As

Publication number Publication date
EP4266711A4 (en) 2024-06-19
CN114666741A (zh) 2022-06-24
CN114666741B (zh) 2023-07-14
EP4266711A1 (en) 2023-10-25

Similar Documents

Publication Publication Date Title
CN110267305B (zh) 一种无线数据重传方法
US10412481B1 (en) Operation mode switch of wireless headphones
US10616743B2 (en) Low-latency audio streaming with communication coexistence
KR101971183B1 (ko) 블루투스 등시성 채널과 연관된 동기화 정보를 브로드캐스팅하는 소스 디바이스
WO2019205157A1 (zh) 耳机无线通信方法、主耳机、从耳机及耳机系统
US11115885B2 (en) Audio synchronization during handover
CN109587666B (zh) 蓝牙设备、系统及调度方法
CN110166988B (zh) 一种无线通信系统及其方法
CN110830973B (zh) 一种利用无线耳机传输音频信息的方法
CN114982369A (zh) 音频数据传输的方法、装置、芯片和电子设备
US20240168703A1 (en) Method, device, and computer program for audio routing in wireless communication system, and recording medium therefor
US20220256314A1 (en) Method, apparatus and computer program for broadcast discovery service in wireless communication system, and recording medium therefor
CN112188344B (zh) Tws耳机及其控制方法
US20220417743A1 (en) Method, apparatus, and computer program for setting encryption key in wireless communication system, and recording medium for same
US20220229628A1 (en) Method, device and computer program for controlling audio data in wireless communication system, and recording medium therefor
WO2022134734A1 (zh) 无线通讯方法及系统
US20230224958A1 (en) Method, device, and computer program for selecting channel in wireless communication system, and recording medium therefor
CN113115281B (zh) 蓝牙音讯装置、蓝牙音讯系统及其运作方法
US10863468B1 (en) BLE system with slave to slave communication
CN114079898A (zh) 双发模式下音频数据通信方法、装置、设备和系统
US20230080122A1 (en) Method, device and computer program for cloud-authenticated pairing in wireless communication system, and recording medium therefor
US12041432B2 (en) Method, device, and computer program for controlling and managing state of peripheral device in wireless communication system, and recording medium therefor
US20220417637A1 (en) Method and system for wireless transmission of audio data
US20220353616A1 (en) Method, device, and computer program for controlling and managing state of peripheral device in wireless communication system, and recording medium therefor
WO2024043995A1 (en) Systems and methods for improving voice call quality and device latency

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: 21908735

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2021908735

Country of ref document: EP

Effective date: 20230721