Information processing method, device, electronic device and storage medium

By calculating the expected completion time and application time of task links and nodes, the target completion time is automatically updated, which solves the problem of difficulty in ensuring the completion time in the big data platform and improves the availability and accuracy of the task completion time of the big data platform.

CN112148575BActive Publication Date: 2024-09-20JINGDONG TECH HLDG CO LTD
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202011005221.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-22
Publication Date
2024-09-20
Estimated Expiration
2040-09-22

AI Technical Summary

Technical Problem

In big data platforms, it is difficult for operation managers to accurately predict and guarantee the completion time of big data jobs, especially under large-scale workloads, making it difficult to guarantee the availability, reliability, and accuracy of the completion time.

Method used

By obtaining the expected completion time and application time of task links and nodes in the task framework, the target completion time is calculated, and the completion time is automatically updated when the task link changes to ensure that the time requirements of the business application meet the needs of the business party.

Benefits of technology

It improves the availability, reliability and accuracy of task completion time in the big data platform, ensures the accuracy of completion time under large-scale workloads, and reduces subjective judgment errors by platform operators.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112148575B
    Figure CN112148575B
Patent Text Reader

Abstract

The present application discloses an information processing method, device, electronic device and storage medium. Among them, the method includes: obtaining a task framework of a target business according to a service request sent by a requester, the task framework includes at least one task link, and the task link includes at least one task node; obtaining the expected completion time and expected application time of the task node; calculating the target completion time of the target business according to the expected completion time and the expected application time; and sending the target completion time to the requester. The embodiment of the present application can calculate the target completion time of tasks in a big data platform under various circumstances according to the expected completion time and the expected application time. Compared with the completion time set by the subjective judgment of the job leader or the platform operator in the prior art, it can ensure the availability, reliability and accuracy of the completion time under a group-level big data platform with a large amount of work.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of big data computing, and in particular to an information processing method, device, electronic device and storage medium. Background Art

[0002] With the advent of the big data era, enterprises have massive amounts of big data computing every day to support enterprise marketing and operations. In the enterprise big data platform or data center or data warehouse environment, there will be a large number of Hadoop batch computing tasks, Spark real-time computing tasks, Presto ad hoc query computing tasks, Flink real-time computing tasks, etc. The number of tasks ranges from tens of thousands to hundreds of thousands to millions. In such a massive big data computing task scenario, business users also have demands on the data processing completion time of the computing tasks (big data jobs) in the big data platform, and also on the completion time of the job set that supports a certain type of business application running in the big data platform. At this time, it is difficult for the operation and management personnel of the big data platform to ensure that the big data job can ensure that the time for the completion of the big data job processing meets the time requirements of the business party's data use, and it is even more difficult to ensure that the completion time of all jobs of a certain type of business application in the big data platform can meet the time requirements of the business user.

[0003] The inventors found that currently, the operators of the big data platform or the staff of the big data operation can only evaluate the estimated completion time of the big data platform for the business application operation of this type based on their personal experience, the time requirements of the business party, and the execution of individual operations in the big data platform. This method cannot guarantee the availability, reliability and accuracy of large-scale operations. Summary of the invention

[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present application provides an information processing method, device, electronic device and storage medium.

[0005] According to one aspect of an embodiment of the present application, there is provided an information processing method, including:

[0006] Acquire a task framework of a target business according to a service request sent by a requester, wherein the task framework includes at least one task link, and the task link includes at least one task node;

[0007] Obtaining the expected completion time and expected application time of the task node;

[0008] Calculate the target completion time of the target business according to the expected completion time and the expected application time;

[0009] The target completion time is sent to the requesting party.

[0010] Further, determining the target completion time of the task link according to the expected completion time and the expected application time includes:

[0011] Determine a first completion time of the task node according to the expected completion time and the expected application calculation;

[0012] Calculate the second completion time of the task link where the task node is located according to the first completion time;

[0013] The target completion time is calculated according to the second completion time.

[0014] Further, the determining the first completion time of the task node according to the expected completion time and the expected application calculation includes:

[0015] When both the expected completion time and the expected application time are not 0, the minimum of the expected completion time and the expected application time is used as the first completion time;

[0016] Or, the determining the first completion time of the task node according to the expected completion time and the expected application calculation includes:

[0017] When the expected completion time is not 0 and the expected application time is 0, determining the average completion time of the task node;

[0018] Calculate the target average completion time based on the average completion time and the preset time;

[0019] The minimum of the expected completion time and the target average completion time is used as the first completion time;

[0020] Or, the determining the first completion time of the task node according to the expected completion time and the expected application calculation includes:

[0021] When the expected completion time is 0 and the expected application time is not 0, obtaining at least one historical completion time;

[0022] Using the historical completion time that meets the first preset condition as the first completion time;

[0023] Or, the determining the first completion time of the task node according to the expected completion time and the expected application calculation includes:

[0024] When the expected completion time and the expected application time are both 0, determining the average completion time of the task node;

[0025] Calculate the target average completion time based on the average completion time and the preset time;

[0026] The target average completion time is used as the first completion time.

[0027] Further, determining a second completion time of the task link where the task node is located according to the first completion time includes:

[0028] Determine a third completion time of the parent node to which the task node belongs according to the first completion time;

[0029] When the parent node meets the second preset condition, the third completion time is used as the second completion time.

[0030] Further, determining a third completion time of a parent node to which the task node belongs according to the first completion time includes:

[0031] Obtaining the expected completion time and expected application time of the parent node;

[0032] The third completion time is obtained according to the first completion time, the expected completion time of the parent node, and the expected application time.

[0033] Furthermore, the method further comprises:

[0034] Determining the task link to be changed in the task framework according to the acquired change information of the target business;

[0035] Determine the fourth completion time of the task link to be changed;

[0036] The target completion time is updated according to the fourth completion time.

[0037] Further, determining the fourth completion time of the task link to be changed includes:

[0038] Determine the task node for executing the change operation in the task link to be changed;

[0039] The fourth completion time is determined according to the expected completion time and the expected application time of the task node that performs the change operation.

[0040] According to another aspect of the embodiments of the present application, there is also provided an information processing device, including:

[0041] An acquisition module, used for acquiring a task framework of a target business according to a service request sent by a requester, wherein the task framework includes at least one task link, and the task link includes at least one task node;

[0042] A determination module, used to determine the expected completion time and expected application time of the task node;

[0043] A processing module, configured to calculate a target completion time of the task link according to the expected completion time and the expected application time;

[0044] A sending module is used to send the target completion time to the requesting party.

[0045] According to another aspect of an embodiment of the present application, a storage medium is further provided, which includes a stored program, and the above steps are executed when the program is run.

[0046] According to another aspect of an embodiment of the present application, there is also provided an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; wherein: the memory is used to store computer programs; and the processor is used to execute the steps in the above method by running the program stored in the memory.

[0047] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the steps in the above method.

[0048] The above-mentioned technical scheme provided by the embodiment of the present application has the following advantages compared with the prior art: the embodiment of the present application can calculate the target completion time of tasks in the big data platform under various circumstances based on the expected completion time and the expected application time. Compared with the completion time set by the subjective judgment of the job leader or platform operator in the prior art, it can ensure the availability, reliability and accuracy of the completion time on a group-level big data platform with large-scale workloads. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0050] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0051] Figure 1 A flowchart of an information processing method provided in an embodiment of the present application;

[0052] Figure 2 A flowchart of an information processing method provided by another embodiment of the present application;

[0053] Figure 3 A block diagram of an information processing device provided in an embodiment of the present application;

[0054] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. The schematic embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0056] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another similar entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants 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, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0057] The embodiments of the present application provide an information processing method, device, electronic device and storage medium. The method provided by the embodiments of the present invention can be applied to any required electronic device, for example, it can be an electronic device such as a server, a terminal, etc., which is not specifically limited here. For the convenience of description, it is referred to as an electronic device in the following.

[0058] According to one aspect of an embodiment of the present application, a method embodiment of an information processing method is provided. The method provided in the embodiment of the present application is applied to a big data platform, and the big data platform is used to calculate the business completion time of various businesses. Figure 1 A flowchart of an information processing method provided in an embodiment of the present application, such as Figure 1 As shown, the method includes:

