CN109379712B - Passive tracking method and device for mobile equipment - Google Patents

Passive tracking method and device for mobile equipment Download PDF

Info

Publication number
CN109379712B
CN109379712B CN201811633118.2A CN201811633118A CN109379712B CN 109379712 B CN109379712 B CN 109379712B CN 201811633118 A CN201811633118 A CN 201811633118A CN 109379712 B CN109379712 B CN 109379712B
Authority
CN
China
Prior art keywords
operating system
server
fence
geo
mobile
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811633118.2A
Other languages
Chinese (zh)
Other versions
CN109379712A (en
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.)
Beijing Chuangxin Journey Network Technology Co ltd
Original Assignee
Beijing Chuangxin Journey Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Chuangxin Journey Network Technology Co ltd filed Critical Beijing Chuangxin Journey Network Technology Co ltd
Priority to CN201811633118.2A priority Critical patent/CN109379712B/en
Publication of CN109379712A publication Critical patent/CN109379712A/en
Application granted granted Critical
Publication of CN109379712B publication Critical patent/CN109379712B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • 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/029Location-based management or tracking services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention relates to a passive tracking method and a passive tracking device for mobile equipment. The passive tracking method of the mobile equipment comprises the following steps: an obtaining step, wherein an application program obtains current first position information of the mobile equipment from an operating system of the mobile equipment; a registration step, wherein according to the current first position information of the mobile equipment, the application program registers a first local geo-fence with a mobile operation system; and an updating step, wherein the application program receives information sent by the operating system that the mobile device enters and exits the first local geo-fence, the server is connected according to the information sent by the operating system that the mobile device enters and exits the first local geo-fence, and the application program updates the geo-fence sent by the server in the mobile operating system after determining to acquire the geo-fence list on the server. By the embodiment of the invention, when the application program is not in the running state, the application program can be awakened, and the opportunity of updating the geo-fences around the position and the opportunity of updating the geo-fences in the mobile operating system are ensured.

Description

Passive tracking method and device for mobile equipment
Technical Field
The embodiment of the invention relates to the technical field of location services, in particular to a passive tracking method and a passive tracking device for mobile equipment.
Background
Modern mobile devices may obtain the current Location of the device through cellular transceivers, wireless local area network devices, Global Positioning System (GPS), and the like, and Based on the Location information of the mobile device, the operating System of the mobile device may provide Location Based Services (LBS) for mobile applications in the System. LBS has abundant mobile application scenes, makes use of LBS service, facilitates people's clothes, eating and housing, and improves people's quality of life.
When the mobile application runs, a plurality of geo-fences can be registered with the mobile device operating system, when the mobile application is not in a running state, but the mobile device enters and exits the registered geo-fences again, the operating system can wake up the mobile application in the background or restart the mobile application, the update of the geo-fences is triggered, and then various services of LBS can be provided for the user based on the updated geo-fences.
However, the reasonable degree of the geofences registered by the application server cannot be guaranteed, the registered geofences may be too sparse, and when the mobile device enters or exits from the gap formed by the multiple geofences, the operation of entering or exiting the geofences cannot be triggered, and further, the update of the geofences cannot be triggered.
Moreover, when the mobile device enters and exits the registered geofences, the mobile application is woken up, but is in a no-network environment, the mobile application is unable to update the surrounding geofences, and update the list of geofences registered in the operating system, and then the device leaves the registered geofences, resulting in the device missing an opportunity to update the geofences surrounding the location, and an opportunity to update the geofences registered in the operating system.
Disclosure of Invention
According to the passive tracking method and device for the mobile device, provided by the embodiment of the invention, when the application program is not in the running state, the application program can be awakened, and the application program ensures the opportunity of updating the geofence around the position and the opportunity of updating the geofence in the mobile operating system based on the current position information.
An aspect of an embodiment of the present invention provides a method for passively tracking a mobile device, where the method is applied to an application program used by the mobile device, and the method includes: an obtaining step, wherein the application program obtains current first position information of the mobile equipment from an operating system of the mobile equipment; a registration step, wherein the application program registers a first local geo-fence with a mobile operating system according to the current first position information of the mobile equipment; and an updating step, wherein the application program receives information sent by the operating system that the mobile device enters and exits the first local geo-fence, and connects the server according to the information sent by the operating system that the mobile device enters and exits the first local geo-fence, and after determining to acquire a geo-fence list on the server, the application program updates the geo-fence sent by the server in the mobile operating system.
In a possible embodiment, the obtaining step comprises: and acquiring current first position information of the mobile equipment through a programming interface of an operating system of the mobile equipment.
In another possible embodiment, the registering step includes: the application program registers a local geo-fence with a mobile operating system through a mobile device operating system programming interface centered on the current first location information and a preset distance as a radius.
In yet another possible embodiment, the updating step includes: the application program obtains second location information of the mobile device from the operating system of the mobile device according to the information sent by the operating system that the mobile device enters or exits the first local geo-fence; the application program requests to connect a server through a network and uploads the second position information to the server; and after determining to acquire the geo-fence list on the server, the application program receives the geo-fence issued by the server and updates the geo-fence issued by the server in the mobile operating system.
In a possible embodiment, in the updating step, after the application program obtains the second location information of the mobile device from the operating system of the mobile device, the method further includes: the application uninstalls the first local geofence registered in the operating system of the mobile device in accordance with the second location information; and the application registering a second local geofence with the mobile operating system through the mobile device operating system programming interface centered on the second location information and at a preset distance as a radius.
In another possible embodiment, in the updating step, after the application program obtains the list of geo-fences on the server, the method further includes: and unloading the geo-fence issued by the server in the mobile operating system.
In another possible embodiment, in the updating step, after the application requests to connect to the server through the network, the method further includes: and after the application program determines that the geo-fence list on the server is not acquired, reserving the geo-fence issued by the server in the mobile operating system.
Another aspect of the embodiments of the present invention provides a passive tracking apparatus for a mobile device, where the apparatus is applied to an application program end used by the mobile device, and the apparatus includes: the device comprises an acquisition unit, a registration unit and an updating unit. The mobile equipment comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring current first position information of the mobile equipment from an operating system of the mobile equipment; the registration unit is used for registering the first local geo-fence with the mobile operating system according to the current first position information of the mobile equipment; and the updating unit is used for receiving information of the mobile equipment entering and exiting the first local geo-fence sent by the operating system, connecting the server according to the information of the mobile equipment entering and exiting the first local geo-fence sent by the operating system, and updating the geo-fence sent by the server in the mobile operating system after determining to acquire the geo-fence list on the server.
In a possible embodiment, the obtaining unit is configured to: and acquiring current first position information of the mobile equipment through a programming interface of an operating system of the mobile equipment.
In another possible embodiment, the registration unit is configured to: registering the local geofence with the mobile operating system through the mobile device operating system programming interface centered on the current first location information and at a preset distance as a radius.
In yet another possible embodiment, the update unit is configured to: obtaining second position information of the mobile device from an operating system of the mobile device according to information sent by the operating system that the mobile device enters and exits the first local geo-fence; connecting a server through a network request, and uploading the second position information to the server; and after the geographic fence list on the server is determined to be acquired, receiving the geographic fence issued by the server, and updating the geographic fence issued by the server in the mobile operating system.
In a possible embodiment, after obtaining the second location information of the mobile device from the operating system of the mobile device, the updating unit is further configured to: uninstalling the first local geo-fence registered in the operating system of the mobile device according to the second location information; and registering the second local geofence with the mobile operating system through the mobile device operating system programming interface centered at the second location information and at the preset distance as a radius.
In another possible embodiment, after obtaining the list of geo-fences on the server, the updating unit is further configured to: and unloading the geo-fence issued by the server in the mobile operating system.
In another possible embodiment, after the application requests to connect to the server through the network, the updating unit is further configured to: and after the geographic fence list on the server is determined not to be acquired, reserving the geographic fence issued by the server in the mobile operating system.
In a possible embodiment, an embodiment of the present invention further provides a server, where the server includes: a memory configured to store instructions; and a processor configured to invoke the instruction to perform the method of any of the above possible embodiments.
In one possible implementation, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions, and when executed by a processor, the computer-executable instructions perform the method described in any one of the above possible implementation.
According to the passive tracking method and device for the mobile device, the application program registers the local geo-fence in the operating system, when the application program is not in the running state, the application program can be awakened, and the opportunity of updating the geo-fence issued by the server in the mobile operating system can be obtained through a network request based on the awakened application program. And then the updated geo-fence can be utilized to provide more accurate LBS service for the user, and the user experience is improved.
Drawings
The above and other objects, features and advantages of embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
fig. 1 is a flowchart of an implementation of a passive tracking method for a mobile device according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a passive tracking apparatus for a mobile device according to an embodiment of the present invention.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the invention, and are not intended to limit the scope of the invention in any way.
It should be noted that although the expressions "first", "second", etc. are used herein to describe different modules, steps, data, etc. of the embodiments of the present invention, the expressions "first", "second", etc. are merely used to distinguish between different modules, steps, data, etc. and do not indicate a particular order or degree of importance. Indeed, the terms "first," "second," and the like are fully interchangeable.
The passive tracking method of the mobile equipment provided by the embodiment of the invention can be applied to the mobile equipment accessed to a wireless network and can be applied to the application scene of passive tracking of the mobile equipment based on the geo-fence. In this scenario, in a possible implementation manner, a local geo-fence with a preset distance may be registered for the mobile device, and when the mobile application is not in a running state, if the device enters or exits the local geo-fence, a chance of updating a surrounding geo-fence issued by the server and a chance of updating a geo-fence issued by the server in the operating system may be triggered.
Fig. 1 is a flowchart illustrating an implementation of a passive tracking method for a mobile device according to an embodiment of the present invention. The method execution body shown in fig. 1 may be a mobile device providing wireless network access, which may be a personal computer, a handheld or portable device, a tablet-type device, or a distributed computing environment including any of the above apparatuses or devices, and so forth. The embodiments of the present invention are not limited. Referring to fig. 1, the method includes:
s101: and an obtaining step, wherein the application program obtains the current first position information of the mobile equipment from an operating system of the mobile equipment.
The application program related in the embodiment of the present invention may be an application program on a mobile device, for example, an APP in an android system or an APP in an IOS system, and the application program may obtain location information of the mobile device through user authorization, and may provide an application program of various services for a user based on current location information.
When the application program is in a running state, the current position information of the mobile equipment can be acquired from the mobile equipment operating system through a mobile equipment operating system programming interface.
S102: and a registering step, wherein the application program registers the first local geo-fence with the mobile operating system according to the current first position information of the mobile equipment.
For convenience of description, the local geo-fence with which the application is registered with the mobile operating system is referred to as a first geo-fence. In the embodiment of the present invention, the first local geo-fence may register the geo-fence by using the current first location information of the mobile device as a center and using a preset distance as a radius, logically, the local geo-fence does not depend on a wireless network, and has a preset radius by always using the current first location of the mobile device as a center, and as long as an application program obtains a new location of the mobile device through an operating system programming interface of the mobile device, the local geo-fence unloads the first local geo-fence and registers the second local geo-fence. Therefore, we can also refer to the registered local geofence as a "shadow geofence" or a "dynamic fence".
It will be appreciated that the mobile device operating system does not obtain location information for the mobile device at every moment, in which case the local geofence that the application is registered with the mobile operating system is the first local geofence of the last mobile device location information. Until the mobile device operating system acquires the position information of the mobile device again, whether the mobile device enters or exits the first local geo-fence is determined according to the position information of the mobile device, if the mobile device enters or exits the first local geo-fence, the mobile device operating system wakes up an application program in a background or an application program which is not started, so that the application program is in a running state, and notifies the application program that the position of the mobile device is moved, and then the first local geo-fence which is registered in the mobile device operating system is unloaded, and a second local geo-fence is registered to the mobile device operating system again by taking a new position as a center.
In a possible implementation manner, the radius of the shadow geofence may be set according to the actual requirements of the application program for providing various services to the user based on the geofence, for example, the radius of the shadow geofence may be set to 1 kilometer, so that a small geofence with the current first location of the mobile device as the center and 1 kilometer as the radius is obtained, or the radius of the shadow geofence may be set to 2 kilometers, or 2.5 kilometers, 3 kilometers, and the like, which is not limited in the embodiments of the present invention.
It is understood that although the radius of the shadow fence in the embodiment of the present invention may be various distances, the intensity of passive tracking of the mobile device may also be adjusted according to the radius of different distances. However, the embodiment of the invention does not set the distance obviously not conforming to the actual use condition as the preset radius, for example, the radius of the shadow fence is set to be hundreds of meters, the mobile device can trigger the updating of the shadow fence when moving slightly, and the problems of power consumption and the like can be caused by too frequent updating. Also, for example, setting the radius of the shadow fence too large, such as 20 kilometers, is also undesirable because it will always not trigger a geofence update when the user is constantly moving through multiple business circles within this radius.
S103: and in the updating step, an application program receives information sent by an operating system that the mobile device enters and exits the first local geo-fence, the server is connected according to the information sent by the operating system that the mobile device enters and exits the first local geo-fence, and the application program updates the geo-fence sent by the server in the mobile operating system after determining to acquire the geo-fence list on the server.
In a possible implementation manner, in the embodiment of the present invention, before the geofence issued by the registration server is sent to the operating system, the first local geofence may be updated first. In a possible embodiment, when the operating system detects that the mobile device enters or exits the first local geofence, the application is in the background or the application is not started, the operating system wakes up the application, puts the application in a running state, and notifies the application that the mobile device location has moved, thereby uninstalling the first local geofence that has been registered in the mobile device operating system, and re-registering the second local geofence to the mobile device operating system centered at the new location.
In a possible implementation manner, in the embodiment of the present invention, after the application completes updating the local geo-fence and obtains the second local geo-fence registered in the mobile operating system, the application may contact the server of the application through the network interface of the operating system and upload the latest location information and other additional information of the mobile device.
In a possible implementation manner, in the embodiment of the present invention, if the application determines to acquire the geofence list on the server, the application may unload the geofences that the server has registered in the operating system, and register the geofences issued by the server in the operating system of the mobile device, so as to complete updating of the geofences issued by the server in the operating system.
In a possible implementation manner, in the embodiment of the present invention, since the mobile operating system has a strict limitation on the number of geofences that can be registered by each application, the number of stored geofences is limited, for example, in the ios system, the upper limit of the geofences that can be stored for each application is 10, so that the application registers the geofence delivered by the server to the operating system until the operating system allocates the upper limit of the index number to the application.
If the application program determines that the geofence list on the server is not obtained, the operating system may keep the non-updated geofences issued by the server, wait for the next time the mobile device enters or exits the first local geofence, wake up the application program by the operating system, and the application program may try to establish contact with the server again and update the geofences issued by the server.
The updated geofences of the application are the second local geofence registered in the operating system by the application based on the second location information and the geofence registered in the operating system issued by the application from the server based on the second location information. When the application program is not in the running state, and the mobile device enters or exits the second local geo-fence or any one of the geo-fences registered in the operating system and issued by the server, the mobile operating system detects that the position of the mobile device is changed, and then wakes up the corresponding application program for processing.
According to the passive tracking method and device for the mobile equipment, the application program obtains the current first position of the mobile equipment from the operating system, the local geo-fence with the preset distance as the radius is registered into the operating system according to the current first position, when the mobile equipment enters and exits the local geo-fence and the mobile application is in a non-running state, the operating system wakes up the application program, the application program updates the geo-fence sent by the server to the operating system according to the current position information, and LBS service is provided for the user based on the geo-fence of the position information sent by the server. Therefore, the situation that the geographic fences registered by the application server are too sparse, the mobile device comes in and goes out in the gaps formed by the geographic fences, the entrance and exit of the geographic fences cannot be triggered, and further the updating of the geographic fences cannot be triggered is avoided.
And since the set distance local geofence is independent of the wireless network, the local geofence is updated as the location of the mobile device moves as long as the operating system can obtain the location information of the mobile device. If the application program is awakened but does not have a wireless network, and the application program cannot be in contact with the server, the application program can wait for the next time of awakening, the local geo-fence is set, the awakening frequency of the application program can be ensured, the application program can be in contact with the server, the geo-fences of the servers around the position can be updated, and the geo-fences which are sent by the server and registered in the operating system can be updated. The updated geo-fence sent by the server is obtained, and based on the current position, more accurate LBS service can be provided for the user, so that the user experience is improved.
Based on the same inventive concept, the embodiment of the invention also provides a passive tracking device for the mobile equipment.
As shown in fig. 2, an apparatus 200 for passively tracking a mobile device according to an embodiment of the present invention, where the apparatus 200 is applied to an application program end used by the mobile device, the apparatus 200 includes: an acquisition unit 201, a registration unit 202, and an update unit 203. The obtaining unit 201 is configured to obtain current first location information of the mobile device from an operating system of the mobile device; a registering unit 202, configured to register a first local geo-fence with a mobile operating system according to current first location information of a mobile device; and the updating unit 203 is configured to receive information, sent by the operating system, of the mobile device entering and exiting the first local geo-fence, connect to the server according to the information, sent by the operating system, of the mobile device entering and exiting the first local geo-fence, and update the geo-fence sent by the server in the mobile operating system after determining to acquire the geo-fence list on the server.
In a possible embodiment, the obtaining unit 201 is configured to: and acquiring current first position information of the mobile equipment through a programming interface of an operating system of the mobile equipment.
In another possible embodiment, the registration unit 202 is configured to: registering the local geofence with the mobile operating system through the mobile device operating system programming interface centered on the current first location information and at a preset distance as a radius.
In yet another possible embodiment, the updating unit 203 is configured to: obtaining second position information of the mobile device from an operating system of the mobile device according to information sent by the operating system that the mobile device enters and exits the first local geo-fence; connecting a server through a network request, and uploading the second position information to the server; and after the geographic fence list on the server is determined to be acquired, receiving the geographic fence issued by the server, and updating the geographic fence issued by the server in the mobile operating system.
In a possible embodiment, after obtaining the second location information of the mobile device from the operating system of the mobile device, the updating unit 203 is further configured to: uninstalling the first local geo-fence registered in the operating system of the mobile device according to the second location information; and registering the second local geofence with the mobile operating system through the mobile device operating system programming interface centered at the second location information and at the preset distance as a radius.
In another possible embodiment, after obtaining the geo-fence list on the server, the updating unit 203 is further configured to: and unloading the geo-fence issued by the server in the mobile operating system.
In another possible embodiment, after the application requests to connect to the server through the network, the updating unit 203 is further configured to: and after the geographic fence list on the server is determined not to be acquired, reserving the geographic fence issued by the server in the mobile operating system.
In a possible implementation manner, an embodiment of the present invention further provides a server, where the server includes: a memory configured to store instructions; and a processor configured to invoke the instruction to perform the method of any of the above possible embodiments.
In one possible implementation, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions, and when executed by a processor, the computer-executable instructions perform the method described in any one of the above possible implementation.
In a possible implementation manner, the embodiment of the present invention further provides the following implementation manners:
in a possible implementation manner, a method for passively tracking a mobile device provided in an embodiment of the present invention is applied to an application program used by the mobile device, and the method includes: an obtaining step, wherein the application program obtains current first position information of the mobile equipment from an operating system of the mobile equipment; a registration step, wherein the application program registers a first local geo-fence with a mobile operating system according to the current first position information of the mobile equipment; and an updating step, wherein the application program receives information sent by the operating system that the mobile device enters and exits the first local geo-fence, and connects the server according to the information sent by the operating system that the mobile device enters and exits the first local geo-fence, and after determining to acquire a geo-fence list on the server, the application program updates the geo-fence sent by the server in the mobile operating system.
In one possible embodiment, the acquiring step includes: and acquiring current first position information of the mobile equipment through a programming interface of an operating system of the mobile equipment.
In one possible embodiment, the registering step includes: the application program registers a local geo-fence with a mobile operating system through a mobile device operating system programming interface centered on the current first location information and a preset distance as a radius.
In one possible embodiment, the updating step includes: the application program obtains second location information of the mobile device from the operating system of the mobile device according to the information sent by the operating system that the mobile device enters or exits the first local geo-fence; the application program requests to connect a server through a network and uploads the second position information to the server; and after determining to acquire the geo-fence list on the server, the application program receives the geo-fence issued by the server and updates the geo-fence issued by the server in the mobile operating system.
In a possible implementation manner, in the updating step, after the application program obtains the second location information of the mobile device from the operating system of the mobile device, the method further includes: the application uninstalls the first local geofence registered in the operating system of the mobile device in accordance with the second location information; and the application registering a second local geofence with the mobile operating system through the mobile device operating system programming interface centered on the second location information and at a preset distance as a radius.
In a possible implementation manner, in the updating step, after the application program obtains the list of geo-fences on the server, the method further includes: and unloading the geo-fence issued by the server in the mobile operating system.
In a possible implementation manner, in the updating step, after the application requests to connect to the server through the network, the method further includes: and after the application program determines that the geo-fence list on the server is not acquired, reserving the geo-fence issued by the server in the mobile operating system.
In a possible implementation manner, an embodiment of the present invention further provides a passive tracking apparatus for a mobile device, where the passive tracking apparatus is applied to an application program end used by the mobile device, and the apparatus includes: the device comprises an acquisition unit, a registration unit and an updating unit. The mobile equipment comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring current first position information of the mobile equipment from an operating system of the mobile equipment; the registration unit is used for registering the first local geo-fence with the mobile operating system according to the current first position information of the mobile equipment; and the updating unit is used for receiving information of the mobile equipment entering and exiting the first local geo-fence sent by the operating system, connecting the server according to the information of the mobile equipment entering and exiting the first local geo-fence sent by the operating system, and updating the geo-fence sent by the server in the mobile operating system after determining to acquire the geo-fence list on the server.
In one possible embodiment, the obtaining unit is configured to: and acquiring current first position information of the mobile equipment through a programming interface of an operating system of the mobile equipment.
In one possible embodiment, the registration unit is configured to: registering the local geofence with the mobile operating system through the mobile device operating system programming interface centered on the current first location information and at a preset distance as a radius.
In one possible embodiment, the update unit is configured to: obtaining second position information of the mobile device from an operating system of the mobile device according to information sent by the operating system that the mobile device enters and exits the first local geo-fence; connecting a server through a network request, and uploading the second position information to the server; and after the geographic fence list on the server is determined to be acquired, receiving the geographic fence issued by the server, and updating the geographic fence issued by the server in the mobile operating system.
In a possible implementation, after obtaining the second location information of the mobile device from the operating system of the mobile device, the updating unit is further configured to: uninstalling the first local geo-fence registered in the operating system of the mobile device according to the second location information; and registering the second local geofence with the mobile operating system through the mobile device operating system programming interface centered at the second location information and at the preset distance as a radius.
In a possible implementation manner, after obtaining the list of geo-fences on the server, the updating unit is further configured to: and unloading the geo-fence issued by the server in the mobile operating system.
In a possible embodiment, after the application requests to connect to the server through the network, the updating unit is further configured to: and after the geographic fence list on the server is determined not to be acquired, reserving the geographic fence issued by the server in the mobile operating system.
In a possible implementation manner, an embodiment of the present invention further provides a server, where the server includes: a memory configured to store instructions; and a processor configured to invoke the instruction to perform the method of any of the above possible embodiments.
In one possible implementation, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions, and when executed by a processor, the computer-executable instructions perform the method described in any one of the above possible implementation.
It is to be understood that while operations are depicted in the drawings in a particular order, this is not to be understood as requiring that such operations be performed in the particular order shown or in serial order, or that all illustrated operations be performed, to achieve desirable results. In certain environments, multitasking and parallel processing may be advantageous.
The methods and apparatus of embodiments of the present invention can be accomplished using standard programming techniques with rule-based logic or other logic to accomplish the various method steps. It should also be noted that the words "means" and "module," as used herein and in the claims, is intended to encompass implementations using one or more lines of software code, and/or hardware implementations, and/or equipment for receiving inputs.
Any of the steps, operations, or procedures described herein may be performed or implemented using one or more hardware or software modules, alone or in combination with other devices. In one embodiment, the software modules are implemented using a computer program product comprising a computer readable medium containing computer program code, which is executable by a computer processor for performing any or all of the described steps, operations, or procedures.
The foregoing description of the implementation of the invention has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed, and modifications and variations are possible in light of the above teachings or may be acquired from practice of the invention. The embodiments were chosen and described in order to explain the principles of the invention and its practical application to enable one skilled in the art to utilize the invention in various embodiments and with various modifications as are suited to the particular use contemplated.

Claims (12)

1. A mobile device passive tracking method, wherein the method is applied to an application used by the mobile device, the method comprising:
an obtaining step, wherein the application program obtains current first position information of the mobile equipment from an operating system of the mobile equipment;
registering, namely registering a first local geo-fence to a mobile operating system through a programming interface of the mobile operating system according to the current first position information of the mobile equipment, wherein the current first position information is taken as a center, and a preset distance is taken as a radius; and
an updating step, in which the application program receives information sent by the operating system that the mobile device enters and exits the first local geo-fence, acquires second position information of the mobile device from the operating system of the mobile device, connects a server according to the information sent by the operating system that the mobile device enters and exits the first local geo-fence, and uploads the second position information to the server, and after the application program determines to acquire a geo-fence list on the server, the application program updates the geo-fence sent by the server in the mobile operating system, and
according to the second location information, the application uninstalls the first local geo-fence registered in the operating system of the mobile device, and registers a second local geo-fence with the mobile operating system through a mobile device operating system programming interface by taking the second location information as a center and a preset distance as a radius.
2. The method of claim 1, wherein the obtaining step comprises: and acquiring current first position information of the mobile equipment through a programming interface of an operating system of the mobile equipment.
3. The method of claim 1, wherein the updating step comprises:
the application program requests to connect a server through a network and uploads the second position information to the server;
after the application program determines to acquire the geo-fence list on the server, the application program receives the geo-fence issued by the server and
and updating the geo-fence issued by the server in the mobile operating system.
4. The method of claim 3, wherein in the updating step, after the application program obtains the list of geo-fences on the server, the method further comprises:
and unloading the geo-fence issued by the server in the mobile operating system.
5. The method of claim 3, wherein in the updating step, after the application requests connection to the server through the network, the method further comprises:
and after the application program determines that the geo-fence list on the server is not acquired, reserving the geo-fence issued by the server in the mobile operating system.
6. An apparatus for passive tracking of a mobile device, wherein the apparatus is applied to an application program end used by the mobile device, the apparatus comprising:
the mobile equipment comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring current first position information of the mobile equipment from an operating system of the mobile equipment;
the registration unit is used for registering a first local geo-fence to a mobile operating system through a programming interface of the mobile device operating system by taking the current first position information as a center and a preset distance as a radius according to the current first position information of the mobile device; and
an updating unit, configured to receive information sent by the operating system that the mobile device enters or exits the first local geo-fence, obtain second location information of the mobile device from the operating system of the mobile device, connect to a server according to the information sent by the operating system that the mobile device enters or exits the first local geo-fence, upload the second location information to the server, determine to obtain a geo-fence list on the server, update the geo-fence sent by the server in the mobile operating system, and
according to the second location information, the application uninstalls the first local geo-fence registered in the operating system of the mobile device, and registers a second local geo-fence with the mobile operating system through a mobile device operating system programming interface by taking the second location information as a center and a preset distance as a radius.
7. The apparatus of claim 6, wherein the obtaining unit is configured to:
and acquiring current first position information of the mobile equipment through a programming interface of an operating system of the mobile equipment.
8. The apparatus of claim 6, wherein the update unit is to:
requesting to connect a server through a network, and uploading the second position information to the server;
after determining to acquire the geo-fence list on the server, receiving the geo-fence issued by the server, and
and updating the geo-fence issued by the server in the mobile operating system.
9. The apparatus of claim 8, wherein after obtaining the list of geofences on a server, the updating unit is further configured to: and unloading the geo-fence issued by the server in the mobile operating system.
10. The apparatus of claim 8, wherein after the application requests to connect to the server via the network, the updating unit is further configured to: and after determining that the geo-fence list on the server is not acquired, reserving the geo-fence issued by the server in the mobile operating system.
11. A server, wherein the server comprises:
a memory configured to store instructions; and
a processor configured to invoke the instructions to perform the mobile device passive tracking method of any of claims 1-5.
12. A computer-readable storage medium having computer-executable instructions stored thereon which, when executed by a processor, perform the mobile device passive tracking method of any of claims 1-5.
CN201811633118.2A 2018-12-29 2018-12-29 Passive tracking method and device for mobile equipment Active CN109379712B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811633118.2A CN109379712B (en) 2018-12-29 2018-12-29 Passive tracking method and device for mobile equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811633118.2A CN109379712B (en) 2018-12-29 2018-12-29 Passive tracking method and device for mobile equipment

Publications (2)

Publication Number Publication Date
CN109379712A CN109379712A (en) 2019-02-22
CN109379712B true CN109379712B (en) 2021-01-19

Family

ID=65372182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811633118.2A Active CN109379712B (en) 2018-12-29 2018-12-29 Passive tracking method and device for mobile equipment

Country Status (1)

Country Link
CN (1) CN109379712B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112383959A (en) * 2020-11-16 2021-02-19 深圳市斯博科技有限公司 Positioning method, positioning device, computer equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9116818B2 (en) * 2012-05-31 2015-08-25 Qualcomm Incorporated Methods and systems for retrieving and caching geofence data
US9769604B2 (en) * 2012-08-22 2017-09-19 Ebay Inc. Passive dynamic geofencing for mobile devices
JP6447895B2 (en) * 2015-03-31 2019-01-09 エスゼット ディージェイアイ テクノロジー カンパニー リミテッドSz Dji Technology Co.,Ltd Method for displaying geofencing information and display device
US11900418B2 (en) * 2016-04-04 2024-02-13 Snap Inc. Mutable geo-fencing system
CN109067915A (en) * 2018-09-20 2018-12-21 北京创鑫旅程网络技术有限公司 The methods, devices and systems of location based service are provided

Also Published As

Publication number Publication date
CN109379712A (en) 2019-02-22

Similar Documents

Publication Publication Date Title
US9998860B2 (en) Mobile network based geofencing
US9801017B2 (en) Method of managing geo-fence and electronic device thereof
CN108605205B (en) Apparatus and method for determining position of electronic device
US11991036B2 (en) Communication method and apparatus, entity, and computer-readable storage medium
CN105491524B (en) A kind of method and apparatus of determining target portable device location
US9816833B2 (en) Method and apparatus for providing location based service
CN109937595B (en) Electronic device and method for determining position
CN110519074B (en) Service area management method and device
KR20150132217A (en) Access point selection for assistance data generation
CN112400346A (en) Server apparatus and method for collecting location information of other apparatus
KR20180071095A (en) Apparatus and Method for Providing Location Information
KR20180126259A (en) Method and apparatus for providing information based on proximity
CN110677810A (en) Method and apparatus for generating geo-fences
CN109379712B (en) Passive tracking method and device for mobile equipment
CN109587625B (en) Method, server, client, storage medium and equipment for determining position information
US10313829B2 (en) Method and apparatus for managing point of interest based on tile
CN112804160B (en) Application program-based current limiting method, device, equipment, medium and product
CN106257941B (en) Method for determining position of device through wireless signal, product and information processing device
CN105144090A (en) Method and apparatus for prefetching device drivers for peripheral devices connected to a smartphone prior to high-level operating system (HLOS) boot
CN112995909A (en) SIM card distribution method, device, server and computer readable storage medium
US20160174147A1 (en) Access point selection for mobile device positioning
CN112995985B (en) SIM card state information updating method and device and server
US10219239B2 (en) Information processing system, information processing method, and mobile terminal
US20200314726A1 (en) System and method for sharing cluster head assistance data in a device cluster
EP3297344B1 (en) Positioning method and apparatus, and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant