WO2022160287A1 - 一种cis链路调整方法以及相关设备 - Google Patents
一种cis链路调整方法以及相关设备 Download PDFInfo
- Publication number
- WO2022160287A1 WO2022160287A1 PCT/CN2021/074494 CN2021074494W WO2022160287A1 WO 2022160287 A1 WO2022160287 A1 WO 2022160287A1 CN 2021074494 W CN2021074494 W CN 2021074494W WO 2022160287 A1 WO2022160287 A1 WO 2022160287A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- cis
- link
- cis link
- target
- bluetooth
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 101
- 230000005540 biological transmission Effects 0.000 claims abstract description 163
- 230000004044 response Effects 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 7
- 230000002708 enhancing effect Effects 0.000 claims description 5
- 230000008569 process Effects 0.000 abstract description 12
- 238000004891 communication Methods 0.000 description 95
- 238000010586 diagram Methods 0.000 description 18
- 230000008859 change Effects 0.000 description 11
- 238000005516 engineering process Methods 0.000 description 8
- 230000001965 increasing effect Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 5
- 101150073480 CIS1 gene Proteins 0.000 description 4
- 101000687808 Homo sapiens Suppressor of cytokine signaling 2 Proteins 0.000 description 4
- 101100110279 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) ATG31 gene Proteins 0.000 description 4
- 102100024784 Suppressor of cytokine signaling 2 Human genes 0.000 description 4
- BFAKENXZKHGIGE-UHFFFAOYSA-N bis(2,3,5,6-tetrafluoro-4-iodophenyl)diazene Chemical compound FC1=C(C(=C(C(=C1F)I)F)F)N=NC1=C(C(=C(C(=C1F)F)I)F)F BFAKENXZKHGIGE-UHFFFAOYSA-N 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 238000011144 upstream manufacturing Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000000701 chemical imaging Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000001568 sexual effect Effects 0.000 description 1
- 238000012549 training Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/20—Manipulation of established connections
Definitions
- the embodiments of the present application relate to the field of Bluetooth communication, and in particular, to a CIS link adjustment method and related equipment.
- Bluetooth communication technology is a common wireless communication technology.
- Bluetooth technology includes Bluetooth low energy (BLE) technology to realize low-power transmission of data.
- BLE technology data can be transmitted over a connected isochronous stream (CIS) link.
- CIS isochronous stream
- Embodiments of the present application provide a CIS link adjustment method and related equipment, which are used to adjust a CIS link according to a target service, so that data transmission is not interrupted during the link adjustment process, thereby improving the fluency and reliability of data transmission.
- a first aspect of the present application provides a CIS link adjustment method, the method comprising:
- the Bluetooth master device can transmit data with the Bluetooth slave device corresponding to the CIS link through the CIS link.
- the Bluetooth master device may generate a set of CIS link adjustment parameters for each Bluetooth slave device in the at least one Bluetooth slave device, respectively, according to the target service. That is, if the number of Bluetooth slave devices is n, the Bluetooth master device may separately generate a set of CIS link adjustment parameters for each of the n Bluetooth slave devices. Wherein, n is an integer greater than or equal to 1.
- the Bluetooth master device can send the corresponding CIS link adjustment parameters to each Bluetooth slave device to instruct each Bluetooth slave device to dynamically adjust the CIS link according to the corresponding CIS link adjustment parameters.
- the Bluetooth master Since the CIS link is jointly maintained by the Bluetooth master device and the Bluetooth slave device, the adjustment of the CIS link cannot be realized only by the Bluetooth slave device. Therefore, the Bluetooth master also adjusts the CIS link. Specifically, the Bluetooth master device needs to adjust the CIS link with the Bluetooth slave device according to the CIS link adjustment parameter corresponding to the Bluetooth slave device, and the CIS link corresponds to the Bluetooth slave device. For the CIS link between the Bluetooth master device and at least one Bluetooth slave device, the Bluetooth master device and the Bluetooth slave device corresponding to the CIS link can adjust parameters according to the corresponding CIS link to realize the adjustment of the CIS link.
- the Bluetooth master device may generate CIS link adjustment parameters according to the target service, and send the CIS link adjustment parameters to the device corresponding to the CIS link adjustment parameters.
- the Bluetooth slave device so that the Bluetooth master device and the Bluetooth slave device receiving the CIS link adjustment parameter adjust the CIS link between them according to the CIS link adjustment parameter.
- the CIS link adjustment parameters can be sent during the service data transmission process on the CIS link without affecting the service data transmission. Moreover, as long as the Bluetooth master device and the Bluetooth slave device adjust the CIS link according to the CIS link adjustment parameter at the time point indicated by the CIS link adjustment parameter, the CIS link can be adjusted during the transmission of service data. The adjustment is realized during the transmission process of service data, and is the parameter adjustment of the CIS link.
- the CIS link adjustment parameter can indicate a definite time point. From this time point, the Bluetooth master device and the Bluetooth slave device can transmit service data through the adjusted CIS link. The acquisition of CIS link adjustment parameters does not affect the transmission of service data, and the CIS link does not need to be disconnected. Similarly, the parameter adjustment of the CIS link does not affect the transmission of service data, and it is not necessary to disconnect the CIS link. .
- the corresponding CIS link adjustment parameters can be generated according to any target service, so that in the process of service data transmission, the CIS link can be adjusted without interruption, so that the CIS link can be adjusted without interruption.
- the road is adjusted to suit the state of the target service. That is, the CIS link can be seamlessly adjusted for any target service, so that the transmission of service data is not affected or interrupted during the adjustment process, and the timeliness of service data transmission is ensured.
- the Bluetooth master device may transmit the CIS link adjustment parameters through a link update message. Specifically, the Bluetooth master device sends the corresponding CIS link adjustment parameters to each Bluetooth slave device, which may include: the Bluetooth master device sends to each Bluetooth slave device, respectively, including the CIS link adjustment parameters corresponding to the Bluetooth slave device. link update message.
- the transmission of the CIS link adjustment parameters is realized through the link update message, and the Bluetooth master device respectively sends link update messages for different Bluetooth slave devices, and the messages include the corresponding Bluetooth slave devices at the message receiving end.
- CIS link update message is realized through the link update message, and the Bluetooth master device respectively sends link update messages for different Bluetooth slave devices, and the messages include the corresponding Bluetooth slave devices at the message receiving end.
- the specific format of the link update message can be defined.
- the format may include information such as the definition of the data included in the message, the position and length occupied by the data, and the like.
- the format can be fixed or not.
- the CIS link can be adjusted between various Bluetooth master devices and various Bluetooth slave devices through link update messages with a unified format.
- the universality of the solutions described in the examples of this application is increased.
- the data content carried by the link update message or other functions analyzed under the link update can be extended through the unfixed part.
- a certain segment of the link update message is not fixed for transmitting specific data, and the segment can be used to carry the data content not included in the link update message, which enhances the expansibility of the link update message.
- the CIS link adjustment parameters may include target link parameters, synchronization time identifiers, and The target adjustment time, wherein the target link parameter and the synchronization time identifier are used to adjust the CIS link, and the target adjustment time is used to indicate the time to adjust the CIS link. That is, the Bluetooth master device can adjust the CIS link corresponding to the target adjustment time at the time point indicated by the target adjustment time, or at the target adjustment time, according to the target link parameters and the synchronization time identifier.
- the Bluetooth master device when the Bluetooth master device generates and sends the aforementioned three CIS link adjustment parameters, they are all generated or sent in a whole group, and between each parameter in a group, as well as between each parameter, receiving the There is a corresponding relationship between the parameters of the Bluetooth slave device and the adjusted CIS link. Therefore, the adjusted CIS link also corresponds to the target adjustment time, the target link parameter and the synchronization time identifier, and any one of the Bluetooth slave devices that receives the CIS link adjustment parameter is not limited here.
- the CIS link adjustment parameters include the target adjustment time, and the target adjustment time may indicate the time at which the CIS link adjustment occurs. Since both the Bluetooth master device and the Bluetooth slave device acquire the CIS link adjustment parameters, that is, It is said that both the Bluetooth master device and the Bluetooth slave device will know the time point to perform link adjustment, and both sides can start the adjustment at the same time, ensuring the synchronization of link adjustment.
- the time point of the adjustment is synchronized, and the time point of data transmission and reception can be adjusted synchronously based on this time point, as well as the target link parameters and the synchronization time identifier, thereby ensuring the synchronization of data transmission and reception on both sides, and can be adjusted during the link adjustment process. It can effectively avoid the influence of the integrity, timeliness, reliability or accuracy of data transmission due to the misalignment of sending and receiving time.
- the Bluetooth master device has a The adjustment of the link may specifically be the adjustment of the transmission rate of the CIS link.
- the embodiment of the present application can adjust the transmission rate of the CIS link to realize the rate of service data of the target service. so that the service data of the target service can be transmitted through the adjusted CIS link.
- the Bluetooth master device according to the target The service generates a set of CIS link adjustment parameters for each Bluetooth slave device, which may specifically include: the Bluetooth master device obtains the service requirement characteristics of the target service, and the service requirement characteristics are used to indicate the adjustment requirements for at least one of the following items: CIS link, rate of CIS link, real-time performance of CIS link, and anti-interference capability of CIS link. After acquiring the service requirement characteristics, the Bluetooth master device can respectively generate a set of CIS link adjustment parameters for each Bluetooth slave device according to the service requirement characteristics.
- the requirement of the target service can be known through the service requirement feature, and the service requirement characteristic can reflect the adjustment requirement of the target service on the CIS link. Therefore, the adjustment of the CIS link in the embodiment of the present application is more targeted. The adjusted CIS link is more in line with actual needs.
- the Bluetooth master device may acquire service requirement characteristics from the outside or from the inside. Obtaining from the outside may include: the Bluetooth master device receives the service requirement feature from the user; or, the Bluetooth master device receives the service requirement feature from the pointing device. Obtaining from the inside may include: the Bluetooth master device determines or generates the service requirement feature according to the target service.
- the Bluetooth master device can acquire the service requirement feature from the outside or from the inside, and there are various ways to obtain the service requirement feature, which increases the flexibility and achievability of the solution.
- each of the Bluetooth master devices respectively establishes CIS links with multiple Bluetooth slave devices, and multiple CIS links between the Bluetooth master device and multiple Bluetooth slave devices are included in the connection synchronization flow group CIG.
- the CIG may further include the timing relationship of data transmission performed by the multiple CIS links and/or the respective link parameters of the multiple CIS links.
- the Bluetooth master device generates a set of CIS link adjustment parameters for each Bluetooth slave device according to the characteristics of the service requirements, which may specifically include: the Bluetooth master device according to the characteristics of the service requirements, and the timing relationship of data transmission performed by multiple CIS links and/or The respective link parameters of the multiple CIS links, respectively generate a set of CIS link adjustment parameters for each Bluetooth slave device in the multiple Bluetooth slave devices.
- a CIG may include multiple CIS links, and if one of the CIS links is to be adjusted, the data sending and receiving time point of the CIS link will change, which will affect other CIS links in the CIG. The time point at which data is sent and received. Therefore, a set of CIS link adjustment parameters is separately generated for each Bluetooth slave device in the multiple Bluetooth slave devices in combination with the timing relationship of the data transmission of the multiple CIS links and/or the respective link parameters of the multiple CIS links.
- the Bluetooth master device can take the CIG as a whole, according to the adjustment of the sending and receiving time point or duration of at least one of the CIS links, combined with the timing relationship of multiple CIS links in the CIG for data sending and receiving, and adaptively adjust other CISs in the CIG. This ensures that the adjusted data sending and receiving timings between CIS links in the same group of CIGs will not conflict with each other, ensuring the integrity, timeliness, reliability or accuracy, etc.
- the service requirement feature may be used to indicate that the CIS
- the adjustment of the data transmitted by the link may specifically mean that the data transmitted by the CIS link is adjusted from the data of the initial service to the data of the target service.
- the Bluetooth master device generates a set of CIS link adjustment parameters for each Bluetooth slave device, which may specifically include: respectively generating a set of CIS links required for transmitting the data of the target service for each Bluetooth slave device. Adjustment parameters.
- the service requirement feature represents the adjustment requirement for the CIS link brought about by the change of service data due to service switching. Therefore, in the case of business changes, the CIS link can be adjusted in a timely and accurate manner according to the transmission requirements of business data through the characteristics of business requirements, and data transmission will not be interrupted, ensuring the timeliness and accuracy of data transmission.
- the service requirement feature is used to indicate an enhanced CIS chain The received signal quality or anti-interference ability of the channel.
- the Bluetooth master device respectively generates a set of CIS link adjustment parameters for each Bluetooth slave device, which may specifically include: the Bluetooth master device respectively generates for each Bluetooth slave device for enhancing the signal reception quality of the CIS link A set of CIS link tuning parameters.
- the CIS link may be adjusted according to the communication environment.
- the Bluetooth master device can acquire the service requirement characteristics corresponding to the communication interference situation.
- the communication interference situation may be determined in the following manner: according to any one of the channel scanning result, the success rate of sending and receiving, or the signal strength. For example, when the channel scanning result, the success rate of sending and receiving, or the signal strength is less than or equal to a certain threshold, it is determined that the communication interference is strong; otherwise, it is determined that the communication interference is weak.
- the service requirement characteristics and the CIS link adjustment parameters are used to enhance the received signal quality of the CIS link.
- the received signal quality of the adjusted CIS link is higher than that of the unadjusted CIS link.
- the service requirement characteristics and CIS link adjustment parameters are used to improve the transmission rate of the CIS link.
- the transmission rate of the CIS link after adjustment is higher than the transmission rate of the CIS link before adjustment.
- the CIS link is adjusted according to the communication environment, and the received signal quality of the CIS link is improved in the case of strong communication interference, so as to ensure the integrity and reliability of data transmission; in the case of weak communication interference Under the premise of ensuring the quality of data transmission, the bandwidth resources are fully utilized to improve the speed of data transmission.
- any one or any of the above parameters can be detected in real time, so as to determine the communication interference situation according to the above parameters in real time, so as to adjust the CIS link in real time, and realize the adaptation of the CIS link to the changing communication environment. Sexual adjustment.
- the service requirement feature is used to indicate the adjustment of the data path of at least one CIS link in the CIG, Specifically, it can mean that the data path of at least one CIS link in the CIG is adjusted from the data path corresponding to the initial service to the target data path corresponding to the target service.
- the data path is used to indicate the uplink and downlink status of the CIS link;
- the target data path is used to indicate the uplink and downlink status of the CIS link when the CIS link corresponds to the target service.
- the Bluetooth master device respectively generates a set of CIS link adjustment parameters for each Bluetooth slave device, which may specifically include: the Bluetooth master device is each Bluetooth slave device in the plurality of Bluetooth slave devices, respectively generating corresponding A set of CIS link tuning parameters for the target datapath.
- the CIS link adjustment parameter is determined according to the service requirement characteristic representing the adjustment requirement of the data path, and the CIS link adjustment parameter is adjusted according to the CIS link adjustment parameter. path to realize the adjustment of the data path of the CIS link.
- the determination of the CIS link adjustment parameters can also be based on the transmission and reception timing of each CIS link in the CIG, which ensures that the adjusted data transmission and reception timing of each CIS link in the CIG does not conflict with each other, and ensures that the adjusted CIS link does not conflict with each other.
- the communication state of the Bluetooth slave device can be Decide whether to adjust the CIS link. Specifically, after sending a link update message to the Bluetooth slave device:
- the Bluetooth master device If the Bluetooth master device receives a rejection response from the target Bluetooth slave device, the Bluetooth master device disconnects the CIS link with the target Bluetooth slave device; the rejection response indicates that the target Bluetooth slave device is in a busy state, that is, the target Bluetooth slave device The communication resources are occupied and cannot transmit data with the Bluetooth master device.
- the bluetooth master device If the bluetooth master device does not receive the rejection response from the bluetooth slave device, the bluetooth master device adjusts the CIS link according to the target link parameter and the synchronization time flag at the adjustment time.
- the Bluetooth master device can receive a rejection response, and disconnect the CIS chain with the target Bluetooth slave device according to the rejection response. road.
- the bandwidth resources occupied by the CIS link between the Bluetooth master device and the target Bluetooth slave device are released, the waste of bandwidth resources is reduced, and the utilization rate of bandwidth resources is improved.
- the target link parameter is used to adjust the CIS link.
- the transmission rate, the target link parameters may specifically include: target transmission bandwidth, target uplink transmission time, target downlink transmission time, target uplink transmission packet length, target downlink transmission packet length, target uplink physical transmission bandwidth and modulation method, target downlink transmission At least one of physical transmission bandwidth, modulation mode, and target uplink and downlink synchronization time.
- the target link parameter may be specific to at least one of the above-mentioned parameters, and which or which specific parameters the target link parameter is composed of can be flexibly set, which improves the flexibility and achievability of the solution .
- a second aspect of the embodiments of the present application provides a CIS link adjustment method, and the method includes:
- the Bluetooth slave device can transmit service data with the Bluetooth master device through the CIS link.
- the Bluetooth slave device may receive a set of CIS link adjustment parameters from the Bluetooth master device, where the set of CIS link adjustment parameters may be generated according to the target service. After acquiring a set of CIS link adjustment parameters, the Bluetooth slave device can adjust the CIS link according to the set of CIS link adjustment parameters.
- the Bluetooth slave device may accept the CIS link adjustment parameter through a link update message. Specifically, the Bluetooth slave device may receive a link update message from the Bluetooth master device, including the CIS link adjustment parameter corresponding to the Bluetooth slave device.
- the CIS link adjustment parameters may include target link parameters, synchronization time identifiers and The target adjustment time, wherein the target link parameter and the synchronization time identifier are used to adjust the CIS link, and the target adjustment time is used to indicate the time to adjust the CIS link. That is, the Bluetooth master device can adjust the CIS link corresponding to the target adjustment time at the time point indicated by the target adjustment time, or at the target adjustment time, according to the target link parameters and the synchronization time identifier.
- the The adjustment may specifically be the adjustment of the transmission rate of the CIS link.
- a group of CIS links The adjustment parameter can be generated according to the service requirement characteristics of the target service, and the service requirement characteristics can be used to represent at least one of the CIS link, the rate of the CIS link, the real-time performance of the CIS link, and the anti-interference ability of the CIS link. item adjustment requirements.
- the service requirement feature may be acquired by the Bluetooth master device externally or internally.
- Obtaining from the outside may include: the Bluetooth master device receives the service requirement feature from the user; or, the Bluetooth master device receives the service requirement feature from the pointing device.
- Obtaining from the inside may include: the Bluetooth master device determines or generates the service requirement feature according to the target service.
- the Bluetooth slave device may have Multiple, Bluetooth master devices respectively establish CIS links with multiple Bluetooth slave devices, and multiple CIS links between the Bluetooth master device and multiple Bluetooth slave devices are included in the connection synchronization flow group CIG.
- the CIG may further include the timing relationship of data transmission performed by the multiple CIS links and/or the respective link parameters of the multiple CIS links.
- a set of CIS link adjustment parameters may be generated by the Bluetooth master device according to service requirements characteristics, the timing relationship of data transmission performed by multiple CIS links, and/or the respective link parameters of multiple CIS links.
- the service requirement feature may be used to indicate that the CIS
- the adjustment of the data transmitted by the link may specifically mean that the data transmitted by the CIS link is adjusted from the data of the initial service to the data of the target service.
- the set of CIS link adjustment parameters may include a set of CIS link adjustment parameters required to transmit data of the target service.
- the service requirement feature is used to indicate the enhanced CIS chain
- the set of CIS link adjustment parameters includes a set of CIS link adjustment parameters that enhance the signal reception quality of the CIS link.
- the CIS link may be adjusted according to the communication environment.
- the service requirement feature may be acquired by the Bluetooth master device according to the communication interference situation.
- the service requirement feature is used to indicate the adjustment of the data path of at least one CIS link in the CIG, Specifically, it can mean that the data path of at least one CIS link in the CIG is adjusted from the data path corresponding to the initial service to the target data path corresponding to the target service.
- the data path is used to indicate the uplink and downlink status of the CIS link;
- the target data path is used to indicate the uplink and downlink status of the CIS link when the CIS link corresponds to the target service.
- the set of CIS link adjustment parameters includes a set of CIS link adjustment parameters corresponding to the target data path.
- the communication state of the Bluetooth slave device may be Decide whether to adjust the CIS link. Specifically, after the Bluetooth slave device receives a set of CIS link adjustment parameters from the Bluetooth master device, it may further include: if the Bluetooth slave device is in a busy state, sending a rejection response to the Bluetooth master device, and the rejection response is used to disconnect from the Bluetooth device. CIS link between master devices. The Bluetooth slave device disconnects the CIS link.
- the target link parameter is used to adjust the CIS link.
- the transmission rate, the target link parameters may specifically include: target transmission bandwidth, target uplink transmission time, target downlink transmission time, target uplink transmission packet length, target downlink transmission packet length, target uplink physical transmission bandwidth and modulation method, target downlink transmission At least one of physical transmission bandwidth, modulation mode, and target uplink and downlink synchronization time.
- a third aspect of the embodiments of the present application provides a Bluetooth master device, where the Bluetooth master device includes:
- a CIS link is established between the Bluetooth master device and at least one Bluetooth slave device respectively;
- a processor for generating a set of CIS link adjustment parameters for each Bluetooth slave device according to the target service
- the transceiver is used to send the corresponding CIS link adjustment parameter to each Bluetooth slave device respectively, to instruct each Bluetooth slave device to dynamically adjust the CIS link according to the corresponding CIS link adjustment parameter;
- the processor is also used to adjust the CIS link
- the transceiver is further configured to perform data transmission of the target service with at least one Bluetooth device based on the adjusted CIS link.
- the Bluetooth master device is used to implement the method described in the first aspect.
- the Bluetooth master device may be in the form of a Bluetooth headset, a Bluetooth chip, a Bluetooth speaker, etc., which is not limited here.
- a fourth aspect of the embodiments of the present application provides a Bluetooth slave device, where the Bluetooth slave device includes:
- a CIS link is established between the Bluetooth slave device and the Bluetooth master device.
- the transceiver is used to receive a set of CIS link adjustment parameters from the Bluetooth master device, and a set of CIS link adjustment parameters is generated according to the target service;
- the processor is configured to adjust the CIS link according to a set of CIS link adjustment parameters.
- the Bluetooth slave device is used to implement the method described in the second aspect.
- the Bluetooth slave device may be a device form such as a Bluetooth headset, a Bluetooth chip, and a Bluetooth speaker, which is not limited here.
- a fifth aspect of the embodiments of the present application provides a computer-readable storage medium, where a program is stored in the computer-readable storage medium, and when a computer executes the program, the method described in the first aspect or the second aspect is performed.
- a sixth aspect of the embodiments of the present application provides a computer program product.
- the computer program product When the computer program product is executed on a computer, the computer executes the method described in the first aspect or the second aspect.
- a seventh aspect of an embodiment of the present application provides a chip system, the chip system includes at least one processor and a communication interface, the communication interface and the at least one processor are interconnected through a line, and the at least one processor is used to run a computer program or instruction to perform The CIS link adjustment method described in any one of the possible implementation manners of the first aspect or the second aspect.
- the communication interface in the chip may be an input/output interface, a pin, a circuit, or the like.
- the chip system described above in this application further includes at least one memory, where instructions are stored in the at least one memory.
- the memory may be a storage unit inside the chip, such as a register, a cache, etc., or a storage unit of the chip (eg, a read-only memory, a random access memory, etc.).
- FIG. 2 is a schematic flowchart of a CIS link adjustment method provided by an embodiment of the present application
- Fig. 3 is a communication sequence diagram of the CIS link adjustment method that the embodiment of this application provides;
- FIG. 4 is another schematic flowchart of a CIS link adjustment method provided by an embodiment of the present application.
- FIG. 5 is another schematic flowchart of a CIS link adjustment method provided by an embodiment of the present application.
- 6a is a schematic diagram of a CIS link provided by an embodiment of the present application.
- 6b is another communication sequence diagram of the CIS link adjustment method provided by the embodiment of the application.
- FIG. 7 is another schematic flowchart of a CIS link adjustment method provided by an embodiment of the present application.
- FIG. 8 is another communication sequence diagram of the CIS link adjustment method provided by the embodiment of the present application.
- FIG. 9 is another schematic flowchart of a CIS link adjustment method provided by an embodiment of the present application.
- FIG. 10 is another communication sequence diagram of the CIS link adjustment method provided by the embodiment of the present application.
- FIG. 11 is a schematic structural diagram of a Bluetooth master device provided by an embodiment of the application.
- FIG. 12 is a schematic structural diagram of a Bluetooth slave device provided by an embodiment of the present application.
- Embodiments of the present application provide a CIS link adjustment method and related equipment, which are used to adjust a CIS link according to a target service, so that data transmission is not interrupted during the link adjustment process, thereby improving the fluency and reliability of data transmission.
- FIG. 1 is a schematic flowchart of a link change method.
- the Bluetooth master device and the Bluetooth slave device transmit data through the first communication link.
- the original first communication link is disconnected, and a second communication link is established for the new data transmission service, so as to transmit data through the second communication link.
- the Bluetooth communication technology includes a connected isochronous stream (CIS) technology.
- CIS connected isochronous stream
- the embodiment of the present application provides a CIS link adjustment method. Send the CIS link adjustment parameters to the Bluetooth slave device, and adjust the communication link according to the CIS link adjustment parameters, which realizes the adjustment of the CIS link during the data transmission process, so as to realize the adjustment of the CIS link without interruption of data transmission. , in order to adapt to the new data transmission business.
- the new data transmission service is also called the target service, which is not limited here.
- the data transmission requirement is also referred to as a service requirement feature, which is used to indicate the adjustment requirement on the CIS link or the rate of the CIS link corresponding to the target service.
- the adjustment requirement reflected by the service requirement feature may be directed to other parameters besides the rate of the CIS link or the CIS link, such as the real-time performance of the CIS link, the Anti-interference ability, etc., are not limited here.
- FIG. 2 is a schematic flowchart of a method for adjusting a CIS link according to an embodiment of the present application. The method includes:
- the Bluetooth master device transmits the data of the initial service with the Bluetooth slave device through the CIS link.
- a CIS link is established between the Bluetooth master device and the Bluetooth slave device.
- the CIS link is used to transmit data corresponding to the initial service.
- the Bluetooth master device can transmit the data of the initial service with the Bluetooth slave device through the CIS link.
- the initial service data may be audio data.
- the initial service data may also be other data, such as image data, video data, etc., which are not limited here.
- the Bluetooth master device acquires the service requirement feature corresponding to the target service.
- the Bluetooth master device can obtain the service requirement characteristics corresponding to the target service.
- the target service may be a music playback task.
- the target service may also be other services, such as recording service, call service, music playback/recording/call with high anti-interference capability, and high-speed music playback/recording /Calls or low-rate music playback/recording/calls, etc., are not limited here.
- the action of acquiring service requirement characteristics may also occur in other situations, for example, the service corresponding to the data transmitted by the CIS link will change, or the CIS link needs to be adjusted based on the target service. etc., which are not limited here.
- the Bluetooth master device can acquire the service requirement characteristics from the inside or the outside.
- Obtaining from the outside may include receiving an instruction from a user that includes the characteristics of the business requirement.
- the Bluetooth master device can also acquire service requirement characteristics through other external acquisition methods, for example, acquiring service requirement characteristics from a pointing device, etc., which are not limited here.
- acquiring from the inside may include: the Bluetooth master device determines the service requirement feature according to the target service.
- the acquisition method of the target service is not limited, and may be acquired externally or internally.
- the external acquisition method is similar to the external acquisition method of the above-mentioned service requirement characteristics, and will not be repeated here.
- Acquiring the target service from the inside may include: the Bluetooth master device determines the target service according to changes in the communication environment. In addition to the change of the communication environment, the target service can also be generated or determined according to other factors, for example, according to the communication status of the Bluetooth slave device, etc., which is not limited here.
- an example of acquiring the target service internally may include: the Bluetooth master device detects the communication environment, and when the detection result of the communication environment shows that the communication interference in the environment is strong, in this case, the anti-interference capability of the CIS link needs to be improved. If the ongoing service of the CIS link is a music playing service at this time, it can be determined that the target service is a music playing service with high anti-interference capability.
- the Bluetooth master device generates a CIS link adjustment parameter according to the service requirement feature.
- the Bluetooth master device can determine the CIS link adjustment parameter corresponding to the service requirement characteristic according to the service requirement characteristic.
- the CIS link adjustment parameters may include target link parameters.
- the CIS link adjustment parameter may also include other parameters, such as a synchronization time identifier, a target adjustment time, etc., which are not limited here.
- the target link parameter and the synchronization time identifier are used to indicate the adjustment of the transmission rate of the CIS link
- the target adjustment time is used to indicate the time to adjust the CIS link.
- the transmission rate of the CIS link may also be referred to as the rate of the CIS link, which is not limited here.
- the service demand feature in addition to the transmission rate of the CIS link, can also be used to indicate the adjustment of other parameters, such as the CIS link, the real-time performance of the CIS link, and the anti-interference capability of the CIS link. Not limited.
- the process of generating the CIS link adjustment parameters may be as follows: the Bluetooth master device determines the target link parameters according to the service requirement characteristics, and then determines the synchronization time mark and the target adjustment according to the synchronization information of the target link parameters and the current CIS link. time.
- the Bluetooth master device can also determine the target link parameters, the synchronization time identifier and the target adjustment time in other ways, for example, directly according to the characteristics of service requirements, etc., which are not limited here.
- the present invention mainly adjusts the CIS link by adjusting the sending and receiving time of air interface data.
- the present invention can also adjust the CIS link by adjusting other parameters, such as the frequency band of the communication link, the physical modulation method, etc., which are not limited here.
- the sending and receiving time of air interface data may include the target uplink and downlink synchronization time, which is not limited here.
- FIG. 3 is a communication sequence diagram of a link adjustment method provided by an embodiment of the present application.
- M in the figure represents the master, that is, the master of data transmission, which is also called a Bluetooth master device in the embodiment of this application;
- S in the figure represents the slave, that is, the slave of data transmission, which is also called in the embodiment of this application.
- the number of Bluetooth slave devices may be one or multiple, which is not limited here.
- a CIS link is established between the Bluetooth master device and the Bluetooth slave device, and the CIS link is used to transmit data between the Bluetooth master device and the Bluetooth slave device.
- the Bluetooth master device can adjust the CIS link, and the Bluetooth slave device can assist the Bluetooth master device to adjust the CIS link.
- the abscissa in the figure is time
- the rectangular box marked with M represents the downlink data sent by the Bluetooth master device to the Bluetooth slave device
- the rectangular box marked with S represents the uplink data sent by the Bluetooth slave device to the Bluetooth master device.
- CIS CIS technology
- data is transmitted in units of CIS events.
- a CIS event interval is between two CIS event synchronization sending and receiving time points, and a CIS event interval is used to complete one CIS event.
- a CIS event includes one or more CIS sub-events, and a CIS sub-event represents a data reception or transmission. As shown in the sequence diagrams in the first two CIS event intervals in FIG. 3 , in the CIS system, the CIS event interval is used as a period, and CIS events are performed periodically to transmit data through the CIS sub-events in the CIS event.
- the data transmission in the CIS link needs to be performed based on the service requirements corresponding to the services, and the service requirements may include the transmission mode of uplink and downlink data.
- the Bluetooth master device can determine the data packet length of the uplink data and the data packet length of the downlink data according to the transmission mode of the uplink and downlink data, thereby determining the interval between the CIS event and the CIS sub-event.
- the service requirements may also include other parameters, such as the data packet length of the uplink data and the data packet length of the downlink data, etc., which are not limited here.
- the Bluetooth master device can directly determine the interval between the CIS event and the CIS sub-event according to the data packet length of the uplink data and the data packet length of the downlink data.
- the communication requirement is that the downlink data needs to be continuously transmitted, and the uplink data does not need to be transmitted, and the packet length of the downlink data is required to be no less than 5 bytes, it is necessary to ensure that in each CIS sub-event, the downlink bandwidth must be greater than or equal to 5 bytes, and the uplink Bandwidth can be 0.
- service requirements may also include other contents, such as whether to divide data into frames, etc., which are not limited here.
- the business requirement is also called a business requirement feature, that is, the business requirement feature obtained in step 202 .
- the synchronous sending and receiving time point is determined by the CIS sub-event interval. Therefore, it is necessary to determine the corresponding CIS sub-event interval according to the data packet length of the uplink data and the data packet length of the downlink data.
- CIS sub-event interval In addition to the CIS sub-event interval, other parameters can also be determined according to the characteristics of service requirements, such as the physical modulation mode, the maximum number of interactions in a CIS event, etc., which are not limited here.
- the physical modulation mode can affect the amount of data that can be transmitted by the CIS sub-events, that is, can affect the transmission rate of the CIS link.
- the maximum number of interactions (NSE) is determined by the CIS event interval and the CIS sub-event interval. It must be ensured that the product of the NSE and the CIS sub-event interval is not greater than the CIS event interval, otherwise there will be overlap between CIS sub-events and the data will not be normal. transmission.
- the data transmission of the CIS link is determined by the physical modulation method, the packet length of the uplink data, the packet length of the downlink data, whether it is divided into frames, NSE, CIS sub-event interval, etc. parameter influence.
- the CIS link it is necessary to realize the adjustment of the CIS link based on one or some of these parameters, so these parameters may be collectively referred to as CIS link adjustment parameters.
- the Bluetooth master device sends a link update message including the CIS link adjustment parameter to the Bluetooth slave device.
- the Bluetooth master device can send a link update message to the Bluetooth slave device, and the message carries the CIS link adjustment parameters.
- the CIS link adjustment parameter is used for the Bluetooth slave device to adjust the CIS link.
- the link update message can be used by the Bluetooth slave device at the target adjustment time, according to the target link parameters and synchronization time. Identifies to adjust the transmission rate of the first CIS link.
- the link update message is also called CIS_CHANGE_IND.
- the message format of the link update message may be as shown in Table 1.
- CIG_ID indicates the identification number of the CIG event
- CIS_ID indicates the identification number of the CIS event in the CIG event to which it belongs
- the CIS events between multiple slave parties and the master party constitute a CIG event.
- CIG event please refer to The embodiments shown in FIG. 5 to FIG. 7 will not be repeated here.
- Phy_M_to_S represents the physical modulation method of the downlink data from the master to the slave, also known as the target downlink physical transmission bandwidth and modulation method
- Phy_S_to_M represents the physical modulation of the uplink data from the slave to the master, Also known as the target uplink physical transmission bandwidth and modulation mode.
- Max_SDU_M_to_S indicates the maximum packet length of the data packet from the upper layer from the master to the slave; that is, the maximum packet length of the upper layer downlink data packet; that is, the downlink data packet from the bluetooth control layer (btc) maximum package length.
- Framed indicates whether the data packet is divided into frames, that is, whether a Bluetooth uplink and downlink data packet contains multiple user service data packets.
- rfu is an undefined parameter used for subsequent expansion of the content contained in the message.
- Max_SDU_S_to_M indicates the maximum packet length of the data packet from the upper layer from the slave to the master; that is, the maximum packet length of the upstream data packet of the upper layer; that is, the upstream data packet from the bluetooth control layer (btc) maximum package length.
- Max_PDU_M_to_S indicates the maximum packet length of the air interface data of this layer from the master to the slave; that is, the maximum packet length of the downlink air interface data of this layer; that is, the maximum packet length of the downlink air interface data of the Bluetooth host layer (bluetooth host, bth). long.
- Max_PDU_S_to_M indicates the maximum packet length of the air interface data of this layer from the slave to the master; that is, the maximum packet length of the upstream air interface data of this layer; that is, the maximum packet length of the uplink air interface data of the Bluetooth host layer (bluetooth host, bth). long.
- Max_PDU_M_to_S is also called the target downlink transmission data packet length
- Max_PDU_S_to_M is also called the target uplink transmission data packet length
- Max_PDU_M_to_S and Max_PDU_S_to_M are called the target transmission bandwidth.
- NSE represents the maximum number of interactions, that is, the upper limit of the number of CIS sub-events that can be included in a CIS event.
- Sub_interval represents the time interval of a single CIS sub-event.
- the above parameters indicate the status of the CIS link after adjustment. Since the data transmission and reception of the CIS link needs to be performed in strict accordance with the agreed timing between the master and the slave, the adjustment of the CIS link must also agree on a common Adjust the time.
- Ref_counter represents the adjustment time, that is, the time when the Bluetooth master device and the Bluetooth slave device start to adjust the first CIS link.
- CIS_ch_offset represents the offset of the update point relative to the adjustment time, and the update point is Ref_counter_clock (local device time corresponding to Ref_counter)+CIS_ch_offset.
- CIG_Sync_delay indicates the overall transmission delay of CIG events.
- CIS_Sync_delay indicates the transmission delay of the CIS link.
- CIS_ch_offset and Sub_interval are also called synchronization time identifiers, and are used to determine the adjusted synchronization time of the first CIS link, that is, the target uplink and downlink synchronization time. Except for the adjustment time and synchronization time flags, the remaining data in the table are target link parameters, which are used to represent various parameters of the adjusted first CIS link.
- Sub_interval includes the transmission time of the uplink CIS sub-event and the transmission time of the downlink CIS sub-event.
- the transmission time of the uplink CIS sub-event is also referred to as the target uplink transmission time
- the transmission time of the downlink CIS sub-event is also referred to as the target uplink transmission time.
- Target downlink transmission time is also referred to as the target uplink transmission time.
- the Bluetooth master device and the Bluetooth slave device adjust the CIS link according to the CIS link adjustment parameter.
- Both the Bluetooth master device and the Bluetooth slave device have obtained the CIS link adjustment parameters. At this time, the Bluetooth master device and the Bluetooth slave device can adjust the CIS link according to the CIS link adjustment parameters, so that the adjusted CIS link can be used for the transmission target. Business data for the business.
- the Bluetooth master device and the Bluetooth slave device start to adjust the CIS link.
- the update time point is calculated according to the CIS_ch_offset in the CIS_CHANGE_IND after the time is adjusted.
- the update time point may be the start time point of the nth CIS event after the adjustment time, where n is any positive integer, such as 1 or 2, which is not limited here.
- the update time point is determined, and after the update time point, the uplink and downlink data sending and receiving time points of each CIS sub-event are determined according to Sub_interval, so as to realize the adjustment of the CIS link, and also realize the adjustment of the transmission rate of the CIS link.
- the adjustment of the CIS link is realized, and the CIS sub-event interval allocated to the uplink data becomes longer, which is represented as a rectangular box marked with S in the figure. longer, increasing the transmission rate of uplink data.
- the Bluetooth master device and the Bluetooth slave device can also adjust the CIS link according to other target link parameters, which are not limited here.
- the Bluetooth master device and the Bluetooth slave device transmit data of the target service through the adjusted CIS link.
- the adjusted CIS link is adapted to the characteristics of the service requirements, and can be used to transmit the service data of the target service corresponding to the characteristics of the service requirements. For example, if the service requirement characteristic is that the data transmitted by the CIS link is changed from the data of the initial service to the data of the target service, the adjusted CIS link is used to transmit the data of the target service. In addition to transmitting data of different services, the characteristics of service requirements and the adjusted CIS link may also correspond to other requirements, which are not limited here. For example, when the target service is a high-bit-rate data transmission service, the service requirement feature can be that the CIS link is changed from transmitting low-bit-rate data to transmitting high-bit-rate data, and the adjusted CIS link is used to transmit high-bit rate data. rate data, which is not limited here.
- the data of the target service may be audio data.
- the data of the initial service may also be other data, such as video data, etc., which is not limited here.
- the transmission rate of the CIS link is adjusted according to the target link parameter at the adjustment time, and the adjusted CIS link meets the new data transmission requirement.
- the transmission rate of the CIS link is adjusted according to the target link parameter at the adjustment time, and the adjusted CIS link meets the new data transmission requirement.
- a Bluetooth master device may establish a CIS link with multiple Bluetooth slave devices at the same time.
- the parameters and messages generated and sent by the Bluetooth master device are all for each Bluetooth slave device, and the CIS link corresponding to the slave device is also adjusted.
- FIG. 5 or FIG. 6 refer to the description of the embodiment shown in FIG. 5 or FIG. 6 .
- FIG. 4 is a schematic flowchart of a method for adjusting a CIS link provided by an embodiment of the present application. The method includes:
- the data of the initial service is transmitted between the Bluetooth master device and the Bluetooth slave device through the CIS link.
- the Bluetooth master device acquires a service requirement feature corresponding to the target service.
- the Bluetooth master device generates a CIS link adjustment parameter according to the service requirement feature.
- the Bluetooth master device sends a link update message including the CIS link adjustment parameter to the Bluetooth slave device.
- Steps 401 to 404 are similar to steps 201 to 204 in the embodiment shown in FIG. 2 , and are not repeated here.
- the Bluetooth slave device sends a rejection response to the Bluetooth master device.
- the Bluetooth slave device can not only establish a CIS link with the Bluetooth master device, but also establish a communication link with other master devices. If the Bluetooth slave device has established a communication link with other master devices, and within a certain period of time after receiving the link update message from the Bluetooth master device, there are still data transmission tasks with other master devices. Not completed. Then, no data can be transmitted between the Bluetooth slave device and the Bluetooth master device within this period, and in this embodiment of the present application, this state is called a busy state. In this embodiment of the present application, a Bluetooth slave device in a busy state may also be referred to as a target Bluetooth slave device.
- the Bluetooth slave device can send a reject response to the Bluetooth master device to reject the transmission of data over the CIS link.
- the rejection response may further include a time length identifier of the period, which is used to indicate the time length for which data cannot be transmitted with the Bluetooth master device.
- the Bluetooth master device and the Bluetooth slave device disconnect the CIS link.
- the bluetooth master device When the bluetooth master device receives the rejection response and determines that the bluetooth slave device cannot transmit data with the bluetooth master device, the bluetooth master device and the bluetooth slave device can disconnect the CIS link.
- the bluetooth master device can re-determine the target link parameters, the synchronization time identifier and the adjustment time to adjust the CIS link, and the bluetooth slave device can transmit data with the bluetooth master device. time to transmit data through the adjusted CIS link.
- the Bluetooth slave device if the Bluetooth slave device cannot transmit data with the Bluetooth master device, a rejection response is sent to the Bluetooth master device.
- the Bluetooth master device disconnects the first CIS link according to the rejection response, and releases the bandwidth resources of the first CIS link for use in other data transmission tasks, so that the originally unavailable bandwidth resources can be fully utilized and the bandwidth resources are reduced waste, and improve the utilization of bandwidth resources.
- the embodiment of the present application actually adjusts the CIS link, because the adjustment of the CIS link will cause the change of the transmission rate of the CIS link, that is, the change of the transmission rate of the CIS link reflects the adjustment of the CIS link. Therefore, in the embodiments of the present application, the adjustment of the CIS link is referred to as the adjustment of the transmission rate of the CIS link.
- the purpose of adjusting the transmission rate of the CIS link is to adapt to the change of the data transmission service, that is, to realize the data transmission of the target service.
- the target service may correspond to changes in different aspects, and the adjustment methods for the CIS link are also different for different changes. The following will describe the different target services.
- the target service is related to the type of service corresponding to the data transmitted by the CIS link.
- FIG. 5 is a schematic flowchart of a method for adjusting a CIS link according to an embodiment of the present application. The method includes:
- the data of the initial service is transmitted between the Bluetooth master device and the first Bluetooth slave device through the CIS link, and the data of the initial service is transmitted between the Bluetooth master device and the second Bluetooth slave device through the second CIS link.
- the two Bluetooth slave devices are a first Bluetooth slave device and a second Bluetooth slave device.
- this embodiment only takes two Bluetooth slave devices as an example, and does not limit the number of Bluetooth slave devices.
- a first CIS link is established between the Bluetooth master device and the first Bluetooth slave device, and a second CIS link is established between the Bluetooth master device and the second Bluetooth slave device.
- the first CIS link and the second CIS link are used to transmit data corresponding to the initial service, that is, data of the initial service.
- the Bluetooth master device may transmit the first service data with the first Bluetooth slave device through the first CIS link, and transmit the data of the initial service with the second Bluetooth slave device through the second CIS link.
- the data of the initial service may be audio data.
- the data of the initial service may also be other data, such as video data, etc., which is not limited here.
- a CIS communication system is formed among the bluetooth master device, the first bluetooth slave device and the second bluetooth slave device, and the system is used for transmitting data between the bluetooth master device and the two bluetooth slave devices.
- the system includes a master party and multiple slave parties. In the case that the number of slave parties is multiple, the connection relationship between the devices in the communication system is shown in FIG. 4 .
- FIG. 6a is a connection topology diagram between devices in a communication system provided by an embodiment of the present application.
- the master party can be connected with multiple slave parties, such as S1, S2, Sn in Fig. 6a.
- the master can send data from the same source to multiple slave devices connected to it, and can also receive data from each slave device, which is not limited here.
- connection relationships are only examples of connection relationships, and do not constitute a limitation on the number of slave devices.
- the number of slave devices may also be any other integer, such as 1, 3, etc., There is no limitation here.
- Data transmission and various parameters of the communication link are mainly determined by the master.
- the slave party can also send a message to the master party to reflect the situation of the slave party, so that the master party can adjust various parameters according to the situation of the slave party.
- the master will build communication links with multiple slaves, and the master will combine the CIS links with multiple slaves into a connected isochronous flow group (connected isochronous flow group).
- stream group, CIG stream group
- the Bluetooth master device acquires the service requirement feature corresponding to the target service.
- the Bluetooth master device can Obtain the business requirement characteristics corresponding to the target business.
- the service requirement feature is used to represent the data transmitted by the first CIS link and the second CIS link, and is adjusted from the data of the initial service to the data of the target service; wherein, the initial service and the target service belong to different services, and the data of the initial service is
- the CIS link parameters corresponding to the data are also different from the CIS link parameters corresponding to the data of the target service.
- the service requirement feature represents the switching from the initial service to the target service
- the initial service may include audio playback.
- the initial service may also include other services, such as voice assistants, calls, high-bit-rate audio playback/ Voice assistants/calls, low-bit-rate audio playback/voice assistants/calls, etc., are not limited here.
- the target services may include voice assistant, call, audio playback, high-bit-rate audio playback/voice assistant/call, low-bit-rate audio playback/voice assistant/call and other services, as long as they are different from the initial services.
- the Bluetooth master device determines a set of CIS link adjustment parameters for the first Bluetooth slave device and the second Bluetooth slave device respectively according to the service requirement characteristics.
- the Bluetooth master device may determine a set of CIS link adjustment parameters for the first Bluetooth slave device and the second Bluetooth slave device, respectively, according to service requirements.
- the first CIS link and the second CIS link determine the target link parameters, the synchronization time mark and the adjustment time.
- FIG. 6b is a communication sequence diagram of the CIS link adjustment method provided by the embodiment of the present application.
- the communication sequence diagram of the first Bluetooth slave device represents the data transmission and reception sequence of the first Bluetooth slave device, and one CIS1 event interval includes two CIS1 sub-event intervals.
- the communication sequence diagram of the second Bluetooth slave device represents the data transmission and reception sequence of the second Bluetooth slave device, and one CIS2 event interval includes two CIS2 sub-event intervals.
- CIS1 events and CIS2 events form CIG events, and the CIS1 event interval is the same as the CIS2 event interval, which is also the same as the CIG event interval.
- the CIG event may further include a timing relationship of data transmission performed by multiple CIS links in the CIG and/or respective link parameters of the multiple CIS links in the CIG.
- the white rectangular box in the figure represents the data transmission timing between the Bluetooth master device and the first Bluetooth slave device, that is, the data transmission timing of the first CIS link;
- the gray rectangular box represents the Bluetooth master device and the second Bluetooth slave device. , that is, the data transmission timing of the second CIS link.
- the Bluetooth master device it is necessary to ensure that the CIS sub-event of the first CIS link and the CIS sub-event of the second CIS link cannot overlap in time, that is, to ensure that the data of the two CIS links are in time. Up-interleaved transmission.
- the timing of the second CIS link also needs to be changed. Therefore, in a CIS communication system with multiple slave devices, to adjust the first CIS link, it is necessary to adjust the second CIS link.
- the road is also adjusted. According to the demand characteristics, the adjustment parameters for the first CIS link are determined, and the adjustment parameters for the second CIS link for the second CIS link are determined.
- the first CIS link adjustment parameter may include the first target link parameter, the first synchronization moment identifier and the target adjustment moment for the first Bluetooth slave device;
- the second CIS link adjustment parameter may include The second target link parameter, the second synchronization moment identifier and the target adjustment moment of the second Bluetooth slave device.
- slave devices only two slave devices are used as an example, which does not limit the number of slave devices.
- target link parameters and synchronization time identifiers must be respectively determined for m CIS links, where m is an arbitrary integer, which is not limited here.
- the Bluetooth master device sends a first link update message including the first CIS link adjustment parameter to the first Bluetooth slave device.
- the Bluetooth master device can send a first link update message to the first Bluetooth slave device, and the message carries the first CIS link adjustment parameter.
- the first link update message is used for the Bluetooth slave device to adjust the first CIS link according to the first CIS link adjustment parameter.
- the Bluetooth master device sends a second link update message including the second CIS link adjustment parameter to the second Bluetooth slave device.
- the Bluetooth master device can send a second link update message to the second Bluetooth slave device, and the message carries the second CIS link adjustment parameter.
- the second link update message is used by the second Bluetooth slave device to adjust the second CIS link according to the second CIS link adjustment parameter.
- step 504 and step 505 do not have a fixed timing relationship, and step 505 can also be performed before step 504 or at the same time as step 504, as long as it is performed after step 503, which is not limited here.
- the Bluetooth master device and the Bluetooth slave device adjust the first CIS link according to the first CIS link adjustment parameter.
- Both the Bluetooth master device and the first Bluetooth slave device have obtained the first CIS link adjustment parameter, and at this time, the Bluetooth master device and the first Bluetooth slave device can adjust the first CIS link according to the first CIS link adjustment parameter, so that the adjustment The latter first CIS link can be used to transmit the data of the target service.
- the first CIS link after adjustment and the first CIS link before adjustment have different transmission rates.
- the Bluetooth master device and the first Bluetooth slave device can be at the time indicated by the target adjustment time, Adjust the first CIS link according to the first target link parameter and the first synchronization time flag.
- the Bluetooth master device and the second Bluetooth slave device adjust the second CIS link according to the second CIS link adjustment parameter.
- Both the bluetooth master device and the second bluetooth slave device have obtained the second CIS link adjustment parameter.
- the bluetooth master device and the second bluetooth slave device can adjust the second CIS link according to the second CIS link adjustment parameter, so that the adjustment The latter second CIS link can be used to transmit the data of the target service.
- the adjusted second CIS link and the unadjusted second CIS link have different transmission rates.
- the Bluetooth master device and the second Bluetooth slave device can be at the time indicated by the target adjustment time, Adjust the second CIS link according to the second target link parameter and the second synchronization time mark.
- step 507 can also be performed before step 506 or at the same time as step 506, as long as step 506 is performed after step 504, and step 507 is performed after step 505. There is no limitation here.
- the Bluetooth master device and the first Bluetooth slave device transmit data of the target service through the adjusted first CIS link.
- the Bluetooth master device and the second Bluetooth slave device transmit data of the target service through the adjusted second CIS link.
- the demand feature represents the adjustment demand on the CIS link brought about by the service switching. Therefore, when the service changes, the CIS link can be adjusted timely and accurately according to the service requirements through the link update message, and the data transmission will not be interrupted, which ensures the timeliness and accuracy of the data transmission.
- the target service in addition to corresponding to the type of service, also represents requirements in other aspects, such as the state of the communication link, or the data path of the communication link, etc., which are not limited here.
- the target service is related to the state of the communication link.
- FIG. 7 is a schematic flowchart of a link adjustment method provided by an embodiment of the present application. The method includes:
- the Bluetooth master device and the Bluetooth slave device transmit the data of the initial service through the CIS link.
- Step 701 is similar to step 201 in the embodiment shown in FIG. 2 , and details are not repeated here.
- the Bluetooth master device acquires the service requirement feature of the target service.
- the Bluetooth master device can detect the interference situation of the communication environment, also known as the communication interference situation, and determine the demand characteristics according to the communication interference situation. If the communication interference is strong, the target service for improving the anti-jamming capability of the CIS link can be determined, and the service requirement characteristic for improving the anti-jamming capability of the CIS link can also be determined. In this embodiment of the present application, the anti-interference capability is also referred to as received signal quality. That is to say, in the case of strong communication interference, the characteristics of the target service and service requirements are to improve the received signal quality of the CIS link.
- the Bluetooth master device can determine the target service for increasing the transmission rate of the CIS link, and can also determine the service requirement characteristics for increasing the transmission rate of the CIS link. Since increasing the transmission rate is usually accompanied by a decrease in the quality of the received signal, the target service for increasing the transmission rate of the CIS link is determined only when the communication interference is weak.
- the Bluetooth master device in addition to determining the service requirement feature for adjusting the received signal quality of the CIS link according to the communication interference situation, can also obtain the service requirement feature through other means, such as receiving data from the user or the pointing device.
- the determination of the strong signal interference and the weak signal interference may be realized by the channel scanning result. For example, when the channel scan result is less than or equal to a certain threshold, it is determined that the communication interference is strong; otherwise, it is determined that the communication interference is weak.
- the strength of the communication interference may also be determined according to other data, such as the success rate of sending and receiving, signal strength, etc., which are not limited here.
- FIG. 8 is a communication sequence diagram of the CIS link adjustment method provided by the embodiment of the present application.
- the Bluetooth master device can detect that the communication interference is strong, so as to adjust the CIS link at the first adjustment moment, so that the CIS link has higher anti-interference ability; when the interference disappears, the Bluetooth master device can detect the communication interference weak, so the CIS link is adjusted at the second adjustment moment, so that the CIS link has a higher transmission rate.
- the Bluetooth master device determines the CIS link adjustment parameter according to the service requirement feature.
- the Bluetooth master device can determine the CIS link adjustment parameter corresponding to the service requirement characteristic according to the service requirement characteristic of improving the received signal quality of the CIS link.
- the CIS link adjustment parameter may include a target link parameter, a synchronization time identifier, and an adjustment time.
- the received signal quality of the CIS link can be improved by adjusting the physical modulation mode.
- the received signal quality of the CIS link can also be improved by other means, such as reducing the CIS sub-event interval, which is not limited here.
- the transmission rate of the CIS link may be increased by means of adjusting the physical modulation mode, increasing the CIS sub-event interval, and the like.
- the Bluetooth master device sends a link update message including the CIS link adjustment parameter to the Bluetooth slave device.
- the Bluetooth master device and the Bluetooth slave device adjust the CIS link according to the CIS link adjustment parameter.
- the Bluetooth master device and the Bluetooth slave device transmit data of the target service through the adjusted CIS link.
- Steps 704 to 706 refer to steps 204 to 206 in the embodiment shown in FIG. 2 , and details are not repeated here.
- the CIS link is adjusted according to the communication environment, and the received signal quality of the CIS link is improved in the case of strong communication interference, so as to ensure the integrity and reliability of data transmission; in the case of weak communication interference Under the premise of ensuring the quality of data transmission, the bandwidth resources are fully utilized to improve the speed of data transmission.
- the CIS link can be adjusted in real time according to the communication interference situation, so as to realize the adaptive adjustment of the CIS link to the changing communication environment.
- the target service is related to the data path of the communication link.
- FIG. 9 is a schematic flowchart of a link adjustment method provided by an embodiment of the present application. The method includes:
- the Bluetooth master device and the first Bluetooth slave device transmit data of the initial service through the first CIS link, and transmit the data of the initial service with the second Bluetooth slave device through the second CIS link.
- Step 901 is similar to step 501 in the embodiment shown in FIG. 5 , and details are not repeated here.
- the Bluetooth master device acquires the service requirement feature of the target service.
- each CIS sub-event does not necessarily include an uplink data path and a downlink data path.
- uplink data may be received through the first CIS link.
- both the downlink data path and the uplink data path are included; while the second CIS link only includes the downlink data path and does not include the uplink data path.
- the Bluetooth master device determines a set of CIS link adjustment parameters for the first Bluetooth slave device and the second Bluetooth slave device respectively according to the service requirement feature.
- the Bluetooth master device may determine a set of CIS link adjustment parameters for the first Bluetooth slave device and the second Bluetooth slave device, respectively, according to service requirements.
- the first CIS link adjustment parameters for the first Bluetooth slave device may include a first target link parameter for adjusting the first CIS link, a first synchronization moment identifier, and a target adjustment moment;
- the second CIS link adjustment parameter of the two Bluetooth slave devices may include a second target link parameter used to adjust the second CIS link, a second synchronization moment identifier, and a target adjustment moment.
- FIG. 10 is a communication sequence diagram of the CIS link adjustment method provided by the embodiment of the application.
- the uplink data passes through the S1 path, that is, the first CIS chain road transmission.
- the uplink data path of the first CIS link needs to be closed, and the uplink data path of the second CIS link needs to be opened, that is, the S2 path after the uplink data path is changed.
- the Bluetooth master device may set the CIS sub-event interval of the uplink data path of the first CIS link to 0 or a default value for transmitting default data, such as noise reduction reference data, etc., here Not limited.
- the Bluetooth master device sets the sub-event interval of the uplink data path of the second CIS link from 0 or a default value to a fixed value, and the fixed value is used for transmitting uplink data.
- the Bluetooth master device then adaptively determines other target link parameters such as the CIS event interval and update time point according to the change of the uplink data path, which is not limited here.
- the Bluetooth master device sends a first link update message including the first CIS link adjustment parameter to the first Bluetooth slave device.
- the Bluetooth master device sends a second link update message including the second CIS link adjustment parameter to the second Bluetooth slave device.
- the Bluetooth master device and the first Bluetooth slave device adjust the first CIS link according to the first CIS link adjustment parameter.
- the Bluetooth master device and the second Bluetooth slave device adjust the second CIS link according to the second CIS link adjustment parameter.
- the Bluetooth master device and the first Bluetooth slave device transmit data of the target service through the adjusted first CIS link.
- the Bluetooth master device and the second Bluetooth slave device transmit data of the target service through the adjusted second CIS link.
- Steps 904 to 909 refer to steps 506 to 508 in the embodiment shown in FIG. 5 , and details are not repeated here.
- the target link parameter is determined according to the demand feature indicating the adjustment requirement of the data path, and the CIS link is adjusted according to the target link parameter to achieve Adjustments to the data path of the CIS link.
- FIG. 11 is a schematic structural diagram of the Bluetooth master device provided by the embodiment of the present application.
- the Bluetooth master device 1100 includes a processor 1101 and a transceiver 1102 .
- a CIS link is established between the Bluetooth master device 1100 and at least one Bluetooth slave device, respectively.
- the processor 1101 is configured to respectively generate a set of CIS link adjustment parameters for each Bluetooth slave device according to the target service.
- the transceiver 1102 is configured to send corresponding CIS link adjustment parameters to each Bluetooth slave device respectively, so as to instruct each Bluetooth slave device to dynamically adjust the CIS link according to the respective corresponding CIS link adjustment parameters.
- the processor 1101 is further configured to adjust the CIS link.
- the transceiver 1102 is further configured to perform data transmission of the target service with the at least one Bluetooth device based on the adjusted CIS link.
- the CIS link adjustment parameter includes: a target link parameter, a synchronization moment identifier, and a target adjustment moment, wherein the target link parameter and the synchronization moment identifier are used to instruct the adjustment the CIS link, and the target adjustment time is used to indicate the time to adjust the CIS link.
- the processor 1101 is specifically configured to: acquire the service requirement characteristic of the target service, where the service requirement characteristic is used to indicate the requirement for the CIS link, the rate of the CIS link, the The real-time performance of the CIS link and the adjustment requirement of at least one of the anti-interference capabilities of the CIS link; and the set of CIS link adjustment parameters are respectively generated for each Bluetooth slave device according to the service requirement feature.
- the Bluetooth master device establishes CIS links with multiple Bluetooth slave devices respectively, and the communication between the Bluetooth master device and the multiple Bluetooth slave devices
- the multiple CIS links are included in the connection synchronization flow group CIG, and the CIG includes the timing relationship of the multiple CIS links for data transmission and/or the respective link parameters of the multiple CIS links.
- the processor 1101 is specifically configured to, according to the characteristics of the service requirements, and the timing relationship of the data transmission performed by the multiple CIS links, and/or the respective link parameters of the multiple CIS links, for the multiple Bluetooth
- Each Bluetooth slave device in the slave device generates the set of CIS link adjustment parameters respectively.
- the service requirement feature is used to indicate adjustment of the data transmitted by the CIS link, and the data transmitted by the CIS link is adjusted from the data of the initial service to the data of the target service ;
- the processor 1101 is specifically configured to respectively generate the set of CIS link adjustment parameters required for transmitting the data of the target service for each Bluetooth slave device.
- the service requirement feature is used to instruct to enhance the received signal quality of the CIS link; the processor 1101 is specifically configured to, for each Bluetooth slave device, respectively generate a signal for enhancing the CIS link The set of CIS link adjustment parameters of the signal reception quality of the channel.
- the service requirement feature is used to indicate adjustment of the data path of at least one CIS link in the CIG, and the data path of at least one CIS link in the CIG is determined by the initial service The corresponding data path is adjusted to the target data path corresponding to the target service, and the target data path is used to indicate that the at least one CIS link corresponds to the CIS link uplink and downlink status of the target service; the processor 1101 specifically uses and, for each Bluetooth slave device in the plurality of Bluetooth slave devices, the set of CIS link adjustment parameters corresponding to the target data path is respectively generated.
- the transceiver 1102 is further configured to receive a rejection response from the target Bluetooth slave device, where the rejection response indicates that the target Bluetooth slave device is in a busy state; the processor 1101 is further configured to disconnect the CIS link with the target Bluetooth slave device.
- the Bluetooth master device 1100 shown in FIG. 11 is used to perform the actions of the Bluetooth master device, that is, the master device in the aforementioned FIG. 2 to FIG. 10 .
- the bluetooth master device 1100 may be in the form of a bluetooth headset, a bluetooth chip, a bluetooth speaker, etc., which is not limited here.
- FIG. 12 is a schematic structural diagram of a Bluetooth slave device provided by an embodiment of the present application.
- the Bluetooth slave device 1200 includes a processor 1201 and a transceiver 1202 .
- a CIS link is established between the Bluetooth slave device and the Bluetooth master device.
- the transceiver 1202 is configured to receive a set of CIS link adjustment parameters from the Bluetooth master device, where the set of CIS link adjustment parameters is generated according to the target service.
- the processor 1201 is configured to adjust the CIS link according to the set of CIS link adjustment parameters.
- the CIS link adjustment parameters include: target link parameters, a synchronization moment identifier, and a target adjustment moment, wherein the target link parameter and the synchronization moment identifier are used to instruct the adjustment of the CIS link, and the target adjustment time is used to indicate the time to adjust the CIS link.
- the set of CIS link adjustment parameters is generated according to service requirement characteristics of the target service, and the service requirement characteristics are used to indicate that the CIS link, the CIS chain The adjustment requirement of at least one of the speed of the channel, the real-time performance of the CIS link, and the anti-interference capability of the CIS link.
- the service requirement feature is used to indicate adjustment of the data transmitted by the CIS link, and the data transmitted by the CIS link is adjusted from the data of the initial service to the data of the target service ;
- the set of CIS link adjustment parameters includes the set of CIS link adjustment parameters required for transmitting the data of the target service.
- the service requirement feature is used to instruct to enhance the received signal quality of the CIS link;
- the set of CIS link adjustment parameters includes all parameters for enhancing the received signal quality of the CIS link. Describe a set of CIS link adjustment parameters.
- the CIS link between the Bluetooth slave device and the Bluetooth master device is a target CIS link
- the target CIS link is included in a connection synchronization flow group CIG
- the CIG includes a plurality of CIS link
- the multiple CIS links include the target CIS link
- the service requirement feature is used to indicate the adjustment of the data path of at least one CIS link in the CIG, at least one CIS in the CIG
- the data path of the link is adjusted from the data path corresponding to the initial service to the target data path corresponding to the target service, and the target data path is used to indicate that the at least one CIS link corresponds to the CIS chain of the target service Uplink and downlink status
- the set of CIS link adjustment parameters includes the set of CIS link adjustment parameters corresponding to the target data path.
- the transceiver 1202 is specifically configured to, if the Bluetooth slave device is in a busy state, send a rejection response to the Bluetooth master device, where the rejection response is used to disconnect the CIS link ;
- the processor 1201 is specifically configured to disconnect the CIS link.
- the Bluetooth slave device 1200 shown in FIG. 12 is used to perform the actions of the Bluetooth slave device, ie, the slave device, in the aforementioned FIG. 2 to FIG. 10 .
- the Bluetooth slave device 1200 may be in the form of a Bluetooth headset, a Bluetooth chip, a Bluetooth speaker, etc., which is not limited here.
- the embodiments of the present application also provide a computer program product, which, when running on a computer, causes the computer to execute the Bluetooth master device or the Bluetooth slave device in the CIS link adjustment method described in the embodiments shown in the foregoing FIG. 2 to FIG. 10 . steps performed.
- Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when it runs on a computer, the computer executes the descriptions of the embodiments shown in FIG. 2 to FIG. 10 above.
- the steps performed by the Bluetooth master device or the Bluetooth slave device in the method are performed by the Bluetooth master device or the Bluetooth slave device in the method.
- the image processing apparatus may specifically be a chip.
- the chip includes: a processing unit and a communication unit.
- the processing unit may be, for example, a processor, and the communication unit may be, for example, an input/output interface, a pin, or a circuit.
- the processing unit can execute the computer-executed instructions stored in the storage unit, so that the chip in the training device executes the steps performed by the Bluetooth master device or the Bluetooth slave device in the methods described in the embodiments shown in FIG. 2 to FIG. 10 .
- the storage unit may be a storage unit in the chip, such as a register, a cache, etc., and the storage unit may also be a storage unit located outside the chip in the wireless access device end, such as a read-only memory (ROM). ) or other types of static storage devices that can store static information and instructions, random access memory (RAM), etc.
- ROM read-only memory
- RAM random access memory
- the disclosed system, apparatus and method may be implemented in other manners.
- the apparatus embodiments described above are only illustrative.
- the division of the units is only a logical function division. In actual implementation, there may be other division methods.
- multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
- the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
- the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
- the integrated unit if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium.
- the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
- the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), magnetic disk or optical disk and other media that can store program codes .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
一种CIS链路调整方法,用于根据目标业务调整CIS链路,以使得链路调整过程中数据传输不中断,从而提升数据传输的流畅性与可靠性。本申请实施例方法包括:在与蓝牙从设备通过CIS链路传输数据的基础上,蓝牙主设备根据目标业务,为蓝牙从设备生成CIS链路调整参数,并向该蓝牙从设备发送包括该CIS链路调整参数的链路更新消息。蓝牙主设备和蓝牙从设备根据CIS链路调整参数调整CIS链路,以通过调整后的CIS链路传输目标业务的数据。
Description
本申请实施例涉及蓝牙通信领域,尤其涉及一种CIS链路调整方法以及相关设备。
蓝牙通信技术是一种常见的无线通信技术,蓝牙技术包括低功耗蓝牙(bluetooth low energy,BLE)技术,用以实现数据的低功耗传输。在BLE技术中,可以通过连接同步流(connected isochronous stream,CIS)链路传输数据。当数据传输的业务发生变化时,通常需要改变CIS链路,以获得与新业务相匹配的CIS链路进行数据传输。在这种情况下,需要断开原有的CIS链路,并根据新的业务建立新的CIS链路。
在断开与重新建立CIS链路的过程中,蓝牙设备之间无法传输数据。因此,每当数据传输的业务发生变化,就会因为CIS链路的断开与重新建立造成数据传输的中断,使得数据无法及时传输。
发明内容
本申请实施例提供了一种CIS链路调整方法以及相关设备,用于根据目标业务调整CIS链路,以使得链路调整过程中数据传输不中断,从而提升数据传输的流畅性与可靠性。
本申请第一方面提供了一种CIS链路调整方法,该方法包括:
蓝牙主设备分别与至少一个蓝牙从设备之间建立了CIS链路,则蓝牙主设备可以通过CIS链路与对应于该CIS链路的蓝牙从设备传输数据。蓝牙主设备可以根据目标业务,分别为前述至少一个蓝牙从设备中的每个蓝牙从设备生成一组CIS链路调整参数。即,若蓝牙从设备的数量为n,则蓝牙主设备可以为n个蓝牙从设备中的每个蓝牙从设备分别生成一组CIS链路调整参数。其中,n为大于或等于1的整数。生成了CIS链路调整参数,蓝牙主设备就可以分别向每个蓝牙从设备发送对应的CIS链路调整参数,以指示每个蓝牙从设备根据各自对应的CIS链路调整参数动态调整CIS链路。由于CIS链路是由蓝牙主设备与蓝牙从设备共同维护的,对于CIS链路的调整,仅依靠蓝牙从设备并不能实现。因此,蓝牙主设备也要调整CIS链路。具体的,蓝牙主设备需要与蓝牙从设备根据对应于该蓝牙从设备的CIS链路调整参数调整CIS链路,该CIS链路对应于该蓝牙从设备。蓝牙主设备与至少一条蓝牙从设备之间的CIS链路,都可以由蓝牙主设备和对应于该CIS链路的蓝牙从设备,根据对应的CIS链路调整参数,实现CIS链路的调整。
在本申请实施例中,在数据传输的业务发生变化的情况下,蓝牙主设备可以根据目标业务生成CIS链路调整参数,并将CIS链路调整参数发送给对应于该CIS链路调整参数的蓝牙从设备,从而使蓝牙主设备和接收该CIS链路调整参数的蓝牙从设备根据该CIS链路调整参数调整两者之间的CIS链路。
CIS链路调整参数可以在CIS链路进行业务数据传输的过程中发送,不影响业务数据的传输。并且,蓝牙主设备与蓝牙从设备只要在CIS链路调整参数所指示的时间点,依据CIS链路调整参数调整CIS链路,就能在业务数据的传输过程中实现对CIS链路的调整。 该调整是在业务数据的传输过程中实现的,是对CIS链路的参数调整。CIS链路调整参数,可以指示出一个明确的时间点,从该时间点开始,蓝牙主设备与蓝牙从设备就可以通过调整后的CIS链路,进行业务数据的传输。CIS链路调整参数的获取并不影响业务数据的传输,更不需要断开CIS链路;同样的,对CIS链路的参数调整也不影响业务数据的传输,更不需要断开CIS链路。
因此通过本申请实施例所示的方法,可以依据任意的目标业务生成对应的CIS链路调整参数,就可以实现在业务数据传输的过程中,对CIS链路进行无中断的调整,使CIS链路调整为适应于目标业务的状态。即,可以针对任意目标业务,实现对CIS链路的无缝调整,使得调整过程中业务数据的传输不受影响,也不会被中断,保证了业务数据传输的及时性。
结合第一方面,本申请实施例第一方面的第一种实施方式中,蓝牙主设备可以通过链路更新消息传输CIS链路调整参数。具体的,蓝牙主设备分别向每个蓝牙从设备发送对应的CIS链路调整参数,可以包括:蓝牙主设备分别向每个蓝牙从设备,发送包括与该蓝牙从设备对应的CIS链路调整参数的链路更新消息。
在本申请实施例中,通过链路更新消息实现CIS链路调整参数的传输,蓝牙主设备针对不同的蓝牙从设备,分别发送链路更新消息,消息中包括与消息接收端的蓝牙从设备对应的CIS链路更新消息。
对于链路更新消息,可以定义链路更新消息的具体格式。该格式可以包括消息中所包括的数据的定义、数据所占的位置与长度等信息。该格式可以是固定的也可以是不固定的。
当该格式是固定的或格式的大部分内容是固定的,就可以在各种蓝牙主设备与各种蓝牙从设备之间,通过具有统一格式的链路更新消息,实现CIS链路的调整。增加了本申请实施例所述方案的普适性。
当格式的部分内容是不固定的,可以通过不固定的部分扩展链路更新消息所承载的数据内容或链路更新下剖析的其他功能。例如链路更新消息的某一片段并不固定用于传输特定的数据,则可以通过该片段,承载链路更新消息中尚未包括的数据内容,增强了链路更新消息的扩展性。
结合第一方面或本申请实施例第一方面的第一种实施方式,本申请实施例第一方面的第二种实施方式中,CIS链路调整参数可以包括目标链路参数、同步时刻标识和目标调整时刻,其中,目标链路参数和同步时刻标识用于调整CIS链路,目标调整时刻用于指示调整CIS链路的时刻。即,蓝牙主设备可以在目标调整时刻所指示的时间点,或者在目标调整时刻,根据目标链路参数和同步时刻标识,调整与该目标调整时刻对应的CIS链路。
在本申请实施例中,由于蓝牙主设备生成与发送前述三种CIS链路调整参数时,都是整组生成或整组发送的,一组中的各个参数之间,以及各参数、接收该参数的蓝牙从设备、被调整的CIS链路之间,是具有对应关系的。因此被调整的CIS链路也就对应于目标调整时刻、目标链路参数和同步时刻标识,接收该CIS链路调整参数的蓝牙从设备中的任一个,此处不做限定。
在本申请实施例中,CIS链路调整参数中包括目标调整时刻,目标调整时刻可以指示 CIS链路调整所发生的时刻,由于蓝牙主设备和蓝牙从设备都会获取CIS链路调整参数,也就是说蓝牙主设备与蓝牙从设备都会获知要进行链路调整的时间点,两侧就可以同时开始调整,保证了链路调整的同步性。同步了调整的时间点,也就可以基于该时间点,以及目标链路参数和同步时刻标识,同步调整数据收发时间点,从而保证了两侧数据收发的同步性,可以在链路调整过程中有效避免由于收发时刻未对齐,影响数据传输的完整性、及时性、可靠性或准确性等。
结合第一方面、本申请实施例第一方面的第一种实施方式或第二种实施方式中的任一种,本申请实施例第一方面的第三种实施方式中,蓝牙主设备对CIS链路的调整,可以具体为对CIS链路的传输速率的调整。
在本申请实施例中,由于CIS链路中对于不同业务的区别,主要体现在业务数据的速率不同,本申请实施例可以通过调整CIS链路的传输速率,实现对目标业务的业务数据的速率的匹配,从而可以通过调整后的CIS链路传输目标业务的业务数据。
结合第一方面、本申请实施例第一方面的第一种实施方式至第三种实施方式中的任一种,本申请实施例第一方面的第四种实施方式中,蓝牙主设备根据目标业务分别为每个蓝牙从设备生成一组CIS链路调整参数,具体可以包括:蓝牙主设备获取目标业务的业务需求特征,业务需求特征用于表示对以下几项中至少一项的调整需求:CIS链路、CIS链路的速率、CIS链路的实时性,和CIS链路的抗干扰能力。获取了业务需求特征,蓝牙主设备就可以根据业务需求特征分别为每个蓝牙从设备生成一组CIS链路调整参数。
在本申请实施例中,可以通过业务需求特征获知目标业务的需求,业务需求特征可以反映目标业务对CIS链路的调整需求,因此本申请实施例中对CIS链路的调整更有针对性,调整后的CIS链路更加符合实际需求。
结合第一方面的第四种实施方式,本申请实施例第一方面的第五种实施方式中,蓝牙主设备可以从外部或从内部获取业务需求特征。从外部获取可以包括:蓝牙主设备接收来自用户的业务需求特征;或,蓝牙主设备接收来自指示设备的业务需求特征。从内部获取可以包括:蓝牙主设备根据目标业务确定或生成业务需求特征。
在本申请实施例中,蓝牙主设备可以从外部或从内部获取业务需求特征,业务需求特征的获取途径多样,增加了方案的灵活性和可实现性。
结合第一方面、本申请实施例第一方面的第一种实施方式至第五种实施方式中的任一种,本申请实施例第一方面的第六种实施方式中,蓝牙从设备有多个,蓝牙主设备分别与多个蓝牙从设备建立了CIS链路,蓝牙主设备与多个蓝牙从设备之间的多条CIS链路包含于连接同步流组CIG。CIG还可以包括多条CIS链路进行数据传输的时序关系和/或多条CIS链路各自的链路参数。蓝牙主设备根据业务需求特征分别为每个蓝牙从设备生成一组CIS链路调整参数,具体可以包括:蓝牙主设备根据业务需求特征,以及多条CIS链路进行数据传输的时序关系和/或多条CIS链路各自的链路参数,为多个蓝牙从设备中的每个蓝牙从设备分别生成一组CIS链路调整参数。
在本申请实施例中,CIG中可以包括多条CIS链路,若要调整其中的一条CIS链路,该CIS链路的数据收发时间点会发生变化,从而就会影响CIG中其他CIS链路进行数据收 发的时间点。因此,结合多条CIS链路进行数据传输的时序关系和/或多条CIS链路各自的链路参数,为多个蓝牙从设备中的每个蓝牙从设备分别生成一组CIS链路调整参数,蓝牙主设备可以将CIG作为一个整体,根据其中至少一个CIS链路的收发时间点或时长的调整,结合CIG中多条CIS链路进行数据收发的时序关系,适应性地调整CIG中其他CIS链路的收发时间点,从而确保了同组CIG中的CIS链路之间,调整后的数据收发时序不会相互冲突,确保了调整后的CIS链路进行数据传输的完整性、及时性、可靠性或准确性等。
结合本申请实施例第一方面的第四种实施方式至第六种实施方式中的任一种,本申请实施例第一方面的第七种实施方式中,业务需求特征可以用于表示对CIS链路所传输的数据的调整,具体可以表示CIS链路传输的数据由初始业务的数据调整为目标业务的数据。在这种情况下,蓝牙主设备分别为每个蓝牙从设备生成一组CIS链路调整参数,具体可以包括:分别为每个蓝牙从设备生成传输目标业务的数据所需的一组CIS链路调整参数。
在本申请实施例中,业务需求特征表示由于业务切换导致业务数据的变化,从而带来的对CIS链路的调整需求。因此在业务发生变化的情况下,可以通过业务需求特征及时准确地根据业务数据的传输需求调整CIS链路,并且不会发生数据传输的中断,保证了数据传输的及时性与准确性。
结合本申请实施例第一方面的第四种实施方式至第六种实施方式中的任一种,本申请实施例第一方面的第八种实施方式中,业务需求特征用于指示增强CIS链路的接收信号质量或者抗干扰能力。在这种情况下,蓝牙主设备分别为每个蓝牙从设备生成一组CIS链路调整参数,具体可以包括:蓝牙主设备分别为每个蓝牙从设备生成用于增强CIS链路的信号接收质量的一组CIS链路调整参数。
结合第一方面的第八种实施方式,本申请实施例第一方面的第九种实施方式中,可以根据通信环境调整CIS链路。具体的,蓝牙主设备可以获取通信干扰情况所对应的业务需求特征。
可以通过以下方式确定通信干扰情况:根据信道扫描结果、收发成功率或信号强度中的任一项确定。例如,当信道扫描结果、收发成功率或信号强度小于或等于某一阈值,则确定通信干扰强,否则确定通信干扰弱。
若通信干扰强,则业务需求特征和CIS链路调整参数用于增强CIS链路的接收信号质量。调整后的CIS链路的接收信号质量高于调整前的CIS链路的接收信号质量。
若通信干扰弱,则业务需求特征和CIS链路调整参数用于提升CIS链路的传输速率。调整后的CIS链路的传输速率高于调整前的CIS链路的传输速率。
在本申请实施例中,根据通信环境对CIS链路进行调整,在通信干扰强的情况下提升CIS链路的接收信号质量,保证了数据传输的完整性与可靠性;在通信干扰弱的情况下提升CIS链路的传输速率,在保证数据传输质量的前提下,充分利用带宽资源,提升了数据传输的速度。
在本申请实施例中,可以实时检测上述参数中的任一项或任意多项,以实时根据上述参数确定通信干扰情况,从而实时调整CIS链路,实现CIS链路针对变化的通信环境的适应性调整。
结合本申请实施例第一方面的第六种实施方式,本申请实施例第一方面的第十种实施方式中,业务需求特征用于指示对CIG中至少一条CIS链路的数据通路的调整,具体可以表示CIG中至少一条CIS链路的数据通路由初始业务对应的数据通路调整为目标业务对应的目标数据通路。其中,数据通路用于指示CIS链路的上下行状态;目标数据通路用于指示CIS链路在对应于目标业务的情况下,该CIS链路的上下行状态。在这种情况下,蓝牙主设备分别为每个蓝牙从设备生成一组CIS链路调整参数,具体可以包括:蓝牙主设备为多个蓝牙从设备中的每个蓝牙从设备,分别生成对应于目标数据通路的一组CIS链路调整参数。
在本申请实施例中,在CIS链路的数据通路需要发生变化的情况下,根据表示数据通路的调整需求的业务需求特征,确定CIS链路调整参数,并根据CIS链路调整参数调整CIS链路,实现对CIS链路的数据通路的调整。
并且,CIS链路调整参数的确定还可以基于CIG中个CIS链路的收发时序,保证了CIG中各CIS链路在调整后的数据收发时序不会相互冲突,确保了调整后的CIS链路进行数据传输的完整性、及时性、可靠性或准确性等。
结合第一方面、第一方面的第一种实施方式至第十种实施方式中的任一项,本申请实施例第一方面的第十一种实施方式中,可以根据蓝牙从设备的通信状态决定是否调整CIS链路。具体的,在向蓝牙从设备发送链路更新消息之后:
若蓝牙主设备接收来自目标蓝牙从设备的拒绝响应,则蓝牙主设备断开与目标蓝牙从设备之间的CIS链路;其中,拒绝响应表示目标蓝牙从设备处于占线状态,即目标蓝牙从设备的通信资源被占用,无法与蓝牙主设备传输数据。
若蓝牙主设备未接收来自蓝牙从设备的拒绝响应,则蓝牙主设备在调整时刻根据目标链路参数和同步时刻标识,调整CIS链路。
在本申请实施例中,若目标蓝牙从设备的通信资源被占用,无法与蓝牙主设备传输数据,则蓝牙主设备可以接收拒绝响应,根据拒绝响应断开与目标蓝牙从设备之间的CIS链路。从而释放蓝牙主设备与目标蓝牙从设备之间的CIS链路所占用的带宽资源,减少对带宽资源的浪费,提升了带宽资源的利用率。
结合第一方面的第二种实施方式至第十一种实施方式中的任一种,本申请实施例第一方面的第十二种实施方式中,目标链路参数用于调整CIS链路的传输速率,目标链路参数具体可以包括:目标传输带宽、目标上行传输时间、目标下行传输时间、目标上行传输数据包长、目标下行传输数据包长、目标上行物理传输带宽与调制方式、目标下行物理传输带宽与调制方式、目标上下行同步时刻中的至少一项。
在本申请实施例中,目标链路参数可以具体到上述多个参数中的至少一项,可以灵活地设置目标链路参数由哪个或哪些具体参数构成,提升了方案的灵活性和可实现性。
本申请实施例第二方面提供了一种CIS链路调整方法,该方法包括:
蓝牙主设备与蓝牙从设备之间建立了CIS链路,则蓝牙从设备可以通过CIS链路与蓝牙主设备传输业务数据。蓝牙从设备可以接收来自蓝牙主设备的一组CIS链路调整参数,其中,一组CIS链路调整参数可以是根据目标业务生成的。获取了一组CIS链路调整参数, 蓝牙从设备就可以根据一组CIS链路调整参数调整CIS链路。
本申请实施例第二方面的有益效果参见第一方面,此处不再赘述。
结合第二方面,本申请实施例第二方面的第一种实施方式中,蓝牙从设备可以通过链路更新消息接受CIS链路调整参数。具体的,蓝牙从设备可以接收来自蓝牙主设备的,包括与该蓝牙从设备对应的CIS链路调整参数的链路更新消息。
结合第二方面或本申请实施例第二方面的第一种实施方式,本申请实施例第二方面的第二种实施方式中,CIS链路调整参数可以包括目标链路参数、同步时刻标识和目标调整时刻,其中,目标链路参数和同步时刻标识用于调整CIS链路,目标调整时刻用于指示调整CIS链路的时刻。即,蓝牙主设备可以在目标调整时刻所指示的时间点,或者在目标调整时刻,根据目标链路参数和同步时刻标识,调整与该目标调整时刻对应的CIS链路。
结合第二方面、本申请实施例第二方面的第一种实施方式或第二种实施方式中的任一种,本申请实施例第二方面的第三种实施方式中,对CIS链路的调整,可以具体为对CIS链路的传输速率的调整。
结合第二方面、本申请实施例第二方面的第一种实施方式至第三种实施方式中的任一种,本申请实施例第二方面的第四种实施方式中,一组CIS链路调整参数可以是根据目标业务的业务需求特征生成的,业务需求特征可以用于表示对CIS链路、CIS链路的速率、CIS链路的实时性,和CIS链路的抗干扰能力中至少一项的调整需求。
结合第二方面的第四种实施方式,本申请实施例第二方面的第五种实施方式中,业务需求特征可以是蓝牙主设备从外部或从内部获取的。从外部获取可以包括:蓝牙主设备接收来自用户的业务需求特征;或,蓝牙主设备接收来自指示设备的业务需求特征。从内部获取可以包括:蓝牙主设备根据目标业务确定或生成业务需求特征。
结合第二方面、本申请实施例第二方面的第一种实施方式至第五种实施方式中的任一种,本申请实施例第二方面的第六种实施方式中,蓝牙从设备可以有多个,蓝牙主设备分别与多个蓝牙从设备建立了CIS链路,蓝牙主设备与多个蓝牙从设备之间的多条CIS链路包含于连接同步流组CIG。CIG还可以包括多条CIS链路进行数据传输的时序关系和/或多条CIS链路各自的链路参数。一组CIS链路调整参数可以是蓝牙主设备根据业务需求特征,以及多条CIS链路进行数据传输的时序关系和/或多条CIS链路各自的链路参数生成的。
结合本申请实施例第二方面的第四种实施方式至第六种实施方式中的任一种,本申请实施例第二方面的第七种实施方式中,业务需求特征可以用于表示对CIS链路所传输的数据的调整,具体可以表示CIS链路传输的数据由初始业务的数据调整为目标业务的数据。在这种情况下,一组CIS链路调整参数可以包括传输目标业务的数据所需的一组CIS链路调整参数。
结合本申请实施例第二方面的第四种实施方式至第六种实施方式中的任一种,本申请实施例第二方面的第八种实施方式中,业务需求特征用于指示增强CIS链路的接收信号质量或者抗干扰能力。在这种情况下,一组CIS链路调整参数包括增强CIS链路的信号接收质量的一组CIS链路调整参数。
结合第二方面的第八种实施方式,本申请实施例第二方面的第九种实施方式中,可以 根据通信环境调整CIS链路。具体的,业务需求特征可以是蓝牙主设备根据通信干扰情况获取的。
结合本申请实施例第一方面的第六种实施方式,本申请实施例第一方面的第十种实施方式中,业务需求特征用于指示对CIG中至少一条CIS链路的数据通路的调整,具体可以表示CIG中至少一条CIS链路的数据通路由初始业务对应的数据通路调整为目标业务对应的目标数据通路。其中,数据通路用于指示CIS链路的上下行状态;目标数据通路用于指示CIS链路在对应于目标业务的情况下,该CIS链路的上下行状态。在这种情况下,一组CIS链路调整参数包括对应于目标数据通路的一组CIS链路调整参数。
结合第二方面、第二方面的第一种实施方式至第十种实施方式中的任一项,本申请实施例第二方面的第十一种实施方式中,可以根据蓝牙从设备的通信状态决定是否调整CIS链路。具体的,蓝牙从设备接收来自蓝牙主设备的一组CIS链路调整参数之后,还可以包括:若蓝牙从设备处于占线状态,则向蓝牙主设备发送拒绝响应,拒绝响应用于断开与蓝牙主设备之间的CIS链路。蓝牙从设备断开CIS链路。
结合第二方面的第二种实施方式至第十一种实施方式中的任一种,本申请实施例第二方面的第十二种实施方式中,目标链路参数用于调整CIS链路的传输速率,目标链路参数具体可以包括:目标传输带宽、目标上行传输时间、目标下行传输时间、目标上行传输数据包长、目标下行传输数据包长、目标上行物理传输带宽与调制方式、目标下行物理传输带宽与调制方式、目标上下行同步时刻中的至少一项。
本申请实施例第三方面提供了一种蓝牙主设备,该蓝牙主设备包括:
处理器和收发器;
该蓝牙主设备分别与至少一个蓝牙从设备之间建立了CIS链路;
处理器,用于根据目标业务分别为每个蓝牙从设备生成一组CIS链路调整参数;
收发器,用于分别向每个蓝牙从设备发送对应的CIS链路调整参数,以指示每个蓝牙从设备根据各自对应的CIS链路调整参数动态调整CIS链路;
处理器,还用于调整CIS链路;
收发器,还用于基于调整后的CIS链路与至少一个蓝牙设备进行目标业务的数据传输。
该蓝牙主设备用于实现前述第一方面所述的方法。
结合第三方面,在本申请实施例第三方面的一种可选的实施方式中,该蓝牙主设备可以是蓝牙耳机、蓝牙芯片、蓝牙音箱等设备形态,此处不做限定。
本申请实施例第四方面提供了一种蓝牙从设备,该蓝牙从设备包括:
处理器和收发器;
蓝牙从设备与蓝牙主设备之间建立了CIS链路,
收发器,用于接收来自蓝牙主设备的一组CIS链路调整参数,一组CIS链路调整参数是根据目标业务生成的;
处理器用于,根据一组CIS链路调整参数调整CIS链路。
该蓝牙从设备用于实现前述第二方面所述的方法。
结合第四方面,在本申请实施例第四方面的一种可选的实施方式中,该蓝牙从设备可 以是蓝牙耳机、蓝牙芯片、蓝牙音箱等设备形态,此处不做限定。
本申请实施例第五方面提供了一种计算机可读存储介质,该计算机可读存储介质中保存有程序,当计算机执行该程序时,执行前述第一方面或第二方面所述的方法。
本申请实施例第六方面提供了一种计算机程序产品,当该计算机程序产品在计算机上执行时,计算机执行前述第一方面或第二方面所述的方法。
本申请实施例第七方面提供了一种芯片***,该芯片***包括至少一个处理器和通信接口,通信接口和至少一个处理器通过线路互联,至少一个处理器用于运行计算机程序或指令,以进行第一方面或第二方面任一种可能的实施方式中任一项所描述的CIS链路调整方法。
其中,芯片中的通信接口可以为输入/输出接口、管脚或电路等。
在一种可能的实现中,本申请中上述描述的芯片***还包括至少一个存储器,该至少一个存储器中存储有指令。该存储器可以为芯片内部的存储单元,例如,寄存器、缓存等,也可以是该芯片的存储单元(例如,只读存储器、随机存取存储器等)。
图1为链路变更方法的流程示意图;
图2为本申请实施例提供的CIS链路调整方法的一个流程示意图;
图3为本申请实施例提供的CIS链路调整方法的一个通信时序图;
图4为本申请实施例提供的CIS链路调整方法的另一流程示意图;
图5为本申请实施例提供的CIS链路调整方法的另一流程示意图;
图6a为本申请实施例提供的CIS链路的一个示意图;
图6b为本申请实施例提供的CIS链路调整方法的另一通信时序图;
图7为本申请实施例提供的CIS链路调整方法的另一流程示意图;
图8为本申请实施例提供的CIS链路调整方法的另一通信时序图;
图9为本申请实施例提供的CIS链路调整方法的另一流程示意图;
图10为本申请实施例提供的CIS链路调整方法的另一通信时序图;
图11为本申请实施例提供的蓝牙主设备的一个结构示意图;
图12为本申请实施例提供的蓝牙从设备的一个结构示意图。
本申请实施例提供了一种CIS链路调整方法以及相关设备,用于根据目标业务调整CIS链路,以使得链路调整过程中数据传输不中断,从而提升数据传输的流畅性与可靠性。
请参阅图1,图1为链路变更方法的流程示意图,如图1所示,蓝牙主设备与蓝牙从设备通过第一通信链路传输数据,在数据传输的业务发生变化的情况下,需要断开原有的第一通信链路,并针对新的数据传输业务建立第二通信链路,以通过第二通信链路传输数据。
在断开第一通信链路与建立第二通信链路的过程中,蓝牙主设备与蓝牙从设备之间无 法传输数据。因此,每当数据传输业务变化,就会因为通信链路的断开与重新建立造成数据传输的中断,使得数据无法及时传输。
蓝牙通信技术中包括连接同步流(connected isochronous stream,CIS)技术,为了解决CIS链路中出现的上述数据传输中断的缺陷,本申请实施例提供了一种CIS链路调整方法,通过蓝牙主设备向蓝牙从设备发送CIS链路调整参数,根据CIS链路调整参数调整通信链路,实现了在数据传输过程中对CIS链路的调整,从而实现在数据传输不中断的前提下调整CIS链路,以适应新的数据传输业务。在本申请实施例中,新的数据传输业务也称为目标业务,此处不做限定。
在本申请实施例中,数据传输需求也称为业务需求特征,用于表示目标业务所对应的,对CIS链路或CIS链路的速率的调整需求。在本申请实施例中,业务需求特征所反映的调整需求,除了针对于CIS链路或CIS链路的速率,还可以是针对于其他参数的,例如CIS链路的实时性、CIS链路的抗干扰能力等,此处不做限定。
请参阅图2,图2为本申请实施例提供的一种CIS链路调整方法的流程示意图,该方法包括:
201、蓝牙主设备通过CIS链路与蓝牙从设备传输初始业务的数据。
蓝牙主设备与蓝牙从设备之间建立了CIS链路,此时CIS链路用于传输初始业务所对应的数据。这种情况下,蓝牙主设备就可以通过CIS链路与蓝牙从设备传输初始业务的数据。
在本申请实施例中,初始业务数据可以是音频数据。除了音频数据,初始业务数据也可以是其他数据,例如图像数据、视频数据等,此处不做限定。
202、蓝牙主设备获取目标业务对应的业务需求特征。
在CIS链路所传输的数据对应的业务有变化,已经变为目标业务的情况下,蓝牙主设备可以获取目标业务对应的业务需求特征。
具体的,目标业务可以是音乐播放任务,除了音乐播放任务,目标业务还可以是其他业务,例如录音业务、通话业务、高抗干扰能力的音乐播放/录音/通话、高速率的音乐播放/录音/通话或低速率的音乐播放/录音/通话等,此处不做限定。
在本申请实施例中,获取业务需求特征这一动作,还有可能在其他情况下发生,例如CIS链路所传输的数据对应的业务将要发生变化,或需要基于目标业务对CIS链路进行调整等情况,此处不做限定。
具体的,蓝牙主设备可以从内部或外部获取业务需求特征。
从外部获取可以包括:接收来自用户的包括业务需求特征的指令。除了接收来自用户的指令,蓝牙主设备还可以通过其他的外部获取方式获取业务需求特征,例如,获取来自指示设备的业务需求特征等,此处不作限定。
示例地,从内部获取可以包括:蓝牙主设备根据目标业务确定业务需求特征。目标业务的获取方式不限定,可以从外部或内部获取,外部获取的途径与上述业务需求特征的外部获取途径相似,此处不再赘述。从内部获取目标业务可以包括:蓝牙主设备根据通信环境的变化确定目标业务。除了根据通信环境的变化,还可以根据其他因素生成或确定目标 业务,例如根据蓝牙从设备的通信状态等,此处不做限定。
示例地,内部获取目标业务的一个示例可以包括:蓝牙主设备检测通信环境,当通信环境的检测结果显示环境中的通信干扰强,这种情况下需要提高CIS链路的抗干扰能力。若此时CIS链路正在进行的业务是音乐播放业务,则可以确定目标业务为高抗干扰能力的音乐播放业务。
203、蓝牙主设备根据业务需求特征生成CIS链路调整参数。
蓝牙主设备可以根据业务需求特征,确定该业务需求特征所对应的CIS链路调整参数。
具体的,CIS链路调整参数可以包括目标链路参数。除了目标链路参数,CIS链路调整参数还可以包括其他参数,例如同步时刻标识、目标调整时刻等,此处不做限定。其中,目标链路参数和同步时刻标识用于指示调整CIS链路的传输速率,所述目标调整时刻用于指示调整所述CIS链路的时刻。
在本申请实施例中,CIS链路的传输速率也可称为CIS链路的速率,此处不做限定。
在本申请实施例中,除了CIS链路的传输速率,业务需求特征还可以用于指示调整其他参数,例如CIS链路、CIS链路的实时性,CIS链路的抗干扰能力等,此处不做限定。
可选的,生成CIS链路调整参数的过程可以是:蓝牙主设备根据业务需求特征确定目标链路参数,再根据目标链路参数与当前CIS链路的同步信息,确定同步时刻标识和目标调整时刻。除了上述方式,蓝牙主设备也可以通过其他方式确定目标链路参数、同步时刻标识和目标调整时刻,例如直接根据业务需求特征确定等,此处不做限定。
由于CIS链路中,空口数据的收发时间可以决定CIS链路的传输速率、上下行带宽等重要因素,因此,本发明主要通过调整空口数据的收发时间来调整CIS链路。除了调整空口数据的收发时间,本发明还可以通过调整其他参数来调整CIS链路,例如通信链路的频带、物理调制方式等,此处不作限定。
在本申请实施例中,空口数据的收发时间可以包括目标上下行同步时刻,此处不做限定。
也就是说,上述目标上下行同步时刻、通信链路的频带、物理调制方式等都可以作为目标链路参数。目标链路参数还可以包含其他种类的其他参数,为了详细说明各种目标链路参数的作用,需要先说明CIS链路的数据传输机制,因此,接下来将结合通信时序图来说明CIS链路的数据传输机制以及对CIS链路的调整。如图3所示。图3为本申请实施例提供的链路调整方法的通信时序图。
接下来将结合图3,从设备之间的关系、CIS链路中数据如何进行传输和数据传输受哪些参数影响,三个方面,对本申请实施例中出现的各个参数进行详细说明。
1)设备之间的关系。
图中的M表示master,即数据传输的主控方,在本申请实施例中也称为蓝牙主设备;图中的S表示slave,即数据传输的从属方,在本申请实施例中也称为蓝牙从设备,蓝牙从设备可以是一个也可以是多个,此处不做限定。
蓝牙主设备与蓝牙从设备之间建立CIS链路,CIS链路用于在蓝牙主设备与蓝牙从设备之间传输数据。蓝牙主设备可以对CIS链路进行调整,蓝牙从设备可以辅助蓝牙主设备 实现对CIS链路的调整。
如图3所示,图中横坐标为时间,标有M的矩形框表示蓝牙主设备向蓝牙从设备发送的下行数据,标有S的矩形框表示蓝牙从设备向蓝牙主设备发送的上行数据。
2)CIS链路中数据如何进行传输。
由于在蓝牙通信***中,发送端发送数据时,接收端需要开启向发送端的数据接收通路,才能实现数据的接收。因此,蓝牙通信***中需要根据同步收发时间点进行数据的收发。而在CIS技术中,数据以CIS事件为单位进行传输。两个CIS事件同步收发时间点之间为一个CIS事件间隔,一个CIS事件间隔用于完成一次CIS事件。一个CIS事件中包括一个或多个CIS子事件,一个CIS子事件表示一次数据接收或发送。如图3中前两个CIS事件间隔中的时序图所示,CIS***中,以CIS事件间隔为周期,周期性地进行CIS事件,以通过CIS事件中的CIS子事件传输数据。
CIS链路中数据的传输需要基于业务所对应的业务需求进行,业务需求可以包括上下行数据的传输模式。蓝牙主设备可以根据上下行数据的传输模式,确定上行数据的数据包长和下行数据的数据包长,从而确定CIS事件和CIS子事件的间隔。
可选地,除了上下行数据的传输模式,业务需求也可以包括其他参数,例如上行数据的数据包长,和下行数据的数据包长等,此处不做限定。蓝牙主设备可以直接根据上行数据的数据包长和下行数据的数据包长,确定CIS事件和CIS子事件的间隔。例如,当通信需求为需要持续传输下行数据,不需要传输上行数据,且要求下行数据的包长不小于5byte,则需要保证每个CIS子事件中,下行的带宽要大于或等于5byte,上行的带宽可以为0。
除了上下行数据的传输模式、上行数据的数据包长、下行数据的数据包长,业务需求还可以包括其他内容,例如是否对数据进行分帧等,此处不做限定。
在本申请实施例中,业务需求也称为业务需求特征,即步骤202中获取的业务需求特征。
获取了业务需求特征,就要基于业务需求特征确定同步收发时间点,即每个CIS子事件的数据收发时间点。由于数据是以CIS事件为单位进行传输的,确定了一个CIS事件中的每个CIS子事件的数据收发时间点,就可以确定所有的数据收发时间点。
在CIS链路中,同步收发时间点由CIS子事件间隔来确定,因此就需要根据上行数据的数据包长和下行数据的数据包长,确定对应的CIS子事件间隔。
除了CIS子事件间隔,还可以根据业务需求特征确定其他参数,例如物理调制方式、一次CIS事件中的最大可交互次数等,此处不做限定。
其中,在CIS子事件间隔相同的情况下,物理调制方式可以影响CIS子事件所能传输的数据量,即可以影响CIS链路的传输速率。最大可交互次数(NSE)由CIS事件间隔与CIS子事件间隔决定,必须要保证NSE与CIS子事件间隔的乘积不大于CIS事件间隔,否则就会出现CIS子事件之间的重叠,数据无法正常传输。
3)CIS链路的数据传输受哪些参数影响。
由上述对CIS链路中数据传输的描述可知,CIS链路的数据传输,被物理调制方式、上行数据的数据包长、下行数据的数据包长、是否分帧、NSE、CIS子事件间隔等参数影响。 要对CIS链路进行调整,就要基于这些参数中的某个或某些实现对CIS链路的调整,因此这些参数可以统称为CIS链路调整参数。
204、蓝牙主设备向蓝牙从设备发送包含CIS链路调整参数的链路更新消息。
确定CIS链路调整参数,蓝牙主设备即可向蓝牙从设备发送链路更新消息,消息中携带CIS链路调整参数。CIS链路调整参数用于蓝牙从设备调整CIS链路。
具体的,当消息中携带的CIS链路调整参数包括目标链路参数、同步时刻标识和目标调整时刻,链路更新消息可以用于蓝牙从设备在目标调整时刻,根据目标链路参数和同步时刻标识调整第一CIS链路的传输速率。
接下来将会结合图3和表1对目标链路参数进行详细的说明。
在本申请实施例中,链路更新消息也称为CIS_CHANGE_IND。示例地,链路更新消息的消息格式可以如表1所示。
表1 链路更新消息的消息格式
名称 | 字节数 | 定义 |
CIG_ID | 1 byte | CIG序列号 |
CIS_ID | 1 byte | CIS序列号 |
Phy_M_to_S | 1 byte | 物理调制方式(Master to Slave) |
Phy_S_to_M | 1 byte | 物理调制方式(Slave to Master) |
Max_SDU_M_to_S | 12bit | 与BTH交互的最大包长(Master to Slave) |
Framed | 1 bit | 是否分帧 |
rfu | 3 bit | 未定义 |
Max_SDU_S_to_M | 12 bit | 与BTH交互的最大包长(Slave to Master) |
rfu | 4 bit | 未定义 |
Max_PDU_M_to_S | 8 bit | 空口最大包长(Master to Slave,单位字节数) |
Max_PDU_S_to_M | 8 bit | 空口最大包长(Slave to Master,单位字节数) |
NSE | 1 byte | 最大可交互次数 |
Sub_interval | 3 byte | 子事件间隔(单位ms) |
CIS_ch_offset | 3 byte | 更新点偏移量(单位ms) |
CIG_Sync_delay | 3 byte | CIG同步时延(单位ms) |
CIS_Sync_delay | 3 byte | 本条CIS同步时延(单位ms) |
Ref_counter | 2 byte | 更新event counter点(单位为次数) |
其中,CIG_ID表示CIG事件的标识号,CIS_ID表示CIS事件在所属CIG事件中的标识号,多个从属方与主控方之间的CIS事件构成一个CIG事件,对于CIG事件的详细描述,请参阅图5至图7所示的实施例,此处不做赘述。
如表1所示,Phy_M_to_S表示主控方到从属方的下行数据的物理调制方式,也称为目标下行物理传输带宽与调制方式,Phy_S_to_M表示从属方到主控方的上行数据的物理调制方式,也称为目标上行物理传输带宽与调制方式。
Max_SDU_M_to_S表示,主控方到从属方的,来自上一层的数据包的最大包长;即上层下行数据包的最大包长;也即是来自蓝牙控制层(bluetooth control,btc)的下行数据包的最大包长。Framed表示数据包是否分帧,即一个蓝牙上下行数据包内是否包含多个 用户业务数据包。rfu为未定义的参数,用于后续对该消息所包含内容的扩充。Max_SDU_S_to_M表示,从属方到主控方的,来自上一层的数据包的最大包长;即上层上行数据包的最大包长;也即是来自蓝牙控制层(bluetooth control,btc)的上行数据包的最大包长。
Max_PDU_M_to_S表示,主控方到从属方的,本层空口数据的最大包长;即本层下行空口数据的最大包长;也即是蓝牙主机层(bluetooth host,bth)的下行空口数据的最大包长。Max_PDU_S_to_M表示,从属方到主控方的,本层空口数据的最大包长;即本层上行空口数据的最大包长;也即是蓝牙主机层(bluetooth host,bth)的上行空口数据的最大包长。在本申请实施例中,Max_PDU_M_to_S也称为目标下行传输数据包长,Max_PDU_S_to_M也称为目标上行传输数据包长,Max_PDU_M_to_S和Max_PDU_S_to_M称为目标传输带宽。
NSE表示最大可交互次数,即一次CIS事件中,可包含的CIS子事件的数量上限。Sub_interval表示单个CIS子事件的时间间隔。
上述参数表示调整后CIS链路的状态,由于CIS链路的数据收发,需要主控方与从属方之间严格依照约定好的时序进行,因此对CIS链路的调整,也要约定一个共同的调整时刻。
在本申请实施例中,Ref_counter表示调整时刻,即蓝牙主设备和蓝牙从设备开始调整第一CIS链路的时刻。CIS_ch_offset表示更新点相对于调整时刻的偏移量,更新点为Ref_counter_clock(Ref_counter所对应的本地设备时间)+CIS_ch_offset。CIG_Sync_delay表示CIG事件整体传输延时。CIS_Sync_delay表示CIS链路传输延时。
在本申请实施例中,CIS_ch_offset和Sub_interval也称为同步时刻标识,用于确定调整后的第一CIS链路的同步时刻,即目标上下行同步时刻。除了调整时刻和同步时刻标识,表中剩余的数据为目标链路参数,用于表示调整后的第一CIS链路的各项参数。
Sub_interval包括上行CIS子事件的传输时间和下行CIS子事件的传输时间,在本申请实施例中,上行CIS子事件的传输时间也称为目标上行传输时间,下行CIS子事件的传输时间也称为目标下行传输时间。
205、蓝牙主设备与蓝牙从设备根据CIS链路调整参数调整CIS链路。
蓝牙主设备与蓝牙从设备都获取了CIS链路调整参数,此时蓝牙主设备和蓝牙从设备就可以根据CIS链路调整参数调整CIS链路,使得调整后的CIS链路可以用于传输目标业务的业务数据。
如图3所示,在目标调整时刻后,蓝牙主设备与蓝牙从设备开始调整CIS链路。具体的,在调整时刻后根据CIS_CHANGE_IND中的CIS_ch_offset计算更新时间点。
示例地,更新时间点可以是调整时刻后的第n个CIS事件的起始时间点,其中n为任意正整数,例如1或2等,此处不做限定。确定了更新时间点,在更新时间点之后按照Sub_interval确定各个CIS子事件的上下行数据收发时间点,从而实现对CIS链路的调整,也就实现了对CIS链路的传输速率的调整。
如图3所示,在调整时刻后的第三个CIS事件间隔中,实现了对CIS链路的调整,给上行数据分配的CIS子事件间隔变长,图中表示为标有S的矩形框变长,增大了上行数据 的传输速率。
值得注意的是,除了CIS_ch_offset、Sub_interval,蓝牙主设备和蓝牙从设备还可以根据其他的目标链路参数调整CIS链路,此处不做限定。
206、蓝牙主设备与蓝牙从设备通过调整后的CIS链路传输目标业务的数据。
调整后的CIS链路,适应于业务需求特征,可用于传输业务需求特征所对应的目标业务的业务数据。例如,在业务需求特征为CIS链路所传输的数据,由初始业务的数据变为目标业务的数据的情况下,调整后的CIS链路则用于传输目标业务的数据。除了传输不同业务的数据,业务需求特征与调整后的CIS链路还可以对应于其他需求,此处不作限定。例如,在目标业务为高码率数据传输业务的情况下,业务需求特征可以为CIS链路由传输低码率数据改为传输高码率数据,调整后的CIS链路则用于传输高码率数据,此处不作限定。
在本申请实施例中,目标业务的数据可以是音频数据。除了音频数据,初始业务的数据也可以是其他数据,例如视频数据等,此处不做限定。
在本申请实施例中,通过发送链路更新消息,在调整时刻根据目标链路参数调整CIS链路的传输速率,通过调整后的CIS链路满足新的数据传输需求。在CIS链路适应新的传输速率的过程中,不需要断开和重连接CIS链路,不会造成数据传输中断,保证了数据的及时传输。
在图2与图3所示的实施例中,只显示了蓝牙主设备与一个蓝牙从设备之间的CIS链路的调整方法。蓝牙主设备可能同时与多个蓝牙从设备建立有CIS链路。在这种情况下,蓝牙主设备生成与发送的参数和消息,都是针对于各个蓝牙从设备的,且调整的也是与该从设备对应的CIS链路。具体参见图5或图6所示实施例的说明。
在本申请实施例中,还可以根据从属方的数据传输状态,改变CIS链路的传输状态。请参阅图4,图4为本申请实施例提供的一种CIS链路调整方法的流程示意图,该方法包括:
401、蓝牙主设备与蓝牙从设备之间通过CIS链路传输初始业务的数据。
402、蓝牙主设备获取目标业务对应的业务需求特征。
403、蓝牙主设备根据业务需求特征生成CIS链路调整参数。
404、蓝牙主设备向蓝牙从设备发送包含CIS链路调整参数的链路更新消息。
步骤401至步骤404与图2所示实施例的步骤201至步骤204类似,此处不再赘述。
405、蓝牙从设备向蓝牙主设备发送拒绝响应。
蓝牙从设备不仅可以与蓝牙主设备建立CIS链路,还可以与其他的主控方设备建立通信链路。若蓝牙从设备与其他的主控方设备建立了通信链路,且在接收来自蓝牙主设备的链路更新消息之后的某一时段内,还存在与其他主控方设备之间的数据传输任务尚未完成。则蓝牙从设备与蓝牙主设备之间在该时段内无法传输任何数据,在本申请实施例中,这种状态称为占线状态。在本申请实施例中,处于占线状态的蓝牙从设备也可称为目标蓝牙从设备。
因此,蓝牙从设备可以向蓝牙主设备发送拒绝响应,以拒绝通过CIS链路传输数据。
可选的,该拒绝响应中还可以包含该时段的时间长度标识,用于表示无法与蓝牙主设备之间传输数据的时间长度。
406、蓝牙主设备与蓝牙从设备断开CIS链路。
蓝牙主设备接收到拒绝响应,确定蓝牙从设备无法与蓝牙主设备传输数据,则蓝牙主设备与蓝牙从设备可以断开CIS链路。
可选的,若拒绝响应中携带了时间长度标识,则蓝牙主设备可以重新确定目标链路参数、同步时刻标识和调整时刻,以调整CIS链路,在蓝牙从设备可以与蓝牙主设备传输数据的时间,通过调整后的CIS链路传输数据。
在本申请实施例中,若蓝牙从设备无法与蓝牙主设备传输数据,则向蓝牙主设备发送拒绝响应。蓝牙主设备根据拒绝响应断开第一CIS链路,将第一CIS链路的带宽资源释放,用于其他的数据传输任务中,使得原本无法利用的带宽资源可以被充分利用,减少了带宽资源的浪费,提升了带宽资源的利用率。
本申请实施例实际上是对CIS链路进行调整,由于对CIS链路的调整会引起CIS链路的传输速率的变化,即CIS链路的传输速率的变化体现了对CIS链路的调整。因此,在本申请实施例中,将对CIS链路的调整都称为对CIS链路的传输速率的调整。
在本申请实施例中,调整CIS链路的传输速率的目的,是为了适应对数据传输的业务的变化,即为了实现对目标业务的数据传输。目标业务可能对应于不同方面的变化,针对不同的变化,对CIS链路的调整方式也各不相同,接下来将针对不同的目标业务进行描述。
1、目标业务与CIS链路所传输数据对应的业务的类型相关。
在目标业务与CIS链路所传输数据对应的业务的类型相关的情况下,将针对具有新的业务类型的目标业务调整CIS链路。请参阅图5,图5为本申请实施例提供的一种CIS链路调整方法的流程示意图,该方法包括:
501、蓝牙主设备与第一蓝牙从设备之间通过CIS链路传输初始业务的数据,通过第二CIS链路与第二蓝牙从设备之间传输初始业务的数据。
蓝牙从设备可以为多个,本实施例以两个为例进行说明。该两个蓝牙从设备为第一蓝牙从设备和第二蓝牙从设备。
指的注意的是,本实施例仅以两个蓝牙从设备为例,并不造成对蓝牙从设备数量的限定。
蓝牙主设备与第一蓝牙从设备之间建立了第一CIS链路,蓝牙主设备与第二蓝牙从设备之间建立了第二CIS链路。此时第一CIS链路和第二CIS链路用于传输初始业务所对应的数据,即初始业务的数据。蓝牙主设备可以通过第一CIS链路与第一蓝牙从设备传输第一业务数据,通过第二CIS链路与第二蓝牙从设备传输初始业务的数据。
在本申请实施例中,初始业务的数据可以是音频数据。除了音频数据,初始业务的数据也可以是其他数据,例如视频数据等,此处不做限定。
蓝牙主设备、第一蓝牙从设备和第二蓝牙从设备之间形成一个CIS通信***,该***用于在蓝牙主设备与两个蓝牙从设备之间传输数据。该***中包括一个主控方和多个从属方,在从属方的数量为多个的情况下,通信***中各设备之间的连接关系如图4所示。
图6a为本申请实施例提供的通信***中各设备之间的连接拓扑图。如图6a所示,主控方可与多个从属方连接,例如图6a中的S1、S2、Sn。主控方可以向与其连接多个从属方设备发送同一来源的数据,也可以接收来自各个从属方设备的数据,此处不做限定。
值得注意的是,本申请实施例仅是对连接关系的示例,并不构成对从属方设备的数量的限定,从属方设备的数量也可以是其他任意整数个,例如1个、3个等,此处不做限定。
数据的传输及通信链路的各项参数,主要由主控方决定。可选的,从属方也可以向主控方发送消息,以反映从属方的情况,使主控方根据从属方的情况调整各项参数。
若通信***中包括多个从属方,主控方会与多个从属方各自构建通信链路,主控方将与多个从属方之间的CIS链路组合成一组连接同步流组(connected isochronous stream group,CIG)链路,进行统一的收发调度。
502、蓝牙主设备获取目标业务对应的业务需求特征。
在蓝牙主设备与第一蓝牙从设备、与第二蓝牙从设备之间传输的数据的业务,从初始业务变为目标业务的情况下,或将要变为目标业务的情况下,蓝牙主设备可以获取目标业务对应的业务需求特征。
该业务需求特征用于表示第一CIS链路和第二CIS链路所传输的数据,由初始业务的数据调整为目标业务的数据;其中,初始业务与目标业务属于不同的业务,初始业务的数据对应的CIS链路参数与目标业务的数据对应的CIS链路参数也不同。
在本申请实施例中,业务需求特征表示初始业务到目标业务的切换,初始业务可以包括音频播放,除了音频播放,初始业务还可以包括其他业务,例如语音助手、通话、高码率音频播放/语音助手/通话、低码率音频播放/语音助手/通话等,此处不做限定。目标业务可以包括语音助手、通话、音频播放、高码率音频播放/语音助手/通话、低码率音频播放/语音助手/通话等业务,只要与初始业务不同即可。
503、蓝牙主设备根据业务需求特征分别为第一蓝牙从设备和第二蓝牙从设备确定一组CIS链路调整参数。
蓝牙主设备可以根据业务需求特征,分别为第一蓝牙从设备和第二蓝牙从设备确定一组CIS链路调整参数。
由于蓝牙主设备、第一蓝牙从设备和第二蓝牙从设备形成了一个CIS通信***,因此第一CIS链路的调整与第二CIS链路的调整相互影响,蓝牙主设备需要根据业务需求特征、第一CIS链路和第二CIS链路确定目标链路参数、同步时刻标识和调整时刻。
为了说明对该CIS通信***,即第一CIS链路和第二CIS链路的调整,需要先说明在调整之前,该CIS通信***的数据传输是如何进行的,接下来将结合图6b进行说明。
请参阅图6b,图6b为本申请实施例提供的CIS链路调整方法的一个通信时序图。第一蓝牙从设备的通信时序图表示第一蓝牙从设备的数据收发时序,一个CIS1事件间隔包括两个CIS1子事件间隔。第二蓝牙从设备的通信时序图表示第而蓝牙从设备的数据收发时序,一个CIS2事件间隔包括两个CIS2子事件间隔。CIS1事件与CIS2事件组成CIG事件,CIS1事件间隔与CIS2事件间隔相同,与CIG事件间隔也相同。
可选的,CIG事件还可以包括CIG中多条CIS链路进行数据传输的时序关系和/或CIG 中多条CIS链路各自的链路参数。
图中白色的矩形框表示蓝牙主设备与第一蓝牙从设备之间的数据传输时序,即第一CIS链路的数据传输时序;灰色的矩形框表示蓝牙主设备与第二蓝牙从设备之间的数据传输时序,即第二CIS链路的数据传输时序。对于蓝牙主设备来说,要保证第一CIS链路的CIS子事件,与第二CIS链路的CIS子事件之间,在时间上不能有重合,即保证两个CIS链路的数据在时间上交错传输。
若要调整第一CIS链路,第二CIS链路的时序也要发生改变,因此在多个从属方设备的CIS通信***中,对第一CIS链路进行调整,就要对第二CIS链路也进行调整。根据需求特征就要确定针对第一CIS链路调整参数,以及确定针对第二CIS链路的第二CIS链路调整参数。
示例的,第一CIS链路调整参数中可以包括针对于第一蓝牙从设备的第一目标链路参数、第一同步时刻标识和目标调整时刻;第二CIS链路调整参数中可以包括针对于第二蓝牙从设备的第二目标链路参数、第二同步时刻标识和目标调整时刻。
值得注意的是,在本申请实施例中,仅以两个从属方设备为例,并不造成对从属方设备数量的限定。从属方设备有m个,就要针对m条CIS链路分别确定目标链路参数和同步时刻标识,其中m为任意整数,此处不做限定。
504、蓝牙主设备向第一蓝牙从设备发送包含第一CIS链路调整参数的第一链路更新消息。
确定了第一CIS链路调整参数,蓝牙主设备即可向第一蓝牙从设备发送第一链路更新消息,消息中携带第一CIS链路调整参数。第一链路更新消息用于蓝牙从设备根据第一CIS链路调整参数调整第一CIS链路。
对于第一链路更新消息的格式及内容,请参见图2所示实施例步骤204对链路更新消息的说明,此处不再赘述。
505、蓝牙主设备向第二蓝牙从设备发送包含第二CIS链路调整参数的第二链路更新消息。
确定第二目标链路参数、第二同步时刻标识和调整时刻,蓝牙主设备即可向第二蓝牙从设备发送第二链路更新消息,消息中携带第二CIS链路调整参数。第二链路更新消息用于第二蓝牙从设备根据第二CIS链路调整参数调整第二CIS链路。
对于第二链路更新消息的格式及内容,请参见图2所示实施例步骤204对链路更新消息的说明,此处不再赘述。
值得注意的是,步骤504和步骤505没有固定的时序关系,步骤505也可以在步骤504之前或与步骤504同时进行,只要在步骤503之后进行即可,此处不做限定。
506、蓝牙主设备和蓝牙从设备根据第一CIS链路调整参数调整第一CIS链路。
蓝牙主设备与第一蓝牙从设备都获取了第一CIS链路调整参数,此时蓝牙主设备和第一蓝牙从设备就可以根据第一CIS链路调整参数调整第一CIS链路,使得调整后的第一CIS链路可以用于传输目标业务的数据。通常来说,调整后的第一CIS链路与调整前的第一CIS链路具有不同的传输速率。
示例地,若第一CIS链路调整参数包括第一目标链路参数、第一同步时刻标识和目标调整时刻,则蓝牙主设备和第一蓝牙从设备就可以在目标调整时刻所指示的时刻,根据第一目标链路参数和第一同步时刻标识调整第一CIS链路。
507、蓝牙主设备和第二蓝牙从设备根据第二CIS链路调整参数调整第二CIS链路。
蓝牙主设备与第而蓝牙从设备都获取了第二CIS链路调整参数,此时蓝牙主设备和第二蓝牙从设备就可以根据第二CIS链路调整参数调整第二CIS链路,使得调整后的第二CIS链路可以用于传输目标业务的数据。通常来说,调整后的第二CIS链路与调整前的第二CIS链路具有不同的传输速率。
示例地,若第二CIS链路调整参数包括第二目标链路参数、第二同步时刻标识和目标调整时刻,则蓝牙主设备和第二蓝牙从设备就可以在目标调整时刻所指示的时刻,根据第二目标链路参数和第二同步时刻标识调整第二CIS链路。
指的注意的是,步骤506和步骤507没有固定的时序关系,步骤507也可以在步骤506之前或与步骤506同时进行,只要步骤506在步骤504之后,步骤507在步骤505之后进行即可,此处不做限定。
508、蓝牙主设备与第一蓝牙从设备通过调整后的第一CIS链路传输目标业务的数据。
509、蓝牙主设备与第二蓝牙从设备通过调整后的第二CIS链路传输目标业务的数据。
在本申请实施例中,需求特征表示业务切换带来的,对CIS链路的调整需求。因此在业务发生变化的情况下,可以通过链路更新消息及时准确地根据业务的需求调整CIS链路,并且不会发生数据传输的中断,保证了数据传输的及时性与准确性。
在本申请实施例中,除了对应于业务的类型,目标业务也表示其他方面的需求,例如通信链路的状态、或通信链路的数据通路等,此处不做限定。
2、目标业务与通信链路的状态相关。
请参阅图7,图7为本申请实施例提供的一种链路调整方法的流程示意图,该方法包括:
701、蓝牙主设备与蓝牙从设备通过CIS链路传输初始业务的数据。
步骤701与图2所示实施例的步骤201相似,此处不再赘述。
702、蓝牙主设备获取目标业务的业务需求特征。
蓝牙主设备可以检测通信环境的干扰情况,也称为通信干扰情况,根据通信干扰情况确定需求特征。若通信干扰强,则可以确定提高CIS链路的抗干扰能力的目标业务,也就可以确定提高CIS链路的抗干扰能力的业务需求特征。在本申请实施例中,抗干扰能力也称为接收信号质量。也就是说,在通信干扰强的情况下,目标业务和业务需求特征为提升CIS链路的接收信号质量。
在本申请实施例中,若通信干扰弱,则蓝牙主设备可以确定提升CIS链路的传输速率的目标业务,也就可以确定提升CIS链路的传输速率的业务需求特征。由于提升传输速率通常伴随着接收信号质量的降低,因此只有在通信干扰弱的情况下确定提升CIS链路的传输速率的目标业务。
在本申请实施例中,蓝牙主设备除了根据通信干扰情况确定调整CIS链路的接收信号 质量的业务需求特征,蓝牙主设备还可以通过其他途径获取业务需求特征,例如接收来自用户或指示设备的指令,该指令包含调整CIS链路的接收信号质量的业务需求特征。
在本申请实施例中,对于信号干扰强与信号干扰弱的判定,可以通过信道扫描结果实现。例如,在信道扫描结果小于或等于某一阈值的情况下,确定通信干扰强;否则确定通信干扰弱。在本申请实施例中,除了信道扫描结果,还可以根据其他的数据确定通信干扰的强弱,例如收发成功率、信号强度等,此处不做限定。
结合图8进行说明,图8为本申请实施例提供的CIS链路调整方法的一个通信时序图。当干扰发生,蓝牙主设备可以检测到通信干扰强,从而在第一个调整时刻调整CIS链路,使CIS链路具有更高的抗干扰能力;当干扰消失,蓝牙主设备可以检测到通信干扰弱,从而在第二个调整时刻调整CIS链路,是CIS链路具有更高的传输速率。
703、蓝牙主设备根据业务需求特征确定CIS链路调整参数。
蓝牙主设备可以根据提升CIS链路的接收信号质量的业务需求特征,确定该业务需求特征所对应的CIS链路调整参数。
可选的,CIS链路调整参数可以包括目标链路参数、同步时刻标识和调整时刻。
可选的,可以通过调整物理调制方式提升CIS链路的接收信号质量。除了调整物理调制方式,还可以通过其他手段提升CIS链路的接收信号质量,例如减小CIS子事件间隔等,此处不做限定。
若步骤702中获取的需求特征为提升CIS链路的传输速率,则可以通过调整物理调制方式、增大CIS子事件间隔等手段提升CIS链路的传输速率。
704、蓝牙主设备向蓝牙从设备发送包含CIS链路调整参数的链路更新消息。
705、蓝牙主设备与蓝牙从设备根据CIS链路调整参数调整CIS链路。
706、蓝牙主设备与蓝牙从设备通过调整后的CIS链路传输目标业务的数据。
步骤704至步骤706参见图2所示实施例的步骤204至步骤206,此处不再赘述。
在本申请实施例中,根据通信环境对CIS链路进行调整,在通信干扰强的情况下提升CIS链路的接收信号质量,保证了数据传输的完整性与可靠性;在通信干扰弱的情况下提升CIS链路的传输速率,在保证数据传输质量的前提下,充分利用带宽资源,提升了数据传输的速度。并且,可以根据通信干扰情况实时调整CIS链路,实现CIS链路针对变化的通信环境的适应性调整。
3、目标业务与通信链路的数据通路相关。
请参阅图9,图9为本申请实施例提供的一种链路调整方法的流程示意图,该方法包括:
901、蓝牙主设备与第一蓝牙从设备通过第一CIS链路传输初始业务的数据,通过第二CIS链路与第二蓝牙从设备传输初始业务的数据。
步骤901与图5所示实施例的步骤501类似,此处不再赘述。
902、蓝牙主设备获取目标业务的业务需求特征。
在CIS通信中,每次CIS子事件中并不一定都包括上行数据通路与下行数据通路,例如在通话业务中,可以通过第一CIS链路接收上行数据。此时第一CIS链路的CIS子事件 中,既包括下行数据通路,也包括上行数据通路;而第二CIS链路就只包括下行数据通路,不包括上行数据通路。
若对于上行数据的接收,要从通过第一CIS链路切换为通过第二CIS链路,则需要调整第一CIS链路的第二CIS链路的数据通路,此时就可以获取调整CIS链路的数据通路的目标业务,也就可以获取调整CIS链路的数据通路的需求特征。
903、蓝牙主设备根据业务需求特征分别为第一蓝牙从设备和第二蓝牙从设备确定一组CIS链路调整参数。
蓝牙主设备可以根据业务需求特征,分别针对第一蓝牙从设备和第二蓝牙从设备确定一组CIS链路调整参数。
可选的,针对第一蓝牙从设备的第一CIS链路调整参数中,可以包括用于调整第一CIS链路的第一目标链路参数、第一同步时刻标识和目标调整时刻;针对第二蓝牙从设备的第二CIS链路调整参数中,可以包括用于调整第二CIS链路的第二目标链路参数、第二同步时刻标识和目标调整时刻。
如图10所示,图10为本申请实施例提供的CIS链路调整方法的通信时序图,如图10所示,在未变更上行数据通路前,上行数据通过S1通路,即第一CIS链路传输。根据需求特征,需要关闭第一CIS链路的上行数据通路,并开启第二CIS链路的上行数据通路,即变更上行数据通路之后的S2通路。
在这种情况下,蓝牙主设备可以将第一CIS链路的上行数据通路的CIS子事件间隔设置为0或默认值,该默认值用于传输默认数据,例如降噪参考数据等,此处不做限定。蓝牙主设备将第二CIS链路的上行数据通路的子事件间隔从0或默认值,设置为固定值,该固定值用于传输上行数据。蓝牙主设备再根据上行数据通路的变化,适应性地确定CIS事件间隔、更新时间点等其他目标链路参数,此处不做限定。
904、蓝牙主设备向第一蓝牙从设备发送包含第一CIS链路调整参数的第一链路更新消息。
905、蓝牙主设备向第二蓝牙从设备发送包含第二CIS链路调整参数的第二链路更新消息。
906、蓝牙主设备与第一蓝牙从设备根据第一CIS链路调整参数调整第一CIS链路。
907、蓝牙主设备与第二蓝牙从设备根据第二CIS链路调整参数调整第二CIS链路。
908、蓝牙主设备与第一蓝牙从设备通过调整后的第一CIS链路传输目标业务的数据。
909、蓝牙主设备与第二蓝牙从设备通过调整后的第二CIS链路传输目标业务的数据。
步骤904至步骤909参见图5所示实施例的步骤506至步骤508,此处不再赘述。
在本申请实施例中,在CIS链路的数据通路需要发生变化的情况下,根据表示数据通路的调整需求的需求特征,确定目标链路参数,并根据目标链路参数调整CIS链路,实现对CIS链路的数据通路的调整。
接下来将对本申请实施例提供的蓝牙设备进行描述,请参阅图11,图11为本申请实施例提供的蓝牙主设备的结构示意图。
如图11所示,该蓝牙主设备1100包括处理器1101和收发器1102。
蓝牙主设备1100分别与至少一个蓝牙从设备之间建立了CIS链路。
处理器1101用于,根据目标业务分别为每个蓝牙从设备生成一组CIS链路调整参数。
收发器1102用于,分别向每个蓝牙从设备发送对应的CIS链路调整参数,以指示每个蓝牙从设备根据各自对应的CIS链路调整参数动态调整CIS链路。
处理器1101还用于,调整所述CIS链路。
收发器1102还用于,基于调整后的CIS链路与所述至少一个蓝牙设备进行所述目标业务的数据传输。
在一些可选的实施方式中,所述CIS链路调整参数包括:目标链路参数、同步时刻标识和目标调整时刻,其中,所述目标链路参数和所述同步时刻标识用于指示调整所述CIS链路,所述目标调整时刻用于指示调整所述CIS链路的时刻。
在一些可选的实施方式中,处理器1101具体用于:获取所述目标业务的业务需求特征,所述业务需求特征用于表示对所述CIS链路、所述CIS链路的速率、所述CIS链路的实时性,和所述CIS链路的抗干扰能力中至少一项的调整需求;根据所述业务需求特征分别为每个蓝牙从设备生成所述一组CIS链路调整参数。
在一些可选的实施方式中,蓝牙从设备有多个,所述蓝牙主设备分别与多个蓝牙从设备建立了CIS链路,所述蓝牙主设备与所述多个蓝牙从设备之间的多条CIS链路包含于连接同步流组CIG,所述CIG包括所述多条CIS链路进行数据传输的时序关系和/或所述多条CIS链路各自的链路参数。处理器1101具体用于,根据所述业务需求特征,以及所述多条CIS链路进行数据传输的时序关系和/或所述多条CIS链路各自的链路参数,为所述多个蓝牙从设备中的每个蓝牙从设备分别生成所述一组CIS链路调整参数。
在一些可选的实施方式中,所述业务需求特征用于表示对所述CIS链路传输的数据的调整,所述CIS链路传输的数据由初始业务的数据调整为所述目标业务的数据;处理器1101具体用于,分别为每个蓝牙从设备生成传输所述目标业务的数据所需的所述一组CIS链路调整参数。
在一些可选的实施方式中,所述业务需求特征用于指示增强所述CIS链路的接收信号质量;处理器1101具体用于,分别为每个蓝牙从设备生成用于增强所述CIS链路的信号接收质量的所述一组CIS链路调整参数。
在一些可选的实施方式中,所述业务需求特征用于指示对所述CIG中至少一条CIS链路的数据通路的调整,所述CIG中至少一条CIS链路的数据通路由所述初始业务对应的数据通路调整为所述目标业务对应的目标数据通路,所述目标数据通路用于指示所述至少一条CIS链路对应于所述目标业务的CIS链路上下行状态;处理器1101具体用于,为所述多个蓝牙从设备中的每个蓝牙从设备,分别生成对应于所述目标数据通路的所述一组CIS链路调整参数。
在一些可选的实施方式中,收发器1102还用于,接收来自目标蓝牙从设备的拒绝响应,所述拒绝响应指示所述目标蓝牙从设备处于占线状态;处理器1101还用于,断开与所述目标蓝牙从设备之间的所述CIS链路。
图11所示的蓝牙主设备1100用于执行前述图2至图10中蓝牙主设备,即主控方设备 的动作。
该蓝牙主设备1100可以是蓝牙耳机、蓝牙芯片、蓝牙音箱等设备形态,此处不做限定。
请参阅图12,图12为本申请实施例提供的蓝牙从设备的结构示意图。
如图12所示,该蓝牙从设备1200包括处理器1201和收发器1202。
蓝牙从设备与蓝牙主设备之间建立了CIS链路。
收发器1202用于,接收来自所述蓝牙主设备的一组CIS链路调整参数,所述一组CIS链路调整参数是根据目标业务生成的。
处理器1201用于,根据所述一组CIS链路调整参数调整所述CIS链路。
在一些可选的实施方式中,CIS链路调整参数包括:目标链路参数、同步时刻标识和目标调整时刻,其中,所述目标链路参数和所述同步时刻标识用于指示调整所述CIS链路,所述目标调整时刻用于指示调整所述CIS链路的时刻。
在一些可选的实施方式中,所述一组CIS链路调整参数为根据所述目标业务的业务需求特征生成的,所述业务需求特征用于表示对所述CIS链路、所述CIS链路的速率、所述CIS链路的实时性,和所述CIS链路的抗干扰能力中至少一项的调整需求。
在一些可选的实施方式中,所述业务需求特征用于表示对所述CIS链路传输的数据的调整,所述CIS链路传输的数据由初始业务的数据调整为所述目标业务的数据;所述一组CIS链路调整参数包括传输所述目标业务的数据所需的所述一组CIS链路调整参数。
在一些可选的实施方式中,所述业务需求特征用于指示增强所述CIS链路的接收信号质量;所述一组CIS链路调整参数包括增强所述CIS链路的信号接收质量的所述一组CIS链路调整参数。
在一些可选的实施方式中,所述蓝牙从设备与蓝牙主设备之间的CIS链路为目标CIS链路,所述目标CIS链路包含于连接同步流组CIG,所述CIG包括多条CIS链路,所述多条CIS链路包含所述目标CIS链路;所述业务需求特征用于指示对所述CIG中至少一条CIS链路的数据通路的调整,所述CIG中至少一条CIS链路的数据通路由所述初始业务对应的数据通路调整为所述目标业务对应的目标数据通路,所述目标数据通路用于指示所述至少一条CIS链路对应于所述目标业务的CIS链路上下行状态;所述一组CIS链路调整参数包括对应于所述目标数据通路的所述一组CIS链路调整参数。
在一些可选的实施方式中,收发器1202具体用于,若所述蓝牙从设备处于占线状态,则向所述蓝牙主设备发送拒绝响应,所述拒绝响应用于断开所述CIS链路;处理器1201具体用于,断开所述CIS链路。
图12所示的蓝牙从设备1200用于执行前述图2至图10中蓝牙从设备,即从属方设备的动作。
该蓝牙从设备1200可以是蓝牙耳机、蓝牙芯片、蓝牙音箱等设备形态,此处不做限定。
本申请实施例中还提供一种计算机程序产品,当其在计算机上运行时,使得计算机执行如前述图2至图10所示实施例描述的CIS链路调整方法中蓝牙主设备或蓝牙从设备所执行的步骤。
本申请实施例中还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计 算机程序,当其在计算机上运行时,使得计算机执行如前述图2至图10所示实施例描述的方法中蓝牙主设备或蓝牙从设备所执行的步骤。
本申请实施例提供的图像处理装置具体可以为芯片,芯片包括:处理单元和通信单元,处理单元例如可以是处理器,通信单元例如可以是输入/输出接口、管脚或电路等。该处理单元可执行存储单元存储的计算机执行指令,以使训练设备内的芯片执行上述图2至图10所示实施例描述的方法中蓝牙主设备或蓝牙从设备所执行的步骤。可选地,存储单元可以为芯片内的存储单元,如寄存器、缓存等,存储单元还可以是无线接入设备端内的位于芯片外部的存储单元,如只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)等。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的***,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,read-only memory)、随机存取存储器(RAM,random access memory)、磁碟或者光盘等各种可以存储程序代码的介质。
Claims (30)
- 一种连接同步流CIS链路调整方法,其特征在于,所述方法应用于蓝牙主设备,所述蓝牙主设备分别与至少一个蓝牙从设备之间建立了CIS链路,所述方法包括:所述蓝牙主设备根据目标业务分别为每个蓝牙从设备生成一组CIS链路调整参数;所述蓝牙主设备分别向每个蓝牙从设备发送对应的CIS链路调整参数,以指示每个蓝牙从设备根据各自对应的CIS链路调整参数动态调整CIS链路;所述蓝牙主设备调整所述CIS链路,并基于调整后的CIS链路与所述至少一个蓝牙设备进行所述目标业务的数据传输。
- 根据权利要求1所述的方法,其特征在于,所述CIS链路调整参数包括:目标链路参数、同步时刻标识和目标调整时刻,其中,所述目标链路参数和所述同步时刻标识用于指示调整所述CIS链路,所述目标调整时刻用于指示调整所述CIS链路的时刻。
- 根据权利要求1或2所述的方法,其特征在于,所述蓝牙主设备根据目标业务分别为每个蓝牙从设备生成一组CIS链路调整参数,包括:所述蓝牙主设备获取所述目标业务的业务需求特征,所述业务需求特征用于表示对所述CIS链路、所述CIS链路的速率、所述CIS链路的实时性,和所述CIS链路的抗干扰能力中至少一项的调整需求;所述蓝牙主设备根据所述业务需求特征分别为每个蓝牙从设备生成所述一组CIS链路调整参数。
- 根据权利要求3所述的方法,其特征在于,所述蓝牙从设备有多个,所述蓝牙主设备分别与多个蓝牙从设备建立了CIS链路,所述蓝牙主设备与所述多个蓝牙从设备之间的多条CIS链路包含于连接同步流组CIG,所述CIG包括所述多条CIS链路进行数据传输的时序关系和/或所述多条CIS链路各自的链路参数;所述蓝牙主设备根据所述业务需求特征分别为每个蓝牙从设备生成一组CIS链路调整参数,包括:所述蓝牙主设备根据所述业务需求特征,以及所述多条CIS链路进行数据传输的时序关系和/或所述多条CIS链路各自的链路参数,为所述多个蓝牙从设备中的每个蓝牙从设备分别生成所述一组CIS链路调整参数。
- 根据权利要求3或4所述的方法,其特征在于,所述业务需求特征用于表示对所述CIS链路传输的数据的调整,所述CIS链路传输的数据由初始业务的数据调整为所述目标业务的数据;所述分别为每个蓝牙从设备生成一组CIS链路调整参数,包括:分别为每个蓝牙从设备生成传输所述目标业务的数据所需的所述一组CIS链路调整参数。
- 根据权利要求3或4所述的方法,其特征在于,所述业务需求特征用于指示增强所述CIS链路的接收信号质量;所述分别为每个蓝牙从设备生成一组CIS链路调整参数,包括:分别为每个蓝牙从设备生成用于增强所述CIS链路的信号接收质量的所述一组CIS链路调整参数。
- 根据权利要求4所述的方法,其特征在于,所述业务需求特征用于指示对所述CIG中至少一条CIS链路的数据通路的调整,所述CIG中至少一条CIS链路的数据通路由所述初始业务对应的数据通路调整为所述目标业务对应的目标数据通路,所述目标数据通路用于指示所述至少一条CIS链路对应于所述目标业务的CIS链路上下行状态;所述为所述多个蓝牙从设备中的每个蓝牙从设备分别生成所述一组CIS链路调整参数,包括:为所述多个蓝牙从设备中的每个蓝牙从设备,分别生成对应于所述目标数据通路的所述一组CIS链路调整参数。
- 根据权利要求1至7中任一项所述的方法,其特征在于,所述方法还包括:若接收来自目标蓝牙从设备的拒绝响应,则所述蓝牙主设备断开与所述目标蓝牙从设备之间的所述CIS链路,所述拒绝响应指示所述目标蓝牙从设备处于占线状态。
- 一种连接同步流CIS链路调整方法,其特征在于,所述方法应用于蓝牙从设备,所述蓝牙从设备与蓝牙主设备之间建立了CIS链路,所述方法包括:所述蓝牙从设备接收来自所述蓝牙主设备的一组CIS链路调整参数,所述一组CIS链路调整参数是根据目标业务生成的;所述蓝牙从设备根据所述一组CIS链路调整参数调整所述CIS链路。
- 根据权利要求9所述的方法,其特征在于,所述CIS链路调整参数包括:目标链路参数、同步时刻标识和目标调整时刻,其中,所述目标链路参数和所述同步时刻标识用于指示调整所述CIS链路,所述目标调整时刻用于指示调整所述CIS链路的时刻。
- 根据权利要求9或10所述的方法,其特征在于,所述一组CIS链路调整参数为根据所述目标业务的业务需求特征生成的,所述业务需求特征用于表示对所述CIS链路、所述CIS链路的速率、所述CIS链路的实时性,和所述CIS链路的抗干扰能力中至少一项的调整需求。
- 根据权利要求11所述的方法,其特征在于,所述业务需求特征用于表示对所述CIS链路传输的数据的调整,所述CIS链路传输的数据由初始业务的数据调整为所述目标业务的数据;所述一组CIS链路调整参数包括传输所述目标业务的数据所需的所述一组CIS链路调整参数。
- 根据权利要求11所述的方法,其特征在于,所述业务需求特征用于指示增强所述CIS链路的接收信号质量;所述一组CIS链路调整参数包括增强所述CIS链路的信号接收质量的所述一组CIS链路调整参数。
- 根据权利要求11所述的方法,其特征在于,所述蓝牙从设备与蓝牙主设备之间的CIS链路为目标CIS链路,所述目标CIS链路包含于连接同步流组CIG,所述CIG包括多条 CIS链路,所述多条CIS链路包含所述目标CIS链路;所述业务需求特征用于指示对所述CIG中至少一条CIS链路的数据通路的调整,所述CIG中至少一条CIS链路的数据通路由所述初始业务对应的数据通路调整为所述目标业务对应的目标数据通路,所述目标数据通路用于指示所述至少一条CIS链路对应于所述目标业务的CIS链路上下行状态;所述一组CIS链路调整参数包括对应于所述目标数据通路的所述一组CIS链路调整参数。
- 根据权利要求9至14中任一项所述的方法,其特征在于,所述蓝牙从设备接收来自所述蓝牙主设备的一组CIS链路调整参数之后,所述方法还包括:若所述蓝牙从设备处于占线状态,则向所述蓝牙主设备发送拒绝响应,所述拒绝响应用于断开所述CIS链路;所述蓝牙从设备断开所述CIS链路。
- 一种蓝牙主设备,其特征在于,所述蓝牙主设备包括:处理器和收发器;所述蓝牙主设备分别与至少一个蓝牙从设备之间建立了CIS链路;所述处理器用于,根据目标业务分别为每个蓝牙从设备生成一组CIS链路调整参数;所述收发器用于,分别向每个蓝牙从设备发送对应的CIS链路调整参数,以指示每个蓝牙从设备根据各自对应的CIS链路调整参数动态调整CIS链路;所述处理器还用于,调整所述CIS链路;所述收发器还用于,基于调整后的CIS链路与所述至少一个蓝牙设备进行所述目标业务的数据传输。
- 根据权利要求16所述的设备,其特征在于,所述CIS链路调整参数包括:目标链路参数、同步时刻标识和目标调整时刻,其中,所述目标链路参数和所述同步时刻标识用于指示调整所述CIS链路,所述目标调整时刻用于指示调整所述CIS链路的时刻。
- 根据权利要求16或17所述的装置,其特征在于,所述处理器具体用于:获取所述目标业务的业务需求特征,所述业务需求特征用于表示对所述CIS链路、所述CIS链路的速率、所述CIS链路的实时性,和所述CIS链路的抗干扰能力中至少一项的调整需求;根据所述业务需求特征分别为每个蓝牙从设备生成所述一组CIS链路调整参数。
- 根据权利要求18所述的设备,其特征在于,所述蓝牙从设备有多个,所述蓝牙主设备分别与多个蓝牙从设备建立了CIS链路,所述蓝牙主设备与所述多个蓝牙从设备之间的多条CIS链路包含于连接同步流组CIG,所述CIG包括所述多条CIS链路进行数据传输的时序关系和/或所述多条CIS链路各自的链路参数;所述处理器具体用于,根据所述业务需求特征,以及所述多条CIS链路进行数据传输的时序关系和/或所述多条CIS链路各自的链路参数,为所述多个蓝牙从设备中的每个蓝牙 从设备分别生成所述一组CIS链路调整参数。
- 根据权利要求18或19所述的设备,其特征在于,所述业务需求特征用于表示对所述CIS链路传输的数据的调整,所述CIS链路传输的数据由初始业务的数据调整为所述目标业务的数据;所述处理器具体用于,分别为每个蓝牙从设备生成传输所述目标业务的数据所需的所述一组CIS链路调整参数。
- 根据权利要求18或19所述的设备,其特征在于,所述业务需求特征用于指示增强所述CIS链路的接收信号质量;所述处理器具体用于,分别为每个蓝牙从设备生成用于增强所述CIS链路的信号接收质量的所述一组CIS链路调整参数。
- 根据权利要求19所述的设备,其特征在于,所述业务需求特征用于指示对所述CIG中至少一条CIS链路的数据通路的调整,所述CIG中至少一条CIS链路的数据通路由所述初始业务对应的数据通路调整为所述目标业务对应的目标数据通路,所述目标数据通路用于指示所述至少一条CIS链路对应于所述目标业务的CIS链路上下行状态;所述处理器具体用于,为所述多个蓝牙从设备中的每个蓝牙从设备,分别生成对应于所述目标数据通路的所述一组CIS链路调整参数。
- 一种蓝牙从设备,其特征在于,所述蓝牙从设备包括:处理器和收发器;所述蓝牙从设备与蓝牙主设备之间建立了CIS链路,所述收发器用于,接收来自所述蓝牙主设备的一组CIS链路调整参数,所述一组CIS链路调整参数是根据目标业务生成的;所述处理器用于,根据所述一组CIS链路调整参数调整所述CIS链路。
- 根据权利要求23所述的设备,其特征在于,所述CIS链路调整参数包括:目标链路参数、同步时刻标识和目标调整时刻,其中,所述目标链路参数和所述同步时刻标识用于指示调整所述CIS链路,所述目标调整时刻用于指示调整所述CIS链路的时刻。
- 根据权利要求23或24所述的设备,其特征在于,所述一组CIS链路调整参数为根据所述目标业务的业务需求特征生成的,所述业务需求特征用于表示对所述CIS链路、所述CIS链路的速率、所述CIS链路的实时性,和所述CIS链路的抗干扰能力中至少一项的调整需求。
- 根据权利要求25所述的设备,其特征在于,所述业务需求特征用于表示对所述CIS链路传输的数据的调整,所述CIS链路传输的数据由初始业务的数据调整为所述目标业务的数据;所述一组CIS链路调整参数包括传输所述目标业务的数据所需的所述一组CIS链路调整参数。
- 根据权利要求25所述的设备,其特征在于,所述业务需求特征用于指示增强所述CIS链路的接收信号质量;所述一组CIS链路调整参数包括增强所述CIS链路的信号接收质量的所述一组CIS链路调整参数。
- 根据权利要求25所述的设备,其特征在于,所述蓝牙从设备与蓝牙主设备之间的CIS链路为目标CIS链路,所述目标CIS链路包含于连接同步流组CIG,所述CIG包括多条CIS链路,所述多条CIS链路包含所述目标CIS链路;所述业务需求特征用于指示对所述CIG中至少一条CIS链路的数据通路的调整,所述CIG中至少一条CIS链路的数据通路由所述初始业务对应的数据通路调整为所述目标业务对应的目标数据通路,所述目标数据通路用于指示所述至少一条CIS链路对应于所述目标业务的CIS链路上下行状态;所述一组CIS链路调整参数包括对应于所述目标数据通路的所述一组CIS链路调整参数。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中保存有程序,当所述计算机执行所述程序时,执行如权利要求1至15中任一项所述的方法。
- 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上执行时,所述计算机执行如权利要求1至15中任一项所述的方法。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP21921889.8A EP4277426A4 (en) | 2021-01-29 | 2021-01-29 | CIS LINK ADJUSTMENT METHOD AND ASSOCIATED DEVICE |
CN202180090601.4A CN116762465A (zh) | 2021-01-29 | 2021-01-29 | 一种cis链路调整方法以及相关设备 |
PCT/CN2021/074494 WO2022160287A1 (zh) | 2021-01-29 | 2021-01-29 | 一种cis链路调整方法以及相关设备 |
US18/361,085 US20230371095A1 (en) | 2021-01-29 | 2023-07-28 | Cis link adjustment method and related device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2021/074494 WO2022160287A1 (zh) | 2021-01-29 | 2021-01-29 | 一种cis链路调整方法以及相关设备 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US18/361,085 Continuation US20230371095A1 (en) | 2021-01-29 | 2023-07-28 | Cis link adjustment method and related device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022160287A1 true WO2022160287A1 (zh) | 2022-08-04 |
Family
ID=82652898
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/074494 WO2022160287A1 (zh) | 2021-01-29 | 2021-01-29 | 一种cis链路调整方法以及相关设备 |
Country Status (4)
Country | Link |
---|---|
US (1) | US20230371095A1 (zh) |
EP (1) | EP4277426A4 (zh) |
CN (1) | CN116762465A (zh) |
WO (1) | WO2022160287A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116634492A (zh) * | 2023-01-29 | 2023-08-22 | 上海物骐微电子有限公司 | 基于蓝牙le音频的数据调度方法、装置及存储介质 |
CN117082480A (zh) * | 2023-09-25 | 2023-11-17 | 荣耀终端有限公司 | 基于蓝牙通信的数据处理方法、设备及存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103532909A (zh) * | 2012-07-04 | 2014-01-22 | 中兴通讯股份有限公司 | 多流业务并发传输方法、子***、***及多接口终端 |
WO2020124611A1 (zh) * | 2018-12-22 | 2020-06-25 | 华为技术有限公司 | 一种速率控制方法及设备 |
WO2020124610A1 (zh) * | 2018-12-22 | 2020-06-25 | 华为技术有限公司 | 一种传输速率的控制方法及设备 |
WO2020151003A1 (zh) * | 2019-01-25 | 2020-07-30 | 华为技术有限公司 | 一种建立蓝牙数据通道的方法及装置 |
US20200260448A1 (en) * | 2019-02-08 | 2020-08-13 | Arm Limited | Pre-calculation of sub-event rf channel |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160359925A1 (en) * | 2015-06-08 | 2016-12-08 | Lg Electronics Inc. | Method and apparatus for transmitting and receiving data in wireless communication system |
WO2021015484A1 (ko) * | 2019-07-19 | 2021-01-28 | 인텔렉추얼디스커버리 주식회사 | 무선 통신 시스템에서 적응적인 오디오 처리 방법, 장치, 컴퓨터 프로그램 및 그 기록 매체 |
-
2021
- 2021-01-29 CN CN202180090601.4A patent/CN116762465A/zh active Pending
- 2021-01-29 EP EP21921889.8A patent/EP4277426A4/en active Pending
- 2021-01-29 WO PCT/CN2021/074494 patent/WO2022160287A1/zh active Application Filing
-
2023
- 2023-07-28 US US18/361,085 patent/US20230371095A1/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103532909A (zh) * | 2012-07-04 | 2014-01-22 | 中兴通讯股份有限公司 | 多流业务并发传输方法、子***、***及多接口终端 |
WO2020124611A1 (zh) * | 2018-12-22 | 2020-06-25 | 华为技术有限公司 | 一种速率控制方法及设备 |
WO2020124610A1 (zh) * | 2018-12-22 | 2020-06-25 | 华为技术有限公司 | 一种传输速率的控制方法及设备 |
WO2020151003A1 (zh) * | 2019-01-25 | 2020-07-30 | 华为技术有限公司 | 一种建立蓝牙数据通道的方法及装置 |
US20200260448A1 (en) * | 2019-02-08 | 2020-08-13 | Arm Limited | Pre-calculation of sub-event rf channel |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116634492A (zh) * | 2023-01-29 | 2023-08-22 | 上海物骐微电子有限公司 | 基于蓝牙le音频的数据调度方法、装置及存储介质 |
CN116634492B (zh) * | 2023-01-29 | 2024-04-12 | 上海物骐微电子有限公司 | 基于蓝牙le音频的数据调度方法、装置及存储介质 |
CN117082480A (zh) * | 2023-09-25 | 2023-11-17 | 荣耀终端有限公司 | 基于蓝牙通信的数据处理方法、设备及存储介质 |
CN117082480B (zh) * | 2023-09-25 | 2024-03-01 | 荣耀终端有限公司 | 基于蓝牙通信的数据处理方法、设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
EP4277426A1 (en) | 2023-11-15 |
CN116762465A (zh) | 2023-09-15 |
EP4277426A4 (en) | 2023-11-15 |
US20230371095A1 (en) | 2023-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107018484B (zh) | 蓝牙通信方法、其装置、蓝牙***及蓝牙设备 | |
US20230371095A1 (en) | Cis link adjustment method and related device | |
US11751283B2 (en) | System and method for switching master and slave roles of devices for use in wireless communications | |
WO2016165375A1 (zh) | 屏幕投射的视频数据传输方法、装置及*** | |
WO2019192606A1 (zh) | 一种数据处理方法及装置 | |
US11166190B2 (en) | Buffer state reporting method, user equipment, method of processing buffer state report and network side device | |
JP3585823B2 (ja) | 無線通信システムおよびそのタイムアウト値更新方法 | |
US20220263883A1 (en) | Adaptive audio processing method, device, computer program, and recording medium thereof in wireless communication system | |
US20120020348A1 (en) | Coexistence interface and arbitration for multiple radios sharing an antenna | |
US20230209406A1 (en) | Multi-flow associated transmission method, apparatus, and system | |
WO2019196826A1 (zh) | 旁链路信息的传输方法及设备 | |
US11115885B2 (en) | Audio synchronization during handover | |
WO2020164534A1 (zh) | 辅助信息上报方法及装置、通信设备 | |
WO2022233216A1 (zh) | 基于业务的测量响应方法、装置、终端及存储介质 | |
US20230337294A1 (en) | Call method and apparatus | |
WO2023098367A1 (zh) | 网桥端到端的确定性转发方法、网桥发送端及接收端 | |
CN112188344B (zh) | Tws耳机及其控制方法 | |
WO2019136718A1 (zh) | 数据发送方法、装置及*** | |
CN107409143A (zh) | 通过将通信会话从主处理器传送至辅助处理器来减少用电 | |
CN100403848C (zh) | 一种虚拟软切换方法 | |
CN114666777B (zh) | 一种蓝牙音频***的带宽提升方法 | |
EP4266711A1 (en) | Wireless communication method and system | |
US20240187137A1 (en) | System and method for managing audio quality in a low energy audio broadcast scenario | |
TWI843640B (zh) | 時序控制管理方法和時序控制管理系統 | |
CN113207114B (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: 21921889 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 202180090601.4 Country of ref document: CN |
|
ENP | Entry into the national phase |
Ref document number: 2021921889 Country of ref document: EP Effective date: 20230809 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |