Schedule generation method and electronic equipment

By automatically generating schedule reminders based on the user's location and travel mode using electronic devices, the problem of users having to manually select reminder times is solved, thus improving the accuracy of reminder times and enhancing the user experience.

CN122072907APending Publication Date: 2026-05-22HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2024-11-22
Publication Date
2026-05-22

AI Technical Summary

Technical Problem

In existing technologies, users need to manually select the reminder time when creating a new schedule, which cannot meet the actual needs of users, resulting in inappropriate reminder times and cumbersome operation.

Method used

Electronic devices automatically generate reminder times based on the user's current location and selected mode of transportation, linking the schedule's location, start time, and mode of transportation, and dynamically adjusting the reminder time to ensure accuracy.

Benefits of technology

By automatically generating reminder times, the user experience is improved, the tedious manual setting process is avoided, and the accuracy and effectiveness of reminder times are ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122072907A_ABST
    Figure CN122072907A_ABST
Patent Text Reader

Abstract

The invention provides a schedule generation method and electronic equipment, and the method comprises the steps: responding to a first operation of a user for setting a first schedule, and obtaining a place and starting time of the first schedule; n reminding times are generated according to the place, the starting time and the first position, the N reminding times are associated with the N travel modes, and the first position comprises the current position of the user; and generating a first schedule in response to a second operation of the user. According to the method and the device, when the user sets the schedule, the electronic equipment can automatically generate the reminding time corresponding to one or more travel modes according to the current position of the user, so that the electronic equipment determines the accurate reminding time according to the latest position and the travel mode of the user on the day of the schedule; the user does not need to manually set the reminding time, so that the operation steps of the user are saved, and the problem that the user possibly does not determine the starting position and randomly and manually sets the reminding time when creating a new schedule is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic devices, and more specifically, to a method for generating schedules and electronic devices. Background Technology

[0002] Currently, users can create new schedules on their electronic devices to remind them of relevant tasks. When creating a new schedule, users can set a reminder time, which the electronic device can then use to remind them in advance. However, the reminder time needs to be manually added by the user, and it's selected from several fixed reminder time options. In practice, this doesn't meet user needs and degrades the user experience. Summary of the Invention

[0003] This application provides a method for generating schedules and an electronic device that can automatically generate reminder times without requiring user selection, thereby improving the user experience.

[0004] In a first aspect, a method for generating a schedule is provided, the method comprising: in response to a first operation of a user setting a first schedule, obtaining the location and start time of the first schedule; generating N reminder times based on the location, the start time, and a first location, wherein the N reminder times are associated with N modes of transportation, the first location includes the user's current location, and N ≥ 1 and is an integer; and in response to a second operation of the user, generating the first schedule.

[0005] In this embodiment of the application, when a user sets a schedule, the electronic device can automatically generate reminder times for one or more modes of transportation based on the user's current location, eliminating the need for the user to manually set reminder times and saving the user's operation steps.

[0006] In this embodiment, the reminder time for a schedule is associated with the mode of transportation. When a user creates a new schedule, they are essentially selecting the mode of transportation they are likely to use. The electronic device can then generate a reminder time based on the mode of transportation and the user's current location. Considering that in some scenarios (such as when the time a new schedule is created is far from the start time), users may not be certain of their departure location when creating a new schedule. Therefore, if users were allowed to set the reminder time themselves, the final reminder time might be inappropriate. Since users are likely to know their mode of transportation, the electronic device can first generate a reminder time based on the mode of transportation and the user's current location. This allows the electronic device to determine the accurate reminder time on the day of the schedule based on the user's latest location and mode of transportation, thus improving the user experience.

[0007] In conjunction with the first aspect, in some implementations of the first aspect, after generating the first schedule, the method further includes: detecting the user's location; outputting a first reminder message at a first reminder time based on the user's location, the location, and the start time, wherein the first reminder message is used to remind the user of the first schedule, the first reminder time is associated with a first mode of transportation, and the N modes of transportation include the first mode of transportation.

[0008] In this embodiment of the application, after the electronic device generates a schedule, it can determine an accurate reminder time to remind the user of the corresponding schedule based on the user's latest location, the mode of travel selected when creating the schedule, the location of the schedule, and the start time of the schedule, thus ensuring the effectiveness and accuracy of the reminder time.

[0009] The method for generating schedules provided in this application can avoid the problem that users may not be able to determine the departure location on the day of the schedule when creating some schedules and thus arbitrarily set a reminder time.

[0010] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes: outputting a second prompt message, which is used to indicate the traffic status of the first mode of transportation.

[0011] In conjunction with the first aspect, in some implementations of the first aspect, before outputting the second prompt information, the method further includes: determining that the traffic status of the first mode of transportation is congested.

[0012] In this embodiment of the application, the electronic device can also output a second prompt message to indicate the traffic status of the first mode of transportation, which can provide the user with more information and help the user decide how to get to the scheduled location.

[0013] In conjunction with the first aspect, in some implementations of the first aspect, before generating the first schedule in response to the user's second operation, the method further includes: in response to the user's third operation, retaining M of the N travel modes, where N > M ≥ 1 and M is an integer.

[0014] In conjunction with the first aspect, in some implementations of the first aspect, after generating the first schedule, the method further includes: detecting the user's location; outputting first reminder information at a first reminder time based on the user's location, the location, and the start time, wherein the first reminder information is used to remind the user of the first schedule, the first reminder time is associated with a first mode of transportation, and the M modes of transportation include the first mode of transportation; when it is determined that the traffic status of the first mode of transportation is congested, outputting third reminder information based on the user's location, the location, the start time, and a second mode of transportation, wherein the third reminder information is used to indicate the time to reach the location when using the second mode of transportation, or to indicate the time required to reach the location when using the second mode of transportation.

[0015] In this embodiment of the application, when the electronic device determines that the traffic status of the first mode of transportation is congested, it can also recommend to the user to use the second mode of transportation to go to the scheduled location, which can prevent the user from missing the schedule and help improve the user experience.

[0016] In conjunction with the first aspect, in some implementations of the first aspect, the M modes of transportation do not include the second mode of transportation.

[0017] In conjunction with the first aspect, in some implementations of the first aspect, the output of the first reminder information at the first reminder time based on the user's location, the place, and the start time includes: outputting the first reminder information at the first reminder time based on the user's location, the place, the start time, and the traffic status of the first mode of transportation.

[0018] In this embodiment, after generating a schedule, the electronic device can determine an accurate reminder time to remind the user of the corresponding schedule based on the user's latest location, the mode of transportation selected when creating the schedule, the location of the schedule, the start time of the schedule, and the traffic conditions of the mode of transportation, thus ensuring the effectiveness and accuracy of the reminder time.

[0019] In a second aspect, an electronic device is provided, comprising one or more processors; one or more memories; the one or more memories storing one or more computer programs, the one or more computer programs including instructions that, when executed by the one or more processors, cause the foregoing aspects or any possible implementation thereof to be performed.

[0020] Thirdly, a computer-readable storage medium is provided, comprising a computer program or instructions that, when executed on a computer, cause the first aspect and any possible implementation of the method of the first aspect to be performed.

[0021] Fourthly, a computer program product is provided, comprising a computer program or instructions that, when executed on a computer, cause the first aspect and any possible implementation of the method of the first aspect to be performed.

[0022] Fifthly, a computer program is provided that, when run on a computer, causes the methods described in the first aspect and any possible implementation thereof to be executed.

[0023] Sixthly, an electronic device according to an embodiment of this application includes modules / units for performing the above aspects or any possible design of the above aspects; these modules / units can be implemented in hardware or implemented by hardware executing corresponding software.

[0024] For the beneficial effects of aspects two through six, please refer to the beneficial effects of aspect one, which will not be repeated here. Attached Figure Description

[0025] Figure 1 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application.

[0026] Figure 2 This is a software structure block diagram of the electronic device provided in the embodiments of this application.

[0027] Figure 3 This is a set of GUIs provided in the embodiments of this application.

[0028] Figure 4 This is a set of GUIs provided in the embodiments of this application.

[0029] Figure 5 This is a set of GUIs provided in the embodiments of this application.

[0030] Figure 6 This is a set of GUIs provided in the embodiments of this application.

[0031] Figure 7 This is a schematic flowchart of the method for generating a schedule provided in the embodiments of this application.

[0032] Figure 8 This is a schematic flowchart of the method for generating a schedule provided in the embodiments of this application.

[0033] Figure 9 This is a schematic flowchart of the method for generating a schedule provided in the embodiments of this application.

[0034] Figure 10 This is a schematic diagram of the electronic device provided in the embodiments of this application. Detailed Implementation

[0035] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.

[0036] The terminology used in the following embodiments is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to also include 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” refer to one, two, or more than two. The term “and / or” is used to describe the relationship between related objects, indicating that three relationships may exist; for example, A and / or B can indicate: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character “ / ” generally indicates that the preceding and following related objects are in an “or” relationship.

[0037] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0038] The following describes an electronic device, a user interface for such an electronic device, and embodiments for using such an electronic device. In some embodiments, the electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and / or music player, such as a mobile phone, tablet computer, wearable electronic device with wireless communication capabilities (such as a smartwatch), etc. Exemplary embodiments of the portable electronic device include, but are not limited to, carrying... Alternatively, it could be a portable electronic device with another operating system. The aforementioned portable electronic device could also be other portable electronic devices, such as laptops. It should also be understood that in some other embodiments, the aforementioned electronic device may not be a portable electronic device, but rather a desktop computer.

[0039] For example, Figure 1A schematic diagram of the structure of electronic device 100 is shown. Electronic 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, antenna 1, 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, a headphone jack 170D, a sensor module 180, buttons 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, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity 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.

[0040] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0041] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0042] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction opcode and timing signals to complete the control of fetching and executing instructions.

[0043] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0044] In some embodiments, the processor 110 may include one or more interfaces. Interfaces 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.

[0045] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.

[0046] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.

[0047] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.

[0048] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates 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 processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 194. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.

[0049] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. 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 antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.

[0050] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling electronic device 100 to communicate with networks and other devices via 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-CDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).

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

[0052] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be 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 Mini LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.

[0053] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.

[0054] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization of image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.

[0055] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.

[0056] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when electronic device 100 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.

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

[0058] An NPU (Neural Processing Unit) is a computational processor for neural networks (NNs). By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.

[0059] The external storage 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 100. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.

[0060] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of electronic device 100 (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

[0061] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.

[0062] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110.

[0063] The speaker 170A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or make hands-free calls through the speaker 170A.

[0064] The receiver 170B, also known as the "earpiece," is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a telephone call or voice message, the receiver 170B can be brought close to the ear to listen to the voice.

[0065] Microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 170C, inputting the sound signal into microphone 170C. Electronic device 100 may have at least one microphone 170C. In some embodiments, electronic device 100 may have two microphones 170C, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, electronic device 100 may also have three, four, or more microphones 170C, which can collect sound signals, reduce noise, identify the sound source, and perform directional recording, etc.

[0066] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be disposed on display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes. Electronic device 100 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 194, electronic device 100 detects the intensity of the touch operation based on pressure sensor 180A. Electronic device 100 can also calculate the touch position based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example, when a touch operation with a touch operation intensity greater than or equal to a first pressure threshold is applied to the alarm clock application icon, a command to create a new alarm clock is executed.

[0067] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can utilize the collected fingerprint characteristics to achieve fingerprint unlocking, app access lock, fingerprint photography, fingerprint call answering, etc. For example, when the phone detects a user's touch operation on the lock screen, the phone can collect the user's fingerprint information through the fingerprint sensor 180H and match the collected fingerprint information with preset fingerprint information in the phone. If the match is successful, the phone can transition from the lock screen to the unlock screen.

[0068] Touch sensor 180K, also known as a "touch panel," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touch screen." Touch sensor 180K detects touch operations applied to or near it. 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 be provided through display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of electronic device 100, in a different position than display screen 194.

[0069] Figure 2 This is a software structure block diagram of an electronic device 100 according to an embodiment of this application. The layered architecture divides the software into several layers, each with a clear role and function. 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 libraries, and the kernel layer. The application layer may include a series of application packages.

[0070] like Figure 2 As shown, the application layer can include camera, settings, third-party applications, etc. Third-party applications can include gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, SMS, etc.

[0071] The application framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The application framework layer may include some predefined functions.

[0072] like Figure 2 As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.

[0073] The window manager is used to manage windowed applications. It can obtain the screen size, determine if a status bar is present, lock the screen, and capture screenshots. The content provider stores and retrieves data, making this data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.

[0074] The view system includes visual controls, such as controls for displaying text, controls for displaying images, and such as the indicator information for displaying the virtual shutter button in the embodiments of this application. The view system can be used to build applications. The display interface can consist of one or more views. For example, a display interface including a text message notification icon can include a view for displaying text and a view for displaying images.

[0075] The phone manager is used to provide communication functions for electronic device 100. For example, it manages call status (including connection and disconnection).

[0076] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.

[0077] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.

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

[0079] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.

[0080] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.

[0081] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.

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

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

[0084] In addition, the system library may also include status monitoring service modules, such as a physical status recognition module for analyzing and recognizing user gestures; and a sensor service module for monitoring sensor data uploaded by various sensors at the hardware layer to determine the physical status of the electronic device 100.

[0085] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.

[0086] The hardware layer can include various types of sensors, such as Figure 1 The various sensors described in the document include accelerometers, gyroscopes, touch sensors, etc., which are involved in the embodiments of this application.

[0087] It should be noted that, Figure 2 This example only illustrates one way of dividing the system framework and should not be construed as a specific limitation on the embodiments of this application. In the embodiments of this application, different frameworks can be used for different operating systems when the electronic device is equipped with different operating systems. It is understood that when different frameworks are adopted, the way the framework is divided into layers, the specific naming, and the specific layer in which each of the above modules is located can be different.

[0088] Currently, users can create new schedules on their electronic devices to remind themselves of corresponding to-do items. When creating a new schedule, users can set a reminder time, allowing the electronic device to remind them in advance. The following section will describe this in conjunction with the graphical user interface (GUI).

[0089] Figure 3 A set of GUIs provided in embodiments of this application is shown.

[0090] like Figure 3As shown in (a) of the figure, the electronic device displays interface 301, which is a new schedule interface. Users can set schedules on this interface 301. As shown, in response to the user's operation, the electronic device can display the schedule title as: "Attending a Concert," location as: Wuhan Sports Center, start time as: November 18, 2024, 18:00, and end time as: 21:00 on interface 301. This interface 301 includes an add reminder control 302. When the electronic device detects that the user clicks the add reminder control 302, in response to this operation, it can display the following... Figure 3 The GUI shown in (b) is shown in the image.

[0091] like Figure 3 As shown in (b), in response to a user clicking the add reminder control 302, the electronic device can display an interface 303, which includes multiple options such as "on time," "5 minutes ago," "10 minutes ago," and "15 minutes ago." When the electronic device detects that the user has selected the "10 minutes ago" option, in response to this action, it can display an interface such as... Figure 3 The GUI shown in (c) is shown in the image.

[0092] like Figure 3 As shown in (c), in response to the user's selection of the "10 minutes ago" option on interface 303, the electronic device can display "10 minutes ago" at the location of the "Add Reminder" control 302 on interface 301. When the electronic device detects the user's click on control 304, it can generate the schedule in response to that action. When the electronic device detects that the time is 17:50 on November 18, 2024, it can remind the user to attend the concert.

[0093] It should be noted that after a schedule is created, the reminder time is fixed. However, because users may not be certain of their departure location on the scheduled day, or the time required to reach the destination, the reminder time may be inappropriate. For example, with... Figure 3 For example, at 17:50 on November 18, 2024, a user might be far from the Wuhan Sports Center and unable to get there within 10 minutes. At this time, it would be meaningless for the user to receive a reminder from an electronic device to go to the concert.

[0094] As described above, when creating a new event, users need to manually add the reminder time, which is a cumbersome process. Furthermore, the selection from a few fixed reminder time options is too granular. Additionally, the reminder time is fixed after event creation and cannot be dynamically changed. In conclusion, the current reminder times do not meet users' actual needs. Therefore, how to quickly generate reminder times for events and how to remind users at appropriate times have become urgent technical problems to be solved.

[0095] This application provides a method for generating schedules, which can quickly generate schedule reminder times and dynamically adjust reminder times based on user location, traffic information, and other information, thereby improving the user experience. The method for generating schedules provided in this application will be described below in conjunction with the GUI.

[0096] Figure 4 A set of GUIs provided in embodiments of this application is shown.

[0097] like Figure 4 As shown in (a), the electronic device displays interface 401, which is a new schedule interface. The electronic device detects the user's input of the title "Go to Wuhan Sports Center to see a concert," and in response to this operation, it can display as shown in (a). Figure 4 The GUI shown in (b) is shown in the image.

[0098] like Figure 4 As shown in (b), in response to the user's input of the title "Go to Wuhan Sports Center to watch a concert", the electronic device can determine the location of the event as Wuhan Sports Center based on the title, and thus automatically fill in the location of the event on interface 401.

[0099] Continue to refer to Figure 4 In (b), the electronic device can also respond to the user's operation and display on interface 401 that the schedule starts at 18:00 on November 18, 2024 and ends at 21:00.

[0100] In some embodiments, the location of the title may not be included in the user-entered title, and in these embodiments, the user needs to set the location of the schedule manually.

[0101] In some embodiments, users may also choose not to set an end time for the schedule.

[0102] Continue to refer to Figure 4In (b), the electronic device determines the location of the schedule as: Wuhan Sports Center, and the start time as 18:00 on November 18, 2024. The electronic device can generate one or more reminder times based on the location of the schedule, the start time, and the current location of the user. These one or more reminder times correspond to different modes of transportation.

[0103] Electronic devices can determine the travel time from the current user's location to the scheduled location based on the scheduled location and the current user's location, and then determine the corresponding reminder time for each travel mode based on the travel time from the current user's location to the scheduled location and the start time of the schedule.

[0104] For example, the reminder time for driving is 40 minutes in advance.

[0105] For example, the reminder time for walking is 5 hours and 3 minutes ago.

[0106] For example, the reminder time for cycling is 2 hours and 5 minutes ago.

[0107] For example, the reminder time for public transportation is 1 hour and 7 minutes in advance.

[0108] In some embodiments, in addition to generating one or more reminder times based on the current user's location, the electronic device may also generate one or more reminder times based on the user's company address, the user's residential address, or other locations.

[0109] In some embodiments, the electronic device may also delete the reminder time in response to a user's action. For example... Figure 4 As shown in (b) and (c), the electronic device can delete the reminder time corresponding to the walk in response to the user's click on the control 402.

[0110] Continue to refer to Figure 4 In (c), when the electronic device detects that the user clicks on the control 403, the electronic device can generate the schedule in response to the operation.

[0111] In this embodiment of the application, when a user sets a schedule, the electronic device can automatically generate reminder times for one or more modes of transportation based on the user's current location, eliminating the need for the user to manually set reminder times and saving the user's operation steps.

[0112] In this embodiment, the reminder time for a schedule is associated with the mode of transportation. When a user creates a new schedule, they are essentially selecting the mode of transportation they are likely to use. The electronic device can then generate a reminder time based on the mode of transportation and the user's current location. Considering that in some scenarios (such as when the time a new schedule is created is far from the start time), users may not be certain of their departure location when creating a new schedule. Therefore, if users were allowed to set the reminder time themselves, the final reminder time might be inappropriate. Since users are likely to know their mode of transportation, the electronic device can first generate a reminder time based on the mode of transportation and the user's current location. This allows the electronic device to determine the accurate reminder time on the day of the schedule based on the user's latest location and mode of transportation, thus improving the user experience.

[0113] After the electronic device generates the schedule, it can detect the user's location and determine the reminder time based on the user's location, the location of the schedule, and the start time of the schedule. Then, it can remind the user of the schedule according to the reminder time.

[0114] Understandably, after an electronic device generates a schedule, the user's location may change; that is, the user's latest location may not be the location at the time the schedule was created. The electronic device can determine the time from the user's latest location to the location of the schedule and determine one or more reminder times corresponding to one or more modes of transportation based on the schedule's start time. These one or more modes of transportation may be those retained when the schedule was created.

[0115] For example, a user created a new home on November 17, 2024, such as... Figure 3 The schedule shown retains the driving reminder time when creating a new schedule. Assuming the user is at the office on November 18, 2024, the electronic device can determine from the user's latest location that the driving time to the Wuhan Sports Center is 30 minutes, and the concert starts at 18:00. Therefore, the electronic device can remind the user to drive to the Wuhan Sports Center to watch the concert at 17:30, or, to allow more time, remind the user to drive to the Wuhan Sports Center to watch the concert at 17:00. Figure 4 As shown in (d), the electronic device can display the prompt message 404.

[0116] For example, a user created a new account at home on November 17, 2024, such as... Figure 3The schedule shown retains reminder times for driving and public transportation when creating a new schedule. Assuming the user is at work on November 18, 2024, the electronic device can determine from the user's latest location that it will take 30 minutes to reach the Wuhan Sports Center by driving and 1 hour by public transportation, and the concert starts at 18:00. The electronic device can then remind the user to take public transportation to the Wuhan Sports Center at 17:00, or, to allow more time, at 16:30, remind the user to take public transportation to the Wuhan Sports Center, or at 17:30, remind the user to drive to the Wuhan Sports Center, or, to allow more time, remind the user to drive to the Wuhan Sports Center at 17:00.

[0117] In this embodiment of the application, after the electronic device generates a schedule, it can determine an accurate reminder time to remind the user of the corresponding schedule based on the user's latest location, the mode of travel selected when creating the schedule, the location of the schedule, and the start time of the schedule, thus ensuring the effectiveness and accuracy of the reminder time.

[0118] The method for generating schedules provided in this application can avoid the problem that users may not be able to determine the departure location on the day of the schedule when creating some schedules and thus arbitrarily set a reminder time.

[0119] In some embodiments, the electronic device can determine the reminder time based on the user's location, the location of the schedule, the start time of the schedule, and the traffic conditions corresponding to the mode of travel, and then remind the user of the schedule based on the reminder time.

[0120] Traffic status of a mode of transportation can indicate whether that mode is congested. Electronic devices can acquire traffic status of one or more modes of transportation to determine the time it would take for a user to travel from their latest location to a scheduled location using that mode of transportation, and determine one or more reminder times corresponding to the one or more modes of transportation based on the start time of the schedule.

[0121] For example, a user created a new home on November 17, 2024, such as... Figure 3 The system displays the schedule and retains the corresponding reminder time for driving when creating a new schedule. For example, assuming the user is at the office on November 18, 2024, if the driving route from the office to the Wuhan Sports Center is not congested, the electronic device can determine the reminder time as 30 minutes in advance based on the user's latest location and traffic conditions. If the driving route from the office to the Wuhan Sports Center is congested, the electronic device can determine the reminder time as 1 hour in advance based on the user's latest location and traffic conditions.

[0122] In this embodiment, after generating a schedule, the electronic device can determine an accurate reminder time to remind the user of the corresponding schedule based on the user's latest location, the mode of transportation selected when creating the schedule, the location of the schedule, the start time of the schedule, and the traffic conditions of the mode of transportation, thus ensuring the effectiveness and accuracy of the reminder time.

[0123] The method for generating schedules provided in this application can avoid the problem that users may not be able to determine the departure location on the day of the schedule when creating some schedules and thus arbitrarily set a reminder time.

[0124] Continue to refer to Figure 4 In (d) and (e), when the electronic device displays the prompt message 404, it detects that the user clicked on the prompt message 404. In response to the operation, it can display interface 405, which is a navigation interface for driving to Wuhan Sports Center.

[0125] Figure 5 Another set of GUIs provided in the embodiments of this application is shown.

[0126] like Figure 5 As shown in (a), the current time on the electronic device is 5:07, and the user is currently at location #1. The electronic device displays interface 501, which is the schedule interface, i.e., the interface for already created schedules. The electronic device can display the schedule information on interface 501, such as the schedule title being "Watching a Movie," and the time being November 12th, 9:30 AM - 11:50 AM. Based on the user's current location #1, the electronic device determines the reminder time corresponding to driving to be 30 minutes in advance, the reminder time corresponding to cycling to be 1 hour and 5 minutes in advance, and the reminder time corresponding to public transportation to be 47 minutes in advance. Assuming that when the time is 8:00, the user's location changes to location #2, the electronic device can determine the reminder time corresponding to the above three methods based on the user's latest location and can update the reminder time on interface 501, i.e., display as shown in the image. Figure 5 The GUI shown in (b) is shown in the image.

[0127] like Figure 5 As shown in (b), the electronic device's current time is 8:00, and the user is currently at location #2. Based on the user's current location #2, the electronic device determines that the reminder time corresponding to driving is 15 minutes ago, the reminder time corresponding to cycling is 45 minutes ago, and the reminder time corresponding to public transportation is 23 minutes ago.

[0128] Understandably, in Figure 5 In the example shown, driving, car, and public transportation are the three modes of transportation that the user retains when creating the new schedule.

[0129] In this embodiment of the application, after the electronic device generates a schedule, it can determine an accurate reminder time to remind the user of the corresponding schedule based on the user's latest location, the mode of travel selected when creating the schedule, the location of the schedule, and the start time of the schedule, thus ensuring the effectiveness and accuracy of the reminder time.

[0130] Figure 6 Another set of GUIs provided in the embodiments of this application is shown.

[0131] Electronic devices can also display traffic conditions for different modes of transportation when reminding users of schedules. For example, ... Figure 6 As shown in (a), the electronic device can prompt the user to drive to the Wuhan Sports Center to watch a concert, and can also indicate the corresponding traffic status: "Current route is clear".

[0132] For example, such as Figure 6 As shown in (b), the electronic device can prompt the user to drive to the Wuhan Sports Center to watch a concert, and can also indicate the corresponding traffic conditions: "The current route is congested."

[0133] It should be noted that, in Figure 6 In the example shown in (b), the reminder time for the electronic device to remind the user to go to the Wuhan Sports Center to watch the concert can be determined based on the user's location, the location of the Wuhan Sports Center, the start time of the concert, and the traffic conditions corresponding to driving. Therefore, even if the route is congested, the reminder time determined by the electronic device can allow the user to arrive at the Wuhan Sports Center on time or in advance.

[0134] In some embodiments, when an electronic device prompts a user to use one mode of transportation to reach a scheduled location, if the electronic device determines that the route of that mode of transportation is congested, the electronic device may also prompt the user to indicate the time required to reach the scheduled location by another mode of transportation, or to indicate the time it takes for the other mode of transportation to arrive at the scheduled location.

[0135] like Figure 6 As shown in (c), the electronic device can prompt the user to drive to the Wuhan Sports Center to attend a concert. If the electronic device determines that the driving route is congested, it can display the message: "The current driving route is congested; it is recommended to take the subway to the Wuhan Sports Center. Estimated arrival time is 17:40."

[0136] like Figure 6 As shown in (d), the electronic device can prompt the user to drive to the Wuhan Sports Center to attend a concert. If the electronic device determines that the driving route is congested, it can display the message: "The current driving route is congested; it is recommended to take the subway to the Wuhan Sports Center, estimated travel time 40 minutes."

[0137] Continue to refer to Figure 6 In (d) and (e), when the electronic device detects that the user clicks on the control 601, in response to the operation, the electronic device can display interface 602, which is a navigation interface from the user's current location to the nearest subway station.

[0138] The above section introduced the method for generating schedules provided in the embodiments of this application, using a GUI. The following section will introduce the method for generating schedules provided in the embodiments of this application, using a flowchart.

[0139] Figure 7 This illustration shows a schematic flowchart of a schedule generation method 700 provided in an embodiment of this application. The method 700 can be executed by an electronic device or by a component of the electronic device (e.g., a processor, a chip system, etc.). The following description uses an electronic device as the executing entity. Figure 7 As shown, the method 700 includes:

[0140] S701, in response to the user's first action of setting the first schedule, obtains the location and start time of the first schedule.

[0141] Electronic devices can respond to the first action set by the user during the creation of the first schedule and obtain the location and start time of the first schedule.

[0142] It is understandable that a user's first action in setting the first schedule may include multiple actions, such as setting the location of the first schedule, setting the title of the first schedule, setting the start time of the first schedule, and setting the end time of the first schedule.

[0143] In some embodiments, the electronic device detects an action by a user to set a title for a first schedule, the title of which includes a location, and in response to this action, the electronic device can obtain the location of the first schedule. The electronic device can also detect an action by a user to set a start time for the first schedule, and in response to this action, can obtain the start time of the first schedule.

[0144] For example, such as Figure 4 As shown in (a) and (b), in response to the user's input of the title "Go to Wuhan Sports Center to watch a concert," the electronic device can determine the location of the event as Wuhan Sports Center, and thus automatically fill in the location of the event on interface 401. The electronic device can also respond to the user's operation by displaying on interface 401 that the event starts at 18:00 on November 18, 2024, and ends at 21:00.

[0145] In some embodiments, the electronic device detects an action by the user to set a location for a first schedule, and in response to this action, the electronic device can obtain the location of the first schedule. The electronic device can also detect an action by the user to set a start time for the first schedule, and in response to this action, can obtain the start time of the first schedule.

[0146] S702, generate N reminder times based on location, start time, and first location. These N reminder times are associated with N travel modes. The first location includes the user's current location, and N ≥ 1 and is an integer.

[0147] After obtaining the location and start time of the first schedule, the electronic device can determine the time required to travel from the first location to the first schedule location using N modes of transportation, based on the location of the first schedule and the first location. Then, it can determine the reminder time corresponding to each of the N modes of transportation based on the start time of the first schedule.

[0148] It is understandable that the user's current location can also be understood as the current location of the electronic device.

[0149] For example, if the start time of the first schedule is 18:30, and the electronic device determines that the travel time from the user's current location to the location of the first schedule by car is 30 minutes, then the electronic device can set the reminder time to 18:00. Alternatively, to allow the user some extra time, the reminder time set by the electronic device can be earlier than 18:00, such as 17:30.

[0150] In some embodiments, the first location may also include a user-preset location, such as the user's residential location or the location of the user's company.

[0151] S703 generates the first schedule in response to the user's second action.

[0152] For example, such as Figure 4 As shown in (c), the electronic device can generate a schedule in response to the user clicking the control 403.

[0153] It should be noted that the embodiments of this application only take the example of the electronic device generating a schedule in response to the user's click on the control 403. In other embodiments, the electronic device may also generate a first schedule in response to the user's voice commands, air gestures, etc.

[0154] In this embodiment of the application, when a user sets a schedule, the electronic device can automatically generate reminder times for one or more modes of transportation based on the user's current location, eliminating the need for the user to manually set reminder times and saving the user's operation steps.

[0155] In this embodiment, the reminder time for a schedule is associated with the mode of transportation. When a user creates a new schedule, they are essentially selecting the mode of transportation they are likely to use. The electronic device can then generate a reminder time based on the mode of transportation and the user's current location. Considering that in some scenarios (such as when the time a new schedule is created is far from the start time), users may not be certain of their departure location when creating a new schedule. Therefore, if users were allowed to set the reminder time themselves, the final reminder time might be inappropriate. Since users are likely to know their mode of transportation, the electronic device can first generate a reminder time based on the mode of transportation and the user's current location. This allows the electronic device to determine the accurate reminder time on the day of the schedule based on the user's latest location and mode of transportation, thus improving the user experience.

[0156] In some embodiments, after the electronic device generates the first schedule, such as Figure 8 As shown, the method 700 further includes:

[0157] S704 detects the user's location.

[0158] S705 outputs a first reminder message at the first reminder time based on the user's location, location, and start time. The first reminder message is used to remind the first schedule, and the first reminder time is associated with the first mode of transportation. N modes of transportation include the first mode of transportation.

[0159] Detecting a user's location using electronic devices can be understood as detecting the user's latest location. After generating the first schedule, the electronic device can detect the user's latest location and, based on this location and the schedule's location, determine the estimated travel time from the user's latest location to the scheduled location using the primary mode of transportation. Then, it determines the first reminder time based on the schedule's start time. After determining the first reminder time, the electronic device can output a first notification message to remind the user of the first schedule.

[0160] Understandably, the first mode of transportation can be one of the N modes of transportation that the user reserved when setting the first schedule.

[0161] For example, such as Figure 4 As shown in (d), the electronic device can display a 404 message at 17:00 to prompt the user to go to the Wuhan Sports Center to watch the concert.

[0162] In some embodiments, the electronic device can detect the user's location on the date corresponding to the first schedule.

[0163] For example, if the date corresponding to the first schedule is November 18, 2024, then the electronic device can detect the user's latest location in real time on November 18, 2024.

[0164] In this embodiment of the application, after the electronic device generates a schedule, it can determine an accurate reminder time to remind the user of the corresponding schedule based on the user's latest location, the mode of travel selected when creating the schedule, the location of the schedule, and the start time of the schedule, thus ensuring the effectiveness and accuracy of the reminder time.

[0165] The method for generating schedules provided in this application can avoid the problem that users may not be able to determine the departure location on the day of the schedule when creating some schedules and thus arbitrarily set a reminder time.

[0166] In some embodiments, S705, outputting a first reminder message at a first reminder time based on the user's location, place, and start time includes: outputting a first reminder message at a first reminder time based on the user's location, place, start time, and traffic status of the first mode of transportation.

[0167] Electronic devices can obtain the traffic status of the primary mode of transportation to determine the time it takes for the user to travel from their latest location to the scheduled location using the primary mode of transportation, and determine the first reminder time based on the start time of the schedule.

[0168] For example, a user created a new home on November 17, 2024, such as... Figure 3 The system displays the schedule and retains the corresponding reminder time for driving when creating a new schedule. For example, assuming the user is at the office on November 18, 2024, if the driving route from the office to the Wuhan Sports Center is not congested, the electronic device can determine the reminder time as 30 minutes in advance based on the user's latest location and traffic conditions. If the driving route from the office to the Wuhan Sports Center is congested, the electronic device can determine the reminder time as 1 hour in advance based on the user's latest location and traffic conditions.

[0169] In this embodiment, after generating a schedule, the electronic device can determine an accurate reminder time to remind the user of the corresponding schedule based on the user's latest location, the mode of transportation selected when creating the schedule, the location of the schedule, the start time of the schedule, and the traffic conditions of the mode of transportation, thus ensuring the effectiveness and accuracy of the reminder time.

[0170] The method for generating schedules provided in this application can avoid the problem that users may not be able to determine the departure location on the day of the schedule when creating some schedules and thus arbitrarily set a reminder time.

[0171] In some embodiments, such as Figure 8 As shown, the method 700 further includes:

[0172] S706, output the second prompt information, which is used to prompt the traffic status of the first mode of transportation.

[0173] For example, such as Figure 6 As shown in (a), the electronic device can indicate the traffic status corresponding to driving: "Current route is clear".

[0174] like Figure 6 As shown in (b), the electronic device can indicate the traffic status corresponding to driving: "The current route is congested."

[0175] It should be noted that the execution order of S705 and S706 is not limited in the embodiments of this application. For example, the electronic device may execute S705 first and then S706, or it may execute S705 and S706 at the same time.

[0176] In this embodiment of the application, the electronic device can also output a second prompt message to indicate the traffic status of the first mode of transportation, which can provide the user with more information and help the user decide how to get to the scheduled location.

[0177] In some embodiments, such as Figure 8 As shown, before the electronic device outputs the second prompt message, the method 700 further includes:

[0178] S707 indicates that the traffic status of the primary mode of transportation is congested.

[0179] The electronic device can output a second prompt when it determines that the traffic status of the primary mode of transportation is congested. In other words, if the traffic status of the primary mode of transportation is not congested, the electronic device may not output a second prompt.

[0180] In some embodiments, such as Figure 9 As shown, before executing S703, the method 700 further includes:

[0181] S708, in response to the user's third operation, retain M of the N travel options, where N > M ≥ 1 and M is an integer.

[0182] For example, such as Figure 4 As shown in (b) and (c), the electronic device can delete the reminder time corresponding to walking in response to the user's click on control 402, thus retaining the three modes of transportation: driving, cycling and public transportation.

[0183] S709 detects the user's location.

[0184] S710 outputs a first reminder message at the first reminder time based on the user's location, location, and start time. The first reminder message is used to remind the user of the first schedule. The first reminder time is associated with the first mode of transportation. M modes of transportation include the first mode of transportation.

[0185] It should be understood that the descriptions of S709 and S710 can be found in the descriptions of S704 and S705, and for the sake of brevity, they will not be repeated here.

[0186] S711, when the traffic status of the first mode of transportation is determined to be congested, outputs third prompt information based on the user's location, start time, and second mode of transportation. The third prompt information is used to indicate the time to arrive at the destination when using the second mode of transportation, or to indicate the time required to arrive at the destination when using the second mode of transportation.

[0187] For example, such as Figure 6 As shown in (c), the electronic device can display the message: "The current driving route is congested. It is recommended to take the subway to Wuhan Sports Center. The estimated arrival time is 17:40."

[0188] For example, such as Figure 6 As shown in (d), the electronic device can display the message: "The current driving route is congested. It is recommended to take the subway to Wuhan Sports Center. The estimated travel time is 40 minutes."

[0189] In this embodiment of the application, when the electronic device determines that the traffic status of the first mode of transportation is congested, it can also recommend to the user to use the second mode of transportation to go to the scheduled location, which can prevent the user from missing the schedule and help improve the user experience.

[0190] In some embodiments, the M travel modes do not include the second travel mode. In other words, when the electronic device determines that the traffic condition of the first travel mode is congested, it can recommend travel modes that were not saved when creating a new schedule to the user.

[0191] It should be noted that the embodiments of this application only use the display of the first prompt information, the second prompt information and the third prompt information on the interface of the electronic device as an example for introduction, but the embodiments of this application are not limited to this. For example, in some other embodiments of this application, the electronic device can also output voice prompt information.

[0192] In some embodiments, the electronic device may also synchronize its schedule with other devices so that the other devices can remind the user of the schedule.

[0193] In some embodiments, the other device may prompt the user with schedules based on its own device type.

[0194] For example, electronic devices can synchronize schedules with vehicles. After the electronic devices synchronize their schedules with the vehicles, the vehicles can display the schedule on the in-vehicle display screen and determine reminder times according to the methods described above to prompt the user to drive to the scheduled location.

[0195] In some embodiments, when an electronic device synchronizes a schedule with a vehicle, it can synchronize all modes of transportation corresponding to that schedule. When the vehicle displays the schedule on its interface, it can prioritize displaying reminder times, driving routes, and other information related to driving.

[0196] In some embodiments, when an electronic device synchronizes a schedule to a vehicle, it can synchronize the driving style corresponding to that schedule.

[0197] For example, if a user sets a schedule on their phone, the phone can sync the schedule to the watch. The watch can then display the schedule's interface and determine a reminder time based on the method described above to prompt the user to go to the scheduled location.

[0198] In some embodiments, when an electronic device syncs its schedule to a watch, it can sync all modes of transportation corresponding to that schedule. When the watch displays the schedule, it can prioritize showing reminder times, routes, etc., for cycling and walking.

[0199] The method for generating a schedule provided by the embodiments of this application has been described in detail above. In the various embodiments of this application, unless otherwise specified or in case of logical conflict, the terminology and / or descriptions between the various embodiments are consistent and can be referenced by each other. Technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships.

[0200] The above primarily describes the method for generating schedules provided in the embodiments of this application from the perspective of an electronic device. It is understood that, in order to achieve the above functions, the electronic device includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, based on the algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0201] When each function is divided into different modules (or units) to correspond to its specific function, Figure 10 This illustration shows a schematic diagram of the composition of an electronic device 1000 provided in an embodiment of this application, such as... Figure 10 As shown, the electronic device 1000 includes: an acquisition module 1010 and a processing module 1020.

[0202] The acquisition module 1010 is used to acquire the location and start time of the first schedule in response to the user's first operation of setting the first schedule.

[0203] The processing module 1020 is used to generate N reminder times based on the location, start time, and first location. The N reminder times are associated with N travel modes, and the first location includes the user's current location. N ≥ 1 and is an integer.

[0204] The processing module 1020 is also used to generate a first schedule in response to a second user action.

[0205] In some embodiments, the electronic device 1000 further includes a prompting module 1030, which, after the processing module 1020 generates the first schedule, is also used by the acquisition module 1010 to detect the user's location.

[0206] The prompt module 1030 is used to output a first prompt message at the first reminder time based on the user's location, location and start time. The first prompt message is used to prompt the first schedule, and the first reminder time is associated with the first mode of transportation. The first mode of transportation is included among N modes of transportation.

[0207] In some embodiments, the prompting module 1030 is further configured to output a second prompting message, which is used to prompt the traffic status of the first mode of transportation.

[0208] In some embodiments, before the prompting module 1030 outputs the second prompt information, the processing module 1020 is further configured to determine that the traffic status of the first mode of travel is a congested state.

[0209] In some embodiments, before the processing module 1020 generates the first schedule in response to the user's second operation, the processing module 1020 is also configured to retain M of the N travel modes in response to the user's third operation, where N > M ≥ 1 and M is an integer.

