CN108111971A - Localization method, device, storage medium and mobile terminal - Google Patents
Localization method, device, storage medium and mobile terminal Download PDFInfo
- Publication number
- CN108111971A CN108111971A CN201711326706.7A CN201711326706A CN108111971A CN 108111971 A CN108111971 A CN 108111971A CN 201711326706 A CN201711326706 A CN 201711326706A CN 108111971 A CN108111971 A CN 108111971A
- Authority
- CN
- China
- Prior art keywords
- information list
- source information
- signal
- signal emitting
- mobile terminal
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/023—Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
Abstract
The embodiment of the present application discloses localization method, device, storage medium and mobile terminal.This method includes:When receiving LBS and applying to the call request of the GNSS module in mobile terminal, the first signal emitting-source information list that mobile terminal current search arrives is obtained, wherein, signal emitting-source includes Wi-Fi hotspot or base station;First signal emitting-source information list is matched with each signal emitting-source information list in the historical signal emission source information list set of records in mobile terminal;If there are the echo signal emission source information lists of successful match, call request is disagreed;LBS is supplied to apply the corresponding target position information of echo signal emission source information list.The embodiment of the present application in the case of being quickly obtained location information ensureing LBS applications, reduces GNSS module because power consumption caused by magnitude positioning action is searched in execution by using above-mentioned technical proposal.
Description
Technical field
The invention relates to field of locating technology more particularly to localization method, device, storage medium and movement eventually
End.
Background technology
At present, most mobile terminals are provided with positioning function, can provide a user many location based services, for
Family brings facility.
The positioning method of mobile terminal mainly includes Global Navigation Satellite System (Global Navigation
Satellite System, GNSS) positioning, network positions and base station location etc..Wherein, GNSS positioning methods have positioning accurate
The advantages that degree is high and need not use mobile data network, but position fixing process power consumption is very big, when influencing the continuation of the journey of mobile terminal
Between.
The content of the invention
The embodiment of the present application provides a kind of localization method, device, storage medium and mobile terminal, can optimize mobile terminal
In locating scheme.
In a first aspect, the embodiment of the present application provides a kind of localization method, including:
Receive the calling applied based on location-based service LBS to the Global Satellite Navigation System GNSS module in mobile terminal
During request, the first signal emitting-source information list that the mobile terminal current search arrives is obtained, wherein, the signal emitting-source
Including wireless fidelity Wi-Fi hotspot or base station;
The historical signal of the first signal emitting-source information list and the records in mobile terminal is emitted into source information
Each signal emitting-source information list in list collection is matched;
If there are the echo signal emission source information lists of successful match, the call request is disagreed;
The LBS is supplied to apply the corresponding target position information of the echo signal emission source information list.
Second aspect, the embodiment of the present application provide a kind of positioner, including:
First list data obtaining module, for receiving based on location-based service LBS using to complete in mobile terminal
During the call request of ball satellite navigation system GNSS module, the first signal emitting-source that the mobile terminal current search arrives is obtained
Information list, wherein, the signal emitting-source includes wireless fidelity Wi-Fi hotspot or base station;
List information matching module, for by the first signal emitting-source information list and the records in mobile terminal
Historical signal emission source information list set in each signal emitting-source information list matched;
Call request processing module, for there are during the echo signal emission source information list of successful match, disagreeing
The call request;
Location information provides module, for the corresponding target position information of the echo signal emission source information list to be carried
Supply the LBS applications.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey
Sequence realizes the localization method as described in the embodiment of the present application when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of mobile terminal, including memory, GNSS module, processor and
The computer program that can be run on a memory and in processor is stored, the processor be realized when performing the computer program
Localization method as described in the embodiment of the present application.
The locating scheme provided in the embodiment of the present application receives LBS using the tune to the GNSS module in mobile terminal
During with request, the first signal emitting-source information list that mobile terminal current search arrives is obtained, by the first signal emitting-source information
Each signal emitting-source information list in the historical signal emission source information list set of list and records in mobile terminal carries out
Matching, if there are the echo signal emission source information lists of successful match, disagrees call request;By echo signal emission source
The corresponding location information of information list is supplied to LBS to apply.By using above-mentioned technical proposal, when LBS applications need to call
GNSS module is come when obtaining location information, elder generation is according to signal emitting-source information list and the ratio of historical signal emission source information list
It determines whether user once came current location to result, if coming, GNSS module will not be allowed to carry out positioning action, but will
The position once recorded is supplied to LBS to apply, and in the case where ensureing that LBS applications can be quickly obtained location information, reduces
GNSS module searches power consumption caused by magnitude positioning action because of execution.
Description of the drawings
Fig. 1 is a kind of flow diagram of localization method provided by the embodiments of the present application;
Fig. 2 is a kind of Wi-Fi hotspot list interface schematic diagram provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another localization method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another localization method provided by the embodiments of the present application;
Fig. 5 is the flow diagram of another localization method provided by the embodiments of the present application;
Fig. 6 is the flow diagram of another localization method provided by the embodiments of the present application;
Fig. 7 is a kind of structure diagram of positioner provided by the embodiments of the present application;
Fig. 8 is a kind of structure diagram of mobile terminal provided by the embodiments of the present application;
Fig. 9 is the structure diagram of another mobile terminal provided by the embodiments of the present application.
Specific embodiment
Further illustrate the technical solution of the application below with reference to the accompanying drawings and specific embodiments.It is appreciated that
It is that specific embodiment described herein is used only for explaining the application rather than the restriction to the application.It further needs exist for illustrating
, part relevant with the application rather than entire infrastructure are illustrated only for ease of description, in attached drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing described as flow chart or method.Although each step is described as the processing of order, many of which by flow chart
Step can be implemented concurrently, concomitantly or simultaneously.In addition, the order of each step can be rearranged.When its operation
The processing can be terminated during completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with
Corresponding to method, function, regulation, subroutine, subprogram etc..
Fig. 1 is a kind of flow diagram of localization method provided by the embodiments of the present application, and this method can be by positioner
It performs, wherein the device can generally be integrated in the terminal by software and/or hardware realization.As shown in Figure 1, this method
Including:
Step 101 is received and applied based on location-based service LBS to the Global Satellite Navigation System GNSS moulds in mobile terminal
During the call request of block, the first Wireless Fidelity signal emission source information list that the mobile terminal current search arrives is obtained.
Wherein, the signal emitting-source includes wireless fidelity Wi-Fi hotspot or base station.
Illustratively, the mobile terminal in the embodiment of the present application may include that mobile phone and tablet computer etc. are provided with GNSS and determine
The mobile equipment of position module (abbreviation GNSS module).The embodiment of the present application is not construed as limiting the concrete type of GNSS module, can be with
It is defended including global positioning system (Global Positioning System, GPS), Beidou satellite navigation system and Galileo
Star navigation system (GALILEO) etc..
In the embodiment of the present application, to being based on the concrete kind of location-based service (Location Based Service, LBS) application
Type does not limit, it may include class application (such as U.S. group takes out), social class are taken out in electronic map class application (such as Baidu map)
Using (such as wechat), information service class application (such as popular comment) and GT grand touring using (such as taking journey) etc..Generally
, LBS application need using positioning service when, can send to GNSS module call request (namely LBS application initiate GNSS determine
The Location Request of position mode), if agreeing to the call request (even agreeing to the Location Request), then GNSS module would be at just
Normal operating mode, search of satellite signal and obtains other related datas used for positioning, and then calculates mobile terminal
Location information (also known as location information), is supplied to LBS to apply, and LBS, which applies to provide a user further according to location information, more to be enriched
Service.
In the embodiment of the present application, when receiving LBS and applying to the call request of GNSS module, first judge user whether once
Through coming current place, then decide whether to agree to the call request again.It can be had been to by mobile terminal records user
Place, location information can be supplied directly to LBS applications, GNSS module is not required to be searched again by and record position information
Star and other positioning relevant operations, save power consumption, and improve locating speed.Before not knowing whether to come, first obtain and move
(Wireless Fidelity, WiFi) the hot information list of current Wireless Fidelity or base station information list that dynamic terminal searching arrives,
And then according to Wi-Fi hotspot information list or base station information list judge user whether once come current location.
At present, mobile terminal possesses wireless networking capabilities mostly, and the most common type is by WiFi modes.When mobile whole
In end WLAN switch (also known as WiFi switch or wireless network connection switch when) be in opening when, mobile terminal
The Wi-Fi hotspot of surrounding can be searched for, and the Wi-Fi hotspot that will be searched is added in the Wi-Fi hotspot information list of itself,
In the list, the title of each Wi-Fi hotspot can be generally included, which for example can be service set (Service
Set Identifier, SSID), it is also possible to comprising the corresponding signal strength of each Wi-Fi hotspot, user can be according to title and letter
The Wi-Fi hotspot of connection is wanted in the corresponding icon selection of number intensity, and input corresponding password (for unencryption hot spot then without
Password need to be inputted), you can it is connected to the Wi-Fi hotspot and is successfully joined corresponding WLAN, realize wireless networking capabilities.
Fig. 2 is a kind of Wi-Fi hotspot list interface schematic diagram provided by the embodiments of the present application, as shown in Fig. 2, wireless lan function is opened
201 are closed in opening, user selects connection WiFiE, after inputting password, is successfully established and is connected with WiFiE.
In daily life, people increasingly be unable to do without network, by access internet can realize mobile payment, chat,
It listens to music, see video and browsing webpage etc., access that interconnection net spee is fast and expense is low or even some are by WiFi modes
Free, so, in order to meet the online demand of people, used there are various Wi-Fi hotspots for mobile terminal user.
For example, user can generally set wireless router at home, wireless router can be used as a Wi-Fi hotspot to be connected for user;
Office, the computer of employee usually can access internet by modes such as broadbands, when be integrated in computer or it is external have it is wireless
During network interface card, Wi-Fi hotspot can be also used as to be used for mobile equipment connection;In many public places, such as market, dining room and hospital
Deng, also for people provide Wi-Fi hotspot for user connect;Outdoors, such as street or tourist attractions, the mobile terminal of user
It can also search for some urban services WiFi, such as iTianjin;In addition, mobile terminal can also be built based on cellular mobile network
Vertical Wi-Fi hotspot, also known as personal Wi-Fi hotspot or carry-on Wi-Fi hotspot etc. connect use for the mobile terminal of relatives and friends.
Base station is a kind of form of radio station, refers in certain area of radio coverage, is handed over by mobile communication
Believe radio station into the transceiving that row information is transferred between switching center9, with mobile terminal.Mobile terminal typically is provided with mobile communication
Function, in the process of running can search base station, according to the identity of the base station searched and signal strength etc. carry out cell cut
It changes, so as to ensure good communication quality.When signal emitting-source includes base station, it may include base in signal emitting-source information list
The identity (such as title or code name) stood, may also include the corresponding signal strength in base station.
Step 102 sends out the historical signal of the first signal emitting-source information list and the records in mobile terminal
Each signal emitting-source information list penetrated in source information list collection is matched.
Illustratively, the corresponding positioning work(of locating scheme of the application is opened when beginning to use mobile terminal or for the first time
During energy, place that (such as one month) user once went can be first recorded in certain period of time.For example, using signal emitting-source as WiFi
Exemplified by hot spot, when user comes place A, GNSS Location Requests are initiated in the LBS applications in mobile terminal, are positioned by GNSS module
To the location information loc1 of current location, the Wi-Fi hotspot information list wlist1 that mobile terminal current search arrives is obtained, by this
Wi-Fi hotspot information list wlist1 is recorded in history Wi-Fi hotspot information list set LocList, while records the WiFi
The correspondence of hot information list wlist1 and loc1.In this way, LBS applications often initiate GNSS Location Requests in a place,
The location information of the position and corresponding Wi-Fi hotspot information list will be recorded, so as to record the place that user has been to,
Will be included after certain period of time, in history Wi-Fi hotspot information list set many Wi-Fi hotspot information lists and
Its corresponding location information.
In this step, the first signal emitting-source information list and historical signal emission source information list that current search is arrived
Whether each signal emitting-source information list in set is matched, determine user once come excessively current ground according to matching result
Point.Illustratively, when being matched, the title progress of the signal emitting-source in signal emitting-source information list can be directed to
Match somebody with somebody, the signal strength that can be also directed to signal emitting-source is matched, and can also be directed to sequence of the signal emitting-source in affiliated list
It is matched, the embodiment of the present application does not limit.
If step 103, the echo signal emission source information list there are successful match, disagree the call request.
Illustratively, if after above-mentioned matching operation, it is found that there are the echo signals of successful match to emit source information
List, explainable user once came current location, and was stored in mobile terminal and echo signal emission source information list pair
The location information answered need not be positioned by GNSS module, it is possible to be disagreed call request, be reduced GNSS module
Because power consumption caused by magnitude positioning action is searched in execution.Dissenting mode can temporarily be not responding to the call request, also may be used
To be directly to refuse the call request, the embodiment of the present application does not limit.
Optionally, if signal emitting-source information list there is no successful match, then can agree to the call request, pass through
GNSS positioning methods are positioned, and LBS are supplied to apply location information.
The corresponding target position information of echo signal emission source information list is supplied to the LBS to apply by step 104.
Illustratively, after disagreeing to the call request of GNSS module, in order to ensure that LBS applications can get position
Information, and provide more abundant service to the user based on location information, it can be by the pre-stored target in mobile terminal
The corresponding target position information of signal emitting-source information list is supplied to the LBS to apply.
The localization method provided in the embodiment of the present application receives LBS using the tune to the GNSS module in mobile terminal
During with request, the first signal emitting-source information list that mobile terminal current search arrives is obtained, by the first signal emitting-source information
Each signal emitting-source information list in the historical signal emission source information list set of list and records in mobile terminal carries out
Matching, if there are the echo signal emission source information lists of successful match, disagrees call request;By echo signal emission source
The corresponding location information of information list is supplied to LBS to apply.By using above-mentioned technical proposal, when LBS applications need to call
GNSS module is come when obtaining location information, elder generation is according to signal emitting-source information list and the ratio of historical signal emission source information list
It determines whether user once came current location to result, if coming, GNSS module will not be allowed to carry out positioning action, but will
The position once recorded is supplied to LBS to apply, and in the case where ensureing that LBS applications can be quickly obtained location information, reduces
GNSS module searches power consumption caused by magnitude positioning action because of execution.
In some embodiments, it is described by the first signal emitting-source information list and the records in mobile terminal
Historical signal emission source information list set in each signal emitting-source information list matched after, further include:If no
There are the echo signal emission source information lists of successful match, then agree to the call request;It is current based on GNSS module positioning
Position obtains current location information;The historical signal emission source letter is recorded in the first signal emitting-source information list
It ceases in list collection, and establishes the correspondence of the first signal emitting-source information list and the current location information.This
Sample setting is advantageous in that, when definite user will cross current location in future, illustrates not recording corresponding position in mobile terminal
Information is positioned by GNSS module, and provides location information to LBS applications, can be ensured that LBS is applied and be believed based on accurate position
Breath, which provides a user, more accurately to be serviced, in addition, being positioned to the first signal emitting-source information list at this time and GNSS module
Location information stored, historical signal emission source information list set can be updated in time.If historical signal is sent out
Penetrate the echo signal transmitting source information row for being not present in source information list collection and matching with the first signal emitting-source information list
During table, illustrate user and it is following it is excessive before position, it is necessary to be updated to historical signal emission source information list set, so as to
Next user can realize quick positioning when advancing to the position, and save the power consumption of mobile terminal.
In some embodiments, if there are successful match echo signal emission source information list, disagree the tune
With request, including:If there are the echo signal emission source information lists of successful match, the echo signal emission source letter is obtained
Cease the corresponding target position information of list;Judge whether the cumulative number that the target position information is recorded reaches preset times
Threshold value if reaching, disagrees the call request.Wherein, preset times threshold value can freely be set, such as 5 times.So set
Putting is advantageous in that, the cumulative number being recorded according to target position information can learn whether user often comes target position
It puts, and then learns familiarity of the user to target location ambient enviroment, finally decide whether to agree to call request, can be promoted certainly
The fixed judgement dimension for whether agreeing to call request, makes judgement result more reasonable.If number is more, then user may be to surrounding
Environment it is familiar, if target position information is not accurate enough, user can have found and take measures in time, such as it is manually opened
GNSS module etc., if in addition, needing to move in LBS application processes are used, user also can know when that GNSS can be opened
Module is applied so that GNSS module provides accurate location information to LBS;Conversely, if number is less, then user may be to week
The environment enclosed is not familiar with, if target position information is not accurate enough, user can not also have found, if in addition, LBS is being used to apply
It needs to move in the process, user also cannot know when open GNSS module, and it is inadequate to be easy to cause the service that LBS applications provide
Accurately.For example, after user takes subway, it is outbound from the C mouths of X subway stations, row chauffeur is oozed using drop, oozes guild's hair at this time
Go out the call request to GNSS module, if by the comparison of Wi-Fi hotspot information list, find there are matched list, so will
Corresponding target position information is supplied to drop to ooze row.Assuming that the number that target position information is recorded is 1 time, and remembered in last time
During record, user oozes row at D mouthfuls using drop, so target position information is actually D mouthfuls of positions, C mouthfuls and D mouthfuls are separated by a horse
Road, at this moment, since user is unfamiliar with ambient enviroment, may not find positioning position deviateed, can cause driver without
Method accurately finds user position;Assuming that the number that target position information is recorded is 5 times, target position information is actually
It is D mouthfuls of positions, but since user is often outbound from D mouthfuls, ambient enviroment difference at this time can be discovered, can find the inclined of positioning in time
From, can manually opened GNSS module reposition, ensure that driver can smoothly find user.
In some embodiments, judging whether the cumulative number that the target position information is recorded reaches preset times
After threshold value, further include:If not up to, the cumulative number that the target position information is recorded is added 1 and is stored.It is exemplary
, if user is only once to come, but number is insufficient, then the situation that this is come to target location adds up, by mesh
The cumulative number that cursor position information is recorded adds 1 and stores, and after number has reached preset times threshold value, can not enable
GNSS module, but directly LBS is supplied to apply target position information.Optionally, if having reached, to whether agreeing to call
Request does not have an impact, therefore can add up to number, can not also add up.
In some embodiments, it is described by the first signal emitting-source information list and the records in mobile terminal
Each signal emitting-source information list in historical signal emission source information list set is matched, including:For the movement
Each signal emitting-source information list in the historical signal emission source information list set recorded in terminal, current demand signal is sent out
The signal emitting-source title included in source information list and the signal that the first signal emitting-source information list includes is penetrated to emit
Source name is compared, if the number of the identical signal emitting-source of title is more than predetermined number threshold value, it is determined that the current letter
Number emission source information list and the first signal emitting-source information list successful match, wherein, the predetermined number threshold value is small
In or equal to the sum of signal emitting-source that includes in the current demand signal emission source information list.The benefit so set exists
In, in the recording process of historical signal emission source information list, personal hot spot may be included in list, and these hot spots are general
It is mobile, it is impossible to ensure to remain able to search individual's hot spot when coming same position next time, it therefore, can be to being directed to name
The quantity of identical signal emitting-source is claimed to be judged, reduces happening for erroneous judgement.Predetermined number threshold value can be history letter
The sum of the signal emitting-source included in current demand signal emission source information list in number emission source information list set with it is default
The product of coefficient, for example, predetermined number threshold value is N, predetermined coefficient k, the letter included in current demand signal emission source information list
The sum of number emission source is M, then N=kM, k are the positive number less than 1, such as 0.6.For example, by taking Wi-Fi hotspot as an example, the first WiFi
Comprising " WiFi1 " in hot information list ListA, " WiFi2 ", " WiFi3 ", " WiFi4 " and " phone of a ", totally 5 WiFi
Hot spot, and in history Wi-Fi hotspot information list set there are in a list ListB include " WiFi1 ", " WiFi2 ",
" WiFi3 ", " WiFi4 " and " phone of b " and 5 Wi-Fi hotspots, the number of identical Wi-Fi hotspot is 4 in two lists
A, predetermined number threshold value is 3, then it is believed that ListA and ListB successful match.
Further, if the number of the identical signal emitting-source of the title is more than predetermined number threshold value, it is determined that described
Current demand signal emission source information list and the first signal emitting-source information list successful match, including:If title is identical
The number of signal emitting-source is more than predetermined number threshold value, then judges the corresponding signal strength difference of the identical signal emitting-source of each pair
Whether in the range of preset difference value;If the corresponding signal strength difference of the identical signal emitting-source of each pair is in described default
In difference range, it is determined that the current demand signal emission source information list is matched into the first signal emitting-source information list
Work(.The advantages of this arrangement are as follows strengthening list match condition based on signal strength, difficulty of matching can be improved, so as to improve position
The accuracy of confidence breath.It is understood that the signal strength of different signal emitting-sources calculates the possible difference of mode, it is corresponding
Preset difference value scope also can be different.By taking Wi-Fi hotspot as an example, the scope of the signal strength values of Wi-Fi hotspot is usually -100 to 0,
Preset difference value scope can be set according to actual demand, such as can be -10 to 10.Example is exemplified as with above-mentioned, " WiFi1 ",
" WiFi2 ", " WiFi3 " and " WiFi4 ", totally 4 pairs of identical Wi-Fi hotspots, if " WiFi1 " corresponding signal strength in ListA
It is -78 for " WiFi1 " corresponding signal strength in -80, ListB, the two difference is -2 (assuming that " WiFi1 " in ListA
Signal strength is minuend), then in the range of preset difference value, similarly, if the corresponding signal strength of remaining 3 pairs of Wi-Fi hotspots
Difference is in the range of preset difference value, it is believed that ListA and ListB successful match.It is such as a pair of if there is a pair of of Wi-Fi hotspot
The signal strength difference of " WiFi3 correspondences " is not in the range of preset difference value, the position that possible user is presently in ListB pairs
The location information deviation answered is larger, it is believed that ListA and ListB is mismatched.
In some embodiments, the first signal emitting-source information row for obtaining the mobile terminal current search and arriving
Table, including:Obtain the type information of the LBS applications;Judge whether the LBS applications belong to default according to the type information
Application type set;When LBS applications belong to default application type set, obtain what the mobile terminal current search arrived
First signal emitting-source information list.The advantages of this arrangement are as follows it can determine whether to adopt according to the concrete type that LBS is applied
With the positioning method in the application, the positioning strategy that LBS is applied is enriched.
Wherein, the type information of LBS applications can include electronic map class application (such as Baidu map), traffic class (such as
Ooze row or rub and visit bicycle etc.), take out class application (such as U.S. group take out), social class using (such as wechat), information service
Class application (such as popular comment), GT grand touring application (such as taking journey), video class application program (such as iqiyi.com), game class application
Program (such as king's honor), text class application program (such as office), can classify, no according to different classification policies
Same classification policy may correspond to different classification results.Wherein, the type information of LBS applications can reflect the application program pair
The height of positioning accuracy request.If navigation type application program is higher to positioning accuracy request, rubs and visit bicycle, the traffic class such as vehicle has come
Application program is also higher to positioning accuracy request.These application programs not only need accurately to obtain the city residing for user, city
Each area in city, street information in region or even will also accurately acquire latitude and longitude information.And information service class application
The application programs such as program, game class and camera are relatively low to positioning accuracy request.These application journeys relatively low to positioning accuracy request
Sequence only obtains each area in city or city residing for user, it is possible to provide preferable service to the user.
Illustratively, presetting application type set can be set by system default, also can independently be set by user.By system
During default setting, the history use habit of user's sample and corresponding scene information can also be counted or learned by mobile terminal
It practises and generates and formulate.For example, before receiving LBS and applying to the call request of the GNSS module in mobile terminal, it may include:
User is counted or learnt using the historical custom data of different types of application program according to predetermined period;According to statistics
As a result or learning outcome determines default application type set.As it was noted above, different classes of LBS is applied to positioning accuracy request
The LBS application not high to positioning accuracy request can be added in default application type set by difference.
Specifically, the historical custom data include the number of invocation map picture, the frequency refreshed to map picture
Rate, the number of manual correction position and actively open in the numbers of GNSS positioning functions at least one of.User use should
During with program, application program can be operated according to the demand of oneself, when user carries out aforesaid operations, can said
Bright user is higher to the positioning accuracy request of the application program, and it is higher to positioning accuracy request to further relate to the application program.It can
With understanding, the number of application call map picture is more, illustrates that user is frequently necessary to understand by invocation map
Detailed location information residing for mobile terminal further illustrates that the application program is higher to positioning accuracy request;Application program
The frequency refreshed to map picture is higher, illustrates that the location information that the application program obtains cannot meet user demand, such as
The location information precision that location information is incorrect or application program obtains that application program obtains is inadequate, by constantly right
Map picture is refreshed, and to obtain correct, accurate location information, further illustrates that the application program will to positioning accuracy
Ask higher;When application program is positioned, the position of user's frequent manual correction application program positioning or user entangle manually
The number of positive position is more, illustrates that the location information that the application program obtains cannot meet user demand, as application program obtains
The location information precision that location information is incorrect or application program obtains it is inadequate or even application program is by repeatedly calling
Map picture or frequent ground-to-ground picture face are refreshed, and can not also meet the requirement of user, at this point, user is actively manual
Location information is corrected, further illustrates that the application program is higher to positioning accuracy request;When application program is positioned, Yong Hujing
The number of normal manually opened GNSS positioning functions or unlatching GNSS positioning functions is more, illustrates that user it is expected the application program
It is directly positioned, and is not intended to through network positions, base station location or indigo plant by the higher GNSS positioning methods of positioning accuracy
The relatively low positioning methods of positioning accuracies such as tooth positioning are positioned, and further illustrate that the application program gets over positioning accuracy request
It is high.Respectively in user's sample, the number of each application call map picture, the frequency refreshed to map picture,
The number of manual correction position and the number for actively opening GNSS positioning functions carry out statistical learning, determine to positioning accuracy
More demanding LBS applications and the LBS application relatively low to positioning accuracy request.
In some embodiments, by the history of the first signal emitting-source information list and the records in mobile terminal
Each signal emitting-source information list in signal emitting-source information list set is matched, and may also comprise:Obtain described first
The first signal emitting-source that mobile terminal currently connects in signal emitting-source information list judges that first signal emitting-source is
In the no signal emitting-source information list appeared in historical signal emission source information list set, if occurring, institute will appear from
The signal emitting-source information list for stating the first signal emitting-source is determined as the echo signal emission source information list of successful match.This
Sample setting is advantageous in that, can be promoted matching speed, and then be promoted location efficiency.Further, the historical signal emission source
In each signal emitting-source information list in information list set, signal emitting-source information is strong according to corresponding signal when being recorded
Degree to weak from being ranked sequentially by force, if the first signal emitting-source is appeared in multiple signal emitting-source information lists, by first
Signal emitting-source sequence is determined as the echo signal transmitting source information row of successful match near preceding signal emitting-source information list
Table.The advantages of this arrangement are as follows echo signal emission source information list can be more accurately determined, so that its corresponding mesh
Cursor position information is more close to the users the position being presently in.
In some embodiments, it is supplied to by the corresponding target position information of the echo signal emission source information list
After the LBS applications, further include:The secondary signal emission source information list that the mobile terminal current search arrives is obtained, if
When judging that the secondary signal emission source information list changes compared with the first signal emitting-source information list, control
It makes the GNSS module and provides location information to LBS applications.The advantages of this arrangement are as follows can be accurately judged to user is
The movement of no generation position if position movement occurs, can wake up GNSS module, in order to provide accurate location information in time.Wherein,
Secondary signal emission source information list changes compared with the first signal emitting-source information list, can be included signal
The variation of the title of emission source or the variation of the signal strength of signal emitting-source, for determining whether the threshold value of variation
Scope can determine that the embodiment of the present application is not limited according to actual demand.
Fig. 3 is the flow diagram of another localization method provided by the embodiments of the present application, using signal emitting-source as WiFi
It is illustrated exemplified by hot spot, this method includes:
Step 301 receives LBS using the call request to the GNSS module in mobile terminal.
Step 302 obtains the first Wi-Fi hotspot information list that mobile terminal current search arrives.
Step 303, the history Wi-Fi hotspot information list by the first Wi-Fi hotspot information list and records in mobile terminal
Each Wi-Fi hotspot information list in set is matched.
Step 304, the target Wi-Fi hotspot information list for judging whether successful match, if so, performing step
305;Otherwise, step 309 is performed.
Step 305 disagrees the call request, and the corresponding target position information of target Wi-Fi hotspot information list is carried
Supply the LBS applications.
Step 306 obtains the second Wi-Fi hotspot information list that mobile terminal current search arrives.
Step 307 judges whether the second Wi-Fi hotspot information list becomes compared with the first Wi-Fi hotspot information list
Change, if so, performing step 308;Otherwise, return and perform step 306.
Step 308, control GNSS module provide location information to LBS applications.
Step 309 agrees to the call request, positions current location based on GNSS module, obtains current location information.
First Wi-Fi hotspot information list is recorded in history Wi-Fi hotspot information list set, and establishes by step 310
The correspondence of first Wi-Fi hotspot information list and the current location information.
Localization method provided by the embodiments of the present application, when LBS applications need to call GNSS module come when obtaining location information,
First according to the matching result of the Wi-Fi hotspot information list that current search arrives and pre-recorded history Wi-Fi hotspot information list
It determines whether user once came current location, if coming, GNSS module will not be allowed to carry out positioning action, but will once be remembered
The position recorded is supplied to LBS to apply, and in the case where ensureing that LBS applications can be quickly obtained location information, reduces GNSS moulds
Block searches power consumption caused by magnitude positioning action because of execution.Also, there is no during matched Wi-Fi hotspot information list, to going through
History Wi-Fi hotspot information list collection is timely updated, and can be realized when advancing to the position so as to next user fast
Speed positioning.
Fig. 4 is the flow diagram of another localization method provided by the embodiments of the present application, using signal emitting-source as base station
Exemplified by illustrate, this method comprises the following steps:
Step 401 receives LBS using the call request to the GNSS module in mobile terminal.
Step 402 obtains the first base station information list that mobile terminal current search arrives.
Step 403, for each base station information list in the base station information list collection of records in mobile terminal, ought
The base station name included in preceding base station information list is compared with the base station name that first base station information list includes.
Step 404 judges whether that the number of the identical base station of title is arranged more than the base station information of predetermined number threshold value
Table, if so, performing step 405;Otherwise, step 410 is performed.
Wherein, the predetermined number threshold value is less than or equal to the signal included in the current demand signal emission source information list
The sum of emission source.
Step 405 judges the corresponding signal strength difference in the identical base station of each pair whether in the range of preset difference value, if
It is then to perform step 406;Otherwise, step 410 is performed.
Step 406 determines target BS information list there are successful match, the call request is disagreed, by target
The corresponding target position information of base station information list is supplied to the LBS to apply.
Step 407 obtains the second base station information list that mobile terminal current search arrives.
Step 408 judges whether the second base station information list changes compared with first base station information list, if so,
Then perform step 409;Otherwise, return and perform step 407.
Step 409, control GNSS module provide location information to LBS applications.
Step 410 agrees to the call request, positions current location based on GNSS module, obtains current location information.
First base station information list is recorded in history base station information list collection, and establishes first base station by step 411
The correspondence of information list and the current location information.
Localization method provided by the embodiments of the present application, when LBS applications need to call GNSS module come when obtaining location information,
According to the quantity of same base and corresponding difference in signal strength, come the base station information list arrived to current search with it is pre-recorded
History base station information list matched, can more accurately determine whether user once came current position, into
And determined whether to agree to the call request for GNSS module according to matching result, the work of GNSS module is rationally controlled, is reduced
System power dissipation.
Fig. 5 is the flow diagram of another localization method provided by the embodiments of the present application, using signal emitting-source as WiFi
It is illustrated exemplified by hot spot, this method comprises the following steps:
Step 501 receives LBS using the call request to the GNSS module in mobile terminal.
Step 502 obtains the first Wi-Fi hotspot information list that mobile terminal current search arrives.
Step 503, the history Wi-Fi hotspot information list by the first Wi-Fi hotspot information list and records in mobile terminal
Each Wi-Fi hotspot information list in set is matched.
Step 504, the target Wi-Fi hotspot information list for judging whether successful match, if so, performing step
505;Otherwise, step 509 is performed.
Step 505 obtains the corresponding target position information of target Wi-Fi hotspot information list.
Step 506 judges whether the cumulative number that target position information is recorded reaches preset times threshold value, if so,
Perform step 507;Otherwise, step 508 is performed.
Step 507, the refusal call request, the corresponding target position information of target Wi-Fi hotspot information list is provided
It is applied to the LBS.
Step 508, the cumulative number for being recorded target position information add 1 and store.
Step 509 agrees to the call request, positions current location based on GNSS module, obtains current location information.
First Wi-Fi hotspot information list is recorded in history Wi-Fi hotspot information list set, and establishes by step 510
The correspondence of first Wi-Fi hotspot information list and the current location information.
Localization method provided by the embodiments of the present application, the cumulative number being recorded according to target position information can learn use
Whether family often comes target location, and then learns familiarity of the user to target location ambient enviroment, finally decides whether
Agree to call request, the judgement dimension for deciding whether to agree to call request can be promoted, make judgement result more reasonable.
Fig. 6 is the flow diagram of another localization method provided by the embodiments of the present application, using signal emitting-source as WiFi
It is illustrated exemplified by hot spot, this method includes:
Step 601 when receiving LBS and applying to the call request of the GNSS module in mobile terminal, obtains LBS applications
Type information when LBS applications belong to default application type set, obtains the first Wi-Fi hotspot that mobile terminal current search arrives
Information list.
Step 602, for each Wi-Fi hotspot information in the Wi-Fi hotspot information list set of records in mobile terminal
List includes the Wi-Fi hotspot title included in current Wi-Fi hotspot information list and the first Wi-Fi hotspot information list
Wi-Fi hotspot title is compared.
Step 603, WiFi heat of the number more than predetermined number threshold value for judging whether the identical Wi-Fi hotspot of title
Point information list, if so, performing step 604;Otherwise, step 609 is performed.
Wherein, the predetermined number threshold value is less than or equal to the signal included in the current demand signal emission source information list
The sum of emission source.
Whether step 604 judges the corresponding signal strength difference of the identical Wi-Fi hotspot of each pair in preset difference value scope
It is interior, if so, performing step 605;Otherwise, step 609 is performed.
Step 605 determines target Wi-Fi hotspot information list there are successful match, and obtains target Wi-Fi hotspot information
The corresponding target position information of information list.
Step 606 judges whether the cumulative number that target position information is recorded reaches preset times threshold value, if so,
Perform step 607;Otherwise, step 608 is performed.
Step 607, the refusal call request, the corresponding target position information of target Wi-Fi hotspot information list is provided
It is applied to LBS.
Step 608, the cumulative number for being recorded target position information add 1 and store.
Step 609 agrees to the call request, positions current location based on GNSS module, obtains current location information.
First Wi-Fi hotspot information list is recorded in history Wi-Fi hotspot information list set, and establishes by step 610
The correspondence of first Wi-Fi hotspot information list and the current location information.
Localization method provided by the embodiments of the present application, when the LBS applications of specified type need that GNSS module is called to obtain
During location information, quantity and corresponding difference in signal strength first based on identical Wi-Fi hotspot, the WiFi heat arrived to current search
Point information list is matched with pre-recorded history Wi-Fi hotspot information list, if there are the list of successful match, after
It is continuous that the number that position is recorded is judged, finally determine whether to refuse the call request of GNSS module, it can more rationally
Ground controls the work of GNSS module, reduces system power dissipation.
Fig. 7 is a kind of structure diagram of positioner provided by the embodiments of the present application, which can be by software and/or hardware
It realizes, is typically integrated in mobile terminal, can be positioned by performing localization method.As shown in fig. 7, the device includes:
First list data obtaining module 701, for receiving based on location-based service LBS using in mobile terminal
During the call request of Global Satellite Navigation System GNSS module, the first signal transmitting that the mobile terminal current search arrives is obtained
Source information list, wherein, the signal emitting-source includes wireless fidelity Wi-Fi hotspot or base station;
List information matching module 702, for will be in the first signal emitting-source information list and the mobile terminal
Each signal emitting-source information list in the historical signal emission source information list set of record is matched;
Call request processing module 703 is different for there are during the echo signal emission source information list of successful match
It anticipates the call request;
Location information provides module 704, for the corresponding target location of the echo signal emission source information list to be believed
Breath is supplied to the LBS to apply.
The localization method provided in the embodiment of the present application receives LBS using the tune to the GNSS module in mobile terminal
During with request, the first signal emitting-source information list that mobile terminal current search arrives is obtained, by the first signal emitting-source information
Each signal emitting-source information list in the historical signal emission source information list set of list and records in mobile terminal carries out
Matching, if there are the echo signal emission source information lists of successful match, disagrees call request;By echo signal emission source
The corresponding location information of information list is supplied to LBS to apply.By using above-mentioned technical proposal, when LBS applications need to call
GNSS module is come when obtaining location information, elder generation is according to signal emitting-source information list and the ratio of historical signal emission source information list
It determines whether user once came current location to result, if coming, GNSS module will not be allowed to carry out positioning action, but will
The position once recorded is supplied to LBS to apply, and in the case where ensureing that LBS applications can be quickly obtained location information, reduces
GNSS module searches power consumption caused by magnitude positioning action because of execution.
Optionally, the call request processing module is additionally operable to:By the first signal emitting-source information list and institute
Each signal emitting-source information list stated in the historical signal emission source information list set of records in mobile terminal is matched
Afterwards, if there is no successful match echo signal emission source information list, agree to the call request;
The device further includes:
Current location information acquisition module for being based on GNSS module positioning current location, obtains current location information;
Logging modle emits source information for the first signal emitting-source information list to be recorded the historical signal
In list collection, and establish the correspondence of the first signal emitting-source information list and the current location information.
Optionally, if there are successful match echo signal emission source information list, disagree the call request, wrap
It includes:
If there are the echo signal emission source information lists of successful match, the echo signal transmitting source information row are obtained
The corresponding target position information of table;
Judge whether the cumulative number that the target position information is recorded reaches preset times threshold value, if reaching, no
Agree to the call request.
Optionally, the historical signal by the first signal emitting-source information list and the records in mobile terminal
Each signal emitting-source information list in emission source information list set is matched, including:
For each signal emitting-source in the historical signal emission source information list set of the records in mobile terminal
Information list believes the signal emitting-source title included in current demand signal emission source information list and first signal emitting-source
The signal emitting-source title that includes of breath list is compared, if the number of the identical signal emitting-source of title is more than predetermined number threshold
Value, it is determined that the current demand signal emission source information list and the first signal emitting-source information list successful match, wherein,
The predetermined number threshold value is less than or equal to the sum of the signal emitting-source included in the current demand signal emission source information list.
Optionally, if the number of the identical signal emitting-source of the title is more than predetermined number threshold value, it is determined that described to work as
Front signal emission source information list and the first signal emitting-source information list successful match, including:
If the number of the identical signal emitting-source of title is more than predetermined number threshold value, the identical signal transmitting of each pair is judged
Whether the corresponding signal strength difference in source is in the range of preset difference value;
If the corresponding signal strength difference of the identical signal emitting-source of each pair is in the range of the preset difference value, really
The fixed current demand signal emission source information list and the first signal emitting-source information list successful match.
Optionally, the first signal emitting-source information list for obtaining the mobile terminal current search and arriving, including:
Obtain the type information of the LBS applications;
Judge whether the LBS applications belong to default application type set according to the type information;
When LBS applications belong to default application type set, the mobile terminal current search arrives first is obtained
Signal emitting-source information list.
Optionally, which further includes:
Second list data obtaining module, for by the corresponding target location of the echo signal emission source information list
Information is supplied to after the LBS applications, obtains the secondary signal emission source information list that the mobile terminal current search arrives;
Change judgment module, for judging the secondary signal emission source information list compared with first signal
When emission source information list changes, the GNSS module is controlled to provide location information to LBS applications.
The embodiment of the present application also provides a kind of storage medium for including computer executable instructions, and the computer can perform
When being performed by computer processor for performing localization method, this method includes for instruction:
Receive the calling applied based on location-based service LBS to the Global Satellite Navigation System GNSS module in mobile terminal
During request, the first signal emitting-source information list that the mobile terminal current search arrives is obtained, wherein, the signal emitting-source
Including wireless fidelity Wi-Fi hotspot or base station;
The historical signal of the first signal emitting-source information list and the records in mobile terminal is emitted into source information
Each signal emitting-source information list in list collection is matched;
If there are the echo signal emission source information lists of successful match, the call request is disagreed;
The LBS is supplied to apply the corresponding target position information of the echo signal emission source information list.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap
It includes:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as
DRAM, DDRRAM, SRAM, EDORAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium (example
Such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can further include other types
Memory or its combination.In addition, storage medium can be located at program in the first computer system being wherein performed or
It can be located in different second computer systems, second computer system is connected to the first meter by network (such as internet)
Calculation machine system.Second computer system can provide program instruction and be used to perform to the first computer.Term " storage medium " can
With include may reside in different position (such as in different computer systems by network connection) two or more
Storage medium.Storage medium can store the program instruction that can be performed by one or more processors and (such as be implemented as counting
Calculation machine program).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present application is provided, computer
The positioning action that executable instruction is not limited to the described above can also carry out the localization method that the application any embodiment is provided
In relevant operation.
The embodiment of the present application provides a kind of mobile terminal, and it is provided by the embodiments of the present application fixed to be integrated in the mobile terminal
Position device.Fig. 8 is a kind of structure diagram of mobile terminal provided by the embodiments of the present application.Mobile terminal 800 can include:It deposits
Reservoir 801, processor 802, GNSS module 803 and the computer journey that is stored on memory 801 and can be run in processor 802
Sequence, the processor 802 realize the localization method as described in the embodiment of the present application when performing the computer program.
Mobile terminal provided by the embodiments of the present application, when LBS applications need to call GNSS module come when obtaining location information,
First according to the comparison result of signal emitting-source information list and historical signal emission source information list determine user whether once come
Current location is crossed, if coming, GNSS module will not be allowed to carry out positioning action, but the position once recorded is supplied to
LBS is applied, and in the case where ensureing that LBS applications can be quickly obtained location information, reduction GNSS module is searched magnitude because of execution and determined
Power consumption caused by bit manipulation.
Fig. 9 is the structure diagram of another mobile terminal provided by the embodiments of the present application, which can include:
Housing (not shown), memory 901, GPS chip (not shown), central processing unit (central processing
Unit, CPU) 902 (also known as processor, hereinafter referred to as CPU), circuit board (not shown) and power circuit (do not show in figure
Go out).The circuit board is placed in the interior volume that the housing surrounds;The CPU902 and the memory 901 are arranged on institute
It states on circuit board;The power circuit, for powering for each circuit or device of the mobile terminal;The memory 901,
For storing executable program code;The CPU902 is by reading the executable program code stored in the memory 901
Computer program corresponding with the executable program code is run, to realize following steps:
Receive the calling applied based on location-based service LBS to the Global Satellite Navigation System GNSS module in mobile terminal
During request, the first signal emitting-source information list that the mobile terminal current search arrives is obtained, wherein, the signal emitting-source
Including wireless fidelity Wi-Fi hotspot or base station;
The historical signal of the first signal emitting-source information list and the records in mobile terminal is emitted into source information
Each signal emitting-source information list in list collection is matched;
If there are the echo signal emission source information lists of successful match, the call request is disagreed;
The LBS is supplied to apply the corresponding target position information of the echo signal emission source information list.
The mobile terminal further includes:Peripheral Interface 903, RF (Radio Frequency, radio frequency) circuit 905, audio-frequency electric
Road 906, loud speaker 911, power management chip 908, input/output (I/O) subsystem 909, other input/control devicess 910,
Touch-screen 912, other input/control devicess 910 and outside port 904, these components pass through one or more communication bus
Or signal wire 907 communicates.
It should be understood that diagram mobile terminal 900 is only an example of mobile terminal, and mobile terminal 900
Can have than more or less components shown in figure, two or more components can be combined or can be with
It is configured with different components.Various parts shown in figure can be including one or more signal processings and/or special
Hardware, software including integrated circuit are realized in the combination of hardware and software.
Just mobile terminal used for positioning provided in this embodiment is described in detail below, and the mobile terminal is with mobile phone
Exemplified by.
Memory 901, the memory 901 can be by access such as CPU902, Peripheral Interfaces 903, and the memory 901 can
To include high-speed random access memory, nonvolatile memory can also be included, such as one or more disk memory,
Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU902 and deposited by Peripheral Interface 903, the Peripheral Interface 903
Reservoir 901.
I/O subsystems 909, the I/O subsystems 909 can be by the input/output peripherals in equipment, such as touch-screen 912
With other input/control devicess 910, Peripheral Interface 903 is connected to.I/O subsystems 909 can include 9091 He of display controller
For controlling one or more input controllers 9092 of other input/control devicess 910.Wherein, one or more input controls
Device 9092 processed receives electric signal from other input/control devicess 910 or sends electric signal to other input/control devicess 910,
Other input/control devicess 910 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour
Vertical pole clicks on idler wheel.What deserves to be explained is input controller 9092 can with it is following any one be connected:Keyboard, infrared port,
The instruction equipment of USB interface and such as mouse.
Touch-screen 912, the touch-screen 912 are the input interface and output interface between customer mobile terminal and user,
Visual output is shown to user, visual output can include figure, text, icon, video etc..
Display controller 9091 in I/O subsystems 909 receives electric signal from touch-screen 912 or is sent out to touch-screen 912
Electric signals.Touch-screen 912 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 9091
The interaction of user interface object on touch-screen 912, that is, realize human-computer interaction, the user interface being shown on touch-screen 912
Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is equipment can also include light
Mouse, light mouse are the extensions for not showing the touch sensitive surface visually exported or the touch sensitive surface formed by touch-screen.
RF circuits 905 are mainly used for establishing the communication of mobile phone and wireless network (i.e. network side), realize mobile phone and wireless network
The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 905 receive and send RF letters
Number, RF signals are also referred to as electromagnetic signal, and RF circuits 905 convert electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications
Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 905 can include performing
The known circuit of these functions includes but not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one
A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould
Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 906 is mainly used for receiving voice data from Peripheral Interface 903, which is converted to telecommunications
Number, and the electric signal is sent to loud speaker 911.
Loud speaker 911 for the voice signal for receiving mobile phone from wireless network by RF circuits 905, is reduced to sound
And play the sound to user.
Power management chip 908, the hardware for being connected by CPU902, I/O subsystem and Peripheral Interface are powered
And power management.
Positioner, storage medium and the mobile terminal provided in above-described embodiment can perform the application any embodiment institute
The localization method of offer possesses and performs the corresponding function module of this method and advantageous effect.It is not detailed in the above-described embodiments to retouch
The technical detail stated, reference can be made to the localization method that the application any embodiment is provided.
Note that it above are only the preferred embodiment of the application and institute's application technology principle.It will be appreciated by those skilled in the art that
The application is not limited to specific embodiment described here, can carry out for a person skilled in the art it is various it is apparent variation,
The protection domain readjusted and substituted without departing from the application.Therefore, although being carried out by above example to the application
It is described in further detail, but the application is not limited only to above example, in the case where not departing from the application design, also
It can include other more equivalent embodiments, and scope of the present application is determined by scope of the appended claims.
Claims (10)
1. a kind of localization method, which is characterized in that including:
It receives based on location-based service LBS using the call request to the Global Satellite Navigation System GNSS module in mobile terminal
When, the first signal emitting-source information list that the mobile terminal current search arrives is obtained, wherein, the signal emitting-source includes
Wireless fidelity Wi-Fi hotspot or base station;
By the first signal emitting-source information list and the historical signal emission source information list of the records in mobile terminal
Each signal emitting-source information list in set is matched;
If there are the echo signal emission source information lists of successful match, the call request is disagreed;
The LBS is supplied to apply the corresponding target position information of the echo signal emission source information list.
2. according to the method described in claim 1, it is characterized in that, it is described by the first signal emitting-source information list with
Each signal emitting-source information list progress in the historical signal emission source information list set of the records in mobile terminal
With afterwards, further include:
If there is no the echo signal emission source information lists of successful match, the call request is agreed to;
Current location is positioned based on GNSS module, obtains current location information;
The first signal emitting-source information list is recorded in the historical signal emission source information list set, and is established
The correspondence of the first signal emitting-source information list and the current location information.
3. according to the method described in claim 1, it is characterized in that, if the echo signal transmitting source information there are successful match arranges
Table then disagrees the call request, including:
If there are the echo signal emission source information lists of successful match, the echo signal emission source information list pair is obtained
The target position information answered;
Judge whether the cumulative number that the target position information is recorded reaches preset times threshold value, if reaching, disagree
The call request.
4. according to any methods of claim 1-3, which is characterized in that described to arrange the first signal emitting-source information
Each signal emitting-source information list in the historical signal emission source information list set of table and the records in mobile terminal into
Row matching, including:
For each signal emitting-source information in the historical signal emission source information list set of the records in mobile terminal
List arranges the signal emitting-source title included in current demand signal emission source information list and the first signal emitting-source information
The signal emitting-source title that table includes is compared, if the number of the identical signal emitting-source of title is more than predetermined number threshold value,
Then determine the current demand signal emission source information list and the first signal emitting-source information list successful match, wherein, institute
State sum of the predetermined number threshold value less than or equal to the signal emitting-source included in the current demand signal emission source information list.
5. according to the method described in claim 4, it is characterized in that, if the number of the identical signal emitting-source of the title is more than
Predetermined number threshold value, it is determined that the current demand signal emission source information list is matched with the first signal emitting-source information list
Success, including:
If the number of the identical signal emitting-source of title is more than predetermined number threshold value, the identical signal emitting-source pair of each pair is judged
Whether the signal strength difference answered is in the range of preset difference value;
If the corresponding signal strength difference of the identical signal emitting-source of each pair is in the range of the preset difference value, it is determined that institute
State current demand signal emission source information list and the first signal emitting-source information list successful match.
6. according to the method described in claim 1, it is characterized in that, it is described obtain the mobile terminal current search and arrive first
Signal emitting-source information list, including:
Obtain the type information of the LBS applications;
Judge whether the LBS applications belong to default application type set according to the type information;
When LBS applications belong to default application type set, the first signal that the mobile terminal current search arrives is obtained
Emission source information list.
7. according to the method described in claim 1, it is characterized in that, the echo signal emission source information list is corresponding
Target position information is supplied to after the LBS applications, is further included:
The secondary signal emission source information list that the mobile terminal current search arrives is obtained, if judging the secondary signal hair
When penetrating source information list and changing compared with the first signal emitting-source information list, the GNSS module is controlled to described
LBS applications provide location information.
8. a kind of positioner, which is characterized in that including:
First list data obtaining module, for receiving based on location-based service LBS using being defended to the whole world in mobile terminal
During the call request of star navigation system GNSS module, the first signal emitting-source information that the mobile terminal current search arrives is obtained
List, wherein, the signal emitting-source includes wireless fidelity Wi-Fi hotspot or base station;
List information matching module, for going through the first signal emitting-source information list and the records in mobile terminal
Each signal emitting-source information list in history signal emitting-source information list set is matched;
Call request processing module, for described there are during the echo signal emission source information list of successful match, disagreeing
Call request;
Location information provides module, for the corresponding target position information of the echo signal emission source information list to be supplied to
The LBS applications.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor
The localization method as described in any in claim 1-7 is realized during row.
10. a kind of mobile terminal, which is characterized in that including memory, Global Satellite Navigation System GNSS module and is deposited processor
The computer program that can be run on a memory and in processor is stored up, the processor is realized such as when performing the computer program
Any localization methods of claim 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711326706.7A CN108111971B (en) | 2017-12-13 | 2017-12-13 | Positioning method, positioning device, storage medium and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711326706.7A CN108111971B (en) | 2017-12-13 | 2017-12-13 | Positioning method, positioning device, storage medium and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108111971A true CN108111971A (en) | 2018-06-01 |
CN108111971B CN108111971B (en) | 2021-02-23 |
Family
ID=62215745
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711326706.7A Active CN108111971B (en) | 2017-12-13 | 2017-12-13 | Positioning method, positioning device, storage medium and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108111971B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109061617A (en) * | 2018-10-31 | 2018-12-21 | 上海与德科技有限公司 | A kind of wireless location method, device, terminal and storage medium |
CN109257700A (en) * | 2018-11-19 | 2019-01-22 | 广东小天才科技有限公司 | Positioning method, server and system based on positioning deviation rectification |
CN110139217A (en) * | 2019-05-30 | 2019-08-16 | 中国农业科学院农业环境与可持续发展研究所 | A kind of localization method, device and the storage medium of farmland robot |
CN110858985A (en) * | 2018-08-24 | 2020-03-03 | 中国移动通信集团山东有限公司 | OTT-based MR positioning method and system |
WO2021036576A1 (en) * | 2019-08-27 | 2021-03-04 | Zhejiang Dahua Technology Co., Ltd. | Systems and methods for generating a target hotspot list |
CN112817423A (en) * | 2021-01-25 | 2021-05-18 | 惠州Tcl移动通信有限公司 | Low-power-consumption positioning method, system, mobile terminal and computer-readable storage medium |
CN113099378A (en) * | 2021-03-23 | 2021-07-09 | 北京三快在线科技有限公司 | Positioning method, device, equipment and storage medium |
CN113203376A (en) * | 2021-04-19 | 2021-08-03 | 深圳市安全守护科技有限公司 | Position deviation rectifying method, device, equipment and computer readable storage medium |
CN113759405A (en) * | 2020-06-04 | 2021-12-07 | 深圳市万普拉斯科技有限公司 | GPS positioning acceleration system, method, device, computer equipment and storage medium |
CN114241612A (en) * | 2021-12-15 | 2022-03-25 | 青岛海尔科技有限公司 | Verification method and system for mobile attendance checking position |
CN114679736A (en) * | 2022-04-12 | 2022-06-28 | 中国联合网络通信集团有限公司 | Base station control method, device, system and storage medium |
WO2023020365A1 (en) * | 2021-08-18 | 2023-02-23 | 杭州萤石软件有限公司 | Recognition of indoor or outdoor scenario, and positioning of mobile terminal |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120300763A1 (en) * | 2006-10-24 | 2012-11-29 | Research In Motion Limited | Wlan network information caching |
CN104186004A (en) * | 2012-03-07 | 2014-12-03 | 英特尔公司 | Device, system and method of controlling access to location sources |
CN104349455A (en) * | 2013-08-05 | 2015-02-11 | 中兴通讯股份有限公司 | WIFI (wireless fidelity) hotspot location method and system |
CN105007621A (en) * | 2015-05-27 | 2015-10-28 | 上海宇尚信息科技有限公司 | Indoor and outdoor precise comprehensive positioning method suitable for mobile terminal |
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 |
CN106851583A (en) * | 2017-04-07 | 2017-06-13 | 广东欧珀移动通信有限公司 | The location information acquisition method of mobile terminal, device and mobile terminal |
CN106973150A (en) * | 2017-03-16 | 2017-07-21 | 广东欧珀移动通信有限公司 | Positioning precision level adjustment method, device and mobile terminal |
-
2017
- 2017-12-13 CN CN201711326706.7A patent/CN108111971B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120300763A1 (en) * | 2006-10-24 | 2012-11-29 | Research In Motion Limited | Wlan network information caching |
CN104186004A (en) * | 2012-03-07 | 2014-12-03 | 英特尔公司 | Device, system and method of controlling access to location sources |
CN104349455A (en) * | 2013-08-05 | 2015-02-11 | 中兴通讯股份有限公司 | WIFI (wireless fidelity) hotspot location method and system |
CN105007621A (en) * | 2015-05-27 | 2015-10-28 | 上海宇尚信息科技有限公司 | Indoor and outdoor precise comprehensive positioning method suitable for mobile terminal |
CN106550446A (en) * | 2015-09-18 | 2017-03-29 | 北京奇宝科技有限公司 | Localization method and geographical position monitoring device |
CN106535102A (en) * | 2016-12-07 | 2017-03-22 | 广东欧珀移动通信有限公司 | Mobile terminal positioning method and mobile terminal |
CN106973150A (en) * | 2017-03-16 | 2017-07-21 | 广东欧珀移动通信有限公司 | Positioning precision level adjustment method, device and mobile terminal |
CN106851583A (en) * | 2017-04-07 | 2017-06-13 | 广东欧珀移动通信有限公司 | The location information acquisition method of mobile terminal, device and mobile terminal |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110858985A (en) * | 2018-08-24 | 2020-03-03 | 中国移动通信集团山东有限公司 | OTT-based MR positioning method and system |
CN109061617A (en) * | 2018-10-31 | 2018-12-21 | 上海与德科技有限公司 | A kind of wireless location method, device, terminal and storage medium |
CN109257700A (en) * | 2018-11-19 | 2019-01-22 | 广东小天才科技有限公司 | Positioning method, server and system based on positioning deviation rectification |
CN109257700B (en) * | 2018-11-19 | 2020-11-06 | 广东小天才科技有限公司 | Positioning method, server and system based on positioning deviation rectification |
CN110139217A (en) * | 2019-05-30 | 2019-08-16 | 中国农业科学院农业环境与可持续发展研究所 | A kind of localization method, device and the storage medium of farmland robot |
WO2021036576A1 (en) * | 2019-08-27 | 2021-03-04 | Zhejiang Dahua Technology Co., Ltd. | Systems and methods for generating a target hotspot list |
CN113759405A (en) * | 2020-06-04 | 2021-12-07 | 深圳市万普拉斯科技有限公司 | GPS positioning acceleration system, method, device, computer equipment and storage medium |
CN112817423A (en) * | 2021-01-25 | 2021-05-18 | 惠州Tcl移动通信有限公司 | Low-power-consumption positioning method, system, mobile terminal and computer-readable storage medium |
CN113099378A (en) * | 2021-03-23 | 2021-07-09 | 北京三快在线科技有限公司 | Positioning method, device, equipment and storage medium |
CN113203376A (en) * | 2021-04-19 | 2021-08-03 | 深圳市安全守护科技有限公司 | Position deviation rectifying method, device, equipment and computer readable storage medium |
CN113203376B (en) * | 2021-04-19 | 2022-11-11 | 深圳市安全守护科技有限公司 | Position deviation rectifying method, device, equipment and computer readable storage medium |
WO2023020365A1 (en) * | 2021-08-18 | 2023-02-23 | 杭州萤石软件有限公司 | Recognition of indoor or outdoor scenario, and positioning of mobile terminal |
CN114241612A (en) * | 2021-12-15 | 2022-03-25 | 青岛海尔科技有限公司 | Verification method and system for mobile attendance checking position |
CN114241612B (en) * | 2021-12-15 | 2024-05-24 | 青岛海尔科技有限公司 | Verification method and system for mobile attendance position |
CN114679736A (en) * | 2022-04-12 | 2022-06-28 | 中国联合网络通信集团有限公司 | Base station control method, device, system and storage medium |
CN114679736B (en) * | 2022-04-12 | 2024-04-16 | 中国联合网络通信集团有限公司 | Base station control method, device, system and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108111971B (en) | 2021-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108111971A (en) | Localization method, device, storage medium and mobile terminal | |
US10863307B2 (en) | Identifying and locating users on a mobile network | |
EP3625954B1 (en) | Departure or entry intent-based reminders | |
US10103934B2 (en) | Setting a reminder that is triggered by a target user device | |
US7570959B2 (en) | Apparatus, method and computer program product providing location-enhanced contact list | |
CN108055642A (en) | Control method, device, storage medium and the mobile terminal of locating module | |
US11700168B2 (en) | Setting a reminder that is triggered by a target user device | |
CN108093368A (en) | Control method, device, storage medium and mobile terminal based on locating module | |
US8804680B2 (en) | System and method for managing wireless connections and radio resources | |
CN101588409B (en) | Mobile terminal and method of managing meeting information using the same | |
US20060089158A1 (en) | Method of determining a PHS mobile phone user's exact position | |
CN108076507A (en) | Positioning method control method, device, storage medium and mobile terminal | |
CN108064023A (en) | Control method, device, storage medium and mobile terminal based on locating module | |
CN108093131A (en) | Arrival reminding method, apparatus, storage medium and mobile terminal | |
CN108168569A (en) | Air navigation aid, device, storage medium, mobile terminal and onboard system | |
CN108064024A (en) | Control method, device, storage medium and mobile terminal based on locating module | |
US11874876B2 (en) | Electronic device and method for predicting an intention of a user | |
CN102067633A (en) | Method, apparatus, and computer program product for location sharing | |
CN105933209A (en) | Position sharing method and device | |
CN108040320B (en) | GNSS positioning control method and device, storage medium and mobile terminal | |
CN108055643A (en) | Position control method, device, storage medium and terminal device | |
CN108897785A (en) | Search for content recommendation method, device, terminal device and storage medium | |
CN108151730A (en) | Position control method, device, storage medium and terminal device | |
TWI379564B (en) | System and method providing location based wireless resource identification | |
CN108156313A (en) | Position control method, device, storage medium and terminal device |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |