CN104703214B - A kind of positioning and monitoring method and device - Google Patents
A kind of positioning and monitoring method and device Download PDFInfo
- Publication number
- CN104703214B CN104703214B CN201310656871.4A CN201310656871A CN104703214B CN 104703214 B CN104703214 B CN 104703214B CN 201310656871 A CN201310656871 A CN 201310656871A CN 104703214 B CN104703214 B CN 104703214B
- Authority
- CN
- China
- Prior art keywords
- base station
- network parameter
- cgi
- terminal
- memory block
- 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
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
Abstract
The invention discloses a kind of positioning and monitoring method and devices, this method comprises: obtaining the network parameter of terminal present position;Compare the network parameter stored in the network parameter memory block in the network parameter and the terminal obtained;When determining that comparison result does not meet the network parameter rule of consistency of setting, then to server-side send Location Request, wherein the network parameter rule of consistency refer to due to terminal location change so that the changed difference value of network parameter whether within the set range;Receive and store the positioning result that the server-side is fed back according to the Location Request.The type for sending Location Request, and the content of request can be determined, to improve the efficiency of locating and monitoring according to current network state.
Description
Technical field
The present invention relates to mobile communication technology fields, more particularly, to a kind of positioning and monitoring method and device.
Background technique
Positioning principle based on cordless communication network is terminal to server-side transmission Location Request, and server-side receives positioning
When request, according to the Location Request that terminal is sent, positioning result is calculated, and calculated positioning result is fed back into terminal.Its
In, Software Development Kit (English: Soft Development Kit, abbreviation: SDK) is that the fusion of one of application program is fixed
Position refers to through SDK, by the base station of the collected terminal present position in location client end in terminal, WLAN
Network parameters such as (English: Wireless Fidelity, abbreviation: WiFi) are sent to server-side, and server-side is to the network received
Parameter is analyzed, operation obtains final positioning result, and positioning result is then fed back to location client end.
Above-mentioned steps are that location client end and server-side pass through network, the synchronization request process interacted, from terminal
Location client end initiate Location Request arrive receive server-side pass through network-feedback to terminal positioning result, in network condition
In the case where good, need to wait for a period of time.And in this section of duration, i.e., the interface at the location client end in terminal is connecing
Before the positioning result for receiving server-side feedback, it will rest on always on the interface for initiating Location Request, so that average positioning
Time is long, and the efficiency of locating and monitoring is relatively low.
Summary of the invention
The present invention provides a kind of positioning and monitoring method and devices, can determine to send according to current network state
The type of Location Request, and the content of request, to improve the efficiency of locating and monitoring.
A kind of positioning and monitoring method, comprising: obtain the network parameter of terminal present position;Compare the network ginseng obtained
The network parameter stored in network parameter memory block in the several and terminal;Determining that comparison result do not meet the net of setting
When network parameter consistency rule, then to server-side send Location Request, wherein the network parameter rule of consistency refer to due to
Terminal location change so that the changed difference value of network parameter whether within the set range;Receive and store the server-side
The positioning result fed back according to the Location Request.
In the technical solution that the embodiment of the present invention proposes, by the network parameter of acquisition terminal present position, and
The network parameter stored in network parameter memory block in terminal is compared, and according to comparison result, judges whether to need to send
Location Request can determine the type and content that send Location Request, i.e., in terminal location according to current network state
There is no in the case where variation, not sending Location Request, and only works as and determine the case where terminal location has changed
Under, Location Request is sent on backstage, and the positioning result of server-side feedback is stored, positioning instruction is sent by terminal to user
When, corresponding positioning result can be obtained in the memory block of terminal, withouts waiting for longer time, shortened average
Positioning time, to improve the efficiency of locating and monitoring.
Network parameter memory block in the terminal includes the first memory block of setting network parameter storage quantity, the net
Network parameter includes the cell global identity CGI for the base station that the terminal is currently accessed;Compare the network parameter and described obtained
The network parameter stored in network parameter memory block in terminal, comprising: determine the end whether is stored in the first memory block
Hold the CGI for the base station being currently accessed;When determining that comparison result does not meet the network consistency rule of setting, then to server-side
Send Location Request, comprising: the CGI of the not stored base station for thering is the terminal to be currently accessed in determining the first memory block, and/
Or the CGI of base station that is currently accessed of the terminal stored in first memory block is when being more than the first setting duration, then to clothes
Business end sends Location Request.
By the way of space for time, for different network environments, stored using different judgment criterias to first
The data of area's storage are judged, guarantee the validity of the data of the first memory block storage.Further improve locating and monitoring
Efficiency.
Network parameter memory block in the terminal includes the second memory block of non-setting network parameter storage quantity, described
Network parameter includes the adjacent adjacent base station quantity of master base station CGI and the base station, each adjacent base station of the terminal current location
Wherein, the master base station is the base station that terminal is currently accessed to the WLAN WIFI information of CGI and terminal current location;
Compare the network parameter stored in the network parameter memory block in the network parameter and the terminal obtained, comprising: compare second
The adjacent base station quantity of the terminal current location, the CGI of master base station, the CGI of adjacent base station and the terminal stored in memory block is worked as
The WIFI information of front position and the adjacent base station quantity of terminal current location of acquisition, the CGI of master base station, adjacent base station CGI and
The WIFI information of terminal current location;The comparison result includes the first comparison result, and first comparison result is by second
The adjacent base station quantity of the terminal current location, the CGI of master base station, the CGI of adjacent base station and the end of acquisition stored in memory block
The CGI of the adjacent base station quantity of current location, the CGI of master base station, adjacent base station is held to be compared, the comparison result includes the second ratio
Pair as a result, second comparison result is the adjacent base station quantity of the terminal current location stored in the second memory block, main base
The adjacent base station number of the CGI of the CGI, adjacent base station that stand and the WIFI information of terminal current location and the terminal current location of acquisition
The WIFI information of amount, the CGI of master base station, the CGI of adjacent base station and terminal current location is compared;Determining comparison result
When not meeting the network consistency rule of setting, then Location Request is sent to server-side, comprising: determining the first comparison result
It is not met with the network consistency rule of setting, and when incongruent range is greater than the first threshold value, then it is fixed to send to server-side
Position request, wherein first threshold value is that master base station CGI is identical, and the CGI of the adjacent base station of preset quantity is identical;And true
The network consistency rule for making the second comparison result and setting is not met, and incongruent range be greater than the second threshold value when,
Then to server-side send Location Request, wherein second threshold value be preset quantity WIFI information it is identical.
By the way of space for time, for different network environments, stored using different judgment criterias to second
The data of area's storage are judged, guarantee the validity of the data of the second memory block storage.Further improve locating and monitoring
Efficiency.
Obtain the network parameter of terminal present position, comprising: using the second setting duration as the sampling period, periodically
Obtain the network parameter of terminal present position.
Periodically obtain terminal present position network parameter, with guarantee obtain network parameter real-time and
Validity further improves the efficiency of locating and monitoring.
After determining comparison result, further includes: determine comparison result meet setting network consistency rule
When, then return to the network parameter for executing terminal present position.
By adopting the above technical scheme, the real-time and validity of the network parameter obtained with guarantee.
A kind of positioning monitoring device, comprising: module is obtained, for obtaining the network parameter of terminal present position;Than
To module, stored in the network parameter memory block in network parameter and the terminal for comparing the acquisition module acquisition
Network parameter;Sending module, for when determining that comparison result does not meet the network parameter rule of consistency of setting, then to clothes
Business end sends Location Request, wherein the network parameter rule of consistency refers to since terminal location changes so that network parameter is sent out
Within the set range whether the difference value for changing;Receiving module, for receiving and storing the server-side according to the positioning
Request the positioning result of feedback.
In above-mentioned technical proposal, the network in network parameter and terminal by obtaining terminal present position is joined
The network parameter stored in number memory block is compared, and according to comparison result, judges whether to need to send Location Request, Neng Gougen
According to current network state, determine to send the type of Location Request and the content of request, i.e., terminal location there is no
In the case where variation, Location Request is not sent, and only in the case where determining that terminal location has changed, on backstage
Location Request is sent, and the positioning result of server-side feedback is stored, it, can when sending positioning instruction by terminal to user
To obtain corresponding positioning result in the memory block of terminal, longer time is withouted waiting for, average positioning time is shortened,
To improve the efficiency of locating and monitoring.
Network parameter memory block in the terminal includes the first memory block of setting network parameter storage quantity, the net
Network parameter includes the cell global identity CGI for the base station that the terminal is currently accessed;The comparison module is specifically used for determining
Whether the CGI of base station that the terminal be currently accessed is stored in first memory block;The sending module is specifically used in determination
It is stored in the CGI of the not stored base station for thering is the terminal to be currently accessed and/or first memory block in the first memory block out
When the CGI for the base station that the terminal is currently accessed is more than the first setting duration, then Location Request is sent to server-side.
By the way of space for time, for different network environments, stored using different judgment criterias to first
The data of area's storage are judged, guarantee the validity of the data of the first memory block storage.Further improve locating and monitoring
Efficiency.
Network parameter memory block in the terminal includes the second memory block of non-setting network parameter storage quantity, described
Network parameter includes the adjacent adjacent base station quantity of master base station CGI and the base station, each adjacent base station of the terminal current location
Wherein, the master base station is the base station that terminal is currently accessed to the WLAN WIFI information of CGI and terminal current location;
The comparison module, adjacent base station quantity, main base specifically for the terminal current location stored in the second memory block of comparison
The adjacent base station number of the CGI of the CGI, adjacent base station that stand and the WIFI information of terminal current location and the terminal current location of acquisition
Amount, the WIFI information of the CGI of master base station, the CGI of adjacent base station and terminal current location;The comparison result includes the first comparison
As a result, first comparison result is by the adjacent base station quantity of the terminal current location stored in the second memory block, main base
The CGI of the CGI, adjacent base station that stand and the adjacent base station quantity of terminal current location of acquisition, the CGI of master base station, adjacent base station CGI into
Row compare, the comparison result include the second comparison result, second comparison result be stored in the second memory block it is described
The adjacent base station quantity of terminal current location, the CGI of master base station, the CGI of adjacent base station and terminal current location WIFI information and
The adjacent base station quantity of the terminal current location of acquisition, the CGI of master base station, the CGI of adjacent base station and the WIFI of terminal current location
Information is compared;The sending module, specifically in the network consistency rule for determining the first comparison result and setting
Do not meet, and incongruent range be greater than the first threshold value when, then to server-side send Location Request, wherein first thresholding
Value is that master base station CGI is identical, and the CGI of the adjacent base station of preset quantity is identical;And determining the second comparison result and setting
Network consistency rule do not meet, and incongruent range be greater than the second threshold value when, then to server-side send Location Request,
Wherein second threshold value is that the WIFI information of preset quantity is identical.
By the way of space for time, for different network environments, stored using different judgment criterias to second
The data of area's storage are judged, guarantee the validity of the data of the second memory block storage.Further improve locating and monitoring
Efficiency.
The acquisition module is specifically used for periodically obtaining the current institute of terminal using the second setting duration as the sampling period
Network parameter in position.
Periodically obtain terminal present position network parameter, with guarantee obtain network parameter real-time and
Validity further improves the efficiency of locating and monitoring.
Further include: execution module, for when determining that comparison result meets the network parameter rule of consistency of setting, then
Return to the process for obtaining the network parameter of terminal present position.
By adopting the above technical scheme, the real-time and validity of the network parameter obtained with guarantee.
Detailed description of the invention
Fig. 1 is the positioning and monitoring method flow chart that the embodiment of the present invention proposes;
Fig. 2 is the positioning monitoring device structure composition schematic diagram that the embodiment of the present invention proposes.
Specific embodiment
For under normal circumstances, positioning time is long, the relatively low problem of the efficiency of locating and monitoring, the embodiment of the present invention
In the technical solution of proposition, the network parameter in network parameter and terminal by obtaining terminal present position is stored
The network parameter stored in area is compared, and according to comparison result, judges whether to need to send Location Request, can be according to current
Network state, determine send Location Request type, and request content, i.e., in terminal location, there is no variations
In the case of, Location Request is not sent, and only in the case where determining that terminal location has changed, it is fixed to send on backstage
Position request, and the positioning result of server-side feedback is stored, it, can be at end when sending positioning instruction by terminal to user
Corresponding positioning result is obtained in the memory block at end, withouts waiting for longer time, shortens average positioning time, to mention
The high efficiency of locating and monitoring.
Below in conjunction with each attached drawing to the main realization principle of technical solution of the embodiment of the present invention, specific embodiment and
Its beneficial effect corresponding to reach is set forth.
As shown in Figure 1, the embodiment of the present invention proposes a kind of positioning and monitoring method, specific process flow is for example following:
Step 11, the network parameter of terminal present position is obtained.
Optionally, following manner can also be used specifically to be handled: to set duration as the sampling period, periodically obtained
Obtain the network parameter of terminal present position.
In the technical solution that the embodiment of the present invention proposes, it is described in detail by taking the SDK in terminal as an example.In terminal
After SDK operation, the network ginseng of terminal present position can be periodically obtained to set duration as the sampling period
Number.Wherein setting duration can be completed by the setting to timer.
Step 12, the network parameter stored in the network parameter memory block in the network parameter and terminal of acquisition is compared.
Step 13, determine whether comparison result meets the network parameter rule of consistency of setting and execute if do not met
Step 14, if met, step 16 is executed.
Network parameter rule of consistency refers to since terminal location changes so that the changed difference value of network parameter is
It is no within the set range.
Step 14, it when determining that comparison result does not meet the network parameter rule of consistency of setting, is then sent out to server-side
Send Location Request.
It, can be according to different network environments, to complete the process of positioning in the technical solution that the embodiment of the present invention proposes.
Base station number, WIFI information that the band of position that network environment can be currently located according to terminal includes etc. are divided.Example
Single base station network environment can be such as divided into, i.e. the band of position that is currently located of terminal, only one base station.It can also be divided into
The band of position that more base station network environment, i.e. terminal are currently located includes multiple base stations.It, can be under more base station network environment
Comprising WIFI, WIFI can also not included, below just different network environments be described in detail respectively.
In single base station network environment, the network parameter memory block in terminal includes the first of setting network parameter storage quantity
Memory block, network parameter include the cell global identity (English: Cell Global for the base station that the terminal is currently accessed
Identity, abbreviation: CGI).After obtaining terminal present position network parameter, determine in the first memory block whether store
The CGI for the base station for thering is terminal to be currently accessed, the not stored base station for thering is terminal to be currently accessed in determining the first memory block
When the CGI for the base station that the terminal stored in CGI and/or the first memory block is currently accessed is more than the first setting duration, then to service
End sends Location Request.
In specific implementation, under single base station network environment, when obtaining the CGI for the base station that terminal present position includes,
The CGI for whether being stored with current base station is inquired into the first memory block, if being stored with current base station in the first memory block
CGI, and in the case that the CGI of the current base station stored in the first memory block is not above the first setting duration, it can return
The sampling for waiting a SDK lower period, on the contrary, if the not stored CGI for having current base station and/or first is deposited in the first memory block
In the case that the CGI of the current base station stored in storage area is more than the first setting duration, then Location Request is sent to server-side.In turn
The positioning result that server-side is returned according to Location Request can be used to be updated the first memory block.
Wherein, the CGI of base station in above process generally may include cell coding (English: Cell Identity),
Such as: 26390, position encoded (English: Location Area Identity, abbreviation: Lac id, such as can be 4141, state
Family's coding (abbreviation: MCC), such as can be 460, network code (abbreviation MNC), etc..
Specifically, the structure of the CGI stored in the first memory block can be following forms:
CGI(Cell Global Identity code)+Time(the time) geographical location+Location(, such as: longitude and latitude).
In technical solution set forth above of the embodiment of the present invention, the first memory block can also be referred to as to cache, when being specific
The lesser storage region of intersexuality, memory capacity can be set to 500 CGI of storage under normal circumstances.When more than memory capacity
When, first in, first out principle can be used, the CGI of oldest stored is deleted, to be stored in new CGI.If being stored in the first memory block
CGI it is identical with the CGI of acquisition, but when the CGI stored in the first memory block is more than setting duration, such as more than 7 days, due to
Base station CGI corresponding position information can be updated with time change, therefore the CGI stored in the first memory block is older
Old, SDK sends a Location Request to server-side at this time.
Under more base station network environment, WIFI may include, can also not include WIFI.Network parameter storage in terminal
Area includes the second memory block of non-setting network parameter storage quantity, network parameter include terminal current location master base station CGI,
The CGI of the adjacent base station quantity, each adjacent base station adjacent with master base station and the WLAN WIFI information of terminal current location.
Wherein, master base station is the base station that terminal is currently accessed.
Under more base station network environment, if not including WIFI, network parameter includes the master base station of terminal current location
The CGI of CGI and the adjacent adjacent base station quantity of master base station, each adjacent base station.Correspondingly, under more base station network environment, if comprising
WIFI, network parameter include the master base station CGI of the terminal current location and the adjacent adjacent base station quantity of the master base station, each
The CGI of adjacent base station and the WLAN WIFI information of terminal current location.
Compare the adjacent base station quantity of the terminal current location stored in the second memory block, the CGI of master base station, adjacent base station
CGI and the adjacent base station quantity of terminal current location of WIFI information and acquisition of terminal current location, master base station CGI,
The CGI of adjacent base station and the WIFI information of terminal current location;
Comparison result includes the first comparison result, and the first comparison result is to work as the terminal stored in the second memory block
Adjacent base station quantity, the master of the adjacent base station quantity of front position, the CGI of master base station, the CGI of adjacent base station and the terminal current location of acquisition
The CGI of base station, the CGI of adjacent base station are compared, and are not inconsistent in the network consistency rule for determining the first comparison result and setting
Close, and incongruent range be greater than the first threshold value when, then to server-side send Location Request, wherein first threshold value is
Master base station CGI is identical, and the CGI of the adjacent base station of preset quantity is identical.
Optionally, the first threshold value can be that master base station CGI is identical, and there are two phases for the adjacent base station adjacent with the master base station
With or more than half is identical.
Comparison result includes the second comparison result, and the second comparison result is that the terminal that stores in the second memory block is current
The adjacent base station quantity of position, the CGI of master base station, the WIFI information of the CGI of adjacent base station and terminal current location and acquisition end
The WIFI information of the adjacent base station quantity of current location, the CGI of master base station, the CGI of adjacent base station and terminal current location is held to carry out
It compares;It is not met in the network consistency rule for determining the second comparison result and setting, and incongruent range is greater than second
When threshold value, then to server-side send Location Request, wherein second threshold value be preset quantity WIFI information it is identical.
Optionally, the second threshold value can be WIFI information and be more than 3 or be more than that more than half is identical.
In technical solution set forth above of the embodiment of the present invention, the second memory block can also be referred to as memory, be that storage is held
Bigger storage region is measured, therefore the data stored are accordingly also more complicated, just pushes away ground, can stored using following formats:
The geographical location Location()+Local Network Info(local network state, such as the global cell CGI(mark
Know code)+Wifi list+Neighbour(faces cell) list) and+Hash Wifi(caching Wifi list)+Hash
The list of neighbor cells of Neighbour(caching)
Step 15, the positioning result that server-side is fed back according to Location Request is received and stored.
Specifically, the positioning result of server-side feedback can be a kind of encapsulation in geographical location, such as: longitude+latitude+fixed
The information such as position precision+error code+positioning service error code+province, city and region's street detail.
The information that the first memory block or the storage of the second memory block are updated according to the positioning result of server-side feedback, for first
For memory block, due to being limited by time and capacity, then it will be deleted former data, new data be written.For the second memory block
For, the memory block memory capacity is bigger, as long as then SDK sends new positioning, can update stored information, example
Such as geographical location, face the information such as cell, Wifi list.
Step 16, when determining that comparison result meets the network consistency rule of setting, then it is current to return to execution terminal
The network parameter of position.
Correspondingly, the embodiment of the present invention also proposes a kind of positioning monitoring device, and structure composition is as shown in Figure 2, comprising:
Module 201 is obtained, for obtaining the network parameter of terminal present position.;
Specifically, above-mentioned acquisition module 201 is specifically used for periodically obtaining using the second setting duration as the sampling period
The network parameter of terminal present position.
Comparison module 202, for comparing the network parameter in the network parameter and the terminal that the acquisition module obtains
The network parameter stored in memory block.
Sending module 203, for when determining that comparison result does not meet the network parameter rule of consistency of setting, then to
Server-side sends Location Request, wherein the network parameter rule of consistency refers to since terminal location changes so that network parameter
Within the set range whether changed difference value.
Receiving module 204, the positioning result fed back for receiving and storing the server-side according to the Location Request.
Wherein, the network parameter memory block in the terminal includes the first memory block of setting network parameter storage quantity,
The network parameter includes the cell global identity CGI for the base station that the terminal is currently accessed;The comparison module 202, tool
Body is for the CGI for whether being stored with the base station that the terminal is currently accessed in the first memory block to be determined;The sending module 203,
Specifically for the CGI and/or described first of the base station for thering is the terminal to be currently accessed not stored in determining the first memory block
When the CGI for the base station that the terminal stored in memory block is currently accessed is more than the first setting duration, then it is fixed to send to server-side
Position request.
Wherein, the network parameter memory block in the terminal includes the second storage of non-setting network parameter storage quantity
Area, the network parameter include the adjacent adjacent base station quantity of master base station CGI and the base station, each of the terminal current location
Wherein, the master base station is that terminal is currently accessed to the WLAN WIFI information of the CGI of adjacent base station and terminal current location
Base station;
The comparison module, specifically for comparing the adjacent base station number of the terminal current location stored in the second memory block
The neighbour of the terminal current location of amount, the WIFI information and acquisition of the CGI of master base station, the CGI of adjacent base station and terminal current location
The WIFI information of base station number, the CGI of master base station, the CGI of adjacent base station and terminal current location;
The comparison result includes the first comparison result, and first comparison result is the institute that will be stored in the second memory block
State the adjacent base of the adjacent base station quantity of terminal current location, the CGI of master base station, the CGI of adjacent base station and the terminal current location of acquisition
Stand quantity, the CGI of master base station, adjacent base station CGI be compared, the comparison result include the second comparison result, described second
Comparison result is the adjacent base station quantity of the terminal current location stored in the second memory block, the CGI of master base station, adjacent base station
The adjacent base station quantity of terminal current location of the WIFI information and acquisition of CGI and terminal current location, the CGI of master base station, neighbour
The CGI of base station and the WIFI information of terminal current location are compared;The sending module, specifically for determining first
Comparison result and the network consistency rule of setting are not met, and incongruent range be greater than the first threshold value when, then to service
End sends Location Request, wherein first threshold value is that master base station CGI is identical, and the CGI of the adjacent base station of preset quantity is identical;
And determining that the network consistency rule of the second comparison result and setting do not meet, and incongruent range is greater than second
When limit value, then to server-side send Location Request, wherein second threshold value be preset quantity WIFI information it is identical.
Optionally, above-mentioned apparatus can also include:
Execution module 205, for when determining that comparison result meets the network parameter rule of consistency of setting, then returning
Obtain the process of the network parameter of terminal present position.
It, can be with before the positioning instruction for receiving user's transmission in technical solution set forth above of the embodiment of the present invention
By being configured to timer, periodic network parameter is acquired to terminal present position region, then
Judge whether current network condition needs to send Location Request according to the network parameter of acquisition, if need to update stored
Network parameter etc..So that the first memory block and the second memory block storage data, can with the variation of network condition and from
It is dynamic to adapt to.It, can two memory blocks be directly in using terminal in this way, when terminal receives the positioning instruction of user's transmission
The data of storage send Location Request to server-side without holding time, and real-time is relatively good.And the power consumption to terminal
It is also smaller for measuring with the influence of the aspect of flow, effectively the saving energy.
It will be understood by those skilled in the art that the embodiment of the present invention can provide as method, apparatus (equipment) or computer
Program product.Therefore, in terms of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and hardware
Embodiment form.Moreover, it wherein includes the meter of computer usable program code that the present invention, which can be used in one or more,
The computer implemented in calculation machine usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of program product.
The present invention be referring to according to the method for the embodiment of the present invention, the flow chart of device (equipment) and computer program product
And/or block diagram describes.It should be understood that each process in flowchart and/or the block diagram can be realized by computer program instructions
And/or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer programs to refer to
Enable the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to generate
One machine so that by the instruction that the processor of computer or other programmable data processing devices executes generate for realizing
The device for the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (6)
1. a kind of positioning and monitoring method characterized by comprising
Obtain the network parameter of terminal present position;
Compare the network parameter stored in the network parameter memory block in the network parameter and the terminal obtained;
When determining that comparison result does not meet the network parameter rule of consistency of setting, then Location Request is sent to server-side,
Wherein the network parameter rule of consistency refers to since terminal location changes so that the changed difference value of network parameter exists
In setting range;
Receive and store the positioning result that the server-side is fed back according to the Location Request;
Wherein, the network parameter memory block in the terminal includes the first memory block of setting network parameter storage quantity, described
Network parameter includes the cell global identity CGI for the base station that the terminal is currently accessed;
Compare the network parameter stored in the network parameter memory block in the network parameter and the terminal obtained, comprising: determine
Whether the CGI of base station that the terminal be currently accessed is stored in first memory block;
When determining that comparison result does not meet the network parameter rule of consistency of setting, then Location Request is sent to server-side,
It include: first memory block CGI or described of the not stored base station for thering is the terminal to be currently accessed in determining the first memory block
When the CGI for the base station that the terminal of middle storage is currently accessed is more than the first setting duration, then Location Request is sent to server-side;
The network parameter for obtaining terminal present position, comprising: using the second setting duration as the sampling period, periodically
Obtain the network parameter of terminal present position.
2. the method as described in claim 1, which is characterized in that the network parameter memory block in the terminal includes not setting net
Second memory block of network parameter storage quantity, the network parameter include the master base station CGI of the terminal current location and described
The WLAN WIFI information of the adjacent adjacent base station quantity of master base station, the CGI of each adjacent base station and terminal current location,
In, the master base station is the base station that terminal is currently accessed;
Compare the network parameter stored in the network parameter memory block in the network parameter and the terminal obtained, comprising:
Compare the adjacent base station quantity of the terminal current location that stores in the second memory block, the CGI of master base station, adjacent base station
The adjacent base station quantity of terminal current location of the WIFI information and acquisition of CGI and terminal current location, the CGI of master base station, neighbour
The CGI of base station and the WIFI information of terminal current location;
The comparison result includes the first comparison result, and first comparison result is the end that will be stored in the second memory block
Hold adjacent base station quantity, the adjacent base station of the CGI of master base station and the CGI of adjacent base station and the terminal current location of acquisition of current location
The CGI of quantity, the CGI of master base station and adjacent base station is compared, the comparison result include the second comparison result, described second
Comparison result is the adjacent base station quantity of the terminal current location stored in the second memory block, the CGI of master base station, adjacent base station
The adjacent base station quantity of terminal current location of the WIFI information and acquisition of CGI and terminal current location, the CGI of master base station, neighbour
The CGI of base station and the WIFI information of terminal current location are compared;
When determining that comparison result does not meet the network parameter rule of consistency of setting, then Location Request is sent to server-side,
Include:
It is not met in the network parameter rule of consistency for determining the first comparison result and setting, and incongruent range is greater than the
When one threshold value, then Location Request is sent to server-side, wherein first threshold value is that master base station CGI is identical, and present count
The CGI of the adjacent base station of amount is identical;And
It is not met in the network parameter rule of consistency for determining the second comparison result and setting, and incongruent range is greater than the
When two threshold values, then to server-side send Location Request, wherein second threshold value be preset quantity WIFI information it is identical.
3. method according to claim 1 or 2, which is characterized in that after determining comparison result, further includes:
When determining that comparison result meets the network parameter rule of consistency of setting, then return continue obtain terminal be currently located
The process of the network parameter of position.
4. a kind of positioning monitoring device characterized by comprising
Module is obtained, for obtaining the network parameter of terminal present position;
Comparison module, for comparing in the network parameter memory block in the network parameter and the terminal that the acquisition module obtains
The network parameter of storage;
Sending module, for when determining that comparison result does not meet the network parameter rule of consistency of setting, then to server-side
Location Request is sent, wherein the network parameter rule of consistency refers to since terminal location changes so that network parameter becomes
The difference value of change is within the set range;
Receiving module, the positioning result fed back for receiving and storing the server-side according to the Location Request;
Wherein, the network parameter memory block in the terminal includes the first memory block of setting network parameter storage quantity, described
Network parameter includes the cell global identity CGI for the base station that the terminal is currently accessed;
The comparison module, specifically for determining whether be stored with base station that the terminal is currently accessed in the first memory block
CGI;
The sending module, specifically for the base station for thering is the terminal to be currently accessed not stored in determining the first memory block
When the CGI for the base station that the terminal stored in first memory block CGI or described is currently accessed is more than the first setting duration, then
Location Request is sent to server-side;
The acquisition module is specifically used for periodically being obtained terminal using the second setting duration as the sampling period and being currently located position
The network parameter set.
5. device as claimed in claim 4, which is characterized in that the network parameter memory block in the terminal includes not setting net
Second memory block of network parameter storage quantity, the network parameter include the master base station CGI of the terminal current location and described
The WLAN WIFI information of the adjacent adjacent base station quantity in base station, the CGI of each adjacent base station and terminal current location, wherein
The master base station is the base station that terminal is currently accessed;
The comparison module, specifically for compare the second memory block in store the terminal current location adjacent base station quantity,
The adjacent base station of the terminal current location of the WIFI information and acquisition of the CGI of master base station, the CGI of adjacent base station and terminal current location
The WIFI information of quantity, the CGI of master base station, the CGI of adjacent base station and terminal current location;
The comparison result includes the first comparison result, and first comparison result is the end that will be stored in the second memory block
Hold adjacent base station quantity, the adjacent base station of the CGI of master base station and the CGI of adjacent base station and the terminal current location of acquisition of current location
The CGI of quantity, the CGI of master base station and adjacent base station is compared, the comparison result include the second comparison result, described second
Comparison result is the adjacent base station quantity of the terminal current location stored in the second memory block, the CGI of master base station, adjacent base station
The adjacent base station quantity of terminal current location of the WIFI information and acquisition of CGI and terminal current location, the CGI of master base station, neighbour
The CGI of base station and the WIFI information of terminal current location are compared;The sending module, specifically for determining first
Comparison result and the network parameter rule of consistency of setting are not met, and incongruent range be greater than the first threshold value when, then to
Server-side sends Location Request, wherein first threshold value is that master base station CGI is identical, and the CGI of the adjacent base station of preset quantity
It is identical;And determining that the network parameter rule of consistency of the second comparison result and setting do not meet, and incongruent range
When greater than the second threshold value, then Location Request is sent to server-side, wherein second threshold value is the WIFI letter of preset quantity
Manner of breathing is same.
6. device as described in claim 4 or 5, which is characterized in that further include:
Execution module, for when determining that comparison result meets the network parameter rule of consistency of setting, then returning and continuing to obtain
Obtain the process of the network parameter of terminal present position.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310656871.4A CN104703214B (en) | 2013-12-06 | 2013-12-06 | A kind of positioning and monitoring method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310656871.4A CN104703214B (en) | 2013-12-06 | 2013-12-06 | A kind of positioning and monitoring method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104703214A CN104703214A (en) | 2015-06-10 |
CN104703214B true CN104703214B (en) | 2019-01-08 |
Family
ID=53349891
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310656871.4A Active CN104703214B (en) | 2013-12-06 | 2013-12-06 | A kind of positioning and monitoring method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104703214B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105722216B (en) * | 2016-04-14 | 2020-05-12 | 腾讯科技(深圳)有限公司 | Distance detection method, terminal device and storage medium |
CN106793079B (en) * | 2017-01-18 | 2020-01-21 | 深圳市广和通无线股份有限公司 | Positioning method and device based on cellular cell |
CN113593065A (en) * | 2021-06-28 | 2021-11-02 | 深圳云之家网络有限公司 | Intelligent attendance processing method and device, computer equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101730204A (en) * | 2008-10-29 | 2010-06-09 | 中国移动通信集团公司 | Method for controlling working state of positioning module and mobile terminal thereof |
CN103369669A (en) * | 2012-03-30 | 2013-10-23 | 北京千橡网景科技发展有限公司 | Wireless location method and device used for mobile terminal |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004179905A (en) * | 2002-11-26 | 2004-06-24 | Matsushita Electric Works Ltd | Position information terminal and wireless communication system |
TWI286909B (en) * | 2003-09-25 | 2007-09-11 | Nec Corp | Position information service providing system, and the method thereof |
CN103124431A (en) * | 2011-11-21 | 2013-05-29 | 中国电信股份有限公司 | Method, system and terminal for monitoring area locating |
-
2013
- 2013-12-06 CN CN201310656871.4A patent/CN104703214B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101730204A (en) * | 2008-10-29 | 2010-06-09 | 中国移动通信集团公司 | Method for controlling working state of positioning module and mobile terminal thereof |
CN103369669A (en) * | 2012-03-30 | 2013-10-23 | 北京千橡网景科技发展有限公司 | Wireless location method and device used for mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104703214A (en) | 2015-06-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105431748B (en) | The method and apparatus for determining radio map quality | |
CN103154771B (en) | For the method and apparatus activating position measurement | |
CN105431747B (en) | The method and apparatus classified to the access point in radio map | |
CN110461037B (en) | Dynamic gridding network RTK positioning method and system | |
CN103517405B (en) | A kind of method and system of network positions, mobile terminal and network side equipment | |
US20180203093A1 (en) | Method and Apparatus for Uploading Radio Maps | |
CN104703214B (en) | A kind of positioning and monitoring method and device | |
CN112291844B (en) | Positioning method and device based on MR and MDT | |
US10271218B2 (en) | Enable access point availability prediction | |
CN107071758B (en) | A kind of method and server saving the reference format page | |
CN103607731A (en) | Method and device for processing measurement reports | |
WO2015062088A1 (en) | Method and device for positioning location of terminal | |
WO2015007758A1 (en) | Method and apparatus for efficiently reducing number of access points in a radio map | |
CN105074736B (en) | Support overlay area modeling | |
CN104486729B (en) | Measurement AP selection method and device in a kind of RTT measurement and positioning system | |
CN103152821B (en) | DGPS (Differential Global Positioning System) differential batch service supporting method for managing embedded mobile terminal | |
CN111787584A (en) | Data acquisition method and system based on Internet of things | |
CN105976091A (en) | Individual activity steady state training method under large data environment | |
KR102590145B1 (en) | NPRS measurement method, terminal, and computer-readable storage media | |
CN102300165B (en) | Multi-period and multi-user quick positioning method and device | |
US11916630B2 (en) | Method and apparatus for accelerating estimation of a radio model of a beamforming access point | |
US9736750B2 (en) | Radio communication system and communication control method | |
CN117354732A (en) | Base station position determining method, device and readable storage medium | |
CN105372679A (en) | Method for acquiring assistant positioning information, device and terminal thereof | |
EP2826282A1 (en) | Supporting storage of data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |