Frequency band switching method and apparatus, transmitting end, and receiving end

By determining the switching window and anchor point before frequency band switching, Bluetooth peripheral devices can continuously listen for connection events within a certain window length, solving the problem of reception failure during high-frequency BLE device switching and improving the success rate of frequency band switching.

WO2026112894A1PCT designated stage Publication Date: 2026-06-04AMLOGIC (SHANGHAI) CO LTD

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
AMLOGIC (SHANGHAI) CO LTD
Filing Date
2024-11-28
Publication Date
2026-06-04

AI Technical Summary

Technical Problem

During high-frequency BLE device switching, due to issues such as the LBT mechanism, the BLE central device cannot successfully send the data packet of the connection event at the preset time point, causing the Bluetooth peripheral device to fail to receive it, which seriously affects the success rate of frequency band switching.

Method used

Before the frequency band switch, the BLE central device determines the first time point and at least one switching window, and configures the anchor point of the first connection event on the new frequency band within the first switching window. By sending information carrying the time point and switching window indication information, the Bluetooth peripheral device continuously listens for data packets of connection events within a certain length of window.

Benefits of technology

It increases the likelihood that Bluetooth peripheral devices will successfully receive connection event data packets and improves the success rate of frequency band switching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024135318_04062026_PF_FP_ABST
    Figure CN2024135318_04062026_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a frequency band switching method and apparatus, a transmitting end, and a receiving end. The method comprises: determining a first time point and at least one switching window on a current frequency band, wherein an anchor of a first connection event on a new frequency band is configured within a first switching window; and transmitting first information, the first information carrying indication information of the first time point and the switching window. The embodiments of the present application can improve the probability of a Bluetooth peripheral device successfully receiving data packets of a connection event, thereby improving the success rate of frequency band switching.
Need to check novelty before this filing date? Find Prior Art

Description

Frequency band switching methods and devices, transmitting end, receiving end Technical Field

[0001] This application relates to the field of communication technology, specifically to a frequency band switching method and apparatus, a transmitting end, and a receiving end. Background Technology

[0002] The current Bluetooth Low Energy (BLE) protocol operates on the 2.4 GHz band. In the future, BLE devices can operate on higher bands (HB), such as 5 GHz and 6 GHz. Under current spectrum resource management, different regulatory regions have different requirements. To ensure that these HB BLE devices comply with regional requirements, the channel access mechanism for HB BLE differs from that of traditional 2.4 GHz BLE devices.

[0003] HB BLE devices can use a Listen Before Talk (LBT) mechanism for channel access. That is, before using a BLE channel to transmit data, HB BLE needs to listen to the channel for a period of time, i.e., perform a Clear Channel Assessment (CCA) test. Only when the CCA result indicates that the channel is idle can the HB BLE device use that channel to transmit.

[0004] The current HB BLE protocol specifies that two HB BLE devices can switch between the 2.4GHz and HB bands. In existing band switching technologies, Bluetooth peripheral devices can determine the exact time when the BLE central device switches to the new band, and thus accurately receive connection event data packets at that time.

[0005] However, when HB BLE devices switch to the HB band, due to the involvement of more regulations, such as the LBT mechanism in the HB BLE protocol, the BLE central device may not be able to successfully send the connection event data packet at the preset time point, causing the Bluetooth peripheral device to fail to successfully receive the connection event data packet at that time point, which seriously affects the success rate of band switching. Summary of the Invention

[0006] In view of this, embodiments of this application provide a frequency band switching method and apparatus, a transmitting end, and a receiving end, which can increase the probability that Bluetooth peripheral devices can successfully receive data packets of connection events, thereby improving the success rate of frequency band switching.

[0007] To achieve the above objectives, the embodiments of this application provide the following technical solutions.

[0008] In a first aspect, embodiments of this application provide a frequency band switching method, comprising: determining a first time point and at least one switching window on the current frequency band, wherein the anchor point of the first connection event on the new frequency band is configured within the first switching window; and sending first information, the first information carrying indication information of the first time point and the switching window.

[0009] Optionally, the switching window satisfies one or more of the following: the indication information of the switching window is predefined; the indication information of the switching window is negotiated between the BLE central device and the Bluetooth peripheral device; the indication information of the switching window includes the minimum offset and the maximum offset of the switching window, wherein the start time of the minimum offset and the maximum offset of the switching window are both the first time point; the indication information of the switching window includes the switching window offset and the switching window duration, wherein the start time of the switching window offset is the first time point.

[0010] Optionally, the first information is carried in a transmission packet sent by the BLE central device.

[0011] Optionally, the sequence of connection events on the new frequency band is generated at connection intervals starting from the first connection event.

[0012] Optionally, one or more of the following conditions must be met: the connection interval is predefined; the connection interval is sent by the BLE central device; the connection interval is negotiated between the BLE central device and the Bluetooth peripheral device; the connection interval is greater than the duration of the switching window.

[0013] Optionally, the method further includes: determining a fixed second time point within each switching window for sending the corresponding connection event.

[0014] Optionally, the method further includes: starting from the first connection event, before the second time point corresponding to the current connection event, performing idle channel assessment and detection on the current channel on the new frequency band; in response to the detection result being busy, abandoning the current connection event, and performing idle channel assessment and detection on the new channel before the second time point corresponding to the next connection event, until the detection result is obtained as idle.

[0015] Optionally, the method further includes: starting from the first connection event, before the second time point corresponding to the current connection event, performing one or more continuous idle channel assessments on the current channel on the new frequency band until the detection result is idle, or until the detection results are all busy, then abandoning the current connection event, and before the second time point corresponding to the next connection event, performing one or more continuous idle channel assessments on the new channel.

[0016] Optionally, the method further includes: in response to the detection result being idle, sending a transmission packet for the corresponding connection event; wherein the transmission time is the second time point corresponding to the connection event.

[0017] Optionally, the connection events correspond one-to-one with the switching windows, and the interval between the start times of the switching windows corresponding to adjacent connection events is the connection interval.

[0018] Optionally, during the frequency band switching process, both the BLE central device and the Bluetooth peripheral device disable the "listen before speaking" second channel detection function.

[0019] Optionally, during the frequency band switching process, the BLE central device and the Bluetooth peripheral device enable the "listen-before-speak" second channel detection function; the method further includes: starting from the first connection event, before the second time point corresponding to the current connection event, performing idle channel evaluation and detection on the first channel on the new frequency band; in response to the detection result of the first channel being busy, before the end of the backoff time, switching to the second channel on the new frequency band, and performing idle channel evaluation and detection on the second channel; wherein, whenever the detection result of the current connection event on the first channel and all the second channels is busy, the current connection event is abandoned, and before the second time point corresponding to the next connection event, the first channel of the next connection event is subjected to one or more continuous idle channel evaluation and detections.

[0020] Optionally, the method further includes: in response to the detection result being idle, sending a transmission packet of the corresponding connection event on the corresponding channel; wherein the transmission time is the second time point corresponding to the connection event.

[0021] Optionally, the method satisfies one or more of the following: the backoff time is greater than the switching window on each channel; the connection interval is greater than the backoff time; the backoff time is predefined.

[0022] Optionally, each connection event corresponds to two or more switching windows, and the interval between the start times of the first switching windows corresponding to adjacent connection events is the connection interval.

[0023] Secondly, embodiments of this application provide a frequency band switching method, comprising: receiving first information; determining a first time point and at least one switching window on the current frequency band, wherein the anchor point of the first connection event on the new frequency band is configured within the first switching window; wherein the first information carries indication information of the first time point and the switching window.

[0024] Optionally, the method further includes: starting from the first time point, switching to the new frequency band to listen for connection events until the first connection event is received, or until the first switching window ends.

[0025] Optionally, the switching window satisfies one or more of the following: the indication information of the switching window is predefined; the indication information of the switching window is negotiated between the BLE central device and the Bluetooth peripheral device; the indication information of the switching window includes the minimum offset and the maximum offset of the switching window, wherein the start time of the minimum offset and the maximum offset of the switching window are both the first time point; the indication information of the switching window includes the switching window offset and the switching window duration, wherein the start time of the switching window offset is the first time point.

[0026] Optionally, the sequence of connection events on the new frequency band is generated at connection intervals starting from the first connection event.

[0027] Optionally, one or more of the following conditions must be met: the connection interval is predefined; the connection interval is sent by the BLE central device; the connection interval is negotiated between the BLE central device and the Bluetooth peripheral device; the connection interval is greater than the duration of the switching window.

[0028] Optionally, the method further includes: starting from the first connection event, in response to not receiving the first connection event within the current switching window, continuing to listen for connection events in the next switching window on the new frequency band until the first transmission packet of the connection event is received.

[0029] Optionally, the method further includes: starting from the first connection event, in response to not receiving the first connection event within the current switching window, switching to a new channel and listening for connection events in the next switching window of the new frequency band until the first transmission packet of the connection event is received.

[0030] Optionally, the connection events correspond one-to-one with the switching windows, and the interval between the start times of the switching windows corresponding to adjacent connection events is the connection interval.

[0031] Optionally, during the frequency band switching process, the BLE central device and the Bluetooth peripheral device enable the "listen-before-speak" second channel detection function; the method further includes: starting from the first connection event, in response to no current connection event being received within the current switching window on the first channel, before the end of the backoff time calculated from the start time of the current switching window, switching to the second channel to listen for the current connection event, and the listening duration is greater than or equal to the duration of the switching window; wherein, whenever no current connection event is received on the first channel and all second channels of the current connection event, after a connection interval calculated from the start time of the first switching window of the current connection event, switching to the first channel of the next connection event to listen for the next connection event, until the first transmission packet of the connection event is received.

[0032] Optionally, the method further includes: in response to the first received transmission packet of the connection event being on a second channel of the connection event, determining the anchor point of the connection event as the difference between the transmission time and the backoff time.

[0033] Optionally, each connection event corresponds to two or more switching windows, and the interval between the start times of the first switching windows corresponding to adjacent connection events is the connection interval.

[0034] Thirdly, embodiments of this application provide a frequency band switching device, comprising: a first determining module, configured to determine a first time point and at least one switching window on the current frequency band, wherein the anchor point of the first connection event on the new frequency band is configured within the first switching window; and a sending module, configured to send first information, the first information carrying indication information of the first time point and the switching window.

[0035] Fourthly, embodiments of this application provide a frequency band switching device, comprising: a receiving module for receiving first information; and a second determining module for determining a first time point and at least one switching window on the current frequency band, wherein the anchor point of the first connection event on the new frequency band is configured within the first switching window; wherein the first information carries indication information of the first time point and the switching window.

[0036] Fifthly, embodiments of this application also provide a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is run by a processor, the frequency band switching method provided in the first aspect or the frequency band switching method provided in the second aspect is executed.

[0037] In a sixth aspect, embodiments of this application provide a transmitting end, including a memory and a processor; the memory stores a computer program that can run on the processor, and when the processor runs the computer program, it executes the frequency band switching method provided in the first aspect.

[0038] In a seventh aspect, embodiments of this application provide a receiving end, including a memory and a processor; the memory stores a computer program that can run on the processor, and when the processor runs the computer program, it executes the frequency band switching method provided in the second aspect.

[0039] Eighthly, embodiments of this application provide a computer program product, the computer program product including a computer program, which, when run on a computer, causes the computer to execute the frequency band switching method provided in the first or second aspect.

[0040] Ninthly, embodiments of this application provide a chip (or communication device) storing a computer program, which, when executed by the chip, causes the frequency band switching method provided in the first or second aspect to be executed.

[0041] In a tenth aspect, embodiments of this application provide a chip module on which a computer program is stored. When the computer program is executed by the chip module, the frequency band switching method provided in the first or second aspect is executed.

[0042] Eleventhly, embodiments of this application provide a communication system, the communication system including means for performing the method provided in the first aspect and means for performing the method provided in the second aspect.

[0043] Compared with the prior art, the technical solution of the embodiments of the present invention has the following beneficial effects:

[0044] In this embodiment of the invention, before switching frequency bands, the transmitting end (such as a BLE central device) first determines a first time point and at least one switching window. By configuring the anchor point of the first connection event on the new frequency band within the first switching window, the receiving end (such as a Bluetooth peripheral device) can listen for connection event data packets within the first switching window. Compared to the Bluetooth peripheral device listening for connection event data packets at a single time point, which is prone to reception failure, the solution of this embodiment of the invention allows the Bluetooth peripheral device to continuously listen for connection event data packets within a switching window of a certain length, thereby effectively increasing the probability of successfully receiving connection event data packets and thus improving the success rate of frequency band switching. Attached Figure Description

[0045] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0046] Figure 1 is a schematic diagram of the working scenario of the first type of CCA detection;

[0047] Figure 2 is a schematic diagram of the working scenario for the second type of CCA detection;

[0048] Figure 3 is a schematic diagram of the frequency band switching status of an HB BLE device;

[0049] Figure 4 is a flowchart illustrating a frequency band switching method according to an embodiment of the present invention;

[0050] Figure 5 is a schematic diagram of the first method for determining the switching window in an embodiment of the present invention;

[0051] Figure 6 is a schematic diagram of the second method for determining the switching window in an embodiment of the present invention;

[0052] Figure 7 is a schematic diagram of the working scenario of the first frequency band switching method in an embodiment of the present invention;

[0053] Figure 8 is a schematic diagram of the working scenario of the second frequency band switching method in an embodiment of the present invention;

[0054] Figure 9 is a schematic diagram of the working scenario of the first frequency band switching method based on CCA detection in an embodiment of the present invention;

[0055] Figure 10 is a schematic diagram of the working scenario of the second frequency band switching method based on CCA detection in an embodiment of the present invention;

[0056] Figure 11 is a schematic diagram of the working scenario of the third frequency band switching method based on CCA detection in the embodiments of the present invention;

[0057] Figure 12 is a schematic diagram of the working scenario of the fourth frequency band switching method based on CCA detection in the embodiments of the present invention;

[0058] Figure 13 is a schematic diagram of the working scenario of the fifth frequency band switching method based on CCA detection in the embodiments of the present invention;

[0059] Figure 14 is a flowchart illustrating another frequency band switching method in an embodiment of the present invention;

[0060] Figure 15 is a schematic diagram of a frequency band switching device in an embodiment of the present invention;

[0061] Figure 16 is a schematic diagram of another frequency band switching device in an embodiment of the present invention;

[0062] Figure 17 is a schematic diagram of the hardware structure of a frequency band switching device in an embodiment of the present invention. Detailed Implementation

[0063] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0064] The communication systems applicable to the embodiments of this application include, but are not limited to, third-generation (3G), LTE, fourth-generation (4G), fifth-generation (5G), NR, and future evolution systems or multiple converged communication systems. The 5G system can be a non-standalone (NSA) 5G system or a standalone (SA) 5G system. The solutions of the embodiments of this application can also be applied to various new communication systems in the future, such as 6G and 7G.

[0065] This application mainly relates to communication between a transmitter and a receiver, and more particularly to communication between a BLE central device and a Bluetooth peripheral device.

[0066] In some embodiments, the data can be sent from the BLE central device to the Bluetooth peripheral device, or from the Bluetooth peripheral device to the BLE central device.

[0067] It should be noted that in several embodiments described below, the example of a BLE central device sending data to a Bluetooth peripheral device is used, but the method is not limited to this.

[0068] In this context, the BLE central device, also known as the Bluetooth host, can be a terminal device that supports Bluetooth functionality. In this application embodiment, "terminal" can refer to various forms of user equipment (UE), access terminal, user unit, user station, mobile station, mobile station (MS), remote station, remote terminal, mobile device, user terminal, terminal equipment, wireless communication device, user agent, or user device that support Bluetooth functionality. The terminal can also be a cellular phone, cordless phone, Session Initiation Protocol (SIP) phone, Wireless Local Loop (WLL) station, Personal Digital Assistant (PDA), handheld device with wireless communication functionality, computing device, or other processing device connected to a wireless modem, in-vehicle device, wearable device, a terminal in a future 5G network, or a terminal in a future evolved Public Land Mobile Network (PLMN), etc. This application embodiment does not limit the scope of these claims.

[0069] Bluetooth peripherals refer to devices other than the BLE central device that have Bluetooth functionality. These include input and output devices, external storage, analog-to-digital converters (ADCs), and digital-to-analog converters (DACs). As hardware devices installed outside the BLE central device, they connect to the BLE central device via an established Bluetooth connection, providing and expanding various Bluetooth functions. The terminals in the embodiments of this application may include Bluetooth headsets, Bluetooth speakers, Bluetooth keyboards, Bluetooth mice, Bluetooth printers, Bluetooth cameras, etc.

[0070] As described in the background section, HB BLE devices can use the LBT mechanism for channel access. That is, before using a BLE channel to transmit data, HB BLE needs to listen to the channel for a period of time, i.e., perform CCA detection. Only when the CCA result indicates idle can the HB BLE device use this channel to transmit. When the HB BLE central device and the Bluetooth peripheral device initiate a BLE event, the BLE central device will perform channel CCA detection for a period of time before the start of the BLE event. Only when the CCA is detected as idle can the BLE central device transmit packets at the start of the BLE event. Furthermore, if the packet transmission interval between the BLE central device and the Bluetooth peripheral device meets certain conditions (e.g., less than a certain time interval (Gap)), the BLE central device and the Bluetooth peripheral device can operate within a COT period without needing to perform channel detection before transmitting packets; that is, the BLE central device initiates a COT cycle.

[0071] Referring to Figure 1, which is a schematic diagram of the working scenario of the first type of CCA detection.

[0072] As shown in Figure 1, when the BLE central device and the Bluetooth peripheral device use two BLE events, X and X+1, the BLE central device initiates a COT cycle to interact with the Bluetooth peripheral device's time packets. Before each BLE event, the BLE central device can select a channel together with the Bluetooth peripheral device. The BLE central device will perform a channel CCA check before using the channel. Only when the CCA is idle will the BLE central device access the channel and initiate a COT cycle. During this COT cycle, the BLE central device and the Bluetooth peripheral device do not need to perform channel CCA checks again.

[0073] Research revealed that due to CCA (Channel Channel Acquisition) congestion during channel detection, HB BLE devices cannot use the corresponding channel. In HB BLE, under such circumstances, the HB BLE device is allowed to switch to another channel, f1, after a specified time, even if the CCA detection is busy on channel f0, and retry channel detection to access the channel. This function is called Listen-Before-Speak Secondary Channel Detection (LBT-SCD). The channels that can be switched and the number of switches can be negotiated between the HB BLE central device and the Bluetooth peripheral device.

[0074] Referring to Figure 2, which is a schematic diagram of the working scenario for the second type of CCA detection.

[0075] As shown in Figure 2, within the same BLE event, the BLE central device detects idle via CCA on channel f0 at the start of the event and initiates a COT cycle with the Bluetooth peripheral device on channel f0. After the first COT cycle ends, it waits for the minimum idle time before attempting to use the same channel f0 again, but this time the corresponding CCA detection is busy. At this point, the BLE central device will switch to another channel f1, negotiated with the Bluetooth peripheral device, before the specified switching time (T_deferral), re-entering the CCA detection on channel f1. With CCA idle, it can then use channel f1 again to initiate a second COT cycle with the Bluetooth peripheral device.

[0076] The switching time (T_deferral) can also be called the delay time for switching to other channels for listening, and it is used to indicate the duration for the BLE central device to perform channel switching.

[0077] Referring to Figure 3, Figure 3 is a schematic diagram of the frequency band switching status of an HB BLE device.

[0078] The current HB BLE protocol stipulates that two HB BLE devices can switch between the 2.4GHz band and the HB band, and can also switch between HB bands.

[0079] In one specific embodiment, the basic process may include:

[0080] 1. The two HB BLE devices initially operated in the 2.4GHz band;

[0081] a) Use HB BLE equipment to detect and evaluate potential HB band switching needs;

[0082] b) The HB BLE device determines the HB bands it can switch to and the corresponding available channels within those bands, as well as the HB bands the peer device can switch to and the corresponding available channels within those bands.

[0083] 2. The HB BLE device triggers a frequency band switch with the peer device based on the selected HB frequency band and the corresponding available channel, switching to the corresponding HB frequency band.

[0084] 3. After completing the handover, the HB BLE device operates in the HB band. It can simultaneously detect the 2.4GHz band or other HB bands for possible subsequent band switching.

[0085] Further research revealed that when HB BLE devices switch to the HB band, due to additional regulations, such as the LBT mechanism in the HB BLE protocol, the BLE central device may not be able to successfully send connection event data packets at the preset time point. This causes Bluetooth peripheral devices to fail to receive connection event data packets at that time point, severely affecting the success rate of band switching.

[0086] In this embodiment of the invention, before switching frequency bands, the BLE central device first determines a first time point and at least one switching window. By configuring the anchor point of the first connection event on the new frequency band within the first switching window, the Bluetooth peripheral device can listen for connection event data packets within the first switching window. Compared to the Bluetooth peripheral device listening for connection event data packets at a single time point, which is prone to reception failure, the solution of this embodiment of the invention allows the Bluetooth peripheral device to continuously listen for connection event data packets within a switching window of a certain length, thereby effectively increasing the probability of successfully receiving connection event data packets and thus improving the success rate of frequency band switching.

[0087] To make the above-mentioned objectives, features and beneficial effects of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0088] Referring to Figure 4, which is a flowchart illustrating a frequency band switching method according to an embodiment of the present invention, the frequency band switching method can be used in a BLE central device and may include steps S41 to S42.

[0089] Step S41: Determine a first time point and at least one switching window on the current frequency band, wherein the anchor point of the first connection event on the new frequency band is configured within the first switching window;

[0090] Step S42: Send first information, which carries the first time point and the indication information of the switching window.

[0091] It is understandable that, in specific implementation, the above method can be implemented using a software program that runs in the processor integrated inside the chip or chip module; or, the method can be implemented using hardware or a combination of hardware and software, such as using a dedicated chip or chip module, or using a dedicated chip or chip module combined with a software program.

[0092] In the specific implementation of step S41, a first time point can be defined when negotiating frequency band switching between HB BLE devices.

[0093] The first time point can be used to indicate that after the first time point (Instant), the connection to be switched by the device begins to switch to the new frequency band.

[0094] The first time point can be specified on the time series of connection events in the current frequency band.

[0095] The current frequency band is used to represent the frequency band before the frequency band switch, and can also be called the old frequency band.

[0096] In this embodiment of the invention, the anchor point of the first connection event on the new frequency band is configured within the first switching window.

[0097] Specifically, the first transition window can be a time window determined after the first time point. The first event anchor point (CE Anchor Point) of the connection event of the connection to be switched on the new frequency band falls within this time window.

[0098] In some embodiments, the switching window may satisfy one or more of the following: the indication information of the switching window is predefined; the indication information of the switching window is negotiated between the BLE central device and the Bluetooth peripheral device; the indication information of the switching window includes a minimum offset and a maximum offset of the switching window, wherein the start time of both the minimum offset and the maximum offset of the switching window is the first time point; the indication information of the switching window includes a switching window offset and a switching window duration, wherein the start time of the switching window offset is the first time point.

[0099] Specifically, the indication information for the switching window can be predefined through the communication protocol, so that the Bluetooth peripheral device can determine the switching window without additional signaling indication after determining the first time point, effectively saving signaling overhead.

[0100] Referring to Figure 5, which is a schematic diagram of the first method for determining the switching window in an embodiment of the present invention.

[0101] In the method shown in Figure 5, two time points can be defined from the first time point (Instant): the minimum transition window offset and the maximum transition window offset.

[0102] Referring to Figure 6, which is a schematic diagram of the second method for determining the switching window in an embodiment of the present invention.

[0103] In the method shown in Figure 6, a transition window offset from the first time point (Instant) and a transition window duration (Transition Window Size) can be defined.

[0104] Referring again to Figure 4, in the specific implementation of step S42, the BLE central device can send first information to the Bluetooth peripheral device to realize the signaling notification of the first time point and the indication information of the switching window, thereby effectively improving the accuracy and flexibility of the Bluetooth peripheral device in obtaining the indication information of the first time point and the switching window.

[0105] In one specific embodiment, the first information may be carried in a transmission packet sent by the BLE central device.

[0106] In this embodiment of the invention, the first time point can be indicated by the transmission packet sent by the BLE central device, thereby reusing existing transmission packets and improving consistency with existing communication protocols.

[0107] Example 1

[0108] As a non-limiting application scenario, the technical solution described in Implementation 1 can be a switch from the HB band to the 2.4GHz band.

[0109] Referring to Figure 7, which is a schematic diagram of the working scenario of the first frequency band switching method in an embodiment of the present invention.

[0110] Specifically, after determining the first time point and the first switching window on the current frequency band (such as the HB band), the anchor point of the first connection event on the new frequency band can be configured within the first switching window.

[0111] The first connection event anchor point (CE Anchor Point) expected by the BLE central device can be any point in time within this specified time window.

[0112] Furthermore, the sequence of connection events on the new frequency band can be generated at connection intervals starting from the first connection event.

[0113] In some embodiments shown in Figure 7, after determining the first connection event anchor point, the BLE central device successfully sends a transmission packet to carry the connection event at the first connection event anchor point.

[0114] Specifically, after the BLE central device sends a transmission packet, the Bluetooth peripheral device will successfully receive the transmission packet and reply with a corresponding reply packet. After receiving the reply packet, the BLE central device can determine that it has successfully sent the transmission packet used to carry the connection event.

[0115] In this embodiment of the invention, after successful transmission, the subsequent connection events (CE) of this switched connection on the new frequency band are generated at intervals based on the connection interval.

[0116] More specifically, during band transition, the BLE central device and the Bluetooth peripheral device can select a time point within a specified switching window as the first CE anchor point on the new frequency band. The BLE central device and the Bluetooth peripheral device can successfully send and receive packets at the first CE anchor point and subsequently generate a second connection event CE point on the new frequency band.

[0117] In some embodiments, the frequency band switching method may satisfy one or more of the following: the connection interval is predefined; the connection interval is sent by the BLE central device; the connection interval is negotiated between the BLE central device and the Bluetooth peripheral device; and the connection interval is greater than the duration of the switching window.

[0118] In this embodiment of the invention, the connection interval can be predefined by the communication protocol or negotiated between the BLE central device and the Bluetooth peripheral device, thereby effectively saving signaling overhead.

[0119] In this embodiment of the invention, the connection interval can be sent by the BLE central device, thereby improving the flexibility and accuracy of Bluetooth peripheral devices in determining the connection interval.

[0120] In this embodiment of the invention, the connection interval is greater than the duration of the switching window, thereby further reducing the listening time of Bluetooth peripheral devices within a single switching window.

[0121] Referring to Figure 8, which is a schematic diagram of the working scenario of the second frequency band switching method in an embodiment of the present invention.

[0122] It should be noted that, compared with the embodiment shown in FIG7, in the embodiment shown in FIG8, the BLE central device fails to send at the first connection event anchor point.

[0123] Specifically, when the BLE central device and the Bluetooth peripheral device are switching bands, the BLE central device determines the first time point within the specified switching window as the first CE anchor point on the new band and sends a packet at this CE anchor point, but the Bluetooth peripheral device does not receive this packet.

[0124] In some embodiments, the BLE central device may generate a second connection event CE point after the first CE anchor point and after the first CE anchor point, and send packets at this CE point, after the first CE anchor point ends the first CE on the current new frequency band.

[0125] It should be noted that, corresponding to the BLE central device, the frequency band switching method of the Bluetooth peripheral device may include: starting from the first connection event, in response to the failure to receive the first connection event in the current switching window, continuing to listen for connection events in the next switching window on the new frequency band until the first connection event is received.

[0126] More specifically, the steps of the Bluetooth peripheral device's frequency band switching method may include one or more of the following: the Bluetooth peripheral device may continuously listen to the BLE central device within the switching window; the Bluetooth peripheral device does not detect any packets from the BLE central device during the entire first switching window; the Bluetooth peripheral device continues to listen to packets from the BLE central device for at least the second switching window time range after at least the connection interval following the start point of the first switching window; the Bluetooth peripheral device receives packets from the BLE central device during the second switching window, thereby determining the time sequence of the connection events (CE) of this connection on the new frequency band.

[0127] Example 2

[0128] As a non-limiting application scenario, the technical solution described in Embodiment 2 can be a switch between the 2.4GHz band and the HB band, or a switch between HB bands.

[0129] Specifically, for cases where channel CCA detection is required on the switched frequency band, the technical solution described in Embodiment 2 can at least enable the BLE central device and the Bluetooth peripheral device to complete the first packet transmission and reception on the new frequency band on the same channel.

[0130] It should be noted that in some embodiments, the technical solution described in Embodiment 2 may involve disabling the Listen-Before-Speak Secondary Channel Detection (LBT-SCD) function when negotiating frequency band switching between HB BLE devices and accessing the channel on the new frequency band.

[0131] Specifically, disabling the LBT-SCD function can be seen as preventing BLE central devices and Bluetooth peripherals from switching to the secondary channel to attempt channel access when the channel CCA detects it as busy during channel access events on the new frequency band, before the LBT-SCD function is re-enabled on the new frequency band.

[0132] In some embodiments, after determining the first time point and the first switching window on the current frequency band, the BLE central device can configure the anchor point of the first connection event on the new frequency band within the first switching window.

[0133] In a specific implementation, the frequency band switching method may further include: determining a fixed second time point within each switching window for sending the corresponding connection event.

[0134] Referring to Figure 9, which is a schematic diagram of the working scenario of the first frequency band switching method based on CCA detection in an embodiment of the present invention.

[0135] As shown in Figure 9, the first connection event anchor point (CE Anchor Point) expected by the BLE central device can be the second time point within the first switching window.

[0136] In some embodiments, starting from the first connection event and before the second time point corresponding to the current connection event, CCA detection can be performed on channel f1 in the new frequency band.

[0137] Then, in response to the detection result being idle, a transmission packet for the corresponding connection event can be sent on channel f1; wherein the transmission time is the second time point corresponding to the connection event.

[0138] It should be noted that in the embodiment shown in Figure 9, during band transition, the BLE central device selects a second time point as the first CE anchor point on the new frequency band within the first switching window. Since the CCA detection on channel f1 is idle, packets are sent on the first CE anchor point. The BLE central device and the Bluetooth peripheral device successfully send and receive packets on channel f1 at the first CE anchor point, and subsequently generate a second connection event CE point on the new frequency band.

[0139] In one specific embodiment, the second connection event on the new frequency band and its CCA detection can both be performed on channel f2.

[0140] The following description, in conjunction with Figures 10 and 11, illustrates the case where the CCA detection on channel f1 is busy in Example 2.

[0141] Referring to Figure 10, which is a schematic diagram of the working scenario of the second frequency band switching method based on CCA detection in an embodiment of the present invention.

[0142] Specifically, starting from the first connection event, before the second time point corresponding to the current connection event, CCA detection is performed on the current channel on the new frequency band; in response to the detection result being busy, the current connection event is abandoned, and before the second time point corresponding to the next connection event, CCA detection is performed on the new channel until the detection result is idle.

[0143] If the BLE central device receives a busy signal, it can abandon the current connection event and then perform an idle channel assessment for the new channel f2.

[0144] It is understandable that when the BLE central device receives a detection result indicating that the channel is idle, it can send a packet for the corresponding connection event on the corresponding channel. As shown in Figure 10, if the new channel f2 is idle, a packet for the corresponding second connection event can be sent on channel f2. In a specific embodiment, this is also referred to as being able to send a packet at the CE point of the corresponding second connection event.

[0145] The sending time is the second time point of the second connection event.

[0146] Similarly, if the new channel f2 is busy, the second connection event is abandoned, and then CCA detection is performed on the new channel f3.

[0147] In this embodiment of the invention, after the second connection event is successfully sent, the subsequent connection event sequence on the new frequency band is generated at connection intervals.

[0148] Referring to Figure 11, which is a schematic diagram of the working scenario of the third frequency band switching method based on CCA detection in an embodiment of the present invention.

[0149] Specifically, starting from the first connection event, before the second time point corresponding to the current connection event, the current channel on the new frequency band is subjected to one or more continuous idle channel assessments and checks until the detection result is idle, or until the detection results are all busy, at which point the current connection event is abandoned, and before the second time point corresponding to the next connection event, the new channel is subjected to one or more continuous idle channel assessments and checks.

[0150] Specifically, the BLE central device continuously performs channel CCA detection within the specified handover window. If the channel is detected to be idle, it connects to the channel and uses the time point of this channel access as the first CE anchor point on the new frequency band. If no CCA is detected to be idle within the entire handover window, the current connection event is abandoned. After waiting for the connection interval, channel CCA detection is performed again before the second connection event CE point to determine whether to connect to the channel.

[0151] As shown in Figure 11, the LBT-SCD function is disabled during band transitions between the BLE central device and Bluetooth peripheral devices. Within the first transition window, the BLE central device selects the first time point. If the CCA detection on channel f1 is busy, the BLE central device will continuously perform channel CCA detection on channel f1. If, within the transition window, the channel detection shows CCA idle, the BLE central device can transmit packets using channel f1, and this time point will be used as the first CE anchor point on the new frequency band. Subsequent CE sequences on the new frequency band will also start from this first CE anchor point.

[0152] It should be noted that in each specific embodiment of Embodiment 2, the connection event can correspond one-to-one with the switching window, and the interval between the start times of the switching windows corresponding to adjacent connection events is the connection interval.

[0153] Specifically, because the LBT-SCD function is disabled, BLE central devices and Bluetooth peripherals cannot switch to a second channel and attempt to access the channel again when the channel CCA detects it as busy. Therefore, each connection event corresponds to a single switching window, the interval between adjacent connection events is the connection interval, and the interval between the start times of adjacent switching windows is also the connection interval.

[0154] It should be noted that for more information regarding the connection interval, please refer to the preceding text and the detailed description of Embodiment 1, which will not be repeated here.

[0155] It should be noted that, corresponding to the BLE central device, the frequency band switching method of the Bluetooth peripheral device may include: starting from the first connection event, in response to the failure to receive the first connection event within the current switching window, switching to a new channel and listening for connection events in the next switching window of the new frequency band until the first transmission packet of the connection event is received.

[0156] In practice, if a Bluetooth peripheral device does not receive a connection event packet while listening on channel f1 in the first switching window, it can switch to channel f2 and listen on the second switching window.

[0157] In response to listening for and receiving a connection event transmission packet, a Bluetooth peripheral device can send a reply packet to the BLE central device and determine the transmission time of each subsequent transmission packet in the connection event sequence, effectively improving the success rate of receiving each subsequent transmission packet in the connection event sequence.

[0158] Example 3

[0159] As a non-limiting application scenario, the technical solution described in Embodiment 3 can be a switch between the 2.4GHz band and the HB band, or a switch between HB bands.

[0160] Specifically, for cases where channel CCA detection is required on the switched frequency band, the technical solution described in Embodiment 3 can at least enable the BLE central device and the Bluetooth peripheral device to complete the first packet transmission and reception on the new frequency band on the same channel.

[0161] In some embodiments, after determining the first time point and the first switching window on the current frequency band, the BLE central device can configure the anchor point of the first connection event on the new frequency band within the first switching window.

[0162] In a specific implementation, the frequency band switching method may further include: determining a fixed second time point within each switching window for sending the corresponding connection event.

[0163] It should be noted that in some embodiments, the technical solution described in Embodiment 3 may enable the Listen-Before-Speak Secondary Channel Detection (LBT-SCD) function when negotiating frequency band switching between HB BLE devices and accessing the channel on the new frequency band.

[0164] Specifically, when negotiating band switching between HB BLE devices, one or more of the following can be determined: the second channel on which band switching can be performed; the switching window on each channel; and the backoff time (deferral transition) for a single connection event to switch band to the second channel.

[0165] More specifically, by enabling the LBT-SCD function, a single connection event can be switched to the second channel for CCA detection before the end of the backoff time, instead of being abandoned when the first channel is busy.

[0166] Understandably, the backoff time can be seen as the latest time required to switch to the second channel. For BLE central devices, since packets must be sent before the end of the backoff time, they must switch to the second channel before the backoff time ends to allow time for CCA.

[0167] It should be noted that in the embodiments shown in Figures 12 and 13, the example is that a single connection event switches the second channel at most once, that is, a single connection event corresponds to a single first channel + a single second channel.

[0168] However, in practice, a single connection event can switch multiple times, meaning a single connection event corresponds to a single first channel plus multiple second channels. In this case, CCA detection can be performed sequentially by setting multiple switching windows that correspond one-to-one with the second channels.

[0169] Furthermore, the method satisfies one or more of the following: the backoff time is greater than the switching window on each channel; the connection interval is greater than the backoff time; and the backoff time is predefined.

[0170] Specifically, the backoff time can be longer than the switching window time on each channel, the connection interval can be longer than the backoff time, and the backoff time can be predefined.

[0171] In this embodiment of the invention, by setting the backoff time to be greater than the switching window on each channel, the Bluetooth peripheral device can switch to the second channel for a certain period of time (i.e., the time difference between the backoff time and the switching window) to listen if it cannot detect the transmission packet in the switching window of the first channel.

[0172] In some embodiments, the frequency band switching method may further include: starting from the first connection event, before the second time point corresponding to the current connection event, performing an idle channel assessment and detection on the first channel on the new frequency band; in response to the detection result of the first channel being busy, switching to the second channel on the new frequency band before the end of the backoff time, and performing an idle channel assessment and detection on the second channel; wherein, whenever the detection result of the current connection event on the first channel and all the second channels is busy, the current connection event is abandoned, and before the second time point corresponding to the next connection event, the first channel of the next connection event is subjected to one or more continuous idle channel assessment and detections.

[0173] Referring to Figure 12, which is a schematic diagram of the working scenario of the fourth frequency band switching method based on CCA detection in an embodiment of the present invention.

[0174] As shown in Figure 12, the first connection event anchor point (CE Anchor Point) expected by the BLE central device can be the second time point within the first switching window.

[0175] When the BLE central device switches to a new frequency band, it selects a second time point as the first CE anchor point on the new frequency band within the first switching window specified on the first channel f1, and performs CCA detection before using the first channel at the CE anchor point.

[0176] In some embodiments, in response to a detection result of idle, a transmission packet for the corresponding connection event is sent on the corresponding channel; wherein the transmission time is the second time point corresponding to the connection event.

[0177] Specifically, if the CCA detects that the channel is idle, then the first channel f1 is used directly to transmit data at the second time point in the first switching window (not shown in the figure).

[0178] As shown in Figure 12, if the CCA detection is busy, the system can switch to the second channel before the specified backoff time ends, which is the expected packet transmission time on the second channel. The CCA detection on the second channel needs to be completed before this packet transmission time.

[0179] Specifically, when switching frequency bands, the BLE central device and Bluetooth peripheral devices enable the LBT-SCD function. Within the first switching window, the BLE central device selects a time point as the first CE anchor point on the new frequency band, and the CCA detection on the first channel f1 is busy. At this point, before the end of the specified backoff time, the BLE central device switches to the second channel f2 and performs CCA detection on the second channel f2. If the CCA detection is idle, the BLE central device then uses the second channel f2 to transmit packets.

[0180] Correspondingly, if the Bluetooth peripheral device does not receive a packet from the BLE central device within the first switching window, it will switch to the second channel f2 after the first switching window ends. Within the second switching window, which is determined by the backoff time, it will continue to listen for packets from the BLE central device on the second channel f2.

