A task processing method and apparatus

By processing operational data to generate target tasks and task execution plans, and converting them into structured execution instructions, the problem of insufficient collaboration mechanism in task processing of RPA and AI large model technologies is solved, thereby improving the degree of automation and execution efficiency.

CN123137828APending Publication Date: 2026-11-20BEIJING JINGDONG QIANSHITECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611307677.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-26
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing RPA and AI large model technologies lack effective coordination mechanisms in task processing, resulting in a disconnect between decision-making and execution, and low levels of automation and execution efficiency.

Method used

By processing operational data to generate target tasks and task execution plans, and converting them into structured execution instructions, a collaborative mechanism between decision processing and task execution is established, enabling the automatic conversion and execution of intelligent decision results into executable tasks.

Benefits of technology

It improves the automation level and execution efficiency of task processing, enabling intelligent decision-making results to directly drive automated execution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123137828A_ABST
    Figure CN123137828A_ABST
Patent Text Reader

Abstract

The application discloses a task processing method and device, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps: generating a target task corresponding to an application and a task execution scheme of the target task based on collected to-be-processed operation data of the application; converting the task execution scheme into a structured execution instruction; and executing the structured execution instruction to process the target task. In this embodiment, the target task and the task execution scheme are generated by performing decision processing on the to-be-processed operation data, the task execution scheme is converted into a structured execution instruction for execution, a cooperative mechanism between decision processing and task execution is established, automatic conversion and execution of an intelligent decision result into an executable task are realized, the decision result can directly drive automatic execution, and the automation degree and execution efficiency of task processing are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a task processing method and apparatus. Background Technology

[0002] Existing applications primarily rely on RPA (Robotic Process Automation) and AI big data modeling technologies to complete business processes. While RPA can perform repetitive operations such as group creation and message pushing according to preset rules and can simulate basic human tasks, it lacks intelligent decision-making capabilities. Although AI big data models possess user intent understanding, content generation, and intelligent decision-making capabilities, they struggle to directly drive automated execution. The lack of an effective coordination mechanism between the two leads to a disconnect between decision-making and execution, resulting in low levels of automation and low execution efficiency. Summary of the Invention

[0003] In view of this, embodiments of the present invention provide a task processing method and apparatus, which generates target tasks and task execution plans by performing decision processing on operational data to be processed, and converts the task execution plans into structured execution instructions for execution, thereby establishing a collaborative mechanism between decision processing and task execution, realizing the automatic conversion and execution of intelligent decision results into executable tasks, enabling task decision results to directly drive automated execution, and improving the automation level and execution efficiency of task processing.

[0004] To achieve the above objectives, according to one aspect of the present invention, a task processing method is provided, comprising: Based on the collected operational data of the application to be processed, generate the target tasks and their execution plans for the application. Convert the task execution plan into structured execution instructions; Execute structured execution instructions to process the target task.

[0005] Optionally, based on the collected operational data to be processed from the application, the target tasks and their execution plans for the application are generated, including: Determine business target data based on the application's pending operational data; Generate a candidate task queue based on business objective data, and determine the task cycle information corresponding to each candidate objective task in the candidate task queue. Based on the task cycle information corresponding to each candidate target task, the task priority corresponding to each candidate target task is determined. Based on the task priority of each candidate target task, generate the target task and its execution plan for the application.

[0006] Optionally, based on the collected operational data to be processed from the application, the target tasks and their execution plans for the application are generated, including: Determine real-time user behavior data based on application-specific operational data; Based on real-time user behavior data and pre-acquired historical behavior data, a real-time user profile is constructed. Determine the corresponding real-time operation plan for each user based on real-time user profile information; Generate the target tasks and their execution plans for the application based on the real-time operation plan.

[0007] Optionally, based on the collected operational data to be processed from the application, the target tasks and their execution plans for the application are generated, including: The interactive content data is determined based on the application's pending operational data; Perform risk identification processing on the interactive content data to determine the risk identification results corresponding to the interactive content data; The risk level corresponding to the interactive content data is determined based on the risk identification results corresponding to the interactive content data. Based on the risk level corresponding to the interactive content data, risk disposal tasks and risk handling strategies are generated, and the risk disposal tasks and risk handling strategies are determined as the target tasks and task execution plans of the application.

[0008] Optionally, structured execution instructions are executed to process the target task, including: Detect whether the target task has a corresponding preset execution protocol interface; In response to the target task having a corresponding preset execution protocol interface, the preset execution protocol interface is used to execute structured execution instructions to process the target task; In response to the fact that the target task does not have a corresponding preset execution protocol interface, the preset automated execution service is used to execute structured execution instructions to process the target task.

[0009] Optionally, after executing structured execution instructions to process the target task, the process also includes: Collect execution feedback information corresponding to the target task; the execution feedback information includes execution status information, abnormal execution information, and operation log information. Update the pending operational data for the application based on the execution feedback information; Optimize target tasks and their execution plans based on the updated operational data to be processed.

[0010] According to a second aspect of the present invention, a task processing apparatus is provided, comprising: The generation module is used to generate the target tasks and their execution plans for the application based on the collected operational data to be processed by the application. The conversion module is used to convert task execution plans into structured execution instructions; The execution module is used to execute structured execution instructions to process the target task.

[0011] According to a third aspect of the present invention, an electronic device is provided, comprising: One or more processors; Memory, used to store one or more programs. When one or more programs are executed by one or more processors, the one or more processors implement the methods of any of the above embodiments.

[0012] According to a fourth aspect of the present invention, a computer-readable medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method of any of the above embodiments.

[0013] According to a fifth aspect of the present invention, a computer program product is provided, including a computer program that, when executed by a processor, implements the method of any of the above embodiments.

[0014] One embodiment of the above invention has the following advantages or beneficial effects: It generates target tasks and their execution plans corresponding to the application based on the collected operational data to be processed; it converts the task execution plans into structured execution instructions; and it executes the structured execution instructions to process the target tasks. This embodiment generates target tasks and task execution plans by performing decision processing on the operational data to be processed, and then converts the task execution plans into structured execution instructions for execution. This establishes a collaborative mechanism between decision processing and task execution, realizing the automatic conversion and execution of intelligent decision results into executable tasks. This allows task decision results to directly drive automated execution, improving the automation level and execution efficiency of task processing.

[0015] The further effects of the aforementioned unconventional alternative methods will be explained below in conjunction with specific implementation methods. Attached Figure Description

[0016] The accompanying drawings are provided to better understand the invention and are not intended to unduly limit the scope of the invention. Wherein: Figure 1 This is a schematic diagram of the main flow of the task processing method according to an embodiment of the present invention; Figure 2 This is a schematic diagram of the main flow of a task processing method according to a preferred embodiment of the present invention; Figure 3This is a schematic diagram of the main modules of a task processing device according to an embodiment of the present invention; Figure 4 This is an exemplary system architecture diagram in which embodiments of the present invention can be applied; Figure 5 This is a schematic diagram of the structure of a computer system suitable for implementing terminal devices or servers of the present invention. Detailed Implementation

[0017] The following description, in conjunction with the accompanying drawings, illustrates exemplary embodiments of the present invention, including various details to aid understanding. These details 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 the invention. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0018] It should be noted that the acquisition, storage, and application of personal information involved in the embodiments of the present invention comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0019] Existing applications primarily rely on RPA (Robotic Process Automation) and AI big data modeling technologies to complete business processes. While RPA can perform repetitive operations such as group creation and message pushing according to preset rules and can simulate basic human tasks, it lacks intelligent decision-making capabilities. Although AI big data models possess user intent understanding, content generation, and intelligent decision-making capabilities, they struggle to directly drive automated execution. The lack of an effective coordination mechanism between the two leads to a disconnect between decision-making and execution, resulting in low levels of automation and low execution efficiency.

[0020] In view of this, according to one aspect of the present invention, a task processing method is provided.

[0021] Figure 1 This is a schematic diagram of the main flow of a task processing method according to an embodiment of the present invention. Figure 1 As shown, the task processing method according to an embodiment of the present invention includes the following steps S101 to S103.

[0022] Step S101: Based on the collected operational data to be processed from the application, generate the target task and its execution plan corresponding to the application.

[0023] In this embodiment, the application can be a WeChat Work client, a customer relationship management platform, a community operation platform, a marketing automation platform, or other business systems with automated operation needs. The operational data to be processed can include user behavior data, chat interaction data, task execution history data, and business rule data; among which, user behavior data includes behavioral information such as clicks, browsing, adding friends, joining groups, leaving groups, and replying to messages, and chat interaction data includes interactive content such as text, images, and voice.

[0024] First, the collected operational data to be processed undergoes data cleaning, format standardization, and feature extraction. Then, a comprehensive analysis of the processed operational data is performed using a pre-defined decision model to determine the operational needs of the current application. Based on the analysis results, corresponding target tasks are generated, and for each target task, information such as the execution object, execution time, execution order, execution constraints, and exception handling strategies are configured, thereby generating a task execution plan for the target task.

[0025] In another implementation, a target business scenario corresponding to the current operational data to be processed can be matched according to a preset business template, and a target task and task execution plan can be automatically generated in combination with the strategy template corresponding to the scenario to meet the automated operation needs under different application scenarios.

