CN113727316A - Radio frequency scheduling method and device for coexistence of Wi-Fi and Bluetooth - Google Patents

Radio frequency scheduling method and device for coexistence of Wi-Fi and Bluetooth Download PDF

Info

Publication number
CN113727316A
CN113727316A CN202110800816.2A CN202110800816A CN113727316A CN 113727316 A CN113727316 A CN 113727316A CN 202110800816 A CN202110800816 A CN 202110800816A CN 113727316 A CN113727316 A CN 113727316A
Authority
CN
China
Prior art keywords
bluetooth
radio frequency
priority
frequency resource
hardware
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110800816.2A
Other languages
Chinese (zh)
Inventor
樊凯
杨富华
黄露
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Xinzhilian Technology Co ltd
Original Assignee
Guangzhou Xinzhilian Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Xinzhilian Technology Co ltd filed Critical Guangzhou Xinzhilian Technology Co ltd
Priority to CN202110800816.2A priority Critical patent/CN113727316A/en
Publication of CN113727316A publication Critical patent/CN113727316A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/56Allocation or scheduling criteria for wireless resources based on priority criteria

Abstract

The invention provides a radio frequency scheduling method and a radio frequency scheduling device for coexistence of Wi-Fi and Bluetooth, wherein the method comprises the following steps: detecting a service request triggered by Bluetooth, and acquiring first target information, wherein the first target information comprises the priority of Wi-Fi and Bluetooth and/or the service request type of the Bluetooth, and the service request is used for requesting to allocate radio frequency resources to the Bluetooth, and the priority of Wi-F i and the priority of the Bluetooth comprise the software priority of Wi-Fi, the software priority of the Bluetooth, the hardware priority of Wi-F i and the hardware priority of the Bluetooth; and generating a radio frequency resource arbitration result aiming at the determined radio frequency resource according to the acquired first target information, wherein the radio frequency resource arbitration result comprises the right of use of the radio frequency resource, and the radio frequency resource arbitration result is used for allocating the radio frequency resource for the Bluetooth and allocating the radio frequency resource for the Wi-Fi coexisting with the Bluetooth. Therefore, the invention can process the radio frequency scheduling problem under the coexistence of Wi-Fi and Bluetooth according to the acquired first target information, and can improve the utilization efficiency of radio frequency resources, thereby improving the scheduling effect of radio frequency.

Description

Radio frequency scheduling method and device for coexistence of Wi-Fi and Bluetooth
Technical Field
The invention relates to the technical field of communication, in particular to a radio frequency scheduling method and device for coexistence of Wi-Fi and Bluetooth.
Background
With the rapid development of the intelligent terminal device technology, the Wi-Fi module and the bluetooth module become basic configurations of the intelligent terminal device, and based on cost consideration, the Wi-Fi module and the bluetooth module are generally integrated in one chip and share one antenna.
Currently, in an intelligent terminal device in which a Wi-Fi module and a bluetooth module share one antenna, a time division multiplexing mode is adopted to allocate radio frequency resource usage rights, that is, the Wi-Fi module and the bluetooth module use radio frequency resources for a period of time in turn, so as to avoid radio frequency resource usage conflicts. However, practice shows that in the case of handling an unexpected task of bluetooth communication (such as a broadcast event), the time required for information transmission is short, and when a fixed time is allocated to bluetooth, utilization efficiency of radio frequency resources is low, and finally, the scheduling effect of the intelligent terminal device on radio frequency is not good.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a radio frequency scheduling method and apparatus with Wi-Fi and bluetooth coexisting, which can improve the utilization efficiency of radio frequency resources, thereby improving the scheduling effect of radio frequency.
In order to solve the above technical problem, a first aspect of the present invention discloses a radio frequency scheduling method for Wi-Fi and bluetooth coexistence, where the method includes:
detecting a service request triggered by the Bluetooth, and acquiring first target information, wherein the first target information comprises the Wi-Fi and Bluetooth priorities and/or the Bluetooth service request types, and the service request is used for requesting to allocate radio frequency resources to the Bluetooth, and the Wi-Fi and the Bluetooth priorities comprise the Wi-Fi software priority, the Bluetooth software priority, the Wi-Fi hardware priority and the Bluetooth hardware priority;
and generating a radio frequency resource arbitration result aiming at the determined radio frequency resource according to the acquired first target information, wherein the radio frequency resource arbitration result comprises the use right of the radio frequency resource, and the radio frequency resource arbitration result is used for allocating the radio frequency resource for the Bluetooth and allocating the radio frequency resource for the Wi-Fi coexisting with the Bluetooth, wherein the software priority is responsible for determining the use right of the radio frequency resource on a macro level, and the hardware priority is responsible for determining the use right of the radio frequency resource on a micro level.
As an optional implementation manner, in the first aspect of the present invention, the generating a radio resource arbitration result for the determined radio resource according to the obtained first target information includes:
judging whether the software priority of the Wi-Fi is smaller than that of the Bluetooth;
when the software priority of the Wi-Fi is judged to be smaller than that of the Bluetooth, judging whether the service request type of the Bluetooth is a burst task;
and when the service request type of the Bluetooth is judged to be a burst task, setting the software priority of the Wi-Fi to be higher than that of the Bluetooth, comparing the hardware priority of the Wi-Fi with that of the Bluetooth, and obtaining the radio frequency resource arbitration result according to the comparison result.
As an optional implementation manner, in the first aspect of the present invention, the comparing the hardware priority of the Wi-Fi with the hardware priority of the bluetooth, and obtaining the radio frequency resource arbitration result according to the comparison result includes:
judging whether the hardware priority of the Wi-Fi is smaller than the hardware priority of the Bluetooth;
when the hardware priority of the Wi-Fi is judged to be smaller than the hardware priority of the Bluetooth, the use right of the radio frequency resource is allocated to the Bluetooth;
and when the hardware priority of the Wi-Fi is judged to be more than or equal to the hardware priority of the Bluetooth, the use right of the radio frequency resource is distributed to the Wi-Fi.
As an optional implementation manner, in the first aspect of the present invention, after the detecting the service request triggered by bluetooth, and before the acquiring the first target information, the method further includes:
setting the hardware priority of the Bluetooth to be a first target value within a first time period of a preset cycle, wherein the first target value is larger than the value of the hardware priority of the Wi-Fi;
and setting the hardware priority of the Bluetooth to be a second target value in a second time period of a preset cycle, wherein the second target value is less than or equal to the value of the hardware priority of the Wi-Fi, and the second time period of the preset cycle is a residual time period of the preset cycle excluding the first time period.
As an optional implementation manner, in the first aspect of the present invention, in the first period of a preset cycle, the number of requests of the burst task of the bluetooth is less than or equal to a preset number.
As an optional implementation manner, in the first aspect of the present invention, the hardware priority of bluetooth includes a high real-time priority and a low real-time priority, wherein a value of the high real-time priority is greater than a value of the hardware priority of Wi-Fi;
wherein the comparing the hardware priority of the Wi-Fi with the hardware priority of the bluetooth, and obtaining the radio frequency resource arbitration result according to the comparison result, includes:
and comparing the hardware priority of the Wi-Fi with the high real-time priority of the Bluetooth, and obtaining the radio frequency resource arbitration result according to the comparison result.
The second aspect of the present invention discloses a radio frequency scheduling device with coexistence of Wi-Fi and bluetooth, the device comprising:
the detection module is used for detecting a service request of the Bluetooth, wherein the service request is used for requesting to allocate radio frequency resources for the Bluetooth;
an obtaining module, configured to obtain first target information, where the first target information includes a priority of the Wi-Fi and the bluetooth and/or a service request type of the bluetooth, and the priority of the Wi-Fi and the bluetooth includes a software priority of the Wi-Fi, a software priority of the bluetooth, a hardware priority of the Wi-Fi, and a hardware priority of the bluetooth;
an arbitration module, configured to generate a radio frequency resource arbitration result for the determined radio frequency resource according to the first target information obtained by the obtaining module, where the radio frequency resource arbitration result includes a usage right of the radio frequency resource, and the radio frequency resource arbitration result is used to allocate the radio frequency resource for the bluetooth and allocate the radio frequency resource for Wi-Fi coexisting with the bluetooth, where the software priority is responsible for determining the usage right of the radio frequency resource on a macro level, and the hardware priority is responsible for determining the usage right of the radio frequency resource on a micro level.
As an optional implementation manner, in the second aspect of the present invention, the arbitration module includes a judgment sub-module and a comparison sub-module, wherein:
the judgment submodule is used for judging whether the software priority of the Wi-Fi is smaller than the software priority of the Bluetooth; when the software priority of the Wi-Fi is judged to be smaller than that of the Bluetooth, judging whether the service request type of the Bluetooth is a burst task;
the setting submodule is used for setting the software priority of the Wi-Fi to be higher than the software priority of the Bluetooth when the judging submodule judges that the service request type of the Bluetooth is a burst task;
the comparison submodule is used for comparing the hardware priority of the Wi-Fi with the hardware priority of the Bluetooth and obtaining the radio frequency resource arbitration result according to the comparison result.
As an alternative implementation, in the second aspect of the present invention, the comparing sub-module includes a judging sub-unit and an arbitrating sub-unit, wherein:
the judging subunit is configured to judge whether the hardware priority of the Wi-Fi is smaller than the hardware priority of the bluetooth;
the arbitration subunit is configured to allocate the right of use of the radio frequency resource to the bluetooth when the judgment subunit judges that the hardware priority of the Wi-Fi is smaller than the hardware priority of the bluetooth;
the arbitration subunit is further configured to allocate the right of use of the radio frequency resource to the Wi-Fi when the judgment subunit judges that the hardware priority of the Wi-Fi is greater than or equal to the hardware priority of the bluetooth.
As an alternative embodiment, in the second aspect of the present invention, the apparatus further comprises:
a setting module, configured to set a hardware priority of the bluetooth to a first target value within a first time period of a preset period after the detecting of the service request triggered by the bluetooth and before the obtaining of the first target information, where the first target value is greater than a value of the hardware priority of the Wi-Fi;
the setting module is further configured to set the hardware priority of the bluetooth to a second target value within a second time period of a preset cycle after the detecting the service request triggered by the bluetooth and before the obtaining the first target information, where the second target value is less than or equal to the value of the hardware priority of the Wi-Fi, and the second time period of the preset cycle is a remaining time period in the preset cycle excluding the first time period.
As an optional implementation manner, in the second aspect of the present invention, in the first period of a preset cycle, the number of requests of the burst task of the bluetooth is less than or equal to a preset number.
As an optional implementation manner, in the second aspect of the present invention, the hardware priority of the bluetooth includes a high real-time priority and a low real-time priority, wherein a value of the high real-time priority is greater than a value of the hardware priority of the Wi-Fi;
the specific way of comparing the Wi-Fi hardware priority with the Bluetooth hardware priority by the comparison submodule and obtaining the radio frequency resource arbitration result according to the comparison result is as follows:
and the comparison sub-module compares the hardware priority of the Wi-Fi with the high real-time priority of the Bluetooth, and obtains the radio frequency resource arbitration result according to the comparison result.
The third aspect of the present invention discloses another radio frequency scheduling apparatus with coexistence of Wi-Fi and bluetooth, the apparatus comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute part or all of the steps of the Wi-Fi and bluetooth coexisting radio frequency scheduling method disclosed by the first aspect of the invention.
In a fourth aspect, the present invention discloses a computer storage medium, which stores computer instructions, and when the computer instructions are called, the computer instructions are used to execute some or all of the steps in the Wi-Fi and bluetooth coexisting radio frequency scheduling method disclosed in the first aspect of the present invention.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the present invention, a service request triggered by the bluetooth is detected, and first target information is obtained, where the first target information includes priorities of the Wi-Fi and the bluetooth and/or a service request type of the bluetooth, and the service request is used to request allocation of radio frequency resources to the bluetooth, where the priorities of the Wi-Fi and the bluetooth include a software priority of the Wi-Fi, a software priority of the bluetooth, a hardware priority of the Wi-Fi, and a hardware priority of the bluetooth; and generating a radio frequency resource arbitration result aiming at the determined radio frequency resource according to the acquired first target information, wherein the radio frequency resource arbitration result comprises the use right of the radio frequency resource, and the radio frequency resource arbitration result is used for allocating the radio frequency resource for the Bluetooth and allocating the radio frequency resource for the Wi-Fi coexisting with the Bluetooth. Therefore, the invention can process the radio frequency scheduling problem under the coexistence of Wi-Fi and Bluetooth according to the mode of combining the service request type, the software priority and the hardware priority of the Bluetooth in the acquired first target information, and can improve the utilization efficiency of radio frequency resources, thereby improving the scheduling effect of the radio frequency.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flowchart illustrating a radio frequency scheduling method for coexistence of Wi-Fi and Bluetooth according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating another radio frequency scheduling method for Wi-Fi and Bluetooth coexistence according to an embodiment of the present disclosure;
FIG. 3 is a schematic structural diagram of a radio frequency scheduling apparatus with coexistence of Wi-Fi and Bluetooth according to an embodiment of the present disclosure;
FIG. 4 is a schematic structural diagram of another radio frequency scheduling apparatus with coexistence of Wi-Fi and Bluetooth according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of another radio frequency scheduling apparatus with coexistence of Wi-Fi and bluetooth according to an embodiment of the present invention.
Fig. 6 is a hardware structure diagram of radio frequency scheduling for Wi-Fi and bluetooth coexistence according to an embodiment of the present invention.
Fig. 7 is a schematic diagram of a preset period of radio frequency scheduling for Wi-Fi and bluetooth coexistence according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, product, or apparatus that comprises a list of steps or elements is not limited to those listed but may alternatively include other steps or elements not listed or inherent to such process, method, product, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The embodiment of the invention discloses a radio frequency scheduling method and device for coexistence of Wi-Fi and Bluetooth, wherein first target information is obtained when a service request triggered by the Bluetooth is detected, a radio frequency resource arbitration result for determined radio frequency resources is generated according to the priority of the Wi-Fi and the Bluetooth in the first target information and/or the service request type of the Bluetooth, the radio frequency resources are distributed for the Wi-Fi and the Bluetooth, the radio frequency scheduling problem under coexistence of the Wi-Fi and the Bluetooth can be effectively processed, the utilization efficiency of the radio frequency resources is improved, and the radio frequency scheduling effect is improved. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a flowchart illustrating a radio frequency scheduling method for Wi-Fi and bluetooth coexistence according to an embodiment of the present invention. As shown in fig. 1, the radio frequency scheduling method for Wi-Fi and bluetooth coexistence may include the following operations:
101. and detecting a service request triggered by the Bluetooth, wherein the service request is used for requesting to allocate radio frequency resources for the Bluetooth.
In the embodiment of the invention, the Wi-Fi and the Bluetooth share one antenna, radio frequency resources are required to be used in data transmission, when the Bluetooth has radio frequency use requirements, the Bluetooth sends a radio frequency use request, and the Bluetooth can use the radio frequency resources after the request passes; when the Wi-Fi has the radio frequency use requirement, the Wi-Fi also sends a radio frequency use request, and the Wi-Fi can use radio frequency resources after the request passes.
102. The method comprises the steps of obtaining first target information, wherein the first target information comprises Wi-Fi and Bluetooth priorities and/or Bluetooth service request types, and the Wi-Fi and Bluetooth priorities comprise Wi-Fi software priorities, Bluetooth software priorities, Wi-Fi hardware priorities and Bluetooth hardware priorities.
103. And generating a radio frequency resource arbitration result aiming at the determined radio frequency resource according to the acquired first target information, wherein the radio frequency resource arbitration result comprises the use right of the radio frequency resource, and the radio frequency resource arbitration result is used for allocating the radio frequency resource for the Bluetooth and allocating the radio frequency resource for the Wi-Fi coexisting with the Bluetooth, wherein the software priority is responsible for determining the use right of the radio frequency resource on a macroscopic level, and the hardware priority is responsible for determining the use right of the radio frequency resource on a microscopic level.
In the embodiment of the present invention, as shown in fig. 6, fig. 6 is a schematic diagram of a hardware structure of a Wi-Fi and bluetooth coexisting radio frequency scheduling disclosed in the present invention. As shown in fig. 6, a Wi-Fi transceiver module and a bluetooth transceiver module are connected to an antenna through a transceiver, the Wi-Fi transceiver module is used for receiving and transmitting Wi-Fi signals, the bluetooth transceiver module is used for receiving and transmitting bluetooth signals, two ends of the Wi-Fi Core module are respectively connected to the Wi-Fi transceiver module and the EPTA module, the Wi-Fi Core module comprises a digital circuit module and a modem module, two ends of the bluetooth Core module are respectively connected to the bluetooth transceiver module and the bluetooth module, wherein the bluetooth Core module comprises a digital circuit module and a modem module, the bluetooth Core module is an interface between the bluetooth Core module and the EPTA module, the bluetooth Core module is connected to the EPTA module through the bluetooth Core module, and the bluetooth Core module is responsible for transmitting information (such as priority information) of bluetooth to the EPTA module, the EPTA module comprises an EPTA software unit and an EPTA hardware unit, wherein the EPTA software unit is responsible for asynchronously collecting service requests of the Bluetooth and making arbitration results of radio frequency resources by combining the service requests of the Wi-Fi, and the EPTA hardware unit is responsible for synchronously collecting radio frequency use requests of the Wi-Fi and the Bluetooth in real time and making arbitration results of the radio frequency resources according to hardware priorities of the Wi-Fi and the Bluetooth.
In the embodiment of the invention, the arbitration of the radio frequency resource is divided into software arbitration and hardware arbitration, the software arbitration is carried out through an EPTA software unit, the hardware arbitration is carried out through an EPTA hardware unit, the software arbitration is responsible for arbitrating whether the radio frequency resource is allocated to Wi-Fi or Bluetooth in the angle of upper-layer service transmission, the hardware arbitration is responsible for arbitrating whether the radio frequency resource is allocated to Wi-Fi or Bluetooth at the time of receiving and sending a packet of current information transmission, wherein the software priority of the Wi-Fi and the software priority of the Bluetooth are used for software arbitration, the software priority is higher when the value of the software priority is larger, and the software priority is lower when the value of the software priority is smaller, and the software priority is responsible for determining the use right of the radio frequency resource at the macro level; the Wi-Fi hardware priority and the bluetooth hardware priority are used for hardware arbitration, the larger the value of the hardware priority is, the higher the hardware priority is, whereas the smaller the value of the hardware priority is, the lower the hardware priority is, the hardware priority is responsible for determining the use right of the radio frequency resource at a microscopic level, and it can be understood that: the time period of the macro level responsible for the software priority is longer than the time period of the micro level responsible for the hardware priority, the macro level is responsible for the use right of the radio frequency resource in a future period (such as 200ms), and the micro level is responsible for the use right of the radio frequency resource in a packet receiving and transmitting period (such as 200 mus) in the future period; it should be noted that the software priority services the software arbitration, the hardware priority services the hardware arbitration, and the final usage right of the rf resource is output by the hardware arbitration, but the software arbitration can control the result of the hardware arbitration at the macro level.
In the embodiment of the present invention, the whole process of radio frequency scheduling in which Wi-Fi and bluetooth coexist is described in detail below, and after a service request triggered by bluetooth is detected, first target information is obtained, for example, when the obtained first target information includes the following contents: the service request type of the Bluetooth is an emergency, the software priority value of the Wi-Fi is 4, the software priority value of the Bluetooth is 3, the hardware priority value of the Wi-Fi is 4 and the hardware priority value of the Bluetooth is 6, at the time of packet receiving and sending of the burst task of the Bluetooth, the hardware arbitration priority is higher than the software arbitration priority, the hardware priority value of the Bluetooth is 6 and is higher than the hardware priority value of the Wi-Fi by 4, and therefore the final arbitration result of the use right of the radio frequency resource is that the radio frequency resource is used by the Bluetooth.
For example, in another case, when the acquired first target information includes the following: the service request type of the Bluetooth is not an emergency, the software priority value of the Wi-Fi is 4, the software priority value of the Bluetooth is 3, the arbitration result of the radio frequency resource is determined by comparing the software priority value of the Wi-Fi with the software priority value of the Bluetooth, and the final arbitration result of the use right of the radio frequency resource is that the radio frequency resource is used by the Wi-Fi because the software priority value of the Wi-Fi is greater than the software priority value of the Bluetooth.
Therefore, by implementing the Wi-Fi and bluetooth coexisting radio frequency scheduling method described in the embodiment of the present invention, the first target information can be obtained after the service request of the bluetooth is detected, the radio frequency resource arbitration result is determined according to the priority of the Wi-Fi and bluetooth and/or the service request type of the bluetooth in the first target information, and the radio frequency resource is allocated to the Wi-Fi or the bluetooth according to the arbitration result, so that the radio frequency scheduling problem under the coexistence of the Wi-Fi and the bluetooth can be processed, the utilization efficiency of the radio frequency resource can be improved, and the radio frequency scheduling effect can be improved.
Example two
Referring to fig. 2, fig. 2 is a flowchart illustrating a radio frequency scheduling method for Wi-Fi and bluetooth coexistence according to an embodiment of the present invention. As shown in fig. 2, the radio frequency scheduling method for Wi-Fi and bluetooth coexistence may include the following operations:
201. and detecting a service request triggered by the Bluetooth, wherein the service request is used for requesting to allocate radio frequency resources for the Bluetooth.
In an optional embodiment, after detecting the bluetooth-triggered service request and before acquiring the first target information, the method may further include the operations of:
setting the hardware priority of the Bluetooth to be a first target value within a first time period of a preset period, wherein the first target value is larger than the hardware priority of the Wi-Fi;
and in a second time period of the preset cycle, setting the hardware priority of the Bluetooth as a second target value, wherein the second target value is less than or equal to the value of the hardware priority of the Wi-Fi, and the second time period of the preset cycle is the residual time period of the preset cycle excluding the first time period.
In this optional embodiment, the preset period is a preset time period, which may be adjusted, and is preset according to actual requirements, and a total time length of the first time period and the second time period is equal to a time period length of the preset period, for example, as shown in fig. 7, the preset period is set to 200ms, the first time period is set to 25ms, the second time period is set to 175ms, a value of the hardware priority of the Wi-Fi is set to 4, and within 25ms of the first time period, a value of the hardware priority of the bluetooth is set to 6, so that it is greater than the value of the hardware priority of the Wi-Fi; and setting the value of the hardware priority of the Bluetooth to be 3 in 175ms of the second time period, so that the value of the hardware priority of the Bluetooth is smaller than that of the Wi-Fi.
In this optional embodiment, after a service request triggered by bluetooth is detected, a hardware priority is set, and when first target information is obtained, the set hardware priority is obtained, for example, the obtained hardware priority value of Wi-Fi is 4, within 200ms of a preset cycle, the obtained hardware priority value of bluetooth is 6 in the first 25ms of a first time period, and the obtained hardware priority value of bluetooth is 3 in the remaining 175ms of a second time period, at the time of packet receiving and sending of a bluetooth burst task request, the radio frequency resource is arbitrated, the previously set hardware priority is used for comparison, and in the first time period of the preset cycle, since the value of the hardware priority of bluetooth is greater than the value of the hardware priority of Wi-Fi, at this time, the usage right of the radio frequency resource is allocated to bluetooth; and in a second time period of the preset cycle, because the value of the hardware priority of the Bluetooth is smaller than that of the Wi-Fi, the use right of the radio frequency resource is allocated to the Wi-Fi.
Therefore, in the optional embodiment, the hardware priorities of the Wi-Fi and the bluetooth are set before the first target information is acquired, the radio frequency resource is arbitrated at the time of receiving and sending the bluetooth burst task request, and the finally obtained radio frequency resource arbitration result is obtained by comparing the hardware priorities set in the front, so that the utilization efficiency of the radio frequency resource can be further improved, and the scheduling effect of the radio frequency can be further improved.
In this optional embodiment, as an optional implementation manner, in the first period of the preset period, the number of times of requests of the burst task of the bluetooth is less than or equal to the preset number of times.
In this optional embodiment, the preset number of times is 4, and may also be other preset numbers of times, which is not limited in the embodiment of the present invention.
In this alternative embodiment, for example, the preset period is set to 200ms, the first time period is set to 25ms, the second time period is set to 175ms, and the number of times of the bluetooth burst request is less than or equal to 4 times within 25ms of the first time period.
Therefore, the optional embodiment can effectively prevent the problem of serious packet loss at the moment of receiving and sending packets and improve the throughput levels of Wi-Fi and Bluetooth by setting the upper limit of the request times of the burst tasks of the Bluetooth in the first time period of the preset period.
In another alternative embodiment, the hardware priority of bluetooth includes a high real-time priority and a low real-time priority, wherein the value of the high real-time priority is greater than the value of the hardware priority of Wi-Fi;
the method for comparing the hardware priority of the Wi-Fi with the hardware priority of the Bluetooth and obtaining the radio frequency resource arbitration result according to the comparison result comprises the following steps:
and comparing the hardware priority of the Wi-Fi with the high real-time priority of the Bluetooth, and obtaining a radio frequency resource arbitration result according to a comparison result.
In this optional embodiment, the value of the high real-time priority of the hardware priority is greater than the value of the low real-time priority of the hardware priority, and the value of the high real-time priority of the hardware priority is greater than the value of the hardware priority of the Wi-Fi, for example, the value of the hardware priority of the Wi-Fi is 4, the value of the high real-time priority of the hardware priority is 6, and the value of the low real-time priority of the hardware priority is 3, at the time of packet receiving and sending of a bluetooth burst task request, the radio frequency resource is arbitrated, the hardware priority of the bluetooth defaults to use the high real-time priority for comparison, and since the value of the high real-time priority of the bluetooth is greater than the value of the hardware priority of the Wi-Fi, at this time, the usage right of the radio frequency resource is allocated to the bluetooth.
Therefore, in the optional embodiment, the radio frequency resource is arbitrated at the packet receiving and sending time of the bluetooth burst task request, and the high real-time priority of the bluetooth is used for comparison in the comparison of the hardware priority to obtain the final radio frequency resource arbitration result, so that the utilization efficiency of the radio frequency resource can be further improved, and the scheduling effect of the radio frequency can be further improved.
202. The method comprises the steps of obtaining first target information, wherein the first target information comprises Wi-Fi and Bluetooth priorities and/or Bluetooth service request types, and the Wi-Fi and Bluetooth priorities comprise Wi-Fi software priorities, Bluetooth software priorities, Wi-Fi hardware priorities and Bluetooth hardware priorities.
In the embodiment of the present invention, for the description of step 201 to step 202, please refer to the detailed description of step 101 to step 102 in the first embodiment, which is not repeated herein.
203. And judging whether the software priority of the Wi-Fi is smaller than that of the Bluetooth, and triggering to execute the step 204 when the judgment result of the step 203 is yes.
In the embodiment of the invention, the comparison of the software priority of Wi-Fi and the software priority of Bluetooth is realized by comparing the value of the software priority of Wi-Fi with the value of the software priority of Bluetooth, and when the value of the software priority of Wi-Fi is smaller than the value of the software priority of Bluetooth, the software priority of Wi-Fi is judged to be smaller than the software priority of Bluetooth; and when the software priority value of the Wi-Fi is greater than or equal to the software priority value of the Bluetooth, judging that the software priority of the Wi-Fi is greater than or equal to the software priority of the Bluetooth.
204. And judging whether the service request type of the Bluetooth is a burst task or not, and triggering to execute the step 205 when the judgment result in the step 204 is yes.
In this embodiment of the present invention, the service request type of the bluetooth includes a burst task and a non-burst task, where the burst task of the bluetooth may be understood as a service request with a short time (e.g., 1-2ms) for performing a data transmission by the bluetooth, and the manner of determining whether the bluetooth is a burst task may also be other times for performing a data transmission, and may be determined by presetting or other manners, which is not limited in this embodiment of the present invention.
205. The software priority of Wi-Fi is set to be greater than the software priority of Bluetooth.
In the embodiment of the invention, after receiving the burst task of the Bluetooth, the software priority of the Wi-Fi is set to be higher than that of the Bluetooth, and the use right of the radio frequency resource is allocated to the Wi-Fi on a macro level, for example, the software priority of the Wi-Fi is set to be 4, and the software priority of the Bluetooth is set to be 3.
206. Judging whether the hardware priority of the Wi-Fi is smaller than that of the Bluetooth, and triggering to execute the step 207 when the judgment result of the step 206 is yes; when the determination result in step 206 is negative, step 208 is triggered to be executed.
207. The right to use the radio frequency resource is allocated to bluetooth.
208. And allocating the use right of the radio frequency resource to the Wi-Fi.
In the embodiment of the present invention, the whole process of radio frequency scheduling in which Wi-Fi and bluetooth coexist is described in detail below, and after a service request triggered by bluetooth is detected, first target information is obtained, where the first target information includes priorities of the Wi-Fi and the bluetooth and/or a service request type of the bluetooth, for example, when the obtained first target information includes the following contents: the method comprises the steps that the service request type of the Bluetooth is an emergency, the software priority value of the Wi-Fi is 4, the software priority value of the Bluetooth is 6, the hardware priority value of the Wi-Fi is 4 and the hardware priority value of the Bluetooth is 6, whether the software priority of the Wi-Fi is smaller than the software priority of the Bluetooth is judged, and the software priority of the Wi-Fi is 4 and the software priority value of the Bluetooth is 6, so that the software priority of the Wi-Fi can be judged to be smaller than the software priority of the Bluetooth; since the service request type of the bluetooth is an emergency, the software priority value of the Wi-Fi is set to 4 at this time, the software priority value of the bluetooth is set to 3, so that the software priority of the Wi-Fi is greater than the software priority of the bluetooth, the use right of the radio frequency resource is allocated to the Wi-Fi on a macro level, at the time of packet receiving and sending of a burst task of the bluetooth, it is determined whether the hardware priority of the Wi-Fi is less than the hardware priority of the bluetooth, since the hardware priority value of the Wi-Fi is 4, the hardware priority value of the bluetooth is 6, it can be determined that the hardware priority of the Wi-Fi is less than the hardware priority of the bluetooth, at this time, the use right of the radio frequency resource is allocated to the bluetooth on a micro level, and finally, the use right of the radio frequency resource is output by hardware arbitration, i.e. the radio frequency resource is allocated to bluetooth.
For example, in another case, when the acquired first target information includes the following: the method comprises the steps that the service request type of the Bluetooth is an emergency, the software priority value of the Wi-Fi is 4, the software priority value of the Bluetooth is 6, the hardware priority value of the Wi-Fi is 4 and the hardware priority value of the Bluetooth is 3, whether the software priority of the Wi-Fi is smaller than the software priority of the Bluetooth is judged, and the software priority of the Wi-Fi is 4 and the software priority value of the Bluetooth is 6, so that the software priority of the Wi-Fi can be judged to be smaller than the software priority of the Bluetooth; since the service request type of the bluetooth is an emergency, the software priority value of the Wi-Fi is set to 4 at the moment, the software priority value of the bluetooth is set to 3, so that the software priority of the Wi-Fi is greater than the software priority of the bluetooth, the use right of the radio frequency resource is allocated to the Wi-Fi on a macro level, at the moment of packet receiving and sending of a burst task of the bluetooth, whether the hardware priority of the Wi-Fi is less than the hardware priority of the bluetooth is judged, since the hardware priority value of the Wi-Fi is 4, the hardware priority value of the bluetooth is 4, the hardware priority of the Wi-Fi can be judged to be equal to the hardware priority of the bluetooth, at the moment, the use right of the radio frequency resource is allocated to the Wi-Fi on a micro level, and finally, the use right of the radio frequency resource is output by hardware arbitration, i.e. the radio frequency resources are allocated to Wi-Fi.
For example, in another case, when the first target information is acquired to include the following: the method comprises the steps that the service request type of the Bluetooth is an emergency, the software priority value of the Wi-Fi is 4, the software priority value of the Bluetooth is 6, the hardware priority value of the Wi-Fi is 4 and the hardware priority value of the Bluetooth is 3, whether the software priority of the Wi-Fi is smaller than the software priority of the Bluetooth is judged, and the software priority of the Wi-Fi is 4 and the software priority value of the Bluetooth is 6, so that the software priority of the Wi-Fi can be judged to be smaller than the software priority of the Bluetooth; since the service request type of the bluetooth is an emergency, the software priority value of the Wi-Fi is set to 4 at the moment, the software priority value of the bluetooth is set to 3, so that the software priority of the Wi-Fi is greater than the software priority of the bluetooth, the use right of the radio frequency resource is allocated to the Wi-Fi on a macro level, at the moment of packet receiving and sending of a burst task of the bluetooth, whether the hardware priority of the Wi-Fi is less than the hardware priority of the bluetooth is judged, since the hardware priority value of the Wi-Fi is 4, the hardware priority value of the bluetooth is 3, the hardware priority of the Wi-Fi can be judged to be greater than the hardware priority of the bluetooth, at the moment, the use right of the radio frequency resource is allocated to the Wi-Fi on a micro level, and finally, the use right of the radio frequency resource is output by hardware arbitration, i.e. the radio frequency resources are allocated to Wi-Fi.
For example, in another case, when the first target information is acquired to include the following: the service request type of the Bluetooth is not an emergency, the software priority value of the Wi-Fi is 4, the software priority value of the Bluetooth is 3, the arbitration result of the radio frequency resource is determined by comparing the software priority value of the Wi-Fi with the software priority value of the Bluetooth, and the final arbitration result of the use right of the radio frequency resource is that the radio frequency resource is used by the Wi-Fi because the software priority value of the Wi-Fi is greater than the software priority value of the Bluetooth.
It can be seen that, by implementing the Wi-Fi and bluetooth coexisting radio frequency scheduling method described in the embodiments of the present invention, the first target information can be obtained after the service request of bluetooth is detected, when the software priority of the Wi-Fi is judged to be smaller than that of the Bluetooth, and when the service request type of the Bluetooth is a burst task, setting the software priority of the Wi-Fi to be greater than that of the Bluetooth, and finally determining the radio frequency resource arbitration result by comparing the hardware priority value of the Wi-Fi with the hardware priority value of the Bluetooth at the packet receiving and sending time of the Bluetooth burst task, and allocates the radio frequency resource to the Wi-Fi or the bluetooth according to the arbitration result, the radio frequency scheduling problem under the coexistence of Wi-Fi and Bluetooth can be processed, the utilization efficiency of radio frequency resources can be improved, and the radio frequency scheduling effect is improved.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic structural diagram of a radio frequency scheduling device with coexistence of Wi-Fi and bluetooth according to an embodiment of the present invention. As shown in fig. 3, the Wi-Fi and bluetooth coexisting radio frequency scheduling device may include:
the detection module 301 is configured to detect a service request of bluetooth, where the service request is used to request to allocate radio frequency resources to the bluetooth;
an obtaining module 302, configured to obtain first target information, where the first target information includes priorities of Wi-Fi and bluetooth and/or a service request type of bluetooth, where the priorities of Wi-Fi and bluetooth include a software priority of Wi-Fi, a software priority of bluetooth, a hardware priority of Wi-Fi, and a hardware priority of bluetooth;
an arbitration module 303, configured to generate a radio frequency resource arbitration result for the determined radio frequency resource according to the first target information acquired by the acquisition module 302, where the radio frequency resource arbitration result includes a usage right of the radio frequency resource, and the radio frequency resource arbitration result is used to allocate the radio frequency resource for bluetooth and allocate the radio frequency resource for Wi-Fi coexisting with the bluetooth, where the software priority is responsible for determining the usage right of the radio frequency resource on a macro level, and the hardware priority is responsible for determining the usage right of the radio frequency resource on a micro level.
Therefore, the radio frequency scheduling device with coexistence of Wi-Fi and bluetooth described in the embodiment of the present invention can obtain the first target information after detecting the service request of bluetooth, determine the result of arbitration of the radio frequency resource according to the priority of Wi-Fi and bluetooth and/or the type of the service request of bluetooth in the first target information, and allocate the radio frequency resource to Wi-Fi or the bluetooth according to the result of arbitration, so as to process the problem of radio frequency scheduling under coexistence of Wi-Fi and bluetooth, and improve the utilization efficiency of the radio frequency resource, thereby improving the scheduling effect of radio frequency.
In an alternative embodiment, as shown in fig. 4, the arbitration module 303 includes a determination sub-module 3031, a setting sub-module 3032, and a comparison sub-module 3033, wherein:
the judgment submodule 3031 is used for judging whether the software priority of the Wi-Fi is smaller than the software priority of the Bluetooth; when the software priority of the Wi-Fi is judged to be smaller than that of the Bluetooth, judging whether the service request type of the Bluetooth is a burst task;
the setting submodule 3032 is configured to set the software priority of the Wi-Fi to be higher than the software priority of the bluetooth when the determining submodule 3031 determines that the service request type of the bluetooth is a burst task.
And the comparison submodule 3033 is configured to compare the hardware priority of the Wi-Fi with the hardware priority of the bluetooth, and obtain a radio frequency resource arbitration result according to the comparison result.
In another alternative embodiment, as shown in fig. 4, the comparison sub-module 3033 includes a judgment sub-unit 30331 and an arbitration sub-unit 30332, wherein:
a determining subunit 30331, configured to determine whether the hardware priority of the Wi-Fi is smaller than the hardware priority of the bluetooth;
the arbitration sub-unit 30332 is configured to allocate the right of use of the radio frequency resource to the bluetooth when the judgment sub-unit 30331 judges that the hardware priority of the Wi-Fi is smaller than the hardware priority of the bluetooth;
the arbitration sub-unit 30332 is further configured to allocate the usage right of the radio frequency resource to the Wi-Fi when the judgment sub-unit 30331 judges that the hardware priority of the Wi-Fi is greater than or equal to the hardware priority of the bluetooth.
It can be seen that the radio frequency scheduling device with coexistence of Wi-Fi and bluetooth, which is described in the embodiments of the present invention, can obtain the first target information after detecting the service request of bluetooth, when the software priority of the Wi-Fi is judged to be smaller than that of the Bluetooth, and when the service request type of the Bluetooth is a burst task, setting the software priority of the Wi-Fi to be greater than that of the Bluetooth, and finally determining the radio frequency resource arbitration result by comparing the hardware priority value of the Wi-Fi with the hardware priority value of the Bluetooth at the packet receiving and sending time of the Bluetooth burst task, and allocates the radio frequency resource to the Wi-Fi or the bluetooth according to the arbitration result, the radio frequency scheduling problem under the coexistence of Wi-Fi and Bluetooth can be processed, the utilization efficiency of radio frequency resources can be improved, and the radio frequency scheduling effect is improved.
In yet another alternative embodiment, as shown in fig. 4, the apparatus further comprises:
a setting module 304, configured to set a hardware priority of the bluetooth to a first target value within a first time period of a preset cycle after detecting a service request triggered by the bluetooth and before acquiring first target information, where the first target value is greater than a value of the hardware priority of the Wi-Fi;
the setting module 304 is further configured to set the hardware priority of the bluetooth to a second target value within a second time period of the preset cycle after detecting the service request triggered by the bluetooth and before acquiring the first target information, where the second target value is smaller than or equal to the value of the hardware priority of the Wi-Fi, and the second time period of the preset cycle is a remaining time period of the preset cycle excluding the first time period.
Therefore, in the optional embodiment, the hardware priorities of the Wi-Fi and the bluetooth are set before the first target information is acquired, the radio frequency resource is arbitrated at the time of receiving and sending the bluetooth burst task request, and the finally obtained radio frequency resource arbitration result is obtained by comparing the hardware priorities set in the front, so that the utilization efficiency of the radio frequency resource can be further improved, and the scheduling effect of the radio frequency can be further improved.
In this optional embodiment, as an optional implementation manner, in the first period of the preset period, the number of times of requests of the burst task of the bluetooth is less than or equal to the preset number of times.
Therefore, the optional embodiment can effectively prevent the problem of serious packet loss at the moment of receiving and sending packets and improve the throughput levels of Wi-Fi and Bluetooth by setting the upper limit of the request times of the burst tasks of the Bluetooth in the first time period of the preset period.
In yet another alternative embodiment, the hardware priority of bluetooth includes a high real-time priority and a low real-time priority, wherein the value of the high real-time priority is greater than the value of the hardware priority of Wi-Fi;
the specific way of comparing the hardware priority of Wi-Fi with the hardware priority of bluetooth by the comparison submodule 3033 and obtaining the radio frequency resource arbitration result according to the comparison result is as follows:
the comparison submodule 3033 compares the hardware priority of Wi-Fi with the high real-time priority of Bluetooth, and obtains a radio frequency resource arbitration result according to the comparison result.
Therefore, in the optional embodiment, the radio frequency resource is arbitrated at the packet receiving and sending time of the bluetooth burst task request, and the high real-time priority of the bluetooth is used for comparison in the comparison of the hardware priority to obtain the final radio frequency resource arbitration result, so that the utilization efficiency of the radio frequency resource can be further improved, and the scheduling effect of the radio frequency can be further improved.
Example four
Referring to fig. 5, fig. 5 is a schematic structural diagram of another radio frequency scheduling apparatus with coexistence of Wi-Fi and bluetooth according to an embodiment of the present disclosure. As shown in fig. 5, the apparatus may include:
a memory 501 in which executable program code is stored;
a processor 502 coupled to a memory 501;
the processor 502 calls the executable program code stored in the memory 501 for executing the steps in the Wi-Fi and bluetooth coexisting radio frequency scheduling method described in the first embodiment or the second embodiment.
EXAMPLE five
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps in the Wi-Fi and Bluetooth coexisting radio frequency scheduling method described in the first embodiment or the second embodiment.
EXAMPLE six
The embodiment of the invention discloses a computer program product, which comprises a non-transitory computer readable storage medium storing a computer program, wherein the computer program is operable to make a computer execute the steps in the Wi-Fi and Bluetooth coexisting radio frequency scheduling method described in the first embodiment or the second embodiment.
The above-described embodiments of the apparatus are merely illustrative, and the modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above detailed description of the embodiments, those skilled in the art will clearly understand that the embodiments may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. Based on such understanding, the above technical solutions may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, where the storage medium includes a Read-Only Memory (ROM), a Random Access Memory (RAM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), a One-time Programmable Read-Only Memory (OTPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc-Read-Only Memory (CD-ROM), or other disk memories, CD-ROMs, or other magnetic disks, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
Finally, it should be noted that: the radio frequency scheduling method and apparatus for Wi-Fi and bluetooth coexistence disclosed in the embodiments of the present invention are only preferred embodiments of the present invention, and are only used for illustrating the technical solutions of the present invention, rather than limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A radio frequency scheduling method for Wi-Fi and Bluetooth coexistence, the method comprising:
detecting a service request triggered by the Bluetooth, and acquiring first target information, wherein the first target information comprises the Wi-Fi and Bluetooth priorities and/or the Bluetooth service request types, and the service request is used for requesting to allocate radio frequency resources to the Bluetooth, and the Wi-Fi and the Bluetooth priorities comprise the Wi-Fi software priority, the Bluetooth software priority, the Wi-Fi hardware priority and the Bluetooth hardware priority;
and generating a radio frequency resource arbitration result aiming at the determined radio frequency resource according to the acquired first target information, wherein the radio frequency resource arbitration result comprises the use right of the radio frequency resource, and the radio frequency resource arbitration result is used for allocating the radio frequency resource for the Bluetooth and allocating the radio frequency resource for the Wi-Fi coexisting with the Bluetooth, wherein the software priority is responsible for determining the use right of the radio frequency resource on a macro level, and the hardware priority is responsible for determining the use right of the radio frequency resource on a micro level.
2. The Wi-Fi and bluetooth coexisting radio frequency scheduling method according to claim 1, wherein the generating a radio frequency resource arbitration result for the determined radio frequency resource according to the acquired first target information comprises:
judging whether the software priority of the Wi-Fi is smaller than that of the Bluetooth;
when the software priority of the Wi-Fi is judged to be smaller than that of the Bluetooth, judging whether the service request type of the Bluetooth is a burst task;
and when the service request type of the Bluetooth is judged to be a burst task, setting the software priority of the Wi-Fi to be higher than that of the Bluetooth, comparing the hardware priority of the Wi-Fi with that of the Bluetooth, and obtaining the radio frequency resource arbitration result according to the comparison result.
3. The Wi-Fi and bluetooth coexisting radio frequency scheduling method according to claim 2, wherein the comparing the hardware priority of the Wi-Fi with the hardware priority of the bluetooth to obtain the radio frequency resource arbitration result according to the comparison result comprises:
judging whether the hardware priority of the Wi-Fi is smaller than the hardware priority of the Bluetooth;
when the hardware priority of the Wi-Fi is judged to be smaller than the hardware priority of the Bluetooth, the use right of the radio frequency resource is allocated to the Bluetooth;
and when the hardware priority of the Wi-Fi is judged to be more than or equal to the hardware priority of the Bluetooth, the use right of the radio frequency resource is distributed to the Wi-Fi.
4. The Wi-Fi and bluetooth co-existing radio frequency scheduling method according to any one of claims 1-3, wherein after the detecting the bluetooth triggered service request and before the obtaining the first target information, the method further comprises:
setting the hardware priority of the Bluetooth to be a first target value within a first time period of a preset cycle, wherein the first target value is larger than the value of the hardware priority of the Wi-Fi;
and setting the hardware priority of the Bluetooth to be a second target value in a second time period of a preset cycle, wherein the second target value is less than or equal to the value of the hardware priority of the Wi-Fi, and the second time period of the preset cycle is a residual time period of the preset cycle excluding the first time period.
5. The Wi-Fi and Bluetooth coexisting radio frequency scheduling method of claim 4, wherein the number of requests for the burst task of Bluetooth is less than or equal to a preset number within the first period of time of a preset period.
6. The Wi-Fi and bluetooth co-existing radio frequency scheduling method according to claim 2, wherein the bluetooth hardware priority comprises a high real-time priority and a low real-time priority, wherein a value of the high real-time priority is greater than a value of the Wi-Fi hardware priority;
wherein the comparing the hardware priority of the Wi-Fi with the hardware priority of the bluetooth, and obtaining the radio frequency resource arbitration result according to the comparison result, includes:
and comparing the hardware priority of the Wi-Fi with the high real-time priority of the Bluetooth, and obtaining the radio frequency resource arbitration result according to the comparison result.
7. A Wi-Fi and bluetooth co-existing radio frequency scheduling apparatus, the apparatus comprising:
the detection module is used for detecting a service request of the Bluetooth, wherein the service request is used for requesting to allocate radio frequency resources for the Bluetooth;
an obtaining module, configured to obtain first target information, where the first target information includes a priority of the Wi-Fi and the bluetooth and/or a service request type of the bluetooth, and the priority of the Wi-Fi and the bluetooth includes a software priority of the Wi-Fi, a software priority of the bluetooth, a hardware priority of the Wi-Fi, and a hardware priority of the bluetooth;
an arbitration module, configured to generate a radio frequency resource arbitration result for the determined radio frequency resource according to the first target information obtained by the obtaining module, where the radio frequency resource arbitration result includes a usage right of the radio frequency resource, and the radio frequency resource arbitration result is used to allocate the radio frequency resource for the bluetooth and allocate the radio frequency resource for Wi-Fi coexisting with the bluetooth, where the software priority is responsible for determining the usage right of the radio frequency resource on a macro level, and the hardware priority is responsible for determining the usage right of the radio frequency resource on a micro level.
8. The Wi-Fi and bluetooth co-existing radio frequency scheduling device according to claim 7, wherein the arbitration module comprises a determination sub-module, a setting sub-module, and a comparison sub-module, wherein:
the judgment submodule is used for judging whether the software priority of the Wi-Fi is smaller than the software priority of the Bluetooth; when the software priority of the Wi-Fi is judged to be smaller than that of the Bluetooth, judging whether the service request type of the Bluetooth is a burst task;
the setting submodule is used for setting the software priority of the Wi-Fi to be higher than the software priority of the Bluetooth when the judging submodule judges that the service request type of the Bluetooth is a burst task;
the comparison submodule is used for comparing the hardware priority of the Wi-Fi with the hardware priority of the Bluetooth and obtaining the radio frequency resource arbitration result according to the comparison result.
9. The Wi-Fi and bluetooth co-existing radio frequency scheduling device according to claim 8, wherein the comparing sub-module comprises a determining sub-unit and an arbitrating sub-unit, wherein:
the judging subunit is configured to judge whether the hardware priority of the Wi-Fi is smaller than the hardware priority of the bluetooth;
the arbitration subunit is configured to allocate the right of use of the radio frequency resource to the bluetooth when the judgment subunit judges that the hardware priority of the Wi-Fi is smaller than the hardware priority of the bluetooth;
the arbitration subunit is further configured to allocate the right of use of the radio frequency resource to the Wi-Fi when the judgment subunit judges that the hardware priority of the Wi-Fi is greater than or equal to the hardware priority of the bluetooth.
10. The Wi-Fi and bluetooth co-existing radio frequency scheduling device according to any one of claims 7-9, wherein the device further comprises:
a setting module, configured to set a hardware priority of the bluetooth to a first target value within a first time period of a preset period after the detecting of the service request triggered by the bluetooth and before the obtaining of the first target information, where the first target value is greater than a value of the hardware priority of the Wi-Fi;
the setting module is further configured to set the hardware priority of the bluetooth to a second target value within a second time period of a preset cycle after the detecting the service request triggered by the bluetooth and before the obtaining the first target information, where the second target value is less than or equal to the value of the hardware priority of the Wi-Fi, and the second time period of the preset cycle is a remaining time period in the preset cycle excluding the first time period.
CN202110800816.2A 2021-07-15 2021-07-15 Radio frequency scheduling method and device for coexistence of Wi-Fi and Bluetooth Pending CN113727316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110800816.2A CN113727316A (en) 2021-07-15 2021-07-15 Radio frequency scheduling method and device for coexistence of Wi-Fi and Bluetooth

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110800816.2A CN113727316A (en) 2021-07-15 2021-07-15 Radio frequency scheduling method and device for coexistence of Wi-Fi and Bluetooth

Publications (1)

Publication Number Publication Date
CN113727316A true CN113727316A (en) 2021-11-30

Family

ID=78673373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110800816.2A Pending CN113727316A (en) 2021-07-15 2021-07-15 Radio frequency scheduling method and device for coexistence of Wi-Fi and Bluetooth

Country Status (1)

Country Link
CN (1) CN113727316A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114945210A (en) * 2022-05-06 2022-08-26 广州芯之联科技有限公司 Radio frequency signal gain control method, system, device and medium
WO2024046320A1 (en) * 2022-08-29 2024-03-07 乐鑫信息科技(上海)股份有限公司 Wireless communication method and apparatus therefor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114945210A (en) * 2022-05-06 2022-08-26 广州芯之联科技有限公司 Radio frequency signal gain control method, system, device and medium
CN114945210B (en) * 2022-05-06 2024-02-09 广州芯之联科技有限公司 Radio frequency signal gain control method, system, device and medium
WO2024046320A1 (en) * 2022-08-29 2024-03-07 乐鑫信息科技(上海)股份有限公司 Wireless communication method and apparatus therefor

Similar Documents

Publication Publication Date Title
US7840214B2 (en) Method of providing access information to an access terminal
EP2262335B1 (en) Method and apparatus for multiple providers sharing carrier frequency resourse
CN113727316A (en) Radio frequency scheduling method and device for coexistence of Wi-Fi and Bluetooth
CN108141882A (en) The adjustment of the data flow and contention window parameter with different priorities in system competition-based
JP2002223239A (en) Call acceptance control method, and communication system, and base station device
EP3579644A1 (en) Data transmission method and apparatus
CN104202749A (en) Wireless resource determination and acquisition methods and devices
JP7423806B2 (en) Information transmission method, information transmission device, related equipment, and storage medium
CN112383952B (en) Carrier wave determining method and device
CN115119324A (en) Resource scheduling method and device
CN115002046A (en) Message processing method, NUMA node, electronic device and storage medium
CN113423099A (en) Bluetooth broadcast event scheduling method and device and Bluetooth equipment
CN110337112B (en) Terminal access method and device
CN107634978B (en) Resource scheduling method and device
CN114786276B (en) Service terminal access method and device, electronic equipment and storage medium
CN116234023A (en) WiFi channel resource allocation optimization method and device
CN114071547A (en) QoE measurement configuration method, QoE measurement configuration device and storage medium
CN114095908A (en) Bluetooth data processing method and controller
EP3823380A1 (en) Uplink resource allocation method and device, base station, and terminal
CN113423098A (en) Bluetooth scanning event scheduling method and device and Bluetooth equipment
CN112153751A (en) Network slice determining method, base station and user equipment
CN112492635A (en) Method and device for determining scheduling priority
CN111526596B (en) Joint resource scheduling method and device for WLAN (Wireless local area network) and mobile network
WO2022047750A1 (en) Lbt parameter determining method and apparatus, device and medium
CN113518459B (en) Resource scheduling processing method and device and electronic equipment

Legal Events

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