Method, device and server for pushing user information on train travel
By analyzing users' travel trajectories and characteristics, we can accurately identify train travel users and push information to them, solving the problem of being unable to identify train travel users in the existing technology and improving the accuracy and effectiveness of information push.
Patent Information
- Application Number
- CN202010873454.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-26
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2040-08-26
AI Technical Summary
The existing technology cannot accurately identify the user's travel mode as train travel, resulting in the inability to push targeted information to train travel users.
By obtaining the travel trajectory of the target user, identify whether the user passes through the area where the train station is located and determine whether the dwell time is greater than the set threshold. Combined with other features such as movement events and distance range, determine whether the user's travel mode is train travel, and determine whether the user's travel mode is train travel. After confirmation, push information to the user.
It achieves accurate identification and information push of train travel users, improving the accuracy and effectiveness of information push.
Smart Images

Figure CN112131454B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of Internet technology. More specifically, the embodiments of the present disclosure relate to a method for pushing user information of train travel, a device for pushing user information of train travel, and a server. Background Art
[0002] In existing businesses, it is very important to be able to identify users' travel intentions and modes in a timely manner, which can provide data support for attracting new users and recalling lost users.
[0003] However, in the prior art, it is an identification scheme based on off-site browsing or off-site payment data. For example, a user browses relevant information of city B in city A, or a user pays an order involving city B in city A. This scheme can only identify the user's travel intention, that is, the user may go to city B in the next few days. It cannot identify the user's travel method, that is, how the user goes to city B. Of course, it cannot identify that the user's travel method is train. Therefore, it cannot push information to users traveling by train in a targeted manner. Summary of the invention
[0004] One purpose of the embodiments of the present disclosure is to provide a new technical solution for pushing user information on train travel.
[0005] According to a first aspect of the present specification, an embodiment of train travel user information push is provided, and the method includes:
[0006] Obtain the travel trajectory of the target user;
[0007] According to the travel trajectory, identifying whether the travel mode of the target user is a train travel mode;
[0008] When the target user travels by train, push target information to the target user
[0009] Optionally, the identifying, according to the travel trajectory, whether the travel mode of the target user is a train travel mode includes:
[0010] When the travel trajectory passes through a target area, obtaining the residence time of the target user in the target area, wherein the target area includes an area where a railway station is located;
[0011] Determine whether the residence time is greater than a set residence time threshold;
[0012] When the dwell time is greater than a set dwell time threshold, it is determined that the travel mode of the target user is a train travel mode.
[0013] Optionally, the method further comprises:
[0014] When the residence time is greater than the set residence time threshold, obtaining a list of train station staff corresponding to the target area;
[0015] Determine whether the target user is on the list of train station staff;
[0016] In the case that the target user is not on the list of staff members of the train station, it is determined that the travel mode of the target user is the train travel mode.
[0017] Optionally, the method further comprises the step of updating a list of train station staff corresponding to the target area, comprising:
[0018] Acquire users whose number of stays in the target area within a first set time is greater than a set number threshold, and whose time spent in the target area within the first set time is greater than a set time threshold;
[0019] The user is added to the train station staff list to update the train station staff list.
[0020] Optionally, the identifying, according to the travel trajectory, whether the travel mode of the target user is a train travel mode, further includes:
[0021] According to the travel trajectory, determining whether a target movement event occurs to the target user within a second set time, wherein the target movement event is an event that the target user moves within two preset areas;
[0022] If the target user does not have a target movement event within the second set time, determine whether the target user is located in a corresponding permanent area, wherein the permanent area is a preset area determined based on the historical travel trajectory of the target user;
[0023] In the case where the target user is outside the resident area, determining whether the travel trajectory of the target user within the second set time passes through the target area;
[0024] When the travel trajectory of the target user within the second set time passes through the target area, it is determined that the travel mode of the target user is the train travel mode.
[0025] Optionally, the method further comprises:
[0026] When a target movement event occurs to the target user within a second set time, determining whether a travel trajectory of the target user within the second set time passes through the target area;
[0027] When the travel trajectory of the target user within the second set time passes through the target area, it is determined that the travel mode of the target user is a train travel mode.
[0028] Optionally, the method further comprises:
[0029] If the travel trajectory of the target user within the second set time does not pass through the target area, determining whether the distance between the two preset areas is within a set first distance range;
[0030] When the distance between the two preset areas is within a set first distance range, it is determined that the travel mode of the target user is a train travel mode.
[0031] Optionally, the method further comprises:
[0032] When the distance between the two preset areas exceeds a set first distance range, obtaining a travel trajectory of the target user within a third set time;
[0033] Get the distance between two adjacent trajectory points at any time;
[0034] Obtaining the speed of each of the trajectory points;
[0035] When the distance is within a set second distance range, and / or the speed is within a set speed range, it is determined that the travel mode of the target user is a train travel mode.
[0036] Optionally, the method further comprises:
[0037] Obtaining the shortest distance between the selected track point and the target travel line in the travel track within the third set time;
[0038] Obtaining the proportion of selected trajectory points whose shortest distance is less than a set distance threshold;
[0039] When the proportion exceeds a set proportion threshold, it is determined that the travel mode of the target user is a train travel mode.
[0040] Optionally, the pushing target information to the target user includes:
[0041] Providing the target user with a travel reminder that the next travel mode is a train travel mode; and / or,
[0042] A reward value for the train travel mode is provided to the target user.
[0043] According to a second aspect of the present specification, a device for pushing train travel user information is provided, comprising:
[0044] An acquisition module is used to obtain the travel trajectory of the target user;
[0045] An identification module, used to identify whether the target user's travel mode is a train travel mode according to the travel trajectory;
[0046] The push module is used to push target information to the target user when the target user's travel mode is train travel.
[0047] According to a third aspect of the present specification, a server is provided, comprising:
[0048] The device as described in the second aspect of this specification; or,
[0049] A memory for storing executable instructions;
[0050] A processor is used to control the operation of the server according to the instruction to execute the method for pushing train travel user information as described in the first aspect of this specification.
[0051] One beneficial effect of the present disclosure is that according to the method, device and server of the embodiments of the present disclosure, the server can obtain the travel trajectory of the target user, and when it is identified that the travel mode of the target user is a train travel mode based on the travel trajectory, the target information can be pushed to the target user, that is, it can accurately identify that the travel mode of the user is a train travel mode based on the user's travel trajectory, so as to push information to the train travel users, effectively improving the accuracy and effectiveness of the information push of the train travel users.
[0052] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
[0054] Figure 1 is a principle block diagram showing the hardware configuration of a system that can be used to implement the train travel user information push of an embodiment of the present disclosure;
[0055] Figure 2 is a flow chart of a method for pushing train travel user information according to an embodiment of the present disclosure;
[0056] Figure 3 is a flow chart of a method for pushing train travel user information according to another embodiment of the present disclosure;
[0057] Figure 4is a flowchart of an example of pushing user information of train travel according to the present disclosure;
[0058] Figure 5 is a principle block diagram of a device for pushing train travel user information according to an embodiment of the present disclosure;
[0059] Figure 6 is a principle block diagram of a server according to an embodiment of the present disclosure;
[0060] Figure 7 It is a schematic diagram of the hardware structure of a server according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0061] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.
[0062] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
[0063] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.
[0064] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0065] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0066] <Hardware Configuration>
[0067] Figure 1 4 is a block diagram of the hardware configuration of the system 100 that can be used to implement the train travel user information push embodiment of the present disclosure.
[0068] like Figure 1 As shown, the system 100 for pushing user information on train travel includes a server 1000 and a mobile terminal 2000.
[0069] The server 1000 provides a business point for processing, database, and communication facilities. The server 1000 can be a monolithic server or a distributed server across multiple computers or computer data centers. The server can be of various types, such as but not limited to, a network server, a news server, a mail server, a message server, an advertising server, a file server, an application server, an interactive server, a database server, or a proxy server. In some embodiments, each server may include hardware, software, or an embedded logic component or a combination of two or more such components for executing the appropriate functions supported or implemented by the server. For example, the server may be a blade server, a cloud server, etc., or may be a server group consisting of multiple servers, which may include one or more of the above-mentioned types of servers, etc.
[0070] In one embodiment, the server 1000 may be Figure 1 As shown, it includes a processor 1100 , a memory 1200 , an interface device 1300 , a communication device 1400 , a display device 1500 , and an input device 1600 .
[0071] The processor 1100 is used to execute a computer program. The computer program can be written in an instruction set such as an x86, Arm, RISC, MIPS, SSE, etc. The memory 1200 includes, for example, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, etc. The interface device 1300 includes, for example, various bus interfaces, such as a serial bus interface (including a USB interface), a parallel bus interface, etc. The communication device 1400 is capable of wired or wireless communication, for example. The display device 1500 is, for example, a liquid crystal display, an LED display, a touch display, etc. The input device 1600 may include, for example, a touch screen, a keyboard, etc.
[0072] In this embodiment, the memory 1200 of the server 1000 is used to store instructions, and the instructions are used to control the processor 1100 to operate to execute the method for pushing train travel user information. A technician can design instructions according to the scheme disclosed in the present invention. How instructions control the processor to operate is well known in the art, so it will not be described in detail here.
[0073] Despite Figure 1 , multiple devices of the server 1000 are shown; however, the present invention may only involve some of the devices, for example, the server 1000 only involves the memory 1200 and the processor 1100 .
[0074] In this embodiment, the mobile terminal 2000 is, for example, a mobile phone, a portable computer, a tablet computer, a PDA, a wearable device, etc.
[0075] like Figure 1As shown, the mobile terminal 2000 may include a processor 2100, a memory 2200, an interface device 2300, a communication device 2400, a display device 2500, an input device 2600, a speaker 2700, a microphone 2800, and the like.
[0076] The processor 2100 may be a mobile version processor. The memory 2200 may include, for example, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, etc. The interface device 2300 may include, for example, a USB interface, a headphone interface, etc. The communication device 2400 may, for example, be capable of wired or wireless communication. The communication device 2400 may include a short-range communication device, for example, any device for short-range wireless communication based on short-range wireless communication protocols such as Hilink protocol, WiFi (IEEE 802.11 protocol), Mesh, Bluetooth, ZigBee, Thread, Z-Wave, NFC, UWB, LiFi, etc. The communication device 2400 may also include a remote communication device, for example, any device for WLAN, GPRS, 2G / 3G / 4G / 5G remote communication. The display device 2500 may be, for example, a liquid crystal display, a touch display, etc. The input device 2600 may include, for example, a touch screen, a keyboard, etc. The mobile terminal 2000 may output audio information through a speaker 2700, and may collect audio information through a microphone 2800.
[0077] Despite Figure 1 , multiple devices of the mobile terminal 2000 are shown; however, the present invention may only involve some of the devices, which is not limited here.
[0078] In this embodiment, the mobile terminal 2000 can be used to receive and display information pushed by the server 1000 to the user.
[0079] It should be understood that although Figure 1 Only one server 1000 and one mobile terminal 2000 are shown, but this does not mean that their respective numbers are limited. The system 100 for pushing user information on train travel may include multiple servers 1000 and multiple mobile terminals 2000.
[0080] <Method Example>
[0081] Figure 2 is a flow chart of pushing train travel user information according to an embodiment of the present disclosure. The method can be implemented by a server, which can be as follows: Figure 1 Server 1000 is shown.
[0082] Step S2100, obtaining the travel trajectory of the target user.
[0083] In this embodiment, the target user may be a user who has travel intention and has travel behavior. Of course, the target user may also be any other selected user. According to this embodiment, it can be identified whether the target user has taken a train currently and in the last 24 hours.
[0084] The travel trajectory is the driving trajectory of the target user, where the trajectory consists of multiple trajectory points (positioning points), each of which represents the geographic location P of the target user. t , the geographical location P t Including longitude and latitude, for example, the geographical location can be expressed as (X t ,Y t ), where X is the longitude value at time t, Y is the latitude value at time t, and t is the corresponding timestamp.
[0085] In this embodiment, after selecting a target user, the server 1000 may obtain the real-time trajectory points of the target user, and further obtain the travel trajectory of the target user.
[0086] Step S2200: Identify whether the target user's travel mode is a train travel mode based on the travel trajectory.
[0087] It is understandable that when the target user travels, his travel mode can be public transportation such as trains, planes and buses. The embodiment of the present disclosure is to identify whether the target user's travel mode is train travel based on the target user's travel trajectory and the characteristics of train travel, thereby providing data support for attracting new users and recalling lost users in the train business.
[0088] In an example, Figure 3 As shown, in step S2200, identifying whether the target user's travel mode is a train travel mode according to the travel trajectory may further include the following steps S2211 to S2213:
[0089] Step S2211: when the travel trajectory passes through the target area, the residence time of the target user in the target area is obtained.
[0090] The target area includes the area where the train station is located. For example, the server 1000 can set a corresponding electronic fence for the train station in advance, and use the area within the electronic fence as the area where the train station is located. When a trajectory point in the target user's travel trajectory is located within the electronic fence, it indicates that the target user's travel trajectory passes through the area where the train station is located.
[0091] In this step S2211, when the target user starts to pass through the area where the train station is located, the target user can be continuously monitored for a certain period of time, for example, the target user can be continuously monitored for 4 hours, and the target user's residence time in the area where the train station is located within the 4 hours can be further obtained. For example, the target user's residence time in the area where the train station is located within the 4 hours can be 30 minutes or 3 hours.
[0092] Step S2212, determining whether the dwell time is greater than a set dwell time threshold.
[0093] The residence time threshold can be set according to specific application scenarios and specific application requirements. For example, the residence time threshold can be determined based on the time it takes for the user to complete ticket purchase, waiting, ticket inspection, and entry after arriving at the railway station area. Here, the residence time threshold can be set to 2h.
[0094] Continuing with the example of step S2211 above, when the acquired target user's residence time in the area where the train station is located is 30 minutes, the residence time of 30 minutes may be compared with the set residence time threshold of 2 hours; or, when the acquired target user's residence time in the area where the train station is located is 3 hours, the residence time of 3 hours may be compared with the set residence time threshold of 2 hours.
[0095] Step S2213: When the dwell time is greater than the set dwell time threshold, it is determined that the travel mode of the target user is a train travel mode.
[0096] Continuing with the example of step S2212, when the target user's residence time in the area where the train station is located is 30 minutes, since the residence time of 30 minutes is less than the set residence time threshold of 2 hours, it is determined that the target user's travel mode is not a train, and the target user is not a train travel user. When the target user's residence time in the area where the train station is located is 3 hours, since the residence time of 3 hours is greater than the set residence time threshold of 2 hours, it is determined that the target user's travel mode is a train, and the target user is a train travel user.
[0097] According to the above steps S2211 to S2213, it is possible to timely and accurately identify train travel users based on the travel trajectory of the target users and the characteristics of train travel, such as the area where the users pass through the train station.
[0098] In this example, when it is determined according to the above step S2213 that the residence time is greater than the set residence time threshold, the list of train station staff corresponding to the target area may be obtained first, and it may be determined whether the target user is on the train station staff list, so as to determine that the target user's travel mode is train travel mode if the target user is outside the train station staff list.
[0099] The list of train station staff includes users who work at the train station for a long time, such as ticket inspectors and conductors, that is, although the user is in the area where the train station is located for a long time, he or she has no intention or need to travel. In other words, when the target user's residence time at the train station is greater than the set residence time threshold, it is also necessary to exclude the target user who is not on the list of train station staff, thereby ensuring the targeting and real-time nature of the obtained train travel users.
[0100] Continuing with the example of step S2213 above, when the residence time of 3 hours is greater than the set residence time threshold of 2 hours, it is determined whether the target user is a user on the train station staff list, and only when the target user is not a user on the train station staff list, it is determined that the target user's mode of travel is train, that is, the target user is a train travel user.
[0101] In one example, in step S2230, identifying whether the target user's travel mode is a train travel mode according to the travel trajectory may further include the following steps S2221 to S2224:
[0102] Step S2221, judging whether a target movement event occurs for the target user within a second set time according to the travel trajectory.
[0103] The second set time may be a setting according to a specific application scenario and specific application requirements. To ensure real-time recognition, the second set time may be the last 24 hours. Correspondingly, the travel trajectory includes the travel trajectory of the target user within the last 24 hours.
[0104] The target movement event is an event in which the target user moves between two preset areas. The preset area is a pre-defined area range, and the preset area can be divided according to the minimum area of the train business. For example, if the train business is carried out with the city as the minimum area, the preset area is a certain city, such as city A and city B; for another example, if the train business is carried out with the administrative area of a certain city as the minimum unit, the target area is a certain administrative area of a certain city, such as county C and county D in city A.
[0105] For example, if the current time is 5:00 a.m. on August 10, 2020, then the target user's travel trajectory within 24 hours between 5:00 a.m. on August 9, 2020 and 5:00 a.m. on August 10, 2020 can be obtained, and it can be determined whether the target user moved between two cities within the 24 hours, for example, whether the target user moved from city A to city B in the last 24 hours.
[0106] Step S2222: when no target movement event occurs to the target user within the second set time, determine whether the target user is located in the corresponding resident area.
[0107] The permanent area is a preset area determined based on the historical travel trajectory of the target user. Specifically, the location of the target user in the past year is obtained, and the area with the most positioning times is taken as the permanent area corresponding to the target user. For example, if the trajectory points of the target user's travel trajectory in the past year are all located in city E, then this city E is the permanent area corresponding to the target user. If the target user's current city is this city E, then the target user is located in the permanent area, otherwise, it is not located in the permanent area. For another example, if the trajectory points of the target user's travel trajectory in the past year are located in city E the most times, then this city E is the permanent area corresponding to the target user. If the target user's current city is this city E, then the target user is located in the permanent area, otherwise, it is not located in the permanent area.
[0108] Continuing with the example of step S2221 above, if the target user does not have a target movement event within the 24 hours, for example, the target user does not move from city A to city B, it is necessary to further determine whether the target user is currently located in the corresponding permanent area E, and perform different processing based on the determination result of whether the target user is currently located in the corresponding permanent area C.
[0109] Step S2223: When the target user is outside the permanent area, determine whether the travel trajectory of the target user within the second set time passes through the target area.
[0110] It is understandable that in many cases, such as when the mobile terminal used by the target user is in the off state, or when the positioning device of the mobile terminal is in the off state, the mobile terminal cannot report the geographic location of the target user to the server 1000 in real time, resulting in the server 1000 being unable to obtain the travel trajectory of the target user within 24 hours. In this case, it is only possible to judge whether the target user has travel behavior based on whether the current location of the target user most recently reported by the mobile terminal is in the permanent area. If the target user has travel behavior, for example, the user is not located in the permanent area E, it is determined that the user has travel behavior, and it is necessary to further judge whether the user's travel mode is train; for example, when the user is located in the permanent area E, it is determined that the user has no travel behavior.
[0111] Continuing with the example of step S2222 above, if the target user is not located in the permanent area E, it indicates that the target user has travel behavior. At this time, it is necessary to further determine whether the travel trajectory of the target user within the 24 hours passes through the area where the railway station is located, so as to perform different processing according to different judgment results of whether the travel trajectory of the target user within the 24 hours passes through the area where the railway station is located.
[0112] Step S2224: when the travel trajectory of the target user within the second set time passes through the target area, determine that the travel mode of the target user is a train travel mode.
[0113] Continuing with the example of step S2223, if the target user's travel trajectory within the 24 hours passes through the area where the train station is located, it is concluded that the target user's travel mode is train, and the target user is a train travel user. If the target user's travel trajectory within the 24 hours does not pass through the area where the train station is located, it is necessary to further determine whether the target user is a train travel user in combination with other characteristics of train travel.
[0114] According to the above steps S2221 to S2224, it is possible to comprehensively judge whether the user's travel mode is train based on the travel trajectory of the target user and the characteristics of train travel, for example, whether the user has moved between two cities in the last 24 hours, and, in the case of no movement, whether the user has passed through the area where the train station is located in the last 24 hours. Here, due to hardware reasons of the mobile terminal, the mobile terminal does not report the travel trajectory of the target user to the server 1000 in real time, resulting in the target user may not have moved, but is not currently located in the permanent area, and it can be judged that the target user has traveled in the last 24 hours. Here, through this example, although the user has not moved between the two cities, but has passed through the area where the train station is located, it can be timely and accurately identified that the user's travel mode is train.
[0115] In one example, in step S2200, identifying whether the target user's travel mode is a train travel mode according to the travel trajectory may further include: when it is determined according to the above step S2221 that the target user has a target movement event within the second set time, executing the above steps:
[0116] Step S2223, when a target movement event occurs to the target user within the second set time, it is determined whether the travel trajectory of the target user within the second set time passes through the target area.
[0117] Continuing with the example of step S2221 above, if a target movement event occurs to the target user within the 24 hours, that is, the target user moves from city A to city B, it indicates that the target user has travel behavior, and then it is further determined whether the travel trajectory of the target user within the 24 hours passes through the area where the railway station is located, so as to perform different processing according to different judgment results of whether the travel trajectory of the target user within the 24 hours passes through the area where the railway station is located.
[0118] Step S2224: when the travel trajectory of the target user within the second set time passes through the target area, determine that the travel mode of the target user is a train travel mode.
[0119] Continuing with the example of step S2223, if the target user's travel trajectory within the 24 hours passes through the area where the train station is located, it is determined that the target user's travel mode is train, and the target user is a train travel user. If the target user's travel trajectory within the 24 hours does not pass through the area where the train station is located, it is necessary to further determine whether the target user is a train travel user in combination with other characteristics of train travel.
[0120] In one example, in step S2200, identifying whether the target user's travel mode is a train travel mode according to the travel trajectory may further include: if it is determined according to the above step S2223 that the travel trajectory of the target user within the second set time does not pass through the target area, continuing to execute the following steps S2225 to S2226:
[0121] Step S2225: When the travel trajectory of the target user within the second set time does not pass through the target area, determine whether the distance between the two preset areas is within a set first distance range.
[0122] The first distance range is a value set according to a specific application scenario and specific application requirements. For train services, the first distance range may be 100KM to 800KM, that is, when the distance between two cities is within 100KM to 800KM, if a user moves between the two cities, it is generally believed that the user will choose to travel by train.
[0123] It can be understood that no matter whether the target user moves between two cities in the last 24 hours, for example, the target user moves from city A to city B, or the target user is not located in the permanent city E but in city F outside the permanent area E, it involves two cities.
[0124] Here, continuing with the example of step S2223 above, when the travel trajectory of the target user within the 24 hours does not pass through the area where the train station is located, it is further determined whether the distance between the two cities is within the set first distance range, for example, whether the distance between city A and city B is between 100KM and 800KM, and whether the distance between city E and city F is between 100KM and 800KM.
[0125] Step S2226, when the distance between the two preset areas is within the set first distance range, determining that the travel mode of the target user is a train travel mode.
[0126] Continuing with the example of step S2225 above, for example, if the distance between city A and city B is between 100KM and 800KM, and if the distance between city C and city D is between 100KM and 800KM, it is considered that the target user's mode of travel is train, and the target user is a train travel user.
[0127] According to the above steps S2225 to S2226, it is possible to determine whether the target user's travel mode is train based on the target user's travel trajectory and train travel characteristics, such as the business distance of the train, and to obtain the accuracy of the identified train travel users.
[0128] In one example, in step S2200, identifying whether the target user's travel mode is a train travel mode according to the travel trajectory may further include: when it is determined according to the above step S2225 that the distance between the two preset areas exceeds the set first distance range, continuing to execute the following steps S2227 to S2229:
[0129] Step S2227: When the distance between the two preset areas exceeds the set first distance range, the travel trajectory of the target user within the third set time is obtained.
[0130] The third set time may be a value set according to a specific application scenario and specific application requirements, and the third set time may be 2 hours.
[0131] Continuing with the example of step S2225 above, for example, if the distance between city A and city B is not between 100KM and 800KM, and if the distance between city C and city D is not between 100KM and 800KM, it cannot be directly determined that the target user's mode of travel is not by train. In this case, it is necessary to continuously monitor the target user for 2 hours and obtain the target user's travel trajectory within the 2 hours.
[0132] Step S2228, obtaining the distance between two adjacent trajectory points at any time, and the speed of each trajectory point.
[0133] Continuing with the example of step S2227 above, the travel trajectory of the target user within the 2 hours is obtained. For example, if there are 5 trajectory points in the travel trajectory within the 2 hours, the distance between the first trajectory point and the second trajectory point, the distance between the second trajectory point and the third trajectory point, the distance between the third trajectory point and the fourth trajectory point, and the distance between the fourth trajectory point and the fifth trajectory point can be further obtained according to step S2228. At the same time, the speeds of the first trajectory point, the second trajectory point, the third trajectory point, the fourth trajectory point and the fifth trajectory point are obtained respectively.
[0134] Step S2229, when the distance is within the set second distance range and / or the speed is within the set speed range, determining that the travel mode of the target user is a train travel mode.
[0135] The second distance range may be set according to a specific application scenario and specific application requirements. For train services, the second distance range may be 10 km to 100 km.
[0136] The speed range may also be a value set according to a specific application scenario and specific application requirements. For train services, the speed range may be 120 km / h to 300 km / h.
[0137] Continuing with the example of step S2228 above, when the distances between the trajectory points obtained above are all within 10KM to 100KM, and the speed of each trajectory point is within 120KM / h to 300KM / h, it is determined that the target user's travel mode is train.
[0138] According to the example of steps S2227 to S2229 above, when the distance between the two cities is not within the train business distance range, it does not directly determine that the target user is not a train travel user, but continuously monitors the target user for a certain period of time. If the travel trajectory of the target user meets the speed and distance of train travel, the travel mode of the target user is train, and the target user is a train travel user.
[0139] In one example, in step S2200, identifying whether the target user's travel mode is a train travel mode according to the travel trajectory may further include: when the distance between the two preset areas exceeds the set first distance range according to step S2225, the following steps S2231 to S2234 may be further executed:
[0140] Step S2231, obtaining the shortest distance between the selected track point in the driving track within the third set time and the target driving line.
[0141] The target travel line may be a train travel line, such as a train track line.
[0142] Continuing with the example of step S2229 above, the travel trajectory of the target user within the 2 hours is obtained. For example, if there are 5 trajectory points in the travel trajectory within the 2 hours, the shortest distances between the first trajectory point, the second trajectory point, the third trajectory point, the fourth trajectory point and the fifth trajectory point and the train travel line can be obtained according to step S2231. Of course, it is also possible that the shortest distance between the selected trajectory point in the travel trajectory within the second set time and the target travel line is further obtained only when the number of trajectory points in the travel trajectory within the 2 hours is greater than the set number threshold, such as greater than 4, to reduce data redundancy.
[0143] Step S2232, obtaining the proportion of selected trajectory points whose shortest distance is less than a set distance threshold.
[0144] In this step S2232, there is usually data drift in the trajectory points. Data drift refers to the inaccuracy of the trajectory points caused by information collection, detection signal oscillation, etc. Here, considering the problem of data drift, a distance threshold may be set, for example, 1000M. When the shortest distance between the trajectory point and the train line is within 1000M, the trajectory point is considered to be on the train line.
[0145] Continuing with the example of step S2231 above, for example, the shortest distances between the first trajectory point, the second trajectory point, the third trajectory point and the fourth trajectory point and the train line are all less than 1000M, and only the shortest distance between the fifth trajectory point and the train line is greater than 1000M, that is, the proportion of trajectory points with the shortest distance at 1000M is 80%.
[0146] Step S2233: When the proportion exceeds the set proportion threshold, it is determined that the travel mode of the target user is a train travel mode.
[0147] The percentage threshold may be a value set according to a specific application scenario and specific application requirements. For train services, the percentage threshold may be 70%. That is, when the calculated percentage exceeds 70%, it is considered that the user is most likely walking along the train route.
[0148] Continuing with the example of step S2232 above, if the calculated proportion of 80% exceeds the set proportion threshold of 70%, it is determined that the travel mode of the target user is train, and the target user is a train travel user.
[0149] According to the example of steps S2231 to S2233 above, when the distance between the two cities is not within the train business distance range, it does not directly determine that the target user is not a train travel user, but continuously monitors the target user for a certain period of time. If the travel trajectory of the target user follows the train track line, then the target user's travel mode is train, and the target user is a train travel user.
[0150] Step S2300: When the travel mode of the target user is train travel, push target information to the target user.
[0151] In one example, in step S2300, when the target user's travel mode is a train travel mode, the step of pushing the target information to the target user may further include: providing the target user with a travel reminder that the next travel mode is a train travel mode.
[0152] In this example, if the target user moves from city A to city B by train, the user is likely to need to return from city B to city A. Here, the server 1000 may, for example, push a travel reminder that the return travel mode is train travel to the registered account of the target user registered for the train travel service, and display the travel reminder through the mobile terminal 2000 logged in to the registered account, so that the target user can purchase the return train ticket in time.
[0153] In one example, in step S2300, when the target user's travel mode is a train travel mode, the step of pushing the target information to the target user may further include: providing the target user with a reward value for the train travel mode.
[0154] The reward value may be a free train ticket, a train discount ticket, etc., to encourage the target user to continue to take the train when traveling in the future.
[0155] According to the method of the embodiment of the present disclosure, the server can obtain the travel trajectory of the target user, and when it is identified that the travel mode of the target user is a train travel mode based on the travel trajectory, the target information can be pushed to the target user, that is, it can accurately identify that the travel mode of the user is a train travel mode based on the user's travel trajectory, so as to push information to the train travel user, thereby effectively improving the accuracy and effectiveness of the information push to the train travel user.
[0156] At the same time, it can obtain the travel trajectory of the target user in the last 24 hours, and identify whether the target user has taken a train currently or in the past 24 hours based on the travel trajectory in the 24 hours, thereby obtaining the average daily number of users traveling by train.
[0157] In one embodiment, the method for pushing train travel user information of the embodiment of the present disclosure may further include the step of updating the list of train station staff corresponding to the target area obtained above, and the updating of the list of train station staff corresponding to the target area may further include the following steps S3100 to S3200:
[0158] Step S3100, obtaining users whose number of stays in the target area within the first set time is greater than a set number threshold, and whose time spent in the target area within the first set time is greater than a set time threshold.
[0159] In this step S3100, the statistical period may be 1 hour, and positioning within the area where the railway station is located within the statistical period may be considered as one dwelling.
[0160] In this step S3100, the statistical period may be one day, and the area where the railway station is located within the statistical period may be a one-day residence.
[0161] For example, the number of users who have stayed in the area where a railway station is located for more than 6 times and for more than 3 days in the statistical history within 7 days may be considered.
[0162] Step S3200, adding the user to the train station staff list to update the train station staff list.
[0163] In this step S3200, users who have stayed in the area of a certain railway station for more than 6 times and for more than 3 days in the past 7 days can be added to the railway station staff list to update the railway station staff list corresponding to the railway station.
[0164] In this step S3200, the train station staff list may be updated once every set time period, for example, once every three days, and the three days is an update cycle. Here, the update cycles corresponding to different target areas may be the same or different, and this embodiment is not limited here.
[0165] According to the embodiment of the present disclosure, after obtaining the list of train station staff corresponding to the target area, the list of train station staff will also be updated, thereby improving the real-time and targeting of the list of train station staff.
[0166] <Example>
[0167] Figure 4 A specific example of pushing user information for train travel is shown. In this example, the method for pushing user information for train travel may include the following steps:
[0168] Step S4110, the server 1000 obtains the travel trajectory of the target user.
[0169] In step S4120, the server 1000 determines whether the travel trajectory of the target user passes through the area where the railway station is located. If so, step S4130 is executed, otherwise, the process ends.
[0170] Step S4130, the server 1000 defines the target user as a Class A user.
[0171] In this step S4130, a category A user indicates that the user appears in the area where the railway station is located.
[0172] Step S4140, the server 1000 continuously monitors the target user for 4 hours.
[0173] In step S4150, the server 1000 determines whether the target user's residence time in the area where the railway station is located within the 4 hours is greater than the set residence time threshold. If so, step S4160 is executed, otherwise, the process ends.
[0174] Step S4160, the server 1000 obtains a list of train station staff corresponding to the area where the train station is located.
[0175] Step S4170, when the target user is not in the list of train station staff, it is determined that the target user's travel mode is train, and the target user is marked as train travel user A1, and the process ends.
[0176] In step S4210, the server 1000 determines whether the target user's travel trajectory has inter-city movement in the last 24 hours. If so, step S4220 is executed; otherwise, step S4310 is executed.
[0177] Step S4220, the server 1000 defines the target user as a Class C user.
[0178] Step S4230, determine whether the target user is defined as a Class A user within the most recent 24 hours, if so, execute step S4240, otherwise, execute step S4250.
[0179] Step S4240, the server 1000 determines that the target user's travel mode is train, and marks the target user as train travel user B1, and the process ends.
[0180] In step S4250, the server 1000 determines whether the displacement between the two cities is within 100 km to 800 km. If so, step S4260 is executed. Otherwise, step S4270 is executed.
[0181] Step S4260, the server 1000 determines that the target user's mode of travel is train, and marks the target user as train travel user B2, and the process ends.
[0182] In step S4270, the server 1000 continuously monitors the target user for 2 hours, obtains the travel trajectory of the target user for 2 hours, and executes step S4280 or step S42110.
[0183] In step S4280, the server 1000 calculates the distance between two temporally adjacent trajectory points and the speed of each trajectory point.
[0184] In step S4290, the server 1000 determines whether the distance between two temporally adjacent trajectory points is both within the range of 10 km to 100 km, and whether the speed of the trajectory points is both within the range of 120 km / h to 300 km / h. If so, step S4290 is executed, otherwise, the process ends.
[0185] Step S42100, the server 1000 determines that the target user's mode of travel is train, and marks the target user as train travel user C2, and the process ends.
[0186] In step S42110, the server 1000 determines whether the target user's trajectory point is located on the train track line. If so, step S42120 is executed, otherwise, the process ends.
[0187] Step S42120, the server 1000 determines that the target user's mode of travel is train, and marks the target user as train travel user C1, otherwise, the process ends.
[0188] In step S4310, the server 1000 determines whether the target user is located in a different area. If so, step S4320 is executed. Otherwise, the process ends.
[0189] In step S4320, the server 1000 defines the target user as a Class B user and executes step S4230.
[0190] <Device Example>
[0191] Figure 5 It is a principle framework of a device for pushing train travel user information according to an embodiment of the present disclosure.
[0192] according to Figure 5As shown, the device 5000 for pushing train travel user information in this embodiment may include an acquisition module 5100 , an identification module 5200 and a push module 5300 .
[0193] The acquisition module 5100 is used to acquire the travel trajectory of the target user.
[0194] The identification module 5200 is used to identify whether the travel mode of the target user is a train travel mode according to the travel trajectory.
[0195] The push module 5300 is used to push target information to the target user when the target user's travel mode is train travel.
[0196] In one embodiment, the identification module 5200 is also used to obtain the residence time of the target user in the target area when the travel trajectory passes through the target area, wherein the target area includes the area where the railway station is located; determine whether the residence time is greater than a set residence time threshold; and when the residence time is greater than the set residence time threshold, determine that the travel mode of the target user is a train travel mode.
[0197] In one embodiment, the identification module 5200 is also used to obtain the list of train station staff corresponding to the target area when the residence time is greater than the set residence time threshold; determine whether the target user is on the train station staff list; and determine that the target user's travel mode is the train travel mode when the target user is outside the train station staff list.
[0198] In one embodiment, the identification module 5200 is also used to obtain users who have stayed in the target area for a number of times greater than a set number threshold within a first set time, and who have been in the target area for a time period greater than a set time threshold within the first set time; and add the users to the train station staff list to update the train station staff list.
[0199] In one embodiment, the identification module 5200 is further used to determine whether a target movement event occurs to the target user within a second set time according to the travel trajectory, wherein the target movement event is an event that the target user moves within two preset areas;
[0200] If no target movement event occurs for the target user within the second set time, determine whether the target user is located in a corresponding permanent area, wherein the permanent area is a preset area determined based on the historical travel trajectory of the target user; if the target user is outside the permanent area, determine whether the travel trajectory of the target user within the second set time passes through the target area; if the travel trajectory of the target user within the second set time passes through the target area, determine that the travel mode of the target user is the train travel mode.
[0201] In one embodiment, the identification module 5200 is also used to determine whether the travel trajectory of the target user within the second set time passes through the target area when a target movement event occurs to the target user within the second set time; and to determine that the travel mode of the target user is a train travel mode when the travel trajectory of the target user within the second set time passes through the target area.
[0202] In one embodiment, the identification module 5200 is also used to determine whether the distance between the two preset areas is within the set first distance range when the travel trajectory of the target user within the second set time does not pass through the target area; when the distance between the two preset areas is within the set first distance range, determine that the travel mode of the target user is a train travel mode.
[0203] In one embodiment, the identification module 5200 is also used to obtain the travel trajectory of the target user within a third set time when the distance between the two preset areas exceeds the set first distance range; obtain the distance between two adjacent trajectory points at any time; obtain the speed of each of the trajectory points; and determine that the travel mode of the target user is a train travel mode when the distance is within the set second distance range and / or the speed is within the set speed range.
[0204] In one embodiment, the identification module 5200 is further used to obtain the shortest distance between the selected track point in the travel track within the third set time and the target travel line;
[0205] Obtaining the proportion of selected trajectory points whose shortest distance is less than a set distance threshold;
[0206] When the proportion exceeds a set proportion threshold, it is determined that the travel mode of the target user is a train travel mode.
[0207] In one embodiment, the push module 5300 is further used to provide the target user with a travel reminder that the next travel mode is a train travel mode; and / or to provide the target user with a reward value for the train travel mode.
[0208] <Server Implementation>
[0209] In this embodiment, a server 6000 is also provided.
[0210] like Figure 6 As shown, the server 6000 may include the device 5000 for pushing train travel user information according to any embodiment of the present invention, which is used to implement the method for pushing train travel user information according to any embodiment of the present invention. The server 6000 may be Figure 1 Server 1000 is shown.
[0211] In another embodiment, Figure 7 As shown, the server 8000 may also include a processor 7100 and a memory 7200, wherein the memory 7200 is used to store executable instructions; the processor 7100 is used to control the operation of the server 7000 according to the instructions to execute the method for pushing train travel user information according to any embodiment of the present invention.
[0212] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.
[0213] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0214] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0215] The computer program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.
[0216] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.
[0217] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0218] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0219] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a part of a module, a program segment or an instruction, and a part of the module, a program segment or an instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.
[0220] Embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the marketplace, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.
Claims
1. A method for pushing train travel user information, comprising: Obtain the travel trajectory of the target user; According to the travel trajectory, identifying whether the travel mode of the target user is a train travel mode; When the target user travels by train, push target information to the target user; The step of identifying, according to the travel trajectory, whether the travel mode of the target user is a train travel mode includes: When the travel trajectory passes through a target area, obtaining the residence time of the target user in the target area, wherein the target area includes an area where a railway station is located; Determine whether the residence time is greater than a set residence time threshold; When the dwell time is greater than a set dwell time threshold, determining that the travel mode of the target user is a train travel mode; The step of identifying, according to the travel trajectory, whether the travel mode of the target user is a train travel mode, further includes: According to the travel trajectory, determining whether a target movement event occurs to the target user within a second set time, wherein the target movement event is an event that the target user moves within two preset areas; If the target user does not have a target movement event within the second set time, determine whether the target user is located in a corresponding permanent area, wherein the permanent area is a preset area determined based on the historical travel trajectory of the target user; In the case where the target user is outside the resident area, determining whether the travel trajectory of the target user within the second set time passes through the target area; When the travel trajectory of the target user within the second set time passes through the target area, determining that the travel mode of the target user is the train travel mode; When a target movement event occurs to the target user within a second set time, determining whether a travel trajectory of the target user within the second set time passes through the target area; When the travel trajectory of the target user within the second set time passes through the target area, determining that the travel mode of the target user is a train travel mode; If the travel trajectory of the target user within the second set time does not pass through the target area, determining whether the distance between the two preset areas is within a set first distance range; When the distance between the two preset areas is within a set first distance range, determining that the travel mode of the target user is a train travel mode; When the distance between the two preset areas exceeds a set first distance range, obtaining a travel trajectory of the target user within a third set time; Get the distance between two adjacent trajectory points at any time; Obtaining the speed of each of the trajectory points; When the distance is within a set second distance range, and / or the speed is within a set speed range, determining that the travel mode of the target user is a train travel mode; Obtaining the shortest distance between the selected track point and the target travel line in the travel track within the third set time; Obtaining the proportion of selected trajectory points whose shortest distance is less than a set distance threshold; When the proportion exceeds a set proportion threshold, it is determined that the travel mode of the target user is a train travel mode.
2. The method according to claim 1, wherein: The method further comprises: When the residence time is greater than the set residence time threshold, obtaining a list of train station staff corresponding to the target area; Determine whether the target user is on the list of train station staff; In the case that the target user is not on the list of staff members of the train station, it is determined that the travel mode of the target user is the train travel mode.
3. The method according to claim 2, wherein: The method further comprises the step of updating a list of train station staff corresponding to the target area, comprising: Acquire users whose number of stays in the target area within a first set time is greater than a set number threshold, and whose time spent in the target area within the first set time is greater than a set time threshold; The user is added to the train station staff list to update the train station staff list.
4. The method according to any one of claims 1 to 3, wherein: The pushing target information to the target user includes: Providing the target user with a travel reminder that the next travel mode is a train travel mode; and / or, A reward value for the train travel mode is provided to the target user.
5. A device for pushing user information on train travel, comprising: An acquisition module is used to obtain the travel trajectory of the target user; An identification module, used to identify whether the target user's travel mode is a train travel mode according to the travel trajectory; The step of identifying, according to the travel trajectory, whether the travel mode of the target user is a train travel mode includes: When the travel trajectory passes through a target area, obtaining the residence time of the target user in the target area, wherein the target area includes an area where a railway station is located; Determine whether the residence time is greater than a set residence time threshold; When the dwell time is greater than a set dwell time threshold, determining that the travel mode of the target user is a train travel mode; The step of identifying, according to the travel trajectory, whether the travel mode of the target user is a train travel mode, further includes: According to the travel trajectory, determining whether a target movement event occurs to the target user within a second set time, wherein the target movement event is an event that the target user moves within two preset areas; If the target user does not have a target movement event within the second set time, determine whether the target user is located in a corresponding permanent area, wherein the permanent area is a preset area determined based on a historical travel trajectory of the target user; In the case where the target user is outside the resident area, determining whether the travel trajectory of the target user within the second set time passes through the target area; When the travel trajectory of the target user within the second set time passes through the target area, determining that the travel mode of the target user is the train travel mode; When a target movement event occurs to the target user within a second set time, determining whether a travel trajectory of the target user within the second set time passes through the target area; When the travel trajectory of the target user within the second set time passes through the target area, determining that the travel mode of the target user is a train travel mode; If the travel trajectory of the target user within the second set time does not pass through the target area, determining whether the distance between the two preset areas is within a set first distance range; When the distance between the two preset areas is within a set first distance range, determining that the travel mode of the target user is a train travel mode; When the distance between the two preset areas exceeds a set first distance range, obtaining a travel trajectory of the target user within a third set time; Get the distance between two adjacent trajectory points at any time; Obtaining the speed of each of the trajectory points; When the distance is within a set second distance range, and / or the speed is within a set speed range, determining that the travel mode of the target user is a train travel mode; Obtaining the shortest distance between the selected track point and the target travel line in the travel track within the third set time; Obtaining the proportion of selected trajectory points whose shortest distance is less than a set distance threshold; When the proportion exceeds a set proportion threshold, determining that the travel mode of the target user is a train travel mode; The push module is used to push target information to the target user when the target user's travel mode is train travel.
6. A server, comprising the apparatus according to claim 5; or comprising: A memory for storing executable instructions; A processor is used to control the operation of the server according to the instruction to execute the method for pushing train travel user information as described in any one of claims 1-4.
