A training method and device for task model

By acquiring and parsing task transition logs and constructing task models to identify and optimize task processes, the problem of mismatch between tasks and target objects in the existing technology is solved, and the efficiency and quality of marketing tasks are improved.

CN114048012BActive Publication Date: 2024-08-23PEOPLE'S INSURANCE COMPANY OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111311768.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-08
Publication Date
2024-08-23
Estimated Expiration
2041-11-08

AI Technical Summary

Technical Problem

In the face of market changes, the existing marketing management process is difficult to efficiently match the needs of tasks and target objects, and there are repetitive tasks and complex system implementations, resulting in low efficiency in task adjustment and optimization.

Method used

By obtaining the task transition log of the target object executing the task, analyze and determine multiple characteristic values ​​of the task, build a task model based on these characteristic values ​​and task execution efficiency/success rate, and train the task model to identify and optimize the task process.

Benefits of technology

It improves the inspection efficiency and optimization capabilities of task processes, can quickly and accurately detect task execution efficiency and success rate, reduces task modification time, and improves the quality of marketing tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114048012B
    Figure CN114048012B
Patent Text Reader

Abstract

The present invention discloses a task model training method and device to solve the problem of low efficiency in the inspection task process. This solution includes: obtaining a task transition log of a target object executing a target task; parsing the task transition log to determine multiple feature values ​​of the target task; training a task model based on target data composed of multiple feature values ​​of the target task, and classification labels determined by the task execution efficiency of the target task object and / or the task execution success rate of the target task object. This solution determines the classification label based on the execution efficiency and success rate of the task, and trains a task optimization model. The model can identify and inspect based on multiple feature values ​​of the input task, and the output result can characterize the execution efficiency and success rate of the task, which is conducive to task execution analysis and optimization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computers, and in particular to a training method and device for a task model. Background Art

[0002] Most of the marketing process management solutions currently on the market are management process management solutions proposed based on the characteristics of the traditional marketing management process and combined with the technical architecture and design model of its business system.

[0003] Specifically, the management process plan of the marketing process is mainly formulated by the management department or person in charge of the superior company based on the target market and other upper-level environmental factors, and the personnel management and team formation of the marketing team are carried out at the same time. At the same time, the lower-level execution team carries out marketing activities according to the process model formulated by the upper level, and the person in charge of the execution team can supervise and manage the work of the team members.

[0004] Due to the continuous changes in the market, the traditional marketing model is constantly changing; at the same time, the architecture of the business system is also being transformed with the expansion of the application system, and the existing marketing process management process has shown its shortcomings. Due to the limitations of the technical architecture and the lag of the demand analysis when the plan is proposed for the market situation assessment, the current management process plan is relatively complex in system implementation, there are some repetitive tasks, and the generated tasks are often difficult to match the needs or status of the target object. If the task is to be adjusted and optimized, it is necessary to put the optimized task into application for a period of time to test the adjustment effect of the task, which makes it difficult to efficiently test and analyze the task process.

[0005] How to improve the efficiency of the inspection of the task process is the technical problem to be solved by this application. Summary of the invention

[0006] The purpose of the embodiments of the present application is to provide a method and device for training a task model to solve the problem that the generated task does not match the target object.

[0007] In a first aspect, a task model training method is provided, comprising:

[0008] Obtaining a task transition log of a target object executing a target task, wherein the task transition log includes a transition path of the target object executing the target task, a task execution efficiency of the target task object, and a task execution success rate of the target task object, wherein a plurality of task nodes of the target task are associated with each other based on a preset topological structure;

[0009] Parsing the task transition log to determine multiple feature values ​​of the target task, the multiple feature values ​​at least including the length of the transition path, the length of the transition path representing the length of the path between the node before the transition and the node after the transition in the preset topology structure;

[0010] The task model is trained based on target data composed of multiple feature values ​​of the target task and a classification label determined by the task execution efficiency of the target task object and / or the task execution success rate of the target task object.

[0011] In a second aspect, a task model training device is provided, comprising:

