CN110167027A - A kind of method, equipment and storage medium obtaining wireless access point access pin - Google Patents

A kind of method, equipment and storage medium obtaining wireless access point access pin Download PDF

Info

Publication number
CN110167027A
CN110167027A CN201910436350.5A CN201910436350A CN110167027A CN 110167027 A CN110167027 A CN 110167027A CN 201910436350 A CN201910436350 A CN 201910436350A CN 110167027 A CN110167027 A CN 110167027A
Authority
CN
China
Prior art keywords
user
access point
wireless access
client
access pin
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
CN201910436350.5A
Other languages
Chinese (zh)
Other versions
CN110167027B (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.)
Shanghai Shangxiang Network Technology Co.,Ltd.
Original Assignee
Shanghai Lianshang Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Lianshang Network Technology Co Ltd filed Critical Shanghai Lianshang Network Technology Co Ltd
Priority to CN201910436350.5A priority Critical patent/CN110167027B/en
Publication of CN110167027A publication Critical patent/CN110167027A/en
Application granted granted Critical
Publication of CN110167027B publication Critical patent/CN110167027B/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/03Protecting confidentiality, e.g. by encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point

Abstract

The application provides a kind of method, equipment and storage medium for obtaining wireless access point access pin, is related to network technique field.The described method includes: the first client receives the connection request for the wireless access point that the first user sends, there are attaching relations with second user for wireless access point;It sends addition good friend to request to the second client of second user, and when adding successfully to the access pin of the second client request wireless access point;Wireless access point is connected according to access pin.In the technical program, under the premise of ensuring the equity of second user, enables the connection network of first user's safe and convenient, realize network share;And the first user and second user establish friend relation, may advantageously facilitate the network share between subsequent user.

Description

