CN113727316B - Wi-Fi and Bluetooth coexisting radio frequency scheduling method and device - Google Patents
Wi-Fi and Bluetooth coexisting radio frequency scheduling method and device Download PDFInfo
- Publication number
- CN113727316B CN113727316B CN202110800816.2A CN202110800816A CN113727316B CN 113727316 B CN113727316 B CN 113727316B CN 202110800816 A CN202110800816 A CN 202110800816A CN 113727316 B CN113727316 B CN 113727316B
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000001960 triggered effect Effects 0.000 claims abstract description 20
- 238000012545 processing Methods 0.000 claims description 4
- 238000001514 detection method Methods 0.000 claims description 3
- 108010001267 Protein Subunits Proteins 0.000 claims description 2
- 230000000694 effects Effects 0.000 abstract description 13
- 238000010586 diagram Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 6
- 238000004590 computer program Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/50—Allocation or scheduling criteria for wireless resources
- H04W72/56—Allocation or scheduling criteria for wireless resources based on priority criteria
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a radio frequency scheduling method and 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 Wi-Fi and Bluetooth priorities and/or Bluetooth service request types, and the service request is used for requesting to allocate radio frequency resources for the Bluetooth, and the Wi-F i and Bluetooth priorities comprise Wi-Fi software priorities, bluetooth software priorities, wi-F i hardware priorities and Bluetooth hardware priorities; 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 distributing the radio frequency resource for Bluetooth and distributing the radio frequency resource for 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 on radio frequency.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a Wi-Fi and Bluetooth coexisting radio frequency scheduling method and device.
Background
With the rapid development of the technology of the intelligent terminal equipment, the Wi-Fi module and the Bluetooth module become basic configuration of the intelligent terminal equipment, 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 where 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, it is found in practice that in the case of handling burst tasks of bluetooth communication (such as broadcast events), the time required for information transmission is very short, and when a fixed time is allocated to bluetooth, the 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 invention aims to solve the technical problem of providing a Wi-Fi and Bluetooth coexisting radio frequency scheduling method and device, which can improve the utilization efficiency of radio frequency resources and further improve the scheduling effect on radio frequency.
In order to solve the technical problem, the first aspect of the invention discloses a radio frequency scheduling method for coexistence of Wi-Fi and Bluetooth, which comprises the following steps:
detecting a service request triggered by the Bluetooth, and acquiring first target information, wherein the first target information comprises priorities of the Wi-Fi and the Bluetooth and/or service request types of the Bluetooth, and the service request is used for requesting to allocate radio frequency resources for the Bluetooth, and the priorities of the Wi-Fi and the Bluetooth comprise software priorities of the Wi-Fi, software priorities of the Bluetooth, hardware priorities of the Wi-Fi and hardware priorities 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 distributing the radio frequency resource for the Bluetooth and distributing the radio frequency resource for Wi-Fi coexisting with the Bluetooth, wherein the software priority is responsible for determining the use right of the radio frequency resource at a macroscopic level, and the hardware priority is responsible for determining the use right of the radio frequency resource at a microscopic level.
In an optional implementation manner, in a first aspect of the present invention, the generating, according to the obtained first target information, a radio frequency resource arbitration result for the determined radio frequency resource includes:
Judging whether the software priority of the Wi-Fi is smaller than that of the Bluetooth;
When judging that the software priority of the Wi-Fi is smaller than that of the Bluetooth, judging whether the service request type of the Bluetooth is a burst task or not;
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 larger than the software priority of the Bluetooth, 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 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 that of the Bluetooth;
When judging that the hardware priority of the Wi-Fi is smaller than that of the Bluetooth, distributing the use right of the radio frequency resource to the Bluetooth;
When judging that the hardware priority of the Wi-Fi is greater than or equal to the hardware priority of the Bluetooth, distributing the use right of the radio frequency resource to the Wi-Fi.
As an optional implementation manner, in the first aspect of the present invention, after the detecting the bluetooth triggered service request and before the acquiring the first target information, the method further includes:
setting the hardware priority of the Bluetooth to a first target value in a first time period of a preset period, 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 a second target value in a second time period of a preset period, wherein 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 period is the remaining time period of the preset period excluding the first time period.
In an optional implementation manner, in the first aspect of the present invention, the number of requests of the burst task of bluetooth is less than or equal to a preset number in the first period of the preset period.
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, where a value of the high real-time priority is greater than a value of the hardware priority of Wi-Fi;
The comparing the hardware priority of Wi-Fi with the hardware priority of 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 the radio frequency resource arbitration result according to the comparison result.
The second aspect of the invention discloses a radio frequency scheduling device for Wi-Fi and Bluetooth coexistence, which comprises:
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;
The system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring first target information, the first target information comprises the priority of Wi-Fi and Bluetooth and/or the service request type of the Bluetooth, wherein the priority of Wi-Fi and Bluetooth comprises the software priority of Wi-Fi, the software priority of Bluetooth, the hardware priority of Wi-Fi and the hardware priority of Bluetooth;
The arbitration module is used for generating a radio frequency resource arbitration result aiming at the determined radio frequency resource according to the first target information acquired by the acquisition module, 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 distributing the radio frequency resource for the Bluetooth and distributing the radio frequency resource for Wi-Fi coexisting with the Bluetooth, wherein the software priority is responsible for determining the use right of the radio frequency resource in a macroscopic level, and the hardware priority is responsible for determining the use right of the radio frequency resource in a microscopic level.
In a second aspect of the present invention, as an optional implementation manner, the arbitration module includes a determination sub-module and a comparison sub-module, where:
The judging submodule is used for judging whether the software priority of the Wi-Fi is smaller than that of the Bluetooth; when judging that the software priority of the Wi-Fi is smaller than that of the Bluetooth, judging whether the service request type of the Bluetooth is a burst task or not;
The setting submodule is used for setting the software priority of the Wi-Fi to be larger 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 comparing sub-module 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 embodiment, in the second aspect of the present invention, the comparing sub-module includes a judging sub-unit and an arbitrating sub-unit, where:
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 usage right of the radio frequency resource to the bluetooth when the judging 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 usage right of the radio frequency resource to the Wi-Fi when the judging 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 includes:
the setting module is used for setting the hardware priority of the Bluetooth to a first target value in a first time period of a preset period after the service request triggered by the Bluetooth is detected and before the first target information is acquired, wherein the first target value is larger than the value of the hardware priority of the Wi-Fi;
the setting module is further configured to set, after the detecting the service request triggered by bluetooth and before the acquiring the first target information, a hardware priority of the bluetooth to a second target value in a second period of a preset period, where the second target value is less than or equal to a value of the hardware priority of the Wi-Fi, and the second period of the preset period is a remaining period of the preset period in which the first period is removed.
In a second aspect of the present invention, as an optional implementation manner, the number of requests of the burst task of bluetooth is less than or equal to a preset number in the first period of the preset period.
As an optional implementation manner, in the second aspect of the present invention, the hardware priority of bluetooth includes a high real-time priority and a low real-time priority, where a value of the high real-time priority is greater than a value of the hardware priority of Wi-Fi;
the comparing sub-module compares the hardware priority of the Wi-Fi with the hardware priority of the Bluetooth, and the specific mode for 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 device for coexistence of Wi-Fi and bluetooth, the device comprising:
A memory storing executable program code;
A processor coupled to the memory;
The processor invokes the executable program code stored in the memory to execute part 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.
A fourth aspect of the present invention discloses a computer storage medium storing computer instructions for performing part or all of the steps of the Wi-Fi and bluetooth co-existence radio frequency scheduling method disclosed in the first aspect of the present invention when the computer instructions are invoked.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
In the embodiment of the invention, the service request triggered by the Bluetooth is detected, and first target information is acquired, wherein the first target information comprises the priority of the Wi-Fi and the Bluetooth and/or the service request type of the Bluetooth, and the service request is used for requesting to allocate radio frequency resources for the Bluetooth, and the priority of the Wi-Fi and the Bluetooth comprises the software priority of the Wi-Fi, the software priority of the Bluetooth, the hardware priority of the Wi-Fi 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 use right of the radio frequency resource, and the radio frequency resource arbitration result is used for distributing the radio frequency resource for the Bluetooth and distributing the radio frequency resource for 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 radio frequency.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed 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 other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a radio frequency scheduling method for Wi-Fi and bluetooth coexistence, which is disclosed in the embodiment of the invention;
Fig. 2 is a schematic flow chart of another Wi-Fi and bluetooth coexisting radio frequency scheduling method according to an embodiment of the present invention;
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;
Fig. 4 is a schematic structural diagram of another radio frequency scheduling device with Wi-Fi and bluetooth coexistence according to the embodiment of the present invention;
Fig. 5 is a schematic structural diagram of another radio frequency scheduling device with Wi-Fi and bluetooth coexistence according to the embodiment of the present invention.
Fig. 6 is a schematic hardware structure diagram of a Wi-Fi and bluetooth co-existing radio frequency schedule 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 that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms first, second and the like in the description and in the claims and in the above-described figures are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, apparatus, article, or device that comprises a list of steps or elements is not limited to the list of steps or elements but may, in the alternative, include other steps or elements not expressly listed or inherent to such process, method, article, or device.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the invention. The appearances of such phrases 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. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The embodiment of the invention discloses a Wi-Fi and Bluetooth coexisting radio frequency scheduling method and device, which are used for acquiring first target information when a Bluetooth-triggered service request is detected, generating a radio frequency resource arbitration result aiming at determined radio frequency resources according to the priority of Wi-Fi and Bluetooth in the first target information and/or the service request type of the Bluetooth, distributing the radio frequency resources for the Wi-Fi and the Bluetooth, effectively solving the radio frequency scheduling problem under the coexistence of the Wi-Fi and the Bluetooth, improving the utilization efficiency of the radio frequency resources and further improving the radio frequency scheduling effect. The following will describe in detail.
Example 1
Referring to fig. 1, fig. 1 is a flow chart of a Wi-Fi and bluetooth co-existence radio frequency scheduling method according to an embodiment of the present invention. As shown in fig. 1, the radio frequency scheduling method for coexistence of Wi-Fi and bluetooth may include the following operations:
101. And detecting a service request triggered by 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 needed to be used in data transmission, when the Bluetooth has radio frequency use requirements, the Bluetooth can send a radio frequency use request, and after the request passes, the Bluetooth can use the radio frequency resources; when the Wi-Fi has a radio frequency use requirement, the Wi-Fi also sends a radio frequency use request, and after the request passes, the Wi-Fi can use radio frequency resources.
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 distributing the radio frequency resource for Bluetooth and distributing the radio frequency resource for Wi-Fi coexisting with the Bluetooth, wherein the software priority is responsible for determining the use right of the radio frequency resource at a macroscopic level, and the hardware priority is responsible for determining the use right of the radio frequency resource at a microscopic level.
In the embodiment of the invention, as shown in fig. 6, fig. 6 is a schematic hardware structure diagram of Wi-Fi and bluetooth coexisting radio frequency scheduling disclosed in the invention. As shown in fig. 6, the Wi-Fi transceiver module and the bluetooth transceiver module are connected to the antenna through the transmitting-receiving switch, 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 with 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 with the bluetooth transceiver module and the bluetooth Coex module, the bluetooth Core module comprises a digital circuit module and a modem module, the bluetooth Coex module is an interface between the bluetooth Core module and the EPTA module, the bluetooth Core module is connected with the EPTA module through the bluetooth Coex module, the bluetooth Coex module is responsible for transmitting bluetooth information (such as priority information) to the EPTA module, the EPTA module comprises two parts of an EPTA software unit and an EPTA unit, wherein the EPTA software unit is responsible for asynchronously collecting bluetooth service requests, and making the radio frequency request for bluetooth, and the radio frequency request for the bluetooth is prioritized and the radio frequency request for the Wi-Fi is made by the hardware unit according to the priority of the radio frequency request.
In the embodiment of the invention, the radio frequency resource arbitration is divided into software arbitration and hardware arbitration, the software arbitration is performed by an EPTA software unit, the hardware arbitration is performed by an EPTA hardware unit, the software arbitration is responsible for arbitrating whether the radio frequency resource is allocated to Wi-Fi or Bluetooth from 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 transmitting packets of the current information transmission, wherein the software priority of the Wi-Fi and the software priority of the Bluetooth are used for software arbitration, the larger the numerical value of the software priority is, the higher the software priority is, otherwise, the smaller the numerical value of the software priority is, the lower the software priority is, and the software priority is responsible for determining the use right of the radio frequency resource at the macroscopic level; the hardware priority of Wi-Fi and the hardware priority of Bluetooth are used for hardware arbitration, the larger the numerical value of the hardware priority is, the higher the hardware priority is, otherwise, the smaller the numerical value of the hardware priority is, the lower the hardware priority is, and the hardware priority is responsible for determining the use right of radio frequency resources at a microscopic level, and can be understood as follows: 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 200 ms), and the micro level is responsible for the use right of the radio frequency resource in a packet receiving and transmitting time (such as 200 mu s) in the future period; it should be noted that, the software priority service software arbitrates, the hardware priority service hardware arbitrates, and the final use right of the radio frequency resource is output by the hardware arbitrates, but the software arbitrates can control the result of the hardware arbitrates at the macroscopic 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 of the Bluetooth is 4, the software priority of the Bluetooth is 3, the hardware priority of the Wi-Fi is 4 and the hardware priority of the Bluetooth is 6, and at the time of packet receiving and sending of the burst task of the Bluetooth, the hardware priority of the Bluetooth is 6 and is greater than the hardware priority of the Wi-Fi by the priority of the hardware arbitration and is greater than the value 4 of the hardware priority of the Wi-Fi, so that the final arbitration result of the use right of the radio frequency resource is that the Bluetooth uses the radio frequency resource.
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 value of the software priority of the Wi-Fi is 4, the value of the software priority of the Bluetooth is 3, and the arbitration result of the radio frequency resource is determined by comparing the value of the software priority of the Wi-Fi with the value of the software priority of the Bluetooth, and the final arbitration result of the use right of the radio frequency resource is that the Wi-Fi uses the radio frequency resource because the value of the software priority of the Wi-Fi is larger than the value of the software priority of the Bluetooth.
Therefore, by implementing the Wi-Fi and Bluetooth coexisting radio frequency scheduling method described by the embodiment of the invention, the first target information can be obtained after the Bluetooth service request is detected, the radio frequency resource arbitration result is determined according to the priority of Wi-Fi and Bluetooth and/or the Bluetooth service request type in the first target information, and the radio frequency resource is allocated to the Wi-Fi or Bluetooth according to the arbitration result, so that the radio frequency scheduling problem under the coexistence of Wi-Fi and Bluetooth can be processed, the utilization efficiency of the radio frequency resource can be improved, and the radio frequency scheduling effect is improved.
Example two
Referring to fig. 2, fig. 2 is a flow chart of a Wi-Fi and bluetooth co-existence radio frequency scheduling method according to an embodiment of the present invention. As shown in fig. 2, the radio frequency scheduling method for coexistence of Wi-Fi and bluetooth may include the following operations:
201. and detecting a service request triggered by Bluetooth, wherein the service request is used for requesting to allocate radio frequency resources for the Bluetooth.
In an alternative embodiment, after detecting the bluetooth triggered service request and before acquiring the first target information, the method may further comprise the following operations:
Setting the hardware priority of Bluetooth as a first target value in a first time period of a preset period, wherein the first target value is larger than the value of the hardware priority of Wi-Fi;
and setting the hardware priority of the Bluetooth to a second target value in a second time period of the preset period, wherein 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 period is the remaining time period of the preset period except the first time period.
In this alternative embodiment, the preset period is a preset period, the period may be adjusted, and preset according to actual needs, and the total time length of the first period and the second period is equal to the time length of the preset period, for example, as shown in fig. 7, the preset period is set to 200ms, the first period is set to 25ms, the second period is set to 175ms, the value of the hardware priority of Wi-Fi is set to 4, and the value of the hardware priority of bluetooth is set to 6 within 25ms of the first period, so that the value of the hardware priority of Wi-Fi is greater than the value of the hardware priority of Wi-Fi; the value of the hardware priority of bluetooth is set to 3, which is smaller than the value of the hardware priority of Wi-Fi, within 175ms of the second period.
In this alternative embodiment, after detecting a service request triggered by bluetooth, setting a hardware priority, when acquiring first target information, acquiring the set hardware priority, for example, acquiring a value of the hardware priority of Wi-Fi as 4, acquiring a value of the hardware priority of bluetooth as 6 in the first 25ms of a first period, acquiring a value of the hardware priority of bluetooth as 3 in the remaining 175ms of a second period, arbitrating the radio frequency resource at the time of sending and receiving a packet of a bluetooth burst task request, comparing the hardware priority with the previously set hardware priority, and in the first period of the preset period, allocating the use right of the radio frequency resource to bluetooth because the value of the hardware priority of bluetooth is greater than the value of the hardware priority of Wi-Fi; and in a second time period of the preset period, the use right of the radio frequency resource is allocated to the Wi-Fi at the moment because the value of the hardware priority of the Bluetooth is smaller than that of the Wi-Fi.
Therefore, in this optional embodiment, the hardware priority of Wi-Fi and bluetooth is set before the first target information is acquired, the radio frequency resource is arbitrated at the time of sending and receiving the packet of the bluetooth burst task request, and the hardware priority set in the foregoing is used for comparison to obtain a 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 is further improved.
In this optional embodiment, as an optional implementation manner, the number of requests of the burst task of bluetooth is less than or equal to the preset number in the first period of the preset period.
In this alternative embodiment, the preset number of times is 4, or may be other preset number 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 period is set to 25ms, the second period is set to 175ms, and the number of burst task requests of bluetooth is less than or equal to 4 within 25ms of the first period.
Therefore, the optional embodiment can effectively prevent the serious problem of packet loss during the time of packet receiving and transmitting by setting the upper limit of the request times of the burst task of the Bluetooth in the first time period of the preset period, and improve the throughput level of Wi-Fi and Bluetooth.
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;
comparing the hardware priority of Wi-Fi with the hardware priority of Bluetooth, and obtaining a radio frequency resource arbitration result according to the comparison result, wherein the method comprises the following steps:
and comparing the hardware priority of Wi-Fi with the high real-time priority of Bluetooth, and obtaining a radio frequency resource arbitration result according to the comparison result.
In this alternative 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, the value of the low real-time priority of the hardware priority is 3, the radio frequency resource is arbitrated at the time of sending and receiving the packet of the bluetooth burst task request, the high real-time priority is compared by default by the hardware priority of bluetooth, and at this time, the use right of the radio frequency resource is allocated to bluetooth because the value of the high real-time priority of bluetooth is greater than the value of the hardware priority of the Wi-Fi.
Therefore, in the alternative embodiment, the radio frequency resource is arbitrated at the time of receiving and transmitting the Bluetooth burst task request, and the high real-time priority of Bluetooth is used for comparison in the comparison of hardware priorities, so that a final radio frequency resource arbitration result is obtained, the utilization efficiency of the radio frequency resource can be further improved, and the scheduling effect of the radio frequency is 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, and the description of the embodiment of the present invention is omitted.
203. Judging whether the software priority of Wi-Fi is smaller than that of Bluetooth, and triggering to execute step 204 when the judgment result of step 203 is yes.
In the embodiment of the invention, the software priority of Wi-Fi is compared with the software priority of Bluetooth 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; when the value of the software priority of the Wi-Fi is larger than or equal to that of the Bluetooth, judging that the software priority of the Wi-Fi is larger than or equal to that of the Bluetooth.
204. And judging whether the service request type of the Bluetooth is a burst task, and triggering and executing step 205 when the judging result of the step 204 is yes.
In the 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-2 ms) for performing data transmission by the bluetooth, and the manner of determining whether the bluetooth is a burst task may also be other time for performing data transmission by the bluetooth, which may be determined by preset, or may also be determined by other manners.
205. The software priority of Wi-Fi is set to be greater than that of bluetooth.
In the embodiment of the invention, after receiving the burst task of bluetooth, the software priority of Wi-Fi is set to be greater than the software priority of bluetooth, and the use right of the radio frequency resource is allocated to Wi-Fi on a macroscopic level, for example, the software priority of Wi-Fi is set to be 4, and the software priority of bluetooth is set to be 3.
206. Judging whether the hardware priority of Wi-Fi is smaller than that of Bluetooth, and triggering to execute step 207 when the judgment result of step 206 is yes; when the result of the determination in step 206 is no, execution of step 208 is triggered.
207. The usage rights for the radio frequency resources are assigned to bluetooth.
208. And allocating the use right of the radio frequency resource to 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, 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 service request types of the bluetooth, for example, when the obtained first target information includes the following contents: the service request type of the Bluetooth is an emergency, the value of the software priority of the Wi-Fi is 4, the value of the software priority of the Bluetooth is 6, the value of the hardware priority of the Wi-Fi is 4, and the hardware priority of the Bluetooth is 6, and whether the software priority of the Wi-Fi is smaller than the software priority of the Bluetooth is judged, and because the value of the software priority of the Wi-Fi is 4 and the value of the software priority of the Bluetooth is 6, the software priority of the Wi-Fi can be judged to be smaller than the software priority of the Bluetooth; because the service request type of the bluetooth is an emergency, the value of the software priority of the Wi-Fi is set to 4, the value of the software priority 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 distributed to the Wi-Fi at the macroscopic level, and at the time of the packet sending and receiving of the burst task of the bluetooth, whether the hardware priority of the Wi-Fi is smaller than the hardware priority of the bluetooth is judged, because the value of the hardware priority of the Wi-Fi is 4 and the value of the hardware priority of the bluetooth is 6, the hardware priority of the Wi-Fi can be judged to be smaller than the hardware priority of the bluetooth, at the moment, the use right of the radio frequency resource is distributed to the bluetooth at the microscopic level, and finally, the use right of the radio frequency resource is output by hardware arbitration, namely the radio frequency resource is distributed to the bluetooth.
For example, in another case, when the acquired first target information includes the following: the service request type of the Bluetooth is an emergency, the value of the software priority of the Wi-Fi is 4, the value of the software priority of the Bluetooth is 6, the value of the hardware priority of the Wi-Fi is 4 and the hardware priority of the Bluetooth is 3, and whether the software priority of the Wi-Fi is smaller than the software priority of the Bluetooth is judged, and because the value of the software priority of the Wi-Fi is 4 and the value of the software priority of the Bluetooth is 6, the software priority of the Wi-Fi can be judged to be smaller than the software priority of the Bluetooth; because the service request type of the bluetooth is an emergency, the value of the software priority of the Wi-Fi is set to 4, the value of the software priority 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 distributed to the Wi-Fi at the macroscopic level, and at the time of the packet sending and receiving of the burst task of the bluetooth, whether the hardware priority of the Wi-Fi is smaller than the hardware priority of the bluetooth is judged, because the value of the hardware priority of the Wi-Fi is 4, the hardware priority of the bluetooth is judged to be equal to the hardware priority of the bluetooth, at the moment, the use right of the radio frequency resource is distributed to the Wi-Fi at the microscopic level, and finally, the use right of the radio frequency resource is output by hardware arbitration, namely the radio frequency resource is distributed to the Wi-Fi.
For example, in still another case, when the first target information acquired includes the following: the service request type of the Bluetooth is an emergency, the value of the software priority of the Wi-Fi is 4, the value of the software priority of the Bluetooth is 6, the value of the hardware priority of the Wi-Fi is 4 and the hardware priority of the Bluetooth is 3, and whether the software priority of the Wi-Fi is smaller than the software priority of the Bluetooth is judged, and because the value of the software priority of the Wi-Fi is 4 and the value of the software priority of the Bluetooth is 6, the software priority of the Wi-Fi can be judged to be smaller than the software priority of the Bluetooth; because the service request type of the bluetooth is an emergency, the value of the software priority of the Wi-Fi is set to 4, the value of the software priority 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 distributed to the Wi-Fi at the macroscopic level, and at the time of the packet sending and receiving of the burst task of the bluetooth, whether the hardware priority of the Wi-Fi is smaller than the hardware priority of the bluetooth is judged, because the value of the hardware priority of the Wi-Fi is 4 and the value of the hardware priority 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 distributed to the Wi-Fi at the microscopic level, and finally, the use right of the radio frequency resource is output by hardware arbitration, namely the radio frequency resource is distributed to the Wi-Fi.
For example, in still another case, when the first target information acquired includes the following: the service request type of the Bluetooth is not an emergency, the value of the software priority of the Wi-Fi is 4, the value of the software priority of the Bluetooth is 3, and the arbitration result of the radio frequency resource is determined by comparing the value of the software priority of the Wi-Fi with the value of the software priority of the Bluetooth, and the final arbitration result of the use right of the radio frequency resource is that the Wi-Fi uses the radio frequency resource because the value of the software priority of the Wi-Fi is larger than the value of the software priority of the Bluetooth.
Therefore, when the Wi-Fi and Bluetooth coexisting radio frequency scheduling method described by the embodiment of the invention is implemented, first target information can be obtained after a Bluetooth service request is detected, when the software priority of the Wi-Fi is judged to be smaller than that of the Bluetooth and the Bluetooth service request type is a burst task, the software priority of the Wi-Fi is set to be larger than that of the Bluetooth, and when a packet receiving and transmitting time of the Bluetooth burst task is received, a radio frequency resource arbitration result is finally determined by comparing the value of the hardware priority of the Wi-Fi with the value of the hardware priority of the Bluetooth, and radio frequency resources are distributed 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 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 Wi-Fi and bluetooth coexistence according to an embodiment of the present invention. As shown in fig. 3, the radio frequency scheduling apparatus for Wi-Fi and bluetooth coexistence 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 for bluetooth;
The acquiring module 302 is configured to acquire first target information, where the first target information includes a priority of Wi-Fi and bluetooth and/or a service request type of bluetooth, and the priority of Wi-Fi and bluetooth includes a software priority of Wi-Fi, a software priority of bluetooth, a hardware priority of Wi-Fi and a hardware priority of bluetooth;
The arbitration module 303 is 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 for allocating the radio frequency resource for bluetooth and allocating the radio frequency resource for Wi-Fi coexisting with bluetooth, where the software priority is responsible for determining the usage right of the radio frequency resource at a macroscopic level, and the hardware priority is responsible for determining the usage right of the radio frequency resource at a microscopic level.
Therefore, the Wi-Fi and Bluetooth coexisting radio frequency scheduling device described by the embodiment of the invention can acquire the first target information after detecting the Bluetooth service request, determine the radio frequency resource arbitration result according to the priority of the Wi-Fi and Bluetooth and/or the Bluetooth service request type in the first target information, and allocate the radio frequency resource 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 is improved.
In an alternative embodiment, as shown in fig. 4, the arbitration module 303 includes a determination submodule 3031, a setting submodule 3032, and a comparison submodule 3033, wherein:
The judging submodule 3031 is used for judging whether the software priority of Wi-Fi is smaller than that of Bluetooth; when judging that the software priority of Wi-Fi is smaller than that of Bluetooth, judging whether the service request type of Bluetooth is a burst task or not;
The setting sub-module 3032 is configured to set the software priority of Wi-Fi to be greater than the software priority of bluetooth when the judging sub-module 3031 judges that the service request type of bluetooth is a burst task.
And the comparison submodule 3033 is used for comparing the hardware priority of Wi-Fi with the hardware priority of Bluetooth and obtaining 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 determination sub-unit 30331 and an arbitration sub-unit 30332, wherein:
a judging subunit 30331, configured to judge whether the hardware priority of Wi-Fi is less than the hardware priority of bluetooth;
An arbitration subunit 30332, configured to allocate the usage right of the radio frequency resource to bluetooth when the determination subunit 30331 determines that the hardware priority of Wi-Fi is less than the hardware priority of bluetooth;
The arbitration subunit 30332 is further configured to allocate the usage right of the radio frequency resource to the Wi-Fi when the determination subunit 30331 determines that the hardware priority of the Wi-Fi is greater than or equal to the hardware priority of bluetooth.
Therefore, the Wi-Fi and Bluetooth coexisting radio frequency scheduling device described by the embodiment of the invention can acquire the first target information after detecting the Bluetooth service request, and when judging that the software priority of the Wi-Fi is smaller than that of the Bluetooth and the Bluetooth service request type is a burst task, the Wi-Fi software priority is set to be larger than that of the Bluetooth, and the radio frequency resource arbitration result is finally determined by comparing the value of the Wi-Fi hardware priority with the value of the Bluetooth hardware priority at the time of packet receiving and transmitting of the Bluetooth burst task, and the radio frequency resource is distributed 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 is improved.
In yet another alternative embodiment, as shown in fig. 4, the apparatus further comprises:
a setting module 304, configured to set, after detecting a service request triggered by bluetooth and before acquiring first target information, a hardware priority of bluetooth to a first target value in a first period of a preset period, where the first target value is greater than a value of a hardware priority of Wi-Fi;
The setting module 304 is further configured to set, after detecting the service request triggered by bluetooth and before acquiring the first target information, a hardware priority of bluetooth to a second target value in a second period of a preset period, where the second target value is less than or equal to a value of the hardware priority of Wi-Fi, and the second period of the preset period is a remaining period of the preset period excluding the first period.
Therefore, in this optional embodiment, the hardware priority of Wi-Fi and bluetooth is set before the first target information is acquired, the radio frequency resource is arbitrated at the time of sending and receiving the packet of the bluetooth burst task request, and the hardware priority set in the foregoing is used for comparison to obtain a 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 is further improved.
In this optional embodiment, as an optional implementation manner, the number of requests of the burst task of bluetooth is less than or equal to the preset number in the first period of the preset period.
Therefore, the optional embodiment can effectively prevent the serious problem of packet loss during the time of packet receiving and transmitting by setting the upper limit of the request times of the burst task of the Bluetooth in the first time period of the preset period, and improve the throughput level of Wi-Fi and Bluetooth.
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 comparing sub-module 3033 compares the hardware priority of Wi-Fi with the hardware priority of bluetooth, and obtains the radio frequency resource arbitration result according to the comparison result in the following specific manner:
The comparison sub-module 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 alternative embodiment, the radio frequency resource is arbitrated at the time of receiving and transmitting the Bluetooth burst task request, and the high real-time priority of Bluetooth is used for comparison in the comparison of hardware priorities, so that a final radio frequency resource arbitration result is obtained, the utilization efficiency of the radio frequency resource can be further improved, and the scheduling effect of the radio frequency is further improved.
Example IV
Referring to fig. 5, fig. 5 is a schematic structural diagram of another Wi-Fi and bluetooth coexisting radio frequency scheduling apparatus according to an embodiment of the present invention. As shown in fig. 5, the apparatus may include:
a memory 501 in which executable program codes are stored;
a processor 502 coupled to the memory 501;
The processor 502 invokes executable program code stored in the memory 501 for performing the steps in the Wi-Fi and bluetooth co-existence radio frequency scheduling method described in embodiment one or embodiment two.
Example five
The embodiment of the invention discloses a computer readable storage medium storing a computer program for electronic data exchange, wherein the computer program causes a computer to execute the steps in the Wi-Fi and bluetooth coexisting radio frequency scheduling method described in the first or 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, and the computer program is operable to cause a computer to execute the steps in the Wi-Fi and bluetooth coexisting radio frequency scheduling method described in the first or second embodiment.
The apparatus embodiments described above are merely illustrative, wherein the modules illustrated as separate components may or may not be physically separate, and the components shown as modules may or may not be physical, i.e., may be located in one place, or may be distributed over 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 this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above detailed description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course by means of hardware. Based on such understanding, the foregoing technical solutions may be embodied essentially or in part in the form of a software product that may be stored in a computer-readable storage medium including Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), programmable Read-Only Memory (Programmable Read-Only Memory, PROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), one-time programmable Read-Only Memory (OTPROM), electrically erasable programmable Read-Only Memory (EEPROM), compact disc Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM) or other optical disc Memory, magnetic disc Memory, tape Memory, or any other medium that can be used for computer-readable carrying or storing data.
Finally, it should be noted that: the disclosed Wi-Fi and Bluetooth coexisting radio frequency scheduling method and device are only disclosed as a preferred embodiment of the invention, and are only used for illustrating the technical scheme of the invention, but not limiting the technical scheme; although the invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that; the technical scheme recorded in the various embodiments can be modified or part of technical features in the technical scheme can be replaced equivalently; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.
Claims (6)
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 priorities of the Wi-Fi and the Bluetooth and/or service request types of the Bluetooth, and the service request is used for requesting to allocate radio frequency resources for the Bluetooth, and the priorities of the Wi-Fi and the Bluetooth comprise software priorities of the Wi-Fi, software priorities of the Bluetooth, hardware priorities of the Wi-Fi and hardware priorities of the Bluetooth;
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 distributing the radio frequency resource for the Bluetooth and distributing the radio frequency resource for Wi-Fi coexisting with the Bluetooth, wherein the software priority is responsible for determining the use right of the radio frequency resource at a macroscopic level, and the hardware priority is responsible for determining the use right of the radio frequency resource at a microscopic level;
The generating a radio frequency resource arbitration result for the determined radio frequency 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 judging that the software priority of the Wi-Fi is smaller than that of the Bluetooth, judging whether the service request type of the Bluetooth is a burst task or not;
When judging that the service request type of the Bluetooth is a burst task, setting the software priority of the Wi-Fi to be greater than the software priority of the Bluetooth, and judging whether the hardware priority of the Wi-Fi is less than the hardware priority of the Bluetooth; when judging that the hardware priority of the Wi-Fi is smaller than that of the Bluetooth, distributing the use right of the radio frequency resource to the Bluetooth; when judging that the hardware priority of the Wi-Fi is greater than or equal to the hardware priority of the Bluetooth, distributing the use right of the radio frequency resource to the Wi-Fi.
2. The Wi-Fi and bluetooth co-existence radio frequency scheduling method of claim 1, wherein after the detecting the bluetooth-triggered service request, and before the acquiring the first target information, the method further comprises:
setting the hardware priority of the Bluetooth to a first target value in a first time period of a preset period, 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 a second target value in a second time period of a preset period, wherein 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 period is the remaining time period of the preset period excluding the first time period.
3. The Wi-Fi and bluetooth co-existence radio frequency scheduling method of claim 2, wherein the number of requests for burst tasks of bluetooth is less than or equal to a preset number of times in the first period of time of a preset period.
4. The Wi-Fi and bluetooth co-existence radio frequency scheduling method of claim 1, wherein the hardware priority of bluetooth comprises 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 comparing the hardware priority of Wi-Fi with the hardware priority of 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 the radio frequency resource arbitration result according to the comparison result.
5. A radio frequency scheduling apparatus for Wi-Fi and bluetooth coexistence, 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;
The system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring first target information, the first target information comprises the priority of Wi-Fi and Bluetooth and/or the service request type of the Bluetooth, wherein the priority of Wi-Fi and Bluetooth comprises the software priority of Wi-Fi, the software priority of Bluetooth, the hardware priority of Wi-Fi and the hardware priority of Bluetooth;
The arbitration module is used for generating a radio frequency resource arbitration result aiming at the determined radio frequency resource according to the first target information acquired by the acquisition module, 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 distributing the radio frequency resource for the Bluetooth and distributing the radio frequency resource for Wi-Fi coexisting with the Bluetooth, wherein the software priority is responsible for determining the use right of the radio frequency resource at a macroscopic level, and the hardware priority is responsible for determining the use right of the radio frequency resource at a microscopic level;
the arbitration module comprises a judging sub-module, a setting sub-module and a comparing sub-module, wherein:
The judging submodule is used for judging whether the software priority of the Wi-Fi is smaller than that of the Bluetooth; when judging that the software priority of the Wi-Fi is smaller than that of the Bluetooth, judging whether the service request type of the Bluetooth is a burst task or not;
The setting submodule is used for setting the software priority of the Wi-Fi to be larger 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 comparing sub-module 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;
And the comparison sub-module comprises a judging sub-unit and an arbitration 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 usage right of the radio frequency resource to the bluetooth when the judging 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 usage right of the radio frequency resource to the Wi-Fi when the judging subunit judges that the hardware priority of the Wi-Fi is greater than or equal to the hardware priority of the bluetooth.
6. The Wi-Fi and bluetooth co-existence radio frequency scheduling apparatus of claim 5, further comprising:
the setting module is used for setting the hardware priority of the Bluetooth to a first target value in a first time period of a preset period after the service request triggered by the Bluetooth is detected and before the first target information is acquired, wherein the first target value is larger than the value of the hardware priority of the Wi-Fi;
the setting module is further configured to set, after the detecting the service request triggered by bluetooth and before the acquiring the first target information, a hardware priority of the bluetooth to a second target value in a second period of a preset period, where the second target value is less than or equal to a value of the hardware priority of the Wi-Fi, and the second period of the preset period is a remaining period of the preset period in which the first period is removed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110800816.2A CN113727316B (en) | 2021-07-15 | 2021-07-15 | Wi-Fi and Bluetooth coexisting radio frequency scheduling method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110800816.2A CN113727316B (en) | 2021-07-15 | 2021-07-15 | Wi-Fi and Bluetooth coexisting radio frequency scheduling method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113727316A CN113727316A (en) | 2021-11-30 |
CN113727316B true CN113727316B (en) | 2024-07-09 |
Family
ID=78673373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110800816.2A Active CN113727316B (en) | 2021-07-15 | 2021-07-15 | Wi-Fi and Bluetooth coexisting radio frequency scheduling method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113727316B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114945210B (en) * | 2022-05-06 | 2024-02-09 | 广州芯之联科技有限公司 | Radio frequency signal gain control method, system, device and medium |
CN115499933A (en) * | 2022-08-29 | 2022-12-20 | 乐鑫信息科技(上海)股份有限公司 | Wireless communication method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101394334A (en) * | 2007-09-19 | 2009-03-25 | 北京中电华大电子设计有限责任公司 | Data packet scheduling transmitting device used for WLAN |
CN102461310A (en) * | 2009-06-19 | 2012-05-16 | 摩托罗拉移动公司 | Method and apparatus for multi-radio coexistence |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2469955B1 (en) * | 2010-11-30 | 2019-04-17 | Sagemcom Energy & Telecom SAS | Communication device and corresponding method, computer program and storage means |
CN103747521B (en) * | 2013-12-28 | 2017-09-29 | 范志广 | Real-time location method and system based on mobile communication terminal radio frequency identification |
KR101531924B1 (en) * | 2014-07-11 | 2015-06-26 | 현대자동차주식회사 | Method and apparatus for controlling bluetooth load |
CN204539216U (en) * | 2015-05-13 | 2015-08-05 | 陈建国 | A kind of second priority level multimedia terminal |
CN105049879B (en) * | 2015-06-11 | 2018-02-09 | 西北工业大学 | Video stream traffic QoE two-stage resource allocation methods are ensured in a kind of WLAN |
CN106326187B (en) * | 2015-06-18 | 2019-11-22 | 大唐半导体设计有限公司 | A kind of common source referee method and device |
CN109447048B (en) * | 2018-12-25 | 2020-12-25 | 苏州闪驰数控系统集成有限公司 | Artificial intelligence early warning system |
CN111787631B (en) * | 2020-06-29 | 2023-05-16 | 维沃移动通信有限公司 | Radio frequency resource allocation method and device and electronic equipment |
CN112654075A (en) * | 2020-12-22 | 2021-04-13 | 广州芯之联科技有限公司 | Method and system for rapidly connecting AP (access point) by WLAN (wireless local area network) cold start |
-
2021
- 2021-07-15 CN CN202110800816.2A patent/CN113727316B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101394334A (en) * | 2007-09-19 | 2009-03-25 | 北京中电华大电子设计有限责任公司 | Data packet scheduling transmitting device used for WLAN |
CN102461310A (en) * | 2009-06-19 | 2012-05-16 | 摩托罗拉移动公司 | Method and apparatus for multi-radio coexistence |
Also Published As
Publication number | Publication date |
---|---|
CN113727316A (en) | 2021-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113727316B (en) | Wi-Fi and Bluetooth coexisting radio frequency scheduling method and device | |
CN107006000B (en) | Method and user equipment for transmitting messages | |
US8559383B2 (en) | Multiradio control | |
US11582774B2 (en) | Co-channel co-existence in a wireless communications system | |
US20140031052A1 (en) | Method in a base station for allocating communication resources to a user equipment, base station, computer program and computer program product | |
EP3579644A1 (en) | Data transmission method and apparatus | |
CN112996116A (en) | Resource allocation method and system for guaranteeing quality of power time delay sensitive service | |
US20240073937A1 (en) | Resource preemption method, apparatus, and system | |
CN113498049A (en) | Bluetooth data transmission event scheduling method and device and Bluetooth equipment | |
CN114071547A (en) | QoE measurement configuration method, QoE measurement configuration device and storage medium | |
CN112231077B (en) | Application scheduling method and electronic equipment | |
WO2020074077A1 (en) | Prioritization for random access | |
CN115190639B (en) | Scheduling method, scheduling device and computer readable storage medium | |
US12022520B2 (en) | Uplink resource allocation method and device, base station, and terminal | |
JP2022518769A (en) | Resource reservation method and related devices | |
WO2013068925A2 (en) | Method and apparatus for controlling wireless devices | |
US20230397290A1 (en) | Method for uplink data transmission, user equipment, and storage medium | |
CN116234023A (en) | WiFi channel resource allocation optimization method and device | |
JP7412151B2 (en) | Control device and control method | |
CN114786276A (en) | Service terminal access method, device, electronic equipment and storage medium | |
CN114095908A (en) | Bluetooth data processing method and controller | |
CN113423098A (en) | Bluetooth scanning event scheduling method and device and Bluetooth equipment | |
CN109150345B (en) | Channel multiplexing method, device and storage medium | |
US20230199814A1 (en) | Enhanced prediction of timing of activity for wireless devices | |
KR20180045705A (en) | Apparatus and Method for Packet Data Scheduling in Network Device of WLAN Systems |
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 | ||
GR01 | Patent grant |