[0012] An acquisition module is used to acquire a task transition log of a target object executing a target task, wherein the task transition log includes a transition path of the target object executing the target task, a task execution efficiency of the target task object, and a task execution success rate of the target task object, wherein a plurality of task nodes of the target task are associated with each other based on a preset topological structure;

[0013] A determination module, parsing the task transition log to determine a plurality of characteristic values ​​of the target task, wherein the plurality of characteristic values ​​at least include the length of the transition path, and the length of the transition path represents the length of the path between the node before the transition and the node after the transition in the preset topology structure;

[0014] The training module trains the task model based on sample data consisting of multiple feature values ​​of the target task and a classification label determined by the task execution efficiency of the target task object and / or the task execution success rate of the target task object.

[0015] According to a third aspect, an electronic device is provided. The electronic device comprises a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the method according to the first aspect are implemented.

[0016] According to a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method according to the first aspect are implemented.

[0017] In the embodiment of the present application, the task transition log of the target object executing the target task is obtained; the task transition log is parsed to determine the multiple characteristic values ​​of the target task; the task model is trained based on the target data composed of the multiple characteristic values ​​of the target task, and the classification label determined by the task execution efficiency of the target task object and / or the task execution success rate of the target task object. This solution determines the classification label with the execution efficiency and success rate of the task, and trains the task optimization model. The model can identify and verify based on the multiple characteristic values ​​of the input task, and the output result can characterize the execution efficiency and success rate of the task, which is conducive to the analysis and optimization of task execution. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0019] Figure 1a This is one of the flow charts of a method for training a task model according to an embodiment of the present invention.

[0020] Figure 1b It is a schematic diagram of a business system structure according to an embodiment of the present invention.

[0021] Figure 2 This is the second flow chart of a method for training a task model according to an embodiment of the present invention.

[0022] Figure 3 This is a third flow chart of a method for training a task model according to an embodiment of the present invention.

[0023] Figure 4 This is a fourth flow chart of a method for training a task model according to an embodiment of the present invention.

[0024] Figure 5 This is the fifth flow chart of a training method for a task model according to an embodiment of the present invention.

[0025] Figure 6 This is the sixth flow chart of a method for training a task model according to an embodiment of the present invention.

[0026] Figure 7 It is a structural schematic diagram of a training device for a task model according to an embodiment of the present invention. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. The figure numbers in this application are only used to distinguish the various steps in the scheme, and are not used to limit the execution order of the various steps. The specific execution order is subject to the description in the specification.

[0028] The embodiment of the present application provides a task model training method, which can be applied to application scenarios of marketing and event planning.

[0029] The present application embodiment provides a method for training a task model, such as Figure 1a As shown, including:

[0030] S11: Obtain a task transition log for a target object to perform a target task, wherein the task transition log includes a transition path for the target object to perform the target task, a task execution efficiency for the target task object, and a task execution success rate for the target task object, wherein a plurality of task nodes of the target task are associated with each other based on a preset topological structure.

[0031] The target object in this step can be a user who applies to participate in the activity, a user who meets the conditions for participating in the activity, etc. The target task is the task completed by the above target object. The task transition log is a log generated during the process of the target object executing the target task, which includes detailed information on the target object's execution of the target task, including the transition path, task execution efficiency, and success rate of the target object's execution of the target task.

[0032] The task execution efficiency may be related to parameters such as the time length for the target object to execute the target task, the number of nodes visited, etc. For example, the shorter the time length for the target object to complete the target task, the higher the task execution efficiency. Alternatively, the fewer the number of nodes visited by the target object after completing the target task, the higher the task execution efficiency.

[0033] S12: Parse the task transition log to determine multiple characteristic values ​​of the target task, wherein the multiple characteristic values ​​include at least the length of the transition path, and the length of the transition path represents the path length between the node before the transition and the node after the transition in the preset topology structure.

[0034] In this step, the task transition log is parsed to obtain multiple characteristic values ​​of the target task, which may include, for example, the out-degree and in-degree of a single node, the number of cycles of a single node, the length of the transition path, and the like.

[0035] The length of the transition path specifically refers to the path length between the node before the transition and the node after the transition in the preset topology structure, which can indirectly represent the complexity of the target task execution. If the transition path is long and the number of transitions is large, the task execution efficiency may be low.

[0036] S13: Training a task model based on target data composed of multiple feature values ​​of the target task and a classification label determined by the task execution efficiency of the target task object and / or the task execution success rate of the target task object.

[0037] This solution is based on the target data and classification label training task model. The above task model can be trained using the supervised learning naive Bayes method, or a suitable model or method can be selected according to the characteristics of the actual data to perform training.

[0038] In this step, the classification labels can be determined based on the task execution efficiency and task execution success rate of the target task object, and then the classification labels can be used to perform training. For example, the task execution efficiency that is higher than the preset execution efficiency can be determined as a high efficiency classification, and the task execution efficiency that is equal to or lower than the preset execution efficiency can be determined as a low efficiency classification. Furthermore, the above high efficiency classification and low efficiency classification can be further divided based on the execution success rate.

[0039] Through the scheme provided by the embodiment of the present application, the trained task model can identify the input tasks and classify them according to the characteristics of the input tasks, thereby predicting the execution efficiency and success rate of the input tasks, and realizing efficient task detection. This scheme can be used to improve the efficiency of task modification, which is conducive to optimizing the task process. Before putting the task into market application, it can be identified by the task model trained by this application to quickly and accurately detect the execution efficiency and success rate of the task. The technician can further optimize the task process according to the classification results obtained by identification.

[0040] In this embodiment, this solution is further explained in combination with the application scenario of marketing.

[0041] The solution provided in the embodiment of the present application can be applied to Figure 1b In the business system shown, the system can be applied to marketing application scenarios. The system can include the following five parts: template configuration (Template), activity configuration (Activity), node transition (Node), task allocation execution (Task) and feedback mechanism (Feedback).

[0042] The solution provided by the embodiment of the present application can be applied to the feedback mechanism. Specifically, a task transition log is generated during the execution of the task, and the task transition log is summarized in the feedback mechanism for training the task model. After the team manager has formulated a new activity task, the new task can be tested through the feedback mechanism to predict the execution efficiency and success rate of the new task. If the classification result of the new task does not meet the standard, the process of the new task can be modified and optimized according to the classification result output by the task model. After the classification result of the new task meets the standard, it is put into market application. Through the solution provided by this embodiment, the activity task can be detected and classified through the task model before being put into marketing, and the process of the activity task can be detected efficiently and accurately, which is conducive to optimizing the task, and then improving the quality of the task put into marketing.

[0043] The template configuration in the embodiment of the present application may pre-store information related to the task, such as basic task information, node information, flow information, authority information, etc. The superior manager may read, write or modify each item of information in the template configuration.

[0044] Optionally, the above basic information includes other basic attributes such as the name, type, creator, and task execution page template of the activity template.

[0045] The node information contains a time policy, which can be used to define the start time of the node, or it can be a relative time to an event, or it can be an absolute time. It can also include the task allocation method of the node, such as allocation by number of people, allocation by task volume, etc. It can also include the process role of the node, for example, the scope of use of the current node can be further filtered within the team. It can also include node events, which are used to define events that the system automatically handles, and can be connected to other systems, such as SMS / social software, etc.).

[0046] The flow information can be used to define the triggering conditions of the flow. In addition to being triggered by the defined time of the node, the node flow can also be triggered by certain events. For example, it can be triggered by the status of the task or the number of times the task is processed.

[0047] The permission information may include the modification permission and use permission of the template. The use permission may be divided into levels, and different levels correspond to different modification, read and write permissions.

[0048] In actual applications, new activities can be created based on the activity creation application programming interface (Application Programming Interface, API) and bound to the preset activity template. Furthermore, it can be determined whether the template can be personalized based on the permission information of the bound template. If it is not personalized, the template configuration is used directly. If it can be personalized, the personalized configuration is obtained through the personalized configuration API. Subsequently, the activity configuration module generates the basic information, node information, flow information and permission information of the specific activity based on the configuration information (template configuration / personalized configuration). Among them, the node information and flow information are stored separately in data tables, and the table records the relationship between the nodes, paving the way for the flow path of the task between the nodes, thereby realizing the activity task configuration.

[0049] After completing the above-mentioned activity task configuration, the optimization strategy can be determined through the feedback module. For example, the feedback module collects activity configuration information and template configuration information, and compares the differences between activity configuration and template configuration. The system collects the configuration data of primary and secondary users to determine the difference data, and compares the data structure. At the same time, the node and flow information data in the configuration information are extracted, including node trigger conditions, node end conditions, node types, node task allocation methods, node interaction information, etc. Since the configurations of each activity are independent of each other and conform to the Markov property, the return can be calculated according to the existing Markov decision process, and the value function can be evaluated. The optimal value function is found in the evaluation, and the optimal strategy is derived from the value function. The above strategies and evaluation results can be provided to senior managers to adjust and optimize the template configuration according to the optimal strategy.

[0050] The task object in the embodiment of the present application can be added manually, or it can be automatically added by associating the relevant data of the active task. For example, it can be added by a personalized docking method. Through the extraction program of the intermediate table, the fields are mapped from the database of other systems, and data is extracted in the form of a scheduled task, and data analysis is performed. The data in other systems are matched and mapped to the corresponding fields of the database of this system using a clearing program and a message queue, and then the active task is added after processing. Alternatively, the historical data in the system can also be screened for addition. The system can obtain the active objects in the information history activities, and add the active tasks after screening according to user requirements.

[0051] In the field of marketing, management processes are often single-directional, which limits the flexibility of marketing activities and cannot be adjusted and optimized in time in the face of ever-changing sales scenarios. Secondly, due to the limitations of the technical architecture and the lag of the demand analysis when the solution is proposed for the assessment of the market situation, the management process solution is relatively complex in system implementation and there are some repetitive tasks. In response to these shortcomings, the solution provided in the embodiment of the present application can achieve two-way management and realize the marketing process management process of dual-link dynamic adjustment feedback based on the microservice architecture of the business system and the synchronization of heterogeneous databases. The marketing plan will be flexibly adjusted according to the execution of the marketing activities, and the activity node flow can be optimized. The execution team can personalize the marketing activity process according to the specific market conditions, so that the market goals are more vertical and the team execution is more efficient.

[0052] Based on the solution provided in the above embodiment, optionally, after the above step S13, as Figure 2 As shown, it also includes:

[0053] S21: Acquire attributes of a plurality of task nodes of a task to be executed and attributes of at least one task object of the task to be executed, wherein the plurality of task nodes are associated with each other based on a preset topological structure of the task to be executed.

[0054] Assume that activity A1 has a number of nodes N 1 , N 2 , ..., N n , these nodes are associated based on a preset topological structure. Let the attribute set of each node be Pn 1 , Pn 2 , ..., Pn n . Assume that the object entering the activity is O 1 , O 2 , ..., O n , and their attribute sets are Po 1 , Po 2 , ..., Po n .

[0055] In the actual execution process, the system obtains the node N contained in activity A1 1 , N 2 , ..., N n The attribute set Pn 1 , Pn 2 , ..., Pn n Furthermore, the system loop obtains the object O contained in activity A1. 1 , O 2 , ..., O n , and record its corresponding attribute set Po 1 , Po 2 , ..., Pon .

[0056] S22: Compare the attributes of the target task object in the at least one task object with the attributes of the multiple task nodes respectively to determine a target task node that matches the target task object, wherein the state of the target task object carried in the attributes of the target task object meets the task execution conditions carried in the attributes of the target task node.

[0057] In this step, objects are obtained in a loop and their attributes are compared. Specifically, in the i-th loop, Po i Compare with the node attribute set to determine the initial node N that meets the conditions j , and combined with Pn j Generate Task T j .

