CN110536322A - Channel bypassing method, device and computer readable storage medium - Google Patents
Channel bypassing method, device and computer readable storage medium Download PDFInfo
- Publication number
- CN110536322A CN110536322A CN201910827330.0A CN201910827330A CN110536322A CN 110536322 A CN110536322 A CN 110536322A CN 201910827330 A CN201910827330 A CN 201910827330A CN 110536322 A CN110536322 A CN 110536322A
- Authority
- CN
- China
- Prior art keywords
- channel
- zigbee
- wifi
- band limits
- divided
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000012790 confirmation Methods 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 3
- 238000004080 punching Methods 0.000 claims 1
- 230000005540 biological transmission Effects 0.000 abstract description 25
- 230000009286 beneficial effect Effects 0.000 abstract description 4
- 238000004891 communication Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 239000003814 drug Substances 0.000 description 3
- 229940079593 drug Drugs 0.000 description 3
- 230000006399 behavior Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W74/00—Wireless channel access
- H04W74/08—Non-scheduled access, e.g. ALOHA
- H04W74/0808—Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA]
- H04W74/0816—Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA] with collision avoidance
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W74/00—Wireless channel access
- H04W74/08—Non-scheduled access, e.g. ALOHA
- H04W74/0808—Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA]
- H04W74/0825—Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA] with collision detection
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of channel bypassing methods, comprising: is operated according to current channel configuration, obtains the band limits that can currently apply channel;The channel is divided into WiFi channel and ZigBee channel by the band limits, and confirms whether the WiFi channel divided and ZigBee channel have channel confliction;When confirming that the channel confliction is not present in the WiFi channel and ZigBee channel, configured the WiFi channel and ZigBee channel are saved.The invention also discloses a kind of channel circumvention device and computer readable storage mediums.The present invention divides ZigBee channel and WiFi channel by the band limits of currently available channel in advance, and channel frequency configuration is carried out for ZigBee chip and WiFi chip with the ZigBee channel and WiFi channel that have divided in equipment starting, it realizes and the conflict of device chip application channel frequency is avoided to lead to device data loading error occurring, and then improve the beneficial effect of device data efficiency of transmission.
Description
Technical field
The present invention relates to the technical fields more particularly to a kind of channel bypassing method, device and calculating of channel frequency detection
Machine readable storage medium storing program for executing.
Background technique
In the prior art, wifi (wireless network) and zigbee (the wireless network protocol of low speed short-distance transmission) are
Using the frequency range of 2.4G, when channel frequency conflicts, wifi equipment high rate data transmission data will lead to zigbee equipment can not
Communication.And conventionally, as the reason of channel default application, can not intuitively confirm ZigBee channel frequency whether with
Thus WiFi channel frequency conflict leads to the case where data transmission fails occur in data transmission work, influences ZigBee core
Sheet data efficiency of transmission.
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 channel bypassing method, device, computer readable storage medium and it is
System, it is intended to solve the prior art and intuitively confirm whether ZigBee channel frequency conflicts with WiFi channel frequency, thus cause
The technical issues of occurring the case where data transmission fails in data transmission work, influence device data efficiency of transmission.
To achieve the above object, the present invention provides a kind of channel bypassing method, including the following contents:
It is operated according to current channel configuration, obtains the band limits that can currently apply channel;
The channel is divided into WiFi channel and ZigBee channel by the band limits, and confirms the institute divided
State whether WiFi channel and ZigBee channel have channel confliction;
When confirming that the channel confliction is not present in the WiFi channel and ZigBee channel, save configured described
WiFi channel and ZigBee channel.
Optionally, described that the channel is divided by WiFi channel and ZigBee channel by the band limits, and really
Recognize whether the WiFi channel divided and ZigBee channel have the step of channel confliction, further includes:
Traverse the band limits of the WiFi channel and ZigBee channel divided, confirm the WiFi channel with
Whether the band limits of ZigBee channel has coincidence frequency range;
If the WiFi channel is not overlapped frequency range with the band limits of ZigBee channel, confirm the WiFi channel with
Channel confliction is not present in the ZigBee channel.
Optionally, described to traverse the band limits of the WiFi channel and ZigBee channel divided, described in confirmation
After the step of whether WiFi channel is overlapped frequency range with the band limits of ZigBee channel, further includes:
If the WiFi channel is overlapped frequency range with the band limits of ZigBee channel, the WiFi channel and institute are confirmed
Stating ZigBee channel, there are channel conflictions;
The prompt information of channel confliction is exported, to remind user to reconfigure the channel.
Optionally, if the WiFi channel is overlapped frequency range with the band limits of ZigBee channel, described in confirmation
WiFi channel and ZigBee channel the step of there are channel conflictions, further includes:
Confirmation is overlapped the channel bands of frequency range;
The prompt information of channel confliction is exported according to the channel bands for the coincidence frequency range having confirmed that.
Optionally, described when confirming that the channel confliction is not present in the WiFi channel and ZigBee channel, it saves
After the step of WiFi channel and ZigBee channel of configuration, further includes:
When detecting gateways and starting, that reads current ZigBee chip applies channel;
When confirming that the application channel and pre-set configurating channel are inconsistent, Xiang Suoshu ZigBee chip issues institute
State configurating channel.
Optionally, described when detecting gateways and starting, the step of applying channel of current ZigBee chip is read, is also wrapped
It includes:
Obtain pre-set WiFi channel;
The channel of current WiFi chip is modified with the WiFi channel of default setting.
In addition, to achieve the above object, the present invention also provides a kind of channel circumvention device, the channel circumvention device packet
Include: memory, processor are stored with the computer program that can be called by processor, the computer journey on the memory
Sequence realizes the step of channel bypassing method as described above when being executed by the processor.
The present invention also provides a kind of computer readable storage medium, channel is stored on the computer readable storage medium
Evade program, the channel evades the step of channel bypassing method as described above is realized when program is executed by processor.
A kind of channel bypassing method that the embodiment of the present invention proposes is operated according to current channel configuration, and acquisition currently may be used
Using the band limits of channel;The channel is divided into WiFi channel and ZigBee channel by the band limits, and really
Recognize whether the WiFi channel divided and ZigBee channel have channel confliction;Confirming the WiFi channel and ZigBee letter
When the channel confliction is not present in road, configured the WiFi channel and ZigBee channel are saved.The present invention is by currently may be used
ZigBee channel and WiFi channel, and the ZigBee letter in equipment starting to have divided are divided in advance with the band limits of channel
Road and WiFi channel are that ZigBee chip and WiFi chip carry out channel frequency configuration, realize and avoid device chip application channel
The conflict of frequency leads to device data loading error occurring, and then improves the beneficial effect of device data efficiency of transmission.
Detailed description of the invention
Fig. 1 be the hardware running environment that the embodiment of the present invention is related to terminal apparatus structure schematic diagram;
Fig. 2 is the flow diagram of channel bypassing method first embodiment 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.
The primary solutions of the embodiment of the present invention are: being operated according to current channel configuration, obtaining currently can be using letter
The band limits in road;The channel is divided into WiFi channel and ZigBee channel by the band limits, and confirms and has drawn
Whether the WiFi channel and ZigBee channel divided has channel confliction;It is not deposited in the confirmation WiFi channel and ZigBee channel
In the channel confliction, configured the WiFi channel and ZigBee channel are saved.
Due in the prior art, due to channel default application, can not intuitively confirm that ZigBee channel frequency is
It is no to conflict with WiFi channel frequency, thus lead to the case where data transmission fails occur in data transmission work, influences equipment
Data transmission efficiency.
The present invention provides a solution, by the band limits of currently available channel divide in advance ZigBee channel and
WiFi channel, and in equipment starting with the ZigBee channel and WiFi channel that have divided be ZigBee chip and WiFi chip into
The configuration of row channel frequency, realizes and the conflict of device chip application channel frequency is avoided to lead to device data loading error occurring, in turn
Improve the beneficial effect of device data efficiency of transmission.
As shown in Figure 1, Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
The terminal of that embodiment of the invention can be the end PC, be also possible to smart phone, tablet computer, E-book reader, just
Take the packaged types such as computer or irremovable formula terminal device.
As shown in Figure 1, the terminal may include: processor 1001, such as CPU, network interface 1004, user interface
1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components.
User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface
1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include that the wired of standard connects
Mouth, wireless interface (such as WI-FI interface).Memory 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 independently of aforementioned processor
1001 storage device.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 1, can wrap
It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium
Letter module, Subscriber Interface Module SIM and channel evade program.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, carries out with background server
Data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And processor
1001 can be used for that the channel stored in memory 1005 is called to evade program, and execute following operation:
It is operated according to current channel configuration, obtains the band limits that can currently apply channel;
The channel is divided into WiFi channel and ZigBee channel by the band limits, and confirms the institute divided
State whether WiFi channel and ZigBee channel have channel confliction;
When confirming that the channel confliction is not present in the WiFi channel and ZigBee channel, save configured described
WiFi channel and ZigBee channel.
Further, processor 1001 can call the channel stored in memory 1005 to evade program, also execute following
Operation:
Traverse the band limits of the WiFi channel and ZigBee channel divided, confirm the WiFi channel with
Whether the band limits of ZigBee channel has coincidence frequency range;
If the WiFi channel is not overlapped frequency range with the band limits of ZigBee channel, confirm the WiFi channel with
Channel confliction is not present in the ZigBee channel.
Further, processor 1001 can call the channel stored in memory 1005 to evade program, also execute following
Operation:
If the WiFi channel is overlapped frequency range with the band limits of ZigBee channel, the WiFi channel and institute are confirmed
Stating ZigBee channel, there are channel conflictions;
The prompt information of channel confliction is exported, to remind user to reconfigure the channel.
Further, processor 1001 can call the channel stored in memory 1005 to evade program, also execute following
Operation:
Confirmation is overlapped the channel bands of frequency range;
The prompt information of channel confliction is exported according to the channel bands for the coincidence frequency range having confirmed that.
Further, processor 1001 can call the channel stored in memory 1005 to evade program, also execute following
Operation:
When detecting gateways and starting, that reads current ZigBee chip applies channel;
When confirming that the application channel and pre-set configurating channel are inconsistent, Xiang Suoshu ZigBee chip issues institute
State configurating channel.
Further, processor 1001 can call the channel stored in memory 1005 to evade program, also execute following
Operation:
Obtain pre-set WiFi channel;
The channel of current WiFi chip is modified with the WiFi channel of default setting.
It is the flow diagram of channel bypassing method first embodiment of the present invention, the channel side of evading referring to Fig. 2, Fig. 2
Method includes:
Step S10 is operated according to current channel configuration, obtains the band limits that can currently apply channel;
Based on current equipment application, configure equipment applies channel.In this way, being obtained according to the equipment application of current device
Current device can apply the band limits of channel, and the band limits using channel is defined as current device and is realizing number
According to transmission when available channel channel bands range,
The channel is divided into WiFi channel and ZigBee channel by the band limits, and confirmed by step S20
Whether the WiFi channel and ZigBee channel divided has channel confliction;
According to the current band limits using channel currently got, according to the band limits by the channel
It is divided into WiFi channel and ZigBee channel, in practical applications, WiFi channel and ZigBee channel are provided with special channel
Frequency range, therefore, when dividing WiFi channel and ZigBee channel based on the band limits, with the range number of the band limits
Value divides the channel type.Since band limits is numerical information, if band limits is overlapped, then the frequency that equipment application is overlapped
Therefore the case where will lead to data transmission fails when section to avoid the channel bands of WiFi channel and ZigBee channel from being overlapped, needs
The WiFi channel and ZigBee channel that confirmation is divided according to band limits are with the presence or absence of channel confliction.Confirm the band limits
Band value whether be overlapped, in this way, described be divided into WiFi channel and ZigBee for the channel by the band limits
Channel, and confirm whether the WiFi channel divided and ZigBee channel have the step of channel confliction, further includes:
Traverse the band limits of the WiFi channel and ZigBee channel divided, confirm the WiFi channel with
Whether the band limits of ZigBee channel has coincidence frequency range;
If the WiFi channel is not overlapped frequency range with the band limits of ZigBee channel, confirm the WiFi channel with
Channel confliction is not present in the ZigBee channel.
According to the WiFi channel and ZigBee channel divided, the WiFi channel and ZigBee channel divided is traversed
Band limits, confirm whether the band limits of the WiFi channel is overlapped frequency range with the band limits of ZigBee channel, i.e.,
Whether the band value of overlapping is had.It is not present in the band limits of the band limits and ZigBee channel that confirm the WiFi channel
When the band value of overlapping, confirming the WiFi channel and the ZigBee channel, there is no channel conflictions, in this way, based on having drawn
The band information divided makes the chip of current device using the WiFi channel and ZigBee channel.
If the WiFi channel and ZigBee that that is, described traversal has divided are believed in addition, currently there is overlapped frequency bands numerical value
The band limits in road, after confirming the step of whether the WiFi channel is overlapped frequency range with the band limits of ZigBee channel,
Further include:
If the WiFi channel is overlapped frequency range with the band limits of ZigBee channel, the WiFi channel and institute are confirmed
Stating ZigBee channel, there are channel conflictions;
The prompt information of channel confliction is exported, to remind user to reconfigure the channel.
According to the WiFi channel and ZigBee channel divided, the WiFi channel and ZigBee channel divided is traversed
Band limits, confirm whether the band limits of the WiFi channel is overlapped frequency range with the band limits of ZigBee channel, i.e.,
Whether the band value of overlapping is had.There is weight in the band limits of the band limits and ZigBee channel that confirm the WiFi channel
When folded band value, confirming the WiFi channel, there are channel conflictions with the ZigBee channel, it is contemplated that current device
Data transfer demands export the prompt information of channel confliction, remind user to reconfigure the channel with the prompt information,
In, the prompt information is the prompt facility based on current division channel operation, may include prompt lattice in prompt facility
Formula, the prompt format, which may include, need to extract the band value etc. being currently overlapped, i.e., the content of prompt information includes working as preshoot
Prominent band value.If the i.e. described WiFi channel is overlapped frequency range with the band limits of ZigBee channel, described in confirmation
WiFi channel and ZigBee channel the step of there are channel conflictions, further includes:
Confirmation is overlapped the channel bands of frequency range;
The prompt information of channel confliction is exported according to the channel bands for the coincidence frequency range having confirmed that.
Based on the channel bands currently having confirmed that, confirmation is overlapped the band value of frequency range, according to the coincidence frequency range having confirmed that
Band value, generate the prompt information of channel confliction to prompt current setting user's present channel conflict, letter need to be re-started
The operation of road frequency allocation.
Step S30 is saved configured when confirming that the channel confliction is not present in the WiFi channel and ZigBee channel
The WiFi channel and ZigBee channel.
According to the channel bands of currently allocated WiFi channel and ZigBee channel, confirm the WiFi channel with
When channel confliction is not present in the ZigBee channel, the WiFi channel and ZigBee channel are saved to preset channel and matched
Set storage region.In this way, be based on stored configured channel bands, based on the configured frequency range make present terminal equipment into
Row data transfer operation, in this way, it is described when confirming that the channel confliction is not present in the WiFi channel and ZigBee channel, it protects
After the step of depositing the configured WiFi channel and ZigBee channel, further includes:
When detecting gateways and starting, that reads current ZigBee chip applies channel;
When confirming that the application channel and pre-set configurating channel are inconsistent, Xiang Suoshu ZigBee chip issues institute
State configurating channel.
Purpose is transmitted in current data transfer demands and data, starting gateway carries out network data transmission operation.In this way,
According to the gateway currently having been turned on, it is contemplated that data transmission terminal application, the ZigBee chip for reading current gateway connection are answered
Channel frequency.The channel frequency of the ZigBee chip application, when being connect for current gateway with ZigBee chip, default point
The channel frequency matched.According to the channel frequency of the ZigBee chip of the current connection gateway read, to guarantee data transmission behaviour
The case where making to avoid data transmission fails determine the channel frequency based on the channel frequency of the ZigBee chip current application
Whether rate and pre-set preset channel frequency are consistent, wherein the pre-set channel frequency is based on current data
The channel frequency that ZigBee chip carries out data transmission defined in transmission demand.
In the channel frequency and inconsistent preset channel frequency for the current ZigBee chip application that confirmation is got, due to
The preset channel frequency is that the WiFi application channel frequency based on current gateway connection is arranged, to avoid the ZigBee's
Current application channel frequency conflicts with WiFi application channel frequency influences data transfer operation, by the pre-set default letter
Road frequency is issued to the ZigBee chip, and the preset channel frequency for issuing the ZigBee chip application carries out data
Transmission operation.
In addition, the data transmission applications based on current device first look at the WiFi core of the equipment in equipment starting
The channel of piece, i.e., it is described when detecting gateways and starting, read the step of applying channel of current ZigBee chip, further includes:
Obtain pre-set WiFi channel;
The channel of current WiFi chip is modified with the WiFi channel of default setting.
The WiFi chip of the terminal device is read after equipment starting according to the terminal device currently having been turned on
WiFi channel, and it is whether consistent with the preconfigured channel bands of the terminal device based on WiFi channel confirmation.If no
Unanimously, then the channel of current WiFi chip, further, the channel of WiFi chip are modified with the configured WiFi channel
Confirmation operation is the confirmation operation that first secondary device starting of the equipment after having configured WiFi channel executes.
In the present embodiment, ZigBee channel and WiFi channel are divided by the band limits of currently available channel in advance, and
Channel frequency is carried out for ZigBee chip and WiFi chip with the ZigBee channel and WiFi channel that have divided in equipment starting
Configuration realizes and the conflict of device chip application channel frequency is avoided to lead to device data loading error occurring, and then improves number of devices
According to the beneficial effect of efficiency of transmission.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium
On be stored with channel and evade program, the channel, which is evaded, realizes following operation when program is executed by processor:
It is operated according to current channel configuration, obtains the band limits that can currently apply channel;
The channel is divided into WiFi channel and ZigBee channel by the band limits, and confirms the institute divided
State whether WiFi channel and ZigBee channel have channel confliction;
When confirming that the channel confliction is not present in the WiFi channel and ZigBee channel, save configured described
WiFi channel and ZigBee channel.
Further, the channel, which is evaded, also realizes following operation when program is executed by processor:
Traverse the band limits of the WiFi channel and ZigBee channel divided, confirm the WiFi channel with
Whether the band limits of ZigBee channel has coincidence frequency range;
If the WiFi channel is not overlapped frequency range with the band limits of ZigBee channel, confirm the WiFi channel with
Channel confliction is not present in the ZigBee channel.
Further, the channel, which is evaded, also realizes following operation when program is executed by processor:
If the WiFi channel is overlapped frequency range with the band limits of ZigBee channel, the WiFi channel and institute are confirmed
Stating ZigBee channel, there are channel conflictions;
The prompt information of channel confliction is exported, to remind user to reconfigure the channel.
Further, the channel, which is evaded, also realizes following operation when program is executed by processor:
Confirmation is overlapped the channel bands of frequency range;
The prompt information of channel confliction is exported according to the channel bands for the coincidence frequency range having confirmed that.
Further, the channel, which is evaded, also realizes following operation when program is executed by processor:
When detecting gateways and starting, that reads current ZigBee chip applies channel;
When confirming that the application channel and pre-set configurating channel are inconsistent, Xiang Suoshu ZigBee chip issues institute
State configurating channel.
Further, the channel, which is evaded, also realizes following operation when program is executed by processor:
Obtain pre-set WiFi channel;
The channel of current WiFi chip is modified with the WiFi channel of default setting.
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, drug 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, drug 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, drug 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 (8)
1. a kind of channel bypassing method, which is characterized in that the channel bypassing method the following steps are included:
It is operated according to current channel configuration, obtains the band limits that can currently apply channel;
The channel is divided into WiFi channel and ZigBee channel by the band limits, and confirm divided it is described
Whether WiFi channel and ZigBee channel have channel confliction;
When confirming that the channel confliction is not present in the WiFi channel and ZigBee channel, configured WiFi letter is saved
Road and ZigBee channel.
2. channel bypassing method as described in claim 1, which is characterized in that it is described by the band limits by the channel
It is divided into WiFi channel and ZigBee channel, and confirms whether the WiFi channel divided and ZigBee channel have channel punching
Prominent step, further includes:
The band limits for traversing the WiFi channel and ZigBee channel that have divided confirms that the WiFi channel and ZigBee are believed
Whether the band limits in road has coincidence frequency range;
If the WiFi channel is not overlapped frequency range with the band limits of ZigBee channel, confirm the WiFi channel with it is described
Channel confliction is not present in ZigBee channel.
3. channel bypassing method as claimed in claim 2, which is characterized in that it is described traverse the WiFi channel that has divided and
The band limits of ZigBee channel, confirms whether the WiFi channel has the step for being overlapped frequency range with the band limits of ZigBee channel
After rapid, further includes:
If the WiFi channel is overlapped frequency range with the band limits of ZigBee channel, confirm the WiFi channel with it is described
There are channel conflictions for ZigBee channel;
The prompt information of channel confliction is exported, to remind user to reconfigure the channel.
4. channel bypassing method as claimed in claim 3, which is characterized in that if the WiFi channel and ZigBee channel
Band limits have coincidence frequency range, then the step of confirming the WiFi channel and the ZigBee channel there are channel conflictions, also
Include:
Confirmation is overlapped the channel bands of frequency range;
The prompt information of channel confliction is exported according to the channel bands for the coincidence frequency range having confirmed that.
5. channel bypassing method as described in claim 1, which is characterized in that described to confirm the WiFi channel and ZigBee
When the channel confliction is not present in channel, after the step of saving the configured WiFi channel and ZigBee channel, also wrap
It includes:
When detecting gateways and starting, that reads current ZigBee chip applies channel;
When confirming that the application channel and pre-set configurating channel are inconsistent, Xiang Suoshu ZigBee chip issues described match
Confidence road.
6. channel bypassing method as claimed in claim 5, which is characterized in that described when detecting gateways and starting, reading is worked as
The step of application channel of preceding ZigBee chip, further includes:
Obtain pre-set WiFi channel;
The channel of current WiFi chip is modified with the WiFi channel of default setting.
7. a kind of channel circumvention device, which is characterized in that the channel circumvention device includes: memory, processor, the storage
It is stored with the computer program that can be called by processor on device, is realized such as when the computer program is executed by the processor
The step of channel bypassing method described in any one of claims 1 to 6.
8. a kind of computer readable storage medium, which is characterized in that be stored with channel rule on the computer readable storage medium
Program is kept away, the channel, which is evaded, to be realized when program is executed by processor as channel described in any one of claims 1 to 6 is evaded
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910827330.0A CN110536322B (en) | 2019-09-02 | 2019-09-02 | Channel avoidance method, device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910827330.0A CN110536322B (en) | 2019-09-02 | 2019-09-02 | Channel avoidance method, device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110536322A true CN110536322A (en) | 2019-12-03 |
CN110536322B CN110536322B (en) | 2023-04-14 |
Family
ID=68666398
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910827330.0A Active CN110536322B (en) | 2019-09-02 | 2019-09-02 | Channel avoidance method, device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110536322B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103517293A (en) * | 2012-06-29 | 2014-01-15 | 华为技术有限公司 | Anti-interference method and equipment of ZigBee network |
CN104968000A (en) * | 2015-06-19 | 2015-10-07 | 北京晶点科技有限公司 | Method of reducing mutual interference between ZigBee and WiFi in same equipment |
CN106358201A (en) * | 2016-09-26 | 2017-01-25 | 珠海格力电器股份有限公司 | Wireless communication method and device |
CN110113819A (en) * | 2019-04-02 | 2019-08-09 | 南京林业大学 | A kind of ZigBee node parallel transmission method based on Wifi communication |
-
2019
- 2019-09-02 CN CN201910827330.0A patent/CN110536322B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103517293A (en) * | 2012-06-29 | 2014-01-15 | 华为技术有限公司 | Anti-interference method and equipment of ZigBee network |
CN104968000A (en) * | 2015-06-19 | 2015-10-07 | 北京晶点科技有限公司 | Method of reducing mutual interference between ZigBee and WiFi in same equipment |
CN106358201A (en) * | 2016-09-26 | 2017-01-25 | 珠海格力电器股份有限公司 | Wireless communication method and device |
CN110113819A (en) * | 2019-04-02 | 2019-08-09 | 南京林业大学 | A kind of ZigBee node parallel transmission method based on Wifi communication |
Also Published As
Publication number | Publication date |
---|---|
CN110536322B (en) | 2023-04-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107766132B (en) | Multi-task scheduling method, application server and computer readable storage medium | |
US20130152069A1 (en) | Method, apparatus and system for initiating terminal operation | |
CN111181707B (en) | Data transmission method and communication device | |
CN105517083B (en) | A kind of method for switching network, device and terminal | |
CN106851779A (en) | A kind of method and mobile terminal for recognizing access point and focus | |
CN104968000A (en) | Method of reducing mutual interference between ZigBee and WiFi in same equipment | |
EP2963988A2 (en) | Method, device and terminal for mobile terminals to exchange user information | |
CN105898795A (en) | Method for realizing dual-mode coexistence on WIFI chip and electronic device | |
CN105578610A (en) | Channel access method and apparatus | |
CN108322437A (en) | For the adaptive communications method and apparatus between more stipulations equipment | |
CN109874048A (en) | The translucent display methods of video window component, device and computer equipment | |
US20230025780A1 (en) | Resource determining method and device | |
CN108255914B (en) | Webpage generation method and application server | |
CN107154835A (en) | The sending method and device of data | |
CN110536322A (en) | Channel bypassing method, device and computer readable storage medium | |
KR102312672B1 (en) | Method and Electronic Device for operating screen | |
CN103415085B (en) | A kind of automatic generation method of general MAC protocol processor | |
CN105684455A (en) | Video sharing method and system based on app | |
CN107844520A (en) | Electronic installation, vehicle data introduction method and storage medium | |
CN111740963A (en) | Data communication method and device | |
CN103259713B (en) | Message exchange system and method | |
CN102752753B (en) | A kind of method and mobile radio terminal of control ZigBee-network | |
JP2021510020A (en) | Wireless communication method and equipment | |
CN104954287A (en) | Internet speed limiting method and mobile terminal | |
CN109800229B (en) | Data access method and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |