CN103442410A - Network breakdown re-access method based on internet of things embedded Wi-Fi module - Google Patents

Network breakdown re-access method based on internet of things embedded Wi-Fi module Download PDF

Info

Publication number
CN103442410A
CN103442410A CN2013103800540A CN201310380054A CN103442410A CN 103442410 A CN103442410 A CN 103442410A CN 2013103800540 A CN2013103800540 A CN 2013103800540A CN 201310380054 A CN201310380054 A CN 201310380054A CN 103442410 A CN103442410 A CN 103442410A
Authority
CN
China
Prior art keywords
module
internet
designated router
mode
searched
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2013103800540A
Other languages
Chinese (zh)
Inventor
邱海一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANGHAI HIGH-FLYING ELECTRONICS TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI HIGH-FLYING ELECTRONICS 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 SHANGHAI HIGH-FLYING ELECTRONICS TECHNOLOGY Co Ltd filed Critical SHANGHAI HIGH-FLYING ELECTRONICS TECHNOLOGY Co Ltd
Priority to CN2013103800540A priority Critical patent/CN103442410A/en
Publication of CN103442410A publication Critical patent/CN103442410A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a network breakdown re-access method based on an internet of things embedded Wi-Fi module. The method comprises the steps that the Wi-Fi module is powered on in an STA mode; whether a designated router is searched for or not is judged, and if the designated router is searched for, the Wi-Fi module has access to the designated router; if the designated router is not searched for, the module waits for a while, is automatically switched to an AP mode, and works for a while in the AP mode, whether the designated router is searched for or not is continuously judged, and if the designated router is not searched for, the steps are continuously circulated; if the designated router is searched for, the module is switched back to the STA mode and has access to the designated router. Due to an outage or a network breakdown or poor signals, the router can not be connected with the internet. When the power grid is restored and reconnection is required, the technical scheme is adopted, the complexity caused when home use consumer products like a smart home deal with the Wi-Fi network faults is greatly reduced, and the most critical problem of the popularization of an internet of things Wi-Fi device is solved.

Description

A kind of suspension based on the embedded Wi-Fi module of Internet of Things is cut-in method again
Technical field
The invention belongs to the technology of Internet of things field, particularly a kind of suspension based on the embedded Wi-Fi module of Internet of Things cut-in method again.
Background technology
The Internet of Things revolution makes more new equipment be able to be connected to family expenses networking and high in the clouds with wireless mode.Yet these terminal equipments that there is no keyboard or touch-screen for great majority, as household appliances, lamp, thermostat, treadmill, the equipment such as electronic scale, when these products that are operated under wireless base station (STA) pattern, after encountering the former thereby network disconnecting that causes such as wireless router outage or poor signal, how making its success again be connected to Wi-Fi network is but to hinder it to become the huge obstacle that widespread deployment connects homebrew.Be operated in these products under wireless base station (STA) pattern, want accessing Internet network again, must at first complete network configuration process, this comprises the wireless router that selecting properly is to be accessed, set cipher mode and cryptographic algorithm, then input correct password, last ability access network, passage connects.These layoutprocedures in the situation that radio channel disconnect, can only in the upper mode by order of debugging interface (serial line interface), just can realize by operating personnel, and this is need to have certain radio network technique background just can realize, exhausted large a part of consumer group for the Internet of Things housed device, very difficult, can realize hardly.
Summary of the invention
In order to address the above problem, the invention provides a kind of suspension based on the embedded Wi-Fi module of Internet of Things cut-in method again.
A kind of suspension based on the embedded Wi-Fi module of Internet of Things in the present invention is cut-in method again, it is characterized in that:
The S1:Wi-Fi module powers on the STA pattern;
S2: judge whether to search Designated Router: as do not search, S3 turned; As search, turn S7;
S3: wait for a period of time, module automatically switches to ap mode;
S4: module is worked a period of time under ap mode;
S5: judge whether to search Designated Router: as search, S6 turned; As do not search, turn S4;
S6: module is switched back the STA pattern;
S7: module is connected into Designated Router.
In such scheme, described ap mode is the wireless access dot pattern, is the Centroid of a wireless network.
In such scheme, described STA pattern is the wireless site pattern, is the terminal of a wireless network.
In such scheme, a period of time in described S3 is one minute.
In such scheme, a period of time in described S4 is one minute.
Advantage of the present invention and beneficial effect are: the invention provides a kind of suspension based on the embedded Wi-Fi module of Internet of Things cut-in method again.The present invention compared with prior art, has the following advantages and beneficial effect:
1, suspension of the present invention cut-in method again, can reduce to greatest extent the operation of manpower intervention, and the internet of things equipment (as router outage or damage, router is changed new password) in any suspension situation that guarantees to be operated under the STA pattern can correctly take back network.
2, suspension of the present invention cut-in method again, make to lose the STA equipment that network connects, and ap mode can automatically switch back.Thereby provide a wireless intervention passage easily, and realize that (intelligent terminal or PC are operated in the STA pattern for point-to-point configuration to this Wi-Fi module, and the Wi-Fi module is operated in ap mode, can directly match and carry out wireless connections), greatly reduced configuration step and the complexity of Wi-Fi.
3, suspension of the present invention cut-in method again, make to be operated in the internet of things equipment under ap mode, search Designated Router that can loop cycle.For example, as again searched Designated Router (this router powers on again or repairs), this equipment STA pattern that can automatically switch back, and re-establish and be connected with this Designated Router.Whole differentiation process all completes automatically, without any operation of manpower intervention.
The accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the suspension of the present invention flow chart of cut-in method again;
The hardware system block diagram that Fig. 2 is the embedded WIFI module of the present invention.
In figure: 1, microcontroller chip 2, WIFI chip 3, program storage chip 4, filter
5, the first crystal oscillator 6, the second crystal oscillator 7, power supply switch tube
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is further described.Following examples are only for technical scheme of the present invention more clearly is described, and can not limit the scope of the invention with this.
As shown in Figure 1, the present invention is a kind of suspension based on the embedded Wi-Fi module of Internet of Things cut-in method again.
As shown in Figure 2, embedded WIFI module adopts low-power-consumption embedded WIFI module, comprise hardware components and software section, hardware components comprises microcontroller chip 1, WIFI chip 2, program storage chip 3, filter 4, the first crystal oscillator 5, the second crystal oscillator 6 and power supply switch tube 7, WIFI chip 2 adopts data-signal to be connected with microcontroller chip 1, microcontroller chip 1 adopts Serial Peripheral Interface (SPI) to be connected with program storage chip 3, WIFI chip 2 is connected with power supply switch tube 7 respectively with microcontroller chip 1, WIFI chip 2 is connected with the first crystal oscillator 5 with filter 4 respectively, microcontroller chip 1 is connected with the second crystal oscillator 6,
Software section comprises module interface administrative unit, application program module, web page server, miniaturization ICP/IP protocol stack, WIFI driver module, bottom hardware interface driver and real time operating system module, the real time operating system module is as framework, and module interface administrative unit, application program module, web page server, miniaturization ICP/IP protocol stack, WIFI driver module and bottom hardware interface driver are integrated on the real time operating system module.
Use the combination of low-power-consumption embedded WIFI module hardware part and software section, can realize very easily this method:
The S1:Wi-Fi module powers on the STA pattern;
S2: judge whether to search Designated Router: as do not search, S3 turned; As search, turn S7;
S3: wait for a period of time, module automatically switches to ap mode;
S4: module is worked a period of time under ap mode;
S5: judge whether to search Designated Router: as search, S6 turned; As do not search, turn S4;
S6: module is switched back the STA pattern;
S7: module is connected into Designated Router.
Wherein, ap mode is the wireless access dot pattern, is the Centroid of a wireless network; The STA pattern is the wireless site pattern, is the terminal of a wireless network.
And a period of time in S3 is one minute, a period of time in S4 is one minute.
Embedded Wi-Fi module is supported ap mode, STA work pattern, and can realize by the debugging interface order automatic switchover of two kinds of mode of operations (AP and STA).Router is because cut off the power supply suspension or poor signal can't connect, and when power system restoration need to reconnect, adopt the technique scheme router automatically to reconnect, do not need the people for going operation, the Designated Router or be switched to WAP (wireless access point) (AP) pattern of again being linked back that can intelligence, greatly reduce the complexity of the domestic consumer product treatment Wi-Fi networking faults such as Smart Home, solved a most key ring of Internet of Things Wi-Fi equipment promotion.
Here the Designated Router of indication refers to the router that sets and store password, when router is changed password or changed router, need to reset, and can not certainly be dynamically connected.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (5)

1. the suspension based on the embedded Wi-Fi module of Internet of Things cut-in method again is characterized in that:
The S1:Wi-Fi module powers on the STA pattern;
S2: judge whether to search Designated Router: as do not search, S3 turned; As search, turn S7;
S3: wait for a period of time, module automatically switches to ap mode;
S4: module is worked a period of time under ap mode;
S5: judge whether to search Designated Router: as search, S6 turned; As do not search, turn S4;
S6: module is switched back the STA pattern;
S7: module is connected into Designated Router.
2. a kind of suspension based on the embedded Wi-Fi module of Internet of Things according to claim 1 cut-in method again, is characterized in that, described ap mode is the wireless access dot pattern, is the Centroid of a wireless network.
3. a kind of suspension based on the embedded Wi-Fi module of Internet of Things according to claim 1 cut-in method again, is characterized in that, described STA pattern is the wireless site pattern, is the terminal of a wireless network.
4. a kind of suspension based on the embedded Wi-Fi module of Internet of Things according to claim 1 cut-in method again, is characterized in that, a period of time in described S3 is one minute.
5. a kind of suspension based on the embedded Wi-Fi module of Internet of Things according to claim 1 cut-in method again, is characterized in that, a period of time in described S4 is one minute.
CN2013103800540A 2013-08-27 2013-08-27 Network breakdown re-access method based on internet of things embedded Wi-Fi module Pending CN103442410A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013103800540A CN103442410A (en) 2013-08-27 2013-08-27 Network breakdown re-access method based on internet of things embedded Wi-Fi module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013103800540A CN103442410A (en) 2013-08-27 2013-08-27 Network breakdown re-access method based on internet of things embedded Wi-Fi module

Publications (1)

Publication Number Publication Date
CN103442410A true CN103442410A (en) 2013-12-11

Family

ID=49696060

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013103800540A Pending CN103442410A (en) 2013-08-27 2013-08-27 Network breakdown re-access method based on internet of things embedded Wi-Fi module

Country Status (1)

Country Link
CN (1) CN103442410A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888983A (en) * 2014-03-31 2014-06-25 美的集团股份有限公司 WIFI work mode automatic switching method and system of terminal
CN103945499A (en) * 2014-04-17 2014-07-23 美的集团股份有限公司 Switching method and device of working modes of WIFI module
CN104023374A (en) * 2014-05-27 2014-09-03 美的集团股份有限公司 Wireless local area network access parameter configuration method and system
CN104202794A (en) * 2014-08-20 2014-12-10 广东美的集团芜湖制冷设备有限公司 Household appliance, and wireless network configuration method and device thereof
CN104301917A (en) * 2014-09-15 2015-01-21 浙江生辉照明有限公司 Network anomaly self-healing method and system based on illumination devices
CN104581847A (en) * 2014-12-26 2015-04-29 深圳市兰丁科技有限公司 Wireless device configuration method and apparatus
CN104678846A (en) * 2015-01-27 2015-06-03 宁波瑞明电器有限公司 Wireless control method
CN104853373A (en) * 2015-05-04 2015-08-19 海信集团有限公司 Method and device for switching operating modes of wireless module
WO2016095186A1 (en) * 2014-12-19 2016-06-23 Thomson Licensing Method and device for device configuration
WO2016155304A1 (en) * 2015-03-31 2016-10-06 小米科技有限责任公司 Wireless access point control method and device
CN107018544A (en) * 2017-04-10 2017-08-04 北京德威特继保自动化科技股份有限公司 The cut-in method and device of wireless network
CN109005573A (en) * 2018-08-30 2018-12-14 上海汉枫电子科技有限公司 A kind of method of big quantity Wi-Fi equipment access to LAN
CN109039789A (en) * 2018-10-24 2018-12-18 日照职业技术学院 A kind of internet of things equipment method of network entry, system, internet of things equipment and storage medium
CN109543675A (en) * 2018-10-30 2019-03-29 华南理工大学 Train ticket information sharing method and device based on image recognition and local Internet of Things
CN111278067A (en) * 2020-01-16 2020-06-12 深圳市沃特沃德股份有限公司 Method, device and storage medium for sharing site connection information by non-screen equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118831A (en) * 2011-03-16 2011-07-06 宇龙计算机通信科技(深圳)有限公司 Wireless access method and device
CN102612116A (en) * 2011-01-21 2012-07-25 捷讯研究有限公司 Methods and apparatus for use in controlling an access point mode of operation for a mobile terminal
CN103036891A (en) * 2012-12-19 2013-04-10 北京时代凌宇科技有限公司 Method and device based on wireless fidelity (Wi-Fi) for accessing to Internet of Things
CN103188824A (en) * 2011-12-28 2013-07-03 三星电子株式会社 Network system of home appliance and network setup method of the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102612116A (en) * 2011-01-21 2012-07-25 捷讯研究有限公司 Methods and apparatus for use in controlling an access point mode of operation for a mobile terminal
CN102118831A (en) * 2011-03-16 2011-07-06 宇龙计算机通信科技(深圳)有限公司 Wireless access method and device
CN103188824A (en) * 2011-12-28 2013-07-03 三星电子株式会社 Network system of home appliance and network setup method of the same
CN103036891A (en) * 2012-12-19 2013-04-10 北京时代凌宇科技有限公司 Method and device based on wireless fidelity (Wi-Fi) for accessing to Internet of Things

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888983A (en) * 2014-03-31 2014-06-25 美的集团股份有限公司 WIFI work mode automatic switching method and system of terminal
CN103888983B (en) * 2014-03-31 2018-03-13 美的集团股份有限公司 Terminal WIFI mode of operations automatic switching method and system
CN103945499A (en) * 2014-04-17 2014-07-23 美的集团股份有限公司 Switching method and device of working modes of WIFI module
CN103945499B (en) * 2014-04-17 2017-11-14 美的集团股份有限公司 The switching method and device of WIFI module mode of operation
CN104023374A (en) * 2014-05-27 2014-09-03 美的集团股份有限公司 Wireless local area network access parameter configuration method and system
CN104202794A (en) * 2014-08-20 2014-12-10 广东美的集团芜湖制冷设备有限公司 Household appliance, and wireless network configuration method and device thereof
US20160219447A1 (en) * 2014-09-15 2016-07-28 Zhejiang Shenghui Lighting Co., Ltd. Network self-healing method and system using lighting devices
US9955369B2 (en) * 2014-09-15 2018-04-24 Zhejiang Shenghui Lighting Co., Ltd Network self-healing method and system using lighting devices
CN104301917A (en) * 2014-09-15 2015-01-21 浙江生辉照明有限公司 Network anomaly self-healing method and system based on illumination devices
KR101822778B1 (en) * 2014-09-15 2018-03-08 절강 성휘 라이팅 컴퍼니 리미티드 Network self-healing method and system using lighting devices
WO2016095186A1 (en) * 2014-12-19 2016-06-23 Thomson Licensing Method and device for device configuration
CN104581847A (en) * 2014-12-26 2015-04-29 深圳市兰丁科技有限公司 Wireless device configuration method and apparatus
CN104581847B (en) * 2014-12-26 2018-11-09 深圳市海蕴新能源有限公司 A kind of configuration method and device of wireless device
CN104678846A (en) * 2015-01-27 2015-06-03 宁波瑞明电器有限公司 Wireless control method
WO2016155304A1 (en) * 2015-03-31 2016-10-06 小米科技有限责任公司 Wireless access point control method and device
US10045163B2 (en) 2015-03-31 2018-08-07 Xiaomi Inc. Methods and apparatuses for controlling a wireless access point
CN104853373A (en) * 2015-05-04 2015-08-19 海信集团有限公司 Method and device for switching operating modes of wireless module
CN107018544A (en) * 2017-04-10 2017-08-04 北京德威特继保自动化科技股份有限公司 The cut-in method and device of wireless network
CN107018544B (en) * 2017-04-10 2019-12-10 北京德威特电气科技股份有限公司 Access method and device of wireless network
CN109005573A (en) * 2018-08-30 2018-12-14 上海汉枫电子科技有限公司 A kind of method of big quantity Wi-Fi equipment access to LAN
CN109039789A (en) * 2018-10-24 2018-12-18 日照职业技术学院 A kind of internet of things equipment method of network entry, system, internet of things equipment and storage medium
CN109543675A (en) * 2018-10-30 2019-03-29 华南理工大学 Train ticket information sharing method and device based on image recognition and local Internet of Things
CN109543675B (en) * 2018-10-30 2022-03-29 华南理工大学 Train ticket information sharing method and device based on image recognition and local internet of things
CN111278067A (en) * 2020-01-16 2020-06-12 深圳市沃特沃德股份有限公司 Method, device and storage medium for sharing site connection information by non-screen equipment

Similar Documents

Publication Publication Date Title
CN103442410A (en) Network breakdown re-access method based on internet of things embedded Wi-Fi module
CN103428799B (en) WIFI network module collocation method
CN105208583B (en) Method and device for configuring intelligent household electrical appliance to access network and intelligent equipment
CN103268077B (en) Control method of remote control device based on Android mobile phones
CN104301905A (en) Ad-hoc network method and system for smart home on basis of election supervision strategy
CN104506397A (en) Method and system for intelligent equipment to be accessed into local area network
CN203732979U (en) Long-distance multiport power source restart control device
CN105573151A (en) Household appliance control method, control device and household data terminal
CN105163371A (en) WIFI setting system and method based on Bluetooth
CN102291284A (en) Intelligent terminal device of wireless network digital home
CN103546352A (en) Remote control method and device based on wireless login
CN104883719A (en) Method, apparatus and system of accessing to wireless local area network by wireless input device
CN203984450U (en) Intelligent domestic gateway
CN102129228B (en) Monitoring system and configuration method thereof
CN104539493A (en) Intelligent terminal system and method of management and control over intelligent household electric appliances based on USB interface
CN108462510A (en) Fault detection system based on power carrier and method
CN104238415A (en) Wi-Fi plug with electric leakage and over-current protection functions and intelligent household appliance control system applying same
CN104238414A (en) Wi-Fi plug with electric leakage protection function and intelligent household appliance control system applying same
CN105282604A (en) Television and intelligent information source selection method for television
CN204376932U (en) A kind of intelligent domestic system
CN106131331A (en) A kind of method, apparatus and system that multiple smart machines are uniformly controlled
CN203261357U (en) Novel universal Internet-of-things gateway
CN104993841A (en) Wireless communication device and restarting method thereof, terminal device and host device
CN109286996A (en) Mode switching method, bluetooth equipment, apparatus and system based on bluetooth connection
CN102547933B (en) A kind of power-economizing method and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20131211

RJ01 Rejection of invention patent application after publication