Job set scheduling method and device, computer equipment and storage medium
By classifying business products and predicting scheduling duration for batch jobs in the bank transaction system, the problem of low batch job scheduling efficiency is solved, efficient job set scheduling and resource coordination are achieved, and the overall efficiency of the system is improved.
Patent Information
- Application Number
- CN202410810470.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-08-27
AI Technical Summary
In the bank transaction system, the number of batch jobs is large and interrelated, resulting in low scheduling efficiency. The existing methods are difficult to effectively maintain and control, and there is a problem of low batch job scheduling efficiency.
By obtaining the jobs to be scheduled and the business products to which they belong, they are divided into corresponding business product sets, the job scheduling duration is predicted, the scheduling sequence is sorted, and the job sets are scheduled in sequence, thereby reducing product line coupling and improving scheduling efficiency.
It achieves efficient scheduling of batch jobs, reduces the coupling between product lines, improves the system's internal resource coordination capabilities, and improves job scheduling efficiency.
Smart Images

Figure CN118550671A
Abstract
Description
Technical Field
[0001] The present application relates to the field of big data technology, and in particular to a method, apparatus, computer equipment, storage medium and computer program product for scheduling a job set. Background Art
[0002] In the banking transaction system, there are many batch jobs that are interrelated. As the business volume continues to increase, batch jobs show a linear growth, and the workload of maintaining batches and querying problems become increasingly difficult.
[0003] In the existing method, batch jobs are scheduled by calling batch jobs built into the system. The batch jobs of each product line are highly coupled, and batch jobs between product lines are difficult to maintain and control, resulting in low efficiency in batch job scheduling. Summary of the invention
[0004] Based on this, it is necessary to provide a job set scheduling method, apparatus, computer equipment, computer-readable storage medium and computer program product that can improve the efficiency of batch job scheduling in response to the above technical problems.
[0005] In the first aspect, the present application provides a method for scheduling a job set. The method includes: obtaining multiple jobs to be scheduled and the business products to which each of the jobs to be scheduled belongs; dividing each of the jobs to be scheduled into the job sets to be scheduled corresponding to each of the business products according to the type of each of the business products; predicting the job scheduling duration of each of the jobs to be scheduled to obtain the job set scheduling duration of each of the job sets to be scheduled; sorting the scheduling order of each of the job sets to be scheduled in sequence according to the duration sorting results of the scheduling duration of each of the job sets to be scheduled to obtain the scheduling time of each of the job sets to be scheduled; and scheduling each of the job sets to be scheduled in sequence based on the scheduling time.
[0006] In one of the embodiments, predicting the job scheduling duration of each of the jobs to be scheduled to obtain the job set scheduling duration of each of the job sets to be scheduled includes: determining a scheduling platform for scheduling each of the scheduled job sets; predicting the job scheduling duration of each of the jobs to be scheduled according to the resource utilization rate of the scheduling platform to obtain the job scheduling duration of each of the jobs to be scheduled; and determining the job set scheduling duration of each of the job sets to be scheduled based on the job scheduling durations.
[0007] In one of the embodiments, the scheduling job duration of each of the jobs to be scheduled is predicted according to the resource utilization rate of the scheduling platform to obtain the scheduling job duration of each of the jobs to be scheduled, including: determining the job data volume of each of the jobs to be scheduled; predicting the scheduling job duration of each of the jobs to be scheduled according to the resource utilization rate of the scheduling platform to obtain a reference scheduling duration of each of the jobs to be scheduled; performing comprehensive time processing on the historical processing time of the historical scheduling jobs corresponding to each of the job data volumes and the reference scheduling times to obtain the scheduling job duration of each of the jobs to be scheduled.
[0008] In one of the embodiments, the scheduling order of each of the job sets to be scheduled is sorted in turn according to the time sorting result of the scheduling time of each of the job sets to be scheduled, so as to obtain the respective scheduling time of each of the job sets to be scheduled, including: according to the time sorting result of the scheduling time of each of the job sets to be scheduled, the scheduling order of each of the job sets to be scheduled is sorted in turn to obtain the respective job set scheduling order of each of the job sets to be scheduled; according to the priority of the business product corresponding to each of the job sets to be scheduled, a target job set that meets the priority screening condition is selected from each of the job sets to be scheduled; according to the preset scheduling time of the target job set, the scheduling order of each of the job sets, and the scheduling time of each of the job sets, the scheduling time of multiple job sets to be scheduled except the target job set is predicted to obtain the respective scheduling time of each of the job sets to be scheduled.
[0009] In one of the embodiments, the method further includes: obtaining a default priority of each of the service products; and updating each of the default priorities in response to a modification operation on the default priority to obtain a priority of each of the service products.
[0010] In one of the embodiments, the method further includes: monitoring the scheduling process of each of the job sets to be scheduled to obtain monitoring results; parsing the monitoring results to obtain the actual scheduling time of each of the job sets to be scheduled, the actual scheduling time being the system time when the system starts scheduling the job sets to be scheduled; performing a state evaluation of the process to be scheduled based on the degree of deviation between each of the system times and each of the scheduling times to obtain a state evaluation result of the scheduling process.
[0011] In the second aspect, the present application also provides a job set scheduling device. The device includes: an acquisition module, which is used to acquire multiple jobs to be scheduled, and the business products to which each of the jobs to be scheduled belongs; a division module, which is used to divide each of the jobs to be scheduled into the job sets to be scheduled corresponding to each of the business products according to the type of each of the business products; a prediction module, which is used to predict the job scheduling duration of each of the jobs to be scheduled, and obtain the job set scheduling duration of each of the job sets to be scheduled; a sorting module, which is used to sort the scheduling order of each of the job sets to be scheduled in sequence according to the duration sorting result of the scheduling duration of each of the job sets, and obtain the scheduling time of each of the job sets to be scheduled; a scheduling module, which is used to schedule each of the job sets to be scheduled in sequence based on each of the scheduling times.
[0012] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0013] Acquire multiple jobs to be scheduled and the business products to which each of the jobs to be scheduled belongs; divide each of the jobs to be scheduled into the job sets to be scheduled corresponding to each of the business products according to the type of each of the business products; predict the job scheduling duration of each of the jobs to be scheduled to obtain the job set scheduling duration of each of the job sets to be scheduled; sort the scheduling order of each of the job sets to be scheduled in turn according to the duration sorting results of the scheduling duration of each of the job sets to be scheduled to obtain the scheduling time of each of the job sets to be scheduled; and schedule each of the job sets to be scheduled in turn based on the scheduling time.
[0014] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0015] Acquire multiple jobs to be scheduled and the business products to which each of the jobs to be scheduled belongs; divide each of the jobs to be scheduled into the job sets to be scheduled corresponding to each of the business products according to the type of each of the business products; predict the job scheduling duration of each of the jobs to be scheduled to obtain the job set scheduling duration of each of the job sets to be scheduled; sort the scheduling order of each of the job sets to be scheduled in turn according to the duration sorting results of the scheduling duration of each of the job sets to be scheduled to obtain the scheduling time of each of the job sets to be scheduled; and schedule each of the job sets to be scheduled in turn based on the scheduling time.
[0016] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0017] Acquire multiple jobs to be scheduled and the business products to which each of the jobs to be scheduled belongs; divide each of the jobs to be scheduled into the job sets to be scheduled corresponding to each of the business products according to the type of each of the business products; predict the job scheduling duration of each of the jobs to be scheduled to obtain the job set scheduling duration of each of the job sets to be scheduled; sort the scheduling order of each of the job sets to be scheduled in turn according to the duration sorting results of the scheduling duration of each of the job sets to be scheduled to obtain the scheduling time of each of the job sets to be scheduled; and schedule each of the job sets to be scheduled in turn based on the scheduling time.
[0018] The above-mentioned job set scheduling method, device, computer equipment, storage medium and computer program product obtain multiple jobs to be scheduled and the business products to which each job to be scheduled belongs, and divide each job to be scheduled into the job set to be scheduled corresponding to each business product according to the type of each business product, so as to form business isolation, reduce the coupling degree of batch jobs between product lines, and improve the efficiency of batch job scheduling. The job scheduling duration of each job to be scheduled is predicted to obtain the job set scheduling duration of each job set to be scheduled. The method predicts the job set scheduling duration of each job to be scheduled, and sorts the scheduling order of each job set to be scheduled in turn according to the result of the time sorting, so as to obtain the scheduling time of each job set to be scheduled, which is convenient for coordinating the scheduling resources within the system, and then scheduling each job set to be scheduled in turn based on each scheduling time, so as to improve the efficiency of job scheduling. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 An application environment diagram of a job set scheduling method in an embodiment;
[0020] Figure 2 A schematic diagram of a process flow of a method for scheduling a job set in one embodiment;
[0021] Figure 3 A schematic diagram of scheduling a set of jobs in one embodiment;
[0022] Figure 4 A schematic diagram of a flow chart of a batch job scheduling method in one embodiment;
[0023] Figure 5 is a structural block diagram of a job set scheduling device in an embodiment;
[0024] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0026] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. In addition, the acquisition, storage, processing, and transmission of data are in compliance with relevant laws and regulations.
[0027] The job set scheduling method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown, the terminal 102 communicates with the server 104 through a network. The data storage system can store data that the server 104 needs to process. The data storage system can be integrated on the server 104, or placed on the cloud or other network servers.
[0028] The server 104 obtains multiple jobs to be scheduled and the business products to which each job to be scheduled belongs from the terminal 102. The server 104 divides each job to be scheduled into the job sets to be scheduled corresponding to each business product according to the type of each business product. The server 104 predicts the job scheduling duration of each job to be scheduled to obtain the job set scheduling duration of each job set to be scheduled. The server 104 sorts the scheduling order of each job set to be scheduled according to the duration sorting result of the scheduling duration of each job set to obtain the scheduling time of each job set to be scheduled. The server 104 schedules each job set to be scheduled in turn based on the scheduling time.
[0029] The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. The portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.
[0030] In one embodiment, Figure 2 As shown, a job set scheduling method is provided, which is applied to Figure 1 The following is an example of a server in the example, including:
[0031] S202, obtaining a plurality of jobs to be scheduled and the business products to which each job to be scheduled belongs.
[0032] The job to be scheduled represents the smallest scheduling object of the batch job, and the job to be scheduled includes the data to be scheduled and the specific processing method of the data to be scheduled.
[0033] The data to be scheduled can be data that needs to be processed in batches in different business scenarios. For example, 100 pieces of user information data, the specific processing methods include reading, verifying, writing and other data processing methods, and the jobs to be scheduled represent the reading of 100 pieces of data, the verification of 100 pieces of data, and the writing of 100 pieces of data. It can be understood that the number of jobs to be scheduled can be 300. The scheduling order between the jobs to be scheduled depends on the actual business needs and is not limited here.
[0034] The business product refers to the product to which each to-be-scheduled job belongs. Different to-be-scheduled job lines belong to different business product lines, and a business product line can be a job line set for one or more business products. For example, a business product can be a financial product or other financial product.
[0035] Taking the business product as an example, a financial product can be a product designed and issued by a commercial bank or a formal financial institution. The funds raised will be invested in the relevant financial market and related financial products according to the product contract. After obtaining the investment income, the product will be distributed to investors according to the contract. For example, before the financial product distributes the income, it is necessary to calculate the income details of each user under the financial product. This process involves multiple pending jobs related to a large number of users. For example, the multiple pending jobs can be the income calculation of 1,000 users under the financial product, the verification of the income calculation results, and the account balance update.
[0036] Among them, for a business product, the business product corresponds to multiple jobs to be scheduled, and there can be one business product for one job to be scheduled. Obtaining the business products to which each job to be scheduled belongs facilitates the division of each job to be scheduled into different business product lines according to the business products to which it belongs, so that each business product line forms business isolation, which helps to improve the efficiency of batch job scheduling.
[0037] S204: According to the types of the business products, the jobs to be scheduled are divided into the job sets to be scheduled corresponding to the business products.
[0038] The type of a business product indicates the unique identification of the business product in the business product library. A business product can be a wealth management product, a financial product, or other products. More specifically, taking a wealth management product as an example, a wealth management product has multiple sub-wealth management products and their respective types, such as short-term wealth management products and long-term wealth management products.
[0039] The to-be-scheduled job set refers to a set of multiple to-be-scheduled jobs corresponding to a certain type of business product. Specifically, the completion of processing or scheduling of the to-be-scheduled job set indicates that the batch job of the data contained in the business product is completed.
[0040] It can be understood that the set of jobs to be scheduled includes multiple jobs to be scheduled, and there is a certain execution sequence between the jobs to be scheduled in the set of jobs to be scheduled. In other words, at least some of the jobs to be scheduled have a strong time sequence.
[0041] A business product can correspond to a set of jobs to be scheduled. If all the jobs to be scheduled in the set are processed or scheduled, it means that the scheduling of the scheduled job set is completed, and it also means that the batch job of the data contained in the business product is completed.
[0042] S206, predicting the job scheduling duration of each to-be-scheduled job to obtain the job set scheduling duration of each to-be-scheduled job set.
[0043] Among them, the job scheduling duration indicates the estimated execution duration of the system to execute the scheduled job. Specifically, the estimated execution duration of the job to be scheduled is predicted to obtain the job scheduling duration of the job to be scheduled. For example, the job scheduling duration of a job to be scheduled is 20ms, which means that the time consumed by the system to execute the job to be scheduled is 20ms, and also means that the time from the start of the system to execute the job to be scheduled to the completion of the job to be scheduled is 20ms.
[0044] Among them, the job set scheduling duration represents the estimated execution duration of the system to execute the job set to be scheduled. Specifically, according to the duration of each job to be scheduled, the job set scheduling duration of the job set to be scheduled is obtained. For example, the scheduling job duration of each job to be scheduled in the job set to be scheduled is summed up to obtain the job set scheduling duration.
[0045] There are many ways to predict. Specifically, according to different prediction methods, the predicted duration (i.e. scheduling duration) can be obtained. The first predicted duration can be obtained by predicting the job scheduling duration of the job to be scheduled based on the job data volume of the job to be scheduled, or the second predicted duration can be obtained by predicting the job scheduling duration of the job to be scheduled based on the real-time scheduling resource utilization rate of the system, or the first predicted duration and the second predicted duration can be obtained by statistically analyzing the first predicted duration and the second predicted duration.
[0046] It should be noted that batch jobs have the characteristics of huge data volume and large number of jobs, while the scheduling platform that batch jobs rely on has limited scheduling capabilities. It is often necessary to schedule each job based on the real-time scheduling capabilities of the scheduling platform. Specifically, the scheduling platform allocates scheduling resources, such as computing threads, to the scheduling tasks of each job. However, the existing coordination resource actions have lags, that is, the scheduling platform's coordination of resources depends on manual operations, which inevitably cause the scheduling platform to be idle for too long, resulting in low job scheduling efficiency. Predicting the scheduling time is conducive to coordinating scheduling resources, and then, it is conducive to reducing the idle time of the scheduling platform, thereby improving job scheduling efficiency.
[0047] S208 , sorting the scheduling order of each to-be-scheduled job set in turn according to the duration sorting result of the scheduling duration of each job set, and obtaining the respective scheduling time of each to-be-scheduled job set.
[0048] The duration sorting result may be a result obtained by sorting the scheduling duration of each job set according to the scheduling duration.
[0049] Specifically, based on the scheduling duration of each job set, the scheduling duration of each job set is sorted to obtain a duration sorting result of the scheduling duration of each job set.
[0050] It should be noted that the job sets to be scheduled with shorter scheduling time can be placed in a front position to facilitate the subsequent priority scheduling of the job sets to be scheduled with shorter scheduling time, thereby reducing the number of job sets to be scheduled in a shorter time and reducing the pressure of resource coordination.
[0051] Among them, the priority of the business product can be adjusted, and then the scheduling order of the job set to be scheduled can be adjusted. For example, in response to the user's scheduling operation on the business product, the priority of a certain business product is increased. Correspondingly, the scheduling order of the job set to be scheduled of the business product is adjusted to a more forward position, and the job set to be scheduled of the business product is executed first.
[0052] The scheduling time refers to the system time when the job set to be scheduled starts to be processed by the system.
[0053] Under an ideal condition, each set of jobs to be scheduled may be sorted in sequence to obtain the respective scheduling times of each set of jobs to be scheduled.
[0054] S210, scheduling each set of jobs to be scheduled in sequence based on each scheduling time.
[0055] Among them, due to the limited scheduling resources in the system, when scheduling each set of jobs to be scheduled, it is impossible to call multiple sets of jobs to be scheduled at the same time. Each set of jobs to be scheduled can be scheduled in turn according to each scheduling time. In the actual scheduling scenario, the previous set of jobs to be scheduled may not be processed, but the scheduling time of the next set of jobs to be scheduled has been reached.
[0056] In order to reduce the waiting time of the job set to be scheduled, specifically, based on each scheduling time, computing threads can be configured for each job set to be scheduled in sequence, and each job set to be scheduled can be executed in sequence based on multiple computing threads, so as to achieve sequential scheduling of each job set to be scheduled, reduce the waiting time of each job set to be scheduled, and improve job scheduling efficiency.
[0057] It should be noted that the scheduling process for a set of jobs to be scheduled can be to schedule each job to be scheduled in the set of jobs to be scheduled. The process of scheduling each job to be scheduled in sequence is similar to scheduling each set of jobs to be scheduled in sequence. Specifically, the scheduling duration of each job to be scheduled is determined, and the scheduling time of each job to be scheduled is determined based on each scheduling duration. Based on the scheduling time of each job to be scheduled, each job to be scheduled is scheduled in sequence. Among them, there is a certain execution sequence between each job to be scheduled, that is, at least some of the jobs to be scheduled have strong time sequence. For example, for a certain piece of data, it is generally read first, then checked, and then written.
[0058] In the above-mentioned job set scheduling method, multiple jobs to be scheduled and the business products to which each job to be scheduled belongs are obtained. According to the type of each business product, each job to be scheduled is divided into the job set to be scheduled corresponding to each business product, forming business isolation, reducing the coupling degree of batch jobs between product lines, and improving the efficiency of batch job scheduling. The job scheduling duration of each job to be scheduled is predicted to obtain the job set scheduling duration of each job set to be scheduled. This method predicts the job set scheduling duration of each job to be scheduled, and sorts the scheduling order of each job set to be scheduled in turn according to the time sorting result to obtain the scheduling time of each job set to be scheduled. The predicted scheduling duration is conducive to coordinating scheduling resources, and further, it is conducive to reducing the idle time of the scheduling platform, and further, improving the job scheduling efficiency. Then, based on each scheduling time, each job set to be scheduled is scheduled in turn to improve the job scheduling efficiency.
[0059] In one embodiment, the job scheduling duration of each job to be scheduled is predicted to obtain the job set scheduling duration of each job set to be scheduled, including: determining a scheduling platform for scheduling each scheduling job set, predicting the job scheduling duration of each job to be scheduled according to the resource utilization rate of the scheduling platform to obtain the job scheduling duration of each job to be scheduled, and determining the job set scheduling duration of each job set to be scheduled based on the scheduling duration of each job.
[0060] Among them, the scheduling platform can be a data platform with big data scheduling capabilities. The big data platform can be divided into data processing types such as unloading data, transmitting data, data warehousing, and data processing according to its functions. Data processing involves batch processing of data, that is, the scheduling of jobs to be scheduled and the scheduling of job sets to be scheduled. Data processing may involve interactions between multiple scheduling platforms, and it is necessary to determine the scheduling platform used to schedule each scheduling job set.
[0061] The resource utilization rate of the scheduling platform can represent the remaining capacity of the scheduling platform to process the jobs to be scheduled and the job sets to be scheduled. The higher the resource utilization rate, the smaller the remaining capacity of the scheduling platform to process the jobs to be scheduled and the job sets to be scheduled. Conversely, the larger the remaining capacity. The resource utilization rate of the scheduling platform can be the real-time server CPU load of the scheduling platform. The higher the server CPU load, the smaller the real-time number of the scheduling job sets processed by the scheduling platform and the smaller the real-time data volume of the scheduling job sets processed.
[0062] It should be understood that the scheduling duration of each job to be scheduled and each set of jobs to be scheduled is generally a time fluctuation value. Without considering the situation of processing failure, the lower the resource utilization rate of the scheduling platform, the shorter the corresponding scheduling duration of the job to be scheduled. Correspondingly, the higher the resource utilization rate of the scheduling platform, the longer the corresponding scheduling duration of the job to be scheduled.
[0063] After obtaining the job scheduling duration of each job to be scheduled, the job set scheduling duration of the job set to be scheduled is obtained according to the multiple job scheduling durations.
[0064] The job scheduling durations corresponding to each job in the job set to be scheduled may be added together to obtain the job set scheduling duration of the job set to be scheduled.
[0065] In this embodiment, a scheduling platform for scheduling each scheduling job set is determined, and the job scheduling duration of each job to be scheduled is predicted according to the resource utilization rate of the scheduling platform to obtain the job scheduling duration of each job to be scheduled. Based on the scheduling duration of each job, the job set scheduling duration of each job set to be scheduled is determined, and the accurate job scheduling duration is obtained according to the resource utilization rate of the scheduling platform. This provides a basis for subsequent sorting and scheduling according to the job scheduling duration, thereby improving the accuracy and efficiency of job scheduling.
[0066] In one embodiment, according to the resource utilization rate of the scheduling platform, the scheduling job duration of each job to be scheduled is predicted to obtain the scheduling job duration of each job to be scheduled, including: determining the job data volume of each job to be scheduled, predicting the scheduling job duration of each job to be scheduled according to the resource utilization rate of the scheduling platform, obtaining the reference scheduling duration of each job to be scheduled, and performing comprehensive processing on the historical processing time of the historical scheduling jobs corresponding to each job data volume and each reference scheduling time to obtain the scheduling job duration of each job to be scheduled.
[0067] The job data volume may be the workload of data to be processed in the job to be scheduled, the job data volume may be the number of data items in the job to be scheduled, or the complexity of the data in the job to be scheduled. For example, the larger the job data volume of the job to be scheduled, the more data items in the job to be scheduled and the higher the complexity of the data.
[0068] Among them, the job data volume can be measured with a specific numerical value. Specifically, multiple historical scheduling jobs are obtained, and the historical processing time corresponding to the job data volume of the job to be scheduled is determined according to the job data volume of each historical scheduling job and the historical processing time of each historical scheduling job.
[0069] Among them, comprehensive processing means that for a job to be scheduled, the historical processing time and the reference scheduling time are statistically analyzed to obtain the scheduling job duration. Specifically, the reference scheduling time and the historical processing time are averaged to obtain the scheduling job duration. Alternatively, when the difference between the historical processing time and the reference scheduling time is less than a threshold, either the historical processing time or the reference scheduling time is selected as the scheduling job duration.
[0070] In this embodiment, the job data volume of each job to be scheduled is determined, and the scheduling job duration of each job to be scheduled is predicted according to the resource utilization rate of the scheduling platform to obtain a reference scheduling duration of each job to be scheduled. The historical processing duration of the historical scheduling jobs corresponding to each job data volume and each reference scheduling duration are comprehensively processed to obtain the scheduling job duration of each job to be scheduled. The historical job status and predicted job status of the job to be scheduled are comprehensively considered to improve the accuracy of the scheduling job duration.
[0071] In one embodiment, according to the time sorting result of the scheduling time of each job set, the scheduling order of each job set to be scheduled is sorted in turn to obtain the scheduling time of each job set to be scheduled, including: according to the time sorting result of the scheduling time of each job set, the scheduling order of each job set to be scheduled is sorted in turn to obtain the job set scheduling order of each job set to be scheduled; according to the priority of the business product corresponding to each job set to be scheduled, a target job set that meets the priority screening condition is selected from each job set to be scheduled; according to the preset scheduling time of the target job set, the scheduling order of each job set, and the scheduling time of each job set, the scheduling time of multiple job sets to be scheduled except the target job set is predicted to obtain the scheduling time of each job set to be scheduled.
[0072] Among them, the duration sorting result can represent the sorting result obtained by arranging the scheduling duration of each job set in order from small to large. Specifically, according to the duration sorting result, the scheduling order of each job set to be scheduled is sorted in turn, and the job set with a shorter scheduling duration is arranged in a front position, that is, the scheduling order is smaller, and the job set with a longer scheduling duration is arranged in a back position, that is, the scheduling order is larger, so as to obtain the job set scheduling order of each job set to be scheduled.
[0073] Among them, the priority of the business product represents the importance of each business product in the business product line. The priority screening condition can be that the importance is greater than a preset value. Specifically, the set of to-be-scheduled jobs with an importance greater than a preset value can be selected as the target job set.
[0074] After determining the target job set, the preset scheduling time of the target job set can be obtained. It should be noted that the target job set can be the first job set to be scheduled among all the job sets to be scheduled, or it can be the last job set to be scheduled among all the job sets to be scheduled.
[0075] The preset scheduling time of the target job set can be used as an anchor point for predicting the scheduling time of each job set to be scheduled. Specifically, based on the preset scheduling time, the scheduling order of each job set, and the scheduling duration of each job set, scheduling time predictions are performed for multiple job sets to be scheduled except the target job set to obtain the scheduling time of each job set to be scheduled.
[0076] For example, Figure 3 The scheduling diagram of the scheduling job set shown in the figure shows that the scheduling time of each job set to be scheduled except the preset scheduling time of the target job set is unknown. The preset scheduling time can be obtained in advance. According to the preset scheduling time of the target job set, the scheduling order of each job set, and the scheduling duration of each job set, the scheduling time of multiple job sets to be scheduled except the target job set is predicted to obtain the scheduling time of each job set to be scheduled.
[0077] The scheduling order may represent the order of scheduling of the to-be-scheduled job set and other to-be-scheduled job sets. The scheduling order may be arranged in descending order.
[0078] In this embodiment, according to the time sorting result of the scheduling time of each job set, the scheduling order of each job set to be scheduled is sorted in turn to obtain the job set scheduling order of each job set to be scheduled, and according to the priority of the business product corresponding to each job set to be scheduled, the target job set that meets the priority screening condition is selected from each job set to be scheduled, and according to the preset scheduling time of the target job set, the scheduling order of each job set, and the scheduling time of each job set, the scheduling time of multiple job sets to be scheduled except the target job set is predicted to obtain the scheduling time of each job set to be scheduled. It is only necessary to obtain the preset scheduling time of a single target job set to predict the scheduling time of other job sets to be scheduled, thereby reducing the prediction accuracy time and improving the job scheduling efficiency.
[0079] In one embodiment, the job set scheduling method further includes: obtaining a default priority of each service product, and updating each default priority in response to a modification operation on the default priority to obtain a priority of each service product.
[0080] The default priority of a business product may be an attribute value of the business product. The default priority of a business product remains unchanged within a certain period of time. Since specific business products need to be processed preferentially in actual business scenarios, each default priority may be modified.
[0081] The modification operation for the default priority means that the operator modifies the default priority of a specific business product on the corresponding interface. After the modification is completed, the default priority of each business product is updated to obtain the priority of each business product.
[0082] Specifically, the modification operation for the default priority may be to increase the default priority of a specific business product and reduce the priority of other business products except the specific business product, thereby updating each default priority to obtain the priority of each business product.
[0083] In this embodiment, the default priority of each business product is obtained, and in response to the modification operation on the default priority, each default priority is updated to obtain the priority of each business product, so as to facilitate the control of job scheduling from the product dimension and improve the efficiency of job scheduling.
[0084] In one embodiment, the job set scheduling method also includes: monitoring the scheduling process of each job set to be scheduled, obtaining monitoring results, analyzing the monitoring results, obtaining the actual scheduling time of each job set to be scheduled, the actual scheduling time being the system time when the system starts scheduling the job set to be scheduled, and performing a state evaluation on the scheduling process according to the degree of deviation between each system time and each scheduling time, to obtain a state evaluation result of the scheduling process.
[0085] The monitoring result indicates the monitoring result of the scheduling process of each set of jobs to be scheduled and the scheduling process of each job to be scheduled. Specifically, the actual scheduling time of each set of jobs to be scheduled and each job to be scheduled can be obtained according to the monitoring result.
[0086] The actual scheduling time refers to the system time when the system (scheduling platform) starts scheduling the set of jobs to be scheduled, and each scheduling time refers to the scheduling time predicted for each set of jobs to be scheduled and each job to be scheduled.
[0087] Specifically, the degree of deviation between the system time and each scheduling time can be compared to determine whether the predicted time of each set of jobs to be scheduled and each job to be scheduled is consistent with the actual time. If they are consistent or the degree of deviation is small, the state evaluation result of the scheduling process is considered normal.
[0088] If the time deviation between the predicted time and the actual time is large, the state evaluation result of the scheduling process is considered abnormal. If the state evaluation result of the scheduling process is abnormal, the abnormal set of jobs to be scheduled can be determined from the sets of jobs to be scheduled whose scheduling duration exceeds the preset value, or manual intervention can be performed to check the scheduling duration of each set of jobs to be scheduled to determine the abnormal set of jobs to be scheduled.
[0089] In this embodiment, the scheduling process of each job set to be scheduled is monitored to obtain monitoring results, and the monitoring results are analyzed to obtain the actual scheduling time of each job set to be scheduled. The actual scheduling time is the system time when the system starts to schedule the job set to be scheduled. According to the degree of deviation between each system time and each scheduling time, the state of the scheduling process is evaluated to obtain the state evaluation result of the scheduling process. Monitoring the scheduling process helps to timely discover whether there are abnormal job sets to be scheduled in each job set to be scheduled.
[0090] In one embodiment, Figure 4 The flow chart of the batch job scheduling method shown in FIG. 1 includes:
[0091] S402, obtaining a plurality of jobs to be scheduled and the business products to which each job to be scheduled belongs.
[0092] S404: According to the types of the business products, the jobs to be scheduled are divided into the job sets to be scheduled corresponding to the business products.
[0093] S406: Determine a scheduling platform for scheduling each scheduling job set.
[0094] S408: Determine the job data volume of each job to be scheduled.
[0095] S410, predicting the scheduling duration of each job to be scheduled according to the resource utilization rate of the scheduling platform, and obtaining a reference scheduling duration of each job to be scheduled.
[0096] S412, performing a comprehensive processing of the historical processing duration of the historical scheduling jobs corresponding to each job data volume and each reference scheduling duration to obtain the scheduling job duration of each job to be scheduled.
[0097] S414, based on the scheduling duration of each job, determine the job set scheduling duration of each to-be-scheduled job set.
[0098] S416, sorting the scheduling order of each to-be-scheduled job set in turn according to the duration sorting result of the scheduling duration of each job set, to obtain the job set scheduling order of each to-be-scheduled job set.
[0099] S418, obtaining the default priority of each service product.
[0100] S420: In response to the modification operation on the default priority, each default priority is updated to obtain the priority of each service product.
[0101] S422 , selecting a target job set that meets a priority screening condition from each job set to be scheduled according to the priority of the business product corresponding to each job set to be scheduled.
[0102] S424, based on the preset scheduling time of the target job set, the scheduling order of each job set, and the scheduling duration of each job set, the scheduling time of multiple job sets to be scheduled other than the target job set is predicted to obtain the respective scheduling time of each job set to be scheduled.
[0103] S426, scheduling each set of jobs to be scheduled in sequence based on each scheduling time.
[0104] Among them, each scheduling time can be written into the planned process table, and each set of jobs to be scheduled can be scheduled in sequence based on the planned process table. Specifically, the scheduling time is written into the application start time and application end time in the planned process table.
[0105] Specifically, the planned process table is a planned process table for the job to be scheduled, and the planned process table includes: plan type, process number, predecessor process, predecessor plan, product number, calling method name, status, concurrent sequence number, application start time, and application end time.
[0106]
[0107] The plan type refers to a general term for a large category of tasks. Multiple jobs to be scheduled belong to different plan types. By setting a specific plan type, multiple jobs to be scheduled under the specific plan type are screened out for scheduling.
[0108] Among them, the process number is the scheduling order of the job to be scheduled, the predecessor process represents the previous job to be scheduled corresponding to the current planned process table, and the predecessor plan represents the previous plan type of the job to be scheduled corresponding to the current planned process table.
[0109] The product number is the identifier of the business product, which is a unique business product. By setting a specific business product, multiple jobs to be scheduled under the specific business product are screened out for scheduling.
[0110] The calling method name indicates the specific function name when scheduling each job to be scheduled.
[0111] The status indicates the scheduling status of each job to be scheduled or each job set to be scheduled. The scheduling status includes: normal, failed, and being processed.
[0112] The concurrent sequence number indicates the concurrent number of threads of the plan or process.
[0113] The application start time and application end time respectively represent the scheduling time and scheduling completion time for a certain job to be scheduled or a certain set of jobs to be scheduled. The scheduling completion time may be the scheduling time of the next job to be scheduled or the next set of jobs to be scheduled.
[0114] Specifically, before scheduling each set of jobs to be scheduled in sequence based on the planned process table, the microservice program including the planned process table can be deployed in the scheduling platform or system.
[0115] Among them, the schedule table and the process template can be assembled according to the microservice program to obtain the schedule table, wherein the schedule table obtained by configuring the batch plan to be scheduled, each batch plan is connected to each other to obtain the configured process template, and then the schedule table and the process template are assembled to obtain the schedule table. By configuring the batch plan to automatically generate the schedule table, the cost of manually configuring the task is reduced. Through microservice deployment, migration deployment is convenient, and it does not rely on third-party scheduling tools, which improves the efficiency of job scheduling.
[0116] Specifically, when scheduling each set of jobs to be scheduled in sequence based on the planned process table, the concurrency number of tasks can be adjusted in real time according to the system resource usage, that is, the concurrency sequence number in the planned process table of each set of jobs to be scheduled is adjusted.
[0117] Specifically, when scheduling each set of jobs to be scheduled in sequence based on the planned process table, the target product dimension can be set to prioritize the scheduled job sets corresponding to the business products under the target product dimension. Scheduling tasks can be subdivided into product dimensions to achieve refined scheduling management and improve the quality of job scheduling management.
[0118] S428, monitoring the scheduling process of each to-be-scheduled job set to obtain a monitoring result.
[0119] S430, analyzing the monitoring results to obtain the actual scheduling time of each of the to-be-scheduled job sets, where the actual time is the system time when the system starts scheduling the to-be-scheduled job set.
[0120] S432, performing a status evaluation on the scheduling process according to the degree of deviation between each system time and each scheduling time, and obtaining a status evaluation result of the scheduling process.
[0121] In this embodiment, multiple jobs to be scheduled and the business products to which each job to be scheduled belongs are obtained. According to the type of each business product, each job to be scheduled is divided into the job set to be scheduled corresponding to each business product, forming business isolation, reducing the coupling degree of batch jobs between product lines, and improving the efficiency of batch job scheduling. The job scheduling duration of each job to be scheduled is predicted to obtain the job set scheduling duration of each job set to be scheduled. This method predicts the job set scheduling duration of each job to be scheduled, and sorts the scheduling order of each job set to be scheduled in turn according to the time sorting result, and obtains the scheduling time of each job set to be scheduled, which is convenient for coordinating scheduling resources within the system, and then scheduling each job set to be scheduled in turn based on each scheduling time, thereby improving the efficiency of job scheduling.
[0122] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0123] Based on the same inventive concept, the embodiment of the present application also provides a job set scheduling device for implementing the job set scheduling method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more job set scheduling device embodiments provided below can refer to the limitations of the job set scheduling method above, and will not be repeated here.
[0124] In one embodiment, Figure 5 As shown, a job set scheduling device is provided, including: an acquisition module 502, a division module 504, a prediction module 506, a sorting module 508 and a scheduling module 510, wherein:
[0125] The acquisition module 502 is used to acquire multiple jobs to be scheduled and the business products to which each job to be scheduled belongs;
[0126] A division module 504 is used to divide each to-be-scheduled job into a to-be-scheduled job set corresponding to each business product according to the type of each business product;
[0127] The prediction module 506 is used to predict the job scheduling duration of each job to be scheduled, and obtain the job set scheduling duration of each job set to be scheduled;
[0128] The sorting module 508 is used to sort the scheduling order of each to-be-scheduled job set in accordance with the duration sorting result of the scheduling duration of each job set, and obtain the respective scheduling time of each to-be-scheduled job set;
[0129] The scheduling module 510 is used to schedule each set of jobs to be scheduled in sequence based on each scheduling time.
[0130] In one embodiment, the prediction module 506 is also used to determine a scheduling platform for scheduling each scheduling job set; according to the resource utilization rate of the scheduling platform, the job scheduling duration of each job to be scheduled is predicted to obtain the job scheduling duration of each job to be scheduled; based on the scheduling duration of each job, the job set scheduling duration of each job set to be scheduled is determined.
[0131] In one of the embodiments, the prediction module 506 is also used to determine the job data volume of each job to be scheduled; predict the scheduling job duration of each job to be scheduled according to the resource utilization rate of the scheduling platform, and obtain the reference scheduling duration of each job to be scheduled; perform comprehensive time processing on the historical processing time of the historical scheduling jobs corresponding to each job data volume and each reference scheduling time, and obtain the scheduling job duration of each job to be scheduled.
[0132] In one of the embodiments, the sorting module 508 is also used to sort the scheduling order of each job set to be scheduled in accordance with the duration sorting result of the scheduling duration of each job set, so as to obtain the job set scheduling order of each job set to be scheduled; select the target job set that meets the priority screening condition from each job set to be scheduled according to the priority of the business product corresponding to each job set to be scheduled; and predict the scheduling time of multiple job sets to be scheduled except the target job set according to the preset scheduling time of the target job set, the scheduling order of each job set, and the scheduling duration of each job set, so as to obtain the scheduling time of each job set to be scheduled.
[0133] In one embodiment, the job set scheduling device further includes: a modification module, configured to obtain a default priority of each business product; and in response to a modification operation on the default priority, update each default priority to obtain a priority of each business product.
[0134] In one of the embodiments, the job set scheduling device also includes: a monitoring module, which is used to monitor the scheduling process of each job set to be scheduled and obtain monitoring results; analyze the monitoring results to obtain the actual scheduling time of each job set to be scheduled, and the actual time is the system time when the system starts to schedule the job set to be scheduled; according to the degree of deviation between each system time and each scheduling time, a state evaluation of the scheduling process is performed to obtain a state evaluation result of the scheduling process.
[0135] Each module in the above-mentioned job set scheduling device can be implemented in whole or in part by software, hardware and their combination. Each module can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each module above.
[0136] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 6As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store job data to be scheduled. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for scheduling a job set is implemented.
[0137] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0138] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the above method steps are implemented when the processor executes the computer program.
[0139] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the above method steps are implemented.
[0140] In one embodiment, a computer program product is provided, comprising a computer program, which implements the above method steps when executed by a processor.
[0141] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0142] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0143] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for scheduling a job set, characterized in that: The method comprises: Acquire multiple jobs to be scheduled and the business products to which each of the jobs to be scheduled belongs; According to the types of the business products, the jobs to be scheduled are divided into the job sets to be scheduled corresponding to the business products; Predicting the job scheduling duration of each of the to-be-scheduled jobs to obtain the job set scheduling duration of each of the to-be-scheduled job sets; According to the result of the time sorting of the scheduling time of each job set, the scheduling order of each job set to be scheduled is sorted in turn to obtain the respective scheduling time of each job set to be scheduled; Based on the scheduling times, the to-be-scheduled job sets are scheduled in sequence.
2. The method according to claim 1, characterized in that The predicting of the job scheduling duration of each of the to-be-scheduled jobs to obtain the job set scheduling duration of each of the to-be-scheduled job sets includes: Determining a scheduling platform for scheduling each of the scheduling job sets; According to the resource utilization rate of the scheduling platform, the job scheduling duration of each of the jobs to be scheduled is predicted to obtain the job scheduling duration of each of the jobs to be scheduled; Based on the job scheduling durations, the job set scheduling durations of the to-be-scheduled job sets are determined.
3. The method according to claim 2, characterized in that The method of predicting the scheduling duration of each of the jobs to be scheduled according to the resource utilization rate of the scheduling platform to obtain the scheduling duration of each of the jobs to be scheduled includes: Determine the job data volume of each of the jobs to be scheduled; According to the resource utilization rate of the scheduling platform, predict the scheduling duration of each of the jobs to be scheduled, and obtain a reference scheduling duration of each of the jobs to be scheduled; The historical processing duration of the historical scheduling jobs corresponding to each of the job data volumes and each of the reference scheduling durations are comprehensively processed to obtain the scheduling job duration of each of the jobs to be scheduled.
4. The method according to claim 1, characterized in that: The scheduling order of each of the to-be-scheduled job sets is sorted in sequence according to the duration sorting result of the scheduling duration of each of the job sets to obtain the respective scheduling time of each of the to-be-scheduled job sets, including: According to the result of the time length sorting of the scheduling time length of each job set, the scheduling order of each job set to be scheduled is sorted in turn to obtain the job set scheduling order of each job set to be scheduled; According to the priorities of the business products corresponding to the job sets to be scheduled, a target job set that meets the priority screening condition is selected from the job sets to be scheduled; According to the preset scheduling time of the target job set, the scheduling order of each job set, and the scheduling duration of each job set, the scheduling time of multiple job sets to be scheduled other than the target job set is predicted to obtain the respective scheduling time of each job set to be scheduled.
5. The method according to claim 4, characterized in that The method further comprises: Obtaining the default priority of each of the business products; In response to the modification operation on the default priority, each of the default priorities is updated to obtain the respective priorities of each of the service products.
6. The method according to claim 1, characterized in that The method further comprises: Monitoring the scheduling process of each of the to-be-scheduled job sets to obtain monitoring results; Analyze the monitoring results to obtain the actual scheduling time of each of the to-be-scheduled job sets, where the actual scheduling time is the system time when the system starts scheduling the to-be-scheduled job set; According to the degree of deviation between each system time and each scheduling time, a state evaluation is performed on the process to be scheduled to obtain a state evaluation result of the scheduling process.
7. A job set scheduling device, characterized in that: The device comprises: An acquisition module, used to acquire multiple jobs to be scheduled and the business products to which each of the jobs to be scheduled belongs; A division module, used for dividing each of the to-be-scheduled jobs into a set of to-be-scheduled jobs corresponding to each of the business products according to the type of each of the business products; A prediction module, used to predict the job scheduling duration of each of the to-be-scheduled jobs, and obtain the job set scheduling duration of each of the to-be-scheduled job sets; A sorting module is used to sort the scheduling order of each of the to-be-scheduled job sets in turn according to the sorting result of the scheduling duration of each of the job sets, so as to obtain the respective scheduling time of each of the to-be-scheduled job sets; The scheduling module is used to schedule each of the to-be-scheduled job sets in sequence based on each of the scheduling times.
8. The device according to claim 7, characterized in that The prediction module is further used to determine a scheduling platform for scheduling each of the scheduling job sets; predict the job scheduling duration of each of the jobs to be scheduled according to the resource utilization rate of the scheduling platform, and obtain the job scheduling duration of each of the jobs to be scheduled; Based on the job scheduling durations, the job set scheduling durations of the to-be-scheduled job sets are determined.
9. The device according to claim 8, characterized in that The prediction module is further used to determine the amount of job data of each of the jobs to be scheduled; predict the scheduling job duration of each of the jobs to be scheduled according to the resource utilization rate of the scheduling platform, and obtain the reference scheduling duration of each of the jobs to be scheduled; The historical processing duration of the historical scheduling jobs corresponding to each of the job data volumes and each of the reference scheduling durations are comprehensively processed to obtain the scheduling job duration of each of the jobs to be scheduled.
10. The device according to claim 7, characterized in that The sorting module is further used to sort the scheduling order of each of the to-be-scheduled job sets in turn according to the time sorting result of the scheduling time of each of the job sets, so as to obtain the job set scheduling order of each of the to-be-scheduled job sets; according to the priority of the business product corresponding to each of the to-be-scheduled job sets, select the target job set that meets the priority screening condition from each of the to-be-scheduled job sets; According to the preset scheduling time of the target job set, the scheduling order of each job set, and the scheduling duration of each job set, the scheduling time of multiple job sets to be scheduled other than the target job set is predicted to obtain the respective scheduling time of each job set to be scheduled.
11. The device according to claim 7, characterized in that The device further comprises: a modification module, configured to obtain a default priority of each of the service products; and in response to a modification operation on the default priority, update each of the default priorities to obtain a priority of each of the service products.
12. The device according to claim 7, characterized in that The device also includes: a monitoring module, which is used to monitor the scheduling process of each of the to-be-scheduled job sets and obtain monitoring results; analyze the monitoring results to obtain the actual scheduling time of each of the to-be-scheduled job sets, and the actual scheduling time is the system time when the system starts to schedule the to-be-scheduled job sets; and perform a state evaluation on the to-be-scheduled process according to the degree of deviation between each of the system times and each of the scheduling times to obtain a state evaluation result of the scheduling process.
13. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Self-adaptive scheduling method and system for robot inspection task and electronic equipment
CN119358888A
A multi-level cache batch job scheduling method and device
CN123178460A