A kind of method, equipment and storage medium obtaining wireless access point access pin
Technical field
The present invention relates to network technique field more particularly to a kind of method, equipment for obtaining wireless access point access pin And storage medium.
Background technique
Wireless network carries key player in the work and life of people, currently, the connection type master of wireless network It include: that one, user is manually entered the connection that access pin carries out wireless network;Two, nothing is connected by third party's networking platform Gauze network, wherein third party's networking platform is stored with the access pin of a large amount of wireless access point, and there is no need to users to be manually entered Access pin.
Currently there is also a large amount of wireless network, these wireless network Homes in individual, and third party's networking platform not Its access pin is stored, therefore, other users can not connect these networks when not obtaining license.However, these wireless networks The individual of ownership is often ready the network share of oneself to good friend, therefore, effectively realizes the shared of these wireless networks, energy Enough meet the online demand of certain user.
Summary of the invention
In view of this, this application provides a kind of method, equipment and storage medium for obtaining wireless access point access pin, It is intended to solve one of the technical problem in above-mentioned technical problem at least in the first degree.
To achieve the above object, the application first aspect provides a kind of method for obtaining wireless access point access pin, It is characterized in that, is applied to the first client, is logged in the first user in the first client, comprising:
Receive the connection request that the first user selects the first wireless access point of connection, first wireless access point and second There are attaching relations by user;
Judge the first user and second user with the presence or absence of friend relation;
If it does not exist, then good friend is sent to the second user and add request, and if it exists, then request to the second user The access pin of first wireless access point.
Optionally, further includes:
Receive the access pin for first wireless access point that the second user is sent;
First wireless access point is connected according to the access pin.
Optionally, the first user of the judgement and second user whether there is friend relation, comprising:
It is identified according to the hot spot of the user identifier of first user and first wireless access point, sends friend relation For inquiry request to server-side, the server-side is stored with the use of the hot spot mark and home subscriber of one or more wireless access point The corresponding relationship of family mark, and the corresponding relationship of the user identifier between the user of friend relation has been established;
Receive the query result that the server-side is sent;
Judge the first user and second user with the presence or absence of friend relation according to the query result.
Optionally, judge the first user and second user with the presence or absence of friend relation, comprising:
The user identifier of the second user is requested to server-side;
Obtain the user identifier of the second user;
Judge the first user and second user with the presence or absence of friend relation according to the user identifier of the second user.
Optionally, the access pin that first wireless access point is requested to the second user, comprising:
It sends and obtains password request to second client;
The access for showing that second client is sent in the dialog box of first user and the second user is close Code.
It is optionally, described that first wireless access point is connected according to the access pin, comprising:
The access pin is identified in the dialog box;
According to the access pin identified, first wireless access point is connected.
Optionally, the access pin is access pin ciphertext, described to connect first nothing according to the access pin Line access point, comprising:
The access pin ciphertext is decrypted, obtains access pin in plain text;
First wireless access point is connected in plain text according to the access pin.
Optionally, before the connection request for receiving the first user selection the first wireless access point of connection, further includes:
Wireless access point around scanning;
It is identified according to the hot spot of the wireless access point of scanning, sends hot spot tag queries and request to server-side, the hot spot Label is used to identify whether wireless access point to be the attachable access of user that the second user belonged to it establishes friend relation Point;
Receive the hot spot label that the server-side is sent;
By the hot spot mark display corresponding with the hot spot label of the wireless access point of scanning.
To achieve the above object, the application second aspect provides a kind of method for sending wireless access point access pin, It is characterized in that, is applied to the second client, comprising:
The addition good friend request of the first client transmission is received, the addition good friend requests the company based on the first wireless access point It connects request and sends, there are attaching relations for the second user logged in first wireless access point and the second client;
Adding the first user is good friend;
The acquisition password request that first user sends is received, the access pin of first wireless access point is obtained;
The access pin is sent to first user.
Optionally, the first user of the addition is good friend, comprising:
Show the addition good friend request, when information is added in the confirmation for receiving the second user, addition first is used Family is good friend.
Optionally, before the transmission access pin is to first user, further includes:
Judge whether the access pin is that ciphertext is sent, and when the judgment result is yes, is encrypted to the access pin Obtain access pin ciphertext;
It is described to send the access pin to first user, comprising: to send the access pin ciphertext to described the One user.
Optionally, before the transmission access pin ciphertext is to first user, further includes:
Obtain the permit bandwidth that first user connects the wireless access point;
After the transmission access pin ciphertext is to first client, further includes:
Judge that first client connects whether the bandwidth that the wireless access point occupies is more than the permit bandwidth, and When the judgment result is yes, speed limit is carried out to first client.
Optionally, before the transmission access pin ciphertext is to first client, further includes:
Obtain the license connection duration of the wireless access point;
After the transmission access pin ciphertext is to first client, further includes:
Judge whether first client is successfully connected first wireless access point in license connection duration, And when the judgment result is No, connection time-out information is sent to first client.
To achieve the above object, the application third aspect provides a kind of electronic equipment, including memory and processor;
It is stored with computer program on the memory, when the computer program is executed by the processor, realizes such as Method provided by the application first aspect or second aspect.
To achieve the above object, the application fourth aspect provides a kind of computer readable storage medium, is stored thereon with meter Calculation machine program when the computer program is executed by processor, is realized as provided by the application first aspect or second aspect Method.
In the technical solution of the application, second user is belonged in the first user connection and is managed independently by second user When the wireless access point of access pin, by the first client to the second client send addition good friend request, and addition at The access pin of wireless access point is obtained after function to second user, to belong to the nothing of second user according to access pin connection Line access point;Should during, under the premise of ensuring the equity of second user, enable the company of first user's safe and convenient Network is connect, network share is realized;And the first user and second user establish friend relation, may advantageously facilitate subsequent user Between network share.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the application Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Attached drawing 1 is a kind of process of the method for acquisition wireless access point access pin that some embodiments of the application provide Figure;
Attached drawing 2 is the display interface schematic diagram of wireless access point and hot spot label;
Attached drawing 3 is the display interface schematic diagram of good friend's address list of the first user;
Attached drawing 4 is a kind of process of the method for acquisition wireless access point access pin that some embodiments of the application provide Figure;
Attached drawing 5 is that a kind of structure of the device for acquisition wireless access point access pin that some embodiments of the application provide is shown It is intended to;
Attached drawing 6 is that a kind of structure of the device for acquisition wireless access point access pin that some embodiments of the application provide is shown It is intended to;
Attached drawing 7 is the structural schematic diagram for a kind of electronic equipment that some embodiments of the application provide.
Specific embodiment
The illustrative embodiments of the disclosure are more fully described below with reference to accompanying drawings.Although showing this public affairs in attached drawing The illustrative embodiments opened, it being understood, however, that may be realized in various forms the disclosure without the reality that should be illustrated here The mode of applying is limited.It is to be able to thoroughly understand the disclosure on the contrary, providing these embodiments, and can be by this public affairs The range opened is fully disclosed to those skilled in the art.
The embodiment of the present application belongs to individual for those, and in third party's networking platform mainly in the related technology The wireless network of not stored access pin, other users can not connect these networks when not obtaining license, how effective real These existing wireless networks it is shared, the problem of online demand to meet certain user.
In this regard, the application provides a kind of method for obtaining wireless access point access pin, to be incited somebody to action in this method convenient for distinguishing There is the user of networking requirements to be known as the first user, the networking applications client that the first user possesses is known as the first client;It will The user that wireless access point is belonged to, wherein the user that wireless access point is belonged to is known as second user, including wireless network Owner and other possess user of hot spot password, such as other members of family etc., the networking application visitor that second user is possessed Family end is known as the second client.Second user is belonged in the first user connection and access pin is managed independently by second user Wireless access point when, by the first client to the second client send addition good friend request, establish the first user and second The friend relation of user, and then the access pin for obtaining wireless access point connects wireless network;In the power for ensuring second user Under the premise of benefit, enable the connection network of first user's safe and convenient, realizes network share;And the first user and the Two users establish friend relation, may advantageously facilitate the network share between subsequent user.Wherein, the meaning of " ownership " are as follows: the Two users hold the second client with specific wireless access point, and the referred to as wireless access point belongs to second user, i.e., There are attaching relations with second user for the wireless access point.
Below in conjunction with attached drawing, it is situated between to the method provided by the present application for obtaining wireless access point access pin, equipment and storage Matter is described in detail.
Fig. 1 is a kind of flow chart of the method for acquisition wireless access point access pin that some embodiments of the application provide, Applied to the first client, as shown in Figure 1, the method for obtaining wireless access point access pin includes:
Step 101: receiving the connection request that the first user selects the first wireless access point of connection, first wireless access There are attaching relations with second user for point;
In some embodiments of the present application, before step 101 further include:
Step A1: the wireless access point of surrounding is scanned;
Step A2: identifying according to the hot spot of the wireless access point of scanning, sends hot spot tag queries and requests to server-side;
In some embodiments of the embodiment of the present application, there is the hot spot mark of one or more wireless access point in server With the corresponding relationship of hot spot label.Wherein, hot spot mark include SSID (English: Service Set Identifier, Chinese: Service set), BSSID (English: BasicService Set Identifier, Chinese: Basic Service Set Identification), hot spot Title etc..Hot spot label be used to identify wireless access point whether be the second user belonged to it establish the user of friend relation can The hot spot of connection;Specifically, hot spot label can classify, including being the heat that can be directly connected to for identifying wireless access point The access pin that point label, i.e. server-side have wireless access point, the hot spot label are, for example, that " can be directly connected to, freely connect It connects ";It is the hot spot label without password for identifying wireless access point, which is, for example, " free connection ";For identifying It belongs to second user and has the hot spot label of access pin, i.e., wireless access point is that the second user belonged to it establishes good friend The attachable hot spot of the user of relationship, the hot spot label are, for example, " plusing good friend connection ".
Further, when server-side receives the request of hot spot tag queries, include according to the request of hot spot tag queries Hot spot mark obtains hot spot label in the corresponding relationship of hot spot mark and hot spot label, and hot spot is identified and hot spot label Correspondence is sent to the first client.For example, being sent to the first client for hotspot name is corresponding with hot spot label.
Step A3: the hot spot label that server-side is sent is received;
Specifically, receiving the hot spot mark and corresponding hot spot label that server-side is sent.
Step A4: the first user is shown to by the hot spot of the wireless access point of scanning mark is corresponding with hot spot label.
The schematic diagram of display interface, as shown in Fig. 2, the first user can be with upward sliding display interface, to show other The hot spot mark of the wireless access point scanned and hot spot label, the first user can also click one of wireless access point, Connection request is sent to the first client.
Correspondingly, step 101 can specially receive the hot spot label that the first user selects in display interface " to add The connection request of the wireless access point of friend's connection ".
Step 102: judging the first user and second user with the presence or absence of friend relation;If it does not exist, then to described second User sends good friend and adds request, and if it exists, the access pin of first wireless access point is then requested to the second user.
In one embodiment, judging that the first user and second user whether there is friend relation includes: according to first The hot spot mark of the user identifier of user and the wireless access point of the first user selection, sends friend relation inquiry request to service End receives the query result that server-side is sent;It is determined according to query result and does not set up good friend between the first user and second user Relationship.
Wherein, server-side storage hot information table and good friend's relation table;It include one or more wireless in hot information table The corresponding relationship of the hot spot mark and the user identifier of home subscriber of access point;It include that friend relation has been established in friend relation table User user identifier corresponding relationship;When server-side receives friend relation inquiry request, inquired according to friend relation The hot spot mark that request includes, searches the user identifier of corresponding second user in hot information table;According to second user User identifier, judge in friend relation table whether the use that the user identifier containing second user and friend relation inquiry request include The corresponding relationship of family mark sends query result to the first client.
In another embodiment, judge the first user and second user with the presence or absence of friend relation, comprising: to service The user identifier for the second user that end the first wireless access point of request is belonged to;Obtain the user identifier of second user;According to institute The user identifier of the user identifier and acquired second user of stating the first user judges whether the first user deposits with second user In friend relation.
Wherein, the first client stores friend relation table, includes the user that friend relation has been established in friend relation table User identifier judges whether the user containing second user marks in friend relation table thus according to the user identifier of second user Know, obtains the first user and second user whether there is the query result of friend relation.
Further, it is determined in the first client according to query result and good friend has been established between the first user and second user When relationship, then directly to the access pin of the second client request wireless access point.
Further, before the access pin to the second client request wireless access point, further includes: receive the second visitor The addition successful information that family end is sent.
In some embodiments of the present application, to the access pin of the second client request wireless access point, comprising:
It sends and obtains password request to the second client, described the is shown in the dialog box of the first user and second user The access pin that two clients are sent.
Specifically, the address list of the first user of display, selects to need to obtain access in address list for the first user close The second user of code, and when receiving the second user of the first user selection sends and obtains password request to the second client, The access pin of the second client transmission is received, and shows that the second client is sent out in the dialog box of the first user and second user The access pin sent.Wherein, the display interface of address list inquires password as shown in figure 3, each good friend connection corresponds to a key per capita Control, when the first user clicks one of control, the first client sends acquisition password to corresponding second client and asks It asks.
Step 103: wireless access point is connected according to the access pin of acquisition.
Specifically, intercept access pin in the dialog box of the first user and second user, according to the access pin of interception, Connect wireless access point.
In some embodiments of the present application, according to the access pin of interception, wireless access point is connected, comprising: will intercept Access pin be input in Password Input frame, when receiving the confirmation message of the first user, access pin is sent to institute In the system of terminal device, so that the system of place terminal device connects wireless access point according to access pin.
In other embodiments of the application, according to the access pin of interception, wireless access point is connected, comprising: will connect Enter the system of terminal device where password is sent to, so that the system of place terminal device connects wireless access according to access pin Point.
In some embodiments of the present application, the access pin that the second client is sent is access pin ciphertext, step 103 Further include:
Access pin ciphertext is decrypted, obtains access pin in plain text;
Wireless access point is connected in plain text according to access pin.
Further, when the access pin that the second client is sent is access pin ciphertext, second user can also be set License connection duration is set, and when the first client connects wireless access point not successfully in license connection duration, sends connection Time-out information gives the first client;Correspondingly, method further include:
Receive the connection time-out information of the second client transmission;
Empty the access pin of the display in the dialog box of the first user and second user.
The access pin of display in dialog box by emptying the first user and second user in time as a result, avoids The access pin is stolen, and makes the phenomenon that second user is by security threat generation, improves network security.
In some embodiments of the present application, wireless access point success is connected according to access pin in the first client It afterwards, can also include: to beat reward second user.Wherein, the form for beating reward is for example given gifts object, is carried out beating for virtual coin and is appreciated etc..
In some embodiments of the present application, before step 101, further includes: receive the registration that the first user sends and ask It asks, complete the Account Registration of the first user and shows registering result.
Second user is belonged in the first user connection as a result, and the wireless of access pin is managed independently by second user When access point, addition good friend's request is sent to the second client by the first client, and to second user after adding successfully The access pin of wireless access point is obtained, to belong to the wireless access point of second user according to access pin connection;The mistake Cheng Zhong enables the connection network of first user's safe and convenient under the premise of ensuring the equity of second user, realizes Network share;And the first user and second user establish friend relation, and the network that may advantageously facilitate between subsequent user is total It enjoys.
Attached drawing 4 is a kind of method for acquisition wireless access point access pin that some embodiments of the application provide, and is applied to Second client, as shown in figure 4, the method for obtaining wireless access point access pin includes:
Step 201: the addition good friend request that the first client of reception is sent, wherein addition good friend's request is based on wirelessly connecing The connection request of access point and send, there are attaching relations with second user for first wireless access point;
Specifically, being sent when the first client receives the connection request of the wireless access point of the first user transmission Addition good friend requests to the second client, after the first user and second user establish friend relation, obtains to second user Take the access pin for belonging to the wireless access point of second user.
Step 202: the first user of addition is good friend;
Specifically, the addition good friend request that display receives, and when information is added in the confirmation for receiving second user, add Adding the first user is good friend.
In some embodiments of the present application, the first user of addition is after good friend, further includes: sends addition successful information To the first client.
Step 203: receiving the acquisition password request that the first client is sent, obtain the access pin of wireless access point;
In some embodiments of the present application, the access pin for obtaining wireless access point includes: to obtain second user input Access pin;Wherein it is possible to the access pin of second user input is obtained in the dialog box of the first user and second user, It can also show access pin input frame, obtain the access pin that second user inputs in access pin input frame.
In other embodiments of the application, the access pin for obtaining wireless access point includes: to obtain itself to store The access pin of wireless access point.
Step 204: sending access pin to the first client, so that the first client wirelessly connects according to access pin connection Access point.
In some embodiments of the present application, can also include: before step 204
Judge whether the access pin obtained is that ciphertext is sent, and when the judgment result is yes, is obtained to access password encryption To access pin ciphertext;
Specifically, the second client receives when obtaining access pin request, the meeting of the first user and second user are shown Frame is talked about, which includes the option control that access pin sends form, selects access pin in plain text for second user It sends or ciphertext is sent;Alternatively, the second client receives when obtaining access pin request, access pin input frame is shown, The access pin input frame interface includes the option control that access pin sends form, and it is bright for selecting access pin for second user Text is sent or ciphertext is sent.Correspondingly, the trigger event of the second client monitors option control, and monitoring trigger event When, judge that the corresponding access pin of the trigger event of monitoring sends whether form is ciphertext transmission, and when the judgment result is yes, After getting access pin, access pin ciphertext is obtained to access password encryption.Correspondingly, step 204 includes: to send access Cryptographic secret gives the first client.
In some embodiments of the present application, the first client is sent to ciphertext form in second user selection access pin When end, the permit bandwidth of the first client connection wireless access point can also be arranged in second user;Correspondingly, sending access pin Ciphertext is given before the first client, further includes: obtains the license connection duration of wireless access point;
After sending access pin ciphertext to the first client, further includes: judge that the first client connects wireless access Whether the bandwidth that point occupies is more than permit bandwidth, and when the judgment result is yes, carries out speed limit to the first client.
In some embodiments of the present application, the first client is sent to ciphertext form in second user selection access pin When end, the license connection duration of the first client connection wireless access point can also be arranged in second user;Correspondingly, sending access Cryptographic secret is given before the first client, further includes: obtains the license connection duration of wireless access point;
After sending access pin ciphertext to first client, further includes:
Judge whether the first client is successfully connected wireless access point in license connection duration, and is no in judging result When, connection time-out information is sent to the first client.
In other embodiments of the application, access pin is selected to be sent to the first visitor with ciphertext form in second user When the end of family, when the permit bandwidth and license connection of the first client connection wireless access point can also be arranged in second user simultaneously It is long, correspondingly, before sending access pin ciphertext to the first client, further includes: obtain wireless access point permit bandwidth and License connection duration;
After sending access pin ciphertext to first client, further includes:
Step B1: whether the bandwidth for judging that the first client connection wireless access point occupies is more than permit bandwidth, is then right First client carries out speed limit, no to then follow the steps B2;
Step B2: whether the duration for judging the first client connection wireless access point is more than license connection duration, is to send out It send connection time-out information to the first client, terminates;Otherwise return step B1.
In some embodiments of the present application, after step 204, further includes: receive and beat reward from the first client.
In some embodiments of the present application, before step 201, further includes: receive the registration that second user is sent and ask It asks, complete the Account Registration of second user and shows registering result.
The second client is used in the addition good friend request for receiving the transmission of the first client by addition first as a result, Family is good friend, and in the acquisition access pin request for receiving the transmission of the first client, by the access pin of wireless access point It is sent to the first client, under the premise of ensuring the equity of second user, enables the company of first user's safe and convenient Upper network, realizes network share;And second user and the first user establish friend relation, may advantageously facilitate subsequent user Between network share.
It is a kind of method for obtaining wireless access point access pin provided by the embodiments of the present application above, with above method phase It is corresponding, the present invention also provides a kind of network connection device, the implementation and the above method solved the problems, such as due to described device It is similar, therefore the content with method partial response, the detailed description that reference can be made to the above method embodiment are subsequent not repeat them here. It is understood that device provided by the present application may include the unit or mould for being able to carry out each step in above method example Block, these units or module can realize that the present invention does not limit by way of hardware, software or soft or hard combination.Below It is specifically described in conjunction with attached drawing 5 and attached drawing 6.
Attached drawing 5 is a kind of structural schematic diagram for network connection device that some embodiments of the application provide, and is applied to first Client, as shown in figure 5, network connection device includes:
Receiving module 301, the connection request of the wireless access point for receiving the first user transmission, wherein wireless access point For the attachable hot spot of user for establishing friend relation with its second user belonged to;
Sending module 302 is requested for sending addition good friend to the second client;
Obtain module 303, for add good friend success when to the second client request wireless access point access pin;
Link block 304, for connecting wireless access point according to access pin.
Wherein, sending module 302 are not set up between the first user and second user specifically for determining in determining module After friendly relationship, sends addition good friend and request to the second client.
In some embodiments of the present application, further includes determining module, is specifically used for:
It is identified according to the hot spot of the user identifier of the first user and wireless access point, sends friend relation inquiry request to clothes Business end, wherein server-side is stored with pair of the hot spot mark and the user identifier of home subscriber of one or more wireless access point It should be related to, and the corresponding relationship of the user identifier of the user of friend relation has been established;
Receive the query result that server-side is sent;
It is determined according to query result and does not set up friend relation between the first user and second user.
Determining module can be also used for:
The user identifier for the second user for requesting the first wireless access point to be belonged to server-side;Obtain the use of second user Family mark;The first user and the is judged according to the user identifier of the user identifier of first user and acquired second user Two users whether there is friend relation.Wherein, the first client stores friend relation table, includes well-established in friend relation table The user identifier of the user of friendly relationship judges whether contain in friend relation table thus according to the user identifier of second user The user identifier of two users, obtains the first user and second user whether there is the query result of friend relation.
In some embodiments of the present application, obtains module 303 and is specifically used for:
It sends and obtains password request to the second client;
The access pin that the second client is sent is shown in the dialog box of the first user and second user.
In some embodiments of the present application, link block 304 is specifically used for:
Access pin is intercepted in the dialog box of the first user and second user;
According to the access pin of interception, wireless access point is connected.
In some embodiments of the present application, access pin is access pin ciphertext, and link block 304 is also used to:
Access pin ciphertext is decrypted, obtains access pin in plain text;
Wireless access point is connected in plain text according to access pin.
In some embodiments of the present application, receiving module 301 is also used to: receiving the connection time-out that the second client is sent Information;
Device further include: module is removed, for receiving the connection time-out information that the second client is sent in receiving module 301 When, empty the access pin in dialog box.
In some embodiments of the present application, device further include: scan module and display module;
Scan module, for receiving module 301 receive the first user send wireless access point connection request before, Wireless access point around scanning;
Sending module 302 is also used to be identified according to the hot spot of the wireless access point of scanning, sends the request of hot spot tag queries To server-side, wherein hot spot label is for identifying whether wireless access point is that the second user belonged to it establishes friend relation The attachable hot spot of user;
Receiving module 301 is also used to receive the hot spot label of server-side transmission;
Display module, the hot spot mark display corresponding with hot spot label for the wireless access point for being also used to scan.
In some embodiments of the present application, device further include:
Reward module is beaten, for beating reward second user after link block 304 connects wireless access point success.
Attached drawing 6 is a kind of structural schematic diagram for network connection device that some embodiments of the application provide, and is applied to second Client, as shown in fig. 6, network connection device includes:
Receiving module 401, for receiving the addition good friend request of the first client transmission, wherein addition good friend requests base In wireless access point connection request and send, there are attaching relations with second user for first wireless access point;
Adding module 402 is good friend for adding the first user;
Receiving module 401 is also used to receive the acquisition password request of the first client transmission;
Module 403 is obtained, for obtaining the access pin of wireless access point;
Sending module 404, for sending access pin to the first client, so that the first client connects according to access pin Connect wireless access point.
In some embodiments of the present application, adding module 402 is specifically used for:
Display addition good friend's request, when information is added in the confirmation for receiving second user, the first user of addition is good friend.
In some embodiments of the present application, device further include:
First judgment module, for judging whether access pin is that ciphertext is sent;
Encrypting module is that it is close to obtain access pin to access password encryption when being for the judging result in judgment module Text;
Correspondingly, sending module 404 is specifically used for sending access pin ciphertext to the first client.
In some embodiments of the present application, module 403 is obtained, is also used to obtain the first client connection wireless access point Permit bandwidth;
Device further include:
Second judgment module, whether the bandwidth for judging that the first client connection wireless access point occupies is more than license band It is wide;
Speed limit module is to carry out speed limit to the first client when being for the judging result in the second judgment module.
In some embodiments of the present application, module 403 is obtained, is also used to obtain the license connection of the wireless access point Duration;
Device further include:
Third judgment module, for judging whether the first client is successfully connected wireless access in license connection duration Point;
Sending module 404 is also used to send connection time-out information to the when the judging result of third judgment module is no One client.
In some embodiments of the present application, receiving module 401, be also used to sending module 404 send access pin to After first client, receives and beat reward from the first client.
Network connection device provided by the embodiments of the present application, the acquisition wireless access point access provided with previous embodiment are close The method of code has the same effect for identical inventive concept.
The application embodiment, which also provides, obtains wireless access point access pin provided by a kind of and aforementioned embodiments The corresponding electronic equipment of method, which can be the electronic equipment for client, such as mobile phone, notebook electricity Brain, tablet computer, desktop computer etc., the method to execute above-mentioned acquisition wireless access point access pin.
If Fig. 7 is the schematic diagram of a kind of electronic equipment that some embodiments of the application provide, as shown in fig. 7, comprises: storage Device 501, processor 502, bus 503 and communication interface 504;
Wherein, memory 501, processor 502 and communication interface 504 are connected by bus 503;It is stored in memory 501 There is the computer program that can be run on processor 502, when processor 502 executes when running the computer program, realizes aforementioned Method provided by any embodiment applied to the acquisition wireless access point access pin of the first client, or it is applied to second The method of the acquisition wireless access point access pin of client.
Further, memory 501 may include high-speed random access memory (RAM:Random Access It Memory), can also further include non-labile memory (non-volatile memory), a for example, at least disk is deposited Reservoir.
Processor 502 can be a kind of IC chip, the processing capacity with signal.It is above-mentioned during realization Each step of method can be completed by the integrated logic circuit of the hardware in processor 502 or the instruction of software form.Place Reason device 502 can also be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), net Network processor (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (DSP), specific integrated circuit (ASIC), ready-made programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components.
Bus 503 can be ISA (English: Industry Standard Architecture;Chinese: industrial standard body Architecture) bus, PCI (English: Peripheral Component Interconnect;Chinese: Peripheral Component Interconnect standard) Bus or EISA (English: Extended Industry Standard Architecture;Chinese: extension industrial standard knot Structure) bus etc..
Electronic equipment provided by the embodiments of the present application and acquisition wireless access point access pin provided by the embodiments of the present application Method for identical inventive concept, there is the identical beneficial effect of the method for using, running or realizing with it.
The embodiment of the present application, which also provides, obtains wireless access point access pin provided by a kind of and aforementioned embodiments The corresponding computer-readable medium of method is stored thereon with computer program (i.e. program product), which is being located When managing device operation, the acquisition wireless access point access pin for being applied to the first client provided by aforementioned any embodiment is realized Method, or the method for the acquisition wireless access point access pin applied to the second client.
Wherein, computer readable storage medium includes but is not limited to phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optics, magnetic-based storage media, herein No longer repeat one by one.
Computer readable storage medium provided by the embodiments of the present application and acquisition wireless access provided by the embodiments of the present application The method of point access pin for identical inventive concept there is the application program stored with it to use, run or realize The identical beneficial effect of method.
It should be understood that
Herein, the terms "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, from And to include process, method, article or the system of a series of elements not only to include those elements, but also including not bright The other element really listed, or further include for this process, method, article or the intrinsic element of system.Do not having In the case where more limitations, the element that is limited by sentence "including a ...", it is not excluded that including process, the side of the element There is also other identical elements in method, article or system.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone, Computer, server or network equipment etc.) execute method described in each embodiment of the present invention.
The preferable specific embodiment of the above, only the application, but the protection scope of the application is not limited thereto, Within the technical scope of the present application, any changes or substitutions that can be easily thought of by anyone skilled in the art, Should all it cover within the scope of protection of this application.Therefore, the protection scope of the application should be with scope of protection of the claims It is quasi-.

Claims (15)

1. a kind of method for obtaining wireless access point access pin, which is characterized in that be applied to the first client, the first client On be logged in the first user, comprising:
Receive the connection request that the first user selects the first wireless access point of connection, first wireless access point and second user There are attaching relations;
Judge the first user and second user with the presence or absence of friend relation;
If it does not exist, then good friend is sent to the second user and add request, and if it exists, then to described in second user request The access pin of first wireless access point.
2. the method according to claim 1, wherein further include:
Receive the access pin for first wireless access point that the second user is sent;
First wireless access point is connected according to the access pin.
3. method according to claim 1 or 2, which is characterized in that described to judge whether the first user deposits with second user In friend relation, comprising:
It is identified according to the hot spot of the user identifier of first user and first wireless access point, sends friend relation inquiry It requests to server-side, the server-side is stored with the hot spot mark of one or more wireless access point and the user of home subscriber marks The corresponding relationship of knowledge, and the corresponding relationship of the user identifier between the user of friend relation has been established;
Receive the query result that the server-side is sent;
Judge the first user and second user with the presence or absence of friend relation according to the query result.
4. method according to claim 1 or 2, which is characterized in that judge that the first user and second user whether there is Friendly relationship, comprising:
The user identifier of the second user is requested to server-side;
Obtain the user identifier of the second user;
Judge the first user and second user with the presence or absence of friend relation according to the user identifier of the second user.
5. method according to claim 1-4, which is characterized in that described to second user request described the The access pin of one wireless access point, comprising:
It sends and obtains password request to second client;
The access pin that second client is sent is shown in the dialog box of first user and the second user.
6. according to the method described in claim 5, it is characterized in that, described wireless according to access pin connection described first Access point, comprising:
The access pin is identified in the dialog box;
According to the access pin identified, first wireless access point is connected.
7. according to the method described in claim 5, it is characterized in that, the access pin is access pin ciphertext, the basis The access pin connects first wireless access point, comprising:
The access pin ciphertext is decrypted, obtains access pin in plain text;
First wireless access point is connected in plain text according to the access pin.
8. according to the method described in claim 5, it is characterized in that, the first user of the reception selects the first wireless access of connection Before the connection request of point, further includes:
Wireless access point around scanning;
It is identified according to the hot spot of the wireless access point of scanning, sends hot spot tag queries and request to server-side, the hot spot label For identifying whether wireless access point is the attachable access point of user that the second user belonged to it establishes friend relation;
Receive the hot spot label that the server-side is sent;
By the hot spot mark display corresponding with the hot spot label of the wireless access point of scanning.
9. a kind of method for sending wireless access point access pin, which is characterized in that be applied to the second client, comprising:
The addition good friend request of the first client transmission is received, the addition good friend requests the connection based on the first wireless access point to be asked It asks and sends, there are attaching relations for the second user logged in first wireless access point and the second client;
Adding the first user is good friend;
The acquisition password request that first user sends is received, the access pin of first wireless access point is obtained;
The access pin is sent to first user.
10. according to the method described in claim 9, it is characterized in that, the first user of the addition is good friend, comprising:
Show the addition good friend request, when information is added in the confirmation for receiving the second user, the first user of addition is Good friend.
11. according to the method described in claim 9, it is characterized in that, described send the access pin to first user Before, further includes:
Judge whether the access pin is that ciphertext is sent, and when the judgment result is yes, encrypts to obtain to the access pin Access pin ciphertext;
It is described to send the access pin to first user, comprising: to send the access pin ciphertext and used to described first Family.
12. according to the method for claim 11, which is characterized in that described to send the access pin ciphertext to described first Before user, further includes:
Obtain the permit bandwidth that first user connects the wireless access point;
After the transmission access pin ciphertext is to first client, further includes:
Judge that first client connects whether the bandwidth that the wireless access point occupies is more than the permit bandwidth, and is sentencing Disconnected result is to carry out speed limit to first client when being.
13. method according to claim 11 or 12, which is characterized in that described to send the access pin ciphertext to described Before first client, further includes:
Obtain the license connection duration of the wireless access point;
After the transmission access pin ciphertext is to first client, further includes:
Judge that first client connects first wireless access point whether is successfully connected in duration in the license, and When judging result is no, connection time-out information is sent to first client.
14. a kind of electronic equipment, which is characterized in that including memory and processor;
It is stored with computer program on the memory, when the computer program is executed by the processor, realizes such as right It is required that the described in any item methods of 1-8 or 9-13.
15. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program When being executed by processor, such as the described in any item methods of claim 1-8 or 9-13 are realized.
CN201910436350.5A 2019-05-23 2019-05-23 Method, equipment and storage medium for acquiring access password of wireless access point Active CN110167027B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910436350.5A CN110167027B (en) 2019-05-23 2019-05-23 Method, equipment and storage medium for acquiring access password of wireless access point

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910436350.5A CN110167027B (en) 2019-05-23 2019-05-23 Method, equipment and storage medium for acquiring access password of wireless access point

Publications (2)

Publication Number Publication Date
CN110167027A true CN110167027A (en) 2019-08-23
CN110167027B CN110167027B (en) 2022-04-05

Family

ID=67632429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910436350.5A Active CN110167027B (en) 2019-05-23 2019-05-23 Method, equipment and storage medium for acquiring access password of wireless access point

Country Status (1)

Country Link
CN (1) CN110167027B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111901445A (en) * 2020-09-08 2020-11-06 上海连尚网络科技有限公司 Method and equipment for inquiring password of wireless access point
CN112351424A (en) * 2020-07-28 2021-02-09 深圳Tcl新技术有限公司 Wireless networking management method, system, device and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401884A (en) * 2013-08-16 2013-11-20 深信服网络科技(深圳)有限公司 Authentication method and system for public wireless environment Internet access based on micro message
CN105307169A (en) * 2015-09-18 2016-02-03 腾讯科技(深圳)有限公司 Access method, device and system for guest network
CN106559787A (en) * 2015-09-30 2017-04-05 腾讯科技(深圳)有限公司 Method for network access, apparatus and system
CN108156647A (en) * 2017-12-19 2018-06-12 北京小米移动软件有限公司 Password acquisition methods and device
CN108934009A (en) * 2017-05-27 2018-12-04 华为技术有限公司 A kind of WiFi network cut-in method, apparatus and system
CN109756915A (en) * 2017-11-03 2019-05-14 阿里巴巴集团控股有限公司 A kind of wireless network management method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401884A (en) * 2013-08-16 2013-11-20 深信服网络科技(深圳)有限公司 Authentication method and system for public wireless environment Internet access based on micro message
CN105307169A (en) * 2015-09-18 2016-02-03 腾讯科技(深圳)有限公司 Access method, device and system for guest network
CN106559787A (en) * 2015-09-30 2017-04-05 腾讯科技(深圳)有限公司 Method for network access, apparatus and system
CN108934009A (en) * 2017-05-27 2018-12-04 华为技术有限公司 A kind of WiFi network cut-in method, apparatus and system
CN109756915A (en) * 2017-11-03 2019-05-14 阿里巴巴集团控股有限公司 A kind of wireless network management method and system
CN108156647A (en) * 2017-12-19 2018-06-12 北京小米移动软件有限公司 Password acquisition methods and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112351424A (en) * 2020-07-28 2021-02-09 深圳Tcl新技术有限公司 Wireless networking management method, system, device and computer readable storage medium
CN111901445A (en) * 2020-09-08 2020-11-06 上海连尚网络科技有限公司 Method and equipment for inquiring password of wireless access point

Also Published As

Publication number Publication date
CN110167027B (en) 2022-04-05

Similar Documents

Publication Publication Date Title
CN102195957B (en) Resource sharing method, device and system
US7310525B2 (en) Network service system using temporary user identifier
JPH10254807A (en) Method for reading server site anonymously
CN103905399B (en) A kind of method and apparatus that account number logs in management
CN108259164A (en) The identity identifying method and equipment of a kind of internet of things equipment
CN103188270A (en) Method, device and system for accessing recommended server to IP address
CN102055813A (en) Access controlling method for network application and device thereof
CN106657105B (en) The sending method and device of target resource
CN105593871A (en) Attribute information providing method, and attribute information providing system
CN105072108B (en) Transmission method, the apparatus and system of user information
CN107920138A (en) A kind of user's unifying identifier generation method, apparatus and system
CN105228140A (en) A kind of data access method and device
CN104836782B (en) Server, client and data access method and system
US20020049605A1 (en) Electronic business transaction system including server device, client device and connecting terminal used therein
CN108347428A (en) Accreditation System, the method and apparatus of application program based on block chain
CN108737080A (en) Storage method, device, system and the equipment of password
CN103414732B (en) Application integration device and application integration processing method
CN110167027A (en) A kind of method, equipment and storage medium obtaining wireless access point access pin
CN108718323A (en) A kind of identity identifying method and system
JP5817728B2 (en) Condition matching system, condition matching link device, and condition matching processing method
CN106302110A (en) A kind of social network position sharing method based on secret protection
CN106021375B (en) Data bank access method and database broker node
US20190034547A1 (en) Internet portal system and method of use therefor
CN101567879A (en) Method, server, equipment and system for treating terminal request
CN106209750A (en) A kind of network allocation method, server, network access equipment and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210422

Address after: 200131 Zone E, 9th floor, No.1 Lane 666, zhangheng Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai

Applicant after: Shanghai Shangxiang Network Technology Co.,Ltd.

Address before: 201306, N2025 building, 24 building, Xincheng Road, 2 mud town, Shanghai, Pudong New Area

Applicant before: SHANGHAI LIANSHANG NETWORK TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant