CN108848510A - Method and apparatus, the storage medium for avoiding WIFI network and ZigBee-network from interfering with each other - Google Patents

Method and apparatus, the storage medium for avoiding WIFI network and ZigBee-network from interfering with each other Download PDF

Info

Publication number
CN108848510A
CN108848510A CN201810949248.0A CN201810949248A CN108848510A CN 108848510 A CN108848510 A CN 108848510A CN 201810949248 A CN201810949248 A CN 201810949248A CN 108848510 A CN108848510 A CN 108848510A
Authority
CN
China
Prior art keywords
equipment
zigbee
zigbee equipment
wifi
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810949248.0A
Other languages
Chinese (zh)
Inventor
韦大雕
周力科
时刚
王国彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Bincent Technology Co Ltd
Original Assignee
Shenzhen Bincent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Bincent Technology Co Ltd filed Critical Shenzhen Bincent Technology Co Ltd
Priority to CN201810949248.0A priority Critical patent/CN108848510A/en
Publication of CN108848510A publication Critical patent/CN108848510A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/14Spectrum sharing arrangements between different networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention is suitable for the anti-tampering technical field of network, provides a kind of method and apparatus for avoiding WIFI network and ZigBee-network from interfering with each other, storage medium.The present invention controls WIFI equipment pause receiving and transmitting signal by obtaining the starting time of ZigBee equipment, and control the interior starting on startup of ZigBee equipment in the transmission channel overlapping for the transmission channel and ZigBee equipment for determining WIFI equipment;And judge whether ZigBee equipment carries out packet sending and receiving processing, if, then obtain the process cycle that ZigBee equipment carries out packet sending and receiving processing, and after process cycle, control WIFI equipment work, and then it effectively avoids interfering with each other between WIFI network and ZigBee-network, and method is simple, practical.

Description

The method and apparatus that avoids WIFI network and ZigBee-network from interfering with each other, storage Medium
Technical field
The invention belongs to the anti-tampering technical fields of network more particularly to one kind to avoid WIFI network and ZigBee-network mutual Method and apparatus, the storage medium of interference.
Background technique
The equipment for being currently operating in 2.4GHZ frequency range is very more, such as WIFI equipment, in addition China's ZigBee licensed band Also in 2.4GHZ, will so make originally that just very crowded frequency range is more crowded so that WIFI network and Signal interference often occurs between ZigBee-network.In addition, if equipment distance is very close, especially two kinds of wireless modules are same When being present in the same equipment, above-mentioned interference is particularly evident.
Currently, in order to avoid this WIFI and ZigBee signal interference existed simultaneously in an equipment, the prior art Anti-interference Strategy is specified using the mode that software and hardware combines, however its solution is excessively complicated and not very practical.
Therefore, it is necessary to a kind of technical solution is provided, to solve the above technical problems.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of methods for avoiding WIFI network and ZigBee-network from interfering with each other With device, storage medium, it can effectively avoid and interfered with each other between WIFI network and ZigBee-network, and method is simple, practical Property is strong.
The first aspect of the embodiment of the present invention provides a kind of side for avoiding WIFI network and ZigBee-network from interfering with each other Method, the method includes:
After system start-up, the transmission channel of WIFI equipment and ZigBee equipment is obtained;
If the transmission channel of the WIFI equipment and the overlapping of the transmission channel of the ZigBee equipment, described in acquisition The starting time of ZigBee equipment, and control the ZigBee equipment and start within the starting time, while described in control WIFI equipment suspends receiving and transmitting signal;
Judge whether the ZigBee equipment carries out packet sending and receiving processing, is carried out if so, obtaining the ZigBee equipment The process cycle of packet sending and receiving processing, and after the process cycle, control the WIFI equipment work.
The second aspect of the embodiment of the present invention provides a kind of dress for avoiding WIFI network and ZigBee-network from interfering with each other It sets, described device includes:
Module is obtained, for after system start-up, obtaining the transmission channel of WIFI equipment and ZigBee equipment;
First control module, if for the transmission channel of the WIFI equipment and the transmission channel weight of the ZigBee equipment It is folded, then the starting time of the ZigBee equipment is obtained, and control the ZigBee equipment and start within the starting time, together When control WIFI equipment pause receiving and transmitting signal;
Second control module, for judging whether the ZigBee equipment carries out packet sending and receiving processing, if so, obtaining institute The process cycle that ZigBee equipment carries out packet sending and receiving processing is stated, and after the process cycle, controls the WIFI and sets Standby work.
The third aspect of the embodiment of the present invention provides a kind of dress for avoiding WIFI network and ZigBee-network from interfering with each other It sets, including memory, processor and stores the computer program that can be run in the memory and on the processor, The processor realizes the above-mentioned method for avoiding WIFI network and ZigBee-network from interfering with each other when executing the computer program The step of.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has a computer program, and the computer program is realized when being executed by processor above-mentioned avoids WIFI network and ZigBee The step of method that network interferes with each other.
Existing beneficial effect is the embodiment of the present invention compared with prior art:The present invention is by determining WIFI equipment When transmission channel and the transmission channel of ZigBee equipment are overlapped, the starting time of ZigBee equipment is obtained, and controls ZigBee and sets Standby starting interior on startup, while controlling WIFI equipment pause receiving and transmitting signal;And judge whether ZigBee equipment is reported Literary transmitting-receiving process if so, obtaining ZigBee equipment carries out the process cycle of packet sending and receiving processing, and terminates in process cycle Afterwards, control WIFI equipment work, and then effectively avoids interfering with each other between WIFI network and ZigBee-network, and method simply, It is practical.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the realization for the method for avoiding WIFI network and ZigBee-network from interfering with each other that the embodiment of the present invention one provides Flow diagram;
Fig. 2 is that the method provided by Embodiment 2 of the present invention for avoiding WIFI network and ZigBee-network from interfering with each other realizes stream Journey schematic diagram;
Fig. 3 is the structure for the device for avoiding WIFI network and ZigBee-network from interfering with each other that the embodiment of the present invention three provides Schematic diagram;
Fig. 4 is the structure for the device for avoiding WIFI network and ZigBee-network from interfering with each other that the embodiment of the present invention four provides Schematic diagram;
Fig. 5 is the structure for the device for avoiding WIFI network and ZigBee-network from interfering with each other that the embodiment of the present invention five provides Schematic diagram.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step, Operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
It is that a kind of of the offer of the embodiment of the present invention one avoids WIFI network and ZigBee-network from interfering with each other referring to Fig. 1 The schematic flow diagram of method.As shown in Figure 1, the method for avoiding WIFI network and ZigBee-network from interfering with each other may include following Step:
Step S11:After system start-up, the transmission channel of WIFI equipment and ZigBee equipment is obtained.
Wherein, in embodiments of the present invention, since WIFI equipment and ZigBee equipment can be true when creating network Itself fixed transmission channel, therefore, after system starting, the anti-tampering dress that avoids WIFI network and ZigBee-network from interfering with each other Transmission channel acquisition instruction can be sent to WIFI equipment and ZigBee equipment by setting, and WIFI equipment and ZigBee equipment are receiving After the channel acquisition instruction that interference preventer is sent, the transmission channel of itself can be sent to interference preventer, in order to anti- Countermeasure set can get the transmission channel of WIFI equipment and ZigBee equipment.
Step S12:If the transmission channel of the WIFI equipment and the overlapping of the transmission channel of the ZigBee equipment, obtain The starting time of the ZigBee equipment, and control the ZigBee equipment and start within the starting time, while controlling institute State WIFI equipment pause receiving and transmitting signal.
Wherein, in embodiments of the present invention, after the transmission channel that interference preventer gets WIFI equipment and ZigBee, Anti-tampering equipment needs compare the two, to judge whether the transmission channel of WIFI equipment is believed with the transmission of ZigBee equipment Road is identical, if the two is identical, needs to take anti-interference method, in case signal interference occurs for WIFI network and ZigBee-network.
Specifically, interference preventer obtains the starting time of ZigBee equipment, and ZigBee is controlled within the starting time Equipment starting, while controlling WIFI equipment within the starting time and suspending receiving and transmitting signal, that is to say, that within the starting period An equipment in WIFI equipment and ZigBee equipment is only allowed to work, and another then suspends receiving and transmitting signal, avoids sending out with this Raw network interferences.
It is worth noting that, being not necessarily to if the transmission channel of WIFI equipment and the transmission channel of ZigBee equipment be not identical Worry that network interferences occur for WIFI equipment and ZigBee equipment, that is to say, that WIFI equipment and ZigBee equipment can be in itself institutes The transmission channel at place carries out the signal transmission of any time.
Step S13:Judge whether the ZigBee equipment carries out packet sending and receiving processing, if so, obtaining the ZigBee Equipment carries out the process cycle of packet sending and receiving processing, and after the process cycle, controls the WIFI equipment work.
Wherein, in embodiments of the present invention, after ZigBee equipment starts, interference preventer needs to set ZigBee at this time Standby working condition is judged, to determine whether ZigBee equipment carries out packet sending and receiving processing, if ZigBee equipment is reported Literary transmitting-receiving process, network interferences occur for ZigBee equipment and WIFI equipment in order to prevent, and interference preventer obtains ZigBee at this time Process cycle of the equipment when carrying out packet sending and receiving processing controls WIFI equipment within the period and suspends receiving and transmitting signal, and at this WIFI equipment work is controlled after end cycle, that is, restarts receiving and transmitting signal.
It should be noted that in embodiments of the present invention, the process cycle that ZigBee equipment carries out packet sending and receiving processing refers to The time that be ZigBee equipment send message to external equipment and external equipment in the message for receiving ZigBee equipment and sending Backward ZigBee equipment carries out the sum of the time of information feedback, and the process cycle is not to influence the normal work of WIFI equipment For criterion;In addition, WIFI equipment is not necessarily to suspend receiving and transmitting signal if ZigBee equipment does not need to carry out packet sending and receiving processing, because Interference preventer can control WIFI equipment work at this time for this.
In the present embodiment, the present invention passes through the transmission channel in the transmission channel and ZigBee equipment that determine WIFI equipment When overlapping, the starting time of ZigBee equipment is obtained, and controls the interior starting on startup of ZigBee equipment, while controlling WIFI Equipment suspends receiving and transmitting signal;And judge whether ZigBee equipment carries out packet sending and receiving processing, if so, obtaining ZigBee equipment The process cycle of packet sending and receiving processing is carried out, and after process cycle, control WIFI equipment work, and then effectively avoid It is interfered with each other between WIFI network and ZigBee-network, and method is simple, practical.
Referring to fig. 2, provided by Embodiment 2 of the present invention a kind of WIFI network and ZigBee-network to be avoided to interfere with each other The schematic flow diagram of method.As shown in Fig. 2, the method for avoiding WIFI network and ZigBee-network from interfering with each other may include following Step:
Step S21:After system start-up, the transmission channel of WIFI equipment and ZigBee equipment is obtained.
Wherein, in embodiments of the present invention, since WIFI equipment and ZigBee equipment can be true when creating network Itself fixed transmission channel, therefore, after system starting, the anti-tampering dress that avoids WIFI network and ZigBee-network from interfering with each other Transmission channel acquisition instruction can be sent to WIFI equipment and ZigBee equipment by setting, and WIFI equipment and ZigBee equipment are receiving After the channel acquisition instruction that interference preventer is sent, the transmission channel of itself can be sent to interference preventer, in order to anti- Countermeasure set can get the transmission channel of WIFI equipment and ZigBee equipment.
Step S22:If the transmission channel of the WIFI equipment and the overlapping of the transmission channel of the ZigBee equipment, obtain The starting time of the ZigBee equipment, and control the ZigBee equipment and start within the starting time, while controlling institute State WIFI equipment pause receiving and transmitting signal.
Wherein, in embodiments of the present invention, after the transmission channel that interference preventer gets WIFI equipment and ZigBee, Anti-tampering equipment needs compare the two, to judge whether the transmission channel of WIFI equipment is believed with the transmission of ZigBee equipment Road is identical, if the two is identical, needs to take anti-interference method, in case signal interference occurs for WIFI network and ZigBee-network.
Specifically, interference preventer obtains the starting time of ZigBee equipment, and ZigBee is controlled within the starting time Equipment starting, while controlling WIFI equipment within the starting time and suspending receiving and transmitting signal, that is to say, that within the starting period An equipment in WIFI equipment and ZigBee equipment is only allowed to work, and another then suspends receiving and transmitting signal, avoids sending out with this Raw network interferences.
It is worth noting that, being not necessarily to if the transmission channel of WIFI equipment and the transmission channel of ZigBee equipment be not identical Worry that network interferences occur for WIFI equipment and ZigBee equipment, that is to say, that WIFI equipment and ZigBee equipment can be in itself institutes The transmission channel at place carries out the signal transmission of any time.
Further, the starting time of acquisition ZigBee equipment is specially in step S22:
When obtaining the ZigBee equipment transmission minimum message, the size and the ZigBee equipment of the minimum message Signaling rate;
The ZigBee is obtained according to the signaling rate of the size of the minimum message and the ZigBee equipment The starting time of equipment.
Wherein, in embodiments of the present invention, the minimum message that ZigBee equipment is sent refers to that ZigBee equipment is permitted Perhaps, transmissible minimum message.
The size of minimum message be allowed to by ZigBee equipment, transmissible can pass through the report minimum message Attribute is learnt and ZigBee equipment send speed can be according to ZigBee equipment self attributes when sending the minimum message Learn, therefore when interference preventer is getting ZigBee equipment and sends minimum message, the size of the minimum message and After the signaling rate of ZigBee equipment, interference preventer can be according to the signaling rate and minimum of ZigBee equipment The quotient of both sizes of message obtains the starting time of ZigBee equipment.
Step S23:Judge whether the ZigBee equipment carries out packet sending and receiving processing, if so, obtaining the ZigBee Equipment carries out the process cycle of packet sending and receiving processing, and after the process cycle, controls the WIFI equipment work.
Wherein, in embodiments of the present invention, after ZigBee equipment starts, interference preventer needs to set ZigBee at this time Standby working condition is judged, to determine whether ZigBee equipment carries out packet sending and receiving processing, if ZigBee equipment is reported Literary transmitting-receiving process, network interferences occur for ZigBee equipment and WIFI equipment in order to prevent, and interference preventer obtains ZigBee at this time Process cycle of the equipment when carrying out packet sending and receiving processing controls WIFI equipment within the period and suspends receiving and transmitting signal, and at this WIFI equipment work is controlled after end cycle.
It should be noted that in embodiments of the present invention, the process cycle that ZigBee equipment carries out packet sending and receiving processing refers to The time that be ZigBee equipment send message to external equipment and external equipment in the message for receiving ZigBee equipment and sending Backward ZigBee equipment carries out the sum of the time of information feedback, and the process cycle is not to influence the normal work of WIFI equipment For criterion;In addition, WIFI equipment is not necessarily to suspend receiving and transmitting signal if ZigBee equipment does not need to carry out packet sending and receiving processing, because Interference preventer can control WIFI equipment work at this time for this.
Further, the process cycle of acquisition ZigBee equipment progress packet sending and receiving processing is specially in step S23:
Obtain the ZigBee equipment sent when packet sending and receiving processing the size of message, receive message size and The signaling rate of the ZigBee equipment;
The ZigBee is obtained according to the signaling rate of the size for sending message and the ZigBee equipment to set Preparation deliver newspaper text when first time;
The ZigBee is obtained according to the signaling rate of the size for receiving message and the ZigBee equipment to set The second time when standby reception message;
It is calculated when the ZigBee equipment carries out packet sending and receiving processing according to the first time and second time Process cycle.
Wherein, in embodiments of the present invention, by ZigBee equipment transmitted by message size and received packet Size can learn by the attribute of the transmission or received message, therefore, when ZigBee equipment send message or When receiving message, message size can be searched in the message of transmission or the attribute information of received message, to obtain Message transmitted by it and received message size;It should be noted that when ZigBee equipment application is in different scenes When, transmitted by message or received message size be not quite similar.
Further, when ZigBee equipment send message or receive message when, send message speed and reception The speed of message can be learnt according to the attribute of ZigBee equipment, therefore, sent when anti-tampering equipment gets ZigBee equipment After speed when message and speed when receiving message, can the message according to transmitted by ZigBee equipment size and transmission The quotient of speed between the two when the message get at the first time, and according to ZigBee equipment received message it is big Quotient between the small speed with when receiving the message obtained for the second time, and then was obtained according to the sum of first time and second time Take process cycle of the ZigBee equipment equipment when carrying out packet sending and receiving processing.
It should be noted that usually ZigBee equipment the time it takes when sending message is spent with when receiving message Time it is identical, therefore, after first time of the interference preventer when getting ZigBee equipment and sending message, when can be to this Between carry out diplodization, be process cycle of the ZigBee equipment when carrying out packet sending and receiving processing with the time that this is obtained.
Step S24:During the ZigBee equipment carries out packet sending and receiving processing, in real time to the ZigBee equipment Packet sending and receiving treatment progress detected.
Wherein, in embodiments of the present invention, due to interference preventer obtain ZigBee equipment transmission message time and There may be different degrees of error when receiving message time, therefore in order to ensure carrying out at packet sending and receiving in ZigBee equipment During reason, when transmitting-receiving process end cycle, the packet sending and receiving processing of ZigBee equipment equally terminates, and interference preventer is answered The packet sending and receiving treatment progress of ZigBee equipment is monitored in real time, after preventing transmitting-receiving process end cycle, ZigBee is set Standby packet sending and receiving treatment progress is not over.
Step S25:If the packet sending and receiving treatment progress of the ZigBee equipment is not tied yet after the process cycle Beam then reserves preset time for the ZigBee equipment, and the WIFI equipment pause is persistently controlled in the preset time Receiving and transmitting signal;Wherein, the preset time is to ensure that the ZigBee equipment executes unclosed packet sending and receiving treatment progress The time finished.
Wherein, in embodiments of the present invention, when interference preventer monitors after process cycle, ZigBee equipment Packet sending and receiving treatment progress is not over yet, and network interferences occur for ZigBee equipment and WIFI equipment in order to prevent, anti-tampering at this time Device needs the packet sending and receiving for ZigBee equipment to handle the reserved regular hour, to ensure ZigBee equipment by unclosed report Literary transmitting-receiving process is finished, while in this is set aside some time, and interference preventer persistently controls WIFI equipment pause transmitting-receiving Signal.
Further, which further includes:
In the WIFI equipment or the ZigBee equipment course of work, triggering system closedown operation is detected whether, if System closedown operation is triggered, then controls the WIFI equipment or ZigBee equipment pause receiving and transmitting signal.
Wherein, in embodiments of the present invention, it is either working in WIFI equipment or ZigBee equipment is just in work Make, interference preventer monitors system in real time, if detecting system closedown, interference preventer should control WIFI and set at this time Standby or ZigBee equipment suspends receiving and transmitting signal, if not detecting system closedown, interference preventer will be returned to step S23 into Row cycle operation.
In the present embodiment, the present invention passes through the transmission channel in the transmission channel and ZigBee equipment that determine WIFI equipment When overlapping, the starting time of ZigBee equipment is obtained, and controls the interior starting on startup of ZigBee equipment, while controlling WIFI Equipment suspends receiving and transmitting signal;And judge whether ZigBee equipment carries out packet sending and receiving processing, if so, obtaining ZigBee equipment The process cycle of packet sending and receiving processing is carried out, and after process cycle, control WIFI equipment work, and then effectively avoid It is interfered with each other between WIFI network and ZigBee-network, and method is simple, practical.
In addition, in the present embodiment, the present invention is terminated by that ought detect in process cycle, and the message of ZigBee equipment It is the packet sending and receiving processing reserved regular hour of ZigBee equipment, and when this is reserved when transmitting-receiving process process is not over yet Interior control WIFI equipment suspends receiving and transmitting signal, executed ensuring that ZigBee equipment handles unclosed packet sending and receiving While finishing, it can effectively prevent ZigBee equipment and WIFI equipment that network interferences occur.
It is the device 3 for avoiding WIFI network and ZigBee-network from interfering with each other that the embodiment of the present invention three provides referring to Fig. 3 Schematic block diagram.The device 3 provided in an embodiment of the present invention for avoiding WIFI network and ZigBee-network from interfering with each other includes Each module is used to execute each step in the corresponding embodiment of Fig. 1, referring specifically in the corresponding embodiment of Fig. 1 and Fig. 1 Associated description, details are not described herein again.The dress provided in an embodiment of the present invention for avoiding WIFI network and ZigBee-network from interfering with each other Setting 3 includes obtaining module 31, the first control module 32 and the second control module 33.
Wherein, module 31 is obtained, for after system start-up, obtaining the transmission channel of WIFI equipment and ZigBee equipment.
First control module 32, if for the transmission channel of WIFI equipment and the transmission channel overlapping of ZigBee equipment, The starting time of ZigBee equipment is obtained, and controls the interior starting on startup of ZigBee equipment, while it is temporary to control WIFI equipment Suspend signalling.
Second control module 33, for judging whether ZigBee equipment carries out packet sending and receiving processing, if so, obtaining ZigBee equipment carries out the process cycle of packet sending and receiving processing, and after process cycle, control WIFI equipment work.
In the present embodiment, the device 3 for avoiding WIFI network and ZigBee-network from interfering with each other is by determining that WIFI sets When the transmission channel overlapping of standby transmission channel and ZigBee equipment, the starting time of ZigBee equipment is obtained, and control The interior starting on startup of ZigBee equipment, while controlling WIFI equipment pause receiving and transmitting signal;And judge that ZigBee equipment is No progress packet sending and receiving processing, if so, obtaining the process cycle that ZigBee equipment carries out packet sending and receiving processing, and in processing week After phase, control WIFI equipment work, and then effectively avoid interfering with each other between WIFI network and ZigBee-network, and method Simply, practical.
It referring to fig. 4, is the device 4 for avoiding WIFI network and ZigBee-network from interfering with each other of the offer of the embodiment of the present invention four Schematic block diagram.The device 4 provided in an embodiment of the present invention for avoiding WIFI network and ZigBee-network from interfering with each other includes Each module is used to execute each step in the corresponding embodiment of Fig. 2, referring specifically in the corresponding embodiment of Fig. 2 and Fig. 2 Associated description, details are not described herein again.The dress provided in an embodiment of the present invention for avoiding WIFI network and ZigBee-network from interfering with each other Setting 4 includes obtaining module 41, the first control module 42, the second control module 43, detection module 44 and reserved module 45.
Wherein, module 41 is obtained, for after system start-up, obtaining the transmission channel of WIFI equipment and ZigBee equipment.
First control module 42, if for the transmission channel of WIFI equipment and the transmission channel overlapping of ZigBee equipment, The starting time of ZigBee equipment is obtained, and controls the interior starting on startup of ZigBee equipment, while it is temporary to control WIFI equipment Suspend signalling.
Second control module 43, for judging whether ZigBee equipment carries out packet sending and receiving processing, if so, obtaining ZigBee equipment carries out the process cycle of packet sending and receiving processing, and after process cycle, control WIFI equipment work.
Detection module 44 is used for during ZigBee equipment carries out packet sending and receiving processing, in real time to ZigBee equipment Packet sending and receiving treatment progress detected;
Reserved module 45, if for after process cycle, the packet sending and receiving treatment progress of ZigBee equipment not to be tied yet Beam then reserves preset time for ZigBee equipment, and persistently control WIFI equipment suspends receiving and transmitting signal within a preset time;Its In, preset time is the time for ensuring ZigBee equipment and unclosed packet sending and receiving treatment progress being finished.
Further, when the first control module 42 is specifically used for obtaining ZigBee equipment transmission minimum message, minimum message Size and ZigBee equipment signaling rate;It is sent according to the signal of the size of minimum message and ZigBee equipment The starting time of rate acquisition ZigBee equipment.
Further, the second control module 43 is specifically used for obtaining transmission when ZigBee equipment carries out packet sending and receiving processing and reports The signaling rate of the size of text, the size for receiving message and ZigBee equipment;According to send message size with The signaling rate of ZigBee equipment obtains first time when ZigBee equipment sends message;According to the size for receiving message The second time when ZigBee equipment receives message is obtained with the signaling rate of ZigBee equipment;According at the first time and the Two times calculated process cycle when ZigBee equipment carries out packet sending and receiving processing.
Further, the device 4 for avoiding WIFI network and ZigBee-network from interfering with each other further includes shutdown detection module.
Wherein, shutdown detection module is used in WIFI equipment or the ZigBee equipment course of work, detects whether triggering system Power-off operation of uniting controls WIFI equipment or ZigBee equipment pause receiving and transmitting signal if triggering system closedown operation.
In the present embodiment, the device 4 for avoiding WIFI network and ZigBee-network from interfering with each other is by determining that WIFI sets When the transmission channel overlapping of standby transmission channel and ZigBee equipment, the starting time of ZigBee equipment is obtained, and control The interior starting on startup of ZigBee equipment, while controlling WIFI equipment pause receiving and transmitting signal;And judge that ZigBee equipment is No progress packet sending and receiving processing, if so, obtaining the process cycle that ZigBee equipment carries out packet sending and receiving processing, and in processing week After phase, control WIFI equipment work, and then effectively avoid interfering with each other between WIFI network and ZigBee-network, and method Simply, practical.
In addition, in the present embodiment, the device 4 for avoiding WIFI network and ZigBee-network from interfering with each other, which passes through to work as, to be detected Terminate in process cycle, and when the packet sending and receiving treatment progress of ZigBee equipment is not over yet, it is that the message of ZigBee equipment is received Hair handles the reserved regular hour, and suspends receiving and transmitting signal in the interior control WIFI equipment of setting aside some time, and is ensuring that ZigBee sets While for unclosed packet sending and receiving processing is finished, ZigBee equipment and WIFI equipment can be effectively prevent to occur Network interferences.
Fig. 5 is showing for the device 5 for avoiding WIFI network and ZigBee-network from interfering with each other that the embodiment of the present invention five provides It is intended to.As shown in figure 5, the device 5 for avoiding WIFI network and ZigBee-network from interfering with each other of the embodiment includes:Processor 50, memory 51 and the computer program 52 that can be run in the memory 51 and on the processor 50, example are stored in The method program for such as avoiding WIFI network and ZigBee-network from interfering with each other.The processor 50 executes the computer program 52 Step in the above-mentioned each embodiment of the method for avoiding WIFI network and ZigBee-network from interfering with each other of Shi Shixian, such as Fig. 1 institute The step 11 shown is to 13 or step 21 shown in Fig. 2 to 25.Alternatively, the processor 50 executes the computer program 52 The function of each module/unit in the above-mentioned each Installation practice of Shi Shixian, such as the function or such as figure of module 31 to 33 shown in Fig. 3 The function of module 41 to 45 shown in 4.
Illustratively, the computer program 52 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 51, and are executed by the processor 50, to complete the present invention.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for Execution of the computer program 52 in the device 5 for avoiding WIFI network and ZigBee-network from interfering with each other is described Journey.For example, the computer program 52 can be divided into obtain module, the first control module and the second control module or It is divided into and obtains module, the first control module, the second control module, detection module and reserved module (the virtual mould in device Block), each module concrete function is as follows:
Module is obtained, for after system start-up, obtaining the transmission channel of WIFI equipment and ZigBee equipment.
First control module, if being obtained for the transmission channel of WIFI equipment and the transmission channel overlapping of ZigBee equipment The starting time of ZigBee equipment is taken, and controls the interior starting on startup of ZigBee equipment, while controlling WIFI equipment pause Receiving and transmitting signal.
Second control module, for judging whether ZigBee equipment carries out packet sending and receiving processing, if so, obtaining ZigBee Equipment carries out the process cycle of packet sending and receiving processing, and after process cycle, control WIFI equipment work.Or
Module is obtained, for after system start-up, obtaining the transmission channel of WIFI equipment and ZigBee equipment.
First control module, if being obtained for the transmission channel of WIFI equipment and the transmission channel overlapping of ZigBee equipment The starting time of ZigBee equipment is taken, and controls the interior starting on startup of ZigBee equipment, while controlling WIFI equipment pause Receiving and transmitting signal.
Second control module, for judging whether ZigBee equipment carries out packet sending and receiving processing, if so, obtaining ZigBee Equipment carries out the process cycle of packet sending and receiving processing, and after process cycle, control WIFI equipment work.
Detection module is used for during ZigBee equipment carries out packet sending and receiving processing, in real time to ZigBee equipment Packet sending and receiving treatment progress is detected;
Reserved module, if for after process cycle, the packet sending and receiving treatment progress of ZigBee equipment to be not over yet, Preset time then is reserved for ZigBee equipment, and persistently control WIFI equipment suspends receiving and transmitting signal within a preset time;Wherein, in advance If the time is the time for ensuring ZigBee equipment and unclosed packet sending and receiving treatment progress being finished.
Further, when the first control module is specifically used for obtaining ZigBee equipment transmission minimum message, minimum message The signaling rate of size and ZigBee equipment;Speed is sent according to the signal of the size of minimum message and ZigBee equipment The starting time of rate acquisition ZigBee equipment.
Further, the second control module is specifically used for sending message when obtaining the progress packet sending and receiving processing of ZigBee equipment Size, receive message size and ZigBee equipment signaling rate;According to the size and ZigBee for sending message The signaling rate of equipment obtains first time when ZigBee equipment sends message;According to receive message size with The signaling rate of ZigBee equipment obtains the second time when ZigBee equipment receives message;According to first time and second Time calculates process cycle when ZigBee equipment carries out packet sending and receiving processing.
Further, the device for avoiding WIFI network and ZigBee-network from interfering with each other further includes shutdown detection module.
Wherein, shutdown detection module is used in WIFI equipment or the ZigBee equipment course of work, detects whether triggering system Power-off operation of uniting controls WIFI equipment or ZigBee equipment pause receiving and transmitting signal if triggering system closedown operation.
The device 5 for avoiding WIFI network and ZigBee-network from interfering with each other can be various processors, be also possible to A module inside processor.The device 5 for avoiding WIFI network and ZigBee-network from interfering with each other may include, but not only It is limited to, processor 50, memory 51.It will be understood by those skilled in the art that Fig. 5 is only to avoid WIFI network and ZigBee net The example for the device 5 that network interferes with each other, does not constitute the limit to the device 5 for avoiding WIFI network and ZigBee-network from interfering with each other It is fixed, it may include perhaps combining certain components or different components than illustrating more or fewer components, such as described keep away Exempt from WIFI network and device 5 that ZigBee-network interferes with each other can also include input-output equipment, network access equipment, bus Deng.
Alleged processor 50 can be micro-control unit (Micro controller Unit, MCU), central processing unit (Central Processing Unit, CPU), can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at Reason device is also possible to any conventional processor etc..
It deposits the inside that the memory 51 can be the device 5 for avoiding WIFI network and ZigBee-network from interfering with each other Storage unit, such as the hard disk or memory of the device 5 that avoids WIFI network and ZigBee-network from interfering with each other.The memory 51 It can be the External memory equipment of the device 5 for avoiding WIFI network and ZigBee-network from interfering with each other, such as described avoid The plug-in type hard disk being equipped on the device 5 that WIFI network and ZigBee-network interfere with each other, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..
Further, the memory 51 both can also avoid WIFI network and ZigBee-network from interfering with each other including described The internal storage unit of device 5 also include External memory equipment.The memory 51 for store the computer program with And other programs and data needed for the device 5 for avoiding WIFI network and ZigBee-network from interfering with each other.The memory 51 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program Code can be source code form, object identification code form, executable file or certain intermediate forms etc..Computer-readable Jie Matter may include:Can carry the computer program code any entity or device, recording medium, USB flash disk, mobile hard disk, Magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and Telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that:It still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of method for avoiding WIFI network and ZigBee-network from interfering with each other, which is characterized in that the method includes:
After system start-up, the transmission channel of WIFI equipment and ZigBee equipment is obtained;
If the transmission channel of the WIFI equipment and the overlapping of the transmission channel of the ZigBee equipment, obtain the ZigBee and set The standby starting time, and control the ZigBee equipment and start within the starting time, while it is temporary to control the WIFI equipment Suspend signalling;
Judge whether the ZigBee equipment carries out packet sending and receiving processing, if so, obtaining the ZigBee equipment carries out message The process cycle of transmitting-receiving process, and after the process cycle, control the WIFI equipment work.
2. the method according to claim 1, wherein the starting time packet for obtaining the ZigBee equipment It includes:
When obtaining the ZigBee equipment transmission minimum message, the minimum size of message and the letter of the ZigBee equipment Number transmission rate;
The ZigBee equipment is obtained according to the signaling rate of the size of the minimum message and the ZigBee equipment The starting time.
3. the method according to claim 1, wherein described obtain at the ZigBee equipment progress packet sending and receiving The process cycle of reason includes:
The ZigBee equipment is obtained send when packet sending and receiving processing the size of message, receive the size of message and described The signaling rate of ZigBee equipment;
The ZigBee equipment is obtained according to the signaling rate of the size for sending message and the ZigBee equipment to send out Deliver newspaper text when first time;
The ZigBee equipment is obtained according to the signaling rate of the size for receiving message and the ZigBee equipment to connect The second time when receiving text;
The processing when ZigBee equipment carries out packet sending and receiving processing is calculated according to the first time and second time Period.
4. method according to any one of claims 1 to 3, which is characterized in that the method also includes:
The ZigBee equipment carry out packet sending and receiving processing during, in real time to the packet sending and receiving of the ZigBee equipment at Reason process is detected;
It is then described if the packet sending and receiving treatment progress of the ZigBee equipment is not over yet after the process cycle ZigBee equipment reserves preset time, and the WIFI equipment pause receiving and transmitting signal is persistently controlled in the preset time;Its In, the preset time is the time for ensuring the ZigBee equipment and unclosed packet sending and receiving treatment progress being finished.
5. method according to any one of claims 1 to 3, which is characterized in that the method also includes:
In the WIFI equipment or the ZigBee equipment course of work, triggering system closedown operation is detected whether, if triggering System closedown operation then controls the WIFI equipment or ZigBee equipment pause receiving and transmitting signal.
6. a kind of device for avoiding WIFI network and ZigBee-network from interfering with each other, which is characterized in that described device includes:
Module is obtained, for after system start-up, obtaining the transmission channel of WIFI equipment and ZigBee equipment;
First control module, if for the transmission channel of the WIFI equipment and the transmission channel overlapping of the ZigBee equipment, The starting time of the ZigBee equipment is then obtained, and controls the ZigBee equipment and starts within the starting time, simultaneously Control the WIFI equipment pause receiving and transmitting signal;
Second control module, for judging whether the ZigBee equipment carries out packet sending and receiving processing, if so, described in obtaining ZigBee equipment carries out the process cycle of packet sending and receiving processing, and after the process cycle, controls the WIFI equipment Work.
7. device according to claim 6, which is characterized in that first control module is specifically used for:
When obtaining the ZigBee equipment transmission minimum message, the minimum size of message and the letter of the ZigBee equipment Number transmission rate;
The ZigBee equipment is obtained according to the signaling rate of the size of the minimum message and the ZigBee equipment The starting time.
8. device according to claim 6, which is characterized in that second control module is specifically used for:
The ZigBee equipment is obtained send when packet sending and receiving processing the size of message, receive the size of message and described The signaling rate of ZigBee equipment;
The ZigBee equipment is obtained according to the signaling rate of the size for sending message and the ZigBee equipment to send out Deliver newspaper text when first time;
The ZigBee equipment is obtained according to the signaling rate of the size for receiving message and the ZigBee equipment to connect The second time when receiving text;
The processing when ZigBee equipment carries out packet sending and receiving processing is calculated according to the first time and second time Period.
9. a kind of device for avoiding WIFI network and ZigBee-network from interfering with each other, including memory, processor and it is stored in In the memory and the computer program that can run on the processor, which is characterized in that described in the processor executes When computer program realize as it is described in any one of claim 1 to 5 avoid WIFI network and ZigBee-network from interfering with each other The step of method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In, when the computer program is executed by processor realize as it is described in any one of claim 1 to 5 avoid WIFI network and The step of method that ZigBee-network interferes with each other.
CN201810949248.0A 2018-08-20 2018-08-20 Method and apparatus, the storage medium for avoiding WIFI network and ZigBee-network from interfering with each other Pending CN108848510A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810949248.0A CN108848510A (en) 2018-08-20 2018-08-20 Method and apparatus, the storage medium for avoiding WIFI network and ZigBee-network from interfering with each other

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810949248.0A CN108848510A (en) 2018-08-20 2018-08-20 Method and apparatus, the storage medium for avoiding WIFI network and ZigBee-network from interfering with each other

Publications (1)

Publication Number Publication Date
CN108848510A true CN108848510A (en) 2018-11-20

Family

ID=64188781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810949248.0A Pending CN108848510A (en) 2018-08-20 2018-08-20 Method and apparatus, the storage medium for avoiding WIFI network and ZigBee-network from interfering with each other

Country Status (1)

Country Link
CN (1) CN108848510A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111385801A (en) * 2018-12-27 2020-07-07 创发信息科技(苏州)有限公司 Wireless communication system and wireless communication method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079222A (en) * 2013-01-10 2013-05-01 上海交通大学 Optimization method for eliminating ZigBee interference in WiFi (wireless fidelity) communication
CN104968000A (en) * 2015-06-19 2015-10-07 北京晶点科技有限公司 Method of reducing mutual interference between ZigBee and WiFi in same equipment
US20160203706A1 (en) * 2013-08-20 2016-07-14 Philips Lighting Holding B.V. Device control via mixed radio systems
CN106851777A (en) * 2015-12-07 2017-06-13 南京物联传感技术有限公司 The method that WiFi mutually coexists with Zigbee signals
CN107438020A (en) * 2016-05-27 2017-12-05 华为终端(东莞)有限公司 A kind of data transmission method and smart home control device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079222A (en) * 2013-01-10 2013-05-01 上海交通大学 Optimization method for eliminating ZigBee interference in WiFi (wireless fidelity) communication
US20160203706A1 (en) * 2013-08-20 2016-07-14 Philips Lighting Holding B.V. Device control via mixed radio systems
CN104968000A (en) * 2015-06-19 2015-10-07 北京晶点科技有限公司 Method of reducing mutual interference between ZigBee and WiFi in same equipment
CN106851777A (en) * 2015-12-07 2017-06-13 南京物联传感技术有限公司 The method that WiFi mutually coexists with Zigbee signals
CN107438020A (en) * 2016-05-27 2017-12-05 华为终端(东莞)有限公司 A kind of data transmission method and smart home control device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111385801A (en) * 2018-12-27 2020-07-07 创发信息科技(苏州)有限公司 Wireless communication system and wireless communication method
CN111385801B (en) * 2018-12-27 2024-05-14 达发科技(苏州)有限公司 Wireless communication system and wireless communication method