[0181] As shown in Figure 12, the Bluetooth peripheral device receives the packet from the BLE central device in the second switching window.

[0182] It should be noted that Bluetooth peripheral devices can deduce the first CE anchor point of the BLE central device based on the packet reception time on the f2 channel, thereby determining the subsequent CE sequence information starting from the second CE point.

[0183] Specifically, a Bluetooth peripheral device may determine the anchor point of a connection event as the difference between the transmission time and the backoff time in response to the first received transmission packet of a connection event being on the second channel (such as f2, f4, or f6) of the connection event.

[0184] More specifically, Bluetooth peripheral devices can pre-determine the time difference between the transmission and reception times, thereby determining the anchor point of the connection event as the difference between the reception time and the time difference, and then subtracting the backoff time. That is: Anchor point of connection event = Reception time - Time difference - Backoff time.

[0185] Referring to Figure 13, which is a schematic diagram of the working scenario of the fifth frequency band switching method based on CCA detection in the embodiments of the present invention.

[0186] Unlike the embodiment shown in Figure 12, as shown in Figure 13, the Bluetooth peripheral device does not receive the first connection event transmission packet sent by the BLE central device on either the first channel f1 or the second channel f2.

[0187] It should be noted that the embodiment shown in Figure 13 is illustrated with the example of a single second channel (i.e., only the second channel f2). If there are multiple second channels, CCA detection needs to be performed on each second channel individually.

[0188] Specifically, if the Bluetooth peripheral device does not receive packets from the BLE central device on the first channel f1 and all second channels (such as second channel f2) in the first connection event, it needs to continue listening for packets sent by the BLE central device on the first channel (such as channel f3) of the next connection event within a specified time window range (such as the third switching window) after the start of the first switching window corresponding to the first channel f1 and after the connection interval.

[0189] This diagram illustrates how BLE central devices and Bluetooth peripherals enable the LBT-SCD function during frequency band switching, and switch channels at most once.

[0190] The BLE central device selects a time point within the specified switching window as the first CE anchor point on the new frequency band, and the CCA detection on the first channel f1 is busy. At this time, the BLE central device will switch to the second channel f2 before the end of the specified backoff time and perform CCA detection on the second channel f2. At this time, the CCA detection is still busy.

[0191] If the negotiation does not allow switching to another second channel, the BLE central device will abandon the current connection event and perform CCA detection on the first channel f3 of the second connection event before the second CE point determined by the connection interval (i.e., the second time point of the second connection event shown in Figure 13). When the CCA is idle, the first channel f3 of the second connection event is used to send packets.

[0192] In contrast, if a Bluetooth peripheral device does not receive a packet from the BLE central device in the first switching window, it will switch to the second channel f2 in the second switching window, which is determined by the backoff time, after the first switching window ends, and continue to listen for packets from the BLE central device on the second channel f2.

[0193] As shown in Figure 13, the Bluetooth peripheral device still did not receive packets from the BLE central device within the second switching window. According to the negotiation, the Bluetooth peripheral device will not switch to other channels to listen, but will switch to the first channel f3 of the second connection event within the third switching window determined by the connection interval, and listen for packets from the BLE central device within the first switching window of the second connection event (i.e., the third switching window in Figure 13).

[0194] It should be noted that in the various specific embodiments of Embodiment 3, each connection event corresponds to two or more switching windows, and the interval between the start times of the first switching window corresponding to adjacent connection events is the connection interval.

[0195] Specifically, by enabling the LBT-SCD function, BLE central devices and Bluetooth peripherals can switch to a second channel and attempt to access the channel again when the channel CCA detects it as busy. Therefore, each connection event corresponds to multiple switching windows, the interval between adjacent connection events is the connection interval, and the interval between the start times of the first switching window of adjacent connection events is also the connection interval.

[0196] It should be noted that for more information regarding the connection interval, please refer to the preceding text and the detailed description of Embodiment 1, which will not be repeated here.

[0197] It should be noted that, corresponding to the BLE central device, the frequency band switching method of the Bluetooth peripheral device may include: starting from the first connection event, in response to the fact that no current connection event is received within the current switching window on the first channel, before the end of the backoff time calculated from the start time of the current switching window, switching to the second channel to listen for the current connection event, and the listening duration is greater than or equal to the duration of the switching window; wherein, whenever no current connection event is received on the first channel and all second channels of the current connection event, after the connection interval calculated from the start time of the first switching window of the current connection event, switching to the first channel of the next connection event to listen for the next connection event, until the first transmission packet of the connection event is received.

[0198] In practice, if a Bluetooth peripheral device does not receive a packet for the first connection event within the first switching window while listening on the first channel f1, it can switch to one or more second channels one by one, continuing to listen for the packet for the first connection event within the switching window of each second channel. If no packet for the first connection event is received on any of the second channels, it switches to the first channel for the next connection event to listen.

[0199] In response to listening for and receiving a connection event transmission packet, a Bluetooth peripheral device can send a reply packet to the BLE central device and determine the transmission time of each subsequent transmission packet in the connection event sequence, effectively improving the success rate of receiving each subsequent transmission packet in the connection event sequence.

[0200] It should be noted that the above embodiments one to three and the various specific embodiments shown can be used in combination or individually.

[0201] Referring to Figure 14, which is a flowchart illustrating another frequency band switching method in an embodiment of the present invention, the other frequency band switching method can be used in Bluetooth peripheral devices and may include steps S141 to S142.

[0202] Step S141: Receive the first information;

[0203] Step S142: Determine the first time point and at least one switching window on the current frequency band, wherein the anchor point of the first connection event on the new frequency band is configured within the first switching window, and wherein the first information carries the indication information of the first time point and the switching window.

[0204] It is understandable that, in specific implementation, the above method can be implemented using a software program that runs in the processor integrated inside the chip or chip module; or, the method can be implemented using hardware or a combination of hardware and software, such as using a dedicated chip or chip module, or using a dedicated chip or chip module combined with a software program.

[0205] In this embodiment of the invention, before switching frequency bands, the BLE central device first determines a first time point and at least one switching window. By configuring the anchor point of the first connection event on the new frequency band within the first switching window, the Bluetooth peripheral device can listen for connection event data packets within the first switching window. Compared to the Bluetooth peripheral device listening for connection event data packets at a single time point, which is prone to reception failure, the solution of this embodiment of the invention allows the Bluetooth peripheral device to continuously listen for connection event data packets within a switching window of a certain length, thereby effectively increasing the probability of successfully receiving connection event data packets and thus improving the success rate of frequency band switching.

[0206] In some embodiments, the method further includes: starting from the first time point, switching to the new frequency band to listen for connection events until the first connection event is received, or until the first switching window ends.

[0207] In some embodiments, the switching window satisfies one or more of the following: the transmitted packets are all transmitted packets within a single COT cycle; the indication information of the switching window within a single COT cycle is predefined; the indication information of the switching window is negotiated between the BLE central device and the Bluetooth peripheral device; the indication information of the switching window includes a minimum offset and a maximum offset, wherein the start time of both the minimum offset and the maximum offset is the first time point; the indication information of the switching window includes a switching window offset and a switching window duration, wherein the start time of the switching window offset is the first time point.

[0208] In some embodiments, the sequence of connection events on the new frequency band is generated at connection intervals starting from the first connection event.

[0209] Furthermore, one or more of the following conditions must be met: the connection interval is predefined; the connection interval is sent by the BLE central device; the connection interval is negotiated between the BLE central device and the Bluetooth peripheral device; and the connection interval is greater than the duration of the switching window.

[0210] Furthermore, the method further includes: starting from the first connection event, in response to not receiving the first connection event within the current switching window, continuing to listen for connection events in the next switching window on the new frequency band until the first transmission packet of the connection event is received.

[0211] Furthermore, the method further includes: starting from the first connection event, in response to not receiving the first connection event within the current switching window, switching to a new channel and listening for connection events in the next switching window of the new frequency band until the first transmission packet of the connection event is received.

[0212] Furthermore, the method further includes: starting from the first connection event, in response to not receiving the first connection event within the current switching window, switching to a new channel and listening for connection events in the next switching window of the new frequency band until the first transmission packet of the connection event is received.

[0213] In some embodiments, the connection events correspond one-to-one with the switching windows, and the interval between the start times of the switching windows corresponding to adjacent connection events is the connection interval.

[0214] In some embodiments, during the frequency band switching process, the BLE central device and the Bluetooth peripheral device enable the "listen-before-speak" second channel detection function; the method further includes: starting from the first connection event, in response to no current connection event being received within the current switching window on the first channel, before the end of the backoff time calculated from the start time of the current switching window, switching to the second channel to listen for the current connection event, and the listening duration is greater than or equal to the duration of the switching window; wherein, whenever no current connection event is received on the first channel and all second channels of the current connection event, after a connection interval calculated from the start time of the first switching window of the current connection event, switching to the first channel of the next connection event to listen for the next connection event, until the first transmission packet of the connection event is received.

[0215] Furthermore, the method further includes: in response to the first receipt of a transmission packet for a connection event being on a second channel of the connection event, determining the anchor point of the connection event as the difference between the transmission time and the backoff time.

[0216] Furthermore, each connection event corresponds to two or more switching windows, and the interval between the start times of the first switching windows corresponding to adjacent connection events is the connection interval.

[0217] For more information on the other frequency band switching method, please refer to the previous description; it will not be repeated here.

[0218] Referring to Figure 15, which is a schematic diagram of a frequency band switching device according to an embodiment of the present invention, the frequency band switching device can be used in BLE central equipment and may further include:

[0219] The first determining module 151 is used to determine a first time point and at least one switching window on the current frequency band, wherein the anchor point of the first connection event on the new frequency band is configured within the first switching window;

[0220] The sending module 152 is used to send first information, which carries the first time point and the indication information of the switching window.

[0221] For more information on the working principle, operation method, and beneficial effects of the frequency band switching device, please refer to the previous text and the detailed descriptions in Figures 4 to 13. They will not be repeated here.

[0222] In specific implementations, the frequency band switching device shown in Figure 15 may correspond to a chip with communication function in a communication device; or to a chip or chip module with communication function in a communication device; or to a communication device.

[0223] Referring to Figure 16, which is a schematic diagram of another frequency band switching device in an embodiment of the present invention, the frequency band switching device can be used in Bluetooth peripheral devices and may further include:

[0224] Receiver module 161 is used to receive the first information;

[0225] The second determining module 162 is used to determine a first time point and at least one switching window on the current frequency band, wherein the anchor point of the first connection event on the new frequency band is configured within the first switching window, and wherein the first information carries indication information of the first time point and the switching window.

[0226] For more information on the working principle, operation method, and beneficial effects of the frequency band switching device, please refer to the detailed description above and Figure 14. It will not be repeated here.

[0227] In specific implementations, the frequency band switching device shown in Figure 16 may correspond to a chip with communication function in a communication device; or to a chip or chip module with communication function in a communication device; or to a communication device.

[0228] This application also provides a computer-readable storage medium storing a computer program thereon. When the computer program is run by a computer, the aforementioned frequency band switching method is executed. The storage medium may include read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk, etc. The storage medium may also include non-volatile memory or non-transitory memory, etc.

[0229] This application embodiment also provides a transmitting end, including a memory and a processor. The memory stores a computer program that can run on the processor. When the processor runs the computer program, it performs the steps of the frequency band switching method described above.

[0230] This application embodiment also provides a receiving end, including a memory and a processor. The memory stores a computer program that can run on the processor. When the processor runs the computer program, it performs the steps of the frequency band switching method described above.

[0231] The transmitting end may include a BLE central device or a Bluetooth peripheral device, and the receiving end may include a Bluetooth peripheral device or a BLE central device.

[0232] The BLE central device includes, but is not limited to, terminal devices such as mobile phones, computers, tablets, vehicle terminals, and wearable devices.

[0233] The Bluetooth peripheral devices include, but are not limited to, Bluetooth headsets, Bluetooth speakers, Bluetooth keyboards, Bluetooth mice, Bluetooth printers, Bluetooth cameras, and other terminal devices.

[0234] Referring to Figure 17, which is a schematic diagram of the hardware structure of a frequency band switching device in an embodiment of this application.

[0235] The frequency band switching device can be a Bluetooth peripheral device or a BLE central device.

[0236] The terminal shown in Figure 17 includes a memory 171, a processor 172, and a transceiver 173. The processor 172 is coupled to the memory 171 and the transceiver 173. The memory 171 can be located inside or outside the terminal. The memory 171, processor 172, and transceiver 173 can be connected via a communication bus. The transceiver 173 is used to communicate with other devices or communication networks.

[0237] Optionally, the transceiver 173 can be a transmitter. The memory 171 stores a computer program that can run on the processor 172. When the processor 172 runs the computer program, the transceiver 173 performs the steps in the frequency band switching method provided in the above embodiments.

[0238] It should be understood that in the embodiments of this application, the processor can be a central processing unit (CPU), or it can be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.

[0239] It should also be understood that the memory in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Non-volatile memory can be ROM, programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be 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 RAM (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0240] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer program are loaded or executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer program can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the computer program can be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means.

[0241] It should be understood that in the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0242] In the several embodiments provided in this application, it should be understood that the disclosed methods, apparatuses, and systems can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and there may be other division methods in actual implementation; for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0243] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0244] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can be physically included separately, or two or more units can be integrated into one unit. The integrated units described above can be implemented in hardware or in a combination of hardware and software functional units. For example, for various devices or products applied to or integrated into a chip, each module / unit can be implemented using hardware such as circuits, or at least some modules / units can be implemented using software programs running on a processor integrated within the chip, while the remaining (if any) modules / units can be implemented using hardware such as circuits; for various devices or products applied to or integrated into a chip module, each module / unit can be implemented using hardware such as circuits, and different modules / units can be located in the same component (e.g., chip, circuit module, etc.) or different components of the chip module, or at least some modules / units can be implemented using hardware such as circuits. The components can be implemented using software programs that run on the processor integrated within the chip module. The remaining (if any) modules / units can be implemented using hardware methods such as circuits. For various devices and products applied to or integrated into the terminal, each of its components / units can be implemented using hardware methods such as circuits. Different modules / units can be located in the same component (e.g., chip, circuit module, etc.) or in different components within the terminal. Alternatively, at least some modules / units can be implemented using software programs that run on the processor integrated within the terminal, while the remaining (if any) modules / units can be implemented using hardware methods such as circuits.

[0245] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute some steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, random access memory (RAM), magnetic disks, or optical disks.

[0246] It should be understood that the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article indicates that the preceding and following related objects have an "or" relationship.

[0247] In the embodiments of this application, "multiple" refers to two or more.

[0248] In this application, "equal to" can be used with "less than" or "greater than", but not simultaneously with both. When "equal to" is used with "less than", it applies to the technical solution adopted by "less than". When "equal to" is used with "greater than", it applies to the technical solution adopted by "greater than".

[0249] The descriptions of "first," "second," etc., appearing in the embodiments of this application are for illustrative purposes and to distinguish the objects being described. They have no order and do not indicate any special limitation on the number of devices in the embodiments of this application, nor do they constitute any limitation on the embodiments of this application.

[0250] While this application discloses the above information, it is not limited thereto. Any person skilled in the art can make various modifications and alterations without departing from the spirit and scope of this application; therefore, the scope of protection of this application shall be determined by the scope defined in the claims.

Claims

1. A frequency band switching method, characterized in that, include: Determine the first time point and at least one switching window on the current frequency band, wherein the anchor point of the first connection event on the new frequency band is configured within the first switching window; Send a first message, which carries the first time point and the indication information of the switching window.

2. The frequency band switching method according to claim 1, characterized in that, The switching window satisfies one or more of the following: The indication information for the switching window is predefined; The indication information in the switching window is negotiated between the BLE central device and the Bluetooth peripheral device; The indication information of the switching window includes the minimum offset of the switching window and the maximum offset of the switching window, wherein the starting time of the minimum offset of the switching window and the maximum offset of the switching window are both the first time point. The indication information for the switching window includes the switching window offset and the switching window duration, wherein the starting time of the switching window offset is the first time point.

3. The frequency band switching method according to claim 1, characterized in that, The first information is carried in the transmission packet sent by the BLE central device.

4. The frequency band switching method according to claim 1, characterized in that, The sequence of connection events on the new frequency band is generated at connection intervals starting from the first connection event.

5. The frequency band switching method according to claim 4, characterized in that, Meet one or more of the following: The connection interval is predefined; The connection interval is sent by the BLE central device; The connection interval is negotiated between the BLE central device and the Bluetooth peripheral device; The connection interval is greater than the duration of the switching window.

6. The frequency band switching method according to claim 4, characterized in that, The method further includes: Determine a fixed second time point within each switching window for sending the corresponding connection event.

7. The frequency band switching method according to claim 6, characterized in that, The method further includes: Starting from the first connection event, before the second time point corresponding to the current connection event, perform idle channel assessment and detection on the current channel of the new frequency band; In response to a busy detection result, the current connection event is abandoned, and an idle channel assessment detection is performed on the new channel before the second time point corresponding to the next connection event, until the detection result is idle.

8. The frequency band switching method according to claim 6, characterized in that, The method further includes: Starting from the first connection event, before the second time point corresponding to the current connection event, the current channel on the new frequency band is subjected to one or more continuous idle channel assessments and checks until the detection result is idle, or until the detection results are all busy. When the current connection event is abandoned, the new channel is subjected to one or more continuous idle channel assessments and checks before the second time point corresponding to the next connection event.

9. The frequency band switching method according to claim 7 or 8, characterized in that, The method further includes: In response to a detection result indicating that the device is idle, a packet for sending the corresponding connection event is sent. The sending time is the second time point corresponding to the connection event.

10. The frequency band switching method according to claim 7 or 8, characterized in that, The connection events correspond one-to-one with the switching windows, and the interval between the start times of the switching windows corresponding to adjacent connection events is the connection interval.

11. The frequency band switching method according to claim 7 or 8, characterized in that, During the frequency band switching process, both the BLE central device and the Bluetooth peripheral device disable the "listen first, speak later" second channel detection function.

12. The frequency band switching method according to claim 6, characterized in that, During the frequency band switching process, the BLE central device and the Bluetooth peripheral device enable the Listen-Before-Speak second channel detection function; The method further includes: Starting from the first connection event, before the second time point corresponding to the current connection event, an idle channel assessment and detection is performed on the first channel on the new frequency band. In response to the detection result of the first channel being busy, before the end of the backoff time, the system switches to the second channel on the new frequency band and performs an idle channel assessment and detection on the second channel. Specifically, whenever the detection results of the current connection event on the first channel and all the second channels are busy, the current connection event is abandoned, and before the second time point corresponding to the next connection event, the first channel of the next connection event is continuously evaluated and detected as idle channel once or multiple times.

13. The frequency band switching method according to claim 12, characterized in that, The method further includes: In response to a detection result indicating that the channel is idle, a packet for sending the corresponding connection event is sent on the corresponding channel. The sending time is the second time point corresponding to the connection event.

14. The frequency band switching method according to claim 12, characterized in that, The method satisfies one or more of the following: The backoff time is greater than the switching window on each channel; The connection interval is greater than the backoff time; The retreat time is predefined.

15. The frequency band switching method according to claim 12, characterized in that, Each connection event corresponds to two or more switching windows, and the interval between the start times of the first switching window corresponding to adjacent connection events is the connection interval.

16. A frequency band switching method, characterized in that, include: Receive the first message; Determine the first time point and at least one switching window on the current frequency band, wherein the anchor point of the first connection event on the new frequency band is configured within the first switching window; The first information carries the first time point and the indication information of the switching window.

17. The frequency band switching method according to claim 16, characterized in that, The method further includes: Starting from the first time point, switch to the new frequency band to listen for connection events until the first connection event is received, or until the first switching window ends.

18. The frequency band switching method according to claim 16, characterized in that, The switching window satisfies one or more of the following: The indication information for the switching window is predefined; The indication information in the switching window is negotiated between the BLE central device and the Bluetooth peripheral device; The indication information of the switching window includes the minimum offset of the switching window and the maximum offset of the switching window, wherein the starting time of the minimum offset of the switching window and the maximum offset of the switching window are both the first time point. The indication information for the switching window includes the switching window offset and the switching window duration, wherein the starting time of the switching window offset is the first time point.

19. The frequency band switching method according to claim 16, characterized in that, The sequence of connection events on the new frequency band is generated at connection intervals starting from the first connection event.

20. The frequency band switching method according to claim 19, characterized in that, Meet one or more of the following: The connection interval is predefined; The connection interval is sent by the BLE central device; The connection interval is negotiated between the BLE central device and the Bluetooth peripheral device; The connection interval is greater than the duration of the switching window.

21. The frequency band switching method according to claim 19, characterized in that, The method further includes: From the first connection event onwards, in response to the failure to receive the first connection event within the current switching window, the system continues to listen for connection events in the next switching window on the new frequency band until the first transmission packet of the connection event is received.

22. The frequency band switching method according to claim 19, characterized in that, The method further includes: From the first connection event onwards, in response to the failure to receive the first connection event within the current switching window, the system switches to a new channel and listens for connection events in the next switching window of the new frequency band until the first transmission packet of the connection event is received.

23. The frequency band switching method according to claim 19, characterized in that, The connection events correspond one-to-one with the switching windows, and the interval between the start times of the switching windows corresponding to adjacent connection events is the connection interval.

24. The frequency band switching method according to claim 19, characterized in that, During the frequency band switching process, the BLE central device and the Bluetooth peripheral device enable the Listen-Before-Speak second channel detection function; The method further includes: From the first connection event, in response to the fact that no current connection event is received within the current switching window on the first channel, before the end of the backoff time calculated from the start time of the current switching window, the system switches to the second channel to listen for the current connection event, and the listening duration is greater than or equal to the duration of the switching window. Specifically, whenever the current connection event is not received on the first channel and all the second channels of the current connection event, after the connection interval calculated from the start time of the first switching window of the current connection event, the system switches to the first channel of the next connection event to listen for the next connection event until the first transmission packet of the connection event is received.

25. The frequency band switching method according to claim 24, characterized in that, The method further includes: In response to the first received packet of a connection event being transmitted on the second channel of that connection event, the anchor point of the connection event is determined as the difference between the transmission time and the backoff time.

26. The frequency band switching method according to claim 24, characterized in that, Each connection event corresponds to two or more switching windows, and the interval between the start times of the first switching window corresponding to adjacent connection events is the connection interval.

27. A frequency band switching device, characterized in that, include: The first determining module is used to determine a first time point and at least one switching window on the current frequency band, wherein the anchor point of the first connection event on the new frequency band is configured within the first switching window; The sending module is used to send first information, which carries the first time point and the indication information of the switching window.

28. A frequency band switching device, characterized in that, include: The receiving module is used to receive the first information; The second determining module is used to determine a first time point and at least one switching window on the current frequency band, wherein the anchor point of the first connection event on the new frequency band is configured within the first switching window; The first information carries the first time point and the indication information of the switching window.

29. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is run by the processor, the frequency band switching method according to any one of claims 1 to 15 or the frequency band switching method according to any one of claims 16 to 26 is executed.

30. A transmitting end, comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, characterized in that, When the processor runs the computer program, it performs the steps of the frequency band switching method according to any one of claims 1 to 15.

31. A receiving end, comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, characterized in that, When the processor runs the computer program, it performs the steps of the frequency band switching method according to any one of claims 16 to 26.

32. A computer program product, comprising a computer program / instructions, characterized in that, When the computer program / instruction is executed by the processor, it implements the steps of the frequency band switching method according to any one of claims 1 to 15 or the frequency band switching method according to any one of claims 16 to 26.