Summary of the invention
The object of the embodiment of the present invention is to provide a kind of WiFi title collecting method and device, to make user find the title of available WiFi with the less time, improves the search efficiency of the title of available WiFi.Concrete technical scheme is as follows:
First aspect, the invention provides a kind of WiFi title collecting method, be applied to terminal device, described method comprises:
Obtain available WiFi list;
Judge whether user meets the output condition of the operational order of puting into collection for the operation that the title of the WiFi in described available WiFi list performs, and if so, the title for a described WiFi shows described operational order;
When receive user according to described operational order input put into collection operation time, the title of a described WiFi is collected, and highlights the title of a described WiFi.
Further, the title highlighting a described WiFi described in comprises:
By the top set display in WiFi list of the title of a described WiFi; And/or
Label information is shown at the title place of a described WiFi.
Further, described method also comprises:
Obtain and record the address information of a described WiFi.
Further, the address information of the described WiFi of described acquisition comprises:
Obtain the address information of the router of a described WiFi, as the address information of a described WiFi.
Further, described method also comprises:
According to the time interval of setting, obtain current location information;
According to the address information of described current location information and a described WiFi, judge whether the distance between the current location that obtains and the address of a described WiFi is greater than the first distance threshold;
If so, then according to obtained current location information, and the address information of each WiFi collected, identify that the distance between described current location is less than at least one WiFi of second distance threshold value;
According to the distance between at least one WiFi described and described current location, by the title of at least one WiFi described in identified in the order arrangement of the top of WiFi list.
Further, when described terminal device is mobile terminal, the operation that described user performs for the title of the WiFi in described available WiFi list comprises: compressing time is greater than operation or the double click operation of time threshold; When described terminal device is computing machine, the operation being operating as right button of clicking the mouse that described user performs for the title of the WiFi in described available WiFi list.
Further, the described operational order of described displaying also comprises:
Show attended operation instruction; And/or
Show rename operational order.
Second aspect, the invention provides a kind of WiFi title holding device fo, be applied to terminal device, described device comprises:
First acquisition module, for obtaining available WiFi list;
Display module, for judging whether user meets the output condition of the operational order of puting into collection for the operation that the title of the WiFi in described available WiFi list performs, and if so, the title for a described WiFi shows described operational order;
Execution module, for when receive user according to described operational order input put into collection operation time, the title of a described WiFi is collected, and highlights the title of a described WiFi.
Further, described execution module specifically for:
By the top set display in WiFi list of the title of a described WiFi; And/or
Label information is shown at the title place of a described WiFi.
Further, described device also comprises:
Second acquisition module, for obtaining and recording the address information of a described WiFi.
Further, described second acquisition module specifically for:
Obtain the address information of the router of a described WiFi, as the address information of a described WiFi.
Further, described device also comprises:
3rd acquisition module, for the time interval according to setting, obtains current location information;
Judge module, for the address information according to described current location information and a described WiFi, whether the distance between the current location that judgement obtains and the address of a described WiFi is greater than the first distance threshold;
Identification module, for when described judge module judged result is for being, according to obtained current location information, and the address information of each WiFi collected, identify that the distance between described current location is less than at least one WiFi of second distance threshold value;
Display module, for according to the distance between at least one WiFi described and described current location, by the title of at least one WiFi described in identified in the order arrangement of the top of WiFi list.
Further, when described terminal device is mobile terminal, the operation that described user performs for the title of the WiFi in described available WiFi list comprises: compressing time is greater than operation or the double click operation of time threshold; When described terminal device is computing machine, the operation being operating as right button of clicking the mouse that described user performs for the title of the WiFi in described available WiFi list.
Further, described display module also for:
Show attended operation instruction; And/or
Show rename operational order.
The WiFi title collecting method that the embodiment of the present invention provides and device, described method comprises: obtain available WiFi list; Judge whether user meets the output condition of the operational order of puting into collection for the operation that the title of the WiFi in described available WiFi list performs, and if so, the title for a described WiFi shows described operational order; When receive user according to described operational order input put into collection operation time, the title of a described WiFi is collected, and highlights the title of a described WiFi.The title of the one WiFi can be collected by the present embodiment, and highlights the title of a WiFi, when user carries out WiFi connection, can find the title of the available WiFi collected, improve the search efficiency of the title of available WiFi with the less time.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
It should be noted that, when not conflicting, the embodiment in the present invention and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the present invention in detail in conjunction with the embodiments.
Please refer to Fig. 1, it illustrates the indicative flowchart of an embodiment according to WiFi title collecting method provided by the invention.
As shown in Figure 1, the WiFi title collecting method that the present embodiment provides, is applied to terminal device, can comprises the steps:
Step 101, obtains available WiFi list.
Along with the development of mobile network's technology, obtain the network information for WiFi can be connected to by terminal device.Above-mentioned terminal device can be various electronic equipment, includes but not limited to desk-top computer, smart mobile phone, panel computer, personal digital assistant etc.
When user connects WiFi by terminal device, the WLAN (wireless local area network) switch of the equipment that can first open a terminal.After the WLAN (wireless local area network) switch opens of terminal device, WiFi available near terminal device can obtain, namely terminal device can search the WiFi having signal being positioned at its region of search, and in terminal device, present available WiFi list, one of them WiFi is selected to carry out connecting or perform other operation, as deletion, rename, collection etc. for user.
Step 102, judges whether user meets the output condition of the operational order of puting into collection for the operation that the title of the WiFi in described available WiFi list performs, and if so, the title for a described WiFi shows described operational order.
In the present embodiment, after terminal device gets available WiFi list, can judge whether user meets the output condition of the operational order of puting into collection for the operation that the title of the WiFi in this available WiFi list performs, if so, the title for a WiFi shows described operational order.
Terminal device gets available WiFi list and after presenting this available WiFi list on the terminal device, user can perform the operation corresponding with exporting some operational orders for the title of the WiFi in this available WiFi list, shows corresponding operational order to make terminal device.Such as, when user wants collection the one WiFi, can perform and corresponding operation of puting into collection for the title of a WiFi.When terminal device detects that user meets the output condition of the operational order of puting into collection for the operation that the title of a WiFi performs, the operational order of puting into collection can be shown for the title of a WiFi.An above-mentioned WiFi can be any one WiFi in available WiFi list.
Be appreciated that in WiFi list that the title of all WiFi listed is the current WiFi that can search of terminal device, and most of WiFi is provided with password, for user, wherein one or more may be only had to be that user knows password.Therefore, generally, user can for the title executable operations of WiFi knowing password, or, when user knows the password of multiple WiFi, can for the title executable operations of the wherein good WiFi of signal, corresponding operational order is shown in the operation that terminal device can perform in response to user.
For different terminal devices, due to the singularity of each terminal device, for same operational order, different operations can be set.When collecting any one WiFi as wanted as user, for different terminal devices, corresponding operation can be performed.Such as, when terminal device is mobile terminal (as smart mobile phone, panel computer etc.), the operation that user performs can comprise: compressing time is greater than operation or the double click operation of time threshold (as 2 seconds, 3 seconds, 4 seconds etc.); When terminal device is computing machine, the operation that user performs can be the operation of right button of clicking the mouse.
Please refer to Fig. 2, it illustrates WiFi title collection interface schematic diagram.As shown in Figure 2, when terminal device detects that user meets the output condition of the operational order of puting into collection for the operation that the title of any one WiFi performs, the operational order of puting into collection can be shown in operational order display area 210.
Alternatively, attended operation instruction can also be shown in operational order display area 210, and/or, show rename operational order.
When in terminal device simultaneously show put into collection operational order, attended operation instruction and rename operational order time, above-mentioned multiple operational order can be shown in a display frames, also can show each operational order respectively in multiple display frames.
Step 103, when receive user according to described operational order input put into collection operation time, the title of a described WiFi is collected, and highlights the title of a described WiFi.
When terminal device detects that user meets the output condition of the operational order of puting into collection for the operation that the title of a WiFi performs, this operational order can be shown for the title of a WiFi.When user clicks the operational order of puting into collection, the title of the one WiFi can be collected by terminal device, and highlight the title of a WiFi, show so that the title of a WiFi and the title of other WiFi are distinguished, when carrying out WiFi connection next time, the title of the WiFi collected can be found easily.Such as, the title of a WiFi can be shown with the color being different from the title of other WiFi, or, the title of a WiFi is set to the font different from the title of other WiFi.
Alternatively, in the present embodiment, the title that terminal device highlights a WiFi can comprise: by the top set display in WiFi list of the title of a WiFi; And/or, show label information at the title place of a WiFi.
Particularly, when terminal device receives the operation of puting into collection of user's input, can by the top set display in WiFi list of the title of a WiFi, or show label information at the title place of a WiFi, such as, a pictorial symbolization information (as triangle, pentagram etc.) or word marking information (as collected, highlighting) can be increased at the title place of a WiFi.Preferably, in order to make the WiFi display of collection more obvious, by the top set display in WiFi list of the title of the WiFi of collection, label information can be shown at the title place of this WiFi again simultaneously.
The WiFi title collecting method that the present embodiment provides, the title of the one WiFi can be collected, and highlight the title of a WiFi, when user carries out WiFi connection, the title of the available WiFi collected can be found with the less time, improve the search efficiency of the title of available WiFi.
Please refer to Fig. 3, it illustrates the indicative flowchart of another embodiment according to WiFi title collecting method provided by the invention.
As shown in Figure 3, the WiFi title collecting method that the present embodiment provides, is applied to terminal device, can comprises the steps:
Step 301, obtains available WiFi list.
Step 302, judges whether user meets the output condition of the operational order of puting into collection for the operation that the title of the WiFi in described available WiFi list performs, and if so, the title for a described WiFi shows described operational order.
Step 303, when receive user according to described operational order input put into collection operation time, the title of a described WiFi is collected, and highlights the title of a described WiFi.
Step 304, obtains and records the address information of a described WiFi.
When the title of a WiFi is collected by terminal device, and when highlighting the title of a WiFi, can by the top set display in WiFi list of the title of a WiFi.That is, in WiFi list top display be the title of the WiFi collected in the terminal device nearest time.
Be appreciated that when the title of multiple WiFi collected by terminal device, the title of the plurality of WiFi can be presented at regions different in WiFi list from the title that other does not collect WiFi.Title all top set displays in WiFi list of the WiFi of each up-to-date collection, therefore, the title of the WiFi of multiple collection can all be presented at position forward in WiFi list.
Please refer to Fig. 4, it illustrates the interface schematic diagram of the title of the WiFi showing collection in terminal device.As shown in Figure 4, when the title of multiple WiFi collected by terminal device, the title of multiple WiFi of collection all can be presented at position 410 forward in WiFi list, the title of other WiFi do not collected is arranged in the position 420 after the title of the WiFi of collection.
When terminal device position changes, the WiFi that may collect recently is no longer available WiFi, therefore, user is when carrying out WiFi and connecting, need to search from the title of the WiFi of collection current position can the title of WiFi, and current position can the title of WiFi may come rearward position in the title of the WiFi of collection, this needs to expend the long period.
Therefore, in the present embodiment, when the title of a WiFi is collected by terminal device, and after highlighting the title of a WiFi, can also obtain and record the address information of a WiFi, can rearrange according to the title of the address information of each WiFi of collection by each WiFi of collection.Such as, when the title of terminal device collection the one WiFi, GPS (GlobalPositioningSystem can be passed through, GPS) location technology or any one location technology existing obtain current location information, and the current location information of acquisition is defined as the address information of a WiFi, and record the address information of a WiFi.
Alternatively, terminal device can obtain the address information of the router of a WiFi, and the address information of obtained router is defined as the address information of a WiFi.Such as, the IP address of the router of a WiFi can be obtained, and the IP address of the router of the WiFi obtained is defined as the address information of a WiFi.Determine that the address information of router belongs to prior art, the present invention is not described further this.
Step 305, according to the time interval of setting, obtains current location information.
To obtain and after recording the address information of a WiFi, terminal device according to the time interval of setting, can also obtain current location information, and to judge whether the position of terminal device changes, the title the need of each WiFi by collection rearranges.
Particularly, terminal device can obtain current location information by GPS location technology or any one location technology existing, and the present invention is not construed as limiting this.
Step 306, according to the address information of described current location information and a described WiFi, judges whether the distance between the current location that obtains and the address of a described WiFi is greater than the first distance threshold, if, carry out step 307, otherwise, carry out step 305.
Get the address information of a WiFi, and after current location information, terminal device can according to the address information of current location information and a WiFi, and whether the distance judging between the current location that obtains and the address of a WiFi is greater than the first distance threshold (as 5 meters, 10 meters, 20 meters etc.).That is, terminal device can judge whether the position of self there occurs larger change, to judge that the arrangement position of the title of the WiFi collected is the need of change further.
When distance between the current location that terminal device obtains and the address of a WiFi is less than or equal to the first distance threshold, show that the position of terminal device does not have greatly changed, because each WiFi can be available within the scope of certain distance, therefore, when less change occurs in the position of terminal device, the arrangement position of the title of the WiFi of collection can be constant.
Step 307, according to obtained current location information, and the address information of each WiFi collected, identify that the distance between described current location is less than at least one WiFi of second distance threshold value.
When distance between obtained current location and the address of a WiFi is greater than the first distance threshold, show that the position of terminal device there occurs larger change, one WiFi may be unavailable, and the title of a WiFi is also arranged in the top of WiFi list, therefore, need the arrangement position of the title of each WiFi rearranging collection, with by current position can the title of WiFi be arranged in position forward in the WiFi of collection, facilitate user to search and connect one of them WiFi.
In the present embodiment, when distance between obtained current location and the address of a WiFi is greater than the first distance threshold, terminal device can according to obtained current location information, and the address information of each WiFi collected, identify that the distance between current location is less than at least one WiFi of second distance threshold value (as 10 meters, 20 meters, 50 meters etc.).
In general, the WiFi that the distance and between current location is less than second distance threshold value is available WiFi.Therefore, when identifying the distance between current location and being less than at least one WiFi of second distance threshold value, need the position of the title of this at least one WiFi to rearrange.When not identifying the distance between current location and being less than at least one WiFi of second distance threshold value, show in the WiFi that terminal device is collected, all unavailable in current position, therefore, the arrangement position of the title of the WiFi of collection can be constant.
Step 308, according to the distance between at least one WiFi described and described current location, by the title of at least one WiFi described in identified in the order arrangement of the top of WiFi list.
When identifying the distance between current location and being less than at least one WiFi of second distance threshold value, show that this at least one WiFi is available WiFi in current position, terminal device can rearrange the position of the title of this at least one WiFi, during to carry out WiFi connection user, user is facilitated to find the title of this at least one WiFi.
Particularly, terminal device can according to the distance between this at least one WiFi and current location, by the title of at least one WiFi described in identified in the order arrangement of the top of WiFi list.Such as, when only identifying a WiFi, the title of this WiFi can be presented in the top of WiFi list; When identifying multiple WiFi, according to the distance between each WiFi and current location, the title of each WiFi can be presented in the top of WiFi list according to distance order from small to large.
Terminal device distance WiFi is nearer, and the signal of this WiFi may be stronger.Therefore, when terminal device position changes, according to the distance between each WiFi and current location, by the title of each WiFi in the order arrangement of the top of WiFi list, when user carries out WiFi connection, what come WiFi list top is the title of the good WiFi of signal, and user can find the title of the good WiFi of signal easily, can improve the search efficiency of the title of the good WiFi of signal.
Please refer to Fig. 5, it illustrates the structural representation of an embodiment according to WiFi title holding device fo provided by the invention.
As shown in Figure 5, the WiFi title holding device fo that the present embodiment provides, be applied to terminal device, described device can comprise:
First acquisition module 510, for obtaining available WiFi list;
Display module 520, for judging whether user meets the output condition of the operational order of puting into collection for the operation that the title of the WiFi in described available WiFi list performs, and if so, the title for a described WiFi shows described operational order;
Execution module 530, for when receive user according to described operational order input put into collection operation time, the title of a described WiFi is collected, and highlights the title of a described WiFi.
Further, described execution module 530 specifically for: by the title of a described WiFi in WiFi list top set display; And/or show label information at the title place of a described WiFi.
Further, when described terminal device is mobile terminal, the operation that described user performs for the title of the WiFi in described available WiFi list comprises: compressing time is greater than operation or the double click operation of time threshold; When described terminal device is computing machine, the operation being operating as right button of clicking the mouse that described user performs for the title of the WiFi in described available WiFi list.
Further, described display module 520 also for: show attended operation instruction; And/or, show rename operational order.
In an optional implementation of the present embodiment, described device also comprises:
Second acquisition module 540, for obtaining and recording the address information of a described WiFi.
Further, described second acquisition module 540 specifically for the address information obtaining the router of a described WiFi, as the address information of a described WiFi.
Further, described device also comprises:
3rd acquisition module 550, for the time interval according to setting, obtains current location information;
Judge module 560, for the address information according to described current location information and a described WiFi, whether the distance between the current location that judgement obtains and the address of a described WiFi is greater than the first distance threshold;
Identification module 570, for when described judge module 560 judged result is for being, according to obtained current location information, and the address information of each WiFi collected, identify that the distance between described current location is less than at least one WiFi of second distance threshold value;
Display module 580, for according to the distance between at least one WiFi described and described current location, by the title of at least one WiFi described in identified in the order arrangement of the top of WiFi list.
The WiFi title holding device fo that the present embodiment provides, the title of the one WiFi can be collected, and highlight the title of a WiFi, when user carries out WiFi connection, the title of the available WiFi collected can be found with the less time, improve the search efficiency of the title of available WiFi.
Terminal device distance WiFi is nearer, and the signal of this WiFi may be stronger.Therefore, when terminal device position changes, according to the distance between each WiFi and current location, by the title of each WiFi in the order arrangement of the top of WiFi list, when user carries out WiFi connection, what come WiFi list top is the title of the good WiFi of signal, and user can find the title of the good WiFi of signal easily, can improve the search efficiency of the title of the good WiFi of signal.
For systems/devices embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Each embodiment in this instructions all adopts relevant mode to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.