Task processing method and device, computer equipment and storage medium

By constructing and optimizing task dependency flowcharts, identifying and handling invalid dependencies, and merging specified dependencies, the problem of task dependency complexity is solved, and task processing efficiency and resource utilization are improved.

CN120994331APending Publication Date: 2025-11-21CHINA PING AN PROPERTY INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511005027.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-18
Publication Date
2025-11-21

AI Technical Summary

Technical Problem

The existing business system has complex task dependencies, resulting in low task processing efficiency, excessive resource consumption, and negative impacts on user experience and system competitiveness.

Method used

By acquiring task dependency information, constructing a task dependency flowchart, identifying and optimizing invalid dependencies, merging specified dependencies, constructing a target task logic document, configuring the task in the production environment, and optimizing task dependencies.

Benefits of technology

It reduces task dependency complexity, decreases task runtime and resource consumption, and improves task processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120994331A_ABST
    Figure CN120994331A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of data processing, and relates to a task processing method and device, computer equipment and a storage medium, and the method comprises the steps: constructing a task dependency flow chart based on task dependency condition information contained in a target business system; performing information extraction on tasks contained in the task dependency flow chart to obtain field dependency information; identifying an invalid dependency relationship and a specified dependency relationship from the task dependency flow chart based on the field dependency information; performing task dependency relationship optimization processing on the task dependency flow chart based on the invalid dependency relationship and the specified dependency relationship to obtain a target task dependency relationship; based on the target task dependency relationship, constructing a logic document conforming to the target task; performing task configuration based on the target task logic document to obtain a target task; and performing operation processing on the target task based on the target task dependency relationship. The task processing method and device can be applied to task processing scenes in the financial science and technology field and the medical field, and the task processing efficiency of the target task is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data processing, and can be applied to the fields of financial technology, digital medical treatment, etc., and in particular relates to a task processing method and device, a computer device and a storage medium. BACKGROUND

[0002] In today's digital business environment, as the business continues to expand, the number of users and the amount of access data of the business system have increased dramatically. In the task processing process of the business system, the complex task dependency problem is increasingly prominent, which makes the task running process extremely complex, not only consumes a large amount of system resources, but also significantly increases the task processing time, and thus leads to low overall task processing efficiency.

[0003] In the financial field, taking a bank credit approval business system as an example, credit approval involves multiple links, such as customer information collection, credit evaluation, risk audit, quota approval, etc. There are complex dependency relationships between these links, for example, the credit evaluation task depends on the complete information provided by the customer information collection task, and the risk audit task depends on the result of the credit evaluation. With the increase of business volume, a large number of credit applications flow in at the same time, and the complex task dependency leads to a large amount of system resources being occupied, the approval time is prolonged, the customer waiting time is increased, which reduces the customer experience, and also affects the business processing efficiency and competitiveness of the bank.

[0004] In the medical field, the electronic medical record management system of a hospital also faces similar problems. From patient registration, doctor diagnosis, and issuance of examination and test applications, to examination and test result input, doctor adjustment of diagnosis and development of treatment plan according to the result, and finally medical expense settlement, the entire process has a large number of tasks and complex dependency relationships. When the number of patients in the hospital increases, this complex task dependency makes the system processing speed slow, the doctor cannot obtain the patient information in time, which affects the diagnosis and treatment efficiency, and even may delay the patient's condition, and reduces the quality of medical services.

[0005] Therefore, there is an urgent need for a method that can effectively solve the complex task dependency problem, so as to improve the task processing efficiency of the business system, optimize the utilization of system resources, and improve the user experience and business competitiveness. SUMMARY

[0006] The purpose of the embodiments of the present application is to propose a task processing method, device, computer device and storage medium, so as to solve the technical problem that in the task processing process of the existing business system, the complex task dependency problem is increasingly prominent, which leads to low task processing efficiency.

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

[0008] obtain task dependency situation information contained in a target business system, and construct a corresponding task dependency flowchart based on the task dependency situation information;

[0009] extract information of tasks contained in the task dependency flowchart to obtain corresponding field dependency information;

[0010] analyze the task dependency flowchart based on the field dependency information to identify invalid dependency relationships and specified dependency relationships meeting optimization conditions from the task dependency flowchart;

[0011] perform optimization processing of task dependency relationships of the task dependency flowchart based on the invalid dependency relationships and the specified dependency relationships to obtain corresponding target task dependency relationships;

[0012] construct a target task logic document meeting execution conditions based on the target task dependency relationships;

[0013] perform task configuration processing in a preset production environment based on the target task logic document to obtain a completed target task;

[0014] perform running processing of the target task based on the target task dependency relationships.

[0015] In a second aspect, a task processing apparatus is provided, comprising:

[0016] a first processing module configured to obtain task dependency situation information contained in a target business system, and construct a corresponding task dependency flowchart based on the task dependency situation information;

[0017] an extraction module configured to extract information of tasks contained in the task dependency flowchart to obtain corresponding field dependency information;

[0018] a second processing module configured to analyze the task dependency flowchart based on the field dependency information to identify invalid dependency relationships and specified dependency relationships meeting optimization conditions from the task dependency flowchart;

[0019] a first optimization module configured to perform optimization processing of task dependency relationships of the task dependency flowchart based on the invalid dependency relationships and the specified dependency relationships to obtain corresponding target task dependency relationships;

[0020] a construction module configured to construct a target task logic document meeting execution conditions based on the target task dependency relationships;

[0021] a configuration module configured to perform task configuration processing in a preset production environment based on the target task logic document to obtain a completed target task;

[0022] a running module, configured to perform running processing on the target task based on the target task dependency relationship.

[0023] In a third aspect, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the task processing method when executing the computer program.

[0024] In a fourth aspect, a computer readable storage medium is provided, which stores a computer program, and the computer program implements the steps of the task processing method when executed by a processor.

[0025] In the above task processing method, device, computer device and storage medium, first, the task dependency situation information contained in the target business system is obtained, and a corresponding task dependency process diagram is constructed based on the task dependency situation information. Then, the tasks contained in the task dependency process diagram are information extracted to obtain corresponding field dependency information. Then, the task dependency process diagram is analyzed based on the field dependency information to identify invalid dependency relationships and specified dependency relationships that meet optimization conditions from the task dependency process diagram. Subsequently, the task dependency process diagram is processed based on the invalid dependency relationships and the specified dependency relationships to obtain a corresponding target task dependency relationship. Further, a target task logic document that meets execution conditions is constructed based on the target task dependency relationship. And the target task is configured and processed in a preset production environment based on the target task logic document to obtain a completed target task. Finally, the target task is processed based on the target task dependency relationship. Based on the above automatic processing process, the present application reorganizes the dependencies of the tasks contained in the target business system to construct a task dependency process diagram, extracts information from the tasks contained in the task dependency process diagram to obtain field dependency information, then identifies invalid dependency relationships and specified dependency relationships that meet optimization conditions from the task dependency process diagram based on the field dependency information, and then filters and processes the dependency relationships of the task dependency process diagram based on the obtained invalid dependency relationships and specified dependency relationships, so that the dependency complexity of the target task generated based on the target task dependency relationship is reduced, and the running efficiency of the target task is reduced. The resources required by the task can be reduced, and the task processing efficiency of the target task can be effectively improved. BRIEF DESCRIPTION OF DRAWINGS

[0026] In order to more clearly illustrate the solutions in the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly introduced as follows. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort on the basis of these drawings.

[0027] Figure 1 is an exemplary system architecture diagram to which the present application can be applied;

[0028] Figure 2 is a flow chart of one embodiment of the task processing method according to the present application;

[0029] Figure 3 is a structural schematic diagram of one embodiment of the task processing apparatus according to the present application;

[0030] Figure 4 is a structural schematic diagram of one embodiment of the computer device according to the present application. DETAILED DESCRIPTION

[0031] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs; the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application; the terms "include" and "have" and any variations thereof used in the specification and claims of the present application and the above description of the drawings are intended to cover the inclusion not the exclusion of one or more elements. The terms "first", "second", and the like used in the specification and claims of the present application and the above description of the drawings are used to distinguish different objects, not to describe a particular order.

[0032] Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearance of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are they necessarily mutually exclusive of one another. It is explicitly and implicitly understood that the embodiments described herein are capable of combination.

[0033] In order to make the person skilled in the art better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings.

[0034] As Figure 1As shown, the system architecture 100 can include a terminal device 101, a network 102 and a server 103. The terminal device 101 can be a notebook computer 1011, a tablet computer 1012 or a mobile phone 1013. The network 102 is a medium for providing a communication link between the terminal device 101 and the server 103. The network 102 can include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0035] A user can use the terminal device 101 to interact with the server 103 through the network 102 to receive or send messages, etc. Various communication client applications can be installed on the terminal device 101, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0036] The terminal device 101 can be various electronic devices with display screens and supporting web browsing, in addition to the notebook computer 1011, the tablet computer 1012 or the mobile phone 1013, the terminal device 101 can also be an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer and a desktop computer, etc.

[0037] The server 103 can be a server providing various services, such as a background server supporting the pages displayed on the terminal device 101.

[0038] It should be noted that the task processing method provided by the embodiments of the present application is generally executed by a server / terminal device, and accordingly, the task processing apparatus is generally provided in a server / terminal device.

[0039] It should be understood that Figure 1 The number of terminal devices, networks and servers in

[0040] With reference to Figure 2 , a flowchart of one embodiment of the task processing method according to the present application is shown. The order of the steps in the flowchart can be changed according to different needs, and some steps can be omitted. The task processing method provided by the embodiments of the present application can be applied to any scenario requiring task processing, and then the task processing method can be applied to products in these scenarios, such as task processing scenarios in the financial technology field and the medical field. The task processing method includes the following steps:

[0041] In step S201, task dependency situation information contained in the target business system is acquired, and a corresponding task dependency flowchart is constructed based on the task dependency situation information.

[0042] In this embodiment, the electronic device (e.g., server / terminal device shown in FIG. 1) on which the task processing method runs can acquire the task dependency situation information contained in the target business system through a wired connection mode or a wireless connection mode. It should be noted that the wireless connection mode can include but is not limited to 3G / 4G / 5G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wide band) connection, and other now known or future developed wireless connection modes. The execution subject of the present application is specifically a task processing system, which can be simply referred to as a system. Figure 1

[0043] Among them, the organization of business teams, technical teams can participate in the task of the target business system related to the task of the task dependency situation and construct the task dependency flowchart. Specifically, the organization of business teams, technical teams participate in, collect all the documents related to the task, including task design documents, system architecture diagram, historical operation record, etc. At the same time, communicate with technical operation and maintenance personnel, understand the actual operation situation and dependency relationship of the task in the system. Then, one-on-one interview with the technical personnel responsible for each task, and inquire in detail about the input source, output destination and dependency of each task. Record the name of the task that each task depends on, the dependency type (such as sequential dependency, parallel dependency, etc.) and the specific conditions of the dependency (such as triggering the dependency when a certain field meets a specific value). Subsequently, using professional flowchart drawing tools such as Visio, Lucidchart, etc., according to the collected materials and interview results, starting from the starting task, gradually draw out the task dependency flowchart. In the task dependency flowchart, the dependency relationship between tasks is represented by arrows, and the dependency conditions are marked on the arrows. At the same time, add detailed explanations for each task, including task name, function description, input and output information, etc. In addition, distribute the drawn task dependency flowchart to relevant team members for verification and collect feedback. For the problems found, timely correction is made to ensure the accuracy and integrity of the task dependency flowchart.

[0044] ​In the financial technology field, the business system can be specifically an insurance claim settlement system. The system is responsible for processing insurance claim settlement applications submitted by customers, from receiving the application to final settlement of the whole process management, aiming to ensure efficient and accurate claim settlement process, protect customer rights and interests and company interests. Correspondingly, the related tasks contained in the business system can at least include: 1) claim settlement application receiving task. Task description: this task is responsible for receiving insurance claim settlement application information submitted by customers through various channels (such as online APP, customer service hotline, offline outlets, etc.), including customer basic information, policy information, accident details, etc. Dependency relationship: this task is the starting point of the whole claim settlement process, and there is no pre-dependent task. But the data provided by it is relied on by many subsequent tasks, for example, the policy validity verification task needs to use the policy information provided in the application. 2) policy validity verification task. Task description: according to the policy information in the claim settlement application, query the policy database of the insurance company, verify whether the policy is in a valid state (such as whether it is within the insurance period, whether the premium is paid on time, etc.). Dependency relationship: dependent on the claim settlement application receiving task. Only after receiving the claim settlement application and obtaining the policy information, the verification of the validity of the policy can be carried out. If the policy is invalid, the subsequent claim settlement process will be terminated; if it is valid, the next step will be continued. 3) claim settlement audit task. Task description: the claim settlement audit task is responsible for auditing the calculation result of the claim settlement amount by professional claim settlement auditors, checking whether the calculation process conforms to the insurance contract and the claim settlement rules, and ensuring the rationality and accuracy of the claim settlement amount. Dependency relationship: dependent on the claim settlement amount calculation task. Only after the claim settlement amount is calculated, the audit can be carried out. After the audit is passed, it will enter the settlement link; if the audit is not passed, it will return to the claim settlement amount calculation task for correction.

[0045] In the medical field, the business system can be specifically a hospital information management system (HIS). The system integrates information of various departments of the hospital, including outpatient, inpatient, pharmacy, inspection, etc., realizes sharing of medical information and cooperation of business processes, and improves management efficiency and service quality of the hospital. Correspondingly, the related tasks contained in the business system at least include: a patient registration task. Task description: patients register through an online platform (such as a hospital official website, a mobile APP) or an offline window, select a department, a doctor and a visit time. The system records the basic information and registration information of the patients. Dependency relationship: this task is the starting point of the patient visit process, and there is no pre-dependent task. However, the subsequent visit arrangement task needs to rely on the registration information provided by it. 2) Visit arrangement task. Task description: according to the registration information of the patients, the hospital arranges corresponding doctors, examination rooms and visit times, and notifies the patients and doctors of the visit arrangement information. Dependency relationship: dependent on the patient registration task. Only after the patients complete the registration, the visit arrangement can be carried out. The result of the visit arrangement task will affect the subsequent doctor reception task. 3) Diagnosis task. Task description: the doctor makes a comprehensive analysis according to the symptoms, physical examination results and inspection results of the patients, makes a diagnosis, and formulates a treatment plan. Dependency relationship: dependent on the doctor reception task and the inspection task. The symptoms, physical examination results and inspection results of the patients need to be obtained to make an accurate diagnosis. The diagnosis result will affect the subsequent treatment task.

[0046] In step S202, information extraction is performed on the tasks contained in the task dependency flowchart to obtain corresponding field dependency information.

[0047] In this embodiment, the specific implementation process of the above information extraction on the tasks contained in the task dependency flowchart to obtain the corresponding field dependency information will be further described in detail in subsequent specific embodiments, and will not be described here in detail.

[0048] In step S203, the task dependency flowchart is analyzed based on the field dependency information to identify invalid dependency relationships and specified dependency relationships meeting optimization conditions from the task dependency flowchart.

[0049] In the embodiment, the analysis process of the task dependency flowchart includes: 1) field dependency analysis: according to the field dependency information, each dependency relationship in the task dependency flowchart is analyzed in depth. It is checked whether the required field of the end task exists in the start task or the middle task, and whether the field provided by the upstream task is still used in the downstream task. 2) invalid dependency identification: if it is found that the required field of the end task exists in the start task or the middle task, and the middle task does not perform necessary processing or conversion on the field, the middle part task can be removed, and only the necessary task link is reserved. At the same time, if the field provided by the upstream task is no longer used in the downstream task, the field and its dependency relationship are marked as invalid dependency. Designated dependency relationship identification: for the dependency relationship that can be optimized, for example, the optimization condition that can satisfy the combination of multiple continuous dependent tasks into one task, or the adjustment of the execution order of the task to improve the efficiency is marked, to obtain the designated dependency relationship.

[0050] In step S204, the task dependency relationship of the task dependency flowchart is optimized based on the invalid dependency relationship and the designated dependency relationship, and a corresponding target task dependency relationship is obtained.

[0051] In the embodiment, the specific implementation process of the task dependency relationship optimization of the task dependency flowchart based on the invalid dependency relationship and the designated dependency relationship to obtain the corresponding target task dependency relationship will be further described in detail in the subsequent specific embodiments, and will not be described here.

[0052] In step S205, a target task logic document meeting the execution condition is constructed based on the target task dependency relationship.

[0053] In the embodiment, the specific implementation process of the target task logic document meeting the execution condition based on the target task dependency relationship will be further described in detail in the subsequent specific embodiments, and will not be described here.

[0054] In step S206, a target task is obtained by performing task configuration processing in a preset production environment based on the target task logic document.

[0055] In the embodiment, the task configuration processing includes: environment preparation: it is checked whether the hardware resources, software configuration, etc. of the production environment meet the operation requirements of the new task link (target task). If necessary, the environment is upgraded or adjusted to ensure that the new task link can run in a stable environment. Task configuration: according to the re-written target task logic document, the related tasks in the production environment are configured. The configuration content includes the input parameters, output path, dependency relationship, etc. of the task, to ensure that the task can be executed correctly according to the new logic.

[0056] Step S207, performing running processing on the target task based on the target task dependency relationship.

[0057] In this embodiment, after the task configuration of the target task is completed, the target task is started in sequence according to the optimized target task dependency relationship, so as to perform the task running processing on the target task. During the task starting process, the running state of the task is closely monitored, and possible problems are discovered and processed in time. In addition, during the running of the new task link (target task), a perfect monitoring mechanism is established to monitor the running of the task in real time, including the execution time, resource consumption, data quality, etc. of the task. The task is maintained and optimized regularly to ensure the stable running of the system.

[0058] Firstly, the task dependency situation information contained in the target business system is acquired, and a corresponding task dependency process diagram is constructed based on the task dependency situation information. Then, information extraction is performed on the tasks contained in the task dependency process diagram to obtain corresponding field dependency information. Subsequently, the task dependency process diagram is analyzed based on the field dependency information to identify invalid dependency relationships and specified dependency relationships meeting optimization conditions from the task dependency process diagram. Subsequently, the task dependency relationship of the task dependency process diagram is optimized based on the invalid dependency relationships and the specified dependency relationships to obtain a corresponding target task dependency relationship. Further, a target task logic document meeting execution conditions is constructed based on the target task dependency relationship. And a task configuration processing is performed on a preset production environment based on the target task logic document to obtain a completed target task. Finally, the target task is processed based on the target task dependency relationship. Based on the above automatic processing procedure, the present application reorganizes the various dependency relationships of the tasks contained in the target business system to construct a task dependency process diagram, and extracts information from the tasks contained in the task dependency process diagram to obtain field dependency information. Then, the invalid dependency relationships and the specified dependency relationships meeting the optimization conditions are identified from the task dependency process diagram based on the field dependency information. Further, the dependency relationships of the task dependency process diagram are filtered and processed based on the obtained invalid dependency relationships and specified dependency relationships, so that the dependency complexity of the target task generated based on the target task dependency relationship is reduced, and the running efficiency of the target task is reduced and the resources required by the task are reduced, thereby effectively improving the task processing efficiency of the target task.

[0059] In some optional implementations, step S202 includes the following steps:

[0060] Acquire the task document and operation log corresponding to the tasks contained in the task dependency process diagram.

[0061] In this embodiment, the design documents of all tasks contained in the above task dependency flowchart are collected in a special folder or document management system. The documents are classified and arranged according to the type, module or function of the task to obtain corresponding task documents, for example, the task documents related to order processing are placed together, and the task documents related to inventory management are placed together.

[0062] In addition, the historical operation logs of each task contained in the above task dependency flowchart are obtained from the log management system of the system. The historical operation logs contain detailed information in the task execution process, such as execution time, execution result, used data, etc. According to the time range of the task and the storage period of the log, log data in a long enough time period is obtained to comprehensively analyze the use of the field by the task.

[0063] The task documents are analyzed and processed to obtain corresponding document analysis results.

[0064] In this embodiment, by carefully reading the task documents of each task, the operation logic and data processing flow of the task are understood. The data tables and fields involved in the task are focused on and recorded, and the field name, field type and source table of the field used by the task are recorded to obtain corresponding document analysis results.

[0065] The operation logs are reviewed and processed to obtain corresponding log review results.

[0066] In this embodiment, by viewing the above operation logs, the log analysis tool is used to filter out the information related to the use of the field from a large amount of log data. For example, log entries containing field reading, writing, calculation and other operations are filtered out. Further, the filtered log entries are analyzed in detail. The specific use of the field by the task in the actual running process is observed, including whether some fields are specially processed, such as calculation, conversion, screening, etc., and then the corresponding log review results are generated. For example, whether the task has performed summation calculation on the "order amount" field, or has performed screening on the "customer status" field, only processing customer data with "active" status.

[0067] Based on the document analysis results and the log review results, information is arranged to obtain corresponding field information.

[0068] In this embodiment, all field dependency information obtained from the generated document analysis results and log review results is arranged, and the field name, field type, source table name and other information required by each task are summarized using tables or database tools to obtain corresponding field information.

[0069] The field information is associated with the corresponding task name and listed to obtain corresponding field dependency information.

[0070] In this embodiment, the field information is associated with the corresponding task name and listed to obtain the corresponding field dependency list (i.e., field dependency information). In the field dependency list, each task name is a row, and all field information that the task depends on is listed below, including the field name, the field type, and the source table name. In this way, the field dependency relationship can be more clear and explicit, facilitating subsequent analysis and optimization.

[0071] Among them, extracting field dependency is a key step to judge whether the dependency relationship is valid. By deeply analyzing the operation logic and data processing process of each task, the field information that the task depends on is determined, which can provide strong support for subsequent dependency relationship optimization. Only by accurately understanding the task's demand for fields can it be determined which dependencies are necessary and which can be eliminated, thereby optimizing task dependency relationship, reducing unnecessary tasks and dependencies, and improving the running efficiency of the system. This step can help us more accurately grasp the data interaction between tasks and lay a solid foundation for subsequent optimization work.

[0072] The present application obtains the task document and the operation log corresponding to the task contained in the task dependency flowchart, then analyzes and processes the task document to obtain the corresponding document analysis result, and reviews and processes the operation log to obtain the corresponding log review result, then information is sorted based on the document analysis result and the log review result to obtain the corresponding field information, and subsequently the field information is associated with the corresponding task name and listed to obtain the corresponding field dependency information. Based on the above processing procedure, the present application obtains the document analysis result by analyzing and processing the obtained task document, and obtains the log review result by reviewing and processing the obtained operation log, then information is sorted based on the document analysis result and the log review result to obtain the field information, and then the field information is associated with the corresponding task name and listed, so that the field information that the task depends on can be determined, ensuring the accuracy of the obtained field dependency information.

[0073] In some optional implementation manners of the present embodiment, step S204 comprises the following steps:

[0074] The invalid dependency relationship is deleted from the task dependency flowchart to obtain a corresponding first task dependency flowchart.

[0075] In this embodiment, according to the result of invalid dependency recognition, the dependency relationship marked as invalid can be directly deleted from the task dependency flowchart. During the deletion process, it is further ensured that other valid dependency relationships and task logic are not affected. Specifically, a professional flowchart editing tool can be used to directly delete the corresponding arrows and nodes.

[0076] Obtaining a preset optimization processing strategy.

[0077] In this embodiment, the strategy content of the above optimization processing strategy includes: for the dependency relationship that can be optimized, considering merging multiple continuous dependent tasks into one task. For example, if task A and task B are both simple filtering operations on the same set of data, they can be merged into one task to reduce the number of task executions. At the same time, the execution order of the task is adjusted to improve efficiency, but it is ensured that the adjusted order does not destroy the logical relationship between tasks and the data flow direction. For example, some tasks that can be executed in parallel are adjusted to be performed simultaneously to shorten the execution time of the overall task.

[0078] Based on the optimization processing strategy, the specified dependency relationship in the first task dependency flowchart is subjected to task merging and order adjustment processing to obtain a corresponding second task dependency flowchart.

[0079] In this embodiment, based on the strategy content of the above optimization processing strategy, the specified dependency relationship in the first task dependency flowchart is subjected to task merging and order adjustment processing to obtain a corresponding second task dependency flowchart.

[0080] Optimizing verification is performed on the second task dependency flowchart.

[0081] In this embodiment, the optimization verification includes: after performing the dependency relationship optimization operation, the optimized flowchart is verified. Check whether the dependency relationship between tasks is still correct and whether the data flow direction is reasonable. Specifically, the execution of the task can be simulated, or the use of the field can be analyzed again to ensure that the optimized dependency relationship can meet the business requirements. The optimization verification result generated can include that the second task dependency flowchart passes the optimization verification, or that the second task dependency flowchart fails the optimization verification.

[0082] If the second task dependency flowchart passes the optimization verification, the current task dependency relationship in the second task dependency flowchart is taken as the target task dependency relationship.

[0083] In this embodiment, eliminating invalid dependencies or optimizing dependencies is a direct optimization of task dependencies. By refining dependencies based on field dependency information, unnecessary tasks and dependencies can be reduced, and resources and time required for task execution can be reduced. This step can significantly improve the efficiency of the system, reduce the maintenance cost of the system, and ensure the accuracy and integrity of the business data. In actual operation, business logic, technical implementation, team feedback and other factors can be further considered to ensure the feasibility and effectiveness of the optimization scheme.

[0084] The application obtains a corresponding first task dependency flowchart by deleting the invalid dependencies from the task dependency flowchart. Then, a preset optimization processing strategy is obtained. Based on the optimization processing strategy, task merging and sequence adjustment processing is performed on the specified dependencies in the first task dependency flowchart to obtain a corresponding second task dependency flowchart. The second task dependency flowchart is subsequently optimized and verified. If the second task dependency flowchart passes the optimization verification, the current task dependency relationship in the second task dependency flowchart is used as the target task dependency relationship. Based on the above processing procedure, the application deletes invalid dependencies from the task dependency flowchart, and uses an optimization processing strategy to perform task merging and sequence adjustment processing on specified dependencies in the task dependency flowchart, thereby accurately and automatically completing the refinement processing of task dependencies, reducing unnecessary tasks and dependencies, and reducing the resources and time required for task execution. This step can significantly improve the efficiency of the system, reduce the maintenance cost of the system, and ensure the accuracy and integrity of the business data.

[0085] In some optional implementations, step S205 includes the following steps:

[0086] Based on the target task dependency relationship, a corresponding field restriction condition is extracted.

[0087] In this embodiment, after the dependency relationship is optimized and the target task dependency relationship is obtained, the operation logic of each task can be reexamined according to the new dependency situation, and the field restriction condition required by each task can be extracted. These restriction conditions may include the value range of the field, the logical relationship between the fields, and the like, and must be accurate to ensure that the results obtained by the new optimized task link and the original task link are consistent.

[0088] The field restriction condition is combined with the matching specified field information to generate a corresponding task operation logic.

[0089] In the embodiment, the task operation logic of each task is redesigned by combining the extracted field restriction condition with the matched field information. In the design process, the new task link is ensured to correctly process data and generate the expected result by considering the dependency relationship between tasks and the data flow.

[0090] The task operation logic is processed based on a preset document construction strategy to generate a corresponding initial task logic document.

[0091] In the embodiment, the newly reconstructed task operation logic can be written into a detailed initial task logic document including the task name, function description, input and output information, operation steps, field restriction condition and the like. The document should be clear and easy to understand, facilitating the subsequent development, testing and maintenance work.

[0092] The initial task logic document is logically verified.

[0093] In the embodiment, the logical verification includes internal review of the newly written task logic by the relevant team to ensure the correctness and feasibility of the logic. The document is modified and improved according to the review opinions until the confirmation of the team. The content of the logical verification result obtained by logically verifying the initial task logic document can include that the initial task logic document passes the logical verification or that the initial task logic document fails the logical verification.

[0094] If the initial task logic document passes the logical verification, the initial task logic document is taken as the target task logic document.

[0095] In the embodiment, rewriting the new task logic is a key step of converting the optimized dependency relationship into an actually executable task logic.

[0096] The application extracts the corresponding field restriction condition based on the target task dependency relationship, then combines and processes the field restriction condition with the matched specified field information to generate the corresponding task operation logic, then processes the task operation logic based on a preset document construction strategy to generate the corresponding initial task logic document, and subsequently logically verifies the initial task logic document. If the initial task logic document passes the logical verification, the initial task logic document is taken as the target task logic document. Based on the above processing procedure, the application accurately extracts the field restriction condition and redesigns the task operation logic, and logically verifies the initial task logic document generated based on the task operation logic, which can effectively ensure that the optimized target task generated based on the target task logic document can run as expected and obtain the correct business data. This step can ensure the effective landing of the optimization results and provide strong support for the stable operation of the system and the business development.

[0097] In some optional implementations, after step S207, the above-mentioned electronic device can further perform the following steps:

[0098] Collecting first running result data of the target task within a specified time period.

[0099] In this embodiment, according to the data storage location and format of the new task link (target task) and the old task link (old task corresponding to the target task), a suitable data collection tool is selected or a data collection script is written. For example, if the data is stored in a database, a database query tool can be used; if the data is stored in the form of a file, a script can be written to read the file from a specified directory.

[0100] Among them, after the new task link runs for a period of time, the first running result data of the new task link is collected using the prepared tool or script according to the predetermined time range and collection rules. Ensure that the collected data is complete and accurate, covering all aspects of the task link.

[0101] Obtaining second running result data of the old task corresponding to the target task.

[0102] In this embodiment, at the same time, the running result data of the old task link within the same time period is collected. In order to ensure the fairness and accuracy of comparison, it is ensured that the collected old task data and new task data are completely consistent in terms of time range, business scenario, etc. Among them, the collected new and old task data are sorted respectively, and are stored classified according to data type, business module, etc., facilitating subsequent comparative analysis.

[0103] Comparing the first running result data and the second running result data based on a preset comparison strategy to obtain a corresponding comparison result.

[0104] In this embodiment, the specific implementation process of the above-mentioned comparing the first running result data and the second running result data based on a preset comparison strategy to obtain a corresponding comparison result will be further described in detail in subsequent specific embodiments, and will not be described in detail here.

[0105] Based on the comparison result, the effect of the target task is verified.

[0106] In this embodiment, the process of effect verification of the target task includes: evaluation standard formulation: according to business requirements and optimization goals, formulate optimization effect evaluation standards. For example, if the optimization goal is to reduce the running time by 20%, the running time of the new task should be lower than 80% of the running time of the old task; if the optimization goal is to improve data accuracy, the data accuracy of the new task should be higher than that of the old task. Evaluation result judgment: according to the comparison result and the evaluation standard, evaluate the optimization effect of the new task link. If the new task link realizes the optimization of running time and resource consumption under the premise of ensuring data accuracy, and meets the evaluation standard, it means that the optimization scheme is successful. If there are problems in the comparison result, such as the running time of the new task does not decrease significantly or the data accuracy decreases, further analysis is needed to adjust and improve the optimization scheme.

[0107] If the target task passes the effect verification, the target task is formally started, and the old task is offline processed.

[0108] In this embodiment, after confirming that the optimization effect of the new task link is good, the new task link continues to run for a period of time to verify the stable operation. Observe whether the new task link appears abnormal conditions such as data loss and task interruption during long-time running. If the new task link passes the stable running verification for a period of time without any problems and can meet the business requirements, the old task link can be offline. Before the old task is offline, it is ensured that the new task link has completely taken over all functions of the old task, and the business system can operate normally.

[0109] Among them, according to the predetermined offline plan, the running of the old task link is stopped gradually, and the related resources such as database table and file are cleaned up. During the offline process, the running of the business system is closely observed to ensure that the offline operation does not affect the business.

[0110] The application collects first running result data of the target task in a specified time period, then acquires second running result data of an old task corresponding to the target task, then compares the first running result data and the second running result data based on a preset comparison strategy to obtain a corresponding comparison result, subsequently performs effect verification on the target task based on the comparison result, and if the target task passes the effect verification, formally starts the target task and performs offline processing on the old task. Based on the above processing procedure, the application can ensure that the optimized target task realizes optimization of running time and resource consumption on the premise of ensuring data accuracy by comprehensively comparing running result data of the new target task and the corresponding old task. This step can provide feedback and basis for continuous optimization of the system, and ensure that the system always maintains an efficient and stable running state. In actual operation, the data collection, data comparison and analysis, optimization effect evaluation and old task offline procedure are performed to ensure the accuracy and reliability of the comparison result.

[0111] In some optional implementation manners of the embodiment, the comparison of the first running result data and the second running result data based on the preset comparison strategy to obtain a corresponding comparison result includes the following steps:

[0112] Acquire a business target corresponding to the target task.

[0113] In the embodiment, the business target is a business requirement and optimization target related to the target task determined according to actual task requirements.

[0114] Determine a corresponding comparison index based on the business target.

[0115] In the embodiment, the comparison index that needs to be compared and processed can be determined according to the business requirement and the optimization target, for example, can include result data volume, whether each field name is consistent, whether the field content is different, data quality indexes such as accuracy and integrity, and running time and resource consumption.

[0116] Call a preset data analysis tool.

[0117] In the embodiment, a suitable data analysis tool such as Excel, Tableau or the like can be selected, or a data analysis script can be written to comprehensively compare and analyze the running result data of the new and old task links.

[0118] According to the comparison index, the data analysis tool is used to compare the first running result data and the second running result data item by item to obtain a corresponding item-by-item comparison result.

[0119] In the embodiment, the new and old task data (i.e., the first running result data and the second running result data) are compared item by item according to the generated comparison indexes. For the result data amount, the sizes of the two are compared; for the field name and the field content, it is checked whether they are consistent; for the data quality indexes, the accuracy, the integrity and other values are calculated and compared; for the running time and the resource consumption, the values of the two are counted and compared. In the comparison process, the comparison results are recorded in detail, including the specific values of the indexes, the difference conditions and the like. For the problems found, in-depth analysis is timely performed to find out the causes. For example, if it is found that the data accuracy of the new task is lower than that of the old task, it needs to be analyzed which link in the data processing process has a problem.

[0120] The content integration is performed on the item-by-item comparison results to obtain the comparison results.

[0121] In the embodiment, the content integration is performed on the recorded item-by-item comparison results, and the integrated results obtained are taken as the final comparison results.

[0122] The application obtains the business target corresponding to the target task, determines the corresponding comparison indexes based on the business target, then calls the preset data analysis tool, then uses the data analysis tool to perform item-by-item comparison on the first running result data and the second running result data according to the comparison indexes, obtains the corresponding item-by-item comparison results, and subsequently performs content integration on the item-by-item comparison results to obtain the comparison results. Based on the above processing procedure, the application obtains the business target corresponding to the target task, determines the comparison indexes based on the business target, and then performs item-by-item comparison on the first running result data and the second running result data by combining the comparison indexes and the use of the data analysis tool, so that the data comparison processing on the running results of the new task and the old task can be efficiently and accurately completed, and the accuracy and reliability of the generated comparison results are effectively ensured.

[0123] In some optional implementation manners of the embodiment, after step S207, the above electronic device can further perform the following steps:

[0124] During the running of the target task, a preset monitoring tool is called.

[0125] In the embodiment, during the running of the new task link (the target task), a perfect monitoring mechanism is established. Specifically, a professional monitoring tool can be used to perform real-time monitoring on the indexes such as the execution time, the resource consumption and the data quality of the target task. A reasonable alarm threshold is set, and an alarm notification is timely sent when the index exceeds the threshold.

[0126] The target task is monitored based on the monitoring tool to obtain the corresponding monitoring results.

[0127] In the embodiment, the target task can be monitored by using the monitoring tool according to the preset monitoring index, so as to obtain the corresponding monitoring result.

[0128] The target task is inspected based on the preset inspection strategy, and a corresponding inspection result is obtained.

[0129] In the embodiment, the strategy content of the inspection strategy includes: arranging operation and maintenance personnel to regularly perform daily inspection on the task link, checking the running state, log information and the like of the task, discovering potential problems and abnormal conditions in a timely manner, and taking corresponding measures for processing. For example, if it is found that the execution time of a certain task is significantly lengthened, it may be that a problem occurs in the data processing process, which needs to be investigated and optimized in a timely manner.

[0130] The target task is optimized based on the monitoring result and the inspection result.

[0131] In the embodiment, the optimization processing includes: regularly maintaining and optimizing the task link according to the obtained monitoring result and inspection result. The tasks with poor performance are optimized, such as adjusting the algorithm, optimizing the code and the like; the tasks with faults are repaired to ensure the stable operation of the system. At the same time, the task link needs to be adjusted and upgraded appropriately according to the change of the business demand.

[0132] The application obtains the monitoring result by calling the preset monitoring tool during the running of the target task, obtains the corresponding monitoring result by monitoring the target task based on the monitoring tool, obtains the corresponding inspection result by inspecting the target task based on the preset inspection strategy, and subsequently optimizes the target task based on the monitoring result and the inspection result. Based on the above processing procedure, the application obtains the monitoring result by monitoring the target task based on the use of the monitoring tool during the running of the target task, obtains the inspection result by inspecting the target task based on the use of the inspection strategy, and then optimizes the target task intelligently based on the use of the monitoring result and the inspection result, so as to facilitate the smooth deployment of the target task and the stable operation of the system.

[0133] In some optional implementation manners, the obtained user information seeks user consent and meets the requirements of relevant laws and relevant policies.

[0134] In addition, the non-company software tools or components appearing in the embodiments of the application are only examples and do not represent actual use.

[0135] It should be understood that the size of the serial number of each step in the above embodiments does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the application.

[0136] It should be emphasized that, in order to further ensure the privacy and security of the above target task dependency relationship, the above target task dependency relationship can also be stored in a node of a block chain.

[0137] The blockchain referred to in the present application is a new application mode of distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm and other computer technologies. Blockchain, in essence, is a decentralized database, a series of data blocks associated using cryptographic methods, each containing a batch of network transaction information for verifying the validity (anti-fraud) of the information and generating the next block. The blockchain can include a blockchain underlying platform, a platform product service layer, and an application service layer.

[0138] The embodiments of the present application can acquire and process related data based on artificial intelligence technology. Among them, artificial intelligence (Artificial Intelligence, AI) is the use of digital computers or digital computer controlled machines to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. Theory, method, technology and application system.

[0139] The basic technology of artificial intelligence generally includes technologies such as sensors, special artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction system, mechatronics, etc. Artificial intelligence software technology mainly includes computer vision technology, robot technology, biometric technology, speech processing technology, natural language processing technology, and machine learning / deep learning, etc. Several major directions.

[0140] Those of ordinary skill in the art can understand that all or part of the processes in the above embodiments can be completed by computer readable instructions instructing related hardware, which can be stored in a computer readable storage medium. The program can include the processes of the above embodiments when executed, wherein the storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM) and other non-volatile storage media, or a random access memory (RAM) and the like.

[0141] It should be understood that, although each step in the flowchart of the accompanying drawings is shown in sequence according to the direction of the arrow, these steps are not necessarily executed in sequence according to the direction of the arrow. Unless explicitly stated herein, the execution of these steps is not strictly limited in sequence, and they can be executed in other sequences. Moreover, at least part of the steps in the flowchart of the accompanying drawings can include multiple sub-steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence is not necessarily sequential, but can be alternately executed with at least part of other steps or sub-steps or stages of other steps.

[0142] Further referring to Figure 3 , as an implementation of the method shown in the above Figure 2 , the present application provides an embodiment of a task processing device, which corresponds to the method embodiment shown in Figure 2 , and the device can be specifically applied to various electronic devices.

[0143] As shown in Figure 3 , the task processing device 300 described in the embodiment includes a first processing module 301, an extraction module 302, a second processing module 303, a first optimization module 304, a construction module 305, a configuration module 306, and a running module 307. Among them:

[0144] The first processing module 301 is configured to obtain task dependency situation information contained in a target business system, and construct a corresponding task dependency flowchart based on the task dependency situation information;

[0145] The extraction module 302 is configured to extract information of tasks contained in the task dependency flowchart to obtain corresponding field dependency information;

[0146] The second processing module 303 is configured to analyze the task dependency flowchart based on the field dependency information, so as to identify invalid dependency relationships and specified dependency relationships meeting optimization conditions from the task dependency flowchart;

[0147] The first optimization module 304 is configured to perform optimization processing of task dependency relationships of the task dependency flowchart based on the invalid dependency relationships and the specified dependency relationships, to obtain corresponding target task dependency relationships;

[0148] The construction module 305 is configured to construct a target task logic document meeting execution conditions based on the target task dependency relationships;

[0149] The configuration module 306 is configured to perform task configuration processing in a preset production environment based on the target task logic document, to obtain a completed target task;

[0150] The running module 307 is configured to perform running processing on the target task based on the target task dependency relationship.

[0151] In some optional implementation manners of the embodiment, the extraction module 302 includes:

[0152] The first acquisition submodule is configured to acquire task documents and operation logs corresponding to tasks included in the task dependency flowchart.

[0153] The analysis submodule is configured to perform analysis processing on the task documents to obtain corresponding document analysis results.

[0154] The review submodule is configured to perform review processing on the operation logs to obtain corresponding log review results.

[0155] The collation submodule is configured to perform information collation based on the document analysis results and the log review results to obtain corresponding field information.

[0156] The first processing submodule is configured to perform association and listing processing on the field information and corresponding task names to obtain corresponding field dependency information.

[0157] In some optional implementation manners of the embodiment, the first optimization module 304 includes:

[0158] The deletion submodule is configured to delete the invalid dependency relationship from the task dependency flowchart to obtain a first task dependency flowchart.

[0159] The second acquisition submodule is configured to acquire a preset optimization processing strategy.

[0160] The adjustment submodule is configured to perform task merging and sequence adjustment processing on the specified dependency relationship in the first task dependency flowchart based on the optimization processing strategy to obtain a second task dependency flowchart.

[0161] The first verification submodule is configured to perform optimization verification on the second task dependency flowchart.

[0162] The first determination submodule is configured to, if the second task dependency flowchart passes the optimization verification, take a current task dependency relationship in the second task dependency flowchart as the target task dependency relationship.

[0163] In some optional implementation manners of the embodiment, the construction module 305 includes:

[0164] The extraction submodule is configured to extract corresponding field limitation conditions based on the target task dependency relationship.

[0165] The second processing submodule is configured to combine the field restriction condition with the matched specified field information to generate a corresponding task operation logic.

[0166] The third processing submodule is configured to process the task operation logic based on a preset document construction strategy to generate a corresponding initial task logic document.

[0167] The second verification submodule is configured to perform logical verification on the initial task logic document.

[0168] The second determination submodule is configured to, if the initial task logic document passes the logical verification, take the initial task logic document as the target task logic document.

[0169] In some optional implementations of the embodiment, the task processing apparatus further includes:

[0170] The collection module is configured to collect first running result data of the target task within a specified time period.

[0171] The acquisition module is configured to acquire second running result data of an old task corresponding to the target task.

[0172] The comparison module is configured to compare the first running result data and the second running result data based on a preset comparison strategy to obtain a corresponding comparison result.

[0173] The verification module is configured to perform effectiveness verification on the target task based on the comparison result.

[0174] The third processing module is configured to, if the target task passes the effectiveness verification, formally start the target task and perform offline processing on the old task.

[0175] In some optional implementations of the embodiment, the comparison module includes:

[0176] The third acquisition submodule is configured to acquire a business target corresponding to the target task.

[0177] The third determination submodule is configured to determine a corresponding comparison index based on the business target.

[0178] The calling submodule is configured to call a preset data analysis tool.

[0179] The comparison submodule is configured to perform item-by-item comparison on the first running result data and the second running result data using the data analysis tool according to the comparison index to obtain a corresponding item-by-item comparison result.

[0180] The integration submodule is configured to integrate the item-by-item comparison result to obtain the comparison result.

[0181] In some optional implementations of the embodiment, the task processing apparatus further comprises:

[0182] a calling module configured to call a preset monitoring tool during running of the target task;

[0183] a monitoring module configured to perform monitoring processing on the target task based on the monitoring tool to obtain a corresponding monitoring result;

[0184] an inspection module configured to perform inspection processing on the target task based on a preset inspection strategy to obtain a corresponding inspection result;

[0185] a second optimization module configured to perform corresponding optimization processing on the target task based on the monitoring result and the inspection result.

[0186] To solve the above technical problems, the embodiment of the present application further provides a computer device. For details, please refer to Figure 4 , Figure 4 The basic structure block diagram of the computer device of the embodiment is shown in the figure.

[0187] The computer device 4 comprises a memory 41, a processor 42 and a network interface 43 which are connected to each other through a system bus. It should be pointed out that only the computer device 4 with components 41-43 is shown in the figure, but it should be understood that it is not required to implement all the shown components, and more or fewer components can be alternatively implemented. Among them, the computer device herein is a device capable of automatically performing numerical calculation and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessor, application specific integrated circuit (ASIC), field programmable gate array (FPGA), digital signal processor (DSP), embedded device, etc.

[0188] The computer device can be a desktop computer, a notebook computer, a palm computer and a cloud server, etc. The computer device can perform human-computer interaction with a user through a keyboard, a mouse, a remote controller, a touchpad or a sound control device, etc.

[0189] The memory 41 includes at least one type of readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 41 can be an internal storage unit of the computer device 4, such as a hard disk or a memory of the computer device 4. In other embodiments, the memory 41 can also be an external storage device of the computer device 4, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device 4. Of course, the memory 41 can also include both an internal storage unit and an external storage device of the computer device 4. In this embodiment, the memory 41 is generally used to store an operating system and various application software installed on the computer device 4, such as computer readable instructions of the task processing method, etc. In addition, the memory 41 can also be used to temporarily store various data that have been output or will be output.

[0190] The processor 42 can be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments. The processor 42 is generally used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is used to run computer readable instructions or process data stored in the memory 41, such as computer readable instructions of the task processing method.

[0191] The network interface 43 can include a wireless network interface or a wired network interface, and is generally used to establish a communication connection between the computer device 4 and other electronic devices.

[0192] The present application also provides another embodiment, i.e., to provide a computer readable storage medium storing computer readable instructions, which can be executed by at least one processor to make the at least one processor perform the steps of the task processing method as described above.

[0193] Those skilled in the art can clearly understand the above-mentioned embodiment method can be realized by means of software and the necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes a plurality of instructions for making a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) execute the methods described in various embodiments of the present application.

[0194] Obviously, the above-described embodiments are only some of the embodiments of the present application, not all the embodiments, and the drawings show the preferred embodiments of the present application, but do not limit the patent scope of the present application. The present application can be implemented in many different forms, and conversely, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions recorded in the foregoing specific embodiments, or make equivalent replacements to some of the technical features. Any equivalent structure made by using the contents of the specification and drawings, directly or indirectly applied to other related technical fields, is also within the scope of the patent protection of the present application.

Claims

1. A task processing method characterized by, The method comprises the following steps: obtaining task dependency information contained in a target business system, and constructing a corresponding task dependency flowchart based on the task dependency information; extracting information of tasks contained in the task dependency flowchart to obtain corresponding field dependency information; analyzing the task dependency flowchart based on the field dependency information to identify invalid dependency relationships and specified dependency relationships meeting optimization conditions from the task dependency flowchart; optimizing task dependency relationships of the task dependency flowchart based on the invalid dependency relationships and the specified dependency relationships to obtain corresponding target task dependency relationships; constructing a target task logic document meeting execution conditions based on the target task dependency relationships; performing task configuration processing in a preset production environment based on the target task logic document to obtain a completed target task; performing running processing on the target task based on the target task dependency relationships.

2. The task processing method according to claim 1, characterized by, The step of extracting information of tasks contained in the task dependency flowchart to obtain corresponding field dependency information comprises the following steps: obtaining task documents and operation logs corresponding to tasks contained in the task dependency flowchart; analyzing and processing the task documents to obtain corresponding document analysis results; reviewing and processing the operation logs to obtain corresponding log review results; information collation based on the document analysis results and the log review results to obtain corresponding field information; associating and listing the field information with corresponding task names to obtain corresponding field dependency information.

3. The task processing method of claim 1, wherein, The step of optimizing task dependency relationships of the task dependency flowchart based on the invalid dependency relationships and the specified dependency relationships to obtain corresponding target task dependency relationships comprises the following steps: deleting the invalid dependency relationships from the task dependency flowchart to obtain a first task dependency flowchart; obtaining a preset optimization processing strategy; performing task merging and sequence adjustment processing on the specified dependency relationships in the first task dependency flowchart based on the optimization processing strategy to obtain a second task dependency flowchart; optimization verification of the second task dependency flowchart; if the second task dependency flowchart passes the optimization verification, taking current task dependency relationships in the second task dependency flowchart as the target task dependency relationships.

4. The task processing method of claim 1, wherein, The step of constructing a target task logic document meeting execution conditions based on the target task dependency relationships comprises the following steps: extracting corresponding field restriction conditions based on the target task dependency relationships; combining the field restriction conditions with matching specified field information to generate corresponding task operation logic; processing the task operation logic based on a preset document construction strategy to generate a corresponding initial task logic document; logic verification of the initial task logic document; if the initial task logic document passes the logic verification, taking the initial task logic document as the target task logic document.

5. The task processing method of claim 1, wherein, After the step of performing running processing on the target task based on the target task dependency relationships, the method further comprises the following steps: Collecting first running result data of the target task in a specified time period; Obtaining second running result data of an old task corresponding to the target task; Comparing the first running result data and the second running result data based on a preset comparison strategy to obtain a corresponding comparison result; Performing effect verification on the target task based on the comparison result; If the target task passes the effect verification, formally starting the target task and performing offline processing on the old task.

6. The task processing method according to claim 5, characterized by, The step of comparing the first running result data and the second running result data based on a preset comparison strategy to obtain a corresponding comparison result specifically includes: Obtaining a business target corresponding to the target task; Determining a corresponding comparison index based on the business target; Calling a preset data analysis tool; Comparing the first running result data and the second running result data item by item using the data analysis tool according to the comparison index to obtain a corresponding item-by-item comparison result; Integrating the item-by-item comparison result to obtain the comparison result.

7. The task processing method of claim 1, wherein, After the step of performing running processing on the target task based on the target task dependency relationship, the method further includes: Calling a preset monitoring tool during running of the target task; Performing monitoring processing on the target task based on the monitoring tool to obtain a corresponding monitoring result; Performing inspection processing on the target task based on a preset inspection strategy to obtain a corresponding inspection result; Performing corresponding optimization processing on the target task based on the monitoring result and the inspection result.

8. A task processing apparatus characterized by comprising: The method includes: A first processing module configured to obtain task dependency situation information contained in a target business system and construct a corresponding task dependency process diagram based on the task dependency situation information; An extraction module configured to extract information of tasks contained in the task dependency process diagram to obtain corresponding field dependency information; A second processing module configured to analyze the task dependency process diagram based on the field dependency information to identify invalid dependency relationships and specified dependency relationships meeting optimization conditions from the task dependency process diagram; A first optimization module configured to perform optimization processing on the task dependency relationship of the task dependency process diagram based on the invalid dependency relationships and the specified dependency relationships to obtain a corresponding target task dependency relationship; A construction module configured to construct a target task logic document meeting execution conditions based on the target task dependency relationship; A configuration module configured to perform task configuration processing in a preset production environment based on the target task logic document to obtain a configured target task; A running module configured to perform running processing on the target task based on the target task dependency relationship.

9. A computer device, comprising: The computer readable storage medium has computer readable instructions stored thereon, and the computer readable instructions are executed by the processor to implement the steps of the task processing method in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium has computer readable instructions stored thereon, and the computer readable instructions are executed by the processor to implement the steps of the task processing method in any one of claims 1 to 7.