CN106534103A - WIFI device control method and device - Google Patents

WIFI device control method and device Download PDF

Info

Publication number
CN106534103A
CN106534103A CN201610972975.XA CN201610972975A CN106534103A CN 106534103 A CN106534103 A CN 106534103A CN 201610972975 A CN201610972975 A CN 201610972975A CN 106534103 A CN106534103 A CN 106534103A
Authority
CN
China
Prior art keywords
license
field information
physical address
authentication
wifi equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610972975.XA
Other languages
Chinese (zh)
Other versions
CN106534103B (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

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 WIFI device control method and device. The WIFI device control method comprises the steps that a License corresponding to a WIFI device is read; the License is decrypted to acquire the field information of the decrypted License, wherein the field information comprises the protocol head field information, the authentication type field information, the parameter field information and the check field information; the authentication type corresponding to the license is acquired according to the authentication type field information, wherein the authentication type comprises physical address authentication, physical address segment authentication and validity period authentication; whether the License is legitimate is determined according to the authentication type; and if the License is legitimate, the WIFI device is started. According to the method, a License mechanism of various check modes can be generated by setting different authentication types; the applicability to a generation environment is improved; the generation process is simplified; the generation efficiency is improved; and the legitimate rights and interests of developers are maintained at the same time.

Description

The control method and device of WIFI equipment
Technical field
The present invention relates to intelligent domestic technical field, more particularly to a kind of control method and device of WIFI equipment.
Background technology
Software license License is a kind of standard form of contract, is signed with user by software developer, to specify and limit User uses the right of software or its source code, and software developer's obligation.
With the continuous development of smart home technology, the function of intelligent appliance is also more and more.Generally in intelligent appliance Arrange Wi-Fi module to realize the connection of household electrical appliances and extraneous network.Wherein, cloud platform docking, aerial is integrated with Wi-Fi module The function such as download technology (Over-the-Air Technology, OTA) upgrading and near field discovery.
In existing intelligent appliance, some WIFI modules do not possess License, user can by the firmware of WIFI module with Meaning is burned onto in other modules, causes developer's benefit damage of WIFI module;Also the WIFI module of some intelligent appliances has Standby License, but License is generated according to the physical address (Media Access Control, MAC) of WIFI module. The mode of this generation License is relatively simple, easily occurs mistake in generating process.When using WIFI module, if License is inconsistent with the real mac address of WIFI module, can affect the normal use of WIFI module.
The content of the invention
The purpose of the present invention is intended at least solve one of above-mentioned technical problem to a certain extent.
For this purpose, first purpose of the present invention is to propose a kind of control method of WIFI equipment, the method is by arranging Different authentication types can generate the License mechanism of various checking modes, improve the suitability to build environment, simplify life Into flow process, formation efficiency is improved.
Second object of the present invention is to propose a kind of control device of WIFI equipment.
To achieve these goals, first aspect present invention embodiment proposes a kind of control method of WIFI equipment, bag Include:Read the corresponding licence License of WIFI equipment;License is decrypted, to obtain the License's after decryption Field information, field information include protocol header fields information, authentication type field information, parameter field information and check field Information;The corresponding authentication types of License are obtained according to authentication type field information, authentication type include physical address authentication, Physical address section is authenticated and effect duration authenticates;Determine whether License is legal according to authentication type;If legal, start WIFI equipment.
The control method of the WIFI equipment of the embodiment of the present invention is by reading the corresponding License of WIFI equipment and right License is decrypted each field information of acquisition, obtains the corresponding authentication types of License according to authentication type field information, And then determine whether License is legal according to authentication type, and start WIFI equipment when License is legal.Thereby, it is possible to logical The License mechanism for arranging that different authentication types generate various checking modes is crossed, the suitability to build environment is improved, is simplified Product process, improves formation efficiency, while maintaining the legitimate rights and interests of developer.
To achieve these goals, second aspect present invention embodiment proposes a kind of control device of WIFI equipment, bag Include:Read module, for reading the corresponding licence License of WIFI equipment;Deciphering module, for solving to License Close, to obtain the field information of the License after decryption, field information includes protocol header fields information, authentication type field letter Breath, parameter field information and check field information;Acquisition module, for obtaining License according to authentication type field information Corresponding authentication type, authentication type include physical address authentication, physical address section authentication and effect duration authentication;Determining module, For determining whether License is legal according to authentication type;Starting module, for License it is legal when, start WIFI equipment.
The control device of the WIFI equipment of the embodiment of the present invention is by reading the corresponding License of WIFI equipment and right License is decrypted each field information of acquisition, obtains the corresponding authentication types of License according to authentication type field information, And then determine whether License is legal according to authentication type, and start WIFI equipment when License is legal.Thereby, it is possible to logical The License mechanism for arranging that different authentication types generate various checking modes is crossed, the suitability to build environment is improved, is simplified Product process, improves formation efficiency, while maintaining the legitimate rights and interests of developer.
Description of the drawings
Of the invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments It is substantially and easy to understand, wherein:
Fig. 1 is the schematic flow sheet of the control method of the WIFI equipment that one embodiment of the invention is proposed;
Fig. 2 is the schematic flow sheet of the control method of the WIFI equipment that another embodiment of the present invention is proposed;
Fig. 3 is the structural representation of the control device of the WIFI equipment that one embodiment of the invention is proposed;
Fig. 4 is the structural representation of the control device of the WIFI equipment that another embodiment of the present invention is proposed.
Specific embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from start to finish Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and be not considered as limiting the invention.
Fig. 1 is the schematic flow sheet of the control method of the WIFI equipment that one embodiment of the invention is proposed.
As shown in figure 1, the control method of the WIFI equipment of the present embodiment includes:
S11:Read the corresponding licence License of WIFI equipment.
If developer develops WIFI equipment and asynchronously generates corresponding License and WIFI equipment is protected Shield, the user of WIFI equipment just can make the damage of the rights and interests of developer by the firmware burning of WIFI equipment to other equipment.Cause This, developer can authorize the right that user uses WIFI equipment using License, safeguard itself rights and interests.
In the present embodiment, a built-in License proving program in WIFI equipment.When user wants to start WIFI equipment When, need first to carry out Authority Verification to License proving programs transmission License.License proving programs read user input License and verify whether which legal, if License is illegal, refusal start WIFI equipment.
Wherein, license is generated by predetermined encryption algorithm encryption.Predetermined encryption algorithm can be non-right including RSA-1024 Claim AES, Advanced Encryption Standard (Advanced Encryption Standard, AES) AES symmetric encipherment algorithms, data Encryption standard (Data Encryption Standard, DES) DES symmetric encipherment algorithms and IDEA The reliability AES such as (International Data Encryption Algorithm, IDEA) IDEA encryption algorithm.
S12:License is decrypted, to obtain the field information of the License after decryption.
Wherein, field information may include protocol header fields information, authentication type field information, parameter field information and school Test field information etc..
In the present embodiment, after the License that License proving programs read user input, first have to close using RSA The public key of key pair is decrypted, to obtain the field information of the License after decryption.Wherein, field information includes protocol header word Segment information, authentication type field information, parameter field information and check field information.The field information distribution of License Byte (Byte) unit is as shown in table 1.
The byte units table of the field information distribution of 1 License of table
As shown in table 1, in protocol header fields information include two byte units, i.e. Byte0 and Byte1, wherein, Byte0 For depositing the agreement header of License;Byte1 is used for the version information for depositing License.
Authentication type field information includes byte units Byte2, for arranging the authentication type of License, the word The value hexadecimal representation of section unit.Wherein, authentication type can be divided into three kinds.That is, the value of Byte2 may be configured as Three numerical value, i.e. 0x00,0x01,0x02.When the value of Byte2 is arranged to 0x00, represent that authentication type is reflected for physical address Power, License one physical address of correspondence, i.e., one License only correspond to a WIFI equipment;When the value quilt of Byte2 When being set to 0x01, represent that authentication type is authenticated for physical address section, License one physical address section of correspondence, i.e., one Individual License to should be in address field all WIFI equipments;When the value of Byte2 is arranged to 0x02, authentication type is represented Authenticate for effect duration, a License corresponds to all WIFI equipments, but only the License is just effective before the deadline.
(N+1) individual byte units between parameter field packet Byte3 containing byte units~Byte (N+3), wherein, Byte3 is used for length N of arrange parameter, and N is positive integer;N number of byte units afterwards are used for the value of arrange parameter.According to authentication Type is different, and the value of N is also different.When authentication type is that physical address is authenticated, the value of parameter is the physical address of 6 bytes, Now N is set to 0x06;When authentication type is that physical address section is authenticated, the value of parameter is two physical address, totally 12 byte, Now N is set to 0x0C;When authentication type is to authenticate effect duration, the value of parameter is the time period of 4 bytes, paramount from low byte Byte represents day, the moon, year and time zone successively, and now N is set to 0x04.
Check field packet contains byte units Byte (N+4), and for arranging check code, its value is that front (N+4) is individual The value of byte units and negate and Jia 1, with the reliability of the data of (N+4) individual byte units before checking.
S13:The corresponding authentication types of License are obtained according to authentication type field information.
In the present embodiment, the protocol header fields information of the License after decryption is obtained, authentication type field information, ginseng After digital segment information and check field information, License proving programs can be obtained according to the authentication type field information for obtaining Take the corresponding authentication types of License.
Wherein, authentication type includes physical address authentication, physical address section authentication and effect duration authentication.
When in the authentication type field information for obtaining is 0x00, i.e. table 1, the value of Byte2 is 0x00, License checking journeys The corresponding authentication types of License that sequence is obtained are authenticated for physical address;When the authentication type field information for obtaining is 0x01, The corresponding authentication types of License that License proving programs are obtained are authenticated for physical address section;When the authentication type word for obtaining When segment information is 0x02, the corresponding authentication types of License that License proving programs are obtained were authenticated for effect duration.
S14:Determine whether License is legal according to authentication type.
In the present embodiment, after License proving programs get the corresponding authentication types of License, you can according to Authentication type determines whether License is legal.
Specifically, when authentication type is that physical address is authenticated, License proving programs obtain WIFI equipment physically Location, and the physical address arranged in physical address same parameter field information is contrasted to determine whether License legal.Such as The physical address arranged in fruit parameter field information is consistent with the physical address for obtaining, it is determined that License is legal;If parameter The physical address arranged in field information is inconsistent with the physical address for obtaining, it is determined that License is illegal.
For example, it is assumed that the authentication type field information of License be 0x00, the length of the parameter in parameter field information Angle value is 0x06, and parameter value is followed successively by 0x00,0xE0,0x66,0xDB, 0xAA and 0x8C to low byte by high byte.License After proving program gets the authentication type field information of License, you can determine that the corresponding authentication types of License are physics Address authenticates, and then obtains the physical address of WIFI equipment.Assume that the physical address that License proving programs are obtained is 00-E0- 66-DB-AA-8C, that is, show that the address in the parameter field information of License is consistent with the physical address of WIFI equipment, License is legal;Otherwise, License is illegal.
When authentication type is that physical address section is authenticated, License proving programs obtain the physical address of WIFI equipment, and According to the parameter field acquisition of information range of physical addresses of License, and then determined according to the range of physical addresses for obtaining Whether License is legal.If the physical address of WIFI equipment is in range of physical addresses, it is determined that License is legal;If The physical address of WIFI equipment is not in range of physical addresses, it is determined that License is illegal.
For example, it is assumed that the authentication type field information of License be 0x01, the length of the parameter in parameter field information Angle value is 0x0C, parameter value by high byte to low byte be followed successively by 0x00,0xE0,0x66,0xEE, 0xEE, 0xEE, 0x00, 0xE0,0x65,0x00,0x00 and 0x01.After License proving programs get the authentication type field information of License, i.e., Can determine that the corresponding authentication types of License and authenticate for physical address section, and then obtain the physical address of WIFI equipment.According to The parameter field information of License, License proving programs can determine that range of physical addresses is 00-E0-65-00-00-01 ~00-E0-66-EE-EE-EE, and then determine whether License is legal according to the physical address of WIFI equipment.If WIFI sets In range of physical addresses, the physical address of such as WIFI equipment is 00-E0-66-DB-AA-8C to standby physical address, in 00- In the range of E0-65-00-00-01~00-E0-66-EE-EE-EE, it is determined that License is legal;If the physics of WIFI equipment Not in range of physical addresses, the physical address of such as WIFI equipment is 00-E0-67-00-0A-5D, not in 00-E0- for address In the range of 65-00-00-01~00-E0-66-EE-EE-EE, it is determined that License is illegal.
When authentication type is to authenticate effect duration, License proving programs need to obtain current time, and then according to current Time determines whether License is legal.Wherein, current time is to be input into the time corresponding to License.
Specifically, License proving programs can be believed according to parameter field after the field information for obtaining License Breath obtains the expiration date of License, and then expiration date is contrasted to determine that License is with the current time for obtaining It is no legal.If current time has exceeded expiration date, it is determined that License is illegal;If current time is not less than effective Date, it is determined that License is legal.
For example, it is assumed that the authentication type field information of License be 0x02, the length of the parameter in parameter field information Angle value is 0x04, and parameter value is followed successively by 0x00,0x10,0x0B and 0x1A to low byte by high byte.License proving programs are obtained After getting the authentication type field information of License, you can determine the corresponding authentication types of License and authenticate for effect duration, enter And obtain current time.According to the parameter field information of License, License proving programs can determine that License's is effective Date is on November 26th, 2016, and then expiration date is contrasted to determine whether License is legal with current time.Such as Fruit current time is on October 21st, 2016 not less than expiration date, such as current time, it is determined that License is legal;If Current time has exceeded expiration date, and such as current time is on December 10th, 2016, it is determined that License is illegal.
It should be noted that when authentication type is to authenticate effect duration, the high byte field in parameter field information is used for Time-zone information is set, Dong Baqu is defaulted as, default value is 0x00, that is, represent Beijing time.The developer of WIFI equipment can be with Time-zone information, the invention is not limited in this regard are voluntarily set according to the actual requirements.
S15:If legal, start WIFI equipment.
In the present embodiment, after according to authentication type, License proving programs determine that License is legal, starting should WIFI equipment.If according to authentication type, License proving programs determine that License is illegal, refusal starts WIFI equipment.
Alternatively, as shown in Fig. 2 after the field information of the License obtained after decrypting, the WIFI of the present embodiment sets Standby control method can also be comprised the following steps:
S16:Completeness check is carried out to License according to protocol header fields information and check field information.
Carried above, protocol header fields packet contains two byte units, and be respectively used to arrange the protocol header letter of License The version information of breath and License.
In the present embodiment, after the field information of the License after License proving programs get decryption, Ke Yixian According to the agreement header and version information of protocol header fields Information Authentication License whether with the agreement that prestores in WIFI equipment Whether header is consistent with version information.If inconsistent, refusal starts WIFI equipment;If consistent, further according to verification Whether checking License is complete for field information.If learning that License information is imperfect after checking, refusal starts WIFI equipment; If learning License information completelies, the corresponding authentication types of License are obtained according to authentication type field information further.
The control method of the WIFI equipment of the embodiment of the present invention is by reading the corresponding License of WIFI equipment and right License is decrypted each field information of acquisition, obtains the corresponding authentication types of License according to authentication type field information, And then determine whether License is legal according to authentication type, and start WIFI equipment when License is legal.Thereby, it is possible to logical The License mechanism for arranging that different authentication types generate various checking modes is crossed, the suitability to build environment is improved, is simplified Product process, improves formation efficiency, while maintaining the legitimate rights and interests of developer.
In order to realize above-described embodiment, the present invention also proposes a kind of SDK managing device, and Fig. 3 is the present invention The structural representation of the control device of the WIFI equipment that one embodiment is proposed.
As shown in figure 3, the control device of the WIFI equipment of the present embodiment includes:Read module 310, deciphering module 320, obtain Delivery block 330, determining module 340, and starting module 350.Wherein,
Read module 310, for reading the corresponding licence License of WIFI equipment.
Wherein, license is generated by predetermined encryption algorithm encryption.Predetermined encryption algorithm can be non-right including RSA-1024 Claim the reliable AES such as AES, AES symmetric encipherment algorithms, DES symmetric encipherment algorithms and IDEA encryption algorithm.
Deciphering module 320, for being decrypted to License, to obtain the field information of the License after decryption.
Wherein, field information includes protocol header fields information, authentication type field information, parameter field information and verification Field information.
Acquisition module 330, for obtaining the corresponding authentication types of License according to authentication type field information.
Wherein, authentication type includes physical address authentication, physical address section authentication and effect duration authentication.
Determining module 340, for determining whether License is legal according to authentication type.
Alternatively, when the corresponding authentication types of License that acquisition module 330 is obtained are that physical address is authenticated, it is determined that Module 340 specifically for:
The physical address of WIFI equipment is obtained, and will be set in parameter field information of the physical address of acquisition with License The physical address put is contrasted.If the physical address arranged in parameter field information is consistent with the physical address for obtaining, Determine that License is legal;If the physical address arranged in parameter field information is inconsistent with the physical address for obtaining, it is determined that License is illegal.
When the corresponding authentication types of License that acquisition module 330 is obtained are that physical address section is authenticated, determining module 340 specifically for:
The physical address of WIFI equipment is obtained, and according to the parameter field acquisition of information range of physical addresses of License, is entered And determine whether License is legal according to the range of physical addresses for obtaining.If the physical address of WIFI equipment is in physical address In the range of, it is determined that License is legal;If the physical address of WIFI equipment is not in range of physical addresses, it is determined that License is illegal.
When the corresponding authentication types of License that acquisition module 330 is obtained are to authenticate effect duration, determining module 340 has Body is used for:
Current time is obtained, determines whether License is legal according to current time.Wherein, current time is input Time corresponding to License.
Specifically, it is determined that module 340 obtains current time, and according to the parameter field acquisition of information License of License Expiration date, and then expiration date is contrasted with current time, to determine whether License legal.If when current Between exceed expiration date, it is determined that License is illegal;If current time is not less than expiration date, it is determined that License It is legal.
Starting module 350, for License it is legal when, start WIFI equipment.
Alternatively, in some embodiments, referring to Fig. 4, Fig. 4 is the control of the WIFI equipment that another embodiment of the present invention is proposed The structural representation of device.
As shown in figure 4, the control device of the WIFI equipment of the present embodiment also includes:
Correction verification module 360, for carrying out integrity school to License according to protocol header fields information and check field information Test.
In the present embodiment, after the field information of the License after deciphering module 320 obtains decryption, correction verification module 360 The integrity of License can be verified according to the protocol header fields information of License and check field information.Work as verification When the verification of module 360 learns that License is complete, 330 ability of acquisition module obtains License correspondences according to authentication type field information Authentication type, for determine License it is whether legal;Otherwise, refusal starts WIFI equipment.
It should be noted that being also applied for the explanation of the control method embodiment of WIFI equipment in previous embodiment The control device of the WIFI equipment of the present embodiment, which realizes that principle is similar to, and here is omitted.
The control device of the WIFI equipment of the embodiment of the present invention is by reading the corresponding License of WIFI equipment and right License is decrypted each field information of acquisition, obtains the corresponding authentication types of License according to authentication type field information, And then determine whether License is legal according to authentication type, and start WIFI equipment when License is legal.Thereby, it is possible to logical The License mechanism for arranging that different authentication types generate various checking modes is crossed, the suitability to build environment is improved, is simplified Product process, improves formation efficiency, while maintaining the legitimate rights and interests of developer.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show Example ", or the description of " some examples " etc. mean specific features with reference to the embodiment or example description, structure, material or spy Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not Identical embodiment or example must be directed to.And, the specific features of description, structure, material or feature can be with office Combined in one or more embodiments or example in an appropriate manner.Additionally, in the case of not conflicting, the skill of this area The feature of the different embodiments or example described in this specification and different embodiments or example can be tied by art personnel Close and combine.
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment is example Property, it is impossible to limitation of the present invention is interpreted as, one of ordinary skill in the art within the scope of the invention can be to above-mentioned Embodiment is changed, changes, replacing and modification.

Claims (14)

1. a kind of control method of WIFI equipment, it is characterised in that include:
Read the corresponding licence License of WIFI equipment;
The License is decrypted, to obtain the field information of the License after decryption, the field information includes association View head field information, authentication type field information, parameter field information and check field information;
The corresponding authentication types of the License are obtained according to the authentication type field information, the authentication type includes thing Reason address authentication, physical address section authentication and effect duration authentication;
Determine whether the License is legal according to the authentication type;
If legal, start the WIFI equipment.
2. the method for claim 1, it is characterised in that determine whether the License closes according to the authentication type Method, including:
When the authentication type is that the physical address is authenticated, the physical address of the WIFI equipment is obtained;
If the parameter field information is consistent with the physical address, it is determined that the License is legal;
If the parameter field information is inconsistent with the physical address, it is determined that the License is illegal.
3. the method for claim 1, it is characterised in that determine whether the License closes according to the authentication type Method, also includes:
When the authentication type is that the physical address section is authenticated, the physical address of the WIFI equipment is obtained;
According to the parameter field acquisition of information range of physical addresses;
If the physical address of the WIFI equipment is in the range of physical addresses, it is determined that the License is legal;
If the physical address of the WIFI equipment is not in the range of physical addresses, it is determined that the License is illegal.
4. the method for claim 1, it is characterised in that determine whether the License closes according to the authentication type Method, also includes:
When the authentication type is to authenticate the effect duration, current time is obtained;
Determine whether the License is legal according to the current time.
5. method as claimed in claim 4, it is characterised in that determine whether the License closes according to the current time Method, including:
The expiration date of License according to the parameter field acquisition of information;
The expiration date is contrasted with the current time;
If the current time has exceeded the expiration date, it is determined that the License is illegal;
If the current time is not less than the expiration date, it is determined that the License is legal.
6. the method as described in any one of claim 1-5, it is characterised in that the license is added by predetermined encryption algorithm Close generation, wherein, the predetermined encryption algorithm include RSA-1024 rivest, shamir, adelmans, AES symmetric encipherment algorithms, DES pair Claim AES and IDEA encryption algorithm.
7. the method for claim 1, it is characterised in that also include:
Completeness check is carried out to the License according to the protocol header fields information and the check field information.
8. a kind of control device of WIFI equipment, it is characterised in that include:
Read module, for reading the corresponding licence License of WIFI equipment;
Deciphering module, for being decrypted to the License, to obtain the field information of the License after decryption, the word Segment information includes protocol header fields information, authentication type field information, parameter field information and check field information;
Acquisition module, for obtaining the corresponding authentication types of the License, the mirror according to the authentication type field information Power type includes physical address authentication, physical address section authentication and effect duration authentication;
Determining module, for determining whether the License is legal according to the authentication type;
Starting module, for the License it is legal when, start the WIFI equipment.
9. device as claimed in claim 8, it is characterised in that the determining module, is used for:
When the authentication type is that the physical address is authenticated, the physical address of the WIFI equipment is obtained;
If the parameter field information is consistent with the physical address, it is determined that the License is legal;
If the parameter field information is inconsistent with the physical address, it is determined that the License is illegal.
10. device as claimed in claim 8, it is characterised in that the determining module, is additionally operable to:
When the authentication type is that the physical address section is authenticated, the physical address of the WIFI equipment is obtained;
According to the parameter field acquisition of information range of physical addresses;
If the physical address of the WIFI equipment is in the range of physical addresses, it is determined that the License is legal;
If the physical address of the WIFI equipment is not in the range of physical addresses, it is determined that the License is illegal.
11. devices as claimed in claim 8, it is characterised in that the determining module, are additionally operable to:
When the authentication type is to authenticate the effect duration, current time is obtained;
Determine whether the License is legal according to the current time.
12. devices as claimed in claim 11, it is characterised in that the determining module, specifically for:
The expiration date of License according to the parameter field acquisition of information;
The expiration date is contrasted with the current time;
If the current time has exceeded the expiration date, it is determined that the License is illegal;
If the current time is not less than the expiration date, it is determined that the License is legal.
13. devices as described in any one of claim 8-12, it is characterised in that the license passes through predetermined encryption algorithm Encryption is generated, wherein, the predetermined encryption algorithm includes RSA-1024 rivest, shamir, adelmans, AES symmetric encipherment algorithms, DES Symmetric encipherment algorithm and IDEA encryption algorithm.
14. devices as claimed in claim 8, it is characterised in that also include:
Correction verification module, for having been carried out to the License according to the protocol header fields information and the check field information Whole property verification.
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 true CN106534103A (en) 2017-03-22
CN106534103B 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 (4)

* 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
CN105471917A (en) * 2016-01-14 2016-04-06 成都麦杰康科技有限公司 Data transmission method and system

Patent Citations (4)

* 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
CN105471917A (en) * 2016-01-14 2016-04-06 成都麦杰康科技有限公司 Data transmission method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张茹等: "《数字版权管理》", 31 July 2008 *
张青虎等: "《智能建筑工程质量验收规范培训教材与标准表格》", 31 January 2004 *

Also Published As

Publication number Publication date
CN106534103B (en) 2020-04-03

Similar Documents

Publication Publication Date Title
US11870910B2 (en) Providing security in an intelligent electronic device
US11665524B2 (en) Apparatus and method for registering and associating internet of things (IoT) devices with anonymous IoT device accounts
CN102833593B (en) Authorization method, system and intelligent television that a kind of intelligent television is applied
CN110287654B (en) Media client device authentication using hardware trust root
CN105144626B (en) The method and apparatus of safety is provided
US7984497B2 (en) System and method for binding a subscription-based computing system to an internet service provider
CN109328352A (en) Target secure software deployments
CN106464485A (en) System and method for securing content keys delivered in manifest files
CN102982257A (en) Digital rights management using trusted processing techniques
US20200336895A1 (en) System and method for internet of things (iot) device validation
CN104868998B (en) A kind of system, apparatus and method that encryption data is supplied to electronic equipment
CN112217795B (en) Method and device for managing communication security of intelligent electric meter
CN103595698B (en) Management method for digital rights
US11469957B2 (en) System and method for managing and configuring attributes of internet of things (IoT) devices
CN110995446B (en) Evidence verification method, device, server and storage medium
CN110708164B (en) Control method and device for Internet of things equipment, storage medium and electronic device
CN101344906A (en) Sectional type remote updating method
US20230088172A1 (en) System for secure provisioning and enforcement of system-on-chip (soc) features
CN109086578A (en) A kind of method that soft ware authorization uses, equipment and storage medium
WO2017066995A1 (en) Method and device for preventing unauthorized access to server
CN104506504A (en) Security mechanism and security device for confidential information of card-free terminal
US20170250806A1 (en) Methods and resources for generating secure communications
JP5781678B1 (en) Electronic data utilization system, portable terminal device, and method in electronic data utilization system
CN112367664A (en) Method and device for safely accessing external equipment to intelligent electric meter
CN106534103A (en) WIFI device control method and device

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