CN106534103B - Control method and device of WIFI equipment - Google Patents

Control method and device of WIFI equipment Download PDF

Info

Publication number
CN106534103B
CN106534103B CN201610972975.XA CN201610972975A CN106534103B CN 106534103 B CN106534103 B CN 106534103B CN 201610972975 A CN201610972975 A CN 201610972975A CN 106534103 B CN106534103 B CN 106534103B
Authority
CN
China
Prior art keywords
license
field information
physical address
authentication
authentication type
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
CN201610972975.XA
Other languages
Chinese (zh)
Other versions
CN106534103A (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.)
Midea Group Co Ltd
Midea Smart Home Technology Co Ltd
Original Assignee
Midea Group Co Ltd
Midea Smart Home 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 Midea Group Co Ltd, Midea Smart Home Technology Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201610972975.XA priority Critical patent/CN106534103B/en
Publication of CN106534103A publication Critical patent/CN106534103A/en
Application granted granted Critical
Publication of CN106534103B publication Critical patent/CN106534103B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Abstract

The invention provides a control method and a control device of WIFI equipment, wherein the control method of the WIFI equipment comprises the following steps: reading License corresponding to the WIFI equipment; decrypting License to obtain field information of the decrypted License, wherein the field information comprises protocol header field information, authentication type field information, parameter field information and check field information; acquiring an authentication type corresponding to License according to the authentication type field information, wherein the authentication type comprises physical address authentication, physical address field authentication and validity period authentication; determining whether License is legal or not according to the authentication type; and if the WIFI equipment is legal, starting the WIFI equipment. The method can generate License mechanisms of various verification modes by setting different authentication types, improves the applicability to the generation environment, simplifies the generation process, improves the generation efficiency, and maintains the legal rights and interests of developers.

Description

