Nothing Special   »   [go: up one dir, main page]

CN105338527B - Internet of Things module network connection configuration method and system - Google Patents

Internet of Things module network connection configuration method and system Download PDF

Info

Publication number
CN105338527B
CN105338527B CN201410385422.5A CN201410385422A CN105338527B CN 105338527 B CN105338527 B CN 105338527B CN 201410385422 A CN201410385422 A CN 201410385422A CN 105338527 B CN105338527 B CN 105338527B
Authority
CN
China
Prior art keywords
internet
network
password
module
things module
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.)
Active
Application number
CN201410385422.5A
Other languages
Chinese (zh)
Other versions
CN105338527A (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 Zhongdian Port Technology Co.,Ltd.
Original Assignee
Shenzhen Zhongdian International Information 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 Zhongdian International Information Technology Co Ltd filed Critical Shenzhen Zhongdian International Information Technology Co Ltd
Priority to CN201410385422.5A priority Critical patent/CN105338527B/en
Publication of CN105338527A publication Critical patent/CN105338527A/en
Application granted granted Critical
Publication of CN105338527B publication Critical patent/CN105338527B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

A kind of Internet of Things module network connection configuration method, which comprises Internet of Things module is started with ap mode, obtains initial network title and initial password;Start network connection configuration mode, the initial network title and initial password are changed to first network title and first password respectively according to preset format;It judges whether there is intelligent terminal and the Internet of Things module is logged in by the first network title and first password;If so, obtaining the second network name and the second password for the wireless network that the intelligent terminal detects;The Internet of Things module is switched into STA mode, and the Internet of Things module is accessed by the wireless network according to second network name and the second password.Using this method, Internet of Things module safety can be accessed wireless network.Further, it would be desirable to provide a kind of Internet of Things module network connection configuration systems.

Description

Internet of Things module network connection configuration method and system
Technical field
The present invention relates to internet of things field, more particularly to a kind of Internet of Things module network connection configuration method and system.
Background technique
There are mainly two types of for the mode for logging in Internet of Things module currently with mobile phone to access wireless network:
1, when Internet of Things module operates in AP (Access Point, access point) mode, cell phone client logs in the Internet of Things Net module.SSID (the Service Set for the wireless network that Internet of Things module needs to connect is detected by cell phone client Identifier, service set) and password, Internet of Things module communicate with cell phone client thus SSID needed for acquisition And password, after Internet of Things module is transformed into STA (Station, wireless site) operational mode, accessed using above-mentioned SSID and password Active wireless network.
2, by the open bottom corresponding interface program of the chip manufacturer of Internet of Things module, its API is cooperated by mobile phone application (Application Programming Interface, application programming interface), according to process as defined in chip manufacturer with Logistics net module is communicated, so that Internet of Things module be made to complete into net operation.
Traditional mode does not carry out safety certification when mobile phone logs in Internet of Things module, so that Internet of Things module makes There are risk hidden danger when wireless network needed for being accessed with the SSID and password detected by mobile phone, great safe prestige is brought The side of body.
Summary of the invention
Based on this, it is necessary in view of the above-mentioned problems, providing a kind of Internet of Things module network connection configuration method for improving safety And system.
A kind of Internet of Things module network connection configuration method, which comprises
Start Internet of Things module with ap mode, obtains initial network title and initial password;
Start network connection configuration mode, the initial network title and initial password are changed to the respectively according to preset format One network name and first password;
It judges whether there is intelligent terminal and the Internet of Things module is logged in by the first network title and first password;
If so, obtaining the second network name and the second password for the wireless network that the intelligent terminal detects;
The Internet of Things module is switched into STA mode, and will be described according to second network name and the second password Internet of Things module accesses the wireless network.
A kind of Internet of Things module network connection configuration system, the system comprises:
Starting module obtains initial network title and initial password for starting Internet of Things module with ap mode;
Module is changed, for starting network connection configuration mode, according to preset format by the initial network title and initial close Code is changed to first network title and first password respectively;
Judgment module passes through described in the first network title and first password login for judging whether there is intelligent terminal Internet of Things module;
Module is obtained, the second network name and second for obtaining the wireless network that the intelligent terminal detects are close Code;
Networking module, for the Internet of Things module to be switched to STA mode, and according to second network name and The Internet of Things module is accessed the wireless network by two passwords.
Above-mentioned Internet of Things module network connection configuration method and system starts Internet of Things module with ap mode, starts network connection configuration Initial network name and password are changed to first network title and first password respectively according to preset format after mode, intelligence Terminal logs in Internet of Things module by first network title and first password, thus carries out safety certification to intelligent terminal.To It ensures the second network name of the wireless network detected by intelligent terminal that Internet of Things module obtains and the second password is peace It is complete effective.It therefore, can be by Internet of Things according to the second network name and the second password after Internet of Things module being switched to STA mode Access wireless network to net module safety.
Detailed description of the invention
Fig. 1 is the flow chart of Internet of Things module network connection configuration method in one embodiment;
If Fig. 2 is that dumb terminal by first network title and first password logs in Internet of Things module in Fig. 1, judge into Net setup time whether Chao Shi flow chart;
If Fig. 3 is to have intelligent terminal to log in Internet of Things module by first network title and first password in Fig. 2, carry out MAC Address matching, judge whether matching successful and the network connection configuration time whether Chao Shi flow chart;
Fig. 4 is the structural schematic diagram of Internet of Things module network connection configuration system in one embodiment;
Fig. 5 is the structural schematic diagram of matching module in one embodiment;
Fig. 6 is the structural schematic diagram that module is restarted in one embodiment;
Fig. 7 is the hardware environment figure of Internet of Things module network connection configuration method in one embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the present invention, not For limiting the present invention.
In one embodiment, as shown in Figure 1, providing a kind of Internet of Things module network connection configuration method, this method comprises:
Step 102, Internet of Things module is started with ap mode, obtains initial network title and initial password.
After Internet of Things module powers on, started with ap mode.Wifi module built in Internet of Things module, and be provided with initial Network name and initial password.Network name refers to the SSID of network.Initial network title and initial password are random when being factory It generates, in addition to Internet of Things module, initial network title and initial password are not known by outside.Under ap mode, Internet of Things Net module becomes a wifi hotspot, to external broadcasting initial network title.Initial network title can also be hidden, it is not right Outer broadcast.
Step 104, start network connection configuration mode, change initial network title and initial password respectively according to preset format For first network title and first password.
The key for network connection configuration is provided in Internet of Things module, when detecting that the key is long pressed, such as By user's long-pressing 5 seconds, start network connection configuration mode.Initial network title and initial password are changed respectively according to predetermined format For first network title and first password.Predetermined format is the format being manually set in advance, be can be raw by pre-determined random algorithm At random number, such as by initial network name change be 8080, initial password is changed to 123, is also possible to Internet of Things module Initial network name change is such as PTX11, initial password is changed to 140730 by model and date when factory.According to pre- After initial network title and initial password are changed to first network title and first password by the formula that fixes respectively, Internet of Things module First network title is broadcasted under ap mode, for other equipment access.
Step 106, it judges whether there is intelligent terminal and Internet of Things module is logged in by first network title and first password;If It is then to enter step 108, otherwise, terminates.
Intelligent terminal refers to the intelligent terminal with wifi module, including but not limited to smart phone, tablet computer, individual Digital assistants etc..In one embodiment, first network title and first password can by the electronic curtain of Internet of Things module into Row is shown.After intelligent terminal detects the first network title of Internet of Things module broadcast, stepped on according to the first password that user inputs Record Internet of Things module.In another embodiment, intelligent terminal is equipped with application corresponding with Internet of Things module network connection configuration.It is logical The application is crossed, intelligent terminal gets first network title and first password.Intelligent terminal is according to first network title and user The first password of input logs in Internet of Things module.
Step 108, the second network name and the second password of the wireless network that intelligent terminal detects are obtained.
Wireless router passes through the second network name of wireless network overseas broadcast and the second password.Second network name and Two passwords can also be used intelligent terminal and pass through on scanning wireless router by labeing being shown on the router Two dimensional code obtain.Intelligent terminal has been previously detected and has obtained the of wireless router before logging in Internet of Things module Two network names and the second password.According to the second network name and the second password, intelligent terminal can log on to wireless router into And it is linked into wireless network.After intelligent terminal logs in Internet of Things module according to first network title and first password, pass through peace Second network name and the second password are sent to Internet of Things module by the application on intelligent terminal.
Step 110, Internet of Things module is switched into STA mode, and according to the second network name and the second password by Internet of Things Net module accesses wireless network.
Internet of Things module is switched into STA mode, so that Internet of Things module is become the terminal of a wireless network, according to second Internet of Things module is accessed wireless network by network name and the second password.
In the present embodiment, Internet of Things module is started with ap mode, it will be first according to preset format after starting network connection configuration mode The network name and password of beginning is changed to first network title and first password respectively, intelligent terminal by first network title and First password logs in Internet of Things module, thus carries out safety certification to intelligent terminal.Ensure that Internet of Things module obtained Second network name of the wireless network detected by intelligent terminal and the second password are safely and effectively.Therefore, by Internet of Things After module switches to STA mode, Internet of Things module safety can be accessed by wireless network according to the second network name and the second password Network.
In one embodiment, this method further include: after Internet of Things module switches to STA mode, delete first network Title and first password.
In the present embodiment, after intelligent terminal logs in Internet of Things module by first network title and first password, it is completed To the safety certification of intelligent terminal.After Internet of Things module switches to STA mode, no longer need to retain first network title and the One password can be deleted, thereby save memory space.
In one embodiment, it judges whether there is intelligent terminal and Internet of Things is logged in by first network title and first password After the step of module, this method further include: if there is intelligent terminal to pass through first network title and the second password login Internet of Things Module, then obtain using intelligent terminal scanning Internet of Things module two dimensional code input MAC Address, and with Internet of Things module MAC Address is matched;After successful match then into obtain the second network name of wireless network that intelligent terminal detects and The step of second password.
In the present embodiment, if there is intelligent terminal to pass through first network title and the second password login Internet of Things module, benefit With the two dimensional code in the application scanning Internet of Things module of intelligent terminal installation, the MAC Address stored in two dimensional code is obtained, and should MAC Address is input to Internet of Things module, which is compared matching with the MAC Address of Internet of Things module itself.If Two MAC Address are identical, then successful match.Otherwise, it fails to match.Then enter after successful match and obtains intelligent terminal detection The step of second network name of the wireless network arrived and the second password.
In the present embodiment, the MAC Address of the two dimensional code input of Internet of Things module is scanned using intelligent terminal by obtaining, and It is matched with the MAC Address of Internet of Things module, to further carry out safety certification to intelligent terminal, it is ensured that Internet of Things mould Second network name of the wireless network detected by intelligent terminal that block obtains and the second password are safely and effectively.
In one embodiment, if dumb terminal passes through first network title and first password login Internet of Things in Fig. 1 Module then needs further judge whether the network connection configuration time is overtime, and specific steps are as shown in Figure 2:
Step 112, if dumb terminal logs in Internet of Things module by first network title and first password, further Judge to start whether the spent time after network connection configuration mode is more than preset time;If so, return step 102, obtains just Beginning network name and initial password.Otherwise, return step 106 judge whether there is intelligent terminal and pass through first network title and the One password login Internet of Things module.
In the present embodiment, the process having time of network connection configuration is limited, and must not exceed preset time.Start network connection configuration mode Afterwards, if dumb terminal logs in Internet of Things module by first network title and first password, further spent by judgement Whether the time is more than preset time.Initial network title and the step of initial password and subsequent is obtained if so, executing again Step.Otherwise, it returns and judges whether there is the step that intelligent terminal logs in Internet of Things module by first network title and first password Suddenly and subsequent step.
In one embodiment, if there is intelligent terminal to log in Internet of Things by first network title and first password in Fig. 2 Module then obtains the MAC Address of the two dimensional code input using intelligent terminal scanning Internet of Things module, the MAC with Internet of Things module Address is matched, and judges whether successful match needs further to judge the network connection configuration time MAC Address if it fails to match Whether overtime, specific steps are as shown in Figure 3:
Step 114, the MAC Address and Internet of Things module of the two dimensional code input of intelligent terminal scanning Internet of Things module are utilized MAC Address matching.
Step 116, judge whether MAC Address matching succeeds;If so, return step 108, obtains intelligent terminal and detects Wireless network the second network name and the second password, otherwise, execute step 118.
Step 118, judge to start whether the spent time after network connection configuration mode is more than preset time;If so, returning Step 102 is returned, initial network title and initial password are obtained.Otherwise, return step 106 judge whether there is intelligent terminal and pass through First network title and first password log in Internet of Things module.
In the present embodiment, the process having time of network connection configuration is limited, and must not exceed preset time.Start network connection configuration mode Afterwards, if being matched using the MAC Address of the two dimensional code input of intelligent terminal scanning Internet of Things module with the MAC Address of Internet of Things module Failure, then further whether the judgement spent time is more than preset time.Initial network title is obtained if so, executing again And the step of initial password and subsequent step.Otherwise, it returns and judges whether there is intelligent terminal and pass through first network title and the The step of one password login Internet of Things module and subsequent step.
In one embodiment, in the second network name and the second password for obtaining the wireless network that intelligent terminal detects The step of after, further includes: storage the second network name and the second password;This method further include: power off weight in Internet of Things module Qi Hou, obtains the second network name and the second password of storage, Internet of Things module is switched to STA mode, and according to the second net The step of Internet of Things module is accessed wireless network by network title and the second password.
In the present embodiment, in the second network name and the second password for getting the wireless network detected by intelligent terminal Later, the second network name and the second password are stored.After Internet of Things module power-off restarting, obtain first stored The second network name and the second password Internet of Things module is converted to STA mode later, according to the second network name and Internet of Things module is accessed wireless network by two passwords.
If it is appreciated that acquisition less than the second network name and the second password, is needed to execute again and be started with ap mode The step of Internet of Things module, acquisition initial network title and initial password and subsequent step.
In one embodiment, as shown in figure 4, providing a kind of Internet of Things module network connection configuration system, comprising: starting mould Block 402, judgment module 406, obtains module 408 and networking module 410 at change module 404, in which:
Starting module 402 obtains initial network title and initial password for starting Internet of Things module with ap mode.
Module 404 is changed, for starting network connection configuration mode, according to preset format by initial network title and initial password It is changed to first network title and first password respectively.
Judgment module 406 logs in Internet of Things by first network title and first password for judging whether there is intelligent terminal Net module.
Module 408 is obtained, for obtaining the second network name and the second password of the wireless network that intelligent terminal detects.
Networking module 410, for Internet of Things module to be switched to STA mode, and it is close according to the second network name and second Internet of Things module is accessed wireless network by code.
In the present embodiment, after starting module 402 is powered on for Internet of Things module, started with ap mode, and obtain object The initial network title and initial password of wifi module built in networking module.Under ap mode, Internet of Things module can be to outside Initial network title is broadcasted, initial network title can also be hidden, not overseas broadcast.Change module 404 be used for detect into Start network connection configuration mode when netting the long keying of configuration, changes initial network title and initial password respectively according to preset format For first network title and first password.Predetermined format is the format being manually set in advance, be can be raw by pre-determined random algorithm At random number, be also possible to Internet of Things module factory when model and the date.Judgment module 406, for judging whether there is band There is the intelligent terminal of wifi module to log in Internet of Things module by first network title and first password.First network title and One password can be shown by the electronic curtain of Internet of Things module.Intelligent terminal detects the first net of Internet of Things module broadcast After network title, Internet of Things module is logged according to the first password of user's input.Intelligent terminal detects the broadcast of Internet of Things module First network title logs in Internet of Things module according to the first password of user's input.It can also be answered by what intelligent terminal was installed With first network title and first password is got, Internet of Things module is logged in accordingly.Module 408 is obtained, for whole by intelligence Application on end gets the second network name and the second password of the wireless network detected by intelligent terminal.Networking module 410, for Internet of Things module to be switched to STA mode, and Internet of Things module is connect according to the second network name and the second password Enter wireless network.
In one embodiment, networking module 410 is used for after Internet of Things module switches to STA mode, deletes the first net Network title and first password.
In the present embodiment, after logging in Internet of Things module by first network title and first password due to intelligent terminal, Complete the safety certification to intelligent terminal.After Internet of Things module switches to STA mode, no longer need to retain first network title And first password, it can be deleted by networking module 410.
In one embodiment, if judgment module 406 is also used to dumb terminal and passes through first network title and first close Code log in Internet of Things module, then further judge start network connection configuration mode after spent by time whether be more than preset time; Starting module 402 is also used to the spent time after starting network connection configuration mode more than acquisition initial network name after preset time Title and initial password;If judgment module 406 is also used to start the spent time after network connection configuration mode and is less than preset time, Intelligent terminal is then judged whether there is again, and Internet of Things module is logged in by first network title and first password.
In the present embodiment, the process having time of network connection configuration is limited, and must not exceed preset time.If dumb terminal passes through First network title and first password log in Internet of Things module, and then further judgement starts network connection configuration mode to judgment module 406 Whether the spent time is more than preset time afterwards.If so, starting module 402 obtains initial network title and initial password. Otherwise, judgment module 406 judges whether there is intelligent terminal again and logs in Internet of Things mould by first network title and first password Block.
In one embodiment, as shown in figure 5, the system further include: matching module 412, for obtaining using intelligence eventually The MAC Address of the two dimensional code input of end scanning Internet of Things module, and matched with the MAC Address of Internet of Things module.
In the present embodiment, matching module 412 is used to obtain the application scanning Internet of Things mould using intelligent terminal by installation The MAC Address of the two dimensional code input of block, and the MAC Address is matched with the MAC Address of Internet of Things module.If two MAC Address is identical, then successful match.Otherwise, it fails to match.
In one embodiment, if judgment module 406, which is also used to matching module, scans Internet of Things module using intelligent terminal Two dimensional code input MAC Address and the MAC Address of Internet of Things module it fails to match, then further judgement starting network connection configuration mould Whether the spent time is more than preset time after formula;Starting module 402 is also used to after starting network connection configuration mode spent Time be more than preset time after, obtain initial network title and initial password;Match if judgment module 406 is also used to start to network Setting the spent time after mode is less than preset time, then judge whether there is again intelligent terminal by first network title and First password logs in Internet of Things module.
In the present embodiment, the process having time of network connection configuration is limited, and must not exceed preset time.If MAC Address matching is lost Lose, judgment module 406 for further judge start network connection configuration mode after spent by time whether be more than preset time.If It is that then starting module 402 obtains initial network title and initial password.Otherwise, judgment module 406 judges whether there is intelligence again Terminal logs in Internet of Things module by first network title and first password.
In one embodiment, as shown in fig. 6, the system further includes memory module 414 and power-off restarting module 416, In:
Memory module 414, for storing the second network name and the second password.
Power-off restarting module 416 obtains the second network name and the of storage for after Internet of Things module power-off restarting Internet of Things module is switched to STA mode, and is accessed Internet of Things module according to the second network name and the second password by two passwords Wireless network.
In the present embodiment, memory module 414 is used in the second net for getting the wireless network detected by intelligent terminal After network title and the second password, the second network name and the second password are stored.Power-off restarting module 416 is used in object After networking module power-off restarting, stored the second network name and the second password are obtained first, later, by Internet of Things module Internet of Things module is accessed wireless network according to the second network name and the second password to STA mode by conversion.
Internet of Things module network connection configuration method provided in an embodiment of the present invention, can be applied to hardware environment as shown in Figure 7 In.The built-in wifi module of Internet of Things module 702 is simultaneously provided with corresponding initial network title and initial password.Internet of Things module After 702 power on, start under ap mode, start to broadcast by initial network title or hides initial network title externally wideless It broadcasts.The key for network connection configuration is provided in Internet of Things module 702, when detecting that the key is long pressed, such as by with The head of a household presses 5 seconds, starts network connection configuration mode.Initial network title and initial password are changed to respectively according to predetermined format One network name and first password.Intelligent terminal 704 is built-in with wifi module, and the first net of Internet of Things module broadcast can be detected Network title.First network title and first password can be shown by the electronic curtain in Internet of Things module 702.Intelligence can also be passed through The application for network connection configuration installed in energy terminal 704 obtains first network title and first password.704 basis of intelligent terminal First network title and the first password of user's input log in Internet of Things module 704.Before this, intelligent terminal 704 is in advance Detect and obtain the second network name and the second password of wireless router 106.Intelligent terminal 104 is by application, by second Network name and the second password are sent to Internet of Things module 702.Internet of Things module 702 is switched into STA mode, according to the second net Thus the connection wireless router 706 of Internet of Things module 702 is accessed wireless network by network title and the second password.Further, exist After intelligent terminal 704 logs in Internet of Things module 702 by first network title and first password, by intelligent terminal 704 Application scanning Internet of Things module 702 two dimensional code to Internet of Things module 702 input MAC Address, by the MAC Address and Internet of Things The MAC Address of module 702 is matched.After successful match, intelligent terminal 704 is by application, by the second network name and second Password is sent to Internet of Things module 702.Due to having carried out safety certification to intelligent terminal 704, Internet of Things module is ensured that Second network name of 702 wireless networks detected by intelligent terminal 704 obtained and the second password are safely and effectively.Cause This, after 702 pieces of Internet of Things mould switch to STA mode, can safely access wireless network according to the second network name and the second password Network.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (12)

1. a kind of Internet of Things module network connection configuration method, which comprises
Start Internet of Things module with ap mode, obtains initial network title and initial password;
Start network connection configuration mode, the initial network title and initial password are changed to the first net respectively according to preset format Network title and first password;
It judges whether there is intelligent terminal and the Internet of Things module is logged in by the first network title and first password;
If so, obtaining the second network name and the second password for the wireless network that the intelligent terminal detects;The intelligence For terminal before logging in Internet of Things module, the second network name and the second password for having had detected wireless network in advance are that have safely Effect;
The Internet of Things module is switched into STA mode, and according to second network name and the second password by the Internet of Things Net module accesses the wireless network.
2. the method according to claim 1, wherein the method also includes:
After the Internet of Things module switches to STA mode, the first network title and first password are deleted.
3. according to the method described in claim 1, the method also includes:
If dumb terminal logs in the Internet of Things module by the first network title and first password, further judge Whether the spent time is more than preset time after starting network connection configuration mode;
If so, the step of executing the acquisition initial network title and initial password;
Otherwise, intelligent terminal is judged whether there is described in return, and the Internet of Things are logged in by the first network title and first password The step of net module.
4. the method according to claim 1, wherein the intelligent terminal that judges whether there is passes through first net After the step of network title and first password log in the Internet of Things module, the method also includes:
If there is intelligent terminal by Internet of Things module described in the first network title and the second password login, obtains and utilize institute State the MAC Address that intelligent terminal scans the two dimensional code input of the Internet of Things module, and the MAC Address with the Internet of Things module It is matched;After successful match then into second network name for obtaining the wireless network that the intelligent terminal detects and The step of second password.
5. according to the method described in claim 4, the method also includes:
If scanning the MAC Address and the Internet of Things module that the two dimensional code of the Internet of Things module inputs using the intelligent terminal MAC Address it fails to match, then further judge start network connection configuration mode after spent by time whether be more than preset time;
If so, the step of executing the acquisition initial network title and initial password;
Otherwise, intelligent terminal is judged whether there is described in return, and the Internet of Things are logged in by the first network title and first password The step of net module.
6. method according to claim 1-5, the of wireless network that the intelligent terminal detects is being obtained After the step of two network names and the second password, further includes:
Store second network name and the second password;
The method also includes:
After the Internet of Things module power-off restarting, the second network name and the second password of storage are obtained, by the Internet of Things Module switches to STA mode, and is accessed the Internet of Things module according to second network name of storage and the second password The step of wireless network.
7. a kind of Internet of Things module network connection configuration system, which is characterized in that the system comprises:
Starting module obtains initial network title and initial password for starting Internet of Things module with ap mode;
Module is changed, for starting network connection configuration mode, is divided the initial network title and initial password according to preset format It is not changed to first network title and first password;
Judgment module logs in the Internet of Things by the first network title and first password for judging whether there is intelligent terminal Net module;
Module is obtained, for obtaining the second network name and the second password of the wireless network that the intelligent terminal detects;Institute Intelligent terminal is stated before logging in Internet of Things module, the second network name and the second password for having had detected wireless network in advance are Safely and effectively;
Networking module, for the Internet of Things module to be switched to STA mode, and it is close according to second network name and second The Internet of Things module is accessed the wireless network by code.
8. system according to claim 7, which is characterized in that the networking module is used to switch in the Internet of Things module To STA mode, the first network title and first password are deleted.
9. system according to claim 7, which is characterized in that if the judgment module is also used to dumb terminal and passes through institute It states first network title and first password logs in the Internet of Things module, then further consumed after judgement starting network connection configuration mode Whether the time of expense is more than preset time;
It is initial more than obtaining after preset time that the starting module is also used to the spent time after starting network connection configuration mode Network name and initial password;
If the judgment module is also used to start the spent time after network connection configuration mode and is less than preset time, sentence again It is disconnected whether to there is intelligent terminal to log in the Internet of Things module by the first network title and first password.
10. system according to claim 7, which is characterized in that the system also includes:
Matching module, if for there is intelligent terminal to pass through Internet of Things mould described in the first network title and the second password login Block, then obtain using the intelligent terminal scan the Internet of Things module two dimensional code input MAC Address, and with the Internet of Things The MAC Address of net module is matched;
The for obtaining module and being also used to obtain wireless network that the intelligent terminal detects after MAC Address successful match Two network names and the second password.
11. system according to claim 10, which is characterized in that if the judgment module is also used to the matching module benefit The MAC Address of the two dimensional code input of the Internet of Things module is scanned with the MAC of the Internet of Things module with the intelligent terminal It fails to match for location, then further judge start network connection configuration mode after spent by time whether be more than preset time;
It is initial more than obtaining after preset time that the starting module is also used to the spent time after starting network connection configuration mode Network name and initial password;
If the judgment module is also used to start the spent time after network connection configuration mode and is less than preset time, sentence again It is disconnected whether to there is intelligent terminal to log in the Internet of Things module by the first network title and first password.
12. according to the described in any item systems of claim 7-11, which is characterized in that the system also includes:
Memory module, for storing second network name and the second password;
Power-off restarting module, for obtaining the second network name and second of storage after the Internet of Things module power-off restarting The Internet of Things module is switched to STA mode by password, and according to second network name of storage and the second password by institute It states Internet of Things module and accesses the wireless network.
CN201410385422.5A 2014-08-06 2014-08-06 Internet of Things module network connection configuration method and system Active CN105338527B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410385422.5A CN105338527B (en) 2014-08-06 2014-08-06 Internet of Things module network connection configuration method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410385422.5A CN105338527B (en) 2014-08-06 2014-08-06 Internet of Things module network connection configuration method and system

Publications (2)

Publication Number Publication Date
CN105338527A CN105338527A (en) 2016-02-17
CN105338527B true CN105338527B (en) 2019-02-12

Family

ID=55288729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410385422.5A Active CN105338527B (en) 2014-08-06 2014-08-06 Internet of Things module network connection configuration method and system

Country Status (1)

Country Link
CN (1) CN105338527B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107635268A (en) * 2016-07-19 2018-01-26 美的智慧家居科技有限公司 Realize the methods, devices and systems that internet of things equipment networks
CN108024248B (en) * 2016-10-31 2022-11-08 中兴通讯股份有限公司 Authentication method and device for Internet of things platform
CN109041062A (en) * 2018-07-03 2018-12-18 阿里巴巴集团控股有限公司 A kind of method for network access and device
CN109714785B (en) * 2019-02-26 2022-02-11 新华三技术有限公司 Network access method, device, network equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686674A (en) * 2013-09-30 2014-03-26 深圳市通力科技开发有限公司 Network access method, intelligent terminal and WiFi access equipment
CN103716911A (en) * 2014-01-02 2014-04-09 福建星网锐捷通讯股份有限公司 Method, device and system for configuring wireless terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102025754B1 (en) * 2012-11-01 2019-09-26 삼성전자주식회사 System and method for connecting device on wifi network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686674A (en) * 2013-09-30 2014-03-26 深圳市通力科技开发有限公司 Network access method, intelligent terminal and WiFi access equipment
CN103716911A (en) * 2014-01-02 2014-04-09 福建星网锐捷通讯股份有限公司 Method, device and system for configuring wireless terminal

Also Published As

Publication number Publication date
CN105338527A (en) 2016-02-17

Similar Documents

Publication Publication Date Title
CN105338527B (en) Internet of Things module network connection configuration method and system
US10149241B2 (en) Device, method, and system for starting mobile hotspot
CN105208583B (en) Method and device for configuring intelligent household electrical appliance to access network and intelligent equipment
RU2628324C2 (en) Method and device for signal transmission control and electronic device
CN104853373B (en) A kind of Working mode switching method and device of wireless module
EP3226623B1 (en) Method for awakening wireless-fidelity network and terminal
CN104144415A (en) Method for connecting WiFi access point and mobile communication terminal
CN101959321A (en) Scene mode switching method based on mobile phone WIFI and mobile phone
CN103442351B (en) A kind of method protecting wireless network
US20140269476A1 (en) Power management for wireless access point
CN108307479B (en) Communication module, network distribution method and device thereof, storage medium, equipment and terminal
CN110557184B (en) Communication method and device based on relay equipment and communication method and device between terminal and base station
CN111077788A (en) Method, device and system for controlling access of intelligent equipment
CN105780379A (en) Work reminding method and system for washing machine
CN105099839A (en) Intelligent socket and networking method and system, wireless gateway and pairing method
CN114270781A (en) Device access method, device, system control method, electronic device and storage medium
CN104486816A (en) Quick automatic scanning method of Wifi (Wireless Fidelity) terminal equipment in multiple access points
CN105792334A (en) Wireless local area network station, wireless local area network access point, and wireless local area network station access methods
CN103024839A (en) Cell reselecting method and device, and base station
CN107040934A (en) WiFi equipment matches somebody with somebody network method and relevant device
RU2015129570A (en) TERMINAL, PROGRAM AND COMMUNICATION SYSTEM
CN105592457A (en) Wireless network connection method and apparatus
CN106982449A (en) A kind of network collocating method of video camera
CN111601311A (en) Configuration method of IoT (Internet of things) equipment
CN106162241A (en) Deploy troops on garrison duty system and method for withdrawing a garrison based on the intelligence of DTV

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: News 518034 Shenzhen Road, No. 1 Futian District, Guangdong Province in the information building 2 building building electric port

Patentee after: Shenzhen Zhongdian Port Technology Co.,Ltd.

Address before: News 518034 Shenzhen Road, No. 1 Futian District, Guangdong Province in the information building 2 building building electric port

Patentee before: SHENZHEN CEC INTERNATIONAL INFORMATION TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder