CN105516170B - Wi-Fi hotspot information sharing and connecting method and device and electronic equipment - Google Patents

Wi-Fi hotspot information sharing and connecting method and device and electronic equipment Download PDF

Info

Publication number
CN105516170B
CN105516170B CN201510983409.4A CN201510983409A CN105516170B CN 105516170 B CN105516170 B CN 105516170B CN 201510983409 A CN201510983409 A CN 201510983409A CN 105516170 B CN105516170 B CN 105516170B
Authority
CN
China
Prior art keywords
electronic equipment
password
character string
hotspot
mark
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.)
Expired - Fee Related
Application number
CN201510983409.4A
Other languages
Chinese (zh)
Other versions
CN105516170A (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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201510983409.4A priority Critical patent/CN105516170B/en
Publication of CN105516170A publication Critical patent/CN105516170A/en
Application granted granted Critical
Publication of CN105516170B publication Critical patent/CN105516170B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/50Secure pairing of devices
    • H04W12/55Secure pairing of devices involving three or more devices, e.g. group pairing
    • 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/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • 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/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • 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
    • 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/60Context-dependent security
    • H04W12/69Identity-dependent
    • H04W12/77Graphical identity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The Wi-Fi hotspot information sharing and connecting method and device and the electronic equipment provided by the embodiment of the invention can obtain a Wi-Fi identifier and a Wi-Fi password of a Wi-Fi hotspot to be shared, determine a Wi-Fi sharing private protocol carried by second electronic equipment, and generate a character string corresponding to the Wi-Fi identifier and a character string corresponding to the Wi-Fi password according to the Wi-Fi sharing private protocol carried by the second electronic equipment; and generating and outputting a graphic identification code comprising a character string corresponding to the Wi-Fi identification and a character string corresponding to the Wi-Fi password. The method analyzes the Wi-Fi identification and the Wi-Fi password in a pattern recognition code sharing mode, and ensures the accuracy of information. Meanwhile, the Wi-Fi sharing private protocol is used for processing the Wi-Fi identification and the Wi-Fi password, so that the information security certificate is guaranteed.

Description

The sharing of Wi-Fi Hotspot information, connection method and device, electronic equipment
Technical field
The present invention relates to Information Sharing Technology fields, more particularly to the sharing of Wi-Fi Hotspot information, connection method and dress It sets, electronic equipment.
Background technique
With the development of science and technology, Internet technology has also obtained significant progress.
Wi-Fi can provide wireless network for a certain range of various electronic equipments, very convenient.It is examined for safety Consider, password can be often arranged in various Wi-Fi Hotspots.When user needs to share certain Wi-Fi Hotspot with other people, need the Wi-Fi The mark (such as title) and password of hot spot inform other people.
Under the prior art, when user needs to share with other people the mark and password of Wi-Fi Hotspot, user oral can be incited somebody to action The mark and password of Wi-Fi Hotspot inform other people, can also be sent out the mark of direct Wi-Fi Hotspot and password by electronic equipment It is sent to other people electronic equipment.But either oral informing is still sent by electronic equipment, all not can guarantee Wi-Fi heat The mark of point and the safety of password are easy to be obtained by the third party.
Summary of the invention
The embodiment of the present invention is designed to provide the sharing of Wi-Fi Hotspot information, connection method and device, electronic equipment, To guarantee the accuracy of information in the sharing of Wi-Fi Hotspot information.
In order to achieve the above objectives, the embodiment of the invention discloses a kind of Wi-Fi Hotspot information sharing methods, are applied to first Electronic equipment, which comprises
Obtain the Wi-Fi mark and Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment;
The determining Wi-Fi carried with the second electronic equipment of first electronic device association shares proprietary protocol;
Share proprietary protocol according to the Wi-Fi, generates the Wi-Fi corresponding character string of mark and the Wi-Fi is close The corresponding character string of code;
It generates and knows comprising the Wi-Fi figure for identifying corresponding character string and the corresponding character string of the Wi-Fi password Other code;
Export the graphical identification code.
Optionally, described that proprietary protocol is shared according to the Wi-Fi, generate the Wi-Fi identify corresponding character string and The corresponding character string of the Wi-Fi password, comprising:
Share proprietary protocol according to the Wi-Fi, determines the Wi-Fi Hotspot to be shared of the first electronic equipment Wi-Fi identifies corresponding first pointing character, determines that the Wi-Fi of the Wi-Fi Hotspot to be shared of the first electronic equipment is close Corresponding second pointing character of code;
The character string identified comprising first pointing character and the Wi-Fi is generated, the character string and the Wi-Fi are marked Know and corresponds to;The character string comprising second pointing character and the Wi-Fi password is generated, the character string and the Wi-Fi are close Code is corresponding.
Optionally, described generate identifies corresponding character string and the corresponding character of the Wi-Fi password comprising the Wi-Fi The graphical identification code of string, comprising:
Determine that the Wi-Fi that second electronic equipment carries shares the Encryption Algorithm that proprietary protocol uses;
Using the determining Encryption Algorithm to the word of generation identified comprising first pointing character and the Wi-Fi Symbol string is encrypted, and the first encryption data is obtained;Second instruction is included to generation using the determining Encryption Algorithm The character string of character and the Wi-Fi password is encrypted, and the second encryption data is obtained;
Generate the graphical identification code comprising first encryption data and second encryption data.
Optionally, described generate identifies corresponding character string and the corresponding character of the Wi-Fi password comprising the Wi-Fi The graphical identification code of string, comprising:
Corresponding character string is identified using the Wi-Fi of first Encryption Algorithm to generation and the Wi-Fi password is corresponding Character string encrypted, obtain encryption data, generate include the encryption data graphical identification code;
The method also includes: generate and export the graphical identification code of the algorithm information comprising the first decipherment algorithm, wherein First decipherment algorithm is corresponding with first Encryption Algorithm.
Optionally, the determination shares private with the Wi-Fi that the second electronic equipment of first electronic device association carries There is agreement, comprising:
After being associated with the second electronic equipment, proprietary protocol is sent to second electronic equipment and inquires message;
Wi-Fi is obtained from the inquiry response that second electronic equipment is fed back shares proprietary protocol and/or Wi-Fi sharing Proprietary protocol mark, so that it is determined that the Wi-Fi that second electronic equipment carries shares proprietary protocol.
Optionally, the Wi-Fi mark for obtaining the Wi-Fi Hotspot to be shared of the first electronic equipment and Wi-Fi Password, comprising:
Wi-Fi Hotspot is scanned, output identifies the Wi-Fi Hotspot list constituted by Wi-Fi;
According to the selection operation that user identifies Wi-Fi in the Wi-Fi Hotspot list, show to the selection operation needle Pair Wi-Fi identify the input prompt information of corresponding Wi-Fi password;
It obtains the Wi-Fi password of user's input and verifies, be such as verified, be then directed to the selection operation Wi-Fi mark is determined as the Wi-Fi mark of the Wi-Fi Hotspot to be shared of the first electronic equipment, the Wi- that user is inputted Fi password is determined as the Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment.
Optionally, the Wi-Fi mark for obtaining the Wi-Fi Hotspot to be shared of the first electronic equipment and Wi-Fi Password, comprising:
In the case where first electronic equipment is connect with Wi-Fi Hotspot, show to the Wi-Fi Hotspot having connected The input of Wi-Fi password prompts;
It obtains the Wi-Fi password of user's input and verifies, be such as verified, then connected first electronic equipment The Wi-Fi mark of the Wi-Fi Hotspot connect is determined as the Wi-Fi mark of the Wi-Fi Hotspot to be shared of the first electronic equipment, The Wi-Fi password that user inputs is determined as to the Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment.
A kind of Wi-Fi Hotspot information sharing apparatus is applied to the first electronic equipment, and described device includes: that Wi-Fi information obtains Module, protocol determination module, text string generation module, the first identification code generation module and identification code output module are obtained,
The Wi-Fi information acquisition module, for obtaining the Wi-Fi Hotspot to be shared of the first electronic equipment Wi-Fi mark and Wi-Fi password;
The protocol determination module is carried for determining the second electronic equipment with first electronic device association Wi-Fi shares proprietary protocol;
The text string generation module generates the Wi-Fi mark pair for sharing proprietary protocol according to the Wi-Fi The character string and the corresponding character string of the Wi-Fi password answered;
The first identification code generation module identifies corresponding character string and the Wi- comprising the Wi-Fi for generating The graphical identification code of the corresponding character string of Fi password;
The identification code output module, for exporting the graphical identification code.
Optionally, the text string generation module, comprising: the first pointing character determines submodule and text string generation submodule Block,
First pointing character determines submodule, for sharing proprietary protocol according to the Wi-Fi, determines described first The Wi-Fi of the Wi-Fi Hotspot to be shared of electronic equipment identifies corresponding first pointing character, determines first electronic equipment Corresponding second pointing character of the Wi-Fi password of the Wi-Fi Hotspot to be shared;
The text string generation submodule, for generating the word identified comprising first pointing character and the Wi-Fi Symbol string, the character string are corresponding with Wi-Fi mark;Generate the word comprising second pointing character and the Wi-Fi password Symbol string, the character string are corresponding with the Wi-Fi password.
Optionally, the first identification code generation module, comprising: Encryption Algorithm determines submodule, encryption submodule and knowledge Other code generates submodule,
The Encryption Algorithm determines submodule, for determining that the Wi-Fi that second electronic equipment carries shares privately owned association Discuss the Encryption Algorithm used;
The encryption submodule, for using the determining Encryption Algorithm to generation comprising first pointing character And the character string of the Wi-Fi mark is encrypted, and the first encryption data is obtained;Using the determining Encryption Algorithm to generation The character string comprising second pointing character and the Wi-Fi password encrypted, obtain the second encryption data;
The identification code generates submodule, includes first encryption data and second encryption data for generating Graphical identification code.
Optionally, the first identification code generation module, specifically for using the first Encryption Algorithm to the Wi- of generation Fi identifies corresponding character string and the corresponding character string of the Wi-Fi password is encrypted, and obtains encryption data, and generating includes institute State the graphical identification code of encryption data;
Described device further include: the second identification code generation module, for generating and exporting the calculation comprising the first decipherment algorithm The graphical identification code of method information, wherein first decipherment algorithm is corresponding with first Encryption Algorithm.
Optionally, the protocol determination module, comprising: inquiry submodule and agreement determine submodule,
The inquiry submodule, for after first electronic equipment and the second electronic equipment are associated, to described Second electronic equipment sends proprietary protocol and inquires message;
The agreement determines submodule, for obtaining Wi-Fi points from the inquiry response that second electronic equipment is fed back It enjoys proprietary protocol and/or Wi-Fi shares proprietary protocol mark, so that it is determined that the Wi-Fi that second electronic equipment carries shares Proprietary protocol.
Optionally, the Wi-Fi information acquisition module, comprising: hot spot scanning submodule, first prompt display sub-module and First verifying submodule,
The hot spot scanning submodule, for scanning Wi-Fi Hotspot, output is arranged by the Wi-Fi Hotspot that Wi-Fi mark is constituted Table;
The first prompt display sub-module, the choosing for being identified according to user to Wi-Fi in the Wi-Fi Hotspot list Operation is selected, display identifies the input prompt information of corresponding Wi-Fi password to the Wi-Fi that the selection operation is directed to;
It is described first verifying submodule, for obtain user input Wi-Fi password and verify, be such as verified, The Wi-Fi mark that the selection operation is directed to then is determined as to the Wi- of the Wi-Fi Hotspot to be shared of the first electronic equipment The Wi-Fi password that user inputs, is determined as the Wi-Fi of the Wi-Fi Hotspot to be shared of the first electronic equipment by Fi mark Password.
Optionally, the Wi-Fi information acquisition module, comprising: the second prompt display sub-module and the second verifying submodule,
The second prompt display sub-module, for the case where first electronic equipment is connect with Wi-Fi Hotspot Under, show that the input to the Wi-Fi password for the Wi-Fi Hotspot having connected prompts;
It is described second verifying submodule, for obtain user input Wi-Fi password and verify, be such as verified, Then the Wi-Fi mark for the Wi-Fi Hotspot that first electronic equipment has connected is determined as first electronic equipment to be divided The Wi-Fi for the Wi-Fi Hotspot enjoyed is identified, and the Wi-Fi password that user inputs is determined as first electronic equipment to be shared Wi-Fi Hotspot Wi-Fi password.
A kind of Wi-Fi Hotspot connection method is applied to the second electronic equipment, which comprises
Obtain the graphical identification code exported with the first electronic equipment of second electronic device association;
The graphical identification code is identified, Wi-Fi is obtained and identifies corresponding character string and the corresponding word of Wi-Fi password Symbol string;
Share proprietary protocol according to the Wi-Fi that second electronic equipment carries, corresponding word is identified to the Wi-Fi of acquisition Symbol string and the corresponding character string of Wi-Fi password are parsed, and the Wi-Fi Hotspot to be shared of the first electronic equipment is obtained Wi-Fi mark and Wi-Fi password;
It is identified using obtained Wi-Fi and connects the Wi-Fi Hotspot with Wi-Fi password.
Optionally, the Wi-Fi carried according to second electronic equipment shares proprietary protocol, to the Wi-Fi of acquisition It identifies corresponding character string and the corresponding character string of Wi-Fi password is parsed, obtain first electronic equipment to be shared Wi-Fi Hotspot Wi-Fi mark and Wi-Fi password, comprising:
Share proprietary protocol according to the Wi-Fi that second electronic equipment carries, determines and Wi-Fi mark corresponding first Pointing character determines the second pointing character corresponding with Wi-Fi password;
The content of the instruction of first pointing character described in character string by acquisition is determined as first electronic equipment and is wanted The Wi-Fi of the Wi-Fi Hotspot of sharing is identified;The content of the instruction of second pointing character described in character string by acquisition is determined as institute State the Wi-Fi password for the Wi-Fi Hotspot that the first electronic equipment to be shared.
Optionally, the content of the instruction of the first pointing character described in the character string by acquisition is determined as described first The Wi-Fi of the Wi-Fi Hotspot to be shared of electronic equipment is identified;The instruction of second pointing character described in character string by acquisition Content is determined as before the Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment, the method also includes:
Determine that the Wi-Fi that second electronic equipment carries shares the decipherment algorithm that proprietary protocol uses;
Corresponding character string and the corresponding character string of Wi-Fi password are identified using Wi-Fi of the decipherment algorithm to acquisition It is decrypted;
The content of the instruction of first pointing character described in the character string by acquisition is determined as first electronic equipment The Wi-Fi of the Wi-Fi Hotspot to be shared is identified;The content of the instruction of second pointing character described in character string by acquisition determines For the Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment, comprising:
The content that first pointing character described in character string after decryption indicates is determined as the first electronic equipment institute The Wi-Fi of the Wi-Fi Hotspot to be shared is identified;The content of the instruction of second pointing character described in character string after decryption is determined For the Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment.
Optionally, the method also includes:
Obtain the graphical identification code of the algorithm information comprising the first decipherment algorithm of the first electronic equipment output;
The graphical identification code is identified, the algorithm information of first decipherment algorithm is obtained;
According to the algorithm information of first decipherment algorithm, corresponding character string is identified to the Wi-Fi of acquisition and Wi-Fi is close The corresponding character string of code is decrypted;
The Wi-Fi carried according to second electronic equipment shares proprietary protocol, identifies and corresponds to the Wi-Fi of acquisition Character string and the corresponding character string of Wi-Fi password parsed, obtain the Wi-Fi heat that first electronic equipment to be shared The Wi-Fi mark and Wi-Fi password of point, comprising:
Share proprietary protocol according to the Wi-Fi that second electronic equipment carries, it is corresponding to the Wi-Fi mark after decryption The corresponding character string of Wi-Fi password after character string and decryption is parsed, and obtains what first electronic equipment to be shared The Wi-Fi mark and Wi-Fi password of Wi-Fi Hotspot.
A kind of Wi-Fi Hotspot attachment device, be applied to the second electronic equipment, described device include: identification code obtain module, Identification code identification module, parsing module and link block,
The identification code obtains module, for obtaining and the output of the first electronic equipment of second electronic device association Graphical identification code;
The identification code identification module obtains Wi-Fi and identifies corresponding word for identifying to the graphical identification code Symbol string and the corresponding character string of Wi-Fi password;
The parsing module, the Wi-Fi for being carried according to second electronic equipment shares proprietary protocol, to acquisition Wi-Fi identifies corresponding character string and the corresponding character string of Wi-Fi password is parsed, and obtains first electronic equipment and is wanted The Wi-Fi mark and Wi-Fi password of the Wi-Fi Hotspot of sharing;
The link block, the Wi-Fi for using, which is identified, connects the Wi-Fi Hotspot with Wi-Fi password.
Optionally, the parsing module includes: that the second pointing character determines that submodule and Wi-Fi information determine submodule,
Second pointing character determines submodule, and the Wi-Fi for being carried according to second electronic equipment shares private There is agreement, determine the first pointing character corresponding with Wi-Fi mark, determines the second pointing character corresponding with Wi-Fi password;
The Wi-Fi information determines submodule, in the instruction of the first pointing character described in the character string for that will obtain Hold the Wi-Fi mark for being determined as the Wi-Fi Hotspot to be shared of the first electronic equipment;Described in character string by acquisition The content of two pointing characters instruction is determined as the Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment.
Optionally, further includes: decipherment algorithm determining module and the first deciphering module,
The decipherment algorithm determining module, for determining institute in character string of the submodule by acquisition in the Wi-Fi information The content for stating the instruction of the first pointing character is determined as the Wi-Fi mark of the Wi-Fi Hotspot to be shared of the first electronic equipment; The content of the instruction of second pointing character described in character string by acquisition is determined as the first electronic equipment Wi- to be shared Before the Wi-Fi password of Fi hot spot, determine that the Wi-Fi that second electronic equipment carries shares the decryption calculation that proprietary protocol uses Method;
First deciphering module, for use the decipherment algorithm to the Wi-Fi of acquisition identify corresponding character string and The corresponding character string of Wi-Fi password is decrypted;
The Wi-Fi information determines submodule, is specifically used for:
The content that first pointing character described in character string after decryption indicates is determined as the first electronic equipment institute The Wi-Fi of the Wi-Fi Hotspot to be shared is identified;The content of the instruction of second pointing character described in character string after decryption is determined For the Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment.
Optionally, further includes: graphic code obtains module, graphic code identification module and the second deciphering module,
The graphic code obtains module, for obtaining the calculation comprising the first decipherment algorithm of the first electronic equipment output The graphical identification code of method information;
The graphic code identification module obtains first decipherment algorithm for identifying to the graphical identification code Algorithm information;
Second deciphering module identifies the Wi-Fi of acquisition for the algorithm information according to first decipherment algorithm Corresponding character string and the corresponding character string of Wi-Fi password are decrypted;
The parsing module, is specifically used for:
Share proprietary protocol according to the Wi-Fi that second electronic equipment carries, it is corresponding to the Wi-Fi mark after decryption The corresponding character string of Wi-Fi password after character string and decryption is parsed, and obtains what first electronic equipment to be shared The Wi-Fi mark and Wi-Fi password of Wi-Fi Hotspot.
The electronic equipment is denoted as the first electronic equipment by a kind of electronic equipment, and first electronic equipment includes: shell Body, processor, memory, circuit board and power circuit, wherein circuit board is placed in the space interior that shell surrounds, processor On circuit boards with memory setting;Power circuit, for each circuit or the device power supply for electronic equipment;Memory is used for Store executable program code;Processor is run and executable journey by reading the executable program code stored in memory The corresponding program of sequence code, for executing following steps:
Obtain the Wi-Fi mark and Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment;
The determining Wi-Fi carried with the second electronic equipment of first electronic device association shares proprietary protocol;
Share proprietary protocol according to the Wi-Fi, generates the Wi-Fi corresponding character string of mark and the Wi-Fi is close The corresponding character string of code;
It generates and knows comprising the Wi-Fi figure for identifying corresponding character string and the corresponding character string of the Wi-Fi password Other code;
Export the graphical identification code.
The electronic equipment is denoted as the second electronic equipment by a kind of electronic equipment, and second electronic equipment includes: shell Body, processor, memory, circuit board and power circuit, wherein circuit board is placed in the space interior that shell surrounds, processor On circuit boards with memory setting;Power circuit, for each circuit or the device power supply for electronic equipment;Memory is used for Store executable program code;Processor is run and executable journey by reading the executable program code stored in memory The corresponding program of sequence code, for executing following steps: for executing following steps:
Obtain the graphical identification code exported with the first electronic equipment of second electronic device association;
The graphical identification code is identified, Wi-Fi is obtained and identifies corresponding character string and the corresponding word of Wi-Fi password Symbol string;
Share proprietary protocol according to the Wi-Fi that second electronic equipment carries, corresponding word is identified to the Wi-Fi of acquisition Symbol string and the corresponding character string of Wi-Fi password are parsed, and the Wi-Fi Hotspot to be shared of the first electronic equipment is obtained Wi-Fi mark and Wi-Fi password;
It is identified using obtained Wi-Fi and connects the Wi-Fi Hotspot with Wi-Fi password.
Wi-Fi Hotspot information provided in an embodiment of the present invention shares, connection method and device, electronic equipment, can obtain The Wi-Fi mark and Wi-Fi password of the Wi-Fi Hotspot to be shared, the Wi-Fi sharing for determining that the second electronic equipment carries are privately owned Agreement shares proprietary protocol according to the Wi-Fi that the second electronic equipment carries, generates Wi-Fi and identify corresponding character string and Wi-Fi The corresponding character string of password;And then it generates and exports and identify corresponding character string and the corresponding character of Wi-Fi password comprising Wi-Fi The graphical identification code of string.The present invention is identified by the sharing mode of graphical identification code to Wi-Fi and Wi-Fi password is analyzed, It ensure that the accuracy of information.Meanwhile the present invention shares proprietary protocol by Wi-Fi and carries out to Wi-Fi mark and Wi-Fi password Processing, ensure that the safe-conduct of information.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow chart of Wi-Fi Hotspot information sharing method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another Wi-Fi Hotspot information sharing method provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another Wi-Fi Hotspot information sharing method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of Wi-Fi Hotspot information sharing apparatus provided in an embodiment of the present invention;
Fig. 5 is a kind of flow chart of Wi-Fi Hotspot connection method provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of Wi-Fi Hotspot attachment device provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
As shown in Figure 1, a kind of Wi-Fi Hotspot information sharing method provided in an embodiment of the present invention, is applied to the first electronics Equipment, this method may include:
S110, the Wi-Fi mark and Wi-Fi password for obtaining the Wi-Fi Hotspot to be shared of the first electronic equipment;
S120, determination share proprietary protocol with the Wi-Fi that the second electronic equipment of first electronic device association carries;
Wherein, the first electronic equipment and the second electronic equipment can be interrelated.
Wherein, the first electronic equipment and the second electronic equipment can be communicated by establishing to be associated, such as: pass through office The communication modes such as domain net, internet, bluetooth establish communication to be associated.With the second electronic equipment of the first electronic device association In can carry the information such as device identification, the network address of the first electronic equipment to be communicated with the first electronic equipment.When So, can also be carried in the first electronic equipment the information such as device identification, the network address of related second electronic equipment with Second electronic equipment is communicated.
Wherein, Wi-Fi mark can be the device identification of the title, network address, Wi-Fi Hotspot equipment of Wi-Fi Hotspot Deng.Graphical identification code can be two dimensional code, bar code etc..It may include: to set to first electronics that Wi-Fi, which shares proprietary protocol, The modes such as the Wi-Fi mark of the standby Wi-Fi Hotspot to be shared and naming method, cipher mode, the identification means of Wi-Fi password In it is any number of.Share proprietary protocol by Wi-Fi, certain electronic equipment can be made when carrying out the sharing of Wi-Fi Hotspot information, The Wi-Fi of sharing is identified and naming method, cipher mode, the identification means of Wi-Fi password etc. are different from other electronic equipments.This Sample, correct Wi- can not just be parsed by not saving other electronic equipments that this shares used Wi-Fi sharing proprietary protocol Fi mark and Wi-Fi password, to guarantee the safety that Wi-Fi Hotspot information is shared.
Wherein, the Wi-Fi mark and Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment are obtained Mode can there are many, two kinds of concrete modes are provided below:
Mode one, scanning Wi-Fi Hotspot, output identify the Wi-Fi Hotspot list constituted by Wi-Fi;
According to the selection operation that user identifies Wi-Fi in the Wi-Fi Hotspot list, show to the selection operation needle Pair Wi-Fi identify the input prompt information of corresponding Wi-Fi password;
It obtains the Wi-Fi password of user's input and verifies, be such as verified, be then directed to the selection operation Wi-Fi mark is determined as the Wi-Fi mark of the Wi-Fi Hotspot to be shared of the first electronic equipment, the Wi- that user is inputted Fi password is determined as the Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment.
Mode two, in the case where first electronic equipment is connect with Wi-Fi Hotspot, show to the Wi- having connected The input of the Wi-Fi password of Fi hot spot prompts;
It obtains the Wi-Fi password of user's input and verifies, be such as verified, then connected first electronic equipment The Wi-Fi mark of the Wi-Fi Hotspot connect is determined as the Wi-Fi mark of the Wi-Fi Hotspot to be shared of the first electronic equipment, The Wi-Fi password that user inputs is determined as to the Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment.
In above two mode, it is required to the Wi- that user inputs the Wi-Fi Hotspot to be shared of the first electronic equipment Fi password is simultaneously verified, and verifying is passed through, it is ensured that the Wi-Fi of the Wi-Fi Hotspot to be shared of the first electronic equipment The accuracy of password.
Wherein it is determined that the Wi-Fi carried with the second electronic equipment of first electronic device association shares proprietary protocol Detailed process may include:
After being associated with the second electronic equipment, proprietary protocol is sent to second electronic equipment and inquires message;
Wi-Fi is obtained from the inquiry response that second electronic equipment is fed back shares proprietary protocol and/or Wi-Fi sharing Proprietary protocol mark, so that it is determined that the Wi-Fi that second electronic equipment carries shares proprietary protocol.
Specifically, the Wi-Fi for being stored with the carrying of the second electronic equipment in the first electronic equipment shares proprietary protocol In the case of, the first electronic equipment need to only share proprietary protocol mark according to Wi-Fi and be obtained with the carrying of the second electronic equipment Wi-Fi shares proprietary protocol.
S130, proprietary protocol is shared according to the Wi-Fi, generates the Wi-Fi and identifies corresponding character string and the Wi- The corresponding character string of Fi password;
Wherein, the Wi-Fi, which is identified, can carry the Wi-Fi mark, the Wi-Fi password in corresponding character string The Wi-Fi password can be carried in corresponding character string.
S140, the figure that corresponding character string and the corresponding character string of the Wi-Fi password are identified comprising the Wi-Fi is generated Shape identification code;
S150, the output graphical identification code.
Specifically, S150 can show graphical identification code in display screen so that the second electronic equipment is to the figure of display The Wi-Fi mark and Wi-Fi password that the Wi-Fi Hotspot of the first electronic equipment sharing is obtained after identification code shooting, can also will scheme Shape identification code is sent to the second electronic equipment.
On the basis of embodiment shown in Fig. 1, as shown in Fig. 2, another kind Wi-Fi Hotspot information provided in an embodiment of the present invention In sharing method, step S130 may include:
S131, proprietary protocol is shared according to the Wi-Fi, determines first electronic equipment Wi-Fi to be shared heat The Wi-Fi of point identifies corresponding first pointing character, determines the Wi- of the Wi-Fi Hotspot to be shared of the first electronic equipment Corresponding second pointing character of Fi password;
Wherein, the first pointing character is the character for indicating Wi-Fi mark, such as: AP_PWSD.Second pointing character is instruction The character of Wi-Fi password, such as: AP_SSID.It, can be by setting unconventional finger due to sharing proprietary protocol for Wi-Fi Show character so that other electronic equipments can not obtain correct Wi-Fi mark and Wi-Fi password.It is with above-mentioned first pointing character AP_PWSD, the second pointing character be AP_SSID for example, conventional pointing character are as follows: instruction Wi-Fi mark character For AP_SSID, indicate that the character of Wi-Fi password is AP_PWSD.Then Wi-Fi shares proprietary protocol and can overturn the two, as above State citing.Even if also Wi-Fi can be identified and be used as Wi- in this way, other electronic equipments equally obtain the graphical identification code of analysis Fi password is identified Wi-Fi password as Wi-Fi, so that Wi-Fi Hotspot can not be connected.
S132, generate the character string identified comprising first pointing character and the Wi-Fi, the character string with it is described Wi-Fi mark corresponds to;Generate the character string comprising second pointing character and the Wi-Fi password, the character string with it is described Wi-Fi password is corresponding.
Further, in method shown in Fig. 2, step S140 may include:
Determine that the Wi-Fi that second electronic equipment carries shares the Encryption Algorithm that proprietary protocol uses;
Using the determining Encryption Algorithm to the word of generation identified comprising first pointing character and the Wi-Fi Symbol string is encrypted, and the first encryption data is obtained;Second instruction is included to generation using the determining Encryption Algorithm The character string of character and the Wi-Fi password is encrypted, and the second encryption data is obtained;
Generate the graphical identification code comprising first encryption data and second encryption data.
The Wi-Fi carried by the second electronic equipment shares the Encryption Algorithm that proprietary protocol uses and is encrypted, and can make Sharing information can not be decrypted by obtaining other electronic equipments, to improve the safety of information.
As shown in figure 3, may include: in another kind Wi-Fi Hotspot information sharing method provided in an embodiment of the present invention
S110, the Wi-Fi mark and Wi-Fi password for obtaining the Wi-Fi Hotspot to be shared of the first electronic equipment;
S120, determination share proprietary protocol with the Wi-Fi that the second electronic equipment of first electronic device association carries;
S130, proprietary protocol is shared according to the Wi-Fi, generates the Wi-Fi and identifies corresponding character string and the Wi- The corresponding character string of Fi password;
Wherein, the Wi-Fi, which is identified, carries the Wi-Fi mark in corresponding character string, the Wi-Fi password is corresponding Character string in carry the Wi-Fi password.
S141, corresponding character string and the Wi-Fi password are identified using the Wi-Fi of first Encryption Algorithm to generation Corresponding character string is encrypted, and encryption data is obtained, and generates the graphical identification code comprising the encryption data;
Wherein, step S141 can be a kind of specific implementation procedure of step S140 shown in Fig. 1.
S150, the output graphical identification code.
S160, generation and the graphical identification code for exporting the algorithm information comprising the first decipherment algorithm, wherein first solution Close algorithm is corresponding with first Encryption Algorithm.
Wherein, step S160 can be held before or after either step in step S110, S120, S130, S141, S150 Row, can also execute parallel with either step in step S110, S120, S130, S141, S150.
Method shown in Fig. 3 generates the graphical identification code comprising encryption data and the identification of the figure comprising decipherment algorithm respectively Code can successively export above-mentioned two graphical identification code in this way when sharing, other electronic equipments, which only have, all obtains the two Graphical identification code can just obtain correct Wi-Fi mark and Wi-Fi password, improve the safety of information.
A kind of Wi-Fi Hotspot information sharing method provided in an embodiment of the present invention, can obtain first electronic equipment The Wi-Fi mark and Wi-Fi password of the Wi-Fi Hotspot to be shared, the Wi-Fi sharing for determining that the second electronic equipment carries are privately owned Agreement shares proprietary protocol according to the Wi-Fi that the second electronic equipment carries, generates Wi-Fi and identify corresponding character string and Wi-Fi The corresponding character string of password;And then it generates and exports and identify corresponding character string and the corresponding character of Wi-Fi password comprising Wi-Fi The graphical identification code of string.The present invention is identified by the sharing mode of graphical identification code to Wi-Fi and Wi-Fi password is analyzed, It ensure that the accuracy of information.Meanwhile the present invention shares proprietary protocol by Wi-Fi and carries out to Wi-Fi mark and Wi-Fi password Processing, ensure that the safe-conduct of information.
Corresponding with above method embodiment, the present invention also provides a kind of Wi-Fi Hotspot information sharing apparatus.
As shown in figure 4, a kind of Wi-Fi Hotspot information sharing apparatus provided in an embodiment of the present invention, is applied to the first electronics Equipment, the apparatus may include: Wi-Fi information acquisition module 110, protocol determination module 120, text string generation module 130, One identification code generation module 140 and identification code output module 150,
The Wi-Fi information acquisition module 110, for obtaining the Wi-Fi Hotspot to be shared of the first electronic equipment Wi-Fi mark and Wi-Fi password;
The protocol determination module 120 is carried for determining the second electronic equipment with first electronic device association Wi-Fi share proprietary protocol;
Wherein, Wi-Fi mark can be the device identification of the title, network address, Wi-Fi Hotspot equipment of Wi-Fi Hotspot Deng.Graphical identification code can be two dimensional code, bar code etc..It may include: to set to first electronics that Wi-Fi, which shares proprietary protocol, The modes such as the Wi-Fi mark of the standby Wi-Fi Hotspot to be shared and naming method, cipher mode, the identification means of Wi-Fi password In it is any number of.Share proprietary protocol by Wi-Fi, certain electronic equipment can be made when carrying out the sharing of Wi-Fi Hotspot information, The Wi-Fi of sharing is identified and naming method, cipher mode, the identification means of Wi-Fi password etc. are different from other electronic equipments.This Sample, correct Wi- can not just be parsed by not saving other electronic equipments that this shares used Wi-Fi sharing proprietary protocol Fi mark and Wi-Fi password, to guarantee the safety that Wi-Fi Hotspot information is shared.
Wherein, Wi-Fi information acquisition module 110 may include: hot spot scanning submodule, the first prompt display sub-module Submodule is verified with first,
The hot spot scanning submodule, for scanning Wi-Fi Hotspot, output is arranged by the Wi-Fi Hotspot that Wi-Fi mark is constituted Table;
The first prompt display sub-module, the choosing for being identified according to user to Wi-Fi in the Wi-Fi Hotspot list Operation is selected, display identifies the input prompt information of corresponding Wi-Fi password to the Wi-Fi that the selection operation is directed to;
It is described first verifying submodule, for obtain user input Wi-Fi password and verify, be such as verified, The Wi-Fi mark that the selection operation is directed to then is determined as to the Wi- of the Wi-Fi Hotspot to be shared of the first electronic equipment The Wi-Fi password that user inputs, is determined as the Wi-Fi of the Wi-Fi Hotspot to be shared of the first electronic equipment by Fi mark Password.
In an alternative embodiment of the invention, Wi-Fi information acquisition module 110 may include: the second prompt display sub-module Submodule is verified with second,
The second prompt display sub-module, for the case where first electronic equipment is connect with Wi-Fi Hotspot Under, show that the input to the Wi-Fi password for the Wi-Fi Hotspot having connected prompts;
It is described second verifying submodule, for obtain user input Wi-Fi password and verify, be such as verified, Then the Wi-Fi mark for the Wi-Fi Hotspot that first electronic equipment has connected is determined as first electronic equipment to be divided The Wi-Fi for the Wi-Fi Hotspot enjoyed is identified, and the Wi-Fi password that user inputs is determined as first electronic equipment to be shared Wi-Fi Hotspot Wi-Fi password.
In an alternative embodiment of the invention, protocol determination module 120 may include: that inquiry submodule and agreement determine son Module,
The inquiry submodule, for after first electronic equipment and the second electronic equipment are associated, to described Second electronic equipment sends proprietary protocol and inquires message;
The agreement determines submodule, for obtaining Wi-Fi points from the inquiry response that second electronic equipment is fed back It enjoys proprietary protocol and/or Wi-Fi shares proprietary protocol mark, so that it is determined that the Wi-Fi that second electronic equipment carries shares Proprietary protocol.
Specifically, the Wi-Fi for being stored with the carrying of the second electronic equipment in the first electronic equipment shares proprietary protocol In the case of, the first electronic equipment need to only share proprietary protocol mark according to Wi-Fi and be obtained with the carrying of the second electronic equipment Wi-Fi shares proprietary protocol.
The text string generation module 130 generates the Wi-Fi mark for sharing proprietary protocol according to the Wi-Fi Corresponding character string and the corresponding character string of the Wi-Fi password;
Wherein, the Wi-Fi, which is identified, carries the Wi-Fi mark in corresponding character string, the Wi-Fi password is corresponding Character string in carry the Wi-Fi password.
Wherein, the text string generation module 130 may include: that the first pointing character determines that submodule and character are concatenated At submodule,
First pointing character determines submodule, for sharing proprietary protocol according to the Wi-Fi, determines described first The Wi-Fi of the Wi-Fi Hotspot to be shared of electronic equipment identifies corresponding first pointing character, determines first electronic equipment Corresponding second pointing character of the Wi-Fi password of the Wi-Fi Hotspot to be shared;
Wherein, the first pointing character is the character for indicating Wi-Fi mark, such as: AP_PWSD.Second pointing character is instruction The character of Wi-Fi password, such as: AP_SSID.It, can be by setting unconventional finger due to sharing proprietary protocol for Wi-Fi Show character so that other electronic equipments can not obtain correct Wi-Fi mark and Wi-Fi password.It is with above-mentioned first pointing character AP_PWSD, the second pointing character be AP_SSID for example, conventional pointing character are as follows: instruction Wi-Fi mark character For AP_SSID, indicate that the character of Wi-Fi password is AP_PWSD.Then Wi-Fi shares proprietary protocol and can overturn the two, as above State citing.Even if also Wi-Fi can be identified and be used as Wi- in this way, other electronic equipments equally obtain the graphical identification code of analysis Fi password is identified Wi-Fi password as Wi-Fi, so that Wi-Fi Hotspot can not be connected.
The text string generation submodule, for generating the word identified comprising first pointing character and the Wi-Fi Symbol string, the character string are corresponding with Wi-Fi mark;Generate the word comprising second pointing character and the Wi-Fi password Symbol string, the character string are corresponding with the Wi-Fi password.
Further, the first identification code generation module may include: that Encryption Algorithm determines submodule, encryption submodule Submodule is generated with identification code,
The Encryption Algorithm determines submodule, for determining that the Wi-Fi that second electronic equipment carries shares privately owned association Discuss the Encryption Algorithm used;
The encryption submodule, for using the determining Encryption Algorithm to generation comprising first pointing character And the character string of the Wi-Fi mark is encrypted, and the first encryption data is obtained;Using the determining Encryption Algorithm to generation The character string comprising second pointing character and the Wi-Fi password encrypted, obtain the second encryption data;
The identification code generates submodule, includes first encryption data and second encryption data for generating Graphical identification code.
The Wi-Fi carried by the second electronic equipment shares the Encryption Algorithm that proprietary protocol uses and is encrypted, and can make Sharing information can not be decrypted by obtaining other electronic equipments, to improve the safety of information.
The first identification code generation module 140 identifies corresponding character string and described comprising the Wi-Fi for generating The graphical identification code of the corresponding character string of Wi-Fi password;
The identification code output module 150, for exporting the graphical identification code.
In other embodiments of the present invention, the first identification code generation module 140 can be specifically used for adding using first Close algorithm identifies corresponding character string to the Wi-Fi of generation and the corresponding character string of the Wi-Fi password encrypts, and obtains Encryption data is obtained, the graphical identification code comprising the encryption data is generated;
On this basis, Fig. 4 shown device can also include: the second identification code generation module, for generating and exporting packet The graphical identification code of algorithm information containing the first decipherment algorithm, wherein first decipherment algorithm and first Encryption Algorithm It is corresponding.
The embodiment can generate the graphical identification code comprising encryption data and the identification of the figure comprising decipherment algorithm respectively Code can successively export above-mentioned two graphical identification code in this way when sharing, other electronic equipments, which only have, all obtains the two Graphical identification code can just obtain correct Wi-Fi mark and Wi-Fi password, improve the safety of information.
A kind of Wi-Fi Hotspot information sharing apparatus provided in an embodiment of the present invention, can obtain first electronic equipment The Wi-Fi mark and Wi-Fi password of the Wi-Fi Hotspot to be shared, the Wi-Fi sharing for determining that the second electronic equipment carries are privately owned Agreement shares proprietary protocol according to the Wi-Fi that the second electronic equipment carries, generates Wi-Fi and identify corresponding character string and Wi-Fi The corresponding character string of password;And then it generates and exports and identify corresponding character string and the corresponding character of Wi-Fi password comprising Wi-Fi The graphical identification code of string.The present invention is identified by the sharing mode of graphical identification code to Wi-Fi and Wi-Fi password is analyzed, It ensure that the accuracy of information.Meanwhile the present invention shares proprietary protocol by Wi-Fi and carries out to Wi-Fi mark and Wi-Fi password Processing, ensure that the safe-conduct of information.
Corresponding with a kind of Wi-Fi Hotspot information sharing method provided in an embodiment of the present invention, the embodiment of the present invention also mentions A kind of Wi-Fi Hotspot connection method is supplied.
As shown in figure 5, a kind of Wi-Fi Hotspot connection method provided in an embodiment of the present invention, is applied to the second electronic equipment, This method may include:
S210, the graphical identification code exported with the first electronic equipment of second electronic device association is obtained;
Wherein, which obtains first electronic equipment Wi-Fi to be shared heat for the first electronic equipment The Wi-Fi mark and Wi-Fi password of point, the Wi-Fi that determining the second electronic equipment with first electronic device association carries Share proprietary protocol, proprietary protocol is shared according to the Wi-Fi, generates the Wi-Fi and identify corresponding character string and the Wi- After the corresponding character string of Fi password, generation includes that the Wi-Fi corresponding character string of mark and the Wi-Fi password are corresponding The graphical identification code of character string.The graphical identification code can be the output of the first electronic equipment.
S220, the graphical identification code is identified, obtains Wi-Fi and identifies corresponding character string and Wi-Fi password pair The character string answered;
S230, proprietary protocol is shared according to the Wi-Fi that second electronic equipment carries, to the Wi-Fi mark pair of acquisition The character string and the corresponding character string of Wi-Fi password answered are parsed, and the first electronic equipment Wi-Fi to be shared is obtained The Wi-Fi mark and Wi-Fi password of hot spot;
Specifically, step S230 may include:
Share proprietary protocol according to the Wi-Fi that second electronic equipment carries, determines and Wi-Fi mark corresponding first Pointing character determines the second pointing character corresponding with Wi-Fi password;
The content of the instruction of first pointing character described in character string by acquisition is determined as first electronic equipment and is wanted The Wi-Fi of the Wi-Fi Hotspot of sharing is identified;The content of the instruction of second pointing character described in character string by acquisition is determined as institute State the Wi-Fi password for the Wi-Fi Hotspot that the first electronic equipment to be shared.
In other embodiments of the present invention, the Wi-Fi sharing proprietary protocol carried such as the second electronic equipment, which also uses, to be added Close algorithm then can be used corresponding decipherment algorithm and character string is decrypted, then obtains the first finger further according to pointing character Show the Wi-Fi mark of character instruction and the Wi-Fi password of the second pointing character instruction.
S240, the Wi-Fi Hotspot is connected with Wi-Fi password using obtained Wi-Fi mark.
In other embodiments of the present invention, before step S230, method shown in Fig. 5 can also include:
Determine that the Wi-Fi that second electronic equipment carries shares the decipherment algorithm that proprietary protocol uses;
Corresponding character string and the corresponding character string of Wi-Fi password are identified using Wi-Fi of the decipherment algorithm to acquisition It is decrypted;
On this basis, step S230 can be specifically included:
The content that first pointing character described in character string after decryption indicates is determined as the first electronic equipment institute The Wi-Fi of the Wi-Fi Hotspot to be shared is identified;The content of the instruction of second pointing character described in character string after decryption is determined For the Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment.
In an alternative embodiment of the invention, method shown in Fig. 5 can also include:
Obtain the graphical identification code of the algorithm information comprising the first decipherment algorithm of the first electronic equipment output;
The graphical identification code is identified, the algorithm information of first decipherment algorithm is obtained;
According to the algorithm information of first decipherment algorithm, corresponding character string is identified to the Wi-Fi of acquisition and Wi-Fi is close The corresponding character string of code is decrypted;
On this basis, step S230 may include:
Share proprietary protocol according to the Wi-Fi that second electronic equipment carries, it is corresponding to the Wi-Fi mark after decryption The corresponding character string of Wi-Fi password after character string and decryption is parsed, and obtains what first electronic equipment to be shared The Wi-Fi mark and Wi-Fi password of Wi-Fi Hotspot.
A kind of Wi-Fi Hotspot connection method provided in an embodiment of the present invention, can identify graphical identification code and obtain institute State the Wi-Fi Hotspot that the first electronic equipment to be shared Wi-Fi mark and Wi-Fi password, using obtain Wi-Fi mark and Wi-Fi password connects Wi-Fi Hotspot.Since the present invention shares proprietary protocol using the Wi-Fi carried, the Wi-Fi of acquisition is marked Know corresponding character string and the corresponding character string of Wi-Fi password parsed after first electronic equipment is just obtained to be shared Wi-Fi Hotspot Wi-Fi mark and Wi-Fi password, therefore the present invention also ensure that safety of information.
Corresponding with method shown in Fig. 5, the present invention also provides a kind of Wi-Fi Hotspot attachment devices, are applied to the second electricity Sub- equipment, as shown in fig. 6, the apparatus may include: identification code obtains module 210, identification code identification module 220, parsing module 230 and link block 240,
The identification code obtains module 210, for obtaining the graphical identification code of the first electronic equipment output;
Wherein, which obtains first electronic equipment Wi-Fi to be shared heat for the first electronic equipment The Wi-Fi mark and Wi-Fi password of point, the determining Wi-Fi carried with the second electronic equipment of the first electronic device association share Proprietary protocol shares proprietary protocol according to the Wi-Fi, generates the Wi-Fi corresponding character string of mark and the Wi-Fi is close After the corresponding character string of code, generation identifies corresponding character string and the corresponding character of the Wi-Fi password comprising the Wi-Fi The graphical identification code of string.The graphical identification code can be the output of the first electronic equipment.
The identification code identification module 220 obtains Wi-Fi mark and corresponds to for identifying to the graphical identification code Character string and the corresponding character string of Wi-Fi password;
The parsing module 230, Wi-Fi for being carried according to second electronic equipment share proprietary protocol, to obtaining The Wi-Fi obtained identifies corresponding character string and the corresponding character string of Wi-Fi password is parsed, and obtains first electronic equipment The Wi-Fi mark and Wi-Fi password of the Wi-Fi Hotspot to be shared;
Specifically, parsing module 230 can share the Wi-Fi that proprietary protocol determines Wi-Fi Hotspot according to the Wi-Fi of carrying Identify corresponding second pointing character of Wi-Fi password of corresponding first pointing character and Wi-Fi Hotspot;Thus from the word obtained The Wi-Fi mark of the first pointing character instruction and the Wi-Fi password of the second pointing character instruction are obtained in symbol string.
In other embodiments of the present invention, the Wi-Fi sharing proprietary protocol carried such as the second electronic equipment, which also uses, to be added Close algorithm, then parsing module 230 can be used corresponding decipherment algorithm and character string be decrypted, then further according to pointing character Obtain the Wi-Fi mark of the first pointing character instruction and the Wi-Fi password of the second pointing character instruction.
The link block 240, the Wi-Fi for using, which is identified, connects the Wi-Fi Hotspot with Wi-Fi password.
Wherein, the parsing module 230 may include: that the second pointing character determines that submodule and Wi-Fi information determine son Module,
Second pointing character determines submodule, and the Wi-Fi for being carried according to second electronic equipment shares private There is agreement, determine the first pointing character corresponding with Wi-Fi mark, determines the second pointing character corresponding with Wi-Fi password;
The Wi-Fi information determines submodule, in the instruction of the first pointing character described in the character string for that will obtain Hold the Wi-Fi mark for being determined as the Wi-Fi Hotspot to be shared of the first electronic equipment;Described in character string by acquisition The content of two pointing characters instruction is determined as the Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment.
Further, Fig. 6 shown device can also include: decipherment algorithm determining module and the first deciphering module,
The decipherment algorithm determining module, for determining institute in character string of the submodule by acquisition in the Wi-Fi information The content for stating the instruction of the first pointing character is determined as the Wi-Fi mark of the Wi-Fi Hotspot to be shared of the first electronic equipment; The content of the instruction of second pointing character described in character string by acquisition is determined as the first electronic equipment Wi- to be shared Before the Wi-Fi password of Fi hot spot, determine that the Wi-Fi that second electronic equipment carries shares the decryption calculation that proprietary protocol uses Method;
First deciphering module, for use the decipherment algorithm to the Wi-Fi of acquisition identify corresponding character string and The corresponding character string of Wi-Fi password is decrypted;
The Wi-Fi information determines submodule, is specifically used for:
The content that first pointing character described in character string after decryption indicates is determined as the first electronic equipment institute The Wi-Fi of the Wi-Fi Hotspot to be shared is identified;The content of the instruction of second pointing character described in character string after decryption is determined For the Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment.
In an alternative embodiment of the invention, Fig. 6 shown device can also include: that graphic code obtains module, graphic code identification Module and the second deciphering module,
The graphic code obtains module, for obtaining the calculation comprising the first decipherment algorithm of the first electronic equipment output The graphical identification code of method information;
The graphic code identification module obtains first decipherment algorithm for identifying to the graphical identification code Algorithm information;
Second deciphering module identifies the Wi-Fi of acquisition for the algorithm information according to first decipherment algorithm Corresponding character string and the corresponding character string of Wi-Fi password are decrypted;
The parsing module 230, can be specifically used for:
Share proprietary protocol according to the Wi-Fi that second electronic equipment carries, it is corresponding to the Wi-Fi mark after decryption The corresponding character string of Wi-Fi password after character string and decryption is parsed, and obtains what first electronic equipment to be shared The Wi-Fi mark and Wi-Fi password of Wi-Fi Hotspot.
A kind of Wi-Fi Hotspot attachment device provided in an embodiment of the present invention, can identify graphical identification code and obtain institute State the Wi-Fi Hotspot that the first electronic equipment to be shared Wi-Fi mark and Wi-Fi password, using obtain Wi-Fi mark and Wi-Fi password connects Wi-Fi Hotspot.Since the present invention shares proprietary protocol using the Wi-Fi carried, the Wi-Fi of acquisition is marked Know corresponding character string and the corresponding character string of Wi-Fi password parsed after first electronic equipment is just obtained to be shared Wi-Fi Hotspot Wi-Fi mark and Wi-Fi password, therefore the present invention also ensure that safety of information.
As shown in fig. 7, the electronic equipment is denoted as the first electronics and is set the embodiment of the invention also provides a kind of electronic equipment Standby, which may include: shell (not shown), processor 701, memory 702, circuit board 703 and electricity Source circuit 704, wherein circuit board 703 is placed in the space interior that shell surrounds, and processor 701 and memory 702 are arranged in electricity On road plate 703;Power circuit 704, for each circuit or the device power supply for electronic equipment;Memory 702 can for storing Execute program code;Processor 701 is run and executable journey by reading the executable program code stored in memory 702 The corresponding program of sequence code, for executing following steps:
Obtain the Wi-Fi mark and Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment;
The determining Wi-Fi carried with the second electronic equipment of first electronic device association shares proprietary protocol;
Share proprietary protocol according to the Wi-Fi, generates the Wi-Fi corresponding character string of mark and the Wi-Fi is close The corresponding character string of code;
It generates and knows comprising the Wi-Fi figure for identifying corresponding character string and the corresponding character string of the Wi-Fi password Other code;
Export the graphical identification code.
As shown in fig. 7, the electronic equipment is denoted as the second electronics the embodiment of the invention also provides another electronic equipment Equipment, second electronic equipment may include: shell (not shown), processor 701, memory 702,703 and of circuit board Power circuit 704, wherein circuit board 703 is placed in the space interior that shell surrounds, and processor 701 and the setting of memory 702 exist On circuit board 703;Power circuit 704, for each circuit or the device power supply for electronic equipment;Memory 702 is for storing Executable program code;Processor 701 runs and can be performed by reading the executable program code stored in memory 702 The corresponding program of program code, for executing following steps:
Obtain the graphical identification code exported with the first electronic equipment of second electronic device association;
The graphical identification code is identified, Wi-Fi is obtained and identifies corresponding character string and the corresponding word of Wi-Fi password Symbol string;
Share proprietary protocol according to the Wi-Fi that second electronic equipment carries, corresponding word is identified to the Wi-Fi of acquisition Symbol string and the corresponding character string of Wi-Fi password are parsed, and the Wi-Fi Hotspot to be shared of the first electronic equipment is obtained Wi-Fi mark and Wi-Fi password;
It is identified using obtained Wi-Fi and connects the Wi-Fi Hotspot with Wi-Fi password.
The embodiment of the present application also provides a kind of storage mediums, wherein the storage medium is described for storing application program Application program for executing a kind of Wi-Fi Hotspot information sharing method described herein and/or a kind of Wi-Fi heat at runtime Point connection method.Wherein, a kind of Wi-Fi Hotspot connection method described herein is applied to the second electronic equipment, and this method can To include:
Obtain the graphical identification code exported with the first electronic equipment of second electronic device association;
The graphical identification code is identified, Wi-Fi is obtained and identifies corresponding character string and the corresponding word of Wi-Fi password Symbol string;
Share proprietary protocol according to the Wi-Fi that second electronic equipment carries, corresponding word is identified to the Wi-Fi of acquisition Symbol string and the corresponding character string of Wi-Fi password are parsed, and the Wi-Fi Hotspot to be shared of the first electronic equipment is obtained Wi-Fi mark and Wi-Fi password;
It is identified using obtained Wi-Fi and connects the Wi-Fi Hotspot with Wi-Fi password.
A kind of Wi-Fi Hotspot information sharing method described herein, is applied to the first electronic equipment, and this method can wrap It includes:
Obtain the Wi-Fi mark and Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment;
The determining Wi-Fi carried with the second electronic equipment of first electronic device association shares proprietary protocol;
Share proprietary protocol according to the Wi-Fi, generates the Wi-Fi corresponding character string of mark and the Wi-Fi is close The corresponding character string of code;
It generates and knows comprising the Wi-Fi figure for identifying corresponding character string and the corresponding character string of the Wi-Fi password Other code;
Export the graphical identification code.
The embodiment of the present application also provides a kind of application programs, wherein the application program for executing this Shen at runtime It please a kind of Wi-Fi Hotspot information sharing method and/or a kind of Wi-Fi Hotspot connection method.Wherein, described herein A kind of Wi-Fi Hotspot connection method, is applied to the second electronic equipment, and this method may include:
Obtain the graphical identification code exported with the first electronic equipment of second electronic device association;
The graphical identification code is identified, Wi-Fi is obtained and identifies corresponding character string and the corresponding word of Wi-Fi password Symbol string;
Share proprietary protocol according to the Wi-Fi that second electronic equipment carries, corresponding word is identified to the Wi-Fi of acquisition Symbol string and the corresponding character string of Wi-Fi password are parsed, and the Wi-Fi Hotspot to be shared of the first electronic equipment is obtained Wi-Fi mark and Wi-Fi password;
It is identified using obtained Wi-Fi and connects the Wi-Fi Hotspot with Wi-Fi password.
A kind of Wi-Fi Hotspot information sharing method described herein, is applied to the first electronic equipment, and this method can wrap It includes:
Obtain the Wi-Fi mark and Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment;
The determining Wi-Fi carried with the second electronic equipment of first electronic device association shares proprietary protocol;
Share proprietary protocol according to the Wi-Fi, generates the Wi-Fi corresponding character string of mark and the Wi-Fi is close The corresponding character string of code;
It generates and knows comprising the Wi-Fi figure for identifying corresponding character string and the corresponding character string of the Wi-Fi password Other code;
Export the graphical identification code.
The embodiment of the present application also provides a kind of electronic equipment, which is denoted as the first electronic equipment, described One electronic equipment may include:
Processor, memory, communication interface and bus;
The processor, the memory are connected by the bus with the communication interface and complete mutual lead to Letter;
The memory stores executable program code;
The processor is run by reading the executable program code stored in the memory can be performed with described The corresponding program of program code, to be used for:
Obtain the Wi-Fi mark and Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment;
The determining Wi-Fi carried with the second electronic equipment of first electronic device association shares proprietary protocol;
Share proprietary protocol according to the Wi-Fi, generates the Wi-Fi corresponding character string of mark and the Wi-Fi is close The corresponding character string of code;
It generates and knows comprising the Wi-Fi figure for identifying corresponding character string and the corresponding character string of the Wi-Fi password Other code;
Export the graphical identification code.
The embodiment of the present application also provides another electronic equipments, which is denoted as the second electronic equipment, this Two electronic equipments may include:
Processor, memory, communication interface and bus;
The processor, the memory are connected by the bus with the communication interface and complete mutual lead to Letter;
The memory stores executable program code;
The processor is run by reading the executable program code stored in the memory can be performed with described The corresponding program of program code, to be used for:
Obtain the graphical identification code exported with the first electronic equipment of second electronic device association;
The graphical identification code is identified, Wi-Fi is obtained and identifies corresponding character string and the corresponding word of Wi-Fi password Symbol string;
Share proprietary protocol according to the Wi-Fi that second electronic equipment carries, corresponding word is identified to the Wi-Fi of acquisition Symbol string and the corresponding character string of Wi-Fi password are parsed, and the Wi-Fi Hotspot to be shared of the first electronic equipment is obtained Wi-Fi mark and Wi-Fi password;
It is identified using obtained Wi-Fi and connects the Wi-Fi Hotspot with Wi-Fi password.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (24)

1. a kind of Wi-Fi Hotspot information sharing method, which is characterized in that be applied to the first electronic equipment, which comprises
Obtain the Wi-Fi mark and Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment;
The determining Wi-Fi carried with the second electronic equipment of first electronic device association shares proprietary protocol;
Share proprietary protocol according to the Wi-Fi, generates the Wi-Fi and identify corresponding character string and the Wi-Fi password pair The character string answered;
Generate the graphical identification code that corresponding character string and the corresponding character string of the Wi-Fi password are identified comprising the Wi-Fi;
Export the graphical identification code.
2. generating institute the method according to claim 1, wherein described share proprietary protocol according to the Wi-Fi It states Wi-Fi and identifies corresponding character string and the corresponding character string of the Wi-Fi password, comprising:
Share proprietary protocol according to the Wi-Fi, determines the Wi-Fi of the Wi-Fi Hotspot to be shared of the first electronic equipment Corresponding first pointing character is identified, determines that the Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment is corresponding The second pointing character;
Generate the character string identified comprising first pointing character and the Wi-Fi, the character string and Wi-Fi mark pair It answers;Generate the character string comprising second pointing character and the Wi-Fi password, the character string and the Wi-Fi password pair It answers.
3. according to the method described in claim 2, it is characterized in that, described generate identifies corresponding character comprising the Wi-Fi The graphical identification code of string and the corresponding character string of the Wi-Fi password, comprising:
Determine that the Wi-Fi that second electronic equipment carries shares the Encryption Algorithm that proprietary protocol uses;
Using the determining Encryption Algorithm to the character string of generation identified comprising first pointing character and the Wi-Fi It is encrypted, obtains the first encryption data;Second pointing character is included to generation using the determining Encryption Algorithm And the character string of the Wi-Fi password is encrypted, and the second encryption data is obtained;
Generate the graphical identification code comprising first encryption data and second encryption data.
4. the method according to claim 1, wherein described generate identifies corresponding character comprising the Wi-Fi The graphical identification code of string and the corresponding character string of the Wi-Fi password, comprising:
Corresponding character string and the corresponding word of the Wi-Fi password are identified using the Wi-Fi of first Encryption Algorithm to generation Symbol string is encrypted, and encryption data is obtained, and generates the graphical identification code comprising the encryption data;
The method also includes: generate and export the graphical identification code of the algorithm information comprising the first decipherment algorithm, wherein described First decipherment algorithm is corresponding with first Encryption Algorithm.
5. method according to claim 1 to 4, which is characterized in that the determination is set with first electronics The Wi-Fi that standby associated second electronic equipment carries shares proprietary protocol, comprising:
After being associated with the second electronic equipment, proprietary protocol is sent to second electronic equipment and inquires message;
Wi-Fi sharing proprietary protocol is obtained from the inquiry response that second electronic equipment is fed back and/or Wi-Fi sharing is privately owned Protocol-identifier, so that it is determined that the Wi-Fi that second electronic equipment carries shares proprietary protocol.
6. method according to claim 1 to 4, which is characterized in that described to obtain first electronic equipment The Wi-Fi mark and Wi-Fi password of the Wi-Fi Hotspot to be shared, comprising:
Wi-Fi Hotspot is scanned, output identifies the Wi-Fi Hotspot list constituted by Wi-Fi;
The selection operation is directed to according to the selection operation that user identifies Wi-Fi in the Wi-Fi Hotspot list, display Wi-Fi identifies the input prompt information of corresponding Wi-Fi password;
It obtains the Wi-Fi password of user's input and verifies, be such as verified, then the Wi-Fi being directed to the selection operation Mark is determined as the Wi-Fi mark of the Wi-Fi Hotspot to be shared of the first electronic equipment, and the Wi-Fi that user is inputted is close Code is determined as the Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment.
7. method according to claim 1 to 4, which is characterized in that described to obtain first electronic equipment The Wi-Fi mark and Wi-Fi password of the Wi-Fi Hotspot to be shared, comprising:
In the case where first electronic equipment is connect with Wi-Fi Hotspot, the Wi- to the Wi-Fi Hotspot having connected is shown The input of Fi password prompts;
It obtains the Wi-Fi password of user's input and verifies, be such as verified, then have connected first electronic equipment The Wi-Fi mark of Wi-Fi Hotspot is determined as the Wi-Fi mark of the Wi-Fi Hotspot to be shared of the first electronic equipment, will use The Wi-Fi password of family input is determined as the Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment.
8. a kind of Wi-Fi Hotspot information sharing apparatus, which is characterized in that be applied to the first electronic equipment, described device includes: Wi-Fi information acquisition module, protocol determination module, text string generation module, the first identification code generation module and identification code output Module,
The Wi-Fi information acquisition module, for obtaining the Wi-Fi of the Wi-Fi Hotspot to be shared of the first electronic equipment Mark and Wi-Fi password;
The protocol determination module, the Wi-Fi carried for determining the second electronic equipment with first electronic device association Share proprietary protocol;
It is corresponding to generate the Wi-Fi mark for sharing proprietary protocol according to the Wi-Fi for the text string generation module Character string and the corresponding character string of the Wi-Fi password;
The first identification code generation module, it is close comprising the Wi-Fi corresponding character string of mark and the Wi-Fi for generating The graphical identification code of the corresponding character string of code;
The identification code output module, for exporting the graphical identification code.
9. device according to claim 8, which is characterized in that the text string generation module, comprising: the first pointing character Determine submodule and text string generation submodule,
First pointing character determines submodule, for sharing proprietary protocol according to the Wi-Fi, determines first electronics The Wi-Fi of the Wi-Fi Hotspot to be shared of equipment identifies corresponding first pointing character, determines that first electronic equipment is wanted Corresponding second pointing character of the Wi-Fi password of the Wi-Fi Hotspot of sharing;
The text string generation submodule, for generating the character string identified comprising first pointing character and the Wi-Fi, The character string is corresponding with Wi-Fi mark;The character string comprising second pointing character and the Wi-Fi password is generated, The character string is corresponding with the Wi-Fi password.
10. device according to claim 9, which is characterized in that the first identification code generation module, comprising: encryption is calculated Method determines that submodule, encryption submodule and identification code generate submodule,
The Encryption Algorithm determines submodule, and the Wi-Fi sharing proprietary protocol for determining that second electronic equipment carries makes Encryption Algorithm;
The encryption submodule, for using the determining Encryption Algorithm to generation comprising first pointing character and institute The character string for stating Wi-Fi mark is encrypted, and the first encryption data is obtained;Using the determining Encryption Algorithm to the packet of generation Character string containing second pointing character and the Wi-Fi password is encrypted, and the second encryption data is obtained;
The identification code generates submodule, for generating the figure comprising first encryption data and second encryption data Identification code.
11. device according to claim 8, which is characterized in that the first identification code generation module is specifically used for using First Encryption Algorithm identifies corresponding character string to the Wi-Fi of generation and the corresponding character string of the Wi-Fi password carries out Encryption obtains encryption data, generates the graphical identification code comprising the encryption data;
Described device further include: the second identification code generation module, for generating and exporting the algorithm letter comprising the first decipherment algorithm The graphical identification code of breath, wherein first decipherment algorithm is corresponding with first Encryption Algorithm.
12. the device according to any one of claim 8 to 11, which is characterized in that the protocol determination module, comprising: Inquiry submodule and agreement determine submodule,
The inquiry submodule, for after first electronic equipment and the second electronic equipment are associated, to described second Electronic equipment sends proprietary protocol and inquires message;
The agreement determines submodule, shares private for obtaining Wi-Fi from the inquiry response that second electronic equipment is fed back There are agreement and/or Wi-Fi to share proprietary protocol mark, so that it is determined that the Wi-Fi sharing that second electronic equipment carries is privately owned Agreement.
13. the device according to any one of claim 8 to 11, which is characterized in that the Wi-Fi information acquisition module, Include: hot spot scanning submodule, first prompt display sub-module and first verifying submodule,
The hot spot scanning submodule, for scanning Wi-Fi Hotspot, output identifies the Wi-Fi Hotspot list constituted by Wi-Fi;
The first prompt display sub-module, for being grasped according to user to the selection that Wi-Fi in the Wi-Fi Hotspot list is identified Make, display identifies the input prompt information of corresponding Wi-Fi password to the Wi-Fi that the selection operation is directed to;
The first verifying submodule is such as verified for obtaining the Wi-Fi password of user's input and verifying, then will The Wi-Fi mark that the selection operation is directed to is determined as the Wi-Fi mark of the Wi-Fi Hotspot to be shared of the first electronic equipment Know, the Wi-Fi password that user inputs is determined as to the Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment.
14. the device according to any one of claim 8 to 11, which is characterized in that the Wi-Fi information acquisition module, It include: that the second prompt display sub-module and second verify submodule,
The second prompt display sub-module, for showing in the case where first electronic equipment is connect with Wi-Fi Hotspot Show that the input to the Wi-Fi password for the Wi-Fi Hotspot having connected prompts;
The second verifying submodule is such as verified for obtaining the Wi-Fi password of user's input and verifying, then will The Wi-Fi mark for the Wi-Fi Hotspot that first electronic equipment has connected is determined as what first electronic equipment to be shared The Wi-Fi of Wi-Fi Hotspot is identified, and the Wi-Fi password that user inputs is determined as the first electronic equipment Wi- to be shared The Wi-Fi password of Fi hot spot.
15. a kind of Wi-Fi Hotspot connection method, which is characterized in that be applied to the second electronic equipment, which comprises
Obtain the graphical identification code exported with the first electronic equipment of second electronic device association;
The graphical identification code is identified, Wi-Fi is obtained and identifies corresponding character string and the corresponding character of Wi-Fi password String;
Share proprietary protocol according to the Wi-Fi that second electronic equipment carries, corresponding character string is identified to the Wi-Fi of acquisition And the corresponding character string of Wi-Fi password is parsed, and the Wi- of the Wi-Fi Hotspot to be shared of the first electronic equipment is obtained Fi mark and Wi-Fi password;
It is identified using obtained Wi-Fi and connects the Wi-Fi Hotspot with Wi-Fi password.
16. according to the method for claim 15, which is characterized in that the Wi- carried according to second electronic equipment Fi shares proprietary protocol, identifies corresponding character string to the Wi-Fi of acquisition and the corresponding character string of Wi-Fi password parses, Obtain the Wi-Fi mark and Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment, comprising:
Share proprietary protocol according to the Wi-Fi that second electronic equipment carries, determines the first instruction corresponding with Wi-Fi mark Character determines the second pointing character corresponding with Wi-Fi password;
The content of the instruction of first pointing character described in character string by acquisition is determined as first electronic equipment to be shared Wi-Fi Hotspot Wi-Fi mark;The content of the instruction of second pointing character described in character string by acquisition is determined as described the The Wi-Fi password of the Wi-Fi Hotspot to be shared of one electronic equipment.
17. according to the method for claim 16, which is characterized in that the first instruction described in the character string by acquisition The content of character instruction is determined as the Wi-Fi mark of the Wi-Fi Hotspot to be shared of the first electronic equipment;By the word of acquisition The content of second pointing character instruction described in symbol string is determined as the Wi-Fi Hotspot to be shared of the first electronic equipment Before Wi-Fi password, the method also includes:
Determine that the Wi-Fi that second electronic equipment carries shares the decipherment algorithm that proprietary protocol uses;
Corresponding character string is identified using Wi-Fi of the decipherment algorithm to acquisition and the corresponding character string of Wi-Fi password carries out Decryption;
The content of the instruction of first pointing character described in the character string by acquisition is determined as first electronic equipment and is wanted The Wi-Fi of the Wi-Fi Hotspot of sharing is identified;The content of the instruction of second pointing character described in character string by acquisition is determined as institute State the Wi-Fi password for the Wi-Fi Hotspot that the first electronic equipment to be shared, comprising:
The content that first pointing character described in character string after decryption indicates is determined as first electronic equipment to be divided The Wi-Fi for the Wi-Fi Hotspot enjoyed is identified;The content that second pointing character described in character string after decryption indicates is determined as institute State the Wi-Fi password for the Wi-Fi Hotspot that the first electronic equipment to be shared.
18. according to the method for claim 15, which is characterized in that the method also includes:
Obtain the graphical identification code of the algorithm information comprising the first decipherment algorithm of the first electronic equipment output;
The graphical identification code is identified, the algorithm information of first decipherment algorithm is obtained;
According to the algorithm information of first decipherment algorithm, corresponding character string and Wi-Fi password pair are identified to the Wi-Fi of acquisition The character string answered is decrypted;
The Wi-Fi carried according to second electronic equipment shares proprietary protocol, identifies corresponding word to the Wi-Fi of acquisition Symbol string and the corresponding character string of Wi-Fi password are parsed, and the Wi-Fi Hotspot to be shared of the first electronic equipment is obtained Wi-Fi mark and Wi-Fi password, comprising:
Share proprietary protocol according to the Wi-Fi that second electronic equipment carries, corresponding character is identified to the Wi-Fi after decryption The corresponding character string of Wi-Fi password after string and decryption is parsed, and the first electronic equipment Wi-Fi to be shared is obtained The Wi-Fi mark and Wi-Fi password of hot spot.
19. a kind of Wi-Fi Hotspot attachment device, which is characterized in that be applied to the second electronic equipment, described device includes: identification Code obtains module, identification code identification module, parsing module and link block,
The identification code obtains module, for obtaining the figure with the output of the first electronic equipment of second electronic device association Identification code;
The identification code identification module obtains Wi-Fi and identifies corresponding character string for identifying to the graphical identification code And the corresponding character string of Wi-Fi password;
The parsing module, the Wi-Fi for being carried according to second electronic equipment shares proprietary protocol, to the Wi- of acquisition Fi identifies corresponding character string and the corresponding character string of Wi-Fi password is parsed, and obtains first electronic equipment to be divided The Wi-Fi mark and Wi-Fi password for the Wi-Fi Hotspot enjoyed;
The link block, the Wi-Fi for using, which is identified, connects the Wi-Fi Hotspot with Wi-Fi password.
20. device according to claim 19, which is characterized in that the parsing module includes: that the second pointing character determines Submodule and Wi-Fi information determine submodule,
Second pointing character determines submodule, and the Wi-Fi for being carried according to second electronic equipment shares privately owned association View determines the first pointing character corresponding with Wi-Fi mark, determines the second pointing character corresponding with Wi-Fi password;
The Wi-Fi information determines submodule, and the content of the instruction of the first pointing character described in the character string for that will obtain is true It is set to the Wi-Fi mark of the Wi-Fi Hotspot to be shared of the first electronic equipment;Second refers to described in character string by acquisition Show that the content of character instruction is determined as the Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment.
21. device according to claim 20, which is characterized in that further include: decipherment algorithm determining module and the first decryption Module,
The decipherment algorithm determining module, for being determined described in character string of the submodule by acquisition in the Wi-Fi information The content of one pointing character instruction is determined as the Wi-Fi mark of the Wi-Fi Hotspot to be shared of the first electronic equipment;It will obtain The content of the instruction of second pointing character described in the character string obtained is determined as first electronic equipment Wi-Fi to be shared heat Before the Wi-Fi password of point, determine that the Wi-Fi that second electronic equipment carries shares the decipherment algorithm that proprietary protocol uses;
First deciphering module, for using the decipherment algorithm to identify corresponding character string and Wi-Fi to the Wi-Fi of acquisition The corresponding character string of password is decrypted;
The Wi-Fi information determines submodule, is specifically used for:
The content that first pointing character described in character string after decryption indicates is determined as first electronic equipment to be divided The Wi-Fi for the Wi-Fi Hotspot enjoyed is identified;The content that second pointing character described in character string after decryption indicates is determined as institute State the Wi-Fi password for the Wi-Fi Hotspot that the first electronic equipment to be shared.
22. device according to claim 19, which is characterized in that further include: graphic code obtains module, graphic code identifies mould Block and the second deciphering module,
The graphic code obtains module, for obtaining the algorithm letter comprising the first decipherment algorithm of the first electronic equipment output The graphical identification code of breath;
The graphic code identification module obtains the algorithm of first decipherment algorithm for identifying to the graphical identification code Information;
Second deciphering module identifies the Wi-Fi of acquisition and corresponds to for the algorithm information according to first decipherment algorithm Character string and the corresponding character string of Wi-Fi password be decrypted;
The parsing module, is specifically used for:
Share proprietary protocol according to the Wi-Fi that second electronic equipment carries, corresponding character is identified to the Wi-Fi after decryption The corresponding character string of Wi-Fi password after string and decryption is parsed, and the first electronic equipment Wi-Fi to be shared is obtained The Wi-Fi mark and Wi-Fi password of hot spot.
23. a kind of electronic equipment, which is characterized in that the electronic equipment is denoted as the first electronic equipment, first electronics is set Standby includes: shell, processor, memory, circuit board and power circuit, wherein circuit board is placed in the space that shell surrounds Portion, processor and memory setting are on circuit boards;Power circuit, for each circuit or the device power supply for electronic equipment; Memory is for storing executable program code;Processor is run by reading the executable program code stored in memory Program corresponding with executable program code, for executing following steps:
Obtain the Wi-Fi mark and Wi-Fi password of the Wi-Fi Hotspot to be shared of the first electronic equipment;
The determining Wi-Fi carried with the second electronic equipment of first electronic device association shares proprietary protocol;
Share proprietary protocol according to the Wi-Fi, generates the Wi-Fi and identify corresponding character string and the Wi-Fi password pair The character string answered;
Generate the graphical identification code that corresponding character string and the corresponding character string of the Wi-Fi password are identified comprising the Wi-Fi;
Export the graphical identification code.
24. a kind of electronic equipment, which is characterized in that the electronic equipment is denoted as the second electronic equipment, second electronics is set Standby includes: shell, processor, memory, circuit board and power circuit, wherein circuit board is placed in the space that shell surrounds Portion, processor and memory setting are on circuit boards;Power circuit, for each circuit or the device power supply for electronic equipment; Memory is for storing executable program code;Processor is run by reading the executable program code stored in memory Program corresponding with executable program code, for executing following steps: for executing following steps:
Obtain the graphical identification code exported with the first electronic equipment of second electronic device association;
The graphical identification code is identified, Wi-Fi is obtained and identifies corresponding character string and the corresponding character of Wi-Fi password String;
Share proprietary protocol according to the Wi-Fi that second electronic equipment carries, corresponding character string is identified to the Wi-Fi of acquisition And the corresponding character string of Wi-Fi password is parsed, and the Wi- of the Wi-Fi Hotspot to be shared of the first electronic equipment is obtained Fi mark and Wi-Fi password;
It is identified using obtained Wi-Fi and connects the Wi-Fi Hotspot with Wi-Fi password.
CN201510983409.4A 2015-12-24 2015-12-24 Wi-Fi hotspot information sharing and connecting method and device and electronic equipment Expired - Fee Related CN105516170B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510983409.4A CN105516170B (en) 2015-12-24 2015-12-24 Wi-Fi hotspot information sharing and connecting method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510983409.4A CN105516170B (en) 2015-12-24 2015-12-24 Wi-Fi hotspot information sharing and connecting method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN105516170A CN105516170A (en) 2016-04-20
CN105516170B true CN105516170B (en) 2019-01-08

Family

ID=55723806

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510983409.4A Expired - Fee Related CN105516170B (en) 2015-12-24 2015-12-24 Wi-Fi hotspot information sharing and connecting method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN105516170B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105792197A (en) * 2016-02-26 2016-07-20 上海斐讯数据通信技术有限公司 WIFI password sharing method and system
CN106204038A (en) * 2016-06-24 2016-12-07 广州正峰电子科技有限公司 The method and device that a kind of password string generates
CN107396319B (en) * 2017-09-01 2019-09-20 深圳回收宝科技有限公司 A kind of method of wireless network authentication, equipment, storage medium and terminal reclaimer
CN107682142A (en) * 2017-11-17 2018-02-09 珠海市魅族科技有限公司 Wireless network connecting method, device, terminal and computer-readable recording medium
CN110555175A (en) * 2018-03-30 2019-12-10 上海连尚网络科技有限公司 Two-dimensional code analyzing and generating method and equipment
CN109803249A (en) * 2019-02-25 2019-05-24 努比亚技术有限公司 A kind of WIFI network sharing method, terminal and computer readable storage medium
CN113193956B (en) * 2021-04-27 2023-05-12 维沃移动通信有限公司 Account information processing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1811719A1 (en) * 2006-01-24 2007-07-25 BRITISH TELECOMMUNICATIONS public limited company Internetwork key sharing
CN102883327A (en) * 2011-07-14 2013-01-16 北京韵盛发科技有限公司 Virtual sharing method for WiFi (wireless fidelity) wireless access point

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9775093B2 (en) * 2005-10-12 2017-09-26 At&T Mobility Ii Llc Architecture that manages access between a mobile communications device and an IP network
CN103179640A (en) * 2013-03-25 2013-06-26 北京奇虎科技有限公司 Wireless local area network access system and method
CN103402275A (en) * 2013-07-26 2013-11-20 北京小米科技有限责任公司 Method, terminal and system of sharing WiFi (Wireless Fidelity) link information
CN104602238B (en) * 2014-05-29 2019-07-16 腾讯科技(深圳)有限公司 A kind of wireless network connecting method, device and system
CN104955048A (en) * 2015-06-30 2015-09-30 北京奇虎科技有限公司 WiFi (wireless fidelity) network login information sharing method, server, terminal and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1811719A1 (en) * 2006-01-24 2007-07-25 BRITISH TELECOMMUNICATIONS public limited company Internetwork key sharing
CN102883327A (en) * 2011-07-14 2013-01-16 北京韵盛发科技有限公司 Virtual sharing method for WiFi (wireless fidelity) wireless access point

Also Published As

Publication number Publication date
CN105516170A (en) 2016-04-20

Similar Documents

Publication Publication Date Title
CN105516170B (en) Wi-Fi hotspot information sharing and connecting method and device and electronic equipment
CN105007577B (en) A kind of virtual SIM card parameter management method, mobile terminal and server
CN111246539B (en) Networking binding method of intelligent household appliance, intelligent household appliance and user terminal
CN112217831A (en) Information interaction method, device and equipment about Internet of things equipment
CN110505616A (en) The method and apparatus of wireless device are registered in a wireless communication system
CN106533669A (en) Device identification method, device and system
CN104244245B (en) A kind of wireless access authentication method, wireless routing device and wireless terminal
CN113132973A (en) Equipment network distribution method and system and computer readable storage medium
CN106778285B (en) Method and device for upgrading equipment
WO2017067201A1 (en) Wi-fi connection method, terminal, and system
CN105897784B (en) Internet-of-things terminal equipment encryption communication method and device
JP2018502524A (en) Encryption control for information, information analysis method, system and terminal
CN110084054A (en) A kind of data privacy device, method, electronic equipment and storage medium
CN113490207B (en) Internet of things equipment binding method and device, computer equipment and storage medium
CN104284331B (en) A kind of method and system connecting portable WLAN hot spot
CN105451298A (en) Network-sharing method and system, network access method and system, and electronic device
CN111683370A (en) Access authentication method, device and system of wireless network equipment
CN106790036B (en) A kind of information tamper resistant method, device, server and terminal
CN113595992B (en) Secure binding method and system, storage medium and electronic device
CN109391473A (en) A kind of method, apparatus and storage medium of Electronic Signature
CN105072212B (en) To code method and to code system
CN112632585B (en) Webpage data transmission system, method, device, medium and equipment
CN109547196A (en) The implementation method and wrist-watch token system and device of a kind of wrist-watch token system
CN104184773B (en) A kind of data download method and system
CN111787514A (en) Method and device for acquiring equipment control data, storage medium and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190108