CN104270717A - Positional accuracy control device and method - Google Patents

Positional accuracy control device and method Download PDF

Info

Publication number
CN104270717A
CN104270717A CN201410549563.6A CN201410549563A CN104270717A CN 104270717 A CN104270717 A CN 104270717A CN 201410549563 A CN201410549563 A CN 201410549563A CN 104270717 A CN104270717 A CN 104270717A
Authority
CN
China
Prior art keywords
terminal
application
positional
positional information
precision
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.)
Pending
Application number
CN201410549563.6A
Other languages
Chinese (zh)
Inventor
陆多俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410549563.6A priority Critical patent/CN104270717A/en
Publication of CN104270717A publication Critical patent/CN104270717A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/003Locating users or terminals or network equipment for network management purposes, e.g. mobility management locating network equipment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters

Abstract

The invention discloses a positional accuracy control device and method. By obtaining a terminal position information obtaining request sent by an application or an application service provider, a positional accuracy control strategy related to the application or the application service provider is searched for, the terminal position information obtaining request is responded, the position information of a terminal is obtained, accuracy control is carried out on the position information of the terminal according to the positional accuracy control strategy, and the position information, obtained after accuracy control is carried out, of the terminal is output to the application or the application service provider. More flexible position privacy protection is achieved.

Description

A kind of positional precision control device and method
Technical field
The present invention relates to the location privacy protection of terminal, particularly relate to a kind of positional precision control device and method.
Background technology
At present, the application (Application, APP) on mobile terminal such as smart mobile phone lacks location privacy protection mechanism.No matter a lot of APP when mounted, there is no need access location information, all can its access terminal positional information of mandatory requirement subscriber authorisation, otherwise cannot install.If user is to its granted access positional information, so, as long as global positioning system (Global Positioning System, GPS) location-based service or network location service are opened, this APP just can obtain the accurate position of terminal, can real-time tracking user whereabouts, there is very large hidden danger to the privacy of user and safety; If user does not want to allow APP access terminal positional information, this APP can only be unloaded.
Similar, not machine-processed to the Precise control of terminal user position message reference on the gateway of position at present yet, can only do application service provider (Application Service Provider, ASP) and whether allow to obtain position information of user's terminal mandate.Existing position access privilege control mechanism, application or ASP or the positional information of mobile terminal can be accessed, or can not access.Prior art cannot realize meticulousr location privacy protection.
Summary of the invention
Embodiments provide a kind of positional precision control device and method, to realize location privacy protection more flexibly on mobile terminal or location-based service gateway.
On the one hand, provide a kind of positional precision control device, described positional precision control device is applied in mobile terminal or location-based service gateway, and described device comprises:
First acquiring unit, obtains request for the terminal positional information obtaining application or application service provider ASP transmission, and described terminal positional information obtains the mark that described application is carried in request;
Query unit, for the mark according to described application, inquires about the positional precision control strategy corresponding with the mark of described application;
Second acquisition unit, obtaining request for responding described terminal positional information, obtaining the positional information of described terminal;
First adjustment unit, for carrying out precision controlling according to the positional information of described positional precision control strategy to the described terminal obtained;
Output unit, for exporting the positional information of the terminal after carrying out described precision controlling to described application or application service provider ASP.
In the implementation that the first is possible, described first acquiring unit, specifically for amendment application programming interface API, intercepts the described terminal positional information acquisition request that described application sends to operating system.
In conjunction with first aspect, in the implementation that the second is possible, described device also comprises:
Setting unit, for the mark according to described application, arranges the described positional precision control strategy associated with the mark of described application;
Wherein, described positional precision control strategy comprises: strategy execution condition, positional precision or location parameter collection, and described strategy execution condition comprises policing type and precision controlling condition.
In conjunction with the implementation that the second of first aspect is possible, in the implementation that the third is possible, described policing type is time period delegated strategy, and described precision controlling condition comprises the time range of setting;
Described first adjustment unit comprises:
3rd acquiring unit, for when described policing type is time period delegated strategy, obtains the current time of described terminal;
Second adjustment unit, for when the current time of described terminal is positioned at the time range of described setting, amplify according to the zone radius of described positional precision to the positional information of the described terminal obtained, or screen according to the positional information of the described terminal of described location parameter set pair acquisition.
In conjunction with the implementation that the second of first aspect is possible, in the 4th kind of possible implementation, described policing type is area authorization strategy, and described precision controlling condition comprises the regional extent of setting;
Described first adjustment unit specifically for:
When the positional information that described policing type is the described terminal of area authorization strategy and acquisition is positioned at the regional extent of described setting, amplify according to the zone radius of described positional precision to the positional information of the described terminal obtained, or screen according to the positional information of the described terminal of described location parameter set pair acquisition.
In conjunction with the implementation that the second of first aspect is possible, in the 5th kind of possible implementation, described policing type is for press network access mode delegated strategy, and described precision controlling condition comprises at least one network access mode;
Described first adjustment unit comprises:
4th acquiring unit, for when described policing type is for pressing network access mode delegated strategy, obtains the current network access mode of described terminal;
3rd adjustment unit, during for being the network access mode set when the current network access mode of described terminal, adjust according to the zone radius of described positional precision to the positional information of the described terminal obtained, or screen according to the positional information of the described terminal of described location parameter set pair acquisition.
5th kind of possible implementation of the third possible implementation of the implementation possible in conjunction with the second of first aspect or first aspect or the 4th of first aspect the kind of possible implementation or first aspect, in the 6th kind of possible implementation, described output unit carries out described precision adjustment or the positional information according to the terminal after the screening of location parameter collection specifically for exporting to described application.
5th kind of possible implementation of the third possible implementation of the implementation possible in conjunction with the second of first aspect or first aspect or the 4th of first aspect the kind of possible implementation or first aspect or the 6th kind of possible implementation of first aspect, in the 7th kind of possible implementation, described output unit, also for when described strategy execution condition does not meet, exports the positional information of the described terminal obtained to described application.
Second aspect, provides a kind of positional precision control method, and described method is used for carrying out precision controlling to the positional information of the mobile terminal that application obtains, and described method comprises:
Obtain the terminal positional information acquisition request that application sends, described terminal positional information obtains the mark that described application is carried in request;
According to the mark of described application, inquire about the positional precision control strategy corresponding with the mark of described application;
Respond described terminal positional information and obtain request, obtain the positional information of described terminal;
Precision controlling is carried out according to the positional information of described positional precision control strategy to the described terminal obtained;
The positional information of the terminal after carrying out described precision controlling is exported to described application.
In the implementation that the first is possible, the described terminal positional information acquisition request obtaining application and send, is specially:
Amendment application programming interface API, intercepts the described terminal positional information acquisition request that described application sends to operating system.
In conjunction with second aspect, in the implementation that the second is possible, described positional precision control strategy comprises: strategy execution condition, positional precision or location parameter collection, and described strategy execution condition comprises policing type and precision controlling condition.
In conjunction with the implementation that the second of second aspect is possible, in the implementation that the third is possible, described policing type is time period delegated strategy, and described precision controlling condition comprises the time range of setting;
Describedly according to described positional precision control strategy, precision controlling is carried out to the positional information of described terminal obtained, comprising:
When described policing type is time period delegated strategy, obtain the current time of described terminal;
When the current time of described terminal is positioned at the time range of described setting, amplify according to the zone radius of described positional precision to the positional information of the described terminal obtained, or screen according to the positional information of the described terminal of described location parameter set pair acquisition.
In conjunction with the implementation that the second of second aspect is possible, in the 4th kind of possible implementation, described policing type is area authorization strategy, and described precision controlling condition comprises the regional extent of setting;
Describedly according to described positional precision control strategy, precision controlling is carried out to the positional information of described terminal obtained, is specially:
When the positional information that described policing type is the described terminal of area authorization strategy and acquisition is positioned at the regional extent of described setting, amplify according to the zone radius of described positional precision to the positional information of the described terminal obtained, or screen according to the positional information of the described terminal of described location parameter set pair acquisition.
In conjunction with the implementation that the second of second aspect is possible, in the 5th kind of possible implementation, described policing type is for press network access mode delegated strategy, and described precision controlling condition comprises at least one network access mode;
Describedly according to described positional precision control strategy, precision controlling is carried out to the positional information of described terminal obtained, comprising:
When described policing type is for pressing network access mode delegated strategy, obtain the current network access mode of described terminal;
When the current network access mode of described terminal is the network access mode of setting, adjust according to the zone radius of described positional precision to the positional information of the described terminal obtained, or screen according to the positional information of the described terminal of described location parameter set pair acquisition.
5th kind of possible implementation of the third possible implementation of the implementation possible in conjunction with the second of second aspect or second aspect or the 4th of second aspect the kind of possible implementation or second aspect, in the 6th kind of possible implementation, the described positional information exporting the terminal after carrying out described precision controlling to described application, is specially:
The positional information of the terminal after carrying out described precision adjustment is exported to described application; Or
The positional information of the terminal after according to the screening of location parameter collection is exported to described application.
5th kind of possible implementation of the third possible implementation of the implementation possible in conjunction with the second of second aspect or second aspect or the 4th of second aspect the kind of possible implementation or second aspect or the 6th kind of possible implementation of second aspect, in the 7th kind of possible implementation, described method also comprises:
When described strategy execution condition does not meet, export the positional information of the described terminal obtained to described application.
The embodiment of the present invention obtains request by the terminal positional information obtaining application or ASP transmission; inquire about the positional precision control strategy associated with this application or ASP; response terminal positional information obtains request; obtain the positional information of terminal; according to positional precision control strategy, precision controlling is carried out to the positional information of terminal; and the positional information of terminal after controlling to this application or ASP output accuracy, achieve customer location secret protection more flexibly.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The structural representation of a kind of positional precision control device that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is positioned at the schematic diagram of terminal for positional precision control device that the embodiment of the present invention provides;
Fig. 3 is positioned at the schematic diagram of gateway for positional precision control device that the embodiment of the present invention provides;
The structural representation of the another kind of positional precision control device that Fig. 4 provides for the embodiment of the present invention;
Fig. 5 be the positional precision control strategy of one of example application interface schematic diagram is set;
Fig. 6 be the positional precision control strategy of the Another application of example interface schematic diagram is set;
Fig. 7 be the positional precision control strategy of an ASP of example interface schematic diagram is set;
Fig. 8 be the positional precision control strategy of another ASP of example interface schematic diagram is set;
Fig. 9 is that the terminal positional information of example obtains request intercepting schematic diagram;
Figure 10 is the schematic diagram that the zone radius of the terminal positional information of example amplifies;
The structural representation of a kind of execution mode of the first adjustment unit that Figure 11 provides for the embodiment of the present invention;
The flow chart of a kind of positional precision control method that Figure 12 provides for the embodiment of the present invention;
The flow chart of the another kind of positional precision control method that Figure 13 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Referring to Fig. 1, is the structural representation of a kind of positional precision control device that the embodiment of the present invention provides.This device 1000 comprises:
First acquiring unit 11, obtains request for the terminal positional information obtaining application or ASP transmission, and described terminal positional information obtains the mark that described application or ASP are carried in request.
Mobile terminal such as smart mobile phone, panel computer etc. are generally all provided with multiple application above, the positional information of its access terminal of General Requirements subscriber authorisation when installation that what be correlated with in some position be applied in, can be provided the positional information of terminal in mobile terminal (hereinafter referred to as " terminal ") by GPS, cellular network, wifi or other location-based services etc., these application are generally the operating system transmitting terminal positional information acquisition requests to terminal.
The positional precision control device 1000 of the embodiment of the present invention can be the device with isolated operation and control ability in terminal, the assembly that also can combine together with terminal, be controlled by operating system.First acquiring unit 11 can by amendment application programming interface (Application Programming Interface, API) mode, intercepting the terminal positional information acquisition request that application sends to operating system, also can be obtain terminal positional information by the mode of the position enquiring interface of direct rewriting operation system to obtain request.The terminal positional information that first acquiring unit 11 obtains obtains the mark of carrying application in request, as APP title or progress recognizing code (ID) etc.
The positional precision control device 1000 of the embodiment of the present invention can be arranged in user terminal, as shown in Figure 2, can also be arranged on gateway, concrete, can be arranged in location-based service gateway, as shown in Figure 3, now, first acquiring unit 11, the terminal positional information sent for obtaining ASP obtains request, and described terminal positional information obtains the mark that ASP is carried in request.
Query unit 12, for the mark according to described application or ASP, inquires about the positional precision control strategy corresponding with the mark of described application or ASP.
Generally, for different application, different positional precision control strategies can be had, in device 1000, prestore the positional precision control strategy associated with the mark of application according to the mark of each application.Positional precision control strategy comprises strategy execution condition and positional precision, strategy execution condition represents and to perform positional precision corresponding to this positional precision control strategy under this condition and control meeting, positional precision is the adjusted value of the one or more parameters in the positional information of terminal, this positional precision can be that concrete numerical example is as 10 meters, 100 meters, 1000 meters, also can be the statement corresponding with positional precision numerical value, such as high definition, common, rough etc.Such as, positional precision can be the zone radius in positional information, i.e. location area size linear module, depend on the region shape of the original position-information of the terminal that GPS software or location-based service return, for border circular areas, the radius that this positional precision is namely circular, for polygonal region, can get circumscribed circle or inscribed circle radius etc.
Positional precision control strategy also can be strategy execution condition and location parameter collection.Owing to generally comprising longitude, latitude in the original position-information of terminal, can also comprise the parameters such as direction, zone radius, speed and height further, the location parameter collection of different application correspondences can comprise the one or more different parameter in original position-information.
Query unit 12, according to the mark of application, can inquire the positional precision control strategy corresponding with the mark of this application, the positional precision control strategy of also this application i.e..
Second acquisition unit 13, obtaining request for responding described terminal positional information, obtaining the positional information of described terminal.
Second acquisition unit 13 response terminal positional information obtains request, from third party software as GPS software or location-based service etc. obtain the positional information of terminal, this positional information is generally the original position-information of terminal, generally comprise longitude, latitude in original position-information, direction, zone radius, speed and height etc. can also be comprised further.
First adjustment unit 14, for carrying out precision controlling according to the positional information of described positional precision control strategy to the described terminal obtained.
The strategy execution condition, positional precision or the location parameter collection that comprise in the positional precision control strategy of this application inquired according to query unit 12, when first adjustment unit 14 judges that this strategy execution condition meets, carrying out precision adjustment according to the original position-information of this positional precision to the terminal that second acquisition unit 13 obtains or screen according to the original position-information of the terminal of location parameter set pair acquisition, is generally the precision that dips.
As a kind of execution mode; in general; in order to protect the privacy of user; concrete precision adjustment can be some parameter in adjustment original position-information; the position of user is become and is more difficult to search and determine; such as the zone radius of the original position-information of terminal is amplified, make the region comprising terminal home position become large, thus be difficult to the exact position determining user.
As another kind of execution mode; the precision controlling mode of screening is carried out according to the original position-information of the terminal of location parameter set pair acquisition; that is: parameter is adjusted (increasing or reduce some parameter); such as strategy only comprises longitude and latitude; or only comprise speed; only comprise direction etc., protect privacy of user by the number of minimizing or screening-off position information parameter.
Output unit 15, for exporting the positional information of the terminal after carrying out described precision controlling to described application.
Output unit 15 exports the positional information of the terminal after carrying out precision controlling to application; make to send terminal positional information and obtain the positional information that the application of asking can obtain a terminal; thus application can normally be run; but obtain be through precision adjustment after or parameter set adjustment/screening after positional information; in general; by the scheme of the embodiment of the present invention; can make to apply the terminal location precision obtained to reduce; thus make application be difficult to follow the tracks of user's whereabouts, protect location privacy and the safety of user.
For different ASP, positional precision control strategy that also can be corresponding different equally, in device 1000, has prestored the positional precision control strategy associated with the mark of ASP according to the mark of each ASP., now, positional precision control device 1000 is positioned on gateway, concrete positional precision control method and aforementioned on the subscriber terminal to application positional precision control strategy similar, do not repeat them here.
Visible, according to a kind of positional precision control device that the embodiment of the present invention provides, request is obtained by the terminal positional information obtaining application or ASP transmission, inquire about the positional precision control strategy associated with this application or ASP, response terminal positional information obtains request, obtain the positional information of terminal, according to positional precision control strategy, precision controlling is carried out to the positional information of terminal, and the positional information of terminal after controlling to this application or ASP output accuracy, although make APP or ASP in terminal can obtain the positional information of terminal, but the positional information obtained has been through the positional information after precision adjustment or the adjustment of location parameter collection, achieve location privacy protection more flexibly.
Referring to Fig. 4, is the structural representation of the another kind of positional precision control device that the embodiment of the present invention provides.This device 2000 comprises:
Setting unit 21, for according to application or the mark of ASP, arranges the described positional precision control strategy associated with the mark of described application or ASP; Wherein, described positional precision control strategy comprises: strategy execution condition, positional precision or location parameter collection, and described strategy execution condition comprises policing type and precision controlling condition.
Be provided with multiple APP in terminal, in general, each APP has the symbol that uniquely can identify this APP in terminal operating environment, such as APP title or process ID etc.Setting unit 21 is according to the mark of multiple application, the described positional precision control strategy associated with the mark of application is set, and positional precision control strategy comprises: strategy execution condition, positional precision or location parameter collection, strategy execution condition comprises again policing type and precision controlling condition.Similar, for different ASP, user or external location information authoring system also can identify the different positional precision control strategy of association according to different ASP in a gateway.
Wherein, policing type refers to policy class, comprise: time period delegated strategy, area authorization strategy and by network access mode delegated strategy etc., precision controlling condition refers under current strategies classification, need the condition performing precision controlling, such as, under time period delegated strategy, precision controlling condition is the time range of setting; Under area authorization strategy, precision controlling condition is the regional extent of setting; Pressing network access mode delegated strategy, precision controlling condition is the network access mode of setting.
Wherein, positional precision is the adjusted value of the one or more parameters in the positional information of terminal, in the present embodiment, positional precision is zone radius, i.e. location area size linear module, depends on the region shape of the original position-information of the terminal that GPS software or location-based service return, for border circular areas, the radius that this positional precision is namely circular, for polygonal region, can get circumscribed circle or inscribed circle radius etc.; Location parameter collection is the one or more parameters in the original position-information of terminal, such as: longitude, latitude, direction, zone radius, speed and height etc., the location parameter collection of different application correspondences can comprise the one or more different parameter in original position-information.
Be adjusted to example to carry out positional precision, these parameters that setting unit 21 is arranged can store in the terminal with the form of tables of data.Positional precision control scheme list as shown in table 1:
The positional precision control scheme list of table 1 example
Have two time period delegated strategies to APP1 in table 1, one is that be amplified to 5000m to the positional precision that APP1 gets, another is between 12 o'clock to 14 o'clock, is amplified to 1000 meters to the positional precision that APP1 gets evening 8 to early between 8.There is a geographic area delegated strategy to APP2: when terminal equipment is positioned at north latitude 32.001671, when 1000 meters, east longitude 118.756714 periphery is with inner region, 6000 meters are amplified to the positional precision that APP2 gets.
Similar, a typical ASP precision authorization list is as follows, as shown in table 2 below:
Have two time period delegated strategies to ASP1 in table 2, one is that be amplified to 5000m to the positional precision that ASP1 gets, another is between 12 o'clock to 14 o'clock, is amplified to 1000 meters to the positional precision that ASP1 gets evening 8 to early between 8.There is a geographic area delegated strategy to ASP2: when terminal equipment is positioned at north latitude 32.001671, when 1000 meters, east longitude 118.756714 periphery is with inner region, 6000 meters are amplified to the positional precision that ASP2 gets.
As shown in Figure 5, be one application positional precision control strategy interface schematic diagram is set, for the APP being designated APP1, policing type is time period delegated strategy, by between 20:00 to the 08:00 of every day positional precision control be 2000 meters.
As shown in Figure 6, for Another application positional precision control strategy interface schematic diagram is set, for the APP being designated APP2, policing type is area authorization strategy, a geographic area (north latitude 32.001671 degree delimited for APP2, east longitude 118.75671 degree, radius 5000m), and positional precision is carried out to this region control to be 3000 meters.
Similar, as shown in Fig. 7, Fig. 8, for arranging interface schematic diagram to the positional precision control strategy of ASP1 and ASP2 on the gateway of position, Fig. 7 is policing type is time period strategy, and Fig. 8 policing type is geographic area strategy.Concrete set-up mode is as shown in Fig. 7, Fig. 8.
Also time period delegated strategy and area authorization strategy can be combined, namely policing type is time period and area authorization strategy, precision controlling condition comprises time and the regional extent of setting, when meeting this precision controlling condition, carries out precision controlling to the positional information of the terminal obtained.
First administrative unit 22, for carrying out the first control operation to the positional precision control strategy of any one application or ASP, described first controls manipulation comprises: the positional precision control strategy starting or close any one application or ASP.
First administrative unit 22 can also the positional precision control strategy of each application or ASP be carried out starting or closing, namely manage from the system-level positional precision control strategy to application or ASP, such as, the place of APP mark in Table 1, be set to ALL, represent the positional precision control strategy opening all APP, the place of ASP mark in table 2, be set to ALL, represent the positional precision control strategy opening all ASP.
Second administrative unit 23, for for each application or ASP, carry out the second control operation to the positional precision control strategy of described each application, described second control operation comprises: the positional precision control strategy increasing, delete and revise described each application.
Second administrative unit 23 can carry out increasing, delete and revising for the positional precision control strategy of each application or ASP, namely increase, delete or any one parameter in location revision precision controlling strategy, such as policing type, precision controlling conditioned disjunction positional precision, or increase, delete whole piece positional precision control strategy.
Particularly, a user interface that can be provided by this device 2000, makes user arrange position precision controlling strategy and to manage.
First acquiring unit 24, obtains request for the terminal positional information obtaining application or ASP transmission, and described terminal positional information obtains the mark that described application or ASP are carried in request.
Device 2000 is positioned to the situation on user terminal,
As a kind of execution mode, the first acquiring unit 24, specifically for amendment application programming interface API, intercepts the described terminal positional information acquisition request that application sends to operating system.
As shown in Figure 9, terminal positional information for example obtains request and intercepts schematic diagram, terminal positional information obtains request intercepting and falls by the interface IP address amendment of system, be revised as the positional interface address of device 2000, particularly, in Fig. 5,0x6022 is revised as by 0x7A10 in the entry address that terminal positional information obtains request " get location ", thus got the terminal positional information acquisition request of application by the first acquiring unit 24 of device 2000, and carry out subsequent treatment.
As another kind of execution mode, first acquiring unit 24 also can be the mode of the position enquiring interface of direct rewriting operation system, do not need the interception doing system call, the positional interface directly system provided rewrites, and realizes precision authorization query, precision controlling process in the interface rewritten.
Query unit 25, for the mark according to described application or ASP, inquires about the positional precision control strategy corresponding with the mark of described application or ASP.
Owing to arranging by the positional precision control strategy of each application in aforesaid setting unit 21, first administrative unit 22 and the second administrative unit 23 pairs of terminals or ASP and managing, query unit 25, according to application or the mark of ASP, can inquire the positional precision control strategy corresponding with the mark of this application.
Second acquisition unit 26, obtaining request for responding described terminal positional information, obtaining the positional information of described terminal.
Second acquisition unit 26 response terminal positional information obtains request, from third party software as GPS software or location-based service etc. obtain the positional information of terminal, this positional information is the original position-information of terminal, generally comprise longitude, latitude in original position-information, direction, zone radius, speed and height etc. can also be comprised further.As in Fig. 9, second acquisition unit 26 obtains the original position-information of terminal from the interface IP address 0x7A10 of system by system call " Call By Address (0x7A10) ".
First adjustment unit 27, for carrying out precision controlling according to the positional information of described positional precision control strategy to the described terminal obtained.
In embodiments of the present invention, the first adjustment unit 27 comprises the 3rd acquiring unit 271 and the second adjustment unit 272.
3rd acquiring unit 271, for when described policing type is time period delegated strategy, obtains the current time of described terminal.
Second adjustment unit 272, for when the current time of described terminal is positioned at the time range of described setting, amplify according to the zone radius of described positional precision to the positional information of the described terminal obtained, or screen according to the positional information of the described terminal of described location parameter set pair acquisition.
When the policing type of the positional precision control strategy inquiring this application or ASP is time period delegated strategy, the 3rd acquiring unit 271 obtains the current time of terminal.Device 2000 is arranged in terminal or an assembly for terminal, can be obtained the current time of terminal, do not repeat them here by existing mode.
As shown in Figure 5, being the example of carrying out precision adjustment according to time period delegated strategy, having inquired a time period delegated strategy: for APP1 according to the time period for APP1, is 2000 meters by the positional precision mandate between 20:00 to the 08:00 of every day.If current time is between 20:00 to 08:00, then 2000 meters are adjusted to the zone radius of the original position-information of the terminal that second acquisition unit 26 obtains; If current time is not between 20:00 to 08:00, then the zone radius of the original position-information of the terminal obtained is not adjusted.Precision adjustment for ASP also can similar enforcement on gateway, and the embodiment of the present invention repeats no more.
Positional information for the terminal obtained according to location parameter set pair carries out the precision controlling mode of screening; that is: location parameter is adjusted (increasing or reduce some parameter); such as strategy only comprises longitude and latitude; or only comprise speed; only comprise direction etc., protect privacy of user by the number of minimizing or screening-off position information parameter.
As another kind of execution mode, when first adjustment unit is positioned at the regional extent of described setting specifically for the positional information of the described terminal when described policing type being area authorization strategy and acquisition, amplify according to the zone radius of described positional precision to the positional information of the described terminal obtained, or screen according to the positional information of the described terminal of described location parameter set pair acquisition.
As shown in Figure 6, be the example of carrying out precision adjustment according to area authorization strategy, a geographic area (north latitude 32.001671 degree, east longitude 118.75671 degree delimited for APP2, radius 5000m), and to carry out positional precision mandate to this region be 3000 meters.Judge whether the home position of the terminal that second acquisition unit 26 obtains is positioned within the band of position of the setting of this delegated strategy.If terminal is now in the band of position (north latitude 32.001671 degree of this setting, east longitude 118.75671 degree, the circle of radius 5000m) within, then the zone radius of the original position-information of the terminal obtained by second acquisition unit 26 is amplified to the region of 3000 meters, returns to APP2.If not within the band of position of delegated strategy, then do not carry out the amplification of zone radius.Precision adjustment for ASP also can similar enforcement on gateway, and the embodiment of the present invention repeats no more.
Positional information for the terminal obtained according to location parameter set pair carries out the precision controlling mode of screening, and in this embodiment, just policing type is different with precision controlling condition, and its precision controlling mode is consistent with aforementioned embodiments.
As another execution mode, as shown in figure 11, the structural representation of a kind of execution mode of the first adjustment unit provided for the embodiment of the present invention, this first adjustment unit 37 comprises the 4th acquiring unit 371 and the 3rd adjustment unit 372.
4th acquiring unit 371, for when described policing type is for pressing network access mode delegated strategy, obtains the current network access mode of described terminal.
3rd adjustment unit 372, during for being the network access mode set when the current network access mode of described terminal, adjust according to the zone radius of described positional precision to the positional information of the described terminal obtained, can be zoom in or out, or screen according to the positional information of the described terminal of described location parameter set pair acquisition.
The network access mode of terminal has multiple, such as 3G, Wi-Fi, 2G etc., and the 4th acquiring unit 371 by the network access mode of existing technical limit spacing terminal, can not repeat them here.In general, when map data information is in terminal positioning by network Real-time Obtaining, due to the map data information size that the map data information of different scale is corresponding different, network insertion speed can have larger impact to the precision of map, when access speed is slower, engineer's scale corresponding to map data information obtained can be comparatively large thus cartographic information is more rough, when access speed is very fast, the engineer's scale that the map data information of acquisition is corresponding can be less, thus cartographic information is more accurate, like this, be 3G at network access mode, when 4G or Wi-Fi, due to reasons such as network speed are very fast and unit data rate are lower, can comparatively fast obtain more accurate map information data, then positioning precision can be higher, and when 2G or poor signal, precision can adjust lower.Such as, carry out positional precision control strategy when arranging, regulation is when network access mode is 2G, the zone radius of the positional information of the terminal obtained is amplified, then when to get current network access mode be 2G to the 4th acquiring unit 371, the 3rd adjustment unit 372 amplifies according to the zone radius of positional precision to the positional information of the terminal obtained.
Be enlarged into example with zone radius, Figure 10 is the schematic diagram that the zone radius of the terminal positional information of example amplifies, and the process of amplification is: generate a geographic area according to positional precision, makes the band of position that this region overlay terminal returns.The method generating geographic area can have multiple.Simply, on any direction of center (O) in situ, choose arbitrarily a bit as the center, geographic area (P) generated, the distance of O to P (OP) is added, and original position radius (r) is not more than mandate precision R, that is: OP+r≤R.
Magnification region take P as the center of circle, with the circle of authorizing precision R to be radius.Like this, the geographic area of generation covers original position region, and the uncertainty of terminal location adds (the possible position region of terminal has been exaggerated), achieves the protection of location privacy.In addition, in order to keep the directional information in original position information as far as possible, the direction of the positional information after amplification, picks and places large rear region center, points to original position dead ahead point (such as, the intersection point at original position dead ahead and magnification region edge).Height in original position information and velocity information, selectively do and change, and also can change.
Output unit 28, for exporting the positional information of the terminal after carrying out described precision controlling to described application.
Output unit 28 carries out described precision adjustment or the positional information according to the terminal after the screening of location parameter collection specifically for exporting to described application.
Output unit 28, also for when described strategy execution condition does not meet, exports the positional information of the described terminal obtained to described application.
When precision controlling condition meets, the positional information of the terminal after output unit 28 output accuracy controls, otherwise, the original position-information of outlet terminal.Thus make to be applied in the positional information that can receive in any case and return; thus can normally run; but if positional information precision controlling has been carried out to this application; the positional information then obtained is through the positional information after precision adjustment or location parameter screening; in general, by the scheme of the embodiment of the present invention, can make to apply the terminal location precision obtained and reduce; thus make application be difficult to follow the tracks of user's whereabouts, protect location privacy and the safety of user.Precision adjustment for ASP also can similar enforcement on gateway, and the embodiment of the present invention repeats no more.
Visible, according to a kind of positional precision control device that the embodiment of the present invention provides, request is obtained by the terminal positional information obtaining application or ASP transmission, inquire about the positional precision control strategy associated with this application or ASP, response terminal positional information obtains request, obtain the positional information of terminal, the positional precision comprised according to positional precision control strategy is carried out precision adjustment to the positional information of terminal or is screened according to the positional information of location parameter set pair terminal, and to the positional information of terminal after this application or the adjustment of ASP output accuracy or the adjustment of location parameter collection, positional precision control device is positioned to the situation in terminal, the APP in terminal can be made to obtain the positional information of terminal, but precision controlling has been carried out to the positional information obtained, thus both ensure that the APP energy normal mounting in terminal and operation, protect again the location privacy of user, positional precision control device is positioned to the situation on gateway, can realizes carrying out Precise control to the retrievable terminal positional information of ASP, achieve location privacy protection more flexibly.
Referring to Figure 12, is the flow chart of a kind of positional precision control method that the embodiment of the present invention provides.The method comprises the following steps:
Step S101, the terminal positional information obtaining application or ASP transmission obtains request, and described terminal positional information obtains the mark that described application or ASP are carried in request.
Mobile terminal such as smart mobile phone, panel computer etc. are generally all provided with multiple application above, the positional information of its access terminal of General Requirements subscriber authorisation time these are applied in installation, can be provided the positional information of terminal in mobile terminal (hereinafter referred to as " terminal ") by GPS, cellular network, wifi or other location-based services etc., these application are generally the operating system transmitting terminal positional information acquisition requests to terminal.
Step S101 can be by amendment application programming interface (Application Programming Interface, API) mode, intercepting the terminal positional information acquisition request that application sends to operating system, also can be obtain terminal positional information by the mode of the position enquiring interface of direct rewriting operation system to obtain request.The terminal positional information obtained obtains the mark of carrying application in request, as APP title or progress recognizing code (ID) etc.
The method of the embodiment of the present invention also can be applied on gateway, concrete, can be embodied in location-based service gateway, and what now step S101 obtained is that the terminal positional information that ASP sends obtains request, and described terminal positional information obtains the mark that ASP is carried in request.
Step S102, according to the mark of described application or ASP, inquires about the positional precision control strategy corresponding with the mark of described application or ASP.
Generally, for different application or ASP, different positional precision control strategies can be had, the positional precision control strategy associated with the mark of application or ASP has been prestored according to the mark of each application or ASP, positional precision control strategy comprises strategy execution condition and positional precision, strategy execution condition represents and to perform positional precision corresponding to this positional precision control strategy under this condition and control meeting, positional precision is the adjusted value of the one or more parameters in the positional information of terminal, this positional precision can be that concrete numerical example is as 10 meters, 100, 1000 meters, also can be the statement corresponding with positional precision numerical value, such as high definition, common, rough etc.Such as, positional precision can be the zone radius in positional information, i.e. location area size linear module, depend on the region shape of the original position-information of the terminal that GPS software or location-based service return, for border circular areas, the radius that this positional precision is namely circular, for polygonal region, can get circumscribed circle or inscribed circle radius etc.
Positional precision control strategy also can be strategy execution condition and location parameter collection.Owing to generally comprising longitude, latitude in the original position-information of terminal, can also comprise the parameters such as direction, zone radius, speed and height further, the location parameter collection of different application correspondences can comprise the one or more different parameter in original position-information.
In this step, according to application or the mark of ASP, the positional precision control strategy corresponding with the mark of this application or ASP can be inquired, also the positional precision control strategy of i.e. this application or ASP.
Step S103, responds described terminal positional information and obtains request, obtain the positional information of described terminal.
Response terminal positional information obtains request, from third party software as GPS software or location-based service etc. obtain the positional information of terminal, this positional information is generally the original position-information of terminal, generally comprise longitude, latitude in original position-information, direction, zone radius, speed and height etc. can also be comprised further.
It should be noted that, in the present embodiment, do not limit the execution sequence of step S102 and step S103.
Step S104, carries out precision controlling according to the positional information of described positional precision control strategy to the described terminal obtained.
According to the strategy execution condition, positional precision or the location parameter collection that comprise in the positional precision control strategy of this application inquired or ASP, when judging that this strategy execution condition meets, carrying out precision adjustment according to the original position-information of this positional precision to the terminal obtained or screen according to the original position-information of the terminal of location parameter set pair acquisition, is generally the precision that dips.
As a kind of execution mode; in general; in order to protect the privacy of user; concrete precision adjustment is some parameter in adjustment original position-information; the position of user is become and is more difficult to search and determine; such as the zone radius of the original position-information of terminal is amplified, make the region comprising terminal home position become large, thus be difficult to the exact position determining user.
As another kind of execution mode; the precision controlling mode of screening is carried out according to the original position-information of the terminal of location parameter set pair acquisition; that is: parameter is adjusted (increasing or reduce some parameter); such as strategy only comprises longitude and latitude; or only comprise speed; only comprise direction etc., protect privacy of user by the number of minimizing or screening-off position information parameter.
Step S105, exports the positional information of the terminal after carrying out described precision controlling to described application or ASP.
The positional information of the terminal after carrying out precision controlling is exported to application; make to send terminal positional information and obtain the positional information that the application of asking can obtain a terminal; thus application can normally be run; but obtain be through precision adjustment after or parameter set adjustment/screening after positional information; in general; by the scheme of the embodiment of the present invention; can make to apply the terminal location precision obtained to reduce; thus make application be difficult to follow the tracks of user's whereabouts, protect location privacy and the safety of user.
The positional information of the terminal after carrying out precision controlling is exported to ASP; make to send terminal positional information and obtain the positional information that the ASP asked can obtain a terminal; but obtain be through precision adjustment after or parameter set adjustment/screening after positional information; in general; by the scheme of the embodiment of the present invention; the terminal location precision that ASP can be made to obtain reduces; thus make ASP be difficult to follow the tracks of user's whereabouts; protect location privacy and the safety of user, also make user more flexible and convenient for the control of oneself positional information.
Visible; according to a kind of positional precision control method that the embodiment of the present invention provides; request is obtained by the terminal positional information obtaining application or ASP transmission; inquire about the positional precision control strategy associated with this application or ASP; response terminal positional information obtains request; obtain the positional information of terminal; according to positional precision control strategy, precision controlling is carried out to the positional information of terminal; and the positional information of terminal after controlling to this application or ASP output accuracy;, achieve location privacy protection more flexibly.
Referring to Figure 13, is the flow chart of the another kind of positional precision control method that the embodiment of the present invention provides.The method comprises the following steps:
Step S201, carries out the first control operation to the positional precision control strategy of any one application in terminal, and described first controls manipulation comprises: the positional precision control strategy starting or close any one application in described terminal.
Be provided with multiple APP in terminal, in general, each APP has the symbol that uniquely can identify this APP in terminal operating environment, such as APP title or process ID etc.In this step, according to the mark of multiple application, arrange the described positional precision control strategy associated with the mark of application, and positional precision control strategy comprises: strategy execution condition, positional precision or location parameter collection, strategy execution condition comprises again policing type and precision controlling condition.
Wherein, policing type refers to policy class, comprise: time period delegated strategy, area authorization strategy and by network access mode delegated strategy etc., precision controlling condition refers under current strategies classification, need the condition performing precision controlling, such as, under time period delegated strategy, precision controlling condition is the time range of setting; Under area authorization strategy, precision controlling condition is the regional extent of setting; Pressing network access mode delegated strategy, precision controlling condition is the network access mode of setting.
Wherein, positional precision is the adjusted value of the one or more parameters in the positional information of terminal, in the present embodiment, positional precision is zone radius, i.e. location area size linear module, depends on the region shape of the original position-information of the terminal that GPS software or location-based service return, for border circular areas, the radius that this positional precision is namely circular, for polygonal region, can get circumscribed circle or inscribed circle radius etc.; Location parameter collection is the one or more parameters in the original position-information of terminal, such as: longitude, latitude, direction, zone radius, speed and height etc., the location parameter collection of different application correspondences can comprise the one or more different parameter in original position-information.
Be adjusted to example to carry out positional precision, these parameters arranged in this step can store in the terminal with the form of tables of data.Positional precision control scheme list as shown in table 1.
As shown in Figure 5, be one application positional precision control strategy interface schematic diagram is set, for the APP being designated APP1, policing type is time period delegated strategy, by between 20:00 to the 08:00 of every day positional precision control be 2000 meters.
As shown in Figure 6, for Another application positional precision control strategy interface schematic diagram is set, for the APP being designated APP2, policing type is area authorization strategy, a geographic area (north latitude 32.001671 degree delimited for APP2, east longitude 118.75671 degree, radius 5000m), and positional precision is carried out to this region control to be 3000 meters.
Also time period delegated strategy and area authorization strategy can be combined, namely policing type is time period and area authorization strategy, precision controlling condition comprises time and the regional extent of setting, when meeting this precision controlling condition, carries out precision controlling to the positional information of the terminal obtained.
Can the positional precision control strategy of each application in terminal be started or be closed, namely manage from the system-level positional precision control strategy to application, such as, the place of APP mark in Table 1, be set to ALL, represent the positional precision control strategy opening all APP.
Step S202, for each application in terminal, carry out the second control operation to the positional precision control strategy of described each application, described second control operation comprises: the positional precision control strategy increasing, delete and revise described each application.
Can carry out increasing, delete and revising for the positional precision control strategy of each application, namely increase, delete or any one parameter in location revision precision controlling strategy, such as policing type, precision controlling conditioned disjunction positional precision, or increase, delete whole piece positional precision control strategy.
Particularly, can, by providing a user interface, user be made to arrange position precision controlling strategy and to manage.
Step S203, amendment application programming interface API, intercept the described terminal positional information acquisition request that described application sends to operating system, described terminal positional information obtains the mark that described application is carried in request.
As shown in Figure 9, terminal positional information for example obtains request and intercepts schematic diagram, terminal positional information obtains request intercepting and falls by the interface IP address amendment of system, be revised as the positional interface address of device 2000, particularly, in Fig. 9,0x6022 is revised as by 0x7A10 in the entry address that terminal positional information obtains request " get location ", thus got the terminal positional information acquisition request of application by the first acquiring unit 24 of device 2000, and carry out subsequent treatment.
As another kind of execution mode, step S204 also can be the mode of the position enquiring interface of direct rewriting operation system, do not need the interception doing system call, the positional interface directly system provided rewrites, and realizes precision authorization query, precision controlling process in the interface rewritten.
Step S204, according to the mark of described application, inquires about the positional precision control strategy corresponding with the mark of described application.
Owing to arranging by the positional precision control strategy of step above to each application in terminal and managing, in this step, according to the mark of application, the positional precision control strategy corresponding with the mark of this application can be inquired.
Step S205, responds described terminal positional information and obtains request, obtain the positional information of described terminal.
Response terminal positional information obtains request, from third party software as GPS software or location-based service etc. obtain the positional information of terminal, this positional information is the original position-information of terminal, generally comprise longitude, latitude in original position-information, direction, zone radius, speed and height etc. can also be comprised further.As in Fig. 5, obtained the original position-information of terminal from the interface IP address 0x7A10 of system by system call " Call By Address (0x7A10) ".
Step S206, when described policing type is time period delegated strategy, obtain the current time of described terminal, described precision controlling condition comprises the time range of setting.
Step S207, judges whether the current time of described terminal is positioned at the time range of described setting, if so, then goes to step S211; Otherwise, go to step S213.
When the policing type of the positional precision control strategy inquiring this application is time period delegated strategy, obtains the current time of terminal, the current time of terminal can be obtained by existing mode, do not repeat them here.
As shown in Figure 5, being the example of carrying out precision adjustment according to time period delegated strategy, having inquired a time period delegated strategy: for APP1 according to the time period for APP1, is 2000 meters by the positional precision mandate between 20:00 to the 08:00 of every day.If current time is between 20:00 to 08:00, then 2000 meters are adjusted to the zone radius of the original position-information of the terminal obtained; If current time is not between 20:00 to 08:00, then the zone radius of the original position-information of the terminal obtained is not adjusted.
Step S208, when described policing type is area authorization strategy, described precision controlling condition comprises the regional extent of setting, judges whether the positional information of the described terminal obtained is positioned at the regional extent of described setting, if so, then goes to step S211; Otherwise, go to step S213.
As shown in Figure 6, be the example of carrying out precision adjustment according to area authorization strategy, a geographic area (north latitude 32.001671 degree, east longitude 118.75671 degree delimited for APP2, radius 5000m), and to carry out positional precision mandate to this region be 3000 meters.Judge whether the home position of the terminal obtained is positioned within the band of position of the setting of this delegated strategy.If terminal is now in the band of position (north latitude 32.001671 degree of this setting, east longitude 118.75671 degree, the circle of radius 5000m) within, then the zone radius of the original position-information of the terminal of acquisition is amplified to the region of 3000 meters, returns to APP2.If not within the band of position of delegated strategy, then do not carry out the amplification of zone radius.
Step S209, when described policing type is for pressing network access mode delegated strategy, obtains the current network access mode of described terminal.
Step S210, judges whether the current network access mode of described terminal is the network access mode set, if so, then goes to step S211; Otherwise, go to step S213.
The network access mode of terminal has multiple, such as 3G, Wi-Fi, 2G etc., by the network access mode of existing technical limit spacing terminal, can not repeat them here.In general, when map data information is in terminal positioning by network Real-time Obtaining, due to the map data information size that the map data information of different scale is corresponding different, network insertion speed can have larger impact to the precision of map, when access speed is slower, engineer's scale corresponding to map data information obtained can be comparatively large thus cartographic information is more rough, when access speed is very fast, the engineer's scale that the map data information of acquisition is corresponding can be less, thus cartographic information is more accurate, like this, be 3G at network access mode, when 4G or Wi-Fi, due to reasons such as network speed are very fast and unit data rate are lower, can comparatively fast obtain more accurate map information data, then positioning precision can be higher, and when 2G or poor signal, precision can adjust lower.Such as, carry out positional precision control strategy when arranging, regulation is when network access mode is 2G, the zone radius of the positional information of the terminal obtained is amplified, then when getting current network access mode and being 2G, amplify according to the zone radius of positional precision to the positional information of the terminal obtained.
Step S211, adjusts according to the zone radius of described positional precision to the positional information of the described terminal obtained, or screens according to the positional information of the described terminal of described location parameter set pair acquisition.
Be enlarged into example with zone radius, Figure 10 is the schematic diagram that the zone radius of the terminal positional information of example amplifies, and the process of amplification is: generate a geographic area according to positional precision, makes the band of position that this region overlay terminal returns.The method generating geographic area can have multiple.Simply, on any direction of center (O) in situ, choose arbitrarily a bit as the center, geographic area (P) generated, the distance of O to P (OP) is added, and original position radius (r) is not more than mandate precision R, that is: OP+r≤R.
Magnification region take P as the center of circle, with the circle of authorizing precision R to be radius.Like this, the geographic area of generation covers original position region, and the uncertainty of terminal location adds (the possible position region of terminal has been exaggerated), achieves the protection of location privacy.In addition, in order to keep the directional information in original position information as far as possible, the direction of the positional information after amplification, picks and places large rear region center, points to original position dead ahead point (such as, the intersection point at original position dead ahead and magnification region edge).Height in original position information and velocity information, selectively do and change, and also can change.
Positional information for the terminal obtained according to location parameter set pair carries out the precision controlling mode of screening; that is: location parameter is adjusted (increasing or reduce some parameter); such as strategy only comprises longitude and latitude; or only comprise speed; only comprise direction etc., protect privacy of user by the number of minimizing or screening-off position information parameter.
Step S212, exports the positional information of the terminal after carrying out described precision controlling to described application, or exports the positional information of the terminal after according to the screening of location parameter collection to described application.
Step S213, exports the positional information of the described terminal obtained to described application.
When precision controlling condition meets, the positional information of the terminal after output accuracy adjustment, otherwise, the original position-information of outlet terminal.Thus make to be applied in the positional information that can receive in any case and return; thus can normally run; but if positional information precision controlling has been carried out to this application; the positional information then obtained is through the positional information after precision adjustment or location parameter screening; in general, by the scheme of the embodiment of the present invention, can make to apply the terminal location precision obtained and reduce; thus make application be difficult to follow the tracks of user's whereabouts, protect location privacy and the safety of user.
Visible, according to a kind of positional precision control method that the embodiment of the present invention provides, the terminal positional information sent by obtaining application obtains request, the positional precision control strategy of inquiry and this association, response terminal positional information obtains request, obtain the positional information of terminal, the positional precision comprised according to positional precision control strategy is carried out precision adjustment to the positional information of terminal or is screened according to the positional information of location parameter set pair terminal, and to the positional information of terminal after the adjustment of this application output accuracy or the adjustment of location parameter collection, make the APP in terminal can obtain the positional information of terminal, but what obtain is positional information after having carried out precision controlling, thus both ensure that the APP energy normal mounting in terminal and operation, protect again the location privacy of user, achieve location privacy protection more flexibly.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention can use hardware implementing, or firmware realizes, or their compound mode realizes.When implemented in software, above-mentioned functions can be stored in computer-readable medium or as the one or more instruction on computer-readable medium or code and transmit.Computer-readable medium comprises computer-readable storage medium and communication media, and wherein communication media comprises any medium being convenient to transmit computer program from a place to another place.Storage medium can be any usable medium that computer can access.As example but be not limited to: computer-readable medium can comprise random access memory (Random Access Memory, RAM), read-only memory (Read-Only Memory, ROM), EEPROM (Electrically Erasable Programmable Read Only Memo) (Electrically Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, or other optical disc storage CD-ROM), magnetic disk storage medium or other magnetic storage apparatus, or the program code that can be used in carrying or storing the expectation with instruction or data structure form also can by any other medium of computer access.In addition.Any connection can be suitable become computer-readable medium.Such as, if software uses coaxial cable, optical fiber cable, twisted-pair feeder, Digital Subscriber Line (Digital Subscriber Line, DSL) or the wireless technology of such as infrared ray, radio and microwave and so on from website, server or other remote source, so the wireless technology of coaxial cable, optical fiber cable, twisted-pair feeder, DSL or such as infrared ray, wireless and microwave and so on be included in affiliated medium fixing in.As used in the present invention, dish (Disk) and dish (disc) comprise compression laser disc (CD), laser dish, laser disc, Digital Versatile Disc (DVD), floppy disk and Blu-ray Disc, the copy data of the usual magnetic of its mid-game, dish then carrys out the copy data of optics with laser.Combination above also should be included within the protection range of computer-readable medium.
In a word, the foregoing is only the preferred embodiment of technical solution of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (18)

1. a positional precision control device, described positional precision control device is applied in mobile terminal or location-based service gateway, it is characterized in that, described device comprises:
First acquiring unit, obtains request for the terminal positional information obtaining application or application service provider's transmission, and described terminal positional information obtains the mark that described application or application service provider are carried in request;
Query unit, for the mark according to described application or application service provider, inquires about the positional precision control strategy corresponding with the mark of described application or application service provider;
Second acquisition unit, obtaining request for responding described terminal positional information, obtaining the positional information of described terminal;
First adjustment unit, for carrying out precision controlling according to the positional information of described positional precision control strategy to the described terminal obtained;
Output unit, for exporting the positional information of the terminal after carrying out described precision controlling to described application or application service provider.
2. device as claimed in claim 1, it is characterized in that, when described positional precision control device is applied in mobile terminal, described first acquiring unit, specifically for amendment application programming interface API, intercepts the described terminal positional information acquisition request that described application sends to operating system.
3. device as claimed in claim 1, it is characterized in that, described device also comprises:
Setting unit, for the mark according to described application or application service provider, arranges the described positional precision control strategy associated with the mark of described application or application service provider;
Wherein, described positional precision control strategy comprises: strategy execution condition, positional precision or location parameter collection, and described strategy execution condition comprises policing type and precision controlling condition.
4. device as claimed in claim 3, it is characterized in that, described policing type is time period delegated strategy, and described precision controlling condition comprises the time range of setting;
Described first adjustment unit comprises:
3rd acquiring unit, for when described policing type is time period delegated strategy, obtains current time;
Second adjustment unit, for when described current time is positioned at the time range of described setting, amplify according to the zone radius of described positional precision to the positional information of the described terminal obtained, or screen according to the positional information of the described terminal of described location parameter set pair acquisition.
5. device as claimed in claim 3, it is characterized in that, described policing type is area authorization strategy, and described precision controlling condition comprises the regional extent of setting;
Described first adjustment unit specifically for:
When the positional information that described policing type is the described terminal of area authorization strategy and acquisition is positioned at the regional extent of described setting, amplify according to the zone radius of described positional precision to the positional information of the described terminal obtained, or screen according to the positional information of the described terminal of described location parameter set pair acquisition.
6. device as claimed in claim 3, it is characterized in that, described policing type is for press network access mode delegated strategy, and described precision controlling condition comprises at least one network access mode;
Described first adjustment unit comprises:
4th acquiring unit, for when described policing type is for pressing network access mode delegated strategy, obtains the current network access mode of described terminal;
3rd adjustment unit, during for being the network access mode set when the current network access mode of described terminal, adjust according to the zone radius of described positional precision to the positional information of the described terminal obtained, or screen according to the positional information of the described terminal of described location parameter set pair acquisition.
7. the device as described in claim 3-6 any one, is characterized in that, described output unit carries out described precision adjustment or the positional information according to the terminal after the screening of location parameter collection specifically for exporting to described application or application service provider.
8. the device as described in claim 3-7 any one, is characterized in that, described output unit also for when described strategy execution condition does not meet, exports the positional information of the described terminal of acquisition to described application or application service provider.
9. the device as described in claim 1-8 any one, is characterized in that, when described positional precision control device is applied in mobile terminal, described device also comprises:
First administrative unit, for carrying out the first control operation to the positional precision control strategy of any one application in terminal, described first controls manipulation comprises: the positional precision control strategy starting or close any one application in described terminal;
Second administrative unit, for for each application in terminal, carry out the second control operation to the positional precision control strategy of described each application, described second control operation comprises: the positional precision control strategy increasing, delete and revise described each application.
10. a positional precision control method, described method is used for carrying out precision controlling to the positional information of the mobile terminal that application or application service provider obtain, and it is characterized in that, described method comprises:
The terminal positional information obtaining application or application service provider's transmission obtains request, and described terminal positional information obtains the mark that described application or application service provider are carried in request;
According to the mark of described application or application service provider, inquire about the positional precision control strategy corresponding with the mark of described application or application service provider;
Respond described terminal positional information and obtain request, obtain the positional information of described terminal;
Precision controlling is carried out according to the positional information of described positional precision control strategy to the described terminal obtained;
The positional information of the terminal after carrying out described precision controlling is exported to described application or application service provider.
11. methods as claimed in claim 10, is characterized in that, when described positional precision control device is applied in mobile terminal, the terminal positional information that described acquisition application sends obtains request, is specially:
Amendment application programming interface API, intercepts the described terminal positional information acquisition request that described application sends to operating system.
12. methods as claimed in claim 10, it is characterized in that, described positional precision control strategy comprises: strategy execution condition, positional precision or location parameter collection, and described strategy execution condition comprises policing type and precision controlling condition.
13. methods as claimed in claim 12, it is characterized in that, described policing type is time period delegated strategy, and described precision controlling condition comprises the time range of setting;
Describedly according to described positional precision control strategy, precision controlling is carried out to the positional information of described terminal obtained, comprising:
When described policing type is time period delegated strategy, obtain the current time of described terminal;
When the current time of described terminal is positioned at the time range of described setting, amplify according to the zone radius of described positional precision to the positional information of the described terminal obtained, or screen according to the positional information of the described terminal of described location parameter set pair acquisition.
14. methods as claimed in claim 12, it is characterized in that, described policing type is area authorization strategy, and described precision controlling condition comprises the regional extent of setting;
Describedly according to described positional precision control strategy, precision controlling is carried out to the positional information of described terminal obtained, is specially:
When the positional information that described policing type is the described terminal of area authorization strategy and acquisition is positioned at the regional extent of described setting, amplify according to the zone radius of described positional precision to the positional information of the described terminal obtained, or screen according to the positional information of the described terminal of described location parameter set pair acquisition.
15. methods as claimed in claim 12, is characterized in that, described policing type is for press network access mode delegated strategy, and described precision controlling condition comprises at least one network access mode;
Describedly according to described positional precision control strategy, precision controlling is carried out to the positional information of described terminal obtained, comprising:
When described policing type is for pressing network access mode delegated strategy, obtain the current network access mode of described terminal;
When the current network access mode of described terminal is the network access mode of setting, adjust according to the zone radius of described positional precision to the positional information of the described terminal obtained, or screen according to the positional information of the described terminal of described location parameter set pair acquisition.
16. methods as described in claim 12-15 any one, is characterized in that, the described positional information exporting the terminal after carrying out described precision controlling to described application or application service provider, is specially:
The positional information of the terminal after carrying out described precision adjustment is exported to described application or application service provider; Or
The positional information of the terminal after according to the screening of location parameter collection is exported to described application or application service provider.
17. methods as described in claim 12-16 any one, it is characterized in that, described method also comprises:
When described strategy execution condition does not meet, export the positional information of the described terminal of acquisition to described application or application service provider.
18. methods as described in claim 10-17 any one, it is characterized in that, when described positional precision control device is applied in mobile terminal, described method also comprises:
Carry out the first control operation to the positional precision control strategy of any one application in terminal, described first controls manipulation comprises: the positional precision control strategy starting or close any one application in described terminal;
For each application in terminal, carry out the second control operation to the positional precision control strategy of described each application, described second control operation comprises: the positional precision control strategy increasing, delete and revise described each application.
CN201410549563.6A 2014-03-29 2014-10-16 Positional accuracy control device and method Pending CN104270717A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410549563.6A CN104270717A (en) 2014-03-29 2014-10-16 Positional accuracy control device and method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201410124475.1 2014-03-29
CN201410124475.1A CN103957520A (en) 2014-03-29 2014-03-29 Device and method for controlling position accuracy
CN201410549563.6A CN104270717A (en) 2014-03-29 2014-10-16 Positional accuracy control device and method

Publications (1)

Publication Number Publication Date
CN104270717A true CN104270717A (en) 2015-01-07

Family

ID=51334723

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201410124475.1A Pending CN103957520A (en) 2014-03-29 2014-03-29 Device and method for controlling position accuracy
CN201410549563.6A Pending CN104270717A (en) 2014-03-29 2014-10-16 Positional accuracy control device and method

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201410124475.1A Pending CN103957520A (en) 2014-03-29 2014-03-29 Device and method for controlling position accuracy

Country Status (1)

Country Link
CN (2) CN103957520A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106228086A (en) * 2016-07-29 2016-12-14 北京小米移动软件有限公司 Obtain the method and device of positional information
CN108235234A (en) * 2016-12-12 2018-06-29 三星电子株式会社 The electronic equipment and method of position data are provided
CN108307380A (en) * 2018-01-26 2018-07-20 中国电子科技集团公司电子科学研究院 A kind of location of mobile users method for secret protection and mobile gateway
CN109302681A (en) * 2018-08-30 2019-02-01 努比亚技术有限公司 A kind of position information processing method, equipment and computer readable storage medium
CN109714766A (en) * 2019-01-31 2019-05-03 顺丰科技有限公司 Position sharing method and device
CN110043055A (en) * 2019-04-15 2019-07-23 辽宁工程技术大学 A kind of precision control device for rack installation
CN110324779A (en) * 2019-05-21 2019-10-11 平安普惠企业管理有限公司 Location data monitoring method and relevant device based on information security

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331035A (en) * 2015-06-30 2017-01-11 北京壹人壹本信息科技有限公司 Tracking prevention method and terminal
CN107391977B (en) * 2017-07-04 2020-11-24 创新先进技术有限公司 Permission control and automatic switching method, device and equipment
CN108429856A (en) * 2018-02-28 2018-08-21 维沃移动通信有限公司 A kind of location information acquisition methods and mobile terminal
CN113805140B (en) * 2021-08-12 2022-10-28 荣耀终端有限公司 Positioning method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1415977A (en) * 2001-10-31 2003-05-07 日本电气株式会社 Pisition information processing terminal, Position information providing sysem and processing method thereof
WO2010083654A1 (en) * 2009-01-23 2010-07-29 阿尔卡特朗讯公司 Method and related device for realizing protection of the privacy of user location information
US20110191862A1 (en) * 2010-02-04 2011-08-04 Computer Associates Think, Inc. System and Method for Restricting Access to Requested Data Based on User Location
CN103095580A (en) * 2011-10-27 2013-05-08 中兴通讯股份有限公司 Location information query method, policy server, location server and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1415977A (en) * 2001-10-31 2003-05-07 日本电气株式会社 Pisition information processing terminal, Position information providing sysem and processing method thereof
WO2010083654A1 (en) * 2009-01-23 2010-07-29 阿尔卡特朗讯公司 Method and related device for realizing protection of the privacy of user location information
US20110191862A1 (en) * 2010-02-04 2011-08-04 Computer Associates Think, Inc. System and Method for Restricting Access to Requested Data Based on User Location
CN103095580A (en) * 2011-10-27 2013-05-08 中兴通讯股份有限公司 Location information query method, policy server, location server and system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106228086A (en) * 2016-07-29 2016-12-14 北京小米移动软件有限公司 Obtain the method and device of positional information
CN108235234A (en) * 2016-12-12 2018-06-29 三星电子株式会社 The electronic equipment and method of position data are provided
CN108235234B (en) * 2016-12-12 2021-12-03 三星电子株式会社 Electronic device and method for providing location data
CN113794987A (en) * 2016-12-12 2021-12-14 三星电子株式会社 Electronic device and method for providing location data
US11223629B2 (en) 2016-12-12 2022-01-11 Samsung Electronics Co., Ltd. Electronic device and method for providing location data
US11411961B2 (en) 2016-12-12 2022-08-09 Samsung Electronics Co., Ltd. Electronic device and method for providing location data
CN108307380A (en) * 2018-01-26 2018-07-20 中国电子科技集团公司电子科学研究院 A kind of location of mobile users method for secret protection and mobile gateway
CN108307380B (en) * 2018-01-26 2021-05-07 中国电子科技集团公司电子科学研究院 Mobile user position privacy protection method and mobile gateway
CN109302681A (en) * 2018-08-30 2019-02-01 努比亚技术有限公司 A kind of position information processing method, equipment and computer readable storage medium
CN109714766A (en) * 2019-01-31 2019-05-03 顺丰科技有限公司 Position sharing method and device
CN110043055A (en) * 2019-04-15 2019-07-23 辽宁工程技术大学 A kind of precision control device for rack installation
CN110324779A (en) * 2019-05-21 2019-10-11 平安普惠企业管理有限公司 Location data monitoring method and relevant device based on information security

Also Published As

Publication number Publication date
CN103957520A (en) 2014-07-30

Similar Documents

Publication Publication Date Title
CN104270717A (en) Positional accuracy control device and method
US11606664B2 (en) Geofence information delivery systems and methods
US11204948B2 (en) Geofence information delivery systems and methods
US10771428B2 (en) Geocoding with geofences
US10547697B2 (en) Geofence information delivery systems and methods
KR101227707B1 (en) Method and device for controlling use of context information of a user
CN102474729B (en) Use the TV vacancy Space Facilities of structured database
CN104012166A (en) Location aware resource locator
JP2005086770A (en) Information providing system, mobile terminal, radio access point, charging server, and information providing method
CN104094576A (en) Consolidating disparate cloud service data and behavior based on trust relationships between cloud services
CN105162665A (en) Server access method and device
CN104539782A (en) Event promoting method and device
CN105519144A (en) Mobile terminal precise positioning method and system
CN103081524B (en) For promoting the method and apparatus determining usable spectrum
CN101776459A (en) Mobile communication terminal and navigation method thereof
JP2006285357A (en) Information processor, access management method and access management program
US20110264615A1 (en) Location source determination
KR101321596B1 (en) Operating method of information managing system on undergrounded facility object with tablet pc
CN105519146A (en) Indoor positioning method and system via mobile phone
KR20180047363A (en) System and method for providing virtual beacon service, and apparatus for executing virtual beacon service
JP2019075623A (en) Group communication system, terminal device, positional information notification method, and program
CN105681598A (en) Terminal device ring tone adjustment method, device and intelligent terminal
KR101888545B1 (en) Performance method for setting service by designated area based on GPS
CN104854827A (en) System and method for machine-to-machine privacy and security brokered transactions
CN113660608B (en) Method, device and equipment for determining capacity hotspot area and storage medium

Legal Events

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

Application publication date: 20150107

WD01 Invention patent application deemed withdrawn after publication