Connectivity Synchronous Stream Exchange
By dynamically exchanging the ownership of connected synchronization flows in wireless devices, the problem of increased waiting time and bandwidth usage caused by the coexistence of multiple networks is solved, achieving more efficient communication and reducing power consumption.
Patent Information
- Application Number
- CN202180035965.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-15
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-04-15
AI Technical Summary
When multiple wireless networks are used simultaneously, devices may experience coexistence issues, resulting in increased latency and bandwidth usage, and increased power consumption, especially in time-critical communications such as those used by Bluetooth's Advanced Audio Distribution Profile (A2DP) protocol. Standard Bluetooth Basic Rate/Enhanced Data Rate (BR/EDR) communication in progress.
By dynamically exchanging connectivity synchronization flow (CIS) ownership between the local trap device and the remote trap device, CIS exchange is implemented to ensure that the trap device with better quality obtains bidirectional CIS ownership, thereby optimizing the communication process and reducing bandwidth usage and power consumption.
Without involving the source device, dynamic CIS switching can reduce waiting time and bandwidth usage, improve communication efficiency, reduce power consumption, and is suitable for time-critical communication scenarios.
Smart Images

Figure CN115669008B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This patent application claims the benefit of U.S. Non-Provisional Application No. 16 / 884,421, filed on May 27, 2020, and entitled “CONNECTED ISOCHRONOUSSTREAM SWAPPING,” which is assigned to the assignee of the present application and is expressly incorporated herein by reference in its entirety. Technical Field
[0003] Aspects of the present disclosure relate generally to wireless communications, and more particularly to Bluetooth Connectivity Isochronous Stream (CIS) exchanges and the like.
[0004] background
[0005] Wireless communication systems are widely deployed to provide various types of communication content such as voice, data, multimedia, etc. A typical wireless communication system is a multiple access system capable of supporting communication with multiple users by sharing available system resources (e.g., bandwidth, transmit power, etc.). Examples of such multiple access systems include code division multiple access (CDMA) systems, time division multiple access (TDMA) systems, frequency division multiple access (FDMA) systems, orthogonal frequency division multiple access (OFDMA) systems, and other systems. These systems are often deployed in accordance with specifications such as Long Term Evolution (LTE) provided by the Third Generation Partnership Project (3GPP), Ultra Mobile Broadband (UMB) and Evolution Data Optimized (EV-DO) provided by the Third Generation Partnership Project 2 (3GPP2), 802.11 provided by the Institute of Electrical and Electronics Engineers (IEEE).
[0006] Wireless devices are increasingly communicating by using multiple networks simultaneously. In addition, they may compete with other devices for access to the medium. For example, a source device may communicate with a first device based on a first network (e.g., a short-range network such as Bluetooth) while simultaneously communicating with a second device based on a second network (e.g., a medium-range network such as WiFi). At the same time, a third device may communicate based on a third network, thereby interfering with the source device's efforts to communicate on the first network and / or the second network.
[0007] When multiple networks are used simultaneously, coexistence issues arise. For example, a source device may be forced to communicate in bursts on a first network in order to avoid interference with a second network and / or a third network. As a result, latency and bandwidth usage associated with the first network may increase. These improvements may be of particular importance for time-critical communications, such as those operating according to streaming audio protocols such as Bluetooth's Advanced Audio Distribution Profile (A2DP) using standard Bluetooth Basic Rate / Enhanced Data Rate (BR / EDR). New techniques are needed for improving latency, reducing bandwidth usage, and reducing power consumption.
[0008] Overview
[0009] This summary identifies features of some example aspects and is not an exclusive or exhaustive description of the disclosed subject matter. Whether features or aspects are included in or omitted from this summary is not intended to indicate the relative importance of these features. Additional features and aspects are described and will become apparent to those skilled in the art upon reading the following detailed description and viewing the accompanying drawings that form a part of this detailed description.
[0010] An example method performed by a local trap device is disclosed. The method may include establishing a first connected synchronization stream (CIS) for communication with a source device. The first CIS may be one of a bidirectional link or a unidirectional link. The method may also include sending a first CIS indication to a remote trap device. The first CIS indication may inform the remote trap device of the first CIS established between the local trap device and the source device. The method may further include receiving a second CIS indication from the remote trap device. The second CIS indication may inform the local trap device of the second CIS established between the remote trap device and the source device. The second CIS may be the other of a bidirectional link or a unidirectional link. The method may also include determining whether a CIS exchange should be performed. The determination may be made after establishing the first CIS and after receiving the second CIS indication from the remote trap device. The method may further include performing a CIS exchange when it is determined that the CIS exchange should be performed. The CIS exchange may include exchanging ownership of the first CIS and the second CIS with the remote trap device. After completing the CIS exchange, the local trap device and the remote trap device may communicate with the source device according to the second CIS and the first CIS, respectively. The CIS exchange may be performed without involving the source device.
[0011] An example local trap device is disclosed. The local trap device may include a processor, a memory, and a transceiver. The processor, the memory, and / or the transceiver may be configured to establish a first connected synchronization stream (CIS) for communication with a source device. The first CIS may be one of a bidirectional link or a unidirectional link. The processor, the memory, and / or the transceiver may also be configured to send a first CIS indication to a remote trap device. The first CIS indication may inform the remote trap device of the first CIS established between the local trap device and the source device. The processor, the memory, and / or the transceiver may be further configured to receive a second CIS indication from the remote trap device. The second CIS indication may inform the local trap device of the second CIS established between the remote trap device and the source device. The second CIS may be the other of a bidirectional link or a unidirectional link. The processor, the memory, and / or the transceiver may also be configured to determine whether a CIS exchange should be performed. The determination may be made after establishing the first CIS and after receiving the second CIS indication from the remote trap device. The processor, the memory and / or the transceiver may also be configured to perform a CIS exchange when it is determined that a CIS exchange should be performed. The CIS exchange may include exchanging ownership of the first CIS and the second CIS with a remote sink device. After completing the CIS exchange, the local sink device and the remote sink device may communicate with the source device according to the second CIS and the first CIS, respectively. The CIS exchange may be performed without involving the source device.
[0012] Another example local trap device is disclosed. The local trap device may include means for establishing a first connected synchronization stream (CIS) for communication with a source device. The first CIS may be one of a bidirectional link or a unidirectional link. The local trap device may also include means for sending a first CIS indication to a remote trap device. The first CIS indication may inform the remote trap device of the first CIS established between the local trap device and the source device. The local trap device may further include means for receiving a second CIS indication from the remote trap device. The second CIS indication may inform the local trap device of a second CIS established between the remote trap device and the source device. The second CIS may be the other of a bidirectional link or a unidirectional link. The local trap device may also include means for determining whether a CIS exchange should be performed. The determination may be made after the first CIS is established and after the second CIS indication is received from the remote trap device. The local trap device may further include means for performing a CIS exchange when it is determined that a CIS exchange should be performed. The CIS exchange may include exchanging ownership of the first CIS and the second CIS with the remote trap device. After completing the CIS exchange, the local sink device and the remote sink device may communicate with the source device according to the second CIS and the first CIS, respectively. The CIS exchange may be performed without involving the source device.
[0013] An example non-transitory computer-readable medium is disclosed that stores computer-executable instructions for a local trap device. These computer-executable instructions may include one or more instructions that cause the local trap device to establish a first connected synchronization stream (CIS) for communication with a source device. The first CIS may be one of a bidirectional link or a unidirectional link. These computer-executable instructions may also include one or more instructions that cause the local trap device to send a first CIS indication to a remote trap device. The first CIS indication may inform the remote trap device of the first CIS established between the local trap device and the source device. These computer-executable instructions may further include one or more instructions that cause the local trap device to receive a second CIS indication from the remote trap device. The second CIS indication may inform the local trap device of a second CIS established between the remote trap device and the source device. The second CIS may be the other of a bidirectional link or a unidirectional link. These computer-executable instructions may also include one or more instructions that cause the local trap device to determine whether a CIS exchange should be performed. This determination may be made after establishing the first CIS and after receiving the second CIS indication from the remote trap device. The computer executable instructions may also include one or more instructions for causing the local sink device to perform a CIS exchange when determining that a CIS exchange should be performed. The CIS exchange may include exchanging ownership of the first CIS and the second CIS with the remote sink device. After completing the CIS exchange, the local sink device and the remote sink device may communicate with the source device according to the second CIS and the first CIS, respectively. The CIS exchange may be performed without involving the source device.
[0014] Other objects and advantages associated with the various aspects disclosed herein will be apparent to those skilled in the art based on the accompanying drawings and detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings are presented to aid in describing the various aspects of the disclosure and are provided solely for illustration of the aspects and not limitation thereof.
[0017] Figure 1 An example wireless environment according to one or more aspects disclosed is illustrated;
[0018] Figure 2 Explaining Bluetooth TM Stack architecture;
[0019] Figure 3 Another example wireless environment according to one or more aspects disclosed is illustrated;
[0020] Figure 4A and Figure 4B illustrates an example signal flow between devices for exchanging ownership of a connectivity synchronization stream (CIS) according to one or more aspects disclosed;
[0021] Figure 5A-Figure 17 A flow chart illustrating an example method performed by a sink device for exchanging ownership of connected isochronous stream (CIS) and asynchronous connectionless (ACL) links in accordance with one or more aspects disclosed.
[0022] Detailed Description
[0023] Various aspects of the subject matter are provided in the following description and related drawings of specific examples of the disclosed subject matter. Alternative solutions can be designed without departing from the scope of the disclosed subject matter. In addition, well-known elements will not be described in detail or will be omitted to avoid confusing relevant details.
[0024] Figure 1 Generally, a wireless environment 100 is illustrated that includes a sink device 110, another sink device 120, and a source device 130. For example, the sink devices 110, 120 may be Bluetooth TM In one embodiment, the wireless environment 100 includes a receiver and a source device. The receiver and the source device 130 may be a smart phone. The smart phone may be a receiver and the source device 130 ...
[0025] It should be noted that the names "sink" and "source" devices are used for convenience. That is, the role of sink devices 110, 120 is not limited to being a data sink, and the role of source device 130 is not limited to being a data source. One or both of sink devices 110, 120 may also act as a data source. Conversely, source device 130 may act as a data sink. For example, one or more headphones may be configured with a microphone to generate audio data received by a smartphone.
[0026] The local trap device 110 and the source device 130 can communicate with each other on one or more communication links 140. The remote trap device 120 and the source device 130 can communicate with each other on one or more communication links 150. Finally, the local trap device 110 and the remote trap device 120 can communicate with each other on one or more communication links 160. The communication links 140, 150 and / or 160 can be wireless links. For example, the links 140, 150 and / or 160 can be Bluetooth low energy (LE) synchronization channels. Communication can occur in the form of transmitting and receiving data packets. It should be understood that there can be any number of trap devices, and there can also be any number of source devices.
[0027] The local sink device 110 may include a transceiver system 112 (including one or more transceivers), a memory system 114 (including one or more memories), a processing system 116 (including one or more processors), and other components 118. The transceiver system 112 may be configured to transmit and / or receive signals on links 140, 160, and / or any other medium. The transceiver system 112 may be configured to operate according to a Bluetooth protocol, a wireless local area network (WLAN) protocol, a wireless wide area network (WWAN) protocol, and / or any other suitable protocol. As an example, the transceiver system 112 may be configured to transmit and / or receive streaming audio data.
[0028] The memory system 114 may be configured to store data, instructions, or a combination thereof. The memory system 114 may include random access memory (RAM), flash memory, read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, removable disks, CD-ROMs, or any other form of non-transient storage media. As used herein, the term "non-transient" does not exclude any physical storage medium or memory, and in particular does not exclude dynamic memory (e.g., RAM), but only excludes the interpretation that the medium can be interpreted as a transient propagation signal.
[0029] The processing system 116 may be coupled to the transceiver system 112, the memory system 114, and other components 118. The processing system 116 may be configured to perform operations according to instructions stored in the memory system 114. The processing system 116 may be configured to transmit commands to other components of the local sink device 110. These commands may be transceiver commands associated with tuning to a specific frequency, transmitting and receiving according to specific timing, or transferring data to and from the transceiver system 112. Additionally or alternatively, these commands may be memory commands associated with storing and / or retrieving data and / or instructions.
[0030] Other components 118 may include one or more user inputs, one or more user outputs, and / or any other suitable components. The one or more user inputs may include a microphone configured to convert audio (e.g., user voice) into a corresponding electronic signal for transmission. The one or more user outputs may include a speaker configured to receive an electronic signal from the local trap device 110 and convert the electronic signal into an audio signal.
[0031] The remote sink device 120 may include a transceiver system 122, a memory system 124, a processing system 126, and optionally other components 128. The transceiver system 122, the memory system 124, the processing system 126, and the other components 128 may be similar to the transceiver system 112, the memory system 114, the processing system 116, and the other components 118 included in the local sink device 110. For the sake of brevity, further description of these components will be omitted.
[0032] In some implementations, local sink device 110 and remote sink device 120 may be provided together as wireless earphones. For example, the wireless earphones may be configured to play stereo including left and right audio streams to the ears of the listener. Local sink device 110 may transmit the left audio stream while remote sink device 120 transmits the right audio stream, or vice versa.
[0033] The source device 130 may include a transceiver system 132, a memory system 134, a processing system 136, and optional other components 138. The transceiver system 132, the memory system 134, the processing system 136, and the other components 138 may be similar to the transceiver system 112, the memory system 114, the processing system 116, and the other components 118 included in the local sink device 110. For the sake of brevity, further description of these components will be omitted. The source device 130 may include a set-top box, a music player, a video player, an entertainment unit, a navigation device, a personal digital assistant (PDA), a fixed location data unit, a computer, a laptop computer, a tablet device, a communication device, a mobile phone, or any other suitable device.
[0034] Figure 2 Explained the example Bluetooth TM Stack architecture 200. Architecture 200 has several components, including application 210, host 220, host controller interface (HCI) 230, and controller 240. Each of these components may include stack layers. For example, host 220 may include the following layers: Generic Access Profile, Generic Attribute Profile (GATT), Attribute Protocol (ATT), Security Manager, and Logical Link Control and Adaptation Protocol (L2CAP). Controller 240 may include the following layers: Link Layer (LL), Direct Test Mode, and Physical (PHY) Layer. HCI 230 may define a series of commands that host 220 may use to communicate with controller 240 and a series of events that controller 240 may use to communicate with host 220.
[0035] In one aspect, the processing system, memory system, and / or transceiver system of the device may be configured to implement the illustrated architecture 200. For example, the processing system 116, memory system 114, and / or transceiver system 112 of the local sink device 110 may be configured to implement a local application, a local host, a local HCI, and / or a local controller. As another example, the processing system 126, memory system 124, and / or transceiver system 122 of the remote sink device 120 may be configured to implement a remote application, a remote host, a remote HCI, and / or a remote controller. As a further example, the processing system 136, memory system 134, and / or transceiver system 132 of the source device 130 may be configured to implement a source application, a source host, a source HCI, and / or a source controller.
[0036] Between Bluetooth devices, different types of communication links can be established. For the exchange of control data and / or user data, an asynchronous connectionless (ACL) link can be established. But for streaming time-bound data (e.g., audio data), a connected isochronous stream (CIS) link can be established. CIS can be bidirectional or unidirectional.
[0037] Figure 3 The wireless environment 330 is explained in more detail to explain the CIS. The wireless environment 300 includes a local sink device 310 (e.g., a left or right earphone), a remote sink device 320 (e.g., the other of the left or right earphone), and a source device 330 (e.g., a smart phone). The devices 310, 320, 330 may be the same or similar to the devices 110, 120, 130, respectively. A first CIS 345-1 may be established between the local sink device 310 and the source device 330, and a second CIS 345-2 may be established between the remote sink device 320 and the source device 330. The first CIS 345-1 and the second CIS 345-2 (together or individually 345) may be members of a connected synchronization group (CIG) 355. In general, a CIG may have one or more CISs as members. The CISs within the same CIG may have a common timing reference data, which is used to synchronize the synchronous data processing (e.g., rendering audio data) of all receivers by each CIS. The source device 330 may stream synchronization data to the local sink device 310 and the remote sink device 320 on the first and second CISs 345. For example, when streaming music data, the source device 330 may stream left stereo data on one of the CISs 345-1, 345-2 and right stereo data on the other of the CISs 345-1, 345-2.
[0038] The first CIS 345-1 can be bidirectional or unidirectional. When it is bidirectional, the local sink device 310 can stream audio data captured by its microphone to the source device 330. Similarly, the second CIS 345-2 can be bidirectional or unidirectional. In the headset voice usage scenario, it is possible that both headsets include microphones. However, at a given moment in time, only one headset will have its microphone enabled.
[0039] When the CIG is created, a bidirectional CIS may be created between the smartphone and one of the headsets, and a unidirectional CIS may be created between the smartphone and the other of the headsets. In some scenarios, swapping CISs may be desirable. For example, an enabled microphone may stop working. As another example, the battery of the headset may be low. Unfortunately, under conventional mechanisms, CISs cannot be swapped on the fly. Alternatively, the two CISs may be bidirectional. But this is suboptimal because the CIS of the headset whose microphone is not enabled will still use up air time and resources for non-coexisting voice packets from that headset.
[0040] To address these and other issues with conventional connected synchronous data processing, it is proposed to provide a mechanism for exchanging CIS on the fly (i.e., dynamically) so that the headset with better quality obtains ownership of the two-way CIS. More generally, the proposed mechanism can achieve dynamic CIS exchange so that the sink device with more desirable input characteristics obtains ownership of the two-way CIS. In one aspect, ACL ownership can also be exchanged.
[0041] On the one hand, the following can be assumed:
[0042] CISs belonging to the same CIG are exchanged;
[0043] A sink device can be connected to multiple source devices simultaneously;
[0044] Each source device can establish more than one CIG with the sink device;
[0045] • Sink devices may be connected to each other on a transport (eg, a low energy (LE) transport) and a link layer (LL) connection has been established between them. One of the sink devices may be a master and the other may be a slave.
[0046] The proposed technique / mechanism may include the following stages: (1) inform other sink devices of CIS establishment; (2) CIS exchange determination; (3) exchange CIS ownership; (4) organize ACL state information; and (5) exchange ACL ownership. In one or more aspects, stages (4) and (5) may be considered optional.
[0047] These stages are referred to below Figure 4A and Figure 4B Described in more detail, it illustrates the signal flows between the components of the master and slave sink devices and with the source device. Specifically, flows from / to the host and controller of the master sink device (labeled as "m-host" and "m-controller") and flows from / to the host and controller of the slave sink device (labeled as "s-host" and "s-controller") are shown. In addition, although not illustrated, communication between the m-host and the m-controller can be performed via the m-HCI, and communication between the s-host and the s-controller can be performed via the s-HCI.
[0048] (1) Notify other sink devices of the CIS establishment
[0049] When the sink device establishes CIS with the source device, it may inform other sink devices, for example, by sending a CIS indication. Specifically, the controller may send a CIS_ESTABLISHED_IND (CIS_established_IND) protocol data unit (PDU) to the controllers of other sink devices.
[0050] exist Figure 4A In FIG. 1 , it can be seen that when ACL1 and CIS1 are established between the master sink device and the source device, the m-controller sends the master CIS_ESTABLISHED_IND PDU to the s-controller, and the s-controller acknowledges the receipt by sending the corresponding LL ACK. Similarly, when ACL2 and CIS2 are established between the slave sink device and the source device, the s-controller sends the slave CIS_ESTABLISHED_IND PDU to the m-controller, and the m-controller acknowledges the receipt by sending the corresponding LL ACK.
[0051] The CIS_ESTABLISHED_IND PDU may include all information necessary for a CIS exchange that may occur later. The CIS_ESTABLISHED_IND PDU may include one or more of the following fields (parameters):
[0052] A remote public address indicating the public address of the source device with which the CIS has been created;
[0053] CIG_ID indicating the identifier of the CIG of which the CIS is a part;
[0054] CIS_ID used to indicate the identifier of the CIS that needs to be exchanged in the future;
[0055] An access address for indicating an access address of the CIS;
[0056] · Flags used to indicate high speed (HS) and / or encryption;
[0057] · The encoded access address that is set to indicate the encoded access address of the CIS in the case where the CIS is using HS;
[0058] · The CIS_Offset that is used to indicate the time from the ACL anchor of the connection event referenced by the Ref_connEventCount (Reference_Connection Event Count) field to the CIS anchor referenced by the cisEventCounter (cis Event Counter) field;
[0059] · The CIS_Sync_Delay that is used to indicate the CIS_Sync_Delay of the CIS;
[0060] · The Ref_connEventCount (Reference_Connection Event Count) that is set to the connection event counter value for the LE ACL connection between each well device that meets the following requirements:
[0061] currEvent–thresh_val < Ref_connEventCount < currEvent+thresh_val (Current Event – Threshold_Value < Reference_Connection Event Count < Current Event + Threshold_Value)
[0062] where currEvent is the ACL connection event counter for the connection event in which the QLL_CIS_ESTABLISHED_IND PDU is being transmitted
[0063] ;
[0064] · The Max_SDU_S_To_M that is used to indicate the maximum size of the SDU of the host from the slave;
[0065] · The Max_PDU_S_To_M that is used to indicate the maximum size of the PDU from the slave to the master;
[0066] · The Sub_Interval that should indicate the time between the start of a sub-event and the start of the next sub-event of the CIS in the same CIS event;
[0067] · The BN_S_To_M that is used to indicate the BN value used from the slave to the master;
[0068] · The cisEventCounter (cis Event Counter) that is used to indicate the CIS event counter value of the CIS event referenced by the CIS_Offset;
[0069] · The session key that is used to indicate the session key for the CIS and its associated ACL;
[0070] CIS_IV for indicating the initialization vector for CIS.
[0071] (2) CIS exchange confirmation
[0072] The host of the sink device determines that the quality of the input data of the sink device using unidirectional CIS is higher than the quality of the input data of the sink device using bidirectional CIS. The host then requests the controller to NAK the LE packets on the ACL connection and stop LL traffic using HCI commands.
[0073] exist Figure 4A , it is seen that upon determining that a microphone swap is desired, the m-host sends one or more commands to the m-controller. The m-controller responds by NAKing the LE packets from the source device and by stopping LL traffic with the source device. Similarly, the s-host sends one or more commands to the s-controller, which responds by NAKing the LE packets from the source device and by stopping LL traffic with the source device.
[0074] (3) Exchange of CIS ownership
[0075] The host of the master sink device (ie, m-host) can use HCI commands to initiate the exchange of CIS. The master sink device can send a CIS_SWAP_IND PDU to the slave sink device. The CIS_SWAP_IND PDU may include one or more of the following fields (parameters):
[0076] A remote public address indicating the public address of the source device with which the CIS has been created;
[0077] The CIG-ID of the CIS to be exchanged; and
[0078] - A time field indicating the connEventCount (connection event count) at or after which the CIS ownership is exchanged.
[0079] The slave may respond with a link layer acknowledgment. When the connEventCount is equal to the time field, the ownership of the CIS may change. The controllers of the master and slave sink devices may notify their respective hosts.
[0080] exist Figure 4A, it is seen that the m-host initiates a CIS exchange by sending one or more commands (e.g., one or more HCI commands) to the m-controller. The m-controller may in turn send a CIS_SWAP_IND PDU to the s-controller, and the s-controller may respond. Thereafter, when the exchange time is reached, ownership of the CIS is exchanged between the sink devices. After the CIS is exchanged, the synchronization streams received by the master sink device and the slave sink device are exchanged. The m-controller and the s-controller may notify the m-host and the s-host of the completion of the CIS exchange, respectively.
[0081] Note that the CIS exchange can be performed without involving the source device. That is, the source device does not need to have knowledge about the CIS exchange. The exchange can also be performed without involving the m-host and / or the s-host. That is, the CIS exchange can be performed autonomously by the m-controller and / or the s-controller.
[0082] Although not shown, if it is determined that ACL exchange will not be performed, ACL communication can be resumed using the existing ACL. If it is determined that ACL communication is to be resumed, the m-controller can begin ACKing LE packets from the source device and resuming LL traffic with the source device. Similarly, the s-controller can begin ACKing LE packets from the source device and resuming LL traffic with the source device.
[0083] (4) Organization ACL status information
[0084] Optionally, it may also be desirable to exchange ACL ownership when exchanging CIS ownership. In such instances, the controllers of these sink devices may use one or more HCI events to send status information of associated ACL connections to their respective hosts. The hosts of the two sink devices may organize status information to each other and then provide the received status information to their respective controllers.
[0085] exist Figure 4B , it is seen that the m-controller sends subsystem data (e.g., Bluetooth subsystem (BTSS) data) to the m-host in one or more HCI events. The subsystem data may include status information associated with one or more connections of ACL1. Similarly, the s-controller sends subsystem data (e.g., Bluetooth subsystem (BTSS) data) to the m-host in one or more HCI events. The subsystem data may include status information associated with one or more connections of ACL2. Thereafter, the m-host and the s-host send their respective subsystem data to each other. After receiving, the m-host and the s-host send one or more commands to their respective m-controllers and s-controllers to apply the received subsystem data.
[0086] (5) Exchange ACL ownership
[0087] The hosts of the two sink devices can use one or more HCI commands to initiate the exchange of ACLs. Each controller can use the status information provided by the host to synchronize to the ACL connection. If the synchronization is successful, the controller can notify its host and stop synchronization with the existing ACL. The controller does not need to change the Connection_Handle of the ACL. If the controller fails to synchronize within a certain number (e.g., six) of ACL connection events, the controller can indicate the failure to its host and continue to maintain synchronization with the existing ACL.
[0088] exist Figure 4B In the embodiment of the present invention, at the master sink device, the m-host initiates an ACL exchange by providing one or more commands to the m-controller. In response, the m-controller synchronizes the connections of the ACL associated with the subsystem data received from the slave sink device. To complete the restoration of communication with the source device, the m-controller begins ACKing LE packets from the source device and resumes LL traffic with the source device. The m-controller notifies the m-host of the completion of the ACL exchange, for example, through one or more HCI events.
[0089] At the slave sink device, the s-host initiates an ACL exchange by providing one or more commands to the s-controller. In response, the s-controller synchronizes the connections of the ACL associated with the subsystem data received from the master sink device, begins ACKing LE packets from the source device, and resumes LL traffic with the source device. The s-controller notifies the s-host of the completion of the ACL exchange, for example, through one or more HCI events.
[0090] Similar to CIS exchange, ACL exchange can also be performed without involving the source device. That is, the source device does not need to have knowledge about the ACL exchange. ACL exchange can also be performed without involving the m-host and / or s-host, that is, the ACL exchange can be performed autonomously by the m-controller and / or s-controller.
[0091] Figure 5A and Figure 5B Generally illustrated is a flow chart of an example method 500 performed to exchange CIS and optionally ACL from the perspective of a local sink device 110. Between the local sink device 110 and the remote sink device 120, one may be a master and the other may be a slave.
[0092] In block 510, the local sink device 110 may establish a first CIS for communication with the source device 130. The first CIS may be bidirectional or unidirectional. In block 520, the local sink device 110 may also establish a first asynchronous connectionless (ACL) link with the source device 130. Block 520 will be discussed further below with respect to block 570.
[0093] In block 530 , the local sink device 110 may send a first CIS indication to the remote sink device 120 . The first CIS indication may inform the remote sink device 120 of the first CIS established between the local sink device 110 and the source device 130 .
[0094] In block 540, local sink device 110 may receive a second CIS indication from remote sink device 120. The second CIS indication may inform local sink device 110 of a second CIS established for communication between remote sink device 120 and source device 130. The second CIS may also be bidirectional or unidirectional.
[0095] The first and second CIS can be used to stream first and second forward synchronization data (e.g., first and second music audio data), respectively. For example, when they are established, initially, the source device 130 can stream first synchronization data to the local sink device 110 on the first CIS, and can stream second synchronization data to the remote sink device 120 on the second CIS.
[0096] In addition, between the first CIS and the second CIS, one may be bidirectional and the other may be unidirectional. Regardless of which one is unidirectional, the CIS may stream reverse synchronization data (e.g., microphone audio data). For example, if the first (second) CIS is bidirectional, initially (e.g., before performing CIS exchange), the first (second) CIS may be used to stream reverse synchronization data from the local sink device 110 (remote sink device 120) to the source device 130. Note that the terms "forward" and "reverse" are used to indicate that synchronization data is streamed from or to the source device 130 for convenience.
[0097] Which of the first CIS and the second CIS will be bidirectional and which will be unidirectional when established can be determined in several ways. In one aspect, this can be preset in the local trap device 110 and the remote trap device 120. For example, in the case of headphones, headphones typically appear in pairs-for example, left and right. In this example, one can be preset to establish a bidirectional CIS, and the other can be preset to establish a unidirectional CIS. On the other hand, the roles of the local trap device 110 and the remote trap device 120 can be considered. For example, the local trap device 110 and the remote trap device 120 can be configured so that the master establishes one of the bidirectional and unidirectional CIS, and the slave establishes the other of these CIS. On the other hand, the local trap device 110 and the remote trap device 120 can negotiate with each other before establishing the CIS.
[0098] Figure 6 A flowchart illustrating an example process performed by the local sink device 110 to implement blocks 530 and 540. Recall that the local sink device 110 may include a local host and a local controller. The local host may send commands to the local controller via a local host controller interface (HCI), i.e., the local host may issue HCI commands. The local controller may also provide notifications to the local host via the local HCI, i.e., the local controller may provide HCI events.
[0099] To implement block 530, the local controller in block 630 may send a first CIS_ESTABLISHED_IND PDU to the remote sink device 120 (specifically, to the remote controller of the remote sink device 120). To implement block 540, the local controller in block 640 may receive a second CIS_ESTABLISHED_IND PDU from the remote sink device 120 (specifically, from the remote controller of the remote sink device 120).
[0100] As can be seen above, the first CIS_ESTABLISHED_IND PDU may include one or more first CIS parameters (e.g., first remote public address, first CIG_ID, first CIS_ID, etc.) that can be used to exchange CIS in the future. The second CIS_ESTABLISHED_IND PDU may include one or more second CIS parameters and one or more second CIS parameters (e.g., second remote public address, second CIG_ID, second CIS_ID, etc.) that can also be used to exchange CIS in the future.
[0101] Reference Figure 5A After block 540, method 500 may proceed to Figure 5BIn block 550, the local sink device 110 may determine whether a CIS exchange should be performed, i.e., whether CIS ownership should be exchanged. In one aspect, block 550 may be performed after performing blocks 510 (establishing a first CIS) and 530 (receiving a second CIS indication informing a second CIS).
[0102] Fig. 7A and Figure 7B The flowchart of the example process of implementing block 550 by local trap device 110 is explained. Generally speaking, local trap device 110 may include a local input device configured to generate local input data, and remote trap device 120 may include a remote input device configured to generate remote input data. Local and remote input data may belong to the same data type. For example, local and remote input devices may be microphones. Since one of the first and second CIS is unidirectional, this means that one of the local and remote input devices is disabled. In other words, no matter who owns the unidirectional CIS, the input device of the owner is disabled. Fig. 7A and Figure 7B The flowchart of illustrates a process in which the decision whether to perform a CIS exchange is based on the appropriateness of the input from the disabled input device.
[0103] Fig. 7A The process explained in can be performed when the CIS owned by the local trap device 110 is bidirectional. In this example, before any CIS exchange, the first CIS is owned by the local trap device 110. When the owned CIS (e.g., the first CIS) is bidirectional, this means that the local input device is enabled and the remote input device is disabled. In box 710, the local trap device 110 can determine whether the remote input—the input at the remote trap device 120—is more appropriate. For example, the performance of the local input device may deteriorate or may have stopped operating completely. As another example, the local trap device 110 may be low on battery power. The local trap device 110 can communicate with the remote trap device 120 to execute box 710.
[0104] If it is determined that remote input is more appropriate (Y branch from block 710), then in block 720, local sink device 110 may determine that a CIS exchange should be performed. If it is not determined that remote input is more appropriate (N branch from block 710), then in block 730, local sink device 110 may determine that a CIS exchange should not be performed.
[0105] Figure 7BThe process illustrated in can be performed when the owned CIS (e.g., the first CIS) is unidirectional. This means that the local input device is disabled and the remote input device is enabled. In box 715, the local well device 110 can determine whether the local input—the input at the local well device 110—is more appropriate. The local well device 110 can communicate with the remote well device 120 to perform box 715.
[0106] If it is determined that local input is more appropriate (Y branch from block 715), then in block 725, local sink device 110 may determine that CIS swapping should be performed. If it is not determined that local input is more appropriate (N branch from block 735), then in block 735, local sink device 110 may determine that CIS swapping should not be performed.
[0107] Reference Figure 5B , upon determining that a CIS swap should be performed (Y branch from block 550), then in block 560, the local sink device 110 may perform a CIS swap. In one aspect, the CIS swap may include exchanging ownership of the first and second CISs with the remote sink device 120. In other words, after the swap, the first CIS will be owned by the remote sink device 120, and the second CIS will be owned by the local sink device 110. As indicated, the source device 130 need not have any knowledge that the CIS swap occurred.
[0108] Figure 8 Flowchart illustrating an example process performed by local sink device 110 to implement block 560. In block 810, local sink device 110 may stop communicating with source device 130 according to the first CIS. For example, local sink device 110 may stop accepting synchronization streams from source device 130. Local sink device 110 may also stop exchanging LL traffic.
[0109] Fig. 9 Flowchart illustrating an example process performed by the local sink device 110 to implement block 810. In block 910, the local host may issue one or more stop communication commands to the local controller. The stop communication command may be an HCI command. In response to the stop communication command, in block 920, the local controller may NAK the LE packets from the source device 130. Also in response to the stop communication command, in block 930, the local controller may stop LL traffic with the source device 130.
[0110] Reference Figure 8, after or simultaneously with the execution of block 810, the method may proceed to block 820 if the local sink device 110 is the master between the local sink device and the remote sink device 120, and then the method may proceed to block 820. On the other hand, if the local sink device 110 is the slave, the method may proceed to block 830. In general, when it is determined that a CIS exchange is to be performed, it may be desirable to synchronize the timing of the CIS exchange between the local sink device 110 and the remote sink device 120. In one aspect, one of the local sink device 110 and the remote sink device 120 may determine such an exchange moment and notify the other. For example, the master may determine the exchange moment and notify the slave.
[0111] exist Figure 8 In block 820, if the local sink device 110 is the master, the method may proceed to block 820. In block 820, the local sink device may send a first CIS_SWAP_IND PDU to the remote sink device 120. The first CIS_SWAP_IND PDU may indicate when the CIS switch time will arrive. Fig.10 A flowchart illustrating an example process performed by a local sink device 110 to implement block 820. In block 1010, the local host may issue one or more initiate CIS exchange commands to the local controller. The initiate CIS exchange command may be an HCI command. In response to the initiate CIS exchange command, in block 1020, the local controller may send a first CIS_SWAP_IND PDU to the remote sink device 120 (e.g., to the remote controller).
[0112] Reference Figure 8 If the local sink device 110 is a slave, the method may proceed to block 830. In block 830, the local sink device may receive a second CIS_SWAP_IND PDU from the remote sink device 120. The second CIS_SWAP_IND PDU may indicate when the CIS switch time will arrive. Fig.11 Flowchart illustrating an example process performed by the local sink device 110 to implement block 830. In block 1110, the local controller may receive a second CIS_SWAP_IND PDU from a remote sink device (e.g., from a remote controller). In block 1120, the local controller may notify the local host of the received second CIS_SWAP_IND PDU. The local controller may provide one or more HCI events to notify the local host.
[0113] Reference Figure 8 In block 840 , when the CIS exchange time is reached, the local sink device 110 may resume communication with the source device 130 according to the second CIS. That is, the local sink device 110 may receive the second forward synchronization data streamed from the source device 130 . Fig.12Flowchart illustrating an example process performed by local sink device 110 to implement block 840. In block 1210, the local controller may ACK the LE packet from source device 130. In block 1220, the local controller may resume LL traffic with source device 130. In block 1230, the local controller may notify the local host that the CIS exchange is complete. The local controller may provide one or more HCI events to notify the local host.
[0114] With respect to local and remote input devices, observe the following. When the first CIS and the second CIS are bidirectional and unidirectional, respectively, this means that the local sink device 110 will have a bidirectional CIS before the swap and will have a unidirectional CIS after the swap. Thus, the local input device may be enabled before the CIS swap and disabled after the CIS swap.
[0115] On the other hand, when the first CIS and the second CIS are unidirectional and bidirectional links respectively, the situation may be the opposite, i.e., the local sink device 110 will have a unidirectional CIS before the exchange and will have a bidirectional CIS after the exchange. Thus, the local input device may be disabled before the CIS exchange and enabled after the CIS exchange.
[0116] As noted above, when it is decided to swap CIS ownership, ACL ownership can also be swapped. Figure 5A , recall that in block 520, local sink device 110 may establish a first ACL with source device 130 to exchange control data and / or user data. The first ACL may be established before exchanging the CIS.
[0117] If it is determined that ACL ownership should be exchanged in addition to CIS ownership, the method may proceed to Figure 5B In block 570, the local trap device 110 may perform an ACL exchange. In one aspect, the ACL exchange may include exchanging ownership of the first and second ACLs with the remote trap device 120, i.e., the first ACL will be owned by the remote trap device 120, and the second ACL will be owned by the local trap device 110. The second ACL may be established between the remote trap device (120) and the source device (130) to exchange control data and / or user data therebetween. Similar to the ACL, the second ACL may also be established before exchanging the CIS. After completing the ACL exchange, the local trap device 110 and the remote trap device 120 may exchange control data and / or user data with the source device 130 according to the second ACL and the first ACL, respectively. Further, the source device 130 need not have any knowledge that the ACL exchange has occurred.
[0118] Fig.13An example process is illustrated that is performed by local sink device 110 to implement block 570. In block 1310, local sink device 110 may stop communicating with source device 130 in accordance with the first ACL. For example, local sink device 110 may stop exchanging control data and / or user data with source device 130.
[0119] Fig.14 14. A flowchart illustrating an example process performed by the local sink device 110 to implement block 1310. In block 1410, the local host may issue one or more stop communication commands to the local controller. The stop communication command may be an HCI command. In response to the stop communication command, in block 1420, the local controller may NAK the LE packets from the source device 130. Also in response to the stop communication command, in block 1430, the local controller may stop LL traffic with the source device 130.
[0120] Reference Fig.13 , the local sink device 110 may exchange subsystem data with the remote sink device 120 in blocks 1320 and 1330. In block 1320, the local sink device 110 may send first subsystem data (e.g., Bluetooth subsystem (BTSS) data) to the remote sink device 120. The first subsystem data may include first ACL state information associated with one or more connections of the first ACL.
[0121] Fig.15 A flow chart illustrating an example process performed by a local sink device 110 to implement block 1320. In block 1510, the local host may provide first subsystem data to the local host in one or more events. The events may be HCI events. In block 1520, the local host may send the first subsystem data to the remote sink device 120. Specifically, the first subsystem data may be sent to the remote host. The first subsystem data may be sent by a local controller.
[0122] Reference Fig.13 In block 1330, the local sink device 110 may receive second subsystem data (e.g., BTSS data) from the remote sink device 120. The second subsystem data may include second ACL state information associated with one or more connections of the second ACL. In block 1340, the local sink device 110 may apply the received second subsystem data to the local sink device 110.
[0123] Fig.16Flowchart illustrating an example process performed by the local sink device 110 to implement blocks 1330 and 1340. In block 1610, the local host may receive second subsystem data from the remote sink device 120. Specifically, the second subsystem data may be received from the remote host. The second subsystem data may be received by a local controller. In block 1620, the local host may issue one or more application subsystem data commands to the local controller based on the second subsystem data. The application subsystem data commands may be HCI commands. In block 1630, the local controller may apply the second subsystem data according to the application subsystem data commands.
[0124] Reference Fig.13 In block 1350, the local sink device 110 may resume communication with the source device 130 according to the second ACL. That is, the local sink device 110 may exchange control data and / or user data with the source device 130 over the second ACL. Fig.17 17. A flowchart illustrating an example process performed by local sink device 110 to implement block 1350. In block 1705, the local controller may synchronize one or more connections of a second ACL with source device 130. In block 1710, the local controller may ACK LE packets from source device 130. In block 1720, the local controller may resume LL traffic with source device 130. In block 1730, the local controller may notify the local host that the ACL exchange is complete. The local controller may provide one or more HCI events to notify the local host.
[0125] It should be noted that not Figure 5A – Fig.17 All the illustrated blocks need to be executed, that is, some blocks may be optional. Moreover, the numerical references to the blocks in these figures should not be considered as requiring that these blocks should be executed in a particular order. In fact, some blocks may be executed concurrently.
[0126] The terms used herein are only for the purpose of describing specific embodiments, and are not intended to limit any embodiments disclosed herein. As used herein, the singular forms of "one", "an" and "the" are intended to also include plural forms, unless the context clearly indicates otherwise. It will also be further understood that the terms "include", "have", "include" and / or "contain" specify the existence of stated features, integers, steps, operations, elements, and / or components when used in this article, but do not exclude the existence or addition of one or more other features, integers, steps, operations, elements, components and / or their groups. Similarly, the phrase "based on" as used in this article does not necessarily exclude the influence of other factors, and should be interpreted as "at least partially based on" in all cases, rather than, for example, "only based on". In addition, the phrase "coupled to" in the electrical context includes any suitable method for delivering an electrical signal from a first node to a second node. In this way, "coupled to" can include "directly coupled to" (e.g., by direct conductive connection, such as with copper wire, solder ball, etc.) and "indirectly coupled to" (e.g., with one or more intermediate structures therebetween, such as switches, buffers, filters, etc.). It will be further understood that terms such as "top" and "bottom", "left side" and "right side", "vertical" and "horizontal" are relative terms used entirely relative to each other, and do not express or imply any relationship about gravity, manufacturing equipment for manufacturing the components described herein, or some other device to which the components described herein are coupled, mounted, etc. are attached. It should be understood that any reference to an element using designations such as "first", "second", etc. herein generally does not limit the number or order of these elements. Specifically, these designations can be used as a convenient method to distinguish two or more elements or element instances in this article. Thus, the reference to the first element and the second element does not imply that there are only two elements, and does not further imply that the first element and the second element are continuous or that the first element is located in some way before the second element. Moreover, unless otherwise stated, a group of elements may include one or more elements. In addition, terms in the form of "at least one of A, B, or C" or "one or more of A, B, or C" or "at least one of a group including A, B, and C" used in the specification or claims mean "A or B or C or any combination of these elements".
[0127] In view of the above description and explanation, those skilled in the art will appreciate that the various illustrative logic blocks, modules, circuits, and algorithm steps described in conjunction with the aspects disclosed herein can be implemented as electronic hardware, computer software, or a combination of the two. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps are generally described above in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the specific application and the design constraints imposed on the overall system. The technician can implement the described functionality in different ways for each specific application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
[0128] Accordingly, it will be appreciated that, for example, a device or any component of a device may be configured (or made operable or adapted to) provide functionality as taught herein. This may be achieved, for example, by manufacturing (e.g., making) the device or component so that it will provide the functionality; by programming the device or component so that it will provide the functionality; or by using some other suitable implementation technique. As one example, an integrated circuit may be fabricated to provide the necessary functionality. As another example, an integrated circuit may be fabricated to support the necessary functionality and then (e.g., via programming) configured to provide the necessary functionality. As yet another example, a processor circuit may execute code for providing the necessary functionality.
[0129] In addition, the methods, sequences and / or algorithms described in conjunction with the aspects disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software module may reside in a random access memory (RAM), flash memory, read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, removable disks, CD-ROMs, or any other form of non-transient storage medium known in the art. As used herein, the term "non-transient" does not exclude any physical storage medium or memory, and in particular does not exclude dynamic memory (e.g., RAM), but only excludes the interpretation that the medium can be interpreted as a transient propagation signal. An example storage medium is coupled to a processor so that the processor can read / write information from / to the storage medium. In an alternative, the storage medium may be integrated into the processor (e.g., a cache).
[0130] Although the foregoing disclosure shows various illustrative aspects, it should be noted that various changes and modifications may be made to the illustrated examples without departing from the scope as defined in the appended claims. The present disclosure is not intended to be limited to only the specifically illustrated examples. For example, unless otherwise stated, the functions, steps, and / or actions in the method claims according to the various aspects of the present disclosure described herein need not be performed in any particular order. In addition, although certain aspects may be described or claimed in the singular, the plural is also contemplated unless it is explicitly stated to be limited to the singular.
Claims
1. A method performed by a local sink device, comprising: establishing a first communication synchronization stream (CIS) for communication with a source device, the first CIS being one of a bidirectional link or a unidirectional link; Sending a first CIS indication to a remote sink device, wherein the first CIS indication informs the remote sink device of the first CIS established between the local sink device and the source device; receiving a second CIS indication from the remote sink device, the second CIS indication informing the local sink device of a second CIS established between the remote sink device and the source device, the second CIS being the other of the bidirectional link or the unidirectional link; after establishing the first CIS and after receiving the second CIS indication from the remote sink device, determining whether a CIS exchange should be performed; as well as The CIS exchange is performed when it is determined that the CIS exchange should be performed, the CIS exchange including exchanging ownership of the first CIS and the second CIS with the remote sink device, wherein after the CIS exchange is completed, the local sink device and the remote sink device communicate with the source device according to the second CIS and the first CIS, respectively, and wherein the CIS exchange is performed without involving the source device.
2. The method of claim 1, wherein the first CIS and the second CIS belong to the same connected synchronization group (CIG). 3 . The method of claim 1 , wherein the first CIS and the second CIS are used by the source device to stream audio data.
4. The method according to claim 1, wherein the local sink means comprises a local input device configured to generate local input data, Wherein, when the first CIS and the second CIS are a bidirectional link and a unidirectional link respectively, Prior to the CIS exchange, the local input device is enabled, and After the CIS exchange, the local input device is disabled, and Wherein, when the first CIS and the second CIS are a unidirectional link and a bidirectional link respectively, Prior to the CIS exchange, the local input device is disabled, and After the CIS exchange, the local input device is enabled. The method of claim 4 , wherein the local input device is a microphone.
6. The method according to claim 1, wherein the local sink device comprises a local controller, The sending of the first CIS indication includes: sending, by the local controller, a first CIS_ESTABLISHED_IND protocol data unit (PDU) to the remote sink device, the first CIS_ESTABLISHED_IND PDU including a first CIS parameter, and The receiving of the second CIS indication comprises: receiving, by the local controller, a second CIS_ESTABLISHED_IND PDU from the remote sink device, wherein the second CIS_ESTABLISHED_IND PDU comprises a second CIS parameter.
7. The method according to claim 6, wherein the first CIS parameter includes one or more of: a first remote public address indicating a public address of a device associated with the first CIS that has been created; a first CIG_ID indicating an identifier of a connectivity synchronization group (CIG) of which the first CIS is a part; and a first CIS_ID indicating an identifier of a CIS to be exchanged with the first CIS in the future, and The second CIS parameters include one or more of the following: a second remote public address indicating a public address of a device associated with the created second CIS; a second CIG_ID indicating an identifier of a CIG, the second CIS being part of the CIG; and a second CIS_ID indicating an identifier of a CIS to be exchanged with the second CIS in the future.
8. The method according to claim 1, wherein the local sink device and the remote sink device respectively include a local input device and a remote input device, the local input device and the remote input device are respectively configured to generate local input data and remote input data, the local input data and the remote input data are data of the same type, Wherein, when the first CIS and the second CIS are respectively a bidirectional link and a unidirectional link, determining whether the CIS exchange should be performed includes: Determine if remote input is more appropriate; as well as When it is determined that the remote input is more appropriate, determining that the CIS exchange should be performed; as well as When it is not determined that the remote input is more appropriate, determining that the CIS exchange should not be performed, and wherein when the first CIS and the second CIS are a unidirectional link and a bidirectional link, respectively, determining whether the CIS exchange should be performed comprises: Determine whether local input is more appropriate; and When it is determined that the local input is more appropriate, determining that the CIS exchange should be performed; and When it is not determined that the local input is more appropriate, it is determined that the CIS exchange should not be performed.
9. The method of claim 8, wherein the local sink device communicates with the remote sink device upon determining that the remote input is more appropriate and / or upon determining that the local input is more appropriate.
10. The method of claim 8, wherein the local input device and the remote input device are a local microphone and a remote microphone.
11. The method according to claim 1, characterized in that Executing the CIS exchange includes: After determining that the CIS exchange should be performed, ceasing communication with the source device according to the first CIS; When the local sink device is a master and the remote sink device is a slave, sending a first CIS_SWAP_IND protocol data unit (PDU) to the remote sink device, the first CIS_SWAP_IND PDU indicating when a CIS switch time will be reached; When the local sink device is a slave and the remote sink device is a master, receiving a second CIS_SWAP_IND PDU from the remote sink device, the second CIS_SWAP_IND PDU indicating when the CIS switch time will arrive; and When the CIS exchange time is reached, communication with the source device is resumed according to the second CIS.
12. The method according to claim 11, The local sink device comprises a local host and a local controller, and Wherein stopping the communication with the source device comprises: The local host sends a stop communication command to the local controller; NAKing, by the local controller, a low energy (LE) packet from the source device in response to the stop communication command; as well as Link layer (LL) traffic with the source device is stopped by the local controller in response to the stop communication command.
13. The method according to claim 11, The local sink device comprises a local host and a local controller, and The sending of the first CIS_SWAP_IND PDU comprises: The local host sends a CIS exchange initiation command to the local controller; as well as The first CIS_SWAP_IND PDU is sent by the local controller to the remote sink device in response to the initiate CIS switch command.
14. The method according to claim 11, The local sink device comprises a local host and a local controller, and Wherein receiving the second CIS_SWAP_IND PDU comprises: receiving, by the local controller, the second CIS_SWAP_IND PDU from the remote sink device; as well as The local controller notifies the local host of the received second CIS_SWAP_IND PDU.
15. The method according to claim 11, The local sink device comprises a local host and a local controller, and Wherein restoring communication with the source device comprises: ACKing, by the local controller, a low energy (LE) packet from the source device; Resuming, by the local controller, link layer (LL) traffic with the source device; as well as The local host is notified by the local controller of the completion of the CIS exchange.
16. The method of claim 1, further comprising: Before determining whether to perform the CIS exchange, establishing a first asynchronous connection logic (ACL) for exchanging control data and / or user data with the source device; as well as After determining that the CIS exchange should be performed, an ACL exchange is performed, including: exchanging ownership of the first ACL and the second ACL with the remote trap device, the second ACL having been established between the remote trap device and the source device before determining that the CIS exchange should be performed to exchange control data and / or user data therebetween, wherein after completing the ACL exchange, the local trap device and the remote trap device exchange the control data and / or the user data with the source device according to the second ACL and the first ACL, respectively.
17. The method of claim 16, wherein the ACL exchange is performed without involving the source device.
18. The method of claim 16, wherein performing the ACL exchange comprises: After determining that the CIS exchange should be performed, ceasing communication with the source device according to the first ACL; sending first subsystem data to the remote sink device, the first subsystem data comprising first ACL state information associated with one or more connections of the first ACL; receiving second subsystem data from the remote sink device, the second subsystem data comprising second ACL state information associated with one or more connections of the second ACL; applying the received second subsystem data to the local sink device; and Communication with the source device is restored according to the second ACL.
19. The method of claim 18, The local sink device comprises a local host and a local controller, and Wherein stopping the communication with the source device comprises: The local host sends a stop communication command to the local controller; NAKing, by the local controller, a low energy (LE) packet from the source device in response to the stop communication command; as well as Link layer (LL) traffic with the source device is stopped by the local controller in response to the stop communication command.
20. The method of claim 18, The local sink device comprises a local host and a local controller, and The sending of the first subsystem data comprises: providing, by the local controller, the first ACL state information to the local host in one or more events; as well as The first ACL status information is sent by the local host to the remote sink device.
21. The method of claim 18, The local sink device comprises a local host and a local controller, and The receiving of the second subsystem data and the subsystem data received by the application includes: receiving, by the local host, the second subsystem data from the remote sink device; issuing, by the local host, one or more application subsystem data commands to the local controller, wherein the application subsystem data commands are issued based on the second subsystem data; and The second subsystem data is applied by the local controller according to the apply subsystem data command.
22. The method of claim 18, The local sink device comprises a local host and a local controller, and Wherein restoring communication with the source device comprises: synchronizing, by the local controller, one or more connections of the second ACL of the source device with the source device; ACKing, by the local controller, a low energy (LE) packet from the source device; Resuming, by the local controller, link layer (LL) traffic with the source device; as well as The local controller notifies the local host of the completion of the ACL exchange.
23. The method of claim 1, wherein the local sink device and the remote sink device and the source device are Bluetooth devices.
24. A local trap device, comprising: processor; Memory; as well as Transceiver, Wherein the processor, the memory, and / or the transceiver are configured to: establishing a first communication synchronization stream (CIS) for communication with a source device, the first CIS being one of a bidirectional link or a unidirectional link; Sending a first CIS indication to a remote sink device, wherein the first CIS indication informs the remote sink device of the first CIS established between the local sink device and the source device; receiving a second CIS indication from the remote sink device, the second CIS indication informing the local sink device of a second CIS established between the remote sink device and the source device, the second CIS being the other of the bidirectional link or the unidirectional link; after establishing the first CIS and after receiving the second CIS indication from the remote sink device, determining whether a CIS exchange should be performed; as well as The CIS exchange is performed when it is determined that the CIS exchange should be performed, the CIS exchange including exchanging ownership of the first CIS and the second CIS with the remote sink device, wherein after the CIS exchange is completed, the local sink device and the remote sink device communicate with the source device according to the second CIS and the first CIS, respectively, and wherein the CIS exchange is performed without involving the source device.
25. The local sink device of claim 24, wherein the first CIS and the second CIS belong to the same connected in-sync group (CIG).
26. The local sink device of claim 24, wherein the first CIS and the second CIS are used by the source device to stream audio data.
27. The local trap device of claim 24, wherein the local sink means comprises a local input device configured to generate local input data, Wherein, when the first CIS and the second CIS are a bidirectional link and a unidirectional link respectively, Prior to the CIS exchange, the local input device is enabled, and After the CIS exchange, the local input device is disabled, and Wherein, when the first CIS and the second CIS are a unidirectional link and a bidirectional link respectively, Prior to the CIS exchange, the local input device is disabled, and After the CIS exchange, the local input device is enabled.
28. The local sink arrangement of claim 27, wherein the local input device is a microphone.
29. The local trap device of claim 24, wherein the processor, the memory, and / or the transceiver are configured to implement operations of a local controller, Wherein when sending the first CIS indication, the local controller sends a first CIS_ESTABLISHED_IND protocol data unit (PDU) to the remote sink device, the first CIS_ESTABLISHED_IND PDU including a first CIS parameter, and Upon receiving the second CIS indication, the local controller receives a second CIS_ESTABLISHED_IND PDU from the remote sink device, where the second CIS_ESTABLISHED_IND PDU includes a second CIS parameter.
30. The local trap device of claim 29, wherein the first CIS parameter includes one or more of: a first remote public address indicating a public address of a device associated with the first CIS that has been created; a first CIG_ID indicating an identifier of a connectivity synchronization group (CIG) of which the first CIS is a part; and a first CIS_ID indicating an identifier of a CIS to be exchanged with the first CIS in the future, and The second CIS parameters include one or more of the following: a second remote public address indicating a public address of a device associated with the created second CIS; a second CIG_ID indicating an identifier of a CIG, the second CIS being part of the CIG; and a second CIS_ID indicating an identifier of a CIS to be exchanged with the second CIS in the future.
31. The local trap device of claim 24, wherein the local sink device and the remote sink device respectively include a local input device and a remote input device, the local input device and the remote input device are respectively configured to generate local input data and remote input data, the local input data and the remote input data are data of the same type, Wherein when the first CIS and the second CIS are a bidirectional link and a unidirectional link respectively, when determining whether the CIS exchange should be performed, the processor, the memory, and / or the transceiver are configured to: Determine whether remote input is more appropriate; and When it is determined that the remote input is more appropriate, determining that the CIS exchange should be performed; as well as When it is not determined that the remote input is more appropriate, determining that the CIS exchange should not be performed, and Wherein when the first CIS and the second CIS are a unidirectional link and a bidirectional link respectively, when determining whether the CIS exchange should be performed, the processor, the memory, and / or the transceiver are configured to: Determine whether local input is more appropriate; and When it is determined that the local input is more appropriate, determining that the CIS exchange should be performed; as well as When it is not determined that the local input is more appropriate, it is determined that the CIS exchange should not be performed.
32. The local sink device of claim 31, wherein the local sink device communicates with the remote sink device upon determining that the remote input is more appropriate and / or upon determining that the local input is more appropriate.
33. The local sink apparatus of claim 31, wherein the local input device and the remote input device are a local microphone and a remote microphone.
34. The local sink device of claim 31 , wherein when performing the CIS exchange, the processor, the memory, and / or the transceiver are configured to: After determining that the CIS exchange should be performed, ceasing communication with the source device according to the first CIS; When the local sink device is a master and the remote sink device is a slave, sending a first CIS_SWAP_IND protocol data unit (PDU) to the remote sink device, the first CIS_SWAP_IND PDU indicating when a CIS switch time will be reached; When the local sink device is a slave and the remote sink device is a master, receiving a second CIS_SWAP_IND PDU from the remote sink device, the second CIS_SWAP_IND PDU indicating when the CIS switch time will arrive; and When the CIS exchange time is reached, communication with the source device is resumed according to the second CIS.
35. The local trap device of claim 34, wherein the processor, the memory, and / or the transceiver are configured to implement operations of a local host and a local controller, and Wherein when communication with the source device is stopped: The local host sends a stop communication command to the local controller; The local controller NAKs a low energy (LE) packet from the source device in response to the stop communication command; and The local controller stops link layer (LL) traffic with the source device in response to the stop communication command.
36. The local trap device of claim 34, wherein the processor, the memory, and / or the transceiver are configured to implement operations of a local host and a local controller, and When sending the first CIS_SWAP_IND PDU: The local host sends a CIS exchange initiation command to the local controller; and The local controller sends the first CIS_SWAP_IND PDU to the remote sink device in response to the initiate CIS switch command.
37. The local trap device of claim 34, wherein the processor, the memory, and / or the transceiver are configured to implement operations of a local host and a local controller, and When receiving the second CIS_SWAP_IND PDU: The local controller receives the second CIS_SWAP_IND PDU from the remote sink device; and The local controller notifies the local host of the received second CIS_SWAP_IND PDU.
38. The local trap device of claim 34, wherein the processor, the memory, and / or the transceiver are configured to implement operations of a local host and a local controller, and Wherein when resuming communication with the source device: The local controller ACKs a low energy (LE) packet from the source device; The local controller resumes link layer (LL) traffic with the source device; and The local controller notifies the local host of completion of the CIS exchange.
39. The local sink device of claim 31, wherein the processor, the memory, and / or the transceiver are further configured to: Before determining whether to perform the CIS exchange, establishing a first asynchronous connection logic (ACL) for exchanging control data and / or user data with the source device; and After determining that the CIS exchange should be performed, performing the ACL exchange includes: Exchange ownership of the first ACL and the second ACL with the remote sink device, the second ACL having been established between the remote sink device and the source device before determining that the CIS exchange should be performed to exchange control data and / or user data therebetween, wherein after completing the ACL exchange, the local sink device and the remote sink device exchange the control data and / or the user data with the source device according to the second ACL and the first ACL, respectively.
40. The local sink device of claim 39, wherein the ACL exchange is performed without involving the source device.
41. The local sink device of claim 39, wherein when performing the ACL exchange, the processor, the memory, and / or the transceiver are configured to: After determining that the CIS exchange should be performed, ceasing communication with the source device according to the first ACL; sending first subsystem data to the remote sink device, the first subsystem data comprising first ACL state information associated with one or more connections of the first ACL; receiving second subsystem data from the remote sink device, the second subsystem data comprising second ACL state information associated with one or more connections of the second ACL; applying the received second subsystem data to the local sink device; and Communication with the source device is restored according to the second ACL.
42. The local trap device of claim 41, wherein the processor, the memory, and / or the transceiver are configured to implement operations of a local host and a local controller, and Wherein when communication with the source device is stopped: The local host sends a stop communication command to the local controller; The local controller NAKs a low energy (LE) packet from the source device in response to the stop communication command; and The local controller stops link layer (LL) traffic with the source device in response to the stop communication command.
43. The local trap device of claim 41, wherein the processor, the memory, and / or the transceiver are configured to implement operations of a local host and a local controller, and When sending the first subsystem data: The local controller provides the first ACL state information to the local host in one or more events; and The local host sends the first ACL status information to the remote sink device.
44. The local trap device of claim 41, wherein the processor, the memory, and / or the transceiver are configured to implement operations of a local host and a local controller, and When receiving the second subsystem data and the subsystem data received by the application: The local host receives the second subsystem data from the remote sink device; The local host issues one or more application subsystem data commands to the local controller, wherein the application subsystem data commands are issued based on the second subsystem data; and The local controller applies the second subsystem data according to the apply subsystem data command.
45. The local sink device of claim 41, wherein the processor, the memory, and / or the transceiver are configured to implement operations of a local host and a local controller, and Wherein restoring the communication with the source device comprises: the local controller synchronizing one or more connections of the second ACL of the source device; The local controller ACKs a low energy (LE) packet from the source device; The local controller resumes link layer (LL) traffic with the source device; and The local controller notifies the local host of the completion of the ACL exchange.
46. The local sink device of claim 24, wherein the local sink device and the remote sink device and the source device are Bluetooth devices.
47. A local trap device comprising: means for establishing a first communication synchronization stream (CIS) for communication with a source device, the first CIS being one of a bidirectional link or a unidirectional link; means for sending a first CIS indication to a remote sink device, the first CIS indication informing the remote sink device of the first CIS established between the local sink device and the source device; means for receiving a second CIS indication from the remote sink device, the second CIS indication informing the local sink device of a second CIS established between the remote sink device and the source device, the second CIS being the other of the bidirectional link or the unidirectional link; means for determining whether a CIS exchange should be performed after establishing the first CIS and after receiving the second CIS indication from the remote sink device; as well as A device for performing the CIS exchange when it is determined that the CIS exchange should be performed, the CIS exchange including exchanging ownership of the first CIS and the second CIS with the remote sink device, wherein after completing the CIS exchange, the local sink device and the remote sink device communicate with the source device according to the second CIS and the first CIS, respectively, and wherein the CIS exchange is performed without involving the source device.
48. A non-transitory computer readable medium storing computer executable instructions for a local trap device, the computer executable instructions comprising: one or more instructions to cause the local sink device to establish a first communication synchronization stream (CIS) for communication with a source device, the first CIS being one of a bidirectional link or a unidirectional link; causing the local sink device to send one or more instructions of a first CIS indication to a remote sink device, wherein the first CIS indication informs the remote sink device of the first CIS established between the local sink device and the source device; causing the local sink device to receive one or more instructions of a second CIS indication from the remote sink device, the second CIS indication informing the local sink device of a second CIS established between the remote sink device and the source device, the second CIS being the other of the bidirectional link or the unidirectional link; causing the local sink device to determine whether one or more instructions of a CIS exchange should be performed after establishing the first CIS and after receiving the second CIS indication from the remote sink device; and The local trap device is configured to execute one or more instructions of the CIS exchange when determining that the CIS exchange should be performed, wherein the CIS exchange includes exchanging ownership of the first CIS and the second CIS with the remote trap device, wherein after completing the CIS exchange, the local trap device and the remote trap device communicate with the source device according to the second CIS and the first CIS, respectively, and wherein the CIS exchange is performed without involving the source device.
Citation Information
Patent Citations
Connected isochronous stream swapping
US20210376884A1
Method for bluetooth telephone terminal equipment to implement bluetooth earphone application
CN101179302A
Topology switching method, device, system and storage medium based on synchronous link
CN110383767A