[0059] Step S11, obtaining a task framework of a target service according to a service request sent by a requester, wherein the task framework includes at least one task link, and the task link includes at least one task node.

[0060] In the embodiment of the present application, the requester may be a client that makes a request, and the service request carries the target business that is to be developed by the developer, such as an order business, an insurance business, a securities business, a navigation business, or an authentication business, etc. Each business corresponds to a task framework, and the task framework may be a link structure, or a tree structure, etc.

[0061] Therefore, each task framework includes at least one task link, and the task link includes at least one task node. For example, the order business includes payment module, query module, storage module, etc. Each module corresponds to a task link, and each module includes at least one task node, such as the payment module includes card and coupon management node, payment channel node, fund management node, etc.

[0062] Step S12, obtaining the expected completion time and expected application time of the task node.

[0063] It can be understood that the expected completion time can be the time when the requester expects each task node to be completed, and the expected application time can be the time when the requester expects each task node to be put into use or put online.

[0064] In this embodiment, the expected completion time and expected application time of the task node can be obtained through the input information received by the big data platform. Then the expected completion time and the expected application time are initialized. For example, the expected completion time can be initialized by batch reading the expected completion time in the big data platform through the API interface to complete the initialization, or the expected completion time can be batch imported according to a certain format.

[0065] Step S13: Calculate the target completion time of the target service according to the expected completion time and the expected application time.

[0066] In the embodiment of the present application, step S13 further includes:

[0067] Step A1, calculating and determining the first completion time of the task node according to the expected completion time and the expected application time;

[0068] It should be noted that due to various uncertainties in the task operation process and different business types, the expected completion time and the expected application time may exist at the same time, or only one of them may exist, or neither of them exists. The following embodiments are specific descriptions of the above situations.

[0069] (1) The first completion time of the task node is determined based on the expected completion time and the expected application time, including: when the expected completion time and the expected application time are both not zero (i.e., both the expected completion time and the expected application time exist), the smallest of the expected completion time and the expected application time is taken as the first completion time.

[0070] task_sp_sla=min(task_rq_sla, biz_sla);

[0071] Among them, task_sp_sla represents the first completion time, task_rq_sla is the expected completion time, and biz_sla is the expected application time.

[0072] (2) In an embodiment of the present application, the first completion time of the task node is determined based on the expected completion time and the expected application calculation, and also includes: when the expected completion time is not 0 and the expected application time is 0 (that is, the expected completion time exists and the expected application time does not exist), the average completion time of the task node is determined, and the target average completion time is calculated based on the average completion time and the preset time, and the smaller of the expected completion time and the target average completion time is used as the first completion time.

[0073] task_sp_sla=min(task_sp_sla,task_avg_endtime+30);

[0074] Among them, task_sp_sla represents the first completion time, task_rq_sla is the expected completion time, biz_sla is the expected application time, task_avg_endtime is the average completion time, and 30 is the preset time. The purpose of increasing the preset time is to reduce the fluctuation caused by the average completion time.

[0075] (3) In an embodiment of the present application, the first completion time of the task node is determined based on the expected completion time and the expected application calculation, including: when the expected completion time is 0 and the expected application time is not 0 (that is, the expected completion time does not exist, but the expected application time exists), obtaining at least one historical completion time, and taking the historical completion time that meets the first preset condition as the first completion time.

[0076] task_sp_sla=min(biz_sla)0;

[0077] Among them, task_sp_sla represents the first completion time, task_rq_sla is the expected completion time, and biz_sla is the expected application time.

[0078] (4) In an embodiment of the present application, the first completion time of the task node is determined based on the expected completion time and the expected application calculation, and also includes: when the expected completion time and the expected application time are both 0 (that is, neither the expected completion time nor the expected application time exists), the average completion time of the task node is determined, and the target average completion time is calculated based on the average completion time and the preset time, and the target average completion time is used as the first completion time.

[0079] task_sp_sla=task_avg_endtime+30;

[0080] Among them, task_avg_endtime is the average completion time, and 30 is the preset time. The purpose of increasing the preset time is to reduce the fluctuation caused by the average completion time.

[0081] Step A2, calculating the second completion time of the task link where the task node is located according to the first completion time;

[0082] In this step, the third completion time of the parent node to which the task node belongs is first determined according to the first completion time; when the parent node meets the second preset condition, the third completion time is used as the second completion time.

[0083] Among them, determining the third completion time of the parent node to which the task node belongs according to the first completion time specifically includes: obtaining the expected completion time and expected application time of the parent node, and obtaining the third completion time according to the first completion time, and the expected completion time and expected application time of the parent node.

[0084] As an example, the expected completion time and expected application time of the parent node are determined based on the input information received by the big data platform, the target completion time of the parent node is determined based on the expected completion time and the expected application time of the parent node, and then the third completion time is obtained by adding the target completion time of the parent node and the first completion time.

[0085] Step A3: determining the target completion time according to the second completion time.

[0086] In this step, when a task framework includes multiple task links, multiple second completion times will be obtained. In this case, the second completion time with the smallest value is used as the target completion time.

[0087] Step S14, sending the target completion time to the requesting party.

[0088] In an embodiment of the present application, the target completion time is sent to the requesting party, and the requesting party can make relevant decisions based on the target completion time of the target business.

[0089] As an example, the big data platform can read the target completion time of each task through the API service and display it to the platform operator and the task person through the web view. The platform operator and the task person in charge can communicate with the requester based on the target completion time to agree on the accurate and reliable service time for data application.

[0090] The embodiments of the present application can calculate the target completion time of tasks in the big data platform in various situations based on the expected completion time and the expected application time. Compared with the completion time set by the subjective judgment of the job leader or platform operator in the prior art, it can ensure the availability, reliability and accuracy of the completion time in the group-level big data platform scenario with large-scale operations.

[0091] In the process of implementing the present invention, the inventors also found that when a new task node is added or a task node is taken offline in the task chain of the big data platform, the entire task chain will change. At this time, the completion time and application time related to the task chain change will be affected, and it is difficult for platform operators to timely evaluate the application time of the business after the task chain changes.

[0092] In order to solve the above technical problems, the embodiment of the present application also provides an information processing method. Figure 2 A flowchart of an information processing method provided in an embodiment of the present application, such as Figure 2 As shown, the method may include the following steps:

[0093] Step S21, determining the task link to be changed in the task framework according to the acquired change information of the target business;

[0094] In an embodiment of the present application, the change information can be initiated by the client, and the change information carries a service identifier, and the service to be changed and the task framework of the service to be changed can be determined according to the service identifier. In addition, the change information also includes the change content, and the change content includes the node identifier of the task node to be changed in the task framework of the service to be changed. According to the node identifier, the task node to be changed and the task link corresponding to the node can be determined.

[0095] Step S22, determining the fourth completion time of the task link to be changed;

[0096] In the embodiment of the present application, after determining the task node that performs the change operation in the task link to be changed, the fourth completion time is determined according to the expected completion time and the expected application time of the task node that performs the change operation.

[0097] Among them, the expected completion time and expected application time of the task node that executes the change operation can be obtained from the change information, or can be obtained through the input information received by the big data platform. Determining the fourth completion time based on the expected completion time and the expected application time is the same as the calculation process of the above embodiment, and will not be repeated here.

[0098] Step S23: updating the target completion time according to the fourth completion time.

[0099] Through the above content, after adding a new task node or taking a task node offline in the task chain, the completion time of the subsequent task can be automatically changed. This solves the technical problem that platform operators find it difficult to timely evaluate the application time of the business after the task chain changes.

[0100] Figure 3 This is a block diagram of an information processing device provided in an embodiment of the present application. The device can be implemented as part or all of an electronic device through software, hardware, or a combination of both. Figure 3 As shown, the device comprises:

[0101] An acquisition module 31 is used to acquire a task framework of a target service according to a service request sent by a requester, wherein the task framework includes at least one task link, and the task link includes at least one task node;

[0102] A determination module 32, used to determine the expected completion time and expected application time of the task node;

[0103] A processing module 33, configured to calculate a target completion time of the task link according to the expected completion time and the expected application time;

[0104] The sending module 34 is used to send the target completion time to the requesting party.

[0105] Furthermore, the processing module 33 includes:

[0106] A first calculation submodule, used to determine a first completion time of the task node according to the expected completion time and the expected application calculation;

[0107] A second calculation submodule, used to calculate a second completion time of the task link where the task node is located according to the first completion time;

[0108] The third calculation submodule is used to calculate the target completion time according to the second completion time.

[0109] Furthermore, the first calculation submodule is specifically configured to use the minimum of the expected completion time and the expected application time as the first completion time when both the expected completion time and the expected application time are not 0;

[0110] Or, a first calculation submodule, specifically used to determine the average completion time of the task node when the expected completion time is not 0 and the expected application time is 0; calculate the target average completion time according to the average completion time and the preset time; and take the minimum of the expected completion time and the target average completion time as the first completion time;

[0111] Or, a first calculation submodule is specifically used to obtain at least one historical completion time when the expected completion time is 0 and the expected application time is not 0; and take the historical completion time that meets the first preset condition as the first completion time;

[0112] Or, a first calculation submodule is specifically used to determine the average completion time of the task node when the expected completion time and the expected application time are both 0; calculate the target average completion time based on the average completion time and the preset time; and use the target average completion time as the first completion time.

[0113] Furthermore, the second calculation submodule includes:

[0114] A processing unit, configured to determine a third completion time of a parent node to which the task node belongs according to the first completion time;

[0115] The execution unit is configured to use the third completion time as the second completion time when the parent node satisfies a second preset condition.

[0116] Furthermore, the execution unit is specifically used to obtain the expected completion time and the expected application time of the parent node, and obtain the third completion time according to the first completion time, and the expected completion time and the expected application time of the parent node.

[0117] Furthermore, the device also includes a change module, and the change module includes:

[0118] A processing submodule, used for determining the task link to be changed in the task framework according to the acquired change information of the target business;

[0119] A calculation submodule, used to determine a fourth completion time of the task link to be changed;

[0120] The updating submodule is used to update the target completion time according to the fourth completion time.

[0121] Furthermore, the calculation submodule is specifically used to determine the task node that executes the change operation in the task link to be changed, and determine the fourth completion time according to the expected completion time and expected application time of the task node that executes the change operation.

[0122] The present application also provides an electronic device, such as Figure 4As shown, the electronic device may include: a processor 1501 , a communication interface 1502 , a memory 1503 and a communication bus 1504 , wherein the processor 1501 , the communication interface 1502 , and the memory 1503 communicate with each other via the communication bus 1504 .

[0123] Memory 1503, used for storing computer programs;

[0124] The processor 1501 is used to implement the steps of the above embodiment when executing the computer program stored in the memory 1503.

[0125] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0126] The communication interface is used for communication between the above terminal and other devices.

[0127] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0128] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0129] In another embodiment provided in the present application, a computer-readable storage medium is provided, in which instructions are stored. When the computer-readable storage medium is executed on a computer, the computer executes the information processing method described in any one of the above embodiments.

[0130] In another embodiment provided in the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute the information processing method described in any one of the above embodiments.

[0131] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk SolidState Disk), etc.

[0132] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.

[0133] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.

Claims

1. An information processing method, characterized in that: include: Acquire a task framework of the target business according to the service request sent by the requester, wherein the task framework includes at least one task link, and the task link includes at least one task node; Obtaining the expected completion time and expected application time of the task node; Calculate the target completion time of the target business in the current actual situation according to the expected completion time and the expected application time, wherein the current actual situation includes four situations: the expected completion time and the expected application time are both not 0, the expected completion time is not 0 and the expected application time is 0, the expected completion time is 0 and the expected application time is not 0, and the expected completion time and the expected application time are both 0; sending the target completion time to the requesting party; Determining the target completion time of the task link according to the expected completion time and the expected application time includes: calculating and determining a first completion time of the task node according to the expected completion time and the expected application time; calculating a second completion time of the task link where the task node is located according to the first completion time; and calculating the target completion time according to the second completion time; The calculating and determining the first completion time of the task node according to the expected completion time and the expected application time includes: when both the expected completion time and the expected application time are not 0, taking the minimum of the expected completion time and the expected application time as the first completion time; The first completion time of the task node is determined by calculating according to the expected completion time and the expected application time, including: when the expected completion time is not 0 and the expected application time is 0, determining the average completion time of the task node; calculating the target average completion time according to the average completion time and the preset time, wherein the preset time is used to reduce the fluctuation caused by the average completion time; and taking the minimum of the expected completion time and the target average completion time as the first completion time; The calculating and determining the first completion time of the task node according to the expected completion time and the expected application time includes: when the expected completion time is 0 and the expected application time is not 0, obtaining at least one historical completion time; and using the historical completion time that meets the first preset condition as the first completion time; The method of calculating and determining the first completion time of the task node based on the expected completion time and the expected application time includes: when the expected completion time and the expected application time are both 0, determining the average completion time of the task node; calculating the target average completion time based on the average completion time and the preset time; and using the target average completion time as the first completion time.

2. The method according to claim 1, characterized in that The determining, according to the first completion time, a second completion time of the task link where the task node is located comprises: Determine a third completion time of the parent node to which the task node belongs according to the first completion time; When the parent node meets the second preset condition, the third completion time is used as the second completion time.

3. The method according to claim 2, characterized in that The determining, according to the first completion time, a third completion time of the parent node to which the task node belongs includes: Obtaining the expected completion time and expected application time of the parent node; The third completion time is obtained according to the first completion time, the expected completion time of the parent node, and the expected application time.

4. The method according to claim 1, characterized in that: The method further comprises: Determining the task link to be changed in the task framework according to the acquired change information of the target business; Determine the fourth completion time of the task link to be changed; The target completion time is updated according to the fourth completion time.

5. The method according to claim 4, characterized in that The determining the fourth completion time of the task link to be changed includes: Determine the task node for executing the change operation in the task link to be changed; The fourth completion time is determined according to the expected completion time and the expected application time of the task node that performs the change operation.

6. An information processing device, characterized in that: include: An acquisition module, used for acquiring a task framework of a target business according to a service request sent by a requester, wherein the task framework includes at least one task link, and the task link includes at least one task node; A determination module, used to determine the expected completion time and expected application time of the task node; a processing module, configured to determine a target completion time of the target business under a current actual situation according to the expected completion time and the expected application time, wherein the current actual situation includes four situations: the expected completion time and the expected application time are both not 0, the expected completion time is not 0 and the expected application time is 0, the expected completion time is 0 and the expected application time is not 0, and the expected completion time and the expected application time are both 0; A sending module, used for sending the target completion time to the requesting party; The processing module is specifically used to: calculate and determine the first completion time of the task node according to the expected completion time and the expected application time; calculate the second completion time of the task link where the task node is located according to the first completion time; and calculate the target completion time according to the second completion time; The processing module is further configured to: when both the expected completion time and the expected application time are not 0, use the minimum of the expected completion time and the expected application time as the first completion time; The processing module is further used to: when the expected completion time is not 0 and the expected application time is 0, determine the average completion time of the task node; calculate the target average completion time according to the average completion time and the preset time, wherein the preset time is used to reduce the fluctuation caused by the average completion time; and take the minimum of the expected completion time and the target average completion time as the first completion time; The processing module is further configured to: when the expected completion time is 0 and the expected application time is not 0, obtain at least one historical completion time; and use the historical completion time that meets the first preset condition as the first completion time; The processing module is also used to: when the expected completion time and the expected application time are both 0, determine the average completion time of the task node; calculate the target average completion time based on the average completion time and the preset time; and use the target average completion time as the first completion time.

7. A storage medium, characterized in that: The storage medium includes a stored program, wherein the program executes the method steps of any one of claims 1 to 5 when executed.

8. An electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein: The processor, the communication interface, and the memory communicate with each other via a communication bus; wherein: Memory, used to store computer programs; A processor, configured to execute the method steps of any one of claims 1 to 5 by running a program stored in a memory.

Citation Information

Patent Citations

  • Task allocation method and system

    CN106528280A

  • Real-time emulation method of link conflict based on event

    CN106789218A

  • Cloud resource scheduling method and equipment

    CN107659433A

  • Workflow system, method for controlling it, program, and recording medium

    JP2006018529A

  • Method of business management and supply chain management using work flow engine

    KR1020060091501A