[0058] The specific judgment method can be to compare the attribute set of the node with the attribute set of the object. For example, if a time attribute of the activity object happens to fall within the time range interval attribute of the jth node, then the initial node is Nj, which is the initial node that meets the conditions, indicating that the object can start executing the task from this initial node.

[0059] S23: Using the target task node as the initial node of the target task to be executed by the target task object, and generating the target task according to the preset topological structure.

[0060] In this step, a target task matching the target object is generated according to the association relationship between the multiple task nodes in the above-mentioned preset topological structure, and the initial node of the target task corresponds to the state of the target object.

[0061] Through the solution provided by the embodiment of the present application, the attributes of the node are compared with the attributes of the object to determine the initial node that matches the state of the object, and then generate a target task that matches the target object, thereby improving the success rate of task execution and optimizing the task process.

[0062] Based on the solution provided in the above embodiment, optionally, Figure 3 As shown, after the above step S23, it also includes:

[0063] S31: Monitoring the properties of the target task object.

[0064] Specifically, the system may monitor the properties of the target task object by polling or other means so as to perform comparison in subsequent steps.

[0065] S32: If the attribute of the target task object is changed, the changed attribute of the target task object is compared with the attributes of the multiple task nodes respectively to determine the target task node after the transition that matches the target task object.

[0066] For example, the system obtains node N included in activity A1 1 , N 2 , ..., N n The attribute set Pn 1 , Pn 2 , ..., Pn n Then, the system automatically scans the task and combines the node attribute set Pn 1 , Pn 2 , ..., Pn n Get tasks T that meet the conditions 1 , T 2 , ..., T n , and the activity object O corresponding to the task 1 , O 2 , ..., O n In the i-th cycle, Po i Compare with the node attribute set to determine the initial node N that meets the conditions j , and combined with Pn j Generate new tasks

[0067] In this step, automatic scanning can timely monitor changes in the properties of the target task object, and then periodically compare the properties of the target task object with the properties of multiple task nodes to determine the target task node after the transition, and then generate a new task to achieve node transition.

[0068] S33: taking the target task node after the transition as the initial node, and generating the target task after the transition according to the preset topological structure.

[0069] S34: updating the target task to be executed of the target task object according to the target task after the transition.

[0070] After generating a new task, delete the original task to achieve task transfer. Optionally, the new task generation method is based on attribute matching, and time interval matching is one way of matching. It can also be matched based on other attributes of the previous node, such as the user's operation selection, and then based on these attributes, match the nodes in the subsequent nodes that meet the requirements to achieve transition.

[0071] Based on the solution provided in the above embodiment, optionally, after the above step S34, the following is further included:

[0072] Generate a task transition log according to the update of the target task execution, wherein the task transition log includes a node before the transition and a node after the transition, wherein the characteristic value of the target task includes the length of the transition path and at least one of the following:

[0073] The number of visits, number of comparisons, and in-and-out degrees of the nodes in the preset topological structure.

[0074] During the execution of the task, the system will collect statistics on factors such as the execution efficiency and success rate of the task. At the same time, it will record the transition of the tasks corresponding to the active objects between nodes and generate a transition log.

[0075] After the transition log is generated, the system feedback module parses the transition log and extracts the feature values, which may include: the number of traversals of a single node in the node topology, the out-degree and in-degree of a single node, the number of loops of a single node, the length of the transition path of a single active object in the topology, etc.

[0076] Based on the solution provided in the above embodiment, optionally, Figure 4 As shown, after the above step S13, it also includes:

[0077] S41: Obtaining the characteristic value of the task to be adjusted and to be executed;

[0078] S42: inputting the characteristic value of the to-be-performed task to be adjusted into the task model to obtain an output result of the task model;

[0079] S43: adjusting the to-be-executed task to be adjusted according to the output result of the task model.

[0080] The transition logs in the above steps can be used to train the task model. Specifically, the extracted feature values ​​and their corresponding execution efficiency and success rate are used as training sample sets. The existing technology supervised learning naive Bayes method is used to calculate the frequency of occurrence of each category in the training sample and the conditional probability estimation of each feature attribute division for each category to obtain the task model. Based on the trained task model, the task model is used to evaluate and classify the newly created activities and give a score.

[0081] In this embodiment, the characteristic values ​​of the tasks to be adjusted are first obtained, and these characteristic values ​​are input into the trained task model to obtain the output result of the task model. The output result can characterize the task execution success rate and task execution efficiency of the tasks to be adjusted.

[0082] Furthermore, the template configuration module parameters can be adjusted and optimized based on the above-mentioned task transition logs. For example, first collect the above-mentioned task transition logs as a training sample set. And collect the activity configuration module parameters, compare them with the template configuration module parameters, and obtain the difference characteristic value A. Subsequently, collect the activity report indicators, and perform scoring classification according to the business logic. The scoring classification can be pre-set according to the needs. For example, 1. Fully meet the standards, 2. Basically meet the standards, etc. These scoring classifications are used as evaluation indicators B. Afterwards, obtain the difference characteristic value A and the evaluation indicator B, and use the supervised learning naive Bayes method to calculate the frequency of occurrence of each category in the training sample and the conditional probability estimate of each feature attribute division for each category to obtain the task model. Afterwards, the task model can be used to evaluate and classify the newly created template and give a score to optimize the task of the input model.

[0083] Based on the solution provided in the above embodiment, optionally, Figure 5 As shown, the above step S43 includes:

[0084] S51: According to the output result of the task model, adjusting the nodes of the preset topological structure of the to-be-executed task to be adjusted and / or the association relationship between the nodes.

[0085] In actual applications, the system can set adjustment thresholds for feature values ​​in advance according to specific business logic. If the score level output by the task model is lower than the threshold, the configuration of the input task is adjusted. For example, if the number of traversals of a single node exceeds 2.5 times the average number of traversals of the node, the system splits the node; if the number of traversals of a single node is less than 5% of the total number of active objects, the node is merged, etc. The solution provided in this embodiment can be used to adjust and optimize the problems existing in the task process in a targeted manner.

[0086] Based on the solution provided in the above embodiment, optionally, Figure 6 As shown, after the above step S23, it also includes:

[0087] S61: Determine the attributes of multiple task nodes of the target task to be executed and the attributes of the target task object;

[0088] S62: determining a matching execution object according to the attributes of the plurality of task nodes of the target task to be executed and the attributes of the target task object, the execution object being used to execute the target task to be executed according to an instruction of the target task object;

[0089] S63: Allocate the target task to be executed to the execution object.

[0090] In this embodiment, an execution object can be automatically assigned to the target task to be executed. The execution object can be used to assist the target task object in executing the target task. Specifically, in the system of this embodiment, the task execution module can obtain the template of the task execution page in the activity configuration information, generate the execution page according to the specific task information, and the task executor handles the task.

[0091] Tasks are assigned based on the activity's configuration information. The system provides two assignment modes: automatic assignment based on the activity object's information / manual assignment by the team leader.

[0092] For manual assignment, the system collects information about the team's task assignments and transmits it to the feedback module.

[0093] For automatic allocation, the system can first obtain the attribute set Po of the active object 1 , Po 2 , ..., Po n and the node's configuration property set Pn 1 , Pn 2 , ..., Pn n After matching the attribute sets, the best task handler for each task is obtained.

[0094] For example: for a car insurance renewal activity, the activity object may contain relevant information of the original policy, such as the start / end date of insurance, the policy service manager, etc. The system will extract the corresponding information as the basis for task assignment; at the same time, the node attribute set may contain node allocation method configuration information, handler set, handler workload, node start and end conditions, etc. The system will also extract the corresponding information and combine it with the previously extracted activity object attribute information to determine the best task handler.

[0095] Through the solution provided in the embodiment of the present application, a suitable execution object can be selected according to the characteristics of the target task to assist the target task object in performing the target task, thereby improving the success rate of task execution, which is conducive to simplifying the process of the target task object performing the target task and improving the efficiency of task execution.

