Search

EP-4742128-A1 - SCHEDULE GENERATION METHOD, ELECTRONIC DEVICE AND STORAGE MEDIUM

EP4742128A1EP 4742128 A1EP4742128 A1EP 4742128A1EP-4742128-A1

Abstract

This application provides a schedule generation method, an electronic device, and a storage medium. The method includes: obtaining an input text; processing the input text based on user information of a first user to obtain a target task set, where the first user is a user who uses a first device, and the target task set includes one or more target tasks corresponding to the first user; and generating a corresponding schedule based on the target task set, to help adapt to various complex scenarios and improve user experience.

Inventors

  • REN, JIE
  • MAO, Feng
  • ZENG, Yiliang
  • WU, Tianyi
  • ZHU, YANMING
  • KANG, YU

Assignees

  • Huawei Technologies Co., Ltd.

Dates

Publication Date
20260513
Application Date
20240926

Claims (17)

  1. A schedule generation method, applied to a first device, wherein the method comprises: obtaining an input text; processing the input text based on user information of a first user to obtain a target task set, wherein the first user is a user who uses the first device, and the target task set comprises one or more target tasks corresponding to the first user; and generating a corresponding schedule based on the target task set.
  2. The method according to claim 1, wherein processing the input text based on the user information of the first user to obtain the target task set comprises: decomposing the input text to obtain an initial task set, wherein the initial task set comprises one or more initial tasks; and performing information supplementation and/or screening on the initial task set based on the user information of the first user, to obtain the target task set.
  3. The method according to claim 2, wherein performing information supplementation and/or screening on the initial task set based on the user information of the first user comprises: performing, based on information found in the user information of the first user and/or information obtained through reasoning that is based on the user information of the first user, information supplementation on an initial task with missing information in the initial task set.
  4. The method according to claim 2, wherein performing information supplementation and/or screening on the initial task set based on the user information of the first user comprises: screening out a completed task and/or a task unrelated to the first user from the initial task set.
  5. The method according to any one of claims 1 to 4, wherein the target task set comprises a plurality of target tasks, the schedule generated based on the target task set is a chain schedule, a plurality of schedules in the chain schedule are generated based on the plurality of target tasks in the target task set, the plurality of schedules in the chain schedule are arranged in chronological order of execution, and the plurality of schedules in the chain schedule are associated with each other.
  6. The method according to any one of claims 1 to 5, wherein before processing the input text based on the user information of the first user, the method further comprises: determining whether the input text comprises an intention of generating a schedule; and if the input text comprises an intention of generating a schedule, processing the input text based on the user information of the first user.
  7. The method according to any one of claims 1 to 6, wherein the user information of the first user comprises personal information of the first user and/or social relationship information of the first user.
  8. The method according to claim 7, wherein the personal information of the first user comprises at least address location information of the first user, historical behavior information of the first user, and/or historical schedule information of the first user.
  9. The method according to any one of claims 1 to 8, wherein after generating the corresponding schedule based on the target task set, the method further comprises: displaying a reminder interface in response to arrival of a reminder time of a first schedule, wherein the reminder interface is used to remind the user to execute a target task corresponding to a due schedule, the reminder interface comprises information indicating a recommendation service of the due first schedule, the information about the recommendation service of the due first schedule comprises a target application, and the target application is an application for executing the target task corresponding to the due first schedule; and jumping to a target page in response to an operation of starting, by the user, the target application on the reminder interface, wherein the target page is a page displayed when the user completes the target task corresponding to the due first schedule.
  10. The method according to claim 9, wherein after jumping to the target page, the method further comprises: automatically inputting, on the target page, target information corresponding to the recommendation service of the due first schedule, wherein the target information is task information that needs to be input to complete, on the target page, the target task corresponding to the due first schedule.
  11. The method according to claim 9, wherein before automatically inputting, on the target page, the target information corresponding to the recommendation service of the due first schedule, the method further comprises: determining whether there is information missing in the target information corresponding to the recommendation service of the due first schedule; and if determining that there is information missing in the target information corresponding to the recommendation service of the due first schedule, performing information supplementation on the target information corresponding to the recommendation service of the due first schedule.
  12. The method according to claim 11, wherein performing information supplementation on the target information corresponding to the recommendation service of the due first schedule comprises: if the due first schedule is a schedule in the chain schedule, performing, based on information about another schedule other than the due first schedule in the chain schedule, information supplementation on the target information corresponding to the recommendation service of the due first schedule, wherein the plurality of schedules in the chain schedule are generated based on the plurality of target tasks, the plurality of schedules in the chain schedule are arranged in chronological order of execution, and the plurality of schedules in the chain schedule are associated with each other.
  13. The method according to any one of claims 1 to 8, wherein after generating the corresponding schedule based on the target task set, the method further comprises: obtaining a first target schedule; and sending, by the first device, reminder information in response to a distance between a current location of the first user and a target location indicated by the first target schedule being less than or equal to a preset threshold, wherein the reminder information is used to remind the user to complete a task corresponding to the first target schedule.
  14. The method according to claim 13, wherein after sending, by the first device, the reminder information, the method further comprises: sending a schedule cancellation indication to a third device in response to a received task completion notification, wherein the task indicated by the first target schedule and a task indicated by a second target schedule are a same task, the second target schedule is a schedule in the third device, the task completion notification is used to notify that the task indicated by the first target schedule is completed, and the schedule cancellation indication indicates the third device to cancel the second target schedule.
  15. A schedule generation method, wherein the method comprises: obtaining an input text; processing the input text to obtain a target task set, wherein the target task set comprises a plurality of target tasks; and generating a chain schedule based on the target task set, wherein a plurality of schedules in the chain schedule are arranged in chronological order of execution, and the plurality of schedules in the chain schedule are associated with each other.
  16. An electronic device, comprising a processor and a memory, wherein the memory is configured to store a program; and the processor is configured to run the program to implement the schedule generation method according to any one of claims 1 to 14; or implement the schedule generation method according to claim 15.
  17. A readable storage medium, wherein the readable storage medium stores a program, and when the program is run on an electronic device, the schedule generation method according to any one of claims 1 to 16 is implemented.

Description

This application claims priority to Chinese Patent Application No. 202311630510.2, filed with the China National Intellectual Property Administration on November 30, 2023 and entitled "SCHEDULE GENERATION METHOD, ELECTRONIC DEVICE, AND STORAGE MEDIUM", which is incorporated herein by reference in its entirety. TECHNICAL FIELD This application relates to the field of information technologies, and in particular, to a schedule generation method, an electronic device, and a storage medium. BACKGROUND As the technology in electronic devices such as mobile phones advances, their functionality becomes increasingly powerful. A schedule reminder is an important function. For example, a user may generate a schedule in an electronic device. The schedule may include a task preset by the user. When the schedule is due, the electronic device may remind the user, so that the user executes the corresponding task in the schedule. However, currently, schedule generation and reminder are basic and cannot adapt to complex scenarios, leading to poor user experience. SUMMARY This application provides a schedule generation method, a schedule reminder method, an electronic device, and a storage medium, to help adapt to various complex scenarios and improve user experience. According to a first aspect, this application provides a schedule generation method, applied to a first device, and including: obtaining an input text; processing the input text based on user information of a first user to obtain a target task set, where the first user is a user who uses the first device, and the target task set includes one or more target tasks corresponding to the first user; and generating a corresponding schedule based on the target task set. In this application, a schedule corresponding to a user is generated based on different user information, that is, a schedule may be adaptively generated based on a different user. This can improve a matching degree between a schedule and a user and can improve user experience. In a possible implementation, processing the input text based on the user information of the first user to obtain the target task set includes: decomposing the input text to obtain an initial task set, where the initial task set includes one or more initial tasks; and performing information supplementation and/or screening on the initial task set based on the user information of the first user, to obtain the target task set. In this application, during generation of a schedule, information supplementation is performed on a task included in the schedule, so that a task being incomplete due to missing information can be avoided and/or a task irrelevant to a user can be screened out from tasks included in the schedule. This improves task execution efficiency and improves user experience. In a possible implementation, performing information supplementation and/or screening on the initial task set based on the user information of the first user includes: performing, based on information found in the user information of the first user and/or information obtained through reasoning that is based on the user information of the first user, information supplementation on an initial task with missing information in the initial task set. In a possible implementation, performing information supplementation and/or screening on the initial task set based on the user information of the first user includes: screening out a completed task and/or a task unrelated to the first user from the initial task set. In a possible implementation, the target task set includes a plurality of target tasks, the schedule generated based on the target task set is a chain schedule, a plurality of schedules in the chain schedule are generated based on the plurality of target tasks in the target task set, the plurality of schedules in the chain schedule are arranged in chronological order of execution, and the plurality of schedules in the chain schedule are associated with each other. In this application, during generation of a schedule, a plurality of generated schedules are associated with each other and formed into a chain schedule, so that schedule creation efficiency can be improved, and a schedule that needs to be created by a user is not missed. In a possible implementation, before processing the input text based on the user information of the first user, the method further includes: determining whether the input text includes an intention of generating a schedule; and if the input text includes an intention of generating a schedule, processing the input text based on the user information of the first user. In this application, the intention of the input text is determined, so that invalid processing on the input text can be avoided, thereby improving schedule generation efficiency. In a possible implementation, the user information of the first user includes personal information of the first user and/or social relationship information of the first user. In a