A kind of wireless access point methods of exhibiting and device and terminal device
Technical field
This application involves computer realms more particularly to a kind of wireless access point methods of exhibiting and device and terminal to set
It is standby.
Background technology
In the prior art, when user connects wireless access point, multiple wireless access point of near zone is can search for, are had
Wireless access point can be directly connected to, and some wireless access point need, by asking the wireless access information in high in the clouds to be attached, to have
Wireless access point then need just connect by authentication.However these wireless access point are for a user, if not
It is attached operation, then is difficult to distinguish which kind of the wireless access point belongs to actually.In wireless access point list, generally also only
Show wireless hot line title and signal strength, user is difficult to differentiate between the type of wireless access point, wireless access point list for
Family is simultaneously unfriendly.
Invention content
The purpose of the application is to provide a kind of wireless access point methods of exhibiting and device and terminal device, with solution
Certainly the wireless access point list for user of the prior art and unfriendly problem.
According to the one side of the application, a kind of wireless access point methods of exhibiting is provided, including:
The access information inquiry request of wireless access point is sent to the network equipment;
Receive the access information query feedback information for the wireless access point that the network equipment returns;Wherein, the access information
Query feedback information includes:The access information of wireless access point and the auth type information of wireless access point;
In wireless access point list to the access information wireless access point and with the auth type believe
The wireless access point of breath marks corresponding connection prompt message.
Further, wireless access point methods of exhibiting described herein further includes:
Corresponding certification is marked to the wireless access point with the auth type information in wireless access point list
Prompt message.
Further, wireless access point methods of exhibiting described herein further includes:
It is corresponding to the wireless access point label with the access information in wireless access point list to be directly connected to
Prompt message.
Further, wireless access point methods of exhibiting described herein further includes:
When wireless access point is in connection status, cancel the connection prompt message, the authorization prompt information and institute
State the label for being directly connected to prompt message.
Further, wireless access point methods of exhibiting described herein further includes:
The authentication data that network equipment collection terminal equipment is sent, and to the wireless access point mark with the authentication data
Remember the auth type information.
Further, wireless access point methods of exhibiting described herein further includes:
The network equipment is for having at least one of following be associated with the wireless access point that the auth type information is marked
The wireless access point of relationship marks the auth type information:
It is identical to identify identical and vendor source field;
It identifies identical and in the same area;
It identifies similar and in the same area.
According to further aspect of the application, a kind of wireless access point displaying device is provided, including:
Request module, the access information inquiry request for sending wireless access point to the network equipment;
Receiving module, the access information query feedback information of the wireless access point for receiving network equipment return;Wherein,
The access information query feedback information includes:The access information of wireless access point and the auth type information of wireless access point;
First display module is used in wireless access point list to wireless access point and tool with the access information
There is the wireless access point of the auth type information to mark corresponding connection prompt message.
Further, wireless access point described herein shows device, further includes:
Second display module is used in wireless access point list to the wireless access point with the auth type information
Mark corresponding authorization prompt information.
Further, wireless access point described herein shows device, further includes:
Third display module, for being marked to the wireless access point with the access information in wireless access point list
It is corresponding to be directly connected to prompt message.
Further, wireless access point described herein shows device,
First display module is additionally operable to:When wireless access point is in connection status, cancel the connection prompt message
Label;
Second display module is additionally operable to:When wireless access point is in connection status, cancel the authorization prompt information
Label;
Third display module is additionally operable to:When wireless access point is in connection status, prompt letter is directly connected to described in cancellation
The label of breath.
According to the another aspect of the application, a kind of computer readable storage medium is provided, it is described computer-readable to deposit
Storage media store instruction, described instruction are executed according to wireless access point methods of exhibiting described herein.
According to another aspect of the application, a kind of terminal device, the terminal device nothing described herein are provided
Line access point methods of exhibiting executes instruction.
Wireless access point methods of exhibiting and device and terminal device provided by the present application, can be to having such as WIFI close
The wireless access point of wireless access information such as code and the wireless access point that can be attached by authentication, in wireless access
Connection prompt message is shown in point list to it, the wireless access point that can be connected quickly is positioned convenient for user.
Description of the drawings
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 shows the flow diagram of the wireless access point methods of exhibiting of the embodiment of the present application one;
Fig. 2 shows the flow diagrams of the wireless access point methods of exhibiting of the embodiment of the present application two;
Fig. 3 shows the structural schematic diagram of the wireless access point displaying device of the embodiment of the present application three;
Fig. 4 shows the structural schematic diagram of the wireless access point displaying device of the embodiment of the present application four.
Same or analogous reference numeral represents same or analogous component in attached drawing.
Specific implementation mode
The application is described in further detail below in conjunction with the accompanying drawings.
In a typical configuration of this application, terminal, the equipment of service network and trusted party include one or more
Processor (CPU), input/output interface, network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flashRAM).Memory is showing for computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, magnetic tape disk storage or other magnetic storage apparatus or
Any other non-transmission medium can be used for storage and can be accessed by a computing device information.As defined in this article, computer
Readable medium does not include non-temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
Embodiment one
Fig. 1 shows the flow diagram of the wireless access point methods of exhibiting of the embodiment of the present application one, as shown in Figure 1, this
Apply for that the wireless access point methods of exhibiting of embodiment one includes:
Step S101 sends the access information inquiry request of wireless access point to the network equipment.
For example, user by the operations such as clicking, triggers a key inquiry button of display screen, terminal device is to cloud server
The equal network equipments send access information inquiry request, and access information inquiry request includes wireless access point list information, is wirelessly connect
Include in access point list information:The SSID (ServiceSet Identifier, service set) and BSSID of wireless access point
(Basic Service Set Identifier, basic service set identification).Wireless access point include encryption wireless access point and/
Or open wireless access point.
Step S102 receives the access information query feedback information for the wireless access point that the network equipment returns;Wherein, described
Access information query feedback information includes:The access information of wireless access point and the auth type information of wireless access point.
For example, the network equipment returns wirelessly according to SSID and/or BSSID in wireless access point list information to terminal device
The access information of the access information of access point, wireless access point includes password, secret key etc..Cloud server has been compiled in advance
It is wireless including password corresponding with wireless access point identification, secret key etc. about the data list of several wireless access point
Access point access information.Access information can also include the information that high in the clouds has access pin.For example, user passes through the behaviour such as click
Make, trigger a key inquiry button of display screen, terminal device sends access information inquiry request to the network equipment, with according to wireless
Access point identity inquires whether cloud server has the access pin of wireless access point.Cloud server inquires the wireless of itself
The data list of access point simultaneously returns to query result, according to the wireless access point identification that terminal device is sent, for password
Wireless access point to terminal device return high in the clouds have access pin information.Also, the network equipment is according to wireless access point
SSID and/or BSSID returns to the auth type information of wireless access point to terminal device in list information.Auth type information is used
To show that some wireless access point is to need authentication just attachable open wireless access point.
Step S103, in wireless access point list to the access information wireless access point and recognize with described in
The wireless access point for demonstrate,proving type information marks corresponding connection prompt message.
Wherein, wireless access point list is used to show attachable wireless access point information in terminal device display screen.It is right
High in the clouds has the hotspot of access pin, and terminal device can get the bid in wireless access point list remembers displaying connection prompt message,
Such as blue key icon, to prompt user.However for open hotspot, while it is desirable to which authentication just can access because of spy
Net also belongs to attachable hotspot, can also mark displaying connection prompt message to it in wireless access point information.Connection
Blue key icon can be used in prompt message, is placed in the side of hotspot mark or title in hotspot displaying list, with
Show that the hotspot can be connected.In addition, configuration file config also belongs to access information, for local config's
Hotspot also adds blue key icon.
The wireless access point methods of exhibiting of the embodiment of the present application one, for access information wireless access point and can
The wireless access point that is attached by authentication shows it in wireless access point list connection prompt message, just
The wireless access point that can be connected quickly is positioned in user.
Embodiment two
Fig. 2 shows the flow diagrams of the wireless access point methods of exhibiting of the embodiment of the present application two, as shown in Fig. 2, this
Apply for that the wireless access point screening technique of embodiment one includes:
Step S201 sends the access information inquiry request of wireless access point to the network equipment.
Step S202 receives the access information query feedback information for the wireless access point that the network equipment returns;Wherein, described
Access information query feedback information includes:The access information of wireless access point and the auth type information of wireless access point.
Step S203, in wireless access point list to the access information wireless access point and recognize with described in
The wireless access point for demonstrate,proving type information marks corresponding connection prompt message.
Specifically, the authentication data that network equipment collection terminal equipment is sent, and to the wireless of the authentication data
Access point marks the auth type information.
Wherein, for wireless access point, the needs in access are authenticated the data generated, such as authentication page to authentication data
Face data etc..It is automatic to detect whether the arbitrary wireless access point of user's connection generates certification set on the APP application programs of terminal device
The case where data, when finding to connect some wireless access point, after producing the authentication data such as certification page, terminal device
By wireless access point identification and it can indicate that the wireless access point produces the information of authentication data and is sent to cloud server
The equal network equipments.The network equipment collects the authentication data for coming from several terminal devices, establishes the number about wireless access point
According to list.
Auth type information is marked for the wireless access point for producing authentication data in arbitrary wireless access point, with table
The bright wireless access point is the certification wireless access point for needing certification that could connect, and needs certification that could connect network to filter out
Open wireless access point.
Specifically, the network equipment collects the authentication data for connecting and being generated when arbitrary wireless access point.Record is recognized described in generating
Demonstrate,prove the time data of data.When the time data is within preset time threshold, to generating the wireless access of authentication data
Point label auth type information.When the network equipment collects the authentication data of the wireless access point from terminal device, number is generated
According to list, which includes wireless access point identification, generate the information of authentication data and generate authentication data when
Between.And the network equipment is by being arranged preset time threshold, only to generating the wireless of authentication data within preset time threshold
Access point marks auth type information, can filter out the opening wireless access point that authentication data is generated in a period of time recently, with
Expired data are excluded, the fresh and alive property of data is kept.
Optionally, the case where detecting wireless access point pop-up certification page automatically except through APP, can also pass through user's
It is selected as certification wireless access point label auth type information.For example, user is operated by hand labeled, to certain wireless access point
Label need certification by information, the network equipment equally collects this category information, with to the wireless access point for generating authentication data
Mark auth type information.
Specifically, the network equipment with the wireless access point that the auth type information is marked for having following at least one
The wireless access point of item incidence relation marks the auth type information:
It is identical to identify identical and vendor source field.
It identifies identical and in the same area.
It identifies similar and in the same area.
Specifically, SSID (Service Set Identifier, service set) can be used in the mark of wireless access point,
The vendor source field of wireless access point may be from BSSID (Basic Service Set Identifier, basic service set mark
Know) first six digits.And BSSID first six digits identical wireless access point identical for SSID, it is believed that it belongs to one
Wireless access point accesses network.For being not yet collected into authentication data or not yet marking the wireless access of auth type information
Point can belong to the case where same wireless access point accesses network according to it, auth type information is marked to it, is being marked
On the basis of the wireless access point for having remembered auth type information, further the database of certification wireless access point is carried out extensive
Extension avoids only terminal device being leaned on to collect the defect that the collection efficiency that authentication data is brought is low, data volume is few.For example, if another
One wireless access point for being not yet collected into authentication data or not yet marking auth type information, has been marked with data list
The wireless access point of auth type information, SSID having the same are remembered, and the first six digits of its BSSID are identical, then to this
Another wireless access point also marks auth type information, to show it as certification wireless access point.
Specifically, the same area refers to two wireless access point in adjacent geographic area, and adjacent geographic area can be by drawing
Determine self defined area range to be configured.In same geographic area, and the identical wireless access point of SSID, it is likely that belong to
The same wireless access point accesses network.Therefore, on the basis of auth type information has been marked in some wireless access point,
For being not yet collected into authentication data or not yet marking the wireless access point of auth type information, it can belong to same according to it
The case where a wireless access point access network, auth type information is marked to it, further to the data of certification wireless access point
Library is extended on a large scale.For example, if another is not yet collected into authentication data or not yet marks auth type information
The wireless access point that auth type information has been marked in wireless access point, with data list compares, having the same
SSID, and in the same area, then auth type information is also marked to another wireless access point, to show it as certification
Wireless access point.
Specifically, when the geographical location Hash of two wireless access point encodes area field having the same, this is determined
Two wireless access point are in the same area.Geographical location Hash is encoded to geohash codings.For example, passing through geohash algorithms
The latitude of wireless hot line and longitude are respectively converted into geohash codings, character string is similar to indicate closely located, can utilize
The prefix matching of character string determines the distance between several wireless access point.The length of geohash codings can determine distance
Precision, for example, when geohashbase32 code lengths are 8, precision works as geohash base32 codings at 19 meters or so
When length is 9, precision is at 2 meters or so.Code length can be selected according to data cases.For several wireless access point
Its geohash codings can be calculated separately, for example, the geohash codings for setting wireless access point are respectively 8, central point can be set
Preceding 6 of geohash codings for area field.If first 6 of geographical location Hash coding, i.e., area field is identical, that is, shows
These wireless access point are in same geographic area.The length of area field can need freely to set according to available accuracy.
Specifically, judge that the similar step of the mark of wireless access point specifically includes:Calculate first wireless access point
Mark and the mark of second wireless access point editing distance.When the editing distance is in default similarity threshold
When, determine that second wireless access point is similar to first wireless access point.Editing distance (Edit
Distance), also known as Levenshtein distances refer between two word strings, and the minimum editor needed for another is changed by one
Number of operations.The edit operation of license includes that a character is substituted for another character, is inserted into a character, deletes a word
Symbol.For example, to calculate cafe and coffee editing distance can according to the sequence of cafe → caffe → coffe → coffee into
Row calculates.In general, editing distance is smaller, and the similarity of two strings is bigger.It is wireless using editing distance algorithm pair first
Access point SSID is calculated with the second wireless access point SSID, obtains its editing distance.Pass through default similarity threshold pair two
A SSID similarities are screened, and when editing distance is within default similarity threshold, determine the first wireless access point and institute
The SSID for stating the second wireless access point is similar.If the first wireless access point is with second wireless access point also in the same area
When interior, can the first wireless access point of primitive decision and second wireless access point belong to same wireless access point access network,
On the basis of the first wireless access point labeled auth type information, also auth type is marked to believe the second wireless access point
Breath.
For example, for two character strings str1 and str2, if the first wireless access point SSID is str1, the second wireless access
Point SSID is str02.Generate following matrix:
|
|
s |
t |
r |
0 |
2 |
|
0 |
1 |
2 |
3 |
4 |
5 |
s |
1 |
|
|
|
|
|
t |
2 |
|
|
|
|
|
r |
3 |
|
|
|
|
|
1 |
4 |
|
|
|
|
D[n,m] |
According to the value of each unit in formula (1) calculating matrix:
D [i, j]=min (d [i-1, j]+1, d [i, j-1]+1, d [i-1, j-1]+temp) ... ... ... (1);
Wherein, as str1 [i]==str2 [j], temp=0;Otherwise, temp=1.I, j is natural number and i >=2, j
≥2.D [i-1, j]+1 is indicated to increase and be operated, and d [i, j-1]+1 indicates that delete operation, d [i-1, j-1]+temp indicate to replace behaviour
Make.
Editing distance can be calculated according to formula (2):
Editing distance=1-D [n, m]/max (str1 string lengths, str2 string lengths) ... (2);
Wherein, D [n, m] is last position of editing distance calculating matrix.
Step S204 marks the wireless access point with the auth type information in wireless access point list opposite
The authorization prompt information answered.
For example, below the mark of the wireless access point with auth type information, displaying text information " may need net
Page certification ", is to need certification just to connect the certification wireless access point of internet to prompt user's wireless access point.It " may need
Want webpage certification " text information be particularly located at the lower section of the hotspot title for being marked with blue key icon.
Step S205, it is corresponding to the wireless access point label with the access information in wireless access point list
It is directly connected to prompt message.
For example, below the mark of the wireless access point with access information, text information " can be directly connected to " is shown, with
The prompt user wireless access point can be directly connected to.The text information of " can be directly connected to ", which is particularly located at, is marked with blue key icon
Hotspot title lower section.
Step S206 cancels the connection prompt message, the authorization prompt when wireless access point is in connection status
Information and the label for being directly connected to prompt message.
For example, for the wireless access point in connection status, then cancels above-mentioned authorization prompt information, is directly connected to prompt
Information and the displaying for connecting prompt message.
Embodiment three
Fig. 3 shows the structural schematic diagram of the wireless access point displaying device of the embodiment of the present application three, as shown in figure 3, this
The wireless access point of application embodiment three shows that device includes:
Request module 31, the access information inquiry request for sending wireless access point to the network equipment;
Receiving module 32, the access information query feedback information of the wireless access point for receiving network equipment return;Its
In, the access information query feedback information includes:The access information of wireless access point and the auth type letter of wireless access point
Breath;
First display module 33, in wireless access point list to the access information wireless access point and
Wireless access point with the auth type information marks corresponding connection prompt message.
The screening plant of the certification wireless access point of embodiment three is the reality of the wireless access point methods of exhibiting of embodiment one
Existing device, concrete principle can refer to embodiment one, and details are not described herein again.
Example IV
Fig. 4 shows the structural schematic diagram of the wireless access point displaying device of the embodiment of the present application four, as shown in figure 3, this
The wireless access point of application example IV shows that device includes:Request module 31, receiving module 32, the first display module 33,
Two display modules 34 and third display module 35.
Request module 31, the access information inquiry request for sending wireless access point to the network equipment;
Receiving module 32, the access information query feedback information of the wireless access point for receiving network equipment return;Its
In, the access information query feedback information includes:The access information of wireless access point and the auth type letter of wireless access point
Breath;
First display module 33, in wireless access point list to the access information wireless access point and
Wireless access point with the auth type information marks corresponding connection prompt message.
Second display module 34 is used in wireless access point list to the wireless access with the auth type information
Point marks corresponding authorization prompt information.
Third display module 35 is used in wireless access point list to the wireless access point mark with the access information
Remember and corresponding is directly connected to prompt message.
Optionally, the first display module 33 is additionally operable to:When wireless access point is in connection status, can be connected described in cancellation
The displaying of prompt message.
Second display module 34 is additionally operable to:When wireless access point is in connection status, cancel the authorization prompt information
Displaying.
Third display module 35 is additionally operable to:When wireless access point is in connection status, it is directly connected to prompt described in cancellation
The displaying of information.
The screening plant of the certification wireless access point of example IV is the reality of the wireless access point methods of exhibiting of embodiment two
Existing device, concrete principle can refer to embodiment two, and details are not described herein again.
Embodiment five
In addition, embodiments herein five provides a kind of computer readable storage medium comprising instruction, described instruction
It can be executed according to the application wireless access point methods of exhibiting shown in fig. 1 or fig. 2 by processing unit.
Embodiment five is the storage medium for the wireless access point methods of exhibiting for realizing embodiment one or two, and concrete principle can join
Embodiment one or two is examined, details are not described herein again.
Embodiment six
In addition, embodiments herein six provides a kind of terminal device, including processing unit, the processing unit is according to this
Application embodiment wireless access point methods of exhibiting shown in fig. 1 or fig. 2 executes instruction.
Embodiment six is the network equipment for the wireless access point methods of exhibiting for realizing embodiment one or two, and concrete principle can join
Embodiment one or two is examined, details are not described herein again.
Obviously, those skilled in the art can carry out the application essence of the various modification and variations without departing from the application
God and range.In this way, if these modifications and variations of the application belong to the range of the application claim and its equivalent technologies
Within, then the application is also intended to include these modifications and variations.
It should be noted that the application can be carried out in the assembly of software and/or software and hardware, for example, can adopt
With application-specific integrated circuit (ASIC), general purpose computer or any other realized similar to hardware device.In one embodiment
In, the software program of the application can be executed by processor to realize steps described above or function.Similarly, the application
Software program (including relevant data structure) can be stored in computer readable recording medium storing program for performing, for example, RAM memory,
Magnetic or optical driver or floppy disc and similar devices.In addition, hardware can be used to realize in some steps or function of the application, example
Such as, coordinate to execute the circuit of each step or function as with processor.
In addition, the part of the application can be applied to computer program product, such as computer program instructions, when its quilt
When computer executes, by the operation of the computer, it can call or provide according to the present processes and/or technical solution.
And the program instruction of the present processes is called, it is possibly stored in fixed or moveable recording medium, and/or pass through
Broadcast or the data flow in other signal loaded mediums and be transmitted, and/or be stored according to described program instruction operation
In the working storage of computer equipment.Here, including a device according to one embodiment of the application, which includes using
Memory in storage computer program instructions and processor for executing program instructions, wherein when the computer program refers to
When order is executed by the processor, method and/or skill of the device operation based on aforementioned multiple embodiments according to the application are triggered
Art scheme.
It is obvious to a person skilled in the art that the application is not limited to the details of above-mentioned exemplary embodiment, Er Qie
In the case of without departing substantially from spirit herein or essential characteristic, the application can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and scope of the present application is by appended power
Profit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent requirements of the claims
Variation is included in the application.Any reference signs in the claims should not be construed as limiting the involved claims.This
Outside, it is clear that one word of " comprising " is not excluded for other units or step, and odd number is not excluded for plural number.That is stated in device claim is multiple
Unit or device can also be realized by a unit or device by software or hardware.The first, the second equal words are used for table
Show title, and does not represent any particular order.