CN116939493A - Data processing method, device and storage medium - Google Patents

Data processing method, device and storage medium Download PDF

Info

Publication number
CN116939493A
CN116939493A CN202210381402.5A CN202210381402A CN116939493A CN 116939493 A CN116939493 A CN 116939493A CN 202210381402 A CN202210381402 A CN 202210381402A CN 116939493 A CN116939493 A CN 116939493A
Authority
CN
China
Prior art keywords
data processing
terminal
processing device
geofence
trigger signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210381402.5A
Other languages
Chinese (zh)
Inventor
张星星
王一名
霍凯月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202210381402.5A priority Critical patent/CN116939493A/en
Publication of CN116939493A publication Critical patent/CN116939493A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • H04W4/022Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences with dynamic range variability
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/35Services specially adapted for particular environments, situations or purposes for the management of goods or merchandise

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a data processing method, equipment and a storage medium, wherein the method comprises the following steps: the first data processing device receives the position information of the current period sent by the first terminal. And acquiring the pre-set geofence information of the second data processing device, and determining the state information of the current period of the first terminal according to the position information of the first terminal and the geofence information of the second data processing device. If the state information of the current period of the first terminal indicates that the first terminal is within the geofence of the second data processing apparatus, a first trigger signal is generated. Wherein the first trigger signal is for indicating that the first terminal enters the geofence of the second data processing apparatus. And sending a first trigger signal to the second data processing device, so that the second data processing device sends a preset first message to the first terminal according to the first trigger signal. Based on this, the second data processing apparatus may obtain identification information of the first terminal that entered within its geofence.

Description

Data processing method, device and storage medium
Technical Field
The present application relates to the field of information technologies, and in particular, to a data processing method, apparatus, and storage medium.
Background
With the rapid development of the internet industry, the 5G message is an important upgrade of the basic communication service of an operator, and the 5G message is not only the upgrade of the short message service, but also an interactive application operation platform besides more media formats and richer expression forms supported by the user. The user can send the point-to-point rich media information (including voice, picture, file, position, etc.) on the short message interface, and meanwhile, a brand new map (Messaging as a Platform, information, i.e. platform) information form is added, the application and personal interaction is realized through the 'application number' intelligent service, and the service experience of searching, finding, subscribing, paying, etc. is completed on the information window.
Currently, in the map platform, merchants (such as tourism, catering, airports, traffic, malls, high-speed service areas and the like) in various industries can set their own geographic positions in the map background through application numbers, when a user searches for nearby application numbers in a mobile phone terminal, the mobile phone terminal inquires about nearby application numbers in the map background according to the current geographic positions, and the map background returns a list of application numbers meeting the conditions to the user mobile phone terminal, so that the user can browse the application numbers through the mobile phone terminal.
The scheme is only suitable for a scene that a user actively searches for nearby application numbers, but in the actual operation process, when the application number of an industry client wants to accurately acquire the user information in the position range reaching the industry client and pushes a message to the user, the existing 5G message application number service system cannot provide the service.
Disclosure of Invention
In view of the above, the present application provides a data processing method, apparatus and storage medium, so as to solve the problem in the prior art that an application number of an industry client cannot obtain user information within a location range of the industry client, and push a message to a user.
In a first aspect, an embodiment of the present application provides a data processing method, including:
the first data processing device receives the position information of the current period sent by the first terminal; the location information is used for identifying the geographic location of the first terminal;
acquiring geofence information of a preset second data processing device, and determining state information of the current period of the first terminal according to the position information of the current period of the first terminal and the geofence information of the second data processing device; the status information of the first terminal is used to indicate whether the first terminal is within a geofence of the second data processing apparatus;
Generating a first trigger signal if the state information of the current period of the first terminal indicates that the first terminal is within the geofence of the second data processing device; the first trigger signal is used for indicating the first terminal to enter the geofence of the second data processing device, and the first trigger signal carries identification information of the first terminal;
and sending the first trigger signal to the second data processing device, so that the second data processing device sends the preset first message to the first terminal according to the first trigger signal.
Preferably, if the state information of the current period of the first terminal indicates that the first terminal is within the geofence of the second data processing apparatus, generating the first trigger signal includes:
if the state information of the current period of the first terminal indicates that the first terminal is in the geofence of the second data processing device, acquiring the state information of the last period of the first terminal;
a first trigger signal is generated when the status information for a previous period of the first terminal indicates that the first terminal was not within the geofence of the second data processing apparatus for the previous period.
Preferably, the method further comprises:
if the state information of the current period of the first terminal indicates that the first terminal is not in the geofence of the second data processing device, acquiring the state information of the last period of the first terminal;
generating a second trigger signal when the state information of the first terminal in the previous period indicates that the first terminal is within the geofence of the second data processing apparatus in the previous period; the second trigger signal is used for indicating the first terminal to leave the geofence of the second data processing device, and the second trigger signal carries the identification information of the first terminal;
and sending the second trigger signal to the second data processing device, so that the second data processing device sends a preset second message to the first terminal according to the second trigger signal.
Preferably, the method further comprises:
and updating the state information of the last period of the first terminal according to the state information of the current period of the first terminal.
Preferably, the method further comprises:
receiving a query request message sent by the second data processing device; the inquiry request message is used for inquiring the identification information of a second terminal in the geofence of the second data processing device; the inquiry request message carries identification information of the second data processing device;
Determining whether a second terminal exists according to the query request message;
if the second terminal exists, sending a query response message to the second data processing device; the query response message carries the identification information of the second terminal.
In a second aspect, an embodiment of the present application provides a data processing method, including:
the second data processing device receives the first trigger signal sent by the first data processing device;
and sending a preset first message to the first terminal according to the first trigger signal.
Preferably, the method further comprises:
receiving the second trigger signal sent by the first data processing device;
and sending a preset second message to the first terminal according to the second trigger signal.
Preferably, the method further comprises:
sending a query request message to the first data processing device;
receiving inquiry response information sent by the first data processing device;
and sending a preset third message to the second terminal according to the query response information.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a processor and a memory storing a computer program which, when executed, causes the electronic device to perform the method of any one of the first or second aspects above.
In a fourth aspect, an embodiment of the present application provides a storage medium, where the storage medium includes a stored program, where the program, when executed, controls a device in which the storage medium is located to perform the method of any one of the first aspect or any one of the second aspect.
By adopting the scheme provided by the embodiment of the application, the method comprises the following steps: the first data processing device receives the position information of the current period sent by the first terminal. The location information is used for identifying the geographic location where the first terminal is located. And acquiring the pre-set geofence information of the second data processing device, and determining the state information of the current period of the first terminal according to the position information of the first terminal and the geofence information of the second data processing device. Wherein the status information of the first terminal is used to indicate whether the first terminal is within a geofence of the second data processing apparatus. If the state information of the current period of the first terminal indicates that the first terminal is within the geofence of the second data processing apparatus, a first trigger signal is generated. The first trigger signal is used for indicating the first terminal to enter the geofence of the second data processing device, and the first trigger signal carries identification information of the first terminal. And sending a first trigger signal to the second data processing device, so that the second data processing device sends a preset first message to the first terminal according to the first trigger signal. That is, when the first data processing apparatus receives the position information of the current period transmitted by the first terminal, the first data processing apparatus may acquire the geofence information of the second data processing apparatus, and determine whether the first terminal is within the geofence of the second data processing apparatus according to the position information of the current period and the geofence information of the second data processing apparatus. If the first terminal is determined to be within the geofence of the second data processing device, a first trigger signal is generated, and the first trigger signal is sent to the second data processing device, so that the second data processing device sends a preset first message to the first terminal according to the first trigger signal. In this way, when the first terminal enters the geofence of the second data processing device, the first data processing device sends the first trigger signal to the second data processing device, so that the second data processing device actively sends the first message to the first terminal after receiving the first trigger signal, thereby meeting the requirement that the second data processing device needs to acquire the identification information of the first terminal reaching the geofence of the second data processing device and push the message to the first terminal.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a data processing method according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating another data processing method according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating another data processing method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a first data processing apparatus according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a second data processing apparatus according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a data processing system according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For a better understanding of the technical solution of the present application, the following detailed description of the embodiments of the present application refers to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application 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 understood that the term "and/or" as used herein is merely one way of describing an association of associated objects, meaning that there may be three relationships, e.g., a and/or b, which may represent: the first and second cases exist separately, and the first and second cases exist separately. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
Before describing embodiments of the present application in detail, terms applied or likely to be applied to the embodiments of the present application will be explained first.
Location based services (Location Based Services, LBS) are devices that utilize various types of location technologies to obtain the current location of a location device, and provide information resources and basic services to the location device via the mobile internet. Firstly, the user can determine the space position of the user by using a positioning technology, and then the user can acquire the position-related resources and information through the mobile internet. The LBS service integrates various information technologies such as mobile communication, internet, space positioning, position information, big data and the like, and utilizes a mobile internet service platform to update and interact data, so that a user can acquire corresponding service through space positioning.
Geofencing (Geo-fencing) is a new application of LBS, namely, the use of a virtual fence to enclose a virtual geographic boundary. The handset may receive automatic notifications and alerts when it enters, leaves, or is active within a particular geographic area. With geofencing technology, a location social networking site can help users automatically register when they enter a certain area.
5G message: the method is the upgrade of the traditional short message, the core function of the method is MaaP (Messaging as a Platform) -message, namely a platform, compared with short message and OTT message (WeChat, iMessage and the like), besides supporting the transmission of rich media message, the biggest highlight is to comprehensively upgrade the service interaction mode between the enterprise and the individual user, and the enterprise pushes personalized service to the user through rich media modes such as graphics, videos, cards, menus and the like. The 5G message is based on a terminal original short message inlet, is a great upgrade in the functions of the short message and the multimedia message of an operator, and can provide message type services of rich media (text, picture, audio, video, position, contact person and the like) sending capability and intelligent interaction capability, and comprises two service types of point-to-point message and 5G industry message.
Currently, in the map platform, merchants (such as tourism, catering, airports, traffic, malls, high-speed service areas and the like) in various industries can set their own geographic positions in the map background through application numbers, when a user searches for nearby application numbers in a mobile phone terminal, the mobile phone terminal inquires about nearby application numbers in the map background according to the current geographic positions, and the map background returns a list of application numbers meeting the conditions to the user mobile phone terminal, so that the user can browse the application numbers through the mobile phone terminal. The scheme is only suitable for a scene that a user actively searches for nearby application numbers, but in the actual operation process, when the application number of an industry client wants to accurately acquire the user information in the position range reaching the industry client and pushes a message to the user, the existing 5G message application number service system cannot provide the service.
In view of the above problems, embodiments of the present application provide a data processing method, apparatus, and storage medium. The method comprises the following steps: the first data processing device receives the position information of the current period sent by the first terminal. The location information is used for identifying the geographic location where the first terminal is located. And acquiring the pre-set geofence information of the second data processing device, and determining the state information of the current period of the first terminal according to the position information of the first terminal and the geofence information of the second data processing device. Wherein the status information of the first terminal is used to indicate whether the first terminal is within a geofence of the second data processing apparatus. If the state information of the current period of the first terminal indicates that the first terminal is within the geofence of the second data processing apparatus, a first trigger signal is generated. The first trigger signal is used for indicating the first terminal to enter the geofence of the second data processing device, and the first trigger signal carries identification information of the first terminal. And sending a first trigger signal to the second data processing device, so that the second data processing device sends a preset first message to the first terminal according to the first trigger signal. That is, when the first data processing apparatus receives the position information of the current period transmitted by the first terminal, the first data processing apparatus may acquire the geofence information of the second data processing apparatus, and determine whether the first terminal is within the geofence of the second data processing apparatus according to the position information of the current period and the geofence information of the second data processing apparatus. If the first terminal is determined to be within the geofence of the second data processing device, a first trigger signal is generated, and the first trigger signal is sent to the second data processing device, so that the second data processing device sends a preset first message to the first terminal according to the first trigger signal. In this way, when the first terminal enters the geofence of the second data processing device, the first data processing device sends the first trigger signal to the second data processing device, so that the second data processing device actively sends the first message to the first terminal after receiving the first trigger signal, thereby meeting the requirement that the second data processing device needs to acquire the identification information of the first terminal reaching the geofence of the second data processing device and push the message to the first terminal. The following is a detailed description.
Fig. 1 is a flow chart of a data processing method according to an embodiment of the present application. Referring to fig. 1, the data processing method provided by the embodiment of the application mainly includes the following steps:
in step S101, the first data processing apparatus receives the position information of the current period sent by the first terminal.
The location information is used for identifying the geographic location where the first terminal is located.
In the embodiment of the application, in order to meet the requirements that the second data processing device acquires the identification information of the terminal in the position range of the second data processing device and pushes the information to the second data processing device, the first terminal side can periodically report the own position information to the first data processing device, the first data processing device detects the position information of the first terminal, and if the position of the first terminal is detected to be in the position range of the second data processing device, a first trigger signal is sent to the second data processing device, so that the second data processing device acquires that the first terminal is in the position range of the second data processing device and carries out corresponding processing. Thus, in the current period, the first terminal transmits the position information of the first terminal to the first data processing apparatus, and the first data processing apparatus receives the position information of the current period transmitted by the first terminal. The sending period of the first terminal can be set according to actual requirements.
The first terminal may directly or indirectly communicate with the first data processing apparatus, and the first terminal may directly transmit the location information of the first terminal to the first data processing apparatus when directly communicating with the first data processing apparatus. When the first terminal and the first data processing device cannot directly communicate, the first terminal can forward the position information of the first terminal to the first data processing device through other equipment.
Step S102, obtaining the pre-set geofence information of the second data processing device, and determining the state information of the current period of the first terminal according to the position information of the current period of the first terminal and the geofence information of the second data processing device.
Wherein the status information of the first terminal is used to indicate whether the first terminal is within a geofence of the second data processing apparatus.
Specifically, after receiving the position information of the current period sent by the first terminal, the first data processing device needs to determine whether the first terminal is within the geofence of the second data processing device, where the first data processing device may acquire the preset geofence information of the second data processing device, and after acquiring the geofence information of the second data processing device, may determine the state information of the current period of the first terminal according to the position information of the current period of the first terminal and the geofence information of the second data processing device. That is, according to the location information of the current period of the first terminal and the geofence information of the second data processing device, it is determined whether the current geographic location of the first terminal is within the geofence of the second data processing device, if the current geographic location of the first terminal is within the geofence of the second data processing device, it may be determined that the first terminal is within the geofence of the second data processing device, and at this time, the state information of the first terminal is determined that the first terminal is within the geofence of the second data processing device. If the current geographic location of the first terminal is not within the geofence of the second data processing apparatus, it may be determined that the first terminal is not within the geofence of the second data processing apparatus, at which point the status information of the first terminal is determined that the first terminal is not within the geofence of the second data processing apparatus.
As one possible implementation, the geofence information of the second data processing apparatus may be pre-stored in a geofence database or other storage device, and when the geofence information of the second data processing apparatus is stored in the geofence database, if the first data processing apparatus needs to obtain the geofence information of the second data processing apparatus, the first data processing apparatus may access the geofence database and obtain the geofence information of the second data processing apparatus therefrom; when the geofence information of the second data processing apparatus is stored in the other storage device, if the first data processing apparatus needs to acquire the geofence information of the second data processing apparatus, the first data processing apparatus may access the storage device and acquire the geofence information of the second data processing apparatus therefrom.
As one possible implementation, when the geofence information of the second data processing apparatus is updated, the geofence information of the second data processing apparatus stored in the geofence database or other storage device also needs to be updated accordingly so that the geofence information of the second data processing apparatus that is most up-to-date when stored in the geofence database or other storage device. In this way, it is ensured that the first data processing apparatus is able to acquire the latest geofence information of the second data processing apparatus when acquiring the geofence information of the second data processing apparatus. Taking the example that the geofence information of the second data processing apparatus is stored in the geofence database, when the geofence information of the second data processing apparatus is updated, the second data processing apparatus may send the update information of the geofence to the geofence database, and the geofence database may synchronously update the geofence information of the second data processing apparatus stored in the database according to the received update information of the geofence.
It should be noted that the first terminal may be a terminal used by a user, and the second data processing apparatus may be a device used by a merchant providing services to the user. Different merchants may be identified by different application numbers. At this time, the merchant may use the application number to uniquely identify the second data processing apparatus as it communicates with other devices through the second data processing apparatus. In this way, when the first data processing apparatus or the first terminal communicates with the second data processing apparatus, the different second data processing apparatus can be distinguished by the different application number, and the transmission of the message is performed. The application number is a functional module which runs in the second data processing device and can realize message transmission with the first data processing device or the first terminal.
Step S103, if the state information of the current period of the first terminal indicates that the first terminal is in the geofence of the second data processing device, a first trigger signal is generated.
The first trigger signal is used for indicating the first terminal to enter the geofence of the second data processing device, and the first trigger signal carries identification information of the first terminal.
In the embodiment of the present application, if the state information of the current period of the first terminal indicates that the first terminal is within the geofence of the second data processing apparatus, it is indicated that the second data processing apparatus may send a push message corresponding to the geofence entering the second data processing apparatus to the first terminal, and at this time, the first data processing apparatus may generate the first trigger signal. The first trigger signal is used for indicating the first terminal to enter the geofence of the second data processing device, and the first trigger signal carries identification information of the first terminal, for example, the first terminal can be identified by related information of a subscriber identity card (Subscriber Identity Module, SIM card) used by the first terminal.
As a possible implementation manner, since the first terminal needs to periodically send its current position to the first data processing apparatus, when the first terminal enters the geofence range of the second data processing apparatus and does not leave, the first data processing apparatus periodically determines whether the first terminal is in the geofence range of the second data processing apparatus according to the position information reported by the first terminal, and when determining that the first terminal is in the geofence range of the second data processing apparatus, generates a first trigger signal, then sends the first trigger signal to the second data processing apparatus, and the second data processing apparatus sends a first message to the first terminal according to the first trigger signal. This results in the first data processing device periodically generating a first trigger signal and transmitting to the second data processing device, which periodically transmits a first message to the first terminal. That is, the first terminal may periodically receive the first message when entering the geofence range of the second data processing apparatus and not leaving, resulting in poor user experience. To prevent this from happening, the first data processing apparatus may generate the first trigger signal only when the first terminal enters within the geofence of the second data processing apparatus. At this time, if the state information of the current period of the first terminal indicates that the first terminal is within the geofence of the second data processing apparatus, generating the first trigger signal includes:
If the state information of the current period of the first terminal indicates that the first terminal is in the geofence of the second data processing device, acquiring the state information of the last period of the first terminal;
the first trigger signal is generated when the status information for a period on the first terminal indicates that the first terminal was not within the geofence of the second data processing apparatus for the period.
In particular, since the first terminal periodically receives the first message when entering the geofence of the second data processing apparatus and not leaving, the user experience is poor, in order to avoid the above situation, the first data processing apparatus may generate the first trigger signal only when the first terminal enters the geofence of the second data processing apparatus. The first data processing device may further determine whether the first terminal is within the geofence of the second data processing device during the current period or is always within the geofence of the second data processing device when the state information of the current period of the first terminal is determined that the first terminal is within the geofence of the second data processing device, and generate the first trigger signal if the state information of the current period of the first terminal is determined that the first terminal is within the geofence of the second data processing device. At this time, the first data processing device may acquire the status information of the last period of the first terminal, and when the status information of the last period of the first terminal indicates that the first terminal is not in the geofence of the second data processing device in the last period, it indicates that the last period of the first terminal is not in the geofence of the second data processing device, and the current period is in the geofence of the second data processing device, it may be determined that the first terminal enters the geofence of the second data processing device in the current period, and then generate the first trigger signal.
As a possible implementation manner, the first data processing device may store the state information of the last period of the first terminal in a database or other storage medium, and when the first data processing device needs to acquire the state information of the last period of the first terminal, the first data processing device may directly access the database or other storage medium storing the state information of the last period of the first terminal, and acquire the state information of the last period of the first terminal from the database or other storage medium.
Step S104, a first trigger signal is sent to the second data processing device, so that the second data processing device sends a preset first message to the first terminal according to the first trigger signal.
Specifically, after the first data processing device generates the first trigger signal, the first data processing device sends the first trigger signal to the second data processing device, so that after the second data processing device receives the first trigger signal, the first terminal can be known to enter the geofence of the second data processing device, and the first trigger signal is analyzed to obtain the identification information of the first terminal. The second data processing device can send a preset first message to the first terminal according to the identification information of the first terminal. For example, the first message may be a parking spot situation of a parking lot, a promotional information card of a mall, a feature introduction of a hotel, flight information of an airport, and the like.
It should be noted that the first data processing apparatus may directly or indirectly communicate with the second data processing apparatus. The first data processing device may send the first trigger signal directly to the second data processing device when communicating directly between the first data processing device and the second data processing device. When the first data processing device and the second data processing device cannot directly communicate, the first data processing device can forward the first trigger signal to the second data processing device through other equipment.
According to the above embodiment, when the first terminal enters the geofence of the second data processing apparatus, the first data processing apparatus may detect that the first terminal enters the geofence of the second data processing apparatus and transmit the first trigger signal to the second data processing apparatus, so that the second data processing apparatus may transmit the first message to the first data processing apparatus according to the first trigger signal. In this way, the need for the second data processing apparatus to acquire information of the first terminal entering the geofence of the second data processing apparatus and send the first message thereto can be satisfied.
For example, assuming that the first terminal is a terminal within the coverage area of the first data processing apparatus, the first terminal may send the location information to the first data processing apparatus according to a preset period, for example, may be 3 minutes. Since there are a plurality of terminals in the coverage area of the first data processing apparatus, the first data processing apparatus receives the location information transmitted by the plurality of terminals, and at this time, processes the location information according to the order of receiving the location information. Assuming that the first terminal sends the position information a of the current period to the first data processing device, the first data processing device receives the position information a of the current period sent by the first terminal, firstly the first data processing device obtains the geofence information of the second terminal, and according to the position information a of the first terminal and the geofence information of the second terminal, the first data processing device can determine whether the current position a of the first terminal is within the geofence of the second data processing device or not, and further determine the state information of the current period of the first terminal. Assuming that the location a of the first terminal is within the geofence of the second data processing apparatus, the status information of the first terminal may be determined as the first terminal is within the geofence of the second data processing apparatus. Because the first terminal is within the geofence of the second data processing apparatus, it is desirable to determine whether the first terminal is just within the geofence of the second data processing apparatus or is always within the geofence of the second data processing apparatus, at which time the first data processing apparatus may obtain status information for a period on the first terminal. Because the state information of the current period of the first terminal is that the first terminal is located in the geofence of the second data processing device, if the state information of the last period of the first terminal indicates that the first terminal is not located in the geofence of the second terminal in the last period, the first terminal enters the geofence of the second terminal in the current period, a first trigger signal is generated at this time, and the first trigger signal is sent to the second data processing device, so that the second data processing device can know that the first terminal enters the geofence of the second data processing device after receiving the first trigger signal, then analyze the first trigger signal, acquire identification information of the first terminal, and send a preset first message to the first terminal, and if the application scene of the second data processing device is a mall, the first message can be information such as a parking lot of the mall, a sales promotion activity of the mall, and the like.
Since the first data processing apparatus determines that the status information of the first terminal indicates that the first terminal is not within the geofence of the second data processing apparatus, it is stated that the first terminal may be just out of the geofence of the second data processing apparatus or may not be within the geofence of the second data processing apparatus at all times. The second data processing device may also send a push message to the first terminal corresponding to the geofence leaving the second data processing device when the first terminal just leaves within the geofence of the second data processing device, for example, may be a membership point message, parking lot payment information, airport refute information card, and so on. Based on this, fig. 2 is a flow chart of another data processing method according to an embodiment of the present application. As shown in fig. 2, the method includes:
step S201, the first data processing apparatus receives the position information of the current period sent by the first terminal.
Specific reference may be made to step S101, which is not described herein.
Step S202, obtaining pre-set geofence information of the second data processing device, and determining state information of the current period of the first terminal according to the position information of the first terminal and the geofence information of the second data processing device.
In particular, reference may be made to step S102, which is not described herein.
If the state information of the current period of the first terminal indicates that the first terminal is within the geofence of the second data processing apparatus, step S203 is performed; if the status information of the current period of the first terminal indicates that the first terminal is not within the geofence of the second data processing apparatus, step S205 is performed.
Step S203, if the state information of the current period of the first terminal indicates that the first terminal is within the geofence of the second data processing apparatus, a first trigger signal is generated.
The specific reference may be made to step S103, which is not described herein.
Step S204, a first trigger signal is sent to the second data processing device, so that the second data processing device sends a preset first message to the first terminal according to the first trigger signal.
In particular, reference may be made to step S104, which is not described herein.
Step S205, if the state information of the current period of the first terminal indicates that the first terminal is not within the geofence of the second data processing apparatus, the state information of the last period of the first terminal is obtained.
In the embodiment of the application, when the first data processing device determines that the state information of the current period of the first terminal indicates that the first terminal is not in the geofence of the second data processing device, the first terminal may be just out of the geofence of the second data processing device or may be always out of the geofence of the second data processing device. The second data processing device may also send a push message to the first terminal corresponding to the geofence leaving the second data processing device when the first terminal is within the geofence just leaving the second data processing device, for example, may be a membership point message, parking lot payment information, airport refute information card, and so on. Thus, the first data processing device needs to further determine whether the first terminal is the geofence that has just left the second data processing device when determining that the first terminal is not within the geofence of the second data processing device, at this time, it needs to acquire the state information of the last period of the first terminal first, and then determine whether the first terminal is the geofence that has just left the second data processing device according to the state information of the last period of the first terminal.
Step S206, generating a second trigger signal when the state information of the last period of the first terminal indicates that the first terminal is within the geofence of the second data processing device in the last period.
The second trigger signal is used for indicating that the first terminal leaves the geofence of the second data processing device, and the second trigger signal carries identification information of the first terminal.
Specifically, since the state information of the current period of the first terminal indicates that the first terminal is not within the geofence of the second data processing apparatus, when the state information of the previous period of the first terminal indicates that the first terminal is within the geofence of the second data processing apparatus in the previous period, it is indicated that the first terminal is away from the geofence of the second data processing apparatus, and the second trigger signal is generated. The second trigger signal carries the identification information of the first terminal, so that the second data processing device can acquire the identification information of the first terminal according to the second trigger signal.
Step S207, a second trigger signal is sent to the second data processing device, so that the second data processing device sends a preset second message to the first terminal according to the second trigger signal.
Specifically, after the first data processing device generates the second trigger signal, the second data processing device sends the second trigger signal to the second data processing device, so that after the second data processing device receives the second trigger signal, the first terminal can be known to leave the geofence of the second data processing device, the second trigger signal is analyzed to obtain the identification information of the first terminal, and then the second data processing device can send a preset second message to the first terminal according to the identification information of the first terminal.
Step S208, updating the state information of the last period of the first terminal according to the state information of the current period of the first terminal.
Specifically, after the first data processing apparatus finishes processing the position information of the current period of the first terminal, that is, after step S204 or step S207 is performed, the state information of the previous period of the first terminal is updated according to the state information of the current period of the first terminal. That is, the state information of the previous cycle of the first terminal is updated to the state information of the current cycle of the first terminal, so that the first data processing device can accurately acquire the state information of the previous cycle of the first terminal when processing the subsequent position information sent by the first terminal.
Step S209, receiving a query request message sent by the second data processing apparatus.
Wherein the inquiry request message is used for inquiring the identification information of the second terminal in the geofence of the second data processing device, and the inquiry request message carries the identification information of the second data processing device.
In the embodiment of the application, the second data processing device can send a query request message to the first data processing device according to actual requirements, and the query request message is used for querying the second terminal in the geofence of the second data processing device. At this time, the first data processing apparatus receives the inquiry request message transmitted by the second data processing apparatus.
Step S210, determining whether a second terminal exists according to the query request message.
Specifically, after receiving the query request message sent by the second data processing device, the first data processing device may parse the query request message to obtain the identification information of the second data processing device. The geofence information of the second data processing apparatus may be obtained based on the identification information of the second data processing apparatus. And traversing the position information of the current period of all terminals received by the first data processing device according to the geofence information of the second data processing device, and determining whether a second terminal in the geofence of the second data processing device exists.
It should be noted that since there may be a plurality of terminals within the geofence of the second data processing apparatus, there may be a plurality of second terminals. And the second terminal may be the same terminal as the first terminal or may be a different terminal, which is not limited in this regard by the present application.
Step S211, if it is determined that the second terminal exists, a query response message is sent to the second data processing apparatus.
The query response message carries identification information of the second terminal.
Specifically, if it is determined that the second terminal exists, the first data processing device may send a query response message to the second data processing device, so that the second data processing device may obtain, according to the query response message, identification information of the second terminal, thereby sending a corresponding push message to the second terminal.
As such, when the first terminal enters the geofence of the second data processing apparatus, the first data processing apparatus transmits a first trigger signal to the second data processing apparatus informing the second data processing apparatus that the first terminal enters the geofence of the second data processing apparatus; when the first terminal enters the geofence of the second data processing device, the first data processing device sends a second trigger signal to the second data processing device to inform the second data processing device that the first terminal leaves the geofence of the second data processing device, so that the second data processing device can send a corresponding first message or a second message to the first terminal after receiving the first trigger signal or the second trigger signal. And, when the second data processing apparatus wants to send a corresponding push message to the second terminal within the geofence of the second data processing apparatus, a query request message may be sent to the first data processing apparatus to obtain the identification information of the second terminal within the geofence of the second data processing apparatus.
As one possible implementation manner, the embodiment of the present application provides another data processing method, where the method includes:
the second data processing device receives a first trigger signal sent by the first data processing device;
and sending a preset first message to the first terminal according to the first trigger signal.
Specifically, when the first terminal enters the geofence of the second data processing device, the first data processing device sends a first trigger signal to the second data processing device, and the second data processing device receives the first trigger signal. The first trigger signal is used for indicating the first terminal to enter the geofence of the second data processing device, and the first trigger signal carries identification information of the first terminal. After receiving the first trigger signal, the second data processing device may parse the first trigger signal to obtain the identification information of the first terminal. And then sending a preset first message to the first terminal according to the identification information of the first terminal.
As a possible implementation manner, the method further includes:
receiving a second trigger signal sent by the first data processing device;
and sending a preset second message to the first terminal according to the second trigger signal.
Specifically, when the first terminal leaves the geofence of the second data processing apparatus, the first data processing apparatus transmits a second trigger signal to the second data processing apparatus, and the second data processing apparatus receives the second trigger signal. The second trigger signal is used for indicating that the first terminal leaves the geofence of the second data processing device, and the second trigger signal carries identification information of the first terminal. After receiving the second trigger signal, the second data processing device may parse the second trigger signal to obtain the identification information of the first terminal. And sending a preset second message to the first terminal according to the identification information of the first terminal.
As a possible implementation manner, the method further includes:
sending a query request message to a first data processing device;
receiving inquiry response information sent by a first data processing device;
and sending a preset third message to the second terminal according to the query response information.
In an embodiment of the present application, the second data processing apparatus may actively query terminal information within a geofence of the second data processing apparatus and send a preset third message to the terminal within the geofence of the second data processing apparatus. The second data processing device may then send a query request message to the first data processing device for querying the second terminal within the geofence of the second data processing device. After receiving the inquiry request message, the first data processing device sends an inquiry response message to the second data processing device if the second terminal is determined to exist, and the second data processing device receives the inquiry response message. The query response message carries identification information of the second terminal. After receiving the query response message, the second data processing device may parse the query response message, obtain the identification information of the second terminal, and send a preset third message to the second terminal. For example, assuming that the application scenario of the second data processing apparatus is a mall, the second data processing apparatus may be set to 11:00 a day to send a query response message to the first data processing apparatus, query the second terminal within the geofence of the second data processing apparatus, and after receiving the query response message sent by the first data processing apparatus, parse the query response message to obtain identification information of the second terminal, and send restaurant preference information in the mall to the second terminal; assuming that the second data processing apparatus has set the new push message, a query request message may also be sent to the second data processing apparatus to obtain a second terminal within the geofence of the second data processing apparatus, and send the new push message to the second terminal within the geofence of the second data processing apparatus.
Fig. 3 is a flowchart of another data processing method according to an embodiment of the present application. As shown in fig. 3, the method includes:
in step S301, the first data processing apparatus receives the position information of the current period sent by the first terminal.
Specific reference may be made to step S201, and details are not described herein.
Step S302, obtaining pre-set geofence information of the second data processing device, and determining state information of the current period of the first terminal according to the position information of the first terminal and the geofence information of the second data processing device.
In particular, reference may be made to step S202, which is not described herein.
If the state information of the current period of the first terminal indicates that the first terminal is within the geofence of the second data processing apparatus, step S303 is performed; if the status information of the current period of the first terminal indicates that the first terminal is not within the geofence of the second data processing apparatus, step S305 is performed.
Step S303, if the state information of the current period of the first terminal indicates that the first terminal is within the geofence of the second data processing device, a first trigger signal is generated.
Specific reference may be made to step S203, which is not described herein.
Step S304, a first trigger signal is sent to a second data processing device, the second data processing device receives the first trigger signal and sends a preset first message to the first terminal according to the first trigger signal.
In particular, reference may be made to step S204, which is not described herein.
Step S305, if the state information of the current period of the first terminal indicates that the first terminal is not within the geofence of the second data processing apparatus, the state information of the last period of the first terminal is obtained.
Specific reference may be made to step S205, which is not described herein.
Step S306, generating a second trigger signal when the status information of the previous period of the first terminal indicates that the first terminal is within the geofence of the second data processing apparatus in the previous period.
The specific reference to step S206 is omitted herein.
Step S307, a second trigger signal is sent to the second data processing device, and the second data processing device receives the second trigger signal and sends a preset second message to the first terminal according to the second trigger signal.
In particular, reference may be made to step S207, which is not described herein.
Step 308, updating the state information of the last period of the first terminal according to the state information of the current period of the first terminal.
The specific reference may be made to step S208, which is not described herein.
Step S309, the second data processing apparatus transmits a query request message to the first data processing apparatus, and the first data processing apparatus receives the query request message.
The specific reference to step S209 is omitted herein.
Step S310, the first data processing device determines whether a second terminal exists according to the query request message;
the specific reference may be made to step S210, which is not described herein.
Step S311, if it is determined that the second terminal exists, the query response message is sent to the second data processing apparatus, and the second data processing apparatus receives the query response message.
The specific reference may be made to step S211, which is not described herein.
Step S312, the second data processing device sends a preset third message to the second terminal according to the query response information.
Specifically, after receiving the query response message, the second data processing device may parse the query response message, thereby obtaining the identification information of the second terminal, and send a preset third message to the second terminal.
For example, assuming that the first terminal is a terminal within the coverage area of the first data processing apparatus, the first terminal may send the location information to the first data processing apparatus according to a preset period, for example, may be 3 minutes. Since there are a plurality of terminals in the coverage area of the first data processing apparatus, the first data processing apparatus receives the location information transmitted by the plurality of terminals, and at this time, processes the location information according to the order of receiving the location information. Assuming that the first terminal sends the position information a of the current period to the first data processing device, the first data processing device receives the position information a of the current period sent by the first terminal, firstly the first data processing device obtains the geofence information of the second terminal, and according to the position information a of the first terminal and the geofence information of the second terminal, the first data processing device can determine whether the current position a of the first terminal is within the geofence of the second data processing device or not, and further determine the state information of the current period of the first terminal. Assuming that the location a of the first terminal is within the geofence of the second data processing apparatus, the status information of the first terminal may be determined as the first terminal is within the geofence of the second data processing apparatus. Because the first terminal is located in the geofence of the second data processing device, it needs to determine whether the first terminal is just located in the geofence of the second data processing device or is always located in the geofence of the second data processing device, at this time, the first data processing device may acquire the status information of the last period of the first terminal, if the status information of the last period of the first terminal indicates that the first terminal is not located in the geofence of the second terminal in the last period, it indicates that the first terminal is located in the geofence of the second terminal in the current period, at this time, a first trigger signal is generated, and the first trigger signal is sent to the second data processing device, so that the second data processing device can learn that the first terminal is located in the geofence of the second data processing device after receiving the first trigger signal, then parse the first trigger signal, acquire the identification information of the first terminal, and send a preset first message to the first terminal, and at this time, the first message may be information of a parking lot, a sales promotion activity of the market, etc. assuming that the second data processing device is located in the market.
Assuming that the first data processing apparatus determines that the location a of the first terminal is not within the geofence of the second data processing apparatus, then determining the state information of the current period of the first terminal, that is, the state information of the current period of the first terminal indicates that the first terminal is not within the geofence of the second data processing apparatus. Then it is required to determine whether the first terminal is the geofence just leaving the second data processing device, at this time, the first data processing device may acquire the state information of the last period of the first terminal, if the state information of the last period of the first terminal indicates that the first terminal is within the geofence of the second terminal in the last period, which indicates that the first terminal leaves the geofence of the second terminal in the current period, at this time, a second trigger signal is generated, and the second trigger signal is sent to the second data processing device, so that after receiving the second trigger signal, the second data processing device may learn that the first terminal leaves the geofence of the second data processing device by analyzing the second trigger signal, then send a preset second message to the first terminal, and if the application scenario of the second data processing device is a mall, at this time, the second message may be parking fee information, member point information, and so on. At this time, the first data processing device may update the state information of the last period of the first terminal according to the state of the current period of the first terminal, that is, update the state information of the last period of the first terminal to that the first terminal is in the geofence of the second data processing device.
When a new push message is added to the second data processing device, such as a holiday promotion of a mall, the second data processing device wants to acquire information of a terminal in the second data processing device and send the new push message thereto. Then, the second data processing apparatus may send a query request message to the first data processing apparatus for querying the identification information of the second terminal, which is in the geofence of the second data processing apparatus at this time. Wherein the query request message carries identification information of the second data processing device, for example the name B of the second data processing device. After the first data processing device receives the query request message, the query request message may be parsed to obtain identification information of the second data processing device, and geofence information of the second data processing device is obtained according to the identification information of the second data processing device. The first data processing apparatus traverses the location information of all terminals within the coverage area of the first data processing apparatus according to the geofence information of the second data processing apparatus, and determines whether there is a second terminal within the geofence of the second data processing apparatus. Assuming that there are 50 terminals within the geofence of the second data processing apparatus at this time, the identification information of the 50 terminals may be added to the inquiry response message and the inquiry response message is transmitted to the second data processing apparatus. The second data processing device receives the inquiry response message, analyzes the inquiry request message to obtain the identification information of 50 terminals, and respectively sends new push messages to the 50 terminals.
Corresponding to the above embodiment, as shown in fig. 4, an embodiment of the present application provides a first data processing apparatus, including:
a receiving unit 401, configured to receive the position information of the current period sent by the first terminal. The location information is used for identifying the geographic location where the first terminal is located.
An obtaining unit 402, configured to obtain geofence information of the second data processing apparatus, and determine status information of the current period of the first terminal according to the location information of the current period of the first terminal and the geofence information of the second data processing apparatus. Wherein the status information of the first terminal is used to indicate whether the first terminal is within a geofence of the second data processing apparatus.
A processing unit 403 is configured to generate a first trigger signal if the state information of the current period of the first terminal indicates that the first terminal is within the geofence of the second data processing apparatus. The first trigger signal is used for indicating the first terminal to enter the geofence of the second data processing device, and the first trigger signal carries identification information of the first terminal.
The processing unit 403 is further configured to send a first trigger signal to the second data processing apparatus, so that the second data processing apparatus sends a preset first message to the first terminal according to the first trigger signal.
As a possible implementation manner, the processing unit 403 is specifically configured to obtain the state information of the previous period of the first terminal if the state information of the current period of the first terminal indicates that the first terminal is in the geofence of the second data processing apparatus;
the first trigger signal is generated when the status information for a period on the first terminal indicates that the first terminal was not within the geofence of the second data processing apparatus for the period.
As a possible implementation manner, the processing unit 403 is further configured to obtain the state information of the previous period of the first terminal if the state information of the current period of the first terminal indicates that the first terminal is not within the geofence of the second data processing apparatus.
The second trigger signal is generated when the status information of the last period of the first terminal indicates that the first terminal was within the geofence of the second data processing apparatus during the last period. The second trigger signal is used for indicating that the first terminal leaves the geofence of the second data processing device, and the second trigger signal carries identification information of the first terminal.
And sending a second trigger signal to the second data processing device, so that the second data processing device sends a preset second message to the first terminal according to the second trigger signal.
As a possible implementation manner, the processing unit 403 is further configured to update the state information of the previous period of the first terminal according to the state information of the current period of the first terminal.
As a possible implementation manner, the processing unit 403 is further configured to receive a query request message sent by the second data processing apparatus. Wherein the inquiry request message is used for inquiring the identification information of the second terminal in the geofence of the second data processing device, and the inquiry request message carries the identification information of the second data processing device.
And determining whether the second terminal exists according to the query request message.
And if the second terminal is determined to exist, sending a query response message to the second data processing device. The query response message carries identification information of the second terminal.
Corresponding to the above-described embodiments, as shown in fig. 5, an embodiment of the present application provides a second data processing apparatus, including:
a receiving unit 501, configured to receive a first trigger signal sent by the first data processing apparatus.
The processing unit 502 is configured to send a preset first message to the first terminal according to the first trigger signal.
As a possible implementation manner, the receiving unit 501 is further configured to receive the second trigger signal sent by the first data processing apparatus.
The processing unit 502 is further configured to send a preset second message to the first terminal according to the second trigger signal.
As a possible implementation manner, the processing unit 502 is further configured to send a query request message to the first data processing apparatus.
The receiving unit 501 is further configured to receive the query response information sent by the first data processing apparatus.
The processing unit 502 is further configured to send a preset third message to the second terminal according to the query response information.
Corresponding to the above embodiments, as shown in fig. 6, an embodiment of the present application further provides a data processing system, including: a first terminal 601, a first data processing means 602, a second data processing means 603. The first terminal 601 is a terminal used by a user, and is configured to periodically send location information of the first terminal 601 to the first data processing device 602. The first data processing device 602 is the first data processing device in the embodiment shown in fig. 4, and the second data processing device 603 is the second data processing device in the embodiment shown in fig. 5.
Corresponding to the embodiment, the application also provides electronic equipment. Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device 700 may include: a processor 701, a memory 702 and a communication unit 703. The components may communicate via one or more buses, and it will be appreciated by those skilled in the art that the configuration of the server as shown in the drawings is not limiting of the embodiments of the application, and that it may be a bus-like structure, a star-like structure, or include more or fewer components than shown, or may be a combination of certain components or a different arrangement of components.
Wherein the communication unit 703 is configured to establish a communication channel, so that the electronic device may communicate with other devices. Receiving user data sent by other devices or sending user data to other devices.
The processor 701 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and/or processes data by running or executing software programs and/or modules stored in the memory 702, and invoking data stored in the memory. The processor may be comprised of integrated circuits (integrated circuit, ICs), such as a single packaged IC, or may be comprised of packaged ICs that connect multiple identical or different functions. For example, the processor 701 may include only a central processing unit (central processing unit, CPU). In the embodiment of the invention, the CPU can be a single operation core or can comprise multiple operation cores.
The memory 702, for storing instructions for execution by the processor 701, the memory 702 may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
The execution of the instructions in memory 702, when executed by processor 701, enables electronic device 700 to perform some or all of the steps in the embodiment shown in fig. 3.
In a specific implementation, the present invention further provides a computer storage medium, where the computer storage medium may store a program, where the program may include some or all of the steps in each embodiment of the data processing method provided by the present invention when the program is executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a random-access memory (random access memory, RAM), or the like.
It will be apparent to those skilled in the art that the techniques of embodiments of the present invention may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in essence or what contributes to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the embodiments or some parts of the embodiments of the present invention.
The same or similar parts between the various embodiments in this specification are referred to each other. In particular, for the device embodiment and the terminal embodiment, since they are substantially similar to the method embodiment, the description is relatively simple, and reference should be made to the description in the method embodiment for relevant points.

Claims (10)

1. A method of data processing, comprising:
the first data processing device receives the position information of the current period sent by the first terminal; the location information is used for identifying the geographic location of the first terminal;
acquiring geofence information of a preset second data processing device, and determining state information of the current period of the first terminal according to the position information of the current period of the first terminal and the geofence information of the second data processing device; the status information of the first terminal is used to indicate whether the first terminal is within a geofence of the second data processing apparatus;
generating a first trigger signal if the state information of the current period of the first terminal indicates that the first terminal is within the geofence of the second data processing device; the first trigger signal is used for indicating the first terminal to enter the geofence of the second data processing device, and the first trigger signal carries identification information of the first terminal;
And sending the first trigger signal to the second data processing device, so that the second data processing device sends the preset first message to the first terminal according to the first trigger signal.
2. The method of claim 1, wherein generating the first trigger signal if the state information of the current period of the first terminal indicates that the first terminal is within the geofence of the second data processing apparatus comprises:
if the state information of the current period of the first terminal indicates that the first terminal is in the geofence of the second data processing device, acquiring the state information of the last period of the first terminal;
a first trigger signal is generated when the status information for a previous period of the first terminal indicates that the first terminal was not within the geofence of the second data processing apparatus for the previous period.
3. The method as recited in claim 1, further comprising:
if the state information of the current period of the first terminal indicates that the first terminal is not in the geofence of the second data processing device, acquiring the state information of the last period of the first terminal;
Generating a second trigger signal when the state information of the first terminal in the previous period indicates that the first terminal is within the geofence of the second data processing apparatus in the previous period; the second trigger signal is used for indicating the first terminal to leave the geofence of the second data processing device, and the second trigger signal carries the identification information of the first terminal;
and sending the second trigger signal to the second data processing device, so that the second data processing device sends the preset second message to the first terminal according to the second trigger signal.
4. A method according to any one of claims 1-3, further comprising:
and updating the state information of the last period of the first terminal according to the state information of the current period of the first terminal.
5. The method as recited in claim 1, further comprising:
receiving a query request message sent by the second data processing device; the inquiry request message is used for inquiring the identification information of a second terminal in the geofence of the second data processing device; the inquiry request message carries identification information of the second data processing device;
Determining whether a second terminal exists according to the query request message;
if the second terminal exists, sending a query response message to the second data processing device; the query response message carries the identification information of the second terminal.
6. A method of data processing, comprising:
the second data processing device receives the first trigger signal sent by the first data processing device;
and sending a preset first message to the first terminal according to the first trigger signal.
7. The method of claim 6, wherein the method further comprises:
receiving the second trigger signal sent by the first data processing device;
and sending a preset second message to the first terminal according to the second trigger signal.
8. The method of claim 7, wherein the method further comprises:
sending a query request message to the first data processing device;
receiving inquiry response information sent by the first data processing device;
and sending a preset third message to the second terminal according to the query response information.
9. An electronic device, comprising: a processor and a memory storing a computer program which, when executed, causes the electronic device to perform the method of any one of claims 1-5 or any one of claims 6-8.
10. A storage medium comprising a stored program, wherein the program, when run, controls a device in which the storage medium is located to perform the method of any one of claims 1-5 or any one of claims 6-8.
CN202210381402.5A 2022-04-12 2022-04-12 Data processing method, device and storage medium Pending CN116939493A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210381402.5A CN116939493A (en) 2022-04-12 2022-04-12 Data processing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210381402.5A CN116939493A (en) 2022-04-12 2022-04-12 Data processing method, device and storage medium

Publications (1)

Publication Number Publication Date
CN116939493A true CN116939493A (en) 2023-10-24

Family

ID=88390246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210381402.5A Pending CN116939493A (en) 2022-04-12 2022-04-12 Data processing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN116939493A (en)

Similar Documents

Publication Publication Date Title
US9479900B2 (en) Geographic location-based communications method, mobile terminal, server, and geographic location-based communications system
CN107734456B (en) Method and equipment for recommending service information
CN106027614A (en) Information pushing method, device and system
CN105279631A (en) Article distribution method and apparatus
WO2005029885A1 (en) System and method for providing differential location services
JP2001223712A (en) Information providing method, radio network system, radio terminal, radio server, information server, and electronic coupon distributing method
WO2014008811A1 (en) Method, system and server for pushing information
CN116029719B (en) Payment service recommendation method, electronic device and storage medium
US20180268466A1 (en) Beacon service method, device and server
WO2012012427A1 (en) Vendor and service request system and method
KR20140059066A (en) Method and server for providing location based service
CN110677926A (en) Connection method, device, storage medium and server of mobile communication network
US7349708B2 (en) System and method for providing position information
CN100551116C (en) Be used to have system, the method and apparatus of the positioning service privacy management of travelling carriage
CN116939493A (en) Data processing method, device and storage medium
CN116029398A (en) Registration service system, method, device and storage medium
CN116051184A (en) Multimedia playing system, method, device and storage medium
CN113163331B (en) Service response method, device, equipment and storage medium
CN115587860A (en) Service processing method, device, storage medium and electronic equipment
CN101742705B (en) Communication method and system
CN114897573A (en) Commodity information processing method and device, readable medium and electronic equipment
US11115352B2 (en) Method for interaction between a mobile terminal and a communicating automaton
CN113010781A (en) Push method, device, server and storage medium
JP2002197351A (en) Information providing system and method and recording medium for recording information providing program
US20130137461A1 (en) Method and apparatus for inserting location data into messages at a communication gateway

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