CN108924875A - priority setting method, device, user equipment and storage medium - Google Patents
priority setting method, device, user equipment and storage medium Download PDFInfo
- Publication number
- CN108924875A CN108924875A CN201810925893.9A CN201810925893A CN108924875A CN 108924875 A CN108924875 A CN 108924875A CN 201810925893 A CN201810925893 A CN 201810925893A CN 108924875 A CN108924875 A CN 108924875A
- Authority
- CN
- China
- Prior art keywords
- priority
- wifi
- bluetooth
- information
- current
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
-
- 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
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/18—Selecting a network or a communication service
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Quality & Reliability (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of priority setting method, device, user equipment and storage mediums.The present invention is first by when generation is needed using the transmission instruction of the information of WiFi or bluetooth, instruction, which is transmitted, according to the information determines corresponding current information transmitting scene, then current priority parameter corresponding with the current information transmitting scene is obtained, further according to the current priority parameter, WiFi priority and Bluetooth priority levels are set, it is able to solve the WiFi Bluetooth coexistence problem of various scenes, it is more close to the users usage scenario, and it can be convenient program according to certain specific any scheduled coexistence strategies of scene, reach the optimal WiFi Bluetooth coexistence adaptation of actual scene, user experience is improved to greatest extent.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of priority setting method, device, user equipment and storages
Medium.
Background technique
WiMAX (Wireless-Fidelity, WiFi) and bluetooth (Bluetooth, abbreviation BT) are that many users set
Standby (such as:The equipment such as smart phone, notebook, tablet computer, intelligent sound box box or set-top box) on two function can carrying
Can, WiFi is the technology for allowing user equipment to be connected to a WLAN (WLAN), needs to meet 802.11b/g mark
Standard is usually operated at 2.4G frequency range, and BT is also work in 2.4G frequency range, since WiFi and bluetooth substantially work in same frequency
Section, if the two works at the same time, will necessarily more or less have the phenomenon that interfering with each other.If WiFi and bluetooth collectively reside in
On one mould group, that is, single module or chip support WiFi and Bluetooth function simultaneously, then between WiFi and bluetooth that
This interference can be more serious, if isolation between antennas is inadequate, that can only time-sharing multiplex.
In the prior art, the coexisting state at present between WiFi and bluetooth is usually fixed, from device power-up to pass
Machine, coexisting state are exactly a kind of, such as:After user equipment powers on, the antenna accounting of WiFi and bluetooth is exactly to be distributed into 8:2, begin
Whole such as one, it is adjusted without dynamic, so causing under the special scenes of certain user's equipment, this coexisting state is unable to satisfy field
Scape demand, and then there are various coexistence problems.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill
Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of priority setting method, device, user equipment and storage medium, purports
It is fixed solving the coexisting state in the prior art between WiFi and bluetooth, coexisting state is caused to be unable to satisfy scene demand, into
And there is the technical issues of various coexistence problems.
To achieve the above object, the present invention provides a kind of priority setting method, the priority setting method include with
Lower step:
When generation needs to transmit instruction using the information of WiFi or bluetooth, transmit to instruct determining correspondence according to the information
Current information transmitting scene;
Obtain current priority parameter corresponding with the current information transmitting scene;
According to the current priority parameter, WiFi priority and Bluetooth priority levels are set.
Preferably, described to obtain current priority parameter corresponding with the current information transmitting scene, it specifically includes:
Current priority parameter corresponding with the current information transmitting scene is searched in mapping relations, the mapping is closed
There is the corresponding relationship between information transmitting scene and priority parameters in system.
Preferably, the priority parameters include:WiFi flag information and bluetooth flag information;
It is described that WiFi priority and Bluetooth priority levels are arranged according to the current priority parameter, it specifically includes:
WiFi priority is set according to the WiFi flag information, and bluetooth is arranged according to the bluetooth flag information
Priority.
Preferably, the WiFi flag information includes:WiFi reception flag position and WiFi send flag bit, the bluetooth mark
Will information includes:Bluetooth reception flag position and bluetooth send flag bit;
It is described that WiFi priority is set according to the WiFi flag information, and be arranged according to the bluetooth flag information
Bluetooth priority levels specifically include:
The priority of WiFi receiving antenna is set according to WiFi reception flag position, is sent and is indicated according to the WiFi
Position is arranged the priority of WiFi transmission antenna, and by the preferential of the priority of the WiFi receiving antenna and WiFi transmission antenna
Grade is used as WiFi priority;
The priority of bluetooth receiving antenna is set according to bluetooth reception flag position, is sent and is indicated according to the bluetooth
Position is arranged the priority of bluetooth transmission antenna, and by the preferential of the priority of the bluetooth receiving antenna and bluetooth transmission antenna
Grade is used as Bluetooth priority levels.
Preferably, described when generation is needed using the transmission instruction of the information of WiFi or bluetooth, it is transmitted according to the information
Before instruction determines corresponding current information transmitting scene, the priority setting method further includes:
In electrifying startup, the first initial priority is set by the WiFi priority, the Bluetooth priority levels are set
It is set to the second initial priority.
Preferably, it is described WiFi priority and Bluetooth priority levels are arranged according to the current priority parameter after, institute
Stating priority setting method further includes:
After responding to information transmission instruction, the WiFi priority is reset into the first initial priority,
The Bluetooth priority levels are reset into the second initial priority.
Preferably, the priority setting method is further comprising the steps of:
It is excellent WiFi is arranged according to priority setting instruction in the priority setting instruction for receiving user's input
First grade and Bluetooth priority levels.
In addition, to achieve the above object, the present invention also provides a kind of priority, and device is arranged, device is arranged in the priority
Including:
Scene determining module, for generate need the information transmission instruction using WiFi or bluetooth when, according to the letter
Breath transmission instruction determines corresponding current information transmitting scene;
Parameter acquisition module, for obtaining current priority parameter corresponding with the current information transmitting scene;
Priority setup module, for WiFi priority and Bluetooth Priority to be arranged according to the current priority parameter
Grade.
In addition, to achieve the above object, the present invention also provides a kind of user equipment, the user equipment includes:Memory,
The priority setting program that processor and being stored in can be run on the memory and on the processor, the priority are set
Set the step of realizing priority setting method as described above when program is executed by the processor.
In addition, to achieve the above object, the present invention also provides a kind of storage medium, being stored on the storage medium preferential
Grade setting program, the priority setting program realize the step of priority setting method as described above when being executed by processor
Suddenly.
The present invention according to the information first by passing when generation is needed using the transmission instruction of the information of WiFi or bluetooth
Defeated instruction determines corresponding current information transmitting scene, then obtains current preference corresponding with the current information transmitting scene
Grade parameter, is arranged WiFi priority and Bluetooth priority levels further according to the current priority parameter, is able to solve various scenes
WiFi Bluetooth coexistence problem, usage scenario of being more close to the users, and it is any according to certain specific scenes to can be convenient program
Scheduled coexistence strategy reaches the optimal WiFi Bluetooth coexistence adaptation of actual scene, improves user experience to greatest extent.
Detailed description of the invention
Fig. 1 is the user device architecture schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of priority setting method first embodiment of the present invention;
Fig. 3 is the schematic diagram of priority setting principle in the embodiment of the present invention;
Fig. 4 is the flow diagram of priority setting method second embodiment of the present invention;
Fig. 5 is the structural block diagram that device first embodiment is arranged in priority of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, Fig. 1 is the user device architecture schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
As shown in Figure 1, the user equipment may include:Processor 1001, such as CPU, communication bus 1002, Yong Hujie
Mouth 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is logical for realizing the connection between these components
Letter.User interface 1003 may include display screen (Display), and optional user interface 1003 can also include that the wired of standard connects
Mouth, wireless interface.Network interface 1004 optionally may include standard wireline interface and wireless interface (such as WI-FI interface).It deposits
Reservoir 1005 can be high speed RAM memory, be also possible to stable memory (non-volatile memory), such as magnetic
Disk storage.Memory 1005 optionally can also be the storage server independently of aforementioned processor 1001.
Specifically, the user equipment can be smart phone, notebook, tablet computer, intelligent sound box box or machine top
The equipment used by a user such as box can also be certainly other equipment, and the present embodiment is without restriction to this.
It will be understood by those skilled in the art that structure shown in Fig. 1 does not constitute the restriction to the user equipment, it can
To include perhaps combining certain components or different component layouts than illustrating more or fewer components.
As shown in Figure 1, as may include operating system, network communication mould in a kind of memory 1005 of storage medium
Program is arranged in block, Subscriber Interface Module SIM and priority.
The user equipment calls the priority stored in memory 1005 that program is arranged by processor 1001, and executes
It operates below:
When generation needs to transmit instruction using the information of WiFi or bluetooth, transmit to instruct determining correspondence according to the information
Current information transmitting scene;
Obtain current priority parameter corresponding with the current information transmitting scene;
According to the current priority parameter, WiFi priority and Bluetooth priority levels are set.
Further, processor 1001 can call the priority stored in memory 1005 be arranged program, also execute with
Lower operation:
Current priority parameter corresponding with the current information transmitting scene is searched in mapping relations, the mapping is closed
There is the corresponding relationship between information transmitting scene and priority parameters in system.
Further, the priority parameters include:WiFi flag information and bluetooth flag information;Processor 1001 can be with
The priority setting program stored in memory 1005 is called, following operation is also executed:
WiFi priority is set according to the WiFi flag information, and bluetooth is arranged according to the bluetooth flag information
Priority.
Further, the WiFi flag information includes:WiFi reception flag position and WiFi send flag bit, the bluetooth
Flag information includes:Bluetooth reception flag position and bluetooth send flag bit;Processor 1001 can call to be deposited in memory 1005
Program is arranged in the priority of storage, also executes following operation:
The priority of WiFi receiving antenna is set according to WiFi reception flag position, is sent and is indicated according to the WiFi
Position is arranged the priority of WiFi transmission antenna, and by the preferential of the priority of the WiFi receiving antenna and WiFi transmission antenna
Grade is used as WiFi priority;
The priority of bluetooth receiving antenna is set according to bluetooth reception flag position, is sent and is indicated according to the bluetooth
Position is arranged the priority of bluetooth transmission antenna, and by the preferential of the priority of the bluetooth receiving antenna and bluetooth transmission antenna
Grade is used as Bluetooth priority levels.
Further, processor 1001 can call the priority stored in memory 1005 be arranged program, also execute with
Lower operation:
In electrifying startup, the first initial priority is set by the WiFi priority, the Bluetooth priority levels are set
It is set to the second initial priority.
Further, processor 1001 can call the priority stored in memory 1005 be arranged program, also execute with
Lower operation:
After responding to information transmission instruction, the WiFi priority is reset into the first initial priority,
The Bluetooth priority levels are reset into the second initial priority.
Further, processor 1001 can call the priority stored in memory 1005 be arranged program, also execute with
Lower operation:
It is excellent WiFi is arranged according to priority setting instruction in the priority setting instruction for receiving user's input
First grade and Bluetooth priority levels.
In the present embodiment, first by generate need the information transmission instruction using WiFi or bluetooth when, according to institute
It states information transmission instruction and determines corresponding current information transmitting scene, then obtain corresponding with the current information transmitting scene
Current priority parameter is arranged WiFi priority and Bluetooth priority levels further according to the current priority parameter, is able to solve
The WiFi Bluetooth coexistence problem of various scenes, usage scenario of being more close to the users, and can be convenient program according to certain specific
Any scheduled coexistence strategy of scene reaches the optimal WiFi Bluetooth coexistence adaptation of actual scene, improves user experience to greatest extent.
Based on above-mentioned hardware configuration, the embodiment of priority setting method of the present invention is proposed.
It is the flow diagram of priority setting method first embodiment of the present invention referring to Fig. 2, Fig. 2.
In the first embodiment, the priority setting method includes the following steps:
S10:When generation is needed using the transmission instruction of the information of WiFi or bluetooth, transmit to instruct determining according to the information
Corresponding current information transmitting scene.
It should be noted that user equipment is when receiving information transmission request, it will usually be asked according to information transmission
Seek survival into corresponding information transmission instruction, it is assumed that the information transmission instruction of generation needs to carry out information biography using WiFi or bluetooth
Defeated response, information transmission instruction at this time is as described to be needed to utilize the transmission instruction of the information of WiFi or bluetooth.
It will be appreciated that different information transmitting scenes can generate different information transmission requests, and different information passes
Defeated request can generate different information transmission instructions, therefore, can be transmitted according to the information after determining information transmission instruction
Instruction determines corresponding current information transmitting scene.
S20:Obtain current priority parameter corresponding with the current information transmitting scene.
In the concrete realization, since the corresponding relationship between information transmitting scene and priority parameters is with a variety of, it is assumed that
After obtaining current information transmitting scene, all directly go to generate current priority ginseng corresponding with the current information transmitting scene
Number, it is excessively cumbersome to will lead to product process, is simple flow, in the present embodiment, can be searched in mapping relations with it is described currently
The corresponding current priority parameter of information transmitting scene, have in the mapping relations information transmitting scene and priority parameters it
Between corresponding relationship.
S30:According to the current priority parameter, WiFi priority and Bluetooth priority levels are set.
It will be appreciated that the current priority parameter come after WiFi priority and Bluetooth priority levels are arranged
Realize that information transmission instructs corresponding message transmitting procedure according to WiFi priority and Bluetooth priority levels by WiFi or bluetooth.
It should be understood that the current priority parameter is to be able to reflect the ginseng of WiFi priority and Bluetooth priority levels
Number, therefore, can be arranged WiFi priority and Bluetooth priority levels according to the current priority parameter.
It, can be by the priority parameters in the present embodiment for convenient for being configured to WiFi priority and Bluetooth priority levels
In the corresponding WiFi priority of a part, another part in the priority parameters is corresponded into Bluetooth priority levels, that is to say, that
The priority parameters may include:Indigo plant for corresponding to the WiFi flag information of WiFi priority and for corresponding to Bluetooth priority levels
Tooth flag information;
Correspondingly, WiFi priority can be set according to the WiFi flag information, and according to the bluetooth flag information
Bluetooth priority levels are arranged.
It may include WiFi receiving antenna and WiFi transmission antenna for WiFi, for bluetooth, may include
Bluetooth receiving antenna and bluetooth transmission antenna, and different scenes, for these antenna demand there is also difference, in order to suitable
Answer more scenes, in the present embodiment, the WiFi flag information may include:For corresponding to WiFi reception flag position and WiFi hair
Flag bit is sent, the bluetooth flag information may include:Bluetooth reception flag position and bluetooth send flag bit;
Correspondingly, the priority of WiFi receiving antenna can be set according to WiFi reception flag position, according to described
WiFi sends flag bit the priority of WiFi transmission antenna is arranged, and the priority of the WiFi receiving antenna and WiFi is sent out
The priority of antennas is as WiFi priority;The preferential of bluetooth receiving antenna is set according to bluetooth reception flag position
Grade sends flag bit according to the bluetooth to be arranged the priority of bluetooth transmission antenna, and by the excellent of the bluetooth receiving antenna
First grade and the priority of bluetooth transmission antenna are as Bluetooth priority levels.
In the concrete realization, priority parameters are set as 4 bit binary datas, and the 1st bit binary data corresponds to bluetooth hair
The priority of antennas, the 2nd bit binary data correspond to the priority of bluetooth receiving antenna, and the 3rd bit binary data is corresponding
The priority of WiFi transmission antenna, the 4th bit binary data corresponds to the priority of WiFi receiving antenna, and priority is with 0 and 1
To indicate, wherein 0 indicates low priority, and 1 indicates high priority, certainly, other modes can be used also to characterize priority ginseng
Number, the present embodiment are without restriction to this.
Priority parameters are illustrated by taking specific scene as an example below, but the scope of protection of the present invention is not limited.
When the priority of the priority of bluetooth receiving antenna and bluetooth transmission antenna is disposed as 1, indicate that bluetooth receives
The priority of antenna and the priority of bluetooth transmission antenna are height, then are equivalent to, as long as there is Bluetooth data reception to arrive or need
It sends, then antenna whole resource allows out to bluetooth.The priority of WiFi transmission antenna and WiFi receive day in such cases
The priority of line is only low.I.e. the priority of WiFi transmission antenna and the priority of WiFi receiving antenna cannot simultaneously and bluetooth
The priority of receiving antenna is identical with the priority of bluetooth transmission antenna.There are two types of information transmitting scenes to be more suitble to, the first
Information transmitting scene can for user equipment (such as:Set-top box) to blue Tooth remote controller upgrade when data interaction because user sets
It is standby when the software batch data of remote controler being passed to remote controler by bluetooth, therefore, to assure that data are perfectly safe could upgrade at
Function, second of information transmitting scene can be in pairing state for bluetooth.So writable in mapping relations X:B (i.e. above-mentioned two
Kind of information transmitting scene) and 1100 (i.e. priority parameters) between corresponding relationship.
When the priority of bluetooth transmission antenna is height, the priority of bluetooth receiving antenna is low, and WiFi transmission antenna
When priority and the priority of WiFi receiving antenna are low, as long as indicating have blue-teeth data to need to send, antenna is all provided
Source, which allows out, gives bluetooth transmission antenna, suitable information transmitting scene can for user equipment (such as:Set-top box) connection bluetooth sound
Case pushes away song, because blue-teeth data amount transmitted by the bluetooth transmission antenna of user equipment is maximum under this information transmitting scene
, so writable in mapping relations X:Pair between C (i.e. above-mentioned information transmitting scene) and 1000 (i.e. priority parameters)
It should be related to.
When the priority of bluetooth receiving antenna is height, the priority of bluetooth transmission antenna be it is low, WiFi transmission antenna it is excellent
When first grade and the priority of WiFi receiving antenna are low, as long as indicating to need to start receiving bluetooth, following antenna is whole
Resource, which allows out, receives data to bluetooth receiving antenna.There are two types of information transmitting scenes to be more suitble to, the first information transmission field
Scape can for mobile phone connect user equipment (such as:Intelligent sound box box), mobile phone pushes away song to user equipment by bluetooth;Second
Information transmitting scene can connect blue Tooth remote controller, user's blue Tooth remote controller voice for user equipment.Because of above two information
User equipment will receive a large amount of Bluetooth audio frequency data from mobile phone or remote controler under transmitting scene, in order to guarantee to greatest extent
Bluetooth sound not Caton, the blue tooth voice data low, receive of delay are complete, packet loss is low, discrimination is high, so bluetooth receiving antenna
Priority need that highest is arranged.So writable in mapping relations X:D (two kinds of i.e. above-mentioned information transmitting scenes) and 0100
Corresponding relationship between (i.e. priority parameters).
When the priority of WiFi receiving antenna is height, the priority of WiFi transmission antenna be it is low, bluetooth receiving antenna it is excellent
When first grade and the priority of bluetooth transmission antenna are low, as long as indicating that WiFi needs downloading data, at once next all
Resource gives WiFi receiving antenna.Suitable information transmitting scene can for WiFi downloading mass data (such as:It is broadcast by WiFi
Put video or the big file of downloading) when.So writable in mapping relations X:E (i.e. above-mentioned information transmitting scene) and
Corresponding relationship between 0001 (i.e. priority parameters).
When the priority of WiFi transmission antenna is height, the priority of WiFi receiving antenna be it is low, bluetooth receiving antenna it is excellent
When first grade and the priority of bluetooth transmission antenna are low, as long as indicating that WiFi needs to upload data, at once next all
Resource gives WiFi transmission antenna.Suitable information transmitting scene can for WiFi upload mass data (such as:By on WiFi
The big file passed) when.So writable in mapping relations X:F (i.e. above-mentioned information transmitting scene) and 0010 is (i.e. preferential
Grade parameter) between corresponding relationship.
It will be appreciated that current priority parameter can be stored into register A when priority is arranged, it is excellent in progress
When first grade is arranged, current priority parameter is taken out from the register A, and pass through Host Control Interface (Host
Controller Interface, HCI) preceding 2 (such as 00) of current priority parameter are sent to Bluetooth chip, latter 2
(such as 11) are sent to WiFi chip, and it is preferential to adjust corresponding antenna after receiving flag bit for Bluetooth chip and WiFi chip
Grade.
It should be noted that programmer debugs for convenience, programmer can be allowed to simulate in the initial stage of development of user equipment
User's usage scenario adjusts priority in real time, prompts experience of the user to product to greatest extent, that is to say, that can receive
It is excellent WiFi priority and bluetooth is arranged according to the priority setting instruction when instruction is arranged in the priority of user's manual setting
First grade.
In the concrete realization, WiFi priority is set according to the current priority parameter and Bluetooth priority levels can be by one
WiFi blue-teeth data preferentially deploys process realization, and information transmission instruction can be generated by other processes, referring to Fig. 3.
The present embodiment first by generate need the information transmission instruction using WiFi or bluetooth when, according to the information
Transmission instruction determines corresponding current information transmitting scene, then obtains corresponding with the current information transmitting scene current excellent
First grade parameter is arranged WiFi priority and Bluetooth priority levels further according to the current priority parameter, is able to solve various fields
The WiFi Bluetooth coexistence problem of scape, usage scenario of being more close to the users, and can be convenient program and appointed according to certain specific scenes
Meaning scheduled coexistence strategy reaches the optimal WiFi Bluetooth coexistence adaptation of actual scene, improves user experience to greatest extent.
It is the flow diagram of priority setting method second embodiment of the present invention referring to Fig. 4, Fig. 4, is based on above-mentioned Fig. 2 institute
The embodiment shown proposes the second embodiment of priority setting method of the present invention.
In a second embodiment, before step S10, the priority setting method may also include:
S00:In electrifying startup, the first initial priority is set by the WiFi priority, by the Bluetooth Priority
Grade is set as the second initial priority.
To guarantee that after electrifying startup WiFi Bluetooth coexistence can be adapted to user equipment, in the present embodiment, can power on
When starting, the first initial priority is set by the WiFi priority, it is initial excellent to set second for the Bluetooth priority levels
First grade.
Priority parameters are illustrated by taking specific scene as an example below, but the scope of protection of the present invention is not limited.
Under default situations, it is high WiFi priority can be set to, can set low for Bluetooth priority levels, that is to say, that
The priority of WiFi transmission antenna and the priority of WiFi receiving antenna are set as high, the priority and bluetooth of bluetooth receiving antenna
The priority of transmission antenna is set as low.It is equivalent to, when WiFi needs to receive or sends data, other antenna resources of bluetooth
It all to allow out to WiFi, corresponding priority parameters are 0011 here, and suitable information transmitting scene can be not connected indigo plant
When tooth equipment user equipment (such as:Set-top box).
Under normal circumstances, bluetooth is relatively small using probability, and WiFi's is relatively high using probability, in order to guarantee
WiFi can make full use of resource, and in the present embodiment, after step S30, the priority setting method further includes:
S40:After responding to information transmission instruction, the WiFi priority is reset into the first initial priority
The Bluetooth priority levels are reset to the second initial priority by grade.
For the ease of being reset to WiFi priority and Bluetooth priority levels, so, it can be by first initial priority
It is stored in mapping relations X with the second initial priority, that is to say, that be written in mapping relations X:(i.e. above-mentioned information passes A
Defeated scene) and 0011 (i.e. priority parameters) between corresponding relationship, thus needing to WiFi priority and Bluetooth priority levels
When carrying out initial setting up and resetting, it can also be searched in mapping relations X.
Such as:When blue Tooth remote controller voice, in order to improve the discrimination of blue Tooth remote controller voice (namely to greatest extent
Receiving bluetooth), it is highest that blue-teeth data priority, which can at this time be arranged, it is ensured that and phonetic recognization rate is high, certainly, voice
Transmission is over resets to the priority of default at once, it is ensured that collected blue tooth voice can be identified beyond the clouds as early as possible by WiFi
Come, improves the experience of user's discrimination and recognition speed.
In addition, the embodiment of the present invention also proposes a kind of priority setting device, referring to Fig. 5, device is arranged in the priority
Including:
Scene determining module 10, for generate need the information transmission instruction using WiFi or bluetooth when, according to described
Information transmission instruction determines corresponding current information transmitting scene;
Parameter acquisition module 20, for obtaining current priority parameter corresponding with the current information transmitting scene;
Priority setup module 30, for WiFi priority and Bluetooth Priority to be arranged according to the current priority parameter
Grade.
Each module in above-mentioned apparatus can be used for realizing each step in the above method, and details are not described herein.
In addition, the embodiment of the present invention also proposes a kind of storage medium, priority setting journey is stored on the storage medium
Sequence, the priority setting program realize following operation when being executed by processor:
When generation needs to transmit instruction using the information of WiFi or bluetooth, transmit to instruct determining correspondence according to the information
Current information transmitting scene;
Obtain current priority parameter corresponding with the current information transmitting scene;
According to the current priority parameter, WiFi priority and Bluetooth priority levels are set.
Further, following operation is also realized when the priority setting program is executed by processor:
Current priority parameter corresponding with the current information transmitting scene is searched in mapping relations, the mapping is closed
There is the corresponding relationship between information transmitting scene and priority parameters in system.
Further, the priority parameters include:WiFi flag information and bluetooth flag information;The priority setting
Following operation is also realized when program is executed by processor:
WiFi priority is set according to the WiFi flag information, and bluetooth is arranged according to the bluetooth flag information
Priority.
Further, the WiFi flag information includes:WiFi reception flag position and WiFi send flag bit, the bluetooth
Flag information includes:Bluetooth reception flag position and bluetooth send flag bit;When the priority setting program is executed by processor
Also realize following operation:
The priority of WiFi receiving antenna is set according to WiFi reception flag position, is sent and is indicated according to the WiFi
Position is arranged the priority of WiFi transmission antenna, and by the preferential of the priority of the WiFi receiving antenna and WiFi transmission antenna
Grade is used as WiFi priority;
The priority of bluetooth receiving antenna is set according to bluetooth reception flag position, is sent and is indicated according to the bluetooth
Position is arranged the priority of bluetooth transmission antenna, and by the preferential of the priority of the bluetooth receiving antenna and bluetooth transmission antenna
Grade is used as Bluetooth priority levels.
Further, following operation is also realized when the priority setting program is executed by processor:
In electrifying startup, the first initial priority is set by the WiFi priority, the Bluetooth priority levels are set
It is set to the second initial priority.
Further, following operation is also realized when the priority setting program is executed by processor:
After responding to information transmission instruction, the WiFi priority is reset into the first initial priority,
The Bluetooth priority levels are reset into the second initial priority.
Further, following operation is also realized when the priority setting program is executed by processor:
It is excellent WiFi is arranged according to priority setting instruction in the priority setting instruction for receiving user's input
First grade and Bluetooth priority levels.
In the present embodiment, first by generate need the information transmission instruction using WiFi or bluetooth when, according to institute
It states information transmission instruction and determines corresponding current information transmitting scene, then obtain corresponding with the current information transmitting scene
Current priority parameter is arranged WiFi priority and Bluetooth priority levels further according to the current priority parameter, is able to solve
The WiFi Bluetooth coexistence problem of various scenes, usage scenario of being more close to the users, and can be convenient program according to certain specific
Any scheduled coexistence strategy of scene reaches the optimal WiFi Bluetooth coexistence adaptation of actual scene, improves user experience to greatest extent.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of priority setting method, which is characterized in that the priority setting method includes the following steps:
When generation is needed using the transmission instruction of the information of WiFi or bluetooth, transmit to instruct determining corresponding work as according to the information
Preceding information transmitting scene;
Obtain current priority parameter corresponding with the current information transmitting scene;
According to the current priority parameter, WiFi priority and Bluetooth priority levels are set.
2. priority setting method as described in claim 1, which is characterized in that the acquisition and the current information transmission field
The corresponding current priority parameter of scape, specifically includes:
Corresponding with current information transmitting scene current priority parameter is searched in mapping relations, in the mapping relations
There is the corresponding relationship between information transmitting scene and priority parameters.
3. priority setting method as described in claim 1, which is characterized in that the priority parameters include:WiFi mark
Information and bluetooth flag information;
It is described that WiFi priority and Bluetooth priority levels are arranged according to the current priority parameter, it specifically includes:
WiFi priority is set according to the WiFi flag information, and Bluetooth Priority is arranged according to the bluetooth flag information
Grade.
4. priority setting method as claimed in claim 3, which is characterized in that the WiFi flag information includes:WiFi connects
It receives flag bit and WiFi sends flag bit, the bluetooth flag information includes:Bluetooth reception flag position and bluetooth send flag bit;
It is described that WiFi priority is set according to the WiFi flag information, and bluetooth is arranged according to the bluetooth flag information
Priority specifically includes:
The priority of WiFi receiving antenna is set according to WiFi reception flag position, according to the WiFi send flag bit come
The priority of WiFi transmission antenna is set, and the priority of the WiFi receiving antenna and the priority of WiFi transmission antenna are made
For WiFi priority;
The priority of bluetooth receiving antenna is set according to bluetooth reception flag position, according to the bluetooth send flag bit come
The priority of bluetooth transmission antenna is set, and the priority of the bluetooth receiving antenna and the priority of bluetooth transmission antenna are made
For Bluetooth priority levels.
5. priority setting method as described in any one of claims 1 to 4, which is characterized in that described to need benefit in generation
Transmitted with the information of WiFi or bluetooth when instructing, according to the information transmit instruction determine corresponding current information transmitting scene it
Before, the priority setting method further includes:
In electrifying startup, the first initial priority is set by the WiFi priority, sets the Bluetooth priority levels to
Second initial priority.
6. priority setting method as claimed in claim 5, which is characterized in that it is described according to the current priority parameter come
It is arranged after WiFi priority and Bluetooth priority levels, the priority setting method further includes:
After responding to information transmission instruction, the WiFi priority is reset into the first initial priority, by institute
It states Bluetooth priority levels and resets to the second initial priority.
7. priority setting method as described in any one of claims 1 to 4, which is characterized in that the priority setting side
Method is further comprising the steps of:
In the priority setting instruction for receiving user's input, instruction is arranged according to the priority WiFi priority is arranged
And Bluetooth priority levels.
8. device is arranged in a kind of priority, which is characterized in that the priority is arranged device and includes:
Scene determining module, for being passed according to the information when generation is needed using the transmission instruction of the information of WiFi or bluetooth
Defeated instruction determines corresponding current information transmitting scene;
Parameter acquisition module, for obtaining current priority parameter corresponding with the current information transmitting scene;
Priority setup module, for WiFi priority and Bluetooth priority levels to be arranged according to the current priority parameter.
9. a kind of user equipment, which is characterized in that the user equipment includes:Memory, processor and it is stored in the storage
On device and the priority setting program that can run on the processor, priority setting program are executed by the processor
The step of priority setting method of the Shi Shixian as described in any one of claims 1 to 7.
10. a kind of storage medium, which is characterized in that be stored with priority setting program, the priority on the storage medium
The step of priority setting method as described in any one of claims 1 to 7 is realized when program is executed by processor, is set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810925893.9A CN108924875A (en) | 2018-08-14 | 2018-08-14 | priority setting method, device, user equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810925893.9A CN108924875A (en) | 2018-08-14 | 2018-08-14 | priority setting method, device, user equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108924875A true CN108924875A (en) | 2018-11-30 |
Family
ID=64404718
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810925893.9A Pending CN108924875A (en) | 2018-08-14 | 2018-08-14 | priority setting method, device, user equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108924875A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109743619A (en) * | 2019-01-16 | 2019-05-10 | 四川长虹电器股份有限公司 | Smart television WiFi and Bluetooth coexistence optimization method and device |
CN110072223A (en) * | 2019-05-07 | 2019-07-30 | 百度在线网络技术(北京)有限公司 | Distribution matching method, controlling terminal, equipment and server |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1893382A (en) * | 2005-06-01 | 2007-01-10 | 美国博通公司 | Method and apparatus for providing wireless communication |
CN102640540A (en) * | 2009-10-30 | 2012-08-15 | 三星电子株式会社 | Mobile terminal and communication method for determining a communication protocol |
EP2957142A1 (en) * | 2013-02-13 | 2015-12-23 | Qualcomm Incorporated | Coexistence of cellular and wi-fi/bluetooth transceivers with global navigation satellite system (gnss) receiver in a wireless device |
CN106358143A (en) * | 2016-09-14 | 2017-01-25 | 深圳市金立通信设备有限公司 | Antenna time-sharing multiplexing method and terminal |
CN106454936A (en) * | 2016-09-12 | 2017-02-22 | 广东欧珀移动通信有限公司 | Network control method and intelligent terminal |
CN107450332A (en) * | 2017-07-31 | 2017-12-08 | 广东美的制冷设备有限公司 | Information transferring method, system, intelligent appliance, control terminal and storage medium |
-
2018
- 2018-08-14 CN CN201810925893.9A patent/CN108924875A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1893382A (en) * | 2005-06-01 | 2007-01-10 | 美国博通公司 | Method and apparatus for providing wireless communication |
CN102640540A (en) * | 2009-10-30 | 2012-08-15 | 三星电子株式会社 | Mobile terminal and communication method for determining a communication protocol |
EP2957142A1 (en) * | 2013-02-13 | 2015-12-23 | Qualcomm Incorporated | Coexistence of cellular and wi-fi/bluetooth transceivers with global navigation satellite system (gnss) receiver in a wireless device |
CN106454936A (en) * | 2016-09-12 | 2017-02-22 | 广东欧珀移动通信有限公司 | Network control method and intelligent terminal |
CN106358143A (en) * | 2016-09-14 | 2017-01-25 | 深圳市金立通信设备有限公司 | Antenna time-sharing multiplexing method and terminal |
CN107450332A (en) * | 2017-07-31 | 2017-12-08 | 广东美的制冷设备有限公司 | Information transferring method, system, intelligent appliance, control terminal and storage medium |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109743619A (en) * | 2019-01-16 | 2019-05-10 | 四川长虹电器股份有限公司 | Smart television WiFi and Bluetooth coexistence optimization method and device |
CN110072223A (en) * | 2019-05-07 | 2019-07-30 | 百度在线网络技术(北京)有限公司 | Distribution matching method, controlling terminal, equipment and server |
CN110072223B (en) * | 2019-05-07 | 2021-04-13 | 百度在线网络技术(北京)有限公司 | Distribution network pairing method, control terminal, intelligent hardware device, server and medium |
US10986684B2 (en) | 2019-05-07 | 2021-04-20 | Baidu Online Network Technology (Beijing) Co., Ltd. | Network distribution and pairing method, control terminal, device and server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6996005B2 (en) | Resource configuration method, equipment, terminals, and storage media | |
CN108901077A (en) | Antenna accounting setting method, device, user equipment and storage medium | |
WO2021142637A1 (en) | Artificial intelligence operation processing method and apparatus, system, terminal, and network device | |
CN101882116A (en) | Method for realizing audio transmission and mobile terminal | |
CN105139877A (en) | Method for connecting multimedia play devices, main device, control terminal and system | |
CN109089247A (en) | Using starting method, system, terminal device and computer readable storage medium | |
EP3923549A1 (en) | Data downloading method and related apparatus | |
CN105359464B (en) | For operating the method for communication function and supporting the electronic equipment of this method | |
CN110831245B (en) | Network connection method, device and router | |
WO2021203437A1 (en) | Resource allocation method, device, apparatus, and storage medium | |
CN105939540A (en) | Aperiodic scheduling of uplink grants in a wireless communication system | |
CN106373566A (en) | Data transmission control method and device | |
CN103546345A (en) | Method and device for testing performance of communication equipment | |
CN108924875A (en) | priority setting method, device, user equipment and storage medium | |
CN106131877A (en) | WiFi communication processing means, method and system | |
CN108848410A (en) | Bluetooth audio frequency transmission method, device and computer readable storage medium | |
CN108419108A (en) | Sound control method, device, remote controler and computer storage media | |
CN105511587B (en) | Method and device for controlling radio frequency link | |
CN106465463A (en) | Wireless communication device | |
CN109302456A (en) | A kind of document transmission method and device based on aerial downloading OTA technology | |
CN109041026A (en) | Antenna accounting setting method, device, user equipment and storage medium | |
CN103297516A (en) | Multi-type providing method, multi-type providing system and multi-type providing device of applications | |
CN105202713B (en) | Air conditioner, running state playing method and device thereof and intelligent terminal | |
CN104333786A (en) | System of online control of multiple wireless input ends at the same time through same receiving end and method thereof | |
CN110856162B (en) | Network configuration method and related device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181130 |
|
RJ01 | Rejection of invention patent application after publication |