Task execution method and device, electronic equipment, storage medium and program product

By obtaining the to-do task information and automatically performing sub-operations when the trigger condition is met, the cumbersome task execution problems caused by frequent input by users are solved, and the task execution efficiency is improved.

CN119311161APending Publication Date: 2025-01-14VIVO MOBILE COMM CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411403792.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-09
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

In the prior art, users need to frequently input operations to complete specific tasks, resulting in cumbersome and inefficient task execution.

Method used

By obtaining the to-do task information of the to-do task, including the to-do task trigger conditions and operations, if the trigger conditions are met, sub-operations will be automatically executed in turn on the page of the corresponding application, simplifying the user input process.

Benefits of technology

Specific operations can be automatically completed without manual input by users, improving the efficiency of task execution and simplifying the operation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119311161A_ABST
    Figure CN119311161A_ABST
Patent Text Reader

Abstract

The invention discloses a task execution method and device, electronic equipment, a storage medium and a program product, and belongs to the technical field of artificial intelligence. The method comprises the steps that to-be-handled task information of a to-be-handled task is obtained, the to-be-handled task information comprises a to-be-handled task triggering condition and a to-be-handled task operation, the to-be-handled task operation comprises N sub-operations, and N is a positive integer; under the condition that the to-be-handled task triggering condition meets a first condition, based on a first application program corresponding to the to-be-handled task, sequentially executing N sub-operations in at least one page of the first application program, wherein each page in the at least one page corresponds to at least one sub-operation in N sub-operations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of artificial intelligence technology, and specifically relates to a task execution method, device, electronic device, storage medium and program product. Background Art

[0002] Currently, when a user wants to perform a specific operation in an application, the user can click the icon of the application to make the electronic device display an interface for performing the specific operation, so that the user can perform the specific operation in the interface. For example, if the user wants to sign in in a shopping application, the user can click the icon of the shopping application to make the electronic device display the main interface; then, the user can enter the sign-in keyword in the main interface so that the electronic device can search and display the sign-in interface; finally, the user can perform the sign-in operation in the sign-in interface.

[0003] However, if the user needs to perform the above-mentioned specific operation every day, since multiple inputs are required to complete the specific operation each time the specific operation is performed, the process of performing the specific operation is cumbersome and inefficient. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a task execution method, device, electronic device, storage medium and program product, which can simplify the steps of an electronic device to perform specific operations, thereby improving the efficiency of the electronic device to perform specific operations.

[0005] In a first aspect, an embodiment of the present application provides a task execution method, which includes: obtaining to-do task information of a to-do task, the to-do task information including a to-do task trigger condition and a to-do task operation, the to-do task operation including N sub-operations, where N is a positive integer; when the to-do task trigger condition satisfies a first condition, based on a first application corresponding to the to-do task, executing the N sub-operations in sequence in at least one page of the first application; wherein each of the at least one page corresponds to at least one sub-operation of the N sub-operations.

[0006] In a second aspect, an embodiment of the present application provides a task execution device, which includes: an acquisition module and an execution module. The acquisition module is used to acquire to-do task information of a to-do task, wherein the to-do task information includes a to-do task trigger condition and a to-do task operation, wherein the to-do task operation includes N sub-operations, where N is a positive integer. The execution module is used to, when the to-do task trigger condition satisfies a first condition, execute N sub-operations in sequence in at least one page of the first application corresponding to the to-do task; wherein each of the at least one page corresponds to at least one sub-operation of the N sub-operations.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0009] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0010] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.

[0011] In an embodiment of the present application, the to-do task information of the to-do task can be obtained, and the to-do task information includes the to-do task triggering condition and the to-do task operation, and the to-do task operation includes N sub-operations, where N is a positive integer; then, when the to-do task triggering condition satisfies the first condition, the N sub-operations can be executed in sequence in at least one page of the first application program corresponding to the to-do task based on the first application program corresponding to the to-do task; wherein each page in the at least one page corresponds to at least one sub-operation of the N sub-operations. In this solution, since when the to-do task triggering condition satisfies the first condition, the N sub-operations corresponding to the to-do task can be executed in sequence directly through the application program corresponding to the to-do task; therefore, when the to-do task triggering condition satisfies the first condition, the specific operation required by the user can be automatically completed without the user input; thus, the process of the electronic device executing the specific operation is simplified, thereby improving the efficiency of the electronic device executing the specific operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 This is one of the flowcharts of a task execution method provided in an embodiment of the present application;

[0013] Figure 2 This is one of the example schematic diagrams of a task execution control provided in an embodiment of the present application;

[0014] Figure 3 This is a second example schematic diagram of a task execution control provided in an embodiment of the present application;

[0015] Figure 4This is the second flowchart of a task execution method provided in an embodiment of the present application;

[0016] Figure 5 This is the third flowchart of a task execution method provided in an embodiment of the present application;

[0017] Figure 6 This is a fourth flowchart of a task execution method provided in an embodiment of the present application;

[0018] Figure 7 This is the fifth flowchart of a task execution method provided in an embodiment of the present application;

[0019] Figure 8 This is the sixth flowchart of a task execution method provided in an embodiment of the present application;

[0020] Fig. 9 This is the seventh flowchart of a task execution method provided in an embodiment of the present application;

[0021] Fig.10 It is a structural diagram of a task execution device provided in an embodiment of the present application;

[0022] Fig.11 This is one of the hardware structure diagrams of an electronic device provided in an embodiment of the present application;

[0023] Fig.12 This is the second schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0025] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0026] The terms "at least one (item)", "at least one of" and the like in the specification and claims of the present application refer to any one, any two or a combination of more than two of the objects included therein. For example, at least one (item) of a, b, and c can be represented by: "a", "b", "c", "a and b", "a and c", "b and c" and "a, b and c", where a, b, and c can be single or multiple. Similarly, "at least two (items)" refers to two or more, and its meaning is similar to that of "at least one (item)".

[0027] The task execution method, device, electronic device, storage medium and program product provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.

[0028] The task execution method, device, electronic device, storage medium and program product provided in the embodiments of the present application can be applied to the scene of the operation of the to-do task, for example, the scene of signing in in the shopping application, the scene of searching for videos in the video application, the scene of collecting energy in the payment application, etc.

[0029] Currently, in the prior art, if a user wants to perform a sign-in task in a shopping application, the user can click the icon of the shopping application so that the electronic device can display the main interface of the shopping application; then, the user can enter the sign-in keyword in the main interface so that the electronic device can search and display the sign-in interface; finally, the user can click the sign-in control in the sign-in interface so that the electronic device can complete the sign-in task required by the user.

[0030] Alternatively, if the user wants to perform an energy collection task in the payment application, the user can click on the icon of the payment application so that the electronic device can display the main interface of the payment application; then, the user can enter the A Forest keyword in the main interface so that the electronic device can search and display the A Forest applet; then, the user can click and input the A Forest applet so that the electronic device can display the interface of the A Forest applet, and finally, the user can click on the energy logo in the interface of the A Forest applet so that the electronic device can complete the energy collection task required by the user.

[0031] Alternatively, if the user wants to perform a video search task in a video application, the user can click on the icon of the video application so that the electronic device can display the main interface of the video application; then, the user can enter movie keywords in the main interface so that the electronic device can search and display the movie interface; in this way, the electronic device can complete the video search task.

[0032] However, if the user needs to perform the above-mentioned specific operation every day, since multiple inputs are required to complete the specific operation each time the specific operation is performed, the process of performing the specific operation is cumbersome and inefficient.

[0033] In the task execution method, device, electronic device, storage medium and program product provided in the embodiments of the present application, when the trigger condition of the to-do task satisfies the first condition, the N sub-operations corresponding to the to-do task can be directly executed in sequence through the application corresponding to the to-do task; therefore, when the system time of the electronic device reaches the to-do task time, the specific operation required by the user can be automatically completed without the need for user input; in this way, the process of the electronic device executing specific operations is simplified, thereby improving the efficiency of the electronic device executing specific operations.

[0034] The execution subject of the task execution method provided in the embodiment of the present application may be a task execution device, and the task execution device may be an electronic device, or a functional module in an electronic device. The technical solution provided in the embodiment of the present application is described below using an electronic device as an example.

[0035] The present application embodiment provides a task execution method. Figure 1 FIG. 1 shows a flowchart of a task execution provided by an embodiment of the present application. Figure 1 As shown, the task execution method provided in the embodiment of the present application may include the following steps 201 and 202.

[0036] Step 201: The electronic device obtains to-do task information of a to-do task.

[0037] In an embodiment of the present application, the above-mentioned to-do task information includes a to-do task triggering condition and a to-do task operation, and the to-do task operation includes N sub-operations, where N is a positive integer.

[0038] Optionally, in an embodiment of the present application, the above-mentioned to-be-done task triggering condition may include at least one of the to-be-done task time and the to-be-done task geographical location.

[0039] It can be understood that the above-mentioned pending task time is the time when the electronic device executes the pending task, and the above-mentioned pending task geographical location is the geographical location when the electronic device executes the pending task.

[0040] For example, the time of the pending task may be 8:00 or 9:00, and the geographical location of the pending task may be a residential area, a shopping mall, a parking lot, etc. The specific location may be determined according to actual use requirements, and the embodiment of the present application does not limit this.

[0041] In the embodiment of the present application, the above-mentioned to-do task operation may be the operation required for the electronic device to execute the to-do task.

[0042] In the embodiment of the present application, the above-mentioned to-do tasks may be one or more.

[0043] Exemplarily, the to-do tasks may include at least one of the following: signing in at 8 o'clock every day in a shopping application, collecting energy at 9 o'clock every day in a payment application, searching for videos at 10 o'clock every day in a video application, etc.; the specific tasks may be determined according to actual usage requirements, and are not limited in the embodiments of the present application.

[0044] Optionally, in an embodiment of the present application, the to-do tasks may be user-defined or determined by the electronic device based on historical operation information of the user in applications of the electronic device.

[0045] Optionally, in an embodiment of the present application, a user may customize to-do tasks through voice input or text input.

[0046] In one example, a user may use a voice assistant in an electronic device to input voice for a to-do task, so that the electronic device may obtain the voice information input by the user through the voice assistant (for example, the voice "Sign in to a shopping application at 8 o'clock every day"), and then perform text conversion processing on the voice information to obtain the to-do task, that is, the content of the to-do task is "Sign in to a shopping application at 8 o'clock every day."

[0047] In one example, a user may input text for a to-do task through an input method control in a task creation interface, so that the electronic device may obtain the text information input by the user (e.g., the text “Sign in to a shopping application at 8 o'clock every day”) through the input method control. The text information is the to-do task, that is, the content of the to-do task is “Sign in to a shopping application at 8 o'clock every day.”

[0048] Optionally, in an embodiment of the present application, the above-mentioned historical operation information may include at least one operation and at least one operation number corresponding to the at least one operation, and one operation corresponds to one operation number.

[0049] Optionally, in an embodiment of the present application, the electronic device can obtain at least one operation performed by the user in the electronic device and at least one operation count corresponding to the at least one operation, one operation corresponding to one operation count; and then determine the operation corresponding to the operation count in the at least one operation count that is greater than or equal to a preset number threshold as a to-do task.

[0050] Optionally, in the embodiment of the present application, the preset quantity threshold may be preset by the electronic device or set by the user. For example, the preset quantity threshold may be 3.

[0051] Exemplarily, the electronic device obtains the user's operations in the electronic device respectively: "Sign in to the shopping application at 8 o'clock every day", "Collect energy in the payment application at 9 o'clock every day", and "Search for videos in the video application at 10 o'clock every day"; among them, the number of operations corresponding to "Sign in to the shopping application at 8 o'clock every day" is 5, the number of operations corresponding to "Collect energy in the payment application at 9 o'clock every day" is 4, and the number of operations corresponding to "Search for videos in the video application at 10 o'clock every day" is 2; then, the electronic device can respectively compare the number of operations 5, the number of operations 4, and the number of operations 2 with the preset number threshold 3, and then determine the operations corresponding to the number of operations 5 and the operations corresponding to the number of operations 4 as to-do tasks, that is, the electronic device can determine "Sign in to the shopping application at 8 o'clock every day" and "Collect energy in the payment application at 9 o'clock every day" as to-do tasks.

[0052] Optionally, in an embodiment of the present application, the electronic device may determine, as a to-do task, an operation corresponding to a largest number of operations among at least one number of operations.

[0053] Exemplarily, after the electronic device compares the above-mentioned operation number 5, operation number 4, and operation number 2 with the preset number threshold 3 respectively, since the operation number 5 is greater than the preset number threshold 3 and is the maximum value of the three operation numbers, the electronic device can determine the operation corresponding to the operation number 5 as a to-do task, that is, the electronic device can determine "sign in in the shopping application at 8 o'clock every day" as a to-do task.

[0054] Optionally, in an embodiment of the present application, the electronic device can create a to-do task control for the above-mentioned to-do task and display the to-do task control on the desktop, wherein the to-do task control includes text description information of the to-do task and the time of the to-do task, so that the user can view the to-do task through the to-do task control. In addition, the user can also delete or modify the to-do task content in the to-do task control to obtain an updated to-do task, or the user can also input into the to-do task control to add a new to-do task.

[0055] For example, Figure 2 As shown, taking the electronic device as a mobile phone as an example, the mobile phone can obtain the user's voice through a voice assistant, and then perform text conversion processing on the voice to obtain a first text "Sign in to the shopping application at 8 o'clock every day"; then, the mobile phone can extract the keywords "every day", "8 o'clock", "shopping application" and "sign in" in the first text "Sign in to the shopping application at 8 o'clock every day"; then, based on the above keywords, create a to-do task control 10, and the to-do task control 10 includes the to-do task content: "Task: Sign in to the shopping application" and "Period: 8 o'clock every day"; and display the to-do task control 10 on the desktop 11.

[0056] Optionally, in an embodiment of the present application, the electronic device can obtain the to-do task time and the to-do task according to the to-do task control.

[0057] Optionally, in an embodiment of the present application, the electronic device may input the to-do task into the operation prediction model to obtain the above N sub-operations; or, the electronic device may determine the N sub-operations through manual input by the user; or, the electronic device may obtain the above N sub-operations from a standard operating procedure (SOP) template library, that is, the SOP template library stores the to-do task operations corresponding to the to-do task in advance. The specific implementation process can be found in the following embodiments, and will not be repeated here to avoid repetition.

[0058] Step 202: When the triggering condition of the to-do task satisfies the first condition, the electronic device sequentially executes N sub-operations in at least one page of the first application corresponding to the to-do task.

[0059] In the embodiment of the present application, each page of the at least one page corresponds to at least one sub-operation of the N sub-operations.

[0060] Optionally, in an embodiment of the present application, when the above-mentioned to-do task triggering condition includes the to-do task time, the above-mentioned first condition may be satisfied: the system time of the electronic device reaches the to-do task time.

[0061] Optionally, in an embodiment of the present application, when the triggering condition of the to-do task includes the geographic location of the to-do task, satisfying the first condition may be that the positioning information of the electronic device matches the geographic location of the to-do task.

[0062] Exemplarily, the matching of the positioning information of the electronic device and the geographic location of the to-do task can be understood as: the positioning information of the electronic device is the same as the geographic location of the to-do task; or the distance between the positioning information of the electronic device and the geographic location of the to-do task is less than or equal to a preset distance threshold, such as 5 meters.

[0063] Optionally, in an embodiment of the present application, when the above-mentioned to-do task triggering conditions include the to-do task time and the to-do task geographical location, the above-mentioned first condition can be satisfied when the system time of the electronic device reaches the to-do task time and the positioning information of the electronic device matches the geographical location of the to-do task.

[0064] Optionally, in the embodiment of the present application, the first application may be any application in the electronic device. For example, the first application may be a shopping application, a payment application, a video application, a chat application, or a document application; the specific application may be determined according to actual usage, and the embodiment of the present application does not limit it.

[0065] Optionally, in the embodiment of the present application, the at least one page mentioned above may be any page of the first application.

[0066] Optionally, in an embodiment of the present application, when the above-mentioned first application is an application, at least one page of the above-mentioned first application is a page in the one application, and each page of the at least one page can perform one or more sub-operations of the above-mentioned N sub-operations.

[0067] Exemplarily, taking the first application as a shopping application, when the system time of the electronic device reaches eight o'clock, the electronic device can run the shopping application in the background, which is the first sub-operation of the above N sub-operations, and virtually display the main page of the shopping application; then, the electronic device can enter the "sign in" text in the search box in the main page, which is the second sub-operation of the above N sub-operations, and click to input the search control of the search box, which is the third sub-operation of the above N sub-operations, and then jump to the sign-in page, and click to input the sign-in control in the sign-in page, which is the fourth sub-operation of the above N sub-operations.

[0068] In the case where the first application includes multiple applications, at least one page of the first application is multiple pages, each of the multiple applications includes at least one page of the multiple pages, and each of the at least one page can perform one or more sub-operations of the N sub-operations.

[0069] Optionally, in an embodiment of the present application, the N sub-operations may include sub-operations on page elements in the at least one page. Alternatively, the N sub-operations may include sub-operations on the first application and sub-operations on page elements in the at least one page.

[0070] Optionally, in an embodiment of the present application, the above sub-operation can be any one of the following: a click sub-operation, a slide sub-operation, a long press sub-operation or a preset trajectory sub-operation, etc.; the specific operation can be determined according to actual usage requirements, and the embodiment of the present application does not limit it.

[0071] Optionally, in an embodiment of the present application, the above-mentioned page element may include at least one of a control and a logo.

[0072] Optionally, in an embodiment of the present application, the above-mentioned controls may include at least one of the following: a search control, a text input control, and a voice input control, etc.; the specific ones can be determined according to actual usage requirements, and the embodiment of the present application does not limit them.

[0073] Optionally, in an embodiment of the present application, the above-mentioned identification may include at least one of the following: a text identification, a video identification, a picture identification, and a public account identification, etc.; the specific identification can be determined according to actual usage requirements, and the embodiment of the present application does not limit it.

[0074] In an embodiment of the present application, when the triggering condition of the to-do task satisfies a first condition, the electronic device can run a first application in a virtual operating environment and execute N sub-operations in sequence in at least one page corresponding to the first application to complete the to-do task.

[0075] In the embodiment of the present application, the N sub-operations are sub-operations with an execution order. The execution order of the N sub-operations is determined by the hierarchy of the at least one page, that is, after executing a sub-operation on a page, the next page is entered, and the next sub-operation is executed on the next page, and so on, until the N sub-operations are completed.

[0076] Exemplarily, taking the to-do task of "sign in in the shopping application at 8 o'clock every day" as an example, when the system time of the electronic device reaches 8 o'clock, the electronic device can run the shopping application in the background, which is the first sub-operation of the above N sub-operations, and virtually display the main page of the shopping application; then, the electronic device can enter the "sign in" text in the search box in the main page, which is the second sub-operation of the above N sub-operations, and click to input the search control of the search box, which is the third sub-operation of the above N sub-operations, and then jump to the sign-in page, and click to input the sign-in control in the sign-in page, which is the fourth sub-operation of the above N sub-operations, to complete the above to-do task.

[0077] It should be noted that, through the above examples, it can be understood that the above N sub-operations are a process in which the electronic device simulates the user performing the to-do tasks in the electronic device, thereby eliminating the need for the user to manually perform multiple sub-operations.

[0078] Optionally, in an embodiment of the present application, a user may make a first input to a to-do task control displayed on the desktop so that the electronic device may sequentially execute N sub-operations in at least one page of the first application.

[0079] Optionally, in an embodiment of the present application, the above-mentioned first input can be any one of the following: click input, long press input, preset trajectory input or sliding input, etc.; the specific input can be determined according to actual usage requirements and is not limited by the embodiment of the present application.

[0080] Optionally, in an embodiment of the present application, the electronic device may display the number of times the electronic device executes the above-mentioned to-do task in the above-mentioned to-do task control.

[0081] For example, in combination Figure 2 ,like Figure 3 As shown, after the mobile phone completes the above N sub-operations, the mobile phone can display the number of executions of the to-do task in real time in the blank area of ​​the to-do task control 10, for example, it has automatically signed in 5 times in the shopping application.

[0082] It is understandable that after the electronic device completes the N sub-steps once, the electronic device can automatically add 1 to the number of executions and update the number of executions in the to-do task control, so that the user can view the number of executions of the to-do task according to the to-do task control.

[0083] In the task execution method provided in the embodiment of the present application, the electronic device can obtain the to-do task information of the to-do task, and the to-do task information includes the to-do task time and the to-do task operation, and the to-do task operation includes N sub-operations, where N is a positive integer; then, when the system time of the electronic device reaches the to-do task time, the N sub-operations can be executed in sequence in at least one page of the first application program corresponding to the to-do task; wherein each page of the at least one page corresponds to at least one sub-operation of the N sub-operations. In this solution, since when the system time of the electronic device reaches the to-do task time, the N sub-operations can be automatically executed in sequence in the above-mentioned first application program directly according to the N sub-operations; therefore, when the system time of the electronic device reaches the to-do task time, the specific operation required by the user can be automatically completed without the user input; thus, the process of the electronic device executing the specific operation is simplified, thereby improving the efficiency of the electronic device executing the specific operation.

[0084] Optionally, in the embodiment of the present application, combined with Figure 1 ,like Figure 4 As shown, the above step 202 can be specifically implemented through the following step 202a.

[0085] Step 202a: When the triggering condition of the to-do task satisfies the first condition and the second application is running in the foreground of the electronic device, the first application corresponding to the to-do task is run in the background, and N sub-operations are executed in sequence in at least one page of the first application, and the first operation process is displayed on the interface of the second application.

[0086] In the embodiment of the present application, the above-mentioned first operation process is used to represent the operation process of executing N sub-operations in sequence.

[0087] Optionally, in an embodiment of the present application, the second application may be any application in the electronic device except the first application; the specific application may be determined based on actual usage requirements and is not limited by the embodiment of the present application.

[0088] Optionally, in an embodiment of the present application, the electronic device may display the first operation process via a pop-up window on the interface of the second application.

[0089] For example, taking the to-do task of "sign in in the shopping application at 8 o'clock every day" as an example, when the system time of the electronic device reaches 8 o'clock, if the electronic device is running a video application in the foreground, the electronic device can run the shopping application in the background, and display the main page of the shopping application in a pop-up window on the page of the video application; then, the electronic device can enter the "sign in" text in the search box on the main page, then jump to the sign-in page, display the sign-in page in a pop-up window, and complete the sign-in task on the sign-in page.

[0090] In an embodiment of the present application, when the system time of the electronic device reaches the time of the to-do task and a second application is running in the foreground of the electronic device, the electronic device can display the first operation process in the second application through a pop-up window without running the first application in the foreground. This also allows the user to intuitively view the process of the electronic device executing the to-do task, thereby improving the flexibility of the electronic device in displaying the first operation process.

[0091] Optionally, in the embodiment of the present application, combined with Figure 1 ,like Figure 5 As shown, before the above step 201, the task execution method provided in the embodiment of the present application also includes the following steps 301 to 303.

[0092] Step 301: The electronic device obtains the to-do task content of the to-do task.

[0093] Optionally, in an embodiment of the present application, the electronic device can directly obtain the content of the to-do task through the user's voice input or text input.

[0094] Step 302: The electronic device inputs the content of the to-do task into the operation prediction model, and the operation prediction model pre-executes the to-do task based on the first application to obtain N execution information.

[0095] In the embodiment of the present application, the above-mentioned N execution information is used to characterize the process of operating the prediction model to pre-execute the to-do task.

[0096] Optionally, in an embodiment of the present application, each of the above-mentioned N execution information includes at least one operation object and an operation corresponding to the at least one operation object.

[0097] Optionally, in an embodiment of the present application, the above-mentioned operation object may include at least one of the following: an application, an application page, a control, a public account logo, a video logo, and a text logo, etc.; the specific one can be determined according to actual usage requirements, and the embodiment of the present application does not impose any restrictions.

[0098] Optionally, in an embodiment of the present application, the above-mentioned operation may include any one of the following: a click operation, a sliding operation, a long press operation or a preset trajectory operation, etc.; the specific operation can be determined according to actual usage requirements, and the embodiment of the present application does not limit it.

[0099] Optionally, in an embodiment of the present application, the above-mentioned operation prediction model can be any one of the following: a multimodal model, a neural network model, an artificial intelligence (AI) model or a large model.

[0100] Preferably, the above operation prediction model can be a multimodal model.

[0101] Optionally, in an embodiment of the present application, the above-mentioned to-do task content includes an application name and task items.

[0102] Example 1, combined with Figure 5 ,like Figure 6 As shown, the above step 302 can be specifically implemented through the following steps 302a and 302b.

[0103] Step 302a: The electronic device pre-executes a first operation using the operation prediction model to obtain the first execution information among N execution information.

[0104] In the embodiment of the present application, the above-mentioned first operation is to run the first application according to the application name.

[0105] In an embodiment of the present application, since the above-mentioned to-do task content includes the application name and task items, after the operation prediction model obtains the task items and application name, the operation prediction model can obtain the package name corresponding to the application name from the SOP template library, so that the first application can be run according to the package name.

[0106] It can be understood that the above-mentioned SOP template library stores the application names of all application programs in the electronic device and the package names corresponding to the application names.

[0107] Exemplarily, after obtaining the package name corresponding to the first application, the operation prediction model may run the first application through an open instruction to obtain the first execution information, that is, run the first application.

[0108] Step 302b: The electronic device predicts and executes the i+1th operation according to the task items and the information of the i-th operation by the operation prediction model, and obtains the i+1th execution information among N execution information, i∈(1,N), and N is an integer.

[0109] Optionally, in an embodiment of the present application, the information of the above-mentioned i-th operation includes an operation object and an operation performed on the operation object.

[0110] In an embodiment of the present application, the electronic device can input the operation object included in the information of the i-th operation and the operation performed on the operation object into an operation prediction model, and then the operation prediction model can predict the i+1-th operation based on the operation object included in the information of the i-th operation and the operation performed on the operation object.

[0111] For example, taking the to-do task of "sign in in the shopping application at 8 o'clock every day" as an example, after obtaining the to-do task, the operation prediction model in the electronic device can determine the package name of the shopping application from the SOP template library, such as com.A.app, and then run the shopping application through the open(com.A.app) instruction, that is, the first execution information mentioned above, and display the virtual home page of the shopping application; then, the operation prediction model can predict that the next step is to enter the "sign in" text in the search box in the virtual home page through the step of running the shopping application, that is, the second execution information among the N execution information, and execute the step of entering the "sign in" text in the search box to display the sign-in simulation page; finally, the operation prediction model can predict that the next step is to click and enter the sign-in control in the sign-in page through the step of entering the "sign in" text in the search box, that is, the third execution information among the above N execution information, and execute the step of clicking and entering the sign-in control in the sign-in page to obtain the above N execution information.

[0112] Optionally, in an embodiment of the present application, the electronic device may obtain at least one page element contained in the virtual page displayed above, and determine the page element required by the user from the at least one page element based on a page identifier corresponding to the at least one page element.

[0113] Optionally, in an embodiment of the present application, the above-mentioned page identification may include at least one of the following: a text identification, a digital identification, and a special symbol identification, etc.; the specific identification may be determined according to actual usage, and the embodiment of the present application does not limit it.

[0114] Optionally, in the embodiment of the present application, after obtaining each of the N execution information, the electronic device may splice each of the execution information in the order of execution to obtain the above N execution information. That is, each of the above N execution information has an execution order.

[0115] In an embodiment of the present application, the electronic device can pre-execute the to-do task through the operation prediction model, thereby obtaining N execution information, and then the electronic device can determine N sub-operations based on the N execution information. Therefore, when the trigger condition of the to-do task meets the first condition, the specific operation required by the user can be automatically completed without the user's input; in this way, the process of the electronic device executing specific operations is simplified, thereby improving the efficiency of the electronic device executing specific operations.

[0116] Optionally, in the embodiment of the present application, combined with Figure 5 ,like Figure 7 As shown, the above step 302 can be specifically implemented through the following step 302c.

[0117] Step 302c: The electronic device pre-executes the to-do task in the virtual operating system based on the first application using the operation prediction model to obtain N execution information.

[0118] In an embodiment of the present application, since pre-execution of to-do tasks in a virtual operating system will not affect the physical operating system of the electronic device and will not be displayed in the physical operating system, the electronic device can pre-execute to-do tasks in the virtual operating system without any sense to obtain N execution information.

[0119] It should be noted that the above-mentioned virtual operating system can also be called a shadow system, which is a computer software that can virtually create an identical environment on an existing operating system and run applications in the virtual environment. All activities of accessing and changing the system will be restricted to the virtual environment, that is, the virtual operating system is isolated from the physical operating system, and activities in the virtual operating system will not cause changes to the physical system.

[0120] Optionally, in the embodiment of the present application, the above-mentioned virtual operating system can be any one of the following: Prayaya v3, Hopedot VOS or Linux, etc.; the specific one can be determined according to actual usage requirements and is not limited by the embodiment of the present application.

[0121] In an embodiment of the present application, since the electronic device can pre-execute the to-do task in the virtual operating system, and then obtain N execution information according to the process of pre-executing the to-do task, and then determine N sub-operations according to the N execution information, when the trigger condition of the to-do task meets the first condition, the specific operation required by the user can be automatically completed without the user's input; in this way, the process of the electronic device executing specific operations is simplified, thereby improving the efficiency of the electronic device executing specific operations.

[0122] Step 303: The electronic device generates N operation instructions according to the N execution information.

[0123] In the embodiment of the present application, one execution information among the above-mentioned N execution information corresponds to one operation instruction among the N operation instructions, and one operation instruction among the above-mentioned N operation instructions is used to indicate one sub-operation among the N sub-operations.

[0124] In the embodiment of the present application, the electronic device may generate the first operation instruction of the N operation instructions according to the first execution information of the N execution information. The first operation instruction is used to indicate the first sub-operation of the N sub-operations; then, the electronic device may generate the i+1th operation instruction of the N operation instructions according to the i+1th execution information, and the i+1th operation instruction is used to indicate the i+1th sub-operation of the N sub-operations.

[0125] Exemplarily, taking N execution information as 4 execution information as an example, the first execution information of the 4 execution information is: open(com.A.app), the second execution information of the 4 execution information is: enter the "sign in" text in the search box on the main page of the A application, the third execution information of the 4 execution information is: click the search control, and the fourth execution information of the 4 execution information is: click the sign in control on the sign in page; the electronic device can identify the semantic information of the open(com.A.app) instruction in the first execution information to generate the first operation instruction : Run application A, that is, the first application mentioned above; then, the electronic device can identify the semantic information of the second execution information to generate the second operation instruction: determine the search box in the main page of application A, and enter the "sign in" text in the search box; then, the electronic device can identify the semantic information of the third execution information to generate the third operation instruction: determine the search control in the main page of application A, and click the search control; finally, the electronic device can identify the semantic information of the fourth execution information to generate the fourth operation instruction: identify the sign-in control in the sign-in page, and click the sign-in control.

[0126] Optionally, in an embodiment of the present application, after the electronic device obtains N operation instructions, the electronic device may store the N operation instructions in the above-mentioned SOP template library, so that, after the electronic device obtains the above-mentioned to-do task again, the electronic device may directly obtain the to-do task operation corresponding to the to-do task from the SOP template library.

[0127] In an embodiment of the present application, since one operation instruction among N operation instructions is used to indicate one sub-operation among N sub-operations, the electronic device can obtain N sub-operations according to the N operation instructions, so that when the trigger condition of the to-do task meets the first condition, the electronic device can automatically execute the to-do task according to the N sub-operations without manual triggering by the user.

[0128] Optionally, in an embodiment of the present application, when the electronic device cannot obtain the to-do task operation through the above embodiment, the electronic device may display prompt information to prompt the user to manually perform the above to-do task operation.

[0129] Exemplarily, the prompt message may be “Please manually execute the check-in task in the shopping application once.”

[0130] Optionally, in an embodiment of the present application, the electronic device can detect that the last page output by the above-mentioned operation prediction model is not the sign-in page; or the electronic device can detect that the last operation output by the above-mentioned operation prediction model does not complete the sign-in operation, thereby determining that the to-do task operation cannot be obtained through the operation prediction model.

[0131] Optionally, in the embodiment of the present application, combined with Figure 1 ,like Figure 8 As shown, before the above step 201, the task execution method provided in the embodiment of the present application also includes the following steps 401 and 402.

[0132] Step 401: The electronic device obtains N pieces of operation information.

[0133] In the embodiment of the present application, the above-mentioned N operation information are operation information of the user triggering the execution of the to-do task based on the first application, and the N operation information are used to characterize the process of the user triggering the execution of the to-do task.

[0134] Optionally, in an embodiment of the present application, each piece of operation information in the above-mentioned N operation information includes an operation object and an operation method of the operation object.

[0135] Optionally, in an embodiment of the present application, the above-mentioned operation mode can be any one of the following: a click operation, a sliding operation, a long press operation or a preset trajectory operation, etc.; the specific operation mode can be determined according to actual usage requirements, and the embodiment of the present application does not limit it.

[0136] In the embodiment of the present application, the electronic device can store the process of the user triggering the execution of the to-do task through the above-mentioned SOP template library, thereby obtaining N operation information.

[0137] Optionally, in the embodiment of the present application, combined with Figure 8 ,like Fig. 9 As shown, the above step 401 can be specifically implemented through the following steps 401a and 401b.

[0138] Step 401a: The electronic device receives the jth input from the user, where j∈[1,N], and j is an integer.

[0139] In the embodiment of the present application, the j-th input is used to trigger the electronic device to execute the to-be-done task.

[0140] Optionally, in an embodiment of the present application, the j-th input may be any one of the following: a click operation, a slide operation, a long press operation, or a preset trajectory operation, etc.; the specific operation may be determined based on actual usage requirements, and is not limited in the embodiment of the present application.

[0141] Step 401b: The electronic device obtains the jth operation information among the N operation information according to the jth input.

[0142] In the embodiment of the present application, the electronic device may store the operation object corresponding to the j-th input and the operation method for the operation object to obtain the j-th operation information among N operation information.

[0143] Exemplarily, taking the to-do task of "sign in to the shopping application at 8 o'clock every day" as an example, the user can click and input the shopping application so that the electronic device can store the first operation information "click and input the shopping application" and display the main page of the shopping application, and then the user enters the "sign in" text in the search box in the main page, so that the electronic device can store the second operation information "enter the "sign in" text in the search box in the main page"; then, the user can click the search control corresponding to the search box, so that the electronic device can store the third operation information "click the search control corresponding to the search box in the main page" and display the sign-in page; finally, the user can click and input the sign-in control in the sign-in page, so that the electronic device can store the fourth operation information "click and input the sign-in control in the sign-in page" and perform the sign-in operation, so as to obtain N operation information.

[0144] Step 402: The electronic device generates N operation instructions based on the N operation information.

[0145] In the embodiment of the present application, one operation information among the above-mentioned N operation information corresponds to one operation instruction among the N operation instructions, and one operation instruction among the above-mentioned N operation instructions is used to indicate one sub-operation among the N sub-operations.

[0146] In the embodiment of the present application, the electronic device may generate the first operation instruction of the N operation instructions according to the first operation information of the N operation information. The first operation instruction is used to indicate the first sub-operation of the N sub-operations; then, the electronic device may generate the i+1th operation instruction of the N operation instructions according to the i+1th operation information, and the i+1th operation instruction is used to indicate the i+1th sub-operation of the N sub-operations.

[0147] For example, taking N operation information as 4 operation information, the first execution information of the 4 operation information is: click to input the shopping application, the second operation information of the 4 operation information is: enter the "check-in" text in the search box on the main page of the shopping application, the third operation information of the 4 operation information is: click the search control corresponding to the search box on the main page, and the fourth operation information of the 4 operation information is: click the check-in control on the check-in page; the electronic device can identify the semantic information of the click input instruction on the shopping application in the first operation information to generate The electronic device can recognize the semantic information of the second operation information to generate the second operation instruction: determine the search box in the main page of the shopping application and enter the "check-in" text in the search box; then, the electronic device can recognize the semantic information of the third operation information to generate the third operation instruction: determine the search control in the main page of the shopping application and click the search control; finally, the electronic device can recognize the semantic information of the fourth operation information to generate the fourth operation instruction: determine the check-in control in the check-in page and click the check-in control.

[0148] In an embodiment of the present application, the electronic device can determine N operation instructions based on the manual input of the user, thereby improving the accuracy of the electronic device in determining the N operation instructions. Moreover, when the N execution information output by the operation prediction model in the electronic device is inaccurate, the electronic device can also train the operation prediction model based on the manual input of the user, thereby increasing the accuracy of the N execution information output by the operation prediction model.

[0149] Optionally, in the embodiment of the present application, the task execution method provided in the embodiment of the present application also includes the following steps 501 and 502.

[0150] Step 501: When the system time of the electronic device reaches the pending task time and before or during the execution of the pending task operation, if it is detected that the first application is running in the foreground, the electronic device suspends the execution of the pending task operation.

[0151] Optionally, in an embodiment of the present application, when the system time of the electronic device reaches the to-do task time and before executing the to-do task operation, if it is detected that the first application is running in the foreground, the electronic device can suspend the execution of all sub-operations of N sub-operations.

[0152] Optionally, in an embodiment of the present application, when the system time of the electronic device reaches the to-do task time and during the execution of the to-do task operation, if it is detected that the first application is running in the foreground, the electronic device can suspend the execution of some of the N sub-operations, which are the sub-operations that have not yet been executed.

[0153] For example, taking N sub-operations as 4 sub-operations and the to-do task as "sign in in the shopping application at 8 o'clock every day", when the system time of the electronic device reaches the to-do task time of 8:00, the electronic device can start executing the first sub-operation of the N sub-operations; if the electronic device runs the shopping application in the foreground at 8:01, if the electronic device has already executed the first two sub-operations of the 4 sub-operations, then the electronic device can suspend the execution of the last two sub-operations of the 4 sub-operations.

[0154] Step 502: If it is detected that the first application is switched from foreground operation to background operation, the electronic device continues to perform the to-do task operation.

[0155] Optionally, in an embodiment of the present application, when the system time of the electronic device reaches the to-do task time and when the execution of all sub-operations among N sub-operations is suspended, if it is detected that the first application switches from foreground operation to background operation, the electronic device can continue to execute all sub-operations among N sub-operations.

[0156] Optionally, in an embodiment of the present application, when the system time of the electronic device reaches the to-do task time and when the execution of some of the N sub-operations is suspended, if it is detected that the first application switches from foreground operation to background operation, the electronic device can continue to execute some of the N sub-operations.

[0157] Exemplarily, after the electronic device suspends execution of the last two of the four sub-operations, if it detects that the first application switches from foreground operation to background operation, the electronic device can continue to execute the last two of the four sub-operations to complete the pending tasks.

[0158] In an embodiment of the present application, the electronic device can determine the execution status of N sub-operations based on the application status of the first application, that is, whether it is running in the foreground or the background, thereby avoiding page confusion of the first application when the user needs to use the first application while the electronic device is executing N sub-operations in the background.

[0159] The above-mentioned method embodiments, or various possible implementation methods in each method embodiment, can be executed separately, or, under the premise that there is no contradiction, can also be executed in combination with each other. The specific implementation can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.

[0160] It should be noted that the task execution method provided in the embodiment of the present application can be executed by a task execution device. In the embodiment of the present application, the task execution device provided in the embodiment of the present application is described by taking the task execution method executed by the task execution device as an example.

[0161] Fig.10 A possible structural diagram of a task execution device involved in an embodiment of the present application is shown. Fig.10 As shown, the task execution device 70 may include: an acquisition module 71 and an execution module 72 .

[0162] The acquisition module 71 is used to acquire the pending task information of the pending task, and the pending task information includes the pending task triggering condition and the pending task operation, and the pending task operation includes N sub-operations, where N is a positive integer. The execution module 72 is used to, when the pending task triggering condition satisfies the first condition, sequentially execute the N sub-operations in at least one page of the first application corresponding to the pending task; wherein each page of the at least one page corresponds to at least one sub-operation of the N sub-operations.

[0163] In a possible implementation, the task execution device 70 provided in the embodiment of the present application also includes: a generation module. The above-mentioned acquisition module 71 is also used to obtain the to-do task content of the to-do task before obtaining the to-do task information of the to-do task. The above-mentioned execution model 72 is also used to input the to-do task content obtained by the acquisition module 71 into the operation prediction model, and the operation prediction model pre-executes the to-do task based on the first application to obtain N execution information, and the N execution information is used to characterize the process of the operation prediction model pre-executing the to-do task. The generation module is used to generate N operation instructions based on the N execution information obtained by the execution model 72, one execution information corresponds to one operation instruction, and one operation instruction is used to indicate one sub-operation among N sub-operations.

[0164] In a possible implementation, the to-do task content includes an application name and task items. The execution module 72 is specifically used to pre-execute the first operation by the operation prediction model to obtain the first execution information among N execution information, where the first operation is to run the first application according to the application name; and the operation prediction model predicts and executes the i+1th operation according to the task items and the information of the i-th operation to obtain the i+1th execution information among N execution information, where i∈(1,N), and N is an integer.

[0165] In a possible implementation, the execution module 72 is specifically configured to pre-execute the to-do task in the virtual operating system based on the first application program by the operation prediction model.

[0166] In a possible implementation, the task execution device 70 provided in the embodiment of the present application also includes: a generation module. The above-mentioned acquisition module 71 is also used to obtain N operation information before obtaining the to-do task information of the to-do task. The N operation information is the operation information of the user triggering the execution of the to-do task based on the first application. The N operation information is used to characterize the process of the user triggering the execution of the to-do task. The generation module is used to generate N operation instructions based on the N operation information obtained by the acquisition module 71, one operation information corresponds to one operation instruction, and one operation instruction is used to indicate one sub-operation among the N sub-operations.

[0167] In a possible implementation, the task execution device 70 provided in the embodiment of the present application further includes: a receiving module. The receiving module is used to receive the j-th input of the user. The acquisition module 71 is also used to acquire the j-th operation information among the N operation information according to the j-th input received by the receiving module, where j∈[1,N], and j is an integer.

[0168] In one possible implementation, the above-mentioned execution module 71 is also used to suspend the execution of the to-do task operation if it is detected that the first application is running in the foreground before or during the execution of the to-do task operation; and if it is detected that the first application switches from the foreground to the background, continue to execute the to-do task operation.

[0169] In a possible implementation, the task execution device 70 provided in the embodiment of the present application further includes: a display module. The above-mentioned execution module 72 is specifically used to run the first application corresponding to the to-do task in the background when the second application is running in the foreground of the electronic device, and to execute N sub-operations in sequence in at least one page of the first application. The display module is used to display the first operation flow on the interface of the second application, and the first operation flow is used to represent the operation flow of executing N sub-operations in sequence.

[0170] An embodiment of the present application provides a task execution device. When the trigger condition of the to-do task meets the first condition, N sub-operations can be automatically executed in sequence in the above-mentioned first application program according to the N sub-operations. Therefore, when the trigger condition of the to-do task meets the first condition, the specific operation required by the user can be automatically completed without the user's input. In this way, the process of the electronic device executing specific operations is simplified, thereby improving the efficiency of the electronic device executing specific operations.

[0171] The task execution device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0172] The task execution device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0173] The task execution device provided in the embodiment of the present application can implement each process implemented in the above embodiment. To avoid repetition, it will not be repeated here.

[0174] Alternatively, if Fig.11 As shown, an embodiment of the present application also provides an electronic device 90, including a processor 91 and a memory 92, wherein the memory 92 stores programs or instructions that can be executed on the processor 91, and when the program or instructions are executed by the processor 91, the various steps of the above-mentioned task execution method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.

[0175] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0176] Fig.12 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0177] The electronic device 100 includes but is not limited to components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.

[0178] Those skilled in the art will appreciate that the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.12 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0179] Among them, the processor 110 is used to obtain to-do task information of the to-do task, the to-do task information includes the to-do task trigger condition and the to-do task operation, the to-do task operation includes N sub-operations, N is a positive integer; and when the system time of the electronic device reaches the to-do task time, based on the first application corresponding to the to-do task, in at least one page of the first application, the N sub-operations are executed in sequence; wherein each page of the at least one page corresponds to at least one sub-operation of the N sub-operations.

[0180] Optionally, in an embodiment of the present application, the processor 110 is further used to obtain the to-do task content of the to-do task before obtaining the to-do task information of the to-do task; and input the to-do task content into the operation prediction model, and the operation prediction model pre-executes the to-do task based on the first application to obtain N execution information, and the N execution information is used to characterize the process of the operation prediction model pre-executing the to-do task; and generate N operation instructions based on the N execution information, one execution information corresponds to one operation instruction, and one operation instruction is used to indicate one sub-operation among the N sub-operations.

[0181] Optionally, in an embodiment of the present application, the to-do task content includes an application name and task items; the processor 110 is specifically used to pre-execute a first operation by an operation prediction model to obtain a first execution information among N execution information, where the first operation is to run a first application program according to the application name; and the operation prediction model predicts and executes the i+1th operation based on the task items and information of the i-th operation to obtain the i+1th execution information among N execution information, where i∈(1,N), and N is an integer.

[0182] Optionally, in an embodiment of the present application, the processor 110 is specifically configured to pre-execute to-do tasks in the virtual operating system based on the first application program by an operation prediction model.

[0183] Optionally, in an embodiment of the present application, the processor 110 is further used to obtain N operation information before obtaining the to-do task information of the to-do task, where the N operation information is operation information triggered by the user to execute the to-do task based on the first application, and the N operation information is used to characterize the process of the user triggering the execution of the to-do task; and based on the N operation information, N operation instructions are generated, where one operation information corresponds to one operation instruction, and one operation instruction is used to indicate one sub-operation among the N sub-operations.

[0184] Optionally, in the embodiment of the present application, the user input unit 107 receives the jth input of the user. The processor 110 is specifically configured to obtain the jth operation information among N operation information according to the jth input, where j∈[1,N], and j is an integer.

[0185] Optionally, in an embodiment of the present application, the above-mentioned processor 110 is also used to suspend the execution of the to-do task operation before or during the execution of the to-do task operation if it is detected that the first application is running in the foreground; if it is detected that the first application switches from the foreground to the background, then continue to execute the to-do task operation.

[0186] Optionally, in an embodiment of the present application, the processor 110 is specifically configured to run a first application corresponding to the to-do task in the background when the second application is running in the foreground of the electronic device, and to sequentially execute N sub-operations in at least one page of the first application. The display unit 106 is configured to display a first operation flow on the interface of the second application, where the first operation flow is used to represent an operation flow for sequentially executing N sub-operations.

[0187] An embodiment of the present application provides an electronic device, which can automatically execute N sub-operations in sequence in the above-mentioned first application program directly according to the N sub-operations when the triggering condition of the to-do task meets the first condition; therefore, when the triggering condition of the to-do task meets the first condition, the specific operation required by the user can be automatically completed without the user's input; in this way, the process of the electronic device executing specific operations is simplified, thereby improving the efficiency of the electronic device executing specific operations.

[0188] The electronic device provided in the embodiment of the present application can implement each process implemented in the above method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described here.

[0189] The beneficial effects of various implementations in this embodiment can be specifically referred to the beneficial effects of the corresponding implementations in the above method embodiment. To avoid repetition, they will not be described again here.

[0190] It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0191] The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0192] The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.

[0193] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0194] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0195] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0196] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0197] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned task execution method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0198] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0199] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0200] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A task execution method, characterized in that: The method comprises: Acquire to-do task information of the to-do task, wherein the to-do task information includes a to-do task triggering condition and a to-do task operation, wherein the to-do task operation includes N sub-operations, where N is a positive integer; When the trigger condition of the to-do task satisfies a first condition, based on a first application corresponding to the to-do task, in at least one page of the first application, sequentially executing the N sub-operations; Each page in the at least one page corresponds to at least one sub-operation in the N sub-operations.

2. The method according to claim 1, characterized in that Before obtaining the to-do task information of the to-do task, the method further includes: Obtaining the to-do task content of the to-do task; Inputting the to-do task content into an operation prediction model, and having the operation prediction model pre-execute the to-do task based on the first application to obtain N execution information, wherein the N execution information is used to characterize the process of the operation prediction model pre-executing the to-do task; N operation instructions are generated according to the N execution information, one execution information corresponds to one operation instruction, and one operation instruction is used to indicate one sub-operation among the N sub-operations.

3. The method according to claim 2, characterized in that The to-do tasks include application names and task items; The operation prediction model pre-executes the to-do task based on the first application to obtain N pieces of execution information, including: Pre-executing a first operation by the operation prediction model to obtain first execution information among the N execution information, wherein the first operation is to run the first application program according to the application name; The operation prediction model predicts and executes the i+1th operation according to the task item and the information of the i-th operation, and obtains the i+1th execution information among the N execution information, i∈(1,N), and N is an integer.

4. The method according to claim 2 or 3, characterized in that: The pre-executing the to-do task based on the first application by the operation prediction model includes: The operation prediction model pre-executes the to-do task in the virtual operating system based on the first application.

5. The method according to claim 1, characterized in that: Before obtaining the to-do task information of the to-do task, the method further includes: Acquire N pieces of operation information, where the N pieces of operation information are operation information of a user triggering execution of the to-do task based on the first application, and the N pieces of operation information are used to characterize a process in which the user triggers execution of the to-do task; Based on the N pieces of operation information, N operation instructions are generated, one piece of operation information corresponds to one operation instruction, and one operation instruction is used to indicate one sub-operation among the N sub-operations.

6. The method according to claim 5, characterized in that The obtaining of N pieces of operation information includes: Receive the jth input from the user; According to the j-th input, obtain the j-th operation information among the N operation information, j∈[1,N], and j is an integer.

7. The method according to claim 1, characterized in that The method further comprises: Before executing the pending task operation or during the execution of the pending task operation, if it is detected that the first application is running in the foreground, suspending the execution of the pending task operation; If it is detected that the first application is switched from foreground operation to background operation, the to-do task operation continues to be executed.

8. The method according to claim 1, characterized in that: The first application corresponding to the to-do task, sequentially executing the N sub-operations in at least one page of the first application, includes: When a second application is running in the foreground of the electronic device, a first application corresponding to the to-do task is running in the background, and the N sub-operations are executed in sequence in at least one page of the first application, and a first operation flow is displayed on the interface of the second application, wherein the first operation flow is used to represent the operation flow of executing the N sub-operations in sequence.

9. A task execution device, characterized in that: The task execution device comprises: an acquisition module and an execution module; The acquisition module is used to acquire to-do task information of the to-do task, wherein the to-do task information includes a to-do task triggering condition and a to-do task operation, and the to-do task operation includes N sub-operations, where N is a positive integer; The execution module is configured to, when the trigger condition of the to-be-done task satisfies a first condition, sequentially execute the N sub-operations in at least one page of a first application corresponding to the to-be-done task based on the first application; Each page in the at least one page corresponds to at least one sub-operation in the N sub-operations.

10. The device according to claim 9, characterized in that The task execution device further includes: a generation module; The acquisition module is further used to acquire the to-do task content of the to-do task before acquiring the to-do task information of the to-do task; The execution model is further used to input the to-do task content acquired by the acquisition module into an operation prediction model, and the operation prediction model pre-executes the to-do task based on the first application to obtain N execution information, and the N execution information is used to characterize the process of the operation prediction model pre-executing the to-do task; The generating module is used to generate N operation instructions according to the N execution information obtained from the execution model, where one execution information corresponds to one operation instruction, and one operation instruction is used to indicate one sub-operation among the N sub-operations.

11. The device according to claim 10, characterized in that The to-do tasks include application names and task items; The execution module is specifically configured to pre-execute a first operation by the operation prediction model to obtain the first execution information among the N execution information, wherein the first operation is to run the first application program according to the application name; The operation prediction model predicts and executes the i+1th operation according to the task items and the information of the i-th operation, and obtains the i+1th execution information among the N execution information, i∈(1,N), and N is an integer.

12. The device according to claim 10 or 11, characterized in that The execution module is specifically used to pre-execute the to-do task in the virtual operating system based on the first application program by the operation prediction model.

13. The device according to claim 9, characterized in that The task execution device further includes: a generation module; The acquisition module is further used to acquire N operation information before acquiring the to-do task information of the to-do task, wherein the N operation information is the operation information of the user triggering the execution of the to-do task based on the first application, and the N operation information is used to represent the process of the user triggering the execution of the to-do task; The generating module is used to generate N operation instructions based on the N operation information acquired by the acquiring module, where one operation information corresponds to one operation instruction, and one operation instruction is used to indicate one sub-operation among the N sub-operations.

14. The device according to claim 13, characterized in that The task execution device further includes: a receiving module; The receiving module is used to receive the jth input from the user; The acquisition module is further used to acquire the j-th operation information among the N operation information according to the j-th input received by the receiving module, where j∈[1,N], and j is an integer.

15. The device according to claim 9, characterized in that The execution module is further configured to suspend the execution of the to-do task operation if it is detected that the first application is running in the foreground before or during the execution of the to-do task operation; If it is detected that the first application is switched from foreground operation to background operation, the to-do task operation continues to be executed.

16. The device according to claim 9, characterized in that The task execution device further includes: a display module; The execution module is specifically configured to run the first application corresponding to the to-do task in the background when the second application is running in the foreground of the electronic device, and to sequentially execute the N sub-operations in at least one page of the first application; The display module is used to display a first operation flow on the interface of the second application program, where the first operation flow is used to represent the operation flow of sequentially executing the N sub-operations.

17. An electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the task execution method as claimed in any one of claims 1 to 8.

18. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by the processor, the steps of the task execution method according to any one of claims 1 to 8 are implemented.

19. A computer program product, wherein the computer program product is stored in a storage medium, and when the computer program product is executed by at least one processor, the task execution method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Method and device for controlling sign-in of application program and storage medium

    CN110457082A

  • Sign-in method, device and system, storage medium and electronic equipment

    CN113852653A

  • Dynamic sign-in method, dynamic sign-in device, electronic equipment and storage medium

    CN117238051A

  • Dynamically modifying digital content distribution campaigns based on triggering conditions and actions

    US20190130436A1

  • Multi-task deep learning of time record events

    US20220215347A1