CN106332159A - WIFI abnormity automatic reconnection device, system and method - Google Patents
WIFI abnormity automatic reconnection device, system and method Download PDFInfo
- Publication number
- CN106332159A CN106332159A CN201610654788.7A CN201610654788A CN106332159A CN 106332159 A CN106332159 A CN 106332159A CN 201610654788 A CN201610654788 A CN 201610654788A CN 106332159 A CN106332159 A CN 106332159A
- Authority
- CN
- China
- Prior art keywords
- wifi
- module
- timing
- reconnect
- mcu
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000004891 communication Methods 0.000 claims abstract description 33
- 230000002159 abnormal effect Effects 0.000 claims abstract description 25
- 238000013507 mapping Methods 0.000 claims abstract description 23
- 230000010247 heart contraction Effects 0.000 claims description 26
- 230000006266 hibernation Effects 0.000 claims description 20
- 230000005611 electricity Effects 0.000 claims description 17
- 230000005540 biological transmission Effects 0.000 claims description 11
- 230000000284 resting effect Effects 0.000 claims description 8
- 230000005059 dormancy Effects 0.000 claims description 2
- 238000010304 firing Methods 0.000 claims description 2
- 230000005856 abnormality Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/19—Connection re-establishment
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a WIFI abnormity automatic reconnection device, system and method. The WIFI abnormal automatic reconnection device comprises a normal working module and a low-power-consumption working module. The normal working module comprises a main power supply circuit, a DSP and a memory, wherein the memory stores a mapping table which comprises reconnection times and required interval duration. The low-power-consumption working module comprises an auxiliary power circuit, an MCU (microprogrammed control unit) and a WIFI (wireless fidelity) module, and the WIFI module sends heartbeat data packets to the outside at intervals of a first preset time length; when a wake-up request is received, the WIFI module is switched from a low-power-consumption working mode to a normal working mode, and when the DSP judges that the WIFI module does not receive a heartbeat feedback signal, the current reconnection times and the actually required interval duration are obtained; after the actual required interval duration of interval, reestablish WIFI module and outside communication connection. According to the method and the device, automatic reconnection of WIFI abnormity is realized, and frequent reconnection operation is avoided.
Description
Technical field
The present invention relates to radio network technique field, especially relate to a kind of WIFI exception Auto-reconnect device, system and
Method.
Background technology
Terminal unit occurs when WIFI connects abnormal, and the method for existing process mainly includes the following two kinds:
The first, artificial mode restarts terminal unit to perform WIFI reconnection operation.Accordingly, there exist WIFI abnormality processing not
The defect of intelligence.
The second, terminal unit detects that, when WIFI connects abnormal, intelligence performs WIFI reconnection operation.If WIFI connects one
Straight abnormal, then can perform WIFI reconnection operation frequently.Therefore, frequently execute WIFI reconnection operation and can cause the consumption of terminal unit
Electricity is bigger.
Summary of the invention
For overcoming problem present in background technology, the disclosure provide a kind of WIFI exception Auto-reconnect device, system and
Method, during to solve WIFI exception, processing mode is the most intelligent and carries out WIFI continually and reconnects the problem causing power consumption big.
For solving the problems referred to above, the present invention provides a kind of WIFI exception Auto-reconnect device, comprising:
Normal operational module, it includes main power circuit, DSP and the memorizer being electrically connected with DSP, and memorizer storage has
Mapping table, mapping table includes reconnecting number of times and and reconnecting the required interval duration that number of times is corresponding;
Low-power consumption operational module, it includes auxiliary power circuit, MCU and the WIFI module being electrically connected with MCU;Auxiliary power electricity
Road direction MCU and WIFI module are powered, and WIFI module is in low power mode of operation and interval the first preset duration sends beats
According to bag to outside;When MCU receives the wake request of outside, WIFI module is converted to normal Working mould from low power mode of operation
Formula, MCU opens main power circuit, and main power circuit supplies electricity to DSP and memorizer, and DSP judges that WIFI module does not receives outside
During the heart beating feedback signal sent, DSP obtains and currently reconnects number of times and obtain with currently to reconnect number of times corresponding according to mapping table
Actually required interval duration;After being spaced actually required interval duration, perform WIFI module and outside reconnection operation.
Further, low-power consumption operational module also includes the timing module being electrically connected with MCU;DSP is according to actually required
Interval duration generate timing reconnect instruction and by timing reconnect instruction send to MCU, MCU receive timing reconnect instruction time, close
Closing main power circuit and control timing module and start timing, timing duration and the actually required interval duration of timing module are consistent
Time, timing module sends after the first open command receives the first open command to MCU, MCU, opens main power circuit and control
WIFI module and outside re-establish communication connection.
Further, DSP also includes judging unit, it is judged that unit is for judging that WIFI module with outside communication connection is
No it is successfully established;
If WIFI module does not sets up successfully with outside communication connection, currently reconnect number of times and add 1 and store;
If WIFI module is successfully established with outside communication connection, WIFI module is spaced the first preset duration and sends beats
According to bag to outside.
Further, when DSP judges the heart beating feedback signal that WIFI module receives outside transmission, DSP is pre-according to second
If duration generates normal hibernation instruction and normal hibernation instruction transmission to MCU, MCU is received normal hibernation instruction, close
Main power circuit also controls timing module and starts timing, when the timing duration of timing module reaches the second preset duration, and timing mould
Block sends the second open command and opens main power circuit to MCU, MCU.
In order to solve the problems referred to above, present invention also offers a kind of WIFI exception Auto-reconnect system, it includes above-mentioned
WIFI exception Auto-reconnect device.
Further, it also includes the WIFI module communication link of server, server and WIFI exception Auto-reconnect device
Connect.
In order to solve the problems referred to above, present invention also offers a kind of WIFI exception Auto-reconnect method, it is applied to WIFI
Abnormal Auto-reconnect system, WIFI exception Auto-reconnect system includes server and WIFI exception Auto-reconnect device, and WIFI is different
Often Auto-reconnect device includes normal operational module and low-power consumption operational module, and normal operational module includes main power circuit, DSP
And memorizer, memorizer storage has mapping table, mapping table to include reconnecting number of times and and reconnecting the required interval duration that number of times is corresponding;
Low-power consumption operational module includes auxiliary power circuit, MCU, WIFI module and timing module.This WIFI exception Auto-reconnect method bag
Include following steps:
Auxiliary power circuit supplies electricity to MCU and WIFI module, and WIFI module is in low power mode of operation and interval first is pre-
If it is outside that duration sends heartbeat data packets, WIFI exception Auto-reconnect device is in a dormant state;
When MCU receives wake request, opening main power circuit, main power circuit supplies electricity to DSP and memorizer, WIFI module
Being converted to normal mode of operation from low power mode of operation, WIFI exception Auto-reconnect device is converted to wake up shape up from resting state
State;
DSP performs WIFI abnormal judgement operation, and WIFI is abnormal judges for DSP, operation judges whether WIFI module receives clothes
The heart beating feedback signal that business device sends;
When not receiving the heart beating feedback signal that server sends, DSP obtains and currently reconnects number of times and according to mapping table
Obtain and currently reconnect the actually required interval duration that number of times is corresponding, after being spaced actually required interval duration, performing WIFI module
With outside reconnection operation.
Further, perform the step of WIFI module and outside reconnection operation, including:
DSP generates timing according to actually required interval duration and reconnects instruction and send regularly reconnecting instruction to MCU;
MCU receives timing when reconnecting instruction, closes main power circuit and controls timing module and start timing;
When the timing duration of timing module and actually required interval duration are consistent, timing module sends the first open command extremely
MCU;
After MCU receives the first open command, open main power circuit and control WIFI module re-establishes with server
Communication connection.
Further, open main power circuit and control WIFI module and server re-establish communication connection step it
After, also include:
DSP judges whether WIFI module is successfully established with the communication connection of server;
If the communication connection of WIFI module and server does not sets up successfully, currently reconnect and perform WIFI after number of times adds 1 extremely
Judge operation;
If WIFI module is successfully established with the communication connection of server, WIFI module is spaced the first preset duration section and sends the heart
Jump packet to server, execution WIFI abnormal judgement operation.
Further, described method also includes:
When receiving the heart beating feedback signal that server sends, DSP generates normal hibernation according to the second preset duration and refers to
Normal hibernation instruction is also sent to MCU by order;
When MCU receives normal hibernation instruction, close main power circuit and control timing module and start timing;
When the timing duration of timing module reaches the second preset duration, timing module sends the second open command to MCU;
After MCU receives the second open command, MCU opens main power circuit, performs WIFI abnormal judgement operation.
Compared with prior art, when apparatus of the present invention detect WIFI exception, automatically carry out abnormality processing, therefore, WIFI
Abnormal process has intelligentized characteristic.Additionally, during WIFI exception, DSP obtain currently reconnect number of times and with currently reconnect time
The actually required interval durations that number is corresponding, just perform WIFI reconnection operation after being spaced actually required interval duration, it is to avoid frequent
Carry out reconnection operation, reach to reduce the technique effect of power consumption.
Accompanying drawing explanation
Fig. 1 is the frame structure schematic diagram of WIFI exception a kind of embodiment of Auto-reconnect device of the present invention.
Fig. 2 is the frame structure schematic diagram of WIFI exception a kind of embodiment of Auto-reconnect system of the present invention.
Fig. 3 is the schematic flow sheet of WIFI exception a kind of embodiment of Auto-reconnect method of the present invention.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, right
The present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, and
It is not used to limit the present invention.
Fig. 1 illustrates a kind of embodiment of WIFI exception Auto-reconnect device of the present invention.In an embodiment, this WIFI is abnormal
Auto-reconnect device 1 includes normal operational module 11 and low-power consumption operational module 12.Wherein, this normal operational module 11 includes main
Power circuit 111, DSP113 and the memorizer 112 being electrically connected with this DSP113, memorizer 112 storage has mapping table, and this reflects
Firing table includes reconnecting number of times and and reconnecting the required interval duration that number of times is corresponding.Low-power consumption operational module 12 includes auxiliary power circuit
121, MCU122 and the WIFI module 124 with MCU122 electric connection.WIFI module 124 is spaced the first preset duration and sends heart beating
Packet is to outside.Auxiliary power circuit 121 is powered to MCU122 and WIFI module 124, and WIFI module 124 is in low-power consumption work
Pattern.
When MCU122 receives the wake request of outside, WIFI module 124 is converted to normally from low power mode of operation
Mode of operation, MCU122 opens main power circuit 111, and this main power circuit 111 supplies electricity to DSP113 and memorizer 112,
When DSP113 judges the heart beating feedback signal that this WIFI module 124 does not receives outside transmission, DSP113 acquisition currently reconnects secondary
Number also obtains according to mapping table and currently reconnects the actually required interval duration that number of times is corresponding, and closes main power circuit 111,
WIFI module 124 enters low power mode of operation.
After being spaced actually required interval duration, MCU122 opens main power circuit 111, and WIFI module 124 enters normal work
Operation mode, and perform WIFI module 124 and outside reconnection operation.Specifically, this WIFI module 124 and outside reconnection operation
Including: low-power consumption operational module 12 also includes the timing module 123 being electrically connected with MCU122.When DSP113 judges WIFI module
During the heart beating feedback signal that 124 do not receive outside transmission, DSP113 generates timing according to actually required interval duration and reconnects finger
Order and by timing reconnect instruction send to MCU122, MCU122 receive timing reconnect instruction time, close main power circuit 111 also
Control timing module 123 and start timing, when the timing duration of timing module 123 and actually required interval duration are consistent, timing
Module 123 sends after the first open command receives the first open command to MCU122, MCU122, opens main power circuit 111
And control WIFI module 124 re-establishes communication connection with outside.
By the present embodiment, when being not detected by WIFI exception and detect that WIFI waits, after abnormal, reconnect actually required
In the duration of interval, this WIFI exception Auto-reconnect device 1 is in resting state, reduces power consumption.If WIFI connects always
When being in abnormality, because WIFI reconnects the reason of existence interval duration, this WIFI exception Auto-reconnect device 1 cannot be frequently
Carry out WIFI reconnection operation, further up to the effect reducing power consumption.
In order to reduce the power consumption of the WIFI exception Auto-reconnect device 1 of the present embodiment further, therefore, in above-mentioned enforcement
On the basis of example, in other embodiments, DSP113 also includes judging unit, this judging unit be used for judging WIFI module 124 with
Whether outside communication connection is successfully established;If WIFI module 124 does not sets up successfully with outside communication connection, then will currently weigh
Even number of times adds 1 and stores, and DSP113 performs WIFI abnormal judgement operation again, it is judged that whether WIFI module 124 receives
The outside heart beating feedback signal sent.If WIFI module 124 is successfully established, then between WIFI module 124 with outside communication connection
Send heartbeat data packets every the first preset duration outside, and receive the heart beating feedback signal of outside transmission.
It should be noted that the mapping of storage includes reconnecting number of times and the institute corresponding with reconnecting number of times in memorizer 112
Need to be spaced duration, wherein, all required interval durations corresponding to number of times that reconnect are to be incremented by and the value that increases with reconnecting number of times.Example
As, when reconnecting for the first time the required interval of correspondence a length of 30 seconds, when second time reconnects the required interval of correspondence a length of 60 seconds, the 3rd
Secondary reconnect correspondence required interval time a length of 120 seconds, be stepped up in certain proportion, it is the most that WIFI reconnects number of times, required between
The longest every duration, effectively avoid and frequently execute WIFI reconnection operation, reduce power consumption.
In order to further reduce the power consumption of the WIFI exception Auto-reconnect device 1 of the present embodiment, therefore, when not detecting
During to WIFI exception, this device enters resting state from wake-up states automatically.Therefore, on the basis of above-described embodiment, other
In embodiment, when DSP113 judges the heart beating feedback signal that WIFI module 124 receives outside transmission, DSP113 generates normal
Dormancy instructs and the instruction of this normal hibernation is sent after receiving the instruction of this normal hibernation to MCU122, MCU122, closes main electricity
Source circuit 111 also controls timing module 123 and starts timing, when the timing duration of timing module 123 reaches the second preset duration,
Timing module 123 sends the second open command and opens main power circuit 111 to MCU122, MCU122.It should be noted that second
Preset duration reconnects, more than in mapping table, the required interval duration that number of times is corresponding, and such as, the second preset duration could be arranged to 1 day
Time.
Fig. 2 illustrates a kind of embodiment of WIFI exception Auto-reconnect system of the present invention.In the present embodiment, this WIFI is different
Often Auto-reconnect system includes WIFI exception Auto-reconnect device 1 and server 2.
Wherein, this WIFI exception Auto-reconnect device 1 includes normal operational module 11 and low-power consumption operational module 12.Its
In, this normal operational module 11 include main power circuit 111, DSP113 and with the memorizer 112 that this DSP113 is electrically connected with, deposit
Reservoir 112 storage has mapping table, and this mapping table includes reconnecting number of times and and reconnecting the required interval duration that number of times is corresponding.Low-power consumption
Operational module 12 includes auxiliary power circuit 121, MCU122 and the WIFI module 124 being electrically connected with MCU122.WIFI module 124
It is spaced the first preset duration and sends heartbeat data packets to server 2.Auxiliary power circuit 121 supplies to MCU122 and WIFI module 124
Electricity, WIFI module 124 is in low power mode of operation.
When MCU122 receives the wake request of outside, WIFI module 124 is converted to normally from low power mode of operation
Mode of operation, MCU122 opens main power circuit 111, and this main power circuit 111 supplies electricity to DSP113 and memorizer 112,
DSP113 judges that, when this WIFI module 124 does not receives the heart beating feedback signal that server 2 sends, DSP113 obtains and currently reconnects
Number of times also obtains according to mapping table and currently reconnects the actually required interval duration that number of times is corresponding, and closes main power circuit 111,
WIFI module 124 enters low power mode of operation.
After being spaced actually required interval duration, MCU122 opens main power circuit 111, and WIFI module 124 enters normal work
Operation mode, and perform WIFI module 124 and the reconnection operation of server 2.Specifically, this WIFI module 124 and the weight of server 2
Even operation includes: low-power consumption operational module 12 also includes the timing module 123 being electrically connected with MCU122.When DSP113 judges
When WIFI module 124 does not receives the heart beating feedback signal that server 2 sends, DSP113 generates according to actually required interval duration
Timing reconnect instruction and by timing reconnect instruction send to MCU122, MCU122 receive timing reconnect instruction time, close main electricity
Source circuit 111 also controls timing module 123 and starts timing, when timing duration and the actually required interval duration of timing module 123
Time consistent, timing module 123 sends after the first open command receives the first open command to MCU122, MCU122, opens main
Power circuit 111 and control WIFI module 124 re-establish communication connection with server 2.
By the present embodiment, when being not detected by WIFI exception and detect that WIFI waits, after abnormal, reconnect actually required
In the duration of interval, this WIFI exception Auto-reconnect device 1 is in resting state, reduces power consumption, and deposits because WIFI reconnects
In the reason of interval duration, this WIFI exception Auto-reconnect device 1 cannot carry out WIFI reconnection operation frequently, further up to
Reduce the effect of power consumption.
In order to reduce the power consumption of the WIFI exception Auto-reconnect device 1 of the present embodiment further, therefore, in above-mentioned enforcement
On the basis of example, in other embodiments, DSP113 also includes judging unit, this judging unit be used for judging WIFI module 124 with
Whether the communication connection of server 2 is successfully established;If WIFI module 124 does not sets up successfully with the communication connection of server 2, then will
Currently reconnecting number of times add 1 and store, DSP113 performs that WIFI is abnormal judges operation again, it is judged that whether WIFI module 124
Receive the heart beating feedback signal that server 2 sends.If WIFI module 124 is successfully established with the communication connection of server 2, then
WIFI module 124 is spaced the first preset duration and sends heartbeat data packets to server 2, and it is anti-to receive the heart beating that server 2 sends
Feedback signal.
Specifically, in memorizer 112 mapping table of storage include reconnecting number of times and corresponding with reconnecting number of times required between
Every duration, wherein, all required interval durations corresponding to number of times that reconnect can be a fixing value, it is also possible to is secondary with reconnecting
The value that number is incremented by and increases.Such as, all required interval durations reconnecting number of times corresponding could be arranged to 300 seconds, holds the most every time
Row WIFI reconnection operation is required for being spaced 300 seconds;Can also be configured by following rule: reconnect for the first time correspondence required between
Every time a length of 30 seconds, second time reconnect correspondence required interval time a length of 60 seconds, third time reconnect correspondence required interval duration
Being 120 seconds, be stepped up in certain proportion, it is the most that WIFI reconnects number of times, and required interval duration is the longest, effectively avoids frequency
Numerous execution WIFI reconnection operation, reduces power consumption.
In order to further reduce the power consumption of the WIFI exception Auto-reconnect device 1 of the present embodiment, therefore, when not detecting
During to WIFI exception, this device enters resting state from wake-up states automatically.Therefore, on the basis of above-described embodiment, other
In embodiment, when DSP113 judges that WIFI module 124 receives the heart beating feedback signal that server 2 sends, DSP113 generates
Normal hibernation instructs and the instruction of this normal hibernation is sent after receiving the instruction of this normal hibernation to MCU122, MCU122, closes
Main power circuit 111 also controls timing module 123 and starts timing, when the timing duration of timing module 123 reach second preset time
Time long, timing module 123 sends the second open command and opens main power circuit 111 to MCU124, MCU124.Wherein, second is pre-
If duration is all more than in mapping table reconnects the required interval duration that number of times is corresponding, such as, the second preset duration is set to 1 day
Time, required interval duration is no longer than 1 day.
Fig. 3 illustrates a kind of embodiment of WIFI exception Auto-reconnect method of the present invention.In the present embodiment, this WIFI is different
Often Auto-reconnect method is applied to above-mentioned WIFI exception Auto-reconnect system.This WIFI exception Auto-reconnect system includes service
Device and WIFI exception Auto-reconnect device.WIFI exception Auto-reconnect device includes normal operational module and low-power consumption Working mould
Block.Wherein, normal operational module includes main power circuit, DSP and the memorizer being electrically connected with DSP, low-power consumption operational module
Including auxiliary power circuit, MCU, WIFI module and timing module.This WIFI exception Auto-reconnect method comprises the steps:
Step S1, auxiliary power circuit supplies electricity to MCU and WIFI module, and WIFI module is in low power mode of operation and interval
First preset duration transmission heartbeat data packets is to server, and WIFI exception Auto-reconnect device is in a dormant state.
Step S2, when MCU receives wake request, opens main power circuit, and main power circuit supplies electricity to DSP and memorizer,
WIFI module is converted to normal mode of operation from low power mode of operation, and WIFI exception Auto-reconnect device is changed from resting state
For wake-up states.
Step S3, DSP judges whether WIFI module receives the heart beating feedback signal that server sends, if not receiving clothes
The heart beating feedback signal that business device sends, then performing step S4, if receiving the heart beating feedback signal that server sends, then performing step
Rapid S8.
Step S4, DSP obtains and currently reconnects number of times and obtain the actual institute corresponding with currently reconnecting number of times according to mapping table
Duration need to be spaced, after being spaced actually required interval duration, perform the reconnection operation of WIFI module and server.Specifically, at it
In his embodiment, the reconnection operation performing WIFI module and server comprises the steps: step S41, according to actually required
Generate timing every duration reconnect instruction and send regularly reconnecting instruction to MCU;Step S42, MCU receives timing and reconnects instruction
Time, close main power circuit and control timing module and start timing;Step S43, the timing duration of timing module is with actually required
When interval duration is consistent, timing module sends the first open command to MCU;Step S44, after MCU receives the first open command,
Open main power circuit and control WIFI module re-establishes communication connection with server.
In order to further reduce the power consumption of this WIFI exception Auto-reconnect device, described WIFI exception Auto-reconnect side
Method also includes:
Step S5, DSP judges whether WIFI module is successfully established with the communication connection of server, if WIFI module and service
The communication connection of device does not sets up successfully, then perform step S6, if the communication connection of WIFI module and server is successfully established, then hold
Row step S7.
Step S6, currently reconnects number of times and adds 1 and store, and performs step S3.
Specifically, when the communication connection of WIFI module Yu server does not sets up successfully, number of times will be reconnected and reconnect before
Carry out on the basis of number of times adding 1 and storing.Such as, if it is unsuccessful to carry out reconnection operation for the first time, the most currently reconnecting number of times is
0, being after adding 1 and currently reconnecting number of times is 1.Therefore, what DSP read next time reconnects actually required interval corresponding when number of times is 1
Duration, is the actually required interval duration of reboot operation next time.
Step S7, WIFI module sends heartbeat data packets and to server and is in normal operating conditions, performs step S3.
In order to further reduce the power consumption of the WIFI exception Auto-reconnect device of the present embodiment, therefore, when not detecting
During to WIFI exception, this device enters resting state from wake-up states automatically.This WIFI exception Auto-reconnect method also includes:
Step S8, DSP generates normal hibernation instruction according to the second preset duration and sends normal hibernation instruction to MCU;
When MCU receives normal hibernation instruction, close main power circuit and control timing module and start timing;During the timing of timing module
Long when reaching the second preset duration, timing module sends the second open command to MCU;After MCU receives the second open command,
MCU opens main power circuit, performs step S3.Specifically, when DSP judge WIFI module receive server send heart beating anti-
During feedback signal, time i.e. without situation that WIFI is abnormal, MCU will be switched off main power circuit, and WIFI module is changed by normal mode of operation
For low power mode of operation, after being spaced the second preset duration, MCU opens main power circuit and again judges whether WIFI module connects
Receive the heart beating feedback signal that server sends.Wherein, the second preset duration can be a fixed value, but this is second when presetting
Long value is bigger than the actually required interval duration reconnecting number of times corresponding in mapping table.
Being described in detail the detailed description of the invention of invention above, but it is only used as example, the present invention is not limiting as
With specific embodiments described above.For a person skilled in the art, any equivalent modifications that this invention is carried out
Or substitute the most all among scope of the invention, therefore, the equalization made under without departing from the spirit and principles in the present invention scope
Conversion and amendment, improvement etc., all should contain within the scope of the invention.
Claims (10)
1. a WIFI exception Auto-reconnect device, it is characterised in that comprising:
Normal operational module, it includes main power circuit, DSP and the memorizer being electrically connected with described DSP, and described memorizer is deposited
Containing mapping table, described mapping table includes reconnecting number of times and and described reconnects the required interval duration that number of times is corresponding;
Low-power consumption operational module, it includes auxiliary power circuit, MCU and the WIFI module being electrically connected with described MCU;Described secondary electricity
Source circuit is powered to described MCU and described WIFI module, and described WIFI module is in low power mode of operation and interval first is pre-
If duration sends heartbeat data packets to outside;When described MCU receives the wake request of outside, described WIFI module is from described low
Power consumption working mode change is normal mode of operation, and described MCU opens described main power circuit, and described main power circuit supplies electricity to
Described DSP and described memorizer, when described DSP judges the heart beating feedback signal that described WIFI module does not receives outside transmission,
Described DSP obtains and currently reconnects number of times and obtain and described currently reconnect that number of times is corresponding actually required according to described mapping table
Every duration;After being spaced described actually required interval duration, perform described WIFI module and outside reconnection operation.
WIFI exception Auto-reconnect device the most according to claim 1, it is characterised in that described low-power consumption operational module is also
Including the timing module being electrically connected with described MCU;Described DSP generates timing according to described actually required interval duration and reconnects finger
Order and described timing is reconnected instruction send to described MCU, described MCU receive described timing reconnect instruction time, close described
Main power circuit also controls described timing module and starts timing, the timing duration of described timing module and described actually required interval
When duration is consistent, described timing module sends the first open command extremely described MCU, after described MCU receives the first open command,
Open described main power circuit and control described WIFI module and outside and re-establish communication connection.
WIFI exception Auto-reconnect device the most according to claim 2, it is characterised in that described DSP also includes judging list
Unit, described judging unit is for judging whether described WIFI module is successfully established with outside communication connection;
If described WIFI module does not sets up successfully with outside communication connection, the described number of times that currently reconnects adds 1 and stores;
If described WIFI module is successfully established with outside communication connection, described WIFI module is spaced described first preset duration and sends out
Send heartbeat data packets to outside.
WIFI exception Auto-reconnect device the most according to claim 1, it is characterised in that described DSP judges described WIFI
When module receives the heart beating feedback signal of outside transmission, described DSP generates normal hibernation according to the second preset duration and instructs also
The instruction of described normal hibernation is sent to MCU, when described MCU receives the instruction of described normal hibernation, closes described main power source electricity
Road also controls described timing module and starts timing, when the timing duration of described timing module reaches described second preset duration, and institute
State timing module and send the second open command to described MCU, the described MCU described main power circuit of unlatching.
5. a WIFI exception Auto-reconnect system, it is characterised in that it includes that the WIFI described in one of claim 1-4 is abnormal
Auto-reconnect device.
WIFI exception Auto-reconnect system the most according to claim 5, it is characterised in that it also includes server, described clothes
Business device communicates to connect with the WIFI module of described WIFI exception Auto-reconnect device.
7. a WIFI exception Auto-reconnect method, it is applied to WIFI exception Auto-reconnect system, and described WIFI is abnormal automatically
Reconnecting system includes that server and WIFI exception Auto-reconnect device, described WIFI exception Auto-reconnect device include normally working
Module and low-power consumption operational module, described normal operational module includes that main power circuit, DSP and memorizer, described memorizer are deposited
Containing mapping table, described mapping table includes reconnecting number of times and and described reconnects the required interval duration that number of times is corresponding;Described low merit
Consumption operational module includes auxiliary power circuit, MCU, WIFI module and timing module, it is characterised in that described WIFI is abnormal to be weighed automatically
Even method comprises the steps:
Described auxiliary power circuit supplies electricity to described MCU and described WIFI module, and described WIFI module is in low power mode of operation
And interval the first preset duration transmission heartbeat data packets is to server, described WIFI exception Auto-reconnect device is in dormancy shape
State;
When described MCU receives wake request, opening described main power circuit, described main power circuit supplies electricity to described DSP and institute
Stating memorizer, described WIFI module is converted to normal mode of operation from described low power mode of operation, and described WIFI is abnormal automatically
Reconnect device and be converted to wake-up states from described resting state;
Described DSP performs WIFI abnormal judgement operation, and described WIFI is abnormal judges that operation judges described WIFI module as described DSP
Whether receive the heart beating feedback signal that server sends;
When not receiving the heart beating feedback signal that server sends, described DSP obtains and currently reconnects number of times and reflect according to described
Firing table obtains and described currently reconnects the actually required interval duration that number of times is corresponding, after being spaced described actually required interval duration,
Perform described WIFI module and outside reconnection operation.
WIFI exception Auto-reconnect method the most according to claim 7, it is characterised in that perform described WIFI module with outside
The step of reconnection operation, including:
Described DSP generates timing according to described actually required interval duration and reconnects instruction and described timing reconnect instruction transmission extremely
Described MCU;
Described MCU receives described timing when reconnecting instruction, closes described main power circuit and controls described timing module and start
Timing;
When the timing duration of described timing module and described actually required interval duration are consistent, described timing module sends first and opens
Open instruction extremely described MCU;
After described MCU receives the first open command, open described main power circuit and control described WIFI module and server
Re-establish communication connection.
WIFI exception Auto-reconnect method the most according to claim 8, it is characterised in that open described main power circuit and control
After making the step that described WIFI module re-establishes communication connection with server, also include:
Described DSP judges whether described WIFI module is successfully established with the communication connection of server;
If the communication connection of described WIFI module and server does not sets up successfully, described currently reconnect perform after number of times adds 1 described
WIFI is abnormal judges operation;
If described WIFI module is successfully established with the communication connection of server, described WIFI module is spaced the first preset duration section and sends out
Send heartbeat data packets to server, perform described WIFI abnormal judgement operation.
WIFI exception Auto-reconnect method the most according to claim 7, it is characterised in that described method also includes: work as reception
To server send heart beating feedback signal time, described DSP according to second preset duration generate normal hibernation instruction and by described
Normal hibernation instruction sends to described MCU;When described MCU receives the instruction of described normal hibernation, close described main power circuit
And control described timing module and start timing;When the timing duration of described timing module reaches described second preset duration, described
Timing module sends described second open command extremely described MCU;After described MCU receives described second open command, described MCU
Open described main power circuit, perform described WIFI abnormal judgement operation.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610654788.7A CN106332159B (en) | 2016-08-10 | 2016-08-10 | WIFI abnormity automatic reconnection device, system and method |
PCT/CN2016/113451 WO2018028132A1 (en) | 2016-08-10 | 2016-12-30 | Device, system and method for automatic reconnection in case of wi-fi abnormality |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610654788.7A CN106332159B (en) | 2016-08-10 | 2016-08-10 | WIFI abnormity automatic reconnection device, system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106332159A true CN106332159A (en) | 2017-01-11 |
CN106332159B CN106332159B (en) | 2020-01-17 |
Family
ID=57740319
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610654788.7A Active CN106332159B (en) | 2016-08-10 | 2016-08-10 | WIFI abnormity automatic reconnection device, system and method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106332159B (en) |
WO (1) | WO2018028132A1 (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107172304A (en) * | 2017-07-17 | 2017-09-15 | 维沃移动通信有限公司 | A kind of mobile terminal power consumption detection method and mobile terminal |
CN109814516A (en) * | 2019-03-19 | 2019-05-28 | 上海零眸智能科技有限公司 | A kind of refrigerator-freezer intelligent monitoring box and policing algorithm |
CN110755061A (en) * | 2018-07-27 | 2020-02-07 | 九阳股份有限公司 | Heartbeat detection method of household appliance and household appliance |
CN111010604A (en) * | 2019-12-27 | 2020-04-14 | 深圳创维-Rgb电子有限公司 | Method for preventing wifi list from being lost, smart television and medium |
CN111193769A (en) * | 2019-11-25 | 2020-05-22 | 泰康保险集团股份有限公司 | Method, system, device, electronic equipment and storage medium for recovering long connection |
CN111741541A (en) * | 2020-06-10 | 2020-10-02 | 国网湖南省电力有限公司 | Frequent reconnection method and system based on wireless communication module of power distribution terminal |
CN111918236A (en) * | 2020-08-10 | 2020-11-10 | 上海顺舟智能科技股份有限公司 | Internet of things security sensor network searching method, device, equipment and storage medium |
CN111970050A (en) * | 2020-07-14 | 2020-11-20 | 电子科技大学 | System for jointly monitoring modulation format and optical signal-to-noise ratio based on anomaly detection |
CN113766543A (en) * | 2021-09-14 | 2021-12-07 | 青岛中科英泰商用系统股份有限公司 | Method, system, electronic device and medium for improving WiFi stability |
CN113866651A (en) * | 2021-09-18 | 2021-12-31 | 珠海格力电器股份有限公司 | Low-power detection method and device for remote controller and remote controller |
CN114710569A (en) * | 2022-03-11 | 2022-07-05 | 珠海派诺科技股份有限公司 | Self-scaling TCP link maintenance method, system and storage medium |
WO2024109333A1 (en) * | 2022-11-23 | 2024-05-30 | 京东方科技集团股份有限公司 | Communication method for wifi module, and wifi module and terminal device |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110139348B (en) * | 2019-05-21 | 2022-10-28 | 广东几米星联通讯有限公司 | RDSS communication method and terminal thereof |
CN114530939B (en) * | 2022-02-11 | 2023-01-06 | 深圳天地宽视信息科技有限公司 | Remote monitoring device and method for two-wire centralized power supply |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105050115A (en) * | 2015-06-29 | 2015-11-11 | 小米科技有限责任公司 | Method and device for waking up MCU |
CN105405188A (en) * | 2015-11-04 | 2016-03-16 | 海星客企业发展(上海)有限公司 | Ultrasonic unlocking device based on WiFi (Wireless Fidelity), ultrasonic unlocking system based on WiFi and control system thereof |
CN205158550U (en) * | 2015-10-27 | 2016-04-13 | 华南理工大学广州学院 | Public transit anti -theft device based on WIFI |
CN105636004A (en) * | 2015-12-25 | 2016-06-01 | 惠州Tcl移动通信有限公司 | Bluetooth automatic reconnection method and system based on low power consumption Bluetooth |
US20160191991A1 (en) * | 2014-12-31 | 2016-06-30 | Echostar Technologies L.L.C. | Systems and methods for automatic resumption of video stream following transient wifi disconnect |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102316555A (en) * | 2011-09-19 | 2012-01-11 | 华为终端有限公司 | Method for scanning wireless fidelity (WiFi) network by mobile terminal and mobile terminal adopting method |
US8868065B2 (en) * | 2012-06-08 | 2014-10-21 | Apple Inc. | System and method for reducing power consumption for push messaging |
CN104378421A (en) * | 2014-11-14 | 2015-02-25 | 四川长虹电器股份有限公司 | Remote control system and method of intelligent household electrical appliance product |
CN105357283B (en) * | 2015-10-20 | 2020-02-11 | 北京奇宝科技有限公司 | Long connection establishing method of intelligent wearable equipment, server and terminal |
-
2016
- 2016-08-10 CN CN201610654788.7A patent/CN106332159B/en active Active
- 2016-12-30 WO PCT/CN2016/113451 patent/WO2018028132A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160191991A1 (en) * | 2014-12-31 | 2016-06-30 | Echostar Technologies L.L.C. | Systems and methods for automatic resumption of video stream following transient wifi disconnect |
CN105050115A (en) * | 2015-06-29 | 2015-11-11 | 小米科技有限责任公司 | Method and device for waking up MCU |
CN205158550U (en) * | 2015-10-27 | 2016-04-13 | 华南理工大学广州学院 | Public transit anti -theft device based on WIFI |
CN105405188A (en) * | 2015-11-04 | 2016-03-16 | 海星客企业发展(上海)有限公司 | Ultrasonic unlocking device based on WiFi (Wireless Fidelity), ultrasonic unlocking system based on WiFi and control system thereof |
CN105636004A (en) * | 2015-12-25 | 2016-06-01 | 惠州Tcl移动通信有限公司 | Bluetooth automatic reconnection method and system based on low power consumption Bluetooth |
Non-Patent Citations (1)
Title |
---|
JEZHEE: "《Android IM开发小结》", 《HTTP://ZHOUJIANGHUA.COM/2015/09/20/SUMMARY_OF_IM_ANDROID/》 * |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107172304A (en) * | 2017-07-17 | 2017-09-15 | 维沃移动通信有限公司 | A kind of mobile terminal power consumption detection method and mobile terminal |
CN107172304B (en) * | 2017-07-17 | 2019-12-03 | 维沃移动通信有限公司 | A kind of mobile terminal power consumption detection method and mobile terminal |
CN110755061A (en) * | 2018-07-27 | 2020-02-07 | 九阳股份有限公司 | Heartbeat detection method of household appliance and household appliance |
CN109814516A (en) * | 2019-03-19 | 2019-05-28 | 上海零眸智能科技有限公司 | A kind of refrigerator-freezer intelligent monitoring box and policing algorithm |
CN111193769A (en) * | 2019-11-25 | 2020-05-22 | 泰康保险集团股份有限公司 | Method, system, device, electronic equipment and storage medium for recovering long connection |
CN111010604A (en) * | 2019-12-27 | 2020-04-14 | 深圳创维-Rgb电子有限公司 | Method for preventing wifi list from being lost, smart television and medium |
CN111741541A (en) * | 2020-06-10 | 2020-10-02 | 国网湖南省电力有限公司 | Frequent reconnection method and system based on wireless communication module of power distribution terminal |
CN111741541B (en) * | 2020-06-10 | 2023-11-17 | 国网湖南省电力有限公司 | Frequent reconnection method and system based on wireless communication module of power distribution terminal |
CN111970050A (en) * | 2020-07-14 | 2020-11-20 | 电子科技大学 | System for jointly monitoring modulation format and optical signal-to-noise ratio based on anomaly detection |
CN111970050B (en) * | 2020-07-14 | 2022-03-15 | 电子科技大学 | System for jointly monitoring modulation format and optical signal-to-noise ratio based on anomaly detection |
CN111918236B (en) * | 2020-08-10 | 2021-08-31 | 上海顺舟智能科技股份有限公司 | Internet of things security sensor network searching method, device, equipment and storage medium |
CN111918236A (en) * | 2020-08-10 | 2020-11-10 | 上海顺舟智能科技股份有限公司 | Internet of things security sensor network searching method, device, equipment and storage medium |
CN113766543A (en) * | 2021-09-14 | 2021-12-07 | 青岛中科英泰商用系统股份有限公司 | Method, system, electronic device and medium for improving WiFi stability |
CN113766543B (en) * | 2021-09-14 | 2024-04-30 | 青岛中科英泰商用系统股份有限公司 | Method, system, electronic equipment and medium for improving WiFi stability |
CN113866651A (en) * | 2021-09-18 | 2021-12-31 | 珠海格力电器股份有限公司 | Low-power detection method and device for remote controller and remote controller |
CN114710569A (en) * | 2022-03-11 | 2022-07-05 | 珠海派诺科技股份有限公司 | Self-scaling TCP link maintenance method, system and storage medium |
WO2024109333A1 (en) * | 2022-11-23 | 2024-05-30 | 京东方科技集团股份有限公司 | Communication method for wifi module, and wifi module and terminal device |
Also Published As
Publication number | Publication date |
---|---|
CN106332159B (en) | 2020-01-17 |
WO2018028132A1 (en) | 2018-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106332159A (en) | WIFI abnormity automatic reconnection device, system and method | |
US9442555B2 (en) | Method of control of an access point of a home gateway of a home network | |
CN103546951B (en) | Mobile device and its sleep management method | |
EP2432270A1 (en) | Method, device and system for controlling access point | |
US9069601B2 (en) | Method and apparatus for controlling task execution | |
CN104604323A (en) | Adaptive fast dormancy controller | |
CN106412845B (en) | Dormancy method and device of wireless fidelity Wi-Fi equipment | |
KR20160060723A (en) | Service agent method, modem and terminal | |
US20220104120A1 (en) | Signal-repeater device operable in low-power repeater-operational mode | |
EP3190771B1 (en) | Method and device for managing instant communication application program, and mobile terminal thereof | |
US20210076450A1 (en) | Data service processing method, network side device, terminal device, and storage medium | |
CN107484232A (en) | Message method, system, the network equipment and readable storage medium storing program for executing | |
CN104411003A (en) | Dormancy wakeup control method and system of wireless communication equipment | |
EP3110210B1 (en) | Data processing apparatus and method | |
CN103313303A (en) | Wireless access point, wireless work station and work method of wireless access point and wireless work station | |
CN103118387B (en) | A kind of thin AP redundancy connection control method of active-standby mode | |
CN108055696B (en) | Method of controlling operation of a communication device, transceiver and computer readable medium for corresponding operation | |
CN102984791A (en) | Energy-saving method for wireless sensor node | |
CN112398661B (en) | Equipment dormancy processing method and device, ioT equipment and storage medium | |
RU2737440C1 (en) | Method and device for configuring parameters | |
CN110475321B (en) | Power-saving optimization method and device for wireless local area network (AP) | |
CN102413179A (en) | Automatic power-on or wake-up machine and power-on or wake-up method thereof | |
CN105072291B (en) | Low-power consumption mobile communication terminal system and method for realizing low power consumption | |
CN109245974A (en) | Household electrical appliance distribution method, apparatus and computer readable storage medium | |
CN104914976A (en) | Data processing method, data processing device and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
CB02 | Change of applicant information |
Address after: Baoan District Xin''an street Shenzhen city Guangdong province 518000 Liuxian road two Honghui Industrial Park No. 5 Building 2 floor, 3 floor, 6 floor, 7 floor, 8 floor of the west half layer, 9 floor Applicant after: Shenzhen Aoni electronic Limited by Share Ltd Address before: Baoan District Xin''an street Shenzhen city Guangdong province 518000 Liuxian road two Honghui Industrial Park No. 5 Building 2 floor, 3 floor, 6 floor, 7 floor, 8 floor of the west half layer, 9 floor Applicant before: Shenzhen Aoni Electronic Industry Co., Ltd. |
|
COR | Change of bibliographic data | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |