CN108111580B - Area determination method, device, storage medium, mobile terminal and server - Google Patents
Area determination method, device, storage medium, mobile terminal and server Download PDFInfo
- Publication number
- CN108111580B CN108111580B CN201711325829.9A CN201711325829A CN108111580B CN 108111580 B CN108111580 B CN 108111580B CN 201711325829 A CN201711325829 A CN 201711325829A CN 108111580 B CN108111580 B CN 108111580B
- Authority
- CN
- China
- Prior art keywords
- location information
- mobile terminal
- information
- base station
- sent
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/52—Network services specially adapted for the location of the user terminal
-
- 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/021—Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
-
- 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
- H04W64/006—Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
Abstract
The embodiment of the present application discloses area determination method, device, storage medium, mobile terminal and server.Area determination method includes: to obtain first location information by the global navigation satellite system GNSS module in mobile terminal;Whether detection can be realized positioning by GNSS module within a preset period of time;If cannot, first location information is sent to predetermined server, first location information is used to indicate the boundary that predetermined server determines non-locating region according to first location information, and non-locating region includes the geographic area that cannot achieve positioning by GNSS module.The embodiment of the present application is by using above-mentioned technical proposal, the boundary for being not suitable for the non-locating region that GNSS module is positioned can be accurately determined out according to location information, it enables the server to execute targeted relevant operation based on non-locating region, improves positioning service.
Description
Technical field
The invention relates to field of locating technology more particularly to area determination method, device, storage medium, movements
Terminal and server.
Background technique
Currently, most mobile terminals are provided with positioning function, many location based services can be provided a user, for
Family brings convenience.
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 method has positioning accurate
The advantages that degree is high and does not need using mobile data network, but position fixing process power consumption is very big, when influencing the continuation of the journey of mobile terminal
Between.In addition, GNSS positioning method needs search of satellite signal, when mobile terminal is in more closed environment or surrounding presence
When shelter, it may cause that satellite-signal is unstable or difference in signal strength etc., cannot achieve positioning.
Summary of the invention
The embodiment of the present application provides area determination method, device, storage medium, mobile terminal and server, may be implemented
Be not suitable for the determination of the geographic area of GNSS module work.
In a first aspect, the embodiment of the present application provides a kind of area determination method, comprising:
First location information is obtained by the global navigation satellite system GNSS module in mobile terminal;
Whether detection can be realized positioning by the GNSS module within a preset period of time;
If cannot, the first location information is sent to predetermined server, the first location information is used to indicate
The predetermined server determines that the boundary in non-locating region, the non-locating region include passing through according to the first location information
GNSS module cannot achieve the geographic area of positioning.
Second aspect, the embodiment of the present application provide a kind of area determination method, comprising:
The first location information that mobile terminal is sent is received, the first location information includes that the mobile terminal is detecting
To before the preset time period that cannot achieve positioning by global navigation satellite system GNSS module, the last time passes through described
The location information that GNSS module obtains;
The first location information that the first location information that the mobile terminal is sent and other mobile terminals are sent carries out
Summarize;
The boundary in non-locating region is determined according to summarized results, the non-locating region includes can not be real by GNSS module
The geographic area now positioned.
The third aspect, the embodiment of the present application provide a kind of area determining device, comprising:
First location information obtains module, for being obtained by the global navigation satellite system GNSS module in mobile terminal
First location information;
Detection and localization module, for being detected within a preset period of time by the way that whether the GNSS module can be realized positioning;
First location information sending module, can not be real by the GNSS module for detecting within a preset period of time
When now positioning, the first location information is sent to predetermined server, the first location information is used to indicate described default
Server determines that the boundary in non-locating region, the non-locating region include passing through GNSS module according to the first location information
It cannot achieve the geographic area of positioning.
Fourth aspect, the embodiment of the present application provide a kind of area determining device, comprising:
First location information receiving module, for receiving the first location information of mobile terminal transmission, the first position
Information include the mobile terminal detect by global navigation satellite system GNSS module cannot achieve positioning it is default when
Between before section, location information that the last time is obtained by the GNSS module;
Location information summarizing module, first location information and other mobile terminals for sending the mobile terminal are sent out
The first location information sent is summarized;
Boundary determining module, for determining that the boundary in non-locating region, the non-locating region include according to summarized results
It cannot achieve the geographic area of positioning by GNSS module.
5th aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey
Sequence realizes the area determination method as described in the embodiment of the present application first aspect when the program is executed by processor.
6th 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 executing the computer program
Area determination method as described in the embodiment of the present application first aspect.
7th aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey
Sequence realizes the area determination method as described in the embodiment of the present application second aspect when the program is executed by processor.
Eighth aspect, the embodiment of the present application provide a kind of server, including memory, processor and are stored in memory
Computer program that is upper and can running in processor, the processor realize that the application such as is implemented when executing the computer program
Area determination method described in example second aspect.
The region provided in the embodiment of the present application determines scheme, obtains first position by the GNSS module in mobile terminal
Information can not achieve positioning by GNSS module if detecting within a preset period of time.Then first location information is sent to default
Server determines the boundary in non-locating region, the non-locating region packet to indicate predetermined server according to first location information
Include the geographic area that cannot achieve positioning by GNSS module.By using above-mentioned technical proposal, mobile terminal can be in GNSS
When module cannot achieve positioning, given server will be sent to by the location information that GNSS module obtains before, facilitate service
Device collects the location information that mobile terminal is sent, and accurately determines out unsuitable GNSS module according to location information and positioned
Non-locating region boundary, enable the server to execute targeted relevant operation based on non-locating region, it is fixed to improve
Position service.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of area determination method provided by the embodiments of the present application;
Fig. 2 is the process signal whether a kind of detection provided by the embodiments of the present application can be realized positioning by GNSS module
Figure;
Fig. 3 is the flow diagram of another area determination method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another area determination method provided by the embodiments of the present application;
Fig. 5 is a kind of application scenarios schematic diagram provided by the embodiments of the present application;
Fig. 6 is the signaling diagram that a kind of mobile terminal and server provided by the embodiments of the present application interact;
Fig. 7 is a kind of structural block diagram of area determining device provided by the embodiments of the present application;
Fig. 8 is the structural block diagram of another area determining device provided by the embodiments of the present application;
Fig. 9 is a kind of structural schematic diagram of server provided by the embodiments of the present application;
Figure 10 is a kind of structural schematic diagram of mobile terminal provided by the embodiments of the present application;
Figure 11 is the structural schematic 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 understood 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 to the application is illustrated only for ease of description, in attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing or method described as flow chart.Although each step is described as the processing of sequence by flow chart, many of these
Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation
The processing can be terminated when 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 area determination method provided by the embodiments of the present application, and this method can be by region
Determining device executes, and wherein the device can be implemented by software and/or hardware, and can generally integrate in the terminal.Such as Fig. 1 institute
Show, this method comprises:
Step 101 obtains first location information by the GNSS module in mobile terminal.
Illustratively, it is fixed to may include that mobile phone and tablet computer etc. are provided with GNSS for the mobile terminal in the embodiment of the present application
The mobile device 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 general, when mobile terminal is in navigational state or GNSS module by based on location-based service (Location Based
Service, LBS) when calling, GNSS module can be in normal operating mode, search of satellite signal and obtain other for application
Related data used for positioning, and then the location information of mobile terminal is calculated, it is supplied to mobile terminal.The embodiment of the present application
In, GNSS module being controlled according to default renewal frequency and obtaining location information, the numerical value of renewal frequency is preset without limitation to this,
It can be determined by the concrete configuration of mobile terminal, such as can be 1Hz (hertz), i.e., updated 1 time within 1 second.Optionally, location information
It may include latitude and longitude coordinates.
Whether step 102, within a preset period of time detection can be realized positioning by the GNSS module.
Wherein, the specific value of preset time period without limitation, can be related to above-mentioned default renewal frequency, such as etc.
In reciprocal k times of default renewal frequency.If default renewal frequency is f, preset time period T, then T=k/f, k are positive number.It is false
If such as above-mentioned f=1Hz, k=1, then T is 1 second;If f=2Hz, k=4, then T is 2 seconds.
Illustratively, k=1, then the time point inspection of next more new location information after obtaining first location information
It measures and positioning cannot achieve by GNSS module, then illustrating the ring that mobile terminal works possibly into unsuitable GNSS module
In border, in indoor environment or other closings or semiclosed environment, such as in tunnel and under overpass.
Illustratively, detection in such a way that whether GNSS module can be realized positioning can there are many kinds of, the application is real
Example is applied to be not especially limited.Optionally, whether the satellite information Satellite quantity for judging that GNSS module currently obtains meets positioning
Requirement, intensity needed for whether the signal strength of satellite meets positioning, if wherein any one is unsatisfactory for, it is believed that cannot
It is enough to realize positioning.Judge that the satellite information Satellite number that GNSS module currently obtains is defended less than default minimum specifically, working as
When star number or the CN value of satellite-signal are less than preset signal strength threshold value, it is believed that GNSS module can not achieve positioning.Wherein,
CN value refers to the power ratio of carrier wave and noise, for measuring the intensity of satellite-signal.Optionally, minimum satellite vehicle number is 4, presets letter
Number intensity threshold is 8.
Illustratively, can the acquisition of GNSS module described in timing acquisition satellite information, and in the satellite information currently obtained
When identical as the satellite information that the last time obtains, the value of pre-set environmental parameter is added 1, the environmental parameter it is initial
Value is 0;When the value of the environmental parameter obtained within a preset time is greater than default environmental parameter threshold value, determine GNSS module without
Method realizes positioning.
Further, it determines whether GNSS module can be realized positioning and may also include that according to environmental information to obtain currently
Satellite information and the not identical last satellite information that obtains when, if the intensity of the satellite information Satellite signal currently obtained
Value is less than preset signal strength threshold value, and the number of satellites in the satellite information currently obtained is less than default value, then by environment
The value of parameter adds 1;Otherwise, it determines GNSS module can be realized positioning.
If step 103, cannot, the first location information is sent to predetermined server, the first location information
It is used to indicate the boundary that the predetermined server determines non-locating region according to the first location information, non-locating region
Geographic area including cannot achieve positioning by GNSS module.
Illustratively, if cannot achieve positioning by GNSS module within a preset period of time, illustrate that mobile terminal enters
First location information is sent to predetermined server by the region that unsuitable GNSS module is positioned, and predetermined server can be by
The corresponding latitude and longitude coordinates of one location information are added in the boundary coordinate set in non-locating region, enable predetermined server
The boundary in non-locating region is determined according to first location information.When predetermined server collected what enough mobile terminals were sent
When first location information, the non-locating region of a closure can be determined, it is convenient to carry out relevant operation for the non-locating region.
By taking user drives vehicle process of passing through tunnel as an example, mobile terminal is located in vehicle, and user is led using mobile terminal
Boat can obtain location information normal through GNSS module before entering tunnel.Assuming that mobile terminal is in tunnel at the T1 moment
Outside road, position S1 can be normally navigated to, and T2 has entered tunnel at the time of next location updating, cannot achieve positioning,
S1 is reported into server.In addition, other many users can also pass through from the tunnel, it also can be on server based on same mode
Report enters the position before tunnel, and server is capable of determining that the tunnel that GNSS module can not position according to the multiple positions collected
Boundary, to obtain non-locating region.
The area determination method provided in the embodiment of the present application obtains first position by the GNSS module in mobile terminal
Information can not achieve positioning by GNSS module if detecting within a preset period of time.Then first location information is sent to default
Server determines the boundary in non-locating region, the non-locating region packet to indicate predetermined server according to first location information
Include the geographic area that cannot achieve positioning by GNSS module.By using above-mentioned technical proposal, mobile terminal can be in GNSS
When module cannot achieve positioning, given server will be sent to by the location information that GNSS module obtains before, facilitate service
Device collects the location information that mobile terminal is sent, and accurately determines out unsuitable GNSS module according to location information and positioned
Non-locating region boundary, enable the server to execute targeted relevant operation based on non-locating region, it is fixed to improve
Position service.
In some embodiments, it can be determined as follows by the way that whether GNSS module can be realized positioning.Fig. 2 is this
Whether a kind of detection that application embodiment provides can be realized the flow diagram of positioning by GNSS module, as shown in Fig. 2, inspection
Whether survey, which can be realized positioning by GNSS module, specifically comprises the following steps:
Step 201, initialization context parametric variable STimer=0.
Step 202, the satellite information for obtaining GNSS module acquisition.
Whether the satellite information that step 203, judgement currently obtain and the satellite information that the last time obtains are identical, if so,
Execute step 205;Otherwise, step 204 is executed.
Step 204 judges whether that the CN value of the satellite information Satellite signal currently obtained is less than preset signal strength threshold
Value MIN_VALUE, and number of satellites is less than default minimum satellite vehicle number MIN_NUM, if so, thening follow the steps 205;Otherwise, it executes
Step 207.
Step 205, STimer value add 1.
Step 206 judges whether STimer is greater than default environmental parameter threshold value MAX_NUM, if so, 208 are thened follow the steps,
Terminate process;Otherwise, 202 are returned to step.
Step 207 reinitializes STimer=0, and returns to step 202.
Illustratively, illustrate that GNSS module at this time can be realized positioning.
Step 208 determines that GNSS module cannot achieve positioning.
By above-mentioned steps shown in Fig. 2, it can accurately determine out and whether positioning can be realized by GNSS module.
In some embodiments, after the first location information is sent to predetermined server, further includes: detecting
To when can be realized positioning by the GNSS module, second location information is obtained;The second location information is sent to institute
Predetermined server is stated, the second location information is used to indicate the predetermined server and carries out to the boundary in the non-locating region
It updates.The advantages of this arrangement are as follows can be improved the boundary precision in non-locating region.It is pre- first location information to be sent to
If after server, can continue to attempt to be positioned by GNSS module, when mobile terminal has left unsuitable GNSS module work
Environment after, be just able to detect that and positioning can be realized by GNSS module, obtain the location information that GNSS module obtains at this time
As second location information and it is sent to predetermined server, predetermined server can be according to the second location information to non-locating region
Boundary be updated, such as the corresponding latitude and longitude coordinates of second location information are added to the boundary coordinate collection in non-locating region
In conjunction.
In some embodiments, the above method, which may also include that, obtains the third place information by the GNSS module;By institute
State the third place information and be sent to the predetermined server, the third place information be used to indicate the predetermined server according to
The third place information determines whether the mobile terminal will enter current non-locating region;Receive the predetermined server
The first message of transmission, the first message include that the predetermined server is determining the shifting according to the third place information
Dynamic terminal will enter the message sent when current non-locating region;The GNSS module is controlled according to the first message to stop
Positioning.The advantages of this arrangement are as follows predetermined server can indicate to move when mobile terminal will enter a non-locating region
Dynamic terminal stopping is positioned by GNSS module, is avoided GNSS module from working in the case where being not suitable for work, is reduced
Because GNSS module flog a dead horse caused by power consumption, extend the mobile terminal standby time.Wherein, control GNSS module stops positioning
It may include closing GNSS module, can such as stop being powered GNSS chip, the advantages of this arrangement are as follows, it can be by GNSS
Positioning function is thoroughly closed, and power consumption caused by GNSS module is avoided;It may include control that control GNSS module, which stops positioning,
GNSS module enters dormant state, and illustratively, controllable GNSS module stops search the relevant operations such as satellite-signal, sets in this way
Setting is advantageous in that, GNSS module stops working, and can reduce GNSS module because of power consumption caused by positioning, and determined
When position, normal working condition can be quickly recovered to.
In some embodiments, the above method may also include that the non-locating region for receiving that the predetermined server is sent
Boundary position information, when detecting that the mobile terminal will enter non-locating region according to the boundary position information, control
GNSS module processed stops positioning.The advantages of this arrangement are as follows being determined whether that non-locating area will be entered by mobile terminal itself
Domain, and when mobile terminal will enter non-locating region, stopping is positioned by GNSS module, avoids GNSS module not
Be suitble to work in the case where work on, reduce because GNSS module flog a dead horse caused by power consumption, extend mobile terminal standby
Time.Wherein, detect that the mobile terminal will enter non-locating region according to the boundary position information, it may include: it is logical
It crosses the GNSS module and obtains the third place information, when the corresponding position of the third place information and the boundary position information
In the distance between any position less than the first pre-determined distance value when, determine that mobile terminal will enter non-locating region.Into
One step, when the distance between the corresponding position of the third place information and any position in the boundary position information are small
It when the first pre-determined distance value, determines that mobile terminal will enter non-locating region, may particularly include: when the third place is believed
The distance between any position in corresponding position and the boundary position information is ceased less than the first pre-determined distance value, and described
There are when intersection, determine that mobile terminal will enter non-locating region for the direction of travel of mobile terminal and the non-locating region.
Further, after control GNSS module stops positioning, it may also include that and examined according to the boundary position information
When measuring the mobile terminal and having left non-locating region, controls the GNSS module and restart to position.What is be arranged in this way is good
It is in the normal work of GNSS module can be restored in time when GNSS can be realized positioning, it is ensured that positioning accuracy and accurate
Degree.Specifically, detecting that the mobile terminal has left non-locating region according to the boundary position information, comprising: pass through institute
It states GNSS module and obtains the 4th location information, when in the corresponding position of the 4th location information and the boundary position information
When the distance between any position is greater than the second pre-determined distance value, determine that mobile terminal has left non-locating region.Further,
When the distance between any position in the corresponding position of the 4th location information and the boundary position information is greater than second
Pre-determined distance value, and the direction of travel of the mobile terminal deviate from the non-locating region when, it is non-to determine that mobile terminal has left
Localization region.
In some embodiments, after controlling the GNSS module according to the first message and stopping positioning, further includes:
4th location information is obtained using the positioning method other than GNSS positioning method;4th location information is sent to described pre-
If server, the 4th location information is used to indicate the predetermined server and determines the shifting according to the 4th location information
Whether dynamic terminal has left the current non-locating region;Receive the second message that the predetermined server is sent, described second
Message includes the predetermined server to determine that the mobile terminal has left according to the 4th location information described current non-
The message sent when localization region;The GNSS module is controlled according to the second message to restart to position.It is arranged in this way
Be advantageous in that, after mobile terminal leaves non-locating region, GNSS module can normal searching to satellite-signal, that is to say, that energy
Location information is enough obtained based on GNSS module, restores the normal work of GNSS module in time, it is ensured that positioning accuracy and accuracy.
Wherein, the positioning method other than GNSS positioning method may include base station location or network positions (such as WiFi positioning) other power consumptions
Lower positioning method;It may also include in the way of sensor auxiliary positioning, mobile terminal such as obtained by motion sensor
Exercise data;Location information is provided according to the exercise data.Wherein, motion sensor may include acceleration transducer, again
Force snesor, gyroscope and geomagnetic sensor etc..Movement can be calculated using the collected exercise data of motion sensor
The movement velocity of terminal, moving distance and rotation angle etc., then movement when entering with GNSS module low power mode of operation
The position of terminal combines, the real time position of available mobile terminal, continues to provide location information to realize.Motion-sensing
Power consumption caused by device is lower, can guarantee the availability of positioning function after GNSS module stops working, continue as user and mention
For location-based service, the power consumption of mobile terminal is reduced on the whole.
In some embodiments, it while obtaining first location information by the GNSS module in mobile terminal, also wraps
It includes: obtaining the first base station information searched.While the first location information is sent to the predetermined server, also
It include: that the first base station information is sent to the predetermined server, the first base station information is used to indicate described default
Server determines that the non-locating region is corresponding according to the first base station information can locating base station information.It is described pre- receiving
If while the first message that server is sent, further includes: receive the current non-locating region pair that the predetermined server is sent
Answer it is current can locating base station information.After controlling the GNSS module according to the first message and stopping positioning, further includes:
The second base station information for searching and it is received it is current can locating base station information match when, control the GNSS module
Restart to position.Optionally, base station information includes Base Station Identification, may also include base station signal strength.The benefit being arranged in this way
It is, while determining the boundary in non-locating region according to first location information, also records the boundary pair in non-locating region
The base station information answered can illustrate mobile terminal when mobile terminal can search base station corresponding with non-locating zone boundary
Non-locating region has been left, the normal work of GNSS module can be actively restored, has guaranteed positioning performance.
In some embodiments, this method, which may also include that, receives the shelter prompt information that the predetermined server is sent,
The shelter prompt information includes current non-locating region corresponding building information on map.What is be arranged in this way is good
Place is that it is possible to remind the reason of cannot achieve GNSS positioning in front of user in time, and user is facilitated to take appropriate measures.
Fig. 3 is the flow diagram of another area determination method provided by the embodiments of the present application, and this method can be by area
Domain determining device executes, and wherein the device can be implemented by software and/or hardware, and can generally integrate in the server.Such as Fig. 3 institute
Show, this method comprises:
Step 301 receives the first location information that mobile terminal is sent, and the first location information includes described mobile whole
Before detecting the preset time period that cannot achieve positioning by GNSS module, the last time is obtained by the GNSS module at end
The location information taken.
The first position that step 302, the first location information that the mobile terminal is sent and other mobile terminals are sent
Information is summarized.
Illustratively, server can real-time reception with its there are multiple mobile terminals of correspondence send first position
Information, and these location informations are summarized, for determining the boundary in non-locating region.
Step 303, the boundary that non-locating region is determined according to summarized results, the non-locating region include passing through GNSS mould
Block cannot achieve the geographic area of positioning.
Illustratively, after server is aggregated into enough first location informations, the non-fixed of a closure can be determined
Position region, it is convenient to carry out relevant operation for the non-locating region.
Area determination method provided by the embodiments of the present application receives the first location information that multiple mobile terminals are sent, root
Determine the boundary in non-locating region according to the summarized results of first location information, the non-locating region include by GNSS module without
Method realizes the geographic area of positioning.By using above-mentioned technical proposal, server can receive mobile terminal GNSS module without
Method location information nearest before realizing positioning, and unsuitable GNSS module is accurately determined out according to location information and is positioned
Non-locating region boundary, it is subsequent to execute targeted relevant operation based on non-locating region, improve positioning service.
In some embodiments, this method, which may also include that, receives the second location information that the mobile terminal is sent, described
Second location information includes the mobile terminal after sending the first location information, is being detected through the GNSS mould
Block can be realized the location information obtained when positioning;It is carried out according to boundary of the second location information to the non-locating region
It updates.
In some embodiments, this method, which may also include that, receives the third place information that mobile terminal is sent;According to institute
State the third place information determine the mobile terminal will enter current non-locating region when, Xiang Suoshu mobile terminal send first
Message, the first message are used to indicate the mobile terminal and stop determining according to the first message control GNSS module
Position.Illustratively, when appointing in the boundary position information in the corresponding position of the third place information and the non-locating region
When anticipating the distance between position less than the first pre-determined distance value, determine that mobile terminal will enter non-locating region.Further,
When between any position in the boundary position information in the corresponding position of the third place information and the non-locating region
Distance is less than the first pre-determined distance value, and the direction of travel of the mobile terminal and the non-locating region be there are when intersection, really
Non-locating region will be entered by determining mobile terminal.
In some embodiments, after sending first message to the mobile terminal, further includes: receive described mobile whole
The 4th location information sent is held, the 4th location information includes that the mobile terminal stops determining in the control GNSS module
Behind position, using the location information of the positioning method acquisition other than GNSS positioning method;It is determined according to the 4th location information
When the mobile terminal has left the non-locating region, Xiang Suoshu mobile terminal sends second message, and the second message is used
The GNSS module is controlled according to the second message in the instruction mobile terminal to restart to position., illustratively, according to
4th location information determines that the mobile terminal has left the non-locating region, comprising: when the 4th location information
The distance between any position in the boundary position information in corresponding position and the non-locating region be greater than second it is default away from
When from value, determine that mobile terminal has left non-locating region.Further, when the corresponding position of the 4th location information and institute
It states the distance between any position in the boundary position information in non-locating region and is greater than the second pre-determined distance value, and the movement
When the direction of travel of terminal deviates from the non-locating region, determine that mobile terminal has left non-locating region.
In some embodiments, this method, which may also include that, receives the first base station information that the mobile terminal is sent, described
First base station information includes the base station information that the mobile terminal searches while obtaining first location information;According to described
First base station information determines that the non-locating region is corresponding can locating base station information.It is described the first message to be sent to
While mobile terminal, further includes: the current non-locating region of Xiang Suoshu mobile terminal transmission is corresponding currently can locating base station letter
Breath, it is described currently can locating base station information be used to indicate the mobile terminal the second base station information searched with it is received
It is current can locating base station information when matching, control the GNSS module and restart to position.
In some embodiments, this method may also include that on the current non-locating area maps to map, identify
Building information corresponding with the current non-locating region, prompts the building information as shelter in the map
Information is sent to mobile terminal.It cannot achieve GNSS positioning in front of user the advantages of this arrangement are as follows can remind in time
Reason facilitates user to take appropriate measures.
Fig. 4 is the flow diagram of another area determination method provided by the embodiments of the present application, and Fig. 5 is the application implementation
A kind of application scenarios schematic diagram that example provides, mobile terminal are communicated with server by internet.As shown in figure 4, the party
Method includes:
Step 401, mobile terminal, which detect in preset time when apart from upper primary acquisition location information, passes through GNSS
Module cannot achieve positioning.
The position a that last time is obtained by GNSS module is sent to server by step 402, mobile terminal.
Step 403, server receive the position a that mobile terminal is sent, the position that position a and other mobile terminals are sent
Information is summarized, and the boundary of non-locating region M is determined according to summarized results.
Step 404, mobile terminal detect when can be realized positioning by GNSS module, obtain the position b being currently located,
And position b is sent to server.
Step 405, server receive the position b that mobile terminal is sent, and position b is added to the boundary bit of non-locating region M
It sets in set.
Step 406, mobile terminal obtain position c by GNSS module, and position c is sent to server.
Step 407, server receive the position c that mobile terminal is sent, by position c and predetermined all non-locating areas
The boundary in domain is compared.
Step 408, server are when determining that mobile terminal will enter non-locating region N according to position c, to mobile terminal
A sends first message.
Step 409, mobile terminal receive first message, and close GNSS module.
Step 410, mobile terminal obtain position d using the positioning method other than GNSS positioning method, and position d is sent to
Server.
Step 411, server receive the position d that mobile terminal is sent, and the boundary of position d and non-locating region N is carried out
Compare.
Step 412, server are when determining that mobile terminal has left non-locating region N according to position d, to mobile terminal A
Send second message.
Step 413, mobile terminal receive second message, and reopen GNSS module.
Fig. 6 is the signaling diagram that a kind of mobile terminal and server provided by the embodiments of the present application interact, combinable to be somebody's turn to do
Signaling diagram understands above-described embodiment.
Area determination method provided by the embodiments of the present application determines the non-of unsuitable GNSS work by the way of big data
It informs that mobile terminal closes GNSS module in advance when mobile terminal will enter the non-locating region, avoids in localization region
GNSS module causes in the environment for being not suitable for work because flogging a dead horse power-consuming.
Fig. 7 is a kind of structural block diagram of area determining device provided by the embodiments of the present application, the device can by software and/or
Hardware realization is typically integrated in mobile terminal, can determine that unsuitable GNSS module works by executing area determination method
Region.As shown in fig. 7, the device includes:
First location information obtains module 701, for passing through the global navigation satellite system GNSS module in mobile terminal
Obtain first location information;
Detection and localization module 702 is determined for detecting within a preset period of time by the way that whether the GNSS module can be realized
Position;
First location information sending module 703, cannot by the GNSS module for detecting within a preset period of time
When enough realization positioning, the first location information is sent to predetermined server, the first location information is used to indicate described
Predetermined server determines that the boundary in non-locating region, the non-locating region include passing through GNSS according to the first location information
Module cannot achieve the geographic area of positioning.
Area determining device provided by the embodiments of the present application obtains first position letter by the GNSS module in mobile terminal
Breath can not achieve positioning by GNSS module if detecting within a preset period of time.First location information is then sent to default clothes
Business device, determines that the boundary in non-locating region, the non-locating region include to indicate predetermined server according to first location information
It cannot achieve the geographic area of positioning by GNSS module.By using above-mentioned technical proposal, mobile terminal can be in GNSS mould
When block cannot achieve positioning, given server will be sent to by the location information that GNSS module obtains before, facilitate server
The location information that mobile terminal is sent is collected, and is accurately determined out according to location information and is not suitable for what GNSS module was positioned
The boundary in non-locating region enables the server to execute targeted relevant operation based on non-locating region, improves positioning
Service.
Optionally, device further include: second location information obtains module, for sending by the first location information
To predetermined server, detect positioning can be realized by the GNSS module when, obtain second location information;
Second location information sending module, it is described for the second location information to be sent to the predetermined server
Second location information is used to indicate the predetermined server and is updated to the boundary in the non-locating region.
Optionally, the device further include: the third place data obtaining module, for obtaining third by the GNSS module
Location information;
The third place information sending module, it is described for the third place information to be sent to the predetermined server
I.e. whether the third place information be used to indicate the predetermined server and determine the mobile terminal according to the third place information
Current non-locating region will be entered;
First message receiving module, the first message sent for receiving the predetermined server, the first message packet
It includes the predetermined server and is determining that the mobile terminal will enter current non-locating region according to the third place information
When the message that sends;
First positioning control module stops positioning for controlling the GNSS module according to the first message.
Optionally, the device further include: the 4th position information acquisition module, for controlling institute according to the first message
It states GNSS module to stop after positioning, the 4th location information is obtained using the positioning method other than GNSS positioning method;
4th location information sending module, it is described for the 4th location information to be sent to the predetermined server
Whether the 4th location information be used to indicate the predetermined server and determine the mobile terminal according to the 4th location information
Leave the current non-locating region;
Second message receiving module, the second message sent for receiving the predetermined server, the second message packet
It includes the predetermined server and is determining that the mobile terminal has left the current non-locating area according to the 4th location information
The message sent when domain;
Second positioning control module restarts to position for controlling the GNSS module according to the second message.
Optionally, which may also include that
First base station data obtaining module, for obtaining first location information by the GNSS module in mobile terminal
Meanwhile obtaining the first base station information searched;
First base station information sending module, for the first location information to be sent to the same of the predetermined server
When, the first base station information is sent to the predetermined server, the first base station information is used to indicate the default clothes
Business device determines that the non-locating region is corresponding according to the first base station information can locating base station information;
Can locating base station information sending module, for while receiving the first message that the predetermined server is sent,
Further include: receiving that current non-locating region that the predetermined server is sent is corresponding currently can locating base station information;
Third positioning control module is used for after controlling the GNSS module according to the first message and stopping positioning,
The second base station information for searching and it is received it is current can locating base station information match when, control the GNSS module
Restart to position.
Fig. 8 is the structural block diagram of another area determining device provided by the embodiments of the present application, the device can by software and/
Or hardware realization, it is typically integrated in server, can determine that unsuitable GNSS module works by executing area determination method
Region.As shown in figure 8, the device includes:
First location information receiving module 801, the first location information sent for receiving mobile terminal, described first
Confidence breath, which includes the mobile terminal, cannot achieve the default of positioning by global navigation satellite system GNSS module detecting
Before period, the last location information obtained by the GNSS module;
Location information summarizing module 802, first location information and other movements for sending the mobile terminal are eventually
The first location information that end is sent is summarized;
Boundary determining module 803, for determining the boundary in non-locating region, the non-locating region packet according to summarized results
Include the geographic area that cannot achieve positioning by GNSS module.
Area determining device provided by the embodiments of the present application receives the first location information that multiple mobile terminals are sent, root
Determine the boundary in non-locating region according to the summarized results of first location information, the non-locating region include by GNSS module without
Method realizes the geographic area of positioning.By using above-mentioned technical proposal, server can receive mobile terminal GNSS module without
Method location information nearest before realizing positioning, and unsuitable GNSS module is accurately determined out according to location information and is positioned
Non-locating region boundary, it is subsequent to execute targeted relevant operation based on non-locating region, improve positioning service.
Optionally, the device further include:
Second location information receiving module, the second location information sent for receiving the mobile terminal, described second
Location information includes the mobile terminal after sending the first location information, is being detected through the GNSS module energy
It is enough to realize the location information obtained when positioning;
Boundary update module, for being updated according to boundary of the second location information to the non-locating region.
Optionally, the device further include:
The third place information receiving module, for receiving the third place information of mobile terminal transmission;
First message sending module, for according to the third place information determine the mobile terminal will enter work as
When preceding non-locating region, Xiang Suoshu mobile terminal sends first message, and the first message is used to indicate the mobile terminal root
The GNSS module, which is controlled, according to the first message stops positioning.
Optionally, which may also include the 4th location information receiving module, for sending the to the mobile terminal
After one message, the 4th location information that the mobile terminal is sent is received, the 4th location information includes described mobile whole
End is after controlling the GNSS module and stopping positioning, using the location information of the positioning method acquisition other than GNSS positioning method;
Second message sending module, for determine that the mobile terminal has left according to the 4th location information described
When non-locating region, Xiang Suoshu mobile terminal send second message, the second message be used to indicate the mobile terminal according to
The second message controls the GNSS module and restarts to position.
Optionally, which may also include first base station information receiving module, for receiving the mobile terminal transmission
First base station information, the first base station information include that the mobile terminal searches while obtaining first location information
Base station information;
Can locating base station information determination module, for determining that the non-locating region is corresponding according to the first base station information
Can locating base station information;
Can locating base station information sending module, for while the first message is sent to the mobile terminal,
To the mobile terminal send current non-locating region it is corresponding currently can locating base station information, it is described currently can locating base station letter
Breath be used to indicate the mobile terminal the second base station information searched with it is received it is current can locating base station information phase
When matching, controls the GNSS module and restart to position.
The embodiment of the present application also provides a kind of storage medium comprising computer executable instructions, and the computer is executable
Instruction is used to execute area determination method when being executed by computer processor, this method comprises:
First location information is obtained by the global navigation satellite system GNSS module in mobile terminal;
Whether detection can be realized positioning by the GNSS module within a preset period of time;
If cannot, the first location information is sent to predetermined server, the first location information is used to indicate
The predetermined server determines that the boundary in non-locating region, the non-locating region include passing through according to the first location information
GNSS module cannot achieve the geographic area of positioning.
Storage medium --- any various types of memory devices or storage equipment.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, Lan Basi (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium (example
Such as hard disk or optical storage);Register or the memory component of other similar types etc..Storage medium can further include other types
Memory or combinations thereof.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 to the first computer for executing.Term " storage medium " can
To include two or more that may reside in different location (such as in the different computer systems by network connection)
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 comprising computer executable instructions, computer provided by the embodiment of the present application
The mobile terminal that executable instruction is not limited to the described above is that the region of executing subject determines operation, and the application can also be performed and appoint
Mobile terminal provided by embodiment of anticipating is the relevant operation in the area determination method of executing subject.
The embodiment of the present application also provides a kind of storage medium comprising computer executable instructions, and the computer is executable
Instruction is used to execute area determination method when being executed by computer processor, this method comprises:
The first location information that mobile terminal is sent is received, the first location information includes that the mobile terminal is detecting
To before the preset time period that cannot achieve positioning by global navigation satellite system GNSS module, the last time passes through described
The location information that GNSS module obtains;
The first location information that the first location information that the mobile terminal is sent and other mobile terminals are sent carries out
Summarize;
The boundary in non-locating region is determined according to summarized results, the non-locating region includes can not be real by GNSS module
The geographic area now positioned.
The detail of the computer storage medium of the embodiment of the present application is similar to computer storage medium recited above,
Details are not described herein again.
The embodiment of the present application provides a kind of server, and it is true that region provided by the embodiments of the present application can be integrated in the server
Determine device.Fig. 9 is a kind of structural schematic diagram of server provided by the embodiments of the present application.As shown in figure 9, server 900 can be with
It include: memory 901, processor 902 and storage are on a memory and can be in the computer program of processor operation, the processing
Device 902 realizes that the server as described in the embodiment of the present application is the region determination side of executing subject when executing the computer program
Method.
Server provided by the embodiments of the present application, can receive mobile terminal GNSS module cannot achieve positioning before most
Close location information, and the side for being not suitable for the non-locating region that GNSS module is positioned is accurately determined out according to location information
Boundary, it is subsequent to execute targeted relevant operation based on non-locating region, improve positioning service.
The embodiment of the present application provides a kind of mobile terminal, and area provided by the embodiments of the present application can be integrated in the mobile terminal
Domain determining device.Figure 10 is a kind of structural schematic diagram of mobile terminal provided by the embodiments of the present application.As shown in Figure 10, mobile whole
End 1000 may include: memory 1001, processor 1002, GNSS module 1003 and is stored on memory 1001 and can locate
The computer program that device 1002 is run is managed, the processor 1002 realizes such as the embodiment of the present application when executing the computer program
The mobile terminal is the area determination method of executing subject.
Mobile terminal provided by the embodiments of the present application can will pass through before when GNSS module cannot achieve positioning
The location information that GNSS module obtains is sent to given server, and server is facilitated to collect the location information that mobile terminal is sent,
And the boundary for being not suitable for the non-locating region that GNSS module is positioned is accurately determined out according to location information, so that server
Targeted relevant operation can be executed based on non-locating region, improve positioning service
Figure 11 is the structural schematic diagram of another mobile terminal provided by the embodiments of the present application, which can wrap
It includes: shell (not shown), memory 1101, GPS chip (not shown), central processing unit (central
Processing unit, CPU) 1102 (also known as processors, hereinafter referred to as CPU), circuit board (not shown) and power circuit
(not shown).The circuit board is placed in the space interior that the shell surrounds;The CPU1102 and the memory
1101 are arranged on the circuit board;The power circuit, for each circuit or the device power supply for the mobile terminal;Institute
Memory 1101 is stated, for storing executable program code;The CPU1102 is stored in the memory 1101 by reading
Executable program code runs computer program corresponding with the executable program code, to perform the steps of
First location information is obtained by the global navigation satellite system GNSS module in mobile terminal;
Whether detection can be realized positioning by the GNSS module within a preset period of time;
If cannot, the first location information is sent to predetermined server, the first location information is used to indicate
The predetermined server determines that the boundary in non-locating region, the non-locating region include passing through according to the first location information
GNSS module cannot achieve the geographic area of positioning.
The mobile terminal further include: Peripheral Interface 1103, RF (Radio Frequency, radio frequency) circuit 1105, audio
Circuit 1106, loudspeaker 1111, power management chip 1108, input/output (I/O) subsystem 1109, other input/controls are set
Standby 1110, touch screen 1112, other input/control devicess 1110 and outside port 1104, these components pass through one or more
A communication bus or signal wire 1107 communicate.
It should be understood that illustrating the example that mobile terminal 1100 is only mobile terminal, and mobile terminal
1100 can have than shown in the drawings more or less component, can combine two or more components, or
It can have different component configurations.Various parts shown in the drawings can include one or more signal processings and/or
It is realized in the combination of hardware, software or hardware and software including specific integrated circuit.
It is described in detail below with regard to provided in this embodiment for carrying out the mobile terminal that region determines, the movement is whole
End takes the mobile phone as an example.
Memory 1101, the memory 1101 can be accessed by CPU1102, Peripheral Interface 1103 etc., the memory
1101 may include high-speed random access memory, can also include nonvolatile memory, such as one or more disks are deposited
Memory device, flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU1102 by Peripheral Interface 1103, the Peripheral Interface 1103
With memory 1101.
I/O subsystem 1109, the I/O subsystem 1109 can be by the input/output peripherals in equipment, such as touch screen
1112 and other input/control devicess 1110, it is connected to Peripheral Interface 1103.I/O subsystem 1109 may include display control
Device 11091 and one or more input controllers 11092 for controlling other input/control devicess 1110.Wherein, one or
Multiple input controllers 11092 from other input/control devicess 1110 receive electric signal or to other input/control devicess
1110 send electric signal, other input/control devicess 1110 may include physical button (push button, rocker buttons etc.), dial
Dialer, control stick, clicks idler wheel at slide switch.It is worth noting that input controller 11092 can be with any one following company
It connects: the indicating equipment of keyboard, infrared port, USB interface and such as mouse.
Touch screen 1112, the touch screen 1112 are that the input interface and output between customer mobile terminal and user connect
Mouthful, visual output is shown to user, visual output may include figure, text, icon, video etc..
Display controller 11091 in I/O subsystem 1109 from touch screen 1112 receives electric signal or to touch screen
1112 send electric signal.Touch screen 1112 detects the contact on touch screen, the contact conversion that display controller 11091 will test
For the interaction with the user interface object being shown on touch screen 1112, i.e. realization human-computer interaction is shown on touch screen 1112
User interface object can be the icon of running game, the icon for being networked to corresponding network etc..It is worth noting that equipment is also
It may include light mouse, light mouse is not show the touch sensitive surface visually exported, or sensitive by the touch that touch screen is formed
The extension on surface.
RF circuit 1105 is mainly used for establishing the communication of mobile phone Yu wireless network (i.e. network side), realizes mobile phone and wireless
The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuit 1105 receives and sends RF
Signal, RF signal are also referred to as electromagnetic signal, and RF circuit 1105 converts electrical signals to electromagnetic signal or is converted to electromagnetic signal
Electric signal, and communicated by the electromagnetic signal with communication network and other equipment.RF circuit 1105 may include using
In the known circuit for executing these functions comprising but be not limited to antenna system, RF transceiver, one or more amplifiers, adjust
Humorous device, one or more oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user
Mark module (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 1106 is mainly used for receiving audio data from Peripheral Interface 1103, which is converted to electricity
Signal, and the electric signal is sent to loudspeaker 1111.
Loudspeaker 1111 is reduced to sound for mobile phone to be passed through RF circuit 1105 from the received voice signal of wireless network
Sound simultaneously plays the sound to user.
Power management chip 1108, the hardware for being connected by CPU1102, I/O subsystem and Peripheral Interface are supplied
Electricity and power management.
The application can be performed in area determining device, storage medium, server and the mobile terminal provided in above-described embodiment
Corresponding area determination method provided by embodiment has the corresponding functional module of execution method and beneficial effect.Not upper
The technical detail of detailed description in embodiment is stated, reference can be made to corresponding area determination method provided by the embodiment of the present application.
Note that above are only the preferred embodiment and institute's application technology principle of the application.It will be appreciated by those skilled in the art that
The application is not limited to specific embodiment described here, be able to carry out for a person skilled in the art it is various it is apparent variation,
The protection scope readjusted and substituted without departing from the application.Therefore, although being carried out by above embodiments to the application
It is described in further detail, but the application is not limited only to above embodiments, in the case where not departing from the application design, also
It may include more other equivalent embodiments, and scope of the present application is determined by the scope of the appended claims.
Claims (14)
1. a kind of area determination method characterized by comprising
First location information is obtained by the global navigation satellite system GNSS module in mobile terminal;
Whether detection can be realized positioning by the GNSS module within a preset period of time;
If cannot, the first location information is sent to predetermined server, predetermined server is corresponding by first location information
Latitude and longitude coordinates be added in the boundary coordinate set in non-locating region, predetermined server is believed according to first position
The boundary for determining non-locating region is ceased, the first location information is used to indicate the predetermined server according to the first position
Information determines that the boundary in non-locating region, the non-locating region include the geographic region that cannot achieve positioning by GNSS module
Domain;
The boundary position information for receiving the non-locating region that the predetermined server is sent is examined according to the boundary position information
When non-locating region will be entered by measuring the mobile terminal, control GNSS module stops positioning;
Wherein, while obtaining first location information by the GNSS module in mobile terminal, further includes:
Obtain the first base station information searched;
While the first location information is sent to the predetermined server, further includes:
The first base station information is sent to the predetermined server, the first base station information is used to indicate the default clothes
Business device determines that the non-locating region is corresponding according to the first base station information can locating base station information;
While receiving the first message that the predetermined server is sent, further includes:
Receiving that current non-locating region that the predetermined server is sent is corresponding currently can locating base station information;
After controlling the GNSS module according to the first message and stopping positioning, further includes:
The second base station information for searching and it is received it is current can locating base station information match when, control the GNSS
Module restarts to position.
2. the method according to claim 1, wherein the first location information is sent to predetermined server
Later, further includes:
Detect positioning can be realized by the GNSS module when, obtain second location information;
The second location information is sent to the predetermined server, the second location information is used to indicate the default clothes
Business device is updated the boundary in the non-locating region.
3. the method according to claim 1, wherein further include:
The third place information is obtained by the GNSS module;
The third place information is sent to the predetermined server, the third place information is used to indicate the default clothes
Business device determines whether the mobile terminal will enter current non-locating region according to the third place information;
The first message that the predetermined server is sent is received, the first message includes the predetermined server according to
The third place information determines the message sent when the mobile terminal will enter current non-locating region;
The GNSS module, which is controlled, according to the first message stops positioning.
4. the method according to claim 1, wherein stopping controlling the GNSS module according to the first message
After fastening position, further includes:
4th location information is obtained using the positioning method other than GNSS positioning method;
4th location information is sent to the predetermined server, the 4th location information is used to indicate the default clothes
Business device determines whether the mobile terminal has left the current non-locating region according to the 4th location information;
The second message that the predetermined server is sent is received, the second message includes the predetermined server according to
4th location information determines the message sent when the mobile terminal has left the current non-locating region;
The GNSS module is controlled according to the second message to restart to position.
5. a kind of area determination method characterized by comprising
Receive the first location information that mobile terminal is sent, the first location information include the mobile terminal detect it is logical
It crosses before the preset time period that global navigation satellite system GNSS module cannot achieve positioning, the last time passes through the GNSS mould
The location information that block obtains, the corresponding latitude and longitude coordinates of the first location information can be added to the boundary in non-locating region
In coordinate set, to determine the boundary in non-locating region;
The first location information that the mobile terminal is sent and the first location information that other mobile terminals are sent are summarized;
Determine that the boundary in non-locating region, the non-locating region include that cannot achieve to determine by GNSS module according to summarized results
The geographic area of position;
The boundary position information that non-locating region is sent to the mobile terminal, by mobile terminal according to the boundary position information
When detecting that the mobile terminal will enter non-locating region, control GNSS module stops positioning;
The first base station information that the mobile terminal is sent is received, the first base station information includes that the mobile terminal is obtaining
The base station information searched while first location information;
Determining that the non-locating region is corresponding according to the first base station information can locating base station information;
While first message is sent to the mobile terminal, further includes:
To the mobile terminal send current non-locating region it is corresponding currently can locating base station information, it is described currently to position base
Information of standing be used to indicate the mobile terminal the second base station information for searching and it is received it is current can locating base station believe
When manner of breathing matches, controls the GNSS module and restart to position.
6. according to the method described in claim 5, it is characterized by further comprising:
The second location information that the mobile terminal is sent is received, the second location information includes that the mobile terminal is being sent
After the first location information, the location information obtained when can be realized positioning by the GNSS module is being detected;
It is updated according to boundary of the second location information to the non-locating region.
7. according to the method described in claim 5, it is characterized by further comprising:
Receive the third place information that mobile terminal is sent;
When determining that the mobile terminal will enter current non-locating region according to the third place information, to the movement
Terminal sends first message, and the first message is used to indicate the mobile terminal and controls the GNSS according to the first message
Module stops positioning.
8. according to the method described in claim 5, it is characterized in that, being gone back after sending first message to the mobile terminal
Include:
The 4th location information that the mobile terminal is sent is received, the 4th location information includes that the mobile terminal is controlling
After the GNSS module stops positioning, using the location information of the positioning method acquisition other than GNSS positioning method;
When determining that the mobile terminal has left the non-locating region according to the 4th location information, eventually to the movement
End sends second message, and the second message is used to indicate the mobile terminal and controls the GNSS mould according to the second message
Block restarts to position.
9. a kind of area determining device characterized by comprising
First location information obtains module, for obtaining first by the global navigation satellite system GNSS module in mobile terminal
Location information;
Detection and localization module, for being detected within a preset period of time by the way that whether the GNSS module can be realized positioning;
First location information sending module can not be realized calmly for detecting within a preset period of time by the GNSS module
When position, the first location information is sent to predetermined server, predetermined server is by the corresponding longitude and latitude of first location information
Coordinate is added in the boundary coordinate set in non-locating region, predetermined server is determined according to first location information non-
The boundary of localization region, the first location information are used to indicate the predetermined server and are determined according to the first location information
The boundary in non-locating region, the non-locating region include the geographic area that cannot achieve positioning by GNSS module;
First positioning control module, for receiving the boundary position information in the non-locating region that the predetermined server is sent,
When detecting that the mobile terminal will enter non-locating region according to the boundary position information, it is fixed that control GNSS module stops
Position;
First base station data obtaining module, for obtaining the same of first location information by the GNSS module in mobile terminal
When, obtain the first base station information searched;
First base station information sending module, for while the first location information is sent to the predetermined server,
The first base station information is sent to the predetermined server, the first base station information is used to indicate the predetermined server
Determining that the non-locating region is corresponding according to the first base station information can locating base station information;
Can locating base station information sending module, for also wrapping while receiving the first message that the predetermined server is sent
Include: receiving that current non-locating region that the predetermined server is sent is corresponding currently can locating base station information;
Third positioning control module, for searching after controlling the GNSS module according to the first message and stopping positioning
Rope to the second base station information and it is received it is current can locating base station information match when, control the GNSS module again
Start to position.
10. a kind of area determining device characterized by comprising
First location information receiving module, for receiving the first location information of mobile terminal transmission, the first location information
The preset time period that cannot achieve positioning by global navigation satellite system GNSS module is being detected including the mobile terminal
Before, the last location information obtained by the GNSS module, the corresponding latitude and longitude coordinates of the first location information
It can be added in the boundary coordinate set in non-locating region, to determine the boundary in non-locating region;
Location information summarizing module, what first location information and other mobile terminals for sending the mobile terminal were sent
First location information is summarized;
Boundary determining module, for determining that the boundary in non-locating region, the non-locating region include passing through according to summarized results
GNSS module cannot achieve the geographic area of positioning;
First message sending module, for sending the boundary position information in non-locating region to the mobile terminal, by mobile whole
When end detects that the mobile terminal will enter non-locating region according to the boundary position information, control GNSS module stops
Positioning;
First base station information receiving module, the first base station information sent for receiving the mobile terminal, the first base station
Information includes the base station information that the mobile terminal searches while obtaining first location information;
Can locating base station information determination module, can for determining that the non-locating region is corresponding according to the first base station information
Locating base station information;
Can locating base station information sending module, for while the first message is sent to the mobile terminal, to institute
State mobile terminal send current non-locating region it is corresponding currently can locating base station information, it is described currently can locating base station information use
In indicate the mobile terminal the second base station information searched with it is received it is current can locating base station information match
When, it controls the GNSS module and restarts to position.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt
The area determination method as described in any in claim 1-4 is realized when processor executes.
12. 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 executing the computer program
Any area determination method of claim 1-4.
13. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt
The area determination method as described in any in claim 5-8 is realized when processor executes.
14. a kind of server, which is characterized in that including memory, processor and storage can be transported on a memory and in processor
Capable computer program, the processor realize the region as described in claim 5-8 is any when executing the computer program
Determine method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711325829.9A CN108111580B (en) | 2017-12-13 | 2017-12-13 | Area determination method, device, storage medium, mobile terminal and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711325829.9A CN108111580B (en) | 2017-12-13 | 2017-12-13 | Area determination method, device, storage medium, mobile terminal and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108111580A CN108111580A (en) | 2018-06-01 |
CN108111580B true CN108111580B (en) | 2019-09-27 |
Family
ID=62215705
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711325829.9A Active CN108111580B (en) | 2017-12-13 | 2017-12-13 | Area determination method, device, storage medium, mobile terminal and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108111580B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110716223A (en) * | 2019-09-30 | 2020-01-21 | 北京摩拜科技有限公司 | Vehicle positioning method and server |
CN113759405B (en) * | 2020-06-04 | 2024-06-25 | 深圳市万普拉斯科技有限公司 | GPS positioning acceleration system, method, device, computer equipment and storage medium |
CN113011944B (en) * | 2021-03-11 | 2024-08-06 | 北京骑胜科技有限公司 | Interaction method, device, system, storage medium and electronic equipment |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9083745B2 (en) * | 2007-03-12 | 2015-07-14 | Qualcomm Incorporated | Network independent location services |
US8626926B2 (en) * | 2008-02-26 | 2014-01-07 | Qualcomm Incorporated | Method and apparatus for performing session info query for user plane location |
CN101346000B (en) * | 2008-07-29 | 2011-06-29 | 方圆信通科技(北京)有限公司 | System for providing local mobile geographic information service based on GPS and mobile terminal |
US20100130230A1 (en) * | 2008-11-21 | 2010-05-27 | Qualcomm Incorporated | Beacon sectoring for position determination |
WO2010084615A1 (en) * | 2009-01-26 | 2010-07-29 | 株式会社ナビタイムジャパン | System which mediates providing of map information, server which mediates providing of map information, and method for providing map information |
JP6765958B2 (en) * | 2013-05-31 | 2020-10-07 | クゥアルコム・インコーポレイテッドQualcomm Incorporated | Client access to mobile location services |
CN105682030A (en) * | 2016-01-13 | 2016-06-15 | 广东欧珀移动通信有限公司 | Method and device for selecting location server and intelligent terminal |
-
2017
- 2017-12-13 CN CN201711325829.9A patent/CN108111580B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108111580A (en) | 2018-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108055642B (en) | Control method and device of positioning module, storage medium and mobile terminal | |
US10121374B2 (en) | Parking event detection and location estimation | |
US10698118B1 (en) | Sensor-assisted location fix | |
CN108169775B (en) | Control method and device based on positioning module, storage medium and mobile terminal | |
US9191781B2 (en) | Use of wireless access point ID for position determination | |
CN102006550B (en) | Power saving system and method for mobile computing device | |
CN109891934B (en) | Positioning method and device | |
US10064003B2 (en) | Beacon-based geofencing | |
US10021669B2 (en) | Techniques for tracking destinations on a mobile computing device | |
US9880604B2 (en) | Energy efficient location detection | |
US8452353B2 (en) | Apparatus and methods for providing intelligent battery management | |
US8078152B2 (en) | Venue inference using data sensed by mobile devices | |
US9071701B2 (en) | Using wireless characteristic to trigger generation of position fix | |
US6980813B2 (en) | Locating system and method | |
CN108008423B (en) | Control method and device based on positioning module, storage medium and mobile terminal | |
CN108111580B (en) | Area determination method, device, storage medium, mobile terminal and server | |
CN103424756A (en) | Mobile terminal and GPS engine control method thereof | |
CN108168569A (en) | Air navigation aid, device, storage medium, mobile terminal and onboard system | |
EP3372958B1 (en) | Navigation method and navigation device | |
CN109219953A (en) | A kind of alarm clock prompting method and terminal device | |
CN108093362B (en) | Control method and device of positioning module, storage medium and terminal | |
JP2013210299A (en) | Information processing apparatus, information processing method, and program | |
CN108093367A (en) | Control method, device, storage medium and mobile terminal based on locating module | |
US20080051104A1 (en) | Locating System and Method | |
CN111123326B (en) | Positioning method, positioning device, storage medium and terminal |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |