Single radio frequency Wi-Fi and Bluetooth intelligent cooperative scheduling method and apparatus, and electronic device

By dynamically allocating the transmission and reception timing of Wi-Fi and Bluetooth, as well as the data frame aggregation length, the problems of low transmission efficiency and high packet loss rate when Wi-Fi and Bluetooth coexist under single-radio conditions are solved, thus achieving efficient traffic transmission.

CN121968317APending Publication Date: 2026-05-01ZHUHAI HUGE IC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ZHUHAI HUGE IC CO LTD
Filing Date
2026-01-23
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

Under single-radio conditions, Wi-Fi and Bluetooth coexist, resulting in low transmission efficiency and high packet loss rate.

Method used

By acquiring the Bluetooth connection interval in real time, the transmission and reception timing of Wi-Fi and Bluetooth is dynamically allocated. Within the Wi-Fi transmission and reception timing, the aggregation length of data frames is dynamically calculated. The Wi-Fi module is controlled to send aggregated data packets and the Bluetooth module is paused. Within the Bluetooth transmission and reception timing, the Bluetooth module is controlled to send and receive data.

Benefits of technology

While ensuring normal Bluetooth interaction, the throughput of Wi-Fi was improved, packet loss during Wi-Fi transmission was avoided, and traffic was maximized.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121968317A_ABST
    Figure CN121968317A_ABST
Patent Text Reader

Abstract

The invention discloses a single radio frequency Wi-Fi and Bluetooth intelligent cooperative scheduling method and device and electronic equipment, and relates to the technical field of wireless coexistence. The method comprises the following steps: acquiring a Bluetooth connection interval in real time; according to the connection interval and the Bluetooth communication time sequence requirement, dynamically distributing a Wi-Fi receiving and transmitting time sequence and a Bluetooth receiving and transmitting time sequence; in the Wi-Fi transceiving time sequence, dynamically calculating the aggregation length of Wi-Fi data frames according to the residual duration of the Wi-Fi transceiving time sequence, and dynamically aggregating the Wi-Fi data frames according to the aggregation length to obtain an aggregated data packet; controlling a Wi-Fi module to send the aggregated data packet and receive data, and controlling a Bluetooth module to stop working; and controlling the Bluetooth module to send and receive data and controlling the Wi-Fi module to stop working within the transceiving time sequence of the Bluetooth. According to the invention, the technical problems of low transmission efficiency and high packet loss rate when Wi-Fi and Bluetooth coexist in the prior art are solved.
Need to check novelty before this filing date? Find Prior Art

Description

A method, apparatus, and electronic device for single-radio frequency Wi-Fi and Bluetooth intelligent collaborative scheduling. Technical Field

[0001] This invention relates to the field of wireless coexistence technology, and in particular to a method, apparatus and electronic device for intelligent collaborative scheduling of single-radio Wi-Fi and Bluetooth. Background Technology

[0002] Both Wi-Fi and BLE operate in the 2.4GHz frequency band, resulting in spectrum overlap and potential signal conflicts during operation, leading to reduced throughput and communication latency. Currently, Wi-Fi and BLE coexist using either independent operation or time-division multiplexing. When operating independently, each uses a different frequency band to avoid interference, typically achieved through hardware isolation or frequency band allocation. However, this technology requires two sets of radio frequency and baseband circuits, as well as additional hardware resources such as module switching control signal pins, resulting in higher costs.

[0003] Another approach is to use time-division multiplexing for the coexistence of WIFI and BLE, which allows WIFI and BLE to share the same frequency band through time-division. The time slice is divided into two segments: one segment is used for WIFI transmission and reception, and the other segment is used for BLE transmission and reception. The frequency band is used alternately during the two segments to avoid interference caused by simultaneous communication. If the time slice is for the BLE stage but WIFI transmission has not yet ended, the decision to continue transmission will be based on priority. If WIFI has a higher priority, it will continue to transmit; if BLE has a higher priority, WIFI transmission will be paused and the BLE stage will be switched. In the case where the time slice is for the BLE stage but WIFI transmission has not yet ended, two results may occur: (1) WIFI transmission will be paused and the BLE stage will be switched; this will cause WIFI packet loss, and if the BLE connection interval is very short, the packet loss will be even greater, affecting the throughput; (2) WIFI transmission will continue, which will skip the BLE stage; the current BLE connection event processing will be missed, BLE packet loss may occur, and the BLE connection may be interrupted.

[0004] Therefore, it is urgent to find a solution to the problem of low transmission efficiency and high packet loss rate when Wi-Fi and Bluetooth coexist in single-radio mode. Summary of the Invention

[0005] This invention provides a method, apparatus, and electronic device for intelligent collaborative scheduling of single-radio Wi-Fi and Bluetooth, which can solve the technical problems of low transmission efficiency and high packet loss rate when Wi-Fi and Bluetooth coexist in the prior art. The technical solution is as follows:

[0006] In a first aspect, embodiments of the present invention provide a single-radio frequency Wi-Fi and Bluetooth intelligent collaborative scheduling method, comprising:

[0007] Real-time acquisition of Bluetooth connection intervals;

[0008] Based on the connection interval and Bluetooth communication timing requirements, dynamically allocate Wi-Fi transceiver timing and Bluetooth transceiver timing;

[0009] Within the Wi-Fi transmit / receive sequence, the aggregation length of the Wi-Fi data frame is dynamically calculated based on the remaining duration of the Wi-Fi transmit / receive sequence, and the Wi-Fi data frame is dynamically aggregated according to the aggregation length to obtain an aggregated data packet; the Wi-Fi module is controlled to send the aggregated data packet and receive data, and the Bluetooth module is controlled to pause operation;

[0010] Within the Bluetooth transmit / receive sequence, the Bluetooth module is controlled to send and receive data, and the Wi-Fi module is controlled to pause operation.

[0011] In some embodiments of the present invention, the Wi-Fi transceiver timing includes Wi-Fi transmit and receive timing and Wi-Fi buffer timing;

[0012] During the Wi-Fi transmit and receive timing, the Wi-Fi module is controlled to send the aggregated data packet;

[0013] During the Wi-Fi buffer timing, the transmit / receive state of the Wi-Fi module is determined. If it is in the transmit phase, the Wi-Fi module is controlled to send a complete data packet before switching to the receive phase. If it is in the receive phase, the Wi-Fi module is controlled to remain in the receive phase until the Bluetooth transmit / receive timing is entered.

[0014] In some embodiments of the present invention, the duration of the Wi-Fi buffer timing is a preset fixed value; the duration of the Wi-Fi transmit and receive timing is the difference between the connection interval, the Bluetooth communication timing, and the Wi-Fi buffer timing.

[0015] In some embodiments of the present invention, the step of dynamically calculating the aggregate length of the Wi-Fi data frame based on the remaining duration of the Wi-Fi transceiver sequence within the Wi-Fi transceiver time sequence includes:

[0016] Real-time monitoring of the remaining time until the Wi-Fi transmission and reception sequence is achieved;

[0017] The maximum allowable aggregation length is calculated based on the premise that the data can be completely transmitted within the remaining time.

[0018] In some embodiments of the present invention, calculating the maximum permissible aggregation length includes:

[0019] The maximum aggregation length is determined based on the packet length, modulation method, and rate of the WiFi module.

[0020] In some embodiments of the present invention, before controlling the Wi-Fi module to send the aggregated data packet and receive data, the method further includes:

[0021] Control the Wi-Fi module to disable DSSS / CCK transmission mode and use only OFDM mode.

[0022] In some embodiments of the present invention, the Bluetooth connection interval is different in each cycle, and the Bluetooth connection interval is updated in real time in each cycle.

[0023] Secondly, the present invention also provides a single-radio frequency Wi-Fi and Bluetooth intelligent collaborative scheduling device, comprising:

[0024] The acquisition module is used to obtain the Bluetooth connection interval in real time;

[0025] The allocation module is used to dynamically allocate Wi-Fi transceiver timing and Bluetooth transceiver timing according to the connection interval and Bluetooth communication timing requirements;

[0026] The Wi-Fi transceiver module is used to dynamically calculate the aggregate length of Wi-Fi data frames based on the remaining duration of the Wi-Fi transceiver sequence within the Wi-Fi transceiver time sequence, and dynamically aggregate the Wi-Fi data frames according to the aggregate length to obtain aggregated data packets; control the Wi-Fi module to send the aggregated data packets and receive data, and control the Bluetooth module to pause operation;

[0027] The Bluetooth transmitting module is used to control the Bluetooth module to send and receive data during the Bluetooth transmit and receive sequence, and to control the Wi-Fi module to pause operation.

[0028] Thirdly, the present invention also provides an electronic device, comprising: a processor and a memory;

[0029] The memory stores a computer-readable program that can be executed by the processor;

[0030] When the processor executes the computer-readable program, it implements the steps in the single-radio frequency Wi-Fi and Bluetooth smart cooperative scheduling method as described above.

[0031] Fourthly, the present invention also provides a computer-readable storage medium storing one or more programs that can be executed by one or more processors to implement the steps in the single-radio Wi-Fi and Bluetooth intelligent collaborative scheduling method as described above.

[0032] The beneficial effects of the technical solutions provided by some embodiments of the present invention include at least the following: First, the Bluetooth connection interval is acquired in real time, and Wi-Fi and Bluetooth transmission / reception timings are dynamically allocated according to the connection interval and Bluetooth communication timing requirements; a timing-division scheduling mechanism based on the BLE connection interval is constructed to adapt to different connection intervals, achieve efficient dual-mode collaboration, and ensure that each BLE connection interval can transmit and receive data while also ensuring that the WiFi packet is sent completely; then, within the Wi-Fi transmission / reception timing, the aggregation length of the Wi-Fi data frame is dynamically calculated according to the remaining duration of the Wi-Fi transmission / reception timing, and the Wi-Fi data frame is dynamically aggregated according to the aggregation length to obtain an aggregated data packet; the Wi-Fi module is controlled to send the aggregated data packet and receive data, and the Bluetooth module is controlled to pause operation; thereby, the Wi-Fi throughput is improved while ensuring normal BLE timing interaction through the mechanism of dynamically adjusting the aggregation transmission of Wi-Fi; finally, within the Bluetooth transmission / reception timing, the Bluetooth module is controlled to send and receive data, and the Wi-Fi module is controlled to pause operation. Thus, this invention combines WiFi and Bluetooth, dynamically controlling the transmission and reception of Bluetooth and WiFi through the concept of coexistence. This not only avoids packet loss during WiFi transmission but also maximizes traffic by continuously calculating the aggregation length of WiFi. Attached Figure Description

[0033] To more clearly illustrate the technical solutions in the embodiments of the present invention 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 some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0034] Figure 1 is a system architecture diagram of an embodiment of the single-radio Wi-Fi and Bluetooth intelligent collaborative scheduling method provided by the present invention;

[0035] Figure 2 is a flowchart of an embodiment of the single-radio Wi-Fi and Bluetooth intelligent collaborative scheduling method provided by the present invention;

[0036] Figure 3 is a flowchart of a method for an embodiment of step S203 in Figure 1;

[0037] Figure 4 is a schematic diagram of an embodiment of the single-radio Wi-Fi and Bluetooth intelligent collaborative scheduling device provided by the present invention;

[0038] Figure 5 is a schematic diagram of the operating environment of an embodiment of the electronic device provided by the present invention. Detailed Implementation

[0039] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0040] It should be noted that the single-radio Wi-Fi and Bluetooth intelligent collaborative scheduling method provided in this application is generally executed by the terminal device, and correspondingly, the single-radio Wi-Fi and Bluetooth intelligent collaborative scheduling device is generally set in the terminal device.

[0041] Figure 1 illustrates an exemplary system architecture for a single-radio frequency Wi-Fi and Bluetooth smart collaborative scheduling method or a single-radio frequency Wi-Fi and Bluetooth smart collaborative scheduling device that can be applied to this application.

[0042] As shown in Figure 1, the system architecture may include: terminal device 101 and server 102. Terminal device 101 and server 102 can communicate via a network, which serves as the medium for providing communication links between the various units. The network may include various types of wired or wireless communication links, such as: wired communication links including fiber optic cables, twisted-pair cables, or coaxial cables; and wireless communication links including Bluetooth communication links, Wi-Fi communication links, or microwave communication links.

[0043] It should be noted that the terminal device 101 and the server 102 can be either hardware or software. When the terminal device 101 and the server 102 are hardware, they can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. When the terminal device 101 and the server 102 are software, they can be implemented as multiple software programs or software modules (for example, to provide distributed services), or as a single software program or software module; no specific limitations are made here.