Control method and device of WIFI equipment
Technical Field
The invention relates to the technical field of smart home, in particular to a control method and device of WIFI equipment.
Background
The License of software is a format contract that is signed by the software developer and the user to specify and limit the rights of the user to use the software or its source code, and the obligations that the software developer should have to meet.
With the continuous development of the smart home technology, the functions of the smart home appliances are more and more. A Wi-Fi module is generally provided in an intelligent home appliance to enable connection of the home appliance to an external network. The Wi-Fi module is integrated with functions of cloud platform docking, Over-the-Air Technology (OTA) upgrading, near field discovery and the like.
Some WIFI modules in the existing intelligent household appliances do not have License, and users can freely burn the firmware of the WIFI modules into other modules, so that the benefits of developers of the WIFI modules are damaged; some WIFI modules of the smart home appliances have License, but License is generated according to a Media Access Control (MAC) address of the WIFI module. The License generation mode is single, and errors are easy to occur in the generation process. When the WIFI module is used, if the License is inconsistent with the actual MAC address of the WIFI module, the normal use of the WIFI module can be influenced.
Disclosure of Invention
The object of the present invention is to solve at least to some extent one of the above mentioned technical problems.
Therefore, a first object of the present invention is to provide a method for controlling a WIFI device, where the method can generate License mechanisms of multiple verification modes by setting different authentication types, so as to improve applicability to a generation environment, simplify a generation process, and improve generation efficiency.
The second purpose of the invention is to provide a control device of the WIFI equipment.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides a method for controlling a WIFI device, including: reading License corresponding to the WIFI equipment; decrypting License to obtain field information of the decrypted License, wherein the field information comprises protocol header field information, authentication type field information, parameter field information and check field information; acquiring an authentication type corresponding to License according to the authentication type field information, wherein the authentication type comprises physical address authentication, physical address field authentication and validity period authentication; determining whether License is legal or not according to the authentication type; and if the WIFI equipment is legal, starting the WIFI equipment.
According to the control method of the WIFI equipment, provided by the embodiment of the invention, each field information is obtained by reading the License corresponding to the WIFI equipment and decrypting the License, the authentication type corresponding to the License is obtained according to the authentication type field information, whether the License is legal or not is further determined according to the authentication type, and the WIFI equipment is started when the License is legal. Therefore, the License mechanism of multiple verification modes can be generated by setting different authentication types, the applicability to a generation environment is improved, the generation flow is simplified, the generation efficiency is improved, and the legal rights and interests of developers are maintained.
In order to achieve the above object, a second embodiment of the present invention provides a control apparatus for a WIFI device, including: the reading module is used for reading License corresponding to the WIFI equipment; the decryption module is used for decrypting the License so as to obtain field information of the decrypted License, and the field information comprises protocol header field information, authentication type field information, parameter field information and check field information; the acquisition module is used for acquiring an authentication type corresponding to License according to the authentication type field information, wherein the authentication type comprises physical address authentication, physical address field authentication and validity period authentication; the determining module is used for determining whether License is legal or not according to the authentication type; and the starting module is used for starting the WIFI equipment when the License is legal.
The control device of the WIFI equipment in the embodiment of the invention obtains each field information by reading the License corresponding to the WIFI equipment and decrypting the License, obtains the authentication type corresponding to the License according to the authentication type field information, further determines whether the License is legal or not according to the authentication type, and starts the WIFI equipment when the License is legal. Therefore, the License mechanism of multiple verification modes can be generated by setting different authentication types, the applicability to a generation environment is improved, the generation flow is simplified, the generation efficiency is improved, and the legal rights and interests of developers are maintained.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a control method for a WIFI device according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a control method of a WIFI device according to another embodiment of the present invention;
fig. 3 is a schematic structural diagram of a control apparatus of a WIFI device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a control apparatus of a WIFI device according to another embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
Fig. 1 is a schematic flowchart of a control method for a WIFI device according to an embodiment of the present invention.
As shown in fig. 1, the control method of the WIFI device of this embodiment includes:
s11: and reading License corresponding to the WIFI equipment.
If a developer develops the WIFI equipment without generating corresponding License to protect the WIFI equipment, a user of the WIFI equipment can burn the firmware of the WIFI equipment into other equipment, so that the rights and interests of the developer are damaged. Therefore, the developer can use License to grant the user the right to use the WIFI device and maintain the own rights and interests.
In this embodiment, a License verification program is built in the WIFI device. When a user wants to start the WIFI device, the License is required to be sent to a License verification program for authority verification. And the License verification program reads the License input by the user and verifies whether the License is legal or not, and if the License is illegal, the WIFI equipment is refused to be started.
The license is generated by encrypting through a preset encryption algorithm. The preset Encryption Algorithm may include RSA-1024 asymmetric Encryption Algorithm, Advanced Encryption Standard (AES) AES symmetric Encryption Algorithm, Data Encryption Standard (DES) DES symmetric Encryption Algorithm, International Data Encryption Algorithm (IDEA) IDEA Encryption Algorithm, and other reliable Encryption algorithms.
S12: and decrypting the License to acquire the field information of the decrypted License.
The field information may include protocol header field information, authentication type field information, parameter field information, check field information, and the like.
In this embodiment, after the License verification program reads License input by the user, the public key of the RSA key pair is first decrypted to obtain field information of the decrypted License. The field information comprises protocol header field information, authentication type field information, parameter field information and check field information. The Byte (Byte) unit allocated by the field information of License is shown in table 1.
Table 1 byte unit table of field information allocation of License
Figure BDA0001145964320000031
As shown in table 1, the protocol header field information includes two Byte units, namely Byte0 and Byte1, where Byte0 is used to store the protocol header information of License; byte1 is used to store License version information.
The authentication type field information contains a Byte unit Byte2 for setting the authentication type of License, and the value of the Byte unit is expressed in hexadecimal. Among them, the authentication types can be divided into three types. That is, the value of Byte2 can be set to three values, i.e., 0x00, 0x01, 0x 02. When the value of Byte2 is set to 0x00, it indicates that the authentication type is physical address authentication, and one License corresponds to one physical address, that is, one License corresponds to only one WIFI device; when the value of Byte2 is set to 0x01, it indicates that the authentication type is physical address segment authentication, and one License corresponds to one physical address segment, that is, one License corresponds to all WIFI devices in the address segment; when the value of Byte2 is set to 0x02, it indicates that the authentication type is valid authentication, and one License corresponds to all WIFI devices, but the License is valid only during the valid period.
The parameter field information comprises (N +1) Byte units between Byte units Byte 3-Byte (N +3), wherein the Byte3 is used for setting the length N of the parameter, and N is a positive integer; the next N byte cells are used to set the value of the parameter. The value of N is different according to the authentication type. When the authentication type is physical address authentication, the value of the parameter is a physical address of 6 bytes, and N is set to be 0x 06; when the authentication type is the authentication of the physical address segment, the value of the parameter is two physical addresses, which are 12 bytes in total, and then N is set to be 0x 0C; when the authentication type is the validity authentication, the time period in which the value of the parameter is 4 bytes represents day, month, year, and time zone in order from low byte to high byte, when N is set to 0x 04.
The check field information includes a Byte unit Byte (N +4) for setting a check code whose value is the sum of the values of the previous (N +4) Byte units, negated by 1, to verify the authenticity of the data of the previous (N +4) Byte units.
S13: and acquiring the authentication type corresponding to License according to the authentication type field information.
In this embodiment, after acquiring the decrypted protocol header field information, authentication type field information, parameter field information, and check field information of the License, the License verification program may acquire the authentication type corresponding to the License according to the acquired authentication type field information.
The authentication types comprise physical address authentication, physical address field authentication and validity period authentication.
When the acquired authentication type field information is 0x00, that is, the value of Byte2 in table 1 is 0x00, the authentication type corresponding to the License acquired by the License verification program is physical address authentication; when the acquired authentication type field information is 0x01, the authentication type corresponding to the License acquired by the License verification program is physical address field authentication; and when the acquired authentication type field information is 0x02, the authentication type corresponding to the License acquired by the License verification program is valid period authentication.
S14: and determining whether the License is legal or not according to the authentication type.
In this embodiment, after the License verification program obtains the authentication type corresponding to the License, whether the License is legal or not can be determined according to the authentication type.
Specifically, when the authentication type is physical address authentication, the License verification program acquires a physical address of the WIFI device, and compares the physical address with a physical address set in the parameter field information to determine whether the License is legal. If the physical address set in the parameter field information is consistent with the acquired physical address, determining that the License is legal; and if the physical address set in the parameter field information is inconsistent with the acquired physical address, determining that the License is illegal.
For example, assuming that the authentication type field information of License is 0x00, the length value of the parameter in the parameter field information is 0x06, and the parameter values are 0x00, 0xE0, 0x66, 0xDB, 0xAA, and 0x8C from high byte to low byte. After the License verification program acquires the authentication type field information of the License, the authentication type corresponding to the License can be determined as physical address authentication, and then the physical address of the WIFI equipment is acquired. Assuming that the physical address acquired by the License verification program is 00-E0-66-DB-AA-8C, namely, the fact that the address in the parameter field information of the License is consistent with the physical address of the WIFI equipment is shown, and the License is legal; otherwise, License is illegal.
And when the authentication type is the physical address field authentication, the License verification program acquires the physical address of the WIFI equipment, acquires the physical address range according to the parameter field information of the License, and further determines whether the License is legal or not according to the acquired physical address range. If the physical address of the WIFI equipment is within the physical address range, determining that the License is legal; and if the physical address of the WIFI device is not in the physical address range, determining that the License is illegal.
For example, assuming that the authentication type field information of License is 0x01, the length value of the parameter in the parameter field information is 0x0C, and the parameter values are 0x00, 0xE0, 0x66, 0xEE, 0x00, 0xE0, 0x65, 0x00, 0x00, and 0x01 in sequence from high byte to low byte. After the License verification program acquires the authentication type field information of the License, the authentication type corresponding to the License can be determined as the physical address field authentication, and then the physical address of the WIFI equipment is acquired. According to the parameter field information of the License, the License verification program can determine that the physical address range is 00-E0-65-00-00-01-00-E0-66-EE-EE-EE, and further determine whether the License is legal or not according to the physical address of the WIFI equipment. If the physical address of the WIFI equipment is in the physical address range, for example, the physical address of the WIFI equipment is 00-E0-66-DB-AA-8C and in the range of 00-E0-65-00-00-01-00-E0-66-EE-EE-EE, determining that the License is legal; and if the physical address of the WIFI equipment is not in the physical address range, for example, the physical address of the WIFI equipment is 00-E0-67-00-0A-5D and is not in the range of 00-E0-65-00-00-01-00-E0-66-EE-EE, determining that the License is illegal.
And when the authentication type is the validity authentication, the License verification program needs to acquire the current time, and then whether the License is legal or not is determined according to the current time. And the current time is the time corresponding to the input License.
Specifically, after obtaining the field information of the License, the License verification program may obtain the valid date of the License according to the parameter field information, and then compare the valid date with the obtained current time to determine whether the License is legal. If the current time exceeds the effective date, determining that License is illegal; and if the current time does not exceed the effective date, determining that the License is legal.
For example, assuming that the authentication type field information of License is 0x02, the length value of the parameter in the parameter field information is 0x04, and the parameter values are 0x00, 0x10, 0x0B and 0x1A from high byte to low byte. After the License verification program acquires the authentication type field information of the License, the authentication type corresponding to the License can be determined to be valid authentication, and then the current time is acquired. According to the parameter field information of the License, the License verification program can determine that the valid date of the License is 2016, 11 and 26 days, and then compare the valid date with the current time to determine whether the License is legal. If the current time does not exceed the effective date, for example, the current time is 2016, 10, 21, determining that the License is legal; if the current time has exceeded the expiration date, such as 2016, 12, and 10, then License is determined to be illegal.
It should be noted that, when the authentication type is validity authentication, the high byte field in the parameter field information is used to set time zone information, default to the east eight zone, and default value of 0x00, that is, representing beijing time. The developer of the WIFI device can set the time zone information according to the actual requirement, which is not limited by the present invention.
S15: and if the WIFI equipment is legal, starting the WIFI equipment.
In this embodiment, after the License verification program determines that the License is legal according to the authentication type, the WIFI device is started. And if the License verification program determines that the License is illegal according to the authentication type, refusing to start the WIFI equipment.
Optionally, as shown in fig. 2, after acquiring the decrypted License field information, the method for controlling the WIFI device in this embodiment may further include the following steps:
s16: and carrying out integrity check on the License according to the protocol header field information and the check field information.
As mentioned above, the protocol header field information includes two byte units, which are respectively used to set the protocol header information of License and the version information of License.
In this embodiment, after the License verification program obtains the decrypted License field information, it may be verified whether the License protocol header information and version information are consistent with the protocol header information and version information pre-stored in the WIFI device according to the protocol header field information. If the WIFI equipment is inconsistent with the WIFI equipment, the WIFI equipment is refused to be started; and if so, further verifying whether the License is complete according to the check field information. If the License information is not complete after verification, starting the WIFI equipment is refused; and if the License information is complete, further acquiring the authentication type corresponding to the License according to the authentication type field information.
According to the control method of the WIFI equipment, provided by the embodiment of the invention, each field information is obtained by reading the License corresponding to the WIFI equipment and decrypting the License, the authentication type corresponding to the License is obtained according to the authentication type field information, whether the License is legal or not is further determined according to the authentication type, and the WIFI equipment is started when the License is legal. Therefore, the License mechanism of multiple verification modes can be generated by setting different authentication types, the applicability to a generation environment is improved, the generation flow is simplified, the generation efficiency is improved, and the legal rights and interests of developers are maintained.
In order to implement the foregoing embodiment, the present invention further provides a software development kit management apparatus, and fig. 3 is a schematic structural diagram of a control apparatus of a WIFI device according to an embodiment of the present invention.
As shown in fig. 3, the control device of the WIFI device of this embodiment includes: a read module 310, a decryption module 320, an acquisition module 330, a determination module 340, and an activation module 350. Wherein the content of the first and second substances,
the reading module 310 is configured to read a License corresponding to the WIFI device.
The license is generated by encrypting through a preset encryption algorithm. The preset encryption algorithm may include RSA-1024 asymmetric encryption algorithm, AES symmetric encryption algorithm, DES symmetric encryption algorithm, IDEA encryption algorithm, and other reliable encryption algorithms.
And the decryption module 320 is configured to decrypt the License to obtain field information of the decrypted License.
The field information comprises protocol header field information, authentication type field information, parameter field information and check field information.
The obtaining module 330 is configured to obtain an authentication type corresponding to License according to the authentication type field information.
The authentication types comprise physical address authentication, physical address field authentication and validity period authentication.
And the determining module 340 is configured to determine whether the License is legal according to the authentication type.
Optionally, when the authentication type corresponding to the License acquired by the acquiring module 330 is a physical address authentication, the determining module 340 is specifically configured to:
and acquiring the physical address of the WIFI equipment, and comparing the acquired physical address with the physical address set in the parameter field information of License. If the physical address set in the parameter field information is consistent with the acquired physical address, determining that the License is legal; and if the physical address set in the parameter field information is inconsistent with the acquired physical address, determining that the License is illegal.
When the authentication type corresponding to the License acquired by the acquiring module 330 is the physical address segment authentication, the determining module 340 is specifically configured to:
and acquiring a physical address of the WIFI equipment, acquiring a physical address range according to the parameter field information of the License, and determining whether the License is legal or not according to the acquired physical address range. If the physical address of the WIFI equipment is within the physical address range, determining that the License is legal; and if the physical address of the WIFI device is not in the physical address range, determining that the License is illegal.
When the authentication type corresponding to the License acquired by the acquiring module 330 is the validity authentication, the determining module 340 is specifically configured to:
and acquiring the current time, and determining whether the License is legal or not according to the current time. And the current time is the time corresponding to the input License.
Specifically, the determining module 340 obtains the current time, obtains the valid date of the License according to the parameter field information of the License, and compares the valid date with the current time to determine whether the License is legal. If the current time exceeds the effective date, determining that License is illegal; and if the current time does not exceed the effective date, determining that the License is legal.
And the starting module 350 is used for starting the WIFI equipment when the License is legal.
Optionally, in some embodiments, referring to fig. 4, fig. 4 is a schematic structural diagram of a control apparatus of a WIFI device according to another embodiment of the present invention.
As shown in fig. 4, the control device of the WIFI device of this embodiment further includes:
and the checking module 360 is configured to perform integrity checking on the License according to the protocol header field information and the check field information.
In this embodiment, after the decryption module 320 obtains the decrypted License field information, the verification module 360 may verify the integrity of the License according to the License protocol header field information and the verification field information. When the verification module 360 verifies that the License is complete, the obtaining module 330 obtains the authentication type corresponding to the License according to the authentication type field information to determine whether the License is legal; otherwise, the WIFI equipment is refused to be started.
It should be noted that the explanation of the embodiment of the control method for the WIFI device in the foregoing embodiment is also applicable to the control apparatus for the WIFI device in this embodiment, and the implementation principle is similar, and is not repeated here.
The control device of the WIFI equipment in the embodiment of the invention obtains each field information by reading the License corresponding to the WIFI equipment and decrypting the License, obtains the authentication type corresponding to the License according to the authentication type field information, further determines whether the License is legal or not according to the authentication type, and starts the WIFI equipment when the License is legal. Therefore, the License mechanism of multiple verification modes can be generated by setting different authentication types, the applicability to a generation environment is improved, the generation flow is simplified, the generation efficiency is improved, and the legal rights and interests of developers are maintained.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (12)

1. A control method of a WIFI device is characterized by comprising the following steps:
reading License corresponding to the WIFI equipment;
decrypting the License to obtain field information of the decrypted License, wherein the field information comprises protocol header field information, authentication type field information, parameter field information and check field information, and the protocol header field information comprises two byte units which are respectively used for setting the protocol header information of the License and the version information of the License;
verifying whether the protocol header information of the License and the version information of the License are consistent with the protocol header information and the version information prestored in the WIFI equipment;
if yes, verifying whether the License is complete according to the check field information;
if yes, acquiring an authentication type corresponding to the License according to the authentication type field information, wherein the authentication type comprises physical address authentication, physical address field authentication and validity period authentication;
determining whether the License is legal or not according to the authentication type and the parameter field information;
and if the WIFI equipment is legal, starting the WIFI equipment.
2. The method of claim 1, wherein determining whether the License is legitimate based on the authentication type comprises:
when the authentication type is the physical address authentication, acquiring a physical address of the WIFI equipment;
if the parameter field information is consistent with the physical address, determining that the License is legal;
and if the parameter field information is inconsistent with the physical address, determining that the License is illegal.
3. The method of claim 1, wherein determining whether the License is legitimate based on the authentication type, further comprises:
when the authentication type is the physical address field authentication, acquiring a physical address of the WIFI equipment;
acquiring a physical address range according to the parameter field information;
if the physical address of the WIFI device is within the physical address range, determining that the License is legal;
and if the physical address of the WIFI device is not in the physical address range, determining that the License is illegal.
4. The method of claim 1, wherein determining whether the License is legitimate based on the authentication type, further comprises:
when the authentication type is the validity period authentication, acquiring the current time;
and determining whether the License is legal or not according to the current time.
5. The method of claim 4, wherein determining whether the License is legitimate based on the current time comprises:
acquiring the valid date of the License according to the parameter field information;
comparing the effective date with the current time;
determining that the License is illegal if the current time has exceeded the expiration date;
and if the current time does not exceed the effective date, determining that the License is legal.
6. The method according to any one of claims 1 to 5, wherein the license is generated by encrypting through a preset encryption algorithm, wherein the preset encryption algorithm comprises an RSA-1024 asymmetric encryption algorithm, an AES symmetric encryption algorithm, a DES symmetric encryption algorithm and an IDEA encryption algorithm.
7. A control device of a WIFI apparatus, comprising:
the reading module is used for reading License corresponding to the WIFI equipment;
the decryption module is used for decrypting the License to acquire field information of the decrypted License, wherein the field information comprises protocol header field information, authentication type field information, parameter field information and check field information, and the protocol header field information comprises two byte units which are respectively used for setting the protocol header information of the License and the version information of the License;
the verification module is used for verifying whether the protocol header information of the License and the version information of the License are consistent with the protocol header information and the version information prestored in the WIFI equipment or not; if yes, verifying whether the License is complete according to the check field information;
the obtaining module is used for obtaining an authentication type corresponding to the License according to the field information of the authentication type when the License is complete, wherein the authentication type comprises physical address authentication, physical address field authentication and validity period authentication;
the determining module is used for determining whether the License is legal or not according to the authentication type and the parameter field information;
and the starting module is used for starting the WIFI equipment when the License is legal.
8. The apparatus of claim 7, wherein the determination module is to:
when the authentication type is the physical address authentication, acquiring a physical address of the WIFI equipment;
if the parameter field information is consistent with the physical address, determining that the License is legal;
and if the parameter field information is inconsistent with the physical address, determining that the License is illegal.
9. The apparatus of claim 7, wherein the determination module is further configured to:
when the authentication type is the physical address field authentication, acquiring a physical address of the WIFI equipment;
acquiring a physical address range according to the parameter field information;
if the physical address of the WIFI device is within the physical address range, determining that the License is legal;
and if the physical address of the WIFI device is not in the physical address range, determining that the License is illegal.
10. The apparatus of claim 7, wherein the determination module is further configured to:
when the authentication type is the validity period authentication, acquiring the current time;
and determining whether the License is legal or not according to the current time.
11. The apparatus of claim 10, wherein the determination module is specifically configured to:
acquiring the valid date of the License according to the parameter field information;
comparing the effective date with the current time;
determining that the License is illegal if the current time has exceeded the expiration date;
and if the current time does not exceed the effective date, determining that the License is legal.
12. The apparatus according to any one of claims 7-11, wherein the license is generated by a preset encryption algorithm, wherein the preset encryption algorithm comprises an RSA-1024 asymmetric encryption algorithm, an AES symmetric encryption algorithm, a DES symmetric encryption algorithm, and an IDEA encryption algorithm.
CN201610972975.XA 2016-10-28 2016-10-28 Control method and device of WIFI equipment Active CN106534103B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610972975.XA CN106534103B (en) 2016-10-28 2016-10-28 Control method and device of WIFI equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610972975.XA CN106534103B (en) 2016-10-28 2016-10-28 Control method and device of WIFI equipment

