CN107682926A - Offline localization method and offline positioner - Google Patents

Offline localization method and offline positioner Download PDF

Info

Publication number
CN107682926A
CN107682926A CN201710948029.6A CN201710948029A CN107682926A CN 107682926 A CN107682926 A CN 107682926A CN 201710948029 A CN201710948029 A CN 201710948029A CN 107682926 A CN107682926 A CN 107682926A
Authority
CN
China
Prior art keywords
terminal
wifi
base station
station identification
network information
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.)
Withdrawn
Application number
CN201710948029.6A
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201710948029.6A priority Critical patent/CN107682926A/en
Publication of CN107682926A publication Critical patent/CN107682926A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Abstract

The embodiment of the present invention provides a kind of offline localization method, applied to terminal.Position that the terminal buffers have navigated to and the network information that the terminal obtains in the position correspondence navigated to, and the association established between the position and the corresponding network information that this has navigated to;If the terminal is switched to off-line state, the network information that the terminal Current Scan arrives is obtained;If the network information that the terminal Current Scan arrives is at least part of consistent with the network information of the terminal buffers, the current location using the oriented position as the terminal.The embodiment of the present invention also provides a kind of offline positioner, terminal installation and computer-readable recording medium.Using the embodiment of the present invention, user can select the current location information of the oriented position as the terminal when the terminal is located at oriented position, thus can optimum position operation, lift Consumer's Experience.

Description

Offline localization method and offline positioner
Technical field
The present invention relates to field of mobile communication, more particularly to a kind of offline localization method and offline positioner.
Background technology
This part is it is intended that the embodiment for the embodiment of the present invention stated in claims and embodiment carries For background or context.Description herein recognizes it is prior art not because not being included in this part.
Common location technology is generally divided into two kinds, GPS location and network positions, but GPS location has office application is upper Sex-limited, GPS can not normal use under the interior such as skyscraper or inclement weather conditions.And network positions are also required to connect net Network.Thus, carry out that location condition is harsher, and Consumer's Experience is bad using existing mode.
The content of the invention
In consideration of it, the present invention provides a kind of offline localization method, offline positioner, can optimum position operation, lifting Consumer's Experience.
On the one hand the embodiment of the present invention provides a kind of offline localization method, applied to terminal, the offline localization method bag Include following steps:
The network that the position and the terminal that the terminal buffers have navigated to obtain in the position correspondence navigated to Information, and the association established between the position and the corresponding network information that this has navigated to;
If the terminal is switched to off-line state, the network information that the terminal Current Scan arrives is obtained;
If the network information for the network information and the terminal buffers that the terminal Current Scan arrives is at least part of Unanimously, then the current location using the oriented position as the terminal.
Further, in above-mentioned offline localization method provided in an embodiment of the present invention, the network letter of the terminal buffers Breath includes periphery wifi list and Base Station Identification list of the terminal in the position acquisition navigated to;
The terminal Current Scan to the network information include the wifi that is scanned under the off-line state of the terminal List and Base Station Identification list.
Further, in above-mentioned offline localization method provided in an embodiment of the present invention, what the terminal Current Scan arrived The network information of the network information and the terminal buffers is at least part of unanimously to be included:The wifi that the terminal Current Scan arrives Wifi network title in list and the wifi network title in the wifi lists of the terminal buffers are at least partly consistent or complete It is complete consistent;Or the terminal Current Scan to Base Station Identification list in Base Station Identification number and the terminal buffers base station mark At least part in knowledge list is consistent.
Further, in above-mentioned offline localization method provided in an embodiment of the present invention, what the terminal Current Scan arrived Base Station Identification number in Base Station Identification list it is consistent with least part in the Base Station Identification list of the terminal buffers including:
Judge Base Station Identification number described in the Base Station Identification list that the terminal Current Scan arrives and the terminal buffers Base Station Identification list described in Base Station Identification identical number whether within a preset range;
Base Station Identification number and the terminal buffers described in the Base Station Identification list that the terminal Current Scan arrives Base Station Identification identical number described in Base Station Identification list within a preset range when, then using the oriented position as The current location of the terminal.
Further, in above-mentioned offline localization method provided in an embodiment of the present invention, what the terminal Current Scan arrived Wifi network title in wifi lists and the wifi network title in the wifi lists of the terminal buffers are at least partly consistent Or it is completely the same including:
Judge the terminal Current Scan to wifi lists in wifi network title and the terminal buffers wifi Within a predetermined range whether the wifi network title identical number in list;
When the terminal Current Scan to wifi lists in the wifi of wifi network title and the terminal buffers arrange Wifi network title identical number in table within a predetermined range when, then using the oriented position as the terminal Current location.
Further, in above-mentioned offline localization method provided in an embodiment of the present invention, what the terminal Current Scan arrived The network information includes the wifi lists that the terminal scans under the off-line state, and the wifi has signal intensity, institute State terminal Current Scan to wifi lists in wifi network title and the terminal buffers wifi lists in wifi network Network title is at least partly consistent or completely the same also includes:
Judge the terminal Current Scan to wifi lists in wifi network signal intensity and the terminal buffers Wifi lists in identical wifi network signal intensity difference whether in setting range;
When the terminal Current Scan to wifi lists in wifi network signal intensity and the terminal buffers When the difference of the signal intensity of identical wifi network is in setting range in wifi lists, then using the oriented position as The current location of the terminal.
On the other hand the present embodiment also provides a kind of offline positioner, applied to terminal, the offline positioner bag Include:
Control module is established, has been navigated to for the position navigated to using the terminal buffers and the terminal at this The network information that obtains of position correspondence, and the association established between the position and the corresponding network information that this has navigated to;
Acquisition module, for when the terminal is switched to off-line state, obtaining the network that the terminal Current Scan arrives Information;
Matching module, the network information for the network information that is arrived when the terminal Current Scan and the terminal buffers is extremely A rare part is consistent, then the current location using the oriented position as the terminal.
Further, in above-mentioned offline positioner provided in an embodiment of the present invention, the network letter of the terminal buffers Breath includes periphery wifi list and Base Station Identification list of the terminal in the position acquisition navigated to;
The terminal Current Scan to the network information include the wifi that is scanned under the off-line state of the terminal List and Base Station Identification list.
Further, in above-mentioned offline positioner provided in an embodiment of the present invention, the acquisition module, for obtaining The wifi lists and Base Station Identification list that the terminal scans under off-line state;
The matching module, for judging whether are wifi lists that the terminal Current Scan arrives and Base Station Identification list Wifi lists and Base Station Identification list with the terminal buffers is at least part of consistent, if the terminal Current Scan The wifi lists and Base Station Identification list arrived and the wifi lists and Base Station Identification list at least one of the terminal buffers Part is consistent, then the current location using the oriented position as the terminal.
Further, in above-mentioned offline positioner provided in an embodiment of the present invention, described in the matching module judgement If the wifi lists and base of wifi lists and Base Station Identification list that the terminal Current Scan arrives with the terminal buffers Station identification numbers list is at least part of unanimously to be included:
Judge the terminal Current Scan to wifi lists in wifi network title and the terminal buffers wifi Wifi network title in list is at least partly consistent or completely the same;Or judge the Base Station Identification that the terminal Current Scan arrives Base Station Identification number in list is consistent with least part in the Base Station Identification list of the terminal buffers.
Another further aspect of the embodiment of the present invention also provides a kind of terminal installation, and the terminal installation includes processor, the place The step of reason device is used to realize above-mentioned any one methods described when performing the computer program stored in memory.
The embodiment of the present invention also provides a kind of computer-readable recording medium, is stored thereon with computer instruction, the meter The step of instruction of calculation machine realizes above-mentioned any one methods described when being executed by processor.
Offline localization method, offline positioner, terminal installation and computer-readable storage provided in an embodiment of the present invention Medium, the network letter that the position and the terminal that the terminal buffers have navigated to obtain in the position correspondence navigated to Breath, and the association established between the position and the corresponding network information that this has navigated to;If the terminal is switched to offline shape State, obtain the network information that the terminal Current Scan arrives;If the network information that the terminal Current Scan arrives and the end Hold the network information of caching at least part of consistent, then the current location using the oriented position as the terminal. Using the embodiment of the present invention, user can select the oriented position to make when the terminal is located at oriented position For the current location of the terminal, thus can optimum position operation, lift Consumer's Experience.
Brief description of the drawings
Fig. 1 is the flow chart of the offline localization method of first embodiment of the invention.
Fig. 2 is the flow chart of the offline localization method of second embodiment of the invention.
Fig. 3 is the structural representation of the terminal of an embodiment of the present invention.
Fig. 4 is the block diagram of the exemplary functional module of the terminal shown in Fig. 3.
Main element symbol description
Terminal 1
Memory 10
Display screen 20
Processor 30
Establish control module 11
Acquisition module 12
Matching module 13
Embodiment
In order to be more clearly understood that the above-mentioned purpose of the embodiment of the present invention, feature and advantage, below in conjunction with the accompanying drawings and The present invention will be described in detail for embodiment.It should be noted that in the case where not conflicting, the embodiment party of the application Feature in formula can be mutually combined.
Many details are elaborated in the following description in order to fully understand the embodiment of the present invention, described reality The mode of applying is a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, ability The every other embodiment that domain those of ordinary skill is obtained under the premise of creative work is not made, belongs to the present invention The scope of embodiment protection.
Unless otherwise defined, technology of all of technologies and scientific terms used here by the article with belonging to the embodiment of the present invention The implication that the technical staff in field is generally understood that is identical.Term used in the description of the invention herein is intended merely to The purpose of specific embodiment is described, it is not intended that in the limitation embodiment of the present invention.
Fig. 1 is the flow chart of the offline localization method of first embodiment of the invention, and the offline localization method is applied to Terminal, the terminal can be the smart machines such as smart mobile phone, notebook computer, desk-top/tablet personal computer, intelligent watch. As shown in figure 1, the offline localization method may comprise steps of:
101:What the position and the terminal that the terminal buffers have navigated to obtained in the position correspondence navigated to The network information, and the association established between the position and the corresponding network information that this has navigated to.
In present embodiment, the terminal can cache the network information corresponding to one or more position locations, example Such as the network information corresponding to the position such as family and office.The network information of the terminal can including the terminal Obtained wifi lists are scanned, Base Station Identification list can also be included.It is to be appreciated that wifi network in wifi lists with Base Station Identification number in Base Station Identification list all has globally unique ID.Specifically, the globally unique ID of wifi network Can be MAC Address, the globally unique ID of Base Station Identification number can be CELL ID, and these globally unique ID can be used for for terminal User provides Geographic mapping service.The MAC for the wifi network that therefore, can be arrived by judging the terminal Current Scan Whether location is matched to obtain current location information with the MAC Address of the hotspot of the terminal buffers.
It is to be appreciated that the oriented position of terminal buffers may include the first sprocket bit of position location, second Put, the 3rd position location.For example, described first the first network information corresponding to position location can include the first wifi arrange Table, wherein the first wifi lists can include the first wifi network title, the second wifi network title;Described second has positioned Second network information corresponding to position can include first base station list of identification numbers, wherein the first base station list of identification numbers can Include first base station identification number and Base Station Identification No. the second;Described 3rd the 3rd network information corresponding to position location can wrap Containing the 3rd wifi lists and the 3rd Base Station Identification list, wherein, the 3rd wifi lists include with the 3rd Base Station Identification list 3rd wifi network title and Base Station Identification No. the 3rd, the 4th wifi network title and Base Station Identification No. the 4th.
It is preferred that judging whether the terminal can be believed positioned at oriented position by judging the current network of the terminal Breath whether with it is whether at least part of consistent in the network information of the caching.Current network information and institute when the terminal When stating consistent at least partially in the network information of caching, it can determine whether that the terminal is located at oriented position;When the terminal Current network information and the network information of caching when all mismatching, can determine whether that the terminal is not at oriented position Put.For example, when the current network information of the terminal includes the first wifi network title and the second wifi network title, due to Described first the first network information corresponding to position location also include the first wifi network title and the second wifi network Network title, now, it can determine that at least part of one in the current network information of the terminal and the network information of the caching Cause, then can determine that the terminal is located at oriented information.
When the current network information of the terminal includes the 6th wifi network title, determine due to described first to the 3rd The network information corresponding to the position of position does not include the 6th wifi network title, now, can determine that the current of the terminal It is all inconsistent in the network information and the network information of the caching, it so can determine that the terminal is not at oriented position Place.
In one embodiment, the wifi network has a signal intensity, and the network information of the terminal may include described The signal intensity of wifi network.The terminal can position according to the signal intensity of the wifi network to judge whether it is located at Opening position.For example, when in the network information of the signal intensity of wifi network with caching in the current network information of the terminal When the difference of the signal intensity of identical wifi network is in setting range, it can determine that the terminal is located at oriented position.Example Such as, described first the first network information corresponding to position location can also include the first wifi network the first signal intensity, The secondary signal intensity of second wifi network.When the signal intensity of terminal Current Scan wifi network into the network information Afterwards, the signal intensity of wifi network in current network information the first signal intensity with the first wifi network, respectively can be calculated The difference of the secondary signal intensity of two wifi networks, wherein the setting range can be set according to being actually needed, such as it is arranged to [0dbm ~-20dbm].In present embodiment, the setting range can be used for the precision for setting the terminal positioning.
If the difference of the signal intensity of the signal intensity of wifi network and the first wifi network is set at this in current network information Determine in scope, then judge positional information corresponding to the current network information of the terminal and the first position corresponding to position location Confidence breath is consistent, you can judges the terminal positioned at described first at position location.For example, the terminal can be in current network The signal intensity of wifi network and the described first letter of first wifi network of position location and the second wifi network in information When the difference of number intensity is in the setting range, it can determine that position location is corresponding to current network information to first cached Positional information.If the signal intensity of wifi network and the first wifi network, the letter of the second wifi network in current network information The difference of number intensity is not in the setting range, and now, the terminal such as can determine that possibly remote from the described first position location Position corresponding to current network information is not at the first position location.
In one embodiment, the network information of the terminal may also include Base Station Identification list.The terminal can root Judge it whether positioned at position location according to the quantity of Base Station Identification number in Base Station Identification list.For example, work as the terminal Current network information in the quantity of Base Station Identification number and Base Station Identification number in the network information of caching in Base Station Identification list In list Base Station Identification identical number within a preset range when, judge that the terminal is located at oriented position.It can manage Xie Di, described second position location can include first base station list of identification numbers, wherein, first base station list of identification numbers can include First base station identification number and Base Station Identification No. the second.The terminal can obtain Base Station Identification list in its current network information, Calculate respectively in current network information in Base Station Identification list corresponding to Base Station Identification number and described second position location Base Station Identification identical number, wherein, the preset range can be set according to being actually needed, for example, the preset range The upper limit may be configured as the number for being no more than Base Station Identification number in the terminal current network information Base Station Identification list.For example, The terminal current network information Base Station Identification list may include first base station identification number, Base Station Identification No. the second and the 3rd base Station identification numbers, now, the upper limit of the preset range may be configured as 3.If Base Station Identification number and described the in current network information Two the Base Station Identification identical number corresponding to position location within a preset range, then can determine that the described second sprocket bit It is set to the current location information of the terminal.If Base Station Identification number and base in described second position location in current network information Station identification numbers identical number within a preset range, does not then judge that position corresponding to current network information is not at second and positioned Position.
It is understood that the described 3rd position location can include the 3rd wifi lists and Base Station Identification No. the 3rd and arrange Table, wherein, the 3rd wifi lists can include the 3rd wifi network title and the 3rd Base Station Identification with the 3rd Base Station Identification list Number, the 4th wifi network title and Base Station Identification No. the 4th.The terminal can be according to the signal intensity and base of the wifi network Station identification numbers identical number judges whether it is located at oriented opening position.Described 3rd corresponding to position location Three network informations can include the 3rd signal intensity and Base Station Identification No. the 3rd, the 4 of the 4th wifi network the of the 3rd wifi network Signal intensity and Base Station Identification No. the 4th.When the signal intensity of wifi network in the current network information of the terminal and caching When the difference of the signal intensity of wifi network is in setting range in the network information, or when base in the current network information of the terminal Station identification numbers with caching the network information in Base Station Identification identical number within a preset range when, judge that the terminal is located at Oriented position.For example, when the signal intensity of wifi network in the current network information for getting the terminal and current net In network information after Base Station Identification list, can calculate the signal intensity of wifi network in current network information respectively with the 3rd wifi The 3rd signal intensity, the difference of the 4th signal intensity of the 4th wifi network of network, can also calculate base station in current network information Identification number and the described 3rd Base Station Identification identical number corresponding to position location, if wifi network in current network information The difference of the signal intensity of the signal intensity of network and the 3rd wifi network is in the setting range, and base station is marked in current network information Knowledge number within a preset range, then judges the end with the Base Station Identification identical number corresponding to the described 3rd position location Positional information corresponding to the current network information at end is consistent with the positional information corresponding to the 3rd position location, you can judges institute Terminal is stated positioned at the described 3rd at position location.If the signal intensity of wifi network and the 3rd wifi network in current network information The difference of the signal intensity of network is in the setting range, and Base Station Identification number and the described 3rd position location in current network information Corresponding Base Station Identification identical number not within a preset range, then corresponding to the current network information for judging the terminal Positional information is consistent with the positional information corresponding to the 3rd position location.If the signal of wifi network is strong in current network information Degree and the 3rd wifi network, the difference of the signal intensity of the 4th wifi network be not in the setting range, and current network information Middle Base Station Identification number within a preset range, then may be used with the Base Station Identification identical number corresponding to the described 3rd position location Judge the described 3rd position location be the terminal current location information;If the signal of wifi network in current network information Intensity and the 3rd wifi network, the difference of the signal intensity of the 4th wifi network be not in the setting range, and current network is believed In breath Base Station Identification number and the Base Station Identification identical number corresponding to the described 3rd position location not within a preset range, Then judge that position corresponding to current network information is not at the 3rd position location.
It is understood that judge whether the terminal is located at oriented position according to the current network information of the terminal Also include before putting, cache the network information that the position navigated to and the terminal obtain in the position correspondence navigated to And the association established between the position and the corresponding network information that this has navigated to.Wherein, the network information and it is corresponding described in The positional information of the network information can be that the terminal positioning is crossed or when there is network, from server or other dresses Put what is transmitted.The network information of the terminal corresponding to caching may include wifi lists, Base Station Identification list, corresponding institute First position information, second place information, the 3rd positional information can be included by stating the positional information of the network information.It is appreciated that Ground, first position information corresponds to first, and position location, second place information correspond to the second position location, the 3rd position Information corresponds to the 3rd position location.
102:If the terminal is switched to off-line state, the network information that the terminal Current Scan arrives is obtained.
In present embodiment, wifi lists and Base Station Identification number row that the terminal scans under off-line state are obtained Table, if the wifi lists of wifi lists and Base Station Identification list that the terminal Current Scan arrives and the terminal buffers and Base Station Identification list is at least part of consistent, then the current location using the oriented position as the terminal.
103:If the network information at least one of the network information that the terminal Current Scan arrives and the terminal buffers Part is consistent, then the current location using the oriented position as the terminal.
The offline localization method that present embodiment provides, position that the terminal buffers have navigated to and the terminal are at this The network information that the position correspondence that has navigated to obtains, and establish between the position and the corresponding network information that this has navigated to Association;If the terminal is switched to off-line state, the network information that the terminal Current Scan arrives is obtained;If the terminal The network information that Current Scan arrives is at least part of consistent with the network information of the terminal buffers, then will be described oriented Current location of the position as the terminal.Using the embodiment of the present invention, user can be located at oriented position in the terminal When putting, select the current location information of the oriented position as the terminal, thus can optimum position operation, lifting Consumer's Experience.
Fig. 2 is the flow chart of the offline localization method of second embodiment of the invention.Described second embodiment and the The main distinction of one embodiment is, the current network information for judging the terminal is further comprises in second embodiment with delaying The steps such as the matching state for the network information deposited.It should be noted that the model of the spirit or essential attributes in the embodiment of the present invention In enclosing, each concrete scheme suitable for first embodiment can also be accordingly suitable for second embodiment, to save Length and for the sake of avoiding repetition, is just repeated no more herein.
As shown in Fig. 2 the offline localization method may include steps of:
201:What the position and the terminal that the terminal buffers have navigated to obtained in the position correspondence navigated to The network information, and the association established between the position and the corresponding network information that this has navigated to.
202:If the terminal is switched to off-line state, the network information that the terminal Current Scan arrives is obtained.
203:Judge Base Station Identification number described in the Base Station Identification list that the terminal Current Scan arrives and the terminal Within a preset range whether Base Station Identification identical number described in the Base Station Identification list of caching, walk if it is, entering Rapid 205, otherwise, into step 204.
204:Judge the terminal Current Scan to wifi lists in wifi network title and the terminal buffers Wifi network title identical number in wifi lists whether within a predetermined range, if it is, into step 205, otherwise, Then terminate flow.
205:Current location using the oriented position as the terminal.
The offline localization method that present embodiment provides, in addition to the technique effect with first embodiment, also judges institute The current network information and the matching state of the network information of caching of terminal are stated, when in the current network information for judging the terminal The difference of the signal intensity of identical wifi network is in setting range in the signal intensity of wifi network and the network information of caching When, or, when Base Station Identification number in the current network information for judging the terminal and Base Station Identification phase in the network information cached With number within a preset range when, judge that the terminal be located at oriented position, the oriented position conduct of selection The current location information of the terminal.Using the embodiment of the present invention, wifi network in the current network information of the terminal is judged Signal intensity and caching the network information in identical wifi network signal intensity difference whether in setting range and Judge Base Station Identification number and Base Station Identification identical number in the network information cached in the current network information of the terminal Within a preset range, the judged result is responded, whether judges the terminal positioned at position location, thus user can be in institute When stating terminal and being located at oriented position, current location information of the oriented position as the terminal is selected, thus Can optimum position operation, improve Consumer's Experience.
Above is the detailed description that the method provided the embodiment of the present invention is carried out.According to different demands, shown stream The execution sequence of square can change in journey figure, and some squares can omit.The terminal provided below the embodiment of the present invention It is described.
The embodiment of the present invention also provides a kind of terminal installation, including memory, processor and storage are on a memory and can The computer program run on a processor, realize described in any of the above-described embodiment during the computing device described program Offline localization method the step of.
Fig. 3 is the structural representation of the terminal of an embodiment of the present invention, as shown in figure 3, terminal 1 includes memory 10, Offline positioner 100 is stored with memory 10.Described terminal 1 can be mobile phone, tablet personal computer, personal digital assistant etc. Terminal with offline positioning function.The offline positioner 100 can apply to the terminal 1, and the terminal buffers are The network information that the position and the terminal navigated to obtains in the position correspondence navigated to, and establish what this had been navigated to Association between position and the corresponding network information;If the terminal is switched to off-line state, obtains the terminal and currently sweep The network information retouched;If the network information of the network information that the terminal Current Scan arrives and the terminal buffers is at least A part is consistent, then the current location using the oriented position as the terminal.Utilize the embodiment of the present invention, Yong Huke When the terminal is located at oriented position, to select present bit confidence of the oriented position as the terminal Breath, thus can optimum position operation, lifted Consumer's Experience.
Described offline positioner 100 can be also used for when wifi network in the current network information for judging the terminal Signal intensity and caching the network information in identical wifi network signal intensity difference in setting range when, or, work as Judge Base Station Identification number and Base Station Identification identical number in the network information cached in the current network information of the terminal When within a preset range, judge that the terminal is located at oriented position, select the oriented position as the terminal Current location information.Using the embodiment of the present invention, judge that the signal of wifi network in the current network information of the terminal is strong Whether the difference of the signal intensity of identical wifi network is in setting range and described in judgement in the network information of degree and caching In the current network information of terminal Base Station Identification number with cache the network information in Base Station Identification identical number in default model In enclosing, the judged result is responded, whether judges the terminal positioned at position location, thus user can be in the terminal position When oriented position, current location information of the oriented position as the terminal is selected, thus can optimize and determine The operation of position, improves Consumer's Experience.
In present embodiment, terminal 1 is a mobile phone.Terminal 1 can also include display screen 20 and processor 30.Memory 10th, display screen 20 can electrically connect with processor 30 respectively.
Described memory 10 can be different type storage device, for storing Various types of data.For example, it may be terminal 1 memory, internal memory, can also be the storage card that can be external in the terminal 1, as flash memory, SM cards (Smart Media Card, Smart media card), SD card (Secure Digital Card, safe digital card) etc..In addition, memory can include at a high speed with Machine accesses memory, can also include nonvolatile memory, such as hard disk, internal memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least One disk memory, flush memory device or other volatile solid-state parts.Storage device is used to store Various types of data, For example, the types of applications program (Applications) installed in the terminal 1, set using above-mentioned offline localization method, The information such as the data of acquisition.
Display screen 20 is installed on terminal 1, for display information.
Processor 30 is used for all kinds of softwares for performing installation in the offline localization method and the terminal 1, such as grasps Make system and offline positioning software etc..Processor 30 including but not limited to processor (Central Processing Unit, CPU), micro-control unit (Micro Controller Unit, MCU) etc. is used for interpretive machine instruction and handles computer The device of data in software.
Described offline positioner 100 can include one or more modules, and one or more of modules are deposited Storage is in the memory 10 of terminal 1 and is configured to be held by one or more processors (present embodiment is a processor 30) OK, to complete the embodiment of the present invention.For example, as shown in fig.4, the terminal 1 can include establishing control module 11, obtain mould Block 12, matching module 13.Module alleged by the embodiment of the present invention can complete the program segment of a specific function, more suitable than program Together in the implementation procedure of description software within a processor.
It is understood that each embodiment in corresponding above-mentioned offline localization method, terminal 1 can include institute in Fig. 4 Part or all in each functional module shown, the function of each module will introduced in detail below.More than it should be noted that In each embodiment of offline localization method identical noun related terms and its it is specific illustrate be readily applicable to Under to the function introduction of each module.For the sake of saving space and avoiding repetition, just repeat no more herein.
It is fixed at this available for the position and the terminal navigated to using the terminal buffers to establish control module 11 Position to the position correspondence network information obtained and the association established between the position and the corresponding network information that this has navigated to.
Acquisition module 12 can be used for when the terminal is switched to off-line state, obtain the net that the terminal Current Scan arrives Network information.
Matching module 13 can be used for the network of the network information and terminal buffers arrived when the terminal Current Scan to believe Cease at least part of consistent, the then current location using the oriented position as the terminal.
The embodiment of the present invention also provides a kind of computer-readable recording medium, is stored thereon with computer program, the meter The step of calculation machine program realizes the offline localization method in any of the above-described embodiment when being executed by processor.
If the integrated module/unit of the offline positioner/terminal/computer equipment is with the shape of SFU software functional unit Formula is realized and is used as independent production marketing or in use, can be stored in a computer read/write memory medium.It is based on Such understanding, the present invention realize all or part of flow in above-mentioned embodiment method, can also pass through computer program To instruct the hardware of correlation to complete, described computer program can be stored in a computer-readable recording medium, the calculating Machine program when being executed by processor, can be achieved above-mentioned each embodiment of the method the step of.Wherein, the computer program includes Computer program code, the computer program code can be source code form, object identification code form, executable file or certain A little intermediate forms etc..The computer-readable recording medium can include:Any of the computer program code can be carried Entity or device, caching medium, USB flash disk, mobile hard disk, magnetic disc, CD, computer storage, read-only storage (ROM, Read- Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and Software distribution medium etc..
Alleged processor can be CPU (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor It is the control centre of the offline positioner/terminal Deng, the processor, it is entirely offline using various interfaces and connection The various pieces of positioner/terminal.
The memory is used to store the computer program and/or module, and the processor is deposited by running or performing Store up computer program and/or module in the memory, and call the data being stored in memory, realize it is described from The various functions of line positioner/terminal.The memory can mainly include storing program area and storage data field, wherein, deposit Storing up program area can storage program area, application program (such as sound-playing function, image player work(needed at least one function Can etc.) etc.;Storage data field can store uses created data (such as voice data, phone directory etc.) etc. according to mobile phone. In addition, memory can include high-speed random access memory, nonvolatile memory can also be included, for example, hard disk, internal memory, Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, dodge Deposit card (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
In several embodiments provided by the present invention, it should be understood that disclosed terminal and method, can be with Realize by another way.For example, system embodiment described above is only schematical, for example, the module Division, only a kind of division of logic function, can there is other dividing mode when actually realizing.
It is obvious to a person skilled in the art that the embodiment of the present invention is not limited to the details of above-mentioned one exemplary embodiment, And in the case of the spirit or essential attributes without departing substantially from the embodiment of the present invention, this hair can be realized in other specific forms Bright embodiment.Therefore, no matter from the point of view of which point, embodiment all should be regarded as exemplary, and is nonrestrictive, sheet The scope of inventive embodiments is limited by appended claims rather than described above, it is intended that will fall being equal in claim All changes in the implication and scope of important document are included in the embodiment of the present invention.Should not be by any accompanying drawing mark in claim Note is considered as the involved claim of limitation.Multiple units, module or the device stated in system, device or terminal claim It can also be realized by same unit, module or device by software or hardware.
Embodiment of above is only unrestricted to illustrate the technical scheme of the embodiment of the present invention, although with reference to more than preferably The embodiment of the present invention is described in detail embodiment, it will be understood by those within the art that, can be to this hair The technical scheme of bright embodiment is modified or equivalent substitution should not all depart from the embodiment of the present invention technical scheme spirit and Scope.

Claims (10)

1. a kind of offline localization method, applied to terminal, it is characterised in that the offline localization method comprises the following steps:
The network information that the position and the terminal that the terminal buffers have navigated to obtain in the position correspondence navigated to, And the association established between the position and the corresponding network information that this has navigated to;
If the terminal is switched to off-line state, the network information that the terminal Current Scan arrives is obtained;
If the network information that the terminal Current Scan arrives is at least part of consistent with the network information of the terminal buffers, The then current location using the oriented position as the terminal.
2. offline localization method according to claim 1, it is characterised in that the network information of the terminal buffers includes institute State periphery wifi list and Base Station Identification list of the terminal in the position acquisition navigated to;
The terminal Current Scan to the network information include the wifi lists that are scanned under the off-line state of the terminal With Base Station Identification list.
3. offline localization method according to claim 2, it is characterised in that the network information that the terminal Current Scan arrives With the network information of the terminal buffers is at least part of unanimously includes:The terminal Current Scan to wifi lists in Wifi network title is at least partly consistent or completely the same with the wifi network title in the wifi lists of the terminal buffers;Or The terminal Current Scan to Base Station Identification list in Base Station Identification number and the Base Station Identification list of the terminal buffers In at least part it is consistent.
4. offline localization method according to claim 3, it is characterised in that the Base Station Identification that the terminal Current Scan arrives Base Station Identification number in list it is consistent with least part in the Base Station Identification list of the terminal buffers including:
Judge Base Station Identification number and the base of the terminal buffers described in the Base Station Identification list that the terminal Current Scan arrives Within a preset range whether Base Station Identification identical number described in station identifications list;
Base Station Identification number and the base station of the terminal buffers described in the Base Station Identification list that the terminal Current Scan arrives The number of Base Station Identification identical described in identification list within a preset range when, then using the oriented position as described in The current location of terminal.
5. offline localization method according to claim 3, it is characterised in that the wifi lists that the terminal Current Scan arrives In wifi network title and the terminal buffers wifi lists in wifi network title it is at least partly consistent or complete one Cause includes:
Judge the terminal Current Scan to wifi lists in wifi network title and the terminal buffers wifi lists In wifi network title identical number whether within a predetermined range;
When the terminal Current Scan to wifi lists in wifi network title and the terminal buffers wifi lists in Wifi network title identical number within a predetermined range when, then using the oriented position as the current of the terminal Position.
6. offline localization method according to claim 3, the network information that the terminal Current Scan arrives includes the end The wifi lists scanned under the off-line state are held, wifi network has signal intensity, it is characterised in that the terminal is worked as Wifi network title in the preceding wifi lists scanned and the wifi network title in the wifi lists of the terminal buffers are extremely Small part is consistent or completely the same also includes:
Judge the terminal Current Scan to wifi lists in wifi network signal intensity and the terminal buffers Whether the difference of the signal intensity of identical wifi network is in setting range in wifi lists;
When the terminal Current Scan to wifi lists in wifi network signal intensity and the terminal buffers wifi When the difference of the signal intensity of identical wifi network is in setting range in list, then using the oriented position as described in The current location of terminal.
7. a kind of offline positioner, applied to terminal, it is characterised in that the offline positioner includes:
Control module is established, for the position navigated to using the terminal buffers and the terminal in the position that this has been navigated to The network information of corresponding acquisition is put, and the association established between the position and the corresponding network information that this has navigated to;
Acquisition module, for when the terminal is switched to off-line state, obtaining the network information that the terminal Current Scan arrives;
Matching module, the network information for the network information that is arrived when the terminal Current Scan and the terminal buffers is at least A part is consistent, then the current location using the oriented position as the terminal.
8. offline positioner according to claim 7, it is characterised in that the network information of the terminal buffers includes institute State periphery wifi list and Base Station Identification list of the terminal in the position acquisition navigated to;
The terminal Current Scan to the network information include the wifi lists that are scanned under the off-line state of the terminal With Base Station Identification list.
9. offline positioner according to claim 7, it is characterised in that the acquisition module, for obtaining the end Hold the wifi lists and Base Station Identification list scanned under off-line state;
The matching module, for judge wifi lists that the terminal Current Scan arrives and Base Station Identification list whether with institute State that the wifi lists of terminal buffers are at least part of consistent with Base Station Identification list, if what the terminal Current Scan arrived Wifi lists and Base Station Identification list and the wifi lists and Base Station Identification list of the terminal buffers are at least part of Unanimously, then the current location using the oriented position as the terminal.
10. offline positioner according to claim 9, it is characterised in that if the matching module judges the institute State wifi lists and Base Station Identification list and the wifi lists of the terminal buffers and the Base Station Identification that terminal Current Scan arrives Number list is at least part of unanimously includes:
Judge the terminal Current Scan to wifi lists in wifi network title and the terminal buffers wifi lists In wifi network title at least partly it is consistent or completely the same;Or judge the Base Station Identification list that the terminal Current Scan arrives In Base Station Identification number it is consistent with least part in the Base Station Identification list of the terminal buffers.
CN201710948029.6A 2017-10-12 2017-10-12 Offline localization method and offline positioner Withdrawn CN107682926A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710948029.6A CN107682926A (en) 2017-10-12 2017-10-12 Offline localization method and offline positioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710948029.6A CN107682926A (en) 2017-10-12 2017-10-12 Offline localization method and offline positioner

Publications (1)

Publication Number Publication Date
CN107682926A true CN107682926A (en) 2018-02-09

Family

ID=61140426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710948029.6A Withdrawn CN107682926A (en) 2017-10-12 2017-10-12 Offline localization method and offline positioner

Country Status (1)

Country Link
CN (1) CN107682926A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111148216A (en) * 2019-03-27 2020-05-12 广东小天才科技有限公司 Electronic equipment positioning method and electronic equipment
CN111954300A (en) * 2020-08-24 2020-11-17 腾讯科技(深圳)有限公司 Offline positioning method, device, equipment and storage medium
CN114205742A (en) * 2021-12-15 2022-03-18 南京凯盛国际工程有限公司 Automatic pushing method for tasks and alarms of cement production equipment based on personnel positioning
TWI808821B (en) * 2022-03-08 2023-07-11 英華達股份有限公司 Portable positioning terminal, mobile terminal, position transmission and positioning method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103354660A (en) * 2013-06-21 2013-10-16 北京邮电大学 Positioning method and device based on signal intensity in mobile communication network
CN103796302A (en) * 2012-10-31 2014-05-14 中国电信股份有限公司 Method and device for detecting entrance/exit location area of mobile terminal, and mobile terminal
CN106332245A (en) * 2016-06-17 2017-01-11 深圳优美创新科技有限公司 Positioning device based on known network environment and power saving method thereof
CN106535102A (en) * 2016-12-07 2017-03-22 广东欧珀移动通信有限公司 Mobile terminal positioning method and mobile terminal
CN106550446A (en) * 2015-09-18 2017-03-29 北京奇宝科技有限公司 Localization method and geographical position monitoring device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103796302A (en) * 2012-10-31 2014-05-14 中国电信股份有限公司 Method and device for detecting entrance/exit location area of mobile terminal, and mobile terminal
CN103354660A (en) * 2013-06-21 2013-10-16 北京邮电大学 Positioning method and device based on signal intensity in mobile communication network
CN106550446A (en) * 2015-09-18 2017-03-29 北京奇宝科技有限公司 Localization method and geographical position monitoring device
CN106332245A (en) * 2016-06-17 2017-01-11 深圳优美创新科技有限公司 Positioning device based on known network environment and power saving method thereof
CN106535102A (en) * 2016-12-07 2017-03-22 广东欧珀移动通信有限公司 Mobile terminal positioning method and mobile terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111148216A (en) * 2019-03-27 2020-05-12 广东小天才科技有限公司 Electronic equipment positioning method and electronic equipment
CN111954300A (en) * 2020-08-24 2020-11-17 腾讯科技(深圳)有限公司 Offline positioning method, device, equipment and storage medium
CN111954300B (en) * 2020-08-24 2022-03-25 腾讯科技(深圳)有限公司 Offline positioning method, device, equipment and storage medium
CN114205742A (en) * 2021-12-15 2022-03-18 南京凯盛国际工程有限公司 Automatic pushing method for tasks and alarms of cement production equipment based on personnel positioning
TWI808821B (en) * 2022-03-08 2023-07-11 英華達股份有限公司 Portable positioning terminal, mobile terminal, position transmission and positioning method

Similar Documents

Publication Publication Date Title
CN107682926A (en) Offline localization method and offline positioner
US10869196B2 (en) Internet access authentication method and client, and computer storage medium
CN104981000B (en) A kind of stealthy Wi-Fi hotspot automatic accessing device and method
CN103546294B (en) Entrance guard authorization method, device and equipment
CN104159276B (en) The network search method and device of multimode terminal
CN102714884B (en) The method that contact person is processed and mobile terminal
CN105873013A (en) Method and device for selecting operator based on e-SIM () card and mobile terminal
CN107172209A (en) Information-pushing method and device
CN109195204A (en) Wireless network access method and device, computer-readable medium, communication terminal
CN106658653A (en) Method and device used for providing wireless access point information
CN103957580A (en) Rapid WIFI networking matching method and module for smart hardware
CN103455333B (en) A kind of desktop icons processing method, device and mobile terminal
CN106028279A (en) Network registration method and device
CN108196458A (en) Intelligent home equipment control method, device and terminal device
CN106445850A (en) Connection method and device for intelligent hardware
CN106973424A (en) The creation method and terminal of a kind of WAP
CN101459927A (en) Method for service test by analogue mobile phone terminal
CN107113615A (en) A kind of authentication method, system and relevant device to access point AP
CN105376839A (en) Mobile terminal and mobile network selection prompting method and system thereof
WO2017097138A1 (en) Notification message processing method and device
CN111050380A (en) Hotspot opening method and device, terminal equipment and storage medium
CN102752753B (en) A kind of method and mobile radio terminal of control ZigBee-network
CN108174378A (en) Number identification method, device, terminal and storage medium
CN100401694C (en) System and method for testing wideband network access server PPP/VPN performance
CN106851609B (en) Determine the method, apparatus that mobile management needed for providing terminal is supported and handled

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20180209