WO2022206270A1 - Procédé et appareil d'ajout de dispositif, puce bluetooth et dispositif - Google Patents

Procédé et appareil d'ajout de dispositif, puce bluetooth et dispositif Download PDF

Info

Publication number
WO2022206270A1
WO2022206270A1 PCT/CN2022/078820 CN2022078820W WO2022206270A1 WO 2022206270 A1 WO2022206270 A1 WO 2022206270A1 CN 2022078820 W CN2022078820 W CN 2022078820W WO 2022206270 A1 WO2022206270 A1 WO 2022206270A1
Authority
WO
WIPO (PCT)
Prior art keywords
cig
slave device
cis
slave
parameters
Prior art date
Application number
PCT/CN2022/078820
Other languages
English (en)
Chinese (zh)
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广东移动通信有限公司
Publication of WO2022206270A1 publication Critical patent/WO2022206270A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • the embodiments of the present application relate to the field of Bluetooth technology, and in particular, to a device adding method, device, Bluetooth chip, and device.
  • Connected Isochronous Stream (CIS) and Connected Isochronous Group (CIG) can realize one master and multiple slaves between multiple devices audio transmission.
  • the master device Before establishing a CIS link with a slave device, the master device first sets CIG parameters for the CIG and all CISs in the CIG, and then establishes a CIS link with each slave device one by one. Among them, after a CIS link is established in the CIG, the state of the CIG becomes an active state (Active), and correspondingly, the CIG parameters cannot be changed within the CIG duration time.
  • Embodiments of the present application provide a device adding method, device, Bluetooth chip, and device.
  • the technical solution is as follows:
  • an embodiment of the present application provides a method for adding a device, the method is used for a master device, and the method includes:
  • n first slave devices belong to the same CIG, and each of the first slave devices sends and receives data on the corresponding CIS links based on the original CIG parameters, and n is positive integer;
  • an embodiment of the present application provides an apparatus for adding equipment, and the apparatus includes:
  • the first establishment module is used to establish a CIS link with n first slave devices, the n first slave devices belong to the same CIG, and each of the first slave devices is based on the original CIG parameters on the corresponding CIS link.
  • Send and receive data n is a positive integer;
  • a second establishing module configured to add the second slave device to the CIG in response to an adding request from the second slave device, and establish a CIS link with the second slave device;
  • a sending module configured to send the CIG parameter update data including the updated CIG parameters to the n first slave devices, so that each of the first slave devices can send and receive data on the corresponding CIS links based on the updated parameters , and the second slave device transmits and receives data on the CIS link based on the updated CIG parameter.
  • an embodiment of the present application provides a Bluetooth chip, the Bluetooth chip includes a processor and a memory, the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement The device adding method as described in the above aspect.
  • an embodiment of the present application provides an electronic device with a Bluetooth function, wherein the electronic device is provided with the Bluetooth chip described in the above aspect.
  • an embodiment of the present application provides a computer-readable storage medium, where at least one piece of program code is stored in the computer-readable storage medium, and the program code is loaded and executed by a Bluetooth chip to implement the above aspects the device addition method.
  • an embodiment of the present application provides a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
  • the Bluetooth chip of the electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the device adding method provided in the various optional implementations of the above aspects.
  • FIG. 1 shows a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application
  • FIG. 2 shows a flowchart of a device adding method provided by an exemplary embodiment of the present application
  • FIG. 3 is a schematic diagram of a process of data transmission and reception between a master device and a slave device before adding a device shown in an exemplary embodiment
  • FIG. 4 is a schematic diagram of a process of data transmission and reception between a master device and a slave device after adding a device shown in an exemplary embodiment
  • FIG. 5 shows a flowchart of a device adding method provided by another exemplary embodiment of the present application.
  • Fig. 6 is the schematic diagram of CIS synchronization delay and CIG synchronization delay before and after adding equipment
  • FIG. 7 is a schematic diagram of a CIG event start count determination process shown in an exemplary embodiment of the present application.
  • FIG. 8 is a sequence diagram of an implementation process of a device adding method according to an exemplary embodiment of the present application.
  • FIG. 9 shows a structural block diagram of an apparatus for adding equipment provided by an embodiment of the present application.
  • FIG. 10 shows a block diagram of the structure of an electronic device with a Bluetooth function provided by an exemplary embodiment of the present application.
  • each stream is called CIS.
  • the multiple CISs are configured as one CIG, and the CISs belonging to the same CIG share the timing reference data, so based on the timing reference Data to achieve synchronous playback of independent audio data streams.
  • the terminal plays audio through the left and right earphones of the Bluetooth headset
  • the left and right earphones correspond to one CIS respectively
  • the two CISs belong to the same CIG.
  • the left and right earphones realize audio synchronous playback based on the timing reference data.
  • the master device can create multiple CIGs, and the CIGs support bidirectional data transmission.
  • the CIGs support bidirectional data transmission.
  • the CIS can be used to receive audio data sent by the terminal, and send audio data collected by the microphone to the terminal.
  • CIG parameters Contains CIG and related parameters of each CIS in the CIG.
  • the CIG parameter includes a CIG identifier, the CIS identifier of each CIS in the CIG.
  • the CIG parameters also include the CIS synchronization delay (CIS_Sync_Delay) and the CIG synchronization delay (CIG_Sync_Delay) of each CIS, so that each CIS in the CIG realizes synchronization.
  • FIG. 1 shows a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application.
  • the implementation environment includes a master device 110 (master) and at least two slave devices 120 (slave), wherein the master device also Can be called Central, and slaves can also be called Peripherals.
  • master device also Can be called Central
  • slaves can also be called Peripherals.
  • Both the master device 110 and the slave device 120 are electronic devices with Bluetooth function, and the master device 110 is in the master device mode, and the slave device 120 is in the slave device mode.
  • the electronic device working in the master device mode can actively search for other Bluetooth devices around and select the Bluetooth device to be connected, while the electronic device working in the slave device mode can only be searched by other electronic devices but cannot actively search.
  • the master device 110 may be a smartphone, tablet, wearable device, personal computer, etc.
  • the slave device 120 may be a smart speaker, Bluetooth headset, TV, smartphone, or the like.
  • the master device 110 is a smart phone
  • the slave device 120 includes a Bluetooth headset 121 and a Bluetooth speaker 122 as an example for description, but this is not a limitation.
  • the master device 110 supports establishing a Bluetooth connection with multiple slave devices 120 at the same time.
  • both the master device 110 and the slave device 120 support the CIG/CIS function (that is, support the standard protocol of Bluetooth 5.2 and above).
  • the master device 110 establishes a CIS link with multiple slave devices 120, that is, The same audio data stream can be sent to multiple slave devices 120 at the same time, so that the multiple slave devices 120 can play music synchronously.
  • the CIG/CIS function can be applied to Audio Share scenarios such as True Wireless Stereo (TWS) headphones and multi-room audio synchronization.
  • the main device 110 can establish a Bluetooth connection with the Bluetooth headset 121 and the Bluetooth speaker 122 at the same time, wherein two CIS links are established between the main device 110 and the left/right Bluetooth headset 121, and the main A CIS link is established between the device 110 and the Bluetooth speaker 122, and the Bluetooth headset 121 and the Bluetooth speaker 122 belong to the same CIG, that is, the CIG includes three CISs.
  • the master device 110 plays audio through the Bluetooth headset 121 and the Bluetooth speaker
  • the master device 110 transmits audio data streams to the left/right Bluetooth headset 121 and the Bluetooth speaker 122 respectively through three CIS links (that is, the audio data streams 1 and 2 in the figure). , 3).
  • each CIS in the CIG realizes the synchronous playback of each independent audio stream based on the same service data unit synchronization reference (SDU Synchronization Reference). Therefore, in order to ensure that each CIS remains synchronized, the Bluetooth 5.2 standard protocol After the establishment, the CIG parameters of each CIS are not allowed to be changed within the CIG's lifetime. Correspondingly, if a new CIS needs to be added to the CIG, each CIS link needs to be disconnected, and the CIS link needs to be re-established after resetting the CIG parameters.
  • SDU Synchronization Reference service data unit synchronization Reference
  • the main device 110 first establishes two CIS links with the Bluetooth headset 121 (the left and right headsets each correspond to one CIS link), so as to play audio through the Bluetooth headset 121 synchronously.
  • the main device 110 needs to disconnect the two CIS links with the Bluetooth headset 121 first, and remove the originally set CIS links. CIG parameters, and then reset the CIG parameters based on the Bluetooth headset 121 and the Bluetooth speaker 122 . Further, the main device 110 sequentially establishes three CIS links with the Bluetooth headset 121 and the Bluetooth speaker 122 based on the reset CIG parameters.
  • the dynamic addition of CIS cannot be realized, the process of adding CIS is cumbersome and time-consuming, and the existing CIS will be interrupted, affecting the user experience.
  • the relevant parameters of the new CIS are added in the CIG that is transmitting the audio data stream by using the private command, and the dynamic update of the CIG parameters of the existing CIS is realized by using the private command, so as to realize the dynamic addition of the CIS, and There is no need to disconnect the existing CIS and rebuild the CIS during the adding process, which improves the adding efficiency of the CIS and reduces the impact on the existing CIS during the adding process of the CIS.
  • FIG. 2 shows a flowchart of a method for adding a device provided by an exemplary embodiment of the present application. This embodiment is described by taking the method for the master device shown in FIG. 1 as an example, and the method includes:
  • Step 201 establish CIS links with n first slave devices, n first slave devices belong to the same connection-oriented synchronous flow group CIG, and each first slave device transmits and receives on the corresponding CIS link based on the original CIG parameters data, n is a positive integer.
  • the master device first sets the CIG parameters, and after completing the setting of the CIG parameters, successively establishes CIS links with each of the first slave devices, and establishes n CIS links in total. After the CIS link is established with each first slave device, the master device can transmit data to each first slave device through the CIS link.
  • the number of the first slave devices is at least one, that is, the CIG is composed of at least one CIS.
  • the master device when the first slave device is a left/right Bluetooth headset, the master device establishes two CIS links with the left/right Bluetooth headset respectively, that is, the CIG consists of two CISs; when the first slave device When it is a Bluetooth speaker, the main device establishes a CIS link with the Bluetooth speaker, that is, the CIG consists of a CIS.
  • the embodiment of the present application does not limit the number of CISs in the CIG in the initial state.
  • the original CIG parameters include the CIG logo and the CIS logos of each CIS.
  • the original CIG parameters also include delay data for synchronization.
  • the process of data transmission and reception between the master device and each slave device is shown in FIG. 3 .
  • NSE number of SubEvents
  • Step 202 in response to the adding request of the second slave device, add the second slave device to the CIG, and establish a CIS link with the second slave device.
  • the master device determines to receive an add request for the second slave device, and adds the Bluetooth device to the Bluetooth device. Determined to be the second slave device to be added to the CIG. Further, the master device creates a CIS corresponding to the second slave device, and adds the CIS to the CIG.
  • the master device directly adds the second slave device to the CIG, or the master device determines whether the CIG supports adding a new CIS based on the CIS currently included in the CIG and the CIS corresponding to the second slave device, and if so, Then add the second slave device to the CIG, if it is not supported, it will prompt.
  • the following embodiment will describe the specific manner of determining whether the CIG supports adding a new CIS.
  • the original CIG parameters corresponding to the original CIG may not be applicable to the current CIG.
  • the original CIG parameters need to be updated to obtain the updated CIG parameters, and a CIS link is established with the second slave device based on the updated CIG parameters.
  • the original CIG parameter and the updated CIG parameter contain the same CIG identifier, the number of the included CIS identifiers is different, and the included CIG_Sync_Delay and the corresponding CIS_Sync_Delay of each CIS are different.
  • Step 203 send the CIG parameter update data containing the CIG parameters after the update to n first slave devices, so that each first slave device sends and receives data on the corresponding CIS links based on the updated CIG parameters, and the second slave device is in the Data is sent and received on the CIS link based on the updated CIG parameters.
  • the master device After completing the establishment of the CIS link based on the updated updated CIG parameters, the master device needs to update the CIG parameters of each first slave device in the original CIG.
  • the master device uses a private command to send CIG parameter update data including the updated CIG parameters to each first slave device, and the first slave device replaces the original CIG parameters with the updated CIG parameters, then Maintain synchronization with other first slave devices and second slave devices (such as synchronized audio playback).
  • the CIS link between the first slave device and the master device is maintained, that is, the CIG parameter update process does not affect the first slave device and the master device. Data streaming between master devices.
  • the master device establishes a CIS link with the slave device A and the slave device B.
  • the master device and each slave device perform data transmission and reception process. As shown in Figure 4.
  • the master device establishes a CIS link with a slave device in the CIG, and in the process of sending and receiving data with each slave device through the CIS link, if an add request from the second slave device is received,
  • the CIG parameters of the original slave device in the CIG are updated, so that both the original slave device and the new slave device can be based on the updated slave device.
  • CIG parameters send and receive data on the CIS link; during the device addition process, the CIS link between the master device and the original slave device does not need to be disconnected and rebuilt.
  • the adding efficiency of slave devices is improved, and the dynamic increase of CIS in CIG is realized.
  • the master device is provided with a CIG joining condition, and the master device dynamically adds a CIS to the CIG only if the second slave device satisfies the CIG joining condition, which is described below using an exemplary embodiment.
  • FIG. 5 shows a flowchart of a device adding method provided by another exemplary embodiment of the present application. This embodiment is described by taking the method for the master device shown in FIG. 1 as an example, and the method includes:
  • Step 501 establish a CIS link with n first slave devices, n first slave devices belong to the same CIG, and each first slave device transmits and receives data on the corresponding CIS link based on the original CIG parameters, n is a positive integer .
  • step 201 For the implementation of this step, reference may be made to step 201, and details are not described herein again in this embodiment.
  • Step 502 in response to the adding request of the second slave device, determine whether the second slave device satisfies the CIG joining condition based on the configuration parameters of the second slave device.
  • a Bluetooth low energy asynchronous connection (BLE ACL link) is established between the master device and the second slave device, and the profile parameters of the second slave device are acquired , so as to detect whether the second slave device satisfies the CIG joining condition based on the configuration parameter. If it is satisfied, step 503 is executed, if not, a prompt is given to prompt that the currently connected slave device has reached the upper limit.
  • BLE ACL link Bluetooth low energy asynchronous connection
  • the master device determines whether the CIG joining condition is satisfied based on the transmission delay and transmission bandwidth after adding the CIS.
  • this step may include the following sub-steps.
  • the PDU transmission delay includes the PDU transmission delay from the master device to the slave device and the PDU transmission delay from the slave device to the master device.
  • the master device determines the transmission time when the second slave device and the master device transmit PDU data packets based on the configuration parameters of the second slave device, so as to add the second slave device based on the transmission time and join the second slave device.
  • the configuration parameter may include bit rate, encoding method information, etc. when the second slave device performs data transmission, which is not limited in this embodiment.
  • the master device is based on the transmission time when the master device sends PDU data packets to the second slave device, and the master device to the slave device before adding the second slave device. determine the PDU transmission delay from the master device to the slave device after adding the second slave device; the master device is based on the transmission time when the second slave device sends the PDU data packet to the master device, and the number of times before adding the second slave device. Second, the PDU transmission delay from the slave device to the master device is determined, and the PDU transmission delay from the second slave device to the master device is determined after the second slave device is added.
  • the SDU transmission bandwidth is the transmission bandwidth when the upper layer delivers the SDU to the lower layer.
  • the terminal needs to determine the PDU transmission bandwidth and SDU transmission bandwidth of the CIS corresponding to the second slave device based on the configuration parameters of the second slave device, and detect whether the PDU transmission bandwidth is Greater than or equal to the SDU transmission bandwidth.
  • the master device sets a maximum transmission delay for the CIG during the process of setting the original CIG parameters, where the maximum transmission delay includes Max_Transport_Latency_C_To_P (master to slave) and Max_Transport_Latency_P_To_C (slave to master).
  • the master device After determining the PDU transmission delay, the master device detects whether the PDU transmission delay is less than the maximum transmission delay. The master device detects whether the PDU transmission delay from the master device to the slave device is less than Max_Transport_Latency_C_To_P, and detects whether the PDU transmission delay from the slave device to the master device is less than Max_Transport_Latency_P_To_C.
  • the master device determines that the second slave device is satisfied. Meet the CIG accession conditions.
  • the master device may also use the number of CISs in the CIG as one of the measurement standards, which is not limited in this embodiment.
  • Step 503 in response to the second slave device meeting the CIG joining condition, add the second slave device to the CIG.
  • the master device When the second slave device satisfies the CIG joining condition, the master device will add the second slave device to the CIG. Wherein, after the second slave device is added, the CIG includes the original CIS and the newly added CIS corresponding to the second slave device.
  • Step 504 Establish a CIS link with the second slave device, and send the updated CIG parameters to the second slave device.
  • each CIS in the same CIG realizes the synchronous playback of independent audio streams based on the same SDU Synchronization Reference, and the SDU Synchronization Reference is closely related to the CIS synchronization delay and the CIG synchronization delay. Therefore, when updating the CIG parameters, the terminal needs to determine the CIS synchronization delay (CIS_Sync_Delay) and the CIG synchronization delay (CIG_Sync_Delay) of each CIS after adding the second slave device, so as to send the second slave device including the CIS synchronization delay and CIG synchronization delay.
  • the updated CIG parameters includes at least the CIS synchronization delay corresponding to the CIS of the second slave device.
  • the master device determines the updated CIG parameters based on the configuration parameters of the first slave device and the second slave device in the same manner as determining the original CIG parameters. This embodiment will not be repeated here.
  • the master device first establishes a CIS link with device A and device B.
  • the original CIG parameters include the CIS synchronization delay (CIS_Sync_Delay) corresponding to device A (CIS A).
  • CIS_Sync_Delay for CIS A
  • CIS_Sync_Delay for CIS B
  • CIG synchronization delay CIG synchronization delay
  • the updated CIG parameters include the CIS synchronization delay (CIS_Sync_Delay for CIS A) corresponding to device A (CIS A), and the CIS synchronization corresponding to device B (CIS B) Delay (CIS_Sync_Delay for CIS B), CIS synchronization delay (CIS_Sync_Delay for CIS C) corresponding to device C (CIS C), and CIG synchronization delay (CIG_Sync_Delay) corresponding to CIG.
  • CIS_Sync_Delay for CIS A corresponding to device A
  • CIS B the CIS synchronization corresponding to device B
  • CIG synchronization delay CIG synchronization delay
  • the master device completes the dynamic addition of the slave device, and further, through the following steps 505 to 507, the original slave device is updated with CIG parameters.
  • Step 505 Determine the start time when the second slave device starts to send and receive data.
  • the master device determines the start time when the second slave device starts to send and receive data, and informs each first slave device of the start time. device, so that the first slave device enables the updated CIG parameters from the start time, and continues to use the original CIG parameters before the start time.
  • CIG Event CIG Event
  • each CIS in the CIG completes at least BN times and at most NSE times of data transmission and reception.
  • the values of BN and NSE are related to specific CIS parameters.
  • the master device will record the execution times of the CIG event, that is, after each CIG event is executed, the CIG event count is incremented by one. Therefore, in this embodiment of the present application, the master device uses the CIG event count to indicate the start time when the second slave device starts to send and receive data. In a possible implementation manner, this step may include the following sub-steps.
  • the CIG event count is used to indicate the execution times of the CIG event.
  • a CIG event is the data sending and receiving process of CIS A and CIS B.
  • the master device obtains the current CIG event count as y.
  • the master device determines that the CIG event start count is y+1, and instructs the first slave device to use the updated CIG parameter when the CIG event count reaches y+1. .
  • Step 506 Generate CIG parameter update data including the start time and the updated CIG parameters.
  • the master device After determining the start time and the updated CIG parameters, the master device generates CIG parameter update data including the start time and the updated CIG parameters.
  • the generated CIG parameter update data includes the CIG event start count and the updated CIG parameters.
  • Step 507 Send the CIG parameter update data to the n first slave devices.
  • the master device sends CIG parameter update data to each first slave device.
  • the first slave device After the first slave device receives the CIG parameter update data, it can still send and receive data based on the original CIG parameters before the CIG event count reaches the CIG event start count, and when the CIG event count reaches the CIG event start count, based on the update After the CIG parameters for data transmission and reception.
  • Step 508 in response to completing the CIG parameter update, perform empty packet interaction with the second slave device.
  • the master device After updating the CIG parameters of the first slave device, the master device establishes a data path (datapath) for the newly created CIS by performing empty packet interaction with the second slave device.
  • the second slave device determines that the establishment of the CIS is completed, and feeds back the CIS null packet to the master device; the master device receives the feedback After the CIS is empty, it is determined that the CIS is established.
  • CIS NULL PDU CIS null packet
  • Step 509 in response to receiving the null packet sent by the second slave device, establish a data path for the CIS link corresponding to the second slave device.
  • the master device when receiving an empty packet sent by the second slave device, the master device creates a data path for the CIS link corresponding to the second slave device through a data path creation instruction, wherein the data path is located in The synchronization adaptation layer (ISOchronous Adaptation Layer, ISOAL) between the Host and the Controller, and the data path is instructed by the Host to create the Controller through the Setup ISO Data Path instruction.
  • ISOAL The synchronization adaptation layer
  • the second slave device after receiving the empty packet sent by the master device, the second slave device also establishes a data path for the CIS link, which is not repeated in this embodiment.
  • Step 510 Perform data transmission with the second slave device through the data path and CIS link corresponding to the second slave device.
  • data transmission can be performed between the master device and the second slave device.
  • the host of the master device sends the SDU to the controller through the data path, and the controller encapsulates the SDU into a PDU, so as to send the PDU to the slave device through the CIS link; after the slave device receives the PDU through the CIS link, The Controller decapsulates the PDU to obtain the SDU, and reports the decapsulated SDU to the Host through the data path for processing by the Host.
  • the master device determines whether the second slave device satisfies the CIG joining conditions according to the configuration parameters of the second slave device, and when the conditions are met, adds the second slave device to the current CIG, so as to avoid the master device from being connected to too many at the same time.
  • the CIS is established from the device, which leads to the problem that the transmission delay is too large or even cannot be transmitted.
  • the master device adds the start time when the second slave device starts to send and receive data in the CIG parameter update data, so that the first slave device can update the CIG parameters at an accurate time point, ensuring that the CIG after the update is updated.
  • the execution subject of the device adding method is taken as an example for the main device for description.
  • a bluetooth chip is provided in the main device, and the bluetooth chip includes a main control and a controller, and the main control and the controller communicate through an interface, so as to realize the above-mentioned device adding method.
  • the Bluetooth chip adopts a dual-chip architecture or a single-chip architecture.
  • the main control and the controller are located in different components.
  • the main control is set on the application processor (Application Processor, AP), and the controller is set on the Bluetooth module.
  • the controller interface (Host Controller Interface, HCI) communicates; when the single-chip architecture is used, the main control and the controller are set on the same chip, and the main control and the controller communicate through the Application Programming Interface (API).
  • API Application Programming Interface
  • the controller When dynamically adding devices, the controller is used to establish a CIS link with n first slave devices, the n first slave devices belong to the same CIG, and each first slave device is based on the original CIG parameters in its corresponding Send and receive data on the CIS link, n is a positive integer;
  • the master control is used to add the second slave device to the CIG through the controller in response to the addition request of the second slave device, and establish a CIS link with the second slave device;
  • the controller is further configured to send the CIG parameter update data including the updated CIG parameters to the n first slave devices, so that each first slave device sends and receives data on the corresponding CIS links based on the updated CIG parameters, and the second slave device sends and receives data on the corresponding CIS links.
  • the slave device transmits and receives data on the CIS link based on the updated CIG parameters.
  • the controller when establishing a CIS link for the second slave device, the controller is configured to:
  • Whether the second slave device satisfies the CIG joining condition is determined based on the configuration parameters of the second slave device.
  • the controller when determining whether the CIG joining conditions are met, is specifically used to:
  • the PDU transmission bandwidth and SDU transmission bandwidth of the second slave device corresponding to the CIS determine the PDU transmission bandwidth and SDU transmission bandwidth of the second slave device corresponding to the CIS, and the SDU transmission bandwidth is the transmission bandwidth when the upper layer delivers the SDU to the lower layer;
  • the second slave device In response to the PDU transmission delay being less than the maximum transmission delay set for the CIG, and the PDU transmission bandwidth being greater than the SDU transmission bandwidth, it is determined that the second slave device satisfies the CIG joining condition.
  • the controller when sending the updated CIG parameters to the second slave device, the controller is specifically used to:
  • the updated CIG parameters containing the CIS synchronization delay and the CIG synchronization delay are sent to the second slave device.
  • the host of device A sends the HCI_LE_ADD_CIS_Parameters command (private command) to the controller of device A (Controller A), and after the controller receives the command, it will The included configuration parameters of the second slave device determine whether the CIG joining condition is satisfied. If the conditions are met, a Command Complete command with a status of successful is sent to Host A. After Host A receives the instruction, it instructs Controller A to create a CIS through the HCI_LE_Create_CIS command.
  • Controller A After receiving the command, Controller A sends LL_CIS_REQ to the main control (Host D) of device D, and Host D sends LE CIS Request to the controller (Controller D) of device D. After Controller D accepts the request, it sends HCI_LE_Accept_CIS to Host D.
  • Controller A After receiving the LL_CIS_RSP sent by Host D, Controller A sends LL_CIS_IND to Host D.
  • the LL_CIS_IND contains the updated CIG parameters, thereby completing the construction of the CIS link between Device A and Device D.
  • the controller when sending the updated CIG parameter to the first slave device, the controller is configured to:
  • the controller when determining the start time when the second slave device starts to send and receive data, is specifically configured to:
  • the CIG event start count is used to indicate the start time, and the CIG event start count is greater than the current CIG event count;
  • ControllerB and C after ControllerB and C complete the CIG parameter update, they send LE CIS Update Complete to their respective masters (Host B, C) to indicate that the update is complete (including the updated CIS synchronization delay and CIG synchronization delay).
  • the controller is further configured to perform null packet interaction with the second slave device in response to completing the CIG parameter update; in response to receiving the null packet sent by the second slave device, the controller is the second slave device
  • the corresponding CIS link establishes a data path
  • the master control and the controller are further configured to perform data transmission with the second slave device through the data path and the CIS link corresponding to the second slave device.
  • Controller A and Controller D perform empty packet interaction (CIS NULL PDU) to inform their respective HostCIS links that have been established (LE CIS Established).
  • Host A and Host D send LE Setup ISO Data Path commands to their corresponding Controllers to establish a Data Path between Host and Controller.
  • device A and device D can perform data transmission (CIS Data PDU), and the Controller sends the received ISO DATA to the Host for further processing.
  • an embodiment of the present application further provides a Bluetooth chip
  • the Bluetooth chip includes a processor and a memory
  • the memory stores at least one instruction
  • the at least one instruction is loaded and executed by the processor to achieve The device adding method described in the above embodiment.
  • FIG. 9 shows a structural block diagram of an apparatus for adding equipment provided by an embodiment of the present application.
  • the apparatus may include:
  • the first establishment module 901 is configured to establish a CIS link with n first slave devices, the n first slave devices belong to the same CIG, and each of the first slave devices is in the corresponding CIS chain based on the original CIG parameters. Send and receive data on the road, n is a positive integer;
  • a second establishing module 902 configured to add the second slave device to the CIG in response to an adding request of the second slave device, and establish a CIS link with the second slave device;
  • a sending module 903 configured to send the CIG parameter update data including the updated CIG parameters to the n first slave devices, so that each of the first slave devices can be on the corresponding CIS link based on the updated CIG parameters Data is transceived, and the second slave device transmits and receives data on the CIS link based on the updated CIG parameters.
  • the second establishment module 902 includes:
  • a first determining unit configured to, in response to the adding request of the second slave device, determine whether the second slave device satisfies the CIG joining condition based on a configuration parameter of the second slave device;
  • An adding unit configured to add the second slave device to the CIG in response to the second slave device meeting the CIG joining condition
  • a establishing unit configured to establish a CIS link with the second slave device, and send the updated CIG parameter to the second slave device.
  • the first determining unit is used for:
  • the PDU transmission delay includes the PDU transmission delay from the master device to the slave device and the PDU transmission delay from the slave device to the master device;
  • the PDU transmission bandwidth and SDU transmission bandwidth of the second slave device corresponding to the CIS determine the PDU transmission bandwidth and SDU transmission bandwidth of the second slave device corresponding to the CIS, where the SDU transmission bandwidth is the transmission bandwidth when the upper layer delivers the SDU to the lower layer;
  • the second slave device In response to the PDU transmission delay being less than the maximum transmission delay set for the CIG, and the PDU transmission bandwidth being greater than the SDU transmission bandwidth, it is determined that the second slave device satisfies the CIG joining condition.
  • the establishment unit is used for:
  • the updated CIG parameters including the CIS synchronization delay and the CIG synchronization delay are sent to the second slave device.
  • the sending module 903 includes:
  • a second determining unit configured to determine the start moment when the second slave device starts to send and receive data
  • a generating unit configured to generate the CIG parameter update data including the start time and the updated CIG parameter
  • a sending unit configured to send the CIG parameter update data to the n first slave devices.
  • the second determining unit is used for:
  • the CIG event count is used to represent the execution times of the CIG event, and each CIS in the CIG in each CIG event completes data transmission and reception;
  • the CIG event start count being used to indicate the start time, and the CIG event start count being greater than the current CIG event count
  • the generating unit is used for:
  • the CIG parameter update data is generated including the CIG event start count and the updated CIG parameters.
  • the device further includes:
  • an empty packet interaction module configured to perform empty packet interaction with the second slave device in response to completing the CIG parameter update
  • the third establishment module is used to establish a data path for the CIS link corresponding to the second slave device in response to receiving the empty packet sent by the second slave device;
  • the transmission module is configured to perform data transmission with the second slave device through the data path and the CIS link corresponding to the second slave device.
  • the master device establishes a CIS link with a slave device in the CIG, and in the process of sending and receiving data with each slave device through the CIS link, if an add request from the second slave device is received,
  • the CIG parameters of the original slave device in the CIG are updated, so that both the original slave device and the new slave device can be based on the updated slave device.
  • CIG parameters send and receive data on the CIS link; during the device addition process, the CIS link between the master device and the original slave device does not need to be disconnected and rebuilt.
  • the adding efficiency of slave devices is improved, and the dynamic increase of CIS in CIG is realized.
  • FIG. 10 shows a structural block diagram of an electronic device with a Bluetooth function provided by an exemplary embodiment of the present application.
  • the electronic device 1000 may be a smart phone, a tablet computer, a wearable device, or the like.
  • the electronic device 1000 in this application may include one or more of the following components: a processor 1010 , a memory 1020 and a Bluetooth chip 1030 .
  • Processor 1010 may include one or more processing cores.
  • the processor 1010 uses various interfaces and lines to connect various parts of the entire electronic device 1000, and executes by running or executing the instructions, programs, code sets or instruction sets stored in the memory 1020, and calling the data stored in the memory 1020.
  • the processor 1010 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA programmable logic array
  • the processor 1010 may integrate one or more of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a neural network processor (Neural-network Processing Unit, NPU), and a modem, etc.
  • a central processing unit Central Processing Unit, CPU
  • a graphics processor Graphics Processing Unit, GPU
  • a neural network processor Neural-network Processing Unit, NPU
  • modem etc.
  • the CPU mainly handles the operating system, user interface and applications
  • the GPU is used to render and draw the content that the display needs to display
  • the NPU is used to implement artificial intelligence (AI) functions
  • the modem is used to process wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 1010, but is implemented by a single chip.
  • the memory 1020 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory, ROM).
  • the memory 1020 includes a non-transitory computer-readable storage medium.
  • Memory 1020 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 1020 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions and the like for implementing the following various method embodiments; the storage data area may store data (such as audio data, phone book) and the like created according to the use of the electronic device 1000 .
  • the Bluetooth chip 1030 is a component for implementing the Bluetooth function.
  • the Bluetooth chip 1030 includes two parts, the Host and the Controller (corresponding to different Bluetooth protocol stacks).
  • the Host and the Controller can run on the same chip (single-chip architecture) or on different chips (dual-chip architecture).
  • the Host runs on the processor and the Controller runs on the Bluetooth module; or, both the Host and the Controller run on the Bluetooth chip 1030 .
  • the device adding method provided by the embodiment of the present application is implemented by the Bluetooth chip 1030 by executing an instruction.
  • the structure of the electronic device 1000 shown in the above drawings does not constitute a limitation on the electronic device, and the electronic device may include more or less components than those shown in the drawings, or combinations thereof certain components, or different component arrangements.
  • the electronic device 1000 also includes components such as a display screen, a sensor, a speaker, a microphone, and a power supply, which are not described herein again.
  • Embodiments of the present application further provide a computer-readable storage medium, where at least one program code is stored in the computer-readable storage medium, and the program code is loaded and executed by a Bluetooth chip to implement the device adding method described in each of the above embodiments .
  • a computer program product or computer program comprising computer instructions stored in a computer readable storage medium.
  • the Bluetooth chip of the electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the device adding method provided in various optional implementation manners of the foregoing aspects.
  • references herein to "a plurality” means two or more.
  • "And/or" which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone.
  • the character "/" generally indicates that the associated objects are an "or” relationship.
  • the numbering of the steps described in this document only exemplarily shows a possible execution sequence between the steps. In some other embodiments, the above steps may also be executed in different order, such as two different numbers. The steps are performed at the same time, or two steps with different numbers are performed in a reverse order to that shown in the figure, which is not limited in this embodiment of the present application.
  • adding the second slave device to the CIG, and establishing a CIS link with the second slave device including:
  • determining whether the second slave device satisfies the CIG joining condition based on a configuration parameter of the second slave device includes:
  • the PDU transmission bandwidth and the SDU transmission bandwidth of the second slave device corresponding to the CIS determine the PDU transmission bandwidth and the SDU transmission bandwidth of the second slave device corresponding to the CIS, and the SDU transmission bandwidth is the transmission bandwidth when the upper layer delivers the SDU to the lower layer;
  • the second slave device In response to the PDU transmission delay being less than the maximum transmission delay set for the CIG, and the PDU transmission bandwidth being greater than the SDU transmission bandwidth, it is determined that the second slave device satisfies the CIG joining condition.
  • sending the updated CIG parameters to the second slave device includes:
  • the updated CIG parameters containing the CIS synchronization delay and the CIG synchronization delay are sent to the second slave device.
  • determining the start moment when the second slave device starts to send and receive data includes:
  • the CIG event count is used to indicate the execution times of the CIG event, wherein, the event in which each CIS in the CIG completes data transmission and reception is a CIG event;
  • the CIG event start count is used to indicate the start time, and the CIG event start count is greater than the current CIG event count;
  • the method further includes:
  • a data path is established for the CIS link corresponding to the second slave device.
  • Data transmission is performed with the second slave device through the data path and CIS link corresponding to the second slave device.

