Travel reminding method, terminal equipment, chip and storage medium
By analyzing the real -time location of train ticket orders and combining the terminal equipment, accurately predict the user's upcoming the next destination, and remind users to go in a timely manner, solve the problem of inaccurate departure sites in existing technologies, improve travel reminder reminders Accuracy and user experience.
Patent Information
- Application Number
- CN202310928788.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-26
- Publication Date
- 2025-01-28
AI Technical Summary
In the prior art, the prediction of departure site based on train ticket orders may be inaccurate, resulting in misleading card departures and affecting users' normal travel.
By analyzing the information in the train ticket order, combined with the real -time location of the terminal device, determine the site of the nearest site of the terminal device as the next destination of the user, and remind users to go in a timely manner.
It improves the accuracy of travel reminders, reduces the risk of users to miss the trains or go wrong, and enhance the user's travel experience.
Smart Images

Figure CN119383559A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of terminal devices, and in particular to a travel reminder method, terminal device, chip and storage medium. Background Art
[0002] As the pace of work and life accelerates, users travel more and more frequently.
[0003] Currently, traveling by train has become a common mode of travel. In order to prevent users from missing their train trips, the terminal device can predict the departure station of the train ticket order as the next destination that the user is about to go to based on the system time and the departure time of the train ticket order, and display a card some time before the user's departure to remind the user to go to the departure station in time before the departure time. Summary of the invention
[0004] The present application provides a travel reminder method, terminal device, chip and storage medium, which solve the technical problem that the next destination predicted based on the departure station of a train ticket order may not be accurate.
[0005] In order to achieve the above objectives, this application adopts the following technical solutions:
[0006] In a first aspect, an embodiment of the present application provides a travel reminder method. The method is applied to a terminal device. The method may include: displaying a first ticket order for a user's travel; parsing the first ticket order to obtain a first train number, a first travel date, and a first departure station; determining that the next destination to which the user is reminded to depart is a second departure station, and the second departure station is a station with the smallest distance from the location of the terminal device among the stations where the first train stops along the way on the first travel date; displaying a first travel reminder card and a first navigation card, the first travel reminder card including the first train number, the first travel date, and the first departure station, the first navigation card including a first starting point identifier and a first end point identifier, the first starting point identifier indicating the location of the terminal device, and the first end point identifier indicating the second departure station.
[0007] In the above scheme, the terminal device can determine the station closest to the real-time location of the terminal device based on the departure station in the parsed information of the ticket order, and use this station as the next destination to be reminded for the user to depart. In this way, for special scenarios such as when users may buy a few more stops before the departure station during peak travel periods or when users temporarily leave the city where the first departure station is located, the departure station predicted based on the real-time location of the terminal device is closer to the user, and the departure station is not limited to the departure station in the ticket order. Since the departure station is more likely to be the departure station that the user actually wants to go to, the next destination predicted by this scheme is more accurate, making it more convenient for users to travel according to the card prompts.
[0008] In one possible implementation, when the first departure site and the second departure site are different departure sites, the first navigation card may also include prompt information, which can be used to indicate that the second departure site is the site with the shortest distance from the location of the terminal device among the sites where the first train stops along the first travel date.
[0009] It should be understood that by displaying the prompt information, the user knows that the next destination recommended by the first navigation card is different from the departure site of the ticket order, which makes it easier for the user to determine whether to go to the next destination as recommended by the navigation card.
[0010] In a possible implementation, the first navigation card also includes a first control. Accordingly, after displaying the first travel reminder card and the first navigation card, the method may further include: receiving a first operation of the user on the first control; in response to the first operation, displaying the various stations along the first train on the first travel date; receiving a second operation of the user on the third departure station among the various stations; in response to the second operation, updating the first travel reminder card and the first navigation card to a second travel reminder card and a second navigation card. The second travel reminder card is the same as the first travel reminder card, and the second navigation card includes a second starting point identifier and a second end point identifier, the second starting point identifier indicates the location of the terminal device, and the second end point identifier indicates the third departure station.
[0011] It should be understood that when the next destination recommended by the first navigation card is not the departure station that the user actually wants to go to, the user can select other stations that the first train passes through as the departure station by operating the first control. Furthermore, the navigation card can also include a navigation control, and the user can use the navigation function to go to other stations selected by the user by operating the navigation control.
[0012] In a possible implementation, a first geo-fence and a second geo-fence are set for the departure station of the first ticket order. The first geo-fence is a geo-fence with a larger area set with the departure station of the first ticket order as the center. The second geo-fence is a geo-fence with a smaller area set with the departure station of the first ticket order as the center. That is, the area of the second geo-fence is smaller than the area of the first geo-fence. For example, the first geo-fence is a geo-fence set according to the city or urban area where the departure station of the first ticket order is located, and the second geo-fence is a geo-fence set according to the area covered by the first departure station or the street where the first departure station is located.
[0013] In a possible implementation, a first time fence and a second time fence are set for the departure site of the first ticket order. The first time fence and the second time fence are time fences registered according to the departure time of the first train at the first departure site. Among them, the first time length before the departure time is the first time fence, the second time length before the departure time is the second time fence, and the first time length is greater than the second time length. For example, the first time length is 5 hours, and the second time length is 1 hour. As an example, the departure time of the first departure site may be included in the first ticket order. As another example, the departure time of the first departure site may not be included in the first ticket order, and the terminal device may obtain the departure time of the first departure site from the server based on the first train number, the first travel date and the first departure site parsed from the first ticket order.
[0014] In a possible implementation, the displaying of the first travel reminder card and the first navigation card may include: displaying the first travel reminder card and the first navigation card when the first time fence is triggered and the terminal device is not within the first geographic fence.
[0015] It should be understood that if it is detected that the departure site of the ticket order is not the site closest to the user, it is possible that the user purchased extra sites before the departure site, or the user temporarily went to the current location. At this time, the terminal device does not need to recommend the user to go to the departure site of the ticket order, but recommends the user to go to the nearest site.
[0016] In a possible implementation, after displaying the first ticket order for the user's travel, the method may further include: when the first time fence is triggered and the terminal device is within the first geographical fence and not within the second geographical fence, displaying a third travel reminder card and a third navigation card. The third travel reminder card is the same as the first travel reminder card, and the third navigation card includes a third starting point identifier and a third end point identifier, the third starting point identifier indicates the location of the terminal device, and the third end point identifier indicates the first departure site.
[0017] It should be understood that in a conventional travel scenario, the itinerary information of the ticket order is consistent with the user's actual itinerary information. When the user is in the city or urban area where the departure station is located, the terminal device can determine that the next destination to be reminded to the user is the departure station of the ticket order, and remind the user to go to the departure station.
[0018] In a possible implementation, before determining that the next destination to be reminded for the user to depart is the second departure site, the method may further include: detecting whether there is a second ticket order in the terminal device. The travel date of the second ticket order is the first travel date, or the time interval between the travel date of the second ticket order and the first travel date is less than or equal to a preset number of days. Exemplarily, the second ticket order is a ticket order obtained before the first ticket order, that is, the user first purchases the second ticket order and then purchases the first ticket order; or, the second ticket order is obtained at the same time as the first ticket order, that is, the user purchases the first ticket order and the second ticket order at the same time.
[0019] It should be understood that in regular travel scenarios, scenarios where multiple tickets are purchased before the departure station, and scenarios where multiple tickets are purchased after the arrival station, the user may only purchase one ticket; while in the same-station transfer scenario and the same-city but different-station transfer scenario, the user may purchase multiple tickets. Therefore, by detecting whether there is a second ticket order with the same or similar travel date as the first ticket order in the terminal device, it is convenient to determine the travel scenario that meets the requirements, and then determine the next destination to be reminded for the user to depart for.
[0020] In one possible implementation, determining that the next destination for the user to be reminded to depart is the second departure site includes: when there is no second ticket order, the first time fence is triggered, the terminal device is within the first geographic fence, and the terminal device is not within the second geographic fence, determining that the next destination for the user to be reminded to depart is the second departure site, and the second departure site is the same departure site as the first departure site.
[0021] It should be understood that the above implementation is consistent with the scenario of regular travel or the scenario of buying more stops after arriving at the stop. In this scenario, since the departure stop of the ticket order is consistent with the departure stop of the user's actual trip, and the next destination of the departure reminder is related to the departure stop of a single trip and has nothing to do with the arrival stop of a single trip, the terminal device can only prompt the departure stop of a single trip.
[0022] In a possible implementation, determining that the next destination to be reminded for the user to depart is the second departure station includes: if there is a second ticket order and the train number of the second ticket order is the first train number, determining that the next destination to be reminded for the user to depart is the second departure station. The itinerary corresponding to the first ticket order is earlier than the itinerary corresponding to the second ticket order, and the second departure station is specifically a station in the itinerary corresponding to the first ticket order that is the shortest distance from the location of the terminal device.
[0023] It should be understood that the above implementation method meets the scenario of buying two tickets for the same train (such as the scenario of buying a ticket on the train). In this scenario, the terminal device only needs to remind the user to go to the station with the shortest distance from the terminal device in the itinerary corresponding to the first ticket order. This is because the two tickets purchased by the user belong to the same train. If the user has used the first ticket to board the train, the train will inevitably pass through the departure station of the second ticket. Therefore, if the terminal device determines that the first ticket and the second ticket meet the scenario of buying two tickets for the same train, then there is no need to remind the user to go to the departure station of the second ticket.
[0024] In a possible implementation, determining that the next destination to be reminded of the user's departure is the second departure station includes: when there is a second ticket order, the train number of the second ticket order is different from the first train number, and the arrival station of the first ticket order is different from the departure station of the second ticket order, determining that the next destination to be reminded of the user's departure is the second departure station and the departure station of the second ticket order. The itinerary corresponding to the first ticket order is earlier than the itinerary corresponding to the second ticket order, and the second departure station is specifically a station in the itinerary corresponding to the first ticket order that is the shortest distance from the location of the terminal device.
[0025] Furthermore, after displaying the first travel reminder card and the first navigation card, the method may also include: displaying a fourth travel reminder card and a fourth navigation card, the fourth travel reminder card including the train number of the second ticket order, the travel date of the second ticket order and the departure station of the second ticket order, the fourth navigation card including a fourth starting point identifier and a fourth end point identifier, the fourth starting point identifier indicating the location of the terminal device, and the fourth end point identifier indicating the departure station of the second ticket order.
[0026] It should be understood that the above implementation method is suitable for the transfer scenario of different stations in the same city. When the arrival station of the first trip and the departure station of the second trip are different stations, the departure stations can be reminded separately according to the two independent trips. Since the first trip is earlier than the second trip, the user can be reminded to go to the station with the shortest distance from the terminal device in the trip corresponding to the first ticket order, and then remind the user to go to the departure station of the second trip.
[0027] In a possible implementation, determining that the next destination to be reminded of the user is the second departure station includes: when there is a second ticket order, the train number of the second ticket order is different from the first train number, and the arrival station of the first ticket order is the same as the departure station of the second ticket order, determining that the next destination to be reminded of the user is the second departure station. The itinerary corresponding to the first ticket order is earlier than the itinerary corresponding to the second ticket order, and the second departure station is specifically a station in the itinerary corresponding to the first ticket order that is the shortest distance from the location of the terminal device.
[0028] Furthermore, after displaying the first travel reminder card and the first navigation card, the method may also include: determining that the system time of the terminal device reaches the arrival time of the first ticket order; detecting whether the terminal device is within the geographic fence corresponding to the departure station of the second ticket order; if the terminal device is not within the geographic fence corresponding to the departure station of the second ticket order, and the terminal device has not gone to the departure station of the second ticket order, then determining that the next destination to be reminded for the user to depart is the departure station of the second ticket order; and displaying the fifth travel reminder card and the fifth navigation card. The fifth travel reminder card includes the train number of the second ticket order, the travel date of the second ticket order, and the departure station of the second ticket order, and the fifth navigation card includes a fifth starting point identifier and a fifth end point identifier, the fifth starting point identifier indicates the location of the terminal device, and the fifth end point identifier indicates the departure station of the second ticket order.
[0029] It should be understood that when the arrival station of the first trip and the departure station of the second trip are the same station, it is likely to meet the same-station transfer scenario. After the user arrives at the transfer station on the first train, if the user has not left the transfer station, there is no need to remind the user; if the user has left the transfer station, it is necessary to remind the user to return to the transfer station before the second train departs to avoid the user missing the second train.
[0030] In one possible implementation, the above-mentioned display of the first travel reminder card and the first navigation card may include: determining a first duration based on the current location of the terminal device, the next destination to be reminded that the user is heading for, and road conditions from the current location to the next destination; registering a second time fence based on the first duration and the departure time of the first train at the first departure station; and displaying the first travel reminder card and the first navigation card if it is detected that the second time fence is triggered.
[0031] It should be understood that after determining the next destination to which the user is to be reminded, the terminal device can accurately predict the timing of the card ejection based on the user's current location, the actual departure site, and the road conditions from the user's current location to the actual departure site, and remind the user to go to the departure site in a timely manner.
[0032] In a second aspect, the present application provides a device, which includes a unit for executing the method in the first aspect. The device may correspond to executing the travel reminder method described in the first aspect. For the relevant description of the unit in the device, please refer to the description of the first aspect, which will not be repeated here for the sake of brevity.
[0033] The method described in the first aspect above can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions. For example, a processing module or unit, a display module or unit, etc.
[0034] In a third aspect, the present application provides a terminal device, the terminal device comprising a memory and one or more processors. The memory is used to store computer program code, and the computer program code comprises computer instructions. When the computer instructions are called by the processor, the terminal device executes the travel reminder method provided in any one of the first aspects.
[0035] In a fourth aspect, the present application provides a computer-readable storage medium. The computer-readable storage medium includes computer instructions. When the computer instructions are executed on a terminal device, the terminal device executes the travel reminder method provided in the first aspect and any possible implementation thereof.
[0036] In a fifth aspect, the present application provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the travel reminder method provided in the first aspect and any possible implementation thereof.
[0037] In a sixth aspect, the present application provides a chip. The chip is coupled to a memory, and the chip is used to read and execute a computer program stored in the memory to implement the travel reminder method provided in the first aspect and any possible implementation thereof.
[0038] In a seventh aspect, the present application provides a chip system. The chip system includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by lines. The chip system can be applied to a terminal device including a communication module and a memory. The interface circuit is used to receive a signal from the memory of the terminal device and send the received signal to the processor, where the signal includes a computer instruction stored in the memory. When the processor calls the computer instruction, the terminal device can execute the travel reminder method provided in the first aspect and any possible implementation thereof.
[0039] It can be understood that the beneficial effects that can be achieved by the above-mentioned device of the second aspect, the terminal device of the third aspect, the computer-readable storage medium of the fourth aspect, the computer program product of the fifth aspect, the chip of the sixth aspect and the chip system of the seventh aspect can be referred to as the beneficial effects in the first aspect and any possible implementation method thereof, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 A schematic diagram of the hardware structure of a mobile phone provided in an embodiment of the present application;
[0041] Figure 2 A schematic diagram of the software structure of a terminal device provided in an embodiment of the present application;
[0042] Figure 3A-Figure 3F A schematic diagram of an interface operation for a user to enable YOYO suggestions is shown;
[0043] Figure 4A-4C A schematic diagram of three groups of travel reminder cards and navigation cards provided in an embodiment of the present application;
[0044] Figure 5 A schematic diagram of a travel reminder card and a navigation card in a scenario provided by an embodiment of the present application;
[0045] Figure 6 A schematic diagram of a travel reminder card and a navigation card in another scenario provided by an embodiment of the present application;
[0046] Figure 7 A schematic diagram of a travel reminder card and a navigation card in another scenario provided by an embodiment of the present application;
[0047] Figure 8 A schematic diagram of a travel reminder card and a navigation card in another scenario provided by an embodiment of the present application;
[0048] Fig. 9 A schematic diagram of a travel reminder card and a navigation card in another scenario provided by an embodiment of the present application;
[0049] Fig.10 A schematic diagram of a travel reminder card and a navigation card in another scenario provided by an embodiment of the present application;
[0050] Fig.11 A schematic diagram of a travel reminder card and a navigation card in another scenario provided by an embodiment of the present application;
[0051] Fig.12 A schematic diagram of a travel reminder card and a navigation card in another scenario provided by an embodiment of the present application;
[0052] Fig.13 A schematic diagram of a travel reminder card and a navigation card in another scenario provided by an embodiment of the present application;
[0053] Fig.14 A schematic diagram of a travel reminder card and a navigation card in another scenario provided by an embodiment of the present application;
[0054] Fig.15 A schematic diagram of a travel reminder card and a navigation card in another scenario provided by an embodiment of the present application;
[0055] Fig.16A schematic diagram of a travel reminder card and a navigation card in another scenario provided by an embodiment of the present application;
[0056] Fig.17 A schematic diagram of a travel reminder card and a navigation card in another scenario provided by an embodiment of the present application;
[0057] Fig.18 A schematic diagram of a travel reminder card and a navigation card in another scenario provided by an embodiment of the present application;
[0058] Fig.19 A flow chart of a travel reminder method provided in an embodiment of the present application;
[0059] Fig. 20 A schematic diagram of ticket orders obtained through three methods provided in an embodiment of the present application;
[0060] Fig.21 A flowchart of another travel reminder method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments.
[0062] In the description of this application, unless otherwise specified, " / " means or, for example, A / B can mean A or B. In the description of this application, "and / or" is only a way to describe the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0063] The terms "first" and "second" in the specification and claims of this application are used to distinguish different objects, or to distinguish different treatments of the same object, rather than to describe a specific order of objects. For example, the first card and the second card are used to distinguish different cards, rather than to describe a specific order of cards. In the embodiments of this application, "plurality" refers to two or more.
[0064] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0065] At present, traveling by train has become a common mode of travel. In order to prevent users from missing their train trips, the terminal device can predict the departure station of the train ticket order as the next destination that the user is about to go to based on the system time and the departure time of the train ticket order, and display a card some time before the user's departure to remind the user to go to the departure station in time before the departure time. However, the departure station on the ticket order may not be the user's actual departure station. For example, during peak travel periods, users may buy a few more stops. The next destination predicted based on the departure station of the ticket order may not be accurate, resulting in incorrect card issuance, which in turn affects the user's normal travel.
[0066] In view of the above problems, an embodiment of the present application provides a travel reminder method. The method can be applied to a terminal device. In different ticketing scenarios, the terminal device can more accurately predict the next destination that the user is about to depart for based on the departure station information of the train ticket order and the real-time location of the user; and based on the road conditions from the real-time location of the user to the next destination, remind the user to go at a more appropriate time, thereby preventing the user from going to the wrong station or missing the trip, thereby improving the user's travel experience.
[0067] It should be noted that the above-mentioned train ticket orders can be ticket orders for high-speed trains, motor trains or ordinary trains.
[0068] In some embodiments, the terminal device is also referred to as a terminal or user equipment (UE) or smart terminal. For example, the terminal device may be a mobile phone, a personal computer (PC), a tablet computer (Pad), a wearable device, a computer with wireless transceiver function, a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal in a smart city or a wireless terminal in a smart home, etc., or other devices or apparatuses.
[0069] Take the terminal device as an example, which is a mobile phone. Figure 1 A schematic diagram of the hardware structure of a mobile phone 100 provided in an embodiment of the present application.
[0070] like Figure 1 As shown, the mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a SIM card interface 195, etc. Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, and a bone conduction sensor 180M, etc.
[0071] The processor 110 may include one or more processing units, for example, the processor 110 may include a central processing unit (CPU), a graphics processing unit (GPU), an application processor (AP), an image signal processor (ISP), a neural-network processing unit (NPU), a video codec, a modem, and / or a baseband processor, etc. In some embodiments, different processing units may be independent devices or integrated into one or more processors.
[0072] Among them, the CPU is the final execution unit for information processing and program running, and its main tasks include processing instructions, executing operations, controlling time and processing data. The CPU may include a controller, an arithmetic unit, a cache memory, and a bus for connecting these components. The controller is the nerve center and command center of the mobile phone 100. The controller can generate an operation control signal based on the instruction opcode and the timing signal to complete the control of fetching and executing instructions. The arithmetic unit refers to a component that performs various arithmetic and logical operations. The cache memory can store instructions or data that the processor 110 has just used or circulated. If the processor 110 needs to use the instruction or data again, it can be directly called from the cache memory. Repeated access is avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
[0073] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, the installation packages of various wallpaper themes are stored in the external memory card.
[0074] The internal memory 121 can be used to store computer executable program codes, and the executable program codes include instructions. The processor 110 executes various functional applications and data processing of the mobile phone 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application (application, APP) required for at least one function, such as a theme setting application, etc.
[0075] The USB interface 130 is an interface that complies with USB standard specifications, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the mobile phone 100, can also be used to transfer data between the mobile phone 100 and peripheral devices, can also be used to connect headphones to play audio through the headphones. The USB interface 130 can also be used to connect other terminal devices, such as a wired mouse, a wireless mouse, and a speaker.
[0076] The mobile phone 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the AP, etc. For example, the mobile phone 100 can play the power-on sound and the power-off sound, etc.
[0077] The display screen 194 is used to display images, videos, etc. The display screen 194 may include a signal processing module and a display panel.
[0078] It is understandable that the hardware structure illustrated in the embodiment of the present application does not constitute a specific limitation on the mobile phone 100. In other embodiments, the mobile phone 100 may include more or fewer components than shown, or combine some components, or separate some components, or arrange the components differently. Figure 1 The components shown may be implemented in hardware, software or a combination of software and hardware.
[0079] The software system of the terminal device can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present invention takes the Android system of the layered architecture as an example to exemplify the software architecture of the terminal device.
[0080] Figure 2 The software structure diagram provided in the embodiment of the present application is as follows. Figure 2 As shown, the terminal device can adopt a layered architecture to divide the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the software layers of the software structure are divided from top to bottom into: application layer, application framework (framework, FWK) layer, hardware abstraction layer (HAL) layer, kernel layer. The above software structure runs on the hardware layer, and the hardware layer may include a display screen, a memory, and a communication module.
[0081] The application layer, also called the application layer, can include a series of application packages, such as desktop applications, ticket purchase applications, map applications, emotion perception modules, business logic processing modules, and business presentation modules. When these application packages are running, they can access the various service modules provided by the application framework layer through the application programming interface (API) and execute corresponding intelligent services. Among them, the ticket purchase application and the map application can be system-level applications or third-party applications, and the desktop application, emotion perception module, business logic processing module, and business presentation module can be system-level applications or system-level services.
[0082] Desktop applications can be used to realize the display of the desktop / negative screen, such as the display of application icons, the display of desktop background, the display of status bar, the display of notification bar, etc. In addition, desktop applications can also be used to display cards or cancel cards according to the instructions of the business presentation module.
[0083] The ticket purchasing application can be used to provide train ticket reservations, hotel reservations, and vehicle reservations, etc. After the user uses the ticket purchasing application to purchase a train ticket, the ticket purchasing platform of the ticket purchasing application sends a ticket purchase feedback SMS to the terminal device. Alternatively, under the premise that the user has already purchased a train ticket, the ticket purchasing platform of the ticket purchasing application sends a text message to the user's terminal device some time before the user's departure to remind the user to travel in time, or the ticket purchasing platform sends a push message to the terminal device about ticket changes for the purchased train, such as train cancellations, train delays, and ticket gate changes. Alternatively, in the process of a user purchasing a train ticket through a ticket purchasing application, the terminal device displays the order details page after the electronic payment is successful. Honor Smart Capability can extract order information from the order details page through optical character recognition (OCR). Among them, Honor Smart Capability is a system-level service / application for terminal devices. When Honor Smart Capabilities are turned on, Honor Smart Capabilities obtain permission to connect to the Internet, call location information, messages and calls (mobile network information), obtain SMS messages, locations, calendars and schedules, network information, device information, application information and behavioral habits, and open the smart capability switch to the applications of terminal devices to provide decision-making basis for the applications.
[0084] The map application can be used to provide digital map content, navigation and location services to users. In the embodiment of the present application, after obtaining the map application authorization, the terminal device can display the navigation card on the desktop or the negative one screen. The navigation card provides navigation controls and taxi controls. Users can directly use navigation services and taxi services by operating the controls in the navigation card.
[0085] The context awareness module runs in resident mode or in low-power mode, and has the ability to perceive external facts or environments. When the card reminder service is turned on, the context awareness module monitors the capabilities or matters (such as specific time, specific location, or specific event, etc.) registered with the business logic processing module. If the user triggers one of the capabilities or matters, the context awareness module sends a notification to the business logic processing module. In addition, the context awareness module can also detect related events and obtain the status of events from other applications in the application layer, or the application framework layer, or the system layer, or the kernel layer through the API, such as monitoring Bluetooth connections and mobile network connections, monitoring ticket purchase feedback SMS and push messages, and monitoring customized timers.
[0086] Exemplarily, the role of the context awareness module includes sensing whether the user has entered the geo-fence and time fence. For example, the context awareness module can detect whether the terminal device has entered the area indicated by the geo-fence, such as the city where the departure station is located, based on the Wi-Fi network detected by the terminal device, and the mapping relationship between the Wi-Fi network identifier, the Wi-Fi network signal strength and the geo-fence. For another example, the context awareness module can detect whether the time interval between the system time and the travel date is less than or equal to 24 hours, and if it is less than 24 hours, it is determined to have entered the time fence.
[0087] The business logic processing module, which can also be called a computing engine or a brain, has business logic processing capabilities and is used to implement the logic of displaying and disappearing various cards. For example, the business logic processing module can accurately predict the next destination that the user is about to depart for based on the departure station of the ticket order and the real-time location of the user, and after receiving a notification sent by the situational awareness module indicating that a certain event (such as a time fence being triggered) has been detected, it can send a command to the business presentation module according to the logic to let it display the card. In addition, the business logic processing module can also calculate the best travel method based on the user's travel preferences and the travel method with the shortest travel time, and notify the business presentation module to display the best travel method in the form of a card. The business logic processing module can also control the cancellation of the display of cards by receiving the temporary cancellation notification of the train sent by the situational awareness module.
[0088] The business presentation module, also known as YOYO suggestion, is used to construct cards and display or disappear the determined cards on the screen of the terminal device. For example, the business presentation module can receive a command to display a reminder card transmitted by the business logic processing module, and display the reminder card to the user. When the user clicks on the card, the missing key information can be edited. If the business presentation module receives a card disappearance command sent by the business logic processing module, the business presentation module will immediately make the displayed card disappear, that is, cancel the card displayed on the screen.
[0089] The application framework layer, also known as the application framework layer, can provide APIs and programming frameworks for applications. The application framework layer includes some predefined functions. For example, the framework layer can include window managers and perception management services.
[0090] Among them, the window manager can be used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc. The perception management service can be used to provide the application layer with APIs related to the processing functions of time information and location information, such as obtaining the time information and location information of the terminal device, and provide the context perception module with APIs related to the processing functions of geographic fences, such as determining whether the terminal device enters the geographic fence and time fence, or whether it leaves the geographic fence and time fence.
[0091] The hardware abstraction layer is an interface layer between the operating system kernel and the hardware circuit. Its purpose is to abstract the hardware. It hides the hardware interface details of a specific platform. For example, the hardware abstraction layer can include the hardware composer (HWC) HAL and the display HAL. Among them, the HWC HAL is a module for window synthesis and display, providing hardware support for the system drawing core.
[0092] The kernel layer is the layer between hardware and software. The kernel layer includes display drivers and sensor drivers, etc.
[0093] It should be noted that Figure 2 The layers in the architecture and the components included in each layer are shown, and do not constitute a specific limitation on the terminal device. In other embodiments, the terminal device may include more or fewer layers than shown, and each layer may include more or fewer components, which is not limited in this application.
[0094] It is understandable that in order to implement the travel reminder method in the embodiment of the present application, the terminal device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments.
[0095] In some embodiments, the next destination predicted by the terminal device can be displayed in the form of a card through YOYO suggestions.
[0096] Figure 3A-Figure 3FA schematic diagram of an interface operation for a user to enable YOYO suggestions is shown.
[0097] like Figure 3A As shown, when the terminal device displays the desktop 201, the user presses the left and right areas of the screen with two fingers, and then pinches the two fingers toward the center of the screen along the direction shown by the dotted line. In response to the two-finger operation, the terminal device displays the following Figure 3B The editing interface 202 shown in FIG. The editing interface 202 includes icons such as wallpaper, desktop card 203 and desktop settings.
[0098] Afterwards, the user can click on the desktop card 203. In response to the click operation on the desktop card 203, the terminal device displays the following Figure 3C The card set interface 204 shown. The card set interface 204 includes a YOYO suggestion card 205 and a card set suggested by YOYO, such as contacts, calendar, gallery and memo.
[0099] Then, the user can click on the YOYO suggestion card 205. In response to the operation on the YOYO suggestion card 205, the terminal device displays the following Figure 3D The YOYO suggestion interface 206 shown in the figure includes introduction information about YOYO suggestions, an “add to desktop” control 207, and the like.
[0100] Then, the user can click the "Add to Desktop" control 207. In response to the operation of the "Add to Desktop" control 207, the terminal device has successfully added the YOYO suggestion card to the desktop and / or the negative one screen. Figure 3E The desktop 201 shown in FIG. 1 shows a travel reminder card 208 and a navigation card 209. Alternatively, the terminal device can be configured as follows: Figure 3F The negative one screen 210 shown displays a travel reminder card 211 and a navigation card 212 .
[0101] It should be noted that the travel reminder card and navigation card are a set of cards related to travel. Among them, the travel reminder card can contain various information related to the trip, through which the user can be reminded to go to the departure site before departure; the navigation card can contain travel navigation information, and use the travel navigation information to provide navigation services, taxi services or travel mode recommendation services for users going to the departure site. Among them, the travel mode can be driving, bus, subway, taxi, walking or cycling.
[0102] The travel reminder card and the navigation card can be displayed simultaneously in adjacent areas of the display screen. The specific display areas and display contents of the travel reminder card and the navigation card are not limited in the embodiments of the present application.
[0103] For example, Figure 4A As shown, the navigation card is located in the left display area, and the travel reminder card is located in the right display area; or, as shown Figure 4B As shown, the travel reminder card is located in the left display area, and the navigation card is located in the right display area. The navigation card may include: the user's real-time location, the next destination the user is about to depart for, navigation controls, taxi controls, and estimated taxi fares. The travel reminder card may include: train number, travel date, departure station, departure time, recommended travel time, etc.
[0104] For example, Figure 4C As shown, the travel reminder card is located in the display area above the navigation card. The travel reminder card may include: train number, travel date, departure station, departure time, arrival station, arrival time, ticket gate and seat number, etc. The navigation card may include: the user's real-time location, the next destination the user is about to depart for, navigation controls, taxi controls, estimated taxi fare, public transportation controls, driving controls and cycling controls, etc.
[0105] The travel reminder method provided in the embodiments of the present application is illustrated below in combination with several train ticketing scenarios.
[0106] 1. Conventional travel scenarios
[0107] In regular travel scenarios, the ticket order is consistent with the user's actual itinerary. Figure 5 For example, in the ticket order and the user's actual itinerary, the departure station is "station a" and the arrival station is "station b". That is, the itinerary information of the ticket order is consistent with the user's actual itinerary information.
[0108] Exemplarily, after the terminal device receives the ticket purchase feedback SMS or push message sent by the ticket purchase platform, the terminal device parses the ticket purchase feedback SMS or push message to obtain the key information included in the ticket purchase feedback SMS or push message. For example, the key information includes the train number "G817", the travel date "January 12", the departure station "station a", the departure time "16:20", the arrival station "station b", etc. Before the departure time "16:20", if it is detected that the current location of the terminal device is not at "station a" and the user has not yet set off for "station a", then the terminal device can use "station a" as the next destination and display it on the desktop or the negative one screen as follows: Figure 5The travel reminder card and navigation card shown. The travel reminder card may include the train number "G817", the travel date "January 12", the departure station "station a", the departure time "16:20", and the recommended departure time "before 14:30"; the navigation card may include: the real-time location of the user, the next destination "station a" to which the user is about to depart, the navigation control, the taxi control, and the estimated taxi fare. Among them, the recommended departure time and the estimated taxi fare are calculated based on factors such as the current location of the terminal device, the departure station "station a", and the road conditions and time. In this way, the user can go to "station a" at the recommended departure time "before 14:30" according to the prompts of the travel reminder card and the navigation card.
[0109] It should be understood that in conventional travel scenarios, the itinerary information of the ticket order is consistent with the user's actual itinerary information. Therefore, the terminal device can more accurately predict the next destination that the user is about to depart for based on the ticket order.
[0110] 2. Scenario of purchasing more sites after arriving at the site
[0111] In this scenario, the departure station of the ticket order is the same as the departure station of the user's actual itinerary, and the arrival station of the ticket order is different from the arrival station of the user's actual itinerary. Figure 6 For example, in the ticket order, the departure station is "station a" and the arrival station is "station c"; in the user's actual trip, the departure station is "station a" and the arrival station is "station b". Among them, "station c" is the station after "station b", that is, when the user takes a certain train to "station b", the trip ends, and the user will not continue to take the train to "station c".
[0112] Exemplarily, after the terminal device receives the ticket purchase feedback SMS or push message sent by the ticket purchase platform, the terminal device parses the ticket purchase feedback SMS or push message to obtain the key information included in the ticket purchase feedback SMS or push message. For example, the key information includes the train number "G817", the travel date "January 12", the departure station "station a", the departure time "16:20", the arrival station "station c", etc. Before the departure time "16:20", if it is detected that the current location of the terminal device is not at "station a" and the user has not yet set off for "station a", then the terminal device can use "station a" as the next destination and display it on the desktop or the negative one screen as follows: Figure 6The travel reminder card and navigation card shown. The travel reminder card may include the train number "G817", the travel date "January 12", the departure station "station a", the departure time "16:20", and the recommended departure time "before 14:30"; the navigation card may include: the real-time location of the user, the next destination "station a" to which the user is about to depart, the navigation control, the taxi control, and the estimated taxi fare. Among them, the recommended departure time and the estimated taxi fare are calculated based on the current location of the terminal device, "station a", and the time taken by the road conditions. In this way, the user can go to "station a" at the recommended departure time "before 14:30" according to the prompts of the travel reminder card and the navigation card.
[0113] It should be understood that in this scenario, although the arrival station of the ticket order is inconsistent with the arrival station of the user's actual itinerary, the departure station of the ticket order is consistent with the departure station of the user's actual itinerary, and the next destination of the departure reminder is related to the departure station of a single itinerary and has nothing to do with the arrival station of a single itinerary. Therefore, the terminal device can only prompt the departure station of a single itinerary.
[0114] In some embodiments, after the user follows the prompts on the travel reminder card and the navigation card to go to "site a", and takes the train number "G817" to arrive at "site b", the terminal device can periodically detect whether the system time exceeds the departure time of the train number "G817" at "site b". If the system time exceeds the departure time of the train number "G817" at "site b", and the user's real-time location is still within the geographic fence of "site b", then it can be determined that "site b" is the user's actual arrival site, and a card for swiping the code to exit the station will pop up. For example, the terminal device can display a card for swiping the code to exit the station on the desktop or the negative one screen. For another example, the terminal device can pop up a floating capsule on the current interface. If the user clicks on the floating capsule, it triggers the display of a card for swiping the code to exit the station.
[0115] It should be noted that the scheme of popping up a card for swiping the code to exit the station at the actual arrival station can be applied not only to the scenario of buying more tickets after arriving at the station, but also to the scenario of regular travel, the scenario of buying more tickets before the departure station, and other train ticketing scenarios. It should be understood that when the system time of the terminal device has exceeded the departure time of a train at a certain station, if the user still stays in the station, it means that the user has got off. In this case, by popping up the card for swiping the code to exit the station, it is convenient for users to exit the station quickly, improving the user's travel experience.
[0116] 3. Scenario of buying multiple stations before departure
[0117] In this scenario, the departure station of the ticket order is different from the departure station of the user's actual itinerary, and the arrival station of the ticket order is the same as the arrival station of the user's actual itinerary. Figure 7 For example, in the ticket order, the departure station is "station a" and the arrival station is "station c"; in the user's actual trip, the departure station is "station b" and the arrival station is "station c". Among them, "station b" is the station between "station a" and "station c", that is, the user will not get on the bus at "station a", but at "station b".
[0118] Exemplarily, after the terminal device receives the ticket purchase feedback SMS or push message sent by the ticket purchase platform, the terminal device parses the ticket purchase feedback SMS or push message to obtain the key information included in the ticket purchase feedback SMS or push message. For example, the key information includes the train number "G817", the travel date "January 12", the departure station "station a", the departure time "16:20", the arrival station "station c", etc. Before the departure time "16:20", if it is detected that the current location of the terminal device is not in the city where "station a" is located (that is, "station a" may not be the station closest to the current location of the terminal device), and the user has not yet set off for "station a", then the terminal device can determine the station closest to the current location of the terminal device among all the stations passed by the train number "G817", such as "station b", and then use "station b" as the next destination to remind the user to go to, and display it on the desktop or negative one screen as follows. Figure 7 The first set of navigation cards and travel reminder cards are shown.
[0119] It should be noted that Figure 5 and Figure 6 Compared to the navigation cards shown in Figure 7 The first group of navigation cards shown has the following differences: 1. In the first group of navigation cards, the user is reminded that the next destination to be departed is "site b" which is closest to the current location of the terminal device, rather than "site a" which is the departure site of the ticket order; 2. In the first group of navigation cards, there is an expansion control 302 at the position corresponding to the next destination "site b", and the expansion control 302 can be used to support the user to select other sites as the departure site; 3. The first group of navigation cards also includes a prompt message "You are currently close to site b, do you want to go to site b to get on the bus" 301; 4. The estimated taxi fare of the navigation card is calculated based on factors such as the current location of the terminal device and "site b".
[0120] As an example, if the next destination "site b" predicted by the terminal device is the destination that the user really wants to go to, then the user can go to "site b" at the recommended departure time "before 14:30" according to the prompts of the travel reminder card and the navigation card. One possible implementation method is that the recommended departure time "before 14:30" is the time required to reach "site a" from the current location calculated based on factors such as "site a" and the current location of the terminal device. Another possible implementation method is that the recommended departure time "before 14:30" is the time required to reach "site b" from the current location calculated based on factors such as "site b" and the current location of the terminal device.
[0121] As another example, if the next destination "site b" predicted by the terminal device is not the destination the user actually wants to go to, the user can change the destination in the navigation card. For example, the user can click on the expansion control 302 in the first group of navigation cards. In response to this operation, the terminal device updates and displays the second group of navigation cards and travel reminder cards. A site selection box 303 is displayed on the second group of navigation cards. The site selection box 303 includes the various sites that the train number "G817" passes through, as well as the departure time of each site. Among them, the departure time of "site a" is 16:20, the departure time of "site b" is 17:23, the departure time of "site d" is 17:51, and the departure time of "site c" is 18:42.
[0122] Assume that the user clicks on "Site a" in the second group of navigation cards. In response to this operation, the terminal device updates and displays the third group of navigation cards and travel reminder cards. In the third group of navigation cards, the next destination has been updated from the initially recommended "Site b" to the user-selected "Site a". The third group of navigation cards also includes a prompt message "You have chosen to go to Site a to get on the bus" 304. In addition, the estimated taxi fare in the third group of navigation cards is calculated based on the current location of the terminal device and factors such as "Site a".
[0123] It should be noted that the above embodiment is illustrated by taking the example that the departure site "site a" of the ticket order and the site "site b" closest to the current location of the terminal device are in different cities, which does not limit the present application. In actual implementation, a train may pass through multiple sites in a city, and the departure site of the ticket order and the site closest to the current location of the terminal device may also be in the same city. Suppose a train passes through "Shijiazhuang" and "Shijiazhuang East" successively, and the user purchases a ticket for the train to board from "Shijiazhuang", but the user is closest to "Shijiazhuang East", then the terminal device can remind the user to go to "Shijiazhuang East" to board the train.
[0124] It should be understood that in this scenario, if it is detected that the departure station of the ticket order is not the station closest to the user, it is possible that the user purchased more stations before the departure station, or the user temporarily went to the current location. At this time, the terminal device does not need to recommend the user to go to the departure station of the ticket order, but recommends the user to go to the nearest station. This travel reminder method is more in line with the user's true intention and meets the user's actual travel needs.
[0125] 4. The scenario of purchasing two tickets for the same train (such as the scenario of buying a new ticket when getting on the train)
[0126] In this scenario, the user purchases two tickets for the same train, where the departure station of the first ticket is the same as the departure station of the user's actual trip, and the arrival station of the user's actual trip is the same as the arrival station of the second ticket.
[0127] As an example, Figure 8 As shown, in the user's actual trip, the departure station is "station a" and the arrival station is "station d". In order to get from "station a" to "station d", the user purchased two tickets for train number "G817": the departure station of the first ticket is "station a" and the arrival station is "station b"; the departure station of the second ticket is "station b" and the arrival station is "station d".
[0128] As another example, Fig. 9 As shown in the figure, in the user's actual trip, the departure station is "station a" and the arrival station is "station d". In order to get from "station a" to "station d", the user purchased two tickets for train number "G817": the departure station of the first ticket is "station a" and the arrival station is "station c"; the departure station of the second ticket is "station b" and the arrival station is "station d". Train number "G817" passes through "station a", "station b", "station c" and "station d" successively. That is, the user paid more for the fare from "station b" to "station c".
[0129] As another example, Fig.10 As shown, in the user's actual trip, the departure station is "station a" and the arrival station is "station d". In order to get from "station a" to "station d", the user purchased two tickets for the train number "G817": the departure station of the first ticket is "station a" and the arrival station is "station b"; the departure station of the second ticket is "station c" and the arrival station is "station d". The train number "G817" passes through "station a", "station b", "station c" and "station d" successively. That is, the user paid less for the fare from "station b" to "station c". It should be understood that the user can pay this fee after getting on the bus.
[0130] In any of the above three examples, the terminal device can parse the first ticket and obtain the key information of the first ticket including: train number "G817", travel date "January 12", departure station "station a", departure time "16:20", etc. Before the departure time "16:20", if it is detected that the current location of the terminal device is not at "station a" and the user has not yet set out for "station a", then the terminal device can take "station a" as the next destination and display it on the desktop or the negative one screen as follows: Figure 8 , Fig. 9 or Fig.10 The travel reminder card and navigation card shown. The travel reminder card may include the train number "G817", the travel date "January 12", the departure station "station a", the departure time "16:20", and the recommended departure time "before 14:30"; the navigation card may include: the user's real-time location, the next destination "station a" to which the user is about to depart, the navigation control, the taxi control, and the estimated taxi fare. The recommended departure time and the estimated taxi fare are calculated based on factors such as the current location of the terminal device, "station a", and the road conditions and time.
[0131] It should be understood that in this scenario, the terminal device only needs to remind the user to go to the departure station of the first ticket. This is because the two tickets purchased by the user belong to the same train. If the user has already gone to the departure station of the first ticket to take the train, the train will inevitably pass through the departure station of the second ticket. Therefore, if the terminal device parses the second ticket and determines that the first ticket and the second ticket meet the scenario of purchasing two tickets for the same train, then there is no need to remind the user to go to the departure station of the second ticket.
[0132] 5. Buy two tickets for the same trip + the first ticket is purchased before the actual departure station
[0133] In this scenario, the user purchases two tickets for the same train, wherein the departure station of the user's actual trip is between the departure station of the first ticket and the departure station of the second ticket, and the arrival station of the user's actual trip is the same as the arrival station of the second ticket.
[0134] by Fig.11For example, in the user's actual trip, the departure station is "station b" and the arrival station is "station d". In order to get from "station b" to "station d", the user purchased two tickets for train number "G817": the departure station of the first ticket is "station a" and the arrival station is "station c"; the departure station of the second ticket is "station c" and the arrival station is "station d". Train number "G817" passes through "station a", "station b", "station c" and "station d" successively. That is, the user paid more for the fare from "station a" to "station b".
[0135] For example, the terminal device can parse the first ticket to obtain the key information of the first ticket. Before the departure time "16:20" of the first ticket, if it is detected that the current location of the terminal device is not in the city where "Site A" is located (that is, "Site A" may not be the closest site to the current location of the terminal device), and the user has not yet set out for "Site A", then the terminal device can determine the site closest to the current location of the terminal device among all the sites that the train number "G817" passes, such as "Site B", and then use "Site B" as the next destination to remind the user to go to, and display it on the desktop or the negative one screen as follows: Fig.11 Travel reminder cards and navigation cards shown. Figure 7 The first group of navigation cards shown is similar, such as Fig.11 The navigation card shown has the following features: 1. It reminds the user that the next destination to be departed is "site b" which is closest to the current location of the terminal device; 2. There is an expansion control at the corresponding position of the next destination "site b", which supports the user to select other sites as the departure site; 3. The navigation card also includes a prompt message "You are currently close to site b, do you want to go to site b to get on the bus?"; 4. The estimated taxi fare of the navigation card is calculated based on the current location of the terminal device and factors such as "site b". The specific description of the scenario of buying multiple sites before the departure site in the above embodiment can be referred to, and it will not be repeated here.
[0136] It should be understood that, on the one hand, although the user has purchased two tickets for the same train, the train will inevitably pass through the departure station of the second ticket, so the terminal device only needs to remind the user to go to the departure station of the first ticket, and does not need to remind the user to go to the departure station of the second ticket. On the other hand, if it is detected that the departure station of the first ticket is not the station closest to the user, it is possible that the user purchased more stations before the departure station, or the user temporarily went to the current location, so the terminal device does not need to recommend the user to go to the departure station of the ticket order, but recommends the user to go to the station closest to the current location.
[0137] 6. Buy two tickets for the same trip + the second ticket is purchased after the actual destination of the trip
[0138] In this scenario, the user purchases two tickets for the same train, where the departure station of the first ticket is the same as the departure station of the user's actual trip, and the arrival station of the user's actual trip is between the departure station of the second ticket and the departure station of the second ticket.
[0139] by Fig.12 For example, in the user's actual trip, the departure station is "station a" and the arrival station is "station c". In order to get from "station a" to "station c", the user purchased two tickets for train number "G817": the departure station of the first ticket is "station a" and the arrival station is "station b"; the departure station of the second ticket is "station b" and the arrival station is "station d". Train number "G817" passes through "station a", "station b", "station c" and "station d" successively. That is, the user paid more for the fare from "station c" to "station d".
[0140] Referring to the description of the train ticketing scenario 2 and the train ticketing scenario 4, the terminal device can parse the first ticket and obtain the key information of the first ticket. Before the departure time "16:20", if it is detected that the current location of the terminal device is not at "Site A" and the user has not yet set out for "Site A", the terminal device can take "Site A" as the next destination and display it on the desktop or the negative one screen as follows: Fig.12 Travel reminder cards and navigation cards shown.
[0141] It should be understood that because the two tickets purchased by the user belong to the same train, if the user has already gone to the departure station of the first ticket, then the train will inevitably pass through the departure station of the second ticket. Therefore, if the terminal device parses the second ticket and determines that the first ticket and the second ticket meet the scenario of purchasing two tickets for the same train, then there is no need to remind the user to go to the departure station of the second ticket.
[0142] 7. Transfer scenario at the same station (different trains)
[0143] In this scenario, the user purchased a ticket for the first train and a ticket for the second train. The arrival station of the ticket for the first train and the departure station of the ticket for the second train are the same station, the departure station of the user's actual trip is the same as the departure station of the ticket for the first train, and the arrival station of the user's actual trip is the same as the arrival station of the ticket for the second train.
[0144] by Fig.13For example, in the user's actual trip, the departure station is "station a" and the arrival station is "station c". In order to reach "station c" from "station a", the user purchased train numbers "G817" and "D931". Among them, the departure station of train number "G817" is "station a" and the arrival station is "station b"; the departure station of train number "D931" is "station b" and the arrival station is "station c".
[0145] For example, after the terminal device receives the ticket orders of train number "G817" and train number "D931", the terminal device parses the two ticket orders and obtains the key information of train number "G817" and train number "D931". Since the travel dates of the two ticket orders are the same, and the arrival station of train number "G817" and the departure station of train number "D931" are both "station b", the terminal device can determine that the two ticket orders meet the same station transfer scenario.
[0146] Before the departure time of train number "G817" at "16:20", if it is detected that the current location of the terminal device is not at "Site A" and the user has not yet set out for "Site A", the terminal device can take "Site A" as the next destination and display it on the desktop or the negative one screen as follows: Fig.13 The first group of navigation cards and travel reminder cards shown. In the first group of navigation cards and travel reminder cards, the user is reminded that the next destination to be departed is "site a", and the estimated taxi fare is calculated based on the current location of the terminal device and factors such as "site a".
[0147] Assume that the user takes the train number "G817" to "Site b" according to the prompts of the first group of navigation cards and travel reminder cards. After detecting that the terminal device enters the geo-fence of "Site b", before the departure time "22:05" of the train number "D931", the terminal device periodically detects whether the terminal device is located in the geo-fence of "Site b".
[0148] If it is detected that the user is located within the geographic fence of "site b", the terminal device does not need to display the second set of navigation cards and travel reminder cards prompting the user to go to "site b".
[0149] If it is detected that the user is not within the geographic fence of "site b" and the user has not yet set out for "site b", the terminal device can use "site b" as the next destination and display it on the desktop or the negative first screen as follows: Fig.13 The second group of travel reminder cards and navigation cards are shown. In the second group of navigation cards and travel reminder cards, the user is reminded that the next destination to be departed is "site b", and the estimated taxi fare is calculated based on the current location of the terminal device and factors such as "site b".
[0150] It should be noted that the above embodiment is illustrated by taking the example that the ticket orders of the first and second trains have been purchased and parsed before the first train departs. This application also provides another example of a same-station transfer scenario: the terminal device issues a departure reminder based on the ticket order of the first train purchased by the user; after the user takes the first train, the user purchases the second train, the terminal device parses the ticket order of the second train, and then compares the parsed information of the two ticket orders to determine that the two ticket orders meet the same-station transfer scenario.
[0151] It should be understood that when the arrival station of the ticket for the first train and the departure station of the ticket for the second train are the same station, it is likely that the same-station transfer scenario is met. Before the second train departs, if the user has not left the transfer station, then there is no need to remind the user. Before the second train departs, if the user leaves the transfer station, for example, the time interval between the two trains is large, and the user may temporarily go to a hotel to rest, then it is necessary to remind the user to return to the transfer station again before the second train departs to avoid the user missing the second train.
[0152] 8. Transfer at the same station (different trains) + the first ticket is purchased at multiple stops before the actual departure station of the trip
[0153] In this scenario, the user purchased a ticket for the first train and a ticket for the second train. The arrival station of the ticket for the first train and the departure station of the ticket for the second train are the same station, the departure station of the user's actual trip is between the departure station and the arrival station of the ticket for the first train, and the arrival station of the user's actual trip is the same as the arrival station of the ticket for the second train.
[0154] by Fig.14 For example, in the user's actual trip, the departure station is "station b" and the arrival station is "station d". In order to reach "station d" from "station b", the user purchased train numbers "G817" and "D931". Among them, the departure station of train number "G817" is "station a" and the arrival station is "station c"; the departure station of train number "D931" is "station c" and the arrival station is "station d".
[0155] Referring to the description of the above train ticketing scenarios 3 and 7, the terminal device can parse the first ticket and obtain the key information of the first ticket. Before the departure time "16:20", if it is detected that the current location of the terminal device is not in the city where "Site a" is located (that is, "Site a" may not be the closest site to the current location of the terminal device), and the user has not yet set out for "Site a", then the terminal device can determine the site closest to the current location of the terminal device among all the sites passed by the train number "G817", such as "Site b", and then use "Site b" as a reminder for the user to go to the next destination, and display it on the desktop or negative one screen as follows. Fig.14 The first set of navigation cards and travel reminder cards are shown.
[0156] Assume that the user takes the train number "G817" to "Site c" according to the prompts of the first group of navigation cards and travel reminder cards. Before the departure time "22:05" of the train number "D931", the terminal device can periodically detect whether the terminal device is located in the geographic fence of "Site c".
[0157] If it is detected that the user is located within the geographic fence of "site c", the terminal device does not need to display the second set of navigation cards and travel reminder cards prompting the user to go to "site c".
[0158] If it is detected that the user is not within the geographic fence of "site c" and the user has not yet set out for "site c", the terminal device can use "site c" as the next destination and display it on the desktop or the negative first screen as follows: Fig.14 The second group of travel reminder cards and navigation cards shown. In the second group of navigation cards and travel reminder cards, the user is reminded that the next destination to be headed for is "Site C".
[0159] It should be understood that, on the one hand, if it is detected that the departure station of the first ticket is not the station closest to the user, it is possible that the user has purchased more stations before the departure station, or the user has temporarily gone to the current location, so the terminal device does not have to recommend the user to go to the departure station of the ticket order, but recommends the user to go to the station closest to the current location. On the other hand, when the arrival station of the ticket for the first train and the departure station of the ticket for the second train are the same station, it is likely to meet the same-station transfer scenario. Before the second train departs, if the user has not left the transfer station, there is no need to remind the user. Before the second train departs, if the user leaves the transfer station, it is necessary to remind the user to return to the transfer station again before the second train departs to avoid the user missing the second train.
[0160] 9. Transfer at the same station (different trains) + the second ticket is purchased at more stops after the actual arrival point of the trip
[0161] In this scenario, the user purchased a ticket for the first train and a ticket for the second train. The arrival station of the ticket for the first train and the departure station of the ticket for the second train are the same station, the departure station of the user's actual trip is the same as the departure station of the ticket for the second train, and the arrival station of the user's actual trip is between the departure station and the arrival station of the ticket for the second train.
[0162] by Fig.15 For example, in the user's actual trip, the departure station is "station a" and the arrival station is "station c". In order to reach "station c" from "station a", the user purchased train number "G817" and train number "D931". Among them, the departure station of train number "G817" is "station a" and the arrival station is "station b"; the departure station of train number "D931" is "station b" and the arrival station is "station d". "Station c" is the station between "station b" and "station d".
[0163] Referring to the description of the train ticketing scenario 2 and the train ticketing scenario 7, the terminal device can parse the first ticket and obtain the key information of the first ticket. Before the departure time "16:20", if it is detected that the current location of the terminal device is not at "Site A" and the user has not yet set out for "Site A", the terminal device can take "Site A" as the next destination and display it on the desktop or the negative one screen as follows: Fig.15 The first set of travel reminder cards and navigation cards are shown.
[0164] Assume that the user takes the train "G817" to "Site b" according to the prompts of the first set of navigation cards and travel reminder cards. Before the departure time "22:05" of the train "D931", the terminal device can periodically detect whether the terminal device is located within the geofence of "Site b". If it is detected that the user is within the geofence of "Site b", the terminal device does not need to display the second set of navigation cards and travel reminder cards prompting the user to go to "Site b". If it is detected that the user is not within the geofence of "Site b" and the user has not yet set out for "Site b", the terminal device can use "Site b" as the next destination and display it on the desktop or negative one screen as follows. Fig.15 The second set of travel reminder cards and navigation cards are shown.
[0165] It should be understood that, on the one hand, when the arrival station of the ticket for the first train is the same as the departure station of the ticket for the second train, it is likely to meet the same-station transfer scenario. Before the second train departs, if the user has not left the transfer station, there is no need to remind the user. Before the second train departs, if the user leaves the transfer station, it is necessary to remind the user to return to the transfer station again before the second train departs to avoid the user missing the second train. On the other hand, although the arrival station of the second trip is inconsistent with the arrival station of the user's actual trip, the next destination of the departure reminder has nothing to do with the arrival station of the second trip. Therefore, the terminal device can only prompt the departure station of the second trip.
[0166] 10. Transfer scenarios at different stations in the same city (different train numbers)
[0167] In this scenario, the user purchased a ticket for the first train and a ticket for the second train. The arrival station of the ticket for the first train and the departure station of the ticket for the second train are different stations in the same city, the departure station of the user's actual trip is the same as the departure station of the ticket for the first train, and the arrival station of the user's actual trip is the same as the arrival station of the ticket for the second train.
[0168] by Fig.16 For example, in the user's actual trip, the departure station is "station a" and the arrival station is "station c". In order to reach "station c" from "station a", the user purchased train numbers "G817" and "D931". Among them, the departure station of train number "G817" is "station a" and the arrival station is "station b1"; the departure station of train number "D931" is "station b2" and the arrival station is "station c". "Station b1" and "Station b2" are different stations in the same city.
[0169] For example, after the terminal device receives the ticket orders of train number "G817" and train number "D931", the terminal device parses the two ticket orders respectively, and obtains the key information of train number "G817" including train number "G817", travel date "January 12", departure station "station a", departure time "16:20" and arrival station "station b1", and obtains the key information of train number "D931" including train number "D931", travel date "January 12", departure station "station b2", departure time "22:05" and arrival station "station c". By comparing this information, the terminal device can determine that the two ticket orders meet the transfer scenario of different stations in the same city.
[0170] Before the departure time of train number "G817" at "16:20", if it is detected that the current location of the terminal device is not at "Site A" and the user has not yet set out for "Site A", the terminal device can take "Site A" as the next destination and display it on the desktop or the negative one screen as follows: Fig.16 The first group of navigation cards and travel reminder cards shown. In the first group of navigation cards and travel reminder cards, the user is reminded that the next destination to be departed is "site a", and the estimated taxi fare is calculated based on the current location of the terminal device and factors such as "site a".
[0171] Then, before the departure time "22:05" of train number "D931", if it is detected that the current location of the terminal device is not at "b2" and the user has not yet set out for "b2", the terminal device can take "b2" as the next destination and display it on the desktop or the negative one screen as follows: Fig.16 The second set of navigation cards and travel reminder cards are shown. In the first set of navigation cards and travel reminder cards, the user is reminded that the next destination to be departed is "b2", and the estimated taxi fare is calculated based on the current location of the terminal device and factors such as "b2".
[0172] It should be noted that the above embodiment is illustrated by taking the example that the ticket orders for the first and second trains have been purchased and parsed before the first train departs. This application also provides another example of a transfer scenario at different stations in the same city: the terminal device issues a departure reminder based on the ticket order for the first train purchased by the user; after the user takes the first train, the user purchases the second train, the terminal device parses the ticket order for the second train, and then compares the parsed information of the two ticket orders to determine that the two ticket orders meet the transfer scenario at different stations in the same city.
[0173] It should be understood that when the arrival station of the first train ticket and the departure station of the second train ticket are different stations in the same city, after the user arrives in the city by the first train, the user may need to take other means of transportation such as subway, taxi or bus to another station in the city. Therefore, the user should be reminded to go to the next destination in time to avoid missing the next train.
[0174] 11. Transfers at different stations in the same city + the first ticket is purchased before the actual departure station
[0175] In this scenario, the user purchased a ticket for the first train and a ticket for the second train. The arrival station of the ticket for the first train and the departure station of the ticket for the second train are different stations in the same city, the departure station of the user's actual trip is between the departure station of the ticket for the first train and the arrival station of the ticket for the first train, and the arrival station of the user's actual trip is the same as the arrival station of the ticket for the second train.
[0176] by Fig.17 For example, in the user's actual trip, the departure station is "station b" and the arrival station is "station d". In order to reach "station d" from "station b", the user purchased train numbers "G817" and "D931". Among them, the departure station of train number "G817" is "station a" and the arrival station is "station c1"; the departure station of train number "D931" is "station c2" and the arrival station is "station d". "Station b" is the station between "station a" and "station c1". "Station c1" and "Station c2" are different stations in the same city.
[0177] Referring to the description of the train ticketing scenario 3 and the train ticketing scenario 10, the terminal device can parse the ticket orders of train number "G817" and train number "D931" respectively, and obtain the key information of train number "G817" including train number "G817", travel date "January 12", departure station "station a", departure time "16:20" and arrival station "station c1", and obtain the key information of train number "D931" including train number "D931", travel date "January 12", departure station "station c2", departure time "22:05" and arrival station "station d". By comparing this information, the terminal device can determine that these two ticket orders meet the transfer scenario of different stations in the same city.
[0178] Before the departure time "16:20" of train number "G817", if it is detected that the current location of the terminal device is not in the city where "Site a" is located (that is, "Site a" may not be the closest site to the current location of the terminal device), and the user has not yet set out for "Site a", then the terminal device can determine the site closest to the current location of the terminal device among all the sites passed by train number "G817", such as "Site b", and then use "Site b" as the next destination to remind the user to go, and display it on the desktop or negative one screen as follows: Fig.17 Travel reminder cards and navigation cards shown. Figure 7 The first group of navigation cards shown is similar, such as Fig.17The navigation card shown has the following features: 1. It reminds the user that the next destination to be departed is "site b"; 2. There is an expansion control at the corresponding position of the next destination "site b", and the expansion control supports the user to select other sites as the departure site; 3. The navigation card also includes a prompt message "You are currently close to site b, do you want to go to site b to get on the bus?"; 4. The estimated taxi fare of the navigation card is calculated based on the current location of the terminal device and factors such as "site b". The specific description of the scenario of buying multiple sites before the departure site can be referred to the above embodiment, which will not be repeated here.
[0179] Then, before the departure time "22:05" of train number "D931", if it is detected that the current location of the terminal device is not at "Site c2" and the user has not yet set out for "Site c2", the terminal device can take "Site c2" as the next destination and display it on the desktop or the negative one screen as follows: Fig.17 The second set of navigation cards and travel reminder cards are shown. In the second set of navigation cards and travel reminder cards, the user is reminded that the next destination to be departed is "site c2", and the estimated taxi fare is calculated based on the current location of the terminal device and factors such as "site c2".
[0180] It should be understood that, on the one hand, if it is detected that the departure station of the first train ticket is not the station closest to the user, it is possible that the user has purchased more stations before the departure station, or the user has temporarily gone to the current location. In this case, the terminal device does not need to recommend the user to go to the departure station of the first train ticket, but recommends the user to go to the nearest station. On the other hand, when the arrival station of the first train ticket and the departure station of the second train ticket are different stations in the same city, after the user arrives in the city by the first train, the user may have to take other means of transportation such as subway, taxi or bus to go to another station in the city, so the terminal device should promptly remind the user to go to the next destination to avoid the user missing the next train.
[0181] 12. Transfer at different stations in the same city + purchase the second ticket at more stops after the actual arrival point
[0182] In this scenario, the user purchased a ticket for the first train and a ticket for the second train. The arrival station of the ticket for the first train and the departure station of the ticket for the second train are different stations in the same city, the departure station of the user's actual trip is the same as the departure station of the ticket for the first train, and the arrival station of the user's actual trip is between the departure station of the ticket for the second train and the arrival station of the ticket for the second train.
[0183] by Fig.18For example, in the user's actual trip, the departure station is "station a" and the arrival station is "station c". In order to reach "station c" from "station a", the user purchased train numbers "G817" and "D931". Among them, the departure station of train number "G817" is "station a" and the arrival station is "station b1"; the departure station of train number "D931" is "station b2" and the arrival station is "station d". "Station c" is the station between "station b2" and "station d". "Station b1" and "Station b2" are different stations in the same city.
[0184] Referring to the description of the train ticketing scenario 2 and the train ticketing scenario 10, before the departure time "16:20" of the train number "G817", if it is detected that the current location of the terminal device is not at "Site A" and the user has not yet set out for "Site A", then the terminal device can take "Site A" as the next destination and display it on the desktop or the negative one screen as follows: Fig.18 Then, before the departure time "22:05" of train number "D931", if it is detected that the current location of the terminal device is not at "Site b2" and the user has not yet set out for "Site b2", the terminal device can take "Site b2" as the next destination and display it on the desktop or the negative one screen as follows: Fig.18 The second set of travel reminder cards and navigation cards are shown.
[0185] It should be understood that, on the one hand, when the arrival station of the first train ticket and the departure station of the second train ticket are different stations in the same city, since the user may take other means of transportation such as subway, taxi or bus to another station in the city after arriving in the city by the first train, the terminal device should promptly remind the user to go to the next destination to avoid the user missing the next train. On the other hand, although the arrival station of the second trip is inconsistent with the arrival station of the user's actual trip, the next destination of the departure reminder has nothing to do with the arrival station of the second trip, so the terminal device can only prompt the departure station of the second trip.
[0186] The above embodiments have completed the introduction of the train ticketing scenario. It should be understood that these train ticketing scenarios are only exemplary and do not limit the present application. In actual implementation, the travel reminder method provided in the embodiments of the present application can also be used in other train ticketing scenarios.
[0187] In conjunction with the train ticketing scenario provided in the above embodiment, a travel reminder method is introduced below.
[0188] For example, Fig.19The flowchart of a travel reminder method provided in an embodiment of the present application is shown in FIG. The execution subject of the method can be a terminal device or a Figure 2 The business logic processing module shown in FIG. Fig.19 As shown, the method may include the following S1 to S20.
[0189] S1. Obtain the first ticket order.
[0190] Among them, the first ticket order can be a ticket purchase feedback SMS, push message and / or order details page.
[0191] The ticket purchase feedback SMS, also known as the train ticket issuance SMS, refers to the SMS indicating successful ticket issuance sent by the ticket purchasing platform to the passenger / purchaser's terminal device after the user purchases a train ticket online; the push message is an SMS sent by the ticket purchasing platform to the user's terminal device some time before the user's departure to remind the user to travel in time, on the premise that the user has already purchased the train ticket, or it is a ticket change information of the purchased train sent by the ticket purchasing platform to the terminal device, such as train cancellation, train delay and ticket gate change; the ticket purchase details page refers to the order-related details page displayed on the terminal device if the electronic payment is successful during the process of the user purchasing a train ticket online.
[0192] For example, when a user purchases a ticket on a ticket purchasing platform, the platform can send a ticket purchase feedback SMS to the terminal device of the passenger / ticket purchaser according to the passenger / ticket purchaser's mobile phone number filled in by the user. After receiving the ticket purchase feedback SMS, the terminal device immediately parses the ticket purchase feedback SMS to obtain key information. Fig. 20 As shown in (a), during the video playback process of the terminal device, if the terminal device receives a ticket purchase feedback SMS sent by the ticket purchasing platform, a banner notification 61 will pop up in the top area of the screen: "Your train ticket has been purchased successfully, order number WHW1111111, G123 Beijing South-Kaifeng on June 1, 2023, car 09, seat 18C".
[0193] Another example is that when a user purchases a ticket on a ticket purchasing platform, the ticket purchasing platform can send a push message to the passenger / ticket purchaser's terminal device according to the passenger / ticket purchaser's mobile phone number filled in by the user some time before the user's departure. After receiving the push message, the terminal device immediately parses the push message to obtain key information. Fig. 20 As shown in (b) in the figure, the content of the push message 62 is "The order number you purchased is WHW1111111, G123 Beijing South-Kaifeng on June 1, 2023, and the departure time is 24 hours, please travel in time."
[0194] Another example is that when a user successfully purchases a ticket on a ticket purchasing platform using a mobile phone, the terminal device immediately performs OCR recognition and analysis on the currently displayed ticket purchase details page to obtain key information. Fig. 20 As shown in (c) in the figure, the ticket purchase details page 63 includes the train number "G123", the travel date "Thursday, June 1, 2023", the departure station "Beijing South", and the arrival station "Shanghai Hongqiao".
[0195] S2. Analyze the key information contained in the first ticket order.
[0196] The above key information may include the train number, travel date, departure station and arrival station. In addition, the key information may also include departure time, arrival time, ticket gate and seat number, etc.
[0197] S3. Determine whether there is a second ticket order with a travel date that is the same as or close to the travel date of the first ticket order.
[0198] The second ticket order is a ticket order obtained before the first ticket order, that is, the user purchased the second ticket order first and then purchased the first ticket order; or, the second ticket order and the first ticket order are obtained at the same time, that is, the user purchased the first ticket order and the second ticket order at the same time.
[0199] For example, after the terminal device parses and obtains the travel date included in the first ticket order, the travel dates included in all ticket orders stored in the terminal device can be traversed. If there is no second ticket order with the same or similar travel date as the first ticket order, the user may have purchased a single ticket for a single trip, and the following S4 is executed. If there is a second ticket order with the same or similar travel date as the first ticket order, the user may have purchased multiple tickets for a single trip, and the following S12 is executed.
[0200] It should be noted that the travel dates of the first ticket order and the second ticket order are similar, which means that: the travel dates of the first ticket order and the second ticket order are different, and the time interval between the travel dates of the first ticket order and the second ticket order is less than the preset number of days. For example, assuming that the preset number of days is 1 day, the first ticket order is to depart from station a on 6.1 and arrive at station b on 6.2; the second ticket order is to depart from station b on 6.2 and arrive at station c on 6.3. It should be understood that when the time interval between the travel dates of the first ticket order and the second ticket order is greater than or equal to the preset number of days, it can be understood as two independent itineraries, and the terminal device can make separate reminders for the departure station of each itinerary.
[0201] In addition, the above S3 is illustrated by taking the example of determining whether there is a second ticket order with the same or similar travel date as the first ticket order, and it does not limit the present application. The present application also provides another implementation method: determining whether the time interval between the arrival time of the first ticket order and the departure time of the second ticket order is less than or equal to the preset time interval. For example, the preset time interval is 12 hours. It should be understood that when the time interval between the previous and subsequent trips is short, the user may have purchased multiple tickets for a single trip, which is more likely to meet travel scenarios such as boarding the bus to make up the ticket or transfer, so the following S12 can be executed.
[0202] S4. Detect whether the time fence of the first ticket order (may be referred to as the first time fence) is triggered.
[0203] In the embodiment of the present application, a first time fence and a second time fence are set for the departure station of the first ticket order. The first time fence and the second time fence are time fences registered according to the departure time of the first train at the first departure station. Among them, the first time length before the departure time is the first time fence, and the second time length before the departure time is the second time fence, and the first time length is greater than the second time length. For example, the first time length is 5 hours and the second time length is 1 hour.
[0204] Exemplarily, when the system time of the terminal device and the departure time are less than or equal to the first duration, it is determined that the time fence of the first ticket order is triggered, thereby executing the following S5; otherwise, continue to detect whether the time fence of the first ticket order is triggered.
[0205] S5. Detect whether the current location of the terminal device is within a first geographic fence corresponding to the departure site of the first ticket order.
[0206] In the embodiment of the present application, a first geo-fence and a second geo-fence are set for the departure station of the first ticket order. The first geo-fence is a geo-fence with a larger area set with the departure station of the first ticket order as the center. The second geo-fence is a geo-fence with a smaller area set with the departure station of the first ticket order as the center. That is, the area of the second geo-fence is smaller than the area of the first geo-fence.
[0207] For example, the first geo-fence may be the city where the departure station of the first ticket order is located, and the second geo-fence may be the district where the departure station of the first ticket order is located. For another example, the first geo-fence may be the district where the departure station of the first ticket order is located, and the second geo-fence may be the street where the departure station of the first ticket order is located. The specific setting method of the first geo-fence and the second geo-fence is not specifically limited in this application.
[0208] If it is detected that the current location of the terminal device is within the first geographic fence, then the departure station of the first ticket order may be the departure station closest to the user, which meets the scenario of regular travel or the scenario of buying multiple stations after arriving at the station, so that the following S6 to S8 are executed. Alternatively, if it is detected that the current location of the terminal device is not within the first geographic fence, then the departure station of the first ticket order may not be the departure station closest to the user, which meets the scenario of buying multiple stations before the departure station, so that the following S9 to S11 are executed.
[0209] S6. Detect whether the current location of the terminal device is within a second geographic fence corresponding to the departure site of the first ticket order.
[0210] If it is detected that the current location of the terminal device is not within the second geographic fence, the user may not have arrived at the departure site before departure, so the following S7 is executed. Alternatively, if it is detected that the current location of the terminal device is already within the first geographic fence, the user has arrived at the departure site before departure, and the judgment process can be ended.
[0211] S7: Detect whether the user using the terminal device sets out for the departure site of the first ticket order.
[0212] When the current location of the terminal device is not within the second geographic fence, the terminal device may continue to detect whether the user using the terminal device has set out for the departure site of the first ticket order. Exemplarily, any of the following methods may be used to detect whether the user using the terminal device has set out for the departure site of the first ticket order: 1. Detect whether the user is heading to the departure site of the first ticket order through the navigation function of the navigation application; 2. Detect whether a ride order to the departure site of the first ticket order is generated through the taxi application; 3. Detect whether the distance between the terminal device and the departure site is shortening by using the positioning function of the terminal device.
[0213] If it is detected that the user has not yet set out for the departure site of the first ticket order, then the user may not know or have forgotten the itinerary. In this case, the following S8 can be executed; or, if it is detected that the user has already set out for the departure site of the first ticket order, then the user may know the itinerary, and there is no need to remind the user again to go to the departure site of the first ticket order, and the judgment process can be ended.
[0214] S8. Determine to issue a departure reminder for the departure station of the first ticket order, that is, the next destination to be reminded of departure is the departure station of the first ticket order.
[0215] It should be understood that in a regular travel scenario or in a scenario where multiple stops are purchased after arriving at a stop, the departure stop of the first ticket order is the stop closest to the real-time location of the terminal device.
[0216] S9. Determine the station closest to the location of the terminal device among the stations that the train of the first ticket order passes through.
[0217] When it is detected that the current location of the terminal device is not within the first geographic fence, the departure station of the first ticket order may not be the departure station closest to the user. It is possible that the user purchased more stations before the departure station, or the user temporarily left the first geographic fence (such as the city where the departure station of the first ticket order is located). At this time, the terminal device can query all the stations that the train passes through according to the train number of the first ticket order obtained by parsing, and calculate the station closest to the location of the terminal device among these stations, and then execute the following S10.
[0218] S10: Determine whether the user of the terminal device sets out to go to the site closest to the location of the terminal device.
[0219] For the specific implementation of S10, please refer to the description of S7 above, which will not be repeated here.
[0220] If it is detected that the user has not yet set out to the station closest to the location of the terminal device, then the user may not know or forget the itinerary, in which case S11 can be executed. Alternatively, if it is detected that the user has set out to the station closest to the location of the terminal device, then the user may know the itinerary, and there is no need to remind the user again to go to the station closest to the location of the terminal device, and the judgment process can be ended.
[0221] S11. Determine to issue a departure reminder to the station closest to the location of the terminal device, that is, the next destination to be reminded of departure is the station closest to the location of the terminal device, rather than the departure station of the first ticket order.
[0222] S12: Determine whether the train numbers of the first ticket order and the second ticket order are the same.
[0223] If the train numbers of the first ticket order and the second ticket order are the same, then it may be a scenario of buying two tickets for the same train, and the following S13 is executed. Alternatively, if the train numbers of the first ticket order and the second ticket order are different, then it may be a transfer scenario (including a transfer scenario in the same city and a transfer scenario at different stations in the same city), and the following S14 is executed.
[0224] S13. Determine to provide a departure reminder only for the departure site of the first trip, and not to provide a departure reminder for the departure site of the first trip.
[0225] The specific implementation method of the departure reminder for the departure site of the first trip can refer to the description of S4 to S11 above, which will not be repeated here.
[0226] In the embodiment of the present application, the trip corresponding to the ticket order with an earlier departure time is called the first trip, and the trip corresponding to the ticket order with a later departure time is called the second trip. As an example, the trip corresponding to the first ticket order is called the first trip, and the trip corresponding to the second ticket order is called the second trip. As another example, the trip corresponding to the second ticket order is called the first trip, and the trip corresponding to the first ticket order is called the second trip.
[0227] It should be understood that when the train numbers of the first ticket order and the second ticket order are the same, it meets the scenario of purchasing two tickets for the same trip (such as the scenario of purchasing a new ticket after boarding the bus). If the user has already gone to the departure point of the first trip, then the train will inevitably pass by the departure point of the second trip. The user only needs to be reminded to go to the departure point of the first trip, and there is no need to remind the user to go to the departure point of the second trip.
[0228] S14. Determine whether the arrival station of the first trip is the same as the departure station of the second trip.
[0229] If the arrival station of the first trip is the same as the departure station of the second trip, then it may meet the same station transfer scenario, and then execute the following S16 to S20. If the arrival station of the first trip is different from the departure station of the second trip, then it may meet the same city different station transfer scenario, and then execute the following S15.
[0230] S15. Determine a departure reminder for the departure site of the first trip and the departure site of the second trip.
[0231] For the specific implementation method of providing departure reminders for the departure site of the first trip and the departure site of the second trip, reference may be made to the description of S4 to S11 above, which will not be repeated here.
[0232] It should be understood that when the arrival station of the first trip and the departure station of the second trip are different stations, it meets the transfer scenario of different stations in the same city, and the departure station reminders can be given according to two independent trips. Since the first trip is earlier than the second trip, the departure reminder of the departure station of the first trip can be given first, and then the departure reminder of the departure station of the second trip can be given.
[0233] S16. Determine to issue a departure reminder for the departure site of the first trip, that is, the next destination to be reminded of departure is the departure site of the first trip.
[0234] For the specific implementation of S16, reference may be made to the description of S4 to S11 above, which will not be repeated here.
[0235] It should be noted that S13, S15 and S16 are described by taking the departure reminder of the first trip as an example. Referring to the description of the above embodiment, if the first ticket is purchased for multiple stops before the departure stop of the actual trip, the departure reminder can be given to the stop in the first trip that is the shortest distance from the terminal device.
[0236] It should be understood that when the arrival station of the first trip and the departure station of the second trip are the same station, it meets the same station transfer scenario. Referring to the description of the above embodiment, the departure station of the first trip is first reminded, and then after the user arrives at the station, it is determined whether to remind the departure station of the second trip based on whether the user leaves the station.
[0237] S17. Detect whether the system time of the terminal device reaches the arrival time of the first trip.
[0238] If the system time of the terminal device reaches the arrival time of the first trip, the user may have arrived at the transfer station, and the following S18 can be executed. If the system time of the terminal device does not reach the arrival time of the first trip, the user has not yet arrived at the transfer station, and S17 can be continued.
[0239] S18. Detecting whether the current location of the terminal device is within the geographic fence corresponding to the departure site of the second trip according to a preset period.
[0240] If it is detected in a certain preset period that the current location of the terminal device is within the geographic fence corresponding to the departure site of the second trip, then the user has not left the transfer site, and S18 can be continued before the departure time of the second trip. Alternatively, if it is detected in a certain preset period that the current location of the terminal device is not within the geographic fence corresponding to the departure site of the second trip, then the user may have left the transfer site, and the following S19 is executed.
[0241] S19: Detect whether the user using the terminal device sets out for the departure site of the second trip.
[0242] When the current location of the terminal device is not within the geographic fence corresponding to the departure site of the second trip, the terminal device can detect whether the user using the terminal device has set out for the departure site. For the specific implementation of detecting whether the user using the terminal device has set out for the departure site, reference can be made to the description of S7 above, which will not be repeated here.
[0243] If it is detected that the user has not yet set out for the departure site, then the user may not know or have forgotten the itinerary, in which case the following S20 is executed; or, if it is detected that the user has already set out for the departure site, then the user may know the itinerary, and there is no need to remind the user again to go to the departure site, and the judgment process can be ended.
[0244] S20: Determine to issue a departure reminder for the departure site of the second trip, that is, the next destination to be reminded of departure is the departure site of the second trip.
[0245] It should be understood that when the arrival station of the first trip and the departure station of the second trip are the same station, it is likely to meet the same station transfer scenario. After the user arrives at the transfer station, if the user has not left the transfer station, there is no need to remind the user; if the user has left the transfer station, it is necessary to remind the user to return to the transfer station before the second train departs to avoid the user missing the second train.
[0246] For example, Fig.21 A flow chart of another travel reminder method provided in an embodiment of the present application. The execution subject of the method may be as follows Figure 2 As shown in the figure, Fig.21 As shown, the method may include the following S201 to S221.
[0247] S201, the business logic processing module sends a query message to the business presentation module, the query message is used to query whether the card reminder service is in an open state. Correspondingly, the business presentation module returns the query result to the business logic processing module, such as whether the card reminder service is in an open state or a closed state.
[0248] S202: When the card reminder service is enabled, the business logic processing module sends a monitoring request to the emotion perception module. The monitoring request is used to request monitoring of the ticket order.
[0249] S203: The context awareness module responds to the request message and starts a monitoring function.
[0250] S204, the context awareness module monitors the first ticket order and parses key information included in the first ticket order.
[0251] The first ticket order may be a ticket purchase feedback SMS, a push message and / or an order details page. For example, the context awareness module may parse the ticket order based on artificial intelligence or other algorithms to obtain key information contained in the first ticket order, such as the train number, travel date, departure station, arrival station, arrival time, seat number and ticket gate.
[0252] S205, the context awareness module sends the key information obtained by parsing to the business logic processing module.
[0253] S206: The business logic processing module determines, based on the key information, whether there is a second ticket order with a travel date that is the same as or close to the travel date of the first ticket order.
[0254] For the specific implementation of S206, reference may be made to the description of S3 in the above embodiment, which will not be repeated here.
[0255] If there is no second ticket order with the same or close travel date as the first ticket order, then the following S207 is executed. Alternatively, if there is a second ticket order with the same or close travel date as the first ticket order, then the following S208 is executed.
[0256] S207, the business logic processing module determines to issue a departure reminder for the departure site of the first ticket order according to the scenario that the ticket order meets, or to issue a departure reminder for the site closest to the location of the terminal device (different from the departure site of the first ticket order).
[0257] In combination with the description of S4 to S11 in the above embodiments, when there is no second ticket order with the same or similar travel date as the first ticket order, the following two departure reminder methods may be included: 1. If it meets the regular travel scenario or the scenario of purchasing multiple stops after arriving at the stop, determine to give a departure reminder for the departure stop of the first ticket order; 2. If it meets the scenario of purchasing multiple stops before the departure stop, determine to give a departure reminder for the stop closest to the location of the terminal device.
[0258] S208, the business logic processing module determines, based on the scenario that the ticket order meets, whether to provide a departure reminder only for the departure site of the first trip, or to provide a departure reminder for the departure sites of the first trip and the second trip.
[0259] In combination with the description of S12 to S20 in the above embodiments, when there is a second ticket order with the same or similar travel date as the first ticket order, the following three departure reminder methods may be included: 1. If it meets the scenario of purchasing two tickets for the same trip, it is determined that only the departure station of the first trip is reminded, and the departure station of the second trip is not reminded; 2. If it meets the transfer scenario of different stations in the same city, it is determined that the departure station of the first trip and the departure station of the second trip are reminded respectively; 3. If it meets the transfer scenario of the same station, the departure station of the first trip is reminded first, and then after the user arrives at the transfer station (that is, the departure station of the second trip), it is determined whether to give a departure reminder to the transfer station according to whether the user leaves the transfer station and whether the user using the terminal device sets out for the transfer station.
[0260] After determining the next destination of the departure reminder through S207 and S208, one implementation method is that the business logic processing module immediately sends an instruction to the business presentation module to instruct the construction of a card, that is, executes the following S213 to S216; another implementation method is that the business logic processing module first registers a time fence (which can be called a second time fence), and then when the time fence is triggered, sends an instruction to the business presentation module to instruct the construction of a card, that is, executes the following S209 to S216.
[0261] S209, the business logic processing module calculates the preset duration according to the current location of the terminal device, the next destination to be reminded of departure, and the road condition information from the current location to the next destination.
[0262] The traffic information may be used to indicate the road congestion from the current location to the next destination.
[0263] Exemplarily, the business logic processing module calculates a preset duration based on the current location of the terminal device, the next destination to be reminded of departure, the road condition information from the current location to the next destination, the transportation capacity from the current location to the next destination, the security check time at the station, and the waiting time after entering the station.
[0264] S210, the business logic processing module sends an instruction to register the time fence to the context awareness module.
[0265] The instruction to register the time fence may include a preset duration and the departure time of the next destination. The context awareness module may register a time fence, the end time of the time fence is the departure time of the next destination, and the start time of the time fence is the time of the preset duration from the departure time of the next destination. Then, the context awareness module may periodically detect whether the system time of the terminal device enters the time fence. When the system time of the terminal device enters the time fence, the following S211 is executed.
[0266] S211, the context awareness module sends a notification that the time bar is triggered to the business logic processing module.
[0267] S212, the business logic processing module determines the best travel mode according to the user's travel preference and travel time.
[0268] For example, the best way to travel may be driving, taking a taxi, taking the subway, taking the bus or walking.
[0269] S213, the business logic processing module sends an instruction to the business presentation module to instruct the construction of a card.
[0270] The above cards include travel reminder cards and navigation cards. The travel reminder card may contain various information related to the itinerary, through which the user can be reminded to go to the departure site before departure; the navigation card may contain travel navigation information, and the travel navigation information is used to provide navigation services, taxi services or travel mode suggestion services for users going to the departure site. For the specific implementation of these two cards, please refer to the description of the above embodiment, which will not be repeated here.
[0271] Exemplarily, the instruction carries the best travel mode, the next destination, and all key information that has been obtained. The business presentation module constructs travel reminder cards and navigation cards based on this information. For example, the travel reminder card may include: train number, travel date, departure station, departure time, recommended travel time, etc. The navigation card may include: the user's real-time location, the next destination that the user is about to depart for, navigation controls, taxi controls, and estimated taxi fares, etc.
[0272] S214, the business presentation module constructs a card according to the obtained key information.
[0273] S215, the business presentation module sends the constructed card to the desktop application.
[0274] S216, desktop application display card.
[0275] It should be noted that for the scenario of buying multiple sites before the departure site, such as Figure 7 , Fig.11 , Fig.14 or Fig.17 As shown, the departure station in the travel reminder card and the next destination in the navigation card are different stations / locations, and the navigation card may also include a prompt message to remind the user that the next destination to be departed is the station closest to the current location of the terminal device. As an optional implementation, after S216, the method may also include the following S217 to S221.
[0276] S217, the business logic processing module receives the user's operation of reselecting the next destination on the navigation card. The reselected next destination can be any station that the purchased vehicle has passed.
[0277] S218, the business logic processing module sends an instruction to the business presentation module to rebuild the card.
[0278] Restructuring cards can include only navigation cards, or navigation cards and travel reminder cards.
[0279] S219, the business presentation module reconstructs the card according to the key information obtained.
[0280] S220: The service presentation module sends the reconstructed new card to the desktop application.
[0281] S221, the desktop application displays the rebuilt new card.
[0282] It should be understood that after the desktop application displays the reconstructed new card, the user can use the navigation function or taxi function provided by the navigation card to set off for the next destination.
[0283] An embodiment of the present application also provides a terminal device, including a processor, the processor is coupled to a memory, and the processor is used to execute a computer program or instruction stored in the memory, so that the terminal device implements the methods in the above embodiments.
[0284] The embodiment of the present application also provides a computer-readable storage medium, in which computer instructions are stored; when the computer-readable storage medium is run on a computer, the computer is caused to execute the method shown above. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, computer, server or data center to another website, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that can be integrated with one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk or a tape), an optical medium or a semiconductor medium (e.g., a solid state drive (SSD)), etc.
[0285] An embodiment of the present application further provides a computer program product, which includes a computer program code. When the computer program code runs on a computer, the computer executes the methods in the above embodiments.
[0286] The embodiment of the present application also provides a chip, which is coupled to a memory, and the chip is used to read and execute a computer program or instruction stored in the memory to perform the methods in the above embodiments. The chip can be a general-purpose processor or a dedicated processor. It should be noted that the chip can be implemented using the following circuits or devices: one or more field programmable gate arrays (field programmable gate array, FPGA), programmable logic devices (programmable logic device, PLD), controllers, state machines, gate logic, discrete hardware components, any other suitable circuits, or any combination of circuits capable of performing the various functions described throughout this application.
[0287] The terminal device, computer-readable storage medium, computer program product and chip provided in the above-mentioned embodiments of the present application are all used to execute the method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects corresponding to the method provided above, and will not be repeated here.
[0288] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0289] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0290] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0291] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0292] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A travel reminder method, characterized in that: The method is applied to a terminal device, and the method comprises: Displaying a first ticket order for a user's travel, wherein the first ticket order includes a first train number, a first travel date, and a first departure station; Display a first travel reminder card and a first navigation card; wherein, the first travel reminder card includes the first train number, the first travel date and the first departure site, and the first navigation card includes a first starting point identifier and a first end point identifier, the first starting point identifier indicates the location of the terminal device, the first end point identifier indicates the second departure site, the second departure site is to remind the user to depart for the next destination, and the second departure site is the site with the smallest distance from the location of the terminal device among the sites where the first train number stops along the way on the first travel date.
2. The method according to claim 1, characterized in that The first departure site and the second departure site are different departure sites; the first navigation card also includes prompt information, and the prompt information is used to indicate that the second departure site is the site with the shortest distance from the location of the terminal device among the sites where the first train stops along the way on the first travel date.
3. The method according to claim 1, characterized in that The first navigation card also includes a first control; After displaying the first travel reminder card and the first navigation card, the method further includes: Receiving a first operation of the user on the first control; In response to the first operation, displaying each station where the first train stops along the first travel date; receiving a second operation of the user on a third departure site among the sites; In response to the second operation, the first travel reminder card and the first navigation card are updated to a second travel reminder card and a second navigation card; wherein, the second travel reminder card is the same as the first travel reminder card, and the second navigation card includes a second starting point identifier and a second end point identifier, the second starting point identifier indicates the location of the terminal device, and the second end point identifier indicates the third departure site.
4. The method according to any one of claims 1 to 3, characterized in that The displaying of the first travel reminder card and the first navigation card includes: When the first time fence is triggered and the terminal device is not within the first geographical fence, displaying the first travel reminder card and the first navigation card; Among them, the first time fence is a time fence set according to the departure time of the first train at the first departure station; the first geographical fence is a geographical fence set according to the city or urban area where the first departure station is located.
5. The method according to any one of claims 1 to 3, characterized in that After displaying the first ticket order for the user's travel, the method further includes: When the first time fence is triggered and the terminal device is within the first geo-fence and not within the second geo-fence, displaying a third travel reminder card and a third navigation card; The third travel reminder card is the same as the first travel reminder card, and the third navigation card includes a third starting point identifier and a third end point identifier, the third starting point identifier indicates the location of the terminal device, and the third end point identifier indicates the first departure site; The first time fence is a time fence set according to the departure time of the first train at the first departure station, the first geographical fence is a geographical fence set according to the city or urban area where the first departure station is located, and the second geographical fence is a geographical fence set according to the area covered by the first departure station.
6. The method according to any one of claims 1 to 3, characterized in that Before displaying the first travel reminder card and the first navigation card, the method further includes: Detecting whether there is a second ticket order in the terminal device; the travel date of the second ticket order is the first travel date, or the time interval between the travel date of the second ticket order and the first travel date is less than or equal to a preset number of days; If the second ticket order exists and the train number of the second ticket order is the first train number, determining that the next destination to be reminded for the user to depart is the second departure station; The itinerary corresponding to the first ticket order is earlier than the itinerary corresponding to the second ticket order, and the second departure station is specifically a station in the itinerary corresponding to the first ticket order that is the shortest distance from the location of the terminal device.
7. The method according to any one of claims 1 to 3, characterized in that Before displaying the first travel reminder card and the first navigation card, the method further includes: Detecting whether there is a second ticket order in the terminal device; the travel date of the second ticket order is the first travel date, or the time interval between the travel date of the second ticket order and the first travel date is less than or equal to a preset number of days; If the second ticket order exists, the train number of the second ticket order is different from the first train number, and the arrival station of the first ticket order is different from the departure station of the second ticket order, determining that the next destination to be reminded for the user to depart is the second departure station and the departure station of the second ticket order; The itinerary corresponding to the first ticket order is earlier than the itinerary corresponding to the second ticket order, and the second departure station is specifically a station in the itinerary corresponding to the first ticket order that is the shortest distance from the location of the terminal device.
8. The method according to claim 7, characterized in that After displaying the first travel reminder card and the first navigation card, the method further includes: A fourth travel reminder card and a fourth navigation card are displayed, wherein the fourth travel reminder card includes the train number of the second ticket order, the travel date of the second ticket order and the departure station of the second ticket order, and the fourth navigation card includes a fourth starting point identifier and a fourth end point identifier, wherein the fourth starting point identifier indicates the location of the terminal device, and the fourth end point identifier indicates the departure station of the second ticket order.
9. The method according to any one of claims 1 to 3, characterized in that Before displaying the first travel reminder card and the first navigation card, the method further includes: Detecting whether there is a second ticket order in the terminal device; the travel date of the second ticket order is the first travel date, or the time interval between the travel date of the second ticket order and the first travel date is less than or equal to a preset number of days; If the second ticket order exists, the train number of the second ticket order is different from the first train number, and the arrival station of the first ticket order is the same as the departure station of the second ticket order, determining that the next destination to be reminded for the user to depart is the second departure station; The itinerary corresponding to the first ticket order is earlier than the itinerary corresponding to the second ticket order, and the second departure station is specifically a station in the itinerary corresponding to the first ticket order that is the shortest distance from the location of the terminal device.
10. The method according to claim 9, characterized in that After displaying the first travel reminder card and the first navigation card, the method further includes: Determining that the system time of the terminal device reaches the arrival time of the first ticket order; detecting whether the terminal device is within a geographic fence corresponding to a departure site of the second ticket order; If the terminal device is not within the geographic fence corresponding to the departure site of the second ticket order, and the terminal device has not traveled to the departure site of the second ticket order, determining that the next destination to be reminded for the user to travel to is the departure site of the second ticket order; A fifth travel reminder card and a fifth navigation card are displayed, wherein the fifth travel reminder card includes the train number of the second ticket order, the travel date of the second ticket order and the departure station of the second ticket order, and the fifth navigation card includes a fifth starting point identifier and a fifth end point identifier, the fifth starting point identifier indicates the location of the terminal device, and the fifth end point identifier indicates the departure station of the second ticket order.
11. The method according to any one of claims 1 to 10, characterized in that The displaying of the first travel reminder card and the first navigation card includes: Determining a first duration according to the current location of the terminal device, the next destination to be reminded for the user to depart for, and traffic information from the current location to the next destination; registering a second time fence according to the first duration and the departure time of the first train at the first departure station; If it is detected that the second time fence is triggered, the first travel reminder card and the first navigation card are displayed.
12. A terminal device, characterized in that: It comprises a processor and a memory coupled to the processor; wherein the memory stores instructions, and the processor calls the instructions so that the terminal device executes the travel reminder method as described in any one of claims 1 to 11.
13. A chip, characterized in that: The chip is coupled to a memory, and the chip is used to read and execute a computer program stored in the memory to implement the travel reminder method according to any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed on a terminal device, the terminal device executes the travel reminder method according to any one of claims 1 to 11.