Task arrangement method and device, electronic equipment and storage medium
By evaluating the importance parameters and workload of project tasks, orchestrating tasks and assigning the work ends, the problems of low manual estimation efficiency and poor accuracy are solved, and efficient and accurate task schedules and automatic creation of multi-level development tasks are achieved.
Patent Information
- Application Number
- CN202411937995.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-22
AI Technical Summary
In the prior art, manual estimation is used to determine how many tasks that need to be developed should be placed in the project version. It is inefficient and poorly accurate, resulting in the task being unable to be completed in time and the optimal schedule cannot be achieved.
By obtaining the original task list, determine the importance parameters of each task and the required parameters of the task, evaluate the workload required for each task, arrange the task according to the importance parameters, assign the job side, and create multi-level development tasks based on the end configuration.
It improves the efficiency and accuracy of task schedules, ensures that tasks can be completed in a timely manner, achieves the optimal task schedule, and automatically creates multi-level development tasks, improving work efficiency.
Smart Images

Figure CN119863076A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a task scheduling method, device, electronic device and storage medium. Background Art
[0002] In current project management, it is usually managed in the form of versions. In each version of the project, there are usually multiple tasks that need to be developed, but the release time and manpower of each version of the project are fixed, and the priority and workload of each task are different.
[0003] Therefore, for each version of the project with multiple tasks to be developed, how to determine the maximum number of tasks that should be included in the version under the existing conditions is an urgent problem to be solved. Currently, it is usually determined by manual estimation.
[0004] However, manual estimation is not only inefficient in determining how many tasks should be included in the version, but also mostly relies on experience, resulting in poor accuracy in determining how many tasks should be included in the version. Sometimes, the scheduled tasks cannot be developed and completed in a timely manner, making it impossible to achieve optimal task scheduling. Summary of the invention
[0005] In order to solve the above-mentioned technical problem that the manual estimation method is used to determine how many tasks should be included in the version, which is not only inefficient, but also mostly relies on experience, resulting in poor accuracy in determining how many tasks should be included in the version, and sometimes the included tasks cannot be developed and completed in time, and the optimal scheduling of tasks cannot be achieved, this application provides a task scheduling method, device, electronic device and storage medium. The specific technical solution is as follows:
[0006] In a first aspect, the present application provides a task scheduling method, the method comprising:
[0007] Obtaining an original task list, and determining the importance parameter and task required parameter corresponding to each original task in the original task list;
[0008] According to the parameters required for the task, the required workload corresponding to each original task in the original task list is evaluated;
[0009] Arrange the original tasks in the original task list according to the importance parameter to obtain a task arrangement result;
[0010] Allocate a corresponding operation end to the original task in the original task list according to the task scheduling result and the required workload;
[0011] The end configuration of the operation end is obtained, and a multi-level development task is created for the original task according to the end configuration.
[0012] In an optional implementation, determining the importance parameter corresponding to each original task in the original task list includes:
[0013] For any original task in the original task list, determine the service category and service priority corresponding to the original task.
[0014] In an optional implementation, the arranging the original tasks in the original task list according to the importance parameter to obtain a task arrangement result includes:
[0015] For any original task in the original task list, determining a service weight of the service category corresponding to the original task;
[0016] The original tasks in the original task list are sorted according to the business weights and the business priorities corresponding to the original tasks to obtain a task sorting result.
[0017] In an optional implementation, the sorting of the original tasks in the original task list according to the business weights and the business priorities corresponding to the original tasks to obtain task sorting results includes:
[0018] For any original task in the original task list, the service weight and the service priority corresponding to the original task are merged to obtain a fusion result;
[0019] According to the fusion result, the original tasks in the original task list are sorted to obtain a task sorting result.
[0020] In an optional implementation, allocating a corresponding operation end to the original task in the original task list according to the task scheduling result and the required workload includes:
[0021] According to the task scheduling result, the original task is obtained from the original task list, and the operation end corresponding to the original task is determined;
[0022] Searching for an available resource pool associated with the job end from the available resource pool set, and determining an available workload corresponding to the available resource pool;
[0023] The available workload is obtained by evaluating the available parameters of the operation end;
[0024] Determining whether the required workload corresponding to the original task exceeds the available workload;
[0025] When the required workload does not exceed the available workload, the original task is allocated to the operation end.
[0026] In an optional implementation, the available resource pool set is created in the following manner:
[0027] Acquire an original resource pool set, wherein the original resource pool set includes multiple original resource pools;
[0028] For any of the original resource pools in the original resource pool set, determining a resource over-discharge rate corresponding to the original resource pool;
[0029] According to the resource over-discharge rate, the original resource pool is adjusted to obtain an available resource pool;
[0030] An available resource pool set is composed of a plurality of the available resource pools.
[0031] In an optional implementation, creating a multi-level development task for the original task according to the terminal configuration includes:
[0032] According to the terminal configuration, split the original task into multiple levels of subtasks;
[0033] For each level of subtask, create corresponding development tasks.
[0034] In a second aspect, the present application provides a task scheduling device, the device comprising:
[0035] A parameter determination module is used to obtain an original task list and determine the importance parameter and task required parameter corresponding to each original task in the original task list;
[0036] A workload evaluation module, used for evaluating the required workload corresponding to each original task in the original task list according to the required parameters of the task;
[0037] A task scheduling module, used for scheduling the original tasks in the original task list according to the importance parameter to obtain a task scheduling result;
[0038] A task allocation module, configured to allocate a corresponding operation end to the original task in the original task list according to the task scheduling result and the required workload;
[0039] The task creation module is used to obtain the terminal configuration of the operation terminal, and create a multi-level development task for the original task according to the terminal configuration.
[0040] In a third aspect, an electronic device is provided, 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 the communication bus;
[0041] Memory, used to store computer programs;
[0042] The processor is used to implement any task scheduling method described in the first aspect when executing the program stored in the memory.
[0043] In a fourth aspect, a storage medium is also provided, wherein instructions are stored in the storage medium, and when the storage medium is executed on a computer, the computer executes any of the task scheduling methods described in the first aspect.
[0044] In a fifth aspect, a computer program product comprising instructions is also provided, which, when executed on a computer, enables the computer to execute any of the task scheduling methods described above.
[0045] The above-mentioned technical scheme provided by the embodiment of the present application has the following advantages compared with the prior art: the method provided by the embodiment of the present application obtains the original task list, and determines the importance parameters and task required parameters corresponding to each original task in the original task list, evaluates the required workload corresponding to each original task in the original task list according to the task required parameters, arranges the original tasks in the original task list according to the importance parameters, obtains the task arrangement results, and assigns the corresponding job ends to the original tasks in the original task list according to the task arrangement results and the required workload; obtains the end configuration of the job end, and creates multi-level development tasks for the original tasks according to the end configuration.
[0046] Through the task required parameters corresponding to each original task, the required workload corresponding to each original task is evaluated. Through the importance parameters corresponding to each original task, the original tasks are scheduled to obtain the task scheduling results. According to the task scheduling results and the required workload, the original tasks are scheduled. In this way, the importance parameters and the required task parameters of the original tasks are converted into the constraints of the original tasks for task scheduling. The optimal task schedule can be obtained, the efficiency is improved, the accuracy of task scheduling is guaranteed, and multi-level development tasks are automatically created for the original tasks, which improves efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] 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.
[0048] 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.
[0049] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0050] Figure 1 A schematic diagram of an implementation flow of a task scheduling method provided in an embodiment of the present application;
[0051] Figure 2 A schematic diagram of an implementation flow of another task scheduling method provided in an embodiment of the present application;
[0052] Figure 3 A schematic diagram of an implementation flow of another task scheduling method provided in an embodiment of the present application;
[0053] Figure 4 A schematic diagram of the structure of a task scheduling device provided in an embodiment of the present application;
[0054] Figure 5 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 solution and advantages of the embodiments of the present application clearer, the technical solution 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. 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 this application.
[0056] The disclosure below provides many different embodiments or examples to realize the different structures of the present application. In order to simplify the disclosure of the present application, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present application. In addition, the present application can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0057] like Figure 1FIG. 1 is a schematic diagram of an implementation flow of a task scheduling method provided in an embodiment of the present application. The method may specifically include the following steps:
[0058] S101, obtaining an original task list, and determining the importance parameter and task required parameter corresponding to each original task in the original task list.
[0059] In an embodiment of the present application, for a certain version of a project, there is a corresponding original task list, which includes multiple original tasks, and each original task corresponds to a business requirement.
[0060] Based on this, the original task list can be obtained, and the importance parameters and task required parameters corresponding to each original task in the original task list can be determined. The importance parameters can be, for example, the business priority and business category corresponding to the original task, and the task required parameters can be, for example, the time, resources, cost, etc. required by the original task.
[0061] For example, an original task list is obtained, where the original task list includes original task 1, original task 2, original task 3, ..., original task N, and importance parameters and task required parameters corresponding to each of the original tasks in the original task list are determined.
[0062] S102: Evaluate the required workload corresponding to each original task in the original task list according to the required parameters of the task.
[0063] In an embodiment of the present application, for the task required parameters corresponding to each original task in the original task list, the required workload corresponding to each original task in the original task list can be evaluated based on the task required parameters, which means converting the task required parameters of the original task into the required workload of the original task.
[0064] Among them, the specific method of evaluating the required workload corresponding to each original task in the original task list according to the parameters required for the task can be manual evaluation, of course, it can also be assisted by a deep learning model, that is, the parameters required for the task are input into the deep learning model to obtain the required workload corresponding to each original task in the original task list.
[0065] S103, arranging the original tasks in the original task list according to the importance parameters to obtain a task arrangement result.
[0066] In the embodiment of the present application, for the importance parameters corresponding to each original task in the original task list, the original tasks in the original task list can be arranged according to these importance parameters to obtain a task arrangement result.
[0067] It should be noted that the task scheduling result refers to an ordered original task sequence. By scheduling the original tasks in the original task list according to the importance parameters corresponding to each original task in the original task list, an ordered original task sequence can be obtained.
[0068] S104: assign corresponding operation ends to the original tasks in the original task list according to the task scheduling result and the required workload.
[0069] In an embodiment of the present application, for the task scheduling results and the required workload obtained in the above steps, the corresponding job ends can be assigned to the original tasks in the original task list based on the task scheduling results and the required workload, which means that the corresponding job ends are assigned to the original tasks in the original task list in an orderly manner with reference to the required workload of the original tasks.
[0070] It should be noted that the operation end usually refers to the application end of a project or application. For example, a project can be applied on a PC or a mobile phone, so both the PC and the mobile phone are application ends, that is, the operation end.
[0071] S105, obtaining the terminal configuration of the operation terminal, and creating a multi-level development task for the original task according to the terminal configuration.
[0072] In the embodiment of the present application, for the operation end, there is a corresponding end configuration, and the end configuration specifies the personnel configuration, etc. For example, the end configuration specifies the developers and the energy efficiency of each developer, and different energy efficiencies result in different development tasks that can be completed.
[0073] Based on this, the end configuration of the operation end can be obtained, and multi-level development tasks can be created for the original task according to the end configuration of the operation end, so that multi-level development tasks can be automatically created for the original task. For example, the end configuration of the PC end is obtained, and multi-level development tasks are created for the original task according to the end configuration of the PC end.
[0074] Through the above description of the technical solution provided in the embodiment of the present application, an original task list is obtained, and the importance parameters and task required parameters corresponding to each original task in the original task list are determined; according to the task required parameters, the required workload corresponding to each original task in the original task list is evaluated; according to the importance parameters, the original tasks in the original task list are arranged to obtain task arrangement results; according to the task arrangement results and the required workload, corresponding job ends are assigned to the original tasks in the original task list, the end configuration of the job end is obtained, and according to the end configuration, multi-level development tasks are created for the original tasks.
[0075] Through the task required parameters corresponding to each original task, the required workload corresponding to each original task is evaluated. Through the importance parameters corresponding to each original task, the original tasks are scheduled to obtain the task scheduling results. According to the task scheduling results and the required workload, the original tasks are scheduled. In this way, the importance parameters and the required task parameters of the original tasks are converted into the constraints of the original tasks for task scheduling. The optimal task schedule can be obtained, the efficiency is improved, the accuracy of task scheduling is guaranteed, and multi-level development tasks are automatically created for the original tasks, which improves efficiency.
[0076] like Figure 2 FIG. 1 is a schematic diagram of an implementation flow of another task scheduling method provided in an embodiment of the present application. The method may specifically include the following steps:
[0077] S201, obtaining an original task list, and determining, for any original task in the original task list, a business category, a business priority, and task required parameters corresponding to the original task.
[0078] In the embodiment of the present application, an original task list is obtained, which includes multiple original tasks. For any original task in the original task list, the business category and business priority corresponding to the original task are determined, and the business category and business priority are the importance parameters of the original task. In addition, the task required parameters corresponding to the original task need to be determined.
[0079] For example, obtain an original task list, where the original task list includes original task 1, original task 2, original task 3, ..., original task N. For any original task i (i=1, 2, 3, ..., N) in the original task list, determine the business category, business priority and task required parameters corresponding to the original task i.
[0080] It should be noted that the business category represents the business to which the original task belongs. For example, for original task 1, its corresponding business category is A, which represents the membership business to which original task 1 belongs. The business priority represents the urgency of the original task. The higher the priority, the more urgent the corresponding original task is and needs to be processed as soon as possible.
[0081] S202: Evaluate the required workload corresponding to each original task in the original task list according to the required parameters of the task.
[0082] In the embodiment of the present application, this step is similar to the above-mentioned step S102, and the embodiment of the present application will not be described one by one here.
[0083] S203: For any original task in the original task list, determine a business weight of a business category corresponding to the original task.
[0084] In the embodiment of the present application, different service weights are matched to different service categories. For example, as shown in Table 1 below, different service weights are matched to service category A, service category B, and service category C.
[0085]
[0086]
[0087] Table 1
[0088] Based on this, for any original task in the original task list, after determining the business category corresponding to the original task, it is also necessary to determine the business weight of the business category corresponding to the original task. Subsequently, the original tasks can be sorted according to the business weight of the business category corresponding to the original task and the business priority corresponding to the original task.
[0089] S204, sorting the original tasks in the original task list according to the business weights and the business priorities corresponding to the original tasks to obtain a task sorting result.
[0090] In an embodiment of the present application, for any original task in the original task list, after the above steps, the business weight of the business category corresponding to the original task and the business priority corresponding to the original task can be obtained. Therefore, the original tasks in the original task list can be sorted according to the business weight and the business priority corresponding to the original task to obtain the task sorting result.
[0091] Among them, the business weight and the business priority can be fused into a result, and then the original tasks in the original task list are sorted according to the result. To this end, for any original task in the original task list, the business weight of the business category corresponding to the original task and the business priority corresponding to the original task are fused to obtain a fusion result, and the original tasks in the original task list are sorted according to these fusion results to obtain a task sorting result.
[0092] It should be noted that the business weight of the business category corresponding to the original task and the business priority corresponding to the original task are integrated, and the fusion strategy adopted may be, for example, a weighted sum fusion strategy, or other fusion strategies, which is not limited in the embodiments of the present application.
[0093] S205: assign corresponding operation ends to the original tasks in the original task list according to the task sorting results and the required workload.
[0094] In an embodiment of the present application, for the task sorting results and the required workload obtained in the above steps, the corresponding job ends can be assigned to the original tasks in the original task list based on the task sorting results and the required workload, which means that the corresponding job ends are assigned to the original tasks in the original task list in an orderly manner with reference to the required workload of the original tasks.
[0095] In the process of allocating corresponding operation ends to the original tasks in the original task list according to the task sorting results and the required workload, it is necessary to consider whether the required workload of the original task exceeds the upper limit of the available workload that the operation end can provide.
[0096] Based on this, according to the task sorting result, the original task is obtained from the original task list, and the job end corresponding to the original task is determined. The available resource pool associated with the job end is searched from the available resource pool set, and the available workload corresponding to the available resource pool is determined. It is judged whether the required workload corresponding to the original task exceeds the available workload. If the required workload does not exceed the available workload, the original task is assigned to the job end. If the required workload exceeds the available workload, the original task is put back into the original task list, which means that the original task will not be scheduled into the job end this time.
[0097] Among them, for the available workload corresponding to the available resource pool, the available workload of the job end is generally evaluated based on the available parameters of the job end (for example, the human efficiency of the developer that the job end can provide), and then the available workload is assigned to the available resource pool associated with the job end. Specifically, the available workload of the job end can be obtained by manual evaluation, or by inputting the available parameters of the job end into the deep learning model, which is not limited in the embodiments of the present application.
[0098] It should be noted that the required workload of the original task refers to the workload required to complete the original task, and the available workload corresponding to the available resource pool refers to the maximum workload that the available resource pool can provide.
[0099] Among them, the above-mentioned available resource pool set is specifically created in the following way: obtain the original resource pool set, wherein the original resource pool set includes multiple original resource pools, and for any original resource pool in the original resource pool set, determine the resource over-scheduling rate corresponding to the original resource pool, and adjust the original resource pool according to the resource over-scheduling rate to obtain an available resource pool, wherein the available resource pool set is composed of multiple available resource pools.
[0100] Specifically, for each original resource pool, there is a corresponding original available workload. Generally, the original available workload of the job end is evaluated based on the original available parameters of the job end, and then the original available workload is assigned to the original resource pool associated with the job end. Specifically, the original available workload of the job end can be obtained by manual evaluation or by inputting the original available parameters of the job end into the deep learning model, which is not limited in the embodiments of the present application.
[0101] In addition, for the original resource pool, the resource over-scheduling rate corresponding to the original resource pool is determined, and the original resource pool is adjusted according to the resource over-scheduling rate to obtain an available resource pool. Correspondingly, for the original available workload corresponding to the original resource pool, the original available workload can be adjusted according to the resource over-scheduling rate to obtain an available workload, which is the available workload of the available resource pool.
[0102] It should be noted that the original resource pool can be adjusted according to actual conditions, that is, before adjusting the original resource pool according to the resource over-scheduling rate, the original resource pool can be adjusted according to actual conditions to obtain the actual resource pool, and then the actual resource pool can be adjusted according to the resource over-scheduling rate to obtain the available resource pool. The embodiments of the present application do not limit this.
[0103] S206, obtaining the end configuration of the operation end, and creating a multi-level development task for the original task according to the end configuration.
[0104] In the embodiment of the present application, for the operation end, there is a corresponding end configuration, and the end configuration specifies the personnel configuration, etc. For example, the end configuration specifies the developers and the energy efficiency of each developer, and different energy efficiencies result in different development tasks that can be completed.
[0105] Based on this, the end configuration of the job end can be obtained. According to the end configuration of the job end, the original task can be split into multi-level subtasks. For each level of subtask, a corresponding development task is created. In this way, multi-level development tasks can be created for the original task.
[0106] Before creating the corresponding development task for each level of subtask, a development task creation prompt can be issued. If the user agrees to create it, a corresponding development task can be created for each level of subtask, thereby realizing the creation of multi-level development tasks for the original task.
[0107] like Figure 3 FIG. 1 is a schematic diagram of an implementation flow of another task scheduling method provided in an embodiment of the present application. The method may specifically include the following steps:
[0108] An original task list is obtained, the original task list includes multiple original tasks, and for any original task in the original task list, a business category and a business priority corresponding to the original task are determined, that is, the business category and the business priority corresponding to the original task are matched.
[0109] Different business categories match different business weights. Therefore, for any original task in the original task list, after determining the business category corresponding to the original task, it is also necessary to determine the business weight of the business category corresponding to the original task, that is, to match the business weight of the business category corresponding to the original task.
[0110] For any original task in the original task list, after the above steps, the business weight of the business category corresponding to the original task and the business priority corresponding to the original task can be obtained. Therefore, the original tasks in the original task list can be sorted according to the business weight and the business priority corresponding to the original task to obtain the task sorting result, that is, for the original task list, the sorted original task list is obtained.
[0111] For the task sorting results obtained in the above steps, corresponding job ends can be assigned to the original tasks in the original task list according to the task sorting results, which means that the corresponding job ends are assigned to the original tasks in the original task list in order.
[0112] In the process of assigning the corresponding job end to the original task in the original task list according to the task sorting result, it is necessary to schedule according to the required workload of the original task, that is, to consider whether the required workload of the original task exceeds the upper limit of the available workload that the job end can provide. The required workload of the original task is generally obtained by evaluating the required task parameters of the original task.
[0113] To this end, based on the task sorting result, the original task is obtained from the original task list, and the job end corresponding to the original task is determined. The available resource pool associated with the job end is searched from the available resource pool set, and the available workload corresponding to the available resource pool is determined. The required workload of the original task is found, and it is determined whether the required workload exceeds the available workload. If the required workload does not exceed the available workload, the original task is allocated to the job end, which means that the original task is scheduled to the job end this time. If the required workload exceeds the available workload, the original task is put back into the original task list, which means that the original task is not scheduled to the job end this time.
[0114] After the original task is queued into the corresponding job end, a prompt may be triggered to ask whether to create a development task. If the user confirms to create the development task, the end configuration of the job end may be obtained, and multi-level development tasks may be created for the original task based on the end configuration.
[0115] In addition, an original resource pool set is obtained, wherein the original resource pool set includes multiple original resource pools. For any original resource pool in the original resource pool set, the original resource pool is adjusted according to the actual situation to obtain an actual resource pool, and then the resource over-scheduling rate corresponding to the original resource pool is matched. According to the resource over-scheduling rate, the actual resource pool is adjusted to obtain an available resource pool, and the available resource pool set is composed of multiple available resource pools. After the original task is queued into the corresponding job end, the available workload of the available resource pool associated with the job end is updated according to the required workload of the original task.
[0116] Corresponding to the above method embodiment, the present application embodiment also provides a task scheduling device, such as Figure 4 As shown, the apparatus may include: a parameter determination module 410 , a workload assessment module 420 , a task scheduling module 430 , a task allocation module 440 , and a task creation module 450 .
[0117] The parameter determination module 410 is used to obtain the original task list and determine the importance parameter and task required parameter corresponding to each original task in the original task list;
[0118] A workload evaluation module 420, configured to evaluate the workload required for each original task in the original task list according to the parameters required for the task;
[0119] A task scheduling module 430 is used to schedule the original tasks in the original task list according to the importance parameter to obtain a task scheduling result;
[0120] A task allocation module 440 is used to allocate a corresponding operation end to the original task in the original task list according to the task scheduling result and the required workload;
[0121] The task creation module 450 is used to obtain the terminal configuration of the operation terminal, and create a multi-level development task for the original task according to the terminal configuration.
[0122] The present application also provides an electronic device, such as Figure 5 As shown, it includes a processor 51, a communication interface 52, a memory 53 and a communication bus 54, wherein the processor 51, the communication interface 52, and the memory 53 communicate with each other through the communication bus 54.
[0123] A memory 53, for storing computer programs;
[0124] The processor 51 is used to execute the program stored in the memory 53 to implement the following steps:
[0125] Obtain an original task list, and determine the importance parameters and task required parameters corresponding to each original task in the original task list; evaluate the required workload corresponding to each original task in the original task list according to the task required parameters; schedule the original tasks in the original task list according to the importance parameters to obtain task scheduling results; assign corresponding job ends to the original tasks in the original task list according to the task scheduling results and the required workload; obtain the end configuration of the job end, and create a multi-level development task for the original task according to the end configuration.
[0126] The communication bus mentioned in the above electronic device 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.
[0127] The communication interface is used for communication between the above electronic device and other devices.
[0128] 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.
[0129] 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.
[0130] In another embodiment provided in the present application, a storage medium is also provided, in which instructions are stored. When the storage medium is executed on a computer, the computer executes the task scheduling method described in any one of the above embodiments.
[0131] In another embodiment provided by the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute the task scheduling method described in any one of the above embodiments.
[0132] 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 may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a storage medium, or transmitted from one storage medium to another storage medium, for example, the computer instructions may be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The storage medium may be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrations. The available medium may 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 drive Solid State Disk (SSD)), etc.
[0133] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another 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.
[0134] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0135] 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.
Claims
1. A task scheduling method, characterized in that: The method comprises: Obtaining an original task list, and determining the importance parameter and task required parameter corresponding to each original task in the original task list; According to the parameters required for the task, the required workload corresponding to each original task in the original task list is evaluated; Arrange the original tasks in the original task list according to the importance parameter to obtain a task arrangement result; Allocate a corresponding operation end to the original task in the original task list according to the task scheduling result and the required workload; The terminal configuration of the operation terminal is obtained, and a multi-level development task is created for the original task according to the terminal configuration.
2. The method according to claim 1, characterized in that The determining of the importance parameter corresponding to each original task in the original task list includes: For any original task in the original task list, determine the service category and service priority corresponding to the original task.
3. The method according to claim 2, characterized in that Arranging the original tasks in the original task list according to the importance parameter to obtain a task arrangement result includes: For any original task in the original task list, determining a service weight of the service category corresponding to the original task; The original tasks in the original task list are sorted according to the business weights and the business priorities corresponding to the original tasks to obtain a task sorting result.
4. The method according to claim 3, characterized in that The step of sorting the original tasks in the original task list according to the business weights and the business priorities corresponding to the original tasks to obtain task sorting results includes: For any original task in the original task list, the service weight and the service priority corresponding to the original task are merged to obtain a fusion result; According to the fusion result, the original tasks in the original task list are sorted to obtain a task sorting result.
5. The method according to claim 1, characterized in that The allocating a corresponding operation end to the original task in the original task list according to the task scheduling result and the required workload includes: According to the task scheduling result, the original task is obtained from the original task list, and the operation end corresponding to the original task is determined; Searching for an available resource pool associated with the job end from the available resource pool set, and determining an available workload corresponding to the available resource pool; The available workload is obtained by evaluating the available parameters of the operation end; Determining whether the required workload corresponding to the original task exceeds the available workload; When the required workload does not exceed the available workload, the original task is allocated to the operation end.
6. The method according to claim 5, characterized in that The available resource pool set is specifically created in the following manner: Acquire an original resource pool set, wherein the original resource pool set includes multiple original resource pools; For any of the original resource pools in the original resource pool set, determining a resource over-discharge rate corresponding to the original resource pool; According to the resource over-discharge rate, the original resource pool is adjusted to obtain an available resource pool; An available resource pool set is composed of a plurality of the available resource pools.
7. The method according to claim 1, characterized in that The step of creating a multi-level development task for the original task according to the terminal configuration includes: According to the terminal configuration, split the original task into multiple levels of subtasks; For each level of subtask, create corresponding development tasks.
8. A task scheduling device, characterized in that: The device comprises: A parameter determination module is used to obtain an original task list and determine the importance parameter and task required parameter corresponding to each original task in the original task list; A workload evaluation module, used for evaluating the required workload corresponding to each original task in the original task list according to the required parameters of the task; A task scheduling module, used for scheduling the original tasks in the original task list according to the importance parameter to obtain a task scheduling result; A task allocation module, configured to allocate a corresponding operation end to the original task in the original task list according to the task scheduling result and the required workload; The task creation module is used to obtain the terminal configuration of the operation terminal, and create a multi-level development task for the original task according to the terminal configuration.
9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing any of the methods described in claims 1-7 when executing a program stored in a memory.
10. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.