[0044] The terminal device of this application can be equipped with various communication client applications, such as video recording applications, video playback applications, voice interaction applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0045] A terminal device can be either hardware or software. When the terminal device is hardware, it can be various terminal devices with a display screen, including but not limited to smartphones, tablets, laptops, and desktop computers. When the terminal device is software, it can be installed on the terminal devices listed above. It can be implemented as multiple software programs or software modules (e.g., used to provide distributed services) or as a single software program or software module; no specific limitation is made here.

[0046] When the terminal device is hardware, it can also be equipped with a display device and a camera. The display device can be any device capable of displaying information, and the camera is used to capture video streams. For example, the display device can be a cathode ray tube display (CR), a light-emitting diode display (LED), an e-ink screen, a liquid crystal display (LCD), a plasma display panel (PDP), etc. Users can use the display device on the terminal device to view displayed text, images, videos, and other information.

[0047] It should be understood that the number of terminal devices, networks, and servers shown in Figure 1 is merely illustrative. The number of terminal devices, networks, and servers can be any number, depending on the implementation requirements.

[0048] The single-radio frequency Wi-Fi and Bluetooth intelligent collaborative scheduling method provided in this application embodiment will be described in detail below with reference to Figure 2. The single-radio frequency Wi-Fi and Bluetooth intelligent collaborative scheduling device in this application embodiment can be the terminal device shown in Figure 1.

[0049] Please refer to Figure 2, which is a flowchart illustrating a single-radio frequency Wi-Fi and Bluetooth intelligent collaborative scheduling method according to an embodiment of this application. As shown in Figure 2, the method of this embodiment may include the following steps:

[0050] S201. Real-time acquisition of Bluetooth connection interval;

[0051] It should be noted that the Bluetooth connection interval is negotiated and determined by the master and slave devices after the BLE connection is established, and can be updated after each connection event. Understandably, the Bluetooth connection interval may be the same or different within each communication cycle; therefore, the connection interval and WiFi transmission / reception timing are dynamically updated within each cycle.

[0052] S202. Dynamically allocate Wi-Fi transceiver timing and Bluetooth transceiver timing according to the connection interval and Bluetooth communication timing requirements;

[0053] It should be noted that using the Bluetooth connection interval as the highest priority clock reference ensures that each BLE connection event obtains exclusive, conflict-free radio frequency resources, fundamentally avoiding BLE data packet loss or connection interruption caused by Wi-Fi occupancy. Bluetooth communication timing requirements refer to the time-related conditions and rules that must be met to ensure the normal and stable operation of Bluetooth Low Energy communication. It is a fixed minimum time window length that must be reserved to ensure that a single BLE connection event can be fully processed.

[0054] Furthermore, through a dynamic aggregation mechanism, the system intelligently utilizes all available time for Wi-Fi within each connection interval to package and send as much data as possible, avoiding resource waste caused by fixed time slices.

[0055] S203. Within the Wi-Fi transmission and reception sequence, dynamically calculate the aggregation length of the Wi-Fi data frame based on the remaining duration of the Wi-Fi transmission and reception sequence, and dynamically aggregate the Wi-Fi data frames according to the aggregation length to obtain an aggregated data packet; control the Wi-Fi module to send the aggregated data packet and receive data, and control the Bluetooth module to pause operation;

[0056] In a specific embodiment of the present invention, the Wi-Fi transceiver timing includes Wi-Fi transmit / receive timing and Wi-Fi buffer timing; during the Wi-Fi transmit / receive timing, the Wi-Fi module is controlled to transmit the aggregated data packet; during the Wi-Fi buffer timing, the transmit / receive state of the Wi-Fi module is determined; if it is in the transmit phase, the Wi-Fi module is controlled to transmit the complete data packet before switching to the receive phase; if it is in the receive phase, the Wi-Fi module is controlled to remain in the receive phase until the Bluetooth transceiver timing is entered.

[0057] It should be noted that the Wi-Fi buffer timing is a fixed-length "buffer band" (e.g., 2.5ms). Its purpose is to ensure that any Wi-Fi data packet that has already begun transmission can be sent completely before switching to BLE, avoiding truncation. Afterwards, the Wi-Fi module enters a pure receive / listen state. Within the BLE transmit / receive window (i.e., the BLE transmit / receive phase), the BLE module is controlled to send and receive data. At this time, the Wi-Fi module is forcibly paused, and the radio frequency resources are completely handed over to BLE to ensure timely processing of connection events. It is understood that the duration of the Wi-Fi buffer timing is predetermined and depends on Wi-Fi performance; it is not limited in this patent.

[0058] Furthermore, the duration of the Wi-Fi buffer timing is a preset fixed value; the duration of the Wi-Fi transmit / receive timing is the difference between the connection interval, the Bluetooth communication timing, and the Wi-Fi buffer timing. Based on dynamically determining the Wi-Fi transmit / receive timing, the length of the aggregated data packets that can be sent is calculated according to the remaining time of the Wi-Fi transmit / receive timing, ensuring that as much data as possible is sent within a single Wi-Fi transmit / receive timing sequence, thereby increasing bandwidth.

[0059] In one specific embodiment, not only is traffic transmission efficiency improved by aggregating data packets, but the Wi-Fi module is also controlled to disable DSSS / CCK transmission mode and only use OFDM mode. Because Wi-Fi is restricted to transmitting in DSSS / CCK mode, the maximum transmission time without Wi-Fi aggregation will not exceed 2.5ms. Therefore, the Wi-Fi buffer timing is fixed at 2.5ms.

[0060] S204. During the Bluetooth transmit / receive sequence, control the Bluetooth module to send and receive data, and control the Wi-Fi module to pause operation.

[0061] In one specific embodiment of the present invention, the system initializes, configures the Wi-Fi module, disables the DSSS / CCK transmission mode via software commands, forces it to use OFDM mode for communication, and attempts to establish a BLE connection with the master device. After the connection is established, the negotiated connection interval parameter, for example, 50ms, is acquired and monitored in real time. Then, dynamic timing is performed based on the 50ms connection interval. Assuming BLE communication takes 5ms and the Wi-Fi buffer timing is fixed at 2.5ms, the Wi-Fi transmit / receive timing duration is 50ms - 5ms - 2.5ms = 42.5ms. After entering the Wi-Fi transmit / receive timing, the remaining time until the end of the phase (after 42.5ms) is calculated in real time, and the length of the aggregated frame is dynamically determined accordingly. For example, at the beginning of the phase, there is ample remaining time, allowing for the aggregation of a large number of frames; near the end, the remaining time is short, so only a small number of small frames or a single frame are aggregated. When the time reaches 42.5ms, the system switches to the Wi-Fi buffer timing. Within this 2.5ms period, it ensures that any initiated Wi-Fi packets have been sent, and then maintains the receiving state. After 2.5ms, it immediately switches to the BLE transmit / receive phase, which lasts for 5ms to complete the BLE data exchange. After the BLE phase ends, it immediately returns to the first step, obtains the new connection interval (which may remain the same or be updated), and begins the scheduling of the next 50ms cycle.

[0062] In some embodiments of the present invention, the step of dynamically calculating the aggregate length of Wi-Fi data frames based on the remaining duration of the Wi-Fi transceiver sequence within the Wi-Fi transceiver time sequence, as shown in Figure 3, includes:

[0063] S301. Monitor the remaining time until the Wi-Fi transmission and reception sequence is completed in real time;

[0064] S302. Calculate the maximum allowable aggregation length, assuming that the data can be completely transmitted within the remaining time.

[0065] It should be noted that the maximum aggregation length can be determined based on the packet length, modulation method, and rate of the WiFi module.

[0066] This invention has the following beneficial effects: First, it acquires the Bluetooth connection interval in real time, and dynamically allocates the Wi-Fi and Bluetooth transceiver timings based on the connection interval and Bluetooth communication timing requirements; it constructs a time-division scheduling mechanism based on the BLE connection interval to adapt to different connection intervals, achieves efficient dual-mode collaboration, and ensures that each BLE connection interval can transmit and receive data while also ensuring the complete transmission of WiFi packets; then, within the Wi-Fi transceiver timing, it dynamically calculates the aggregation length of Wi-Fi data frames based on the remaining duration of the Wi-Fi transceiver timing, and dynamically aggregates the Wi-Fi data frames according to the aggregation length to obtain aggregated data packets; it controls the Wi-Fi module to send the aggregated data packets and receive data, and controls the Bluetooth module to pause operation; thus, through the mechanism of dynamically adjusting the aggregation transmission of Wi-Fi, it improves Wi-Fi throughput while ensuring normal BLE timing interaction; finally, within the Bluetooth transceiver timing, it controls the Bluetooth module to send and receive data, and controls the Wi-Fi module to pause operation. Thus, this invention combines WiFi and Bluetooth, dynamically controlling the transmission and reception of Bluetooth and WiFi through the concept of coexistence. This not only avoids packet loss during WiFi transmission but also maximizes traffic by continuously calculating the aggregation length of WiFi.

[0067] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.

[0068] Please refer to Figure 4, which shows a schematic diagram of a single-radio frequency Wi-Fi and Bluetooth intelligent collaborative scheduling device provided in an exemplary embodiment of this application, hereinafter referred to as device 4. Device 4 can be implemented as all or part of a terminal device through software, hardware, or a combination of both. Device 4 includes:

[0069] The acquisition module 410 is used to acquire the Bluetooth connection interval in real time;

[0070] The allocation module 420 is used to dynamically allocate Wi-Fi transceiver timing and Bluetooth transceiver timing according to the connection interval and Bluetooth communication timing requirements;

[0071] Wi-Fi transceiver module 430 is used to dynamically calculate the aggregation length of Wi-Fi data frames based on the remaining duration of the Wi-Fi transceiver sequence within the Wi-Fi transceiver sequence, and dynamically aggregate the Wi-Fi data frames according to the aggregation length to obtain an aggregated data packet; control the Wi-Fi module to send the aggregated data packet and receive data, and control the Bluetooth module to pause operation;

[0072] The Bluetooth transmitting module 440 is used to control the Bluetooth module to transmit and receive data during the Bluetooth transmission and reception sequence, and to control the Wi-Fi module to pause operation.

[0073] It should be noted that the device 4 provided in the above embodiments, when executing the single-radio frequency Wi-Fi and Bluetooth intelligent collaborative scheduling method, is only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the above functions. In addition, the single-radio frequency Wi-Fi and Bluetooth intelligent collaborative scheduling device and the single-radio frequency Wi-Fi and Bluetooth intelligent collaborative scheduling method embodiments provided in the above embodiments belong to the same concept, and the implementation process is detailed in the method embodiments, which will not be repeated here.

[0074] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0075] This application also provides a computer storage medium that can store multiple instructions. These instructions are adapted to be loaded by a processor and executed as described in the embodiment shown in FIG2 above. For details of the execution process, please refer to the specific description of the embodiment shown in FIG2, which will not be repeated here.

[0076] This application also provides a computer program product that stores at least one instruction, which is loaded and executed by the processor to implement the single-radio frequency Wi-Fi and Bluetooth intelligent collaborative scheduling method as described in the above embodiments.

[0077] Please refer to Figure 5, which is a schematic diagram of the structure of a terminal device provided in an embodiment of this application. As shown in Figure 5, the terminal device 500 may include: at least one processor 501, at least one network interface 504, a user interface 503, a memory 505, and at least one communication bus 502.

[0078] The communication bus 502 is used to enable communication between these components.

[0079] The user interface 503 may include a display screen and a camera. Optionally, the user interface 503 may also include a standard wired interface and a wireless interface.

[0080] The network interface 504 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).

[0081] The processor 501 may include one or more processing cores. The processor 501 connects to various parts within the terminal device 500 using various interfaces and lines, and performs various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 505, and by calling data stored in the memory 505. Optionally, the processor 501 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 501 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also be implemented as a separate chip, without being integrated into the processor 501.

[0082] The memory 505 may include random access memory (RAM) or read-only memory. Optionally, the memory 505 may include a non-transitory computer-readable storage medium. The memory 505 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 505 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), instructions for implementing the various method embodiments described above, etc.; the data storage area may store data involved in the various method embodiments described above, etc. Optionally, the memory 505 may also be at least one storage device located remotely from the aforementioned processor 501. As shown in FIG5, the memory 505, as a computer storage medium, may include an operating system, a network communication module, a user interface module, and application programs.

[0083] In the terminal device 500 shown in Figure 5, the user interface 503 is mainly used to provide an input interface for the user and obtain the user input data; while the processor 501 can be used to call the application program stored in the memory 505 and specifically execute the method shown in Figure 2. The specific process can be referred to Figure 2, and will not be repeated here.

[0084] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory, or random access memory, etc.

[0085] The above description discloses only preferred embodiments of the present invention and should not be construed as limiting the scope of the present invention. Therefore, equivalent variations made in accordance with the claims of the present invention are still within the scope of the present invention.

Claims

1. A single-radio frequency Wi-Fi and Bluetooth intelligent collaborative scheduling method, characterized in that, include: The connection interval of Bluetooth is obtained in real time; the Wi-Fi transceiver timing and Bluetooth transceiver timing are dynamically allocated according to the connection interval and Bluetooth communication timing requirements. Within the Wi-Fi transmit / receive sequence, the aggregate length of the Wi-Fi data frame is dynamically calculated based on the remaining duration of the Wi-Fi transmit / receive sequence, and the Wi-Fi data frames are dynamically aggregated according to the aggregate length to obtain an aggregated data packet; the Wi-Fi module is controlled to send the aggregated data packet and receive data, and the Bluetooth module is controlled to pause operation; within the Bluetooth transmit / receive sequence, the Bluetooth module is controlled to send and receive data, and the Wi-Fi module is controlled to pause operation.

2. The single-radio frequency Wi-Fi and Bluetooth intelligent collaborative scheduling method according to claim 1, characterized in that, The Wi-Fi transmit / receive timing includes Wi-Fi transmit / receive timing and Wi-Fi buffer timing; during the Wi-Fi transmit / receive timing, the Wi-Fi module is controlled to transmit the aggregated data packet; during the Wi-Fi buffer timing, the transmit / receive state of the Wi-Fi module is determined, and if it is in the transmit phase, the Wi-Fi module is controlled to transmit the complete data packet before switching to the receive phase. If in receiving mode, the Wi-Fi module will remain in receiving mode until the Bluetooth transceiver sequence is entered.

3. The single-radio frequency Wi-Fi and Bluetooth intelligent collaborative scheduling method according to claim 2, characterized in that, The duration of the Wi-Fi buffer timing is a preset fixed value; the duration of the Wi-Fi transmit and receive timing is the difference between the connection interval, the Bluetooth communication timing, and the Wi-Fi buffer timing.

4. The single-radio frequency Wi-Fi and Bluetooth intelligent collaborative scheduling method according to claim 1, characterized in that, The step of dynamically calculating the aggregate length of Wi-Fi data frames based on the remaining duration of the Wi-Fi transmission and reception sequence within the Wi-Fi transmission and reception sequence includes: real-time monitoring of the remaining time of the Wi-Fi transmission and reception sequence; and calculating the maximum allowable aggregate length based on the premise that the transmission can be completed within the remaining time.

5. The single-radio frequency Wi-Fi and Bluetooth intelligent collaborative scheduling method according to claim 4, characterized in that, The calculation of the maximum allowable aggregation length includes: determining the maximum aggregation length based on the packet length, modulation method, and rate of the WiFi module.

6. The single-radio frequency Wi-Fi and Bluetooth intelligent collaborative scheduling method according to claim 1, characterized in that, Before controlling the Wi-Fi module to send the aggregated data packet and receive data, the method further includes: controlling the Wi-Fi module to disable the DSSS / CCK transmission mode and only use the OFDM mode.

7. The single-radio frequency Wi-Fi and Bluetooth intelligent collaborative scheduling method according to claim 1, characterized in that, The Bluetooth connection interval is different in each cycle, and the Bluetooth connection interval is updated in real time in each cycle.

8. A single-radio frequency Wi-Fi and Bluetooth intelligent collaborative scheduling device, characterized in that, include: The acquisition module is used to acquire the Bluetooth connection interval in real time; the allocation module is used to dynamically allocate the Wi-Fi transceiver timing and the Bluetooth transceiver timing according to the connection interval and the Bluetooth communication timing requirements. The Wi-Fi transceiver module is used to dynamically calculate the aggregate length of Wi-Fi data frames based on the remaining duration of the Wi-Fi transceiver sequence within the Wi-Fi transceiver sequence, and dynamically aggregate the Wi-Fi data frames according to the aggregate length to obtain aggregated data packets; control the Wi-Fi module to send the aggregated data packets and receive data, and control the Bluetooth module to pause operation; the Bluetooth transmitting module is used to control the Bluetooth module to send and receive data within the Bluetooth transceiver sequence, and control the Wi-Fi module to pause operation.

9. An electronic device, characterized in that, include: A processor and a memory; the memory stores a computer-readable program that can be executed by the processor; when the processor executes the computer-readable program, it implements the steps of the single-radio Wi-Fi and Bluetooth intelligent cooperative scheduling method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores one or more programs, which can be executed by one or more processors to implement the steps in the single-radio Wi-Fi and Bluetooth smart cooperative scheduling method as described in any one of claims 1-7.