Summary of the invention
The embodiment of the present invention provides a kind of air navigation aid, needs to consume mobile data stream to solve to navigate in the prior art
The problem of amount.
The embodiment of the present invention provides a kind of air navigation aid, including:Detect the first attribute information of at least one access point AP;
Target AP is determined according to the first attribute information of at least one AP;Wherein, the target AP is the AP of destination;According to end
First attribute information of the current location information at end and the target AP, navigates.
Due to by detecting the first attribute information of at least one AP, detecting the first attribute of AP in the embodiment of the present invention
Information does not need consumption mobile data flow, determines target AP according to the first attribute information of AP, later according to the of target AP
One attribute information and terminal current location navigate.In this way, may be implemented not need mobile data flow navigation can be realized,
And then user experience can be promoted.
In a kind of possible embodiment, the attribute information includes the title of AP;Described at least one AP according to
The first attribute information determine target AP, including:It will be corresponding with the matched title of at least one AP of preset keyword
Target AP subject to AP is determining, wherein the quasi- target AP includes at least one AP;One in the quasi- target AP is determined as
The target AP.
In order to further accurately determine that target AP, first attribute information further include the first signal strength;It is described
One in the quasi- target AP is determined as target AP, including:Determine that the first signal of each AP in the quasi- target AP is strong
Degree;The AP that the first signal strength meets first threshold in the quasi- target AP is determined as the target AP;The basis is current
First attribute information of location information and the target AP, navigates, including:When terminal is moved to next bit from current location
When setting, the second signal intensity of the target AP is determined, if the second signal intensity is greater than first signal strength, refer to
Show forward movement.
In a kind of possible embodiment, the attribute information further includes the cipher mode of AP;It is described by the quasi- target
The AP that the first signal strength meets first threshold in AP is determined as the target AP, including:By the first letter in the quasi- target AP
Number intensity meets first threshold and scale meets the AP of second threshold and is determined as target AP.In this way, the cipher mode by AP can
To determine the scale of the unit of deployment AP.
In a kind of possible embodiment, the current location information is the gyroscope and guide by the terminal built-in
What needle determined.It is positioned in this way, not needing to realize by GPS, and then can further save the electricity and mobile data stream of terminal
Amount.
The embodiment of the present invention provides a kind of navigation device, including:Detection unit, for detecting at least one access point AP's
First attribute information;Processing unit, for determining target AP according to the first attribute information of at least one AP;Wherein, institute
State the AP that target AP is destination;According to the first attribute information of the current location information of terminal and the target AP, led
Boat.
In a kind of possible embodiment, the attribute information includes the title of AP;The processing unit, is used for:It will be with
Target AP subject to the corresponding AP of title of matched at least one AP of preset keyword is determining, wherein the quasi- target AP
Including at least one AP;One in the quasi- target AP is determined as the target AP.
In a kind of possible embodiment, first attribute information further includes the first signal strength;The processing unit,
For:Determine the first signal strength of each AP in the quasi- target AP;First signal strength in the quasi- target AP is met
The AP of first threshold is determined as the target AP;When terminal is moved to the next position from current location, the target AP is determined
Second signal intensity, if the second signal intensity be greater than first signal strength, indicate to move forward.
In a kind of possible embodiment, the attribute information further includes the cipher mode of AP;The processing unit is used
In:First signal strength in the quasi- target AP is met into first threshold and scale meets the AP of second threshold and is determined as target
AP。
In a kind of possible embodiment, the current location information is the gyroscope and guide by the terminal built-in
What needle determined.
The embodiment of the present invention provides a kind of computer readable storage medium, and the computer-readable recording medium storage has meter
Calculation machine executable instruction, the computer executable instructions are used to that the computer to be made to execute the method.
The embodiment of the present invention provides a kind of computer equipment, including:Memory, for storing program instruction;Processor is used
In calling the program instruction stored in the memory, the method is executed according to the program of acquisition.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
Fig. 1 shows a kind of configuration diagram of communication system using the embodiment of the present invention.As shown in Figure 1, the system
Framework may include access point (Access Point, abbreviation AP) and terminal.Fig. 1 with communication system include AP101, AP102,
For AP103, AP104, AP105 and terminal 106, when in terminal 106 Wireless Fidelity (wireless fidelity,
WiFi when) connection is set on, terminal 106 can monitor that AP101, AP102, AP103, AP104 and AP105 attribute are believed
Breath.
AP is exactly the hub HUB in conventional wired networks, and sets up most common equipment when micro radio local area network.
The indoor coverage areas of AP is usually 30m~100m, for the small range WLAN as family, the office, one
As only need a wireless aps that the wireless access of all computers can be realized.
Terminal can be through wireless access network (Radio Access Network, abbreviation RAN) and one or more core nets
It is communicated, terminal may include the various handheld devices with wireless communication function, mobile unit, wearable device, calculating
Equipment, smart phone, smartwatch, tablet computer or the other processing equipments for being connected to radio modem etc..
Based on above content, Fig. 2 illustrates a kind of air navigation aid flow diagram provided in an embodiment of the present invention.
In the embodiment at least one AP can at least one of AP101, AP102AP103, AP104 and AP105 in above-mentioned Fig. 1,
This method can be the execution of the terminal 106 in above-mentioned Fig. 1.As shown in Fig. 2, this approach includes the following steps:
Step 201, the first attribute information of at least one access point AP is detected.
In the embodiment of the present invention, when WiFi connection is set on by terminal, AP in a certain range can be automatically detected
The first attribute information, the first attribute information can be the attribute information for the AP that terminal is detected at current location.Optionally,
Terminal can be with the first attribute information of real-time detection AP.
Step 202, target AP is determined according to the first attribute information of at least one AP;Wherein, target AP is destination
AP。
In a kind of possible embodiment, determine that target AP can be what terminal automatically selected, be also possible to user according to
It needs to manually select.
Step 203, it according to the first attribute information of the current location information of terminal and target AP, navigates.
In a kind of possible embodiment, terminal can pass through the present bit confidence that built-in gyroscope and compass determine
Breath, can be and establish a simple two-dimensional coordinate information, for example user current location information is (x1, y1) coordinate.In this way, not
It needs to realize by GPS and position, and then can further save the electricity and mobile data flow of terminal.
In above-mentioned steps 201, the first attribute information of at least one access point AP is detected, wherein the first attribute information
The cipher mode of title and/or the first signal strength and/or AP including AP.
In a kind of possible embodiment, terminal can determine target AP according to the title of the AP detected.Optionally, root
It is accustomed to according to the name of AP, most of markets, restaurant, public place of entertainment etc. can be according to the definition of name AP's of company when disposing AP
Title, such as XX restaurant, YY coffee-house, the clothes shop ZZ etc., terminal, can be by the titles of AP and pre- after detecting the title of AP
If keyword match, and sort out;It will be subject to AP corresponding with the matched title of at least one AP of preset keyword determine
Target AP, wherein the quasi- target AP includes at least one AP.Such as preset keyword be food and drink, then with the matched AP of food and drink
Title include XX restaurant, YY coffee-house, and entitled XX restaurant, YY coffee-house AP are classified as one kind.Fig. 3 is shown using this
A kind of structural schematic diagram at the level-one interface of terminal of inventive embodiments.As shown in figure 3, can be by the typonym exhibition after classification
Show that, at the level-one interface of terminal, typonym includes food and drink, amusement, clothes etc..Target is determined from the level-one interface of terminal
Type clicks target type, can enter the secondary interface of terminal, and Fig. 3 a shows a kind of terminal using the embodiment of the present invention
Secondary interface structural schematic diagram, as shown in Figure 3a, secondary interface can show that at least one for including in the type is quasi-
The title of target AP, such as AP1Title, AP2Title and APnTitle etc., according to the title of quasi- target AP from it is described to
The target AP is determined in a few quasi- target AP.In this way, passing through the displaying at level-one interface and secondary interface, user is not needed
Successively see that the title of each AP determines target AP again on terminal interface, can it is more convenient/quickly determine out target AP.
A kind of possible embodiment, can by an embodiment for being determined as the target AP in the quasi- target AP
To be:The first signal strength of each AP in the quasi- target AP that terminal confirmly detects;It will be first in the quasi- target AP
The AP that signal strength meets first threshold is determined as the target AP.In a kind of optionally embodiment, closer to the AP of terminal,
The signal that terminal detects AP is stronger, and in conjunction with Fig. 1, the signal strength that terminal detects AP101 is greater than the signal strength of AP102.Therefore,
The distance of terminal distance AP can be determined according to the size for the signal strength that terminal detects.Usual terminal detects the letter of AP
Terminal can be detected AP's to improve the convenience that user manually selects in -40dbm to -90dbm by number strength range
Signal strength and the distance between terminal and AP relationship show that on the secondary interface of terminal, Fig. 3 b shows real using the present invention
The structural schematic diagram of the secondary interface of another terminal of example is applied, as shown in Figure 3b, secondary interface can show quasi- target AP's
Title, the first signal strength and current location are at a distance from AP, wherein the title of the quasi- target AP of Fig. 3 b may include AP1's
Title, AP1The first signal strength and distance AP1Distance, AP2Title, AP2The first signal strength and distance AP2Away from
From AP3Title, AP3The first signal strength and distance AP3Distance.
Further, for the signal strength of the AP detected with more succinct and intuitive way displaying terminal, letter can be used
Number lattice number indicates that signal lattice number indicates that terminal detects the signal strength of AP, can be with the determination of the signal lattice number of the WiFi of terminal
Method is identical, can pass through:Signal lattice number=(current signal strength-minimum signal strength) * output area/input range;Its
Middle output area is 4, input range 45.Such as signal lattice number be minimum value 0 when, indicate signal strength be less than minimum signal it is strong
Degree -100dbm;When signal lattice number is maximum value 4, indicate that signal strength is greater than maximum signal -55dbm.Table 1, which is shown, answers
With a kind of signal lattice number of the embodiment of the present invention and the relationship between.
Relation table between signal lattice number shown in table 1 and distance
Signal lattice number |
Distance |
0 |
More than or equal to 45 meters |
1 |
30 to 40 meters |
2 |
20 to 30 meters |
3 |
10 to 20 meters |
4 |
0 to 10 meter |
It, can be according to the AP's that terminal detects in order to improve the accuracy for determining target AP in the embodiment of the present invention
The cipher mode of title, the first signal strength and AP determines target AP.Wherein, the cipher mode of AP is alternatively referred to as the authentication of AP
Mode or security type.Optionally, the cipher mode of AP is protection wireless computer network safety system wildcard (Wi-
Fi Protected Access-Preshared Key, abbreviation WPA-PSK), usually personal or domestic consumer just meeting portion
The cipher mode of the WiFi of administration, AP are that WPA2 is usually that small collectives or company can dispose such WiFi, the cipher mode of AP
For extensible authentication protocol (Extensible Authentication Protocol, abbreviation EAP), usually operator
The public WiFi etc. of deployment, that is to say, that can be determined according to the cipher mode of AP AP scale be it is much, can be by the scale
User is showed to supply user's selection.
Fig. 3 c shows the structural schematic diagram of the secondary interface of another terminal using the embodiment of the present invention, such as Fig. 3 c institute
Show, secondary interface can show the title, the first signal strength, current location of quasi- target AP at a distance from AP and AP scale,
Wherein, the title of the quasi- target AP of Fig. 3 c may include AP1Title, AP1The first signal strength, distance AP1Distance and AP1
Cipher mode, AP2Title, AP2The first signal strength, distance AP2Distance and AP2Cipher mode, AP3Title,
AP3The first signal strength, distance AP3Distance and AP3Cipher mode.
In the embodiment of the present invention, after determining target AP, in a kind of possible embodiment, terminal is moved from current location
When moving the next position, the second signal intensity of the target AP is determined, if the second signal intensity is greater than first letter
Number intensity, then indicate to move forward.If the second signal intensity is not more than first signal strength, indicate to opposite
Direction is mobile.For example, the target AP determined is XX restaurant, it can be seen that at a distance from XX restaurant, user can be with for current location
It is moved to next position along a direction, determines the second signal intensity of the target AP, if the second signal intensity
Greater than first signal strength, then indicate to move forward or indicate approaching.If it is determined that second signal intensity is not more than institute
The first signal strength is stated, then indicates to move perhaps instruction round about and is becoming remote or showing some and user in the direction
The AP of the target AP of selection relatively.
It can be seen from the above:In the embodiment of the present invention, due in the embodiment of the present invention, by detecting at least one
The first attribute information of AP, the first attribute information for detecting AP does not need consumption mobile data flow, according to the first attribute of AP
Information determines target AP, is navigated later according to the first attribute information and terminal current location of target AP.In this way, can be real
Not needing mobile data flow now can be realized navigation, and then can promote user experience.
Based on the same technical idea, the embodiment of the present invention also provides a kind of navigation device, on the navigation device is executable
State embodiment of the method.Fig. 4 is that the embodiment of the invention provides a kind of structural schematic diagrams of navigation device, as shown in figure 4, the device
400 include detection unit 401 and processing unit 402.Wherein:
Detection unit, for detecting the first attribute information of at least one access point AP;Processing unit, for according to
The first attribute information of at least one AP determines target AP;Wherein, the target AP is the AP of destination;According to the current of terminal
First attribute information of location information and the target AP, navigates.
In a kind of possible embodiment, the attribute information includes the title of AP;The processing unit, is used for:It will be with
Target AP subject to the corresponding AP of title of matched at least one AP of preset keyword is determining, wherein the quasi- target AP
Including at least one AP;One in the quasi- target AP is determined as the target AP.
In a kind of possible embodiment, first attribute information further includes the first signal strength;The processing unit,
For:Determine the first signal strength of each AP in the quasi- target AP;First signal strength in the quasi- target AP is met
The AP of first threshold is determined as the target AP;When terminal is moved to the next position from current location, the target AP is determined
Second signal intensity, if the second signal intensity be greater than first signal strength, indicate to move forward.
In a kind of possible embodiment, the attribute information further includes the cipher mode of AP;The processing unit is used
In:First signal strength in the quasi- target AP is met into first threshold and scale meets the AP of second threshold and is determined as target
AP。
In a kind of possible embodiment, the current location information is the gyroscope and guide by the terminal built-in
What needle determined.
It can be seen from the above:In the embodiment of the present invention, due in the embodiment of the present invention, by detecting at least one
The first attribute information of AP, the first attribute information for detecting AP does not need consumption mobile data flow, according to the first attribute of AP
Information determines target AP, is navigated later according to the first attribute information and terminal current location of target AP.In this way, can be real
Not needing mobile data flow now can be realized navigation, and then can promote user experience.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
Now, it when being realized using software program, can entirely or partly realize in the form of a computer program product.The computer
Program product includes one or more instructions.When loading on computers and executing the computer program instructions, whole or portion
Ground is divided to generate according to process or function described in the embodiment of the present invention.The computer can be general purpose computer, dedicated computing
Machine, computer network or other programmable devices.Described instruction can store in computer storage medium, or from one
A computer storage medium is transmitted to another computer storage medium, for example, described instruction can be from a web-site, meter
Calculation machine, server or data center are (such as red by wired (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless
Outside, wirelessly, microwave etc.) mode transmitted to another web-site, computer, server or data center.The calculating
Machine storage medium can be any usable medium that computer can access or include that one or more usable mediums are integrated
The data storage devices such as server, data center.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, magnetic
Band, magneto-optic disk (MO) etc.), optical medium (for example, CD, DVD, BD, HVD etc.) or semiconductor medium (such as ROM, EPROM,
EEPROM, nonvolatile memory (NAND FLASH), solid state hard disk (Solid State Disk, SSD)) etc..In the art
Technical staff it should be appreciated that the embodiment of the present invention can provide as method, system or computer program product.Therefore, the present invention is real
Applying example can be used the form of complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects.And
And the embodiment of the present invention can be used to use in the computer that one or more wherein includes computer usable program code and store
The form for the computer program product implemented on medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.).
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, equipment (system) and computer program product
Flowchart and/or the block diagram describe.It should be understood that can be by each process in instruction implementation flow chart and/or block diagram
And/or the combination of the process and/or box in box and flowchart and/or the block diagram.These instructions be can provide to general meter
Calculation machine, special purpose computer, Embedded Processor or other programmable data processing devices processor to generate a machine, make
It obtains and is generated by the instruction that computer or the processor of other programmable data processing devices execute for realizing in flow chart one
The device for the function of being specified in a process or multiple processes and/or one or more blocks of the block diagram.These instructions can also
It is stored in and is able to guide in computer or other programmable data processing devices computer-readable memory operate in a specific manner,
So that instruction stored in the computer readable memory generates the manufacture including command device, which, which realizes, exists
The function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram.
These instructions also can be loaded onto a computer or other programmable data processing device so that computer or other
Series of operation steps are executed on programmable device to generate computer implemented processing, thus in computer or other are programmable
The instruction that executes in equipment is provided for realizing in one box of one or more flows of the flowchart and/or block diagram or more
The step of function of being specified in a box.
Obviously, those skilled in the art can carry out various modification and variations without departing from this Shen to the embodiment of the present invention
Spirit and scope please.In this way, if these modifications and variations of the embodiment of the present invention belong to the claim of this application and its wait
Within the scope of technology, then the application is also intended to include these modifications and variations.