A bluetooth communication method, bluetooth device and computer storage medium
By dynamically adjusting the time interval parameters of CIS events between Bluetooth devices, the problems of high power consumption and service conflict in Bluetooth communication are solved, and a more efficient communication process is achieved.
Patent Information
- Application Number
- CN202110265416.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-11
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2041-03-11
AI Technical Summary
During Bluetooth communication, the prior art has problems of high power consumption and service conflict, especially when link synchronization information (CIS) events coexist with other services, it is difficult to effectively resolve conflicts and power consumption problems.
By establishing a CIS connection between the sending and receiving Bluetooth devices, dynamically adjusting the time interval parameters between two consecutive CIS events according to the service situation, sending parameter adjustment commands and adjusting according to confirmation messages, to reduce the scheduling frequency of CIS events .
It realizes reducing power consumption and solving conflict problems when CIS events coexist with other services, and improves the processing efficiency of Bluetooth devices.
Smart Images

Figure CN115086922B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of Bluetooth communication, and in particular to a Bluetooth communication method, a Bluetooth device and a computer storage medium. Background Art
[0002] Bluetooth Low Energy (Bluetooth LE, BLE), also known as low-power Bluetooth, is a personal area network technology designed and sold by the Bluetooth SIG. It is intended for emerging applications in the fields of healthcare, sports and fitness, beacons, security, home entertainment, etc. Compared with classic Bluetooth, low-power Bluetooth can significantly reduce power consumption and cost while maintaining the same communication range.
[0003] Connected Isochronous Stream (CIS) is a BLE link audio solution introduced in the Bluetooth 5.2 protocol version. It can share audio data between any two Bluetooth devices or multiple Bluetooth devices. Among them, the Connected Isochronous Group (CIG) can establish multiple CIS events, and a time interval (ISO_Interval) parameter is set between two consecutive CIS events. Researchers have found that during Bluetooth communication, the current solution has problems such as power consumption and service conflicts. Summary of the invention
[0004] The present application proposes a Bluetooth communication method, a Bluetooth device and a computer storage medium, which can not only reduce power consumption, but also solve the conflict problem when CIS events coexist with other services.
[0005] To achieve the above purpose, the technical solution of this application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a Bluetooth communication method, which is applied to a sending Bluetooth device, and the method includes:
[0007] Establish a CIS connection with the receiving Bluetooth device;
[0008] When the service to be transmitted between the transmitting end Bluetooth device and the receiving end Bluetooth device meets a preset condition, a parameter adjustment command is sent to the receiving end Bluetooth device; wherein the parameter adjustment command carries adjustment information of a time interval parameter between two consecutive CIS events;
[0009] Receive a confirmation message returned by the receiving-end Bluetooth device, and adjust the time interval parameter according to the confirmation message.
[0010] In a second aspect, an embodiment of the present application provides a Bluetooth communication method, which is applied to a receiving Bluetooth device, and the method includes:
[0011] Establish a CIS connection with the sending Bluetooth device;
[0012] Receive a parameter adjustment command sent by the transmitting Bluetooth device; wherein the parameter adjustment command carries adjustment information of a time interval parameter between two consecutive CIS events;
[0013] When the receiving-end Bluetooth device confirms to adjust the time interval parameter, a confirmation message is sent to the sending-end Bluetooth device.
[0014] In a third aspect, an embodiment of the present application provides a transmitting end Bluetooth device, the transmitting end Bluetooth device comprises a first establishing unit, a first sending unit, a first receiving unit and a first adjusting unit; wherein,
[0015] The first establishing unit is configured to establish a CIS connection with a receiving Bluetooth device;
[0016] The first sending unit is configured to send a parameter adjustment command to the receiving end Bluetooth device when the service situation to be transmitted between the sending end Bluetooth device and the receiving end Bluetooth device meets a preset condition; wherein the parameter adjustment command carries adjustment information of the time interval parameter between two consecutive CIS events;
[0017] The first adjustment unit is configured to adjust the time interval parameter according to the confirmation message returned by the receiving Bluetooth device after the first receiving unit receives the confirmation message.
[0018] In a fourth aspect, an embodiment of the present application provides a receiving end Bluetooth device, the receiving end Bluetooth device includes a second establishing unit, a second receiving unit and a second sending unit; wherein,
[0019] The second establishing unit is configured to establish a CIS connection with a transmitting end Bluetooth device;
[0020] The second receiving unit is configured to receive a parameter adjustment command sent by the transmitting Bluetooth device; wherein the parameter adjustment command carries adjustment information of a time interval parameter between two consecutive CIS events;
[0021] The second sending unit is configured to send a confirmation message to the sending Bluetooth device when the receiving Bluetooth device confirms that the time interval parameter is adjusted.
[0022] In a fifth aspect, an embodiment of the present application provides a Bluetooth device, the Bluetooth device comprising a memory and a processor; wherein:
[0023] The memory is used to store a computer program that can be run on the processor;
[0024] The processor is used to execute the method according to the first aspect or the method according to the second aspect when running the computer program.
[0025] In a sixth aspect, an embodiment of the present application provides a computer storage medium storing a computer program, wherein the computer program, when executed, implements the method described in the first aspect, or implements the method described in the second aspect.
[0026] The embodiments of the present application provide a Bluetooth communication method, a Bluetooth device, and a computer storage medium. On the transmitting Bluetooth device side, a CIS connection is established with a receiving Bluetooth device; when the service situation to be transmitted between the transmitting Bluetooth device and the receiving Bluetooth device meets the preset conditions, a parameter adjustment command is sent to the receiving Bluetooth device; wherein the parameter adjustment command carries the adjustment information of the time interval parameter between two consecutive CIS events; a confirmation message returned by the receiving Bluetooth device is received, and the time interval parameter is adjusted according to the confirmation message. On the receiving Bluetooth device side, a CIS connection is established with the transmitting Bluetooth device; a parameter adjustment command sent by the transmitting Bluetooth device is received; wherein the parameter adjustment command carries the adjustment information of the time interval parameter between two consecutive CIS events; when the receiving Bluetooth device confirms the adjustment of the time interval parameter, a confirmation message is sent to the transmitting Bluetooth device. In this way, during the communication process between the sending Bluetooth device and the receiving Bluetooth device, by dynamically adjusting the time interval parameters, especially when the time interval parameters are adjusted to a larger value, the scheduling frequency of CIS events is reduced, which not only reduces power consumption but also solves the conflict problem when CIS events coexist with other services, which is beneficial to improving the processing efficiency of Bluetooth devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A schematic diagram of an application scenario of a CIS provided for related technologies;
[0028] Figure 2 A data flow diagram of a CIS provided for related technologies;
[0029] Figure 3 A schematic diagram of a flow chart of a Bluetooth communication method provided in an embodiment of the present application;
[0030] Figure 4 A schematic diagram of a flow chart of another Bluetooth communication method provided in an embodiment of the present application;
[0031] Figure 5 A detailed flowchart of a Bluetooth communication method provided in an embodiment of the present application;
[0032] Figure 6 A schematic diagram comparing the optimization effects of a CIS provided in an embodiment of the present application;
[0033] Figure 7 A schematic diagram of the structure of a transmitting Bluetooth device provided in an embodiment of the present application;
[0034] Figure 8 A schematic diagram of the structure of a receiving Bluetooth device provided in an embodiment of the present application;
[0035] Fig. 9 A schematic diagram of the specific hardware structure of a Bluetooth device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. It is understood that the specific embodiments described herein are only used to explain the related applications, rather than to limit the applications. It should also be noted that, for ease of description, only the parts related to the related applications are shown in the drawings.
[0037] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0038] In the following description, "some embodiments" are referred to, which describe a subset of all possible embodiments, but it is understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict. It should also be pointed out that the terms "first\second\third" involved in the embodiments of the present application are only used to distinguish similar objects and do not represent a specific order for the objects. It is understandable that "first\second\third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.
[0039] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are described first. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations:
[0040] Bluetooth (BT)
[0041] Low Energy (LE)
[0042] Bluetooth Low Energy (BLE)
[0043] Bluetooth Low Energy Audio (BLE Audio)
[0044] Synchronization link
[0045] True Wireless Stereo (TWS)
[0046] Asynchronous connection logical (ACL)
[0047] AE Broadcast (Extended Advertising, AE ADV)
[0048] Transmit (TX)
[0049] Receive (RX)
[0050] Acknowledgment (ACK)
[0051] Connected Isochronous Stream (CIS)
[0052] Connected Isochronous Group (CIG)
[0053] The time between two consecutive CISevents (designated ISO_Interval in the Link Layer), ISO_Interval
[0054] In the related art, CIS is a BLE link audio solution launched for the Bluetooth 5.2 protocol version, which can share audio data between any two Bluetooth devices or multiple Bluetooth devices. For the CIS solution of the existing protocol standard, the embodiment of this application mainly provides an optimization strategy for solving two types of problems: optimizing conflicts between multiple services and better power consumption.
[0055] Among them, CIS is one of the main features released in the 5.2 protocol version. CIS is created based on the LE ACL link connection. A CIG can establish multiple CIS events, and a time interval (ISO_Interval) parameter is set between two consecutive CIS events. In other words, when creating a CIG, the ISO_Interval parameter of the CIS has been specified in the protocol standard; once the CIG is established, the ISO_Interval parameter will not change until the CIG is re-created next time. Here, a CIG can establish up to 31 CISs. For details, please refer to the Bluetooth standard protocol.
[0056] For example, see Figure 1 , which shows a schematic diagram of an application scenario of a CIS provided by the related technology. Figure 1 As shown in the figure, taking three devices (such as M device, L device and R device) as an example, the M device can create two CISs, which form a CIG, and the two CISs are connected to the R device and the L device respectively. Specifically, the M device first needs to establish an LE ACL link with the R device and the L device respectively, and then create a CIS based on each LE ACL link.
[0057] based on Figure 1 The CIS application scenario shown in the figure has the following corresponding CIS data flow: Figure 2 As shown. Figure 2 In a CIG event, CISL represents the CIS data stream between the M device and the L device, CISR represents the CIS data stream between the M device and the R device, and ISO_Interval represents the time interval parameter between two consecutive CIS events. Among them, CISL (event (x)) and CISL (event (x+1)) are two consecutive CIS events, and CISR (event (x)) and CISR (event (x+1)) are also two consecutive CIS events; in each CIS event, there may be multiple CIS subevents. In addition, as Figure 2 As shown, each CIS subevent is composed of a data packet sent by the M device (filled with grid lines) and a response message returned by the L device / R device (filled with slashes).
[0058] In this way, when there is a service (such as music), the CIS event occurs with the fixed interval ISO_Interval parameter. When there is no service, the CIS event still occurs with the original fixed interval ISO_Interval parameter, but each CIS subevent sends a null data packet, which is a huge waste of power consumption; at the same time, when other services (such as telephone, AE ADV, etc.) occur, its frequent scheduling will also frequently conflict with these other services.
[0059] Based on this, an embodiment of the present application provides a Bluetooth communication method, which is applied to a sending Bluetooth device. The basic idea of the method is: establishing a CIS connection with a receiving Bluetooth device; when the service situation to be transmitted between the sending Bluetooth device and the receiving Bluetooth device meets the preset conditions, sending a parameter adjustment command to the receiving Bluetooth device; wherein the parameter adjustment command carries adjustment information of the time interval parameter between two consecutive CIS events; receiving a confirmation message returned by the receiving Bluetooth device, and adjusting the time interval parameter according to the confirmation message.
[0060] An embodiment of the present application also provides a Bluetooth communication method, which is applied to a receiving Bluetooth device. The basic idea of the method is: establishing a CIS connection with a sending Bluetooth device; receiving a parameter adjustment command sent by the sending Bluetooth device; wherein the parameter adjustment command carries adjustment information of the time interval parameter between two consecutive CIS events; when the receiving Bluetooth device confirms the adjustment of the time interval parameter, a confirmation message is sent to the sending Bluetooth device.
[0061] In this way, during the communication process between the sending Bluetooth device and the receiving Bluetooth device, both the sending Bluetooth device and the receiving Bluetooth device can dynamically adjust the time interval parameters, especially when the time interval parameters are adjusted to a large value, because the scheduling frequency of CIS events is reduced, not only can the power consumption be reduced, but also the conflict problem when CIS events coexist with other services can be solved. In this way, without disconnecting CIS, power consumption can be saved as much as possible and the probability of conflict with other services can be reduced, which is conducive to improving the processing efficiency of Bluetooth devices.
[0062] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0063] In one embodiment of the present application, see Figure 3 , which shows a schematic diagram of a flow chart of a Bluetooth communication method provided in an embodiment of the present application. Figure 3 As shown, the method may include:
[0064] S301: Establish a CIS connection with a receiving Bluetooth device.
[0065] It should be noted that the Bluetooth communication method of the embodiment of the present application is applied to a transmitting Bluetooth device. In the embodiment of the present application, the transmitting Bluetooth device and the receiving Bluetooth device can share audio data, and both the transmitting Bluetooth device and the receiving Bluetooth device can support BT technology or BLE technology.
[0066] It should also be noted that the transmitting Bluetooth device can be called a master device, the receiving Bluetooth device can be called a slave device, and the number of receiving Bluetooth devices can be one or more. For example, the transmitting Bluetooth device can be a sound source device such as a smart phone, and the receiving Bluetooth device can be a left earphone device and / or a right earphone device.
[0067] In the embodiment of the present application, CIS is a BLE link audio solution launched by Bluetooth 5.2 protocol version, which can share audio data between the sending Bluetooth device and the receiving Bluetooth device. In some embodiments, establishing a CIS connection with the receiving Bluetooth device may include:
[0068] Establishing an LE ACL link with the receiving Bluetooth device;
[0069] Based on the LE ACL link, a CIS connection is established with the receiving Bluetooth device.
[0070] It should be noted that the ACL link can be regarded as a directional data packet transmission. It supports both symmetric and asymmetric connections (one-to-one or one-to-many). The master device is responsible for controlling the link bandwidth and determining how much bandwidth each slave device in the network can occupy and the symmetry of the connection; a slave device can only transmit data when it is selected. The ACL link also supports receiving broadcast messages sent by the master device to all slave devices in the network. In this way, CIS can be created only after the LE ACL link is established between the master device and the slave device.
[0071] That is, firstly, the transmitting Bluetooth device establishes an LE ACL link with the receiving Bluetooth device, and then creates a CIS with the receiving Bluetooth device based on the LE ACL link.
[0072] Here, if there are multiple receiving Bluetooth devices, the transmitting Bluetooth device can also create a CIG, which includes multiple CISs. Figure 2 For example, the sending Bluetooth device is M device, and the receiving Bluetooth devices are R device and L device. Among them, M device first needs to establish an LE ACL link with R device and L device respectively, and then create CIS based on their respective LE ACL links; these two CIS form a CIG. It should be noted that under normal circumstances, a maximum of 31 CIS can be established in a CIG.
[0073] In an embodiment of the present application, according to the LE ACL link, the specific process of establishing a CIS between the sending Bluetooth device and the receiving Bluetooth device may include: based on the LE ACL link, the sending Bluetooth device sends a CIS connection establishment request message to the receiving Bluetooth device; the receiving Bluetooth device returns a CIS connection establishment response message to the sending Bluetooth device based on the received CIS connection establishment request message; the sending Bluetooth device establishes a CIS based on the received CIS connection establishment response message, and the CIS creation between the sending Bluetooth device and the receiving Bluetooth device can be completed, thereby enabling audio data sharing between the sending Bluetooth device and the receiving Bluetooth device.
[0074] S302: When the service to be transmitted between the transmitting Bluetooth device and the receiving Bluetooth device meets a preset condition, a parameter adjustment command is sent to the receiving Bluetooth device; wherein the parameter adjustment command carries adjustment information of a time interval parameter between two consecutive CIS events.
[0075] It should be noted that an important parameter related to CIS events is the time interval parameter (which can be represented by ISO_Interval). Here, at the link layer, the ISO_Interval parameter represents the time interval parameter between two consecutive CIS events. The ISO_Interval parameter is set according to actual conditions, and its specific value may be related to factors such as the number of Bluetooth devices and the data transmission rate. In a specific example, Figure 2 For example, the value of the ISO_Interval parameter may be 7.5 milliseconds, but this embodiment of the present application does not impose any limitation thereto.
[0076] It should also be noted that after CIS is established, CIS events will occur with fixed interval ISO_Interval parameters. However, for the transmitting Bluetooth device, it may have no CIS service or the priority of CIS service is low. At this time, CIS scheduling is still performed with fixed interval ISO_Interval parameters, which not only wastes power consumption, but also causes frequent conflicts with other services. Therefore, the embodiment of the present application can adjust the ISO_Interval parameter.
[0077] In the embodiment of the present application, the CIS service specifically refers to the audio playback service. Thus, the preset condition may include at least one of the following: no audio playback service, the audio playback service is the first priority, and the audio playback service is the second priority. The first priority is lower than the second priority.
[0078] In some embodiments, when the preset conditions include no audio playback service and the audio playback service being of low priority, for S302, when the service to be transmitted between the transmitting end Bluetooth device and the receiving end Bluetooth device meets the preset conditions, sending a parameter adjustment command to the receiving end Bluetooth device may include:
[0079] When the service to be transmitted between the transmitting Bluetooth device and the receiving Bluetooth device is no audio playback service or the audio playback service is the first priority, a first parameter adjustment command is sent to the receiving Bluetooth device; wherein the first parameter adjustment command is used to adjust the time interval parameter to a maximum.
[0080] In some embodiments, when the preset condition includes that the audio playback service is of high priority, for S302, when the service to be transmitted between the transmitting end Bluetooth device and the receiving end Bluetooth device meets the preset condition, sending a parameter adjustment command to the receiving end Bluetooth device may include:
[0081] When the service to be transmitted between the transmitting Bluetooth device and the receiving Bluetooth device is an audio playback service with a second priority, a second parameter adjustment command is sent to the receiving Bluetooth device; wherein the second parameter adjustment command is used to adjust the time interval parameter to a smaller value.
[0082] It should be noted that the parameter adjustment command sent by the transmitting Bluetooth device to the receiving Bluetooth device may be a first parameter adjustment command for increasing the ISO_Interval parameter or a second parameter adjustment command for decreasing the ISO_Interval parameter, so as to achieve dynamic adjustment of the ISO_Interval parameter.
[0083] It should also be noted that, for the first priority and the second priority, when music is shared between the sending Bluetooth device and the receiving Bluetooth device, if the sending Bluetooth device receives a phone service, the priority of the phone service will be the second priority (also called "high priority"), and relatively speaking, the priority of the music service will be the first priority (also called "low priority"); when the sending Bluetooth device disconnects the phone service, the priority of the music service will be adjusted to the second priority (also called "high priority").
[0084] Specifically, in one possible implementation, if the service condition of the Bluetooth device at the transmitting end is that there is no audio playback service or the audio playback service is of low priority, in order to avoid conflicts with high-priority services, the ISO_Interval parameter can be increased to reduce the frequency of CIS scheduling; at this time, the Bluetooth device at the transmitting end sends a first parameter adjustment command to the Bluetooth device at the receiving end. In another possible implementation, if the service condition of the Bluetooth device at the transmitting end is that the audio playback service is of high priority, the ISO_Interval parameter can be reduced to increase the frequency of CIS scheduling; at this time, the Bluetooth device at the transmitting end sends a second parameter adjustment command to the Bluetooth device at the receiving end.
[0085] Further, in some embodiments, sending the parameter adjustment command to the receiving Bluetooth device may include: sending the parameter adjustment command to the receiving Bluetooth device in a preset manner; wherein the preset manner includes at least one of the following: a private protocol manner, a Bluetooth link manner, a low-power Bluetooth link manner, and a broadcast manner.
[0086] It should be noted that, for the parameter adjustment command, the embodiment of the present application can use a private protocol to send it to the receiving Bluetooth device, where the private protocol can be represented by adj_iso; the parameter adjustment command can also be sent to the receiving Bluetooth device through a BT link mode or a BLE link mode, or even a broadcast mode or any other method between Bluetooth devices.
[0087] In this way, since the parameter adjustment command carries the adjustment information of the time interval parameter between two consecutive CIS events, the receiving Bluetooth device can obtain the adjustment information of the ISO_Interval parameter after receiving the parameter adjustment command, so as to confirm the adjustment of the ISO_Interval parameter.
[0088] S303: Receive a confirmation message returned by the receiving Bluetooth device, and adjust the time interval parameter according to the confirmation message.
[0089] It should be noted that the response message returned by the receiving Bluetooth device to the transmitting Bluetooth device can be a confirmation message or a rejection message. Specifically, after the receiving Bluetooth device confirms the adjustment of the ISO_Interval parameter this time, the receiving Bluetooth device can send a confirmation message to the transmitting Bluetooth device. In this way, after the transmitting Bluetooth device receives the confirmation message from the receiving Bluetooth device, the transmitting Bluetooth device can adjust the ISO_Interval parameter. In addition, the receiving Bluetooth device can also confirm that the ISO_Interval parameter will not be adjusted this time, then the receiving Bluetooth device can send a rejection message to the transmitting Bluetooth device. In this way, after the transmitting Bluetooth device receives the rejection message from the receiving Bluetooth device, the transmitting Bluetooth device will not adjust the ISO_Interval parameter.
[0090] Further, after adjusting the ISO_Interval parameter, the subsequent transmitting end Bluetooth device can also perform CIS scheduling according to the adjusted ISO_Interval parameter. In some embodiments, after adjusting the time interval parameter according to the confirmation message, the method can also include: maintaining the CIS connection with the receiving end Bluetooth device according to the adjusted time interval parameter.
[0091] That is to say, after the transmitting Bluetooth device adjusts the time interval parameter according to the confirmation message, the CIS connection with the receiving Bluetooth device can be maintained according to the adjusted ISO_Interval parameter, and the CIS scheduling can be performed according to the adjusted ISO_Interval parameter. In this way, without disconnecting the CIS, by dynamically adjusting the time interval parameter, especially when the time interval parameter is adjusted to a large value, the scheduling frequency of the CIS event is reduced, which not only solves the problem of conflict interruption when the CIS coexists with other services, but also greatly reduces power consumption by dynamically adjusting the ISO_Interval parameter.
[0092] A Bluetooth communication method provided in an embodiment of the present application is applied to a sending Bluetooth device. A CIS connection is established with a receiving Bluetooth device; when the service to be transmitted between the sending Bluetooth device and the receiving Bluetooth device meets a preset condition, a parameter adjustment command is sent to the receiving Bluetooth device; wherein the parameter adjustment command carries adjustment information of the time interval parameter between two consecutive CIS events; a confirmation message returned by the receiving Bluetooth device is received, and the time interval parameter is adjusted according to the confirmation message. In this way, during the communication process between the sending Bluetooth device and the receiving Bluetooth device, by dynamically adjusting the time interval parameter, especially when the time interval parameter is adjusted to a large value, since the scheduling frequency of the CIS event is reduced, not only the power consumption can be reduced, but also the conflict problem when the CIS event coexists with other services can be solved, which is beneficial to improving the processing efficiency of the Bluetooth device.
[0093] In another embodiment of the present application, see Figure 4 , which shows a flow chart of another Bluetooth communication method provided by an embodiment of the present application. Figure 4 As shown, the method may include:
[0094] S401: Establish a CIS connection with a sending Bluetooth device.
[0095] It should be noted that the Bluetooth communication method of the embodiment of the present application is applied to the receiving Bluetooth device. In the embodiment of the present application, the transmitting Bluetooth device and the receiving Bluetooth device can share audio data, and both the transmitting Bluetooth device and the receiving Bluetooth device can support BT technology or BLE technology.
[0096] It should also be noted that the transmitting Bluetooth device can be called a master device, the receiving Bluetooth device can be called a slave device, and the number of receiving Bluetooth devices can be one or more. For example, the transmitting Bluetooth device can be a sound source device such as a smart phone, and the receiving Bluetooth device can be a left earphone device and / or a right earphone device.
[0097] In the embodiment of the present application, CIS is a BLE link audio solution launched by Bluetooth 5.2 protocol version, which can share audio data between the sending Bluetooth device and the receiving Bluetooth device. In some embodiments, establishing a CIS connection with the sending Bluetooth device may include:
[0098] Establishing an LE ACL link with the transmitting Bluetooth device;
[0099] Based on the LE ACL link, a CIS connection is established with the sending Bluetooth device.
[0100] That is to say, first, an LE ACL link is established between the transmitting Bluetooth device and the receiving Bluetooth device, and then a CIS with the receiving Bluetooth device is created based on the LE ACL link.
[0101] Here, if there are multiple receiving Bluetooth devices, the transmitting Bluetooth device can also create a CIG, which includes multiple CISs. Figure 2 For example, the sending Bluetooth device is M device, and the receiving Bluetooth devices are R device and L device. Among them, M device first needs to establish an LE ACL link with R device and L device respectively, and then create CIS based on their respective LE ACL links; these two CIS form a CIG. It should be noted that under normal circumstances, a maximum of 31 CIS can be established in a CIG.
[0102] In an embodiment of the present application, according to the LE ACL link, the specific process of establishing a CIS between the sending Bluetooth device and the receiving Bluetooth device may include: based on the LE ACL link, the sending Bluetooth device sends a CIS connection establishment request message to the receiving Bluetooth device; the receiving Bluetooth device returns a CIS connection establishment response message to the sending Bluetooth device based on the received CIS connection establishment request message; the sending Bluetooth device establishes a CIS based on the received CIS connection establishment response message, and the CIS creation between the sending Bluetooth device and the receiving Bluetooth device can be completed, thereby enabling audio data sharing between the sending Bluetooth device and the receiving Bluetooth device.
[0103] S402: Receive a parameter adjustment command sent by the transmitting Bluetooth device; wherein the parameter adjustment command carries adjustment information of a time interval parameter between two consecutive CIS events.
[0104] It should be noted that an important parameter related to CIS events is the time interval parameter (which can be represented by ISO_Interval). Here, the ISO_Interval parameter represents the time interval parameter between two consecutive CIS events. The ISO_Interval parameter is set according to actual conditions, and its specific value may be related to factors such as the number of Bluetooth devices and the data transmission rate. For example, Figure 2 For example, the value of the ISO_Interval parameter may be 7.5 milliseconds, but this embodiment of the present application does not impose any limitation thereto.
[0105] It should also be noted that after CIS is established, CIS events will occur with fixed interval ISO_Interval parameters. However, for the transmitting Bluetooth device, it may have no CIS service or the priority of CIS service is low. At this time, CIS scheduling is still performed with fixed interval ISO_Interval parameters, which not only wastes power consumption, but also causes frequent conflicts with other services. Therefore, the embodiment of the present application can adjust the ISO_Interval parameter.
[0106] In the embodiment of the present application, the CIS service may specifically refer to an audio playback service. Thus, the preset condition may include at least one of the following: no audio playback service, the audio playback service being the first priority, and the audio playback service being the second priority. The first priority is lower than the second priority.
[0107] In a possible implementation manner, for S402, the receiving the parameter adjustment command sent by the sending Bluetooth device may include:
[0108] When the service to be transmitted between the transmitting Bluetooth device and the receiving Bluetooth device is no audio playback service or the audio playback service is the first priority, a first parameter adjustment command sent by the transmitting Bluetooth device is received; wherein the first parameter adjustment command is used to adjust the time interval parameter to a maximum.
[0109] In another possible implementation, for S402, the receiving the parameter adjustment command sent by the sending Bluetooth device may include:
[0110] When the service to be transmitted between the transmitting Bluetooth device and the receiving Bluetooth device is an audio playback service with a second priority, a second parameter adjustment command sent by the transmitting Bluetooth device is received; wherein the second parameter adjustment command is used to adjust the time interval parameter to a smaller value.
[0111] That is, the parameter adjustment command sent by the transmitting Bluetooth device to the receiving Bluetooth device may be a first parameter adjustment command for increasing the ISO_Interval parameter or a second parameter adjustment command for decreasing the ISO_Interval parameter, so as to realize dynamic adjustment of the ISO_Interval parameter.
[0112] It should also be noted that, for the first priority and the second priority, in relative circumstances, the first priority can be called a low priority and the second priority can be called a high priority. Specifically, in one possible implementation, if the service situation of the Bluetooth device at the transmitting end is that there is no audio playback service or the audio playback service is of low priority, in order to avoid conflicts with high-priority services, then the first parameter adjustment command received by the Bluetooth device at the receiving end can increase the ISO_Interval parameter; in another possible implementation, if the service situation of the Bluetooth device at the transmitting end is that the audio playback service is of high priority, then the second parameter adjustment command received by the Bluetooth device at the receiving end can reduce the ISO_Interval parameter, thereby enabling dynamic adjustment of the ISO_Interval parameter.
[0113] Further, in some embodiments, the receiving of the parameter adjustment command sent by the sending Bluetooth device may include: receiving the parameter adjustment command sent by the sending Bluetooth device in a preset manner; wherein the preset manner includes at least one of the following: a private protocol manner, a Bluetooth link manner, a low-power Bluetooth link manner, and a broadcast manner.
[0114] It should be noted that, for parameter adjustment commands, the embodiments of the present application can use a preset method to send parameter adjustment commands to the receiving Bluetooth device, and the receiving Bluetooth device can also use a preset method to receive the parameter adjustment command. For example, the receiving Bluetooth device can use a private protocol to receive the parameter adjustment command sent by the sending Bluetooth device, where the private protocol can be represented by adj_iso; the receiving Bluetooth device can also use a BT link method or a BLE link method, or even any other method such as a broadcast method to receive the parameter adjustment command sent by the sending Bluetooth device.
[0115] S403: When the receiving Bluetooth device confirms that the time interval parameter is adjusted, a confirmation message is sent to the sending Bluetooth device.
[0116] It should be noted that, since the parameter adjustment command carries the adjustment information of the time interval parameter between two consecutive CIS events, the receiving Bluetooth device can obtain the adjustment information of the ISO_Interval parameter after receiving the parameter adjustment command, so as to confirm the adjustment of the ISO_Interval parameter. When the receiving Bluetooth device confirms the adjustment of the ISO_Interval parameter, the receiving Bluetooth device can send a confirmation message to the sending Bluetooth device.
[0117] It should also be noted that after the receiving Bluetooth device can send a confirmation message to the transmitting Bluetooth device, the transmitting Bluetooth device can adjust the ISO_Interval parameter according to the confirmation message, and the transmitting Bluetooth device can subsequently perform CIS scheduling according to the adjusted ISO_Interval parameter. In some embodiments, the method may also include: maintaining a CIS connection with the transmitting Bluetooth device according to the adjusted time interval parameter.
[0118] That is to say, after the transmitting Bluetooth device adjusts the time interval parameter according to the response message, the CIS between the transmitting Bluetooth device and the receiving Bluetooth device can be maintained according to the adjusted ISO_Interval parameter, and the CIS scheduling can be performed according to the adjusted ISO_Interval parameter. In this way, without disconnecting the CIS, not only the conflict interruption problem when the CIS coexists with other services is solved, but also the power consumption can be greatly reduced by dynamically adjusting the ISO_Interval parameter.
[0119] This embodiment provides a Bluetooth communication method, which is applied to a receiving Bluetooth device. A CIS connection is established with a transmitting Bluetooth device; a parameter adjustment command is received from the transmitting Bluetooth device; wherein the parameter adjustment command carries adjustment information of the time interval parameter between two consecutive CIS events; when the receiving Bluetooth device confirms that the time interval parameter is adjusted, a confirmation message is sent to the transmitting Bluetooth device. In this way, during the communication process between the transmitting Bluetooth device and the receiving Bluetooth device, by dynamically adjusting the time interval parameter, especially when the time interval parameter is adjusted to a large value, since the scheduling frequency of the CIS event is reduced, not only the power consumption can be reduced, but also the conflict problem when the CIS event coexists with other services can be solved, which is beneficial to improving the processing efficiency of the Bluetooth device.
[0120] In another embodiment of the present application, see Figure 5 , which shows a detailed flow chart of a Bluetooth communication method provided by an embodiment of the present application. Figure 5 As shown, assuming that the sending end Bluetooth device is an M device and the receiving end Bluetooth devices are an R device and an L device, the detailed process may include:
[0121] S501: The M device and the R device establish a CIS.
[0122] S502: The M device and the L device establish a CIS.
[0123] It should be noted that the M device first needs to establish an LE ACL link with the R device and the L device respectively, and then establish a CIS based on the respective LE ACL links; that is, the M device can create two CISs, which are connected to the R device and the L device respectively.
[0124] S503: The M device determines that there is no current service or there is other high-priority service.
[0125] S504: The M device sends a parameter adjustment command to the R device.
[0126] S505: The R device returns a response message to the M device.
[0127] S506: The M device sends a parameter adjustment command to the L device.
[0128] S507: The L device returns a response message to the M device.
[0129] S508: The M device maintains the CIS with the R device according to the adjusted time interval parameter.
[0130] S509: The M device maintains the CIS with the L device according to the adjusted time interval parameter.
[0131] The parameter adjustment command may adopt a private protocol, for example, it may be expressed as adj_iso CMD, wherein adj_iso is a private protocol, which is only used to facilitate identification of the protocol, and mainly adjusts the time interval parameter, namely, the ISO_Interval parameter.
[0132] It should also be noted that when the M device determines that there is no business at present or there are other high-priority businesses, in order to solve the frequent conflicts between CIS and other businesses and the problem of power consumption waste, the ISO_Interval parameter can be adjusted, specifically executing S504 to S507; then, CIS scheduling can continue according to the adjusted time interval parameter (i.e., new ISO_Interval), that is, executing S508 and S509.
[0133] That is to say, the ISO_Interval parameter can be adjusted by sending a private protocol. When there is no audio playback service or the audio playback service is relatively low priority (that is, there are other high-priority services), adjusting the ISO_Interval parameter can save power consumption and reduce the chance of conflict with other services as much as possible without disconnecting the CIS.
[0134] For example, when there is no audio playback service or the audio playback service is of low priority, after adjusting the ISO_Interval parameter, the CIS optimization effect comparison at this time is shown as follows: Figure 6 As shown. Figure 6 Before the adjustment, the ISO_Interval parameter was small, which made CIS scheduling more frequent, resulting in conflicts between CIS scheduling and new business scheduling. After the adjustment, the adjusted ISO_Interval parameter made CIS scheduling less frequent, thereby optimizing the mutual interruption between multiple businesses, solving the conflicts between CIS and other businesses, and by dynamically adjusting the ISO_Interval parameter, it can also greatly reduce power consumption.
[0135] The embodiment of the present application provides a Bluetooth communication method, and the specific implementation of the aforementioned embodiment is elaborated in detail through the above embodiment. It can be seen that through the technical scheme of the aforementioned embodiment, in the communication process between the sending Bluetooth device and the receiving Bluetooth device, by dynamically adjusting the time interval parameter, especially when the time interval parameter is adjusted to a large value, since the scheduling frequency of CIS events is reduced, not only the power consumption can be reduced, but also the conflict problem when CIS events coexist with other services can be solved, which is conducive to improving the processing efficiency of the Bluetooth device.
[0136] In another embodiment of the present application, based on the same inventive concept as the above embodiment, see Figure 7 , which shows a schematic diagram of the composition structure of a transmitting end Bluetooth device 70 provided in an embodiment of the present application. Figure 7 As shown, the transmitting end Bluetooth device 70 may include: a first establishing unit 701, a first sending unit 702, a first receiving unit 703 and a first adjusting unit 704; wherein,
[0137] A first establishing unit 701 is configured to establish a CIS connection with a receiving Bluetooth device;
[0138] The first sending unit 702 is configured to send a parameter adjustment command to the receiving end Bluetooth device when the service situation to be transmitted between the sending end Bluetooth device and the receiving end Bluetooth device meets a preset condition; wherein the parameter adjustment command carries adjustment information of the time interval parameter between two consecutive CIS events;
[0139] The first adjusting unit 704 is configured to adjust the time interval parameter according to the confirmation message returned by the receiving Bluetooth device after receiving the confirmation message through the first receiving unit 703.
[0140] In some embodiments, the first establishing unit 701 is specifically configured to establish a low-power asynchronous connection logical link with the receiving Bluetooth device; and establish a CIS connection with the receiving Bluetooth device based on the low-power asynchronous connection logical link.
[0141] In some embodiments, the preset condition includes at least one of the following: no audio playback service, the audio playback service is a first priority, and the audio playback service is a second priority, and the first priority is lower than the second priority;
[0142] Correspondingly, the first sending unit 702 is specifically configured to send a first parameter adjustment command to the receiving Bluetooth device when the service situation to be transmitted between the sending Bluetooth device and the receiving Bluetooth device is that there is no audio playback service or the audio playback service is the first priority; wherein the first parameter adjustment command is used to adjust the time interval parameter to a larger value; or, when the service situation to be transmitted between the sending Bluetooth device and the receiving Bluetooth device is that the audio playback service is the second priority, send a second parameter adjustment command to the receiving Bluetooth device; wherein the second parameter adjustment command is used to adjust the time interval parameter to a smaller value.
[0143] In some embodiments, the first sending unit 702 is specifically configured to send a parameter adjustment command to the receiving Bluetooth device in a preset manner; wherein the preset manner includes at least one of the following: a private protocol manner, a Bluetooth link manner, a low-power Bluetooth link manner, and a broadcast manner.
[0144] In some embodiments, see Figure 7 The transmitting Bluetooth device 70 may further include a first maintaining unit 705 configured to maintain the CIS connection with the receiving Bluetooth device according to the adjusted time interval parameter.
[0145] The embodiment of the present application provides a transmitting end Bluetooth device, which may include a first establishing unit, a first sending unit, a first receiving unit and a first adjusting unit. In this way, during the communication process between the transmitting end Bluetooth device and the receiving end Bluetooth device, by dynamically adjusting the time interval parameter, especially when the time interval parameter is adjusted to a large value, since the scheduling frequency of CIS events is reduced, not only can the power consumption be reduced, but also the conflict problem when CIS events coexist with other services can be solved, which is conducive to improving the processing efficiency of the Bluetooth device.
[0146] In another embodiment of the present application, based on the same inventive concept as the above embodiment, see Figure 8 , which shows a schematic diagram of the composition structure of a receiving end Bluetooth device 80 provided in an embodiment of the present application. Figure 8As shown, the receiving end Bluetooth device 80 may include: a second establishing unit 801, a second receiving unit 802 and a second sending unit 803; wherein,
[0147] The second establishing unit 801 is configured to establish a CIS connection with a transmitting Bluetooth device;
[0148] The second receiving unit 802 is configured to receive a parameter adjustment command sent by the transmitting end Bluetooth device; wherein the parameter adjustment command carries adjustment information of a time interval parameter between two consecutive CIS events;
[0149] The second sending unit 803 is configured to send a confirmation message to the sending Bluetooth device when the receiving Bluetooth device confirms that the time interval parameter is adjusted.
[0150] In some embodiments, the second establishing unit 801 is specifically configured to establish a low-power asynchronous connection logical link with the transmitting Bluetooth device; and establish a CIS connection with the transmitting Bluetooth device based on the low-power asynchronous connection logical link.
[0151] In some embodiments, the second receiving unit 802 is specifically configured to receive a first parameter adjustment command sent by the sending Bluetooth device when the service situation of the sending Bluetooth device and the receiving Bluetooth device to be transmitted is no audio playback service or the audio playback service is of the first priority; wherein the first parameter adjustment command is used to adjust the time interval parameter to a larger value; or, when the service situation of the sending Bluetooth device and the receiving Bluetooth device to be transmitted is an audio playback service of the second priority, receive a second parameter adjustment command sent by the sending Bluetooth device; wherein the second parameter adjustment command is used to adjust the time interval parameter to a smaller value; wherein the first priority is lower than the second priority.
[0152] In some embodiments, the second receiving unit 802 is specifically configured to receive the parameter adjustment command sent by the sending Bluetooth device in a preset manner; wherein the preset manner includes at least one of the following: a private protocol manner, a Bluetooth link manner, a low-power Bluetooth link manner, and a broadcast manner.
[0153] In some embodiments, see Figure 8 The receiving Bluetooth device 80 may further include a second maintaining unit 804 configured to maintain the CIS connection with the transmitting Bluetooth device according to the adjusted time interval parameter.
[0154] The embodiment of the present application provides a receiving end Bluetooth device, which may include a second establishing unit, a second receiving unit, and a second sending unit. In this way, during the communication process between the sending end Bluetooth device and the receiving end Bluetooth device, by dynamically adjusting the time interval parameter, especially when the time interval parameter is adjusted to a large value, since the scheduling frequency of the CIS event is reduced, not only can the power consumption be reduced, but also the conflict problem when the CIS event coexists with other services can be solved, which is conducive to improving the processing efficiency of the Bluetooth device.
[0155] It is understandable that in the above embodiments, a "unit" may be a part of a circuit, a part of a processor, a part of a program or software, etc., and may also be a module or non-modular. Moreover, each component in the present embodiment may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of a software functional module.
[0156] If the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the method described in this embodiment. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.
[0157] Therefore, an embodiment of the present application provides a computer storage medium, which stores a computer program. When the computer program is executed, the Bluetooth communication method described in any one of the aforementioned embodiments is implemented.
[0158] Based on the above-mentioned components of the transmitting end Bluetooth device 70 or the receiving end Bluetooth device 80 and the computer storage medium, see Fig. 9 , which shows a schematic diagram of the specific hardware structure of a Bluetooth device 90 provided in an embodiment of the present application. Fig. 9As shown, it may include: a communication interface 901, a memory 902 and a processor 903; each component is coupled together through a bus system 904. It is understood that the bus system 904 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 904 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Fig. 9 In FIG. 9 , various buses are labeled as bus system 904. Among them,
[0159] Communication interface 901, used for receiving and sending signals during the process of sending and receiving information with other external network elements;
[0160] Memory 902, used to store computer programs that can be run on processor 903;
[0161] The processor 903 is configured to execute the Bluetooth communication method described in any one of the aforementioned embodiments when running the computer program.
[0162] In a specific example, if the Bluetooth device 90 is the transmitting end Bluetooth device described in the foregoing embodiment, then the processor 903 is specifically configured to execute, when running the computer program:
[0163] Establish a CIS connection with the receiving Bluetooth device;
[0164] When the service to be transmitted between the transmitting end Bluetooth device and the receiving end Bluetooth device meets a preset condition, a parameter adjustment command is sent to the receiving end Bluetooth device; wherein the parameter adjustment command carries adjustment information of a time interval parameter between two consecutive CIS events;
[0165] Receive a confirmation message returned by the receiving-end Bluetooth device, and adjust the time interval parameter according to the confirmation message.
[0166] In another specific example, if the Bluetooth device 90 is the receiving end Bluetooth device described in the foregoing embodiment, then the processor 903 is specifically configured to execute, when running the computer program:
[0167] Establish a CIS connection with the sending Bluetooth device;
[0168] Receive a parameter adjustment command sent by the transmitting Bluetooth device; wherein the parameter adjustment command carries adjustment information of a time interval parameter between two consecutive CIS events;
[0169] When the receiving-end Bluetooth device confirms to adjust the time interval parameter, a confirmation message is sent to the sending-end Bluetooth device.
[0170] It can be understood that the memory 902 in the embodiment of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct RAM bus random access memory (DRRAM). The memory 902 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0171] The processor 903 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 903. The above processor 903 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to execute, or the hardware and software modules in the decoding processor are combined and executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 902, and the processor 903 reads the information in the memory 902 and completes the steps of the above method in combination with its hardware.
[0172] It is understood that the embodiments described in the present application can be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application or a combination thereof.
[0173] For software implementation, the technology described in this application can be implemented by a module (e.g., a procedure, a function, etc.) that performs the functions described in this application. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0174] Optionally, as another embodiment, the processor 903 is further configured to execute the Bluetooth communication method described in any one of the aforementioned embodiments when running the computer program.
[0175] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.
[0176] It should be noted that, in this application, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0177] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0178] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0179] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0180] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0181] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A Bluetooth communication method, characterized in that: Applied to a sending Bluetooth device, the method includes: Establish a CIS connection with the receiving Bluetooth device; When the service to be transmitted between the transmitting end Bluetooth device and the receiving end Bluetooth device meets a preset condition, a parameter adjustment command is sent to the receiving end Bluetooth device; wherein the parameter adjustment command carries adjustment information of a time interval parameter between two consecutive CIS events; Receive a confirmation message returned by the receiving Bluetooth device, and adjust the time interval parameter according to the confirmation message; The preset condition includes at least one of the following: no audio playback service, the audio playback service is a first priority, and the audio playback service is a second priority, and the first priority is lower than the second priority; Correspondingly, when the service to be transmitted between the transmitting end Bluetooth device and the receiving end Bluetooth device meets a preset condition, sending a parameter adjustment command to the receiving end Bluetooth device includes: When the service to be transmitted between the transmitting end Bluetooth device and the receiving end Bluetooth device is no audio playback service or the audio playback service is the first priority, sending a first parameter adjustment command to the receiving end Bluetooth device; wherein the first parameter adjustment command is used to adjust the time interval parameter to a maximum; or When the service to be transmitted between the transmitting Bluetooth device and the receiving Bluetooth device is an audio playback service with a second priority, a second parameter adjustment command is sent to the receiving Bluetooth device; wherein the second parameter adjustment command is used to adjust the time interval parameter to a smaller value.
2. The method according to claim 1, characterized in that The establishing of a CIS connection with the receiving end Bluetooth device includes: Establishing a low-power asynchronous connection logical link with the receiving Bluetooth device; Based on the low-power asynchronous connection logical link, a CIS connection is established with the receiving Bluetooth device.
3. The method according to claim 1, characterized in that: The sending of the parameter adjustment command to the receiving end Bluetooth device includes: Sending a parameter adjustment command to the receiving Bluetooth device in a preset manner; wherein the preset manner includes at least one of the following: a private protocol manner, a Bluetooth link manner, a low-power Bluetooth link manner, and a broadcast manner.
4. The method according to any one of claims 1 to 3, characterized in that: After adjusting the time interval parameter according to the confirmation message, the method further includes: Maintain the CIS connection with the receiving end Bluetooth device according to the adjusted time interval parameter.
5. A Bluetooth communication method, characterized in that: Applied to a receiving Bluetooth device, the method comprises: Establish a CIS connection with the sending Bluetooth device; Receive a parameter adjustment command sent by the transmitting Bluetooth device; wherein the parameter adjustment command carries adjustment information of a time interval parameter between two consecutive CIS events; When the receiving end Bluetooth device confirms to adjust the time interval parameter, sending a confirmation message to the sending end Bluetooth device; The receiving of the parameter adjustment command sent by the transmitting Bluetooth device includes: When the service to be transmitted between the transmitting end Bluetooth device and the receiving end Bluetooth device is no audio playback service or the audio playback service is the first priority, receiving a first parameter adjustment command sent by the transmitting end Bluetooth device; wherein the first parameter adjustment command is used to adjust the time interval parameter to a maximum; or When the service to be transmitted between the transmitting Bluetooth device and the receiving Bluetooth device is an audio playback service with a second priority, a second parameter adjustment command sent by the transmitting Bluetooth device is received; wherein the second parameter adjustment command is used to adjust the time interval parameter to a smaller value; wherein the first priority is lower than the second priority.
6. The method according to claim 5, characterized in that The establishing of a CIS connection with the transmitting end Bluetooth device includes: Establishing a low-power asynchronous connection logical link with the transmitting Bluetooth device; Based on the low-power asynchronous connection logical link, a CIS connection is established with the sending end Bluetooth device.
7. The method according to any one of claims 5 to 6, characterized in that: After sending the confirmation message to the transmitting end Bluetooth device, the method further includes: Maintain the CIS connection with the transmitting end Bluetooth device according to the adjusted time interval parameter.
8. A transmitting end Bluetooth device, characterized in that: The transmitting end Bluetooth device includes a first establishing unit, a first sending unit, a first receiving unit and a first adjusting unit; wherein, The first establishing unit is configured to establish a CIS connection with a receiving Bluetooth device; The first sending unit is configured to send a parameter adjustment command to the receiving end Bluetooth device when the service situation to be transmitted between the sending end Bluetooth device and the receiving end Bluetooth device meets a preset condition; wherein the parameter adjustment command carries adjustment information of the time interval parameter between two consecutive CIS events; The first adjustment unit is configured to adjust the time interval parameter according to the confirmation message returned by the receiving end Bluetooth device after receiving the confirmation message through the first receiving unit; Among them, the preset conditions include at least one of the following: no audio playback service, audio playback service is the first priority and audio playback service is the second priority, and the first priority is lower than the second priority; accordingly, the first sending unit is specifically configured to send a first parameter adjustment command to the receiving Bluetooth device when the service situation to be transmitted between the sending Bluetooth device and the receiving Bluetooth device is no audio playback service or the audio playback service is the first priority; wherein the first parameter adjustment command is used to adjust the time interval parameter to a larger value; or, when the service situation to be transmitted between the sending Bluetooth device and the receiving Bluetooth device is the audio playback service is the second priority, send a second parameter adjustment command to the receiving Bluetooth device; wherein the second parameter adjustment command is used to adjust the time interval parameter to a smaller value.
9. A receiving end Bluetooth device, characterized in that: The receiving end Bluetooth device includes a second establishing unit, a second receiving unit and a second sending unit; wherein, The second establishing unit is configured to establish a CIS connection with a transmitting end Bluetooth device; The second receiving unit is configured to receive a parameter adjustment command sent by the transmitting Bluetooth device; wherein the parameter adjustment command carries adjustment information of a time interval parameter between two consecutive CIS events; The second sending unit is configured to send a confirmation message to the sending Bluetooth device when the receiving Bluetooth device confirms that the time interval parameter is adjusted; Among them, the second receiving unit is specifically configured to receive a first parameter adjustment command sent by the sending-end Bluetooth device when the service situation of the sending-end Bluetooth device and the receiving-end Bluetooth device to be transmitted is no audio playback service or the audio playback service is of the first priority; wherein the first parameter adjustment command is used to adjust the time interval parameter to a larger value; or, when the service situation of the sending-end Bluetooth device and the receiving-end Bluetooth device to be transmitted is an audio playback service of the second priority, receive a second parameter adjustment command sent by the sending-end Bluetooth device; wherein the second parameter adjustment command is used to adjust the time interval parameter to a smaller value; wherein the first priority is lower than the second priority.
10. A Bluetooth device, characterized in that: The Bluetooth device includes a memory and a processor; wherein, The memory is used to store a computer program that can be run on the processor; The processor is configured to execute the method according to any one of claims 1 to 4, or the method according to any one of claims 5 to 7 when running the computer program.
11. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 4 is implemented, or the method according to any one of claims 5 to 7 is implemented.
Citation Information
Patent Citations
Bluetooth transmission method and device
CN111510899A
Bluetooth low-power-consumption audio data transmission method, device thereof and equipment
CN111800171A
Data transmission methods, devices, equipment, systems and media
CN111869142A
Communication method and device of wireless device, and computer readable storage medium
CN112205014A
Using bluetooth low energy
WO2014068366A1