Landscapes

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

Abstract

Procédé et appareil d'ajout de dispositif, puce Bluetooth et dispositif, se rapportant au domaine technique de la technologie Bluetooth. Le procédé consiste : à établir des liaisons CIS avec n premiers dispositifs esclaves, les n premiers dispositifs esclaves appartenant à un même CIG, et les premiers dispositifs esclaves recevant et envoyant des données sur des liaisons CIS correspondant respectivement sur la base de paramètres CIG d'origine (201) ; en réponse à une demande d'ajout d'un second dispositif esclave, à ajouter le second dispositif esclave au CIG et à établir une liaison CIS avec le second dispositif esclave (202) ; à envoyer des données de mise à jour de paramètres CIG comprenant des paramètres CIG mis à jour aux n premiers dispositifs esclaves, de sorte que les premiers dispositifs esclaves reçoivent et envoient les données sur les liaisons CIS correspondant respectivement sur la base des paramètres CIG mis à jour, et que le second dispositif esclave reçoive et envoie les données sur la liaison CIS sur la base des paramètres CIG mis à jour (203). Au cours d'un procédé d'ajout d'un dispositif, il n'est pas nécessaire que des liaisons CIS entre un dispositif maître et des dispositifs esclaves d'origine soient déconnectées et reconstruites, de telle sorte que l'efficacité d'ajout d'un dispositif esclave est améliorée, et le CIS est augmenté de manière dynamique.
PCT/CN2022/078820 2021-04-01 2022-03-02 Procédé et appareil d'ajout de dispositif, puce bluetooth et dispositif WO2022206270A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110357763.1 2021-04-01
CN202110357763.1A CN115175149A (zh) 2021-04-01 2021-04-01 设备添加方法、装置、蓝牙芯片及设备

Publications (1)

Publication Number Publication Date
WO2022206270A1 true WO2022206270A1 (fr) 2022-10-06

Family

ID=83457914

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/078820 WO2022206270A1 (fr) 2021-04-01 2022-03-02 Procédé et appareil d'ajout de dispositif, puce bluetooth et dispositif

Country Status (2)

Country Link
CN (1) CN115175149A (fr)
WO (1) WO2022206270A1 (fr)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116193412B (zh) * 2023-03-02 2024-02-06 上海物骐微电子有限公司 蓝牙低功耗音频网络的通信系统、方法及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020124371A1 (fr) * 2018-12-18 2020-06-25 华为技术有限公司 Dispositif et procédé d'établissement de canaux de données
WO2020124611A1 (fr) * 2018-12-22 2020-06-25 华为技术有限公司 Procédé et dispositif de commande de débit
WO2020132839A1 (fr) * 2018-12-24 2020-07-02 华为技术有限公司 Procédé et dispositif de transmission de données audio appliqués à une commutation de modes monaural et binaural d'un écouteur tws
US20200336520A1 (en) * 2019-04-17 2020-10-22 Qualcomm Incorporated Dynamic configuration of stream parameters based on modulation scheme

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020124371A1 (fr) * 2018-12-18 2020-06-25 华为技术有限公司 Dispositif et procédé d'établissement de canaux de données
WO2020124611A1 (fr) * 2018-12-22 2020-06-25 华为技术有限公司 Procédé et dispositif de commande de débit
WO2020132839A1 (fr) * 2018-12-24 2020-07-02 华为技术有限公司 Procédé et dispositif de transmission de données audio appliqués à une commutation de modes monaural et binaural d'un écouteur tws
US20200336520A1 (en) * 2019-04-17 2020-10-22 Qualcomm Incorporated Dynamic configuration of stream parameters based on modulation scheme

Also Published As

Publication number Publication date
CN115175149A (zh) 2022-10-11

Similar Documents

Publication Publication Date Title
US20220263883A1 (en) Adaptive audio processing method, device, computer program, and recording medium thereof in wireless communication system
WO2019019486A1 (fr) Procédé et dispositif de configuration de paquet de données en liaison descendante
CN111527733B (zh) 控制双模蓝牙低能耗多媒体装置
US11374623B2 (en) Connected isochronous stream swapping
WO2022206270A1 (fr) Procédé et appareil d'ajout de dispositif, puce bluetooth et dispositif
US20240168703A1 (en) Method, device, and computer program for audio routing in wireless communication system, and recording medium therefor
US20220417743A1 (en) Method, apparatus, and computer program for setting encryption key in wireless communication system, and recording medium for same
US11989485B2 (en) Method, device and computer program for controlling audio data in wireless communication system, and recording medium therefor
US20220353616A1 (en) Method, device, and computer program for controlling and managing state of peripheral device in wireless communication system, and recording medium therefor
WO2022222648A1 (fr) Procédé de réception de données audio, procédé d'envoi de données audio, appareil de réception audio et appareil d'envoi audio
CN114885261A (zh) 耳机组件、无线音频播放系统及其通信方法
EP4142359A1 (fr) Procédé, dispositif et programme informatique pour choisir un canal dans un système de communication sans fil, et support d'enregistrement s'y rapportant
US20220256314A1 (en) Method, apparatus and computer program for broadcast discovery service in wireless communication system, and recording medium therefor
TW202232927A (zh) 可避免聲音中斷的藍牙通信系統及相關的藍牙設備群
WO2022252928A1 (fr) Procédé et appareil de projection d'écran, terminal sans fil, dispositif de projection d'écran et support de stockage
WO2024087219A1 (fr) Procédé et appareil de transmission de données audio, et puce, dispositif électronique et support d'enregistrement
WO2024060750A1 (fr) Procédé et appareil de commutation bluetooth, procédé et appareil de connexion bluetooth, dispositif électronique
WO2024001362A9 (fr) Dispositif d'affichage, dispositif bluetooth et procédé de traitement de données
TWI715175B (zh) 藍牙裝置、操作藍牙裝置的方法及非暫態電腦可讀取記錄媒體
WO2023065881A1 (fr) Procédé et appareil de connexion bluetooth, dispositif électronique et support de stockage
US20230080122A1 (en) Method, device and computer program for cloud-authenticated pairing in wireless communication system, and recording medium therefor
CN117242758A (zh) 通信方法及通信装置

Legal Events

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

Ref document number: 22778454

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22778454

Country of ref document: EP

Kind code of ref document: A1