CN109617636A - Anti-interference method, system, user equipment and the storage medium of WIFI equipment - Google Patents

Anti-interference method, system, user equipment and the storage medium of WIFI equipment Download PDF

Info

Publication number
CN109617636A
CN109617636A CN201811602144.9A CN201811602144A CN109617636A CN 109617636 A CN109617636 A CN 109617636A CN 201811602144 A CN201811602144 A CN 201811602144A CN 109617636 A CN109617636 A CN 109617636A
Authority
CN
China
Prior art keywords
interference
plcp
preset threshold
wifi
wifi equipment
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
Application number
CN201811602144.9A
Other languages
Chinese (zh)
Other versions
CN109617636B (en
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 Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital 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 Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201811602144.9A priority Critical patent/CN109617636B/en
Publication of CN109617636A publication Critical patent/CN109617636A/en
Application granted granted Critical
Publication of CN109617636B publication Critical patent/CN109617636B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/345Interference values
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/382Monitoring; Testing of propagation channels for resource allocation, admission control or handover
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0808Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA]
    • H04W74/0816Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA] with collision avoidance

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of anti-interference method of WIFI equipment, system, user equipment and storage mediums, the WIFI equipment anti-interference ability optimization method is analyzed by the signal based on energy measuring, and the MAC layer packet of WIFI sends statistic in preset time period, the disturbed condition of WIFI equipment is obtained, and determines to set dynamic threshold value for disturbed condition and is directed to different adjusting thresholds Anti-interference Strategies.The present invention, which solves the problems, such as that existing technology exists, to adjust Anti-interference Strategy according to actual interference situation dynamic;Reach in interference environment, reduced WIFI packet loss, has improved the serious technical effect retransmitted and improve connective stability.

Description

Anti-interference method, system, user equipment and the storage medium of WIFI equipment
Technical field
The present invention relates to radio network technique field more particularly to a kind of anti-interference methods of WIFI equipment, system, user Equipment and storage medium.
Background technique
2.4G frequency range is also known as ISM band, and (the Industrial Scientific Medical Chinese meaning is industry respectively , it is scientific and medicine, therefore ISM band is exactly that move out of a certain section of frequency range mainly open to industry, section for various countries as its name suggests Learn and medical facility use), belong to open frequency range, without the authorization wireless communication technique of a few class mainstreams on the market at present, such as WIFI (WLAN), bluetooth, low-power consumption local area network all work in frequency range as wireless telecommunications system quantity increasingly increases It is long, cause the interference signal in 2.4G frequency range to be continuously increased;On the other hand, the bandwidth chahnel that WIFI equipment is supported increases from 20M To 40M, it is further exacerbated by channel noisy degree, so that WIFI packet loss caused by interfering, serious re-transmission, connect unstable ask Topic, it is increasingly severe.
Summary of the invention
The main purpose of the present invention is to provide WIFI equipment anti-interference method, system, user equipment and storage medium, purports Solving WIFI equipment in the prior art, in interference environment, WIFI packet loss seriously retransmits and connects unstable problem.
In order to achieve the above objectives, the present invention proposes a kind of WIFI equipment anti-interference method, the anti-interference side of WIFI equipment Method the following steps are included:
It carries out signal to listen to, obtains space medium state and energy measure;
When the space medium state is busy, the energy measure is compared with preset threshold;
When the energy measure is less than preset threshold, determine that current interference signal is dry less than the adjacent frequency signal of threshold value It disturbs or out of band signal interferes, target data is carried out to repeat transmission, and verify whether the target data sends success;
When the target data is not sent successful within a preset time, reduce the preset threshold, and return to the progress The step of signal is listened to, and space medium state and energy measure are obtained.
Preferably, when the space medium state is busy, the energy measure is compared with preset threshold Later, the optimization method of the WIFI equipment anti-interference ability is further comprising the steps of:
When the energy measure is more than or equal to preset threshold, determine that current interference signal is the adjacent frequency not less than threshold value Signal interference or out of band signal interference, pause sends target data, and is periodically detected energy measure;
When preset time self-energy measured value is all larger than preset threshold, increase the preset threshold, and return it is described into The step of row signal is listened to, and space medium state and energy measure are obtained.
Preferably, before the step of progress signal listens to, obtains space medium state and energy measure;It is described The optimization method of WIFI equipment anti-interference ability is further comprising the steps of:
It is leading based on PLCP (Physical Layer Convergence Protocol Physical layer convergence protocol layer) fixation Sequence carries out signal and listens to, and obtains the space medium state and PLCP energy measure of PLCP;
When PLCP spatiality is idle, it is normally carried out data transmission, when PLCP spatiality is busy, executes void Quasi- carrier wave detects avoidance mechanism, and whether detection data sends success;
When being more than that predetermined time data continues not sent success, executes the WIFI equipment progress signal and listen to, obtain The step of space medium state and energy measure.
Preferably, when the target data is not sent successful within a preset time, reduce the preset threshold, and return to institute It states and carries out the step of signal listens to, obtains space medium state and energy measure, specifically include:
The MAC layer packet for counting WIFI in preset time period sends state, obtains error code packet variation tendency and retransmits packet variation Trend;
When the target data is not sent successful within a preset time, and the error code packet variation tendency and re-transmission packet variation When trend is growth trend, reduce preset threshold, and return to the WIFI equipment progress signal and listen to, obtains space medium state And the step of energy measure;
When data are sent successfully, and the error code packet variation tendency and re-transmission packet variation tendency are growth trend, increase Preset threshold.
Preferably, when PLCP spatiality is idle, it is normally carried out data transmission, when PLCP spatiality is busy When, the step of virtual carrier detects avoidance mechanism is executed, is specifically included:
When PLCP spatiality is idle, it is normally carried out data transmission, when PLCP spatiality is busy, is compared The size of PLCP energy measure and PLCP preset threshold;
When PLCP energy measure is not less than PLCP preset threshold, determine that interference signal is co-channel interference, executes virtual Carrier wave detects avoidance mechanism;
When PLCP energy measure is less than PLCP preset threshold, determine that interference signal has co-channel interference and adjacent frequency letter simultaneously Number or out of band signal interference, execute virtual carrier and detect avoidance mechanism, and whether detection data sends success.
Preferably, when PLCP energy measure is not less than PLCP preset threshold, interference signal is co-channel interference, executes void After the step of quasi- carrier wave detection avoidance mechanism, the anti-interference method of the WIFI equipment further include:
The MAC layer packet for counting WIFI in preset time period sends state, obtains error code packet variation tendency, retransmits to wrap to change and Gesture;
When data are sent successfully, and the error code packet variation tendency and re-transmission packet variation tendency are downward trend, increase PLCP preset threshold.
Preferably, the MAC layer packet for counting WIFI in preset time period sends state, obtains error code packet variation tendency, retransmits After packet variation tendency, the anti-interference method of the WIFI equipment further include:
When data send failure, and the error code packet variation tendency and re-transmission packet variation tendency are growth trend, reduce PLCP preset threshold, and return is described when PLCP spatiality is idle, data transmission is normally carried out, when PLCP spatiality When being busy, executes virtual carrier and detect avoidance mechanism, and whether detection data sends successful step.
The present invention also proposes that a kind of jamproof system of WIFI equipment, the jamproof system include:
Energy detection unit is listened to for carrying out signal, obtains space medium state and energy measure;
Energy comparison unit is used for when the space medium state is busy, to the energy measure and default threshold Value is compared;
Anti-interference unit, for when the energy measure be less than preset threshold when, determine current interference signal be less than The adjacent frequency signal interference or out of band signal of threshold value are interfered, and carry out repeating transmission to target data, and verify the target data to be It is no to send successfully;Within a preset time when the not sent success of the target data, reduce the preset threshold, and return it is described into The step of row signal is listened to, and space medium state and energy measure are obtained.
The present invention also proposes a kind of user equipment, and the user equipment includes: memory, processor and is stored in described deposit The anti-interference program of WIFI equipment, the anti-interference program quilt of the WIFI equipment can be run on reservoir and on the processor The step of anti-interference method of the WIFI equipment as described in any one of claims 1 to 7 is realized when the processor executes.
The present invention also proposes a kind of storage medium, and the anti-interference program of WIFI equipment, institute are stored on the storage medium It states when the anti-interference program of WIFI equipment is executed by processor using the WIFI equipment as described in any one of claims 1 to 7 Anti-interference method the step of.
Technical solution of the present invention counts data transmission state, after WIFI connection to surrounding by the way that threshold value is arranged Interference is detected, and according to the number such as the variation tendency of the data transmission state counted and the WIFI disturbed condition detected According to, threshold value is dynamically adjusted, implements different Anti jamming Schemes for the disturbance situation that threshold value defines, with improve Data transmission bauds and WIFI connective stability of the WIFI equipment in disturbance environment;Technical solution of the present invention can improve Connection disconnection, packet loss and serious the problem of retransmitting that existing WIFI equipment occurs in interference environment, reach in interference environment, WIFI packet loss is reduced, the serious technical effect retransmitted and improve connective stability is improved.
Detailed description of the invention
Fig. 1 is the user device architecture schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of WIFI equipment anti-interference method first embodiment of the present invention;
Fig. 3 is the flow diagram of WIFI equipment anti-interference method second embodiment of the present invention;
Fig. 4 is the flow diagram of WIFI equipment anti-interference method 3rd embodiment of the present invention;
Fig. 5 is the flow diagram of WIFI equipment anti-interference method fourth embodiment of the present invention;
Fig. 6 is the functional block diagram of WIFI equipment means for anti-jamming of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the object of the invention, functional characteristics and advantage.
Specific embodiment
It should be appreciated that described herein, specific examples are only used to explain the present invention, is not intended to limit the present invention.
Referring to Fig.1, Fig. 1 is the user device architecture schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
As shown in Figure 1, the user equipment may include: processor 1001, such as CPU, communication bus 1002, Yong Hujie Mouth 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is logical for realizing the connection between these components Letter.User interface 1003 may include display screen (Display), and optional user interface 1003 can also include that the wired of standard connects Mouth, wireless interface.Network interface 1004 optionally may include standard wireline interface and wireless interface (such as WI-FI interface). 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 the storage medium independently of aforementioned processor 1001.
It will be understood by those skilled in the art that structure shown in Fig. 1 does not constitute the restriction to the user equipment, it can To include perhaps combining certain components or different component layouts than illustrating more or fewer components.
As shown in Figure 1, as may include operating system, network communication mould in a kind of memory 1005 of storage medium Block, Subscriber Interface Module SIM and the anti-interference program of WIFI equipment.
In the network equipment shown in Fig. 1, network interface 1004 is mainly used for connecting background server, takes with the backstage Business device carries out data communication;User interface 1003 is mainly used for connecting peripheral hardware;The network equipment is called by processor 1001 The anti-interference program of the WIFI equipment stored in memory 1005, and execute following operation:
It carries out signal to listen to, obtains space medium state and energy measure;
When the space medium state is busy, the energy measure is compared with preset threshold;
When the energy measure is less than preset threshold, determine that current interference signal is dry less than the adjacent frequency signal of threshold value It disturbs or out of band signal interferes, target data is carried out to repeat transmission, and verify whether the target data sends success;
When the target data is not sent successful within a preset time, reduce the preset threshold, and return to the progress The step of signal is listened to, and space medium state and energy measure are obtained.
Further, processor 1001 can call the anti-interference program of the WIFI equipment stored in memory 1005, also hold The following operation of row:
When the energy measure is more than or equal to preset threshold, determine that current interference signal is the adjacent frequency not less than threshold value Signal interference or out of band signal interference, pause sends target data, and is periodically detected energy measure;
When preset time self-energy measured value is all larger than preset threshold, increase the preset threshold, and return it is described into The step of row signal is listened to, and space medium state and energy measure are obtained.
Further, processor 1001 can call the anti-interference program of the WIFI equipment stored in memory 1005, also hold The following operation of row:
Signal is carried out based on PLCP layers of fixed leader sequence to listen to, and obtains the space medium state and PLCP energy of PLCP Measured value;
When PLCP spatiality is idle, it is normally carried out data transmission, when PLCP spatiality is busy, executes void Quasi- carrier wave detects avoidance mechanism, and whether detection data sends success;
When being more than that predetermined time data continues not sent success, executes the WIFI equipment progress signal and listen to, obtain The step of space medium state and energy measure.
Further, processor 1001 can call the anti-interference program of the WIFI equipment stored in memory 1005, also hold The following operation of row:
Count MAC (Media Access Control media access control layer) the layer packet hair of WIFI in preset time period State is sent, error code packet variation tendency is obtained and retransmits packet variation tendency;
When the target data is not sent successful within a preset time, and the error code packet variation tendency and re-transmission packet variation When trend is growth trend, reduce preset threshold, and return to the WIFI equipment progress signal and listen to, obtains space medium state And the step of energy measure;
When data are sent successfully, and the error code packet variation tendency and re-transmission packet variation tendency are growth trend, increase Preset threshold.
Further, processor 1001 can call the anti-interference program of the WIFI equipment stored in memory 1005, also hold The following operation of row:
When PLCP spatiality is idle, it is normally carried out data transmission, when PLCP spatiality is busy, is compared The size of PLCP energy measure and PLCP preset threshold;
When PLCP energy measure is not less than PLCP preset threshold, determine that interference signal is co-channel interference, executes virtual Carrier wave detects avoidance mechanism;
When PLCP energy measure is less than PLCP preset threshold, determine that interference signal has co-channel interference and adjacent frequency letter simultaneously Number or out of band signal interference, execute virtual carrier and detect avoidance mechanism, and whether detection data sends success.
Further, processor 1001 can call the anti-interference program of the WIFI equipment stored in memory 1005, also hold The following operation of row:
The MAC layer packet for counting WIFI in preset time period sends state, obtains error code packet variation tendency, retransmits to wrap to change and Gesture;
When data are sent successfully, and the error code packet variation tendency and re-transmission packet variation tendency are downward trend, increase PLCP preset threshold.
Further, processor 1001 can call the anti-interference program of the WIFI equipment stored in memory 1005, also hold The following operation of row:
When data send failure, and the error code packet variation tendency and re-transmission packet variation tendency are growth trend, reduce PLCP preset threshold, and return is described when PLCP spatiality is idle, data transmission is normally carried out, when PLCP spatiality When being busy, executes virtual carrier and detect avoidance mechanism, and whether detection data sends successful step.
Technical solution of the present invention counts data transmission state, after WIFI connection to surrounding by the way that threshold value is arranged Interference is detected, and according to the number such as the variation tendency of the data transmission state counted and the WIFI disturbed condition detected According to, threshold value is dynamically adjusted, implements different Anti jamming Schemes for the disturbance situation that threshold value defines, with improve Data transmission bauds and WIFI connective stability of the WIFI equipment in disturbance environment;Technical solution of the present invention can improve Connection disconnection, packet loss and serious the problem of retransmitting that existing WIFI equipment occurs in interference environment, reach in interference environment, WIFI packet loss is reduced, the serious technical effect retransmitted and improve connective stability is improved.
Based on above-mentioned hardware configuration, the embodiment of WIFI equipment anti-interference method of the present invention is proposed.
As shown in Fig. 2, the user equipment is in the first embodiment, the WIFI equipment anti-interference method includes following step It is rapid:
S10, progress signal are listened to, and space medium state and energy measure are obtained.
It should be noted that space medium state only have it is busy and two kinds idle, when space medium state is idle, number According to can normally send, without executing Anti-interference Strategy, when space medium state is busy, it is dry to illustrate that current radio environment exists Situation is disturbed, normal data is sent there are some problems, and energy measure can react the annoyance level of current spatial, energy measurement Value is bigger, interferes bigger.
S20, when the space medium state be it is busy when, the energy measure is compared with preset threshold.
It is worth noting that space medium state is all busy, however works as space in the case where simply by the presence of certain interference When medium is that busy but energy measure is smaller, data still can be successfully transmitted, preset threshold herein is then laboratory Using the product with model under environment, energy measure when data can not be just issued.
S30, when the energy measure be less than preset threshold when, determine current interference signal be less than threshold value adjacent frequency believe Number interference or out of band signal interference, carry out target data to repeat transmission, and verify whether the target data sends success.
It can be readily appreciated that data can be sent by laboratory test when energy measure is less than preset value, So at this time sending data by way of repeating to send, to resist the interference of environment, and verify whether to send successfully.
When S40, the within a preset time target data are not sent successful, reduce the preset threshold, and described in return Carry out the step of signal listens to, obtains space medium state and energy measure.
It should be noted that there are certain difference for actual environment comparative experiments room environmental, so ought actually number of targets When according to that can not send successfully, which does not meet actual conditions, and setting is bigger than normal, so reducing preset threshold at this time, lays equal stress on It is newly listened to and data is sent;There may be actual working environment is not met, this is walked for single fixed threshold setting Suddenly in such a way that dynamic adjusts threshold value, so that threshold value is more in line with actual working condition to realize the anti-dry of WIFI equipment It disturbs.
The present embodiment is by setting threshold value, after the WIFI connection, interferes surrounding and detects, and according to detecting The data such as WIFI disturbed condition dynamically adjust threshold value, to improve data of the WIFI equipment in disturbance environment Transmission speed and WIFI connective stability, technical solution of the present invention can improve what existing WIFI equipment occurred in interference environment Connection disconnects, packet loss and serious the problem of retransmitting, and has reached in interference environment, has reduced WIFI packet loss, improve it is serious retransmit and Improve the technical effect of connective stability.
As shown in figure 3, in a second embodiment after the S20, the optimization method of the WIFI equipment anti-interference ability It is further comprising the steps of:
S21, when the energy measure be more than or equal to preset threshold when, determine current interference signal be not less than threshold value Adjacent frequency signal interference or out of band signal interference, pause sends target data, and is periodically detected energy measure.
It can be readily appreciated that when the energy measure is more than or equal to preset threshold, in laboratory environments, at this time There are very big limit values for the data transmission capabilities of WIFI equipment, can not send data, so pause data are sent, and are periodically detected Energy measure, when energy measure is less than threshold value Shi Zehui automatically into S30 step.
It should be noted that the purpose that pause data are sent is to avoid causing wireless environment bigger interference, other nothings Line equipment can have good WIFI environment, and data are sent faster, and the time for waiting other radio equipment datas to be sent completely is more Short, the purpose for being periodically detected energy measure is then that S30 step can be timely entered when wireless environment improves.
S22, when preset time self-energy measured value is all larger than preset threshold, increase the preset threshold, and return to institute It states and carries out the step of signal listens to, obtains space medium state and energy measure.
It can be readily appreciated that judgement can when being all larger than preset threshold more than the energy measure that preset time detects It can be that preset threshold is too small, tune up preset threshold at this time, and execute S10 step, after the comparison of S20 step, due to Increase preset threshold so executing S30 step, carries out repeating transmission, if then problem is resolved since preset threshold is too small, Data are successfully transmitted, if since interference environment cannot improve always, it is also desirable to which the trial for repeat transmission avoids being recognized For network interruption.The present embodiment is by setting threshold value, after WIFI connection, interferes surrounding and detects, and according to detecting The data such as WIFI disturbed condition, threshold value is dynamically adjusted, is implemented for the disturbance situation that threshold value defines different Anti jamming Scheme, to improve data transmission bauds and WIFI connective stability of the WIFI equipment in disturbance environment;This Inventive technique scheme can improve the connection that existing WIFI equipment occurs in interference environment disconnect, packet loss and what is seriously retransmitted ask Topic, has reached in interference environment, reduces WIFI packet loss, improves the serious technical effect retransmitted and improve connective stability.
As shown in figure 4, in the third embodiment, before the S10;The WIFI equipment anti-interference method further includes Step:
S11, it is listened to based on PLCP layers of fixed leader sequences progress signal, obtains the space medium state and PLCP energy of PLCP Measurement.
It can be readily appreciated that being to distinguish and be by the purpose listened to based on PLCP layers of fixed leader sequences progress signal No is co-channel interference, and co-channel interference is frequently problem in WIFI equipment use, and interference environment is more single, and there are complete Kind solution.
S12, when PLCP spatiality is idle, be normally carried out data transmission, when PLCP spatiality is busy, hold Row virtual carrier detects avoidance mechanism, and whether detection data sends success.
It can be readily appreciated that illustrate that wireless environment can be normally carried out data transmission when spatiality is idle, so It is normally carried out data transmission, when space medium state is busy, illustrates to use mature virtual load there are co-channel interference Wave detection avoidance mechanism can fight the interference, highly developed for virtual detection avoidance mechanism, repeat no more again.
S13, when being more than that predetermined time data continues not sent success, execute the WIFI equipment and carry out signal and listen to, The step of obtaining space medium state and energy measure.
It should be noted that illustrating that virtual carrier avoidance mechanism can not when being more than that preset time continues not sent success This disturbed condition is coped with, then judges that environmental disturbances are not only co-channel interference, so S10 step is executed, for other interference Situation executes different Anti-interference Strategies.The present embodiment is by setting threshold value, after WIFI connection, detects to surrounding interference It surveys, and according to data such as the WIFI disturbed conditions detected, threshold value is dynamically adjusted, the different dry defined for threshold value It disturbs situation and implements different Anti jamming Schemes, to improve data transmission bauds and WIFI of the WIFI equipment in disturbance environment Connective stability;Technical solution of the present invention can improve connection disconnection, the packet loss that existing WIFI equipment occurs in interference environment With serious the problem of retransmitting, reach in interference environment, reduced WIFI packet loss, has improved and seriously retransmit and improve connective stability Technical effect.
As shown in figure 5, in the fourth embodiment, the S12 step specifically includes:
S14, when PLCP spatiality is idle, be normally carried out data transmission, when PLCP spatiality is busy, than Compared with PLCP energy measure and the size of PLCP preset threshold.
It can be readily appreciated that it can be readily appreciated that illustrating that wireless environment can be normally carried out when spatiality is idle Data are sent, so being normally carried out data transmission, when space medium state is busy, are illustrated there are co-channel interference, this When need to compare the size of PLCP energy measure and PLCP preset threshold and select corresponding processing scheme.
S15, when PLCP energy measure be not less than PLCP preset threshold when, determine interference signal be co-channel interference, execute Virtual carrier detects avoidance mechanism.
It can be readily appreciated that illustrating that co-channel interference is more tight when PLCP energy measure is not less than PLCP preset threshold Weight affects data transmission, so virtual carrier avoidance mechanism need to be first carried out and whether verify data sends success.
The MAC layer packet of WIFI sends state in S16, statistics preset time period, obtains error code packet variation tendency, retransmits packet change Change trend.
It should be noted that this step is used to optimize the size of preset threshold, so that judgement is more in line with user environment, institute The statistics done, MAC layer packet send state and include error code packet variation tendency, retransmit packet variation tendency, correct packet number statistics and silence Time statistics only needs error code packet variation tendency herein, retransmits two parameters of packet variation tendency.
S17, it sends successfully when data, and the error code packet variation tendency and when to retransmit packet variation tendency be downward trend, Increase PLCP preset threshold.
It can be readily appreciated that illustrating that PLCP preset threshold is less than or equal to ideal value when data are sent successfully, joining at this time It examines error code packet variation tendency and retransmits packet variation tendency when the two variation tendency is all downward trend, illustrate wireless environment Improve, PLCP preset threshold is less than normal, needs to increase PLCP preset threshold.
S18, when data send fail, and the error code packet variation tendency and retransmit packet variation tendency be growth trend when, Reduce PLCP preset threshold, and return is described when PLCP spatiality is idle, data transmission is normally carried out, when the space PLCP When state is busy, executes virtual carrier and detect avoidance mechanism, and whether detection data sends successful step.
It should be noted that illustrating that the setting of PLCP preset threshold is bigger than normal, but data send failure when data send failure May due to adjacent frequency interfere or out-of-band interference, so need to refer to error code packet variation tendency and retransmit packet variation tendency, if the two Variation tendency be growth trend when, that is, can determine PLCP preset threshold setting it is bigger than normal, after turning PLCP preset threshold down, hold again Row S12 step.
S19, when PLCP energy measure is less than PLCP preset threshold, determine that interference signal has co-channel interference and a neighbour simultaneously Frequency signal or out of band signal interference, execute virtual carrier and detect avoidance mechanism, and whether detection data sends success.
It can be readily appreciated that illustrating to count in laboratory environments when PLCP energy measure is less than PLCP preset threshold According to being that can send successfully, virtual carrier is executed at this time and detects avoidance mechanism, and whether detection data sends successful purpose It is, exclusion affects the case where data are sent since co-channel interference is more serious.
The present embodiment by be arranged threshold value data transmission state is counted after WIFI connection, to surrounding interfere into Row detecting, and according to the data such as the variation tendency of the data transmission state counted and the WIFI disturbed condition detected, it is right Threshold value is dynamically adjusted, and implements different Anti jamming Schemes for the disturbance situation that threshold value defines, to improve WIFI Data transmission bauds and WIFI connective stability of the equipment in disturbance environment;Technical solution of the present invention can improve existing Connection disconnection, packet loss and serious the problem of retransmitting that WIFI equipment occurs in interference environment, reaches in interference environment, reduced WIFI packet loss improves the serious technical effect retransmitted and improve connective stability
The present embodiment also proposes a kind of storage medium, and the anti-interference program of WIFI equipment is stored on the storage medium, Following operation is realized when the anti-interference program of the WIFI equipment is executed by processor:
When the space medium state is busy, the energy measure is compared with preset threshold;
When the energy measure is less than preset threshold, determine that current interference signal is dry less than the adjacent frequency signal of threshold value It disturbs or out of band signal interferes, target data is carried out to repeat transmission, and verify whether the target data sends success;
When the target data is not sent successful within a preset time, reduce the preset threshold, and return to the progress The step of signal is listened to, and space medium state and energy measure are obtained.
Preferably, when the space medium state is busy, the energy measure is compared with preset threshold Later, the optimization method of the WIFI equipment anti-interference ability is further comprising the steps of:
When the energy measure is more than or equal to preset threshold, determine that current interference signal is the adjacent frequency not less than threshold value Signal interference or out of band signal interference, pause sends target data, and is periodically detected energy measure;
When preset time self-energy measured value is all larger than preset threshold, increase the preset threshold, and return it is described into The step of row signal is listened to, and space medium state and energy measure are obtained.
Preferably, before the step of progress signal listens to, obtains space medium state and energy measure;It is described The optimization method of WIFI equipment anti-interference ability is further comprising the steps of:
Signal is carried out based on PLCP layers of fixed leader sequence to listen to, and obtains the space medium state and PLCP energy of PLCP Measured value;
When PLCP spatiality is idle, it is normally carried out data transmission, when PLCP spatiality is busy, executes void Quasi- carrier wave detects avoidance mechanism, and whether detection data sends success;
When being more than that predetermined time data continues not sent success, executes the WIFI equipment progress signal and listen to, obtain The step of space medium state and energy measure.
Preferably, when the target data is not sent successful within a preset time, reduce the preset threshold, and return to institute It states and carries out the step of signal listens to, obtains space medium state and energy measure, specifically include:
The MAC layer packet for counting WIFI in preset time period sends state, obtains error code packet variation tendency and retransmits packet variation Trend;
When the target data is not sent successful within a preset time, and the error code packet variation tendency and re-transmission packet variation When trend is growth trend, reduce preset threshold, and return to the WIFI equipment progress signal and listen to, obtains space medium state And the step of energy measure;
When data are sent successfully, and the error code packet variation tendency and re-transmission packet variation tendency are growth trend, increase Preset threshold.
Preferably, when PLCP spatiality is idle, it is normally carried out data transmission, when PLCP spatiality is busy When, the step of virtual carrier detects avoidance mechanism is executed, is specifically included:
When PLCP spatiality is idle, it is normally carried out data transmission, when PLCP spatiality is busy, is compared The size of PLCP energy measure and PLCP preset threshold;
When PLCP energy measure is not less than PLCP preset threshold, determine that interference signal is co-channel interference, executes virtual Carrier wave detects avoidance mechanism;
When PLCP energy measure is less than PLCP preset threshold, determine that interference signal has co-channel interference and adjacent frequency letter simultaneously Number or out of band signal interference, execute virtual carrier and detect avoidance mechanism, and whether detection data sends success.
Preferably, when PLCP energy measure is not less than PLCP preset threshold, interference signal is co-channel interference, executes void After the step of quasi- carrier wave detection avoidance mechanism, the anti-interference method of the WIFI equipment further include:
The MAC layer packet for counting WIFI in preset time period sends state, obtains error code packet variation tendency, retransmits to wrap to change and Gesture;
When data are sent successfully, and the error code packet variation tendency and re-transmission packet variation tendency are downward trend, increase PLCP preset threshold.
Preferably, the MAC layer packet for counting WIFI in preset time period sends state, obtains error code packet variation tendency, retransmits After packet variation tendency, the anti-interference method of the WIFI equipment further include:
When data send failure, and the error code packet variation tendency and re-transmission packet variation tendency are growth trend, reduce PLCP preset threshold, and return is described when PLCP spatiality is idle, data transmission is normally carried out, when PLCP spatiality When being busy, the step of comparing the size of PLCP energy measure and PLCP preset threshold.
It will be appreciated that the anti-interference program of the WIFI equipment stored on above-mentioned storage medium can be used for realizing above-mentioned WIFI Each step in the anti-interference method of equipment, details are not described herein again.
In addition, being based on Fig. 6, the present invention also proposes a kind of WIFI equipment jamproof system, the anti-interference system of WIFI equipment System includes:
Energy detection unit 10 is listened to for carrying out signal, obtains space medium state and energy measure;
It should be noted that space medium state only have it is busy and two kinds idle, when space medium state is idle, number According to can normally send, without executing Anti-interference Strategy, when space medium state is busy, it is dry to illustrate that current radio environment exists Situation is disturbed, normal data is sent there are some problems, and energy measure can react the annoyance level of current spatial, energy measurement Value is bigger, interferes bigger.
Energy comparison unit 20, for the energy measure and presetting when the space medium state is busy Threshold value is compared;
It is worth noting that space medium state is all busy, however works as space in the case where simply by the presence of certain interference When medium is that busy but energy measure is smaller, data still can be successfully transmitted, preset threshold herein is then laboratory Using the product with model under environment, energy measure when data can not be just issued.
Anti-interference unit 30, for when the energy measure is less than preset threshold, determining that current interference signal is small It is interfered in the adjacent frequency signal interference or out of band signal of threshold value, target data is carried out to repeat transmission, and verify the target data Whether transmission is successful;When the target data is not sent successful within a preset time, reduce the preset threshold, and described in return Carry out the step of signal listens to, obtains space medium state and energy measure.
It can be readily appreciated that data can be sent by laboratory test when energy measure is less than preset value, So at this time sending data by way of repeating to send, to resist the interference of environment, and verify whether to send successfully.
It should be noted that there are certain difference for actual environment comparative experiments room environmental, so ought actually number of targets When according to that can not send successfully, which does not meet actual conditions, and setting is bigger than normal, so reducing preset threshold at this time, lays equal stress on It is newly listened to and data is sent;There may be actual working environment is not met, this is walked for single fixed threshold setting Suddenly in such a way that dynamic adjusts threshold value, so that threshold value is more in line with actual working condition to realize the anti-dry of WIFI equipment It disturbs.
The other embodiments or specific implementation of WIFI equipment jamproof system of the present invention can refer to above-mentioned each side Method embodiment, details are not described herein again.
The present embodiment by be arranged threshold value data transmission state is counted after WIFI connection, to surrounding interfere into Row detecting, and according to the data such as the variation tendency of the data transmission state counted and the WIFI disturbed condition detected, it is right Threshold value is dynamically adjusted, and implements different Anti jamming Schemes for the disturbance situation that threshold value defines, to improve WIFI Data transmission bauds and WIFI connective stability of the equipment in disturbance environment;Technical solution of the present invention can improve existing Connection disconnection, packet loss and serious the problem of retransmitting that WIFI equipment occurs in interference environment, reaches in interference environment, reduced WIFI packet loss improves the serious technical effect retransmitted and improve connective stability.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.Word first, second, with And the use of third etc. does not indicate any sequence, these words can be construed to title.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be come by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases the former It is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially makes tribute to the prior art in other words The part offered can be embodied in the form of software products, which is stored in a storage medium (such as ROM/RAM, magnetic disk, CD) in, including some instructions to make a terminal device (can be mobile phone, computer, server, Air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of anti-interference method of WIFI equipment, which is characterized in that the anti-interference method of the WIFI equipment includes following step It is rapid:
It carries out signal to listen to, obtains space medium state and energy measure;
When the space medium state is busy, the energy measure is compared with preset threshold;
When the energy measure be less than preset threshold when, determine current interference signal be less than threshold value adjacent frequency signal interference or Out of band signal interference carries out target data to repeat transmission, and verifies whether the target data sends success;
When the target data is not sent successful within a preset time, reduce the preset threshold, and return to the carry out signal The step of listening to, obtaining space medium state and energy measure.
2. the anti-interference method of WIFI equipment as described in claim 1, which is characterized in that when the space medium state is busy When commonplace, after being compared to the energy measure with preset threshold, the optimization method of the WIFI equipment anti-interference ability It is further comprising the steps of:
When the energy measure is more than or equal to preset threshold, determine that current interference signal is the adjacent frequency signal not less than threshold value Interference or out of band signal interference, pause sends target data, and is periodically detected energy measure;
When preset time self-energy measured value is all larger than preset threshold, increase the preset threshold, and returns and described carry out letter The step of number listening to, obtain space medium state and energy measure.
3. the anti-interference method of WIFI equipment as claimed in claim 2, which is characterized in that the progress signal is listened to, and is obtained Before the step of space medium state and energy measure;The optimization method of the WIFI equipment anti-interference ability further includes following Step:
Signal is carried out based on PLCP layers of fixed leader sequence to listen to, and obtains the space medium state and PLCP energy measurement of PLCP Value;
When PLCP spatiality is idle, it is normally carried out data transmission, when PLCP spatiality is busy, executes virtual carry Wave detects avoidance mechanism, and whether detection data sends success;
When being more than that predetermined time data continues not sent success, executes the WIFI equipment progress signal and listen to, obtain space The step of medium state and energy measure.
4. the anti-interference method of WIFI equipment as claimed in claim 3, which is characterized in that the number of targets within a preset time When according to not sent success, reduces the preset threshold, and return to the progress signal and listen to, obtain space medium state and energy The step of measured value, specifically includes:
The MAC layer packet for counting WIFI in preset time period sends state, obtains error code packet variation tendency and retransmits packet variation tendency;
When the target data is not sent successful within a preset time, and the error code packet variation tendency and re-transmission packet variation tendency When for growth trend, reduce preset threshold, and return to the WIFI equipment and carry out signal and listen to, obtains space medium state and energy The step of measurement;
When data are sent successfully, and the error code packet variation tendency and re-transmission packet variation tendency are growth trend, increase default Threshold value.
5. the anti-interference method of WIFI equipment as claimed in claim 3, which is characterized in that when PLCP spatiality is the free time When, it is normally carried out data transmission, when PLCP spatiality is busy, executes the step of virtual carrier detects avoidance mechanism, tool Body includes:
When PLCP spatiality is idle, it is normally carried out data transmission, when PLCP spatiality is busy, compares PLCP energy The size of measurement and PLCP preset threshold;
When PLCP energy measure is not less than PLCP preset threshold, determines that interference signal is co-channel interference, execute virtual carrier Detect avoidance mechanism;
When PLCP energy measure be less than PLCP preset threshold when, determine interference signal simultaneously have co-channel interference and adjacent frequency signal or Out of band signal interference executes virtual carrier and detects avoidance mechanism, and whether detection data sends success.
6. the anti-interference method of WIFI equipment as claimed in claim 5, which is characterized in that when PLCP energy measure is not less than After the step of when PLCP preset threshold, interference signal is co-channel interference, executes virtual carrier detection avoidance mechanism, the WIFI The anti-interference method of equipment further include:
The MAC layer packet for counting WIFI in preset time period sends state, obtains error code packet variation tendency, retransmits packet variation tendency;
When data are sent successfully, and the error code packet variation tendency and re-transmission packet variation tendency are downward trend, PLCP is increased Preset threshold.
7. the anti-interference method of WIFI equipment as claimed in claim 6, which is characterized in that WIFI in statistics preset time period MAC layer packet sends state, after obtaining error code packet variation tendency, retransmitting packet variation tendency, the anti-interference side of the WIFI equipment Method further include:
When data send failure, and the error code packet variation tendency and re-transmission packet variation tendency are growth trend, reduce PLCP Preset threshold, and return is described when PLCP spatiality is idle, data transmission is normally carried out, when PLCP spatiality is busy When commonplace, execute virtual carrier and detect avoidance mechanism, and whether detection data sends successful step.
8. a kind of jamproof system of WIFI equipment, which is characterized in that the jamproof system includes:
Energy detection unit is listened to for carrying out signal, obtains space medium state and energy measure;
Energy comparison unit, for when the space medium state is busy, to the energy measure and preset threshold into Row compares;
Anti-interference unit, for when the energy measure is less than preset threshold, determining that current interference signal is less than threshold value Adjacent frequency signal interference or out of band signal interference, target data is carried out to repeat transmission, and verifies whether the target data is sent out Send success;Within a preset time when the not sent success of the target data, reduce the preset threshold, and return and described carry out letter The step of number listening to, obtain space medium state and energy measure.
9. a kind of user equipment, which is characterized in that the user equipment includes: memory, processor and is stored in the storage The anti-interference program of WIFI equipment can be run on device and on the processor, the anti-interference program of the WIFI equipment is described The step of anti-interference method of the WIFI equipment as described in any one of claims 1 to 7 is realized when processor executes.
10. a kind of storage medium, which is characterized in that the anti-interference program of WIFI equipment is stored on the storage medium, it is described Using the WIFI equipment as described in any one of claims 1 to 7 when the anti-interference program of WIFI equipment is executed by processor The step of anti-interference method.
CN201811602144.9A 2018-12-26 2018-12-26 Anti-interference method and system for WIFI equipment, user equipment and storage medium Active CN109617636B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811602144.9A CN109617636B (en) 2018-12-26 2018-12-26 Anti-interference method and system for WIFI equipment, user equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811602144.9A CN109617636B (en) 2018-12-26 2018-12-26 Anti-interference method and system for WIFI equipment, user equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109617636A true CN109617636A (en) 2019-04-12
CN109617636B CN109617636B (en) 2021-06-15

Family

ID=66011612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811602144.9A Active CN109617636B (en) 2018-12-26 2018-12-26 Anti-interference method and system for WIFI equipment, user equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109617636B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113660008A (en) * 2021-07-26 2021-11-16 珠海格力电器股份有限公司 Anti-interference communication method and system for communication through cable
CN113938239A (en) * 2021-10-13 2022-01-14 苏州浩曦微电子科技有限公司 Method for improving anti-interference capability of wireless communication, communication equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105203839A (en) * 2015-08-28 2015-12-30 中国科学院新疆天文台 Broadband-frequency-spectrum-based interference signal extraction method
WO2016156768A1 (en) * 2015-03-31 2016-10-06 Toshiba Research Europe Limited Dynamic sensitivity control in 802.11 stations
CN106063193A (en) * 2013-12-11 2016-10-26 华为技术有限公司 System and method for determining a clear channel assessment threshold
US20170223718A1 (en) * 2016-02-03 2017-08-03 Kabushiki Kaisha Toshiba Multi-threshold listening method for dynamic sensitivity control enabled wireless mac
CN108135006A (en) * 2017-12-22 2018-06-08 北京邮电大学 A kind of rate and carrier sensing thresholds method for adjusting combined based on Minstrel algorithms
CN108696898A (en) * 2018-03-29 2018-10-23 北京邮电大学 A kind of disturbance restraining method for WIFI signal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106063193A (en) * 2013-12-11 2016-10-26 华为技术有限公司 System and method for determining a clear channel assessment threshold
WO2016156768A1 (en) * 2015-03-31 2016-10-06 Toshiba Research Europe Limited Dynamic sensitivity control in 802.11 stations
CN105203839A (en) * 2015-08-28 2015-12-30 中国科学院新疆天文台 Broadband-frequency-spectrum-based interference signal extraction method
US20170223718A1 (en) * 2016-02-03 2017-08-03 Kabushiki Kaisha Toshiba Multi-threshold listening method for dynamic sensitivity control enabled wireless mac
CN108135006A (en) * 2017-12-22 2018-06-08 北京邮电大学 A kind of rate and carrier sensing thresholds method for adjusting combined based on Minstrel algorithms
CN108696898A (en) * 2018-03-29 2018-10-23 北京邮电大学 A kind of disturbance restraining method for WIFI signal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
鞠业旭: "LTE-U和Wi-Fi共存机制研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113660008A (en) * 2021-07-26 2021-11-16 珠海格力电器股份有限公司 Anti-interference communication method and system for communication through cable
CN113938239A (en) * 2021-10-13 2022-01-14 苏州浩曦微电子科技有限公司 Method for improving anti-interference capability of wireless communication, communication equipment and storage medium
CN113938239B (en) * 2021-10-13 2023-09-26 苏州浩曦微电子科技有限公司 Method for improving anti-interference capability of wireless communication, communication equipment and storage medium

Also Published As

Publication number Publication date
CN109617636B (en) 2021-06-15

Similar Documents

Publication Publication Date Title
US20200336916A1 (en) Facilitation of self-adjusting network uplink noise balancing
US10237193B2 (en) Prioritizing short-range wireless packets for time-sensitive applications
KR101942038B1 (en) Adjusting transmission rate and range of a wireless access point
CN101986746B (en) Method, system and device for testing wireless local area network (WLAN)
CN101426215B (en) Communication apparatus and method for identifying faults in wireless communication
CN103220065B (en) The method of adjustment and device of clear channel assessment threshold
CN103167534B (en) The measurement processing method and apparatus of communication event, subscriber equipment
CN103581984B (en) WLAN eats dishes without rice or wine quality monitoring method and device
US20120075987A1 (en) Radio apparatus, method for communication disturbance remedial action and program for communication disturbance remedial action
JP2007506379A (en) Reduces data transfer rate of access point
US20210111819A1 (en) Method of Reporting RSSI Measurements in an Unlicensed Band and Related Apparatus
CN109617636A (en) Anti-interference method, system, user equipment and the storage medium of WIFI equipment
EP3205164A1 (en) Transmission coordination for collocated radios
CN107370550B (en) Real-time WiFi-oriented rate self-adaption method based on channel statistical information
CN103987059A (en) Anti-interference method and device for wireless local area network
CN110602712A (en) Frequency point switching anti-interference wireless local area network communication method and device
CN111642024B (en) Method, device and equipment for adjusting clear channel assessment threshold and readable storage medium
CN105827271A (en) Mobile communication method and mobile communication device
US9332552B2 (en) Frequency agility for wireless embedded systems
CN106105287A (en) Based on multi channel data transmission method for uplink and device
US20060072493A1 (en) Roaming techniques for a communications network
US7197315B1 (en) Method and apparatus to select a channel using performance metrics
CN104684028B (en) Wireless self-adaptive quadtree method
CN103313401A (en) Method and device for adjusting PDCCH (Physical Downlink Control Channel) format
US7872974B2 (en) System and method for handling or avoiding disruptions in wireless communication

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