CN106973381A - A kind of Wi-Fi hotspot password shares processing method, system and mobile terminal - Google Patents

A kind of Wi-Fi hotspot password shares processing method, system and mobile terminal Download PDF

Info

Publication number
CN106973381A
CN106973381A CN201710138884.0A CN201710138884A CN106973381A CN 106973381 A CN106973381 A CN 106973381A CN 201710138884 A CN201710138884 A CN 201710138884A CN 106973381 A CN106973381 A CN 106973381A
Authority
CN
China
Prior art keywords
mobile terminal
hotspot
configuration information
wifi aware
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710138884.0A
Other languages
Chinese (zh)
Other versions
CN106973381B (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.)
Yuanyuan Shenzhen Technology Transfer Co ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201710138884.0A priority Critical patent/CN106973381B/en
Publication of CN106973381A publication Critical patent/CN106973381A/en
Application granted granted Critical
Publication of CN106973381B publication Critical patent/CN106973381B/en
Active 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/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

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

Abstract

Share processing method, system and mobile terminal the invention discloses a kind of Wi-Fi hotspot password, including, the first mobile terminal opens WiFi Aware functions by after the configuration information encryption packing for the Wi-Fi hotspot shared in advance;Detection nearby has turned on the second mobile terminal of WiFi Aware functions, and sets up physical connection group with the second mobile terminal;First mobile terminal broadcasts the configuration information for having encrypted packing by WiFi Aware message interfaces;Configuration information described in second acquisition for mobile terminal is simultaneously parsed, Wi-Fi hotspot is added according to analysis result on the second mobile terminal to be attached and monitor, judge the second mobile terminal whether the Wi-Fi hotspot successful connection shared with the first mobile terminal, and snoop results are fed back into the first mobile terminal;First mobile terminal receives the feedback information of the second mobile terminal.The present invention realizes the one-key sharing connection of Wi-Fi hotspot, and cipher mode also ensure that the security of Wi-Fi hotspot configuration information, and reduces the operating procedure of user, provides users with the convenient.

Description

A kind of Wi-Fi hotspot password shares processing method, system and mobile terminal
Technical field
The present invention relates to mobile terminal application field, more particularly to a kind of Wi-Fi hotspot password share processing method, System and mobile terminal.
Background technology
At present, continuing to develop with mobile terminal, wireless WIFI network is widely used by user in life, During using wireless network, for security needs, it is extremely complex that user would generally be set password, and oneself is connected when needs When WIFI passwords are shared with other users, it is necessary to re-enter, if user have forgotten current password, that can only just pass through weight Newly check that router just can confirm that, bother very much, it has not been convenient to which user uses.
Therefore, prior art has yet to be improved and developed.
The content of the invention
The technical problem to be solved in the present invention is, for the drawbacks described above of prior art, there is provided a kind of Wi-Fi hotspot is close Code division enjoys processing method, system and mobile terminal, and the present invention only needs user to select corresponding dish by WiFi Aware technologies Single, mobile terminal can read from oneself WIFI hot spot configuration information with backstage, will correspondence by broadcast service after encryption packing Information transmission go out;Target device is after corresponding information on services is received, by parsing corresponding informance and place being decrypted Reason obtains the link information of WIFI hot spot, and the automatic connection for sharing Wi-Fi hotspot is realized by calling interface.Through the above way The one-key sharing connection of Wi-Fi hotspot is realized, and cipher mode also ensure that the security of Wi-Fi hotspot configuration information, be User provides convenient.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of Wi-Fi hotspot password shares processing method, including step,
A, the first mobile terminal reads the configuration information for the Wi-Fi hotspot shared in advance, and the configuration information is encrypted and packed;
B, the first mobile terminal opens WiFi Aware functions, and WiFi is had turned on according to the detection of WiFi Aware protocol specifications Second mobile terminal of Aware functions, and set up physical connection group with second mobile terminal;
C, the first mobile terminal broadcasts the configuration information for the Wi-Fi hotspot for having encrypted packing by WiFi Aware message interfaces;
D, wherein, the configuration information of second the first mobile terminal of acquisition for mobile terminal broadcast and parsing, according to analysis result the Wi-Fi hotspot is added on two mobile terminals to be attached, connection result is monitored, and judges the second mobile terminal whether with the The Wi-Fi hotspot successful connection that one mobile terminal is shared, and by whether the feedback of the information of successful connection gives the first mobile terminal;
E, the first mobile terminal receive the second mobile terminal whether the feedback information of successful connection.
The step A includes:
A1, the focus for operating the first mobile terminal according to user shares menu, gets current all Wi-Fi hotspot lists, institute Wi-Fi hotspot is stated to show with SSID name;
A2, the Wi-Fi hotspot shared in advance in the selection of the first mobile terminal is operated according to user;
A3, the first mobile terminal reads the configuration information of the pre- Wi-Fi hotspot shared, and the configuration information includes SSID Title, encryption type, shared key;
A4, the shared key encryption is packed by predetermined format in the lump with SSID name, encryption type.
The step B includes:
B1, the first mobile terminal opens WiFi Aware functions, is nearby had turned on according to the detection of WiFi Aware protocol specifications Second mobile terminal of WiFi Aware functions;
B2, is operated according to user, and selection receives Wi-Fi hotspot configuration information, the second mobile terminal automatic start WiFi Aware work( Can, and the first mobile terminal for nearby having turned on WiFi Aware functions is detected according to WiFi Aware protocol specifications;
B3, the first mobile terminal and the second mobile terminal set up physical connection group by WiFi Aware functions.
The step D includes:
D1, the second mobile terminal by service name filtering services information, and obtains first by WiFi Aware technical interfaces The information on services for carrying Wi-Fi hotspot information of mobile terminal broadcast;
D2, the second mobile terminal parses the information on services, according to the encryption type of Wi-Fi hotspot, reads corresponding with confidence Breath;
D3, the second mobile terminal is according to analysis result, and automatic addition Wi-Fi hotspot is simultaneously attached;
D4, is monitored the connection between the second mobile terminal and Wi-Fi hotspot, judges whether successful connection, and believe monitoring Breath feeds back to the first mobile terminal.
Monitoring information described in step D4 is specifically included:
0:Successful connection;1:Authentification failure, password bad;2:Wi-Fi hotspot is not present, and does not search;3:Unknown error.
First mobile terminal is the side for sharing Wi-Fi hotspot password;Second mobile terminal is to be shared WiFi One side of focus password.
A kind of Wi-Fi hotspot password share system, including:
Sharing module, the configuration information for sharing Wi-Fi hotspot by WiFi Aware wireless technologys;
Parse link block, configuration information and parsing for receiving the Wi-Fi hotspot that the sharing module is shared, according to parsing As a result the Wi-Fi hotspot is connected.
The sharing module is specifically included:
Wi-Fi hotspot configuration information arranges unit, and the configuration information for the Wi-Fi hotspot shared in advance is read for the first mobile terminal, The configuration information includes SSID name, encryption type, shared key, by the shared key encryption, with SSID name, Encryption type is packed by predetermined format in the lump;
First WiFi Aware control units, the WiFi Aware functions for opening the first mobile terminal, detection has nearby been opened The equipment for opening WiFi Aware functions, and set up with the second mobile terminal and be connected group;
Transmitting element, packing has been encrypted for the first mobile terminal by WiFi Aware message interfaces in connection group broadcast Wi-Fi hotspot configuration information;
Share result Tip element, for receive the second mobile terminal whether the feedback information of successful connection.
The parsing link block is specifically included:
2nd WiFi Aware control units, for being operated according to user, selection receives Wi-Fi hotspot configuration information, automatically turns on WiFi Aware functions, detection nearby has turned on the first mobile terminal of WiFi Aware functions, and with the described first movement eventually Connection group is set up at end;
Acquiring unit, for the second mobile terminal by WiFi Aware technical interfaces, using service name filtering services information, And obtain the information on services for carrying Wi-Fi hotspot information of the first mobile terminal broadcast;
Resolution unit, the information on services is parsed for the second mobile terminal, according to the encryption type of Wi-Fi hotspot, reads correspondence Configuration information;
Connection unit, for the second mobile terminal according to analysis result, adds Wi-Fi hotspot, and divide with the first mobile terminal automatically The Wi-Fi hotspot enjoyed is attached;
Monitoring unit, for monitoring the connection unit, judges whether successful connection, and monitoring information is fed back into institute State the first mobile terminal;
The monitoring information is specifically included:0:Successful connection;1:Authentification failure, password bad;2:Wi-Fi hotspot is not present, not Search;3:Unknown error.
A kind of mobile terminal, including the Wi-Fi hotspot password share system described in any of the above one, in addition to:
It is the first mobile terminal when sharing Wi-Fi hotspot password, using the sharing module;When being shared Wi-Fi hotspot password When be the second mobile terminal, using the parsing link block.
The present invention only needs user to select corresponding menu by WiFi Aware technologies, and mobile terminal can be read with backstage Oneself WIFI hot spot configuration information is derived from, corresponding information transmission is gone out by broadcast service after encryption packing;Target device After corresponding information on services is received, by parsing corresponding informance and carrying out the connection letter that decryption processing obtains WIFI hot spot Breath, the automatic connection for sharing Wi-Fi hotspot is realized by calling interface.The one-key sharing of Wi-Fi hotspot is realized through the above way Connection, and cipher mode also ensure that the security of Wi-Fi hotspot configuration information, provide users with the convenient.
Brief description of the drawings
Fig. 1 is the flow chart for the preferred embodiment that a kind of Wi-Fi hotspot password of the invention shares processing method.
Fig. 2 is a kind of schematic diagram of the function of the preferred embodiment of Wi-Fi hotspot password share system of the invention.
Embodiment
To make the objects, technical solutions and advantages of the present invention clearer, clear and definite, develop simultaneously embodiment pair referring to the drawings The present invention is further described.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and without It is of the invention in limiting.
A kind of Wi-Fi hotspot password shares processing method, as shown in figure 1, including step,
S100, the first mobile terminal reads the configuration information for the Wi-Fi hotspot shared in advance, and the configuration information is encrypted and packed.
S100 is specifically included:
S101, user operates the focus of the first mobile terminal to share menu, gets current all Wi-Fi hotspot lists, described Wi-Fi hotspot is shown with SSID name.
In the embodiment of the present invention, when user needs to share Wi-Fi hotspot to the second mobile terminal(Other do not have connection WiFi heat The mobile terminal of point)When, operate the first mobile terminal(The mobile terminal of Wi-Fi hotspot is connected)Middle UI(User interface)In Wi-Fi hotspot shares the Wi-Fi hotspot configuration information in menu, current first mobile terminal of acquisition and with list display, during display With SSID name(Wi-Fi hotspot title)Shown as list theme.
S102, the Wi-Fi hotspot that user selects to share in advance in the first mobile terminal.
I.e. user selects the Wi-Fi hotspot that the first mobile terminal has been connected.
S103, the first mobile terminal reads the configuration information of the pre- Wi-Fi hotspot shared, and the configuration information includes SSID name, encryption type, shared key.
In the embodiment of the present invention, configuration information includes SSID name, encryption type, shared key.
SSID name is the display Name of Wi-Fi hotspot;
Three kinds of encryption type point:The safe cipher modes of WEP, the safe cipher modes of WPA, the safe cipher modes of WPA2;
Shared key is wildcard, the password verified during for Wi-Fi hotspot.
S104, the shared key encryption is beaten by predetermined format in the lump with SSID name, encryption type Bag.
In the embodiment of the present invention, the configuration information packing form of Wi-Fi hotspot mainly does interval with branch, such as:ssid=; key_mgmt=;psk=””;In packing process, the sensitive information such as shared key needs to be packed after encryption, because The data volume that WiFi Aware are sent every time is not especially big, cryptographically uses the side such as fairly simple encrypting keyboard Method, to coordinate WiFi Aware traffic volume to limit, can also be extended according to actual conditions.
In S100 steps of the embodiment of the present invention, i.e. user need to only open the focus of the first mobile terminal and share menu, select Packing can be encrypted to the Wi-Fi hotspot configuration information shared in advance automatically in the Wi-Fi hotspot shared in advance, the first mobile terminal.
S200, the first mobile terminal opens WiFi Aware functions, is had turned on according to the detection of WiFi Aware protocol specifications Second mobile terminal of WiFi Aware functions, and set up physical connection group with second mobile terminal.
S200 is specifically included:
S201, the first mobile terminal opens WiFi Aware functions, is nearby had turned on according to the detection of WiFi Aware protocol specifications Second mobile terminal of WiFi Aware functions.
In step S201, user is chosen after the pre- Wi-Fi hotspot shared, and the first mobile terminal has automatically turned on WiFi Aware functions, and the equipment for nearby having turned on WiFi Aware functions is detected according to WiFi Aware protocol specifications, and build therewith Vertical physical connection group.
S202, user is by operating the second mobile terminal, and selection receives Wi-Fi hotspot configuration information, and the second mobile terminal is certainly It is dynamic to start WiFi Aware functions, and detected according to WiFi Aware protocol specifications and nearby to have turned on the of WiFi Aware functions One mobile terminal.
, it is necessary to which the second mobile terminal for receiving Wi-Fi hotspot configuration information opens UI in step S202, selection receives WiFi Focus configuration information, the second mobile terminal meeting automatic start WiFi Aware functions, and visited according to WiFi Aware protocol specifications Survey the equipment for nearby having turned on WiFi Aware functions(Including the first mobile terminal), and physical connection group is set up therewith.
S203, the first mobile terminal and the second mobile terminal set up physical connection group by WiFi Aware functions.
Now, the second mobile terminal and the first mobile terminal have existed together a connection group set up by WiFi Aware In.
In S200 steps of the embodiment of the present invention, the first mobile terminal automatically turns on WiFi Aware functions, and the second movement is eventually End need user to operate, selection receive after Wi-Fi hotspot configuration information automatically turn on WiFi Aware functions, the first mobile terminal and Second mobile terminal detects the equipment for nearby having turned on WiFi Aware functions according to WiFi Aware protocol specifications, and enters same One connection group according to the foundation of WiFi Aware protocol specifications.
S300, the first mobile terminal broadcasts the configuration for the Wi-Fi hotspot for having encrypted packing by WiFi Aware message interfaces Information;
In step of embodiment of the present invention S200, the first mobile terminal begin through WiFi Aware message interfaces broadcast encrypted beat The Wi-Fi hotspot configuration information of bag, and wait the feedback of opposite equip.;The configuration information bag acquiescence is named with SSID name.
S400, the configuration information of second the first mobile terminal of acquisition for mobile terminal broadcast and parsing, exist according to analysis result On second mobile terminal add Wi-Fi hotspot be attached, connection result is monitored, judge the second mobile terminal whether with The Wi-Fi hotspot successful connection that first mobile terminal is shared, and by whether the feedback of the information of successful connection gives the first mobile terminal.
S400 is specifically included:
S401, the second mobile terminal by service name filtering services information, and obtains the by WiFi Aware technical interfaces The information on services for carrying Wi-Fi hotspot information of one mobile terminal broadcast.
In step S401, the second mobile terminal of the same connection group that existed together with the first mobile terminal passes through information on services Title is filtered to the information in connection group, and acquiescence only obtains the information on services named with SSID name.
S402, the second mobile terminal parses the information on services, according to the encryption type of Wi-Fi hotspot, reads corresponding match somebody with somebody Confidence ceases.
In step S402, the second mobile terminal is carried out to the information on services for carrying Wi-Fi hotspot configuration information got Parsing, according to the encryption type of Wi-Fi hotspot, reads corresponding configuration information, corresponding decryption side is then passed through to shared key Formula parses the sensitive informations such as password, if the shared key than receiving is by encrypting keyboard, and the second movement is eventually End is then parsed with corresponding manner of decryption to the shared key of encrypting keyboard;It is noted that parse above Wi-Fi hotspot configuration information is non-dominant, and user can not read the configuration information of Wi-Fi hotspot by the second mobile terminal.
S403, the second mobile terminal is according to analysis result, and automatic addition Wi-Fi hotspot is simultaneously attached.
In step S403, the second mobile terminal is according to analysis result, and WiFi is warm in addition on the second mobile terminal automatically Point, and be attached according to the configuration information and Wi-Fi hotspot parsed.
S404, is monitored the connection between the second mobile terminal and Wi-Fi hotspot, judges whether successful connection, and will Monitoring information feeds back to the first mobile terminal.
The monitoring information is specifically included:
0:Successful connection;1:Authentification failure, password bad;2:Wi-Fi hotspot is not present, and does not search;3:Unknown error.
In step of embodiment of the present invention S403, the connection between the second mobile terminal and Wi-Fi hotspot is monitored, is judged whether Successful connection.
If successful connection, shown on the second mobile terminal by UI:0:Successful connection;If connection failure, Fail Type is shown by UI on two mobile terminals:1:Authentification failure, password bad;2:Wi-Fi hotspot is not present, and does not search for Arrive;3:Unknown error.And above-mentioned link information can be fed back to the first mobile terminal by the second mobile terminal automatically.
S500, the first mobile terminal receive the second mobile terminal whether the feedback information of successful connection.
In step of embodiment of the present invention S500, the first mobile terminal receive the second mobile terminal whether the feedback of successful connection Information, feedback information shown in the first mobile terminal by UI, corresponding display:0:Successful connection;1:Authentification failure, password is not Correctly;2:Wi-Fi hotspot is not present, and does not search;3:Unknown error.
Further, first mobile terminal is the side for sharing Wi-Fi hotspot password;The second terminal is to be divided The side for enjoying Wi-Fi hotspot password.
In summary, processing method is shared the invention discloses a kind of Wi-Fi hotspot password, including, the first mobile terminal will After the Wi-Fi hotspot configuration information encryption packing shared in advance, WiFi Aware functions are opened;Detection nearby has turned on WiFi Second mobile terminal of Aware functions, and set up physical connection group with the second mobile terminal;First mobile terminal passes through WiFi The configuration information of the Wi-Fi hotspot of packing has been encrypted in the broadcast of Aware message interfaces;Configuration information described in second acquisition for mobile terminal And parse, adding Wi-Fi hotspot on the second mobile terminal according to analysis result is attached and monitors, and judges the second movement eventually End whether the Wi-Fi hotspot successful connection shared with the first mobile terminal, and snoop results are fed back into the first mobile terminal;The One mobile terminal receives the feedback information of the second mobile terminal.What the present invention was provided shares processing method, passes through WiFi Aware Technology, only needs user to select corresponding menu, and mobile terminal can read from oneself WIFI hot spot configuration information with backstage, encrypts Corresponding information transmission is gone out by broadcast service after packing;Target device passes through after corresponding information on services is received Parsing corresponding informance simultaneously carries out the link information that decryption processing obtains WIFI hot spot, is realized by calling interface and shares Wi-Fi hotspot Automatic connection.The one-key sharing connection of Wi-Fi hotspot is realized through the above way, and cipher mode also ensure that WiFi The security of focus configuration information, provides users with the convenient.
Processing method is shared based on above Wi-Fi hotspot password, shares present invention also offers a kind of Wi-Fi hotspot password and is System, as shown in Fig. 2 including:
Sharing module 100, the configuration information for sharing Wi-Fi hotspot by WiFi Aware wireless technologys;Specific as above institute State.
Parse link block 200, configuration information and parsing for receiving the Wi-Fi hotspot that the sharing module is shared, root The Wi-Fi hotspot is connected according to analysis result;As detailed above.
The sharing module 100 is specifically included:
Wi-Fi hotspot configuration information arrange unit 101, for the first mobile terminal read share in advance Wi-Fi hotspot match somebody with somebody confidence Breath, the configuration information includes SSID name, encryption type, shared key, by the shared key encryption, with SSID Claim, encryption type is packed by predetermined format in the lump;As detailed above.
First WiFi Aware control units 102, the WiFi Aware functions for opening the first mobile terminal, are detected attached The nearly equipment for having turned on WiFi Aware functions, and set up with the second mobile terminal and be connected group;As detailed above.
Transmitting element 103, is broadcasted for the first mobile terminal by WiFi Aware message interfaces in the connection group Encrypt the configuration information of the Wi-Fi hotspot of packing;As detailed above.
Share result Tip element 104, for receive the second mobile terminal whether the feedback information of successful connection;Specifically such as It is upper described.
The parsing link block 200 is specifically included:
2nd WiFi Aware control units 201, for user by operating the second mobile terminal, selection receives Wi-Fi hotspot and matched somebody with somebody Confidence ceases, automatic opening WiFi Aware functions, neighbouring the first mobile terminal for having turned on WiFi Aware functions of detection, and with First mobile terminal sets up connection group;As detailed above.
Acquiring unit 202, for the second mobile terminal by WiFi Aware technical interfaces, is filtered using service name and taken Business information, and obtain the information on services for carrying Wi-Fi hotspot information of the first mobile terminal broadcast;As detailed above.
Resolution unit 203, the information on services is parsed for the second mobile terminal, according to the encryption type of Wi-Fi hotspot, Read corresponding configuration information;As detailed above.
Connection unit 204, for the second mobile terminal according to analysis result, adds Wi-Fi hotspot, and move with first automatically The Wi-Fi hotspot of dynamic terminals share is attached;As detailed above.
Monitoring unit 205, for monitoring the connection unit, judges whether successful connection, and by monitoring information Feed back to first mobile terminal;As detailed above.
The monitoring information 205 is specifically included:0:Successful connection;1:Authentification failure, password bad;2:Wi-Fi hotspot is not In the presence of not searching;3:Unknown error;As detailed above.
, it is necessary to explanation, the first mobile terminal and the second mobile terminal in the embodiment of the present invention, equally all include point Enjoy module 100 and parsing link block 200.
Based on above Wi-Fi hotspot password share system, present invention also offers a kind of mobile terminal, it includes taking up an official post Wi-Fi hotspot password share system described in meaning one, in addition to:
It is the first mobile terminal when sharing Wi-Fi hotspot password, using sharing module;It is when being shared Wi-Fi hotspot password Second mobile terminal, analytic application link block.
In summary, share processing method, system and mobile terminal the invention discloses a kind of Wi-Fi hotspot password, wrap Include, the first mobile terminal opens WiFi Aware functions by after the Wi-Fi hotspot configuration information shared in advance encryption packing;Detection is attached Closely the second mobile terminal of WiFi Aware functions is had turned on, and set up physical connection group with the second mobile terminal;First movement Terminal broadcasts the configuration information for the Wi-Fi hotspot for having encrypted packing by WiFi Aware message interfaces;Second acquisition for mobile terminal The configuration information is simultaneously parsed, and adding Wi-Fi hotspot on the second mobile terminal according to analysis result is attached and monitors, and sentences Disconnected second mobile terminal whether the Wi-Fi hotspot successful connection shared with the first mobile terminal, and snoop results are fed back to first Mobile terminal;First mobile terminal receives the feedback information of the second mobile terminal.What the present invention was provided shares processing method, passes through WiFi Aware technologies, only need user to select corresponding menu, and mobile terminal can be read from oneself WIFI hot spot with backstage and be matched somebody with somebody Confidence is ceased, and corresponding information transmission is gone out by broadcast service after encryption packing;Target device is receiving corresponding service letter After breath, by parsing corresponding informance and carrying out the link information that decryption processing obtains WIFI hot spot, realized by calling interface Share the automatic connection of Wi-Fi hotspot.The one-key sharing connection of Wi-Fi hotspot, and cipher mode are realized through the above way The security of Wi-Fi hotspot configuration information is ensure that, is provided users with the convenient.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can To be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention Protect scope.

Claims (10)

1. a kind of Wi-Fi hotspot password shares processing method, it is characterised in that including step,
A, the first mobile terminal reads the configuration information for the Wi-Fi hotspot shared in advance, and the configuration information is encrypted and packed;
B, the first mobile terminal opens WiFi Aware functions, and WiFi is had turned on according to the detection of WiFi Aware protocol specifications Second mobile terminal of Aware functions, and set up physical connection group with second mobile terminal;
C, the first mobile terminal broadcasts the configuration information for the Wi-Fi hotspot for having encrypted packing by WiFi Aware message interfaces;
D, wherein, the configuration information of second the first mobile terminal of acquisition for mobile terminal broadcast and parsing, according to analysis result the Wi-Fi hotspot is added on two mobile terminals to be attached, connection result is monitored, and judges the second mobile terminal whether with the The Wi-Fi hotspot successful connection that one mobile terminal is shared, and by whether the feedback of the information of successful connection gives the first mobile terminal;
E, the first mobile terminal receive the second mobile terminal whether the feedback information of successful connection.
2. Wi-Fi hotspot password according to claim 1 shares processing method, it is characterised in that the step A includes:
A1, the focus for operating the first mobile terminal according to user shares menu, gets current all Wi-Fi hotspot lists, institute Wi-Fi hotspot is stated to show with SSID name;
A2, the Wi-Fi hotspot shared in advance in the selection of the first mobile terminal is operated according to user;
A3, the first mobile terminal reads the configuration information of the pre- Wi-Fi hotspot shared, and the configuration information includes SSID Title, encryption type, shared key;
A4, the shared key encryption is packed by predetermined format in the lump with SSID name, encryption type.
3. Wi-Fi hotspot password according to claim 2 shares processing method, it is characterised in that the step B includes:
B1, the first mobile terminal opens WiFi Aware functions, is nearby had turned on according to the detection of WiFi Aware protocol specifications Second mobile terminal of WiFi Aware functions;
B2, is operated according to user, and selection receives Wi-Fi hotspot configuration information, the second mobile terminal automatic start WiFi Aware work( Can, and the first mobile terminal for nearby having turned on WiFi Aware functions is detected according to WiFi Aware protocol specifications;
B3, the first mobile terminal and the second mobile terminal set up physical connection group by WiFi Aware functions.
4. Wi-Fi hotspot password according to claim 3 shares processing method, it is characterised in that the step D includes:
D1, the second mobile terminal by service name filtering services information, and obtains first by WiFi Aware technical interfaces The information on services for carrying Wi-Fi hotspot information of mobile terminal broadcast;
D2, the second mobile terminal parses the information on services, according to the encryption type of Wi-Fi hotspot, reads corresponding with confidence Breath;
D3, the second mobile terminal is according to analysis result, and automatic addition Wi-Fi hotspot is simultaneously attached;
D4, is monitored the connection between the second mobile terminal and Wi-Fi hotspot, judges whether successful connection, and believe monitoring Breath feeds back to the first mobile terminal.
5. Wi-Fi hotspot password according to claim 4 shares processing method, it is characterised in that letter is monitored described in step D4 Breath is specifically included:
0:Successful connection;1:Authentification failure, password bad;2:Wi-Fi hotspot is not present, and does not search;3:Unknown error.
6. Wi-Fi hotspot password according to claim 4 shares processing method, it is characterised in that first mobile terminal To share a side of Wi-Fi hotspot password;Second mobile terminal is the side for being shared Wi-Fi hotspot password.
7. a kind of Wi-Fi hotspot password share system, it is characterised in that including:
Sharing module, the configuration information for sharing Wi-Fi hotspot by WiFi Aware wireless technologys;
Parse link block, configuration information and parsing for receiving the Wi-Fi hotspot that the sharing module is shared, according to parsing As a result the Wi-Fi hotspot is connected.
8. Wi-Fi hotspot password share system according to claim 7, it is characterised in that the sharing module is specifically wrapped Include:
Wi-Fi hotspot configuration information arranges unit, and the configuration information for the Wi-Fi hotspot shared in advance is read for the first mobile terminal, The configuration information includes SSID name, encryption type, shared key, by the shared key encryption, with SSID name, Encryption type is packed by predetermined format in the lump;
First WiFi Aware control units, the WiFi Aware functions for opening the first mobile terminal, detection has nearby been opened The equipment for opening WiFi Aware functions, and set up with the second mobile terminal and be connected group;
Transmitting element, packing has been encrypted for the first mobile terminal by WiFi Aware message interfaces in connection group broadcast Wi-Fi hotspot configuration information;
Share result Tip element, for receive the second mobile terminal whether the feedback information of successful connection.
9. Wi-Fi hotspot password share system according to claim 8, it is characterised in that the parsing link block is specific Including:
2nd WiFi Aware control units, for being operated according to user, selection receives Wi-Fi hotspot configuration information, automatically turns on WiFi Aware functions, detection nearby has turned on the first mobile terminal of WiFi Aware functions, and with the described first movement eventually Connection group is set up at end;
Acquiring unit, for the second mobile terminal by WiFi Aware technical interfaces, using service name filtering services information, And obtain the information on services for carrying Wi-Fi hotspot information of the first mobile terminal broadcast;
Resolution unit, the information on services is parsed for the second mobile terminal, according to the encryption type of Wi-Fi hotspot, reads correspondence Configuration information;
Connection unit, for the second mobile terminal according to analysis result, adds Wi-Fi hotspot, and divide with the first mobile terminal automatically The Wi-Fi hotspot enjoyed is attached;
Monitoring unit, for monitoring the connection unit, judges whether successful connection, and monitoring information is fed back into institute State the first mobile terminal;
The monitoring information is specifically included:0:Successful connection;1:Authentification failure, password bad;2:Wi-Fi hotspot is not present, not Search;3:Unknown error.
10. a kind of mobile terminal, it is characterised in that share including the Wi-Fi hotspot password described in claim 7-9 any one System, in addition to:
It is the first mobile terminal when sharing Wi-Fi hotspot password, using the sharing module;When being shared Wi-Fi hotspot password When be the second mobile terminal, using the parsing link block.
CN201710138884.0A 2017-03-09 2017-03-09 WiFi hotspot password sharing processing method and system and mobile terminal Active CN106973381B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710138884.0A CN106973381B (en) 2017-03-09 2017-03-09 WiFi hotspot password sharing processing method and system and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710138884.0A CN106973381B (en) 2017-03-09 2017-03-09 WiFi hotspot password sharing processing method and system and mobile terminal

Publications (2)

Publication Number Publication Date
CN106973381A true CN106973381A (en) 2017-07-21
CN106973381B CN106973381B (en) 2020-11-13

Family

ID=59329515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710138884.0A Active CN106973381B (en) 2017-03-09 2017-03-09 WiFi hotspot password sharing processing method and system and mobile terminal

Country Status (1)

Country Link
CN (1) CN106973381B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109041033A (en) * 2018-09-14 2018-12-18 杭州若奇技术有限公司 Smart machine distribution method and system based on RFID
WO2019051647A1 (en) * 2017-09-12 2019-03-21 深圳传音通讯有限公司 Method for sharing wifi password, first terminal, second terminal, and system
CN109803249A (en) * 2019-02-25 2019-05-24 努比亚技术有限公司 A kind of WIFI network sharing method, terminal and computer readable storage medium
CN109981420A (en) * 2017-12-27 2019-07-05 九阳股份有限公司 A kind of smart machine matches network method and smart machine
WO2019137310A1 (en) * 2018-01-10 2019-07-18 中兴通讯股份有限公司 Wireless fidelity aware group broadcasting method, core device, and member device
CN110113802A (en) * 2018-05-18 2019-08-09 上海连尚网络科技有限公司 A kind of method of the configuration information of shared wireless access point
CN110460995A (en) * 2018-05-07 2019-11-15 中国移动通信有限公司研究院 A kind of wireless connection method, internet of things equipment and client device
CN110691397A (en) * 2018-07-05 2020-01-14 腾讯科技(深圳)有限公司 WIFI sharing method, WIFI connection device and computer-readable storage medium
CN111182504A (en) * 2019-12-25 2020-05-19 广东科徕尼智能科技有限公司 Wi-Fi Aware-based Internet of things device communication method, device and storage medium
CN111194070A (en) * 2019-12-24 2020-05-22 腾讯科技(深圳)有限公司 Wireless network processing and access method, device, system, storage medium and equipment
CN111684778A (en) * 2018-05-31 2020-09-18 华为技术有限公司 Application function implementation method and electronic equipment
CN112422313A (en) * 2020-09-29 2021-02-26 漳州立达信光电子科技有限公司 Pairing method based on upper computer and related device
WO2022105028A1 (en) * 2020-11-19 2022-05-27 美的集团股份有限公司 Network configuration method and apparatus for internet of things device
WO2022116974A1 (en) * 2020-12-04 2022-06-09 华为技术有限公司 Access method and system and electronic device
CN114650613A (en) * 2020-12-18 2022-06-21 美的集团股份有限公司 Equipment network distribution method and device, electronic equipment and storage medium
CN116320590A (en) * 2020-08-27 2023-06-23 荣耀终端有限公司 Information sharing method, system, terminal equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724668A (en) * 2012-06-15 2012-10-10 惠州Tcl移动通信有限公司 Method and system for sharing WIFI (wireless fidelity) network information on basis of two-dimensional code graphs
CN104955169A (en) * 2015-05-26 2015-09-30 上海摩软通讯技术有限公司 Network based on Wi-Fi (wireless fidelity) Direct and communication method of network
CN105141706A (en) * 2015-10-15 2015-12-09 丹阳伦图电子技术有限公司 ESL system for realizing content pushing based on Wi-Fi Aware
CN105635945A (en) * 2015-12-24 2016-06-01 Tcl集团股份有限公司 Device communication method and system based on WI-FI Aware
US20160241433A1 (en) * 2015-02-12 2016-08-18 Intel Corporation Apparatus, system and method of communicating in an awareness cluster
CN105897691A (en) * 2016-03-24 2016-08-24 美的集团股份有限公司 Method, apparatus, and system for connection of IoT device to network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724668A (en) * 2012-06-15 2012-10-10 惠州Tcl移动通信有限公司 Method and system for sharing WIFI (wireless fidelity) network information on basis of two-dimensional code graphs
US20160241433A1 (en) * 2015-02-12 2016-08-18 Intel Corporation Apparatus, system and method of communicating in an awareness cluster
CN104955169A (en) * 2015-05-26 2015-09-30 上海摩软通讯技术有限公司 Network based on Wi-Fi (wireless fidelity) Direct and communication method of network
CN105141706A (en) * 2015-10-15 2015-12-09 丹阳伦图电子技术有限公司 ESL system for realizing content pushing based on Wi-Fi Aware
CN105635945A (en) * 2015-12-24 2016-06-01 Tcl集团股份有限公司 Device communication method and system based on WI-FI Aware
CN105897691A (en) * 2016-03-24 2016-08-24 美的集团股份有限公司 Method, apparatus, and system for connection of IoT device to network

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019051647A1 (en) * 2017-09-12 2019-03-21 深圳传音通讯有限公司 Method for sharing wifi password, first terminal, second terminal, and system
CN109981420A (en) * 2017-12-27 2019-07-05 九阳股份有限公司 A kind of smart machine matches network method and smart machine
WO2019137310A1 (en) * 2018-01-10 2019-07-18 中兴通讯股份有限公司 Wireless fidelity aware group broadcasting method, core device, and member device
CN110460995A (en) * 2018-05-07 2019-11-15 中国移动通信有限公司研究院 A kind of wireless connection method, internet of things equipment and client device
CN110113802A (en) * 2018-05-18 2019-08-09 上海连尚网络科技有限公司 A kind of method of the configuration information of shared wireless access point
CN111684778A (en) * 2018-05-31 2020-09-18 华为技术有限公司 Application function implementation method and electronic equipment
US11864248B2 (en) 2018-05-31 2024-01-02 Huawei Technologies Co., Ltd. Application function implementation method and electronic device
CN111684778B (en) * 2018-05-31 2023-05-12 华为技术有限公司 Implementation method of application function and electronic equipment
US11452151B2 (en) 2018-05-31 2022-09-20 Huawei Technologies Co., Ltd. Application function implementation method and electronic device
CN110691397B (en) * 2018-07-05 2021-10-22 腾讯科技(深圳)有限公司 WIFI sharing method, WIFI connection device and computer-readable storage medium
CN110691397A (en) * 2018-07-05 2020-01-14 腾讯科技(深圳)有限公司 WIFI sharing method, WIFI connection device and computer-readable storage medium
CN109041033A (en) * 2018-09-14 2018-12-18 杭州若奇技术有限公司 Smart machine distribution method and system based on RFID
CN109803249A (en) * 2019-02-25 2019-05-24 努比亚技术有限公司 A kind of WIFI network sharing method, terminal and computer readable storage medium
CN111194070A (en) * 2019-12-24 2020-05-22 腾讯科技(深圳)有限公司 Wireless network processing and access method, device, system, storage medium and equipment
CN111182504B (en) * 2019-12-25 2023-09-15 广东好太太智能家居有限公司 Wi-Fi Aware-based Internet of things equipment communication method, equipment and storage medium
CN111182504A (en) * 2019-12-25 2020-05-19 广东科徕尼智能科技有限公司 Wi-Fi Aware-based Internet of things device communication method, device and storage medium
CN116320590A (en) * 2020-08-27 2023-06-23 荣耀终端有限公司 Information sharing method, system, terminal equipment and storage medium
CN116320590B (en) * 2020-08-27 2024-03-22 荣耀终端有限公司 Information sharing method, system, terminal equipment and storage medium
US11977932B2 (en) 2020-08-27 2024-05-07 Honor Device Co., Ltd. Information sharing method and apparatus, terminal device, and storage medium
CN112422313B (en) * 2020-09-29 2023-10-17 漳州立达信光电子科技有限公司 Pairing method based on upper computer and related device
CN112422313A (en) * 2020-09-29 2021-02-26 漳州立达信光电子科技有限公司 Pairing method based on upper computer and related device
WO2022105028A1 (en) * 2020-11-19 2022-05-27 美的集团股份有限公司 Network configuration method and apparatus for internet of things device
WO2022116974A1 (en) * 2020-12-04 2022-06-09 华为技术有限公司 Access method and system and electronic device
CN114650613A (en) * 2020-12-18 2022-06-21 美的集团股份有限公司 Equipment network distribution method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN106973381B (en) 2020-11-13

Similar Documents

Publication Publication Date Title
CN106973381A (en) A kind of Wi-Fi hotspot password shares processing method, system and mobile terminal
WO2017041675A1 (en) Method for sending and acquiring wifi networking information and corresponding apparatus
CN106332085B (en) Configuration method of WIFI network of Internet of things, Internet of things terminal and routing terminal
KR101629118B1 (en) A method and a device of authentication in the converged wireless network
EP3131322B1 (en) Virtual card downloading method and terminal
US20140337950A1 (en) Method and Apparatus for Secure Communications in a Wireless Network
KR100547855B1 (en) Secure communication system and method of a composite mobile communication terminal having a local area communication device
US20070083470A1 (en) Architecture that manages access between a mobile communications device and an IP network
CN100574222C (en) Communication equipment and communication means
EP2355585A1 (en) Method for connecting wireless communications, wireless communications terminal and wireless communications system
CN102739642A (en) Permitting access to a network
CN101409871B (en) Long-distance remote-control method, system and remote-control device
CN102695168A (en) Terminal equipment, encrypted gateway and method and system for wireless network safety communication
JP2011097437A (en) Communication system, mobile terminal of the system, and center of the system
CN106131834A (en) Method for connecting network, network connection device and terminal
CN102075929B (en) Access authentication method, gateway and system for smart home system
CN111770588B (en) Method and system for quickly establishing wireless connection with wireless router
CN104796891A (en) Security certification system by means of service provider's network and corresponding method
CN107613572A (en) A kind of connection method of wireless signal and system
CN114615688A (en) Close-distance automatic configuration method between WiFi hotspot device and current access device
CN108990052B (en) Method for detecting WPA2 protocol vulnerability
CN110557753A (en) DNS redirection method based on relay access
CN111163468A (en) Communication connection method and device
CN110493786B (en) Method and device for intelligently connecting electronic equipment with network and storage medium
CN109981420B (en) Intelligent device network distribution method and intelligent device

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240108

Address after: 518000, 109-111, Building 17, Maker Town, No. 4109 Liuxian Avenue, Pingshan Community, Taoyuan Street, Nanshan District, Shenzhen, Guangdong Province

Patentee after: Yuanyuan (Shenzhen) Technology Transfer Co.,Ltd.

Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right