Travel reminding method and device

By combining historical itinerary information and real-time geographical location updates, dynamically adjusting the itinerary reminder time has been solved, and the accuracy and user experience of itinerary reminders in the existing technology have been improved.

CN119027084APending Publication Date: 2024-11-26HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310611904.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-26
Publication Date
2024-11-26

Smart Images

  • Figure CN119027084A_ABST
    Figure CN119027084A_ABST
Patent Text Reader

Abstract

The invention provides an itinerary reminding method and device, which can improve the flexibility of itinerary reminding and improve the user experience. The method comprises the following steps: acquiring travel information of a first user, wherein the travel information comprises a departure station and a departure moment; based on historical travel information of the group user, determining a first predicted spent time length between the moment when the first user arrives at the departure station and the departure moment, the historical travel information including the moment when the group user arrives at the departure station and the historical departure moment of the group user; at the first moment, based on the real-time geographic position of the first user, determining a second predicted spent time length for the first user to arrive at the departure station, the first moment being earlier than the second moment, the second moment being earlier than the departure moment, and the interval time length between the first moment and the departure moment being the first predicted spent time length; and under the condition that the difference between the interval duration between the second moment and the first moment and the second predicted spent duration is smaller than or equal to the preset duration, first travel prompt information is displayed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a trip reminder method and device. Background Art

[0002] When a user books a train ticket, an air ticket, or a boat ticket, in order to reduce the risk of the user missing a train, plane, or boat, the terminal device may send a prompt message to the user to prompt the user with flight-related information, train-related information, or boat-related information. At present, the terminal device usually sends a prompt message to the user at a preset time before the departure time in the train ticket, air ticket, or boat ticket order. For example, when a user books a train ticket, the departure time in the train ticket order is 10:00 a.m. on January 1, 2023, and the preset time can be 2 hours. In this case, the user's terminal device will send a prompt message 2 hours before 10:00 a.m. on January 1, 2023, that is, the user will be reminded of his or her scheduled train trip through a prompt message at 8:00 a.m. on January 1, 2023.

[0003] However, such a trip reminder method is not flexible enough and may still cause users to miss their bus, plane or ship, resulting in a poor user experience. Summary of the invention

[0004] The present application provides a trip reminder method and device, which can send reminder messages to users based on the time spent by the user at the departure site and the time spent on the way to the departure site, thereby improving the flexibility of the trip reminder method, helping to reduce the user's missed trains and / or missed flights, and thus improving the user experience.

[0005] In a first aspect, a travel reminder method is provided, comprising: obtaining travel information of a first user, the travel information comprising a departure site and a departure time; determining a first estimated duration between a time when the first user arrives at the departure site and the departure time based on historical travel information of a group of users, the historical travel information comprising a time when the group of users arrives at the departure site and a historical departure time of the group of users, the group of users comprising the first user and / or a plurality of second users; at a first moment, based on the real-time geographic location of the first user, determining a second estimated duration when the first user arrives at the departure site, the first moment being earlier than a second moment, the second moment being earlier than the departure time, and the interval between the first moment and the departure time being the first estimated duration; and displaying a first travel reminder message when the difference between the interval between the second moment and the first moment and the second estimated duration is less than or equal to a preset duration.

[0006] The itinerary reminder method of the present application determines, when a terminal device obtains the itinerary information of a user, a first estimated time for the user between the time of arrival at the departure site and the departure time based on the historical itinerary information of group users; then determines a second estimated time for the user to reach the departure site from the real-time geographic location; and displays itinerary reminder information when the difference between the time interval between the current time and the departure time and the sum of the first estimated time and the second estimated time is less than or equal to a preset threshold. In this way, the terminal device can determine the time when the user is recommended to depart for the departure site based on the estimated time the user spends at the departure site, the time the user spends on the way to the departure site, and the departure time, and displays the itinerary reminder information to the user in advance before the time when the user is recommended to depart for the departure site, thereby improving the flexibility of the itinerary reminder method, helping to reduce the risk of users missing their trains, planes, or ships, and improving the user experience.

[0007] It should be understood that the first user can be any one or more users. Itinerary information can also be referred to as itinerary order information, which can refer to the first user's train ticket order information, plane ticket order information, ship order information, bus order information, etc. The departure station can refer to a geographical location such as a railway station, an airport, a port, a bus station, or a bus station. The departure time is the departure time of the train, ship, or plane corresponding to the itinerary information of the first user. For example, the itinerary information of the first user is the train ticket order information, and the departure time of the train in the train ticket order can be 10:00 on January 1, 2023, and the departure time is the departure time.

[0008] In certain implementations of the first aspect, the method further includes: in a case where the difference between the interval between the second moment and the first moment and the second estimated duration is greater than the preset duration, updating the second estimated duration for the first user to arrive at the departure site every first duration based on the real-time geographic location of the first user until the time interval between the second moment and the current moment and the difference between the updated second estimated duration is less than or equal to the preset duration; and displaying the first trip reminder information.

[0009] It should be understood that the first duration can be any preset duration, such as 5 minutes, 10 minutes, etc. At each interval of the first duration, the second estimated duration for the first user to reach the departure site is updated based on the real-time geographic location of the first user, wherein the real-time geographic location of the first user refers to the real-time geographic location of the first user each time the second estimated duration needs to be updated. The process in which the terminal device updates the second estimated duration until the difference between the time interval between the second moment and the current moment and the updated second estimated duration is less than or equal to the preset duration can also be referred to as a polling calculation process. During the polling calculation process of the terminal device, if the geographic location of the first user has not changed, the second estimated duration may remain unchanged during the polling calculation process; if the geographic location of the first user has changed, the second estimated duration may change during the polling calculation process.

[0010] In certain implementations of the first aspect, after displaying the first trip reminder information, the method further includes: at a third moment, obtaining the real-time geographic location of the first user; determining whether the first user has set off based on the real-time geographic location of the first user; and displaying a second trip reminder information if the first user has not set off.

[0011] It should be understood that the third moment may refer to the moment after the first trip prompt information is displayed and the moment between the recommended departure time. Optionally, the time interval between the third moment and the moment when the first trip prompt information is displayed may be a preset time interval, for example, the preset time interval is 5 minutes, then the moment corresponding to 5 minutes after the terminal device displays the first trip prompt information is the third moment. Determining whether the first user has set off may refer to determining whether the first user has set off to the departure site. Optionally, the first trip prompt information and / or the second trip prompt information may include at least one of the recommended departure time, departure site, departure time, travel tool number and the like. The second trip prompt information may be the same as or different from the first trip prompt information.

[0012] In certain implementations of the first aspect, determining whether the first user has set off based on the real-time geographic location of the first user includes: determining that the first user has not set off when the second distance minus the first distance is less than or equal to a preset value, wherein the first distance is the distance between the real-time geographic location of the first user acquired at the third moment and the departure site, and the second distance is the distance between the real-time geographic location of the first user when the first trip reminder information is displayed and the departure site.

[0013] It should be understood that the preset value is a preset value greater than 0. The first distance may refer to the straight-line distance between the real-time geographic location of the first user obtained at the third moment and the departure site; the second distance may refer to the straight-line distance between the real-time geographic location of the first user and the departure site when the first trip prompt information is displayed. The real-time geographic location of the first user when the first trip prompt information is displayed may refer to the real-time geographic location of the first user obtained by the terminal device before the first trip information is displayed in order to calculate the second estimated duration or the updated second estimated duration.

[0014] In certain implementations of the first aspect, the method further includes: determining that the first user has set off when the second distance minus the first distance is greater than the preset value.

[0015] It should be understood that when the second distance minus the first distance is greater than the preset value, it means that the real-time geographic location of the first user is closer to the departure site, and the terminal device can determine that the first user has set off. At this time, the terminal device can stop polling calculation, that is, no longer obtain the real-time geographic location of the first user.

[0016] In certain implementations of the first aspect, determining a first estimated duration between the time when the first user arrives at the departure site and the departure time based on historical travel information of group users includes: determining the difference between the time when each user in the group of users arrives at the departure site and the historical departure time of each user as multiple historical durations of time spent by the group users at the departure site; and determining the estimated duration of time based on the multiple historical durations of time spent.

[0017] It should be understood that the difference between the time when each user in the group of users arrives at the departure site and the historical departure time of each user may refer to the time interval between the time when each user in the group of users arrives at the departure site and the historical departure time of each user.

[0018] In certain implementations of the first aspect, determining the first estimated spent duration based on the multiple historical spent durations includes: determining an average value or a weighted average value of the multiple historical spent durations as the first estimated spent duration.

[0019] In certain implementations of the first aspect, an absolute value of a difference between the historical departure time and the departure time is less than or equal to a preset threshold.

[0020] It should be understood that the preset threshold value may be a preset value greater than 0, such as 20 minutes. For the same departure station, the time required for the user to spend at the departure station may be different in different time periods. By making the time interval between the historical departure time of each user in the group of users and the departure time of the first user's itinerary information less than or equal to the preset threshold value, the historical departure time of each user in the group of users is close to the departure time, so that the accuracy of the determined first estimated time can be improved.

[0021] In certain implementations of the first aspect, the date type of the historical travel information is the same as the date type of the travel information, and the date type is a holiday or a working day.

[0022] It should be understood that the time a user needs to spend at the departure site may be different depending on the date type. Therefore, when the date type corresponding to the historical travel information of the group users is the same as the date type of the travel information of the first user, the first estimated time determined by the terminal device based on the historical travel information will have a higher accuracy.

[0023] In certain implementations of the first aspect, determining a second estimated time for the first user to reach the departure site based on the real-time geographic location of the first user includes: calling a navigation application to obtain the second estimated time, wherein the second estimated time is determined by the navigation application based on the real-time geographic location of the first user and the departure site.

[0024] It should be understood that the navigation application can determine the time taken from the initial location to the key location based on the initial location and the key location; optionally, the navigation application can determine the time taken from the initial location to the key location by various travel modes; optionally, the navigation application can determine the time taken from the initial location to the key location by multiple different routes. Therefore, the terminal device can call the navigation application to determine the time taken from the real-time geographic location of the first user to the departure site.

[0025] In certain implementations of the first aspect, obtaining the travel information of the first user includes: obtaining the travel information of the first user when a travel reminder switch is in an on state.

[0026] It should be understood that the trip reminder switch can control whether the terminal device turns on the trip reminder function, which can further improve the flexibility of the trip reminder method.

[0027] In certain implementations of the first aspect, the method further includes: displaying a first interface, the first interface including a selection button for the trip reminder switch; and setting the state of the trip reminder switch to an on state or an off state based on a user's selection operation.

[0028] It should be understood that the first interface can be any preset interface, for example, an interface set by the system. Through the above technical solution, the user can control whether to turn on the trip reminder switch, which helps to further improve the flexibility of the trip reminder method.

[0029] In a second aspect, a travel reminder device is provided, which is used to execute the method in any possible implementation of the first aspect. Specifically, the device includes a module for executing the method in any possible implementation of the first aspect.

[0030] In a third aspect, another travel reminder device is provided, including a processor, the processor is coupled to a memory, and can be used to execute instructions in the memory to implement the method in any possible implementation of the first aspect. Optionally, the device also includes a memory. Optionally, the device also includes a communication interface, and the processor is coupled to the communication interface.

[0031] In one implementation, the apparatus is a terminal device. When the apparatus is a terminal device, the communication interface may be a transceiver, or an input / output interface.

[0032] In another implementation, the device is a chip configured in a terminal device. When the device is a chip configured in a terminal device, the communication interface may be an input / output interface.

[0033] In a fourth aspect, a processor is provided, comprising: an input circuit, an output circuit, and a processing circuit. The processing circuit is used to receive a signal through the input circuit and transmit a signal through the output circuit, so that the processor executes the method in any possible implementation of the first aspect.

[0034] In the specific implementation process, the processor may be a chip, the input circuit may be an input pin, the output circuit may be an output pin, and the processing circuit may be a transistor, a gate circuit, a trigger, and various logic circuits. The input signal received by the input circuit may be received and input by, for example, but not limited to, a receiver, and the signal output by the output circuit may be, for example, but not limited to, output to a transmitter and transmitted by the transmitter, and the input circuit and the output circuit may be the same circuit, which is used as an input circuit and an output circuit at different times. The embodiments of the present application do not limit the specific implementation methods of the processor and various circuits.

[0035] In a fifth aspect, a processing device is provided, comprising a processor and a memory. The processor is used to read instructions stored in the memory, and can receive signals through a receiver and transmit signals through a transmitter to execute the method in any possible implementation of the first aspect.

[0036] Optionally, the number of the processors is one or more, and the number of the memories is one or more.

[0037] Optionally, the memory may be integrated with the processor, or the memory may be provided separately from the processor.

[0038] In the specific implementation process, the memory can be a non-transitory memory, such as a read-only memory (ROM), which can be integrated with the processor on the same chip or can be set on different chips respectively. This application does not limit the type of memory and the setting method of the memory and the processor.

[0039] It should be understood that the relevant data interaction process, such as sending indication information, can be a process of outputting indication information from a processor, and receiving capability information can be a process of receiving input capability information from a processor. Specifically, the processed output data can be output to a transmitter, and the input data received by the processor can come from a receiver. Among them, the transmitter and the receiver can be collectively referred to as a transceiver.

[0040] The processing device in the fifth aspect mentioned above can be a chip. The processor can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc.; when implemented by software, the processor can be a general-purpose processor, which is implemented by reading the software code stored in the memory. The memory can be integrated in the processor or can be located outside the processor and exist independently.

[0041] In a sixth aspect, a computer program product is provided, the computer program product comprising: a computer program (also referred to as code, or instruction), which, when executed, enables a computer to execute a method in any possible implementation of the first aspect.

[0042] In a seventh aspect, a computer-readable storage medium is provided, which stores a computer program (also referred to as code, or instructions) which, when executed on a computer, enables the computer to execute a method in any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application;

[0044] Figure 2 A software structure block diagram of a terminal device according to an embodiment of the present application;

[0045] Figure 3 A flowchart of a travel reminder method provided in an embodiment of the present application;

[0046] Figure 4 A schematic diagram of the relationship between multiple moments in a trip reminder process provided by an embodiment of the present application;

[0047] Figure 5 A schematic diagram of the relationship between multiple moments in another itinerary reminder process provided by an embodiment of the present application;

[0048] Figure 6 A schematic diagram of an interface for displaying first trip reminder information and second trip reminder information on a terminal device provided in an embodiment of the present application;

[0049] Figure 7 A schematic diagram of an interface for obtaining a second estimated duration of time through a navigation application program provided by a terminal device according to an embodiment of the present application;

[0050] Figure 8 A schematic diagram of an interface of a terminal device displaying a first interface provided in an embodiment of the present application;

[0051] Fig. 9 A flowchart of another method for reminding a trip provided in an embodiment of the present application;

[0052] Fig.10 A schematic diagram of a process for a terminal device to obtain a first estimated duration and a second estimated duration provided in an embodiment of the present application;

[0053] Fig.11 A schematic block diagram of a travel reminder device provided in an embodiment of the present application;

[0054] Fig.12 A schematic block diagram of another travel reminder device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] The technical solution in this application will be described below in conjunction with the accompanying drawings.

[0056] In the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially identical functions and effects. For example, the first value and the second value are only used to distinguish between different values, and do not limit their order. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.

[0057] It should be noted that in the embodiments of the present application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplarily" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.

[0058] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, a--c, bc, or abc, where a, b, c can be single or multiple.

[0059] The terminal device provided in the embodiment of the present application is a terminal device with a touch screen, which can be a mobile phone, a tablet computer (pad), a desktop computer, a laptop computer, etc. The embodiment of the present application does not limit the specific technology and specific device form adopted by the terminal device.

[0060] In order to better understand the terminal device in the embodiment of the present application, Figure 1 The hardware structure of the terminal device in the embodiment of the present application is described in detail.

[0061] Figure 1 This is a schematic diagram of the structure of the terminal device 100 provided in the embodiment of the present application. Figure 1As shown, the terminal device 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 subscriber identification module (SIM) card interface 195, etc. 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, a bone conduction sensor 180M, etc.

[0062] It is understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0063] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0064] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0065] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0066] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0067] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the terminal device 100.

[0068] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.

[0069] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0070] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.

[0071] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the terminal device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the terminal device 100.

[0072] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0073] The USB interface 130 is an interface that complies with the USB standard specification, 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 terminal device 100, and can also be used to transmit data between the terminal device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other terminal devices, such as AR devices, etc.

[0074] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0075] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the terminal device 100. While the charging management module 140 is charging the battery 142, it may also power the terminal device through the power management module 141.

[0076] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0077] The wireless communication function of the terminal device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0078] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0079] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the terminal device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0080] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0081] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the terminal device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0082] In some embodiments, the antenna 1 of the terminal device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the terminal device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0083] The terminal device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.

[0084] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode or an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the terminal device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0085] The terminal device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0086] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0087] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the terminal device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0088] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the terminal device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0089] Video codecs are used to compress or decompress digital videos. The terminal device 100 may support one or more video codecs. Thus, the terminal device 100 may play or record videos in various coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0090] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the terminal device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0091] 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 terminal device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0092] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the terminal device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the terminal device 100 by running instructions stored in the internal memory 121, and / or instructions stored in a memory provided in the processor.

[0093] The terminal device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0094] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0095] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The terminal device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0096] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the terminal device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the ear.

[0097] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The terminal device 100 can be provided with at least one microphone 170C. In other embodiments, the terminal device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the terminal device 100 can also be provided with three, four or more microphones 170C to realize the collection of sound signals, noise reduction, identification of sound sources, realization of directional recording function, etc.

[0098] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0099] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The terminal device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the terminal device 100 detects the touch operation intensity according to the pressure sensor 180A. The terminal device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0100] The gyroscope sensor 180B can be used to determine the motion posture of the terminal device 100. In some embodiments, the angular velocity of the terminal device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the terminal device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the terminal device 100 through reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and somatosensory game scenes.

[0101] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the terminal device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.

[0102] The magnetic sensor 180D includes a Hall sensor. The terminal device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the terminal device 100 is a flip phone, the terminal device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover automatic unlocking and other features are set.

[0103] The acceleration sensor 180E can detect the magnitude of the acceleration of the terminal device 100 in various directions (generally three axes). When the terminal device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the terminal device and applied to applications such as horizontal and vertical screen switching and pedometers.

[0104] The distance sensor 180F is used to measure the distance. The terminal device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the terminal device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.

[0105] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The terminal device 100 emits infrared light outward through the light emitting diode. The terminal device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the terminal device 100. When insufficient reflected light is detected, the terminal device 100 can determine that there is no object near the terminal device 100. The terminal device 100 can use the proximity light sensor 180G to detect that the user holds the terminal device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode, and pocket mode automatically unlocks and locks the screen.

[0106] The ambient light sensor 180L is used to sense the ambient light brightness. The terminal device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the terminal device 100 is in a pocket to prevent accidental touch.

[0107] The fingerprint sensor 180H is used to collect fingerprints. The terminal device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0108] The temperature sensor 180J is used to detect temperature. In some embodiments, the terminal device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the terminal device 100 reduces the performance of the processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the terminal device 100 heats the battery 142 to avoid abnormal shutdown of the terminal device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the terminal device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0109] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the terminal device 100, which is different from the position of the display screen 194.

[0110] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone. The audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.

[0111] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The terminal device 100 may receive key input and generate key signal input related to user settings and function control of the terminal device 100.

[0112] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0113] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0114] The SIM card interface 195 is used to connect the SIM card. The SIM card can be connected to and separated from the terminal device 100 by inserting the SIM card interface 195 or pulling it out from the SIM card interface 195. The terminal device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card, etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The terminal device 100 interacts with the network through the SIM card to realize functions such as calls and data communications. In some embodiments, the terminal device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the terminal device 100 and cannot be separated from the terminal device 100. The software system of the terminal device 100 can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system with a layered architecture as an example to illustrate the software structure of the terminal device 100.

[0115] Figure 2 This is a software structure block diagram of the terminal device 100 according to an embodiment of the present application.

[0116] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.

[0117] The application layer can include a series of application packages. Figure 2 As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.

[0118] The application framework layer provides application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions. Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0119] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0120] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0121] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0122] The phone manager is used to provide communication functions of the terminal device 100, such as management of call status (including connection, disconnection, etc.).

[0123] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0124] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, the terminal device vibrates, the indicator light flashes, etc.

[0125] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0126] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0127] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0128] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0129] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0130] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0131] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis and layer processing.

[0132] A 2D graphics engine is a drawing engine for 2D drawings.

[0133] The kernel layer is a layer between hardware and software. The kernel layer is used to drive the hardware to make the hardware work. The kernel layer at least includes display driver, screen driver, graphics processing unit (GPU) driver, camera, and sensor driver, etc., which are not limited in the embodiments of the present application. For example, the screen driver can drive the screen to turn on or off.

[0134] When a user books at least one of a train ticket, an air ticket or a boat ticket, in order to reduce the risk of missing the user's train, plane or boat, the terminal device can display prompt information to the user in advance. The prompt information may include the itinerary order information booked by the user, such as the train number, departure station, departure time, the time interval between the current time and the departure time, and other information.

[0135] At present, the terminal device usually displays a reminder message to the user at a preset time before the departure time of the train ticket, air ticket or boat ticket order. For example, in the case where the user books a train ticket, the departure time in the train ticket order is 10:00 am on January 1, 2023, and the preset time can be 2 hours. Then the user's terminal device will send a reminder message 2 hours before 10:00 am on January 1, 2023, that is, at 8:00 am on January 1, 2023, the user will be reminded of his or her scheduled train trip through a reminder message.

[0136] However, such a trip reminder method may cause the user to miss the train, plane or ship if the user's real-time geographic location is far from the departure site, or the road from the real-time geographic location to the departure site is congested, or the user spends too much time at the departure site; if the user takes a short time to get from the real-time geographic location to the departure site, and / or spends a short time at the departure site, the user may have a long invalid waiting time. Therefore, such a trip reminder method is not flexible enough, resulting in a poor user experience.

[0137] In order to solve the above technical problems, the present application provides a trip reminder method and device. When a terminal device obtains the trip information of a user, based on the historical trip information of a group of users, a first estimated time spent by the user between the time of arrival at the departure site and the departure time is determined, and the time before the departure time by the first preset time spent can be recorded as the latest time when the user arrives at the departure site; a second estimated time spent from the user's real-time geographic location to the departure site is determined; and when the difference between the first time interval between the current time and the departure time and the sum of the first estimated time spent and the second estimated time spent is less than or equal to the preset time, the trip reminder information is displayed. In this way, the terminal device can display the trip reminder information to the user in advance based on the estimated time spent by the user at the departure site and the time spent on the way to the departure site, thereby improving the flexibility of the trip reminder method, helping to reduce the risk of users missing their trains, planes or ships, and improving the user experience.

[0138] Combine the following Figures 3 to 10 The itinerary reminder method of the present application is described in detail. The embodiments shown in the present application can be executed by terminal devices, such as mobile phones, tablet computers, smart bracelets, etc. The specific forms and quantities of the devices shown therein are only examples and should not constitute any limitation on the implementation of the method provided in the present application. Below, taking the terminal device as the execution subject as an example, the itinerary reminder method of the embodiment of the present application is described in detail.

[0139] It should be understood that the terminal device can be the terminal device itself, or a chip, chip system or processor that supports the terminal device to implement the trip reminder method, or a logic module or software that can implement all or part of the terminal device functions. The hardware structure of the terminal device can be as follows: Figure 1 As shown, the software structure can be as follows Figure 2 As shown, this application does not make any specific limitation to this.

[0140] Figure 3 The following is a flow chart of a method 300 for reminding a person of a certain trip provided in an embodiment of the present application. The method 300 includes the following steps:

[0141] S301. Acquire itinerary information of a first user, where the itinerary information includes a departure station and a departure time.

[0142] It should be understood that the first user can be any one or more users. Itinerary information can also be referred to as itinerary order information, which can refer to the first user's train ticket order information, plane ticket order information, ship order information, bus order information, etc. The departure station can refer to a geographical location such as a railway station, an airport, a port, a bus station, or a bus station. The departure time is the departure time of the train, ship, or plane corresponding to the itinerary information of the first user. For example, the itinerary information of the first user is the train ticket order information, and the departure time of the train in the train ticket order can be 10:00 on January 1, 2023, and the departure time is the departure time.

[0143] Optionally, the itinerary information may also include information such as the destination, arrival time, and travel tool number, wherein the travel tool number may refer to information such as the train number and flight number.

[0144] Optionally, the itinerary information may be obtained from an itinerary order platform, such as a website capable of purchasing at least one of bus tickets, plane tickets or boat tickets, an application capable of purchasing at least one of bus tickets, plane tickets or boat tickets, etc.

[0145] Optionally, the travel information can be obtained from a text message received by the terminal device. It should be understood that the terminal device can detect the content of the received text message, and when the content of the text message includes the travel information, the travel information of the first user can be obtained.

[0146] S302. Determine a first estimated duration between the time when the first user arrives at the departure station and the departure time based on historical travel information of the group users, wherein the historical travel information includes the time when the group users arrive at the departure station and the historical departure times of the group users, and the group users include the first user and / or multiple second users.

[0147] It should be understood that the historical travel information may include multiple travel information. The first estimated time spent by the first user may also be referred to as the estimated waiting time of the first user at the departure station, that is, the total time spent by the first user at the departure station after arriving at the departure station. Exemplarily, the travel information of the first user is train ticket order information, and the first estimated time spent may include the total time spent by the user in the process of entering the station, checking tickets, boarding the train, etc.

[0148] The historical itinerary information includes the time when the group users arrive at the departure station and the historical departure time of the group users, that is, the terminal device can obtain the historical time spent by the group users from the time when they arrive at the departure station to the historical departure time in the historical itinerary through the historical itinerary information, that is, the total waiting time of the group users at the departure station. The terminal device determines the first estimated time spent by the first user through the time interval between the time when the group users arrive at the departure station and the historical departure time of the group users. For example, the departure time of the first user's itinerary information is 10:00 on March 10, 2023, and the departure station is the first station; the group of users includes user A, user B, and user C. The historical itinerary information of user A is: arriving at the first station at 8:00 on February 10, 2023, and the historical departure time is 9:00 on February 10, 2023; the historical itinerary information of user B is: arriving at the first station at 7:30 on February 15, 2023, and the historical departure time is 9:00 on February 15, 2023; the historical itinerary information of user C is: arriving at the first station at 14:00 on January 10, 2023, and the historical departure time is 15:00 on February 10, 2023. The time taken by user A from the time of arriving at the first station to the historical departure time is 1 hour; the time taken by user B from the time of arriving at the first station to the historical departure time is 1.5 hours; and the time taken by user C from the time of arriving at the first station to the historical departure time is 1 hour. The terminal device may determine the average of the time spent by user A, user B, and user C from the time when they arrive at the first site to the historical departure time as the first estimated time spent by the first user.

[0149] In a possible implementation, the group user is a first user, and S302 may be implemented in the following manner: based on the historical travel information of the first user, a first estimated duration between the time when the first user arrives at the departure site and the departure time is determined.

[0150] In a possible implementation, the group of users is a plurality of second users, and S302 may be implemented in the following manner: based on historical travel information of the plurality of second users, determining a first estimated duration between the time when the first user arrives at the departure site and the departure time.

[0151] It should be understood that the second user may be any user except the first user.

[0152] In a possible implementation, the group of users includes a first user and multiple second users, and S302 can be implemented in the following manner: based on the historical travel information of the multiple second users and the historical travel information of the first user, determine the first estimated time between the time when the first user arrives at the departure site and the departure time.

[0153] S303. At a first moment, based on the real-time geographic location of the first user, determine a second estimated time for the first user to reach the departure site, the first moment being earlier than the second moment, the second moment being earlier than the departure moment, and the interval between the second moment and the departure moment being the first estimated time.

[0154] It should be understood that the interval between the second moment and the departure time is the first estimated time, that is, the second moment is the moment corresponding to the first estimated time before the departure time. The second moment can also be called the latest moment when the first user arrives at the departure site, that is, after the first user arrives at the departure site at the second moment, he spends the first estimated time at the departure site, and then the time reaches the departure time.

[0155] The first moment is earlier than the second moment, and the interval between the first moment and the second moment may be a preset duration. For example, if the preset duration is 2 hours, the terminal device may determine the second estimated duration for the first user to reach the departure site based on the first user's real-time geographic location 2 hours before the second moment. The real-time geographic location of the first user may be the geographic coordinates of the location of the first user at the first moment. The second estimated duration may be the duration obtained by the terminal device for the first user to reach the departure site from the real-time geographic location by any travel mode, for example, the duration for the first user to drive from the real-time geographic location to the departure site, the duration for the first user to take the subway from the real-time geographic location to the departure site, etc., wherein the roadside from the real-time geographic location to the departure site may be the shortest route, the shortest distance route, etc., and this application does not make specific limitations on this.

[0156] Optionally, the second estimated time duration is the time duration taken by the first user to drive from the real-time geographic location to the departure site, obtained by the terminal device.

[0157] Optionally, the route from the real-time geographic location corresponding to the second estimated duration to the departure site is the shortest route.

[0158] S304: Displaying first trip reminder information when the difference between the interval time between the second moment and the first moment and the second estimated time is less than or equal to the preset time.

[0159] It should be understood that the preset duration can be any preset duration, such as 5 minutes, 10 minutes, etc. The first trip prompt information is used to prompt the user to prepare for departure. The first trip prompt information may include information such as the departure station and departure time.

[0160] Optionally, the first trip reminder information may include a suggested departure time, the suggested departure time is a time between the first time and the second time, and the time interval between the suggested departure time and the second time is equal to the second estimated duration.

[0161] Combine the following Figure 4 , method 300 is described in detail.

[0162] Figure 4 A schematic diagram of the relationship between multiple moments in a trip reminder process provided by an embodiment of the present application. Figure 4 As shown, the moment before the departure time that is the first estimated time is the second moment, and the second moment may be the latest time when the first user arrives at the departure site. At the first moment that is the preset time before the second moment, the terminal device starts polling calculation, that is, calculating the second estimated time from the first user's real-time geographic location to the departure site. The moment before the second moment that is the second estimated time may be the recommended departure time, that is, the time when the first user is recommended to depart from the real-time geographic location to the departure site. The time interval between the recommended departure time and the first moment is the first interval, and the first interval is equal to the difference between the interval between the second moment and the first moment and the second estimated time. When the first interval is less than or equal to the preset time, the first trip prompt information is displayed.

[0163] The itinerary reminder method of the present application determines, when a terminal device obtains the itinerary information of a user, a first estimated time for the user between the time of arrival at the departure site and the departure time based on the historical itinerary information of group users; then determines a second estimated time for the user to reach the departure site from the real-time geographic location; and displays itinerary reminder information when the difference between the time interval between the current time and the departure time and the sum of the first estimated time and the second estimated time is less than or equal to a preset threshold. In this way, the terminal device can determine the time when the user is recommended to depart for the departure site based on the estimated time the user spends at the departure site, the time the user spends on the way to the departure site, and the departure time, and displays the itinerary reminder information to the user in advance before the time when the user is recommended to depart for the departure site, thereby improving the flexibility of the itinerary reminder method, helping to reduce the risk of users missing their trains, planes, or ships, and improving the user experience.

[0164] As an optional embodiment, method 300 also includes: when the difference between the interval between the second moment and the first moment and the second estimated duration is greater than the preset duration, updating the second estimated duration for the first user to arrive at the departure site based on the real-time geographic location of the first user every first duration until the time interval between the second moment and the current moment and the difference between the updated second estimated duration is less than or equal to the preset duration; and displaying the first trip reminder information.

[0165] It should be understood that the first duration can be any preset duration, such as 5 minutes, 10 minutes, etc. At each interval of the first duration, the second estimated duration for the first user to reach the departure site is updated based on the real-time geographic location of the first user, wherein the real-time geographic location of the first user refers to the real-time geographic location of the first user each time the second estimated duration needs to be updated. The process in which the terminal device updates the second estimated duration until the difference between the time interval between the second moment and the current moment and the updated second estimated duration is less than or equal to the preset duration can also be referred to as a polling calculation process. During the polling calculation process of the terminal device, if the geographic location of the first user has not changed, the second estimated duration may remain unchanged during the polling calculation process; if the geographic location of the first user has changed, the second estimated duration may change during the polling calculation process. Exemplarily, at a first moment, the terminal device obtains the real-time geographic location of the first user, at which time the first user is located at the first shopping mall, the second estimated time is the time it takes the first user to get from the first shopping mall to the departure site, and the difference between the time interval between the first moment and the second moment and the second estimated time is greater than a preset time; at a moment of the first time interval after the first moment, the terminal device obtains the real-time geographic location of the first user, at which time the first user is located at the second shopping mall, and the second estimated time is the time it takes the first user to get from the second shopping mall to the departure site, and the second estimated time calculated by the two pollings may be different.

[0166] In a specific example, Figure 5 As shown, at the first moment before the second moment, the terminal device starts to perform polling calculation to obtain the real-time geographic location of the first user, which is recorded as the first location, and the time taken to reach the departure site from the first location is the second estimated time taken; the difference between the time interval between the first moment and the second moment and the second estimated time taken is greater than the preset time; at the Nth moment after the first moment, the real-time geographic location of the first user is obtained, which is recorded as the second location, and the time taken to reach the departure site from the second location is the updated second estimated time taken; the difference between the time interval between the Nth moment and the second moment and the updated second estimated time taken is greater than the preset time; at the N+1th moment after the Nth moment, the real-time geographic location of the first user is obtained, which is recorded as the third location, and the time taken to reach the departure site from the third location is the second estimated time taken after the update; the difference between the time interval between the N+1th moment and the second moment and the second estimated time taken after the update is less than the preset time, and the terminal device displays the first trip prompt information. Among them, the moment of the time taken to reach the departure site from the real-time geographic location before the second moment can be recorded as the recommended departure time.

[0167] As an optional embodiment, after S304, method 300 also includes: at a third moment, obtaining the real-time geographic location of the first user; determining whether the first user has set off based on the real-time geographic location of the first user; and displaying a second trip reminder message if the first user has not set off.

[0168] It should be understood that the third moment may refer to the moment after the first trip prompt information is displayed and the moment between the recommended departure time. Optionally, the time interval between the third moment and the moment when the first trip prompt information is displayed may be a preset time interval, for example, the preset time interval is 5 minutes, then the moment corresponding to 5 minutes after the terminal device displays the first trip prompt information is the third moment. Determining whether the first user has set off may refer to determining whether the first user has set off to the departure site. Optionally, the first trip prompt information and / or the second trip prompt information may include at least one of the recommended departure time, departure site, departure time, travel tool number and the like. The second trip prompt information may be the same as or different from the first trip prompt information.

[0169] In a possible implementation, the terminal device displays the first trip reminder information and / or the second trip reminder information via a text message.

[0170] In a possible implementation, the terminal device displays the first trip reminder information and / or the second trip reminder information through a content card.

[0171] Figure 6 A schematic diagram of an interface for displaying first trip reminder information and second trip reminder information on a terminal device provided in an embodiment of the present application. Figure 6 As shown in FIG. 1 , assume that the itinerary information of the first user is a trip from the first station to the second station at 10:00 on January 1, 2023. The first station is the departure station; 10:00 on January 1, 2023 is the departure time. 8:00 on January 1, 2023 is the recommended departure time. Then the interface of the terminal device displaying the first trip reminder information can be as follows: Figure 6 The interface (a) of the terminal device showing the second trip reminder information can be as follows Figure 6 The interface is shown in (b).

[0172] It should be understood that Figure 6The display interface shown and the contents of the first trip reminder information and the second trip reminder information are only examples. The first trip reminder information and the second trip reminder information may contain more or less information; the interface on which the terminal device displays the first trip reminder information and the second trip reminder information may also be other interfaces, such as the interface within the WeChat application; the terminal device may also display the first trip reminder information and the second trip reminder information in the form of other pop-up messages, such as in the form of content cards, and this application does not make specific restrictions.

[0173] In a possible implementation, determining whether the first user has set off based on the real-time geographic location of the first user includes: when the second distance minus the first distance is less than or equal to a preset value, determining that the first user has not set off, wherein the first distance is the distance between the real-time geographic location of the first user acquired at the third moment and the departure site, and the second distance is the distance between the real-time geographic location of the first user when the first trip reminder information is displayed and the departure site.

[0174] It should be understood that the preset value is a preset value greater than 0. The first distance may refer to the straight-line distance between the real-time geographic location of the first user obtained at the third moment and the departure site; the second distance may refer to the straight-line distance between the real-time geographic location of the first user and the departure site when the first trip prompt information is displayed. The real-time geographic location of the first user when the first trip prompt information is displayed may refer to the real-time geographic location of the first user obtained by the terminal device before the first trip information is displayed in order to calculate the second estimated time or the updated second estimated time. Exemplarily, at the Nth moment, the terminal device obtains the real-time geographic location of the first user, the real-time geographic location is recorded as the first location, and the time taken to reach the departure site from the first location is the updated second estimated time; the difference between the time interval between the Nth moment and the second moment and the updated second estimated time is less than the preset time, and the terminal device displays the first trip prompt information, wherein the real-time geographic location of the first user when the first trip prompt information is displayed may refer to the first location. The second distance is the distance between the first location and the departure site. At the third moment after the Nth moment, the real-time geographic location of the first user is obtained, the real-time geographic location is recorded as the second location, and the first distance is the distance between the second location and the departure site. If the second distance minus the first distance is less than or equal to the preset value, it means that the first user has not yet set out for the departure site.

[0175] In a possible implementation, the method 300 further includes: when the second distance minus the first distance is greater than a preset value, determining that the first user has set off.

[0176] It should be understood that when the second distance minus the first distance is greater than the preset value, it means that the real-time geographic location of the first user is closer to the departure site, and the terminal device can determine that the first user has set off. At this time, the terminal device can stop polling calculation, that is, no longer obtain the real-time geographic location of the first user.

[0177] As an optional embodiment, after S304, method 300 further includes: obtaining the real-time geographic location of the first user at the third moment; determining whether the first user has set out based on the real-time geographic location of the first user; if the first user has not set out, determining the second estimated time based on the real-time geographic location of the first user; if the difference between the interval time between the third moment and the second moment and the second estimated time is less than a preset time period, displaying a second trip reminder; the preset time period is less than a preset time. Optionally, if the difference between the interval time between the third moment and the second moment and the second estimated time is greater than or equal to the preset time period, updating the second estimated time for the first user to reach the departure site based on the real-time geographic location of the first user at every second time interval, until the difference between the time interval between the second moment and the current moment and the updated second estimated time is less than or equal to the preset time period, and / or it is detected that the first user has set out, and displaying a second trip reminder.

[0178] It should be understood that the second duration may be the same as or different from the first duration. After the terminal device displays the first trip reminder information, if the first user has not set out, the terminal device will continue to perform polling calculations, that is, every second duration, update the second estimated duration of the first user's real-time geographic location to the departure site; and determine whether the interval duration between the current moment and the second moment and the difference between the second estimated duration are less than the preset time period. In this way, when the user has not set out for the departure site and the current time is close to the recommended departure time, sending the second trip reminder information to the user can reduce the user's missed trains, planes or ships, improve the user's travel efficiency, and help improve the user experience.

[0179] As an optional embodiment, S302 can be specifically implemented in the following manner: determine the difference between the time when each user in the group of users arrives at the departure site and the historical departure time of each user as multiple historical spent times of the group users at the departure site; based on the multiple historical spent times, determine the expected spent time.

[0180] It should be understood that the difference between the time when each user in the group of users arrives at the departure site and the historical departure time of each user may refer to the time interval between the time when each user in the group of users arrives at the departure site and the historical departure time of each user.

[0181] In a possible implementation, determining the first estimated spent time based on multiple historical spent times includes: determining an average value or a weighted average value of the multiple historical spent times as the first estimated spent time.

[0182] In a possible implementation, the absolute value of the difference between the historical departure time and the departure time is less than or equal to a preset threshold.

[0183] It should be understood that the preset threshold value may be a preset value greater than 0, such as 20 minutes. For the same departure station, the time required for the user to spend at the departure station may be different in different time periods. By making the time interval between the historical departure time of each user in the group of users and the departure time of the first user's itinerary information less than or equal to the preset threshold value, the historical departure time of each user in the group of users is close to the departure time, so that the accuracy of the determined first estimated time can be improved.

[0184] In a possible implementation, the date type of the historical travel information is the same as the date type of the travel information, which is a holiday or a working day.

[0185] It should be understood that the time a user needs to spend at the departure site may be different depending on the date type. Therefore, when the date type corresponding to the historical travel information of the group users is the same as the date type of the travel information of the first user, the first estimated time determined by the terminal device based on the historical travel information will have a higher accuracy.

[0186] Optionally, when the date type of the travel information is a holiday, the holiday type of the historical travel information is the same as the holiday type of the travel information.

[0187] It should be understood that the holiday type may refer to a specific holiday, such as National Day, Spring Festival, Dragon Boat Festival, Saturday, Sunday, etc. When the date type corresponding to the historical travel information of the group users is the same as the holiday type of the travel information of the first user, the accuracy of the first estimated duration determined by the terminal device based on the historical travel information can be further improved.

[0188] As an optional embodiment, S303 may be specifically implemented in the following manner: calling a navigation application to obtain a second estimated duration, where the second estimated duration is determined by the navigation application based on the real-time geographic location and departure site of the first user.

[0189] It should be understood that the navigation application can determine the time taken from the initial location to the key location based on the initial location and the key location; optionally, the navigation application can determine the time taken from the initial location to the key location by various travel modes; optionally, the navigation application can determine the time taken from the initial location to the key location by multiple different routes. Therefore, the terminal device can call the navigation application to determine the time taken from the real-time geographic location of the first user to the departure site.

[0190] In a specific example, Figure 7 A schematic diagram of an interface for obtaining a second estimated time length through a navigation application program provided by a terminal device in an embodiment of the present application. Figure 7 Therefore, the real-time geographic location of the first user may be location A, and the departure point may be location B. At different times, the time required for the first user to travel from the real-time geographic location to the departure point may be different. Figure 7 As shown in the interface (a) in FIG. 1 , the terminal device can select different departure times, and different departure times may result in different second estimated durations. Figure 7 As shown in the interface (b) in FIG, after the terminal device determines the departure time, the navigation application can determine the estimated arrival time, and the time interval between the departure time and the estimated arrival time is the second estimated time. The second estimated time can also be recorded as future time.

[0191] As an optional embodiment, S301 is specifically implemented in the following manner: when the travel reminder switch is in the turned-on state, the travel information of the first user is obtained.

[0192] It should be understood that the trip reminder switch can control whether the terminal device turns on the trip reminder function, which can further improve the flexibility of the trip reminder method.

[0193] As an optional embodiment, method 300 also includes: displaying a first interface, the first interface including a selection button for a trip reminder switch; and setting the state of the trip reminder switch to an on state or an off state based on a user's selection operation.

[0194] It should be understood that the first interface can be any preset interface, for example, an interface set by the system. Through the above technical solution, the user can control whether to turn on the trip reminder switch, which helps to further improve the flexibility of the trip reminder method.

[0195] For example, the first interface can be as follows Figure 8 As shown, when the user clicks the selection button 801 of the trip reminder switch, the state of the trip reminder switch can be set to an on state or an off state. The user can be the first user or another user.

[0196] It should be understood that the sequence numbers of the above processes do not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0197] Fig. 9 A flowchart of another travel reminder method 900 provided in an embodiment of the present application. Fig. 9 As shown, method 900 includes the following steps:

[0198] S901. Obtain travel information of a first user.

[0199] S902: Determine a first estimated duration between the time when the first user arrives at the departure site and the departure time based on the historical travel information of the group users.

[0200] S903: At a first moment, based on the real-time geographic location of the first user, determine a second estimated time for the first user to reach the departure site.

[0201] S904: Determine whether the difference between the interval duration between the second moment and the first moment and the second estimated duration is less than or equal to a preset duration.

[0202] If yes, execute S905; if no, execute S906.

[0203] S905. Display the first trip reminder information.

[0204] S906: At intervals of the first time duration, based on the real-time geographic location of the first user, update the second estimated time duration for the first user to reach the departure site.

[0205] After S906, S907 is executed.

[0206] S907: Determine whether the difference between the time interval between the second moment and the current moment and the updated second estimated duration is less than or equal to a preset duration.

[0207] If yes, execute S905; if no, execute S906.

[0208] After S905 , S908 is executed.

[0209] S908. At a third moment, obtain the real-time geographic location of the first user.

[0210] S909, determining whether the first user has set out based on the real-time geographic location of the first user;

[0211] If not, execute S910; if so, this process ends.

[0212] S910, displaying the second trip reminder information.

[0213] It should be understood that the specific implementation details of method 900 are similar to those of method 300 , and reference may be made to the above description, which will not be repeated here.

[0214] Fig.10 A schematic diagram of a process for a terminal device to obtain a first estimated duration and a second estimated duration provided by an embodiment of the present application. Fig.10 As shown, after the terminal device obtains the itinerary information of the first user, the perception snapshot module of the terminal device calls the capability center based on the itinerary information of the first user. This process can also be called obtaining a snapshot. The capability center can determine the first estimated time spent by the first user based on the historical itinerary information of the group users. Then, the capability center can call an interface, such as calling the software development kit (SDK) interface of the navigation application to obtain the second estimated time spent from the navigation application. The navigation application sends the first result, for example, the first result may include the second estimated time spent, to the capability center. The capability center returns the second result, for example, the second result may include the first estimated time spent and the second estimated time spent. In this way, after the terminal device obtains the itinerary information, it can determine the first estimated time spent and the second estimated time spent.

[0215] It should be understood that the capability platform and navigation applications can be set up in the terminal device.

[0216] Optionally, the capability center can also be a cloud-based platform, and can include devices such as servers and computers. The capability center can store historical travel information of multiple users, and can determine a first estimated time spent based on the historical travel information of a group of users among the multiple users, and then send the first estimated time spent to the terminal device.

[0217] Optionally, the capability middle platform may also be a cloud-based platform, and may include devices such as servers and computers. The capability middle platform may store historical travel information of multiple users, including group users; and may filter out historical travel information of group users based on the travel information of the first user. The historical travel information of the group users is sent to the terminal device, and the terminal device determines the first estimated time based on the historical travel information of the group users.

[0218] It should be understood that the sequence numbers of the above processes do not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0219] Combination of the above Figures 3 to 10, describes in detail the itinerary reminder method of the embodiment of the present application, and the following is combined with Fig.11 and Fig.12 , a travel reminder device according to an embodiment of the present application is described in detail.

[0220] Fig.11 1 is a schematic block diagram of a travel reminder device 1100 provided in an embodiment of the present application. Fig.11 As shown, the device 1100 includes: a processing module 1101 and a display module 1102 .

[0221] In a possible implementation, the apparatus 1100 is used to implement the steps corresponding to the terminal device in the above-mentioned method 300 and method 900.

[0222] Processing module 1101 is used to obtain the itinerary information of the first user, the itinerary information includes the departure site and the departure time; based on the historical itinerary information of the group users, determine the first estimated time between the time when the first user arrives at the departure site and the departure time, the historical itinerary information includes the time when the group users arrive at the departure site and the historical departure time of the group users, and the group users include the first user and / or multiple second users; at the first moment, based on the real-time geographic location of the first user, determine the second estimated time when the first user arrives at the departure site, the first moment is earlier than the second moment, the second moment is earlier than the departure time, and the interval between the second moment and the departure time is the first estimated time; display module 1102 is used to display the first trip prompt information when the difference between the interval between the second moment and the first moment and the second estimated time is less than or equal to the preset time.

[0223] Optionally, the processing module 1101 is also used to: when the difference between the interval between the second moment and the first moment and the second estimated duration is greater than a preset duration, update the second estimated duration for the first user to arrive at the departure site based on the real-time geographic location of the first user every first duration, until the difference between the time interval between the second moment and the current moment and the updated second estimated duration is less than or equal to the preset duration; the display module 1102 is also used to: display the first trip reminder information.

[0224] Optionally, the processing module 1101 is also used to: obtain the real-time geographic location of the first user at a third moment; determine whether the first user has set off based on the real-time geographic location of the first user; the display module 1102 is also used to: display a second trip reminder message if the first user has not set off.

[0225] Optionally, the processing module 1101 is specifically used to: determine that the first user has not departed when the second distance minus the first distance is less than or equal to a preset value, wherein the first distance is the distance between the real-time geographic location of the first user obtained at the third moment and the departure site, and the second distance is the distance between the real-time geographic location of the first user when the first trip reminder information is displayed and the departure site.

[0226] Optionally, the processing module 1101 is further used to: determine that the first user has set off when the second distance minus the first distance is greater than a preset value.

[0227] Optionally, the processing module 1101 is specifically used to: determine the difference between the time when each user in the group of users arrives at the departure site and the historical departure time of each user as multiple historical spent times of the group users at the departure site; and determine the estimated spent time based on the multiple historical spent times.

[0228] Optionally, the processing module 1101 is specifically configured to: determine an average value or a weighted average value of multiple historical spent durations as the first estimated spent duration.

[0229] Optionally, the absolute value of the difference between the historical departure time and the departure time is less than or equal to a preset threshold.

[0230] Optionally, the date type of the historical travel information is the same as the date type of the travel information, which is a holiday or a working day.

[0231] Optionally, the processing module 1101 is specifically used to: call a navigation application to obtain a second estimated duration, where the second estimated duration is determined by the navigation application based on the real-time geographic location and departure site of the first user.

[0232] Optionally, the processing module 1101 is specifically used to: when the travel reminder switch is in an on state, obtain the travel information of the first user.

[0233] Optionally, the display module 1102 is also used to: display a first interface, the first interface includes a selection button for a trip reminder switch; the processing module 1101 is also used to: set the state of the trip reminder switch to an on state or an off state based on a user's selection operation.

[0234] It should be understood that the device 1100 here is embodied in the form of a functional module. The term "module" here may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a proprietary processor or a group processor, etc.) and a memory for executing one or more software or firmware programs, a merged logic circuit and / or other suitable components that support the described functions. In an optional example, those skilled in the art can understand that the device 1100 can be specifically a terminal device in the above-mentioned embodiment, and the device 1100 can be used to execute the various processes and / or steps corresponding to the terminal device in the above-mentioned method embodiment. To avoid repetition, it will not be repeated here.

[0235] The above-mentioned apparatus 1100 has the function of implementing the corresponding steps executed by the terminal device in the above-mentioned method; the above-mentioned function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned function.

[0236] In the embodiments of the present application, Fig.11 The device 1100 in the embodiment may also be a chip, such as a SOC. Correspondingly, the processing module 1101 may be a transceiver circuit of the chip, which is not limited here.

[0237] Fig.12 A schematic block diagram of a travel reminder device 1200 provided in an embodiment of the present application is shown. The device 1200 includes a processor 1201, a transceiver 1202, and a memory 1203. The processor 1201, the transceiver 1202, and the memory 1203 communicate with each other through an internal connection path, the memory 1203 is used to store instructions, and the processor 1201 is used to execute the instructions stored in the memory 1203 to control the transceiver 1202 to send signals and / or receive signals.

[0238] It should be understood that the device 1200 can be specifically a terminal device in the above embodiment, and can be used to execute the various steps and / or processes corresponding to the terminal device in the above method embodiment. Optionally, the memory 1203 may include a read-only memory and a random access memory, and provide instructions and data to the processor. A part of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type. The processor 1201 may be used to execute instructions stored in the memory, and when the processor 1201 executes the instructions stored in the memory, the processor 1201 is used to execute the various steps and / or processes of the above method embodiment. The transceiver 1202 may include a transmitter and a receiver, the transmitter may be used to implement the various steps and / or processes corresponding to the above transceiver for performing the sending action, and the receiver may be used to implement the various steps and / or processes corresponding to the above transceiver for performing the receiving action.

[0239] It should be understood that in the embodiments of the present application, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0240] In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software. The steps of the method disclosed in conjunction with the embodiment of the present application can be directly embodied as a hardware processor for execution, or a combination of hardware and software modules in a processor for execution. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor executes the instructions in the memory, and completes the steps of the above method in conjunction with its hardware. To avoid repetition, it is not described in detail here.

[0241] The present application also provides a computer-readable storage medium, which is used to store a computer program, and the computer program is used to implement the method shown in the above method embodiment.

[0242] The present application also provides a computer program product, which includes a computer program (also referred to as code or instruction). When the computer program runs on a computer, the computer can execute the method shown in the above method embodiment.

[0243] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0244] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and modules described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0245] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, 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 modules, which can be electrical, mechanical or other forms.

[0246] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0247] In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

[0248] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0249] The above is only a specific implementation of the present application, but the protection scope of the embodiments of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the embodiments of the present application, which should be included in the protection scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application should be based on the protection scope of the claims.

Claims

1. A trip reminder method, It is characterized in that include: Acquire itinerary information of the first user, wherein the itinerary information includes a departure station and a departure time; Determining a first estimated duration between the time when the first user arrives at the departure station and the departure time based on historical travel information of group users, wherein the historical travel information includes the time when the group users arrive at the departure station and the historical departure times of the group users, and the group users include the first user and / or multiple second users; At a first moment, based on the real-time geographic location of the first user, a second estimated time for the first user to reach the departure site is determined, the first moment being earlier than the second moment, the second moment being earlier than the departure moment, and the interval between the second moment and the departure moment being the first estimated time; When the difference between the interval time between the second moment and the first moment and the second estimated time is less than or equal to the preset time, the first trip reminder information is displayed.

2. The method according to claim 1, It is characterized in that The method further comprises: In the case where the difference between the interval between the second moment and the first moment and the second estimated time is greater than the preset time, the second estimated time for the first user to arrive at the departure site is updated based on the real-time geographic location of the first user at each interval of the first time, until the difference between the time interval between the second moment and the current moment and the updated second estimated time is less than or equal to the preset time; The first trip reminder information is displayed.

3. The method according to claim 1 or 2, It is characterized in that After displaying the first trip prompt information, the method further includes: At a third moment, obtaining the real-time geographic location of the first user; Determining whether the first user has set out based on the real-time geographic location of the first user; If the first user has not set out, a second trip reminder message is displayed.

4. The method according to claim 3, It is characterized in that The determining whether the first user has set out based on the real-time geographic location of the first user includes: When the second distance minus the first distance is less than or equal to a preset value, it is determined that the first user has not departed, wherein the first distance is the distance between the real-time geographic location of the first user obtained at the third moment and the departure site, and the second distance is the distance between the real-time geographic location of the first user when the first trip reminder information is displayed and the departure site.

5. The method according to claim 4, It is characterized in that The method further comprises: When the second distance minus the first distance is greater than the preset value, it is determined that the first user has set off.

6. The method according to any one of claims 1 to 5, It is characterized in that The determining, based on the historical travel information of the group of users, a first estimated time between the time when the first user arrives at the departure site and the departure time, includes: Determine the difference between the time when each user in the group of users arrives at the departure site and the historical departure time of each user as multiple historical time spent by the group of users at the departure site; Based on the multiple historical spent durations, the estimated spent duration is determined.

7. The method according to claim 6, It is characterized in that The determining the first estimated consuming time based on the multiple historical consuming time comprises: An average value or a weighted average value of the multiple historical spent times is determined as the first estimated spent time.

8. The method according to any one of claims 1 to 7, It is characterized in that The absolute value of the difference between the historical departure time and the departure time is less than or equal to a preset threshold.

9. The method according to any one of claims 1 to 8, It is characterized in that The date type of the historical travel information is the same as the date type of the travel information, and the date type is a holiday or a working day.

10. The method according to any one of claims 1 to 9, It is characterized in that The determining, based on the real-time geographic location of the first user, a second estimated time taken by the first user to reach the departure site includes: Call a navigation application to obtain the second estimated duration, where the second estimated duration is determined by the navigation application based on the real-time geographic location of the first user and the departure site.

11. The method according to any one of claims 1 to 10, It is characterized in that The obtaining of the travel information of the first user includes: When the travel reminder switch is turned on, the travel information of the first user is obtained.

12. The method according to claim 11, It is characterized in that The method further comprises: Displaying a first interface, the first interface including a selection button of the trip reminder switch; Based on the user's selection operation, the state of the travel reminder switch is set to an on state or an off state.

13. A trip reminder device, It is characterized in that Comprising means for performing the method as claimed in any one of claims 1 to 12.

14. A trip reminder device, It is characterized in that include: A processor, wherein the processor is coupled to a memory, wherein the memory is used to store a computer program, and when the processor calls the computer program, the device is caused to execute the method according to any one of claims 1 to 12.

15. A computer-readable storage medium, It is characterized in that Used to store a computer program, the computer program comprising instructions for implementing the method according to any one of claims 1 to 12.

16. A computer program product, It is characterized in that The computer program product includes a computer program code, and when the computer program code is executed on a computer, the computer is enabled to implement the method according to any one of claims 1 to 12.