Publications (2)

Publication Number Publication Date
CN106534103A CN106534103A (en) 2017-03-22
CN106534103B true CN106534103B (en) 2020-04-03

Family

ID=58349680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610972975.XA Active CN106534103B (en) 2016-10-28 2016-10-28 Control method and device of WIFI equipment

Country Status (1)

Country Link
CN (1) CN106534103B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440441A (en) * 2013-08-28 2013-12-11 北京华胜天成科技股份有限公司 Software protection method and system
CN104394050A (en) * 2014-11-20 2015-03-04 珠海格力电器股份有限公司 Connection method and connection device for intelligent housing system
CN105429985A (en) * 2015-11-30 2016-03-23 青岛海尔智能家电科技有限公司 MAC (Media Access Control) authentication method, authentication device and MAC encryption method for WIFI (Wireless Fidelity) module and WIFI module

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105471917A (en) * 2016-01-14 2016-04-06 成都麦杰康科技有限公司 Data transmission method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440441A (en) * 2013-08-28 2013-12-11 北京华胜天成科技股份有限公司 Software protection method and system
CN104394050A (en) * 2014-11-20 2015-03-04 珠海格力电器股份有限公司 Connection method and connection device for intelligent housing system
CN105429985A (en) * 2015-11-30 2016-03-23 青岛海尔智能家电科技有限公司 MAC (Media Access Control) authentication method, authentication device and MAC encryption method for WIFI (Wireless Fidelity) module and WIFI module

