CN105898841A - Smart terminal and method for sharing WLAN (Wireless Local Area Network) resources by terminal - Google Patents

Smart terminal and method for sharing WLAN (Wireless Local Area Network) resources by terminal Download PDF

Info

Publication number
CN105898841A
CN105898841A CN201610511234.1A CN201610511234A CN105898841A CN 105898841 A CN105898841 A CN 105898841A CN 201610511234 A CN201610511234 A CN 201610511234A CN 105898841 A CN105898841 A CN 105898841A
Authority
CN
China
Prior art keywords
communication object
wlan
terminal
share
resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610511234.1A
Other languages
Chinese (zh)
Inventor
杨丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Anyun Century Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qiku Internet Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qiku Internet Technology Shenzhen Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610511234.1A priority Critical patent/CN105898841A/en
Publication of CN105898841A publication Critical patent/CN105898841A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

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

Abstract

The invention provides a method for sharing WLAN (Wireless Local Area Network) resources by a terminal. The method comprises the following steps of acquiring a first communication object positioned within a set range with a current position of the terminal as a center from a communication object list; determining a second communication object requiring to share the WLAN resources from the first communication object; transmitting link information containing the WLAN resources to the second communication object, wherein the link information is used for authorizing a set WLAN access joint which is directly accessed by the second communication object under the trigger of the second communication object. Therefore, a user can transmit the link information through the second communication object of which the terminal is positioned within the WLAN network range (the set range with the current position as a center); the second communication object can connect to the access joint of the WLAN network through the link information, thereby realizing quick sharing of the WLAN resources within the WLAN network range, and improving the sharing efficiency of the WLAN resources. Correspondingly, the invention also provides a smart terminal.

Description

Intelligent terminal and the method for terminals share WLAN resource
Technical field
The present invention relates to intelligent terminal's technical field, specifically, the present invention relates to a kind of terminal and end The method that end shares WLAN resource.
Background technology
WLAN (Wireless Local Area Networks, WLAN), is the most just The data transmission system of profit, it utilizes radio frequency (Radio Frequency;RF) technology, makes electricity consumption Magnetic wave, replaces the LAN that old-fashioned copper twisted pairs (Coaxial) is constituted, aloft leads to Letter connects so that WLAN can utilize simple access architecture to allow user pass through it, reaches " letter Breath carry-onization, facilitate walk the world " ideal state.
WiFi (WirelessFidelity, Wireless Fidelity) technology be one based on IEEE 802.11 series The brand of the Wi-Fi communication technology of standard, it is therefore an objective to improve nothing based on IEEE 802.11 standard Intercommunity between the product of gauze road, is held by Wi-Fi Alliance (Wi-Fi Alliance), is simply come Say that WiFi is exactly the Wireless networking technologies in a kind of WLAN, be also the most popular in current WLAN Wireless networking technologies.
WiFi network can arrange password, when using the WiFi online being provided with password, needs to use Family is found corresponding WiFi title and correctly enters password, and this WiFi could be used to surf the Net;If no Know password, then cannot access WiFi access point.At present, WiFi title and WiFi password are known Mode be the most all actively to share between user.Such as, a group user acts as a guest in certain user A family, Then need this user A that WiFi title and WiFi password inform others, and by remaining each one Find this WiFi and be manually entered WiFi password, the WiFi of this user A family could be used to surf the Net. Process is loaded down with trivial details, is inconvenient for.
Summary of the invention
The purpose of the present invention is intended at least can solve one of above-mentioned technological deficiency, particularly ways of presentation At least one more dull technological deficiency.
The present invention provides a kind of method of terminals share WLAN resource, comprises the steps:
Obtain from communication object list and be in the set point centered by the current location of terminal The first communication object;
Determine from described first communication object and need to share the second communication object of WLAN resource;
Send and include the link information of WLAN resource to described second communication object;
Wherein, described link information is for authorizing described second under the triggering of described second communication object Communication object is directly accessed the WLAN access point of setting.
Wherein in an embodiment, described from communication object list, obtain be in terminal current The first communication object in set point centered by position includes:
Obtain current location and the communication object list of terminal, and be supplied to server;
The be in the set point centered by the current location of described terminal is obtained from server One communication object.
Wherein in an embodiment, described transmission includes the link information of WLAN resource to institute Before stating the second communication object, also include:
Receive user's request and share the instruction of WLAN resource.
Wherein in an embodiment, determine from described first communication object and need to share WLAN Before second communication object of resource, also include:
Receive user's request and share the instruction of WLAN resource.
Wherein in an embodiment, obtain from communication object list and be in the current location with terminal Centered by set point in the first communication object before, also include:
Receive user's request and share the instruction of WLAN resource.
Wherein in an embodiment, described from described first communication object, determine that needs are shared Second communication object of WLAN resource includes:
Receive user and select instruction;
Select instruction to determine from described first communication object according to described user to need to share WLAN Second communication object of resource.
Wherein in an embodiment, described from described first communication object, determine that needs are shared Second communication object of WLAN resource includes: the most described first communication object is defined as needs point Enjoy the second communication object of WLAN resource.
Wherein in an embodiment, described WLAN resource at least includes the WLAN of described setting The mark of access point.
Wherein in an embodiment, the mark of the WLAN access point of described setting at least includes institute State title and/or the physical address of the WLAN access point of setting.
Wherein in an embodiment, described WLAN resource the most also includes described setting The password of WLAN access point or authorization message.
Wherein in an embodiment, described link information is for the triggering at described second communication object Under, straight with the second communication object described in the password of WLAN access point set or authorization message mandate Access the WLAN access point set.
Wherein in an embodiment, described communication object list includes address list or instant communication software Buddy list.
Wherein in an embodiment, with delivery time for calculating basic point, described link information is setting Duration in effectively.
The present invention also provides for a kind of intelligent terminal, including:
Acquisition module, is in centered by the current location of terminal for obtaining from communication object list Set point in the first communication object;
Determine module, need to share WLAN resource for determining from described first communication object Second communication object;And
Sending module, for sending the link information including WLAN resource to described second communication Object;
Wherein, described link information is for authorizing described second under the triggering of described second communication object Communication object is directly accessed the WLAN access point of setting.
Wherein in an embodiment, described acquisition module is used for:
Obtain current location and the communication object list of terminal, and be supplied to server;
The be in the set point centered by the current location of described terminal is obtained from server One communication object.
Wherein in an embodiment, also include that interactive module, described interactive module are used for: described Send include the link information of WLAN resource to described second communication object before, receive user The instruction of WLAN resource is shared in request.
Wherein in an embodiment, described interactive module is used for: from described first communication object Before determining the second communication object needing to share WLAN resource, receive user's request and share The instruction of WLAN resource.
Wherein in an embodiment, described interactive module is used for: obtaining from communication object list Before the first communication object being in the set point centered by the current location of terminal, receive and use The instruction of WLAN resource is shared in family request.
Wherein in an embodiment, described determine module for:
Receive user and select instruction;
Select instruction to determine from described first communication object according to described user to need to share WLAN Second communication object of resource.
Wherein in an embodiment, described determine module for: by the most described first communication object It is defined as needing to share the second communication object of WLAN resource.
Wherein in an embodiment, described WLAN resource at least includes the WLAN of described setting The mark of access point.
Wherein in an embodiment, the mark of the WLAN access point of described setting at least includes institute State title and/or the physical address of the WLAN access point of setting.
Wherein in an embodiment, described WLAN resource the most also includes described setting The password of WLAN access point or authorization message.
Wherein in an embodiment, described link information is for the triggering at described second communication object Under, straight with the second communication object described in the password of WLAN access point set or authorization message mandate Access the WLAN access point set.
Wherein in an embodiment, described communication object list includes address list or instant communication software Buddy list.
Wherein in an embodiment, with delivery time for calculating basic point, described link information is setting Duration in effectively.
The method of above-mentioned terminals share WLAN resource, from communication object list obtain be in The first communication object in set point centered by the current location of terminal;Right from described first communication As middle determine need to share the second communication object of WLAN resource;Transmission includes WLAN resource Link information give described second communication object;Wherein, described link information is for leading to described second Described second communication object of lower mandate that triggers of letter object is directly accessed the WLAN access point of setting. Therefore, user just can be by terminal for being in wlan network scope (centered by current location Set point) in second communication object send link information, the second communication object can by should Link information connects the access point of this wlan network, thus realizes WLAN resource at WLAN Quickly sharing in network range, improve the efficiency of WLAN resource sharing.
Such as, if large numbers of user acts as a guest to user A family, and this crowd of users are user A's In communication object list, then user A can obtain be in terminal current from communication object list This crowd of users in set point centered by position, are then shared with the use of needs by link information Family, even user A can realize one-key sharing to all this crowd of users;Obtain the user of link information Upper WLAN access point i.e. can be automatically connected, it is not necessary to search WLAN title by this link information With input WLAN password;This is the easiest for user A and other users.
The intelligent terminal of method based on above-mentioned terminals share WLAN resource, realizes WLAN equally Resource is quickly shared wlan network scope, improves the efficiency of WLAN resource sharing.
Aspect and advantage that the present invention adds will part be given in the following description, and these will be from following Description in become obvious, or recognized by the practice of the present invention.
Accompanying drawing explanation
Present invention aspect that is above-mentioned and/or that add and advantage are from retouching embodiment below in conjunction with the accompanying drawings Will be apparent from easy to understand in stating, wherein:
Fig. 1 is the method flow diagram of the terminals share WLAN resource of an embodiment;
Fig. 2 is the module map of the intelligent terminal of an embodiment.
Detailed description of the invention
Embodiments of the invention are described below in detail, and the example of described embodiment is shown in the drawings, its In the most same or similar label represent same or similar element or have same or like The element of function.The embodiment described below with reference to accompanying drawing is exemplary, is only used for explaining this Invention, and be not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative used herein " one ", " one ", " described " and " being somebody's turn to do " may also comprise plural form.It is to be further understood that The wording used in the description of the present invention " includes " referring to there is described feature, integer, step, behaviour Make, element and/or assembly, but it is not excluded that existence or add other features one or more, whole Number, step, operation, element, assembly and/or their group.It should be understood that when we claim element Being " connected " or during " coupled " to another element, it can be directly connected or coupled to other elements, or Intermediary element can also be there is in person.Additionally, " connection " used herein or " coupling " can include wireless Connect or wireless couple.Wording "and/or" used herein includes that what one or more was associated lists Whole or any cell of item and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technical term and scientific terminology), have and the those of ordinary skill in art of the present invention Be commonly understood by identical meaning.Should also be understood that those arts defined in such as general dictionary Language, it should be understood that there is the meaning consistent with the meaning in the context of prior art, and remove Non-as here by specific definitions, otherwise will not with idealization or the most formal implication explain.
Those skilled in the art of the present technique be both appreciated that " terminal " used herein above, " terminal unit " Including the equipment of wireless signal receiver, it only possesses the setting of wireless signal receiver of non-emissive ability Standby, include again the equipment receiving and launching hardware, it has and can perform on bidirectional communication link The reception of two-way communication and the equipment of transmitting hardware.This equipment may include that honeycomb or other communication Equipment, its have single line display or multi-line display or the honeycomb not having multi-line display or Other communication equipments;PCS (Personal Communications Service, PCS Personal Communications System), It can process with combine voice, data, fax and/or its communication ability;PDA(Personal Digital Assistant, personal digital assistant), it can include radio frequency receiver, pager, mutually The access of networking/Intranet, web browser, notepad, calendar and/or GPS (Global Positioning System, global positioning system) receptor;Conventional laptop and/or palmtop computer or other set Standby, its have and/or include the conventional laptop of radio frequency receiver and/or palmtop computer or other Equipment." terminal " used herein above, " terminal unit " can be portable, can transport, be arranged on In the vehicles (aviation, sea-freight and/or land), or it is suitable for and/or is configured in this locality Run, and/or with distribution form, any other position operating in the earth and/or space is run.This In " terminal ", " terminal unit " that used can also is that communication terminal, access terminals, music/video Playback terminal, such as, can be that (Mobile Internet Device, mobile Internet sets for PDA, MID Standby) and/or there is the mobile phone of music/video playing function, it is also possible to it is intelligent television, machine top The equipment such as box.
Those skilled in the art of the present technique are appreciated that remote network devices used herein above, and it includes But it is not limited to computer, network host, single network server, multiple webserver collection or multiple The cloud that server is constituted.Here, cloud is by a large amount of calculating based on cloud computing (Cloud Computing) Machine or the webserver are constituted, and wherein, cloud computing is the one of Distributed Calculation, by the loose coupling of a group One super virtual machine of the computer collection composition closed.In embodiments of the invention, far-end network Can realize communicating by any communication mode between equipment, terminal unit with WNS server, including But it is not limited to, mobile communication based on 3GPP, LTE, WIMAX, based on TCP/IP, UDP The computer network communication of agreement and based on bluetooth, the low coverage side of being wirelessly transferred of infrared transmission standard Formula.
Fig. 1 is the method flow diagram of the terminals share WLAN resource of an embodiment.
The present invention provides a kind of method of terminals share WLAN resource, comprises the steps:
Step S100: obtain from communication object list and be in centered by the current location of terminal The first communication object in set point.
Communication object list can include address list or instant communication software buddy list.Work as communication object When list is address list, communication object is exactly contact person, and the first communication object is in terminal The contact person in set point centered by current location;When communication object list is instant communication software During buddy list, communication object is exactly the good friend in instant communication software, and the first communication object goes out exactly Instant communication software good friend in the set point centered by the current location of terminal.
Above-mentioned acquisition, both can be that (user's request is shared at the dependent instruction receiving user The instruction of WLAN resource) after just obtain, it is also possible to being that terminal obtains automatically, such as terminal is with necessarily Interval duration the most constantly go obtain.
Below as a example by instant communication software buddy list.
When be at the dependent instruction receiving user after just obtain time, user is at instant communication software midpoint After having hit " sharing WLAN " button, immediately buddy list scan for being in terminal current The good friend in set point centered by position, i.e. neighbouring good friend;Then by the good friend of search good Friend's list marks, or polymerization shows.
When be terminal automatically obtain time, terminal duration at certain intervals the most constantly goes at acquisition Good friend in the set point centered by the current location of terminal, user is in instant communication software Entering buddy list or after clicking " sharing WLAN " button, instant playback is up-to-date to be searched It is in the good friend in the set point centered by the current location of terminal, i.e. neighbouring good friend;Then The good friend of search is marked in buddy list, or polymerization shows.
In the present embodiment, after being the instruction that WLAN resource is shared in reception user's request, terminal Just obtain from communication object list and be in the set point centered by the current location of terminal First communication object.
Current location can be the position location that terminal is current, and location can be that satellite fix, base station are fixed Position, WiFi location etc..In the present embodiment, terminal is to connect WiFi, therefore can use WiFi positions.
After determining the current location of terminal, it is thus necessary to determine that be in WLAN (WiFi) network One communication object, the first communication object is exactly both to be in communication object list, is in again terminal current Communication object near position.Accordingly, it would be desirable to obtain working as of each communication object in communication object list Front position, could judge the vicinity having which communication object to be in terminal.
The geographical position of communication object, as long as communication object is in networking state, usual server is permissible Collect.Therefore, from communication object list, acquisition is in setting centered by the current location of terminal The first communication object in the range of Ding, specifically may include steps of 1~2:
Step 1: obtain current location and the communication object list of terminal, and be supplied to server.
After server receives current location and the communication object list of terminal, in query communication list object The current location of each communication object, and determine the setting model being in centered by the current location of terminal Enclose the first interior communication object, in the range of centered by the current location of terminal 100 meters First communication object.After server determines, feed back the first communication object to terminal.
Step 2: obtain in the set point being in centered by the current location of terminal from server First communication object.
So far, in terminal has got the set point being in centered by the current location of terminal First communication object, i.e. gets and is in neighbouring contact person or good friend, then can perform step S200。
Step S200: determine the second communication needing to share WLAN resource from the first communication object Object.
WLAN resource is to connect the WLAN information required for wlan network, here can be special Finger is: needed for connecting the wlan network (the WLAN access point i.e. set) that terminal is connecting The WLAN information wanted.Certainly, the WLAN access point of setting can also is that terminal the most successfully connects The WLAN access point connect, it is not necessary to the WLAN access point set is construed as limiting.
Such as, terminal is being connected to a certain WiFi network (the WLAN access point i.e. set), WLAN resource is exactly to connect the WiFi information used required for this WiFi network upper, such as WiFi Title, WiFi physical address, WiFi password etc..
Therefore, WLAN resource at least includes the mark of the WLAN access point set, the most permissible It it is unique mark.The mark of the WLAN access point set at least includes the WLAN access point set Title and/or physical address (MAC).If the WLAN access point set is not provided with password, Then can be attached when knowing the mark of this WLAN access point.If the WLAN set connects Access point is provided with password, in order to other users access setting by the WLAN resource shared WLAN access point, WLAN resource the most also should include the password of the WLAN access point set Or authorization message.Authorization message refers to that other users can access setting by this authorization message The relevant information of WLAN access point, such as, can be assigned to interim guest's account of guest, should WLAN access point is now positioned to allow for interim guest's account and is directly accessed without WiFi password This WLAN access point.
User gets the first communication in the set point being in centered by the current location of terminal After object, the first communication object that possible user is not required to all getting all shares WLAN Resource, it is therefore desirable to determine the second communication needing to share WLAN resource from the first communication object Object.
In certain embodiments, determine from the first communication object and need to share the of WLAN resource Two communication objects comprise the steps S1~S2:
Step S1: receive user and select instruction.
It is user's instruction of selecting communication object therein from the first communication object that user selects to instruct, Can be such as to want to share WLAN money from the selection user that is in neighbouring contact person got The contact person in source, it is also possible to be to want to share from the selection user that is in neighbouring good friend got The good friend of WLAN resource.Now terminal enters selection pattern, and user can be by clicking on relevant connection It is people or good friend selects.
Step S2: selecting instruction to determine from the first communication object according to user needs to share WLAN Second communication object of resource.User chooses the contact person or good friend needing to share WLAN resource After, contact person user chosen or good friend are defined as the second communication object.
And in certain embodiments, determine from the first communication object and need to share WLAN resource Second communication object includes: be defined as needing to share WLAN resource by whole first communication objects Second communication object.Now, it is not necessary to user selects to need to share the contact person of WLAN resource or good Friend, and give tacit consent to whole first communication object and be the second communication object needing to share WLAN resource.
Determine after needing to share the second communication object of WLAN resource, step S300 can be performed.
Step S300: send and include the link information of WLAN resource to the second communication object.
Wherein, link information is for authorizing the second communication object direct under the triggering of the second communication object Access the WLAN access point set.Typically, user is by triggering this link information (such as Clickthrough information, the link information of identification Quick Response Code form), terminal i.e. can connect automatically accordingly Wlan network.Such as, if the operating system of terminal is Android system, trigger this link letter After breath, WiFiManager class can be called and carry out WiFi connection.
If the WLAN access point set is not provided with password, then the money of the WLAN in link information Source includes the mark of the WLAN access point set, when knowing the mark of this WLAN access point Can be attached.
If the WLAN access point set is provided with password, then the WLAN resource in link information Including the mark of WLAN access point, the password of WLAN access point or the authorization message that set.Chain The information that connects under the triggering at the second communication object, with set WLAN access point password or Authorization message mandate the second communication object is directly accessed the WLAN access point of setting.
So, after the second communication object gets the link information including WLAN resource, pass through Trigger this link information and just can be directly connected to the WLAN access point of setting, enjoy WLAN net Network.
In order to ensure the information security of link information, in the present embodiment, with the transmission of link information time Carving as calculating basic point, link information is effective in the duration set.Such as, terminals share includes After the link information of WLAN resource gives the second communication object, in 24 hours, this link information is effective, In 24 hours, user can automatically access the WLAN access of setting by triggering this link information Point;Then lost efficacy after 24 hours, and also cannot respond to even if triggering this link information or connect WLAN.
In the present embodiment, after being the instruction that WLAN resource is shared in reception user's request, terminal Just obtain from communication object list and be in the set point centered by the current location of terminal First communication object.I.e. before performing step S100, just receive user's request and share WLAN money The instruction in source.Such as, after user clicks on " sharing WiFi " button, terminal performs step S100 again, Obtain from address list or buddy list and be in neighbouring contact person or good friend, then receiving user Select to perform during instruction step S200, then after user clicks on " determine and share " button, perform step S300.The most such as, after user clicks on " one-key sharing WiFi " button, terminal performs step S100 again (now it is defined as needing to share WLAN resource by whole first communication objects with performing step S200 The second communication object, i.e. give tacit consent to whole first communication object and be and need to share WLAN resource Second communication object), then perform step S300, thus realize the merit of one-key sharing WLAN resource Can, simplify the operation of terminal use to greatest extent, improve and share efficiency.
In certain embodiments, it is after performing step S100, before performing step S200, Receive user's request and share the instruction of WLAN resource, share WLAN money receiving user's request After the instruction in source, then perform step S200.In these embodiments, before performing step S100 User's request can't be received and share the instruction of WLAN resource.Such as, terminal is with between certain Step S100 is periodically carried out, when the record of user's entry communication or instant communication software are good every duration Time in friend's list, user clicks on " sharing WiFi " button, and terminal is held then according to this click commands After row step S200 is to determine and need to share the second communication object of WLAN resource, more directly enter Row is shared or is shared after clicking on " determine and share " button.
And in further embodiments, be after performing step S200, before performing step S300, Just receive user's request and share the instruction of WLAN resource, share WLAN receiving user's request After the instruction of resource, then perform step S300.In these embodiments, perform step S200 it Before can't receive user's request and share the instruction of WLAN resource.Such as, terminal is with certain Interval duration periodically carries out step S100, when the record of user's entry communication or instant communication software Time in buddy list, user chooses after the second communication object needing to share WLAN resource (i.e. After performing step S200), user clicks on " sharing WiFi " button again and shares.
The method of above-mentioned terminals share WLAN resource, from communication object list obtain be in The first communication object in set point centered by the current location of terminal;Right from described first communication As middle determine need to share the second communication object of WLAN resource;Transmission includes WLAN resource Link information give described second communication object;Wherein, described link information is for leading to described second Described second communication object of lower mandate that triggers of letter object is directly accessed the WLAN access point of setting. Therefore, user just can be by terminal for being in wlan network scope (centered by current location Set point) in second communication object send link information, the second communication object can by should Link information connects the access point of this wlan network, thus realizes WLAN resource at WLAN Quickly sharing in network range, improve the efficiency of WLAN resource sharing.
Such as, if large numbers of user acts as a guest to user A family, and this crowd of users are user A's In communication object list, then user A can obtain be in terminal current from communication object list This crowd of users in set point centered by position, are then shared with the use of needs by link information Family, even user A can realize one-key sharing to all this crowd of users, obtain the user of link information I.e. can automatically be connected upper WLAN access point by this link information, this for user A and other For user the easiest.
Fig. 2 is the module map of the intelligent terminal of an embodiment, incorporated by reference to Fig. 1.
The method of the terminals share WLAN resource of corresponding above-described embodiment, below describes a kind of intelligence Terminal, comprising: interactive module, acquisition module, determines module and sending module.
Interactive module for mutual, such as, shares the instruction of WLAN resource for receiving user's request. Acquisition module is in setting centered by the current location of terminal for obtaining from communication object list The first communication object in the range of Ding.Determine that module is for determining that needs are shared from the first communication object Second communication object of WLAN resource.Sending module includes the chain of WLAN resource for sending The information that connects is to the second communication object.Wherein, link information is for awarding under the triggering of the second communication object Weigh the second communication object and be directly accessed the WLAN access point of setting.
Acquisition module obtains from communication object list and is in setting centered by the current location of terminal The first communication object in the range of Ding.
Communication object list can include address list or instant communication software buddy list.Work as communication object When list is address list, communication object is exactly contact person, and the first communication object is in terminal The contact person in set point centered by current location;When communication object list is instant communication software During buddy list, communication object is exactly the good friend in instant communication software, and the first communication object goes out exactly Instant communication software good friend in the set point centered by the current location of terminal.
Above-mentioned acquisition, both can be that (user's request is shared at the dependent instruction receiving user The instruction of WLAN resource) after just obtain, it is also possible to being that terminal obtains automatically, such as terminal is with necessarily Interval duration the most constantly go obtain.
Below as a example by instant communication software buddy list.
When be at the dependent instruction receiving user after just obtain time, user is at instant communication software midpoint After having hit " sharing WLAN " button, immediately buddy list scan for being in terminal current The good friend in set point centered by position, i.e. neighbouring good friend;Then by the good friend of search good Friend's list marks, or polymerization shows.
When be terminal automatically obtain time, terminal duration at certain intervals the most constantly goes at acquisition Good friend in the set point centered by the current location of terminal, user is in instant communication software Entering buddy list or after clicking " sharing WLAN " button, instant playback is up-to-date to be searched It is in the good friend in the set point centered by the current location of terminal, i.e. neighbouring good friend;Then The good friend of search is marked in buddy list, or polymerization shows.
In the present embodiment, be interactive module receive user request share WLAN resource instruction it After, acquisition module just obtains from communication object list and is in setting centered by the current location of terminal The first communication object in the range of Ding.
Current location can be the position location that terminal is current, and location can be that satellite fix, base station are fixed Position, WiFi location etc..In the present embodiment, terminal is to connect WiFi, therefore can use WiFi positions.
After determining the current location of terminal, it is thus necessary to determine that be in WLAN (WiFi) network One communication object, the first communication object is exactly both to be in communication object list, is in again terminal current Communication object near position.Accordingly, it would be desirable to obtain working as of each communication object in communication object list Front position, could judge the vicinity having which communication object to be in terminal.
The geographical position of communication object, as long as communication object is in networking state, usual server is permissible Collect.Therefore, acquisition module obtains to be in from communication object list and with the current location of terminal is The first communication object in the set point at center, specifically can perform following steps 1~2:
Step 1: obtain current location and the communication object list of terminal, and be supplied to server.
After server receives current location and the communication object list of terminal, in query communication list object The current location of each communication object, and determine the setting model being in centered by the current location of terminal Enclose the first interior communication object, in the range of centered by the current location of terminal 100 meters First communication object.After server determines, feed back the first communication object to terminal.
Step 2: obtain in the set point being in centered by the current location of terminal from server First communication object.
So far, in terminal has got the set point being in centered by the current location of terminal First communication object, i.e. gets and is in neighbouring contact person or good friend, it is then determined that module is from first Communication object determines the second communication object needing to share WLAN resource.
WLAN resource is to connect the WLAN information required for wlan network, here can be special Finger is: needed for connecting the wlan network (the WLAN access point i.e. set) that terminal is connecting The WLAN information wanted.Certainly, the WLAN access point of setting can also is that terminal the most successfully connects The WLAN access point connect, it is not necessary to the WLAN access point set is construed as limiting.
Such as, terminal is being connected to a certain WiFi network (the WLAN access point i.e. set), WLAN resource is exactly to connect the WiFi information used required for this WiFi network upper, such as WiFi Title, WiFi physical address, WiFi password etc..
Therefore, WLAN resource at least includes the mark of the WLAN access point set, the most permissible It it is unique mark.The mark of the WLAN access point set at least includes the WLAN access point set Title and/or physical address (MAC).If the WLAN access point set is not provided with password, Then can be attached when knowing the mark of this WLAN access point.If the WLAN set connects Access point is provided with password, in order to other users access setting by the WLAN resource shared WLAN access point, WLAN resource the most also should include the password of the WLAN access point set Or authorization message.Authorization message refers to that other users can access setting by this authorization message The relevant information of WLAN access point, such as, can be assigned to interim guest's account of guest, should WLAN access point is now positioned to allow for interim guest's account and is directly accessed without WiFi password This WLAN access point.
User is got by the acquisition module of terminal and is in setting centered by the current location of terminal After the first communication object in the range of Ding, possible user is not required to the first communication all got Object all shares WLAN resource, it is therefore desirable to is determined by module and determines from the first communication object Need to share the second communication object of WLAN resource.
In certain embodiments, determine that module determines from the first communication object to need to share WLAN Second communication object execution following steps S1~S2 of resource:
Step S1: receive user and select instruction.
It is user's instruction of selecting communication object therein from the first communication object that user selects to instruct, Can be such as to want to share WLAN money from the selection user that is in neighbouring contact person got The contact person in source, it is also possible to be to want to share from the selection user that is in neighbouring good friend got The good friend of WLAN resource.Now terminal enters selection pattern, and user can be by clicking on relevant connection It is people or good friend selects.
Step S2: selecting instruction to determine from the first communication object according to user needs to share WLAN Second communication object of resource.User chooses the contact person or good friend needing to share WLAN resource After, contact person user chosen or good friend are defined as the second communication object.
And in certain embodiments, determining that module determines from the first communication object needs to share WLAN Second communication object of resource includes: be defined as needing to share WLAN by whole first communication objects Second communication object of resource.Now, it is not necessary to user selects to need the contact sharing WLAN resource People or good friend, and he gives tacit consent to whole first communication object be need to share WLAN resource second lead to Letter object.
Determining after needing to share the second communication object of WLAN resource, sending module sends and comprises There is the link information of WLAN resource to the second communication object.
Wherein, link information is for authorizing the second communication object direct under the triggering of the second communication object Access the WLAN access point set.Typically, user is by triggering this link information (such as Clickthrough information, the link information of identification Quick Response Code form), terminal i.e. can connect automatically accordingly Wlan network.Such as, if the operating system of terminal is Android system, trigger this link letter After breath, WiFiManager class can be called and carry out WiFi connection.
If the WLAN access point set is not provided with password, then the money of the WLAN in link information Source includes the mark of the WLAN access point set, when knowing the mark of this WLAN access point Can be attached.
If the WLAN access point set is provided with password, then the WLAN resource in link information Including the mark of WLAN access point, the password of WLAN access point or the authorization message that set.Chain The information that connects under the triggering at the second communication object, with set WLAN access point password or Authorization message mandate the second communication object is directly accessed the WLAN access point of setting.
So, after the second communication object gets the link information including WLAN resource, pass through Trigger this link information and just can be directly connected to the WLAN access point of setting, enjoy WLAN net Network.
In order to ensure the information security of link information, in the present embodiment, with the transmission of link information time Carving as calculating basic point, link information is effective in the duration set.Such as, terminals share includes After the link information of WLAN resource gives the second communication object, in 24 hours, this link information is effective, In 24 hours, user can automatically access the WLAN access of setting by triggering this link information Point;Then lost efficacy after 24 hours, and also cannot respond to even if triggering this link information or connect WLAN.
In the present embodiment, be interactive module receive user request share WLAN resource instruction it After, acquisition module obtains from communication object list and is in the setting centered by the current location of terminal In the range of the first communication object (following with above-mentioned steps S100 represent).I.e. acquisition module is being held Before row step S100, interactive module just receives user's request and shares the instruction of WLAN resource.Example As, after user clicks on " sharing WiFi " button, acquisition module performs step S100 again, from communication Record or buddy list obtain and is in neighbouring contact person or good friend, then receive use in interactive module When family selects instruction, determine that module determines that needs are shared from being in neighbouring contact person or good friend The contact person of WLAN resource or good friend's (following with the representative of above-mentioned steps S200), then at user's point After hitting " determine and share " button, sending module send include the link information of WLAN resource to Need to share the contact person of WLAN resource or good friend's (following above-mentioned steps S300 represents).Again Such as, after user clicks on " one-key sharing WiFi " button, terminal performs step S100 and execution again Whole first communication objects (now are defined as needing to share the second of WLAN resource by step S200 Communication object, i.e. give tacit consent to whole first communication object be need to share WLAN resource second lead to Letter object), then perform step S300, thus realize the function of one-key sharing WLAN resource, The operation simplifying terminal use of limits, improves and shares efficiency.
In certain embodiments, it is after performing step S100, before performing step S200, hands over Module just receives user and asks to share the instruction of WLAN resource mutually, and interactive module is receiving user After the instruction of WLAN resource is shared in request, then perform step S200.In these embodiments, exist User's request can't be received before performing step S100 and share the instruction of WLAN resource.Such as, Terminal periodically carries out step S100 at duration at certain intervals, when user's entry communication record or Time in person's instant communication software buddy list, user clicks on " sharing WiFi " button, and terminal is then Perform step S200 according to this click commands and need to share the second communication of WLAN resource to determine After object, more directly carry out sharing or sharing after clicking on " determine and share " button.
And in further embodiments, be after performing step S200, before performing step S300, Interactive module just receives user's request and shares the instruction of WLAN resource, and interactive module is receiving use After the instruction of WLAN resource is shared in family request, then perform step S300.In these embodiments, User's request can't be received before performing step S200 and share the instruction of WLAN resource.Such as, Terminal periodically carries out step S100 at duration at certain intervals, when user's entry communication record or Time in person's instant communication software buddy list, user chooses to be needed to share the second of WLAN resource After communication object (after i.e. performing step S200), user clicks on " sharing WiFi " button again and carries out Share.
The intelligent terminal of method based on above-mentioned terminals share WLAN resource, realizes WLAN equally Resource is quickly shared wlan network scope, improves the efficiency of WLAN resource sharing.
Although each step that it should be understood that in the flow chart of Fig. 1 according to arrow instruction successively Display, but these steps are not the inevitable order indicated according to arrow to be performed successively.Unless herein In expressly state otherwise, the not strictest order that performs of these steps limits, and they can be with other Order perform.And, at least some of step in Fig. 1 can include many sub-steps or many In the individual stage, these sub-steps or stage are not necessarily to have performed at synchronization, but permissible Performing in the different moment, its execution sequence is also not necessarily and carries out successively, but can walk with other Rapid or the sub-step of other steps or at least some of of stage perform in turn or alternately.
The above is only the some embodiments of the present invention, it is noted that for the art For those of ordinary skill, under the premise without departing from the principles of the invention, it is also possible to make some improvement And retouching, these improvements and modifications also should be regarded as protection scope of the present invention.

Claims (10)

1. the method for a terminals share WLAN resource, it is characterised in that comprise the steps:
Obtain from communication object list and be in the set point centered by the current location of terminal The first communication object;
Determine from described first communication object and need to share the second communication object of WLAN resource;
Send and include the link information of WLAN resource to described second communication object;
Wherein, described link information is for authorizing described second under the triggering of described second communication object Communication object is directly accessed the WLAN access point of setting.
The method of terminals share WLAN resource the most according to claim 1, it is characterised in that Described acquisition from communication object list is in the set point centered by the current location of terminal The first communication object include:
Obtain current location and the communication object list of terminal, and be supplied to server;
The be in the set point centered by the current location of described terminal is obtained from server One communication object.
3. the method for the terminals share WLAN resource stated according to claim 1, it is characterised in that Described transmission include the link information of WLAN resource to described second communication object before, also wrap Include:
Receive user's request and share the instruction of WLAN resource.
4. the method for the terminals share WLAN resource stated according to claim 3, it is characterised in that Before determining the second communication object needing to share WLAN resource from described first communication object, Also include:
Receive user's request and share the instruction of WLAN resource.
5. the method for the terminals share WLAN resource stated according to claim 4, it is characterised in that The be in the set point centered by the current location of terminal is obtained from communication object list Before one communication object, also include:
Receive user's request and share the instruction of WLAN resource.
The method of terminals share WLAN resource the most according to claim 1, it is characterised in that Described from described first communication object, determine the second communication object bag needing to share WLAN resource Include:
Receive user and select instruction;
Select instruction to determine from described first communication object according to described user to need to share WLAN Second communication object of resource.
The method of terminals share WLAN resource the most according to claim 1, it is characterised in that Described from described first communication object, determine the second communication object bag needing to share WLAN resource Include: the second communication that the most described first communication object is defined as needing to share WLAN resource is right As.
The method of terminals share WLAN resource the most according to claim 1, it is characterised in that Described WLAN resource at least includes the mark of the WLAN access point of described setting.
The method of terminals share WLAN resource the most according to claim 8, it is characterised in that The mark of the WLAN access point of described setting at least includes the name of the WLAN access point of described setting Claim and/or physical address.
10. an intelligent terminal, it is characterised in that including:
Acquisition module, is in centered by the current location of terminal for obtaining from communication object list Set point in the first communication object;
Determine module, need to share WLAN resource for determining from described first communication object Second communication object;And
Sending module, for sending the link information including WLAN resource to described second communication Object;
Wherein, described link information is for authorizing described second under the triggering of described second communication object Communication object is directly accessed the WLAN access point of setting.
CN201610511234.1A 2016-06-30 2016-06-30 Smart terminal and method for sharing WLAN (Wireless Local Area Network) resources by terminal Pending CN105898841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610511234.1A CN105898841A (en) 2016-06-30 2016-06-30 Smart terminal and method for sharing WLAN (Wireless Local Area Network) resources by terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610511234.1A CN105898841A (en) 2016-06-30 2016-06-30 Smart terminal and method for sharing WLAN (Wireless Local Area Network) resources by terminal

Publications (1)

Publication Number Publication Date
CN105898841A true CN105898841A (en) 2016-08-24

Family

ID=56719525

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610511234.1A Pending CN105898841A (en) 2016-06-30 2016-06-30 Smart terminal and method for sharing WLAN (Wireless Local Area Network) resources by terminal

Country Status (1)

Country Link
CN (1) CN105898841A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107635231A (en) * 2017-09-12 2018-01-26 中国联合网络通信集团有限公司 Control method, device and the mobile terminal of focus WIFI switches
CN109219045A (en) * 2018-09-17 2019-01-15 北京奇艺世纪科技有限公司 A kind of router connection method, device, electronic equipment and system
CN109600303A (en) * 2018-12-04 2019-04-09 北京小米移动软件有限公司 Content share method, device and storage medium
CN111010663A (en) * 2018-10-08 2020-04-14 腾讯科技(深圳)有限公司 Information sharing method and device, storage medium and computer equipment
WO2020216231A1 (en) * 2019-04-24 2020-10-29 上海连尚网络科技有限公司 Method of sharing wireless access point by means of instant messaging software
CN112929242A (en) * 2019-12-05 2021-06-08 佛山市云米电器科技有限公司 Household appliance control method, household appliance and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546835A (en) * 2012-03-08 2012-07-04 腾讯科技(深圳)有限公司 Method for sharing contents, terminal, server and system
CN103391319A (en) * 2013-07-15 2013-11-13 金蝶软件(中国)有限公司 Resource sharing method, resource sharing system, cloud device and user terminals
CN103402275A (en) * 2013-07-26 2013-11-20 北京小米科技有限责任公司 Method, terminal and system of sharing WiFi (Wireless Fidelity) link information
CN104640060A (en) * 2015-01-28 2015-05-20 惠州Tcl移动通信有限公司 Data sharing method and system thereof
CN104980927A (en) * 2015-06-30 2015-10-14 北京奇虎科技有限公司 Method and device for sharing WiFi passwords
CN105554752A (en) * 2015-11-27 2016-05-04 东莞酷派软件技术有限公司 Hotspot sharing method and related equipment
CN105636174A (en) * 2016-03-03 2016-06-01 青岛海信电器股份有限公司 Wi-Fi access method and system, server and terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546835A (en) * 2012-03-08 2012-07-04 腾讯科技(深圳)有限公司 Method for sharing contents, terminal, server and system
CN103391319A (en) * 2013-07-15 2013-11-13 金蝶软件(中国)有限公司 Resource sharing method, resource sharing system, cloud device and user terminals
CN103402275A (en) * 2013-07-26 2013-11-20 北京小米科技有限责任公司 Method, terminal and system of sharing WiFi (Wireless Fidelity) link information
CN104640060A (en) * 2015-01-28 2015-05-20 惠州Tcl移动通信有限公司 Data sharing method and system thereof
CN104980927A (en) * 2015-06-30 2015-10-14 北京奇虎科技有限公司 Method and device for sharing WiFi passwords
CN105554752A (en) * 2015-11-27 2016-05-04 东莞酷派软件技术有限公司 Hotspot sharing method and related equipment
CN105636174A (en) * 2016-03-03 2016-06-01 青岛海信电器股份有限公司 Wi-Fi access method and system, server and terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107635231A (en) * 2017-09-12 2018-01-26 中国联合网络通信集团有限公司 Control method, device and the mobile terminal of focus WIFI switches
CN109219045A (en) * 2018-09-17 2019-01-15 北京奇艺世纪科技有限公司 A kind of router connection method, device, electronic equipment and system
CN111010663A (en) * 2018-10-08 2020-04-14 腾讯科技(深圳)有限公司 Information sharing method and device, storage medium and computer equipment
CN111010663B (en) * 2018-10-08 2022-03-08 腾讯科技(深圳)有限公司 Information sharing method and device, storage medium and computer equipment
CN109600303A (en) * 2018-12-04 2019-04-09 北京小米移动软件有限公司 Content share method, device and storage medium
CN109600303B (en) * 2018-12-04 2021-08-17 北京小米移动软件有限公司 Content sharing method and device and storage medium
WO2020216231A1 (en) * 2019-04-24 2020-10-29 上海连尚网络科技有限公司 Method of sharing wireless access point by means of instant messaging software
CN112929242A (en) * 2019-12-05 2021-06-08 佛山市云米电器科技有限公司 Household appliance control method, household appliance and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN105898841A (en) Smart terminal and method for sharing WLAN (Wireless Local Area Network) resources by terminal
US8792825B2 (en) Terminal apparatus and communication method, information processing apparatus and method, non-transitory storing medium storing program, and information processing system
CN100394734C (en) Method and system for establishing short-range service sessions
CN102546801B (en) A kind of mobile terminal matching process based on ambient-equipment-list and system
US20090270090A1 (en) Mobile communication device
CN104768156A (en) WiFi connection method and device
CN100596352C (en) Terminal, system and method for searching service via geographical position information
US20030109265A1 (en) Positional information providing apparatus communication terminal mobile communication terminal and positional information providing method
CN106792957A (en) The method for switching network and system of NB IoT terminals
CN107454655A (en) A kind of connection method of smart machine and system
CN110914819A (en) Chat robot search result integration
CN102801721A (en) Device connecting method, electronic device and server
CN103152704A (en) Social system and social method conducted by wireless fidelity (WIFI) terminal user through identification code
CN110622571B (en) Network connection method, device and terminal
CN108781473A (en) A kind of method and apparatus of the shared file between different terminals
US20150358227A1 (en) Data Transmission Method and Device
CN105210343A (en) Establishing communication
CN105850186A (en) Hidden hotspot access method and device
CN106664296A (en) Seamless peer to peer internet connectivity
CN103546511A (en) Method for realizing establishment of distributed network for multiple WIFI (wireless fidelity) equipment through WIFI, software program and server
CN103841513B (en) Method for providing service information, server and system
CN101674330A (en) Service interaction method and device thereof
CN106165497A (en) Determine method and corresponding terminal, computer program and storage medium
US9332521B2 (en) Storage medium having stored therein communication program, information processing apparatus, communication terminal apparatus, communication system, and communication method
WO2013117156A1 (en) System and method for wifi terminal user to conduct social intercourse through identification code

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160926

Address after: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant after: Beijing Qihu Technology Co., Ltd.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: Beijing Qihu Technology Co., Ltd.

Applicant before: Our Internet Network Technology (Shenzhen) Co., Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170720

Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801

Applicant after: BEIJING ANYUN SHIJI SCIENCE AND TECHNOLOGY CO., LTD.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: Beijing Qihu Technology Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160824