CN108966219A - A kind of WIFI connection method, device and electronic equipment - Google Patents

A kind of WIFI connection method, device and electronic equipment Download PDF

Info

Publication number
CN108966219A
CN108966219A CN201810771796.9A CN201810771796A CN108966219A CN 108966219 A CN108966219 A CN 108966219A CN 201810771796 A CN201810771796 A CN 201810771796A CN 108966219 A CN108966219 A CN 108966219A
Authority
CN
China
Prior art keywords
ssid
wifi
authentication password
equipment
hot spot
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
CN201810771796.9A
Other languages
Chinese (zh)
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.)
Shenzhen Hollyland Technology Co Ltd
Original Assignee
Shenzhen Hollyland 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 Shenzhen Hollyland Technology Co Ltd filed Critical Shenzhen Hollyland Technology Co Ltd
Priority to CN201810771796.9A priority Critical patent/CN108966219A/en
Publication of CN108966219A publication Critical patent/CN108966219A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/04Key management, e.g. using generic bootstrapping architecture [GBA]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a kind of WIFI connection method, device and electronic equipment, which comprises calculates on local device and obtains SSID and authentication password, SSID and authentication password obtained calculate the SSID obtained with opposite equip. respectively and authentication password matches;The SSID is arranged to hiding when local device or opposite equip. are as AP equipment;Based on SSID and authentication password, WIFI is established with opposite equip. and is connect.It is calculated separately by local device and opposite equip. and generates the SSID that matches and authentication password realizes that WIFI is connected automatically, efficiently solve the WIFI connectivity problem of the not equipment of interactive interface, and greatly improve the safety and stability of WIFI connection.

Description

A kind of WIFI connection method, device and electronic equipment
Technical field
This application involves field of communication technology, in particular to a kind of WIFI connection method, device and electronic equipment.
Background technique
Generally there are AP equipment and Station equipment in WIFI connection, base station of the AP equipment as WIFI is provided wireless Access service allows other wireless devices to access, provides data access, the usually used router such as us;Station equipment Then as the work station of WIFI, it may be coupled to AP equipment, is such as connected to the mobile phone of router WIFI hot spot.Usually we WIFI is used on mobile phone and computer, has interface for operation, we check WIFI heat on mobile phone screen or computer display screen Then point inputs password by touch or keyboard, complete authentication connection, but do not show, touch, pressing similar to wireless image transmission etc. The device product of the interactive interfaces such as key can not complete the authentication connection procedure of corresponding WIFI by traditional means.In addition, being similar to This professional equipment of wireless image transmission, to the more demanding of safety and stability, the WIFI hot spot of this kind of equipment preferably can only It connect with specified Station equipment and is used for it, cannot be connected for other Station equipment.So above-mentioned do not interact The equipment of interface needs a kind of automatic and higher WIFI connection matching method of safety.It does not show and presses for this kind of at present The WIFI connection of the equipment of the interactive interfaces such as key, touch is matched, and typically stores SSID and authentication password by built-in file Mode complete to connect, the SSID and authentication password of this mode are easy to be stolen, safety is poor, and comparatively laborious It is unfavorable for using on a large scale.
Summary of the invention
In view of this, the application provides a kind of wireless device product the WIFI method, apparatus and one kind that connect pairing automatically Electronic equipment is established WIFI with authentication password with the SSID that opposite equip. calculating generation matches by local device and is connected, pole The earth improves the safety and stability of WIFI connection.
Specifically, the application is achieved by the following technical solution:
Acquisition SSID is calculated on local device and authentication password, SSID and authentication password obtained are set with opposite end respectively The standby SSID for calculating acquisition and authentication password match;
The SSID is arranged to hiding when local device or opposite equip. are as AP equipment;
Based on SSID and authentication password, WIFI is established with opposite equip. and is connect.
In order to avoid the WIFI connection request of other equipment sending in region can interfere AP equipment, in local device Or opposite equip. as AP equipment when, first pass through calculating generate SSID, and by the SSID starting WIFI hot spot, then AP is set Alternative does not broadcast the SSID, is hidden, other WIFI equipments is avoided to be sent to it connection request.
Optionally, the SSID and authentication password can product ID based on equipment and software version number generate, or Person, the SSID and authentication password can also be generated based on other parameters, as long as local device and opposite equip. are based on the parameter The SSID and authentication password of generation match, and local device and opposite equip. can be established based on the SSID and authentication password WIFI connection.
Optionally, the SSID and authentication password can product ID based on equipment and software version number composition word Symbol is concatenated into, and the character string includes that product ID is located at before software version number or product ID is located at software version number The character string constituted below.
Optionally, the SSID and authentication password are 128 codes being calculated by non-reversible algorithm.
Optionally, the SSID and authentication password consist of two parts, and a portion is encrypted by reversible algorithm, another Part unencryption.
Optionally, the process for calculating the SSID and authentication password includes:
128 codes are generated by non-reversible algorithm;
A part of 128 codes is encrypted by reversible algorithm;
128 codes are calculated by the non-reversible algorithm again and generate the SSID and authentication password.
By non-reversible algorithm and reversible algorithm double-encryption, the safety of the SSID and WIFI password can be greatly improved Property.
Optionally, the SSID and authentication password are 128 codes, wherein encryption part is 64 with not encryption unit point Yard, 64 are encrypted before the SSID, and 64 are encrypted after the authentication password;Or after the SSID 64 be encrypted, it is described 64 are encrypted before authentication password.
The different piece of SSID or authentication password is encrypted by reversible algorithm, is obtained SSID and authentication password respectively, is avoided The safety that SSID reduction WIFI identical with authentication password is connected.
Optionally, when the local device is as AP equipment, the method also includes: it is minimum to calculate acquisition interference strength Frequency point, establish after WIFI connect with opposite equip., carried out data transmission using the frequency point.Most by selection interference strength The stability of WIFI transmission can be improved in low frequency point.
Optionally, the interference strength is turned by the WIFI hot spot number of each frequency point multiplied by by WIFI hot spot signal strength The mapping value changed obtains;The WIFI hot spot signal strength follows following rule when being converted into mapping value: the WIFI hot spot Signal strength is bigger, and the mapping value is smaller.
Optionally, the statistics that the WIFI hot spot number and WIFI hot spot signal strength pass through at least 2 times scanning results of statistics It is obtained after value, to be used for ant-shaking algorithm.
A kind of WIFI attachment device, described device include:
Computing module generates the SSID and authentication password for calculating;
Link block, for establishing WIFI based on the SSID and authentication password with opposite equip. and connecting.
The present invention also provides a kind of electronic equipment, comprising:
Processor;
Memory;For storing the executable computer program of the processor;
WIFI module;For receiving the instruction of the processor, the WIFI connection of the electronic equipment is completed.
Wherein, the processor executes the computer program and controls the WIFI module and realizes described in any of the above-described WIFI connection method.
A kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor WIFI connection method described in any of the above-described is realized when execution.
The present invention is set by calculating the SSID and authentication password that generate and match with opposite equip. in local device or opposite end The SSID is hidden when for as AP equipment, Station equipment can search AP equipment by calculating the SSID generated, and lead to It crosses the authentication password and establishes WIFI with AP equipment automatically and connect, the method that WIFI provided by the present invention is connected automatically can solve The automatic connection authentication that Image transmission equipment etc. is certainly similar to without the WIFI equipment product of the interactive interfaces such as key, touch, display is asked Topic, and greatly improve the safety and stability of WIFI connection.
Detailed description of the invention
Fig. 1 is the equipment WIFI connection schematic diagram for having interactive interface shown in one exemplary embodiment of the application;
Fig. 2 is a kind of method flow diagram of WIFI connection method shown in one exemplary embodiment of the application;
Fig. 3 is the calculating process flow chart of the SSID and authentication password shown in one exemplary embodiment of the application;
Fig. 4 is the minimum frequency point calculating process flow chart of the interference strength shown in one exemplary embodiment of the application;
Fig. 5 is the transformational relation figure of the WIFI hot spot signal strength and mapping value shown in one exemplary embodiment of the application;
Fig. 6 is the Image transmission equipment WIFI connection procedure flow chart shown in one exemplary embodiment of the application;
Fig. 7 is the Image transmission equipment SSID calculating process flow chart shown in one exemplary embodiment of the application;
Fig. 8 is the Image transmission equipment authentication password calculating process flow chart shown in one exemplary embodiment of the application;
Fig. 9 is the Image transmission equipment lowest interference intensity frequency point calculating process process shown in one exemplary embodiment of the application Figure;
Figure 10 is the WIFI attachment device logic diagram shown in one exemplary embodiment of the application;
Figure 11 is the electronic equipment logic diagram shown in one exemplary embodiment of the application.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application. It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
With the rapid development of Radio Transmission Technology, more and more wireless devices come into our life, wireless device Generally carried out data transmission by wireless network (WIFI), needs to establish WIFI connection before being transmitted.Usually we WIFI is used on mobile phone, plate and computer, has interface for operation, as shown in Figure 1, we show in mobile phone screen or computer WIFI hot spot is checked on screen, then by touch or keyboard input password, complete authentication connection, but for it is no display, touch, The device product of the interactive interfaces such as key, such as figure passes product, number passes product etc., then can not complete to correspond to by traditional means The authentication connection procedure of WIFI.
The present invention provides a kind of WIFI connection methods, can all pass through institute in spite of the device product with interactive interface It states method and establishes WIFI connection automatically, the WIFI for being particularly suitable for the not device product of interactive interface is connected automatically.
The embodiment of the invention provides a kind of WIFI connection methods, as shown in Fig. 2, this method comprises:
Step S201, it is calculated on local device and obtains SSID and authentication password, SSID and authentication password obtained points The SSID obtained is not calculated with opposite equip. and authentication password matches;
Step S202, the described SSID is arranged to hiding when local device or opposite equip. are as AP equipment;
Step S203, it is based on SSID and authentication password, WIFI is established with opposite equip. and connect.
Wireless device first has to establish WIFI connection before carrying out data transmission, and there are multiple wireless in a region In the case where equipment, in order to improve safety and stability, local device needs to be attached with specified opposite equip..And it is It avoids the other equipment other than designated equipment from sending WIFI connection request to AP equipment, AP equipment is interfered, AP equipment SSID can be hidden, make other wireless devices that can not search the SSID of the AP equipment.
In application scenes, the local device and opposite equip. all can serve as AP equipment, such as mobile phone and hand When machine or mobile phone are established WIFI with computer and connect, mobile phone and computer all can serve as AP equipment, start WIFI hot spot for another party Connection uses.In other application scenarios, local device and opposite equip. only have a side to can be used as AP equipment, such as mobile phone When establishing WIFI with router and connecting, only router can be used as AP equipment, and starting WIFI hot spot is connected for mobile phone and used. Which kind of either above-mentioned situation, the side as AP equipment need to hide SSID.
Since the side as AP equipment can hide SSID, in order to find the AP equipment of hiding SSID, this implementation In example, the side as Station equipment calculates the SSID and authentication password for generating and matching with the AP equipment, based on described SSID removal search find the SSID of AP equipment, and WIFI is established with AP equipment based on the authentication password and is connect.Wherein, phase With refer to local device calculate the SSID generated and authentication password and opposite equip. calculate the SSID generated and authentication password can be with It is identical, can also be not exactly the same, but local device and opposite equip. can be mutually distinguishable, and can be by described SSID and authentication password establish connection between the two.
In one embodiment of application, the SSID and authentication password can be product ID based on equipment and soft Part version number calculates generation, and a character string, the character can be generated in the product ID and software version number of the equipment String can be product ID and be located at the character string formed before software version number, naturally it is also possible to be product ID positioned at soft The character string formed after part version number.
By taking Image transmission equipment as an example, Image transmission equipment can have unique product ID and software version number, by the production Product sequence number and software version number form one group of character string, can be calculated based on the character string and generate unique SSID and authenticate close Code.Certainly, the SSID and authentication password product ID based on equipment and software version number, which calculate, generates only wherein one A example, the SSID and authentication password are not limited only to product ID based on equipment and software version number generates, It is also possible to other parameters, as long as opposite equip. and local device can be by calculating SSID and the certification of generation based on the parameter Password establishes WIFI connection.
In one embodiment, any appliance in local device or opposite equip. can be according to passing through Mr. non-reversible algorithm At 128 codes, this 128 codes are then recycled to generate SSID and authentication password, certainly, it is readily appreciated that, two equipment can also be with In this way.
In one example, a portion for 128 codes that can also be generated non-reversible algorithm encrypts, the side of encryption Formula can be through reversible algorithm and encrypt, and other cipher modes are not precluded certainly.In addition, by way of example, can use This 128 codes are generated SSID and authentication password by non-reversible algorithm.As can be seen that the SSID and authentication password are through irreversible Algorithm and reversible algorithm double-encryption obtain, and improve the safety of terminal device WIFI connection.
As described above, with reference to Fig. 3, calculated in some examples the SSID and authentication password process can be it is as follows Step:
S301,128 codes are generated by non-reversible algorithm;
S302, wherein, a part of 128 codes pass through reversible algorithm and encrypt;
S303, it 128 codes is passed through into the non-reversible algorithm again generates the SSID and authentication password.
In step 3201, the non-reversible algorithm is characterized in: by data after non-reversible algorithm encrypts, can get only One encryption data, and original data can not be obtained by the encryption data, thus can be cracked to avoid initial data, Greatly improve safety.In one embodiment, the non-reversible algorithm that the SSID and authentication password use is calculated as MD5 calculation Method.Certain non-reversible algorithm is also not limited to the MD5 algorithm, further includes that other have similar encryption function not Reversible algorithm.
In order to further improve the security, in step s 302, being passed through again by non-reversible algorithm 128 codes of generation can inverse operator Method encrypts again, when encrypting using reversible algorithm, may be selected to encrypt the part of 128 codes, and part does not encrypt, than It such as can choose to 64 bit encryptions before 128 codes, latter 64 do not encrypt or to 80 bit encryptions before 128 codes, and latter 48 It does not encrypt, the above is only two examples in the application, similar mode is included within the scope of the application.
In one embodiment, the reversible algorithm that the SSID and authentication password use is calculated as DES algorithm.It certainly can described in Algorithm for inversion is also not limited to the DES algorithm, further includes the reversible algorithm that other have similar encryption function.
In step S303,128 codes after reversible algorithm Partial encryption are encrypted most again by non-reversible algorithm SSID and authentication password are obtained eventually, can improve its safety again.
It should be pointed out that the calculation method for calculating SSID and authentication password be one of the application preferably Mode, the SSID and authentication password can also be calculated by other similar method certainly.
Since in some cases, the SSID and authentication password are all based on identical gain of parameter, for example pass in figure In equipment, SSID and password are all that the character string generated by product ID and software version number calculates acquisition, in order to final It calculates the SSID generated and authentication password distinguishes, avoid because SSID is consistent with authentication password, after SSID is cracked acquisition, together When can obtain authentication password, safety reduces, calculate generate the SSID and authentication password when, we can choose with can Algorithm for inversion encrypts to generate SSID and authentication password respectively the different piece of 128 codes.Such as to before 128 codes 64 Position code encryption is to be used to generate SSID, to rear 64 bit encryption of 128 codes to be used to generate authentication password;Or to 128 codes Rear 64 bit encryption with for generating SSID, to 64 bit encryptions before 128 codes to pass through this side for generating authentication password The SSID that formula is calculated is not identical as authentication password, its safety can be improved.
In general, most WIFI module all supports automatic channel selection function, but due to needing to take into account various countries Regulation, such as the channel of China, the European, U.S. and Japan is supported different, therefore is functionally somewhat limited, may not be able to Optimum channel on Choice Theory, but concentrate on the channel of several fixations.In order to make wireless device after establishing WIFI connection It can choose optimal channel, in one embodiment, when local device or opposite equip. are as AP equipment, AP equipment can lead to It crosses and the minimum frequency point of interference strength is calculated, after establishing WIFI connection, the frequency point is selected to carry out data transmission, passed with improving The stability of defeated process.
Usual situation, the letter of the interference strength size of each frequency point and WIFI hot spot number and WIFI hot spot using the frequency point Number intensity is related.It in one embodiment, can be by the signal strength of WIFI hot spot in order to which the interference strength of each frequency point is calculated Conversion map is done, mapping value is obtained.There are many kinds of the conversion map modes of the signal strength of WIFI hot spot, and rule can be WIFI hot spot signal strength is bigger, and mapping value is smaller.
In order to select the minimum frequency point of interference strength convenient for AP equipment for the quantization of the interference strength of each frequency point, I Can be by obtaining interference strength multiplied by mapping value with the WIFI hot spot number of each frequency point, i.e. interference strength=WIFI hot spot Number * mapping value.Such as the WIFI hot spot number of a certain frequency point is 3, and the signal strength conversion value of the WIFI hot spot is 2, then institute The interference strength for stating frequency point is 6.
Further, AP equipment in scanning obtains WIFI hot spot existing near zone and when WIFI hot spot signal strength, In order to obtain data as accurate as possible, AP equipment can be scanned at least 2 times or more, be counted according to the calculating of each scanning result As a result.
As described above, with reference to Fig. 4, the process that the interference strength is calculated in some examples can be the steps of:
S401, Ap equipment scan WIFI hot spot and WIFI hot spot signal strength existing near zone;
The WIFI hot spot number of S402, the every frequency point of statistics;
The signal strength of S403, each WIFI hot spot of statistics, and conversion map is done, obtain mapping value;
S404, the interference strength that each frequency point is calculated by WIFI hot spot number and mapping value.
In step S403, the transformational relation of WIFI hot spot signal strength and mapping value can refer to Fig. 5, by WIFI hot spot Signal strength be divided into different phase by size, the corresponding mapping value of the signal strength of the WIFI hot spot in each stage.For example, When WIFI signal intensity is respectively -1~-50dbm, -51~-60dbm, -61~-70dbm, -71~-80dbm, -81dbm or less When, corresponding WIFI hot spot signal strength mapping value is respectively 10,5,2,1,0.Certainly, above-mentioned conversion regime is therein One kind preferably conversion regime, the application further includes other similar conversion regime.
In order to which the scheme of above-mentioned WIFI connection is better described, specific explanations will be carried out by an example below.
By taking Image transmission equipment as an example, Image transmission equipment is generally made of sending device TX and receiving device RX, wherein TX equipment one As do the base station (AP) of WIFI, RX equipment generally does the work station (station) of WIFI.Usual situation, locating for Image transmission equipment There are a lot of other wireless devices, such as mobile phone, computer, router etc. for environment, before Image transmission equipment carries out image transmitting, TX Equipment need to first establish WIFI with RX equipment and connect, generally need to be by AP equipment in order to avoid other equipment interfere AP equipment It hides.The detailed process of Image transmission equipment WIFI connection refers to Fig. 6.
In Image transmission equipment, general TX equipment as AP equipment, so, AP equipment is first with ap mode load WIFI driving (step It is rapid that 601) then AP equipment generates SSID, authentication password and frequency point (step 602) by calculating, calculating process as shown in fig. 7, The following steps are included:
S701, the sequence number and software version number for obtaining product, form a character string;
S702,128 codes are calculated by MD5 algorithm in the character string;
S703, pass through DES algorithm for encryption for 64 before described 128 yards;
S704, SSID is calculated again by MD5 algorithm in 128 yards after preceding 64 bit encryption.
Every set Image transmission equipment has a unique product ID and software version number, AP equipment first to obtain product serial Number and software version number, product ID and software version number are formed into a character string, the character string is then passed through into MD5 calculation Method, which calculates, generates 128 codes, then by first 64 of 128 codes of generation by DES algorithm for encryption, then by encrypted 128 Position code encrypts to obtain SSID again by non-reversible algorithm.
The process that AP calculates generation authentication password is as shown in Figure 8, comprising the following steps:
S801, the sequence number and software version number for obtaining product, form a character string;
S802,128 codes are calculated by MD5 algorithm in the character string;
S803, pass through DES algorithm for encryption for 64 after described 128 yards;
S804, authentication password is calculated again by MD5 algorithm in 128 yards after preceding 64 bit encryption.
AP equipment obtains product ID and software version number first, and product ID and software version number are formed one Then the character string is calculated by MD5 algorithm and generates 128 codes, then latter 64 of 128 codes of generation are passed through by character string Then DES algorithm for encryption encrypts encrypted 128 codes to obtain authentication password again by non-reversible algorithm.
It is as shown in Figure 9 that the smallest frequency process of interference strength is calculated in AP equipment, comprising the following steps:
S901, Ap equipment scan WIFI hot spot and WIFI hot spot signal strength existing near zone;
The WIFI hot spot number of S902, the every frequency point of statistics;
The signal strength of S903, each WIFI hot spot of statistics, and conversion map is done, obtain mapping value;
S904, the interference strength that each frequency point is calculated multiplied by mapping value by WIFI hot spot number.
WIFI hot spot existing for AP sweep attachment region and WIFI hot spot signal strength, in order to obtain number reported as precisely as possible According in scanning process the scanning of AP equipment obtains scanning result three times three times, and result takes its average value to statistics three times, then counts The WIFI hot spot quantity and WIFI signal intensity of good each frequency point, WIFI signal intensity is mapped by following conversion regime Value, when WIFI hot spot signal strength be respectively -1~-50dbm, -51~-60dbm, -61~-70dbm, -71~-80dbm, - When 81dbm or less, corresponding WIFI hot spot signal strength mapping value is respectively 10,5,2,1,0.It is strong to obtain WIFI hot spot signal After spending mapping value, the WIFI hot spot number of each frequency point is obtained into the interference strength of each frequency point multiplied by mapping value, selection interference is strong The smallest frequency point, which is spent, as data transmits frequency point.
After SSID, authentication password and the smallest frequency point of interference strength is calculated in AP equipment, pass through obtained SSID and frequency Point starting WIFI hot spot (step 603), then SSID is hidden, wait the connection (step 604) of RX equipment.
The RX equipment of Image transmission equipment is generally as Station equipment, when establishing WIFI connection, RX equipment first with Station mode loads WIFI and drives (step 605), then calculates the SSID and authentication password (step generated as TX equipment It is rapid 606), calculation method is as AP equipment.After SSID is calculated, RX equipment searches the WIFI of AP equipment by SSID Hot spot simultaneously sends WIFI connection request (step 607) to TX equipment, and TX equipment receives the certification that RX equipment is judged after connection request Password (step 608) whether identical as the password of oneself, it is such as identical, then agree to connection request, establishes WIFI connection (step therewith 609)。
Another side according to the present invention, the present invention also provides a kind of WIFI attachment device, the WIFI attachment device is such as Shown in Figure 10, comprising:
Computing module 1010 generates the SSID and authentication password for calculating;
Link block 1020, for establishing WIFI based on the SSID and authentication password with opposite equip. and connecting.
The function of modules and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize the present invention program.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
Another side according to the present invention, the present invention also provides a kind of electronic equipment, as shown in figure 11, the electronic equipment Include:
Processor;
Memory;For storing the executable computer program of the processor;
WIFI module;For receiving the instruction of the processor, the WIFI connection of the electronic equipment is completed.
Wherein, the processor executes the computer program and controls the WIFI module and realizes described in any of the above-described WIFI connection method.
Further, the present invention also provides a kind of computer readable storage medium, it is stored thereon with computer program, it should The WIFI connection method as described in preceding any one is realized when program is executed by processor.
It is (including but unlimited that the readable medium for wherein including program code in one or more can be used in the embodiment of the present invention In magnetic disk storage, CD-ROM, optical memory etc.) on the form of computer program product implemented.Computer can be with readable Medium includes permanent and non-permanent, removable and non-removable media, can be accomplished by any method or technique information Storage.Information can be computer readable instructions, data structure, the module of program or other data.The readable medium of computer Example include but is not limited to: phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), Erasable Programmable Read Only Memory EPROM (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices or any other non-biography Defeated medium, can be used for storage can be accessed by a computing device information.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (10)

1. a kind of WIFI connection method, which is characterized in that the described method includes:
Calculated on local device and obtain SSID and authentication password, SSID and authentication password obtained respectively with opposite equip. meter It calculates the SSID obtained and authentication password matches;The SSID is arranged to when local device or opposite equip. are as AP equipment It hides;
Based on SSID and authentication password, WIFI is established with opposite equip. and is connect.
2. a kind of WIFI connection method as described in claim 1, which is characterized in that the SSID or authentication password are based on product Sequence number and software version number generate.
3. a kind of WIFI connection method as described in claim 1, which is characterized in that calculate the process of the SSID and authentication password Include:
128 codes are generated by non-reversible algorithm;
A part of 128 codes is encrypted by reversible algorithm;
128 codes are generated into the SSID and authentication password by the non-reversible algorithm again.
4. a kind of WIFI connection method described in claim 3, which is characterized in that the encryption part of the SSID or authentication password and Encryption unit point is not 64 codes, and 64 are encrypted before the SSID, and 64 are encrypted after the authentication password;Or the SSID 64 are encrypted afterwards, and 64 are encrypted before the authentication password.
5. a kind of WIFI connection method as described in claim 1, which is characterized in that when the local device is as AP equipment, The method also includes: it calculates and obtains the minimum frequency point of interference strength, established after WIFI connect with opposite equip., using described Frequency point carries out data transmission.
6. a kind of WIFI connection method as claimed in claim 5, which is characterized in that the interference strength passes through each frequency point WIFI hot spot number is obtained multiplied by the mapping value converted by WIFI hot spot signal strength;The WIFI hot spot signal strength is bigger, The mapping value is smaller.
7. a kind of WIFI connection method as claimed in claim 6, which is characterized in that the WIFI hot spot number and WIFI hot spot signal Intensity obtains after the statistical value by least 2 times scanning results of statistics.
8. a kind of WIFI attachment device, which is characterized in that described device includes:
Computing module generates the SSID and authentication password for calculating;
Link block, for establishing WIFI based on the SSID and authentication password with opposite equip. and connecting.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;
Memory;For storing the executable computer program of the processor;
WIFI module;For receiving the instruction of the processor, the WIFI connection of the electronic equipment is completed;
Wherein, the processor, which executes the computer program and controls the WIFI module, realizes the claims 1 to 7 The step of one the method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor It is realized when execution such as the step of any one of claim 1-7 the method.
CN201810771796.9A 2018-07-13 2018-07-13 A kind of WIFI connection method, device and electronic equipment Pending CN108966219A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810771796.9A CN108966219A (en) 2018-07-13 2018-07-13 A kind of WIFI connection method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810771796.9A CN108966219A (en) 2018-07-13 2018-07-13 A kind of WIFI connection method, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN108966219A true CN108966219A (en) 2018-12-07

Family

ID=64483948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810771796.9A Pending CN108966219A (en) 2018-07-13 2018-07-13 A kind of WIFI connection method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN108966219A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110366229A (en) * 2019-08-01 2019-10-22 深圳市昊一源科技有限公司 A kind of wireless network connecting method, device, equipment and system
CN110662236A (en) * 2019-09-30 2020-01-07 上海趣威文化发展有限公司 Network configuration method, system and device
CN110740449A (en) * 2019-10-11 2020-01-31 深圳市昊一源科技有限公司 Access method of AP (Access Point) equipment, AP equipment and communication system
CN113556797A (en) * 2021-06-29 2021-10-26 深圳市闪联信息技术有限公司 Method and system for quickly establishing connection between mobile equipment and large-screen equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102711215A (en) * 2012-05-23 2012-10-03 海信集团有限公司 Method and system for automatically connecting wireless network and smart television
US20130103807A1 (en) * 2011-10-24 2013-04-25 General Instrument Corporation Method and apparatus for exchanging configuration information in a wireless local area network
CN104113934A (en) * 2014-07-25 2014-10-22 北京奇虎科技有限公司 Router accessing method for communication equipment and accessing system
CN106304409A (en) * 2016-08-31 2017-01-04 江苏福云星信息技术有限公司 The method of attachment of a kind of fast automatic access WIFI wireless network and application system
CN107135529A (en) * 2017-04-27 2017-09-05 深圳市友华通信技术有限公司 Realize the method that AP and STA connects simultaneously synchronous AP configuration modifications automatically
CN107948974A (en) * 2017-11-29 2018-04-20 江苏省未来网络创新研究院 A kind of WiFi safety certifying methods

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130103807A1 (en) * 2011-10-24 2013-04-25 General Instrument Corporation Method and apparatus for exchanging configuration information in a wireless local area network
CN102711215A (en) * 2012-05-23 2012-10-03 海信集团有限公司 Method and system for automatically connecting wireless network and smart television
CN104113934A (en) * 2014-07-25 2014-10-22 北京奇虎科技有限公司 Router accessing method for communication equipment and accessing system
CN106304409A (en) * 2016-08-31 2017-01-04 江苏福云星信息技术有限公司 The method of attachment of a kind of fast automatic access WIFI wireless network and application system
CN107135529A (en) * 2017-04-27 2017-09-05 深圳市友华通信技术有限公司 Realize the method that AP and STA connects simultaneously synchronous AP configuration modifications automatically
CN107948974A (en) * 2017-11-29 2018-04-20 江苏省未来网络创新研究院 A kind of WiFi safety certifying methods

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110366229A (en) * 2019-08-01 2019-10-22 深圳市昊一源科技有限公司 A kind of wireless network connecting method, device, equipment and system
CN110662236A (en) * 2019-09-30 2020-01-07 上海趣威文化发展有限公司 Network configuration method, system and device
CN110740449A (en) * 2019-10-11 2020-01-31 深圳市昊一源科技有限公司 Access method of AP (Access Point) equipment, AP equipment and communication system
CN113556797A (en) * 2021-06-29 2021-10-26 深圳市闪联信息技术有限公司 Method and system for quickly establishing connection between mobile equipment and large-screen equipment

Similar Documents

Publication Publication Date Title
JP5329771B2 (en) Method and apparatus for managing stations in wireless network in WPA-PSK environment
CN108966219A (en) A kind of WIFI connection method, device and electronic equipment
EP2963959B1 (en) Method, configuration device, and wireless device for establishing connection between devices
CN104244245B (en) A kind of wireless access authentication method, wireless routing device and wireless terminal
EP3065334A1 (en) Key configuration method, system and apparatus
CN105099673A (en) Authorization method, authorization requesting method and devices
US11140547B2 (en) Method for securely controlling smart home, and terminal device
EP3511853B1 (en) Security authentication method, integrated circuit and system
CN108768628B (en) Equipment end encryption method, device, system and gateway
US8661244B2 (en) Method and apparatus for establishing secured link between devices
CN104935435A (en) Login methods, terminal and application server
CN106778285A (en) For method, the device upgraded to equipment
CN103581154A (en) Authentication method and device in system of Internet of Things
CN109756451B (en) Information interaction method and device
CN102264069B (en) Authentication control method, device and system based on universal guide architecture
US8327148B2 (en) Mobile system, service system, and key authentication method to manage key in local wireless communication
CN103763697A (en) Wireless access point multi-secret key support system and method
CN106411513B (en) Cryptographic key negotiation method and device in local area network communication
CN105450597A (en) Information transmission method and device
JP6074125B2 (en) Network lock method and system for wireless terminal
CN102487505B (en) Access authentication method of sensor node, apparatus thereof and system thereof
KR102033980B1 (en) Device and method for transmitting/receiving data using security usb dongle
KR20140038870A (en) Method for transferring certificate between terminals
JP6641503B2 (en) Communication device, electric device, terminal, communication method and program
JP5882637B2 (en) Thin client type reading device, communication system, control method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181207