CN104796897A - WIFI authentication mechanism and algorithm based on handheld device APP - Google Patents

WIFI authentication mechanism and algorithm based on handheld device APP Download PDF

Info

Publication number
CN104796897A
CN104796897A CN201510230470.1A CN201510230470A CN104796897A CN 104796897 A CN104796897 A CN 104796897A CN 201510230470 A CN201510230470 A CN 201510230470A CN 104796897 A CN104796897 A CN 104796897A
Authority
CN
China
Prior art keywords
handheld device
app
wifi
managed devices
algorithm
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.)
Pending
Application number
CN201510230470.1A
Other languages
Chinese (zh)
Inventor
李兴松
Original Assignee
李兴松
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 李兴松 filed Critical 李兴松
Priority to CN201510230470.1A priority Critical patent/CN104796897A/en
Publication of CN104796897A publication Critical patent/CN104796897A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security

Abstract

The invention discloses WIFI authentication mechanism and algorithm based on handheld device APP. The WIFI authentication mechanism and algorithm based on handheld device APP comprise the following steps: step 1. a handheld device starts an APP, and scans the surrounding managed device; step 2. the managed device sends AP information to the handheld device; step 3. the APP of the handheld device utilizes the BSSID generation rule of the managed device for confirming the device type needing to be connected, of the managed device, and generates a key, and all verifications are carried out through the key; step 4. the APP authentication between the managed device and the handheld device is successful; step 5. the APP of the handheld device is wirelessly connected with the managed device through WIFI. According to the WIFI authentication mechanism and algorithm based on handheld device APP disclosed by the invention, the own equipment of a manufacturer is automatically identified and connected to simplify a password authentication mechanism, and thus the workloads of users on safety management are reduced, the equipment management APP management based on WIFI can be easily accepted by clients, human-computer interaction can be finished without the need of contacting the equipment, the equipment cost is reduced, and the working efficiency is improved.

Description

Based on WIFI authentication mechanism and the algorithm of handheld device APP
Technical field
The present invention relates to electronic device management and application, particularly relate to a kind of WIFI authentication mechanism based on handheld device APP and algorithm.
Background technology
The equipment control mode of prior art is divided into two kinds, one is wire communication mode, needs, to specific connecting line and equipment connection, to have following shortcoming: need BYOC and connecting line, connection must touch equipment just can operate, and uses inconvenience.
Also having a kind of is based on traditional WIFI authentication mode: along with the development of development of Mobile Internet technology, the mobile phone A PP that equipment manufacturer develops oneself carrys out the equipment by oneself company of WIFI administration configuration, this hand held equipment terminal based on wireless Internet, avoid on each equipment and relate to human-computer interaction interface or wireline interface, while reduction equipment cost, improve operating efficiency.Still many uses inconvenience is there is in the equipment control interface simultaneously based on WIFI with existing WIFI authentication mechanism, existing WIFI authentication mechanism realizes based on operating system such as Android or IOS of handheld device, this WIFI authentication mechanism is managed voluntarily by user, when equipment is many, management of safe operation amount is very large, uses and is easy to make mistakes.User is easily connected to the equipment of other type by the device identification method of SSID.
Summary of the invention
Object of the present invention: a kind of WIFI authentication mechanism based on handheld device APP and algorithm are provided, the verification process of handheld terminal is completed automatically by APP, as long as user starts APP, APP automatically identifies and shows controlled equipment, and select to connect, APP generates key automatically does not need user to input password, can not be connected on other WIFI equipment yet.Controlled equipment just once the upper handheld terminal of connection can control it and operate, easy to use, flexibly.
To achieve these goals, technical scheme of the present invention is:
Based on WIFI authentication mechanism and an algorithm of handheld device APP, this algorithm at least comprises the steps:
Step 1: handheld device starts APP, by the WIFI interface scanning managed devices around of described handheld device.
Step 2: described managed devices sends the AP information of WIFI module to described handheld device.
Step 3: whether the managed devices described in the confirmation of BSSID create-rule of the managed devices described in APP utilization of described handheld device is the device type that will connect, and generates key, carries out all checkings by described key.
Step 4: the APP authentication success of described managed devices and described handheld device.
Step 5: the APP of described handheld device and described managed devices are by WIFI wireless connections.
The above-mentioned WIFI authentication mechanism based on handheld device APP and algorithm, wherein, in described step 1, described handheld device comprises smart mobile phone, panel computer and notebook computer.
The above-mentioned WIFI authentication mechanism based on handheld device APP and algorithm, wherein, in described step 2, described AP information comprises SSID, BSSID encryption mode and the algorithm types of described managed devices, and described BSSID is the MAC Address of described managed devices.
The above-mentioned WIFI authentication mechanism based on handheld device APP and algorithm, wherein, in described step 3, also comprise as follows step by step:
Step 3.1: the APP of described handheld device obtains the BSSID of described managed devices.
Step 3.2: the specified byte detecting focus BSSID.
Step 3.3: judge whether it is defined device type, if so, then performs step 3.4, if not, then performs step 3.7.
Step 3.4: check whether BSSID encodes according to special algorithm.
Step 3.5: whether the specified byte described in judgement meets special algorithm, described special algorithm comprise inspection and, if so, then perform step 3.6, if not, then perform step 3.7.
Step 3.6: described managed devices is the equipment that will connect, and identifies successfully.
Step 3.7: described managed devices is not the equipment that will connect, recognition failures.
The above-mentioned WIFI authentication mechanism based on handheld device APP and algorithm, wherein, in described step 3, described key regularly carries out coding by APP BSSID, SSID of described handheld device or a part wherein and obtains.
The invention solves WIFI device type automatic recognition problem, the WIFI authentication mechanism based on APP can automatically identify the equipment of producer oneself and connect, and user will be needed to select the SSID of the equipment that will connect as existing WIFI authentication mechanism; Simplify the cryptographic authentication mechanisms of AP, allow the APP of equipment manufacturer and equipment oneself consult WIFI authenticate key, do not need user to participate in, whole process is transparent to user; Changed into equipment manufacturer APP to manage by operating system management by original WIFI authentication mechanism, reduce the workload to safety management of user, the equipment control APP based on WIFI is made more easily to allow client accept, do not need for equipment installs specific human-computer interaction interface or wireline interface, user does not need the equipment that touches just can finishing man-machine interaction, greatly reduce equipment cost, improve operating efficiency.
Accompanying drawing explanation
Fig. 1 the present invention is based on the WIFI authentication mechanism of handheld device APP and the sequential chart of algorithm.
Fig. 2 the present invention is based on the WIFI authentication mechanism of handheld device APP and the flow chart step by step of algorithm.
Embodiment
Embodiments of the invention are further illustrated below in conjunction with accompanying drawing.
Refer to shown in accompanying drawing 1, a kind of WIFI authentication mechanism based on handheld device APP and algorithm, this algorithm at least comprises the steps:
Step 1: handheld device starts APP, by the WIFI interface scanning managed devices around of described handheld device.
Step 2: described managed devices sends the AP information of WIFI module to described handheld device.
Step 3: whether the managed devices described in the confirmation of BSSID create-rule of the managed devices described in APP utilization of described handheld device is the device type that will connect, and generates key, carries out all checkings by described key.
Step 4: the APP authentication success of described managed devices and described handheld device.
Step 5: the APP of described handheld device and described managed devices are by WIFI wireless connections.
In described step 1, described handheld device comprises the mobile device of the band WIFI such as smart mobile phone, panel computer and notebook computer, and operating system is unrestricted.
In described step 2, described AP information comprises SSID, BSSID encryption mode and the algorithm types of described managed devices, and described BSSID is the MAC Address of described managed devices.The AP function of managed devices is equipment manufacturer's customized development, and its BSSID can when dispatching from the factory by certain rule settings, and 6 bytes of BSSID, it is can encode to 6 bytes that equipment dispatches from the factory.Being exemplified below is the BSSID of an equipment:
0x02 0x12 0x43 0x43 0xef 0xf1
1st byte can be defined as device type; 2 to the 5 byte can random coded, and it is unique to ensure; 6th byte can be the School Affairs of 5 bytes above.
Refer to shown in accompanying drawing 2, in described step 3, also comprise as follows step by step:
Step 3.1: the WIFI interface of the APP of described handheld device obtains the BSSID of described managed devices.
Step 3.2: the specified byte detecting focus BSSID, such as first character joint.
Step 3.3: judge whether it is defined device type, if so, then performs step 3.4, if not, then performs step 3.7.
Step 3.4: check whether BSSID encodes according to special algorithm.
Step 3.5: whether the specified byte described in judgement meets special algorithm, described special algorithm comprise inspection and, if so, then perform step 3.6, if not, then perform step 3.7.Such as: judge the inspection of front 5 bytes and whether be the 6th byte.
Step 3.6: described managed devices is the equipment that will connect, and identifies successfully.
Step 3.7: described managed devices is not the equipment that will connect, recognition failures.
In described step 3, described key carries out coding by APP BSSID, SSID of described handheld device or a part wherein by certain rule and obtains.
As: the BSSID of managed devices is 0x02:0x12:0x43:0x43:0xef:0xf1, can 6 of a BSSID byte directly be added up as the key of certification, i.e. 0x02+0x12+0x43+0x43+0xef+0xf1=567, " 000567 " can be just the authentication password of management equipment.
Algorithm can arbitrarily set, as long as consistent with managed devices end secret generating rule just passable.General more complicated algorithm for encryption effect is better.When APP connects, the key of transmission SSID and generation carries out certification to managed devices.
The authenticate key of managed devices (AP) generates with the coded system the same with the APP of handheld device and BSSID or SSID of oneself when being and starting.Whether correctly, the key that during connection, both sides generate directly contrasts just can be determined, thus reaches the object of encryption.
In sum, the invention solves WIFI device type automatic recognition problem, WIFI authentication mechanism based on APP can automatically identify the equipment of producer oneself and connect, and user will be needed to select the SSID of the equipment that will connect as existing WIFI authentication mechanism; Simplify the cryptographic authentication mechanisms of AP, allow the APP of equipment manufacturer and equipment oneself consult WIFI authenticate key, do not need user to participate in, whole process is transparent to user; Changed into equipment manufacturer APP to manage by operating system management by original WIFI authentication mechanism, reduce the workload to safety management of user, the equipment control APP based on WIFI is made more easily to allow client accept, do not need for equipment installs specific human-computer interaction interface or wireline interface, user does not need the equipment that touches just can finishing man-machine interaction, greatly reduce equipment cost, improve operating efficiency.
The foregoing is only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure transformation utilizing description of the present invention to do; or directly or indirectly use the technical field being attached to other Related products, be all in like manner included in scope of patent protection of the present invention.

Claims (5)

1., based on WIFI authentication mechanism and an algorithm of handheld device APP, it is characterized in that: this algorithm at least comprises the steps:
Step 1: handheld device starts APP, by the WIFI interface scanning managed devices around of described handheld device;
Step 2: described managed devices sends the AP information of WIFI module to described handheld device;
Step 3: whether the managed devices described in the confirmation of BSSID create-rule of the managed devices described in APP utilization of described handheld device is the device type that will connect, and generates key, carries out all checkings by described key;
Step 4: the APP authentication success of described managed devices and described handheld device;
Step 5: the APP of described handheld device and described managed devices are by WIFI wireless connections.
2. the WIFI authentication mechanism based on handheld device APP according to claim 1 and algorithm, it is characterized in that: in described step 1, described handheld device comprises smart mobile phone, panel computer and notebook computer.
3. the WIFI authentication mechanism based on handheld device APP according to claim 1 and algorithm, it is characterized in that: in described step 2, described AP information comprises SSID, BSSID encryption mode and the algorithm types of described managed devices, and described BSSID is the MAC Address of described managed devices.
4. the WIFI authentication mechanism based on handheld device APP according to claim 1 and algorithm, is characterized in that: in described step 3, also comprises as follows step by step:
Step 3.1: the WIFI interface of the APP of described handheld device obtains the BSSID of described managed devices;
Step 3.2: the specified byte detecting focus BSSID;
Step 3.3: judge whether it is defined device type, if so, then performs step 3.4, if not, then performs step 3.7;
Step 3.4: check whether BSSID encodes according to special algorithm;
Step 3.5: whether the specified byte described in judgement meets special algorithm, described special algorithm comprise inspection and, if so, then perform step 3.6, if not, then perform step 3.7;
Step 3.6: described managed devices is the equipment that will connect, identifies successfully;
Step 3.7: described managed devices is not the equipment that will connect, recognition failures.
5. the WIFI authentication mechanism based on handheld device APP according to claim 1 and algorithm, it is characterized in that: in described step 3, described key regularly carries out coding by APP BSSID, SSID of described handheld device or a part wherein and obtains.
CN201510230470.1A 2015-05-08 2015-05-08 WIFI authentication mechanism and algorithm based on handheld device APP Pending CN104796897A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510230470.1A CN104796897A (en) 2015-05-08 2015-05-08 WIFI authentication mechanism and algorithm based on handheld device APP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510230470.1A CN104796897A (en) 2015-05-08 2015-05-08 WIFI authentication mechanism and algorithm based on handheld device APP

Publications (1)

Publication Number Publication Date
CN104796897A true CN104796897A (en) 2015-07-22

Family

ID=53561323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510230470.1A Pending CN104796897A (en) 2015-05-08 2015-05-08 WIFI authentication mechanism and algorithm based on handheld device APP

Country Status (1)

Country Link
CN (1) CN104796897A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187452A (en) * 2015-10-20 2015-12-23 上海斐讯数据通信技术有限公司 Wireless network authentication method and system based on APP control
CN106658667A (en) * 2015-11-03 2017-05-10 中国移动通信集团公司 Method and apparatus for rapid connection with embedded device
CN106686527A (en) * 2016-12-20 2017-05-17 腾讯科技(深圳)有限公司 WIFI information identification method and terminal
CN106789466A (en) * 2016-12-19 2017-05-31 海尔优家智能科技(北京)有限公司 The method and mobile terminal and intelligent appliance of a kind of control intelligent appliance
CN106940535A (en) * 2016-01-05 2017-07-11 恩智浦有限公司 Equipment and the method for controlling it to operate
CN108541043A (en) * 2017-03-02 2018-09-14 塞纳德(北京)信息技术有限公司 A kind of method and system of convenient connection wifi routers

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101605329A (en) * 2009-06-30 2009-12-16 中兴通讯股份有限公司 Cut-in method and access device
CN102404725A (en) * 2011-11-08 2012-04-04 复旦大学 Method for safely building WiFi connection by SSID in application program
CN104144421A (en) * 2014-07-29 2014-11-12 诚迈科技(南京)股份有限公司 Automatic network configuration system
CN104540126A (en) * 2014-05-16 2015-04-22 生迪光电科技股份有限公司 Method and system for multiple pieces of WI-FI equipment to automatically access specified access point (AP)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101605329A (en) * 2009-06-30 2009-12-16 中兴通讯股份有限公司 Cut-in method and access device
CN102404725A (en) * 2011-11-08 2012-04-04 复旦大学 Method for safely building WiFi connection by SSID in application program
CN104540126A (en) * 2014-05-16 2015-04-22 生迪光电科技股份有限公司 Method and system for multiple pieces of WI-FI equipment to automatically access specified access point (AP)
CN104144421A (en) * 2014-07-29 2014-11-12 诚迈科技(南京)股份有限公司 Automatic network configuration system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187452A (en) * 2015-10-20 2015-12-23 上海斐讯数据通信技术有限公司 Wireless network authentication method and system based on APP control
CN106658667A (en) * 2015-11-03 2017-05-10 中国移动通信集团公司 Method and apparatus for rapid connection with embedded device
CN106658667B (en) * 2015-11-03 2020-02-18 中国移动通信集团公司 Method and device for quickly connecting embedded equipment
CN106940535A (en) * 2016-01-05 2017-07-11 恩智浦有限公司 Equipment and the method for controlling it to operate
CN106940535B (en) * 2016-01-05 2021-10-22 恩智浦有限公司 Apparatus and method for controlling operation thereof
CN106789466A (en) * 2016-12-19 2017-05-31 海尔优家智能科技(北京)有限公司 The method and mobile terminal and intelligent appliance of a kind of control intelligent appliance
CN106789466B (en) * 2016-12-19 2020-12-22 海尔优家智能科技(北京)有限公司 Method for controlling intelligent household appliance, mobile terminal and intelligent household appliance
CN106686527A (en) * 2016-12-20 2017-05-17 腾讯科技(深圳)有限公司 WIFI information identification method and terminal
CN108541043A (en) * 2017-03-02 2018-09-14 塞纳德(北京)信息技术有限公司 A kind of method and system of convenient connection wifi routers

Similar Documents

Publication Publication Date Title
CN104796897A (en) WIFI authentication mechanism and algorithm based on handheld device APP
TWI460954B (en) Smart home network system and its registration controller and registration method for household electrical device
CN105549408A (en) Wearable device and control method thereof, intelligent household server and control method thereof, and system
CN102915588B (en) Based on intelligent lock system and the control method thereof of Bluetooth technology
CN104636777B (en) ID card information obtains system
CN103973787B (en) The method and system of mobile intelligent terminal remote control display terminal
CN101958026B (en) User authentication module setting method and system
CN104378145A (en) Pairing method and system of Bluetooth device
CN104751038A (en) Identity authentication method, device and system
CN102663280B (en) Identity authentication apparatus and system
CN103401880B (en) The system and method that a kind of industrial control network logs in automatically
CN105227516A (en) The access method of Smart Home, control centre's equipment and dress terminal
CN103929501B (en) Intelligent distant control server and its control method
CN103731273A (en) Data transmission method and system
CN103955203A (en) Method and system for authority management of elevator controller debugging system
CN104091113A (en) Method and system for achieving mobile terminal screen unlocking through NFC data matching
TWM449417U (en) Smart home network system and its registration controller
CN103701601A (en) Data transmission method and system
CN103259664A (en) Nfc dynamic password chip and working method thereof
CN104754495A (en) Smart household device connecting method and smart terminal
CN105450646A (en) Local area network connection realization method for network refrigerator and user information security authentication method
CN104656885A (en) Portable Eye-Controlled Device, Verification Device and Method, Computer Readable Recording Medium and Computer Program Product
CN103701782A (en) Data transmission method and system
CN105162770A (en) Intelligent home security protection system and control method thereof
CN105516889A (en) Bluetooth connection method and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150722