Similar Documents

Publication Publication Date Title
CN104613607B (en) Data interactive method and device and air-conditioner control system
KR20210155385A (en) An electronic device performing ranging through UWB and an operating method of the electronic device
CN107404740B (en) Method for switching network, device and the terminal device of safety
CN103345422B (en) A kind of multithreading hard real-time control method based on Linux
CN102840992B (en) Satellite-borne self-testing method based on satellite network
CN107977302B (en) CPU utilization rate output method and device
CN108052094A (en) A kind of extension card identification method, device and frequency converter
CN103281261A (en) Ethernet communication method and Ethernet communication system
CN104035901A (en) TTCAN bus timing and data transmitting method
CN108683528A (en) A kind of data transmission method, central server, server and data transmission system
CN109963325A (en) A kind of localization method based on base station, device and equipment
CN108777862A (en) A kind of blue-tooth transmission method, bluetooth controller and bluetooth equipment
CN108848510A (en) Method and apparatus, the storage medium for avoiding WIFI network and ZigBee-network from interfering with each other
CN107172708B (en) The configuration method and configuration device of PUCCH resource under a kind of polymerization of carrier wave
CN110405750A (en) A kind of motion control method of robot, device and robot
CN106557362A (en) It is applied to the task immigration method and system of intelligent robot
CN107332739B (en) Network detecting method, network detection device and intelligent terminal
CN109462646A (en) A kind of method and apparatus of exception response
CN107919993A (en) A kind of alert processing method and system
CN109991967A (en) A kind of control method of robot motion, system and terminal device
CN105210427B (en) The method and relevant device for determining configuration parameter, sending scheduling request
CN109901551A (en) Information acquisition method, information acquisition device and the terminal device of industrial control equipment
CN104902581B (en) Wireless connection control method, apparatus and terminal device
CN103220187B (en) A kind of detection method of three layer interface states and device
CN106559861B (en) Bluetooth equipment data transmission method and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181120