Task processing method, device, electronic device and storage medium
By receiving operation instructions and obtaining simulation trigger results, and displaying them to users to determine the suitability of the operation instructions, the problem of users having difficulty in determining whether task fields meet business execution rules is solved, and the accuracy and efficiency of task editing are improved.
Patent Information
- Application Number
- CN202111452451.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-30
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2041-11-30
AI Technical Summary
When users create or modify tasks, it is difficult to determine which fields will meet the business execution trigger rules, resulting in low efficiency in editing task fields.
By receiving an operation instruction, obtaining a simulation trigger result, and displaying the simulation trigger result to indicate whether the operation instruction is executed, the user is helped to determine the suitability of the operation instruction.
Improves the accuracy and efficiency of task editing, preventing fields that do not need to be triggered from being mistakenly edited as trigger fields.
Smart Images

Figure CN114139951B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a task processing method, device, electronic device, and storage medium. Background Art
[0002] With the development of computer technology, triggers have become widely used. Triggers can automatically execute related tasks when data meets certain business execution trigger rules. For example, a trigger can monitor the priority field of a task based on a pre-configured business execution trigger rule: "When a task's priority is set to the highest priority, change the task's responsible person to Xiao Wang." When the task's priority field is changed to the highest priority, the responsible person is automatically changed to Xiao Wang, thus reducing user repetitive work.
[0003] However, in actual applications, since the business execution trigger rules are uniformly configured in the background, and users need to edit many fields when creating or modifying tasks, users are not clear about which fields to edit will satisfy which business execution trigger rules when creating or modifying tasks, making editing task fields inefficient. Summary of the Invention
[0004] The present disclosure provides a task processing method, device, electronic device, and storage medium to at least solve the problem of low efficiency in editing task fields in related technologies. The technical solutions of the present disclosure are as follows:
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a task processing method, comprising:
[0006] receiving an operation instruction for a target task, wherein the operation instruction carries corresponding feature data;
[0007] When the characteristic data satisfies the service triggering condition corresponding to the target task, a simulation triggering result is obtained, where the simulation triggering result is a triggering result obtained by simulating the execution of the service corresponding to the service triggering condition;
[0008] The simulation trigger result is displayed, and the simulation trigger result is used to indicate whether to execute the operation instruction for the target task.
[0009] In one embodiment, when the characteristic data meets the business trigger condition corresponding to the target task, a simulation trigger result is obtained, including: when the characteristic data meets the business trigger condition corresponding to the target task, determining the business that meets the business trigger condition; obtaining the trigger result obtained by simulating the execution of the business corresponding to the business trigger condition, and obtaining a simulation trigger result for the business.
[0010] In one embodiment, when the characteristic data meets the business trigger condition corresponding to the target task, obtaining a simulation trigger result includes: sending an operation instruction for the target task to the server, the operation instruction is used to instruct the server to determine the business that meets the business trigger condition and simulate the execution of the business to obtain the corresponding simulation trigger result; receiving the simulation trigger result returned by the server.
[0011] In one embodiment, after displaying the simulation trigger result, the method further comprises: in response to a confirmation instruction of the simulation trigger result, displaying the target task updated according to the operation instruction.
[0012] In one embodiment, after responding to the confirmation instruction of the simulation trigger result, the method further includes: sending the confirmation instruction to the server, wherein the confirmation instruction is used to instruct the server to update the target task according to the operation instruction, save the updated target task, and execute the business corresponding to the business trigger condition according to the updated target task.
[0013] In one embodiment, after displaying the simulation trigger result, the method further comprises: displaying the target task in response to a denial operation of the simulation trigger result.
[0014] In one embodiment, before obtaining the operation instruction for the target task, the method further includes: receiving configuration information of a service corresponding to the target task, the configuration information of the service including a configured service trigger condition and a corresponding trigger result.
[0015] In one embodiment, after receiving the operation instruction for the target task, the method further includes: querying the business trigger condition that matches the feature data from the configuration information of the business; when the business trigger condition that matches the feature data is queried, it is determined that the feature data meets the business trigger condition corresponding to the target task.
[0016] According to a second aspect of an embodiment of the present disclosure, there is provided a task processing device, including:
[0017] An operation instruction acquisition module is configured to execute and acquire an operation instruction for a target task, wherein the operation instruction carries corresponding feature data;
[0018] A simulation trigger result acquisition module is configured to acquire a simulation trigger result when the characteristic data satisfies the service trigger condition corresponding to the target task, wherein the simulation trigger result is a trigger result obtained by simulating the execution of the service corresponding to the service trigger condition;
[0019] The display module is configured to display the simulation trigger result, where the simulation trigger result is used to indicate whether to execute the operation instruction for the target task.
[0020] In one embodiment, the simulation trigger result acquisition module is configured to execute: when the characteristic data meets the business trigger condition corresponding to the target task, determine the business that meets the business trigger condition; obtain the trigger result obtained by simulating the execution of the business corresponding to the business trigger condition, and obtain the simulation trigger result of the business.
[0021] In one embodiment, the simulation trigger result acquisition module is configured to execute: sending an operation instruction for the target task to the server, the operation instruction is used to instruct the server to determine the business that meets the business trigger condition and simulate the execution of the business to obtain the corresponding simulation trigger result; receiving the simulation trigger result returned by the server.
[0022] In one embodiment, the display module is further configured to execute: in response to a confirmation instruction of the simulation trigger result, display the target task updated according to the operation instruction.
[0023] In one embodiment, the device also includes a sending module, which is configured to execute: sending the confirmation instruction to the server, wherein the confirmation instruction is used to instruct the server to update the target task according to the operation instruction, save the updated target task, and execute the business corresponding to the business trigger condition according to the updated target task.
[0024] In one embodiment, the display module is further configured to execute: in response to a denial operation of the simulation trigger result, display the target task.
[0025] In one embodiment, the apparatus further includes a configuration information receiving module configured to perform: receiving configuration information of a service corresponding to the target task, wherein the configuration information of the service includes a configured service triggering condition and a corresponding triggering result.
[0026] In one embodiment, the device also includes a query module, which is configured to execute: querying a business trigger condition that matches the feature data from the configuration information of the business; when a business trigger condition that matches the feature data is queried, determining that the feature data meets the business trigger condition corresponding to the target task.
[0027] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the method described in the first aspect above.
[0028] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method described in the first aspect above.
[0029] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, wherein the computer program product includes instructions, and when the instructions are executed by a processor of an electronic device, the electronic device is capable of executing the method described in the first aspect above.
[0030] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects: by obtaining the operation instructions for the target task, the operation instructions carry corresponding characteristic data, and when the characteristic data meets the business trigger condition, the simulation trigger result obtained by simulating the execution of the business corresponding to the business trigger condition is obtained, and the simulation trigger result is displayed, so that the user can determine whether the corresponding operation instruction is desired based on the simulation trigger result, thereby avoiding the mistaken editing of fields that do not need to be triggered as triggered fields, so as to improve the accuracy of the task and the editing efficiency.
[0031] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The accompanying drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute an improper limitation of the present disclosure.
[0033] Figure 1 The figure is a flowchart showing a task processing method according to an exemplary embodiment.
[0034] Figure 2 The figure is a flowchart showing a task processing method according to another exemplary embodiment.
[0035] Figure 3 is a flowchart showing a task processing method according to yet another exemplary embodiment.
[0036] Figure 4 The figure is a schematic diagram showing steps of matching service trigger conditions according to an exemplary embodiment.
[0037] Figure 5 is a flowchart of a task processing method according to yet another exemplary embodiment.
[0038] Figure 6 The figure is a schematic diagram showing trigger service configuration information according to an exemplary embodiment.
[0039] Figure 7 is a schematic diagram of a task operation interface according to an exemplary embodiment.
[0040] Figure 8 is a schematic diagram showing a simulation trigger result according to an exemplary embodiment.
[0041] Figure 9 The figure is a block diagram of a service processing device according to an exemplary embodiment.
[0042] Figure 10 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0043] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
[0044] It should be noted that the terms "first," "second," and the like in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the numbers used in this manner are interchangeable where appropriate so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure as detailed in the appended claims.
[0045] It should also be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.
[0046] Figure 1 is a flowchart of a task processing method according to an exemplary embodiment. Figure 1 As shown, the following steps are included.
[0047] In step S110 , an operation instruction for a target task is obtained.
[0048] Among them, the target task refers to the task currently being edited by the computer device, such as the task currently being created or the task currently being modified. Specifically, a task refers to a basic work unit completed by a computer device configured to achieve a certain purpose, such as a development task, a testing task, a business-related task, etc., and a task usually includes multiple fields. The operation instruction is the behavior of operating the target task in the process of creating or modifying a task, such as clicking on or editing a field in the target task. Specifically, the operation instruction carries corresponding feature data, and the feature data can be the corresponding field content. For example, if a user edits a field in the target task through a computer device, the computer device can receive the corresponding operation instruction.
[0049] In step S120 , when the characteristic data meets the service triggering condition corresponding to the target task, a simulation triggering result is obtained.
[0050] Business trigger conditions are preconfigured rules for automatically executing a business. For example, if the priority field of a task is the highest priority, assign Mr. Wang as the task leader. "When the priority field of a task is the highest priority" is the corresponding business trigger condition, meaning that when this condition is met, the assigned task will be automatically executed.
[0051] Since the business trigger conditions are uniformly configured in the background, and there are many fields that users need to edit when creating or modifying tasks, in order to avoid users mistakenly editing fields that do not need to be triggered as triggered fields because they are not clear about what business trigger conditions the edited fields will meet, thereby affecting the accuracy of the task and editing efficiency. Therefore, in this embodiment, when the characteristic data meets the business trigger conditions corresponding to the target task, a simulated trigger result is obtained, wherein the simulated trigger result is a trigger result obtained by simulating the execution of the business corresponding to the business trigger condition. For example, when the user sets the priority field of a task to the highest priority, the business trigger condition in the above-mentioned task assignment business is met, but the task will not be actually assigned to Lao Wang at this time. Instead, a simulated trigger result of "assigning the task to Lao Wang" is obtained, and is displayed to the user through subsequent steps, thereby giving the user a certain reference.
[0052] In step S130 , the simulation trigger result is displayed.
[0053] The simulation trigger result indicates whether to execute the operation instruction for the target task. Specifically, since the simulation trigger result is the result of simulating the execution of the corresponding business based on the user's operation instruction, by displaying the simulation trigger result to the user, the user can determine whether the corresponding operation instruction is desired based on the simulation trigger result, thereby avoiding mistakenly editing a field that does not need to be triggered as a triggered field.
[0054] In the above-mentioned task processing method, by obtaining the operation instructions for the target task, the operation instructions carry corresponding characteristic data. When the characteristic data meets the business trigger condition, the simulation trigger result obtained by simulating the execution of the business corresponding to the business trigger condition is obtained, and the simulation trigger result is displayed, so that the user can determine whether the corresponding operation instruction is appropriate based on the simulation trigger result, thereby avoiding mistakenly editing fields that do not need to be triggered as triggered fields, so as to improve the accuracy and editing efficiency of the task.
[0055] In an exemplary embodiment, Figure 2 As shown, in step S130, after displaying the simulation trigger result, the method further includes:
[0056] In step S140 , in response to a confirmation instruction of the simulation trigger result, the target task updated according to the operation instruction is displayed.
[0057] Among them, the confirmation instruction refers to an instruction or command to confirm the simulation trigger result. Specifically, the displayed simulation trigger result may include a corresponding confirmation control. When the user triggers the confirmation control, it means that the simulation trigger result is what the user wants, that is, the operation instruction corresponding to the simulation trigger result is appropriate, and then a confirmation instruction for the simulation trigger result is sent to the computer device. The computer device responds to the confirmation instruction and displays the target task updated according to the operation instruction. Since the operation instruction is an operation behavior on the target task, and the user receives the operation behavior through the confirmation instruction at this time, the target task is changed based on the operation behavior, and the changed target task is displayed.
[0058] In the above embodiment, by responding to the confirmation instruction of the simulation trigger result, the target task updated according to the operation instruction is displayed. Since the user determines the corresponding operation instruction based on the simulation trigger result, it avoids mistakenly editing the fields that do not need to be triggered as triggered fields, thereby improving the accuracy of the task.
[0059] In an exemplary embodiment, Figure 3 As shown, in step S130, after displaying the simulation trigger result, the method further includes:
[0060] In step S150 , in response to a denial operation on the simulation trigger result, the target task is displayed.
[0061] The "deny" operation refers to an operation that denies the result of a simulated trigger. Specifically, the displayed simulated trigger result may also include a corresponding deny control. When the user triggers the deny control, it indicates that the simulated trigger result is not what the user intended, that is, the operation instruction corresponding to the simulated trigger result is inappropriate. A denial operation of the simulated trigger result is then sent to the computer device, which responds to the denial operation and displays the target task. Since the operation instruction is an operation on the target task, and the user cancels the operation through the deny operation, the target task remains unchanged.
[0062] In the above embodiment, the target task is displayed in response to the denial operation of the simulation trigger result. Since the user cancels the corresponding operation instruction based on the simulation trigger result, it avoids the incorrect editing of fields that do not need to be triggered as triggered fields, thereby improving the accuracy of the task.
[0063] In an exemplary embodiment, in step S110, before obtaining the operation instructions for the target task, the above method further includes: receiving configuration information of the service corresponding to the target task. The service configuration information is the relevant information of the service configured for automatic operation. Specifically, the service configuration information includes the configured service trigger conditions and the corresponding trigger results. For example, for a certain automatic SMS sending service, if its configuration information is: every Monday morning at 08:00, send a text message with content A to all employees. Then its corresponding service trigger condition is "every Monday morning at 08:00", and the corresponding trigger result is "send a text message with content A to all employees". In actual application, corresponding configuration can be made according to the service that the target task actually needs to automatically run. In this embodiment, by receiving the configuration information of the service corresponding to the target task, when the task meets the service trigger conditions in a certain service configuration information, the service is automatically executed, thereby reducing the user's repetitive work.
[0064] In an exemplary embodiment, Figure 4 As shown, in step S110, after obtaining the operation instruction for the target task, the above method further includes:
[0065] In step S402, the service triggering condition that matches the characteristic data is searched from the configuration information of the service.
[0066] Since characteristic data refers to the content of fields within a task, service trigger conditions can be rules for automatically executing services based on fields within the task. Therefore, in this embodiment, when a computer device receives an operation instruction for a target task, it searches pre-configured service configuration information based on the characteristic data carried in the operation instruction to determine whether a service trigger condition matches the characteristic data. For example, if the operation instruction sets the priority field within a task, i.e., sets the value of the field to the highest priority, then "highest priority" should be the characteristic data carried in the operation instruction. Therefore, the service configuration information is queried to determine whether a service trigger condition for the task priority exists. If the query yields a trigger condition for "When the task priority field is the highest priority, assign the task leader to Mr. Wang" and a trigger condition for "When the task priority field is normal, assign the task leader to Mr. Wang," the computer device then further searches for the characteristic data for the priority field set by the current operation to determine whether a matching service trigger condition exists.
[0067] In step S404, when a service triggering condition matching the feature data is found, it is determined that the feature data meets the service triggering condition corresponding to the target task.
[0068] For example, if the feature data with the priority field set to "highest priority" according to the current operation is matched, and the matching trigger business "When the priority field of the task is the highest priority, assign the person in charge of the task to Lao Wang" is obtained, it is determined that the feature data meets the queried business trigger condition, that is, the current operation will trigger the trigger business corresponding to the queried business trigger condition, so that the above steps of obtaining the simulation execution results can be executed.
[0069] In one exemplary embodiment, if a match is performed based on the feature data with a "Higher Priority" priority field set for the current operation, since no triggering service corresponding to the task priority has a "Higher Priority" priority field, i.e., no matching triggering service exists, this indicates that the feature data does not match the service triggering conditions in the service configuration information. This means that the current operation will not trigger any triggering services, and the user can proceed with other operations normally.
[0070] In the above embodiment, by querying the business trigger conditions that match the feature data from the business configuration information, and when the business trigger conditions that match the feature data are queried, it is determined that the feature data meets the queried business trigger conditions, thereby executing the above-mentioned step of obtaining the simulation execution result, so that the user can determine whether the corresponding operation is appropriate based on the simulation trigger result, thereby improving the accuracy of task editing.
[0071] In an exemplary embodiment, in step S120, when the characteristic data meets the business trigger condition, a simulation trigger result is obtained, which may specifically include: when the characteristic data meets the business trigger condition, determining the business that meets the business trigger condition; obtaining the trigger result obtained by simulating the execution of the business corresponding to the business trigger condition, and obtaining a simulation trigger result for the business.
[0072] Specifically, if a match is performed based on the feature data whose priority field is set to "highest priority" according to the current operation, and a matching trigger business "When the priority field of the task is the highest priority, assign the person in charge of the task to Lao Wang" is obtained, it can be determined that the matching trigger business is a business that meets the business trigger conditions. Then, the execution of the business is simulated, and a simulated trigger result of "assigning the person in charge of the task to Lao Wang" is obtained. In fact, the task is not really assigned to Lao Wang at this time, but the simulated trigger result is used to remind the user that if the priority field of the task is set to "highest priority", the task will be assigned to Lao Wang. The user can determine whether the corresponding operation is appropriate based on the simulated trigger result, thereby improving the accuracy of task editing.
[0073] In one exemplary embodiment, in step S120, when the characteristic data meets the service trigger condition, obtaining a simulated trigger result may further include: sending an operation instruction for the target task to the server, receiving a response from the server indicating a service that meets the service trigger condition based on the operation instruction, and simulating the execution of the service to obtain the simulated trigger result. In this embodiment, by introducing a server to match the operation instruction with the service trigger condition and simulating the execution of the corresponding service when a match occurs to obtain the simulated trigger result, the computer device only needs to display the simulated trigger result to the user, thereby reducing the processing pressure on the computer device and improving task processing efficiency.
[0074] In an exemplary embodiment, in step S140, in response to the confirmation operation of the simulation trigger result, the above method may further include: sending a confirmation instruction to the server, wherein the confirmation instruction is used to instruct the server to update the target task according to the operation instruction, and save the updated target task, and execute the business corresponding to the business trigger condition according to the updated target task.
[0075] In this embodiment, when the computer device receives a user confirmation instruction for a displayed simulation trigger result, it indicates that the operation instruction corresponding to the simulation trigger result is the user's desired instruction. Therefore, the computer device sends the confirmation instruction to the server, which enables the server to update the stored target task based on the operation instruction corresponding to the confirmation instruction and save the updated target task. The server can also execute the service corresponding to the service trigger condition based on the updated target task. This achieves automatic triggering of the updated task execution, reducing repetitive work for the user.
[0076] In an exemplary embodiment, Figure 5 As shown, the above task processing method is further described below, specifically including:
[0077] In step S502, service configuration information is received, wherein the service configuration information includes configured service triggering conditions and corresponding triggering results.
[0078] In step S504, an operation instruction for the target task is received.
[0079] In step S506, it is checked whether a service triggering condition matching the characteristic data in the operation instruction is found from the configuration information of the service.
[0080] In step S508, when a service trigger condition matching the feature data is found, the service that meets the service trigger condition is determined. If no service trigger condition matching the feature data is found, the process returns to step S504 to continue receiving operation instructions for the target task.
[0081] In step S510, a simulation trigger result obtained by simulating the execution of a service corresponding to the service trigger condition is obtained.
[0082] In step S512 , the simulation trigger result is displayed.
[0083] In step S514 , in response to a confirmation instruction of the simulation trigger result, the target task updated according to the operation instruction is displayed.
[0084] In step S516, a confirmation instruction is sent to the server so that the server can execute the service corresponding to the simulation trigger result.
[0085] In step S518 , in response to a denial operation on the simulation trigger result, the target task is displayed.
[0086] For example, for a task assigned trigger service, such as Figure 6 As shown in the figure, if the trigger condition for this trigger service is: When the Task Status value of the Technical Requirements task is "Pending Test", and the configured trigger result is: Set the value of the Task's Executor to the "Specified Task Role" "Test Engineer", then as long as any task in the system meets the condition: When the Task Status value of the Technical Requirements task is "Pending Test", the trigger service will be executed, that is, the value of the Task's Executor will be set to the "Specified Task Role" "Test Engineer".
[0087] If the user needs to modify the value of the "Task Status" of a "Technical Requirements" task, the specific operation interface is as follows Figure 7As shown, when the user clicks "Task Status" to "To be tested", the business trigger condition configured above is met, thereby simulating the execution of the trigger business corresponding to the business trigger condition and showing the user the following Figure 8 The simulation trigger result shown is as follows: After saving, the "Task Assignment Business" will be triggered and the executor of this task will be automatically assigned to the "Test Engineer". Are you sure you want to save?
[0088] When the user clicks the Save button, it means that the user accepts the simulated trigger result, that is, the user confirms that the "Task Status" is changed to "Pending Test", and the task after the "Task Status" is displayed. At the same time, the triggered business will be actually executed, that is, the executor of the task will be automatically assigned to the "Test Engineer". When the user clicks the Cancel button, it means that the user does not accept the simulated trigger result, that is, the user cancels the operation of changing the "Task Status" to "Pending Test", and the task before the "Task Status" is displayed, and the user's operation behavior on the task will continue to be monitored.
[0089] In the above embodiment, by simulating the execution of the business matching the operation instruction and displaying the corresponding simulation trigger result, the user can determine whether the corresponding operation instruction is desired based on the simulation trigger result, thereby avoiding editing errors of the task field and improving the accuracy and efficiency of task editing.
[0090] It should be understood that although Figures 1-8 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. In addition, Figures 1-8 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The order of execution of these steps or stages is not necessarily one by one, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0091] It can be understood that the same / similar parts between the various embodiments of the above method in this specification can be referred to each other, and each embodiment focuses on the differences from other embodiments. For related parts, please refer to the description of other method embodiments.
[0092] Figure 9 FIG. 1 is a block diagram of a task processing device according to an exemplary embodiment. Figure 9 The device includes an operation instruction acquisition module 902, a simulation trigger result acquisition module 904 and a display module 906.
[0093] An operation instruction acquisition module 902 is configured to execute and acquire an operation instruction for a target task, wherein the operation instruction carries corresponding feature data;
[0094] The simulation trigger result acquisition module 904 is configured to acquire a simulation trigger result when the feature data satisfies the service trigger condition corresponding to the target task, wherein the simulation trigger result is a trigger result obtained by simulating the execution of the service corresponding to the service trigger condition;
[0095] The display module 906 is configured to display the simulation trigger result, where the simulation trigger result is used to indicate whether to execute the operation instruction for the target task.
[0096] In an exemplary embodiment, the simulation trigger result acquisition module is configured to execute: when the characteristic data meets the business trigger condition corresponding to the target task, determine the business that meets the business trigger condition; obtain the trigger result obtained by simulating the execution of the business corresponding to the business trigger condition, and obtain the simulation trigger result of the business.
[0097] In an exemplary embodiment, the simulation trigger result acquisition module is configured to execute: sending an operation instruction for the target task to the server, the operation instruction is used to instruct the server to determine the business that meets the business trigger condition and simulate the execution of the business to obtain the corresponding simulation trigger result; receiving the simulation trigger result returned by the server.
[0098] In an exemplary embodiment, the display module is further configured to execute: in response to a confirmation instruction of the simulation trigger result, display the target task updated according to the operation instruction.
[0099] In an exemplary embodiment, the device also includes a sending module configured to execute: sending the confirmation instruction to the server, wherein the confirmation instruction is used to instruct the server to update the target task according to the operation instruction, save the updated target task, and execute the business corresponding to the business trigger condition according to the updated target task.
[0100] In an exemplary embodiment, the display module is further configured to execute: in response to a denial operation of the simulation trigger result, display the target task.
[0101] In an exemplary embodiment, the apparatus further includes a configuration information receiving module configured to perform: receiving configuration information of a service corresponding to the target task, wherein the configuration information of the service includes a configured service triggering condition and a corresponding triggering result.
[0102] In an exemplary embodiment, the device also includes a query module configured to execute: querying a business trigger condition that matches the feature data from the configuration information of the business; when a business trigger condition that matches the feature data is queried, determining that the feature data meets the business trigger condition corresponding to the target task.
[0103] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0104] Figure 10 FIG2 is a block diagram of an electronic device Z00 for task processing according to an exemplary embodiment. For example, the electronic device Z00 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0105] Reference Figure 10 The electronic device Z00 may include one or more of the following components: a processing component Z02, a memory Z04, a power supply component Z06, a multimedia component Z08, an audio component Z10, an input / output (I / O) interface Z12, a sensor component Z14, and a communication component Z16.
[0106] The processing component Z02 generally controls the overall operation of the electronic device Z00, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component Z02 may include one or more processors Z20 to execute instructions to perform all or part of the steps of the aforementioned method. Furthermore, the processing component Z02 may include one or more modules to facilitate interaction between the processing component Z02 and other components. For example, the processing component Z02 may include a multimedia module to facilitate interaction between the multimedia component Z08 and the processing component Z02.
[0107] The memory Z04 is configured to store various types of data to support operations on the electronic device Z00. Examples of such data include instructions for any application or method operating on the electronic device Z00, contact data, phone book data, messages, pictures, videos, and the like. The memory Z04 can be implemented by any type of volatile or non-volatile memory device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, optical disk, or graphene memory.
[0108] The power supply assembly Z06 provides power to various components of the electronic device Z00. The power supply assembly Z06 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device Z00.
[0109] The multimedia component Z08 includes a screen that provides an output interface between the electronic device Z00 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component Z08 includes a front camera and / or a rear camera. When the electronic device Z00 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.
[0110] The audio component Z10 is configured to output and / or input audio signals. For example, the audio component Z10 includes a microphone (MIC) that is configured to receive external audio signals when the electronic device Z00 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory Z04 or transmitted via the communication component Z16. In some embodiments, the audio component Z10 further includes a speaker for outputting audio signals.
[0111] I / O interface Z12 provides an interface between processing component Z02 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0112] The sensor assembly Z14 includes one or more sensors for providing various aspects of status assessment for the electronic device Z00. For example, the sensor assembly Z14 can detect the open / closed state of the electronic device Z00, the relative positioning of components, such as the display and keypad of the electronic device Z00. The sensor assembly Z14 can also detect changes in the position of the electronic device Z00 or components of the electronic device Z00, the presence or absence of user contact with the electronic device Z00, the orientation or acceleration / deceleration of the device Z00, and temperature changes of the electronic device Z00. The sensor assembly Z14 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly Z14 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly Z14 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0113] The communication component Z16 is configured to facilitate wired or wireless communication between the electronic device Z00 and other devices. The electronic device Z00 can access a wireless network based on a communication standard, such as WiFi, an operator network (such as 2G, 3G, 4G or 5G), or a combination thereof. In an exemplary embodiment, the communication component Z16 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component Z16 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0114] In an exemplary embodiment, the electronic device Z00 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-described method.
[0115] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory Z04 including instructions. The instructions are executable by a processor Z20 of the electronic device Z00 to perform the above method. For example, the computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, or the like.
[0116] In an exemplary embodiment, a computer program product is further provided. The computer program product includes instructions. The instructions can be executed by the processor Z20 of the electronic device Z00 to implement the above method.
[0117] It should be noted that the above-mentioned devices, electronic devices, computer-readable storage media, computer program products, etc. can also include other implementation methods according to the description of the method embodiments. The specific implementation methods can refer to the description of the relevant method embodiments and will not be described one by one here.
[0118] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the claims.
[0119] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A task processing method, characterized in that: The method comprises: Receive service configuration information, the service configuration information including configured service trigger conditions and corresponding trigger results; the service trigger conditions are pre-configured rules for automatically running the service; Obtaining an operation instruction for a target task, wherein the operation instruction is an action to operate the target task, and the operation instruction carries corresponding feature data; When the characteristic data satisfies the service triggering condition corresponding to the target task, determining the service that meets the service triggering condition, simulating the execution of the service, and obtaining a simulated triggering result, where the simulated triggering result is a triggering result obtained by simulating the execution of the service corresponding to the service triggering condition; The simulation trigger result is displayed, and the simulation trigger result is used to indicate whether to execute the operation instruction for the target task.
2. The method according to claim 1, characterized in that The obtaining of the simulation trigger result includes: When the characteristic data meets the service triggering condition corresponding to the target task, determining the service that meets the service triggering condition; Acquire a trigger result obtained by simulating the execution of a service corresponding to the service trigger condition, and obtain a simulated trigger result for the service.
3. The method according to claim 2, characterized in that When the characteristic data satisfies the service triggering condition corresponding to the target task, the method further includes: Sending an operation instruction for the target task to the server, wherein the operation instruction is used to instruct the server to determine a service that meets the service trigger condition and simulate the execution of the service to obtain a corresponding simulation trigger result; Receive the simulation trigger result returned by the server.
4. The method according to claim 1, wherein After displaying the simulation trigger result, the method further includes: In response to a confirmation instruction of the simulation trigger result, the target task updated according to the operation instruction is displayed.
5. The method according to claim 4, characterized in that After responding to the confirmation instruction of the simulation trigger result, the method further includes: The confirmation instruction is sent to the server, where the confirmation instruction is used to instruct the server to update the target task according to the operation instruction, save the updated target task, and execute the service corresponding to the service trigger condition according to the updated target task.
6. The method according to claim 1, characterized in that After displaying the simulation trigger result, the method further includes: In response to a denial operation of the simulation trigger result, the target task is displayed.
7. The method according to claim 1, characterized in that After obtaining the operation instruction for the target task, the method further includes: Querying the service triggering condition that matches the characteristic data from the configuration information of the service; When a service trigger condition matching the feature data is found, it is determined that the feature data meets the service trigger condition corresponding to the target task.
8. A task processing device, characterized in that: include: A configuration information receiving module is configured to receive configuration information of a service, wherein the configuration information of the service includes a configured service trigger condition and a corresponding trigger result; The service triggering condition is a pre-configured rule for automatically running a service; An operation instruction acquisition module is configured to execute and acquire an operation instruction for a target task, wherein the operation instruction is an action to operate the target task, and the operation instruction carries corresponding feature data; A simulation trigger result acquisition module is configured to, when the characteristic data satisfies the service trigger condition corresponding to the target task, determine the service that meets the service trigger condition, simulate the execution of the service, and obtain a simulation trigger result, wherein the simulation trigger result is a trigger result obtained by simulating the execution of the service corresponding to the service trigger condition; The display module is configured to display the simulation trigger result, where the simulation trigger result is used to indicate whether to execute the operation instruction for the target task.
9. The device according to claim 8, characterized in that The simulation trigger result acquisition module is configured to execute: When the characteristic data meets the service triggering condition corresponding to the target task, determining the service that meets the service triggering condition; Acquire a trigger result obtained by simulating the execution of a service corresponding to the service trigger condition, and obtain a simulated trigger result for the service.
10. The device according to claim 9, characterized in that The simulation trigger result acquisition module is configured to execute: Sending an operation instruction for the target task to the server, wherein the operation instruction is used to instruct the server to determine a service that meets the service trigger condition and simulate the execution of the service to obtain a corresponding simulation trigger result; Receive the simulation trigger result returned by the server.
11. The device according to claim 8, characterized in that The presentation module is further configured to execute: In response to a confirmation instruction of the simulation trigger result, the target task updated according to the operation instruction is displayed.
12. The device according to claim 11, characterized in that The apparatus further includes a sending module configured to execute: The confirmation instruction is sent to the server, where the confirmation instruction is used to instruct the server to update the target task according to the operation instruction, save the updated target task, and execute the service corresponding to the service trigger condition according to the updated target task.
13. The device according to claim 8, characterized in that The presentation module is further configured to execute: In response to a denial operation of the simulation trigger result, the target task is displayed.
14. The device according to claim 8, characterized in that The apparatus further comprises a query module configured to execute: Querying the service trigger condition that matches the characteristic data from the configuration information of the service; When a service trigger condition matching the feature data is found, it is determined that the feature data meets the service trigger condition corresponding to the target task.
15. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the task processing method according to any one of claims 1 to 7.
16. A computer-readable storage medium, characterized in that When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the task processing method according to any one of claims 1 to 7.
17. A computer program product comprising instructions, characterized in that: When the instruction is executed by a processor of an electronic device, the electronic device is enabled to execute the task processing method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Service information testing method and device, computer equipment and storage medium
CN109815138A
An instruction simulation engine discrimination method and device, equipment and a medium
CN112559328A
VR-based cardiac surgery simulation method and apparatus
WO2023072190A1