Also Published As

Publication number Publication date
CN106534103A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
US10958425B2 (en) Hosted dynamic provisioning protocol with servers and a networked responder
CN107770182B (en) Data storage method of home gateway and home gateway
WO2020042778A1 (en) Firmware upgrade method and device
JP6668183B2 (en) Communication device, communication method, communication system and program
US9867051B2 (en) System and method of verifying integrity of software
CN109104279B (en) Encryption method and system for electric power data and terminal equipment
CN110099064B (en) File processing method, device, equipment and storage medium based on Internet of things
US11336635B2 (en) Systems and methods for authenticating device through IoT cloud using hardware security module
US20180109530A1 (en) Peer to peer enterprise file sharing
US9762567B2 (en) Wireless communication of a user identifier and encrypted time-sensitive data
RU2601862C2 (en) Method, unit and device for processing encryption and decryption
US8589682B2 (en) System and method for secure provisioning of an information handling system
US20150341341A1 (en) Apparatus and method for securing a debugging session
US8391487B2 (en) Secure remote configuration of device capabilities
US20180198620A1 (en) Systems and methods for assuring data on leased computing resources
CN103886260A (en) Application program control method based on two-time signature verification technology
CN110688648B (en) Security chip firmware updating method and device
CN110708164B (en) Control method and device for Internet of things equipment, storage medium and electronic device
US20110016298A1 (en) Configuration File
WO2009157133A1 (en) Information processing device, information processing method, and computer program and integrated circuit for the realization thereof
US9571288B2 (en) Peer to peer enterprise file sharing
US10263980B2 (en) Network node, device and methods for providing an authentication module
CN106446620B (en) Permission setting and processing method and device of WIFI module
CN114785514A (en) Method and system for authorizing application permission of industrial Internet of things terminal
CN110740109A (en) Network device, method for security, and computer-readable storage medium

Legal Events

Date Code Title Description
C06 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