CN111711668A - Method, device and computer equipment for pushing service in real time based on POI (Point of interest) - Google Patents
Method, device and computer equipment for pushing service in real time based on POI (Point of interest) Download PDFInfo
- Publication number
- CN111711668A CN111711668A CN202010463176.6A CN202010463176A CN111711668A CN 111711668 A CN111711668 A CN 111711668A CN 202010463176 A CN202010463176 A CN 202010463176A CN 111711668 A CN111711668 A CN 111711668A
- Authority
- CN
- China
- Prior art keywords
- user
- real
- preset
- time
- poi
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000004590 computer program Methods 0.000 claims description 14
- 238000012216 screening Methods 0.000 claims description 10
- 238000000605 extraction Methods 0.000 claims description 6
- 238000005457 optimization Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 11
- 230000000694 effects Effects 0.000 description 8
- 238000001914 filtration Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 230000035622 drinking Effects 0.000 description 4
- 239000000284 extract Substances 0.000 description 4
- 238000010295 mobile communication Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 235000013405 beer Nutrition 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 240000000530 Alcea rosea Species 0.000 description 1
- 235000017334 Alcea rosea Nutrition 0.000 description 1
- 235000017303 Althaea rosea Nutrition 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/52—Network services specially adapted for the location of the user terminal
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Information Transfer Between Computers (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a method, a device and computer equipment for pushing services in real time based on POI, which determine the real-time position of a user according to a preset instruction by receiving the preset instruction input by the user on a user terminal; acquiring position information corresponding to the real-time position from a preset POI table according to a preset acquisition rule; acquiring a scene corresponding to the position information from a preset configuration table according to the position information; acquiring a trigger condition corresponding to the position information from the configuration table according to the scene; judging whether the user meets the trigger condition; and if the user meets the trigger condition, sending push information to the user terminal according to a preset push rule. The invention is based on the business process optimization technology, and the POI data at the current position of the user is obtained by accurately positioning the real-time position of the user so as to carry out real-time push service on the user, thereby greatly improving the efficiency and the accuracy of the push service.
Description
Technical Field
The invention relates to the technical field of internet, in particular to a method, a device and computer equipment for pushing services in real time based on POI (point of interest).
Background
The push service refers to a service that a server directs to send information to the mobile terminal device or the intelligent terminal device in real time. In order to be more humanized, the current mobile terminal device or intelligent terminal device usually records the actions, hobbies and other contents of the user, and then pushes some different contents according to the different actions and hobbies of the user, and in addition, also pushes some user concerned contents or commercial tenant advertisements. In the prior art, a push service generally screens out users meeting conditions to interact with downstream services based on off-line processed labels, and pushes data such as specific services, cards and tickets, product messages and the like to the users. However, in the prior art, the time consumed by the server from collecting the information related to the user according to the current scene of the user to pushing the corresponding service to the user according to the information is long, so that the effect of pushing the service is reduced, and the expected purpose cannot be achieved.
Disclosure of Invention
The embodiment of the invention provides a method, a device and computer equipment for pushing services in real time based on POI, and aims to solve the problems that in the prior art, the pushing services consume too long time and are low in efficiency, so that the effect is poor.
In a first aspect, an embodiment of the present invention provides a method for pushing a service in real time based on a POI, which includes:
if a preset instruction input by a user on a user terminal is received, determining the real-time position of the user according to the preset instruction;
acquiring position information corresponding to the real-time position from a preset POI table according to a preset acquisition rule;
acquiring a scene corresponding to the position information from a preset configuration table according to the position information;
acquiring a trigger condition corresponding to the position information from the configuration table according to the scene;
judging whether the user meets the trigger condition;
and if the user meets the trigger condition, sending push information to the user terminal according to a preset push rule.
In a second aspect, an embodiment of the present invention provides an apparatus for a real-time push service based on a POI, which includes:
the real-time position determining unit is used for determining the real-time position of the user according to a preset instruction if the preset instruction input by the user on the user terminal is received;
the position information acquisition unit is used for acquiring position information corresponding to the real-time position from a preset POI table according to a preset acquisition rule;
the scene acquisition unit is used for acquiring a scene corresponding to the position information from a preset configuration table according to the position information;
a trigger condition obtaining unit, configured to obtain a trigger condition corresponding to the location information from the configuration table according to the scene;
the first judgment unit is used for judging whether the user meets the trigger condition or not;
and the pushing unit is used for sending pushing information to the user terminal according to a preset pushing rule if the user accords with the triggering condition.
In a third aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor, when executing the computer program, implements the method for the real-time POI-based push service according to the first aspect.
In a fourth aspect, the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program, when executed by a processor, causes the processor to execute the method for the POI-based real-time push service according to the first aspect.
The embodiment of the invention provides a method, a device and computer equipment for pushing services in real time based on POI, which determine the real-time position of a user according to a preset instruction by receiving the preset instruction input by the user on a user terminal; acquiring position information corresponding to the real-time position from a preset POI table according to a preset acquisition rule; acquiring a scene corresponding to the position information from a preset configuration table according to the position information; acquiring a trigger condition corresponding to the position information from the configuration table according to the scene; judging whether the user meets the trigger condition; and if the user meets the trigger condition, sending push information to the user terminal according to a preset push rule. According to the method, the POI data of the current position of the user is obtained by accurately positioning the real-time position of the user, then the scene where the user is currently located is determined according to the real-time activity track of the user at the current position, and whether the user triggers the corresponding condition is judged, so that the real-time push service is carried out on the user, and the efficiency and the accuracy of the push service are greatly improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for providing a POI-based real-time push service according to an embodiment of the present invention;
fig. 2 is a schematic application scenario diagram of a method for real-time push service based on POI according to an embodiment of the present invention;
fig. 3 is a schematic sub-flowchart of a method for providing a real-time POI-based push service according to an embodiment of the present invention;
fig. 4 is a schematic sub-flowchart of a method for providing a POI-based real-time push service according to an embodiment of the present invention;
fig. 5 is a schematic sub-flowchart of a method for providing a POI-based real-time push service according to an embodiment of the present invention;
fig. 6 is a schematic sub-flowchart of a method for providing a POI-based real-time push service according to an embodiment of the present invention;
fig. 7 is a schematic block diagram of an apparatus for providing a POI-based real-time push service according to an embodiment of the present invention;
FIG. 8 is a schematic block diagram illustrating sub-units of an apparatus for a real-time POI-based push service according to an embodiment of the present invention;
FIG. 9 is another schematic block diagram illustrating sub-units of an apparatus for a real-time POI-based push service according to an embodiment of the present invention;
FIG. 10 is a schematic block diagram illustrating another sub-unit of an apparatus for a real-time POI-based push service according to an embodiment of the present invention;
FIG. 11 is another schematic block diagram illustrating sub-units of an apparatus for a real-time POI-based push service according to an embodiment of the present invention;
FIG. 12 is a schematic block diagram of a computer device provided by an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
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.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic flowchart illustrating a method for real-time push service based on POI according to an embodiment of the present invention; fig. 2 is a schematic application scenario diagram of a method for pushing a service in real time based on a POI according to an embodiment of the present invention. The method for pushing the service in real time based on the POI is applied to the server 10, in the method, after the server 10 receives a relevant instruction sent by the user terminal 20 to the server 10, the server 10 analyzes the instruction to obtain the current position information of the user and then pushes the service to the user, wherein the user terminal 20 is a mobile terminal with a positioning function, and the server 10 is a device with data transmission and reception functions with the user terminal 20.
As shown in fig. 1, the method comprises the steps of: S110-S160.
And S110, determining the real-time position of the user according to a preset instruction if the preset instruction input by the user on the user terminal is received.
If a preset instruction input by the user on the user terminal 20 is received, the real-time position of the user is determined according to the preset instruction. Specifically, the user terminal 20 is a mobile terminal with a positioning function, and the preset instruction is instruction information sent by the user terminal to the server according to a corresponding operation performed by the user on the user terminal 20. The preset instruction includes information directly or indirectly related to the current position of the user, where the indirectly related information may be information for sending a login request to the server 10 before the user logs in the user terminal 20, or may be information for requesting information related to nearby information by clicking by the user after the user logs in the user terminal, that is, the request information is direct information. After receiving the preset instruction, the server 10 obtains information directly or indirectly related to the current position of the user from the preset instruction, thereby determining the real-time position of the user. For example, when the preset instruction sent by the user terminal to the server 10 includes GPS data and network data, the GPS data is information directly related to the current location of the user, and the network data is information indirectly related to the current location of the user, the server 10 determines the real-time location of the user through the GPS data and the network data.
In one embodiment, as shown in FIG. 3, step S110 includes sub-steps S111 and S112.
And S111, acquiring the network positioning and the GPS positioning of the user according to the preset instruction.
And acquiring the network positioning and the GPS positioning of the user according to the preset instruction. Specifically, the network positioning is used for acquiring the current position information of the user through the transmission of network data, and the GPS positioning is used for the user terminal 20 to acquire GPS data and transmit the GPS data to the server 10 so that the server 10 acquires the current position information of the user. In addition, the network location may be a location obtained by connecting the user terminal with the server through WIFI, or a location obtained by connecting the user terminal 10 with the server 10 through the base station for data transmission. When the user terminal is connected with the server 10 through the WIFI, the server 10 obtains the position information of the WIFI from the database according to the WIFI of the user terminal 20, so as to indirectly obtain the current position information of the user; when the user terminal 20 is connected to the server 10 through the base station, the server 10 obtains the location information of the base station from the database according to the base station of the user terminal 20, so as to indirectly obtain the current location information of the user, wherein the database is located in the server 10 and is used for storing the WIFI and the location of the base station.
And S112, determining the real-time position of the user according to the network positioning and the GPS positioning.
And determining the real-time position of the user according to the network positioning and the GPS positioning. Specifically, the server 10 determines, for the first time, according to the data information in the network positioning and the GPS positioning, whether the network positioning is the same as the GPS positioning, and if the network positioning of the user terminal 20 is the same as the GPS positioning, the real-time position of the user can be determined according to the network positioning or the GPS positioning, and if the network positioning is different from the GPS positioning, the implementation position of the user is determined according to the GPS positioning.
In one embodiment, as shown in fig. 4, step S112 includes sub-steps S1121 and S1122.
S1121, judging whether the network positioning is consistent with the GPS positioning.
And judging whether the network positioning is consistent with the GPS positioning. Specifically, the server 10 obtains the data information of the network positioning and the data information of the GPS positioning according to the preset instruction, the server 10 analyzes the data information of the network positioning and the data information of the GPS positioning respectively to obtain the real-time position coordinate of the user corresponding to the network positioning and the real-time position coordinate of the user corresponding to the GPS positioning, specifically, it is determined whether the network positioning and the GPS positioning are consistent according to the error between the longitude and latitude in the coordinates of the two, when the error between the longitude and latitude in the coordinates of the two does not exceed (0.005 ), it may be determined that the network positioning and the GPS positioning are consistent, and when the error between the longitude and latitude in the coordinates of the two exceeds (0.005 ), it may be determined that the network positioning and the GPS positioning are inconsistent.
S1122, if the network positioning is inconsistent with the GPS positioning, determining the real-time position of the user according to the GPS positioning.
And if the network positioning is inconsistent with the GPS positioning, determining the real-time position of the user according to the GPS positioning. Specifically, the network positioning is fast relative to the GPS positioning, the user terminal 20 can perform instantaneous positioning only by networking, the GPS positioning is slow in response, the time spent by the user terminal 20 in performing the GPS positioning is longer than the network positioning, and when the user terminal 20 is a mobile communication device, the GPS positioning needs to consume a large amount of electric power of the mobile communication device, and the real-time position of the user is determined according to the network positioning because the user terminal 20 needs to be continuously positioned to determine the real-time state of the user at the current position in the following process.
In another embodiment, the real-time location of the user is monitored based on the network location. Specifically, since a time gap exists between the server 10 obtaining the real-time location of the user for the first time and pushing the corresponding service to the user terminal 20 according to the real-time location of the user, in order to continuously monitor the real-time location of the user, the real-time location of the user can be continuously determined through network positioning and GPS positioning, but since the GPS positioning consumes a long time in the positioning process and occupies a large memory of the user terminal, in this embodiment, the real-time location of the user is monitored according to the network positioning before pushing the corresponding service to the user, so as to ensure that the push service is accurately performed on the user.
And S120, acquiring position information corresponding to the real-time position from a preset POI table according to a preset acquisition rule.
And acquiring the position information corresponding to the real-time position from a preset POI table according to a preset acquisition rule. Specifically, the preset acquisition rule is rule information used for inquiring and acquiring data according with the current position of the user from a preset POI list according to the real-time position of the user, the preset POI list is a data list used for storing position information corresponding to the real-time position, in the embodiment, the data in the POI list includes latitude and longitude of the current position of the user, usually, the real-time position of the user is represented by latitude and longitude, the server 10 inquires data matched with the current latitude and longitude of the user from the preset POI list according to the current latitude and longitude of the user, so as to acquire the position information corresponding to the real-time position of the user from the data, wherein the POI list is a data classification list containing POI data, the POI is an abbreviation of Point Interest, and chinese can be translated into a "Point of Interest". The POI data may contain various information such as the aforementioned names, aliases, etc., which may be regarded as individual tags (tags) and the category is one of the most important tags.
For example, the data in the POI list is shown in table 1:
TABLE 1
In an embodiment, as shown in fig. 5, step S120 includes sub-steps S121, S122 and S123.
And S121, inquiring data information corresponding to the real-time position in the POI table according to the real-time position.
And inquiring data information corresponding to the real-time position in the POI table according to the real-time position. Specifically, the real-time position is the longitude and latitude of the current position of the user, the data information of the real-time position of the user is stored in the data of the POI table, and the data information comprises the longitude and latitude, the type, the address and the name of the current position of the user, so that the data information which accords with the current position of the user can be searched in the POI table through the longitude and latitude of the current position of the user. For example, when the longitude and latitude of the real-time location of the user is (31.827, 120.481), data information corresponding to the longitude and latitude of the location where the user is currently located may be searched through the POI list.
And S122, extracting the POI table according to a preset extraction rule to obtain the data information.
And extracting the POI table according to a preset extraction rule to obtain the data information. Specifically, the extraction rule is used for extracting data information according to the data information obtained by querying the server 10 in the POI list, so as to obtain the data information of the real-time position of the user. After querying the data information of the real-time position of the user in the POI list, the server 10 extracts the data information from the POI list to obtain the data information of the real-time position of the user. For example, when the longitude and latitude of the real-time location of the user is (31.827, 120.481), the data information extracted by the server 10 is the data information of the knight beer garden, near the mei mountain road No. 18 in the city of Shushan, Anhui province, Heifei, and leisure entertainment including a bar and KTV, that is, the real-time location of the user.
S123, screening the data information according to a preset screening rule to obtain the position information which accords with the user.
And screening the data information according to a preset screening rule to obtain the position information conforming to the user. Specifically, the filtering rule is used for filtering according to the data information extracted from the POI list by the server 10 to obtain the location information conforming to the user, since the type of the data information extracted by the server 10 can be divided into a plurality of small types, and the server cannot determine the current specific location scene of the user, the extracted data information needs to be filtered by the filtering rule, in the process of screening the data information, the distance between the user and a plurality of small types in the data information needs to be calculated, determining the current specific position scene of the user by calculating the distance between the user and a plurality of small types in the data information, the server 10 filters the data information according to the specific location scene of the user, so as to obtain the location information according with the user. For example, when the data information is in the vicinity of a brave beer garden, a meishan mountain road No. 18 in a hollyhock area of Anhui province, and leisure entertainment, wherein the type of the leisure entertainment comprises small types such as a bar and a KTV, the distances between the bar and the user and the KTV are respectively calculated to determine the current specific position scene of the user, and if the distance between the bar and the user is close, the current specific position scene of the user is determined to be the bar; and if the distance between the KTV and the client is short, determining that the current specific position scene of the user is the KTV.
And S130, acquiring a scene corresponding to the position information from a preset configuration table according to the position information.
And acquiring a scene corresponding to the position information from a preset configuration table according to the position information. Specifically, after the server 10 obtains the current location information of the user, the server 10 matches a plurality of scenes in a preset configuration table according to the location information to obtain a scene that best matches the current location information of the user, and further, information corresponding to the scene can be obtained in the configuration table.
For example, the data in the configuration table is shown in table 2:
TABLE 2
And S140, acquiring the trigger condition corresponding to the position information from the configuration table according to the scene.
And acquiring a trigger condition corresponding to the position information from the configuration table according to the scene. Specifically, the server 10 may query the configuration table for the trigger condition corresponding to the scene according to the scene and extract the trigger condition to obtain the trigger condition. For example, if the server 10 acquires that the scene acquired from the configuration table is a "bar", the trigger condition that can be acquired in the configuration table according to the scene is "stay 50 meters for more than 1 hour within bar access"; if the scene acquired from the configuration table by the server 10 is "riding an airplane", the trigger condition that can be acquired in the configuration table according to the scene is "staying 100 meters near the airport for more than half an hour".
And S150, judging whether the user meets the trigger condition.
And judging whether the user meets the trigger condition. Specifically, the server 10 first identifies the user's own information to screen out a user that can be matched with the current scene, then sets the activity range of the user at the current position with the real-time position of the user as the center, and determines whether the user frequently exceeds the activity range within a preset time, and if the user does not frequently exceed or does not exceed the activity range, the user can be determined to meet the trigger condition; and if the user frequently exceeds the range, determining that the user is not in accordance with the trigger condition.
And S160, if the user accords with the trigger condition, sending push information to the user terminal according to a preset push rule.
And if the user meets the trigger condition, sending push information to the user terminal according to a preset push rule. Specifically, the preset push rule is rule information for performing push service on the user. When the server 10 determines that the user meets the trigger condition of the current scenario, a push message may be sent to the user terminal 20 to perform a push service on the user. The server 10 may perform a push service to the user terminal in a form of a short message, or may perform a push service to the user in the app at the user terminal 20.
In one embodiment, as shown in fig. 6, step S160 includes sub-steps S161 and S162.
S161, obtaining the push product and the push file corresponding to the trigger condition from the configuration table according to the trigger condition.
And acquiring a push product and a push file corresponding to the trigger condition from the configuration table according to the trigger condition. Specifically, when the user meets the trigger condition of the current scenario, the server 10 obtains the push product and the push document corresponding to the trigger condition from the configuration table according to the trigger condition. For example, when the current location of the user is a bar and a trigger condition of staying for 50 meters for more than 1 hour in the bar access is met, the server 10 acquires a push product "driving ticket" and a push document "driving without drinking and drinking without driving from the configuration table corresponding to the trigger condition according to the trigger condition. There is a ticket for driving for free to you. Please click … … "for details.
S162, pushing the push product and the push file to the user terminal in a message form.
And pushing the push product and the push file to the user terminal 20 in the form of a message. Specifically, after obtaining the push product and the push document of the current location of the user, the server 10 sends the push product and the push document to the user terminal 20 in the form of a message, where the user terminal 20 may receive the message in the corresponding app or a short message, and the information pushed by the server 10 to the user terminal 20 may be "driving without drinking" or drinking without driving. There is a ticket for driving for free to you. Please click … … "the" driving ticket "or interface pop-up box information in the corresponding app on the user terminal 20 for details, so that the user receives the information from the user terminal 20 in time.
The embodiment of the present invention further provides a device 100 for real-time push service based on POI, which is configured to execute any one of the embodiments of the real-time push service based on POI described above. Specifically, referring to fig. 7, fig. 7 is a schematic block diagram of an apparatus 100 for a POI-based real-time push service according to an embodiment of the present invention.
As shown in fig. 7, the apparatus 100 for the real-time POI-based push service includes a real-time location determining unit 110, a location information acquiring unit 120, a scene acquiring unit 130, a trigger condition acquiring unit 140, a first judging unit 150, and a pushing unit 160.
The real-time position determining unit 110 is configured to determine a real-time position of a user according to a preset instruction input by the user on a user terminal if the preset instruction is received.
The preset instruction is instruction information sent by the user terminal 20 to the server 10 according to the corresponding operation when the user performs the corresponding operation on the user terminal 20. The preset instruction comprises information directly or indirectly related to the current position of the user, and after receiving the preset instruction, the server 10 acquires the information directly or indirectly related to the current position of the user from the preset instruction, so that the real-time position of the user is determined.
In other inventive embodiments, as shown in fig. 8, the real-time position determining unit 110 includes a position obtaining unit 111 and a first determining unit 112.
And a position obtaining unit 111, configured to obtain network positioning and GPS positioning of the user according to the preset instruction.
The network location is used for acquiring the current location information of the user through the transmission of network data, and the GPS location is used for the user terminal 20 to acquire GPS data and transmit the GPS data into the server 10 so that the server 10 acquires the current location information of the user.
A first determining unit 112, configured to determine a real-time location of the user according to the network location and the GPS location.
Judging according to the data information in the network positioning and the GPS positioning to obtain whether the network positioning is the same as the GPS positioning, if the first network positioning of the user terminal 20 is the same as the first GPS positioning, determining the real-time position of the user according to the network positioning or the GPS positioning, and if the network positioning is different from the GPS positioning, determining the implementation position of the user according to the GPS positioning.
In another embodiment of the present invention, as shown in fig. 9, the first determining unit 112 includes a second determining unit 1121 and a second determining unit 1122.
A second determining unit 1121, configured to determine whether the network positioning is consistent with the GPS positioning.
According to the data information of the network positioning and the data information of the GPS positioning obtained in the preset instruction, the server 10 respectively analyzes the data information of the network positioning and the data information of the GPS positioning to obtain the real-time position coordinates of the user corresponding to the network positioning and the real-time position coordinates of the user corresponding to the GPS positioning, and can determine whether the network positioning and the GPS positioning are consistent according to the error between the longitude and latitude in the coordinates of the network positioning and the GPS positioning.
A second determining unit 1122, configured to determine a real-time location of the user according to the GPS positioning if the network positioning is inconsistent with the GPS positioning.
The network positioning is fast relative to the GPS positioning, the user terminal can perform instantaneous positioning only by networking, the GPS positioning has a slow response speed, the time spent by the user terminal 20 in performing the GPS positioning is longer than the network positioning, and when the user terminal 20 is a mobile communication device, the GPS positioning needs to consume a large amount of electric power of the mobile communication device.
In another embodiment, the real-time location of the user is monitored based on the network location. Specifically, since a time gap exists between the server 10 obtaining the real-time location of the user for the first time and pushing the corresponding service to the user terminal 20 according to the real-time location of the user, in order to continuously monitor the real-time location of the user, the real-time location of the user can be continuously determined through network positioning and GPS positioning, but since the GPS positioning consumes a long time in the positioning process and occupies a large memory of the user terminal, in this embodiment, the real-time location of the user is monitored according to the network positioning before pushing the corresponding service to the user, so as to ensure that the push service is accurately performed on the user.
A location information obtaining unit 120, configured to obtain location information corresponding to the real-time location from a preset POI list according to a preset obtaining rule.
The obtaining rule is rule information used for inquiring and obtaining data which accords with the current position of the user from a preset POI table according to the real-time position of the user, the POI table is a data table used for storing position information corresponding to the real-time position, in the embodiment, the data in the POI table comprises longitude and latitude, a type, a name and an address of the current position of the user, the real-time position of the user is usually represented by the longitude and latitude, and the server 10 inquires data which is matched with the current longitude and latitude of the user from the preset POI table according to the current longitude and latitude of the user, so that the position information corresponding to the real-time position of the user is obtained from the data.
In another embodiment of the present invention, as shown in fig. 10, the location information obtaining unit 120 includes an inquiring unit 121, an extracting unit 122, and a filtering unit 123.
The query unit 121 is configured to query the data information corresponding to the real-time location in the POI list according to the real-time location.
The real-time position is the longitude and latitude of the current position of the user, data information of the real-time position of the user is stored in the data of the POI table, and the data information comprises the longitude and latitude, the type, the address and the name of the current position of the user, so that the data information which accords with the current position of the user can be searched in the POI table through the longitude and latitude of the current position of the user.
The extracting unit 122 is configured to extract the POI list according to a preset extraction rule to obtain the data information.
The extraction rule is used for extracting data information according to the data information obtained by the server 10 through inquiring in the POI list, so as to obtain the data information of the real-time position of the user. After querying the data information of the real-time position of the user in the POI list, the server 10 extracts the data information from the POI list to obtain the data information of the real-time position of the user.
The screening unit 123 is configured to screen the data information according to a preset screening rule to obtain the location information that meets the user.
The filtering rule is used for filtering according to the data information extracted by the server 10 in the POI list to obtain the position information conforming to the user, since the type of the data information extracted by the server 10 can be divided into a plurality of small types, and the server 10 cannot determine the current specific location scene of the user at this time, the extracted data information needs to be filtered by the filtering rule, in the process of screening the data information, the distance between the user and a plurality of small types in the data information needs to be calculated, determining the current specific position scene of the user by calculating the distance between the user and a plurality of small types in the data information, the server 10 filters the data information according to the specific location scene of the user, so as to obtain the location information according with the user.
A scene obtaining unit 130, configured to obtain a scene corresponding to the location information from a preset configuration table according to the location information.
After the server 10 obtains the current location information of the user, the server 10 matches a plurality of scenes in a preset configuration table according to the location information to obtain a scene most consistent with the current location information of the user, and further can obtain information corresponding to the scene in the configuration table.
A trigger condition obtaining unit 140, configured to obtain a trigger condition corresponding to the location information from the configuration table according to the scene.
The server 10 may query the trigger condition corresponding to the scene from the configuration table according to the scene and extract the trigger condition to obtain the trigger condition.
A first determining unit 150, configured to determine whether the user meets the trigger condition.
The server 10 preferably identifies the self information of the user to screen out the user which can be matched with the current scene, then sets the activity range of the user at the current position by taking the real-time position of the user as the center, and judges whether the user frequently exceeds the activity range within the preset time, if not, the user can be determined to accord with the triggering condition; and if the user frequently exceeds the range, determining that the user is not in accordance with the trigger condition.
The pushing unit 160 is configured to send pushing information to the user terminal according to a preset pushing rule if the user meets the trigger condition.
The preset push rule is rule information used for carrying out push service on the user. When the server 10 determines that the user meets the trigger condition of the current scenario, a push message may be sent to the user terminal 20 to perform a push service on the user. The server 10 may perform a push service to the user terminal 20 in a form of a short message, or may perform a push service to the user in an app at the user terminal 20.
In other embodiments of the present invention, as shown in fig. 11, the pushing unit 160 includes an obtaining unit 161 and a message pushing unit 162.
The obtaining unit 161 is configured to obtain, according to the trigger condition, a pushed product and a pushed document corresponding to the trigger condition from the configuration table.
When the user meets the trigger condition of the current scene, the server 10 obtains the push product and the push document corresponding to the trigger condition from the configuration table according to the trigger condition.
And the message pushing unit 162 is used for pushing the pushed product and the pushed file to the user terminal in a message form.
After acquiring the push product and the push document of the current location of the user, the server 10 sends the push product and the push document to the user terminal 20 in the form of a message, where the user terminal 20 may receive the message in the corresponding app or a short message.
The device 100 for real-time push service based on POI provided in the embodiment of the present invention is used for executing the method for real-time push service based on POI, and determining a real-time location of a user according to a preset instruction if the preset instruction input by the user on a user terminal is received; acquiring position information corresponding to the real-time position from a preset POI table according to a preset acquisition rule; acquiring a scene corresponding to the position information from a preset configuration table according to the position information; acquiring a trigger condition corresponding to the position information from the configuration table according to the scene; judging whether the user meets the trigger condition; and if the user meets the trigger condition, sending push information to the user terminal according to a preset push rule.
Referring to fig. 12, fig. 12 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Referring to fig. 12, the device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032, when executed, may cause the processor 502 to perform a method of real-time push service based on POI.
The processor 502 is used to provide computing and control capabilities that support the operation of the overall device 500.
The internal memory 504 provides an environment for the execution of the computer program 5032 in the non-volatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 can be enabled to execute the method for the real-time push service based on the POI.
The network interface 505 is used for network communication, such as providing transmission of data information. It will be appreciated by those skilled in the art that the configuration shown in fig. 12 is a block diagram of only a portion of the configuration associated with the inventive arrangements and is not intended to limit the apparatus 500 to which the inventive arrangements may be applied, and that a particular apparatus 500 may include more or less components than those shown, or some components may be combined, or have a different arrangement of components.
Wherein the processor 502 is configured to run the computer program 5032 stored in the memory to implement the following functions: if a preset instruction input by a user on a user terminal is received, determining the real-time position of the user according to the preset instruction; acquiring position information corresponding to the real-time position from a preset POI table according to a preset acquisition rule; acquiring a scene corresponding to the position information from a preset configuration table according to the position information; acquiring a trigger condition corresponding to the position information from the configuration table according to the scene; judging whether the user meets the trigger condition; and if the user meets the trigger condition, sending push information to the user terminal according to a preset push rule.
Those skilled in the art will appreciate that the embodiment of the apparatus 500 shown in fig. 12 does not constitute a limitation on the specific construction of the apparatus 500, and in other embodiments, the apparatus 500 may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. For example, in some embodiments, the apparatus 500 may only include the memory and the processor 502, and in such embodiments, the structure and function of the memory and the processor 502 are the same as those of the embodiment shown in fig. 12, and are not repeated herein.
It should be understood that in the present embodiment, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general-purpose processors 502, a Digital Signal Processor 502 (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. The general-purpose processor 502 may be a microprocessor 502 or the processor 502 may be any conventional processor 502 or the like.
In another embodiment of the present invention, a computer storage medium is provided. The storage medium may be a non-volatile computer-readable storage medium. The storage medium stores a computer program 5032, wherein the computer program 5032 when executed by the processor 502 performs the steps of: if a preset instruction input by a user on a user terminal is received, determining the real-time position of the user according to the preset instruction; acquiring position information corresponding to the real-time position from a preset POI table according to a preset acquisition rule; acquiring a scene corresponding to the position information from a preset configuration table according to the position information; acquiring a trigger condition corresponding to the position information from the configuration table according to the scene; judging whether the user meets the trigger condition; and if the user meets the trigger condition, sending push information to the user terminal according to a preset push rule.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses, devices and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided by the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only a logical division, and there may be other divisions when the actual implementation is performed, or units having the same function may be grouped into one unit, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a device 500 (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A method for pushing service in real time based on POI is characterized by comprising the following steps:
if a preset instruction input by a user on a user terminal is received, determining the real-time position of the user according to the preset instruction;
acquiring position information corresponding to the real-time position from a preset POI table according to a preset acquisition rule;
acquiring a scene corresponding to the position information from a preset configuration table according to the position information;
acquiring a trigger condition corresponding to the position information from the configuration table according to the scene;
judging whether the user meets the trigger condition;
and if the user meets the trigger condition, sending push information to the user terminal according to a preset push rule.
2. The method of claim 1, wherein the determining the real-time location of the user according to the preset instruction comprises:
acquiring network positioning and GPS positioning of a user according to the preset instruction;
and determining the real-time position of the user according to the network positioning and the GPS positioning.
3. The method of real-time POI-based push service according to claim 2, wherein the determining the real-time location of the user according to the network positioning and GPS positioning comprises:
judging whether the network positioning is consistent with the GPS positioning;
and if the network positioning is inconsistent with the GPS positioning, determining the real-time position of the user according to the GPS positioning.
4. The method of claim 1, wherein the obtaining the location information corresponding to the real-time location from a preset POI list according to a preset obtaining rule comprises:
inquiring data information corresponding to the real-time position in the POI table according to the real-time position;
extracting the POI table according to a preset extraction rule to obtain the data information;
and screening the data information according to a preset screening rule to obtain the position information conforming to the user.
5. The method of claim 1, wherein the sending push information to the user terminal according to a preset push rule comprises:
acquiring a push product and a push file corresponding to the trigger condition from the configuration table according to the trigger condition;
and pushing the push product and the push file to the user terminal in a message form.
6. An apparatus for real-time push service based on POI, comprising:
the real-time position determining unit is used for determining the real-time position of the user according to a preset instruction if the preset instruction input by the user on the user terminal is received;
the position information acquisition unit is used for acquiring position information corresponding to the real-time position from a preset POI table according to a preset acquisition rule;
the scene acquisition unit is used for acquiring a scene corresponding to the position information from a preset configuration table according to the position information;
a trigger condition obtaining unit, configured to obtain a trigger condition corresponding to the location information from the configuration table according to the scene;
the first judgment unit is used for judging whether the user meets the trigger condition or not;
and the pushing unit is used for sending pushing information to the user terminal according to a preset pushing rule if the user accords with the triggering condition.
7. The apparatus of the POI-based real-time push service according to claim 6, wherein the real-time location determining unit comprises:
the position acquisition unit is used for acquiring the network positioning and the GPS positioning of the user according to the preset instruction;
and the first determining unit is used for determining the real-time position of the user according to the network positioning and the GPS positioning.
8. The apparatus of the POI-based real-time push service according to claim 7, wherein the first determining unit comprises:
a second judging unit, configured to judge whether the network positioning is consistent with the GPS positioning;
and the second determining unit is used for determining the real-time position of the user according to the GPS positioning if the network positioning is inconsistent with the GPS positioning.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the computer program implements the method of POI-based real-time push service according to any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that it stores a computer program which, when executed by a processor, causes the processor to carry out the method of POI-based real-time push service according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010463176.6A CN111711668B (en) | 2020-05-27 | 2020-05-27 | Method, device and computer equipment for pushing service in real time based on POI |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010463176.6A CN111711668B (en) | 2020-05-27 | 2020-05-27 | Method, device and computer equipment for pushing service in real time based on POI |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111711668A true CN111711668A (en) | 2020-09-25 |
CN111711668B CN111711668B (en) | 2024-06-04 |
Family
ID=72537960
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010463176.6A Active CN111711668B (en) | 2020-05-27 | 2020-05-27 | Method, device and computer equipment for pushing service in real time based on POI |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111711668B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115221426A (en) * | 2022-04-18 | 2022-10-21 | 广州汽车集团股份有限公司 | Multi-scene service display method and system |
CN116434601A (en) * | 2023-04-25 | 2023-07-14 | 广州市单元信息科技有限公司 | Intelligent processing method and system for message pushing |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108038177A (en) * | 2017-12-07 | 2018-05-15 | 上海连尚网络科技有限公司 | A kind of method and apparatus for being used to provide Shipping Options Page |
CN108848022A (en) * | 2018-06-05 | 2018-11-20 | 华南理工大学 | A kind of information push method based on scene and user behavior |
CN110366096A (en) * | 2019-05-30 | 2019-10-22 | 深圳数位传媒科技有限公司 | A kind of indoor scene recognition methods and device |
-
2020
- 2020-05-27 CN CN202010463176.6A patent/CN111711668B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108038177A (en) * | 2017-12-07 | 2018-05-15 | 上海连尚网络科技有限公司 | A kind of method and apparatus for being used to provide Shipping Options Page |
CN108848022A (en) * | 2018-06-05 | 2018-11-20 | 华南理工大学 | A kind of information push method based on scene and user behavior |
CN110366096A (en) * | 2019-05-30 | 2019-10-22 | 深圳数位传媒科技有限公司 | A kind of indoor scene recognition methods and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115221426A (en) * | 2022-04-18 | 2022-10-21 | 广州汽车集团股份有限公司 | Multi-scene service display method and system |
CN116434601A (en) * | 2023-04-25 | 2023-07-14 | 广州市单元信息科技有限公司 | Intelligent processing method and system for message pushing |
CN116434601B (en) * | 2023-04-25 | 2023-12-29 | 广州市单元信息科技有限公司 | Intelligent processing method and system for message pushing |
Also Published As
Publication number | Publication date |
---|---|
CN111711668B (en) | 2024-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109376313B (en) | Information recommendation method and device, terminal and storage medium | |
CN104579912B (en) | Data pushing method and device | |
CN108712712B (en) | Wireless fidelity WiFi network associated information display method and device | |
CN110888866B (en) | Data expansion method and device, data processing equipment and storage medium | |
JP2017511908A (en) | Method and system for providing code scan result information | |
CN111078818B (en) | Address analysis method and device, electronic equipment and storage medium | |
CN108282508B (en) | Geographic position determining method and device and information pushing method and device | |
CN109219953B (en) | Alarm clock reminding method, electronic equipment and computer readable storage medium | |
CN106210163B (en) | IP address-based localization method and device | |
CN107454126B (en) | Message pushing method, server and terminal | |
CN111325612B (en) | Order counting method, order distribution method, device and system | |
CN106027693B (en) | IP address-based localization method and device | |
CN111507772A (en) | Coupon management method, device and storage medium | |
CN103686622A (en) | Method and device for pushing information to mobile terminal | |
JP5886718B2 (en) | Information processing method and apparatus | |
CN107993106B (en) | Electronic invoice generation method and device | |
CN111711668A (en) | Method, device and computer equipment for pushing service in real time based on POI (Point of interest) | |
CN111339409A (en) | Map display method and system | |
US20130086087A1 (en) | Apparatus and method for generating and retrieving location-tagged content in computing device | |
CN106708820A (en) | Information display method and device | |
CN111242723B (en) | User child and child condition judgment method, server and computer readable storage medium | |
CN108966340B (en) | Equipment positioning method and device | |
CN114221988B (en) | Content distribution network hotspot analysis method and system | |
CN109657148B (en) | Abnormal operation identification method, device, server and medium for reported POI | |
CN108280648B (en) | Transaction processing method and server |
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 |