CN110582084B - System and method for cloud programming of wifi equipment authentication key - Google Patents
System and method for cloud programming of wifi equipment authentication key Download PDFInfo
- Publication number
- CN110582084B CN110582084B CN201910999575.1A CN201910999575A CN110582084B CN 110582084 B CN110582084 B CN 110582084B CN 201910999575 A CN201910999575 A CN 201910999575A CN 110582084 B CN110582084 B CN 110582084B
- Authority
- CN
- China
- Prior art keywords
- wifi module
- key
- router
- information
- wifi
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
- H04L9/0866—Generation of secret information including derivation or calculation of cryptographic keys or passwords involving user or device identifiers, e.g. serial number, physical or biometrical information, DNA, hand-signature or measurable physical characteristics
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0894—Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/04—Key management, e.g. using generic bootstrapping architecture [GBA]
- H04W12/041—Key generation or derivation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/04—Key management, e.g. using generic bootstrapping architecture [GBA]
- H04W12/043—Key management, e.g. using generic bootstrapping architecture [GBA] using a trusted network node as an anchor
- H04W12/0433—Key management protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
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 discloses a system for writing an authentication key of wifi equipment by a cloud, which comprises a wifi module, a router, a platform server and a key storage server, wherein the wifi module is used for storing the authentication key; the wifi module is connected with the router, and the router is connected with the platform server and the secret key storage server respectively. According to the system for programming the authentication key of the wifi device at the cloud end, the key information of the device is programmed at the cloud end, so that the one-machine one-secret bidirectional authentication scheme is written at the wifi device end, the safety and reliability of the terminal access server are effectively improved, the server is prevented from being attacked, the original production environment is prevented from being greatly changed, the actual production process and efficiency are influenced, the key and the corresponding information of the MAC address of the wifi module are stored at the cloud end, and the information updating and maintenance and the wifi obtaining and downloading are facilitated.
Description
Technical Field
The invention belongs to the technical field of wifi equipment authentication, and relates to a system and a method for writing an authentication key of wifi equipment by a cloud.
Background
In the current household appliance products, more and more intelligent wifi products are provided, the requirements of a server on the safety of an accessed wifi module are higher and higher, in the process, different authentication encryption modes are infinite, and the safety of the product and the server can be effectively ensured by one-machine one-secret two-way authentication mode at present, so that the terminal and the server are prevented from being maliciously attacked or secret keys are prevented from being leaked, and further other terminals are prevented from being influenced; both written in corresponding key information in advance at server and wifi module, a key of every product, the wifi module can carry out key both way authentication when accessing the server, the key authentication is through then just can access the server, but this authentication scheme requires to write in the wifi module with the product key in advance, present conventional means is write in when production, the product key information that will accomplish a secret machine is write in production, need carry out great change to product production process, influence to production is very big, and the production environment is too complicated, so practical implementation is difficult.
Disclosure of Invention
The invention aims to provide a system and a method for cloud-side writing of a wifi device authentication key, which solve the problems of high complexity and difficulty in the existing process of writing product key information and improve the production process and efficiency.
The purpose of the invention can be realized by the following technical scheme:
a system for writing an authentication key of wifi equipment by a cloud comprises a wifi module, a router, a platform server and a key storage server;
the wifi module is connected with the router, and the router is respectively connected with the platform server and the secret key storage server;
the wifi module is used for accessing the secret key server and the platform server to complete product secret key authentication and realize interconnection and intercommunication between the product and the terminal;
the router is used for providing a network for the wifi module to access the platform server and the secret key storage server;
the platform server can generate and store corresponding authentication key information of the MAC address of the wifi module according to a key generation algorithm, and authenticate the wifi module needing to be accessed;
the key generation algorithm is characterized in that the MAC code of each wifi module is converted into hexadecimal data according to a standard ASC (American standard code) II rule, 1 is added to each bit of the converted hexadecimal data, the hexadecimal data is represented by 0 after F +1, and finally the data are converted into 8-system data to serve as key information of the corresponding wifi module;
in particular, the key algorithm is not limited by the present invention, but is only an example of an algorithm, and currently conceivable key generation algorithms are included in the content of the present invention;
the key server is used for storing the corresponding relation table of the MAC address of the wifi module and the product authentication key information and providing corresponding authentication key information for the requested wifi module.
A method for writing an authentication key of wifi equipment by a cloud comprises the following steps:
s1, generating corresponding authentication key information for the MAC address of each wifi module, and summarizing the authentication key information into an information table corresponding to the MAC address of the wifi module and the product key;
s2, storing the generated MAC address of the wifi module and an information table corresponding to the product key in a key storage server in advance;
s3, normally producing and selling an intelligent product with wifi, wherein when a user is in a network distribution, a wifi module is firstly connected to a router;
s4, after the wifi module is connected to the router for the first time, sending an information request carrying an MAC address to a key storage server through the router, after receiving the request information of the wifi module, the key storage server querying a stored wifi MAC and an information table corresponding to a product key to obtain product key information corresponding to the MAC, and then carrying the key information and returning the key information to the wifi module through the router;
s5, after receiving the information returned by the key storage server from the router, the wifi module extracts the relevant key information and writes the key information into the wifi module;
and S6, connecting the wifi module with the platform server through the router to perform an access request under the condition that the wifi module contains the key information.
Further, the method further includes step S7, where the step S7 resets the wifi module without clearing its key information, and after the wifi module is subsequently connected to the router, the wifi module is no longer connected to the key storage server.
The invention has the beneficial effects that:
according to the system and the method for programming the authentication key of the wifi device at the cloud end, the key information of the device is programmed at the cloud end, so that the one-machine one-secret two-way authentication scheme is written at the wifi device end, the safety and reliability of the terminal access server are effectively improved, the server is prevented from being attacked, the original production environment is prevented from being greatly changed, the actual production process and the actual production efficiency are influenced, the key and the corresponding information of the MAC address of the wifi module are stored at the cloud end, and the information updating and maintenance and the wifi obtaining and downloading are facilitated.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a system for cloud-based writing of an authentication key of a wifi device in the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a system for cloud-side writing of a wifi device authentication key includes a wifi module, a router, a platform server, and a key storage server;
the wifi module is connected with the router, and the router is respectively connected with the platform server and the secret key storage server;
the wifi module is used for accessing the secret key server and the platform server to complete product secret key authentication and realize interconnection and intercommunication between the product and the terminal;
the router is used for providing a network for the wifi module to access the platform server and the secret key storage server;
the platform server can generate and store corresponding authentication key information of the MAC address of the wifi module according to a key generation algorithm, and authenticate the wifi module needing to be accessed;
the key server is used for storing the corresponding relation table of the MAC address of the wifi module and the product authentication key information and providing corresponding authentication key information for the requested wifi module.
A method for writing an authentication key of wifi equipment by a cloud comprises the following steps:
s1, generating corresponding authentication key information for the MAC address of each wifi module, and summarizing the authentication key information into an MAC address of each wifi module and a product key information table, wherein the key information table is generated by the platform server according to the MAC address of each wifi module and is respectively stored in the platform server and the key server;
s2, storing the generated MAC address of the wifi module and an information table corresponding to the product key in a key storage server in advance;
s3, normally producing and selling an intelligent product with wifi, wherein when a user is in a network distribution, a wifi module is firstly connected to a router;
s4, after the wifi module is connected to the router for the first time, sending an information request carrying an MAC address to a key storage server through the router, after receiving the request information of the wifi module, the key storage server querying a stored wifi MAC and an information table corresponding to a product key to obtain product key information corresponding to the MAC, and then carrying the key information and returning the key information to the wifi module through the router;
s5, after receiving the information returned by the key storage server from the router, the wifi module extracts the relevant key information and writes the key information into the wifi module;
s6, the wifi module carries out an access request through the router connecting with the platform server under the state that the wifi module contains the secret key information;
and S7, resetting the wifi module to the state that the key information of the wifi module is not cleared, and after the wifi module is connected with the router subsequently, not connecting the key storage server any more.
The foregoing is merely exemplary and illustrative of the principles of the present invention and various modifications, additions and substitutions of the specific embodiments described herein may be made by those skilled in the art without departing from the principles of the present invention or exceeding the scope of the claims set forth herein.
Claims (1)
1. The utility model provides a system for wifi equipment authentication key is write in high in clouds which characterized in that: the system comprises a wifi module, a router, a platform server and a secret key storage server;
the wifi module is connected with the router, and the router is respectively connected with the platform server and the secret key storage server; the wifi module is used for accessing the secret key server and the platform server to complete product secret key authentication and realize interconnection and intercommunication between a product and a terminal;
the router is used for providing a network for the wifi module to access the platform server and the secret key storage server;
the platform server can generate and store corresponding authentication key information of the MAC address of the wifi module according to a key generation algorithm, and performs key authentication on the wifi module needing to be accessed;
the key server is used for storing a corresponding relation table of the MAC address of the wifi module and product authentication key information and providing corresponding authentication key information for the requested wifi module;
the method for writing the authentication key of the wifi device by the cloud comprises the following steps:
s1, generating corresponding authentication key information for the MAC address of each wifi module, and summarizing the authentication key information into an information table corresponding to the MAC address of the wifi module and the product key;
s2, storing the generated MAC address of the wifi module and an information table corresponding to the product key in a key storage server in advance;
s3, normally producing and selling an intelligent product with wifi, wherein when a user is in a network distribution, a wifi module is firstly connected to a router;
s4, after the wifi module is connected to the router for the first time, sending an information request carrying an MAC address to a key storage server through the router, after receiving the request information of the wifi module, the key storage server querying a stored wifi MAC and an information table corresponding to a product key to obtain product key information corresponding to the MAC, and then carrying the key information and returning the key information to the wifi module through the router;
s5, after receiving the information returned by the key storage server from the router, the wifi module extracts the relevant key information and writes the key information into the wifi module;
s6, the wifi module carries out an access request through the router connecting with the platform server under the state that the wifi module contains the secret key information;
and S7, resetting the wifi module without clearing own key information, and after the wifi module is connected with a router subsequently, no longer connecting a key storage server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910999575.1A CN110582084B (en) | 2019-10-21 | 2019-10-21 | System and method for cloud programming of wifi equipment authentication key |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910999575.1A CN110582084B (en) | 2019-10-21 | 2019-10-21 | System and method for cloud programming of wifi equipment authentication key |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110582084A CN110582084A (en) | 2019-12-17 |
CN110582084B true CN110582084B (en) | 2022-05-10 |
Family
ID=68815176
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910999575.1A Active CN110582084B (en) | 2019-10-21 | 2019-10-21 | System and method for cloud programming of wifi equipment authentication key |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110582084B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111988142A (en) * | 2020-08-25 | 2020-11-24 | 合肥美菱物联科技有限公司 | Intelligent refrigerator key programming system and method |
CN112351423B (en) * | 2020-11-06 | 2023-05-23 | 合肥美菱物联科技有限公司 | Wifi key burning system and method thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106603508A (en) * | 2016-11-30 | 2017-04-26 | 青岛海尔科技有限公司 | Wireless encryption communication method, intelligent household electrical appliance, server, and terminal |
CN107040922A (en) * | 2016-05-05 | 2017-08-11 | 腾讯科技(深圳)有限公司 | Wireless network connecting method, apparatus and system |
CN107943491A (en) * | 2017-11-21 | 2018-04-20 | 深圳创维-Rgb电子有限公司 | A kind of method, system and storage device based on high in the clouds intelligence burning key codes |
CN107992760A (en) * | 2017-12-08 | 2018-05-04 | 深圳创维数字技术有限公司 | Secret key wiring method, device, equipment and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI493952B (en) * | 2006-12-27 | 2015-07-21 | Signal Trust For Wireless Innovation | Method and apparatus for base station self-configuration |
-
2019
- 2019-10-21 CN CN201910999575.1A patent/CN110582084B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107040922A (en) * | 2016-05-05 | 2017-08-11 | 腾讯科技(深圳)有限公司 | Wireless network connecting method, apparatus and system |
CN106603508A (en) * | 2016-11-30 | 2017-04-26 | 青岛海尔科技有限公司 | Wireless encryption communication method, intelligent household electrical appliance, server, and terminal |
CN107943491A (en) * | 2017-11-21 | 2018-04-20 | 深圳创维-Rgb电子有限公司 | A kind of method, system and storage device based on high in the clouds intelligence burning key codes |
CN107992760A (en) * | 2017-12-08 | 2018-05-04 | 深圳创维数字技术有限公司 | Secret key wiring method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110582084A (en) | 2019-12-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110582084B (en) | System and method for cloud programming of wifi equipment authentication key | |
US8819435B2 (en) | Generating protocol-specific keys for a mixed communication network | |
CN114422115B (en) | Power grid data encryption transmission method, system, equipment and readable storage medium | |
CN104750784B (en) | A kind of space querying integrity verification method based on Merkle tree constructions | |
CN103905469A (en) | Security control system and method applied to smart grid wireless sensing network and cloud computing | |
CN102420642B (en) | Bluetooth device and communication method thereof | |
CN107438061B (en) | Method and device for authenticating kafka client | |
CN110059055A (en) | A kind of file storage and read method and device based on distributed private clound | |
CN104619040A (en) | Method and system for quickly connecting WIFI equipment | |
CN112702193B (en) | Data interaction method, device, computer equipment and storage medium | |
CN108055129A (en) | A kind of method, equipment and system for realizing the unified management of cellphone shield key | |
CN105743746A (en) | Intelligent home electric appliance management method, management apparatus and management system | |
CN107872315B (en) | Data processing method and intelligent terminal | |
CN116546011A (en) | Intelligent substation business data braiding method based on multi-access edge computing technology | |
CN107181795B (en) | Convenient filling method and system for wireless security terminal firmware | |
CN107105045B (en) | Convenient filling method and system for wired security terminal firmware | |
CN116360809B (en) | Remote firmware upgrading method, system and medium for embedded intelligent terminal | |
CN101388796B (en) | Information sending processing method, communication equipment and communication system | |
CN103220260B (en) | The more method of new data, server, client and system | |
CN208015762U (en) | Support transmission encryption device, system and the decryption device of industry control agreement | |
CN107291524A (en) | A kind for the treatment of method and apparatus of remote command | |
CN110290226A (en) | A kind of general client and server-side mating interface protocol method | |
CN114048206B (en) | Configuration consistency verification method, system and device for large-scale cluster | |
CN107135261A (en) | One kind is based on network configuration multi-server system and method | |
CN104393991A (en) | Algorithm reconstruction device and method |
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 |