CN117221857A - Event configuration method, device, equipment, system and storage medium - Google Patents

Event configuration method, device, equipment, system and storage medium Download PDF

Info

Publication number
CN117221857A
CN117221857A CN202311149872.XA CN202311149872A CN117221857A CN 117221857 A CN117221857 A CN 117221857A CN 202311149872 A CN202311149872 A CN 202311149872A CN 117221857 A CN117221857 A CN 117221857A
Authority
CN
China
Prior art keywords
cis
event
ble
data packet
transmission mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311149872.XA
Other languages
Chinese (zh)
Inventor
陈柏康
谢林庭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Zhongke Lanxun Technology Co ltd
Original Assignee
Shenzhen Zhongke Lanxun Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Zhongke Lanxun Technology Co ltd filed Critical Shenzhen Zhongke Lanxun Technology Co ltd
Priority to CN202311149872.XA priority Critical patent/CN117221857A/en
Publication of CN117221857A publication Critical patent/CN117221857A/en
Pending legal-status Critical Current

Links

Abstract

The application provides an event configuration method, an event configuration device, an event configuration equipment, an event configuration system and a storage medium, wherein the event configuration method comprises the following steps: the method comprises the steps that a master Bluetooth device and a slave Bluetooth device simultaneously establish an LE-CIS transmission mode and a BLE transmission mode, the master Bluetooth device obtains all CIS events in a synchronous connection group, and each CIS event comprises a plurality of CIS sub-events; configuring at least one sub-event of each CIS event as a common event; the BLE packets or CIS packets are transmitted based on a common event. According to the technical scheme, the BLE data packet and the CIS data packet can be transmitted on the common event, the problem of bandwidth waste can be avoided, and the bandwidth utilization rate is improved.

Description

Event configuration method, device, equipment, system and storage medium
Technical Field
The present application relates to the field of bluetooth communications, and in particular, to a method, apparatus, device, system, and storage medium for event configuration.
Background
Bluetooth is a standard wireless communication technology, which is used to exchange data between devices within a short distance, so as to simplify the data interaction process between electronic devices. With the continuous evolution of technology, the bluetooth technology has iterated from early bluetooth 1.0 to bluetooth 5.3, and bluetooth 5.3 focuses on bluetooth Audio with low energy (LE Audio), so that the limitation that conventional bluetooth cannot point-to-multi transmission synchronous stream data can be broken, multi-stream transmission can be realized, and in addition, broadcast Audio sharing can be combined, and bluetooth Audio experience can be enhanced.
The LE Audio may support two transmission modes, LE-CIS (LE Connected Isochronous Stream, LE connection synchronization stream) transmission mode and LE-BIS (LE Broadcast Isochronous Stream, LE broadcast synchronization stream) transmission mode, respectively. The LE-CIS transmission mode needs to be used simultaneously with the conventional BLE (Bluetooth Low Energe, bluetooth low energy) transmission mode, because the LE-CIS transmission mode is established on ACL (Asynchronous connectionless Link, asynchronous communication link) of the BLE transmission mode, the LE-CIS is necessarily accompanied by BLE, and in general, communication time slots of the LE-CIS and BLE are respectively set at fixed time intervals on a time axis and do not affect each other. However, in the CIS event of the LE-CIS, the Number of times of sending a data packet does not exceed NSE (Number of SubEvents, number of sub-events) at most, if BN (Burst Number, number of new data packets) of the CIS is equal to 1 and the data packet has been successfully received in the first sub-event, there is no communication interaction in the remaining NSE-1 sub-events, and bandwidth of the part of events is wasted, so how to improve the bandwidth utilization is a problem to be solved.
Disclosure of Invention
The application provides an event configuration method, an event configuration device, an event configuration system and a storage medium, which are used for solving the technical problem that communication bandwidth of Bluetooth equipment is not effectively utilized when the LE-CIS transmission mode and the BLE transmission mode are simultaneously established.
In a first aspect, an event configuration method is provided, applied to a master bluetooth device in a bluetooth system, where the master bluetooth device and a slave bluetooth device establish an LE-CIS transmission mode and a BLE transmission mode at the same time, and the method includes: acquiring all CIS events in a synchronous connection group, wherein each CIS event comprises a plurality of CIS sub-events; configuring at least one CIS sub-event of the individual CIS events as a common event; and transmitting a BLE data packet or a CIS data packet based on the common event.
With reference to the first aspect, in a possible implementation manner, the transmitting BLE data packets or CIS data packets based on the common event includes: determining a current priority of the common event; if the current priority is that the BLE data packet is higher than the CIS data packet, transmitting the BLE data packet based on the common event; and if the current priority is that the CIS data packet is higher than the BLE data packet, transmitting the CIS data packet based on the common event.
With reference to the first aspect, in a possible implementation manner, the determining the current priority of the common event includes: judging whether the preamble sub-event of the common event successfully receives a CIS data packet; if yes, determining that the current priority of the common event is that a BLE data packet is higher than a CIS data packet; if not, determining that the current priority of the common event is that the CIS data packet is higher than the BLE data packet.
With reference to the first aspect, in one possible implementation manner, before determining whether the preamble sub-event of the common event successfully receives the CIS data packet, the method further includes: setting a timeout reminding parameter of the BLE transmission mode; and if the time interval of the last successful BLE data packet based on the BLE transmission mode does not exceed the overtime reminding parameter, executing the judgment on whether the preamble sub-event of the common event successfully receives the CIS data packet.
With reference to the first aspect, in a possible implementation manner, the method further includes: and if the time interval of the last successfully transmitted BLE data packet based on the BLE transmission mode exceeds the overtime reminding parameter, determining that the current priority of the common event is that the BLE data packet is higher than the CIS data packet.
With reference to the first aspect, in a possible implementation manner, the setting a timeout alert parameter of the BLE transmission mode includes: acquiring the preset timeout time of the BLE transmission mode; and setting a timeout reminding parameter of the BLE transmission mode according to the timeout time.
With reference to the first aspect, in a possible implementation manner, before configuring at least one CIS sub-event of the CIS events as a common event, the method further includes: acquiring an ISO time interval of the LE-CIS transmission mode and a connection interval of the BLE transmission mode; and adjusting the connection interval to be n times of the ISO time interval, wherein n is an integer greater than or equal to 1.
With reference to the first aspect, in one possible implementation manner, the start time of the connection interval is aligned with the start time of a target common event, where the target common event is a common event of the 1 st ISO time interval corresponding to the connection interval.
In a second aspect, an event configuration apparatus is provided, which is applied to a master bluetooth device in a bluetooth system, where the master bluetooth device and a slave bluetooth device establish an LE-CIS transmission mode and a BLE transmission mode at the same time, and the event configuration apparatus includes: the system comprises an acquisition module, a synchronization connection group and a control module, wherein the acquisition module is used for acquiring each CIS event in the synchronization connection group, and each CIS event comprises a plurality of CIS sub-events; a configuration module, configured to configure at least one CIS sub-event of the CIS events as a common event; and the transmission module is used for transmitting the BLE data packet or the CIS data packet based on the common event.
In a third aspect, there is provided a master bluetooth device comprising a memory, a processor and a transceiver, the memory and the transceiver being connected to the processor, the transceiver being for transmitting or receiving data, the processor being for executing one or more computer programs stored in the memory, the processor, when executing the one or more computer programs, causing the master bluetooth device to implement the method of any of claims 1 to 8.
In a fourth aspect, a bluetooth system is provided, where the bluetooth system includes a master bluetooth device and a slave bluetooth device, where the master bluetooth device and the slave bluetooth device establish an LE-CIS transmission mode and a BLE transmission mode at the same time; wherein the master bluetooth device is configured to implement the method according to the first aspect.
In a fifth aspect, there is provided a computer readable storage medium storing a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the method of the first aspect.
The application can realize the following technical effects: when the master Bluetooth device establishes an LE-CIS transmission mode and a BLE transmission mode simultaneously with the slave Bluetooth device, the master Bluetooth device can acquire all CIS events of the synchronous connection group, and configure at least one sub-event in all the CIS events as a common event, wherein the common event overlaps with the BLE connection event and can be used for transmitting BLE data packets or CIS data packets. By setting the common event mode, the BLE data packet and the CIS data packet can be transmitted on the common event, so that the problem of bandwidth waste can be effectively avoided, and the bandwidth utilization rate is improved.
Drawings
FIG. 1 is a schematic diagram of a prior art CIS stream synchronization process;
FIG. 2 is a diagram illustrating a prior art data transmission scheme applied to a synchronous connection set;
fig. 3 is a schematic diagram of event configuration in a conventional BLE transmission mode;
fig. 4 is a schematic diagram of a bluetooth system according to an embodiment of the present application;
fig. 5 is a flow chart of an event configuration method according to an embodiment of the present application;
FIG. 6 is an exemplary diagram of a configuration common event provided by an embodiment of the present application;
FIG. 7 is an exemplary diagram of another configuration common event provided by an embodiment of the present application;
fig. 8 is a schematic structural diagram of an event configuration device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a master bluetooth device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
The technical scheme of the application is suitable for a Bluetooth communication scene, in particular for an application scene that a master Bluetooth device and a slave Bluetooth device simultaneously use an LE-CIS transmission mode and a BLE transmission mode to communicate in the Bluetooth communication scene. The main Bluetooth device searches surrounding Bluetooth devices and selects Bluetooth devices to be connected for pairing connection; a slave bluetooth device refers to a device waiting to be searched for a connection by a master bluetooth device in a bluetooth communication scenario. Specifically, the main bluetooth device may be a mobile phone, a notebook computer, etc.; the Bluetooth device can be an earphone, a smart sound, a mobile phone, a computer and the like, and the application is not limited. It should be appreciated that a bluetooth device may either initiate a communication connection as a master bluetooth device or receive a communication connection as a slave bluetooth device; one bluetooth device can also serve as a master bluetooth device and a slave bluetooth device at the same time.
Before the master Bluetooth device and the slave Bluetooth device communicate by using the LE-CIS communication link, an LE-CIS transmission mode needs to be established, the LE-CIS transmission mode is established on the basis of the BLE transmission mode, and in short, the master Bluetooth device and the slave Bluetooth device establish the BLE transmission mode first and then further establish the LE-CIS transmission mode on the basis of the BLE transmission mode.
For example, as shown in fig. 1, an exemplary diagram of a synchronization process of a plurality of CIS streams is shown. The slave Bluetooth device comprises a left earphone device and a right earphone device, wherein the CIS stream of the left earphone device and the CIS stream of the right earphone device form a synchronous connection group (Connected Isochronous Groups, CIG), and the CIS streams in the same synchronous connection group have the same ISO time interval so as to ensure that the CIS streams of the left earphone device and the CIS stream of the right earphone device in the same group are synchronous in Bluetooth data. Each CIS stream has a schedule of transmit and receive time slots, referred to as events and sub-events.
For example, as shown in fig. 2, a schematic diagram of data transmission applied to a synchronous connection set is shown. Event X and event x+1 in fig. 2 belong to the same synchronous connection group, each event is divided into one or more sub-events, and the time period between the start of transmission of bluetooth data in each sub-event and the start of transmission of bluetooth data in the next sub-event is called a sub-event time interval (sub-interval). The ISO interval (ISO-interval) refers to a time period between a start transmission time of bluetooth data in event X of one synchronous connection group and a start transmission time of bluetooth data in the next event x+1, which may be specified to be 5ms to 4s.
In one possible embodiment, as described above, the master bluetooth device and the slave bluetooth device also maintain a BLE transmission mode corresponding to the CIS transmission mode, which can exchange data between equal time intervals, referred to as Connection intervals (Connection interval), each data exchange being referred to as a Connection Event through which data transmission and reception are completed, as shown in fig. 3. Outside of the connection event, both the master bluetooth device and the slave bluetooth device are in a dormant state.
When two transmission modes of LE-CIS and BLE exist in a Bluetooth device at the same time, when bandwidth is allocated, communication time slots of LE-CIS and BLE are required to be respectively set on a time axis according to fixed time intervals and do not affect each other. However, in the CIS event of the LE-CIS, the number of times of sending a data packet does not exceed NSE times at most, and if the number of new data packets of the CIS is equal to 1, the data packet is successfully received in the first sub-event, and there is no communication interaction in the remaining NSE-1 sub-events, so that the bandwidth of the part of events is wasted.
In view of the above, the present application provides an event configuration method, apparatus, device, system and storage medium, which can effectively improve the bandwidth utilization. The technical solution of the present application may be applied to a bluetooth system shown in fig. 4, and as shown in fig. 4, the bluetooth system 40 may include a master bluetooth device 401 and a slave bluetooth device 402, where the master bluetooth device 401 may simultaneously communicate with a plurality of slave bluetooth devices 402, and establish LE-CIS transmission modes with the plurality of slave bluetooth devices 402.
In some possible embodiments, the master bluetooth device 401 and the slave bluetooth device 402 need to maintain BLE transmission mode with the slave bluetooth device 402 while establishing LE-CIS transmission mode.
Based on the system shown in fig. 4, the following specifically describes the technical solution of the present application.
Referring to fig. 5, fig. 5 is a flowchart of an event configuration method according to an embodiment of the present application. As shown in fig. 5, the method can be applied to a master bluetooth device that establishes an LE-CIS transmission mode with a slave bluetooth device, the LE-CIS transmission mode being established based on a BLE transmission mode. The method shown in fig. 5 includes the steps of:
s501, acquiring all CIS events in the synchronous connection group.
For example, as shown in fig. 1, the slave bluetooth device includes a left earphone device and a right earphone device, where the CIS streams of the left earphone device and the CIS streams of the right earphone device may form a synchronous connection group, and as shown in fig. 2, CIS streams in the same synchronous connection group have the same ISO time interval, and each CIS event includes a plurality of CIS sub-events, such as sub-event 1 and sub-event 2 included in event X in fig. 2.
As a possible implementation, the specific number of CIS events may be configured according to the requirements of bluetooth data transmission, which the present application does not limit in any way.
S502, configuring at least one CIS sub-event in each CIS event as a common event.
As a possible implementation, the selection manner of the common event may be: the last sub-event in the individual CIS events is configured as the common event, such as sub-event 2 in fig. 2. Alternatively, all sub-events located after the m-last position in each CIS event are configured as sub-events, where m is a positive integer greater than 1, for example, assuming that event X in fig. 2 includes 3 sub-events, sub-event 1, sub-event 2, and sub-event 3 in sequence, where m is taken to be 3, both sub-event 2 and sub-event 3 may be configured as common events.
Wherein the common event overlaps with the BLE connection event, that is, the ISO time interval of the common event has an intersection time period with the connection interval corresponding to the connection event of the BLE transmission mode.
In one embodiment, before the step S502, the method further includes: acquiring an ISO time interval of the LE-CIS transmission mode and a connection interval of the BLE transmission mode; and adjusting the connection interval to be n times of the ISO time interval, wherein n is an integer greater than or equal to 1.
By the above adjustment method for the two time intervals of CIS and BLE, the common event can be aligned over a plurality of periods, so that the BLE data packet can be effectively transmitted over the common event over a plurality of periods.
In one embodiment, the start time of the connection interval is aligned with the start time of a target common event, which is a common event of the 1 st ISO time interval corresponding to the connection interval.
It should be noted that, after the BLE connection transmission mode is established, the master bluetooth device may have a fixed connection interval, and modify the value of the connection interval, and modify the starting position of the connection interval, so as to align with the starting point of the common event, so as to ensure that the BLE data packet can be transmitted on the common event.
As a possible implementation manner, when n is 1, the connection interval is equal to the ISO time interval, then each set common event is the target common event, the ISO time interval and the connection interval are in a cross overlapping relationship, the cross portion is the time interval portion of each common event, and each common event can be used for transmitting the BLE data packet. For example, as shown in fig. 6, assuming that the last sub-event of each CIS event is set as the common event, the start time of the common event is the start position of the last sub-event of each CIS event, and when n is taken to be 1, the master bluetooth device sets the start position of the time interval of the BLE data packet to the start position of the last sub-event of each CIS event, so that the time alignment can be achieved.
As another possible embodiment, when n is taken to be 2, the connection interval is an ISO time interval of 2 times, if the start time of the connection interval is guaranteed to be aligned with the start time of the target common event, that is, the start time of the common event of 1 st ISO time interval is aligned, the start time of the common event of 2 nd ISO time interval will not be aligned, at this time, it may be considered that only 1 st common event is a valid common event, CIS data packets and BLE data packets may be transmitted, and the common event of 2 nd ISO time interval transmits CIS data packets only as a sub-event of CIS event. Similarly, when n is a positive integer such as 3, 4, etc., reference may be made to the case when n is 2, and the description of the present application is omitted here.
And S503, transmitting a BLE data packet or a CIS data packet based on the common event.
In one embodiment, the step S503 includes: determining a current priority of the common event; if the current priority is that the BLE data packet is higher than the CIS data packet, transmitting the BLE data packet based on the common event; and if the current priority is that the CIS data packet is higher than the BLE data packet, transmitting the CIS data packet based on the common event.
It should be noted that, the LE-CIS transmission mode and the BLE transmission mode may have priority levels differentiated on the common event, the priority level of the CIS data packet may be higher than the priority level of the BLE data packet or lower than the priority level of the BLE data packet, and the master bluetooth device may preferentially transmit the data packet with high priority on the common event.
In one embodiment, the determining the current priority of the common event includes: judging whether the preamble sub-event of the common event successfully receives a CIS data packet; if yes, determining that the current priority of the common event is that a BLE data packet is higher than a CIS data packet; if not, determining that the current priority of the common event is that the CIS data packet is higher than the BLE data packet.
For example, referring to fig. 6, the CIS flow has 3 sub-events in a CIS event, and determines that the 3 rd sub-event is taken as a common event, in CIS event 1, the CIS packet fails to be received in the 1 st sub-event, and is successfully received in the 2 nd sub-event, then the 3 rd sub-event is an idle sub-event, at this time, the BLE packet has a higher priority than the CIS packet, and can be used by BLE as a connection event to transmit the BLE packet; in CIS event 2, the CIS packet is successfully received in the 1 st sub event, the 2 nd sub event is an idle event, but is not a set common event, so that the sub event is skipped, the 3 rd sub event is an idle event, and at this time, the priority of the BLE packet is higher than that of the CIS packet, and is also used by BLE as a connection event to transmit the BLE packet; in CIS event 3, the data packet fails to be received in the 1 st sub-event and fails to be received in the 2 nd sub-event, and then the 3 rd sub-event is not an idle event, and the priority of the BLE data packet is lower than that of the CIS data packet, so that the BLE data packet is used as a sub-event of the CIS to transmit the CIS data packet.
As a possible implementation manner, both LE-CIS and BLE transmission modes may respectively set a timeout reminding parameter, where the timeout reminding parameter is, for example, 1s, and if there is no interaction between the master bluetooth device and the slave bluetooth device of the CIS exceeding the timeout reminding parameter, it is determined that the LE-CIS is disconnected, and BLE is the same.
It should be noted that, based on the above manner of determining the priority, the LE-CIS transmission mode has a plurality of sub-events and priority of the common event, there is a low possibility that there is no interaction within the timeout reminding parameter of the LE-CIS transmission mode, however, for the BLE transmission mode, since communication is performed only in the common event and the priority is lower than that of the CIS, if the CIS data packet in the CIS event is always transmitted failure, the NSE sub-event of the CIS event is used for CIS communication, and the duration of the ISO time intervals in this case will easily cause the BLE to exceed the timeout reminding parameter of the LE-CIS transmission mode, and there is a risk of disconnection. To this end, the master bluetooth device may determine the current priority in combination with a timeout alert parameter for BLE.
In one embodiment, before determining whether the preamble sub-event of the common event successfully receives the CIS data packet, the method further includes: setting a timeout reminding parameter of the BLE transmission mode; and if the time interval of the last successful BLE data packet based on the BLE transmission mode does not exceed the overtime reminding parameter, executing the judgment on whether the preamble sub-event of the common event successfully receives the CIS data packet.
For example, assuming that the timeout alert parameter of BLE is set to 1s, the master bluetooth device may determine that the time interval does not exceed the timeout alert parameter when detecting that the end time of the last successful transmission of the BLE data packet in the BLE transmission mode is 500ms according to the current time, and then the above-mentioned method for determining whether the preamble sub-event of the common event successfully receives the CIS data packet may be performed.
In one embodiment, if the time interval for successfully transmitting the BLE data packet based on the previous time of the BLE transmission mode exceeds the timeout alert parameter, the current priority of the common event is determined to be that the BLE data packet is higher than the CIS data packet.
In this way, when the time interval of the last successful transmission of the BLE data packet in the BLE transmission mode exceeds the timeout reminding parameter, in the subsequent common event, the priority of the BLE data packet is higher than that of the CIS data packet, that is, whether the common event is an idle event in the CIS or not, the common event is communicated by the BLE transmission mode.
In one embodiment, the determination of the timeout alert parameter for BLE may be performed before the common event arrives.
In one embodiment, the setting the timeout alert parameter of the BLE transmission mode includes: acquiring the preset timeout time of the BLE transmission mode; and setting a timeout reminding parameter of the BLE transmission mode according to the timeout time.
It should be noted that, the timeout period (timeout) is a value preset by the system when the BLE transmission mode is established, and the setting of the timeout alert parameter may refer to the value. For example, the timeout alert parameter may be timeout/2 or timeout/3, which is not limited in any way by the present application.
For another example, referring to fig. 7, the last event of each CIS event is set as a common event. In the CIS event 1, the CIS data packet fails to be received in the 1 st sub event and fails to be received in the 2 nd sub event, so that the 3 rd sub event is not an idle event and is used as a sub event for transmitting the CIS data packet by the CIS; the method comprises the steps that a plurality of CIS events are continued, then before a CIS event n occurs, the time interval of BLE from last successful transmission of a BLE data packet reaches the set value of the overtime reminding parameter, at the moment, the priority of the BLE data packet is improved, in the CIS event n, CIS reception fails in the 1 st sub event and the 2 nd sub event, and the 3 rd common event is used for BLE communication by BLE to transmit the BLE data packet; after successful interaction of BLE, the time interval for successfully transmitting the BLE data packet is refreshed, in CIS event n+1, the time interval for successfully transmitting the BLE data packet last time does not reach the set value of the overtime reminding parameter, the priority of the CIS data packet is recovered, CIS reception fails in the 1 st and 2 nd sub-events, and the 3 rd common event is used as a sub-event for transmitting the CIS data packet by the CIS.
Therefore, by the event configuration method provided by the application, when the master Bluetooth device and the slave Bluetooth device establish the LE-CIS transmission mode and the BLE transmission mode simultaneously, the master Bluetooth device can acquire all CIS events of the synchronous connection group and configure at least one sub-event in all the CIS events as a common event, and the common event can be used for transmitting CIS data packets and can also be used for transmitting BLE data packets. Through the mode of setting up the sharing incident for BLE data package and CIS data package all can be transmitted on this sharing incident, have effectively avoided the extravagant problem of bandwidth, have improved bandwidth utilization, and based on the setting to CIS data package and BLE data package priority, have alleviateed the influence to CIS and BLE double link normal communication to the maximum extent, have improved communication efficiency.
The method of the present application is described above and the apparatus of the present application is described below.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an event configuration apparatus provided in an embodiment of the present application, which is applied to a master bluetooth device, where the master bluetooth device and a slave bluetooth device establish an LE-CIS transmission mode and a BLE transmission mode at the same time, as shown in fig. 8, the event configuration apparatus 80 includes:
an acquiring module 801, configured to acquire each CIS event in the synchronization connection group, where each CIS event includes a plurality of CIS sub-events.
A configuration module 802, configured to configure at least one CIS sub-event of the CIS events as a common event.
A transmitting module 803, configured to transmit a BLE data packet or a CIS data packet based on the common event.
As a possible design, the transmitting module 803 is configured to, when transmitting a BLE packet or a CIS packet based on the common event, specifically: determining a current priority of the common event; if the current priority is that the BLE data packet is higher than the CIS data packet, transmitting the BLE data packet based on the common event; and if the current priority is that the CIS data packet is higher than the BLE data packet, transmitting the CIS data packet based on the common event.
As a possible design, the transmission module 803 is configured to, when determining the current priority of the common event, specifically: judging whether the preamble sub-event of the common event successfully receives a CIS data packet; if yes, determining that the current priority of the common event is that a BLE data packet is higher than a CIS data packet; if not, determining that the current priority of the common event is that the CIS data packet is higher than the BLE data packet.
As one possible design, the event configuration apparatus further includes: a setting module (not shown in fig. 8) is configured to set a timeout alert parameter for the BLE transmission mode.
The transmission module 803 is configured to, before determining whether the preamble sub-event of the common event successfully receives the CIS data packet, further: acquiring a timeout reminding parameter of the BLE transmission mode set by the setting module; and if the time interval of the last successful BLE data packet based on the BLE transmission mode does not exceed the overtime reminding parameter, executing the judgment on whether the preamble sub-event of the common event successfully receives the CIS data packet.
As a possible design, the transmission module 803 is further configured to: and if the time interval of the last successfully transmitted BLE data packet based on the BLE transmission mode exceeds the overtime reminding parameter, determining that the current priority of the common event is that the BLE data packet is higher than the CIS data packet.
As a possible design, the setting module is configured to, when setting the timeout reminding parameter of the BLE transmission mode, specifically: acquiring the preset timeout time of the BLE transmission mode; and setting a timeout reminding parameter of the BLE transmission mode according to the timeout time.
As a possible design, the configuration module 822 is configured to, before configuring at least one CIS sub-event of the CIS events as a common event, further be configured to: acquiring an ISO time interval of the LE-CIS transmission mode and a connection interval of the BLE transmission mode; and adjusting the connection interval to be n times of the ISO time interval, wherein n is an integer greater than or equal to 1.
As a possible design, the start time of the connection interval is aligned with the start time of a target common event, which is a common event of the 1 st ISO time interval corresponding to the connection interval.
According to the device, when the master Bluetooth device and the slave Bluetooth device establish the LE-CIS transmission mode and the BLE transmission mode simultaneously, all CIS events of the synchronous connection group can be acquired, at least one sub-event in all the CIS events is configured as a common event, and the common event overlaps with the BLE connection event and can be used for transmitting BLE data packets or CIS data packets. By setting the common event mode, the BLE data packet and the CIS data packet can be transmitted on the common event, so that the problem of bandwidth waste can be effectively avoided, and the bandwidth utilization rate is improved.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a master bluetooth device provided in an embodiment of the present application, and the master bluetooth device 90 includes a processor 901, a memory 902 and a transceiver 903. The memory 902 is connected to the processor 901, for example via a bus.
The processor 901 is configured to support the master bluetooth device 90 to perform the corresponding functions in the methods in the method embodiments described above. The processor 901 may be a central processing unit (central processing unit, CPU), a network processor (network processor, NP), a hardware chip, or any combination thereof. The hardware chip may be an application specific integrated circuit (application specific integrated circuit, ASIC), a programmable logic device (programmable logic device, PLD), or a combination thereof. The PLD may be a complex programmable logic device (complex programmable logic device, CPLD), a field-programmable gate array (field-programmable gate array, FPGA), general-purpose array logic (generic array logic, GAL), or any combination thereof.
The memory 902 is used for storing program codes and the like. The memory 902 may include Volatile Memory (VM), such as random access memory (random access memory, RAM); the memory 902 may also include a non-volatile memory (NVM), such as read-only memory (ROM), flash memory (flash memory), hard disk (HDD) or Solid State Drive (SSD); the memory 902 may also include a combination of the above types of memory.
The transceiver 903 is used to transmit or receive data, and in particular, the transceiver 903 may include a bluetooth transceiver.
The processor 901 may call the program code to:
acquiring all CIS events in a synchronous connection group, wherein each CIS event comprises a plurality of CIS sub-events;
configuring at least one CIS sub-event of the individual CIS events as a common event;
and transmitting a BLE data packet or a CIS data packet based on the common event.
Embodiments of the present application also provide a computer-readable storage medium storing a computer program comprising program instructions that, when executed by a computer, cause the computer to perform the method of the previous embodiments.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in the embodiments may be accomplished by computer programs stored in a computer-readable storage medium, which when executed, may include the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only memory (ROM), a random-access memory (Random Access memory, RAM), or the like.
The foregoing disclosure is illustrative of the present application and is not to be construed as limiting the scope of the application, which is defined by the appended claims.

Claims (12)

1. An event configuration method, applied to a master bluetooth device in a bluetooth system, where the master bluetooth device and a slave bluetooth device establish an LE-CIS transmission mode and a BLE transmission mode simultaneously, the method comprising:
acquiring all CIS events in a synchronous connection group, wherein each CIS event comprises a plurality of CIS sub-events;
configuring at least one CIS sub-event of the individual CIS events as a common event;
and transmitting a BLE data packet or a CIS data packet based on the common event.
2. The method of claim 1, wherein transmitting BLE packets or CIS packets based on the common event comprises:
determining a current priority of the common event;
if the current priority is that the BLE data packet is higher than the CIS data packet, transmitting the BLE data packet based on the common event;
and if the current priority is that the CIS data packet is higher than the BLE data packet, transmitting the CIS data packet based on the common event.
3. The method of claim 2, wherein the determining the current priority of the common event comprises:
judging whether the preamble sub-event of the common event successfully receives a CIS data packet;
if yes, determining that the current priority of the common event is that a BLE data packet is higher than a CIS data packet;
if not, determining that the current priority of the common event is that the CIS data packet is higher than the BLE data packet.
4. The method of claim 3, wherein the determining whether the preamble sub-event of the common event successfully receives the CIS data packet is preceded by:
setting a timeout reminding parameter of the BLE transmission mode;
and if the time interval of the last successful BLE data packet based on the BLE transmission mode does not exceed the overtime reminding parameter, executing the judgment on whether the preamble sub-event of the common event successfully receives the CIS data packet.
5. The method of claim 4, wherein the method further comprises:
and if the time interval of the last successfully transmitted BLE data packet based on the BLE transmission mode exceeds the overtime reminding parameter, determining that the current priority of the common event is that the BLE data packet is higher than the CIS data packet.
6. The method according to claim 4 or 5, wherein the setting of the timeout alert parameter for the BLE transmission mode comprises:
acquiring the preset timeout time of the BLE transmission mode;
and setting a timeout reminding parameter of the BLE transmission mode according to the timeout time.
7. The method of claim 1, wherein prior to configuring at least one CIS sub-event of the individual CIS events as a common event, further comprising:
acquiring an ISO time interval of the LE-CIS transmission mode and a connection interval of the BLE transmission mode;
and adjusting the connection interval to be n times of the ISO time interval, wherein n is an integer greater than or equal to 1.
8. The method of claim 7, wherein a start time of the connection interval is aligned with a start time of a target common event, the target common event being a common event of a 1 st ISO time interval corresponding to the connection interval.
9. An event configuration apparatus applied to the method of any one of claims 1 to 8, wherein the event configuration apparatus is applied to a master bluetooth device in a bluetooth system, the master bluetooth device establishing an LE-CIS transmission mode and a BLE transmission mode simultaneously with a slave bluetooth device, the event configuration apparatus comprising:
the system comprises an acquisition module, a synchronization connection group and a control module, wherein the acquisition module is used for acquiring each CIS event in the synchronization connection group, and each CIS event comprises a plurality of CIS sub-events;
a configuration module, configured to configure at least one CIS sub-event of the CIS events as a common event;
and the transmission module is used for transmitting the BLE data packet or the CIS data packet based on the common event.
10. A master bluetooth device comprising a memory, a processor and a transceiver, the memory and the transceiver being connected to the processor, the transceiver being for transmitting or receiving data, the processor being for executing one or more computer programs stored in the memory, the processor, when executing the one or more computer programs, causing the master bluetooth device to implement the method of any of claims 1 to 8.
11. A bluetooth system, characterized in that the bluetooth system comprises a master bluetooth device and a slave bluetooth device, wherein the master bluetooth device and the slave bluetooth device establish an LE-CIS transmission mode and a BLE transmission mode at the same time; wherein the master bluetooth device is configured to implement the method of any of claims 1 to 8.
12. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the method of any of claims 1 to 8.
CN202311149872.XA 2023-09-06 2023-09-06 Event configuration method, device, equipment, system and storage medium Pending CN117221857A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311149872.XA CN117221857A (en) 2023-09-06 2023-09-06 Event configuration method, device, equipment, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311149872.XA CN117221857A (en) 2023-09-06 2023-09-06 Event configuration method, device, equipment, system and storage medium

Publications (1)

Publication Number Publication Date
CN117221857A true CN117221857A (en) 2023-12-12

Family

ID=89038122

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311149872.XA Pending CN117221857A (en) 2023-09-06 2023-09-06 Event configuration method, device, equipment, system and storage medium

Country Status (1)

Country Link
CN (1) CN117221857A (en)

Similar Documents

Publication Publication Date Title
CN114246014B (en) Random access method, terminal equipment and network equipment
KR20000013107A (en) Random access method in telecommunication system
WO2021063344A1 (en) Random access method and apparatus
EP2106166A1 (en) Relaxed deterministic back-off method for medium access control
CN113938387A (en) Communication method, device and readable storage medium
CN114830699A (en) Method for establishing ISO link and BLE equipment
CN101442810B (en) Method for enhancing RRC procedure re-initiation efficiency and communication apparatus thereof
CN113543371B (en) Communication method and device
US8855693B2 (en) Method and apparatus for controlling wireless devices
EP2498565A1 (en) Channel occupying method, mobile AP and external STA
CN111465112B (en) Method and device for processing access control signaling
CN117221857A (en) Event configuration method, device, equipment, system and storage medium
CN109845346B (en) Method for awakening wireless device, transmitting device and receiving device
US11917543B2 (en) Bluetooth-based data transmission method and data receiving method, communicating apparatus and computer storage medium
CN112584544B (en) Random access procedure
CN110446272B (en) Multi-slot CSMA communication method, device, equipment, system and storage medium
CN116965122A (en) Resource regulation and control method
CN107786310B (en) Data packet transmission method and node
WO2019100287A1 (en) Method for sending data in internet of vehicles, terminal, and network device
WO2023226732A1 (en) Signal sending method and apparatus, and signal receiving method and apparatus
CN117319976A (en) Bluetooth communication method, device, equipment, system and storage medium
CN117082548A (en) Bluetooth communication method, device, equipment and storage medium
WO2021142580A1 (en) Wireless communication method, terminal device and network device
WO2022236499A1 (en) Cg resource maintenance method, terminal device and network device
US20240015785A1 (en) Systems, devices, and methods related to conserving communication bandwidth with spare time schedule

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination