CN109890029B - Automatic network distribution method of intelligent wireless equipment - Google Patents

Automatic network distribution method of intelligent wireless equipment Download PDF

Info

Publication number
CN109890029B
CN109890029B CN201910085270.XA CN201910085270A CN109890029B CN 109890029 B CN109890029 B CN 109890029B CN 201910085270 A CN201910085270 A CN 201910085270A CN 109890029 B CN109890029 B CN 109890029B
Authority
CN
China
Prior art keywords
base station
intelligent wireless
key
formal
automatic 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.)
Active
Application number
CN201910085270.XA
Other languages
Chinese (zh)
Other versions
CN109890029A (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.)
Zhuhai Gotech Intelligent Technology Co Ltd
Original Assignee
Zhuhai Gotech Intelligent 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 Zhuhai Gotech Intelligent Technology Co Ltd filed Critical Zhuhai Gotech Intelligent Technology Co Ltd
Priority to CN201910085270.XA priority Critical patent/CN109890029B/en
Publication of CN109890029A publication Critical patent/CN109890029A/en
Application granted granted Critical
Publication of CN109890029B publication Critical patent/CN109890029B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to an automatic network distribution method of intelligent wireless equipment, which comprises the following steps: the intelligent wireless device and the base station enter a distribution network mode, and the base station opens a hidden AP hotspot; after the intelligent wireless equipment successfully searches and connects the AP hotspot, sending an encrypted authentication request to the base station; the base station carries out authentication and certification on the information of the authentication request, and sends an authentication result and formal wifi hotspot configuration information when the authentication is passed to the intelligent wireless equipment; and the intelligent wireless equipment compares the authentication result, decrypts formal wifi hotspot configuration information, connects the formal wifi hotspot and performs automatic network distribution. After the automatic network distribution key of the base station and the wireless equipment is pressed, the base station can complete the automatic network configuration of the plurality of wireless equipment, automatically connects the networks of the plurality of wireless equipment to the base station, and adopts a multi-bit AES encryption mode for communication, thereby greatly improving the safety of data transmission and having the characteristics of convenience, rapidness, high efficiency and one-to-many.

Description

Automatic network distribution method of intelligent wireless equipment
Technical Field
The invention belongs to the technical field of communication, and particularly relates to an automatic network distribution method for intelligent wireless equipment.
Background
The intelligent home wireless equipment needs to configure network parameters when initially using or updating a network environment, the wireless equipment is used as intelligent hardware, a man-machine interaction interface is not provided, a designated router cannot be searched/selected like a computer, and an interface for inputting a connection password is convenient for an operator to carry out network connection, so that the problem of correct connection of the router must be solved. At present, the popular wifi configuration mode in the smart home/household appliance generally has the following modes: the method comprises the following steps of distributing a network by scanning a code, distributing a network by sound waves, distributing a network by AP (access point), and the like, but has certain defects, for example, for the mode of distributing the network by scanning the code, the intelligent household wireless equipment is required to be provided with a camera, and equipment without a front-end camera cannot complete the operation; for the current AP distribution network mode, a mobile terminal, a router and intelligent household equipment need to participate together, and the three parties interact together, so that the user can see that too many tools need to be used, the steps are complex, the user can not understand the principle, the man-machine interaction is poor in use, the user experience is reduced, the links are complex, the use time is prolonged, and the distribution network efficiency is low; in addition, data interaction of the household equipment in the distribution network process is easy to cause leakage, and the safety is low.
Disclosure of Invention
The invention provides an automatic network distribution method of intelligent wireless equipment, aiming at the defects of the prior art, the invention does not need other operations after pressing the automatic network distribution key of a base station and the wireless equipment, the base station can complete the automatic network configuration of a plurality of wireless equipment, the networks of the plurality of wireless equipment are automatically connected to the base station, and the communication is carried out by adopting a multi-bit AES encryption mode, thereby greatly improving the safety of data transmission and having the characteristics of convenience, rapidness, high efficiency and one-to-many.
In order to solve at least one of the above technical problems, the technical solution adopted by the present invention is:
an automatic network distribution method of intelligent wireless equipment comprises the following steps:
s0: the intelligent wireless device and the base station receive a distribution network instruction, enter a distribution network mode, and simultaneously open a hidden AP hotspot;
s1: after the intelligent wireless equipment successfully searches and connects the AP hotspot, sending an encrypted authentication request to the base station;
s2: the base station authenticates the authentication request information, and sends an authentication result and formal wifi hotspot configuration information when the authentication is passed to the intelligent wireless equipment;
s3: and the intelligent wireless equipment compares the authentication result, decrypts formal wifi hotspot configuration information, connects the formal wifi hotspot and performs automatic network distribution.
Further, the information of the authentication request is encrypted by adopting an AES encryption mode with a secret key.
Further, the information of the authentication request includes: and the wifi list information and the AES key are acquired by the intelligent wireless equipment.
Further, the intelligent wireless device packages the wifi list information and the AES key into a cJSON format and sends the cJSON format to the base station.
Further, the step S2 specifically includes: and verifying the information of the authentication request by md5, when the md5 verification value is consistent with the md5 value in the information of the authentication request, indicating that the authentication is passed, forming a complete key by a 4-bit AES key in the information of the authentication request and an agreed 28-bit key, and encrypting and sending formal wifi hotspot configuration information to the intelligent wireless equipment by the complete key.
Further, the step S3 specifically includes: and performing md5 verification on formal wifi hotspot configuration information, when the md5 verification value is consistent with the md5 value in the formal wifi hotspot configuration information, indicating that the result is the same as the result of passing the authentication in the step S2, decrypting and storing the formal wifi hotspot configuration information through the complete secret key, and connecting the intelligent wireless device with the formal wifi hotspot according to the stored formal wifi hotspot configuration information.
Further, in the complete key sequence, the agreed 28-bit key before the sequence is consistent with the first 28-bit product key of the base station, and the 4-bit AES key after the sequence is randomly generated by the smart wireless device.
Further, the formal wifi hotspot configuration information includes: hotspot name identification and password information.
Further, the method also includes step S4: after the automatic network distribution is completed, the intelligent wireless device and the base station automatically exit the network distribution mode.
Further, the base station includes: a wireless router.
The invention is not particularly directed to a wireless device and a base station, i.e., other devices with wireless modules and ordinary routers, which can also perform automatic network configuration by using the invention.
The beneficial effects of the invention at least comprise:
1) the method has the advantages that the operation is simple and convenient, the user does not need to do too many operations, and the operation can be finished only by key triggering;
2) the invention adopts a multi-bit AES encryption mode to carry out data interaction, the adopted key is randomly generated and is not unique, and the key is invalid after being used once, thereby greatly improving the security of data transmission;
3) the invention has high reliability and strong stability, and is less or neglected by the external influence;
4) the invention has low cost and wide application range, can be applied to devices with wireless modules, and does not need to add additional hardware modules.
Drawings
Fig. 1 is a schematic diagram of an automatic network distribution method according to the present invention.
Fig. 2 is a flow chart of the automatic network distribution method of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood by those skilled in the art, the present invention will be further described in detail with reference to specific examples. The following examples are illustrative only and are not to be construed as limiting the invention. The examples, where specific techniques or conditions are not indicated, are to be construed according to the techniques or conditions described in the literature in the art or according to the product specifications.
According to an embodiment of the present invention, fig. 1 is a schematic diagram of an automatic network distribution method of the present invention, fig. 2 is a flowchart of the automatic network distribution method of the present invention, and referring to fig. 1 and 2, the automatic network distribution method of an intelligent wireless device according to the present invention mainly includes the following specific steps.
S0: the intelligent wireless device and the base station receive a distribution network instruction, enter a distribution network mode, and simultaneously open the hidden AP hotspot.
S1: after the intelligent wireless device successfully searches and connects the AP hotspot, an encrypted authentication request is sent to a base station, the information of the authentication request is encrypted by adopting an AES encryption mode with a secret key, and more specifically, the information of the authentication request comprises: wifi list information and AES key that intelligent wireless device obtained.
S2: the base station performs authentication and certification on the information of the authentication request, and sends an authentication result and formal wifi hotspot configuration information when the authentication is passed to the intelligent wireless equipment, more specifically: and verifying the information of the authentication request by md5, when the md5 verification value is consistent with the md5 value in the information of the authentication request, completing the data to indicate that the authentication is passed, forming a complete key by a 4-bit AES key in the information of the authentication request and an agreed 28-bit key, and encrypting and sending formal wifi hotspot configuration information to the intelligent wireless equipment by the complete key.
It can be understood that, when the md5 check value is different from the md5 value in the information of the authentication request, that is, the authentication result is failed, the base station does not send the formal wifi hotspot configuration information to the intelligent wireless device, rejects the distribution network request of the intelligent wireless device, and ends the process.
According to some embodiments of the present invention, the authentication may be performed by uploading to the server through the base station, in addition to being performed locally by the base station.
S3: the intelligent wireless device compares the authentication result, decrypts formal wifi hotspot configuration information, connects the formal wifi hotspot, and performs automatic network distribution, more specifically: performing md5 verification on formal wifi hotspot configuration information, when the md5 verification value is consistent with the md5 value in the formal wifi hotspot configuration information, indicating that the result is the same as the result passed by the authentication in the step S2, decrypting the formal wifi hotspot configuration information through the complete secret key, sending a message to inform a base station of the processing result, and storing the formal wifi hotspot configuration information by the intelligent wireless device, and connecting the formal wifi hotspot according to the configuration information.
It can be understood that, when the md5 check value is not consistent with the md5 value in the formal wifi hotspot configuration information, it indicates that the result is not the same as the result of passing the authentication in the step S2, a subsequent decryption process is not performed, and the distribution network request is ended.
According to an embodiment of the present invention, the present invention further includes step S4: after the automatic network distribution is completed, the intelligent wireless device and the base station automatically exit the network distribution mode, and the base station closes the hidden AP hotspot.
According to the embodiment of the invention, the hidden hot spots refer to static hot spots, namely fixed SSID and password which cannot be changed, and the hidden hot spots of each base station are fixed and the same; the formal wifi hot spot is dynamic and refers to a changeable base station hot spot, and can be understood as a hidden hot spot for quick connection and is fixed and unchangeable, and the formal wifi hot spot is correspondingly changed along with the change of the base station hot spot by a user. The intelligent wireless device is firstly actively connected with the AP hot spot hidden by the base station as primary connection, so that the intelligent wireless device has basic authentication request authority, can be further connected with a formal wifi hot spot only when authentication passes, and further improves the safety of data access.
According to the embodiment of the invention, in the complete key sequence, the agreed 28-bit key before the sequence is consistent with the first 28-bit product key of the base station, and the 4-bit AES key after the sequence is randomly generated by the intelligent wireless equipment, so that the leakage of the key is effectively prevented, and the safety of data is improved.
According to the embodiment of the present invention, the formal wifi hotspot configuration information includes: hotspot name identification and password information.
According to some embodiments of the invention, the intelligent wireless device packages the wifi list information and the AES key into a cJSON format or customizes the wifi list information and the AES key into other formats and sends the formats to the base station, and the specific file format type is not limited.
According to some embodiments of the present invention, the base station performs data interaction with the intelligent wireless device through the AP, and the base station may be a wireless router.
In conclusion, the operation is simple and convenient, the user does not need to do too many operations and can complete the operation only by key triggering, after the automatic distribution network key of the base station and the wireless equipment is pressed, the base station can complete the automatic network configuration of a plurality of wireless equipment and automatically connect the networks of the plurality of wireless equipment to the base station, the base station is used as a server and is diffused outwards, the base station can be simultaneously connected with the plurality of wireless equipment, the one-to-many distribution network setting is realized, and the convenience, the rapidness and the high efficiency are realized; the invention adopts a multi-bit AES encryption mode to carry out data interaction, the adopted key is randomly generated and is not unique, and the key is invalid after being used once, thereby greatly improving the security of data transmission; meanwhile, the invention has high reliability and strong stability, and is less or neglected by the external influence; in addition, the invention has low cost and wide application range, can be applied to a device with a wireless module, and does not need to add an additional hardware module.
A person skilled in the art can understand all the steps of the above embodiments to transplant the method to other application programs with wireless modules to complete automatic network distribution between the intelligent wireless device and the base station.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (7)

1. An automatic network distribution method of intelligent wireless equipment is characterized by comprising the following steps:
s0: the intelligent wireless device and the base station receive a distribution network instruction, enter a distribution network mode, and simultaneously open a hidden AP hotspot which is a static hotspot and cannot change SSID (service set identifier) and password;
s1: after the intelligent wireless equipment successfully searches and connects the AP hotspot, sending an encrypted authentication request to the base station;
s2: the base station verifies the information of the authentication request through md5, when the md5 verification value is consistent with the md5 value in the information of the authentication request, the authentication is passed, the 4-bit AES key in the information of the authentication request and the agreed 28-bit key form a complete key, and formal wifi hotspot configuration information is encrypted through the complete key and sent to the intelligent wireless equipment;
s3: the intelligent wireless device decrypts and stores the formal wifi hotspot configuration information through the complete secret key, md5 verification is carried out on the formal wifi hotspot configuration information, when an md5 verification value is consistent with an md5 value in the formal wifi hotspot configuration information, the result of passing authentication in the step S2 is the same, the intelligent wireless device is connected with the formal wifi hotspot according to the stored formal wifi hotspot configuration information, the formal wifi hotspot is a dynamic hotspot and is correspondingly changed along with the change of a user to a base station hotspot;
specifically, in the complete key sequence, the agreed 28-bit key before the sequence is consistent with the first 28-bit product key of the base station, and the 4-bit AES key after the sequence is randomly generated by the intelligent wireless device, that is, data interaction is performed by using a multi-bit AES encryption mode, the AES key is randomly generated and is not unique, and the key is invalid after being used once.
2. The automatic network distribution method according to claim 1, wherein the information of the authentication request is encrypted by AES encryption with a key.
3. The automatic network distribution method according to claim 2, wherein the information of the authentication request comprises: and the wifi list information and the AES key are acquired by the intelligent wireless equipment.
4. The automatic network distribution method according to claim 3, wherein the wifi list information and the AES key are packaged into cJSON format by the intelligent wireless device and sent to the base station.
5. The automatic network distribution method according to claim 1, wherein the formal wifi hotspot configuration information comprises: hotspot name identification and password information.
6. The automatic network distribution method according to any one of claims 1-5, further comprising step S4: after the automatic network distribution is completed, the intelligent wireless device and the base station automatically exit the network distribution mode.
7. The automatic network distribution method according to claim 6, wherein the base station comprises: a wireless router.
CN201910085270.XA 2019-01-29 2019-01-29 Automatic network distribution method of intelligent wireless equipment Active CN109890029B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910085270.XA CN109890029B (en) 2019-01-29 2019-01-29 Automatic network distribution method of intelligent wireless equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910085270.XA CN109890029B (en) 2019-01-29 2019-01-29 Automatic network distribution method of intelligent wireless equipment

Publications (2)

Publication Number Publication Date
CN109890029A CN109890029A (en) 2019-06-14
CN109890029B true CN109890029B (en) 2022-06-03

Family

ID=66927225

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910085270.XA Active CN109890029B (en) 2019-01-29 2019-01-29 Automatic network distribution method of intelligent wireless equipment

Country Status (1)

Country Link
CN (1) CN109890029B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110418336B (en) * 2019-07-11 2022-10-21 厦门亿联网络技术股份有限公司 WiFi device batch automatic network distribution method, terminal device and storage medium
CN110958308B (en) * 2019-11-22 2022-08-02 青岛海尔科技有限公司 Method for network distribution, Internet of things equipment and access equipment
CN111092768B (en) * 2019-12-20 2022-12-06 浙江大华技术股份有限公司 Network configuration method and device, storage medium and electronic device
CN111787527B (en) * 2020-07-15 2023-11-21 太仓市同维电子有限公司 WiFi rapid networking method based on HTTPS and intelligent terminal device thereof
CN112566220B (en) * 2020-11-25 2022-10-18 中移(杭州)信息技术有限公司 Distribution network information synchronization method and device and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559646A (en) * 2013-10-10 2014-02-05 国家电网公司 Power distribution network reliability quadratic optimization assessment method facing power distribution reliability
CN105323824A (en) * 2015-11-16 2016-02-10 北京京东世纪贸易有限公司 WIFI equipment, electronic device and method for assisting WIFI equipment access to network
CN108718451A (en) * 2018-06-15 2018-10-30 杭州雄迈信息技术有限公司 Unpaired message encryption method and device
CN109257795A (en) * 2018-08-17 2019-01-22 珠海格力电器股份有限公司 A kind of method and apparatus carrying out distribution

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6920559B1 (en) * 2000-04-28 2005-07-19 3Com Corporation Using a key lease in a secondary authentication protocol after a primary authentication protocol has been performed
CN100525182C (en) * 2004-03-11 2009-08-05 西安西电捷通无线网络通信有限公司 Authentication and encryption method for wireless network
KR100739781B1 (en) * 2005-12-27 2007-07-13 삼성전자주식회사 Method and apparatus for transmitting message to each of wireless device groups
CN102843687B (en) * 2012-09-18 2016-01-27 惠州Tcl移动通信有限公司 The method and system of the portable focus secure accessing of smart mobile phone
US9191209B2 (en) * 2013-06-25 2015-11-17 Google Inc. Efficient communication for devices of a home network
WO2015100675A1 (en) * 2013-12-31 2015-07-09 华为终端有限公司 Network configuration method, and related device and system
CN104125566B (en) * 2014-05-23 2023-06-23 曦威胜科技开发(深圳)有限公司 Multiplexing intelligent terminal wireless AP network-rubbing prevention method
EP3160176B1 (en) * 2015-10-19 2019-12-11 Vodafone GmbH Using a service of a mobile packet core network without having a sim card
CN107690138B (en) * 2016-08-05 2020-08-14 华为技术有限公司 Fast roaming method, device, system, access point and mobile station
EP3413508A1 (en) * 2017-06-06 2018-12-12 Thomson Licensing Devices and methods for client device authentication
CN108650106B (en) * 2018-03-12 2022-08-16 上海捷锐通电子科技有限公司 Wireless transmission method, station equipment, access point equipment and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559646A (en) * 2013-10-10 2014-02-05 国家电网公司 Power distribution network reliability quadratic optimization assessment method facing power distribution reliability
CN105323824A (en) * 2015-11-16 2016-02-10 北京京东世纪贸易有限公司 WIFI equipment, electronic device and method for assisting WIFI equipment access to network
CN108718451A (en) * 2018-06-15 2018-10-30 杭州雄迈信息技术有限公司 Unpaired message encryption method and device
CN109257795A (en) * 2018-08-17 2019-01-22 珠海格力电器股份有限公司 A kind of method and apparatus carrying out distribution

Also Published As

Publication number Publication date
CN109890029A (en) 2019-06-14

Similar Documents

Publication Publication Date Title
CN109890029B (en) Automatic network distribution method of intelligent wireless equipment
CN111669276B (en) Network verification method, device and system
CN105119939B (en) The cut-in method and device, providing method and device and system of wireless network
CN104427501B (en) Method for network access, device and system
CN105792194B (en) Authentication method, authentication device, the network equipment, the Verification System of base station legitimacy
WO2015029945A1 (en) Member profile transfer method, member profile transfer system, and user device
CN108471610B (en) Bluetooth connection control system
EP4099733A1 (en) Security authentication method and apparatus, and electronic device
EP3537652B1 (en) Method for securely controlling smart home appliance and terminal device
CN104010297B (en) Wireless terminal configuration method and device and wireless terminal
US20230344626A1 (en) Network connection management method and apparatus, readable medium, program product, and electronic device
JP7043497B2 (en) Methods and equipment for installing and managing eSIM profiles
CN105376059A (en) Method and system for performing application signature based on electronic key
CN110784865A (en) Network distribution method and terminal of Internet of things equipment, Internet of things equipment and network distribution system
CN104284331A (en) Method and system for connecting with portable WLAN hotspot
JP2023162296A (en) Non-3GPP device access to core network
CN106792994A (en) A kind of dual system termi-nal WIFI shared method and apparatus
CN105007163A (en) Pre-shared key (PSK) transmitting and acquiring methods and transmitting and acquiring devices
CN113194476B (en) Equipment activation and authentication binding method
CN106658488B (en) Intelligent household appliance and method and device for safely accessing intelligent household appliance
CN111787514B (en) Method and device for acquiring equipment control data, storage medium and electronic device
CN104883682A (en) WIFI hotspot connecting and selecting method, communication terminal and system
CN104796891A (en) Security certification system by means of service provider's network and corresponding method
CN109474635B (en) Power utilization equipment network distribution method and system based on code scanning technology
CN108271154B (en) Authentication method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant