CN105142135A - Method for rapidly configuring intelligent device network connection based on quick connection protocol - Google Patents

Method for rapidly configuring intelligent device network connection based on quick connection protocol Download PDF

Info

Publication number
CN105142135A
CN105142135A CN201510507957.XA CN201510507957A CN105142135A CN 105142135 A CN105142135 A CN 105142135A CN 201510507957 A CN201510507957 A CN 201510507957A CN 105142135 A CN105142135 A CN 105142135A
Authority
CN
China
Prior art keywords
smart machine
mobile terminal
soon
agreement
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510507957.XA
Other languages
Chinese (zh)
Other versions
CN105142135B (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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201510507957.XA priority Critical patent/CN105142135B/en
Publication of CN105142135A publication Critical patent/CN105142135A/en
Application granted granted Critical
Publication of CN105142135B publication Critical patent/CN105142135B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery

Landscapes

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

Abstract

The invention relates to an intelligent device network setting technology, discloses a method for rapidly configuring intelligent device network connection based on a quick connection protocol and aims at solving the problems of complex operations and poor data security and effectiveness of intelligent device network configuration in the traditional technology. After an intelligent device leaves the factory, the intelligent device is powered on for the first time to be in a quick-connection receiving state; a mobile terminal connects to a network to which the intelligent device needs to connect; after successful connection, an installed configuration application is started; the SSID and the password of the connected network are input, and the MAC bar code of the device is scanned to obtain an MAC address; the MAC address is taken as an encryption factor to encrypt the SSID and the password; the mobile terminal starts to send an air packet and obtains the SSID and the password by analyzing using the own MAC address; a mode is switched to reboot the connected network; after the network is connected, a UDP reply packet is sent, and the configuration is completed after the intelligent mobile terminal receives the reply packet. The method is suitable for network connection of an embedded device in an open environment.

Description

Based on the method connecting the networking of agreement rapid configuration smart machine soon
Technical field
The present invention relates to smart machine network settings technology, being specifically related to a kind of method based on connecting the networking of agreement rapid configuration smart machine soon, being applicable to the networked deployment of embedded device under open environment.
Background technology
The fast development of information technology, the intellectuality of equipment is following a kind of trend.Improving constantly of living standard, the pursuit of user to device intelligence is also more and more obvious.Intelligent appliance will occupy very important status in future.And intelligent air condition, intelligent refrigerator, intelligent cigarette stove, intelligent water heater, intelligent charger etc. all occur in succession.At present, the key realizing intelligence is networked interactive, that is networking control is the essential step of intelligent appliance Realization of Product intelligence, and how to configure online be a problem faced by all smart machines all need, in addition, in the process of configuration online, how to ensure that the safety of user profile is again the important problem of another one.
Current intelligent artifact, the process of configuration of networked mainly contains following several mode:
(1) be in SOFTAP pattern by setting on-line module and carry out this locality control, when controlling in this locality, realize point-to-point configuration online.The method complex operation is complicated, poor user experience.
(2) the existing mode that connects soon at present of passing through is configured.Under open environment, carry out broadcast data by control end, equipment end is networked after parsing WIFI title and password after receiving corresponding data.
The method is broadcasted under open environment, all equipment receiving this packet can be resolved and configure, <1> will be caused: the validity of data can not get ensureing, after control end is gone on the air, all be in this environment under and observe the identical equipment connecting agreement soon all can be configured online, for example, if all bought the intelligent commodity of same brand upstairs and downstairs, just likely there will be user upstairs above the products configuration of user downstairs to the WIFI of own home, this is that user is insupportable, the fail safe of <2> data can not get ensureing, have a lot about receiving the analysis software connecting packet soon above current network, the aerial bag that control end sends can be captured by various software, as long as know that agreement just can Data Analysis out.That is, connect soon according to current, the possibility of divulging a secret is very high, and the equipment that there will be user own home can be controlled by others, or can cause the network cipher information leakage of own home in user's layoutprocedure.
Summary of the invention
Technical problem to be solved by this invention is: propose a kind of method based on connecting the networking of agreement rapid configuration smart machine soon, solves the problem of loaded down with trivial details to smart machine network configuration operations in conventional art, Information Security and validity difference.
The present invention solves the problems of the technologies described above adopted scheme: based on the method connecting the networking of agreement rapid configuration smart machine soon, be applied in the system comprising mobile terminal, smart machine to be configured and routing device, described smart machine to be configured possesses WIFI module and supports to connect agreement soon; Described mobile terminal support connects agreement soon; The method comprises the following steps:
A, mobile terminal connection route equipment obtain the MAC Address of smart machine to be configured;
B, mobile terminal utilize the MAC Address obtained to adopt the network configuration parameters of MAC cryptographic algorithm to input to be encrypted, and form encrypted packets;
C, mobile terminal send with aerial packet form by connecting under enciphered data is wrapped in open environment by agreement soon;
D, smart machine to be configured are opened after powering on and are connected pattern search soon and wrap in the air, when search identical connect the aerial bag of agreement soon after, receive this and wrap and store in the air;
E, smart machine to be configured adopt own MAC address to resolve encrypted packets, parse network configuration parameters and store, then current fast gang mould formula being switched to route connection mode, and carry out route connection with the network configuration parameters parsed;
F, when after smart machine route to be configured successful connection, utilize own MAC address to adopt MAC cryptographic algorithm to be encrypted to successful connection message, form reply data bag, and by routing device, reply data bag is broadcasted away with UDP message packet form;
G, mobile terminal receive reply data bag, and resolve reply data bag by the MAC Address obtained, and parse successful connection message, then this network configuration completes.
Further, described mobile terminal is smart mobile phone or PAD etc.
Further, in steps A, the MAC bar code pasted when described mobile terminal is by scanning smart machine to be configured and dispatching from the factory obtains the MAC Address of smart machine to be configured.
Further, in step B, described network configuration parameters comprises SSID and the password of route.
Further, the method also comprises step:
H, when the parameter of routing device that smart machine connects changes, switch back fast gang mould formula by the reset of smart machine, return step B, to reconfigure smart machine.
Further, in step C, also comprise: if mobile terminal does not receive the reply data bag that smart machine to be configured is broadcasted by routing device within a certain period of time, then resend encrypted packets.
Further, in step F, after smart machine route to be configured successful connection, by routing device, reply data bag is repeatedly broadcasted with UDP message packet form.
The invention has the beneficial effects as follows: when ensureing the fail safe of user data, smart machine is surfed the Net by the configuration of intelligent mobile terminal energy bug:
1) the quick configuration indulging in the internet without screen equipment is solved, when smart machine is in the situation not having input equipment, just can safety by the MAC Address of scanning device, efficiently, configure online efficiently;
2) solve and connect the unsafe hidden danger of configuration soon, by MAC Address, configuration parameter is encrypted, MAC Address only has equipment itself to know, has stopped the problem parsing route title and password after other people grab packet, has ensured the privacy of information security and user.
Accompanying drawing explanation
Fig. 1 be in the embodiment of the present invention based on connect soon agreement rapid configuration smart machine networking method flow diagram.
Embodiment
The present invention is intended to propose a kind of method based on connecting the networking of agreement rapid configuration smart machine soon, solves the problem of loaded down with trivial details to smart machine network configuration operations in conventional art, Information Security and validity difference.
Method in the present invention is applied in the system comprising mobile terminal, smart machine to be configured and routing device, and smart machine to be configured possesses WIFI module and supports to connect agreement soon; Described mobile terminal support connects agreement soon and is connected with routing device network;
On concrete enforcement, mobile terminal can be smart mobile phone or PAD, and smart machine to be configured can be various intelligent appliance, as intelligent air condition, intelligent refrigerator, intelligent cigarette stove, and intelligent water heater etc.; Routing device can be router.
Power on first to be in after smart machine dispatches from the factory and connect accepting state soon, mobile terminal connects the network that smart machine needs to connect, the configuring application program that after successful connection, opening installation is good, the SSID of the network that input connects and password, the MAC bar code of scanning device, get MAC Address, take MAC Address as encryption factor encryption SSID and password, mobile terminal starts to send aerial bag, equipment receives aerial bag, SSID and password is parsed by the MAC Address of self, switch mode restarts interconnection network, connect after connecting to the Net and send UDP response packet, intelligent mobile termination receives this response packet and has then configured.
Embodiment:
As shown in Figure 1, powered on by smart machine after dispatching from the factory, smart machine is now in accepting state.Intelligent mobile terminal is connected to the network needing to allow smart machine connect, open the application program of Intelligent sliding moved end, the SSID of input interconnection network and password, scan the MAC bar code being pasted onto smart machine surface, the MAC Address of equipment, take MAC Address as the encryption factor, SSID and password are encrypted, after having encrypted.Intelligent sliding moved end starts to send aerial bag.The smart machine being in accepting state receive follow identical connect the aerial bag of agreement soon after, obtain the MAC Address of self and as decryption factor, the aerial bag got be decrypted by MAC Address, if what untie this bag sensing in the air of Correct is exactly equipment self, then storing and resolving SSID out and password, and switch mode goes to connect this network.Otherwise just abandon this to wrap in the air.
After smart machine has connected this network, udp broadcast bag is sent using the route in this network as platform, send configuration successful information, because intelligent mobile terminal also connects in the network, that is smart machine and intelligent mobile terminal are in same local area network (LAN), then Intelligent mobile equipment can receive corresponding packet, with preceding scans to MAC Address be decrypted, namely represented configuration after parsing.
If smart machine configures online, but midway needs the parameter (changing SSID or password) changing the router that smart machine needs connect, then switch by the reset of smart machine and get back to and connect receiving mode soon, now can reconfigure again.
Intelligent mobile terminal is not received smart machine in the regular hour after sending aerial bag and is sent the UDP reply data bag returned by router, namely configuration failure is thought, reenter state of giving out a contract for a project, if configure repeatedly all unsuccessful, then default user input error, needs user to reconfigure connection.
Because UDP message bag belongs to unreliable connection, need to carry out fault-tolerant processing in broadcasting process, namely smart machine and intelligent mobile terminal all need to send and repeatedly prevent packet loss.

Claims (7)

1. based on the method connecting the networking of agreement rapid configuration smart machine soon, be applied in the system comprising mobile terminal, smart machine to be configured and routing device, described smart machine to be configured possesses WIFI module and supports to connect agreement soon; Described mobile terminal support connects agreement soon; It is characterized in that, the method comprises the following steps:
A, mobile terminal connection route equipment obtain the MAC Address of smart machine to be configured;
B, mobile terminal utilize the MAC Address obtained to adopt the network configuration parameters of MAC cryptographic algorithm to input to be encrypted, and form encrypted packets;
C, mobile terminal send with aerial packet form by connecting under enciphered data is wrapped in open environment by agreement soon;
D, smart machine to be configured are opened after powering on and are connected pattern search soon and wrap in the air, when search identical connect the aerial bag of agreement soon after, receive this and wrap and store in the air;
E, smart machine to be configured adopt own MAC address to resolve encrypted packets, parse network configuration parameters and store, then current fast gang mould formula being switched to route connection mode, and carry out route connection with the network configuration parameters parsed;
F, when after smart machine route to be configured successful connection, utilize own MAC address to adopt MAC cryptographic algorithm to be encrypted to successful connection message, form reply data bag, and by routing device, reply data bag is broadcasted away with UDP message packet form;
G, mobile terminal receive reply data bag, and resolve reply data bag by the MAC Address obtained, and parse successful connection message, then this network configuration completes.
2., as claimed in claim 1 based on the method connecting the networking of agreement rapid configuration smart machine soon, it is characterized in that, described mobile terminal is smart mobile phone or PAD.
3. as claimed in claim 1 based on the method connecting the networking of agreement rapid configuration smart machine soon, it is characterized in that, in steps A, the MAC bar code pasted when described mobile terminal is by scanning smart machine to be configured and dispatching from the factory obtains the MAC Address of smart machine to be configured.
4., as claimed in claim 1 based on the method connecting the networking of agreement rapid configuration smart machine soon, it is characterized in that, in step B, described network configuration parameters comprises SSID and the password of route.
5., as claimed in claim 1 based on the method connecting the networking of agreement rapid configuration smart machine soon, it is characterized in that, the method also comprises step:
H, when the parameter of routing device that smart machine connects changes, switch back fast gang mould formula by the reset of smart machine, return step B, to reconfigure smart machine.
6. as claimed in claim 1 based on the method connecting the networking of agreement rapid configuration smart machine soon, it is characterized in that, in step C, also comprise: if mobile terminal does not receive the reply data bag that smart machine to be configured is broadcasted by routing device within a certain period of time, then resend encrypted packets.
7., as claimed in claim 1 based on the method connecting the networking of agreement rapid configuration smart machine soon, it is characterized in that, in step F, after smart machine route to be configured successful connection, by routing device, reply data bag is repeatedly broadcasted with UDP message packet form.
CN201510507957.XA 2015-08-18 2015-08-18 Based on the method for connecting the networking of agreement rapid configuration smart machine soon Active CN105142135B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510507957.XA CN105142135B (en) 2015-08-18 2015-08-18 Based on the method for connecting the networking of agreement rapid configuration smart machine soon

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510507957.XA CN105142135B (en) 2015-08-18 2015-08-18 Based on the method for connecting the networking of agreement rapid configuration smart machine soon

Publications (2)

Publication Number Publication Date
CN105142135A true CN105142135A (en) 2015-12-09
CN105142135B CN105142135B (en) 2018-10-02

Family

ID=54727315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510507957.XA Active CN105142135B (en) 2015-08-18 2015-08-18 Based on the method for connecting the networking of agreement rapid configuration smart machine soon

Country Status (1)

Country Link
CN (1) CN105142135B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106231687A (en) * 2016-09-13 2016-12-14 四川长虹电器股份有限公司 A kind of method realizing the discovery of intelligent appliance equipment based on P2P technology
CN106254189A (en) * 2016-09-13 2016-12-21 四川长虹电器股份有限公司 A kind of WiFi distribution method
CN106656547A (en) * 2016-08-30 2017-05-10 海尔优家智能科技(北京)有限公司 Method and apparatus for updating network configuration of household electrical appliances
CN106686527A (en) * 2016-12-20 2017-05-17 腾讯科技(深圳)有限公司 WIFI information identification method and terminal
CN106714092A (en) * 2017-02-13 2017-05-24 惠州Tcl移动通信有限公司 Mobile terminal-based WIFI data processing method and system
WO2017140276A1 (en) * 2016-02-18 2017-08-24 腾讯科技(深圳)有限公司 Network connection method and apparatus, and computer storage medium
WO2017198161A1 (en) * 2016-05-17 2017-11-23 腾讯科技(深圳)有限公司 Network connection method, apparatus, storage medium, and terminal
CN107396424A (en) * 2017-07-18 2017-11-24 南京机器岛智能科技有限公司 Wireless network configuration method of the smart machine based on infrared ray sensor
WO2020034522A1 (en) * 2018-08-13 2020-02-20 珠海格力电器股份有限公司 Method and apparatus for connecting to network, smart device, and user terminal
CN112261604A (en) * 2020-10-20 2021-01-22 成都觅瑞科技有限公司 Network distribution method of intelligent terminal, configuration terminal, intelligent terminal and medium
CN112566156A (en) * 2020-11-18 2021-03-26 深圳数联天下智能科技有限公司 Method for automatically testing compatibility of WiFi module and electronic equipment
CN112911594A (en) * 2021-02-02 2021-06-04 深圳益邦阳光有限公司 Intelligent equipment configuration networking method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6961321B1 (en) * 1997-08-05 2005-11-01 Nec Corporation Mobile terminal and method of controlling the same
CN103458399A (en) * 2013-07-12 2013-12-18 北京睿通慧联科技有限公司 Intelligent WIFI module and method for configuring device supporting WIFI connection into WIFI network
CN103957580A (en) * 2014-05-14 2014-07-30 俞芳 Rapid WIFI networking matching method and module for smart hardware
CN104159219A (en) * 2014-08-04 2014-11-19 深圳市晶讯软件通讯技术有限公司 WiFi terminals and method and system for quick access of WiFi terminals to WiFi AP

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6961321B1 (en) * 1997-08-05 2005-11-01 Nec Corporation Mobile terminal and method of controlling the same
CN103458399A (en) * 2013-07-12 2013-12-18 北京睿通慧联科技有限公司 Intelligent WIFI module and method for configuring device supporting WIFI connection into WIFI network
CN103957580A (en) * 2014-05-14 2014-07-30 俞芳 Rapid WIFI networking matching method and module for smart hardware
CN104159219A (en) * 2014-08-04 2014-11-19 深圳市晶讯软件通讯技术有限公司 WiFi terminals and method and system for quick access of WiFi terminals to WiFi AP

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107094294B (en) * 2016-02-18 2020-06-02 腾讯科技(深圳)有限公司 Network connection method and device
WO2017140276A1 (en) * 2016-02-18 2017-08-24 腾讯科技(深圳)有限公司 Network connection method and apparatus, and computer storage medium
CN107094294A (en) * 2016-02-18 2017-08-25 腾讯科技(深圳)有限公司 Method for connecting network and device
US10142845B2 (en) 2016-02-18 2018-11-27 Tencent Technology (Shenzhen) Company Limited Network connection method and apparatus, and computer storage medium
WO2017198161A1 (en) * 2016-05-17 2017-11-23 腾讯科技(深圳)有限公司 Network connection method, apparatus, storage medium, and terminal
US10880746B2 (en) 2016-05-17 2020-12-29 Tencent Technology (Shenzhen) Company Limited Network connection method, apparatus, storage medium and terminal
CN106656547A (en) * 2016-08-30 2017-05-10 海尔优家智能科技(北京)有限公司 Method and apparatus for updating network configuration of household electrical appliances
CN106254189A (en) * 2016-09-13 2016-12-21 四川长虹电器股份有限公司 A kind of WiFi distribution method
CN106231687A (en) * 2016-09-13 2016-12-14 四川长虹电器股份有限公司 A kind of method realizing the discovery of intelligent appliance equipment based on P2P technology
CN106231687B (en) * 2016-09-13 2019-04-16 四川长虹电器股份有限公司 A method of the discovery of intelligent appliance equipment is realized based on P2P technology
CN106686527A (en) * 2016-12-20 2017-05-17 腾讯科技(深圳)有限公司 WIFI information identification method and terminal
CN106714092A (en) * 2017-02-13 2017-05-24 惠州Tcl移动通信有限公司 Mobile terminal-based WIFI data processing method and system
CN107396424A (en) * 2017-07-18 2017-11-24 南京机器岛智能科技有限公司 Wireless network configuration method of the smart machine based on infrared ray sensor
WO2020034522A1 (en) * 2018-08-13 2020-02-20 珠海格力电器股份有限公司 Method and apparatus for connecting to network, smart device, and user terminal
CN112261604A (en) * 2020-10-20 2021-01-22 成都觅瑞科技有限公司 Network distribution method of intelligent terminal, configuration terminal, intelligent terminal and medium
CN112261604B (en) * 2020-10-20 2023-02-28 成都觅瑞科技有限公司 Network distribution method of intelligent terminal, configuration terminal, intelligent terminal and medium
CN112566156A (en) * 2020-11-18 2021-03-26 深圳数联天下智能科技有限公司 Method for automatically testing compatibility of WiFi module and electronic equipment
CN112566156B (en) * 2020-11-18 2023-12-08 深圳数联天下智能科技有限公司 Method for automatically testing WiFi module compatibility and electronic equipment
CN112911594A (en) * 2021-02-02 2021-06-04 深圳益邦阳光有限公司 Intelligent equipment configuration networking method and device

Also Published As

Publication number Publication date
CN105142135B (en) 2018-10-02

Similar Documents

Publication Publication Date Title
CN105142135A (en) Method for rapidly configuring intelligent device network connection based on quick connection protocol
US11647548B2 (en) Network access method, device, and system
US11109185B2 (en) Mesh network and mesh device and network distribution method thereof
CN109348458B (en) Network access configuration method and device, electronic equipment and network system
US9351158B2 (en) Method for wireless easy connect
US10129745B2 (en) Authentication method and system for wireless mesh network
CN104363213A (en) Register and login control method for network household appliance
CN102802059B (en) The method of configuration machine top box, Apparatus and system
CN104105096B (en) A kind of radio switch-in method of IPC equipment
CN104202799A (en) A method for accessing wireless network by WIFI smart apparatus with zero-configuration
CN105159121B (en) Household electrical appliance and its on-off control method and system and smart machine
CN202424779U (en) Remote monitoring device for intelligent home furnishing equipment
US8743903B2 (en) Hybrid networking simple-connect setup using forwarding device
CN103458399A (en) Intelligent WIFI module and method for configuring device supporting WIFI connection into WIFI network
CN102413182A (en) Intelligent home device remote monitoring device and method
CN109890065B (en) Networking method and system of household appliance
CN204215241U (en) A kind of soymilk machine
CN107567017B (en) Wireless connection system, device and method
CN112187831A (en) Equipment network access method and device, storage medium and electronic equipment
CN113347741A (en) Online method and system of gateway equipment
CN104009925A (en) Method and device for establishing bridge connection with router and router
CN105636159A (en) Configuration method and apparatus for connection between electrical appliance and wireless router and mobile communication terminal
CN105636040A (en) Device networking method and system
US20160330775A1 (en) Methods and Devices for Sending or Receiving Wireless Parameter
CN104883361A (en) Wireless access client authentication management method and wireless gateway

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