[0096] In order to solve the problems existing in the prior art, the present application embodiment also provides a task model training device 70, such as Figure 7 As shown, including:

[0097] An acquisition module 71 is configured to acquire a task transition log of a target object executing a target task, wherein the task transition log includes a transition path of the target object executing the target task, a task execution efficiency of the target task object, and a task execution success rate of the target task object, wherein a plurality of task nodes of the target task are associated with each other based on a preset topological structure;

[0098] A determination module 72 is configured to parse the task transition log to determine a plurality of characteristic values ​​of the target task, wherein the plurality of characteristic values ​​at least include a length of the transition path, and the length of the transition path represents a length of a path between a node before the transition and a node after the transition in the preset topology structure;

[0099] The training module 73 trains the task model based on sample data consisting of multiple feature values ​​of the target task and a classification label determined by the task execution efficiency of the target task object and / or the task execution success rate of the target task object.

[0100] Through the device provided in the embodiment of the present application, the task transition log of the target object executing the target task is obtained; the task transition log is parsed to determine the multiple characteristic values ​​of the target task; the task model is trained based on the target data composed of the multiple characteristic values ​​of the target task, and the classification label determined by the task execution efficiency of the target task object and / or the task execution success rate of the target task object. This solution determines the classification label based on the execution efficiency and success rate of the task, and trains the task optimization model. The model can identify and verify based on the multiple characteristic values ​​of the input task, and the output result can characterize the execution efficiency and success rate of the task, which is conducive to the analysis and optimization of task execution.

[0101] Preferably, an embodiment of the present invention further provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the various processes of the training method embodiment of the above-mentioned task model are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0102] The embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the training method embodiment of the above-mentioned task model is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. Among them, the computer-readable storage medium is such as a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0103] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

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

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

Claims

1. A task model training method, characterized in that: include: Obtaining a task transition log of a target object executing a target task, wherein the task transition log includes a transition path of the target object executing the target task, a task execution efficiency of the target task object, and a task execution success rate of the target task object, wherein a plurality of task nodes of the target task are associated with each other based on a preset topological structure; Parsing the task transition log to determine multiple feature values ​​of the target task, the multiple feature values ​​at least including the length of the transition path, the length of the transition path representing the length of the path between the node before the transition and the node after the transition in the preset topology structure; Training a task model based on target data consisting of multiple feature values ​​of the target task and a classification label determined by a task execution efficiency of the target task object and a task execution success rate of the target task object; After training the task model, it also includes: Acquire attributes of a plurality of task nodes of a task to be executed and attributes of at least one task object of the task to be executed, wherein the plurality of task nodes are associated with each other based on a preset topological structure of the task to be executed; Compare the attributes of the target task object in the at least one task object with the attributes of the multiple task nodes respectively to determine a target task node that matches the target task object, wherein the state of the target task object carried in the attributes of the target task object meets the task execution condition carried in the attributes of the target task node; Using the target task node as the initial node of the target task to be executed by the target task object, and generating the target task according to the preset topological structure; Wherein, after taking the target task node as the initial node of the target task to be executed by the target task object and generating the target task according to the preset topological structure, it also includes: Monitor the properties of the target task object; If the attribute of the target task object is changed, the changed attribute of the target task object is compared with the attributes of the multiple task nodes respectively to determine the target task node after the transition that matches the target task object; Taking the target task node after the transition as the initial node, generating the target task after the transition according to the preset topological structure; Update the target task to be executed by the target task object according to the target task after the transition; Wherein, after updating the target task to be executed of the target task object according to the target task after the transition, the method further includes: Generate a task transition log according to the update of the target task execution, wherein the task transition log includes a node before the transition and a node after the transition, wherein the characteristic value of the target task includes the length of the transition path and at least one of the following: The number of visits, number of comparisons, and in-degree of nodes in the preset topological structure; Among them, after training the task model, it also includes: Obtaining characteristic values ​​of the tasks to be performed and to be adjusted; Inputting the characteristic value of the to-be-performed task to be adjusted into the task model to obtain an output result of the task model; Adjusting the to-be-executed task to be adjusted according to the output result of the task model; The step of adjusting the to-be-executed task to be adjusted according to the output result of the task model includes: According to the output result of the task model, adjusting the nodes of the preset topological structure of the to-be-executed task to be adjusted and the association relationship between the nodes; Wherein, after taking the target task node as the initial node of the target task to be executed by the target task object and generating the target task according to the preset topological structure, it also includes: Determining the attributes of the plurality of task nodes of the target task to be executed and the attributes of the target task object; Determine a matching execution object according to the attributes of the multiple task nodes of the target task to be executed and the attributes of the target task object, wherein the execution object is used to execute the target task to be executed according to the instruction of the target task object; Allocate the target task to be executed to the execution object.

2. A task model training device, characterized in that: include: An acquisition module is used to acquire a task transition log of a target object executing a target task, wherein the task transition log includes a transition path of the target object executing the target task, a task execution efficiency of the target task object, and a task execution success rate of the target task object, wherein a plurality of task nodes of the target task are associated with each other based on a preset topological structure; A determination module, parsing the task transition log to determine a plurality of characteristic values ​​of the target task, wherein the plurality of characteristic values ​​at least include the length of the transition path, and the length of the transition path represents the length of the path between the node before the transition and the node after the transition in the preset topology structure; A training module, which trains a task model based on target data consisting of multiple feature values ​​of the target task and a classification label determined by a task execution efficiency of the target task object and a task execution success rate of the target task object; Among them, after training the task model, it also includes: Acquire attributes of a plurality of task nodes of a task to be executed and attributes of at least one task object of the task to be executed, wherein the plurality of task nodes are associated with each other based on a preset topological structure of the task to be executed; Compare the attributes of the target task object in the at least one task object with the attributes of the multiple task nodes respectively to determine a target task node that matches the target task object, wherein the state of the target task object carried in the attributes of the target task object meets the task execution condition carried in the attributes of the target task node; Using the target task node as the initial node of the target task to be executed by the target task object, and generating the target task according to the preset topological structure; Wherein, after taking the target task node as the initial node of the target task to be executed by the target task object and generating the target task according to the preset topological structure, it also includes: Monitor the properties of the target task object; If the attribute of the target task object is changed, the changed attribute of the target task object is compared with the attributes of the multiple task nodes respectively to determine the target task node after the transition that matches the target task object; Taking the target task node after the transition as the initial node, generating the target task after the transition according to the preset topological structure; Update the target task to be executed by the target task object according to the target task after the transition; Wherein, after updating the target task to be executed of the target task object according to the target task after the transition, the method further includes: Generate a task transition log according to the update of the target task execution, wherein the task transition log includes a node before the transition and a node after the transition, wherein the characteristic value of the target task includes the length of the transition path and at least one of the following: The number of visits, number of comparisons, and in-degree of nodes in the preset topological structure; Among them, after training the task model, it also includes: Obtaining characteristic values ​​of the tasks to be performed and to be adjusted; Inputting the characteristic value of the to-be-performed task to be adjusted into the task model to obtain an output result of the task model; Adjusting the to-be-executed task to be adjusted according to the output result of the task model; The step of adjusting the to-be-executed task to be adjusted according to the output result of the task model includes: According to the output result of the task model, adjusting the nodes of the preset topological structure of the to-be-executed task to be adjusted and the association relationship between the nodes; Wherein, after taking the target task node as the initial node of the target task to be executed by the target task object and generating the target task according to the preset topological structure, it also includes: Determining the attributes of the plurality of task nodes of the target task to be executed and the attributes of the target task object; Determine a matching execution object according to the attributes of the multiple task nodes of the target task to be executed and the attributes of the target task object, wherein the execution object is used to execute the target task to be executed according to the instruction of the target task object; Allocate the target task to be executed to the execution object.

3. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the method according to claim 1 when executed by the processor.

4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which implements the steps of the method according to claim 1 when executed by a processor.