[0026] Step S102: Convert the task execution plan into structured execution instructions.

[0027] In this embodiment, the task execution scheme is an executable processing scheme generated for the target task, used to describe the execution flow and requirements of the target task. Structured execution instructions are data instructions that can be directly recognized and invoked by the task execution layer. They can use a preset data organization format to store task execution information, such as key-value pairs, object descriptions, or other standardized data formats, encapsulating various execution information items according to unified fields so that the task execution layer can parse and execute them.

[0028] First, the task execution plan is parsed to extract information such as task type, execution object, execution parameters, and execution constraints. Then, according to preset field mapping rules, each task information item is mapped to its corresponding data field, generating a structured execution instruction with a unified structure. Alternatively, based on a pre-established instruction template library, template matching can be performed on the task execution plan to determine the target instruction template corresponding to the current task execution plan. The task information from the task execution plan is then filled into the corresponding fields of the target instruction template to generate a structured execution instruction. Furthermore, based on the dependencies and execution order between various target tasks, multiple task execution plans can be split, merged, and reorganized to encapsulate multiple consecutively executed target tasks into a set of structured execution instructions, reducing the number of instruction parsing operations and improving the efficiency of subsequent task execution.

[0029] Step S103: Execute structured execution instructions to process the target task.

[0030] In this embodiment, the corresponding task execution unit is invoked according to the structured execution instruction. The structured execution instruction is decomposed into multiple executable atomic operations, which are then completed sequentially according to a preset execution order to process the target task. During execution, the execution status of each atomic operation is monitored in real time. When the completion of an atomic operation is detected, subsequent atomic operations continue to be executed. When an execution exception is detected, retry, skipping, or termination is performed according to the exception handling strategy carried in the structured execution instruction, and corresponding execution feedback information is generated. In another embodiment, the target execution engine can be determined from multiple available execution engines based on the resource requirement information and execution constraint information in the structured execution instruction, and the structured execution instruction can be distributed to the target execution engine for processing. Alternatively, multiple structured execution instructions can be sorted and scheduled according to the task priority and task dependencies in the structured execution instruction, and the target task can be processed using serial execution, parallel execution, or hybrid execution methods. After the target task is processed, execution result information is generated for subsequent task scheduling and strategy optimization.

[0031] This embodiment generates target tasks and their execution plans based on collected operational data to be processed from the application; it then converts the task execution plans into structured execution instructions and executes these instructions to process the target tasks. By generating target tasks and task execution plans through decision processing of operational data to be processed, and converting the task execution plans into structured execution instructions for execution, this embodiment establishes a collaborative mechanism between decision processing and task execution. This achieves the automatic conversion and execution of intelligent decision results into executable tasks, enabling task decision results to directly drive automated execution and improving the automation level and execution efficiency of task processing.

[0032] Optionally, based on the collected operational data to be processed from the application, the target tasks and their execution plans for the application are generated, including: determining business target data based on the operational data to be processed from the application; generating a candidate task queue based on the business target data, and determining the task cycle information corresponding to each candidate target task in the candidate task queue; determining the task priority corresponding to each candidate target task based on the task cycle information corresponding to each candidate target task; and generating the target tasks and their execution plans for the application based on the task priority corresponding to each candidate target task.

[0033] In this embodiment, the application's pending operational data is first analyzed to determine the current business target data, such as new customer conversion rate. Then, a candidate task queue is generated based on the business target data and preset task rules. For each candidate target task, information such as task execution cycle, resource consumption, and business timeliness is analyzed to obtain the task cycle information for each candidate target task. Further, the task priority of each candidate target task is calculated based on the task cycle information, giving higher priority to candidate target tasks with shorter task cycles, higher business timeliness, or higher resource requirements. Target tasks are then filtered according to task priority, and corresponding execution objects, execution parameters, execution time, and exception handling strategies are configured to generate target tasks and their execution plans. By prioritizing and coordinating resources for candidate target tasks, task scheduling efficiency can be improved, resource conflicts reduced, critical tasks ensured to be executed first, and the overall operational efficiency of the application improved.

[0034] Optionally, based on the collected application's pending operational data, the target tasks and their execution plans for the application are generated, including: determining the user's real-time behavior data based on the application's pending operational data; constructing the user's real-time profile information based on the user's real-time behavior data and pre-acquired historical behavior data; determining the user's real-time operational plan based on the real-time profile information; and generating the application's target tasks and their execution plans based on the real-time operational plan.

[0035] In this embodiment, the application's operational data to be processed is first parsed and processed to extract user behavior information such as browsing, clicking, message interaction, adding friends, joining groups, and purchasing, obtaining real-time user behavior data. This real-time user behavior data is then correlated with pre-acquired historical behavior data to integrate user interests, activity levels, spending power, interaction habits, and conversion tendencies, constructing a real-time user profile. Further, corresponding operational strategy rules are matched based on the user's real-time profile information to determine the user's corresponding real-time operational plan, and target tasks and their execution plans are generated based on the real-time operational plan. By dynamically updating the user profile by combining real-time and historical behavior data, the targeting and accuracy of operational strategies can be improved, enabling precise task generation and enhancing user operation effectiveness and task processing efficiency. In another embodiment, the user's business scenario can be identified based on the operational data to be processed, and corresponding operational strategies can be automatically matched using a preset scenario strategy library to further generate target tasks and their execution plans, thereby improving the adaptability and flexibility of task generation under different business scenarios.

[0036] Optionally, based on the collected operational data to be processed from the application, a target task and its execution plan corresponding to the application are generated, including: determining interactive content data based on the operational data to be processed from the application; performing risk identification processing on the interactive content data to determine the risk identification result corresponding to the interactive content data; determining the risk level corresponding to the interactive content data based on the risk identification result corresponding to the interactive content data; generating risk disposal tasks and risk handling strategies based on the risk level corresponding to the interactive content data, and determining the risk disposal tasks and risk handling strategies as the target task and its execution plan corresponding to the application.

[0037] In this embodiment, the application's operational data to be processed is parsed and processed to extract interactive content data such as chat messages, image content, voice content, and user operation records. Then, risk identification processing is performed on the interactive content data, combining preset risk rules and content recognition models to identify violations, abnormal behaviors, and potential risk events, obtaining the risk identification results corresponding to the interactive content data. Further, based on the risk identification results, the corresponding risk level is determined by comprehensively considering factors such as violation type, scope of impact, frequency of occurrence, and historical risk records. Based on the risk level, corresponding risk handling tasks and risk management strategies are generated. Risk handling tasks may include message deletion, user muting, user removal, group control, or manual review; risk management strategies include execution priority, execution method, and anomaly handling strategies. Finally, the risk handling tasks and risk management strategies are determined as the application's target tasks and their execution plans. By automatically identifying, classifying, and differentiating the handling of interactive content data, rapid response and precise governance of risk events are achieved, improving operational security and automated processing efficiency. In addition, the overall operational risk can be comprehensively assessed based on information such as account status, historical violation records, and group activity in the operational data to be processed, and risk disposal tasks and task execution plans can be dynamically generated accordingly to improve the comprehensiveness and adaptability of risk prevention and control.

[0038] Optionally, executing structured execution instructions to process the target task includes: detecting whether the target task has a corresponding preset execution protocol interface; in response to the target task having a corresponding preset execution protocol interface, executing structured execution instructions using the preset execution protocol interface to process the target task; and in response to the target task not having a corresponding preset execution protocol interface, executing structured execution instructions using a preset automated execution service to process the target task.

[0039] In this embodiment, a preset protocol interface mapping table is queried based on structured execution instructions to detect whether the target task has a corresponding preset execution protocol interface. When the target task has a corresponding preset execution protocol interface, an interface request is constructed based on the interface address, authentication information, and calling parameters in the structured execution instructions. The preset execution protocol interface is then invoked to complete the target task processing, and the execution result is recorded. When the target task does not have a corresponding preset execution protocol interface, a preset automated execution service is invoked. Automated operations such as clicking, inputting, swiping, or confirming are performed according to the interface elements, operation sequence, and input parameters in the structured execution instructions to complete the target task processing. By prioritizing the use of preset execution protocol interfaces to execute target tasks and switching to preset automated execution services when a preset execution protocol interface is lacking, the above dual-channel execution architecture can balance execution efficiency and task coverage, improving the stability and adaptability of task execution.

[0040] Optionally, after executing structured execution instructions to process the target task, the process further includes: collecting execution feedback information corresponding to the target task; wherein the execution feedback information includes execution status information, abnormal execution information, and operation log information; updating the pending operation data of the application based on the execution feedback information; and optimizing the target task and its task execution plan based on the updated pending operation data.

[0041] In this embodiment, after the target task is completed, execution feedback information corresponding to the target task is collected in real time. This feedback information includes execution status information (whether the task was successfully executed), abnormal execution information generated during execution, and operation log information recording the execution process. The execution feedback information is summarized and analyzed, associating the execution status information, abnormal execution information, and operation log information with the corresponding target task. The application's corresponding pending operational data is then updated to reflect the latest task execution results and current operational status. Furthermore, based on the updated pending operational data, decision-making is re-processed, re-analyzing business objectives, user status, or resource status to generate updated target tasks and their execution plans to drive subsequent task execution. By constructing a closed-loop mechanism of execution feedback, data updates, and re-decision-making, task execution results can be continuously fed back to the decision-making process, enabling dynamic adjustments to task strategies and improving the accuracy, continuity, and adaptability of task processing. In another embodiment, the execution success rate, anomaly rate and resource utilization rate of various target tasks can be statistically analyzed based on the execution feedback information. Combined with historical execution data, the task execution rules and resource allocation strategies can be optimized to further generate target tasks and task execution plans that are more in line with the current business status, thereby improving overall operational efficiency and system stability.

[0042] This embodiment provides an intelligent operation system based on the collaboration of artificial intelligence decision-making and automated execution. This system constructs a closed-loop architecture encompassing "perception—decision-collaboration—execution—feedback—optimization" to achieve intelligent generation, automated execution, and continuous optimization of application operation tasks. This system can be applied to enterprise WeChat private domain operation scenarios, as well as other application scenarios requiring user operations, business outreach, risk management, and automated task processing.

[0043] Figure 2 This is a schematic diagram of the main flow of a task processing method according to a preferred embodiment of the present invention. Figure 2 As shown, this embodiment includes perception, decision-making, collaboration, execution, optimization, and feedback stages, forming a complete closed loop throughout the entire process. The method of this embodiment can be applied to intelligent operation systems, which include an artificial intelligence decision-making layer (AI decision-making layer), an automated execution layer (RPA execution layer), and a collaborative control and optimization layer.

[0044] This embodiment acquires the operational data to be processed corresponding to the application through the perception phase. Specifically, it collects user behavior data, chat interaction data, group operation data, and other information through the WeChat Work client layer. User behavior data can include data on user browsing, clicking, adding friends, joining groups, leaving groups, message replies, and transaction behavior. Chat interaction data can include text, image, and voice messages. Group operation data can include information such as the number of group members, group activity status, message interaction frequency, and group management records. The WeChat Work client layer serves as the data collection entry point and task execution carrier, providing real-time operational data to subsequent processing units and handling business operations such as group creation, adding members, kicking members, and message push.

[0045] During the decision-making phase, an AI-powered decision-making layer analyzes and processes the collected operational data to generate corresponding target tasks and task execution plans. This AI-driven decision-making layer includes intelligent construction units, intelligent operation units, and intelligent risk control units.

[0046] The intelligent construction unit is used to generate dynamic task queues based on business objectives and to schedule resources according to task priorities. For example, when the operational objective is to improve message reach or complete a specified number of user outreach tasks, the AI ​​decision-making layer can generate multiple candidate tasks based on business objective data and use a task scheduling algorithm to determine the execution priority of each task. In one implementation, the task scheduling algorithm can adopt a priority scheduling method based on task cycle information. The task priority is determined according to the execution cycle of the candidate tasks; the shorter the task cycle, the higher the corresponding task priority, thereby ensuring that tasks with high timeliness are executed first and improving the efficiency of task resource utilization.

[0047] The intelligent operations unit generates personalized operational strategies based on users' real-time status. It constructs real-time user profiles by analyzing real-time and historical user behavior data. Real-time user behavior data includes browsing, clicking, message interaction, purchasing, and activity participation, while historical behavior data includes historical access records, transaction records, interaction records, and marketing response records. Feature fusion based on real-time and historical behavior data yields user characteristics such as interests, consumption tendencies, activity levels, and conversion probabilities, and corresponding real-time operational plans are generated based on these profiles. For example, the AI ​​decision-making layer can generate different message push strategies, promotional activity strategies, or user maintenance strategies for different user groups, and further generate corresponding target tasks and task execution plans. During user profile generation, a combination of retrieval-enhanced generation and streaming data processing can be used to achieve dynamic updates to the user profiles. Specifically, the latest user behavior data is acquired in real time through the streaming data processing unit, and historical user data, business knowledge data, and external data sources are called through the retrieval enhancement generation module to perform correlation analysis on the real-time behavior data. At the same time, the vector database can be used to store the user's historical feature information, and the historical features related to the current user behavior can be quickly obtained through vector retrieval. The updated user profile information is then generated by combining the real-time features, thereby realizing the rapid perception of user status and the dynamic adjustment of operational strategies.

[0048] The intelligent risk control unit is used to identify and automatically handle risks in interactive content during operations. It can acquire interactive content data such as group chat text, images, and voice messages from the WeChat Work client layer, and use natural language processing models to perform semantic analysis on the text content to identify potential violations or abnormal behaviors. For image content, it can extract text information from the image using image text recognition technology and analyze it in conjunction with the risk identification model. For voice content, it can convert the voice into text and then perform risk detection. Based on the risk identification results, the corresponding risk level is determined, and corresponding risk handling tasks and strategies are generated. For example, for high-risk content, tasks such as user banning, group closure, or manual review can be generated; for medium-risk content, tasks such as user muting or operation restriction can be generated; and for low-risk content, reminder or warning tasks can be generated, achieving tiered handling based on different risk levels.

[0049] In the collaboration phase, the collaborative control and optimization layer facilitates information conversion and task coordination between the AI ​​decision-making layer and the automated execution layer. Since the task execution plan output by the AI ​​decision-making layer may be in natural language or policy description form, which cannot be directly recognized by the automated execution unit, the instruction parser in the collaborative control and optimization layer analyzes the task execution plan, extracting information such as task type, execution object, execution parameters, execution time, and execution constraints, and converting it into structured execution instructions. These structured execution instructions can be stored using a preset data format, such as describing the task type through an object field and the specific execution content through a parameter field, enabling the automated execution unit to directly parse and execute the corresponding task.

[0050] During the execution phase, structured execution instructions are executed through an automated execution layer to complete the target task processing. The automated execution layer includes a task execution engine, a cloud server cluster, an atomic operation library, and a risk management unit, among others. The task execution engine parses the structured execution instructions and calls the corresponding execution components to complete the specific operations; the cloud server cluster provides multiple automated execution nodes to enable parallel processing of multiple tasks; the atomic operation library stores basic operational capabilities such as group creation, adding members, kicking members, sending messages, and user management; and the risk management unit executes corresponding risk control operations based on risk management tasks. In one implementation, the automated execution layer adopts a dual-channel execution architecture combining protocol-level interfaces and automated interface operations. When the target task has a corresponding preset execution protocol interface, the preset execution protocol interface is called first to complete the task processing, improving execution efficiency and stability; when the target task does not have a corresponding preset execution protocol interface, the automated execution service is called to complete the target task processing by simulating user operations, thereby expanding the task coverage and improving system compatibility. During task execution, execution resources can also be dynamically allocated through a resource scheduling mechanism. For example, the automated execution layer can determine the target execution account or node based on the current load status, historical execution success rate, and remaining number of executable tasks of multiple execution accounts, and send structured execution instructions to the corresponding execution node for execution. Simultaneously, a token bucket algorithm can be used to limit the task execution frequency, and random time intervals can be used to control continuous operation behavior, thereby reducing platform risks caused by high-frequency operations and improving the stability of automated execution.

[0051] During the feedback phase, the collaborative control and optimization layer collects execution feedback information corresponding to the target task in real time. Execution feedback information can include execution status information, abnormal execution information, and operation log information, etc. Specifically, execution status information records whether the task is completed, execution time, and execution result; abnormal execution information records the reasons for execution failure, such as insufficient resources, execution timeout, or account abnormalities; and operation log information records the specific operations performed during task execution.

[0052] During the optimization phase, anomalies are handled or the target tasks and task execution plans are iteratively processed based on execution feedback information. For example, the generation method of subsequent target tasks can be adjusted based on task execution success rate, user response, risk handling effectiveness, and resource utilization. At the same time, reinforcement learning can be used to use task execution results as feedback signals to optimize the artificial intelligence decision-making model, enabling the system to continuously improve decision accuracy based on historical execution results.

[0053] This preferred embodiment constructs an intelligent operation system that deeply integrates artificial intelligence decision-making capabilities with automated execution capabilities, realizing a complete closed loop from data perception, intelligent decision-making, instruction conversion, automatic execution to feedback optimization. Compared to traditional automation solutions that rely solely on rules, this embodiment can dynamically generate tasks based on real-time operational data and drive automated execution modules to complete task processing through structured execution instructions, thus solving the problem of a technological gap between artificial intelligence decision-making and automated execution. Simultaneously, through real-time user profiling, intelligent task scheduling, multimodal risk identification, and a dual-channel execution mechanism, it improves the efficiency of operational task processing, the accuracy of user reach, and the stability of system operation, realizing the transformation of application operation processes from manual to intelligent and automated directions.

[0054] According to a second aspect of the present invention, a task processing apparatus is provided.

[0055] Figure 3 This is a schematic diagram of the main modules of a task processing device according to an embodiment of the present invention. Figure 3 As shown, the task processing device 300 includes: The generation module 301 is used to generate the target task and its task execution plan for the application based on the collected application's pending operation data. The conversion module 302 is used to convert the task execution plan into structured execution instructions; Execution module 303 is used to execute structured execution instructions to process the target task.

[0056] Optionally, the generation module 301 is also used for: Determine business target data based on the application's pending operational data; Generate a candidate task queue based on business objective data, and determine the task cycle information corresponding to each candidate objective task in the candidate task queue. Based on the task cycle information corresponding to each candidate target task, the task priority corresponding to each candidate target task is determined. Based on the task priority of each candidate target task, generate the target task and its execution plan for the application.

[0057] Optionally, the generation module 301 is also used for: Determine real-time user behavior data based on application-specific operational data; Based on real-time user behavior data and pre-acquired historical behavior data, a real-time user profile is constructed. Determine the corresponding real-time operation plan for each user based on real-time user profile information; Generate the target tasks and their execution plans for the application based on the real-time operation plan.

[0058] Optionally, the generation module 301 is also used for: The interactive content data is determined based on the application's pending operational data; Perform risk identification processing on the interactive content data to determine the risk identification results corresponding to the interactive content data; The risk level corresponding to the interactive content data is determined based on the risk identification results corresponding to the interactive content data. Based on the risk level corresponding to the interactive content data, risk disposal tasks and risk handling strategies are generated, and the risk disposal tasks and risk handling strategies are determined as the target tasks and task execution plans of the application.

[0059] Optionally, the execution module 303 is also used for: Detect whether the target task has a corresponding preset execution protocol interface; In response to the target task having a corresponding preset execution protocol interface, the preset execution protocol interface is used to execute structured execution instructions to process the target task; In response to the fact that the target task does not have a corresponding preset execution protocol interface, the preset automated execution service is used to execute structured execution instructions to process the target task.

[0060] Optionally, the task processing device 300 also includes an optimization module, which is further used for: Collect execution feedback information corresponding to the target task; the execution feedback information includes execution status information, abnormal execution information, and operation log information. Update the pending operational data for the application based on the execution feedback information; Optimize target tasks and their execution plans based on the updated operational data to be processed.

[0061] It should be noted that the specific implementation details of the task processing device of the present invention have been described in detail in the task processing method above, so the details will not be repeated here.

[0062] According to a third aspect of the present invention, an electronic device is provided, comprising: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method provided in the first aspect of the present invention.

[0063] According to a fourth aspect of the present invention, a computer-readable medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method provided in the first aspect of the present invention.

[0064] According to a fifth aspect of the present invention, a computer program product is provided, including a computer program that, when executed by a processor, implements the method provided in the first aspect of the present invention.

[0065] Figure 4 An exemplary system architecture 400 is shown that can be applied to the task processing method or task processing apparatus of the present invention.

[0066] like Figure 4 As shown, system architecture 400 may include terminal devices 401, 402, and 403, a network 404, and a server 405. Network 404 serves as the medium for providing communication links between terminal devices 401, 402, and 403 and server 405. Network 404 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc.

[0067] Users can use terminal devices 401, 402, and 403 to interact with server 405 via network 404 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 401, 402, and 403, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social media platform software, etc. (for example only).

[0068] Terminal devices 401, 402, and 403 can be various electronic devices with displays that support web browsing, including but not limited to smartphones, tablets, laptops, and desktop computers.

[0069] Server 405 can be a server that provides various services, such as a backend management server that supports shopping websites browsed by users using terminal devices 401, 402, and 403 (for example only). The backend management server can analyze and process data such as received task processing requests, and feed back the processing results (e.g., task processing results - for example only) to the terminal devices.

[0070] It should be noted that the task processing method provided in the embodiments of the present invention is generally run by server 405, and correspondingly, the task processing device is generally set in server 405.

[0071] It should be understood that Figure 4 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.

[0072] The following is for reference. Figure 5 It shows a schematic diagram of the structure of a computer system 500 suitable for implementing a terminal device of the present invention. Figure 5 The terminal device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.

[0073] like Figure 5 As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 502 or programs loaded from storage section 508 into random access memory (RAM) 503. The RAM 503 also stores various programs and data required for the operation of the system 500. The CPU 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0074] The following components are connected to I / O interface 505: an input section 506 including a keyboard, mouse, etc.; an output section 507 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, modem, etc. The communication section 509 performs communication processing via a network such as the Internet. Drive 510 is also connected to I / O interface 505 as needed. Removable media 511, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 510 as needed so that computer programs read from them can be installed into storage section 508 as needed.

[0075] In particular, according to the embodiments disclosed in this invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 509, and / or installed from removable medium 511. When the computer program is run by the central processing unit (CPU) 501, it performs the functions defined above in the system of this invention.

[0076] It should be noted that the computer-readable medium shown in this invention can be a computer-readable signal medium, a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, 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 device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this invention, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit programs for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0077] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more operable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually operate substantially in parallel, and they may sometimes operate in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0078] The modules described in the embodiments of the present invention can be implemented in software or hardware. The described modules can also be housed in a processor; for example, a processor can be described as including a generation module, a conversion module, and an execution module. The names of these modules do not necessarily limit the module itself; for example, a generation module can also be described as "a module for generating target tasks and their execution schemes corresponding to the application based on collected operational data to be processed by the application."

[0079] In another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiments; or it may exist independently and not assembled into the device. The computer-readable medium carries one or more programs that, when executed by the device, cause the device to include: generating a target task and its execution plan corresponding to the application based on collected operational data to be processed from the application; converting the task execution plan into structured execution instructions; and executing the structured execution instructions to process the target task.

[0080] The computer program product provided in this embodiment of the invention includes a computer program that, when executed by a processor, implements the task processing method in this embodiment of the invention.

[0081] According to the technical solution of the present invention, the following advantages or beneficial effects are achieved: By generating target tasks and their execution plans based on the collected operational data to be processed from the application; the task execution plans are converted into structured execution instructions; and the structured execution instructions are executed to process the target tasks. This embodiment generates target tasks and task execution plans by performing decision processing on the operational data to be processed, and then converts the task execution plans into structured execution instructions for execution. This establishes a collaborative mechanism between decision processing and task execution, realizing the automatic conversion and execution of intelligent decision results into executable tasks. This allows task decision results to directly drive automated execution, improving the automation level and execution efficiency of task processing.

[0082] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

[0083] It should be noted that the acquisition, storage, and application of user personal information involved in the technical solution disclosed herein comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

Claims

1. A task processing method, characterized in that, include: Based on the collected operational data to be processed from the application, the target task and its execution plan for the application are generated. Convert the task execution plan into structured execution instructions; The structured execution instructions are executed to process the target task.

2. The method according to claim 1, characterized in that, Based on the collected operational data to be processed from the application, the target task and its execution plan for the application are generated, including: Business target data is determined based on the operational data to be processed by the application. A candidate task queue is generated based on the business objective data, and the task cycle information corresponding to each candidate objective task in the candidate task queue is determined. Based on the task cycle information corresponding to each candidate target task, the task priority corresponding to each candidate target task is determined. Based on the task priorities corresponding to each candidate target task, the target task and its execution plan corresponding to the application are generated.

3. The method according to claim 1, characterized in that, Based on the collected operational data to be processed from the application, the target task and its execution plan for the application are generated, including: Real-time user behavior data is determined based on the operational data to be processed by the application. Based on the user's real-time behavior data and pre-acquired historical behavior data, construct the user's real-time profile information; Based on the real-time profile information, a real-time operation plan is determined for the user. The target tasks and their execution plans for the application are generated based on the real-time operation plan.

4. The method according to claim 1, characterized in that, Based on the collected operational data to be processed from the application, the target task and its execution plan for the application are generated, including: The interactive content data is determined based on the operational data to be processed by the application. Perform risk identification processing on the interactive content data to determine the risk identification result corresponding to the interactive content data; The risk level corresponding to the interactive content data is determined based on the risk identification result corresponding to the interactive content data. Based on the risk level corresponding to the interactive content data, risk disposal tasks and risk handling strategies are generated, and the risk disposal tasks and risk handling strategies are determined as the target tasks and task execution plans corresponding to the application.

5. The method according to claim 1, characterized in that, Executing the structured execution instructions to process the target task includes: Detect whether the target task has a corresponding preset execution protocol interface; In response to the target task having a corresponding preset execution protocol interface, the structured execution instructions are executed using the preset execution protocol interface to process the target task; In response to the fact that the target task does not have a corresponding preset execution protocol interface, the structured execution instructions are executed using a preset automated execution service to process the target task.

6. The method according to claim 5, characterized in that, After executing the structured execution instructions to process the target task, the method further includes: Collect execution feedback information corresponding to the target task; wherein, the execution feedback information includes execution status information, abnormal execution information, and operation log information; Update the pending operation data of the application based on the execution feedback information; Optimize target tasks and their execution plans based on the updated operational data to be processed.

7. A task processing device, characterized in that, include: The generation module is used to generate the target task and its task execution plan for the application based on the collected application's pending operation data. The conversion module is used to convert the task execution plan into structured execution instructions; An execution module is used to execute the structured execution instructions to process the target task.

8. An electronic device, characterized in that, include: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-6.

9. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-6.