CN110602641A - Wireless network pushing method and system based on geo-fencing - Google Patents

Wireless network pushing method and system based on geo-fencing Download PDF

Info

Publication number
CN110602641A
CN110602641A CN201910878065.9A CN201910878065A CN110602641A CN 110602641 A CN110602641 A CN 110602641A CN 201910878065 A CN201910878065 A CN 201910878065A CN 110602641 A CN110602641 A CN 110602641A
Authority
CN
China
Prior art keywords
fence
geo
user equipment
user
push
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
CN201910878065.9A
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.)
Shenzhen Hexun Huagu Information Technology Co Ltd
Original Assignee
Shenzhen Hexun Huagu Information 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 Shenzhen Hexun Huagu Information Technology Co Ltd filed Critical Shenzhen Hexun Huagu Information Technology Co Ltd
Priority to CN201910878065.9A priority Critical patent/CN110602641A/en
Publication of CN110602641A publication Critical patent/CN110602641A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • 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

Abstract

The invention provides a wireless pushing method based on geo-fencing, which comprises the following steps: the server receives and stores the geo-fence and pre-push data input by the development user; the server pushes the geo-fence and the pre-push data to the user equipment; the user equipment monitors according to a preset monitoring period: and when the monitoring period arrives, acquiring the geographic position of the monitoring period, comparing the geographic position with the received geographic fence, and displaying the received pre-push data according to the comparison result. The method only needs one-time network communication, the server can push the geo-fence and pre-push data when the user equipment is in a network, and the subsequent processes are that the user equipment runs in the local machine without the network. That is, the user can receive the pre-pushed data even without networking when entering or leaving the geofence, so that the user does not need to expose the geographic location to the server, and can still present the pushed data even when entering the geofence without a network.

Description

Wireless network pushing method and system based on geo-fencing
Technical Field
The invention belongs to the technical field of mobile communication, and particularly relates to a wireless push method and system based on a geo-fence.
Background
Data push generally refers to that a server sends data to user equipment, and then the user equipment displays the received data to play a role of informing a user. Geofencing includes setting a geographic area as a point of interest.
The data push in the prior art mainly adopts the following method: referring to fig. 1, the user equipment continuously sends the geographic location to the server, and the server determines whether the user equipment is within the geofence according to the geographic location, and if so, pushes data to the user equipment. For the user, the effect is achieved that the pushed data can be received when the user enters a certain geo-fence with the user device. For the user equipment, the function is to keep reporting the geographical position to the server, and then display the notification after receiving the data pushed by the server. For the server, the method is executed to receive and store the geo-fence set by the developer, then receive the geo-location from the user device, and when the user device is detected to be in the geo-fence, push the data to the user device.
However, the data push method is very network-dependent, and the network is required for the user equipment to report the geographical position and the server to push the message to the user equipment. If the network is not good, the operation of the expected flow can be affected, even the flow is interrupted, and the pushing scene and effect are lost. Such as when a user enters a certain geofence and leaves, if the entire process is not networked, then no push will be generated.
And the data pushing method also needs to set a period to determine the reporting frequency of the geographical position. If the period is short, the reported data flow is increased and the server processing becomes frequent. If the period is long, the monitoring is not timely, and the pushing is not timely or even missed. For example, a user takes 25 minutes to enter a certain geo-fenced area and exit, but the period is 30 minutes, and the user is out of the geo-fence just twice, so that no push is generated.
In addition, the data pushing method needs to continuously inform the server of the geographical position where the user is located, and if the user has high privacy protection requirements and is not allowed to be exposed to the server, the method cannot always push data to the user.
For this reason, the existing data pushing method proposes the following improvement scheme for the above problems: for the case of poor network, besides improving the overall network quality, the area with good network can be set as a geo-fence. For the problem of period selection, a certain algorithm strategy may be established, for example, a period shorter than a period set when a free network, sufficient electricity or application software runs in the foreground. And setting a longer period when the charging network and the electric quantity are low or the application runs in the background. However, these improvement schemes have limited improvement effect, and the data push method still depends on frequent network communication.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a wireless push method and a system based on a geo-fence, so that a user can display pushed data even when entering the geo-fence without a network without exposing a geographical position to a server.
In a first aspect, a method for web-less push based on geofencing includes the following steps:
the server receives and stores the geo-fence and pre-push data input by the development user;
the server pushes the geo-fence and the pre-push data to the user equipment;
the user equipment monitors according to a preset monitoring period: and when the monitoring period arrives, acquiring the geographic position of the monitoring period, comparing the geographic position with the received geographic fence, and displaying the received pre-push data according to the comparison result.
Preferably, the geofence includes id, expiration time, latitude and longitude, radius, and listening actions.
Preferably, after the server pushes the geofence to the user device, the method further comprises:
and the user equipment creates, updates or deletes the received geo-fence according to a preset geo-fence screening rule so as to obtain the effective geo-fence.
Preferably, the step of, after the user equipment creates, updates or deletes the received geo-fence according to the preset geo-fence filtering rule, obtaining an effective geo-fence specifically includes:
s11: the user equipment detects whether a geo-fence with the id being consistent with the newly received geo-fence id exists in the local cache, and if not, the step S12 is executed; if yes, go to step S14;
s12: the user equipment judges whether the newly received geo-fence is expired or not according to the current time and the expiration time, if so, the step S16 is executed, and if not, the step S13 is executed;
s13: the user equipment judges whether the longitude latitude in the newly received geo-fence is legal or not, if not, the step S16 is executed, if yes, the user equipment judges whether the number of the geo-fences received by the user equipment exceeds a preset upper limit value or not, if yes, the earliest received geo-fence is deleted, and the step S17 is executed; if not, go to step S17;
s14: the user equipment judges whether the newly received geo-fence is expired or not according to the current time and the expiration time, if so, the step S16 is executed, and if not, the step S15 is executed;
s15: the user equipment judges whether the latitude in the newly received geo-fence is legal or not, if not, the step S16 is executed, if yes, the cached geo-fence with the id matched with the newly received geo-fence is updated, and the process is ended;
s16: the user equipment deletes the newly received geo-fence, and the process is ended;
s17: and the user equipment creates a fence according to the newly received geo-fence to obtain the effective geo-fence, caches the effective geo-fence to the local, and ends the process.
Preferably, the setting method of the listening period is as follows:
the larger the distance between the geographic position of the user equipment and the edge of the geographic fence is, the longer the monitoring period is; the smaller the distance between the geographical location of the user equipment and the edge of the geofence, the shorter the listening period.
Preferably, the comparing, by the user equipment, the geographic location of the user equipment with the received geo-fence, and displaying the received pre-push data according to a comparison result specifically includes:
when detecting that the geographic position of the user equipment is located in the effective geographic fence, recording the current state as the inside of the fence by the user equipment; when detecting that the geographic position of the mobile terminal is positioned outside the effective geographic fence, recording the current state as the outside of the fence;
the user equipment reads the current state and the last state;
if the last state is outside the fence and the current state is inside the fence, setting the current action of the user as entering the geo-fence; if the last state is inside the fence and the current state is outside the fence, setting the current action of the user as leaving the geo-fence;
and when detecting that the current action of the user is consistent with the monitoring action of the geo-fence, the user equipment displays the pre-push data.
Preferably, after the server receives and stores the geofence of development user input, the method further comprises:
the server receives and stores a trigger event input by a development user;
the server pushes the trigger event to the user equipment;
and when detecting that the current action of the user is consistent with the monitoring action of the geo-fence, the user equipment displays the pre-push data or executes the trigger event.
Preferably, the executing of the trigger event by the user equipment specifically includes:
the user equipment reports the current action, the user id and the id of the geo-fence of the user to a server through a network;
and the server performs statistical analysis on the data reported by all the user equipment.
In a second aspect, a netless push system implemented based on geofences, comprising:
a server: the system comprises a display, a display and a display module, wherein the display is used for receiving and storing geofence and pre-push data input by a development user; the server is also used for pushing the geo-fence and the pre-push data to the user equipment;
the user equipment: the method comprises the following steps of monitoring according to a preset monitoring period: and when the monitoring period arrives, acquiring the geographic position of the monitoring period, comparing the geographic position with the received geographic fence, and displaying the received pre-push data according to the comparison result.
Preferably, the geofence includes id, expiration time, latitude and longitude, radius, and listening actions;
the user equipment is used for recording the current state as the inside of the fence when detecting that the geographic position of the user equipment is located in the effective geographic fence; when detecting that the geographic position of the mobile terminal is positioned outside the effective geographic fence, recording the current state as the outside of the fence; the user equipment is also used for reading the current state and the last state; if the last state is outside the fence and the current state is inside the fence, setting the current action of the user as entering the geo-fence; if the last state is inside the fence and the current state is outside the fence, setting the current action of the user as leaving the geo-fence; the user equipment is further used for displaying the pre-push data when the current action of the user is detected to be consistent with the monitoring action of the geo-fence.
According to the technical scheme, the wireless pushing method and system based on the geo-fence only need one-time network communication, the server can push the geo-fence and pre-push data when the user equipment is in a network, and the subsequent processes are that the user equipment runs on the local machine without a network. That is, the user can receive the pre-pushed data even without networking when entering or leaving the geofence, so that the user does not need to expose the geographic location to the server, and can still present the pushed data even when entering the geofence without a network.
Compared with the existing method, the method does not need to report the acquired geographical position, and extra flow cannot be generated even if a shorter monitoring period is set. Meanwhile, the geographic position of the user is prevented from being exposed to the server, and the privacy of the user is better protected.
Drawings
In order to more clearly illustrate the detailed description of the invention or the technical solutions in the prior art, the drawings that are needed in the detailed description of the invention or the prior art will be briefly described below. Throughout the drawings, like elements or portions are generally identified by like reference numerals. In the drawings, elements or portions are not necessarily drawn to scale.
Fig. 1 is a flowchart of a conventional data pushing method.
Fig. 2 is a flowchart of a wireless push method according to an embodiment of the present invention.
Fig. 3 is a flowchart of a method for managing a geo-fence by a user equipment according to a second embodiment of the present invention.
Fig. 4 is a flowchart of a user equipment display method according to a third embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and therefore are only examples, and the protection scope of the present invention is not limited thereby. It is to be noted that, unless otherwise specified, technical or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which the invention pertains.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
The first embodiment is as follows:
a method for web-less push based on geo-fencing, see fig. 2, comprising the steps of:
s1: the server receives and stores the geo-fence and pre-push data input by the development user;
preferably, the geofence may be in a JSON data format, including id, expiration time, latitude and longitude, radius, and listening actions.
In particular, the id is used to distinguish between different geofences. The expiration time is used to define the effective time of the geofence, for example if the merchant's merchandise promotion time is up to 8 months and 1 day, the expiration time is set to 8 months and 1 day, and the expiration time may be a certain day or a certain period of time. The latitude and longitude is the latitude and longitude of a certain geographic location (i.e., the center location of the geofence). The radius is used to define the range of the geofence, e.g., 500m, 1km, etc. The listening action includes entering a geofence or exiting a geofence.
The larger the distance between the geographic position of the user equipment and the edge of the geographic fence is, the longer the monitoring period is; the smaller the distance between the geographical location of the user equipment and the edge of the geofence, the shorter the listening period.
Thus, the greater the distance between the geographic location of the ue and the edge of the geofence, the longer the time may be required for the ue to enter/leave the geofence, which increases the listening period, reduces the number of times of listening by the ue, and saves resource consumption. On the contrary, the smaller the distance between the geographic position of the user equipment and the edge of the geo-fence is, the user equipment may possibly generate an action of entering/leaving the geo-fence in a shorter time, and at the moment, the monitoring period is reduced, so that the number of times of monitoring by the user equipment is increased, and the moment when the user enters/leaves the geo-fence can be captured more timely. The monitoring period operation of the method is realized on the local machine of the user equipment, and the reliability is high. In the data pushing method in the prior art, the monitoring period operation is realized on the server, and the monitoring period can be adjusted only by the user equipment which needs to be pushed to the user equipment by the server, so that the flow is generated, and the data pushing method depends on the network, and is not high in reliability. The listening period may be common to all geofences, or a separate listening period may be set for each geofence.
S2: the server pushes the geo-fence and the pre-push data to the user equipment;
specifically, a user screening rule can be preset on the server, so that the server can pack the geo-fence and the pre-pushed data and push the packed data to the user equipment according to the user screening rule.
S3: the user equipment monitors according to a preset monitoring period: and when the monitoring period arrives, acquiring the geographic position of the monitoring period, comparing the geographic position with the received geographic fence, and displaying the received pre-push data according to the comparison result.
Specifically, when receiving the pre-push data, the user equipment does not directly display the pre-push data, but compares the geographic position with the received geo-fence, and displays the received pre-push data according to a comparison result. The geofence can be persisted to the user device for convenient storage and reading.
According to the method, network communication is only needed once (namely, the time of establishing the geo-fence), the server can push the geo-fence and pre-push data when the user equipment is in a network, and the subsequent processes are that the user equipment runs in a local machine without a network. That is, the user can receive the pre-pushed data even without networking when entering or leaving the geofence, so that the user does not need to expose the geographic location to the server, and can still present the pushed data even when entering the geofence without a network.
Compared with the existing method, the method does not need to report the acquired geographical position, and extra flow cannot be generated even if a shorter monitoring period is set. Meanwhile, the geographic position of the user is prevented from being exposed to the server, and the privacy of the user is better protected.
Preferably, after the server receives and stores the geofence of development user input, the method further comprises:
the server receives and stores a trigger event input by a development user;
the server pushes the trigger event to the user equipment;
and when detecting that the current action of the user is consistent with the monitoring action of the geo-fence, the user equipment displays the pre-push data or executes the trigger event.
Specifically, the method can also trigger event statistics, and when the current action of the user equipment conforms to the listening action of the geofence, an event can also be triggered.
Preferably, the executing of the trigger event by the user equipment specifically includes:
the user equipment reports the current action, the user id and the id of the geo-fence of the user to a server through a network (such as a network supporting an HTTP protocol);
and the server performs statistical analysis on the data reported by all the user equipment.
Specifically, for example, the triggering event may be analyzing the traffic of a certain transportation station, analyzing the user composition of a certain previous vehicle exhibition, and the like. The method avoids the situation that the user equipment exposes the accurate geographic position to the server in real time in the prior art, and instead informs the server of the entering/leaving behavior of the user equipment after a certain time period. Thus, no data is reported to the user equipment which does not generate the entering/leaving behavior. In addition, the reporting time is not real-time, and the reported data is ambiguous, such as reporting the current actions of the user or the number of times of entering/leaving a certain geo-fence, and the reported data is not the exact geo-location. Compared with the prior art, the method can better protect the privacy of the user.
Example two:
embodiment two provides a method for managing a geo-fence by a user equipment on the basis of the embodiment one.
After the server pushes the geo-fence to the user equipment, the method further comprises:
and the user equipment creates, updates or deletes the received geo-fence according to a preset geo-fence screening rule so as to obtain the effective geo-fence.
Referring to fig. 3, the step of, by the user equipment, creating, updating, or deleting the received geo-fence according to the preset geo-fence filtering rule to obtain an effective geo-fence specifically includes:
s11: the user equipment detects whether a geo-fence with the id being consistent with the newly received geo-fence id exists in the local cache, and if not, the step S12 is executed; if yes, go to step S14;
s12: the user equipment judges whether the newly received geo-fence is expired or not according to the current time and the expiration time, if so, the step S16 is executed, and if not, the step S13 is executed;
s13: the user equipment judges whether the longitude latitude in the newly received geo-fence is legal or not, if not, the step S16 is executed, if yes, the user equipment judges whether the number of the geo-fences received by the user equipment exceeds a preset upper limit value or not, if yes, the earliest received geo-fence is deleted, and the step S17 is executed; if not, go to step S17;
s14: the user equipment judges whether the newly received geo-fence is expired or not according to the current time and the expiration time, if so, the step S16 is executed, and if not, the step S15 is executed;
s15: the user equipment judges whether the latitude in the newly received geo-fence is legal or not, if not, the step S16 is executed, if yes, the cached geo-fence with the id matched with the newly received geo-fence is updated, and the process is ended;
s16: the user equipment deletes the newly received geo-fence, and the process is ended;
s17: and the user equipment creates a fence according to the newly received geo-fence to obtain the effective geo-fence, caches the effective geo-fence to the local, and ends the process.
Specifically, the method manages the geo-fences according to factors such as id, expiration time, latitude and longitude, quantity and the like of the geo-fences, and deletes out-of-date geo-fences with illegal latitude and longitude (the longitude range is-180, the latitude range is-90, and when the longitude or the latitude exceeds the corresponding range, the geo-fences are considered to be illegal). And when the user equipment caches too many geographic fences, deleting the oldest geographic fence according to the sequence of the receiving time. When multiple geofences of the same id are received, if the geofences are not expired, the data is also valid, and the previously received geofences of the same id are updated according to the newly received geofences, thus also avoiding the simultaneous existence of multiple geofences of the same id. When a geofence is updated, deleted, or created, if a geofence is cached in the user device, then the remaining geofences are valid geofences, and then listening is performed.
For the sake of brief description, the method provided by the embodiment of the present invention may refer to the corresponding contents in the foregoing method embodiments.
Example three:
third embodiment provides a method for displaying user equipment on the basis of the above embodiments.
Referring to fig. 4, comparing the geographic location of the user equipment with the received geo-fence, and displaying the received pre-push data according to the comparison result specifically includes:
when detecting that the geographic position of the user equipment is located in the effective geographic fence, recording the current state as the inside of the fence by the user equipment; when detecting that the geographic position of the mobile terminal is positioned outside the effective geographic fence, recording the current state as the outside of the fence;
the user equipment reads the current state and the last state;
if the last state is outside the fence and the current state is inside the fence, setting the current action of the user as entering the geo-fence; if the last state is inside the fence and the current state is outside the fence, setting the current action of the user as leaving the geo-fence;
and when detecting that the current action of the user is consistent with the monitoring action of the geo-fence, the user equipment displays the pre-push data.
In particular, the method may not only trigger the user to enter the geofence, e.g., push a new product introduction for a store when the merchant wishes the user to enter the store. The departure of the user from the geofence may also be a trigger point. For example, the merchant may want the user to leave a store, push a comment page, or push a next possible local introduction.
The method judges whether the user enters the geo-fence or leaves the geo-fence according to the states of the user equipment in the last two times, so that pre-push data or event statistics are triggered and displayed.
For the sake of brief description, the method provided by the embodiment of the present invention may refer to the corresponding contents in the foregoing method embodiments.
Example four:
a web-less push system implemented based on geo-fencing, comprising:
a server: the system comprises a display, a display and a display module, wherein the display is used for receiving and storing geofence and pre-push data input by a development user; the server is also used for pushing the geo-fence and the pre-push data to the user equipment;
preferably, the geofence may be in a JSON data format, including id, expiration time, latitude and longitude, radius, and listening actions;
in particular, the id is used to distinguish between different geofences. The expiration time is used to define the effective time of the geofence, for example if the merchant's merchandise promotion time is up to 8 months and 1 day, the expiration time is set to 8 months and 1 day, and the expiration time may be a certain day or a certain period of time. The latitude and longitude is the latitude and longitude of a certain geographic location (i.e., the center location of the geofence). The radius is used to define the range of the geofence, e.g., 500m, 1km, etc. The listening action includes entering a geofence or exiting a geofence.
The larger the distance between the geographic position of the user equipment and the edge of the geographic fence is, the longer the monitoring period is; the smaller the distance between the geographical location of the user equipment and the edge of the geofence, the shorter the listening period.
Thus, the greater the distance between the geographic location of the ue and the edge of the geofence, the longer the time may be required for the ue to enter/leave the geofence, which increases the listening period, reduces the number of times of listening by the ue, and saves resource consumption. On the contrary, the smaller the distance between the geographic position of the user equipment and the edge of the geo-fence is, the user equipment may possibly generate an action of entering/leaving the geo-fence in a shorter time, and at the moment, the monitoring period is reduced, so that the number of times of monitoring by the user equipment is increased, and the moment when the user enters/leaves the geo-fence can be captured more timely. The monitoring period operation of the system is realized on the user equipment, and the reliability is high. In the data pushing method in the prior art, the monitoring period operation is realized on the server, and the monitoring period can be adjusted only by the user equipment which needs to be pushed to the user equipment by the server, so that the flow is generated, and the data pushing method depends on the network, and is not high in reliability. The listening period may be common to all geofences, or a separate listening period may be set for each geofence.
Specifically, a user screening rule can be preset on the server, so that the server can pack the geo-fence and the pre-pushed data and push the packed data to the user equipment according to the user screening rule.
The user equipment: the method comprises the following steps of monitoring according to a preset monitoring period: and when the monitoring period arrives, acquiring the geographic position of the monitoring period, comparing the geographic position with the received geographic fence, and displaying the received pre-push data according to the comparison result.
Specifically, when receiving the pre-push data, the user equipment does not directly display the pre-push data, but compares the geographic position with the received geo-fence, and displays the received pre-push data according to a comparison result. The geofence can be persisted to the user device for convenient storage and reading.
The system only needs one-time network communication (namely, the time of establishing the geo-fence), the server can push the geo-fence and pre-push data when the user equipment is in a network, and the subsequent processes are that the user equipment runs in the local machine without the network. That is, the user can receive the pre-pushed data even without networking when entering or leaving the geofence, so that the user does not need to expose the geographic location to the server, and can still present the pushed data even when entering the geofence without a network.
Compared with the existing method, the system does not need to report the acquired geographical position, and does not generate extra traffic even if a shorter monitoring period is set. Meanwhile, the geographic position of the user is prevented from being exposed to the server, and the privacy of the user is better protected.
Preferably, the server is further configured to receive and store a trigger event input by the development user, and push the trigger event to the user equipment;
the user equipment is further used for displaying the pre-push data or executing the trigger event when the current action of the user is detected to be consistent with the monitoring action of the geo-fence.
Specifically, the system can also trigger event statistics, and can also trigger an event when the current action of the user equipment conforms to the listening action of the geofence.
Preferably, the user equipment is specifically configured to:
the user equipment is used for reporting the current action, the user id and the id of the geo-fence of the user to the server through a network (such as a network supporting an HTTP protocol);
the server is used for carrying out statistical analysis on the data reported by all the user equipment.
Specifically, for example, the triggering event may be analyzing the traffic of a certain transportation station, analyzing the user composition of a certain previous vehicle exhibition, and the like. The system avoids the situation that the user equipment exposes an accurate geographical position to the server in real time in the prior art, and instead informs the server of the entering/leaving behavior of the user equipment after a certain period of time. Thus, no data is reported to the user equipment which does not generate the entering/leaving behavior. In addition, the reporting time is not real-time, and the reported data is ambiguous, such as reporting the current actions of the user or the number of times of entering/leaving a certain geo-fence, and the reported data is not the exact geo-location. Compared with the prior art, the system can better protect the privacy of the user.
Preferably, the user equipment is further configured to create, update or delete the received geo-fence according to a preset geo-fence filtering rule, so as to obtain an effective geo-fence, specifically including the following steps:
s11: the user equipment detects whether a geo-fence with the id being consistent with the newly received geo-fence id exists in the local cache, and if not, the step S12 is executed; if yes, go to step S14;
s12: the user equipment judges whether the newly received geo-fence is expired or not according to the current time and the expiration time, if so, the step S16 is executed, and if not, the step S13 is executed;
s13: the user equipment judges whether the longitude latitude in the newly received geo-fence is legal or not, if not, the step S16 is executed, if yes, the user equipment judges whether the number of the geo-fences received by the user equipment exceeds a preset upper limit value or not, if yes, the earliest received geo-fence is deleted, and the step S17 is executed; if not, go to step S17;
s14: the user equipment judges whether the newly received geo-fence is expired or not according to the current time and the expiration time, if so, the step S16 is executed, and if not, the step S15 is executed;
s15: the user equipment judges whether the latitude in the newly received geo-fence is legal or not, if not, the step S16 is executed, if yes, the cached geo-fence with the id matched with the newly received geo-fence is updated, and the process is ended;
s16: the user equipment deletes the newly received geo-fence, and the process is ended;
s17: and the user equipment creates a fence according to the newly received geo-fence to obtain the effective geo-fence, caches the effective geo-fence to the local, and ends the process.
Specifically, the system manages the geo-fences according to factors such as id, expiration time, latitude and longitude, quantity and the like of the geo-fences, and deletes out-of-date geo-fences with illegal latitude and longitude (the longitude range is-180, the latitude range is-90, and when the longitude or the latitude exceeds the corresponding range, the geo-fences are considered to be illegal). And when the user equipment caches too many geographic fences, deleting the oldest geographic fence according to the sequence of the receiving time. When multiple geofences of the same id are received, if the geofences are not expired, the data is also valid, and the previously received geofences of the same id are updated according to the newly received geofences, thus also avoiding the simultaneous existence of multiple geofences of the same id. When a geofence is updated, deleted, or created, if a geofence is cached in the user device, then the remaining geofences are valid geofences, and then listening is performed.
Preferably, the user equipment is configured to record the current state as inside the fence when detecting that its geographic location is within the valid geofence; when detecting that the geographic position of the mobile terminal is positioned outside the effective geographic fence, recording the current state as the outside of the fence;
the user equipment is used for reading the current state and the last state;
if the last state is outside the fence and the current state is inside the fence, setting the current action of the user as entering the geo-fence; if the last state is inside the fence and the current state is outside the fence, setting the current action of the user as leaving the geo-fence;
the user equipment is used for displaying the pre-push data when the current action of the user is consistent with the monitoring action of the geo-fence.
In particular, the system may not only trigger the user to enter the geofence, e.g., push a new product introduction to a store when the merchant wishes the user to enter the store. The departure of the user from the geofence may also be a trigger point. For example, the merchant may want the user to leave a store, push a comment page, or push a next possible local introduction.
The system determines whether the user enters the geofence or leaves the geofence by combining the states of the last two user devices, thereby triggering presentation of pre-push data or event statistics.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.

Claims (10)

1. A wireless network pushing method based on geo-fencing is characterized by comprising the following steps:
the server receives and stores the geo-fence and pre-push data input by the development user;
the server pushes the geo-fence and the pre-push data to the user equipment;
the user equipment monitors according to a preset monitoring period: and when the monitoring period arrives, acquiring the geographic position of the monitoring period, comparing the geographic position with the received geographic fence, and displaying the received pre-push data according to the comparison result.
2. The geo-fence implementation-based web-less push method of claim 1,
the geofence includes id, expiration time, latitude and longitude, radius, and listening actions.
3. The geo-fence implementation-based web-less push method of claim 2,
after the server pushes the geo-fence to the user equipment, the method further comprises:
and the user equipment creates, updates or deletes the received geo-fence according to a preset geo-fence screening rule so as to obtain the effective geo-fence.
4. The geo-fence implementation-based web-less push method of claim 3,
the step of, after the user equipment creates, updates or deletes the received geo-fence according to the preset geo-fence filtering rule, obtaining an effective geo-fence specifically includes:
s11: the user equipment detects whether a geo-fence with the id being consistent with the newly received geo-fence id exists in the local cache, and if not, the step S12 is executed; if yes, go to step S14;
s12: the user equipment judges whether the newly received geo-fence is expired or not according to the current time and the expiration time, if so, the step S16 is executed, and if not, the step S13 is executed;
s13: the user equipment judges whether the longitude latitude in the newly received geo-fence is legal or not, if not, the step S16 is executed, if yes, the user equipment judges whether the number of the geo-fences received by the user equipment exceeds a preset upper limit value or not, if yes, the earliest received geo-fence is deleted, and the step S17 is executed; if not, go to step S17;
s14: the user equipment judges whether the newly received geo-fence is expired or not according to the current time and the expiration time, if so, the step S16 is executed, and if not, the step S15 is executed;
s15: the user equipment judges whether the latitude in the newly received geo-fence is legal or not, if not, the step S16 is executed, if yes, the cached geo-fence with the id matched with the newly received geo-fence is updated, and the process is ended;
s16: the user equipment deletes the newly received geo-fence, and the process is ended;
s17: and the user equipment creates a fence according to the newly received geo-fence to obtain the effective geo-fence, caches the effective geo-fence to the local, and ends the process.
5. The geo-fence implementation-based web-less push method of claim 2,
the setting method of the monitoring period comprises the following steps:
the larger the distance between the geographic position of the user equipment and the edge of the geographic fence is, the longer the monitoring period is; the smaller the distance between the geographical location of the user equipment and the edge of the geofence, the shorter the listening period.
6. The geo-fence implementation-based web-less push method of claim 2,
the comparing, by the user equipment, the geographic position of the user equipment with the received geo-fence, and displaying the received pre-push data according to a comparison result specifically includes:
when detecting that the geographic position of the user equipment is located in the effective geographic fence, recording the current state as the inside of the fence by the user equipment; when detecting that the geographic position of the mobile terminal is positioned outside the effective geographic fence, recording the current state as the outside of the fence;
the user equipment reads the current state and the last state;
if the last state is outside the fence and the current state is inside the fence, setting the current action of the user as entering the geo-fence; if the last state is inside the fence and the current state is outside the fence, setting the current action of the user as leaving the geo-fence;
and when detecting that the current action of the user is consistent with the monitoring action of the geo-fence, the user equipment displays the pre-push data.
7. The geo-fence implementation-based web-less push method of claim 6,
after the server receives and stores the geofence of development user input, the method further comprises:
the server receives and stores a trigger event input by a development user;
the server pushes the trigger event to the user equipment;
and when detecting that the current action of the user is consistent with the monitoring action of the geo-fence, the user equipment displays the pre-push data or executes the trigger event.
8. The geo-fence implementation-based web-less push method of claim 7,
the step of the user equipment executing the trigger event specifically includes:
the user equipment reports the current action, the user id and the id of the geo-fence of the user to a server through a network;
and the server performs statistical analysis on the data reported by all the user equipment.
9. A web-less push system implemented based on geo-fencing, comprising:
a server: the system comprises a display, a display and a display module, wherein the display is used for receiving and storing geofence and pre-push data input by a development user; the server is also used for pushing the geo-fence and the pre-push data to the user equipment;
the user equipment: the method comprises the following steps of monitoring according to a preset monitoring period: and when the monitoring period arrives, acquiring the geographic position of the monitoring period, comparing the geographic position with the received geographic fence, and displaying the received pre-push data according to the comparison result.
10. The geo-fence implementation-based netless push system of claim 9,
the geo-fence comprises id, expiration time, longitude and latitude, radius and monitoring action;
the user equipment is used for recording the current state as the inside of the fence when detecting that the geographic position of the user equipment is located in the effective geographic fence; when detecting that the geographic position of the mobile terminal is positioned outside the effective geographic fence, recording the current state as the outside of the fence; the user equipment is also used for reading the current state and the last state; if the last state is outside the fence and the current state is inside the fence, setting the current action of the user as entering the geo-fence; if the last state is inside the fence and the current state is outside the fence, setting the current action of the user as leaving the geo-fence; the user equipment is further used for displaying the pre-push data when the current action of the user is detected to be consistent with the monitoring action of the geo-fence.
CN201910878065.9A 2019-09-17 2019-09-17 Wireless network pushing method and system based on geo-fencing Pending CN110602641A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910878065.9A CN110602641A (en) 2019-09-17 2019-09-17 Wireless network pushing method and system based on geo-fencing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910878065.9A CN110602641A (en) 2019-09-17 2019-09-17 Wireless network pushing method and system based on geo-fencing

Publications (1)

Publication Number Publication Date
CN110602641A true CN110602641A (en) 2019-12-20

Family

ID=68860530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910878065.9A Pending CN110602641A (en) 2019-09-17 2019-09-17 Wireless network pushing method and system based on geo-fencing

Country Status (1)

Country Link
CN (1) CN110602641A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102930107A (en) * 2011-11-09 2013-02-13 微软公司 A geography fence based on geography mark media
US20150011237A1 (en) * 2011-08-19 2015-01-08 Phunware, Inc. Geo-fence entry and exit notification system
CN104350769A (en) * 2012-05-31 2015-02-11 高通股份有限公司 Methods and systems for retrieving and caching geofence data
CN104769972A (en) * 2012-11-08 2015-07-08 高通股份有限公司 Obtaining a geo-fence without a network download
US20160165393A1 (en) * 2014-12-08 2016-06-09 Alibaba Group Holding Limited Determining timing for determination of applicable geo-fences
CN110008293A (en) * 2019-02-02 2019-07-12 阿里巴巴集团控股有限公司 Geographic position search method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150011237A1 (en) * 2011-08-19 2015-01-08 Phunware, Inc. Geo-fence entry and exit notification system
CN102930107A (en) * 2011-11-09 2013-02-13 微软公司 A geography fence based on geography mark media
CN104350769A (en) * 2012-05-31 2015-02-11 高通股份有限公司 Methods and systems for retrieving and caching geofence data
CN104769972A (en) * 2012-11-08 2015-07-08 高通股份有限公司 Obtaining a geo-fence without a network download
US20160165393A1 (en) * 2014-12-08 2016-06-09 Alibaba Group Holding Limited Determining timing for determination of applicable geo-fences
CN110008293A (en) * 2019-02-02 2019-07-12 阿里巴巴集团控股有限公司 Geographic position search method and device

Similar Documents

Publication Publication Date Title
US9294874B2 (en) Wireless user based notification system
JP5190069B2 (en) Method and apparatus for warning notification to subscriber of mobile station
US8115592B2 (en) System for submitting alert notices to mobile communication devices
KR100627841B1 (en) Method for providing a safezone secession alarm service using mobile' previous position data
US11006308B2 (en) Automatic event-based network monitoring
CN103763690A (en) Method and device for sending short messages to mobile terminal from detection fake base station
US20030005060A1 (en) Information system
CN110706030B (en) Advertisement putting method, device, system and storage medium
EP2663108A1 (en) Identifying a wireless device of a target user for communication interception based on individual usage pattern(s)
JP7027675B2 (en) Pseudo base station positioning method, terminal and computer readable storage medium
CN106488456A (en) A kind of base station login method and apparatus and mobile terminal
WO2016041171A1 (en) Method and apparatus for determining terminal roaming status, terminal and server
KR20200116845A (en) Network data collection method from application function device for network data analytic function
US20200084701A1 (en) System and method of tracking a mobile device
US20170086018A1 (en) Devices, Systems and Methods for Message Delivery
CN110602641A (en) Wireless network pushing method and system based on geo-fencing
US20130072188A1 (en) Method, system, terminal and network side for triggering terminal response
CN110191201B (en) Method, device and equipment for displaying cell alias and computer storage medium
JP2005277952A (en) Crime information supply system using mobile communication network
CN112835659A (en) Message pushing method and device
US10652352B2 (en) Server, client device and methods therein for handling
JP2020135420A (en) Sms fraud countermeasure system, sms fraud countermeasure method, and sms fraud countermeasure program
CN110753015B (en) Short message processing method, device and equipment
CN106453322A (en) Notification filtering method
EP3114626A1 (en) Devices, systems and methods for message delivery

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191220