Agent-based task processing method and apparatus, electronic device, and storage medium
By identifying the response patterns of task instructions and breaking them down into sub-tasks using intelligent agents, the problems of insufficient accuracy and efficiency in task execution are solved, and efficient, accurate, and personalized task processing is achieved under the active monitoring mode.
Patent Information
- Application Number
- CN202611031733.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-10
- Publication Date
- 2026-11-20
AI Technical Summary
In existing technologies, intelligent agents have difficulty effectively distinguishing and executing active monitoring and passive response modes when processing task instructions, resulting in insufficient accuracy and efficiency in task execution.
The intelligent agent identifies the response pattern of task instructions, and in the active monitoring mode, the task is divided into multiple sub-tasks, which are monitored using corresponding monitoring models, and intervention operations are performed when preset conditions are met.
It improves the accuracy and efficiency of task execution, especially in scenarios that require proactive monitoring. It can more accurately break down and monitor sub-tasks, enabling personalized intervention strategies and meeting users' individual needs.
Smart Images

Figure CN123137808A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, specifically to the fields of human-computer interaction and artificial intelligence technology, and in particular to a task processing method, device, electronic device and storage medium based on intelligent agents. Background Technology
[0002] With the rapid development of artificial intelligence (AI) technology, machines are now able to simulate human intelligent behaviors, such as perceiving the environment, understanding information, reasoning and making judgments, and making autonomous decisions. This allows machines to be equipped with a "brain," enabling them to learn and solve problems on their own.
[0003] As AI technology matures, its applications are expanding. Intelligent agents, as entities that utilize AI technology, are able to autonomously complete tasks. Therefore, intelligent agents can also be called AI agents. For example, an intelligent agent is an independent intelligent entity capable of perceiving its environment, making autonomous decisions, taking proactive actions, and being goal-oriented. It can empower various industries and improve task processing efficiency. Summary of the Invention
[0004] This disclosure provides a task processing method, apparatus, electronic device, and storage medium based on intelligent agents.
[0005] According to one aspect of this disclosure, an agent-based task processing method is provided, comprising:
[0006] Get task instructions;
[0007] An intelligent agent is used to identify the response mode of the task command, which can be either an active monitoring mode or a passive response mode.
[0008] When the response mode of the task instruction adopts the active monitoring mode, the intelligent agent is used to split the task instruction into multiple sub-tasks;
[0009] The intelligent agent is used to monitor the multiple sub-tasks.
[0010] According to another aspect of this disclosure, an agent-based task processing apparatus is provided, comprising:
[0011] The acquisition module is used to acquire task instructions;
[0012] The identification module is used to identify, using an intelligent agent, whether the response mode of the task instruction is an active monitoring mode or a passive response mode.
[0013] The splitting module is used to split the task instruction into multiple sub-tasks using the agent when the response mode of the task instruction adopts the active monitoring mode.
[0014] A monitoring module is used to monitor the multiple sub-tasks using the intelligent agent.
[0015] According to another aspect of this disclosure, an electronic device is provided, comprising:
[0016] At least one processor; and
[0017] A memory communicatively connected to the at least one processor; wherein,
[0018] The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the methods described above and any possible implementations.
[0019] According to another aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions for causing the computer to perform the methods described above and any possible implementation thereof.
[0020] According to another aspect of this disclosure, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the aspects and any possible implementations described above.
[0021] According to the technology disclosed herein, the accuracy of task instruction execution and task execution efficiency can be effectively improved.
[0022] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0023] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein:
[0024] Figure 1 This is a schematic diagram based on the first embodiment of the present disclosure;
[0025] Figure 2 This is a schematic diagram according to the second embodiment of the present disclosure;
[0026] Figure 3 This is a schematic diagram according to the third embodiment of the present disclosure;
[0027] Figure 4 This is a schematic diagram according to the fourth embodiment of the present disclosure;
[0028] Figure 5 This is a schematic diagram according to the fifth embodiment of the present disclosure;
[0029] Figure 6 This is a block diagram of an electronic device used to implement the methods of the embodiments of this disclosure. Detailed Implementation
[0030] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0031] Obviously, the described embodiments are only some, not all, of the embodiments disclosed herein. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without inventive effort are within the scope of protection of this disclosure.
[0032] It should be noted that the terminal devices involved in the embodiments of this disclosure may include, but are not limited to, smart devices such as mobile phones, personal digital assistants (PDAs), wireless handheld devices, and tablet computers; the display devices may include, but are not limited to, personal computers, televisions, and other devices with display functions.
[0033] Furthermore, the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.
[0034] Figure 1 This is a schematic diagram based on the first embodiment of the present disclosure; as shown Figure 1 As shown, this embodiment provides a task processing method based on an intelligent agent, which is applied in an intelligent agent and may specifically include the following steps:
[0035] S101, Obtain task instructions;
[0036] S102. An intelligent agent is used to identify the response mode of task instructions, adopting either an active monitoring mode or a passive response mode.
[0037] S103. When the response mode to the task instruction adopts the active monitoring mode, the intelligent agent is used to split the task instruction into multiple sub-tasks.
[0038] S104. Use an intelligent agent to monitor multiple sub-tasks.
[0039] In this embodiment, the task instruction can be initiated by any user. In practical applications, upon receiving a task instruction, the agent can identify whether the response mode of the task instruction is an active monitoring mode or a passive response mode. For example, for task instructions that can be executed directly and quickly yield results, a passive response mode can be used. Task instructions such as "What's the weather today?", "Play a certain song", and "Turn on the air conditioner" are all directly executable and yield quick results. By identifying the task instruction, the agent can determine that this type of task instruction can be responded to using a passive response mode.
[0040] For task instructions that cannot be executed directly and yield quick results, an active monitoring mode can be used to respond. For example, task instructions such as "Watch my child do their homework," "Keep an elderly person safe from falling," "Monitor home security," "Take care of my baby while they sleep," "Supervise employees' work performance," and "Watch the store when a customer calls" are all instructions whose surface meaning cannot be executed directly and whose results cannot be quickly obtained.
[0041] Specifically, in this embodiment, for task instructions corresponding to the active monitoring mode, an intelligent agent can be used to break down the task instructions into multiple sub-tasks. The intelligent agent then monitors these multiple sub-tasks to complete the execution of the task instructions.
[0042] For the execution of task instructions in passive response mode, the response method should be the same as that of normal task instructions. In the embodiments disclosed herein, no limitation is made.
[0043] The agent-based task processing method in this embodiment uses an agent to identify the response mode of a task instruction. When the active monitoring mode is adopted, the task instruction is split into multiple sub-tasks and the multiple sub-tasks are monitored. This can effectively improve the accuracy of task instruction execution and task execution efficiency in the active monitoring mode.
[0044] Figure 2 This is a schematic diagram according to the second embodiment of the present disclosure; the agent-based task processing method of this embodiment, in the above... Figure 1 Based on the technical solutions of the illustrated embodiments, the technical solutions of this disclosure will be described in further detail. For example... Figure 2 As shown, the agent-based task processing method in this embodiment may specifically include the following steps:
[0045] S201. Obtain task instructions; execute step S202.
[0046] S202. Employ an intelligent agent to identify the intent of the task instruction; execute step S203.
[0047] S203. Employ an intelligent agent, and based on the response mode of the intent recognition task command, adopt either an active monitoring mode or a passive response mode; execute step S204.
[0048] In practical applications, an agent can directly identify whether the response mode of a task instruction is an active monitoring mode or a passive response mode based on the task instruction. Furthermore, to improve the accuracy of response mode identification, in this embodiment, an agent can first identify the intent of the task instruction, and then use the agent to identify whether the response mode of the task instruction is an active monitoring mode or a passive response mode based on the intent, thereby improving the accuracy and efficiency of identification.
[0049] S204. When the response mode to the task instruction adopts the active monitoring mode, obtain multiple dimensions of active monitoring; execute step S205.
[0050] For task instructions in the active monitoring mode, the agent needs to break down the task into sub-tasks and perform active monitoring operations, and needs to know multiple dimensions of active monitoring in advance.
[0051] In practice, the intelligent agent can interact with the user, who can input multiple dimensions for active monitoring. For example, if the user inputs a task instruction: "Help me watch my child do their homework," the intelligent agent can analyze the data to determine that the response mode of this task instruction is active monitoring mode, and then issue the following message: "Please tell me the multiple dimensions for active monitoring." The user can input the multiple dimensions for active monitoring.
[0052] Alternatively, the intelligent agent can analyze the user's task instructions to generate multiple dimensions for proactive monitoring. Alternatively, after generating the multiple dimensions for proactive monitoring, the agent can also display these dimensions to the user for confirmation, and the user can modify them if they are deemed unreasonable.
[0053] By employing the method described in this embodiment, multiple dimensions of active monitoring can be accurately and effectively obtained.
[0054] Further optionally, in the application scenario of this embodiment, when the response mode for determining the task instruction adopts the active monitoring mode, the user can be responded to first to inform the user that the task instruction has been received and will be executed according to the task instruction, such as: the task instruction has been received and monitoring will be performed according to the task instruction later.
[0055] S205. Using an intelligent agent, based on multiple dimensions, the task instructions are broken down into multiple sub-tasks; execute step S206.
[0056] Specifically, the multiple dimensions of proactive monitoring can be considered as multiple directions in which proactive monitoring is performed. An agent can break down task instructions into multiple subtasks based on these dimensions. That is, multiple subtasks can include subtasks across multiple dimensions. Each dimension can include at least one subtask.
[0057] By having the agent reference multiple dimensions to break down task instructions into multiple subtasks, the accuracy of the broken-down subtasks can be effectively improved.
[0058] S206. Use an intelligent agent to call the monitoring model corresponding to each subtask in multiple subtasks to monitor the subtasks; execute step S207;
[0059] Specifically, the monitoring of each sub-task can be performed by the intelligent agent by calling the corresponding monitoring model based on the sub-task. Different monitoring models can be used for different sub-tasks, enabling more professional and focused monitoring, thereby effectively improving the accuracy and efficiency of monitoring each sub-task.
[0060] Alternatively, in a specific implementation, the agent can call multiple subprocesses to execute the monitoring work of each subtask.
[0061] For example, for the task instruction: "Help me watch my child do their homework," the multiple dimensions of proactive monitoring can include posture, concentration, eye health, and homework progress. The corresponding sub-tasks can include posture monitoring, concentration monitoring, eye health monitoring, and homework progress monitoring. Specifically, posture monitoring can detect whether the child is slouching, tilting their head, or bending over; concentration monitoring can detect whether the child is playing on their phone, leaving their seat, or daydreaming; eye health monitoring can detect whether the distance between the child's eyes and the homework is too close, or whether the ambient light is insufficient; and homework progress monitoring can detect whether there is prolonged inactivity or procrastination.
[0062] The task instruction, "Watch out for elderly people to prevent falls," can be broken down into several sub-tasks, including fall detection, abnormal behavior monitoring, activity monitoring, and medication reminders. Fall detection can detect sudden changes in posture, prolonged periods in a horizontal position, or cries for help. Abnormal behavior monitoring can detect prolonged inactivity or slowed movement. Activity monitoring tracks activity levels and activity patterns. Medication reminders remind individuals to take their medication on time or if they forget.
[0063] For the task instruction: monitoring home security, the corresponding sub-tasks can include intrusion detection, hazard detection, device anomaly detection, and pet monitoring. Intrusion detection detects intrusion activities such as strangers, unusual sounds, and prying open doors or windows; hazard detection detects dangers such as smoke, gas leaks, or water leaks; device anomaly detection detects whether doors and windows are open and whether appliances are overheating; and pet monitoring includes tracking the pet's location and detecting any unusual noises from the pet.
[0064] The task instruction "Help me take care of the baby while he sleeps" can be broken down into several sub-tasks, including sleep status detection, breathing monitoring, temperature monitoring, and safety monitoring. Sleep status detection includes detecting whether the baby is awake, crying, or turning over; breathing monitoring checks for abnormal breathing rates and pauses in breathing; temperature monitoring checks for abnormal body temperature and whether the room temperature is appropriate; and safety monitoring checks whether the baby's face is covered by the blanket and whether the baby has fallen off the bed.
[0065] For the task instruction: monitoring employee work status, the corresponding sub-tasks may include attention monitoring, equipment usage detection, abnormal behavior detection, and safety monitoring. Among them, attention monitoring may include monitoring whether employees leave their workstations, use their mobile phones, or sleep; equipment usage detection includes detecting whether computers are in use and whether keyboards and mice are active; abnormal behavior detection includes whether employees remain still for a long time or move around frequently; safety monitoring is used to detect whether safety helmets are not worn or whether violations of operating procedures are performed.
[0066] For the task instruction "Help me watch the store, a customer is calling me," the corresponding sub-tasks can include customer flow monitoring, behavior recognition and detection, anomaly detection, and duration statistics. Specifically, customer flow monitoring can include detecting whether customers have entered the store and the number of customers; behavior recognition and detection is used to detect whether there are gestures of seeking help or calls for help; anomaly detection is used to detect whether there are suspicious behaviors or theft actions; duration statistics are used to count the length of time customers stay and whether there is no one to serve them. Following the above method, all task instructions that respond using the active monitoring mode can generate multiple sub-tasks in a similar way, which will not be listed in detail here.
[0067] S207. For each subtask, use an intelligent agent to obtain the monitoring data of each subtask at the current moment; execute step S208.
[0068] In other words, in this embodiment, the monitoring model of each subtask is mainly used to collect the monitoring data of the current moment of the subtask and return it to the intelligent agent, which then performs further monitoring based on the monitoring data of the current moment of each subtask.
[0069] S208. For each subtask, an intelligent agent is used to monitor the current state of the monitoring data identifier of the subtask at the current moment and whether the preset intervention conditions are met. If they are met, step S209 is executed; otherwise, step S207 is returned to continue to obtain the monitoring data of each subtask at the next moment and continue to monitor each subtask.
[0070] S209. Obtain the intervention strategy corresponding to the pre-configured intervention conditions; execute step S210;
[0071] S210. Using an intelligent agent, execute the intervention operation according to the intervention strategy, and then end.
[0072] In this embodiment, for each subtask, the intervention conditions may include one, two, or more. For example, for the posture monitoring subtask in the task instruction "Help me watch my child do their homework," it is necessary to monitor whether the child is leaning on the table, tilting their head, or bending over. Detecting these actions meets the intervention conditions. For multiple intervention conditions within the same subtask, the same intervention strategy can be used, or a separate intervention strategy can be set for each intervention condition.
[0073] For example, when a child is detected slouching, tilting their head, or bending over, the intervention strategy can be uniformly set up as a voice reminder, "Please pay attention to your posture." Alternatively, specific intervention strategies can be set up for each intervention condition, such as voice reminders like, "Please do not slouch on the table," "Please do not tilt your head," or "Please pay attention to your posture, do not bend over," etc.
[0074] In the scenario of this embodiment, when the current state of the monitoring data identifier of the subtask is detected to meet the preset intervention conditions, the intervention operation can be executed directly according to the intervention strategy corresponding to the intervention conditions, so as to achieve accurate and effective monitoring.
[0075] Optionally, in one embodiment of this disclosure, different intervention strategies can be set for different personality types of the intelligent agent; for example, for the subtask "homework progress monitoring" of the task instruction "help me watch my child do homework", when the intervention condition of long-term inactivity or procrastination is reached, for a gentle personality, the intervention strategy can be only voice reminder; for a more severe personality, the intervention strategy can be voice reminder + alarm signal; for an even more severe personality, the intervention strategy can be directly alarm signal + notification of parents, etc.
[0076] In practical applications, when the intelligent agent is working, the staff can input the agent's personality information through prompts, such as "You are a gentle, or rather strict, or very strict learning assistant," etc.
[0077] Correspondingly, when the current state of the monitoring data identifier of a subtask reaches the preset intervention condition, the agent's persona type can be obtained first, and then the intervention strategy corresponding to the intervention condition can be obtained based on the agent's persona type. Finally, the intervention operation can be executed according to the obtained intervention strategy, which can effectively improve the accuracy of subtask monitoring.
[0078] In this embodiment, personalized intervention can be implemented for different persona types of intelligent agents to meet the personalized needs of users and enhance the intelligence of any processing.
[0079] In practical applications, for the sub-tasks of task instructions that adopt active monitoring mode response in various scenarios, the intervention conditions for each sub-task and the different intervention strategies for each persona type can be configured in a similar way. This allows for more accurate intervention operations based on different persona types. Examples will not be elaborated further here.
[0080] The agent-based task processing method in this embodiment can efficiently and accurately break down task instructions into multiple sub-tasks based on multiple dimensions for task instructions in active monitoring mode. It can also call the monitoring model corresponding to each sub-task to monitor the sub-tasks, which can effectively improve the accuracy and precision of task execution. Furthermore, in this embodiment, when the current state of the monitoring data of a sub-task is detected to meet the preset intervention conditions, intervention can be carried out according to the intervention strategy corresponding to the pre-configured intervention conditions, which can effectively improve the accuracy and efficiency of task instruction execution.
[0081] Figure 3 This is a schematic diagram according to the third embodiment of this disclosure; the agent-based task processing method of this embodiment, in the above... Figure 1 Based on the technical solutions of the illustrated embodiments, the technical solutions of this disclosure will be described in further detail. For example... Figure 3 As shown, the agent-based task processing method in this embodiment may specifically include the following steps:
[0082] S301. Obtain task instructions; execute step S301.
[0083] S302. Employ an intelligent agent to identify the response mode of the task command, adopting either an active monitoring mode or a passive response mode; execute step S302.
[0084] S303. When the response mode to the task instruction adopts the active monitoring mode, the intelligent agent generates multiple dimensions of active monitoring based on the task instruction; execute step S303.
[0085] S304. Using an intelligent agent, based on multiple dimensions, the task instructions are broken down into multiple sub-tasks; execute step S304.
[0086] S305. The intelligent agent calls the monitoring model corresponding to each subtask in multiple subtasks to monitor the subtasks; execute step S305;
[0087] S306. For each subtask, use an intelligent agent to obtain the monitoring data of each subtask at the current moment; execute step S307.
[0088] For the specific implementation of steps S301-S306, please refer to the relevant descriptions in the above embodiments, which will not be repeated here.
[0089] S307. For each subtask, an intelligent agent is used to monitor the current state of the monitoring data identifier of the subtask at the current moment and whether the preset intervention conditions are met. If they are met, step S308 is executed; otherwise, step S306 is returned to continue to obtain the monitoring data of each subtask at the next moment and continue to monitor each subtask.
[0090] S308. Detect whether the intervention operation has been performed according to the intervention strategy corresponding to the pre-configured intervention conditions within the first preset time period before the current time; if it is determined that the intervention operation has not been performed according to the intervention strategy corresponding to the pre-configured intervention conditions within the first preset time period before the current time, proceed to step S309; if it is determined that the intervention operation has been performed according to the intervention strategy corresponding to the pre-configured intervention conditions within the first preset time period before the current time, do not perform the intervention for the time being, and return to step S308 to continue the detection.
[0091] To avoid executing intervention operations every time the current state of the monitoring data identifier of a subtask reaches the preset intervention condition, which would lead to excessively frequent intervention operations and have a negative impact, this embodiment can set a first preset duration, requiring only one intervention to be performed within the first preset duration period. The first preset duration can be set to 5 minutes, 10 minutes, or other time lengths based on specific scenario needs or experience; no limitation is made here. Specifically, each time the current state of the monitoring data identifier of a subtask reaches the preset intervention condition, it can be checked whether an intervention operation has been performed according to the pre-configured intervention strategy within the first preset duration period prior to the current moment. If it has been performed, the process needs to return and continue checking until no intervention has been performed within the first preset duration period before proceeding to the next step.
[0092] S309. Detect the duration for which the current state of the monitoring data identifier of the subtask has met the intervention conditions, and whether it has reached the preset cooldown period; if it has, execute step S310; if it has not, execute step S313.
[0093] In practical applications, especially in the monitoring of dynamic information, the state may change at different times. For example, the current state of the monitoring data identifier of a subtask may meet the intervention conditions at one moment, but may not meet them at another. Directly intervening when the current state of the monitoring data identifier of a subtask meets the intervention conditions may result in inaccurate intervention execution because the intervention conditions are no longer met by the time of intervention. Therefore, to improve the accuracy of intervention, this embodiment can also control the intervention by setting a cooldown period.
[0094] Optionally, to better reflect real-world monitoring scenarios, the cooldown period can be shorter than the first preset duration. For example, if the first preset duration is 5 minutes, the cooldown period can be any other duration less than 5 minutes.
[0095] In practical use, it can detect the duration for which the current state of the monitoring data of the subtask has met the intervention conditions, and whether the cooldown period has been reached. If it has, then the next step can be executed.
[0096] It should be noted that since the current status of the monitoring data identifier of the subtask may change at different times, if the intervention conditions are met in the previous period but the duration has not reached the cooldown period, and the monitoring data changes at the current time, the current status of the monitoring data identifier of the subtask no longer meets the intervention conditions, the duration is reset to zero. The duration will be recalculated when the current status of the monitoring data identifier of the subtask meets the intervention conditions next time.
[0097] S310. Obtain the agent's persona type; execute step S311.
[0098] S311. Based on the agent's persona type, obtain the intervention strategy corresponding to the pre-configured intervention conditions; execute step S312.
[0099] S312. Execute the intervention operation according to the intervention strategy corresponding to the pre-configured intervention conditions; end.
[0100] S313. Check whether the current state of the monitoring data identifier of the detection subtask has deteriorated. If it has deteriorated, proceed to step S310; otherwise, if it has not deteriorated, return to step S308 to continue the detection.
[0101] For example, in this embodiment, detecting whether the current state of the monitoring data identifier of the subtask has deteriorated may specifically include: using an agent to detect whether the confidence level of the current state of the monitoring data identifier of the subtask has increased by a preset percentage to meet the intervention conditions; if so, it is determined that the state has deteriorated; otherwise, it has not deteriorated. Alternatively, the agent may analyze whether the current state has deteriorated based on the monitoring data of the subtask collected at multiple consecutive time points; if it has deteriorated, the intervention operation can be performed directly according to the preset intervention conditions without waiting for a preset cooldown period.
[0102] This step allows for mandatory intervention when the duration of the intervention condition has not reached the preset cooldown period, but the state deteriorates. This enables timely intervention, further improves intervention efficiency, prevents the state from deteriorating further, and thus effectively improves the accuracy and efficiency of the agent's task processing.
[0103] The agent-based task processing method in this embodiment adopts the above approach. By detecting whether the intervention strategy corresponding to the pre-configured intervention conditions is followed within a period of a first preset time before the current moment, precise intervention control is carried out, which effectively improves the accuracy of intervention in sub-task monitoring, and thus effectively improves the accuracy and efficiency of the agent in task processing.
[0104] Furthermore, by detecting the current state of the monitoring data of the subtask and determining the duration of the intervention conditions, as well as whether the preset cooldown period has been reached, precise intervention control can be achieved. This can effectively improve the accuracy of intervention in subtask monitoring, and consequently, effectively improve the accuracy and efficiency of the intelligent agent in task processing.
[0105] Figure 4 This is a schematic diagram according to the fourth embodiment of the present disclosure; this embodiment provides a task processing device 400 based on an intelligent agent, applied in an intelligent agent, including:
[0106] Module 401 is used to acquire task instructions;
[0107] The identification module 402 is used to employ an intelligent agent to identify whether the response mode of the task instruction is an active monitoring mode or a passive response mode.
[0108] The splitting module 403 is used to split the task instruction into multiple sub-tasks using the intelligent agent when the response mode of the task instruction adopts the active monitoring mode.
[0109] The monitoring module 404 is used to monitor the multiple sub-tasks using the intelligent agent.
[0110] The agent-based task processing device 400 in this embodiment achieves the same implementation principle and technical effect as the above-mentioned related method embodiments by using the above-mentioned modules. For details, please refer to the description of the above-mentioned related method embodiments, which will not be repeated here.
[0111] Figure 5 This is a schematic diagram according to the fifth embodiment of the present disclosure; the agent-based task processing device 500 of this embodiment, in the above... Figure 4 Based on the technical solutions of the illustrated embodiments, the technical solutions of this disclosure will be described in further detail. For example... Figure 5 As shown, the agent-based task processing device 500 of this embodiment includes the above-described... Figure 4 The modules with the same name and function shown are: acquisition module 501, identification module 502, splitting module 503, and monitoring module 504.
[0112] Specifically, in this embodiment, the identification module 502 is used for:
[0113] The intelligent agent is used to identify the intent of the task instruction;
[0114] The intelligent agent, based on the intent, identifies the response mode of the task instruction and adopts either an active monitoring mode or a passive response mode.
[0115] Further optionally, in one embodiment of this disclosure, the splitting module 503 is used for:
[0116] Obtain multiple dimensions from proactive monitoring;
[0117] Using the aforementioned intelligent agent, the task instruction is broken down into multiple sub-tasks based on the aforementioned multiple dimensions.
[0118] Further optionally, in one embodiment of this disclosure, the splitting module 503 is used for:
[0119] The multiple dimensions of actively monitored user input are obtained; or
[0120] The intelligent agent generates the multiple dimensions for proactive monitoring based on the task instructions.
[0121] Further optional, such as Figure 5 As shown, in one embodiment of this disclosure, the monitoring module 504 includes:
[0122] The calling unit 5041 is used to use the intelligent agent to call the monitoring model corresponding to each of the multiple subtasks to monitor the subtasks;
[0123] The acquisition unit 5042 is used to acquire the current monitoring data of each of the sub-tasks using an intelligent agent.
[0124] The monitoring unit 5043 is used to monitor the current state of the monitoring data identifier of each subtask using the intelligent agent, and whether the preset intervention conditions have been met.
[0125] The acquisition unit 5042 is further configured to, for each of the sub-tasks, in response to the detection of the current state of the monitoring data identifier of the current moment of the sub-task, and when the preset intervention condition is met, acquire the intervention strategy corresponding to the pre-configured intervention condition.
[0126] The execution unit 5044 is used to employ the intelligent agent to perform intervention operations according to the intervention strategy.
[0127] Further, optionally, in one embodiment of this disclosure, the monitoring unit 5043 is also used for:
[0128] It detects and determines that within a first preset time period prior to the current moment, no intervention operation has been performed in accordance with the pre-configured intervention strategy.
[0129] Further optionally, in one embodiment of this disclosure, the acquisition unit 5042 is also used for:
[0130] In response to the current state of the monitoring data identifier of the subtask at the current moment, when the preset intervention conditions are met, the type of the agent's persona is obtained;
[0131] Based on the agent's persona type, obtain the intervention strategy corresponding to the intervention conditions.
[0132] Further, optionally, in one embodiment of this disclosure, the monitoring unit 5043 is also used for:
[0133] The current status of the monitoring data identifier of the subtask at the current moment is detected and determined, the duration of the intervention condition is met, and the duration of the preset cool-down period is reached.
[0134] Further, optionally, in one embodiment of this disclosure, the monitoring unit 5043 is also used for:
[0135] In response to the detection that the current state of the monitoring data identifier of the subtask at the current moment meets the intervention condition and the duration does not reach the preset cooldown period, but the current state of the monitoring data identifier of the subtask at the current moment is detected and determined to have deteriorated, the execution unit 5044 is triggered to start, and then the execution unit uses the intelligent agent to perform the intervention operation according to the pre-configured intervention strategy.
[0136] Further optionally, in one embodiment of this disclosure, the monitoring unit 5043 is configured to determine that the current state of the monitoring data identifier of the subtask has deteriorated when the current state of the monitoring data identifier of the subtask at the current moment reaches a preset percentage increase in confidence of the intervention condition, using the intelligent agent to detect and determine that the current state of the monitoring data identifier of the subtask at the current moment has deteriorated.
[0137] The agent-based task processing device 500 in this embodiment achieves the same implementation principle and technical effect as the above-mentioned related method embodiments by using the above-mentioned modules. For details, please refer to the description of the above-mentioned related method embodiments, which will not be repeated here.
[0138] The collection, acquisition, storage, use, processing, transmission, application, provision, and disclosure of any type of information, such as user personal information, in this technical solution comply with relevant laws and regulations and do not violate public order and good morals.
[0139] According to embodiments of this disclosure, this disclosure also provides an electronic device, a readable storage medium, and a computer program product.
[0140] Figure 6 A schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0141] like Figure 6 As shown, device 600 includes a computing unit 601, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 602 or a computer program loaded into random access memory (RAM) 603 from storage unit 608. RAM 603 may also store various programs and data required for the operation of device 600. The computing unit 601, ROM 602, and RAM 603 are interconnected via bus 604. Input / output (I / O) interface 605 is also connected to bus 604.
[0142] Multiple components in device 600 are connected to I / O interface 605, including: input unit 606, such as keyboard, mouse, etc.; output unit 607, such as various types of monitors, speakers, etc.; storage unit 608, such as disk, optical disk, etc.; and communication unit 609, such as network card, modem, wireless transceiver, etc. Communication unit 609 allows device 600 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0143] The computing unit 601 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 601 performs the various methods and processes described above, such as the methods of this disclosure. For example, in some embodiments, the methods of this disclosure may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on device 600 via ROM 602 and / or communication unit 609. When the computer program is loaded into RAM 603 and executed by the computing unit 601, one or more steps of the methods of this disclosure described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the methods of this disclosure by any other suitable means (e.g., by means of firmware).
[0144] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0145] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0146] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0147] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0148] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0149] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.
[0150] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0151] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A task processing method based on intelligent agents, comprising: Get task instructions; An intelligent agent is used to identify the response mode of the task command, which can be either an active monitoring mode or a passive response mode. When the response mode of the task instruction adopts the active monitoring mode, the intelligent agent is used to split the task instruction into multiple sub-tasks; The intelligent agent is used to monitor the multiple sub-tasks.
2. The method according to claim 1, wherein, An intelligent agent is employed to identify the response mode of the task command, which may be an active monitoring mode or a passive response mode, including: The intelligent agent is used to identify the intent of the task instruction; The intelligent agent, based on the intent, identifies the response mode of the task instruction and adopts either an active monitoring mode or a passive response mode.
3. The method according to claim 1, wherein, The intelligent agent is used to break down the task instruction into multiple subtasks, including: Obtain multiple dimensions from proactive monitoring; Using the aforementioned intelligent agent, the task instruction is broken down into multiple sub-tasks based on the aforementioned multiple dimensions.
4. The method according to claim 3, wherein, Obtain multiple dimensions from proactive monitoring, including: The multiple dimensions of actively monitored user input are obtained; or The intelligent agent generates the multiple dimensions for proactive monitoring based on the task instructions.
5. The method according to claim 1, wherein, The intelligent agent is used to monitor the multiple sub-tasks, including: The intelligent agent invokes the monitoring model corresponding to each of the multiple subtasks to monitor the subtasks; For each of the sub-tasks, an intelligent agent is used to obtain the monitoring data of each sub-task at the current moment; For each of the sub-tasks, the intelligent agent monitors the current state of the monitoring data identifier of the sub-task at the current moment to determine whether the preset intervention conditions have been met. For each of the subtasks, in response to the current state of the monitoring data identifier of the subtask at the current moment being detected, when the preset intervention condition is met, the intervention strategy corresponding to the pre-configured intervention condition is obtained; The intelligent agent is used to perform intervention operations according to the intervention strategy.
6. The method according to claim 5, wherein, In response to the detection of the current state of the monitoring data identifier of the subtask at the current moment, and before obtaining the pre-configured intervention strategy corresponding to the intervention condition when a preset intervention condition is met, the method further includes: It detects and determines that within a first preset time period prior to the current moment, no intervention operation has been performed in accordance with the pre-configured intervention strategy.
7. The method according to claim 5, wherein, In response to the current state of the monitoring data identifier of the subtask being detected at the current moment, when a preset intervention condition is met, the intelligent agent executes an intervention operation according to a pre-configured intervention strategy, including: In response to the current state of the monitoring data identifier of the subtask at the current moment, when the preset intervention conditions are met, the type of the agent's persona is obtained; Based on the agent's persona type, obtain the intervention strategy corresponding to the intervention conditions; Perform the intervention operation according to the obtained intervention strategy.
8. The method according to claim 5, wherein, In response to the detection of the current state of the monitoring data identifier of the subtask at the current moment, when a preset intervention condition is met, the method further includes, before the agent performs the intervention operation according to the pre-configured intervention strategy: The current status of the monitoring data identifier of the subtask at the current moment is detected and determined, the duration of the intervention condition is met, and the duration of the preset cool-down period is reached.
9. The method according to claim 8, wherein, In response to the detection that the current state of the monitoring data identifier of the subtask at the current moment reaches a preset intervention condition, the agent performs an intervention operation according to a pre-configured intervention strategy, further comprising: In response to the detection that the current state of the monitoring data identifier of the subtask at the current moment meets the intervention condition and the duration does not reach the preset cooldown period, but the current state of the monitoring data identifier of the subtask at the current moment is detected and determined to have deteriorated, the agent is used to perform the intervention operation according to the pre-configured intervention strategy.
10. The method according to claim 9, wherein, Detecting and determining that the current state of the monitoring data identifier of the subtask has deteriorated at the current moment includes: The confidence level of the current state of the monitoring data identifier of the subtask at the current moment is increased by a preset percentage when the intelligent agent detects and determines that the current state meets the intervention condition.
11. A task processing device based on an intelligent agent, comprising: The acquisition module is used to acquire task instructions; The identification module is used to identify, using an intelligent agent, whether the response mode of the task instruction is an active monitoring mode or a passive response mode. The splitting module is used to split the task instruction into multiple sub-tasks using the agent when the response mode of the task instruction adopts the active monitoring mode. A monitoring module is used to monitor the multiple sub-tasks using the intelligent agent.
12. An electronic device, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1-10.
13. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-10.
14. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method according to any one of claims 1-10.