[0210] In some embodiments, after the processing module 1020 generates the first schedule, the acquisition module 1010 is also used to detect the user's location.

[0211] The prompt module 1030 is used to output a first prompt message at the first reminder time based on the user's location, location and start time. The first prompt message is used to prompt the first schedule, and the first reminder time is associated with the first mode of transportation. M modes of transportation include the first mode of transportation.

[0212] The prompt module 1030 is also used to output third prompt information based on the user's location, start time, and second travel mode when the traffic status of the first travel mode is determined to be congested. The third prompt information is used to indicate the time to arrive at the destination when using the second travel mode, or to indicate the time required to arrive at the destination when using the second travel mode.

[0213] In some embodiments, the M modes of transportation do not include a second mode of transportation.

[0214] In some embodiments, the processing module 1020 is specifically configured to output a first reminder message at a first reminder time based on the user's location, start time, and traffic status of the first mode of transportation.

[0215] This application provides a computer program product that, when run on an electronic device, causes the electronic device to execute the technical solutions described in the above embodiments. Its implementation principle and technical effects are similar to those of the related embodiments described above, and will not be repeated here.

[0216] This application provides a readable storage medium containing instructions that, when executed by an electronic device, cause the electronic device to perform the technical solution described in the above embodiments. The implementation principle and technical effects are similar and will not be repeated here.

[0217] This application provides a chip for executing instructions. When the chip is running, it executes the technical solutions described in the above embodiments. Its implementation principle and technical effects are similar and will not be repeated here.

[0218] Those skilled in the art will recognize that the units and algorithm steps of the various examples 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 implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this application.

[0219] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0220] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0221] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0222] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0223] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially, or the parts that contribute to the prior art, or parts of the technical solutions, can be embodied in the form of software products. These computer software products are stored in a storage medium and include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0224] The above description is merely a specific implementation of the embodiments of this application, but the protection scope of the embodiments of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the embodiments of this application should be included within the protection scope of the embodiments of this application. Therefore, the protection scope of the embodiments of this application should be determined by the protection scope of the claims.

Claims

1. A method for generating a schedule, characterized in that, The method includes: In response to the user's first action of setting the first schedule, obtain the location and start time of the first schedule; N reminder times are generated based on the location, the start time, and the first location, wherein the N reminder times are associated with N travel modes, the first location includes the user's current location, and N ≥ 1 and is an integer; In response to the user's second action, the first schedule is generated.

2. The method according to claim 1, characterized in that, After generating the first schedule, the method further includes: Detect the user's location; Based on the user's location, the location, and the start time, a first reminder message is output at the first reminder time. The first reminder message is used to remind the user of the first schedule. The first reminder time is associated with a first mode of transportation. The N modes of transportation include the first mode of transportation.

3. The method according to claim 2, characterized in that, The method further includes: Output a second prompt message, which is used to indicate the traffic status of the first mode of transportation.

4. The method according to claim 3, characterized in that, Before outputting the second prompt message, the method further includes: The traffic status of the first mode of transportation is determined to be congested.

5. The method according to claim 1, characterized in that, Before generating the first schedule in response to the user's second action, the method further includes: In response to the user's third action, retain M of the N travel options, where N > M ≥ 1 and M is an integer.

6. The method according to claim 5, characterized in that, After generating the first schedule, the method further includes: Detect the user's location; Based on the user's location, the location, and the start time, a first reminder message is output at the first reminder time, wherein the first reminder message is used to remind the first schedule, the first reminder time is associated with a first mode of transportation, and the M modes of transportation include the first mode of transportation; When the traffic status of the first mode of transportation is determined to be congested, a third prompt message is output based on the user's location, the location, the start time, and the second mode of transportation. The third prompt message is used to indicate the time to reach the location when using the second mode of transportation, or to indicate the time required to reach the location when using the second mode of transportation.

7. The method according to claim 6, characterized in that, The M travel options do not include the second travel option.

8. The method according to any one of claims 2 to 4, 6, and 7, characterized in that, The step of outputting a first notification message at the first reminder time based on the user's location, the location, and the start time includes: The first reminder message is output at the first reminder time based on the user's location, the location, the start time, and the traffic status of the first mode of transportation.

9. An electronic device, characterized in that, It includes one or more processors; one or more memories; said one or more memories storing one or more computer programs, said one or more computer programs including instructions that, when executed by said one or more processors, cause the method of any one of claims 1 to 8 to be performed.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed on a computer, cause the method as described in any one of claims 1 to 8 to be performed.

11. A chip, characterized in that, The chip includes a processor and a communication interface, the communication interface being used to receive signals and transmit the signals to the processor, the processor processing the signals such that the method as described in any one of claims 1 to 8 is executed.

12. A computer program product, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the method as described in any one of claims 1 to 8.