Travel reminding method and electronic equipment

By responding to cell handover in electronic devices, using cell identification matching and longest common subsequence algorithms, the itinerary reminder accuracy problem when user itinerary changes is solved, and timely and accurate itinerary reminder services are achieved.

CN120282090AActive Publication Date: 2025-07-08HONOR DEVICE CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202311865581.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2025-07-08
Estimated Expiration
2043-12-29

AI Technical Summary

Technical Problem

In special travel scenarios, the existing technology cannot accurately obtain the user's real itinerary, resulting in the inability to provide itinerary reminder services in time. Especially when the user terminates the scheduled itinerary or itinerary changes, the equipment cannot sense and provide accurate itinerary reminders in time.

Method used

By responding to cell handover in the electronic device, the target cell identification is obtained and matched with the cell identification corresponding to the predetermined itinerary, the longest common sub-sequence algorithm is used to calculate the cell matching degree, determine the user's ride information, and then provide corresponding itinerary reminders.

Benefits of technology

It realizes timely and accurately providing itinerary reminder services when users travel to change or terminate their scheduled itineraries, reducing unnecessary itinerary interference and improving the accuracy of itinerary reminders.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120282090A_ABST
    Figure CN120282090A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a travel reminding method and electronic equipment, and relates to the technical field of communication. The method comprises the following steps: in response to cell switching, acquiring an identifier of a target cell accessed by the electronic equipment between current time and starting time; wherein the starting time is the riding time of the train number of the predetermined travel of the target user, and the electronic equipment is equipment for purchasing the train number ticket of the predetermined travel. Determining riding information of the target user based on the target cell identifier and the cell identifier corresponding to the predetermined travel; and displaying travel reminding information related to the riding information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technologies, and in particular, to a travel reminder method and an electronic device. Background Art

[0002] Generally, after a user purchases a train ticket, a reminder service can be provided to the user according to the station list information of the user's travel order. However, in some special travel scenarios, the user's actual travel cannot be accurately obtained. For example, for some reasons, the user terminates the reserved travel before departure, or there is a travel change during the user's travel, resulting in the device being unable to timely perceive the user's travel change and unable to provide a travel reminder service to the user in a timely and accurate manner. Summary of the Invention

[0003] In view of this, this application provides a travel reminder method and an electronic device, which can provide a travel reminder service to the user in a timely and accurate manner.

[0004] To achieve the above object, the embodiments of this application adopt the following technical solutions:

[0005] In a first aspect, this application provides a travel reminder method, which includes: in response to a cell handover, obtaining a target cell identifier accessed by the electronic device between the current time and the starting time; where the starting time is the boarding time of the train of the target user's reserved travel, and the electronic device is the device that purchases the train ticket for the reserved travel. Based on the target cell identifier and the cell identifier corresponding to the reserved travel, determining the travel information of the target user; and displaying travel reminder information related to the travel information.

[0006] In this method, taking the boarding time of the train of the user's reserved travel as the starting time, when the accessed cell of the electronic device changes, the identifier of the accessed cell after the handover can be obtained, and it can be determined whether the number of cells accessed by the electronic device is greater than a preset number. If it is greater, it means that the user's moving range has reached a certain range, and a travel reminder service needs to be provided to the user. Furthermore, the target cell identifier accessed by the electronic device is matched with the cell identifier corresponding to the reserved travel to determine the user's moving situation, that is, the travel information of the user at the current time. And the display screen of the electronic device can display reminder information related to this travel information, so as to provide a travel reminder service to the user in a timely and accurate manner.

[0007] In combination with the first aspect, in a possible implementation, the travel information of the target user includes any one of the following: the information that the target user has not boarded the train; the reminder information of the target user's intermediate stations; the information that the target user gets off at an intermediate station; the information that the target user is about to arrive; the information that the target user arrives on time; the information that the target user has passed the station.

[0008] Combined with the first aspect, in a possible implementation manner, based on the target cell identifier and the cell identifiers corresponding to the predetermined trip, determine the riding information of the target user, including: determining the cell matching degree based on the target cell identifier and the cell identifiers corresponding to the predetermined trip; wherein, the cell matching degree is the matching degree between the target cell identifier and the cell identifiers corresponding to the predetermined trip. Determine the riding information of the target user based on the cell matching degree and the identifier of the station where the target user passed by most recently, and the identifier of the station where the target user passed by most recently is determined by the coverage between the target cell identifier and the cell identifiers corresponding to the predetermined trip.

[0009] In this method, the target cell identifier and the cell identifiers corresponding to the predetermined trip can be matched, and the matching method can adopt the Longest Common Subsequence (LCSS) algorithm to calculate and determine the matching degree between the target cell identifier and the cell identifiers corresponding to the predetermined trip.

[0010] That is to say, using the Longest Common Subsequence algorithm, calculate the similarity between the target cell identifier and the cell identifiers corresponding to the predetermined trip. The LCSS algorithm can find the longest common subsequence of the two cell identifiers, can be compatible with sub-matching, and supports calculating the similarity between the target cell identifier and the cell identifiers corresponding to the predetermined trip.

[0011] Combined with the first aspect, in a possible implementation manner, based on the cell matching degree and the identifier of the station where the target user passed by most recently, determine the riding information of the target user, including: if the cell matching degree is less than the matching degree threshold, and the station identifier does not exist in the cell identifiers corresponding to the predetermined trip, or, when the station identifier is the departure station identifier of the target user's predetermined trip, it can be determined that the riding information of the target user is information of not getting on the vehicle.

[0012] In this method, if the cell matching degree is less than the matching degree threshold, it means that the target user has stopped the predetermined trip, that is, the target user is not on the journey of this train. And through the coverage between the target cell identifier and the cell identifiers corresponding to the predetermined trip, it is obtained that the identifier of the station where the target user passed by most recently does not exist in the cell identifiers corresponding to the predetermined trip, or the identifier of the station where the target user passed by most recently is the departure station identifier of the target user's predetermined trip, indicating that the cells passed by the target user do not overlap with the cell identifiers corresponding to the predetermined trip. That is to say, the target user has not got on the vehicle.

[0013] Combined with the first aspect, in a possible implementation manner, based on the cell matching degree and the identifier of the station where the target user passed by most recently, determine the riding information of the target user, including: if the cell matching degree is less than the matching degree threshold, and when the station identifier is the passing station identifier of the target user's predetermined trip, determine that the riding information of the target user is information of getting off midway.

[0014] In this method, if the cell matching degree is less than the matching degree threshold, it indicates that the target user has stopped the reserved journey, that is, the target user is not on the journey of this train. And by the coverage between the target cell identifier and the cell identifier corresponding to the reserved journey, the identifier of the station where the target user passed by last time is obtained as the identifier of the passing station of the reserved journey, indicating that the target user has boarded the train but is no longer on this train at this time, that is, it can be determined that the target user has got off halfway.

[0015] Combined with the first aspect, in a possible implementation manner, based on the cell matching degree and the identifier of the station where the target user passed by last time, the riding information of the target user is determined, including: if the cell matching degree is less than the matching degree threshold, and in the case where the station identifier is the arrival station identifier of the target user's reserved journey, the riding information of the target user is determined as the on-time arrival information.

[0016] In this method, if the cell matching degree is less than the matching degree threshold, it indicates that the target user has stopped the reserved journey, that is, the target user is not on the journey of this train. And by the coverage between the target cell identifier and the cell identifier corresponding to the reserved journey, the identifier of the station where the target user passed by last time is obtained as the arrival station identifier of the reserved journey, indicating that the target user has boarded the train but is no longer on this train at this time, then it can be determined that the target user has completed this journey.

[0017] Combined with the first aspect, in a possible implementation manner, based on the cell matching degree and the identifier of the station where the target user passed by last time, the riding information of the target user is determined, including: if the cell matching degree is greater than or equal to the matching degree threshold, and in the case where the station identifier is the first station identifier, the riding information of the target user is determined as the upcoming arrival information; wherein, the first station identifier is the identifier of the station before the arrival station in the target user's reserved journey.

[0018] In this method, if the cell matching degree is greater than the matching degree threshold, it indicates that the target user is still on the train of the reserved journey. And by the coverage between the target cell identifier and the cell identifier corresponding to the reserved journey, the identifier of the station where the target user passed by last time is obtained as the identifier of the station before the arrival station in the reserved journey, then it can be determined that the target user is about to arrive at the arrival station in the reserved journey.

[0019] Combined with the first aspect, in a possible implementation manner, based on the cell matching degree and the identifier of the station where the target user passed by last time, the riding information of the target user is determined, including: if the cell matching degree is greater than or equal to the matching degree threshold, and in the case where the station identifier is the arrival station identifier of the target user's reserved journey, the riding information of the target user is determined as the passed station information.

[0020] In this method, if the cell matching degree is greater than the matching degree threshold, it indicates that the target user is still on the train of the pre - determined itinerary. And by the coverage degree between the target cell identifier and the cell identifier corresponding to the pre - determined itinerary, if the identifier of the station where the target user passed most recently is obtained as the arrival station identifier, it can be indicated that the target user has passed the station.

[0021] Combined with the first aspect, in a possible implementation, based on the cell matching degree and the identifier of the station where the target user passed most recently, the riding information of the target user is determined, including: if the cell matching degree is greater than or equal to the matching degree threshold, and when the station identifier is the identifier of the passing station of the target user's pre - determined itinerary, the riding information of the target user is determined as the reminder information of the midway station.

[0022] In this method, if the cell matching degree is greater than the matching degree threshold, it indicates that the target user is still on the train of the pre - determined itinerary. And by the coverage degree between the target cell identifier and the cell identifier corresponding to the pre - determined itinerary, the identifier of the station where the target user passed most recently is obtained as the passing station identifier. At this time, the user can be reminded of the next midway station.

[0023] Combined with the first aspect, in a possible implementation, in response to a cell handover, the target cell identifiers accessed by the electronic device between the current time and the start time are obtained, including: in response to a cell handover, the cell identifiers accessed by the electronic device are obtained; when the number of the cell identifiers accessed by the electronic device is greater than or equal to the preset number, the target cell identifiers accessed by the electronic device between the current time and the start time are determined.

[0024] In this method, if the number of the cell identifiers accessed by the electronic device is less than the preset number, the access cells of the electronic device continue to be monitored until the number of the cell identifiers accessed by the electronic device is greater than or equal to the preset number, and then the target cell identifiers are determined.

[0025] Combined with the first aspect, in a possible implementation, the time to stop determining the riding information of the target user can be the time when the train of the pre - determined itinerary reaches the end point.

[0026] In the second aspect, an electronic device is provided, which has the function of implementing the method of the first aspect. This 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 functions.

[0027] In the third aspect, an electronic device is provided, including: a processor and a memory; the memory is used to store computer - executable instructions. When the itinerary reminder occurs, the processor executes the computer - executable instructions stored in the memory, so that the electronic device executes the method of any item in the first aspect as described above.

[0028] In a fourth aspect, an electronic device is provided, including: a processor; the processor is used to be coupled with a memory, and after reading instructions in the memory, execute the method according to any one of the above first aspects according to the instructions.

[0029] In a fifth aspect, a computer-readable storage medium is provided, in which instructions are stored, and when the instructions are run on a computer, the computer can execute the method according to any one of the above first aspects.

[0030] In a sixth aspect, a computer program product including instructions is provided, and when the computer program product is run on a computer, the computer can execute the method according to any one of the above first aspects.

[0031] In a seventh aspect, a device (for example, the device can be a chip system) is provided, the device includes a processor, and is used to support the electronic device to implement the functions involved in the above first aspect. In a possible design, the device further includes a memory, and the memory is used to store necessary program instructions and data of the electronic device. When the device is a chip system, it can be composed of chips, or can include chips and other discrete devices.

[0032] Among them, for the technical effects brought by any one of the design manners in the second aspect to the seventh aspect, reference can be made to the technical effects brought by different design manners in the first aspect, which will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is an example schematic diagram of a trip reminder provided by an embodiment of the present application;

[0034] Figure 2 It is an example schematic diagram of a user's trip provided by an embodiment of the present application;

[0035] Figure 3 It is another example schematic diagram of a user's trip provided by an embodiment of the present application;

[0036] Figure 4 It is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application;

[0037] Figure 5 It is a flowchart of a trip reminder method provided by an embodiment of the present application;

[0038] Figure 6 It is an example schematic diagram of a cell identifier corresponding to a predetermined trip provided by an embodiment of the present application;

[0039] Figure 7 It is another example schematic diagram of a trip reminder provided by an embodiment of the present application;

[0040] Figure 8 Another example schematic diagram of travel reminder provided by an embodiment of this application;

[0041] Figure 9 Another example schematic diagram of travel reminder provided by an embodiment of this application;

[0042] Figure 10 Another example schematic diagram of travel reminder provided by an embodiment of this application;

[0043] Figure 11 Another example schematic diagram of travel reminder provided by an embodiment of this application;

[0044] Figure 12 Flowchart of another travel reminder method provided by an embodiment of this application;

[0045] Figure 13 Flowchart of another travel reminder method provided by an embodiment of this application;

[0046] Figure 14 Schematic diagram of the structural composition of an electronic device provided by an embodiment of this application;

[0047] Figure 15 Schematic diagram of the structure of a chip system provided by an embodiment of this application. Detailed implementation manners

[0048] In the description of the embodiments of this application, the terms used in the following embodiments are only for the purpose of describing specific embodiments and are not intended to limit this application. As used in the specification and appended claims of this application, the singular forms "a", "", "the above", "the" and "this" are also intended to include the expressions such as "one or more", unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of this application, "at least one" and "one or more" mean one or more than two (including two). The term "and / or" is used to describe the association relationship of associated objects and indicates that three relationships can exist; for example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A and B can be singular or plural. The character " / " generally means that the associated objects before and after are in an "or" relationship.

[0049] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, statements such as "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments", etc., which appear in different places in this specification, do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized. The terms "comprising", "including", "having" and their variants mean "including but not limited to", unless otherwise specifically emphasized. The term "connection" includes direct connection and indirect connection, unless otherwise stated. "First" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features.

[0050] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferred or having more advantages than other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner.

[0051] Currently, various travel applications (Apps) can provide reminder services to users. That is, after a user purchases a ticket, a station reminder service related to the travel order can be provided to the user according to the station list information of the user's travel order. Exemplarily, in one scenario, a reminder message for upcoming boarding is sent to the APP of the electronic device 2 hours before the boarding time of the user's travel order, so as to remind the user to pay attention to the boarding time and leave early to avoid missing the train. Or, a reminder of the passing station is sent to the APP of the electronic device during the journey, so as to remind the user to pay attention to the arrival time and avoid overshooting the station. For example, assume that the mobile phone 100 statistics the user's travel boarding time as 8:15. The mobile phone 100 can, 2 hours before 8:15 (6:15), through a notification message or Figure 1 the reminder information shown.

[0052] However, in some special travel scenarios, the electronic device cannot accurately obtain the user's real itinerary. For example, due to some special reasons (personal reasons), the user terminates the pre-booked itinerary before traveling, or there is a change in the itinerary during the user's travel, resulting in the electronic device being unable to timely sense the travel change of the user and unable to timely determine the accurate itinerary service of the user.

[0053] In one scenario, such as Figure 2As shown, the user has entered the station to take the train, but terminated the trip due to some factors before departure. That is, the user did not actually travel, but the electronic device still reminded the user of the subsequent unnecessary trip, causing some interference. For example, the user may need to return to the company in time due to an emergency meeting and cannot continue the scheduled trip, but the mobile phone 100 still reminds the user of the subsequent trip.

[0054] In another scenario, Figure 3 As shown in the figure, due to the tight ticket supply, the user buys more tickets for the stops beyond the actual travel itinerary or buys less tickets for the stops that do not match the actual travel itinerary, causing the user to change the itinerary during the trip, which in turn causes the electronic device to be unable to provide accurate and timely itinerary reminder services. For example, due to the tight ticket supply from A to B, the user buys a ticket from A to C, that is, the user buys more tickets from B to C, but the user actually needs to terminate the trip at B, so the electronic device cannot determine the user's riding information based on the user's actual riding situation, and cannot provide accurate and timely services to the user.

[0055] In response to the above problems, the embodiment of the present application provides a trip reminder method, which takes the boarding time of the vehicle scheduled by the user as the starting time. When the access cell of the electronic device switches, the access cell identifier after the switch can be obtained, and it is determined whether the number of cells accessed by the electronic device is greater than the preset number. If it is greater, it means that the user's mobile range has reached a certain range, and it is necessary to provide a trip reminder service to the user. Then, the target cell identifier that the electronic device has accessed is matched with the cell identifier corresponding to the scheduled trip to determine the user's movement status, that is, the user's boarding information at the current time, and the display screen of the electronic device can display reminder information related to the boarding information, so as to provide the user with a trip reminder service in a timely and accurate manner.

[0056] The trip reminder method provided in the embodiment of the present application can be applied to any electronic device with the trip reminder capability. For example, the electronic device can be a mobile phone, a tablet computer, a desktop, a laptop, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, and a cellular phone, a personal digital assistant (PDA), an augmented reality (AR)\virtual reality (VR) device, a vehicle-mounted device (such as a vehicle-mounted navigator), and other devices with positioning functions. The embodiment of the present application does not impose any special restrictions on the specific form of the electronic device.

[0057] For example, please refer to Figure 4, which shows a schematic structural diagram of an electronic device 400. The electronic device 400 may include a processor 110, an external memory interface 120, an internal memory 121, an audio module 130, a speaker 130A, a microphone 130B, a display screen 140, a communication module 150, a power module 160, an input device 170, etc.

[0058] It can be understood that the structure schematically shown in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0059] 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 processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent components or integrated in one or more processors. In some embodiments, the electronic device 100 may also include one or more processors 110.

[0060] Among them, the controller is the nerve center and command center of the electronic device 400. It can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching instructions and executing instructions.

[0061] The operating system of the electronic device 400 can run on the application processor, which is used to manage the hardware and software resources of the electronic device 400. For example, manage and configure the memory, determine the priority order of system resource supply and demand, control input and output devices, operate the network, manage the file system, manage the driver, etc. The operating system can also be used to provide an operation interface for users to interact with the system. Among them, various software can be installed in the operating system, such as drivers, applications (Apps), etc.

[0062] The NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission pattern between human brain neurons, it can quickly process input information and can also continuously learn on its own. Through the NPU, applications such as intelligent cognition of the electronic device 400 can be realized.

[0063] A memory can also be set in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can save the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0064] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an 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 SIM card interface, and / or a USB interface, etc.

[0065] It can be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only for illustrative purposes and does not constitute a structural limitation on the electronic device 400. In other embodiments of the present application, the electronic device 400 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0066] 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 electronic device 400. The external memory card communicates with the processor 110 through the external memory interface 120 to implement the data storage function. For example, files such as music and videos are saved in the external memory card.

[0067] The internal memory 121 can be used to store one or more computer programs, and the one or more computer programs include instructions. The processor 110 can execute the application running method provided in some embodiments of the present application, as well as various applications and data management, etc., by running the above instructions stored in the internal memory 121. The internal memory 121 can include a code storage area and a data storage area. Among them, the data storage area can store data created during the use of the electronic device 400, etc. In addition, the internal memory 121 can include a high-speed random access memory, and can also include a non-volatile memory, such as one or more disk storage components, flash memory components, universal flash storage (UFS), etc. In some embodiments, the processor 110 can execute the application running method provided in the embodiments of the present application, as well as other applications and data management, by running the instructions stored in the internal memory 121 and / or the instructions stored in the memory provided in the processor 110.

[0068] The electronic device 400 can implement audio functions through the audio module 130, the speaker 130A, the microphone 130B, and the application processor, etc. For example, music playback, recording, etc. The audio module 130 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 130 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 130 can be provided in the processor 110, or some functional modules of the audio module 130 can be provided in the processor 110.

[0069] The speaker 130A, also known as the "horn", is used to convert an audio electrical signal into a sound signal.

[0070] The microphone 130B, also known as the "microphone" or "microphone", is used to convert a sound signal into an electrical signal. The user can input a sound signal into the microphone 130B by speaking close to the microphone 130B with their mouth.

[0071] The communication function of the electronic device 400 can be implemented through the antenna 1, the antenna 2, and the communication module 150, etc.

[0072] The communication module 150 may provide solutions for wireless communications applied to the electronic device 400, including cellular, Wi-Fi, Bluetooth (BT), wireless data transmission modules (e.g., 433 MHz, 868 MHz, 915 MHz), etc. The communication module 150 may be one or more devices integrating at least one communication processing module. The communication module 150 receives electromagnetic waves via antenna 1 or antenna 2, filters and frequency-modulates the electromagnetic wave signals, and sends the processed signals to the processor 110. The communication module 150 may also receive the signals to be sent from the processor 110, frequency-modulate and amplify them, and convert them into electromagnetic waves through antenna 1 or antenna 2 for radiation. For example, the electronic device 400 may obtain the source database and the destination database through the communication module 150; among them, the source database is the database before data integration, and the destination database is the database after data integration. By extracting and integrating the data in the source database, the destination database is formed.

[0073] The electronic device 400 realizes the display function through the GPU, the display screen 140, and the application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 140 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change the display information.

[0074] The display screen 140 is used to display images, videos, etc. The display screen 140 includes a display panel. The display panel may adopt a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 140, where N is a positive integer greater than 1. In the embodiments of the present application, the display screen 140 may be used to display the UI and receive the user's operations on the UI. For example, the difference data between the source database and the destination database obtained by the method provided in the embodiments of the present application may be displayed on the display screen 140.

[0075] In some embodiments, a pressure sensor, a touch sensor, etc. are provided on the display screen 140. The pressure sensor is used to sense pressure signals and can convert the pressure signals into electrical signals. When a touch operation acts on the display screen 140, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor. The electronic device 400 can also calculate the position of the touch according to the detection signal of the pressure sensor. The touch sensor, also known as the "touch panel", can form a touch screen, also known as the "touch screen", with the display screen 140. The touch sensor is used to detect touch operations acting on it or nearby. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can also be provided through the display screen 140.

[0076] The power supply module 160 can be used to supply power to each component included in the electronic device 400. In some embodiments, the power supply module 160 can be a battery, such as a rechargeable battery.

[0077] The input device 170 can include a keyboard, a mouse, etc. The keyboard is used to input English letters, numbers, punctuation marks, etc. into the electronic device 400, thereby sending commands to the electronic device 400 and inputting data, etc. The mouse is an indicator for positioning the horizontal and vertical coordinates of the display system of the electronic device 400 and is used to input instructions to the electronic device 400, etc. Among them, the input device 170 can be connected to the electronic device 400 through a wired connection method. For example, the input device 170 is connected to the electronic device 400 through a GPIO interface, a USB interface, etc. The input device 170 can also be connected to the electronic device 400 wirelessly. For example, the input device 170 is connected to the electronic device 400 through Bluetooth, infrared, etc.

[0078] The methods in the following embodiments can all be implemented in the electronic device 400 with the above hardware structure. In the following embodiments, the above electronic device 400 is taken as an example of a mobile phone to illustrate the methods of the embodiments of the present application.

[0079] Next, in combination with the accompanying drawings, the travel reminder method provided by the embodiments of the present application will be introduced in detail.

[0080] The travel reminder method of the embodiments of the present application can be applied to train travel services. As Figure 5 shown, the travel reminder method can include steps S501 - S504. Among them, step S501 can also be called the "collecting cell identifier" process, and steps S502 - S504 can be called the "travel reminder" process. The following will explain steps S501 - S504 in detail.

[0081] S501. The mobile phone obtains the cell identifier corresponding to the target user's scheduled itinerary.

[0082] In embodiments related to the present application, a target user's scheduled itinerary may include: one or more user itinerary routes, each itinerary route including a departure station and an end station of the user's scheduled itinerary. The scheduled itinerary may also include: way stations located between the departure station and the end station. Different stations in the user's scheduled itinerary correspond to different cell identifiers, and one or more cell identifiers may be included between any two adjacent stations.

[0083] The cell identifier in the embodiments of the present application can be understood as the identification information of the cell. A cell, also known as a wireless communication cell, refers to the basic unit that provides wireless communication services in a region. Each cell consists of a base station (BaseStation) and the corresponding antenna.

[0084] Before the user purchases a train ticket, the cell identifiers corresponding to the scheduled itinerary are not stored in the mobile phone. After the user purchases a train ticket, the mobile phone can obtain the cell identifiers corresponding to the train ticket itinerary.

[0085] In the embodiments of the present application, the mobile phone can purchase the train ticket for the user's scheduled itinerary in response to the user's touch operation and obtain the cell identifiers corresponding to the train ticket itinerary. Exemplarily, the mobile phone can count the cell identifiers of the entire journey of the train number corresponding to the train ticket, or only count the cell identifiers between the departure station and the arrival station on the ticket surface of the train ticket (including the cell identifiers of the departure station and the arrival station).

[0086] For example, assume that the user often travels between Place A and Place C. The user purchases a ticket for Train G7225 on December 15th, departing from Place B at 8:15 and arriving at Place D at 10:16. As Figure 6 shown, the cell identifiers of the entire journey of Train G7225 include the cell identifier cell1 of the departure station Place A, cell identifier cell2, cell identifier cell3, cell identifier cell4, the cell identifier cell5 of the way station Place B (the departure station of the user's scheduled itinerary), cell identifier cell6, cell identifier cell7, cell identifier cell8, the cell identifier cell9 of the way station Place C, cell identifier cell10, cell identifier cell11, cell identifier cell12, cell identifier cell13, the cell identifier cell14 of the way station Place D (the arrival station of the user's scheduled itinerary), cell identifier cell15, cell identifier cell16, cell identifier cell17, cell identifier cell18, and the cell identifier cell19 of the terminal station Place E. After the user purchases the ticket from Place B to Place D, the user can obtain the cell identifiers of the entire journey of Train G7225 as described above, or only obtain the cell identifier cell5 of the departure station Place B to the cell identifier cell13 of the arrival station Place D of the user's scheduled itinerary.

[0087] S502. The mobile phone obtains the target cell identifier accessed between the current time and the start time in response to cell handover.

[0088] Wherein, the start time is the boarding time of the train of the target user's scheduled itinerary.

[0089] In the embodiment of the present application, the mobile phone can start monitoring cell handover from the boarding time of the train of the target user's scheduled itinerary. If the cell accessed by the mobile phone undergoes a handover, the mobile phone can store the identifier of the handover cell into the cell queue and determine whether the cell queue meets the preset conditions. If not, the mobile phone iteratively executes the foregoing steps until the cell queue meets the preset conditions, and the mobile phone determines the target cell identifier accessed. Wherein, the time when the mobile phone determines the target cell identifier accessed is the current time. It should be noted that the cell queue includes multiple target cell identifiers.

[0090] Exemplarily, the above cell queue meeting the preset conditions can specifically be any one of the following two situations.

[0091] Situation (1): The above cell queue meeting the preset conditions can include: whether the number of cell identifiers in the cell queue meets the preset number, that is, whether the number of cell identifiers accessed by the mobile phone meets the preset number. Wherein, the preset number is preset according to the situation of the scheduled itinerary or is determined by adjusting through model training. The preset of the foregoing preset number can be automatically executed by the mobile phone or manually executed by the user.

[0092] In order to accurately provide the itinerary reminder service to the user, when the number of cell identifiers in the cell queue meets the preset number, it indicates that the user's movement range has reached a relatively large range, and it is necessary to provide the itinerary reminder service to the user. In the embodiment of the present application, assuming that the preset number is 4, when the number of cell identifiers in the cell queue meets 4, the mobile phone needs to provide a reminder service to the user.

[0093] In one scenario, the mobile phone starts monitoring cell handover from the boarding time of the train of the user's scheduled itinerary, 8:15 on December 15th. As Figure 6 shown, the user starts boarding at the departure station B at 8:15 on December 15th. After a period of time, the cell accessed by the user is switched from the departure station B cell cell5 to the cell cell6. Further, the mobile phone can store the switched cell cell6 into the cell queue and determine whether the number of cell identifiers in the cell queue meets the preset number.

[0094] When the number of cell identifiers in the cell queue does not meet the preset number, the mobile phone continues to monitor cell handovers. After a period of time, the cell accessed by the user switches from cell cell6 to cell cell7. Furthermore, the mobile phone can store the switched cell cell7 in the cell queue and determine again whether the number of cell identifiers in the cell queue meets the preset number until the number of cell identifiers in the cell queue obtained by the mobile phone meets the preset number.

[0095] For example, if the number of cell identifiers in the cell queue has reached the preset number, the mobile phone can determine that the target cell identifiers to be accessed are cell cell6, cell cell7, cell cell8, and cell cell9 at midway stop C.

[0096] In another scenario, after the user enters the station and waits for the train due to some personal reasons but cancels the trip temporarily without refunding the ticket, the mobile phone has no way of knowing the user's itinerary. The mobile phone still starts to monitor cell handovers from the boarding time of the train for the user's scheduled itinerary, which is 8:15 on December 15th. After a period of time, the cell accessed by the user switches from cell cell5 at departure station B to cell cell21. Furthermore, the mobile phone can store the switched cell cell21 in the cell queue and determine whether the number of cell identifiers in the cell queue meets the preset number.

[0097] When the number of cell identifiers in the cell queue does not meet the preset number, the mobile phone continues to monitor cell handovers. After a period of time, the cell accessed by the user switches from cell cell21 to cell cell22. Furthermore, the mobile phone can store the switched cell cell22 in the cell queue and determine again whether the number of cell identifiers in the cell queue meets the preset number until the number of cell identifiers in the cell queue obtained by the mobile phone meets the preset number.

[0098] For example, if the number of cell identifiers in the cell queue has reached the preset number, the mobile phone can determine that the target cell identifiers to be accessed are cell cell21, cell cell22, cell cell23, and cell cell24.

[0099] In another scenario, since the user arrives at departure station B later than the ticket checking time at the B station of train G7225, that is, the user misses train G7225 and returns home, but the mobile phone has no way of knowing that the user did not take train G7225 and still starts to monitor cell handovers from the boarding time of the train for the user's scheduled itinerary, which is 8:15 on December 15th. The mobile phone determines the target cell identifiers to be accessed through the method in scenario (1) above.

[0100] Case (2): The above cell queue meets the preset conditions, which may include whether the number of iterations of the cell queue meets the preset number of times.

[0101] In order to accurately provide the user with a trip reminder service, when the number of iterations of the cell queue meets the preset number of times, it indicates that the user's movement range has reached a relatively large range, and it is necessary to provide the user with a trip reminder service. In the embodiments of the present application, it is assumed that the preset number of times is 3. When the number of iterations of the cell queue meets 3, the mobile phone needs to provide a reminder service to the user.

[0102] In one scenario, the mobile phone starts to monitor cell handovers from the boarding time of 8:15 on December 15th for the train of the user's scheduled trip. As Figure 6 shown, the user starts boarding at 8:15 on December 15th from the departure station B. After a period of time, the cell accessed by the user switches from the cell5 of the departure station B to the cell6. Furthermore, the mobile phone determines whether the number of iterations of the cell queue meets the preset number of times.

[0103] At this time, the number of iterations of the cell queue is 0. When the number of iterations of this cell queue does not meet the preset number of times, the mobile phone continues to monitor cell handovers. After a period of time, the cell accessed by the user switches from the cell5 to the cell6. Furthermore, the mobile phone determines again whether the number of iterations of the cell queue meets the preset number of times until the number of iterations of the cell queue meets the preset number of times.

[0104] For example, if the number of iterations of the cell queue has reached the preset number of times, then the cell identifiers in the cell queue at this time include the cell6, cell7, and cell8, and the cell9 at the midway station C. The mobile phone can determine that the target cell identifiers accessed are the cell6, cell7, and cell8, and the cell9 at the midway station C.

[0105] In another scenario, the user temporarily cancels the trip after entering the station and waiting for the train due to some personal reasons but does not handle the ticket refund. Then the mobile phone has no way of knowing the user's trip. The mobile phone still starts to monitor cell handovers from the boarding time of 8:15 on December 15th for the train of the user's scheduled trip. After a period of time, the cell accessed by the user switches from the cell5 of the departure station B to the cell21. Furthermore, the mobile phone determines whether the number of iterations of the cell queue meets the preset number of times.

[0106] At this time, the iteration count of the cell queue is 0. When the iteration count of the cell queue does not meet the preset count, the mobile phone continues to perform cell handover monitoring. After a period of time, the cell accessed by the user switches from cell cell21 to cell cel22. Furthermore, the mobile phone determines again whether the iteration count of the cell queue meets the preset count until the iteration count of the cell queue meets the preset count.

[0107] For example, the number of cell identifiers in the cell queue has reached the preset number. At this time, the cell identifiers in the cell queue include cell cell21, cell cell22, cell cell23, and cell cell24. The mobile phone can determine that the target cell identifier to be accessed is cell cell21, cell cell22, cell cell23, and cell cell24.

[0108] In another scenario, since the user arrives at the departure station B later than the ticket checking time of the B station of train G7225, that is, the user misses train G7225, the user returns home. However, the mobile phone does not know that the user has not taken train G7225 and still starts cell handover monitoring from the boarding time of 8:15 on December 15 of the train in the user's reserved itinerary. The mobile phone determines the target cell identifier to be accessed by the method in scenario (2) above.

[0109] In another scenario, since the user arrives at the departure station B later than the ticket checking time of the B station of train G7225, that is, the user misses train G7225, and the user buys a ticket for another train, the mobile phone continues to execute S501 - S502 for the ticket of the other train.

[0110] In another scenario, if the user cancels the itinerary temporarily after entering the station and waiting due to some personal reasons, has completed the ticket refund process, and has not bought a ticket for another train, the mobile phone turns off the cell handover monitoring.

[0111] S503. The mobile phone determines the travel information of the target user based on the target cell identifier and the cell identifier corresponding to the reserved itinerary.

[0112] The travel information of the target user is used to provide a travel reminder service to the target user and includes any one of the following: the information that the target user has not boarded the train; the reminder information of the intermediate stations of the target user; the information that the target user gets off at an intermediate station; the information that the target user is about to arrive; the information that the target user arrives on time; the information that the target user has passed the station.

[0113] In the embodiments of the present application, the mobile phone can determine the cell matching degree according to the target cell identifier and the cell identifier corresponding to the reserved itinerary, and determine the travel information of the target user based on the cell matching degree and the station identifier that the target user passed by most recently.

[0114] Exemplarily, the mobile phone substitutes the length of the target cell identifier and the length of the cell identifier corresponding to the predetermined itinerary into a preset algorithm to determine the length of the longest common subsequence, and determines the cell matching degree based on the length of the longest common subsequence and the length of the target cell identifier. For example, the mobile phone can substitute the length of the target cell identifier and the length of the cell identifier corresponding to the predetermined itinerary into the following formula

[0115] Formula 1 (Longest Common Subsequence Matching Algorithm LCS) to calculate the length of the longest common subsequence of the two cell identifiers.

[0116]

[0117] where i is the length of the cell identifier corresponding to the predetermined itinerary, j is the length of the target cell identifier, and c[i,j] is the length of the longest common subsequence, which can also be represented by L.

[0118] Furthermore, the mobile phone can use the ratio of the length of the longest common subsequence to the length of the target cell identifier as the cell matching degree.

[0119] For example, assuming that the matching degree threshold is 0.8, the length of the longest common subsequence of the two cell identifiers is 5, and the length of the target cell identifier is 4, the mobile phone can determine the cell matching degree to be 1.25 based on the length of the longest common subsequence and the length of the target cell identifier, and this cell matching degree is greater than the matching degree threshold.

[0120] Or, the length of the longest common subsequence of the two cell identifiers is 3, and the length of the target cell identifier is 4. The mobile phone can determine the cell matching degree to be 0.75 based on the length of the longest common subsequence and the length of the target cell identifier, and this cell matching degree is less than the matching degree threshold.

[0121] In the embodiments of the present application, the mobile phone can determine the riding information of the target user according to the above different situations of the cell matching degree and the station identifier of the last stop of the target user.

[0122] Exemplarily, the above cell matching degree can specifically be any one of the following two situations.

[0123] Situation 1: The above cell matching degree is less than the matching degree threshold.

[0124] Exemplarily, in the case where the cell matching degree is less than the matching degree threshold, the mobile phone can determine that the target user has stopped the predetermined itinerary, that is, the user is not on the journey of this train. Furthermore, the mobile phone can determine the riding information of the target user according to the station identifier of the last stop of the target user.

[0125] Among them, the identification of the station where the target user passed most recently is used to represent the station that the user passed most recently before the current time. The identification of the station where the target user passed most recently is determined by the coverage between the target cell identification and the cell identifications corresponding to the scheduled itinerary, and includes any one of the following: the identification of the passing station in the target user's scheduled itinerary; the identification of the arrival station in the target user's scheduled itinerary; the identification of the station immediately preceding the arrival station in the target user's scheduled itinerary; the station identification does not exist in the cell identifications corresponding to the scheduled itinerary, or the station identification is the departure station identification of the target user's scheduled itinerary.

[0126] Scenario (1), assume that the target cell identification is cell5 of the cell (the departure station of the user's scheduled itinerary), and the cell identifications corresponding to the scheduled itinerary are the cell identification of cell5 of the midway station B (the departure station of the user's scheduled itinerary), cell identification cell6, cell identification cell7, cell identification cell8, the cell identification of cell9 of the midway station C, cell identification cell10, cell identification cell11, cell identification cell12, cell identification cell13, and the cell identification of cell14 of the midway station D (the arrival station of the user's scheduled itinerary). The mobile phone matches the target cell identification with the cell identifications corresponding to the scheduled itinerary, and determines that the identification of the station where the target user passed most recently is the departure station identification of the target user's scheduled itinerary, that is, the target user arrives at the departure station of the scheduled itinerary, but for some reason, does not take the train of the scheduled itinerary and depart.

[0127] Scenario (2), assume cell21, cell22, cell23, and cell24 of the cell, and the cell identifications corresponding to the scheduled itinerary are the cell identification of cell5 of the midway station B (the departure station of the user's scheduled itinerary), cell identification cell6, cell identification cell7, cell identification cell8, the cell identification of cell9 of the midway station C, cell identification cell10, cell identification cell11, cell identification cell12, cell identification cell13, and the cell identification of cell14 of the midway station D (the arrival station of the user's scheduled itinerary). The mobile phone matches the target cell identification with the cell identifications corresponding to the scheduled itinerary, and determines that the target cell identification does not exist in the cell identifications corresponding to the scheduled itinerary, that is, the user does not take the train of the scheduled itinerary.

[0128] Scenario (3), assuming that the target cell identifiers are cell6, cell7, cell8, and cell9 of the intermediate station C, and the cell identifiers corresponding to the scheduled itinerary are cell5 of the intermediate station B (the departure station of the user's scheduled itinerary), cell6, cell7, cell8, cell9 of the intermediate station C, cell10, cell11, cell12, cell13, and cell14 of the intermediate station D (the arrival station of the user's scheduled itinerary). The mobile phone matches the target cell identifier with the cell identifier corresponding to the scheduled itinerary, and determines that the station identifier of the target user's most recent stop is the stop identifier of the target user's scheduled itinerary.

[0129] Since the cell matching degree is less than the preset threshold, the user is no longer on the bus of the scheduled trip. When the site identifier of the target user's most recent visit is a passing site identifier, the mobile phone can determine that the user has got off the bus in advance.

[0130] Scenario (4), assuming that the target cell identifiers are cell identifier cell11, cell identifier cell12, cell identifier cell13, and cell identifier cell14 of the intermediate station D (the destination station of the user's scheduled trip), and the cell identifiers corresponding to the scheduled trip are cell identifier cell5 of the intermediate station B (the departure station of the user's scheduled trip), cell identifier cell6, cell identifier cell7, cell identifier cell8, cell identifier cell9 of the intermediate station C, cell identifier cell10, cell identifier cell11, cell identifier cell12, cell identifier cell13, and cell identifier cell14 of the intermediate station D (the destination station of the user's scheduled trip). The mobile phone matches the target cell identifier with the cell identifier corresponding to the scheduled trip, and determines that the station identifier of the target user's most recent stop is the destination station identifier of the target user's scheduled trip.

[0131] Since the cell matching degree is less than the preset threshold, the user is no longer on the scheduled trip. When the site identifier of the target user's most recent visit is the arrival site identifier, the mobile phone can determine that the user has arrived at the terminal.

[0132] Case 2: The above cell matching degree is greater than or equal to the matching degree threshold.

[0133] For example, when the cell matching degree is greater than or equal to the matching degree threshold, the mobile phone can determine that the target user is on the scheduled trip, and then the mobile phone can determine the target user's travel information based on the station identifier of the target user's most recent visit.

[0134] Scenario (5). Assume that the target cell identifiers are cell6, cell7, cell8 of the cell, and cell9 of the cell at the midway stop C, and the cell identifiers corresponding to the scheduled itinerary are cell5 (the departure station of the user's scheduled itinerary), cell6, cell7, cell8, cell9 of the cell at the midway stop C, cell10, cell11, cell12, cell13, and cell14 of the cell at the midway stop D (the arrival station of the user's scheduled itinerary). The mobile phone matches the target cell identifiers with the cell identifiers corresponding to the scheduled itinerary, and determines that the identifier of the station where the target user last passed by is the identifier of the station before the arrival station in the user's scheduled itinerary.

[0135] Since the cell matching degree is greater than the preset threshold and the user is still on the train of the scheduled itinerary, when the identifier of the station where the target user last passed by is the identifier of the station before the arrival station in the scheduled itinerary, the mobile phone can determine that the user is about to reach the terminal station of the scheduled itinerary.

[0136] Scenario (6). Assume that the target cell identifiers are cell11, cell12, cell13, and cell14 of the cell at the midway stop D (the arrival station of the user's scheduled itinerary), and the cell identifiers corresponding to the scheduled itinerary are cell5 (the departure station of the user's scheduled itinerary), cell6, cell7, cell8, cell9 of the cell at the midway stop C, cell10, cell11, cell12, cell13, and cell14 of the cell at the midway stop D (the arrival station of the user's scheduled itinerary). The mobile phone matches the target cell identifiers with the cell identifiers corresponding to the scheduled itinerary, and determines that the identifier of the station where the target user last passed by is the arrival station identifier.

[0137] Since the cell matching degree is greater than the preset threshold and the user is still on the train of the scheduled itinerary, when the identifier of the station where the target user last passed by is the arrival station identifier, the mobile phone can determine that the user has passed the station.

[0138] Scenario (7), assuming that the target cell identifiers are cell identifiers cell10, cell identifier cell11, cell identifier cell12, and cell identifier cell13, and the cell identifiers corresponding to the scheduled itinerary are cell identifier cell5 of stop B (the departure stop of the user's scheduled itinerary), cell identifier cell6, cell identifier cell7, cell identifier cell8, cell identifier cell9 of stop C, cell identifier cell10, cell identifier cell11, cell identifier cell12, cell identifier cell13, and cell identifier cell14 of stop D (the arrival stop of the user's scheduled itinerary). The mobile phone matches the target cell identifier with the cell identifiers corresponding to the scheduled itinerary to determine the stops that the target user did not pass through last time.

[0139] Since the cell matching degree is greater than the preset threshold, the user is still on the scheduled trip. If the target user has not passed the station recently, the mobile phone can determine that the user is on the journey and can remind the next stop.

[0140] S504. The mobile phone displays reminder information related to the ride information.

[0141] Exemplarily, after the mobile phone determines the target user's travel information, it can display the above reminder information through at least one of a notification message, a notification bar, or a negative screen to provide the user with a travel reminder service.

[0142] Take the scenario (1) or scenario (2) in S503 as an example. The mobile phone can display the above reminder information on the negative first screen. For example, Figure 7 As shown in (a) of FIG. 1 , the mobile phone can display a card including a reminder message 702 on the negative first screen 701. The reminder message 702 can be "No ride".

[0143] For another example, taking the scenario (3) in S503 above as an example, the mobile phone can display the above reminder information on the negative first screen. Figure 7 As shown in (b) of FIG. 1 , the mobile phone can display a card including a reminder message 703 on the negative first screen 701. The reminder message 703 can be "got off the bus midway".

[0144] For another example, taking the scenario (4) in S503 above as an example, the mobile phone can display the above reminder information on the negative first screen. Figure 7 As shown in (c) in FIG. 1 , the mobile phone may display a card including a reminder message 704 on the negative first screen 701. The reminder message 704 may be “arrived”.

[0145] For another example, taking the scenario (5) in S503 above as an example, the mobile phone can display the above reminder information on the negative first screen. Figure 8As shown in (a) of , the mobile phone can display a card including reminder information 802 on the minus one screen 801. The reminder information 802 can be "Approaching".

[0146] For another example, taking the scenario (6) in S503 above as an example. The mobile phone can display the above reminder information on the minus one screen. For example, as Figure 8 shown in (b) of , the mobile phone can display a card including reminder information 803 on the minus one screen 801. The reminder information 803 can be "Missed the stop".

[0147] For another example, taking the scenario (7) in S503 above as an example. The mobile phone can display the above reminder information on the minus one screen. For example, as Figure 8 shown in (c) of , the mobile phone can display a card including reminder information 804 on the minus one screen 801. The reminder information 804 can be "Next stop reminder".

[0148] It should be understood that the designs of the minus one screens of mobile phones of different brands or models are different. For example, Figure 9 the minus one screen 901 shown in is different from the minus one screens of Figure 7 and Figure 8 . As shown in , the mobile phone can display cards including the above different reminder information on the minus one screen 901. Figure 9

[0149] For another example, as shown in , the mobile phone can send a reminder message through the notification message 1001. For another example, the mobile phone can display the Figure 10 notification interface 1101 shown in in response to the user's operation of opening the notification bar on the touch screen. The notification interface 1101 includes a notification bar 1102 and a travel recommendation message 1103. The travel recommendation message 1103 includes the above reminder message. Figure 11

[0150] Optionally, the mobile phone or the user can set a display duration in advance for the reminder information. For example, after the display duration, the mobile phone can automatically clear the reminder information.

[0151] The following outlines the process of another travel reminder method provided by the embodiments of the present application.

[0152] Figure 12 As shown in Figure 12 ​As shown, the mobile phone purchases a train ticket in response to a user's touch operation. After the user purchases a train ticket, the mobile phone can obtain the cell identifier corresponding to the train ticket itinerary (the cell identifier of the train number of the scheduled itinerary) from the capability center. Furthermore, the mobile phone can start monitoring cell switching from the boarding time of the train number of the target user's scheduled itinerary. If the cell to which the mobile phone is connected undergoes a switching situation, the mobile phone can store the identifier of the switched cell in the cell queue and determine whether the cell queue meets a preset condition. If not, the mobile phone iteratively executes the foregoing steps until the cell queue meets the preset condition, and the mobile phone determines the identifier of the target cell to which it is connected.

[0153] The mobile phone performs algorithm matching on the target cell identifier and the cell identifier corresponding to the scheduled itinerary to determine the travel information of the target user, and the display screen of the mobile phone can display reminder information related to the travel information.

[0154] The following outlines the process of another travel reminder method provided by the embodiments of the present application, specifically as Figure 13 shown.

[0155] The mobile phone can start monitoring cell switching from the boarding time of the train number of the target user's scheduled itinerary. When the cell to which the electronic device is connected undergoes a switching situation, it can obtain the identifier of the switched access cell and determine whether the number of cells to which the electronic device is connected is greater than a preset number. If it is greater, it indicates that the user's moving range has reached a certain range, and a travel reminder service needs to be provided to the user. Furthermore, the mobile phone determines the cell matching degree and the identifier of the station where the target user last passed through according to the target cell identifier and the cell identifier corresponding to the scheduled itinerary.

[0156] Secondly, the mobile phone can determine the travel information according to the identifier of the station where the target user last passed through under different conditions of the cell matching degree.

[0157] For example, taking the cell matching degree being less than the matching degree threshold as an example. When the station identifier does not exist in the cell identifier corresponding to the scheduled itinerary, or when the station identifier is the departure station identifier of the target user's scheduled itinerary, the mobile phone can determine that the travel information of the target user is the information of not boarding the train.

[0158] When the station identifier is the passing station identifier of the target user's scheduled itinerary, the mobile phone can determine that the travel information of the target user is the information of getting off halfway.

[0159] When the station identifier is the arrival station identifier of the target user's scheduled itinerary, the mobile phone can determine that the travel information of the target user is the information of arriving on time.

[0160] For another example, taking the community matching degree being greater than the matching degree threshold as an example. When the site identifier is the identifier of the previous site of the arrival station in the target user's scheduled itinerary, the mobile phone can determine that the riding information of the target user is the upcoming arrival information.

[0161] When the site identifier is the identifier of the arrival site of the target user's scheduled itinerary, the mobile phone can determine that the riding information of the target user is the passed station information.

[0162] When the site identifier is the identifier of the passing-by site of the target user's scheduled itinerary, the mobile phone can determine that the riding information of the target user is the reminder information for the midway site.

[0163] Some other embodiments of the present application provide a possible structural schematic diagram of an electronic device. The electronic device 1400 includes: a processing unit 1410 and a storage unit 1420.

[0164] Among them, the processing unit 1410 is used to control and manage the actions of the electronic device 1400. The storage unit 1420 is used to save the program code and data of the electronic device 1400, and the processing unit 1410 calls the program code stored in the storage unit 1420 to execute each step in the above method embodiments.

[0165] Of course, the unit modules in the above electronic device 1400 include but are not limited to the above processing unit 1410 and storage unit 1420. For example, the electronic device 1400 may further include a display unit, a communication unit, a power supply unit, etc. The display unit is used to display the user interface of the electronic device 1400. The communication unit is used for the electronic device 1400 to communicate with other electronic devices; for example, the electronic device 1400 receives trajectory information and motion information of a path from other devices through the communication unit. The power supply unit is used to supply power to the electronic device 1400.

[0166] Among them, the processing unit 1410 may be a processor or a controller. For example, it may be a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The storage unit 1420 may be a memory. The display unit may be a display screen, etc.

[0167] For example, the processing unit 1410 is a processor (such as the processor 110 shown in Figure 4 ), the storage unit 1420 can be a memory (such as the internal memory 121 shown in Figure 4 ), and the display unit can be a display screen (such as the display screen 140 shown in Figure 4 ). The electronic device 1400 provided by the embodiments of the present application can be the electronic device 400 shown in Figure 4 . Among them, the above-mentioned processor, memory, display screen, etc. can be connected together, for example, connected by a bus. The processor calls the program code stored in the memory to execute each step in the above method embodiments.

[0168] The embodiments of the present application also provide a chip system, which can be applied to the electronic device in the foregoing embodiments. As shown in Figure 15 , the chip system includes at least one processor 1501 and at least one interface circuit 1502. The processor 1501 can be the processor in the above-mentioned electronic device. The processor 1501 and the interface circuit 1502 can be interconnected by a line. The processor 1501 can receive and execute computer instructions from the memory of the above-mentioned electronic device through the interface circuit 1502. When the computer instructions are executed by the processor 1501, the electronic device can execute each step in the above embodiments. Of course, the chip system can also include other discrete devices, and the embodiments of the present application do not make specific limitations on this.

[0169] The embodiments of the present application also provide a computer-readable storage medium for storing computer instructions for running the above-mentioned electronic device (such as a mobile phone).

[0170] The embodiments of the present application also provide a computer program product, including computer instructions for running the above-mentioned electronic device (such as a mobile phone).

[0171] Through the description of the above embodiments, those skilled in the art can clearly understand that, for the convenience and conciseness of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

[0172] In several embodiments provided by the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections between each other can be through some interfaces. The indirect couplings or communication connections of devices or units can be in electrical, mechanical or other forms.

[0173] The units described as separate components may or may not be physically separated. The components displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed to multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0174] In addition, in each embodiment of the present application, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.

[0175] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to enable a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the methods of the various embodiments of the present application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read only memory (ROM), random access memory (RAM), magnetic disks or optical discs that can store program codes.

[0176] The above content is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A travel reminder method, characterized in that, Including: Upon cell handover, obtain the target cell identifier accessed by the electronic device between the current time and the start time; The start time is the boarding time of the train for the target user's scheduled trip; Based on the target cell identifier and the cell identifier corresponding to the scheduled trip, determine the riding information of the target user; Display trip reminder information related to the riding information.

2. The method according to claim 1, characterized in that, The riding information of the target user includes any one of the following: The information that the target user has not boarded the vehicle; The reminder information of the intermediate stop for the target user; The information that the target user gets off at an intermediate stop; The information that the target user is about to arrive; The information that the target user arrives on time; The information that the target user has passed the stop.

3. The method according to claim 1 or 2, characterized in that, The determining the riding information of the target user based on the target cell identifier and the cell identifier corresponding to the scheduled trip includes: Based on the target cell identifier and the cell identifier corresponding to the scheduled trip, determine the cell matching degree; the cell matching degree is the matching degree between the target cell identifier and the cell identifier corresponding to the scheduled trip; Based on the cell matching degree and the identifier of the last stop passed by the target user, determine the riding information of the target user.

4. The method according to claim 3, wherein The determining the riding information of the target user based on the cell matching degree and the identifier of the last stop passed by the target user includes: If the cell matching degree is less than the matching degree threshold, and the stop identifier does not exist in the cell identifiers corresponding to the scheduled trip, or the stop identifier is the departure stop identifier of the target user's scheduled trip, determine that the riding information of the target user is the information that the user has not boarded the vehicle.

5. The method according to claim 3, wherein The determining the riding information of the target user based on the cell matching degree and the identifier of the last stop passed by the target user includes: If the cell matching degree is less than the matching degree threshold, and the stop identifier is the intermediate stop identifier of the target user's scheduled trip, determine that the riding information of the target user is the information that the user gets off at an intermediate stop.

6. The method according to claim 3, characterized in that, The determining the riding information of the target user based on the cell matching degree and the identifier of the last stop passed by the target user includes: If the cell matching degree is less than the matching degree threshold, and the stop identifier is the arrival stop identifier of the target user's scheduled trip, determine that the riding information of the target user is the information that the user arrives on time.

7. The method according to claim 3, characterized in that, The determining the riding information of the target user based on the cell matching degree and the identifier of the last stop passed by the target user includes: If the cell matching degree is greater than or equal to the matching degree threshold, and the stop identifier is the first stop identifier, determine that the riding information of the target user is the information that the user is about to arrive; the first stop identifier is the identifier of the stop before the arrival station in the target user's scheduled trip.

8. The method according to claim 3, wherein The determining the riding information of the target user based on the cell matching degree and the identifier of the last stop passed by the target user includes: If the cell matching degree is greater than or equal to the matching degree threshold, and the stop identifier is the arrival stop identifier of the target user's scheduled trip, determine that the riding information of the target user is the information that the user has passed the stop.

9. The method according to claim 3, wherein Determining the riding information of the target user based on the cell matching degree and the identification of the station where the target user passed by most recently includes: If the cell matching degree is greater than or equal to the matching degree threshold, and when the identification of the station is the identification of the passing-by station of the target user's scheduled trip, determining the riding information of the target user as the midway station reminder information.

10. The method according to any one of claims 3-9, characterized in that The identification of the station where the target user passed by most recently is determined by the coverage degree between the target cell identification and the cell identification corresponding to the scheduled trip.

11. The method according to any one of claims 1 to 10, characterized in that, The obtaining of the target cell identification accessed by the electronic device between the current time and the start time in response to cell handover includes: In response to cell handover, obtaining the cell identification accessed by the electronic device; When the number of the cell identifications accessed by the electronic device is greater than the preset number, determining the target cell identification accessed by the electronic device between the current time and the start time.

12. An electronic device, characterized in that, Including: A processor, a display screen and a memory; One or more computer programs are stored in the memory, and the one or more computer programs include instructions, when the instructions are executed by the electronic device, enabling the electronic device to execute the method according to any one of claims 1-11.

13. A computer-readable storage medium, characterized in that, For storing the computer instructions of the trip reminder method according to any one of claims 1-11.

14. A computer program product, characterized in that, Including the computer instructions of the trip reminder method according to any one of claims 1-11.

Citation Information

Patent Citations

  • Event reminding method and device, computer equipment and storage medium

    CN114066408A

  • Travel determination method, electronic equipment and storage medium

    CN116567545A

  • Multi-service content broadcast for user controlled selective service receive

    US8447284B1

  • Arrival reminding method and related device

    WO2021136005A1

  • Method and apparatus for displaying reminding information, and electronic device and storage medium

    WO2023040967A1