CN111711668B - Method, device and computer equipment for pushing service in real time based on POI - Google Patents

Method, device and computer equipment for pushing service in real time based on POI Download PDF

Info

Publication number
CN111711668B
CN111711668B CN202010463176.6A CN202010463176A CN111711668B CN 111711668 B CN111711668 B CN 111711668B CN 202010463176 A CN202010463176 A CN 202010463176A CN 111711668 B CN111711668 B CN 111711668B
Authority
CN
China
Prior art keywords
user
real
preset
information
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010463176.6A
Other languages
Chinese (zh)
Other versions
CN111711668A (en
Inventor
钟才
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Property and Casualty Insurance Company of China Ltd
Original Assignee
Ping An Property and Casualty Insurance Company of China 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 Ping An Property and Casualty Insurance Company of China Ltd filed Critical Ping An Property and Casualty Insurance Company of China Ltd
Priority to CN202010463176.6A priority Critical patent/CN111711668B/en
Publication of CN111711668A publication Critical patent/CN111711668A/en
Application granted granted Critical
Publication of CN111711668B publication Critical patent/CN111711668B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network 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)
  • Telephone Function (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method, a device and computer equipment for real-time push service based on POI, which are used for determining the real-time position of a user according to a preset instruction input by the user on a user terminal; acquiring position information corresponding to the real-time position from a preset POI list 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 triggering conditions corresponding to the position information from the configuration table according to the scene; judging whether the user accords with the triggering condition; and if the user accords with the triggering condition, sending push information to the user terminal according to a preset push rule. The invention is based on a business process optimization technology, and the real-time position of the user is accurately positioned to acquire POI data at the current position of the user so as to carry out real-time push service on the user, thereby greatly improving the efficiency and accuracy of the push service.

Description

Method, device and computer equipment for pushing service in real time based on POI
Technical Field
The invention relates to the technical field of internet, in particular to a method, a device and computer equipment for pushing service in real time based on POI.
Background
The push service refers to a service that a server directs to send information to a mobile terminal device or an intelligent terminal device in real time. In order to be more humanized, the current mobile terminal device or intelligent terminal device often records the actions, hobbies and other contents of the user, then pushes different contents according to different actions and hobbies of the user, and in addition, pushes contents of interest of the user or advertisements of merchants. In the prior art, a push service generally screens out a user meeting the conditions to interact with a downstream service based on an offline processed tag, and pushes data such as a specific service, a card ticket, a product message and the like to the user. However, in the prior art, the time 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 service in real time based on POI (point of interest), aiming at solving the problems of poor effect caused by overlong time consumption and lower efficiency of pushing service in the prior art.
In a first aspect, an embodiment of the present invention provides a method for real-time push service based on POI, including:
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 list 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 triggering conditions corresponding to the position information from the configuration table according to the scene;
Judging whether the user accords with the triggering condition;
and if the user accords with the triggering 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 real-time push service based on POI, including:
The real-time position determining unit is used for determining the real-time position of the user according to the 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 list according to a preset acquisition rule;
A scene acquisition unit, configured to acquire 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 judging unit is used for judging whether the user accords with the triggering condition;
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 capable of running on the processor, where the processor executes the computer program to implement a method for real-time POI-based push service according to the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, where the computer program when executed by a processor causes the processor to perform the method for 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 real-time push service based on POI, which are used for determining the real-time position of a user according to preset instructions input by the user on a user terminal by receiving the preset instructions; acquiring position information corresponding to the real-time position from a preset POI list 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 triggering conditions corresponding to the position information from the configuration table according to the scene; judging whether the user accords with the triggering condition; and if the user accords with the triggering condition, sending push information to the user terminal according to a preset push rule. According to the method, the real-time position of the user is accurately positioned to acquire POI data at the current position of the user, then the current scene of the user is determined according to the real-time activity track of the user at the current position, and whether the user triggers corresponding conditions is judged, so that real-time pushing service is performed on the user, and the efficiency and accuracy of the pushing service are greatly improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a method for real-time push service based on POI according to an embodiment of the present invention;
Fig. 2 is an application scenario schematic diagram of a method for real-time push service based on POI provided in an embodiment of the present invention;
Fig. 3 is a schematic sub-flowchart of a method for real-time push service based on POI according to an embodiment of the present invention;
fig. 4 is another schematic sub-flowchart of a method for real-time push service based on POI according to an embodiment of the present invention;
fig. 5 is another schematic sub-flowchart of a method for real-time push service based on POI according to an embodiment of the present invention;
Fig. 6 is another schematic sub-flowchart of a method for real-time push service based on POI according to an embodiment of the present invention;
Fig. 7 is a schematic block diagram of an apparatus for a POI-based real-time push service provided by an embodiment of the present invention;
fig. 8 is a schematic block diagram of a subunit of a device for POI-based real-time push service according to an embodiment of the present invention;
Fig. 9 is a schematic block diagram of another subunit of an apparatus for POI-based real-time push services according to an embodiment of the present invention;
Fig. 10 is a schematic block diagram of another subunit of an apparatus for POI-based real-time push services according to an embodiment of the present invention;
FIG. 11 is another schematic block diagram of a subunit of a device for providing POI-based real-time push services according to an embodiment of the present invention;
fig. 12 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "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 this specification 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 the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Referring to fig. 1 and fig. 2, fig. 1 is a flow chart of a method for real-time push service based on POI according to an embodiment of the present invention; fig. 2 is an application scenario schematic diagram of a method for real-time push service based on POI provided in an embodiment of the present invention. The method for pushing service in real time based on POI is applied to a server 10, after the server 10 in the method receives a related instruction sent by a user terminal 20 to the server 10, the server 10 analyzes the instruction to acquire current position information of a user and then pushes 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 receiving functions with the user terminal 20.
As shown in fig. 1, the method comprises the steps of: S110-S160.
S110, if a preset instruction input by a user on the user terminal is received, determining the real-time position of the user according to the preset instruction.
If a preset instruction input by the user on the user terminal 20 is received, determining the real-time position of the user 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 to the server by the user terminal according to the corresponding operation performed on the user terminal 20 by the user. The preset instruction includes information directly related to the current position of the user or indirectly related to the current position of the user, where the indirectly related information may be information that the login user terminal 20 sends a login request to the server 10, or may be information that after the user terminal is logged in, the user clicks on request information related to nearby information, 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, so as to determine 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, the network data is information indirectly related to the current location of the user, and 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.
S111, acquiring network positioning and GPS positioning of the user according to the preset instruction.
And acquiring network positioning and GPS positioning of the user according to the preset instruction. Specifically, the network location is used to obtain the current location information of the user through the transmission of the network data, and the GPS location is used for the user terminal 20 to obtain the GPS data and send the GPS data to the server 10, so that the server 10 obtains the current location information of the user. In addition, the network location may be a location obtained by connecting the user terminal to the server through WIFI, or a location obtained by connecting the user terminal 10 to the server 10 through a base station. When the user terminal is connected with the server 10 through WIFI, the server 10 acquires the position information of the WIFI from the database according to the WIFI of the user terminal 20, so that the current position information of the user is indirectly acquired; when the user terminal 20 is connected to the server 10 through the base station, the server 10 obtains the location information at the base station from a database according to the base station at the user terminal 20, thereby indirectly obtaining the current location information of the user, wherein the database exists in the server 10 and is used for storing the WIFI and the location at the base station.
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 whether the network positioning is the same as the GPS positioning according to the data information in the network positioning and the GPS positioning for the first time, if the network positioning of the user terminal 20 is the same as the first GPS positioning, the real-time position of the user can be determined according to the network positioning or the GPS positioning, if the network positioning is different from the GPS positioning, the implementation position of the user is determined according to the GPS positioning, and although the network positioning has a fast positioning speed after connecting with the internet, the external environment has a strong interference to the network positioning, and at this time, the real-time position of the user cannot be determined accurately through the network 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, after the server 10 analyzes the data information of the network positioning and the data information of the GPS positioning respectively, 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 can be obtained, specifically, whether the network positioning and the GPS positioning are consistent or not is determined according to the error between the longitude and the latitude of the two coordinates, when the error between the longitude and the latitude of the two coordinates is not more than (0.005), the network positioning and the GPS positioning can be determined to be consistent, and when the error between the longitude and the latitude of the two coordinates is more than (0.005), the network positioning and the GPS positioning can be determined to be inconsistent.
And 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 needs to be networked to perform instantaneous positioning, the GPS positioning has a slow reaction speed, the time spent by the user terminal 20 in performing GPS positioning is longer than that of network positioning, and when the user terminal 20 is a mobile communication device, the GPS positioning needs to consume a large amount of electric quantity of the mobile communication device, and since the user terminal 20 needs to be continuously positioned to determine the real-time state of the user at the current position, the real-time position of the user is determined according to the network positioning.
In another embodiment, the real-time location of the user is monitored based on the network location. Specifically, since a period of time is left between the server 10 after the first obtaining of the real-time position of the user and the pushing of the corresponding service to the user terminal 20 according to the real-time position of the user, in order to continuously monitor the real-time position of the user, the real-time position 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 position of the user is monitored according to the network positioning before the pushing of the corresponding service to the user, so as to ensure that the pushing service is accurately performed on the user.
S120, acquiring position information corresponding to the real-time position from a preset POI list according to a preset acquisition rule.
And acquiring position information corresponding to the real-time position from a preset POI list according to a preset acquisition rule. Specifically, the preset acquiring rule is rule information for querying data according with the current position of the user from a preset POI table according to the current position of the user and acquiring the data, the preset POI table is used for storing a data table of position information corresponding to the current position, in this embodiment, the data in the POI table includes longitude and latitude of the current position of the user, a type, a name and an address, the current position of the user is usually represented by longitude and latitude, the server 10 queries data matching with the current longitude and latitude of the user in the preset POI table according to the current longitude and latitude of the user, so that the position information corresponding to the current longitude and latitude of the user is obtained from the data, the POI table is a data classification table containing POI data, POI is an abbreviation of "Point of Interest", and chinese can be translated into "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 classification is the most important one of the tags.
For example, the data in the POI list is shown in table 1:
TABLE 1
In one embodiment, as shown in FIG. 5, step S120 includes substeps S121, S122, and S123.
S121, inquiring data information corresponding to the real-time position in the POI list according to the real-time position.
And inquiring data information corresponding to the real-time position in the POI list according to the real-time position. Specifically, the real-time position is the longitude and latitude of the current moment 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 moment of the user. For example, when the longitude and latitude of the real-time location of the user is (31.827, 120.481), the POI list can be used for inquiring the data information corresponding to the longitude and latitude of the current location of the user.
S122, extracting the POI list according to a preset extraction rule to obtain the data information.
And extracting the POI list according to a preset extraction rule to obtain the data information. Specifically, the extraction rule is used for obtaining data information of the real-time location of the user according to the data information obtained by querying the POI list by the server 10 and extracting the data information. After the server 10 queries the POI list for the data information of the real-time location of the user, the data information is extracted from the POI list to obtain the data information of the real-time location 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 real-time location of the user, such as the warrior garden, the vicinity of the plum mountain road 18 in the holy mountain area of the city of the united states of Anhui province, and leisure entertainment, including bars and KTVs.
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 which accords with the user. Specifically, the screening rule is used for screening according to the data information extracted from the POI list by the server 10 to obtain the location information conforming to the user, and since the type in the data information extracted by the server 10 can be divided into a plurality of small types, the server cannot determine the current specific location scene of the user at this time, so that the extracted data information needs to be screened according to the screening rule, in the process of screening the data information, the distance between the user and the small types in the data information needs to be calculated, the current specific location scene of the user is determined by calculating the distance between the user and the small types in the data information, and after determining the current specific location scene of the user, the server 10 screens the data information according to the specific location scene of the user, so as to obtain the location information conforming to the user. For example, when the data information is about the warrior beer garden, the plum mountain road 18 in the holly mountain area of the Guangzhou of Anhui province, and leisure and recreation, wherein the leisure and recreation comprises the small types of bars, KTVs and the like, the distances between the bars, the KTVs and the users are calculated respectively to determine the current specific position scene of the users, and if the distances between the bars and the users are close, the current specific position scene of the users is determined to be the bars; if the KTV is close to the client, determining that the current specific position scene of the user is KTV.
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 obtaining 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, so as to obtain a scene most conforming to 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
S140, acquiring triggering conditions corresponding to the position information from the configuration table according to the scene.
And acquiring triggering conditions corresponding to the position information from the configuration table according to the scene. Specifically, the server 10 may query the configuration table for a trigger condition corresponding to the scene according to the scene, and extract the trigger condition. For example, if the server 10 acquires that the scene acquired from the configuration table is "bar", the trigger condition that can be acquired from the configuration table according to the scene is "stay 50 meters for more than 1 hour within bar access"; if the server 10 acquires the scene acquired from the configuration table as "passenger", the trigger condition acquired from the configuration table according to the scene is "stay 100 meters around the airport for more than half an hour".
S150, judging whether the user accords with the triggering condition.
And judging whether the user accords with the triggering condition. Specifically, the server 10 first selects to identify the self information of the user so as to screen out the user which can be matched with the current scene, then sets the active range of the user at the current position by taking the real-time position of the user as the center, judges whether the user frequently exceeds the active range in the preset time, and if the user does not frequently exceed or does not exceed the active range, can determine that the user accords with the triggering condition; if the user frequently exceeds the range, the user is determined not to meet the triggering condition.
And S160, if the user accords with the triggering condition, sending push information to the user terminal according to a preset push rule.
And if the user accords with the triggering condition, sending push information to the user terminal according to a preset push rule. Specifically, the preset pushing rule is rule information for performing pushing service on the user. When the server 10 determines that the user meets the triggering condition of the current scenario, a push message may be sent to the user terminal 20 to perform push service on the user. The server 10 may perform push service on the user terminal in the form of a short message, or may perform push service on the app at the user terminal 20 to the user.
In one embodiment, as shown in FIG. 6, step S160 includes sub-steps S161 and S162.
S161, obtaining push products and push documents corresponding to the trigger conditions from the configuration table according to the trigger conditions.
And obtaining push products and push documents corresponding to the trigger conditions from the configuration table according to the trigger conditions. Specifically, 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. For example, when the current location of the user is a bar and a trigger condition of 50 meters stay for more than 1 hour within the bar access is met, the server 10 acquires a push product "coupon" and a push document "corresponding to the trigger condition from the configuration table according to the trigger condition, and the push document is driven without drinking. There is a coupon free to you. Please click … … for details).
S162, pushing the pushing product and the pushing document to the user terminal in a message mode.
The push product and the push document are pushed to the user terminal 20 in the form of messages. Specifically, after obtaining the push product and the push document at the current position 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 a corresponding app or may receive the message in a short message, where the information pushed to the user terminal 20 by the server 10 may be "drive without drinking, drink without driving". There is a coupon free to you. The user can receive the information from the user terminal 20 in time by clicking … …'s short message information of "coupon" or corresponding interface frame information in the app on the user terminal 20.
The embodiment of the invention also provides a device 100 for real-time push service based on POI, which is used for executing any embodiment of the real-time push service based on POI. In particular, referring to fig. 7, fig. 7 is a schematic block diagram of an apparatus 100 for real-time push service based on POI according to an embodiment of the present invention.
As shown in fig. 7, the apparatus 100 for real-time push service based on POI 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 push unit 160.
The real-time position determining unit 110 is configured to determine, if a preset instruction input by a user on the user terminal is received, a real-time position of the user according to the preset instruction.
The preset instruction is instruction information sent to the server 10 by the user terminal 20 according to the 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, and after receiving the preset instruction, the server 10 obtains the information directly or indirectly related to the current position of the user from the preset instruction, so as to determine the real-time position of the user.
In other inventive embodiments, as shown in fig. 8, the real-time position determining unit 110 includes a position acquiring unit 111 and a first determining unit 112.
And a location acquiring unit 111, configured to acquire network location and GPS location of the user according to the preset instruction.
The network location is used to acquire 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 to the server 10 so that the server 10 obtains the current location information of the user.
A first determining unit 112 for determining a real-time position of the user based on the network location and the GPS location.
Judging whether the network positioning is the same as the GPS positioning according to the data information in the network positioning and the GPS positioning, if the 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, if the network positioning is different from the GPS positioning, determining the implementation position of the user according to the GPS positioning, wherein the network positioning has high positioning speed after connecting the Internet, but has strong interference to the network positioning by the external environment, and the real-time position of the user cannot be determined accurately through the network positioning at the moment.
In other inventive embodiments, as shown in fig. 9, the first determining unit 112 includes a second judging unit 1121 and a second determining unit 1122.
A second judging unit 1121 for judging whether the network location and the GPS location are consistent.
According to the data information of the network positioning and the data information of the GPS positioning obtained from 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 real-time position coordinates of the user corresponding to the network positioning and real-time position coordinates of the user corresponding to the GPS positioning, and whether the network positioning and the GPS positioning are consistent or not can be determined according to errors between longitude and latitude in the coordinates of the two.
And a second determining unit 1122 configured to determine a real-time location of the user based on the GPS location if the network location and the GPS location are inconsistent.
The network positioning is fast relative to the GPS positioning, the user terminal can be positioned instantly only by networking, the GPS positioning reaction speed is slow, the time spent by the user terminal 20 in GPS positioning is longer than that of 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 quantity of the mobile communication device, and the user terminal is continuously positioned to determine the real-time state of the user at the current position due to the follow-up requirement, so that the real-time position of the user is determined according to the network positioning.
In another embodiment, the real-time location of the user is monitored based on the network location. Specifically, since a period of time is left between the server 10 after the first obtaining of the real-time position of the user and the pushing of the corresponding service to the user terminal 20 according to the real-time position of the user, in order to continuously monitor the real-time position of the user, the real-time position 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 position of the user is monitored according to the network positioning before the pushing of the corresponding service to the user, so as to ensure that the pushing service is accurately performed on the user.
The location information obtaining unit 120 is configured to obtain location information corresponding to the real-time location from a preset POI list according to a preset obtaining rule.
The acquiring rule is rule information for inquiring data conforming to the current position of the user from a preset POI list according to the current position of the user, the POI list is a data list for storing position information corresponding to the current position, the data in the POI list in this embodiment includes longitude and latitude, type, name and address of the current position of the user, the current position of the user is usually represented by longitude and latitude, and the server 10 inquires data matching the current longitude and latitude of the user from the preset POI list according to the current longitude and latitude of the user, so that the position information corresponding to the current position of the user is obtained from the data.
In other embodiments of the invention, as shown in fig. 10, the location information obtaining unit 120 includes a query unit 121, an extraction unit 122, and a screening unit 123.
The query unit 121 is configured to query the POI list for data information corresponding to the real-time location according to the real-time location.
The real-time position is the longitude and latitude of the current moment of the user, the data information of the real-time position of the user is stored in the data of the POI list, 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 list through the longitude and latitude of the current moment 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 obtaining data information of the real-time position of the user according to the data information obtained by inquiring the server 10 in the POI list and extracting the data information. After the server 10 queries the POI list for the data information of the real-time location of the user, the data information is extracted from the POI list to obtain the data information of the real-time location of the user.
And the filtering unit 123 is configured to filter the data information according to a preset filtering rule to obtain the location information that accords with the user.
The filtering rule is used for filtering according to the data information extracted from the POI list by the server 10 to obtain the position information conforming to the user, and since the types in the data information extracted by the server 10 can be divided into a plurality of small types, the server 10 cannot determine the current specific position scene of the user at this time, so that the extracted data information needs to be filtered according to the filtering rule, in the process of filtering the data information, the distance between the user and the small types in the data information needs to be calculated, the current specific position scene of the user is determined by calculating the distance between the user and the small types in the data information, and after the current specific position scene of the user is determined, the server 10 filters the data information according to the specific position scene of the user, so as to obtain the position information conforming to the user.
And the scene acquisition unit 130 is configured to acquire a scene corresponding to the position information from a preset configuration table according to the position information.
After obtaining 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 conforming to the current location information of the user, and further information corresponding to the scene can be obtained in the configuration table.
And a trigger condition obtaining unit 140, configured to obtain, according to the scene, a trigger condition corresponding to the location information from the configuration table.
The server 10 may query the configuration table for a trigger condition corresponding to the scene according to the scene and extract the trigger condition.
The first judging unit 150 is configured to judge whether the user meets the triggering condition.
The server 10 first selects to identify the self information of the user so as to screen out the user which can be matched with the current scene, then sets the active range of the user at the current position by taking the real-time position of the user as the center, judges whether the user frequently exceeds the active range in the preset time, and if the user does not frequently exceed or does not exceed the active range, can determine that the user accords with the triggering condition; if the user frequently exceeds the range, the user is determined not to meet the triggering condition.
And 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 triggering condition.
The preset pushing rule is rule information for pushing the user. When the server 10 determines that the user meets the triggering condition of the current scenario, a push message may be sent to the user terminal 20 to perform push service on the user. The server 10 may perform push service on the user terminal 20 in the form of a short message, or may perform push service to the user in the app at the user terminal 20.
In other embodiments of the 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, from the configuration table, a push product and a push document corresponding to the trigger condition according to the trigger condition.
When the user accords with the triggering condition of the current scene, the server 10 acquires the push product and the push document corresponding to the triggering condition from the configuration table according to the triggering condition.
And the message pushing unit 162 is used for pushing the push product and the push document to the user terminal in the form of a message.
After obtaining the push product and the push document at the current position 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, wherein the user terminal 20 can receive the message in the corresponding app or in a short message.
The device 100 for real-time push service based on POI provided by the embodiment of the present invention is configured to execute the method for real-time push service based on POI, where if a preset instruction input by a user on a user terminal is received, the real-time position of the user is determined according to the preset instruction; acquiring position information corresponding to the real-time position from a preset POI list 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 triggering conditions corresponding to the position information from the configuration table according to the scene; judging whether the user accords with the triggering condition; and if the user accords with the triggering 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.
With reference to fig. 12, the device 500 includes a processor 502, a memory, and a network interface 505, which are connected by a system bus 501, wherein 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 POI-based real-time push services.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall device 500.
The internal memory 504 provides an environment for the execution of a computer program 5032 in the non-volatile storage medium 503, which computer program 5032, when executed by the processor 502, may cause the processor 502 to perform a method of POI-based real-time push services.
The network interface 505 is used for network communication, such as providing for transmission of data information, etc. It will be appreciated by those skilled in the art that the structure shown in fig. 12 is merely a block diagram of a portion of the structure associated with the present inventive arrangements and is not limiting of the apparatus 500 to which the present inventive arrangements are applied, and that a particular apparatus 500 may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 502 is configured to execute a computer program 5032 stored in a memory to perform 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 list 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 triggering conditions corresponding to the position information from the configuration table according to the scene; judging whether the user accords with the triggering condition; and if the user accords with the triggering 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 is not limiting of the specific construction of the apparatus 500, and in other embodiments, the apparatus 500 may include more or less components than illustrated, or certain components may be combined, or a different arrangement of components. For example, in some embodiments, the device 500 may include only the memory and the processor 502, and in such embodiments, the structure and the function of the memory and the processor 502 are consistent with the embodiment shown in fig. 12, and will not be described herein.
It should be appreciated that in embodiments of the present invention, the Processor 502 may be a central processing unit (Central Processing Unit, CPU), the Processor 502 may also be other general purpose processors 502, digital signal processors 502 (DIGITAL SIGNAL processors, DSPs), application SPECIFIC INTEGRATED Circuits (ASICs), off-the-shelf Programmable gate arrays (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor 502 may be the microprocessor 502 or the processor 502 may be any conventional processor 502 or the like.
In another embodiment of the 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 list 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 triggering conditions corresponding to the position information from the configuration table according to the scene; judging whether the user accords with the triggering condition; and if the user accords with the triggering condition, sending push information to the user terminal according to a preset push rule.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus, device and unit described above may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein. Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate 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 solution. 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 several embodiments provided by the present invention, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the units is merely a logical function division, there may be another division manner in actual implementation, or units having the same function may be integrated into one unit, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices, or elements, or may be an electrical, mechanical, or other form of connection.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the embodiment of the present invention.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units may be stored in a storage medium if implemented in the form of software functional units and sold or used as stand-alone products. Based on such understanding, the technical solution of the present invention may be essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing an apparatus 500 (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (5)

1. A method for real-time push service based on POI, comprising:
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;
Inquiring data information corresponding to the real-time position in the POI list according to the real-time position;
extracting the POI list according to a preset extraction rule to obtain the data information;
Determining a current specific position scene of a user by calculating the distance between the user and a plurality of small types in the data information, and screening the data information according to the specific position scene to obtain position information conforming to the user;
acquiring a scene corresponding to the position information from a preset configuration table according to the position information;
acquiring triggering conditions corresponding to the position information from the configuration table according to the scene;
Judging whether the user accords with the triggering condition, wherein the self information of the user is identified to screen out the matched user with the current scene, the active range of the user at the current position is set by taking the real-time position of the matched user as the center, and whether the matched user frequently exceeds the active range in preset time or not is judged, if the matched user does not frequently exceed or does not exceed the active range, the user can be determined to accord with the triggering condition; if the user frequently exceeds the activity range, determining that the user does not meet the triggering condition;
if the user accords with the triggering condition, sending push information to the user terminal according to a preset push rule;
wherein, the determining the real-time position of the user according to the preset instruction includes:
acquiring network positioning and GPS positioning of a user according to the preset instruction;
Judging whether the network positioning is consistent with the GPS positioning;
If the network positioning is inconsistent with the GPS positioning, determining the real-time position of the user according to the GPS positioning, and monitoring the real-time position of the user according to the network positioning.
2. The method for real-time push service based on POI according to claim 1, wherein the sending push information to the user terminal according to a preset push rule comprises:
obtaining push products and push documents corresponding to the triggering conditions from the configuration table according to the triggering conditions;
And pushing the pushing product and the pushing document to the user terminal in the form of messages.
3. 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 the preset instruction if the preset instruction input by the user on the user terminal is received;
the query unit is used for querying data information corresponding to the real-time position in the POI list according to the real-time position;
The extraction unit is used for extracting the POI list according to a preset extraction rule to obtain the data information;
The screening unit is used for 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, and screening the data information according to the specific position scene to obtain the position information conforming to the user;
A scene acquisition unit, configured to acquire 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 judging unit is used for judging whether the user accords with the triggering condition, wherein the self information of the user is identified to screen out the matched user with the current scene, the moving range of the user at the current position is set by taking the real-time position of the matched user as the center, and whether the matched user frequently exceeds the moving range in preset time or not is judged, if the moving range is not frequently exceeded or not exceeded, the user can be determined to accord with the triggering condition; if the user frequently exceeds the activity range, determining that the user does not meet the triggering condition;
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;
Wherein the real-time position determining unit includes:
the position acquisition unit is used for acquiring network positioning and GPS positioning of the user according to the preset instruction;
The second judging unit is used for judging 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 and monitoring the real-time position of the user according to the network positioning if the network positioning is inconsistent with the GPS positioning.
4. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of POI-based real-time push service according to any of claims 1 to 2 when the computer program is executed.
5. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, causes the processor to perform the method of POI-based real-time push service according to any of claims 1 to 2.
CN202010463176.6A 2020-05-27 2020-05-27 Method, device and computer equipment for pushing service in real time based on POI Active CN111711668B (en)

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 CN111711668A (en) 2020-09-25
CN111711668B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115221426A (en) * 2022-04-18 2022-10-21 广州汽车集团股份有限公司 Multi-scene service display method and system
CN116434601B (en) * 2023-04-25 2023-12-29 广州市单元信息科技有限公司 Intelligent processing method and system for message pushing

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN111711668A (en) 2020-09-25

Similar Documents

Publication Publication Date Title
CN108737535B (en) Message pushing method, storage medium and server
CN106202117B (en) Data processing method and device and server
US20210035126A1 (en) Data processing method, system and computer device based on electronic payment behaviors
CN104579912B (en) Data pushing method and device
CN111711668B (en) Method, device and computer equipment for pushing service in real time based on POI
US20230308835A1 (en) Therapeutic fusion proteins
CN110362455B (en) Data processing method and data processing device
WO2015126825A1 (en) Method and system for providing code scanning result information
CN103620585A (en) Virtual identity manager
CN111756796B (en) Method and device for pushing rights and interests resource information, storage medium and terminal
US20230421992A1 (en) Passively capturing and monitoring device behaviors
CN110689218A (en) Risk user identification method and device, computer equipment and storage medium
CN112770129A (en) Live broadcast-based group chat establishing method, related device, equipment and medium
CN107045688B (en) Control method and device for accurately identifying target terminal
CN112528148A (en) Resource information display and configuration method and device
CN111506834A (en) Method and device for pushing rights and interests resource information, storage medium and terminal
CN108280648B (en) Transaction processing method and server
CN111767481A (en) Access processing method, device, equipment and storage medium
CN112492021B (en) Service calling relation path detection method based on network data
US11856473B2 (en) Intelligent geofence provisioning
CN107566216A (en) A kind of monitoring method, device and operation system
US8756688B1 (en) Method and system for identifying business listing characteristics
CN107590148B (en) Promotion information pushing method and system
US8296055B2 (en) Method and system for positional communication
CN113722614B (en) Method and device for determining boarding location 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