CN106850506A - A kind of method and apparatus that WiFi is shared between application good friend - Google Patents
A kind of method and apparatus that WiFi is shared between application good friend Download PDFInfo
- Publication number
- CN106850506A CN106850506A CN201510885745.5A CN201510885745A CN106850506A CN 106850506 A CN106850506 A CN 106850506A CN 201510885745 A CN201510885745 A CN 201510885745A CN 106850506 A CN106850506 A CN 106850506A
- Authority
- CN
- China
- Prior art keywords
- wifi
- information
- wifi network
- request messages
- applications client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 238000004321 preservation Methods 0.000 claims abstract description 4
- 238000012545 processing Methods 0.000 claims description 24
- 238000012790 confirmation Methods 0.000 claims description 23
- 230000008569 process Effects 0.000 abstract description 9
- 230000006978 adaptation Effects 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 5
- 230000006855 networking Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 241000405414 Rehmannia Species 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 102000040350 B family Human genes 0.000 description 1
- 108091072128 B family Proteins 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000001035 drying Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000029058 respiratory gaseous exchange Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/02—Access restriction performed under specific conditions
- H04W48/04—Access restriction performed under specific conditions based on user or terminal location or mobility data, e.g. moving direction, speed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
- H04L65/4061—Push-to services, e.g. push-to-talk or push-to-video
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/025—Services making use of location information using location based information parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
- H04W48/14—Access restriction or access information delivery, e.g. discovery data delivery using user query or user detection
Abstract
A kind of method and apparatus the invention discloses WiFi is shared between application good friend.The method includes:Receive the shared message of WiFi that applications client sends;By in WiFi network information preservation corresponding with ID to the WiFi shared data banks in the shared message of WiFi;The WiFi request messages that applications client sends are received, the ID and current location information in WiFi request messages obtain the WiFi network information for adapting to WiFi request messages;The account and password of the WiFi network in the WiFi network information are sent to the applications client for sending the WiFi request messages so that the applications client is connected to corresponding WiFi network.According to this scheme, the operating process of the equipment connection WiFi network when a strange place is reached where greatly simplifiing applications client;And due to being the WiFi network information shared between the good friend of applications client, the reliability and validity of shared WiFi network information are substantially ensure that, farthest ensure not interrupting for the network connection of equipment that mobile interchange network users are used.
Description
Technical field
The present invention relates to Internet technical field, and in particular to share the side of WiFi between a kind of application good friend
Method and device.
Background technology
With continuing to develop for development of Mobile Internet technology, in the coverage of internet, user can be with
When be connected to internet everywhere, it is all many many according to internet treatment work, study, life etc.
Matters.In the prior art, whenever user reaches a place for maiden visit, in order to be connected to interconnection
Net, user will actively inquire the account and password of the WiFi network of place covering unavoidably, then in movement
The account and password of known WiFi network are manually entered in equipment, to complete network connection.It can be seen that,
The active of the required user of the process is manually operated, the cumbersome, used time is more long and source of the network information simultaneously
It is unreliable, additionally, mobile device is necessarily in network connection interruption within the time of user's query and input
State, does not meet user's request.
The content of the invention
In view of the above problems, it is proposed that the present invention overcomes above mentioned problem or at least part of to provide one kind
WiFi is shared between a kind of application good friend for solving the above problems method and apparatus.
According to one aspect of the present invention, there is provided a kind of method that WiFi is shared between application good friend, should
Method includes:
The shared message of WiFi that applications client sends is received, the shared message of the WiFi includes:
WiFi network information and ID;The WiFi network information includes:The account of WiFi network,
Password and positional information;
By in WiFi network information preservation corresponding with the ID to WiFi shared data banks;
The WiFi request messages that applications client sends are received, the WiFi request messages include:With
Family identifies, current location information;
ID in the WiFi request messages obtains the user from buddy list database
The buddy list of corresponding user is identified, the buddy list includes the ID of each good friend;According to
The ID of each good friend obtains the corresponding WiFi of each ID from WiFi shared data banks
The network information;
For each WiFi network information for getting, if it is determined that the WiFi in the WiFi network information
The positional information of network is identical with the current location information in the WiFi request messages, then by the WiFi
The account and password of the WiFi network in the network information send to send the WiFi request messages should
With client so that the equipment where the applications client is connected to corresponding WiFi network.
Alternatively, it is described determination the WiFi network information in WiFi network positional information with it is described
After current location information in WiFi request messages is identical, and, described by WiFi network letter
The account and password of the WiFi network in breath are sent to the applications client for sending the WiFi request messages
Before, the method is further included:
According to the corresponding ID of the WiFi network information to the corresponding applications client of the ID
Send positional information and obtain request, receive the current location information of applications client return;
If it is determined that current in the applications client current location information and the WiFi request messages that return
Positional information is identical, then send to hair the account and password of the WiFi network in the WiFi network information
Send the applications client of the WiFi request messages.
Alternatively, it is described determine the WiFi network information in WiFi network positional information with it is described
Current location information in WiFi request messages it is identical including:If the WiFi in the WiFi network information
Current location information sign of the position that the positional information of network is indicated in the WiFi request messages
Position preset range in, it is determined that the positional information of the WiFi network in the WiFi network information with
Current location information in the WiFi request messages is identical;
It is described determine in current location information and WiFi request messages that the applications client is returned it is current
Positional information it is identical including:If the position that the current location information that the applications client is returned is indicated exists
In the preset range of the position that the current location information in the WiFi request messages is indicated, it is determined that
The current location information that the applications client is returned is identical with the current location information in WiFi request messages.
Alternatively, also include in the shared message of the WiFi:ID with Share Permissions;
The method is further included:
By the ID with Share Permissions, the WiFi network information and the ID
Correspondence is preserved into WiFi shared data banks;
Send described to sending in the account and password of the WiFi network by the WiFi network information
Before the applications client of WiFi request messages, judge that the ID in the WiFi request messages is
It is no to hit the corresponding ID with Share Permissions of the WiFi network information;It is then, by the WiFi
The account and password of the WiFi network in the network information are sent to the application for sending the WiFi request messages
Client.
Alternatively, the method is further included:
If it is corresponding that the ID in the WiFi request messages does not hit the WiFi network information
ID with Share Permissions, according to the corresponding ID of the WiFi network information to the user
Identify corresponding applications client and send shared confirmation message, the shared confirmation message includes:Should
WiFi network information, the ID in the WiFi request messages;
Again by the WiFi nets after the confirmation message that the corresponding applications client of the ID is returned is received
The account and password of the WiFi network in network information are sent to the application visitor for sending the WiFi request messages
Family end.
Alternatively, the method is further included:
The label configuration information that applications client sends is received, the label configuration information includes:WiFi
The account and label information of network;
Account according to the WiFi network finds corresponding WiFi network from WiFi shared data banks
Information, the label information, the WiFi network information and the ID is together corresponded to and is preserved
To in WiFi shared data banks;
Send described to sending in the account and password of the WiFi network by the WiFi network information
During the applications client of WiFi request messages, the corresponding label information of the WiFi network information is together sent out
Deliver to the applications client for sending the WiFi request messages.
Alternatively, the account and password of the WiFi network by the WiFi network information are sent to hair
Send the applications client of the WiFi request messages so that the equipment where the applications client is connected to
Corresponding WiFi network includes:
When there is multiple satisfactory WiFi network informations, by the WiFi in each WiFi network information
The account and password of network are sent to the applications client for sending the WiFi request messages, should according to this
Equipment where causing the applications client with the selection of client is connected to corresponding WiFi network;
When having 1 satisfactory WiFi network information constantly, by the WiFi in the WiFi network information
The account and password of network are sent to the applications client for sending the WiFi request messages so that should
The WiFi network is directly connected to the equipment where client.
According to another aspect of the present invention, there is provided share the device of WiFi between a kind of application good friend,
The device includes:
Shared information receiving unit, is suitable to receive the shared message of WiFi that applications client sends, described
The shared message of WiFi includes:WiFi network information and ID;In the WiFi network information
Including:The account of WiFi network, password and positional information;By the WiFi network information and the use
Family mark correspondence is preserved into WiFi shared data banks;
Sharing request processing unit, is suitable to receive the WiFi request messages that applications client sends, described
WiFi request messages include:ID, current location information;According to the WiFi request messages
In ID the buddy list of the corresponding user of the ID is obtained from buddy list database,
The buddy list includes the ID of each good friend;ID according to each good friend is from WiFi
The corresponding WiFi network information of each ID is obtained in shared data bank;For each WiFi for getting
The network information, if it is determined that the positional information of the WiFi network in the WiFi network information and the WiFi
Current location information in request message is identical, then by the account of the WiFi network in the WiFi network information
Number and password send to the applications client for sending the WiFi request messages so that the applications client
The equipment at place is connected to corresponding WiFi network.
Alternatively, the sharing request processing unit, is further adapted for according to the WiFi network information pair
The ID answered sends positional information and obtains request to the corresponding applications client of the ID, receives
The current location information that the applications client is returned;If it is determined that the current location that the applications client is returned
Information is identical with the current location information in WiFi request messages, then by the WiFi network information
The account and password of WiFi network are sent to the applications client for sending the WiFi request messages.
Alternatively, the sharing request processing unit, is suitable to as the WiFi in the really WiFi network information
Current location information sign of the position that the positional information of network is indicated in the WiFi request messages
Position preset range in, determine positional information and the institute of WiFi network in the WiFi network information
The current location information stated in WiFi request messages is identical;When the current location that the applications client is returned
The position that current location information of the position that information is indicated in the WiFi request messages is indicated
In preset range, in determining current location information and WiFi request messages that the applications client is returned
Current location information is identical.
Alternatively, also include in the shared message of the WiFi:ID with Share Permissions;
The shared information receiving unit, be further adapted for by the ID with Share Permissions,
The WiFi network information is corresponding with the ID to be preserved into WiFi shared data banks;
The sharing request processing unit, is further adapted in the WiFi by the WiFi network information
The account and password of network are sent to before the applications client for sending the WiFi request messages, are judged
It is corresponding with shared whether the ID in the WiFi request messages hits the WiFi network information
The ID of authority;It is then, the account of the WiFi network in the WiFi network information and password to be sent out
Deliver to the applications client for sending the WiFi request messages.
Alternatively, the sharing request processing unit, is further adapted for when in the WiFi request messages
ID do not hit the corresponding ID with Share Permissions of the WiFi network information, root
Sent altogether to the corresponding applications client of the ID according to the corresponding ID of the WiFi network information
Confirmation message is enjoyed, the shared confirmation message includes:The WiFi network information, the WiFi requests
ID in message;After the confirmation message that the corresponding applications client of the ID is returned is received
Again by the account and password of the WiFi network in the WiFi network information send to send the WiFi please
Seek the applications client of message.
Alternatively, the shared information receiving unit, is further adapted for receiving the mark that applications client sends
Configuration information is signed, the label configuration information includes:The account and label information of WiFi network;Root
Corresponding WiFi network information is found from WiFi shared data banks according to the account of the WiFi network,
The label information, the WiFi network information and the ID are together corresponded to and is saved in WiFi
In shared data bank;
The sharing request processing unit, is further adapted in the WiFi by the WiFi network information
The account and password of network are sent during to the applications client for sending the WiFi request messages, by the WiFi
The corresponding label information of the network information is together sent to the applications client for sending the WiFi request messages.
Alternatively, the sharing request processing unit, being suitable to work as has multiple satisfactory WiFi networks
During information, the account and password of the WiFi network in each WiFi network information are sent described to sending
The applications client of WiFi request messages, the selection according to the applications client causes the applications client institute
Equipment be connected to corresponding WiFi network;When having 1 satisfactory WiFi network information constantly,
The account and password of the WiFi network in the WiFi network information are sent to sending WiFi request
The applications client of message so that the equipment where the applications client is directly connected to the WiFi network.
From the foregoing, on the one hand the technical scheme that the present invention is provided receives the WiFi that applications client sends
Shared message, the WiFi network information in the shared message of storage WiFi is with to be shared;On the other hand receive
The WiFi request messages that applications client sends, ID and position in WiFi request messages
The WiFi network information to be shared of information searching adaptation, pushes to the application for sending WiFi request messages
Client is meeting the networking requirements of the applications client;Wherein, it is described to be disappeared according to WiFi requests
The WiFi network information to be shared that ID and positional information in breath search adaptation is specially:Root
Searched the application good friend of the corresponding user of the ID according to ID, shared from these good friends
The WiFi network information searched in WiFi network information corresponding to current location information is pushed.Foundation
This scheme, any user can be by the WiFi network after the WiFi network information for knowing one place
Information is shared in the range of the good friend of its applications client, when a good friend of the user is to same
During place, any operation without the good friend can push the WiFi network information of foregoing users to share
To the applications client of the good friend, the equipment where greatly simplifiing applications client is on one footpath between fields of arrival
The operating process of WiFi network is connected during dried rhizome of rehmannia point;And due to being total between the good friend of applications client
The WiFi network information enjoyed, substantially ensure that shared WiFi network information reliability and effectively
Property.
Described above is only the general introduction of technical solution of the present invention, in order to better understand skill of the invention
Art means, and can be practiced according to the content of specification, and it is of the invention above and other in order to allow
Objects, features and advantages can become apparent, below especially exemplified by specific embodiment of the invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantage and benefit pair
Will be clear understanding in those of ordinary skill in the art.Accompanying drawing is only used for showing the mesh of preferred embodiment
, and it is not considered as limitation of the present invention.And in whole accompanying drawing, use identical reference symbol
Represent identical part.In the accompanying drawings:
Fig. 1 shares WiFi method between showing a kind of application good friend according to an embodiment of the invention
Flow chart;
Fig. 2 shares the device of WiFi between showing a kind of application good friend according to an embodiment of the invention
Schematic diagram.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although being shown in accompanying drawing
The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure without
Should be limited by embodiments set forth here.Conversely, there is provided these embodiments are able to more thoroughly
Understand the disclosure, and can by the scope of the present disclosure it is complete convey to those skilled in the art.
Fig. 1 shares WiFi method between showing a kind of application good friend according to an embodiment of the invention
Flow chart.As shown in figure 1, the method includes:
Step S110, receives the shared message of WiFi that applications client sends, and the WiFi shares message
Include:WiFi network information and ID;The WiFi network information includes:WiFi nets
The account of network, password and positional information.
Step S120, preserve to WiFi corresponding with the ID of the WiFi network information is shared
In database.
Step S130, receives the WiFi request messages that applications client sends, the WiFi request messages
Include:ID, current location information.
Step S140, the ID in the WiFi request messages is from buddy list database
The buddy list of the corresponding user of the ID is obtained, the buddy list includes the user of each good friend
Mark;ID according to each good friend obtains each ID pair from WiFi shared data banks
The WiFi network information answered.
Step S150, for each WiFi network information for getting, if it is determined that the WiFi network is believed
The positional information of the WiFi network in breath is identical with the current location information in the WiFi request messages,
Then by the account and password of the WiFi network in the WiFi network information send to send the WiFi please
Seek the applications client of message so that the equipment where the applications client is connected to corresponding WiFi nets
Network.
It can be seen that, in the method shown in Fig. 1, the WiFi on the one hand receiving applications client transmission shares
Message, the WiFi network information in the shared message of storage WiFi is with to be shared;On the other hand application is received
The WiFi request messages that client sends, ID and positional information in WiFi request messages
The WiFi network information to be shared of adaptation is searched, the application client for sending WiFi request messages is pushed to
Hold to meet the networking requirements of the applications client;Wherein, in the request message according to WiFi
ID and positional information search adaptation WiFi network information to be shared be specially:According to
Family identifier lookup by the application good friend of the corresponding user of the ID, from the WiFi that these good friends share
The WiFi network information searched in the network information corresponding to current location information is pushed.According to this side
Case, any user can be by the WiFi network information after the WiFi network information for knowing one place
Shared in the range of the good friend of its applications client, when a good friend of the user is to same place
When, the WiFi network information of foregoing users to share can be pushed to this by any operation without the good friend
The applications client of good friend, the equipment where greatly simplifiing applications client reaches one fremdly
The operating process of connection WiFi network during point;And due to being shared between the good friend of applications client
WiFi network information, substantially ensure that the reliability and validity of shared WiFi network information.
For example, stored in WiFi shared data banks WiFi network information that each applications client provides with
To be shared, every WiFi network information includes:The account of the WiFi network, password, positional information
And the corresponding ID of applications client of this WiFi network information is provided;Wherein, a use
Family mark may correspond to one or more WiFi network information, every supplier's of WiFi network information
Purpose is that the good friend of the applications client for the supplier provides shared help if necessary.As user A
When the WiFi network deposited in the equipment for being used cannot be connected, the application client in the equipment
End sends WiFi request messages, ID and present bit comprising user A in the WiFi request messages
Confidence ceases, and is first obtained user A from buddy list database on this according to the ID of user A
Whole good friends in the buddy list of applications client, such as user B and user C, then it is shared from WiFi
The WiFi network information that user B and user C is provided is checked in database, is therefrom filtered out and user A
Current location information identical WiFi network information, the WiFi network that filters out of sign is covering user
The network of the current location of A, the account and password of the WiFi network that will be filtered out push to user A's
Applications client so that the equipment where the applications client is connected in the network;Realize a use
After family connected the WiFi network in place, any application good friend of the user comes this local nothing
Need any effect for operating and being connected to the WiFi network.
For the WiFi network of some non-Publics, in order to ensure the security of the WiFi network,
, it is necessary to carry out certain setting to the Share Permissions of the WiFi network when carrying out shared to the WiFi network,
Then in one embodiment of the invention, it is determined that the position of the WiFi network in the WiFi network information
After information is identical with the current location information in the WiFi request messages, and, by the WiFi
The account and password of the WiFi network in the network information are sent to the application for sending the WiFi request messages
Before client, the method shown in Fig. 1 is further included:
According to the corresponding ID of the WiFi network information to the corresponding applications client of the ID
Send positional information and obtain request, receive the current location information of applications client return;If it is determined that
The current location information that the applications client is returned is identical with the current location information in WiFi request messages,
Then by the account and password of the WiFi network in the WiFi network information send to send the WiFi please
Seek the applications client of message.
For example, user B shares to the WiFi network information in own home, but Share Permissions are carried
Gone out limitation, i.e., as the equipment where the applications client for sending WiFi request messages and user B should
With the equipment where client simultaneously in the family of user B, and the user in the WiFi request messages
The application good friend that corresponding user is user B is identified, just by the account of the WiFi network in user B family
Password pushes to the applications client for sending WiFi request messages;That is, when user B is in,
The application good friend of user B is first to the family that can be connected automatically to user B in the family of user B without inquiry
Front yard WiFi network.
In above process, it is described determine the WiFi network information in WiFi network positional information with
Current location information in the WiFi request messages it is identical including:If in the WiFi network information
Current location information of the position that the positional information of WiFi network is indicated in the WiFi request messages
In the preset range of the position of sign, it is determined that the position letter of the WiFi network in the WiFi network information
Breath is identical with the current location information in the WiFi request messages.
And, in the current location information and WiFi request messages for determining applications client return
Current location information it is identical including:If what the current location information that the applications client is returned was indicated
In the preset range of the position that current location information of the position in the WiFi request messages is indicated,
Then determine the present bit confidence in current location information and WiFi request messages that the applications client is returned
Manner of breathing is same.
User also specifies in the shared message of transmission WiFi in the buddy list of its applications client can
To share the ID of one or more good friends of the WiFi network information, i.e. in the shared message of WiFi
Also include:ID with Share Permissions.
Then the method shown in Fig. 1 is further included:By the ID with Share Permissions, described
WiFi network information is corresponding with the ID to be preserved into WiFi shared data banks;It is described should
The account and password of the WiFi network in WiFi network information are sent to sending the WiFi request messages
Before applications client, judge whether the ID in the WiFi request messages hits the WiFi nets
The corresponding ID with Share Permissions of network information;It is then, by the WiFi in the WiFi network information
The account and password of network are sent to the applications client for sending the WiFi request messages;If described
It is corresponding with Share Permissions that ID in WiFi request messages does not hit the WiFi network information
ID, according to the corresponding ID of the WiFi network information to the ID it is corresponding should
Shared confirmation message is sent with client, the shared confirmation message includes:The WiFi network information,
ID in the WiFi request messages;Returned the corresponding applications client of the ID is received
The account and password of the WiFi network in the WiFi network information are sent to hair again after the confirmation message returned
Send the applications client of the WiFi request messages.
For example, user A is being sent when the WiFi on market X shares message to limit Share Permissions
Further specify the use of the good friend in the buddy list of the applications client that can share the WiFi network information
Family identifies, including:The ID of good friend B and the ID of good friend C.The then WiFi of market X
ID, the ID of the good friend B that user A is specified and good friend C of the network information and user A
Correspondence is stored in WiFi shared data banks.When good friend B comes market X, and good friend B is used
The WiFi network that is stored of equipment when cannot connect, applications client sends the use comprising good friend B
The WiFi request messages of the positional information of family mark and market X, exist according to the WiFi request messages
The WiFi network information of the market X of the user A offers of adaptation is provided in WiFi shared data banks, now,
Need whether the ID for first verifying good friend B hits the ID that user A is specified, be then by market
Account and password in the WiFi network information of X are sent to the applications client of contact person B;However,
If other conditions are unchanged, that send WiFi request messages is the application visitor of another good friend D of user A
Family end, although the WiFi network information of the market X that user A is provided also adapts to what good friend D sent
WiFi request messages, but because the ID of good friend D does not hit the ID that user A is specified,
Then need to send shared confirmation message to the applications client of user A according to the ID of user A, when
After receiving the confirmation message of applications client return of user A, just by the WiFi network information of market X
In account and password send to the applications client of good friend D.
Further, user goes back after the WiFi network information in sharing using WiFi shared data banks
Evaluation feedback can be carried out to the WiFi network for being used, then in one embodiment of the invention,
Method shown in Fig. 1 is further included:
The label configuration information that applications client sends is received, the label configuration information includes:WiFi
The account and label information of network;Account according to the WiFi network is looked for from WiFi shared data banks
To corresponding WiFi network information, by the label information, the WiFi network information and the user
Mark is together corresponded to and is saved in WiFi shared data banks;Described by the WiFi network information
The account and password of WiFi network are sent during to the applications client for sending the WiFi request messages, will
The corresponding label information of the WiFi network information is together sent to the application for sending the WiFi request messages
Client.
Wherein, the label information includes:Connection speed, online hours, number of dropped calls etc. characterize corresponding
The information of the performance of WiFi network;Based on the present embodiment, by after the shared use of certain measurement period,
Every WiFi network information in WiFi shared data banks both corresponds to a number of label information, this
A little label informations come from the applications client for once using the WiFi network, incite somebody to action from the statistical significance,
These label informations more can objectively characterize the actually used situation of the WiFi network, for follow-up
The shared user for using is used as reference.
In one embodiment of the invention, shown in Fig. 1 the step of method in S150 by the WiFi network
The account and password of the WiFi network in information are sent to the application client for sending the WiFi request messages
End so that the equipment where the applications client is connected to corresponding WiFi network to be included:
When there is multiple satisfactory WiFi network informations, by the WiFi in each WiFi network information
The account and password of network are sent to the applications client for sending the WiFi request messages, should according to this
Equipment where causing the applications client with the selection of client is connected to corresponding WiFi network;When
There is 1 satisfactory WiFi network information constantly, by the WiFi network in the WiFi network information
Account and password send to the applications client for sending the WiFi request messages so that this application visitor
Equipment where the end of family is directly connected to the WiFi network.
Fig. 2 shares the device of WiFi between showing a kind of application good friend according to an embodiment of the invention
Schematic diagram.As shown in Fig. 2 this includes using the device 200 that WiFi is shared between good friend:
Shared information receiving unit 210, is suitable to receive the shared message of WiFi that applications client sends, institute
Stating the shared message of WiFi includes:WiFi network information and ID;The WiFi network information
Include:The account of WiFi network, password and positional information;By the WiFi network information with it is described
ID correspondence is preserved into WiFi shared data banks.
Sharing request processing unit 220, is suitable to receive the WiFi request messages that applications client sends, institute
Stating WiFi request messages includes:ID, current location information;Disappeared according to WiFi requests
ID in breath obtains good friend's row of the corresponding user of the ID from buddy list database
Table, the buddy list includes the ID of each good friend;ID according to each good friend from
The corresponding WiFi network information of each ID is obtained in WiFi shared data banks;It is every for what is got
Individual WiFi network information, if it is determined that the positional information of the WiFi network in the WiFi network information with
Current location information in the WiFi request messages is identical, then by the WiFi in the WiFi network information
The account and password of network are sent to the applications client for sending the WiFi request messages so that should
Corresponding WiFi network is connected to the equipment where client.
It can be seen that, on the one hand the device shown in Fig. 2 receives the shared message of WiFi that applications client sends,
WiFi network information in the shared message of storage WiFi is with to be shared;On the other hand applications client is received
The WiFi request messages of transmission, ID and positional information in WiFi request messages are searched suitable
The WiFi network information to be shared matched somebody with somebody, pushes to the applications client for sending WiFi request messages with full
The networking requirements of the sufficient applications client;Wherein, the user in the request message according to WiFi
The WiFi network information to be shared that mark and positional information search adaptation is specially:According to ID
Search the application good friend of the corresponding user of the ID, from the WiFi network letter that these good friends share
The WiFi network information searched in breath corresponding to current location information is pushed.According to this scheme, appoint
What user can answer the WiFi network information at it after the WiFi network information for knowing one place
Shared with the range of the good friend of client, when a good friend of the user is to same place, nothing
The WiFi network information of foregoing users to share is pushed to the good friend's by any operation for needing the good friend
Applications client, the equipment where greatly simplifiing applications client connects when a strange place is reached
Connect the operating process of WiFi network;And due to being the WiFi nets shared between the good friend of applications client
Network information, substantially ensure that the reliability and validity of shared WiFi network information.
In one embodiment of the invention, sharing request processing unit 220, being further adapted for basis should
The corresponding ID of WiFi network information sends position and believes to the corresponding applications client of the ID
Breath obtains request, receives the current location information of applications client return;If it is determined that the application client
Hold the current location information for returning identical with the current location information in WiFi request messages, then by the WiFi
The account and password of the WiFi network in the network information are sent to the application for sending the WiFi request messages
Client.
Wherein, sharing request processing unit 220, is suitable to when the WiFi nets in the really WiFi network information
Current location information sign of the position that the positional information of network is indicated in the WiFi request messages
In the preset range of position, determine the positional information of WiFi network in the WiFi network information with it is described
Current location information in WiFi request messages is identical;When the current location information that the applications client is returned
The position that current location information of the position for being indicated in the WiFi request messages is indicated it is default
In the range of, determine current in current location information and WiFi request messages that the applications client is returned
Positional information is identical.
In one embodiment of the invention, also include in the shared message of the WiFi:With shared power
The telephone number of limit;Shared information receiving unit 210, is further adapted for described with Share Permissions
ID, the WiFi network information are corresponding with the ID to be preserved to WiFi shared data banks
In;Sharing request processing unit 220, is further adapted in the WiFi by the WiFi network information
The account and password of network are sent to before the applications client for sending the WiFi request messages, are judged
It is corresponding with shared whether the ID in the WiFi request messages hits the WiFi network information
The ID of authority;It is then, the account of the WiFi network in the WiFi network information and password to be sent out
Deliver to the applications client for sending the WiFi request messages.
In one embodiment of the invention, sharing request processing unit 220, is further adapted for when described
It is corresponding with Share Permissions that ID in WiFi request messages does not hit the WiFi network information
ID, according to the corresponding ID of the WiFi network information to the ID it is corresponding should
Shared confirmation message is sent with client, the shared confirmation message includes:The WiFi network information,
ID in the WiFi request messages;Returned the corresponding applications client of the ID is received
The account and password of the WiFi network in the WiFi network information are sent to hair again after the confirmation message returned
Send the applications client of the WiFi request messages.
In one embodiment of the invention, information receiving unit 210 is shared, is further adapted for receiving and is answered
The label configuration information sent with client, the label configuration information includes:The account of WiFi network
Number and label information;Account according to the WiFi network finds accordingly from WiFi shared data banks
WiFi network information, by the label information, the WiFi network information and the ID together
Correspondence is saved in WiFi shared data banks;Sharing request processing unit 220, is further adapted for described
The account and password of the WiFi network in the WiFi network information are sent to sending WiFi request
During the applications client of message, the corresponding label information of the WiFi network information is together sent to transmission
The applications client of the WiFi request messages.
In one embodiment of the invention, sharing request processing unit 220, being suitable to work as has multiple to meet
It is required that WiFi network information when, by the account and password of the WiFi network in each WiFi network information
Send to the applications client for sending the WiFi request messages, the selection according to applications client is caused
Equipment where the applications client is connected to corresponding WiFi network;When there is 1 satisfactory WiFi
The network information constantly, the account and password of the WiFi network in the WiFi network information is sent to transmission
The applications client of the WiFi request messages so that the equipment where the applications client is connected to phase
The WiFi network answered.
It should be noted that each embodiment pair of each embodiment of Fig. 2 shown devices and method shown in Fig. 1
Should be identical, above describe in detail, will not be repeated here.
In sum, on the one hand the technical scheme that the present invention is provided receives the WiFi that applications client sends
Shared message, the WiFi network information in the shared message of storage WiFi is with to be shared;On the other hand receive
The WiFi request messages that applications client sends, ID and position in WiFi request messages
The WiFi network information to be shared of information searching adaptation, pushes to the application for sending WiFi request messages
Client is meeting the networking requirements of the applications client;Wherein, it is described to be disappeared according to WiFi requests
The WiFi network information to be shared that ID and positional information in breath search adaptation is specially:Root
Searched the application good friend of the corresponding user of the ID according to ID, shared from these good friends
The WiFi network information searched in WiFi network information corresponding to current location information is pushed.Foundation
This scheme, any user can be by the WiFi network after the WiFi network information for knowing one place
Information is shared in the range of the good friend of its applications client, when a good friend of the user is to same
During place, any operation without the good friend can push the WiFi network information of foregoing users to share
To the applications client of the good friend, the equipment where greatly simplifiing applications client is on one footpath between fields of arrival
The operating process of WiFi network is connected during dried rhizome of rehmannia point;And due to being total between the good friend of applications client
The WiFi network information enjoyed, substantially ensure that shared WiFi network information reliability and effectively
Property, farthest ensure that the network connection of the equipment that mobile interchange network users are used is not interrupted.
It should be noted that:
Algorithm and display be not solid with any certain computer, virtual bench or miscellaneous equipment provided herein
There is correlation.Various fexible units can also be used together with based on teaching in this.As described above,
It is obvious to construct the structure required by this kind of device.Additionally, the present invention is not also for any specific
Programming language.It is understood that, it is possible to use various programming languages realize the content of invention described herein,
And the description done to language-specific above is to disclose preferred forms of the invention.
In specification mentioned herein, numerous specific details are set forth.It is to be appreciated, however, that this
Inventive embodiment can be put into practice in the case of without these details.In some instances, not
Known method, structure and technology are shown specifically, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand in each inventive aspect
Or it is multiple, in above to the description of exemplary embodiment of the invention, each feature of the invention is sometimes
It is grouped together into single embodiment, figure or descriptions thereof.However, should not be by the disclosure
Method be construed to reflect following intention:I.e. the present invention for required protection requirement ratio is in each claim
The middle more features of feature be expressly recited.More precisely, as the following claims reflect
As, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows
Thus claims of specific embodiment are expressly incorporated in the specific embodiment, wherein each right
It is required that in itself all as separate embodiments of the invention.
Those skilled in the art are appreciated that can be carried out certainly to the module in the equipment in embodiment
Adaptively change and they are arranged in one or more equipment different from the embodiment.Can be with
Module or unit or component in embodiment is combined into a module or unit or component, and in addition may be used
To be divided into multiple submodule or subelement or sub-component.Except such feature and/or process or
Outside at least some in unit exclude each other, can be using any combinations to this specification (including companion
With claim, summary and accompanying drawing) disclosed in all features and so disclosed any method or
All processes or unit of person's equipment are combined.Unless expressly stated otherwise, this specification (including companion
With claim, summary and accompanying drawing) disclosed in each feature can it is identical by offers, equally or phase
Replace like the alternative features of purpose.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include it
Some included features are rather than further feature, but the group of the feature of different embodiments in its embodiment
Conjunction means to be within the scope of the present invention and formed different embodiments.For example, in following power
In sharp claim, the one of any of embodiment required for protection mode can make in any combination
With.
All parts embodiment of the invention can be realized with hardware, or be processed with one or more
The software module run on device is realized, or is realized with combinations thereof.Those skilled in the art should
Understand, basis can be realized using microprocessor or digital signal processor (DSP) in practice
The some or all parts in the device of WiFi are shared between a kind of application good friend of the embodiment of the present invention
Some or all functions.The present invention is also implemented as perform method as described herein one
Point or whole equipment or program of device (for example, computer program and computer program product).
It is such to realize that program of the invention be stored on a computer-readable medium, or can have one
Or the form of multiple signals.Such signal can be downloaded from internet website and obtained, or carried
There is provided on body signal, or provided in any other form.
It should be noted that above-described embodiment the present invention will be described rather than limiting the invention,
And those skilled in the art can design replacement in fact without departing from the scope of the appended claims
Apply example.In the claims, should not be configured to any reference symbol being located between bracket will to right
The limitation asked.Word "comprising" does not exclude the presence of element or step not listed in the claims.Positioned at unit
Word "a" or "an" before part does not exclude the presence of element as multiple.The present invention can be by means of
Include the hardware of some different elements and realized by means of properly programmed computer.Listing
If in the unit claim of equipment for drying, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.Can be by this
A little words are construed to title.
A kind of method the invention discloses WiFi is shared between A1, application good friend, wherein, the method bag
Include:
The shared message of WiFi that applications client sends is received, the shared message of the WiFi includes:
WiFi network information and ID;The WiFi network information includes:The account of WiFi network,
Password and positional information;
By in WiFi network information preservation corresponding with the ID to WiFi shared data banks;
The WiFi request messages that applications client sends are received, the WiFi request messages include:With
Family identifies, current location information;
ID in the WiFi request messages obtains the user from buddy list database
The buddy list of corresponding user is identified, the buddy list includes the ID of each good friend;According to
The ID of each good friend obtains the corresponding WiFi of each ID from WiFi shared data banks
The network information;
For each WiFi network information for getting, if it is determined that the WiFi in the WiFi network information
The positional information of network is identical with the current location information in the WiFi request messages, then by the WiFi
The account and password of the WiFi network in the network information send to send the WiFi request messages should
With client so that the equipment where the applications client is connected to corresponding WiFi network.
A2, the method as described in A1, wherein, the WiFi in described determination WiFi network information
After the positional information of network is identical with the current location information in the WiFi request messages, and,
Sent to sending the WiFi in the account and password of the WiFi network by the WiFi network information
Before the applications client of request message, the method is further included:
According to the corresponding ID of the WiFi network information to the corresponding applications client of the ID
Send positional information and obtain request, receive the current location information of applications client return;
If it is determined that current in the applications client current location information and the WiFi request messages that return
Positional information is identical, then send to hair the account and password of the WiFi network in the WiFi network information
Send the applications client of the WiFi request messages.
A3, the method as described in A1 or A2, wherein,
The positional information for determining the WiFi network in the WiFi network information is asked with the WiFi
Current location information in message it is identical including:If the position of the WiFi network in the WiFi network information
Confidence ceases the position of current location information sign of the indicated position in the WiFi request messages
In preset range, it is determined that the positional information of the WiFi network in the WiFi network information and the WiFi
Current location information in request message is identical;
It is described determine in current location information and WiFi request messages that the applications client is returned it is current
Positional information it is identical including:If the position that the current location information that the applications client is returned is indicated exists
In the preset range of the position that the current location information in the WiFi request messages is indicated, it is determined that
The current location information that the applications client is returned is identical with the current location information in WiFi request messages.
A4, the method as described in A1, wherein, also include in the shared message of the WiFi:With shared
The ID of authority;
The method is further included:
By the ID with Share Permissions, the WiFi network information and the ID
Correspondence is preserved into WiFi shared data banks;
Send described to sending in the account and password of the WiFi network by the WiFi network information
Before the applications client of WiFi request messages, judge that the ID in the WiFi request messages is
It is no to hit the corresponding ID with Share Permissions of the WiFi network information;It is then, by the WiFi
The account and password of the WiFi network in the network information are sent to the application for sending the WiFi request messages
Client.
A5, the method as described in A4, wherein, the method is further included:
If it is corresponding that the ID in the WiFi request messages does not hit the WiFi network information
ID with Share Permissions, according to the corresponding ID of the WiFi network information to the user
Identify corresponding applications client and send shared confirmation message, the shared confirmation message includes:Should
WiFi network information, the ID in the WiFi request messages;
Again by the WiFi nets after the confirmation message that the corresponding applications client of the ID is returned is received
The account and password of the WiFi network in network information are sent to the application visitor for sending the WiFi request messages
Family end.
A6, the method as described in A1, wherein, the method is further included:
The label configuration information that applications client sends is received, the label configuration information includes:WiFi
The account and label information of network;
Account according to the WiFi network finds corresponding WiFi network from WiFi shared data banks
Information, the label information, the WiFi network information and the ID is together corresponded to and is preserved
To in WiFi shared data banks;
Send described to sending in the account and password of the WiFi network by the WiFi network information
During the applications client of WiFi request messages, the corresponding label information of the WiFi network information is together sent out
Deliver to the applications client for sending the WiFi request messages.
A7, the method as described in A1, wherein, the WiFi network by the WiFi network information
Account and password send to the applications client for sending the WiFi request messages so that this application visitor
Equipment where the end of family is connected to corresponding WiFi network to be included:
When there is multiple satisfactory WiFi network informations, by the WiFi in each WiFi network information
The account and password of network are sent to the applications client for sending the WiFi request messages, should according to this
Equipment where causing the applications client with the selection of client is connected to corresponding WiFi network;
When having 1 satisfactory WiFi network information constantly, by the WiFi in the WiFi network information
The account and password of network are sent to the applications client for sending the WiFi request messages so that should
Corresponding WiFi network is connected to the equipment where client.
The invention also discloses the device that WiFi is shared between B8, a kind of application good friend, wherein, the device
Including:
Shared information receiving unit, is suitable to receive the shared message of WiFi that applications client sends, described
The shared message of WiFi includes:WiFi network information and ID;In the WiFi network information
Including:The account of WiFi network, password and positional information;By the WiFi network information and the use
Family mark correspondence is preserved into WiFi shared data banks;
Sharing request processing unit, is suitable to receive the WiFi request messages that applications client sends, described
WiFi request messages include:ID, current location information;According to the WiFi request messages
In ID the buddy list of the corresponding user of the ID is obtained from buddy list database,
The buddy list includes the ID of each good friend;ID according to each good friend is from WiFi
The corresponding WiFi network information of each ID is obtained in shared data bank;For each WiFi for getting
The network information, if it is determined that the positional information of the WiFi network in the WiFi network information and the WiFi
Current location information in request message is identical, then by the account of the WiFi network in the WiFi network information
Number and password send to the applications client for sending the WiFi request messages so that the applications client
The equipment at place is connected to corresponding WiFi network.
B9, the device as described in B8, wherein,
The sharing request processing unit, is further adapted for according to the corresponding user of the WiFi network information
Identify and send positional information acquisition request to the corresponding applications client of the ID, receive application visitor
The current location information that family end returns;If it is determined that the applications client return current location information with
Current location information in WiFi request messages is identical, then by the WiFi network in the WiFi network information
Account and password send to the applications client for sending the WiFi request messages.
B10, the device as described in B8 or B9, wherein,
The sharing request processing unit, is suitable to when the position of the WiFi network in the really WiFi network information
Confidence ceases the position of current location information sign of the indicated position in the WiFi request messages
In preset range, the positional information and the WiFi of WiFi network in the WiFi network information are determined
Current location information in request message is identical;When the current location information that the applications client is returned is marked
The preset range of the position that current location information of the position for showing in the WiFi request messages is indicated
It is interior, determine the current location in current location information and WiFi request messages that the applications client is returned
Information is identical.
B11, the device as described in B8, wherein, also include in the shared message of the WiFi:With altogether
Enjoy the ID of authority;
The shared information receiving unit, be further adapted for by the ID with Share Permissions,
The WiFi network information is corresponding with the ID to be preserved into WiFi shared data banks;
The sharing request processing unit, is further adapted in the WiFi by the WiFi network information
The account and password of network are sent to before the applications client for sending the WiFi request messages, are judged
It is corresponding with shared whether the ID in the WiFi request messages hits the WiFi network information
The ID of authority;It is then, the account of the WiFi network in the WiFi network information and password to be sent out
Deliver to the applications client for sending the WiFi request messages.
B12, the device as described in B11, wherein,
The sharing request processing unit, is further adapted for when the user's mark in the WiFi request messages
The corresponding ID with Share Permissions of the WiFi network information is not hit in knowledge, according to the WiFi
The corresponding ID of the network information sends shared confirmation and disappears to the corresponding applications client of the ID
Breath, the shared confirmation message includes:The WiFi network information, in the WiFi request messages
ID;Again should after the confirmation message that the corresponding applications client of the ID is returned is received
The account and password of the WiFi network in WiFi network information are sent to sending the WiFi request messages
Applications client.
B13, the device as described in B8, wherein,
The shared information receiving unit, is further adapted for receiving the label setting letter that applications client sends
Breath, the label configuration information includes:The account and label information of WiFi network;According to the WiFi
The account of network finds corresponding WiFi network information from WiFi shared data banks, by label letter
Breath, the WiFi network information and the ID are together corresponded to and are saved in WiFi shared data banks;
The sharing request processing unit, is further adapted in the WiFi by the WiFi network information
The account and password of network are sent during to the applications client for sending the WiFi request messages, by the WiFi
The corresponding label information of the network information is together sent to the applications client for sending the WiFi request messages.
B14, the device as described in B8, wherein,
The sharing request processing unit, is suitable to when there is multiple satisfactory WiFi network informations,
The account and password of the WiFi network in each WiFi network information are sent to sending WiFi request
The applications client of message, the equipment where the selection according to applications client causes the applications client connects
It is connected to corresponding WiFi network;When having 1 satisfactory WiFi network information constantly, by the WiFi
The account and password of the WiFi network in the network information are sent to the application for sending the WiFi request messages
Client so that the equipment where the applications client is connected to corresponding WiFi network.
Claims (10)
1. a kind of method that WiFi is shared between application good friend, wherein, the method includes:
The shared message of WiFi that applications client sends is received, the shared message of the WiFi includes:
WiFi network information and ID;The WiFi network information includes:The account of WiFi network,
Password and positional information;
By in WiFi network information preservation corresponding with the ID to WiFi shared data banks;
The WiFi request messages that applications client sends are received, the WiFi request messages include:With
Family identifies, current location information;
ID in the WiFi request messages obtains the user from buddy list database
The buddy list of corresponding user is identified, the buddy list includes the ID of each good friend;According to
The ID of each good friend obtains the corresponding WiFi of each ID from WiFi shared data banks
The network information;
For each WiFi network information for getting, if it is determined that the WiFi in the WiFi network information
The positional information of network is identical with the current location information in the WiFi request messages, then by the WiFi
The account and password of the WiFi network in the network information send to send the WiFi request messages should
With client so that the equipment where the applications client is connected to corresponding WiFi network.
2. the method for claim 1, wherein in described determination WiFi network information
After the positional information of WiFi network is identical with the current location information in the WiFi request messages, with
And, send described to sending in the account and password of the WiFi network by the WiFi network information
Before the applications client of WiFi request messages, the method is further included:
According to the corresponding ID of the WiFi network information to the corresponding applications client of the ID
Send positional information and obtain request, receive the current location information of applications client return;
If it is determined that current in the applications client current location information and the WiFi request messages that return
Positional information is identical, then send to hair the account and password of the WiFi network in the WiFi network information
Send the applications client of the WiFi request messages.
3. method as claimed in claim 1 or 2, wherein,
The positional information for determining the WiFi network in the WiFi network information is asked with the WiFi
Current location information in message it is identical including:If the position of the WiFi network in the WiFi network information
Confidence ceases the position of current location information sign of the indicated position in the WiFi request messages
In preset range, it is determined that the positional information of the WiFi network in the WiFi network information and the WiFi
Current location information in request message is identical;
It is described determine in current location information and WiFi request messages that the applications client is returned it is current
Positional information it is identical including:If the position that the current location information that the applications client is returned is indicated exists
In the preset range of the position that the current location information in the WiFi request messages is indicated, it is determined that
The current location information that the applications client is returned is identical with the current location information in WiFi request messages.
4. the method for claim 1, wherein also include in the shared message of the WiFi:Tool
There is the ID of Share Permissions;
The method is further included:
By the ID with Share Permissions, the WiFi network information and the ID
Correspondence is preserved into WiFi shared data banks;
Send described to sending in the account and password of the WiFi network by the WiFi network information
Before the applications client of WiFi request messages, judge that the ID in the WiFi request messages is
It is no to hit the corresponding ID with Share Permissions of the WiFi network information;It is then, by the WiFi
The account and password of the WiFi network in the network information are sent to the application for sending the WiFi request messages
Client.
5. method as claimed in claim 4, wherein, the method is further included:
If it is corresponding that the ID in the WiFi request messages does not hit the WiFi network information
ID with Share Permissions, according to the corresponding ID of the WiFi network information to the user
Identify corresponding applications client and send shared confirmation message, the shared confirmation message includes:Should
WiFi network information, the ID in the WiFi request messages;
Again by the WiFi nets after the confirmation message that the corresponding applications client of the ID is returned is received
The account and password of the WiFi network in network information are sent to the application visitor for sending the WiFi request messages
Family end.
6. the method for claim 1, wherein the method is further included:
The label configuration information that applications client sends is received, the label configuration information includes:WiFi
The account and label information of network;
Account according to the WiFi network finds corresponding WiFi network from WiFi shared data banks
Information, the label information, the WiFi network information and the ID is together corresponded to and is preserved
To in WiFi shared data banks;
Send described to sending in the account and password of the WiFi network by the WiFi network information
During the applications client of WiFi request messages, the corresponding label information of the WiFi network information is together sent out
Deliver to the applications client for sending the WiFi request messages.
7. the method for claim 1, wherein WiFi by the WiFi network information
The account and password of network are sent to the applications client for sending the WiFi request messages so that should
Being connected to corresponding WiFi network with the equipment where client includes:
When there is multiple satisfactory WiFi network informations, by the WiFi in each WiFi network information
The account and password of network are sent to the applications client for sending the WiFi request messages, should according to this
Equipment where causing the applications client with the selection of client is connected to corresponding WiFi network;
When having 1 satisfactory WiFi network information constantly, by the WiFi in the WiFi network information
The account and password of network are sent to the applications client for sending the WiFi request messages so that should
Corresponding WiFi network is connected to the equipment where client.
8. the device of WiFi is shared between a kind of application good friend, wherein, the device includes:
Shared information receiving unit, is suitable to receive the shared message of WiFi that applications client sends, described
The shared message of WiFi includes:WiFi network information and ID;In the WiFi network information
Including:The account of WiFi network, password and positional information;By the WiFi network information and the use
Family mark correspondence is preserved into WiFi shared data banks;
Sharing request processing unit, is suitable to receive the WiFi request messages that applications client sends, described
WiFi request messages include:ID, current location information;According to the WiFi request messages
In ID the buddy list of the corresponding user of the ID is obtained from buddy list database,
The buddy list includes the ID of each good friend;ID according to each good friend is from WiFi
The corresponding WiFi network information of each ID is obtained in shared data bank;For each WiFi for getting
The network information, if it is determined that the positional information of the WiFi network in the WiFi network information and the WiFi
Current location information in request message is identical, then by the account of the WiFi network in the WiFi network information
Number and password send to the applications client for sending the WiFi request messages so that the applications client
The equipment at place is connected to corresponding WiFi network.
9. device as claimed in claim 8, wherein,
The sharing request processing unit, is further adapted for according to the corresponding user of the WiFi network information
Identify and send positional information acquisition request to the corresponding applications client of the ID, receive application visitor
The current location information that family end returns;If it is determined that the applications client return current location information with
Current location information in WiFi request messages is identical, then by the WiFi network in the WiFi network information
Account and password send to the applications client for sending the WiFi request messages.
10. device as claimed in claim 8 or 9, wherein,
The sharing request processing unit, is suitable to when the position of the WiFi network in the really WiFi network information
Confidence ceases the position of current location information sign of the indicated position in the WiFi request messages
In preset range, the positional information and the WiFi of WiFi network in the WiFi network information are determined
Current location information in request message is identical;When the current location information that the applications client is returned is marked
The preset range of the position that current location information of the position for showing in the WiFi request messages is indicated
It is interior, determine the current location in current location information and WiFi request messages that the applications client is returned
Information is identical.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510885745.5A CN106850506A (en) | 2015-12-04 | 2015-12-04 | A kind of method and apparatus that WiFi is shared between application good friend |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510885745.5A CN106850506A (en) | 2015-12-04 | 2015-12-04 | A kind of method and apparatus that WiFi is shared between application good friend |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106850506A true CN106850506A (en) | 2017-06-13 |
Family
ID=59151040
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510885745.5A Pending CN106850506A (en) | 2015-12-04 | 2015-12-04 | A kind of method and apparatus that WiFi is shared between application good friend |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106850506A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108156647A (en) * | 2017-12-19 | 2018-06-12 | 北京小米移动软件有限公司 | Password acquisition methods and device |
CN108566440A (en) * | 2018-06-26 | 2018-09-21 | 连尚(新昌)网络科技有限公司 | A kind of method for connecting network, equipment and storage medium |
CN110113802A (en) * | 2018-05-18 | 2019-08-09 | 上海连尚网络科技有限公司 | A kind of method of the configuration information of shared wireless access point |
CN110198539A (en) * | 2019-01-02 | 2019-09-03 | 腾讯科技(深圳)有限公司 | A kind of authentication method and its device, equipment and storage medium |
CN110691397A (en) * | 2018-07-05 | 2020-01-14 | 腾讯科技(深圳)有限公司 | WIFI sharing method, WIFI connection device and computer-readable storage medium |
CN113543175A (en) * | 2021-07-02 | 2021-10-22 | 维沃软件技术有限公司 | Networking method, device, equipment and medium |
-
2015
- 2015-12-04 CN CN201510885745.5A patent/CN106850506A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108156647A (en) * | 2017-12-19 | 2018-06-12 | 北京小米移动软件有限公司 | Password acquisition methods and device |
CN110113802A (en) * | 2018-05-18 | 2019-08-09 | 上海连尚网络科技有限公司 | A kind of method of the configuration information of shared wireless access point |
CN108566440A (en) * | 2018-06-26 | 2018-09-21 | 连尚(新昌)网络科技有限公司 | A kind of method for connecting network, equipment and storage medium |
CN110691397A (en) * | 2018-07-05 | 2020-01-14 | 腾讯科技(深圳)有限公司 | WIFI sharing method, WIFI connection device and computer-readable storage medium |
CN110691397B (en) * | 2018-07-05 | 2021-10-22 | 腾讯科技(深圳)有限公司 | WIFI sharing method, WIFI connection device and computer-readable storage medium |
CN110198539A (en) * | 2019-01-02 | 2019-09-03 | 腾讯科技(深圳)有限公司 | A kind of authentication method and its device, equipment and storage medium |
CN113543175A (en) * | 2021-07-02 | 2021-10-22 | 维沃软件技术有限公司 | Networking method, device, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106850506A (en) | A kind of method and apparatus that WiFi is shared between application good friend | |
CN103825895B (en) | A kind of information processing method and electronic equipment | |
CN103916244B (en) | Verification method and device | |
CN105100034B (en) | The method and apparatus of access function in a kind of network application | |
CN104765793B (en) | A kind of software recommendation method and server | |
CN107147557B (en) | Method and device for modifying session information | |
CN104023012B (en) | The method, apparatus and system of service are called in cluster | |
CN103916469A (en) | Method for acquiring contact person information, client end and server | |
CN109246078B (en) | Data interaction method and server | |
CN105515900A (en) | Method and device for acquiring on-line state of terminal | |
CN107733788B (en) | Anonymous group chat method, device and equipment | |
CN106686105A (en) | Method of pushing messages, computing device, server and information sharing system | |
US20080177765A1 (en) | Profile management method and system | |
CN106878935A (en) | A kind of sharing method of shop WiFi network, server and device | |
CN110191131A (en) | A kind of file sharing method, device, system, server and storage medium | |
CN103942271B (en) | User profile searches system and method | |
CN104618364B (en) | Information processing method, electronic equipment and server | |
CN105337739A (en) | Security login method, and device, server and terminal | |
US20140089496A1 (en) | Apparatus and method for monitoring web application telecommunication data by user | |
CN106254141B (en) | A kind of method and terminal of smart home management | |
CN105530244A (en) | Method for controlling intelligent device by main control device and server | |
EP3382981A1 (en) | A user equipment and method for protection of user privacy in communication networks | |
CN105490913B (en) | Instant message processing method and device | |
US20200372408A1 (en) | Machine Learning Model With Conditional Execution Of Multiple Processing Tasks | |
CN104239125A (en) | Object processing method, distributive file system and client device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170613 |
|
WD01 | Invention patent application deemed withdrawn after publication |