CN116560811A - A simulation system and method applied to dispatching system - Google Patents
A simulation system and method applied to dispatching system Download PDFInfo
- Publication number
- CN116560811A CN116560811A CN202310453161.5A CN202310453161A CN116560811A CN 116560811 A CN116560811 A CN 116560811A CN 202310453161 A CN202310453161 A CN 202310453161A CN 116560811 A CN116560811 A CN 116560811A
- Authority
- CN
- China
- Prior art keywords
- task
- simulation
- module
- data
- tasks
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2228—Indexing structures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S10/00—Systems supporting electrical power generation, transmission or distribution
- Y04S10/50—Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域technical field
本申请涉及计算机技术领域,尤其涉及一种应用于调度系统的仿真系统和方法。The present application relates to the field of computer technology, in particular to a simulation system and method applied to a scheduling system.
背景技术Background technique
随着计算机技术不断发展,仿真技术在各个领域得到了广泛的应用。在调度系统中,由于实际操作会对调度系统造成影响,因此很难对调度系统进行实际测试,仿真技术则成为一种可行的方法。With the continuous development of computer technology, simulation technology has been widely used in various fields. In the scheduling system, because the actual operation will affect the scheduling system, it is difficult to actually test the scheduling system, and the simulation technology becomes a feasible method.
仿真技术可以在计算机上建立一个虚拟的系统环境,模拟出真实的操作过程和结果,此方法可以避免实际操作对系统造成的影响,同时可以通过调整参数和模拟不同情景来测试系统的稳定性和可靠性。Simulation technology can establish a virtual system environment on the computer to simulate the real operation process and results. This method can avoid the impact of actual operation on the system. At the same time, it can test the stability and stability of the system by adjusting parameters and simulating different scenarios. reliability.
现有的调度系统运行情况是一个黑盒子,不具备可视化能力,无法量化系统的响应时间和处理能力,调度系统的稳定性和可靠性,全凭运维人员依据过往经验主观判断,缺乏客观的数据依据;调度系统中优化调度算法的成本高、效率低,在生产环境中对调度算法进行优化,风险系数高且无法保证优化的效果。The operation status of the existing dispatching system is a black box, which does not have the ability to visualize, and cannot quantify the response time and processing capacity of the system. The stability and reliability of the dispatching system depend entirely on the subjective judgment of the operation and maintenance personnel based on past experience, and lack of objective Data basis: The cost of optimizing the scheduling algorithm in the scheduling system is high and the efficiency is low. Optimizing the scheduling algorithm in the production environment has a high risk factor and the optimization effect cannot be guaranteed.
发明内容Contents of the invention
本申请实施例提供了一种应用于调度系统的仿真系统和方法,用于解决现有调度系统的性能测试无法量化且结果采用人工判断,存在测试成本高和效率低的技术问题。The embodiment of the present application provides a simulation system and method applied to a dispatching system, which is used to solve the technical problems of high test cost and low efficiency in the performance test of the existing dispatching system that cannot be quantified and the results are judged manually.
为了实现上述目的,本申请实施例提供如下技术方案:In order to achieve the above purpose, the embodiment of the present application provides the following technical solutions:
一种应用于调度系统的仿真系统,包括数据采集模块、数据预处理模块、仿真模块和结果输出模块;A simulation system applied to a scheduling system, comprising a data acquisition module, a data preprocessing module, a simulation module and a result output module;
所述数据采集模块,用于采集调度系统的关键数据,所述关键数据包括数个任务和每个任务的任务信息;The data collection module is used to collect key data of the scheduling system, and the key data includes several tasks and task information of each task;
所述数据预处理模块,用于对每个任务的所述任务信息进行清洗、转换处理,得到调度系统所有任务的有向无环图;The data preprocessing module is used to clean and convert the task information of each task to obtain a directed acyclic graph of all tasks in the scheduling system;
所述仿真模块,用于根据所述有向无环图采用最短路径算法和调度策略对调度系统的任务进行仿真运行,得到仿真结果;The simulation module is used to simulate the tasks of the scheduling system by using the shortest path algorithm and scheduling strategy according to the directed acyclic graph, and obtain the simulation results;
所述结果输出模块,用于输出仿真结果。The result output module is used to output simulation results.
在一种实现方式中,所述数据采集模块包括识别子模块、采集子模块、传输子模块和异常处理子模块;In one implementation, the data collection module includes an identification submodule, a collection submodule, a transmission submodule, and an exception handling submodule;
所述识别子模块,用于获取调度系统数据采集不同的数据源;The identification sub-module is used to obtain different data sources of dispatching system data collection;
所述采集子模块,用于根据不同所述数据源选择不同的采集方式采集调度系统的数据,得到调度系统的关键数据;The collection sub-module is used to select different collection methods according to different data sources to collect the data of the scheduling system, and obtain the key data of the scheduling system;
所述传输子模块,用于将采集的关键数据传输至所述数据预处理模块;The transmission sub-module is used to transmit the collected key data to the data preprocessing module;
所述异常处理子模块,用于在采集调度系统的数据过程中对采集异常情况处理,以使所述采集子模块正常采集数据。The abnormality processing sub-module is used for processing the collection abnormality during the data collection process of the dispatching system, so that the collection sub-module normally collects data.
在一种实现方式中,所述数据预处理模块包括清洗子模块和转换子模块;In an implementation manner, the data preprocessing module includes a cleaning submodule and a conversion submodule;
所述清洗子模块,用于对每个任务的所述任务信息中异常数据进行清洗,得到第一任务信息;对所述第一任务信息进行归一化处理,得到第二任务信息;The cleaning submodule is used to clean abnormal data in the task information of each task to obtain first task information; perform normalization processing on the first task information to obtain second task information;
所述转换子模块,用于根据任务之间的依赖关系将关键数据中所有任务转换为有向无环图;The conversion submodule is used to convert all tasks in the key data into a directed acyclic graph according to the dependencies between tasks;
其中,所述依赖关系为以任务为节点和以任务依赖为边。Wherein, the dependency relationship is taking tasks as nodes and taking task dependencies as edges.
在一种实现方式中,所述数据预处理模块包括数据存储子模块,所述数据存储子模块用于将所述有向无环图存储至Nebula图数据库。In an implementation manner, the data preprocessing module includes a data storage submodule, and the data storage submodule is configured to store the directed acyclic graph into a Nebula graph database.
在一种实现方式中,所述数据预处理模块包括优化子模块,所述优化子模块用于对Nebula图数据库进行索引和查询优化。In an implementation manner, the data preprocessing module includes an optimization submodule, and the optimization submodule is used for indexing and query optimization of the Nebula graph database.
在一种实现方式中,所述仿真模块包括计算排序子模块、分配子模块和仿真调整子模块;In one implementation, the simulation module includes a calculation sorting submodule, an allocation submodule, and a simulation adjustment submodule;
所述计算排序子模块,用于基于所述有向无环图采用最短路径算法对每个任务计算,得到每个任务在不同计算资源下的最短运行时间;根据每个任务的最短运行时间从小到大排序,得到任务集合;The calculation sorting submodule is used to calculate each task based on the directed acyclic graph using the shortest path algorithm to obtain the shortest running time of each task under different computing resources; according to the shortest running time of each task from Go to the big sort to get the task set;
所述分配子模块,用于根据任务的优先级对所述任务集合的每个任务分配至对应的计算资源上,得到分配方案;The assigning submodule is configured to assign each task of the task set to a corresponding computing resource according to the priority of the task to obtain an assignment plan;
所述仿真调整子模块,用于根据所述分配方案对分配到计算资源任务进行仿真运行,得到仿真数据;并根据所述仿真数据采用调度策略调整所述分配方案重新采用对调度系统的任务进行仿真运行,得到仿真结果。The simulation adjustment sub-module is used to simulate and run the tasks assigned to the computing resources according to the allocation scheme to obtain simulation data; and adjust the allocation scheme according to the simulation data using a scheduling strategy to re-use the tasks of the scheduling system Run the simulation and get the simulation results.
在一种实现方式中,所述调度策略的内容包括资源分配优化、任务重分配、任务优先级调整和拓扑结构优化。In an implementation manner, the content of the scheduling policy includes resource allocation optimization, task reallocation, task priority adjustment, and topology optimization.
本申请还提供一种应用于调度系统的仿真方法,包括以下步骤:The present application also provides a simulation method applied to a dispatching system, comprising the following steps:
采集调度系统的关键数据,所述关键数据包括数个任务和每个任务的任务信息;Collect key data of the scheduling system, the key data includes several tasks and task information of each task;
对每个任务的所述任务信息进行清洗、转换处理,得到调度系统所有任务的有向无环图;Cleaning and converting the task information of each task to obtain a directed acyclic graph of all tasks in the scheduling system;
根据所述有向无环图采用最短路径算法和调度策略对调度系统的任务进行仿真运行,得到仿真结果并输出。According to the directed acyclic graph, the tasks of the scheduling system are simulated and run by using the shortest path algorithm and the scheduling strategy, and the simulation results are obtained and output.
在一种实现方式中,所述对每个任务的所述任务信息进行清洗、转换处理,得到调度系统所有任务的有向无环图包括:In one implementation, the cleaning and converting of the task information of each task to obtain the directed acyclic graph of all tasks in the scheduling system includes:
对每个任务的所述任务信息中异常数据进行清洗,得到第一任务信息;对所述第一任务信息进行归一化处理,得到第二任务信息;cleaning the abnormal data in the task information of each task to obtain the first task information; performing normalization processing on the first task information to obtain the second task information;
根据任务之间的依赖关系将关键数据中所有任务转换为有向无环图;Convert all tasks in the key data into a directed acyclic graph according to the dependencies between tasks;
其中,所述依赖关系为以任务为节点和以任务依赖为边。Wherein, the dependency relationship is taking tasks as nodes and taking task dependencies as edges.
在一种实现方式中,所述根据所述有向无环图采用最短路径算法和调度策略对调度系统的任务进行仿真运行,得到仿真结果包括:In an implementation manner, the tasks of the scheduling system are simulated and run by using the shortest path algorithm and scheduling strategy according to the directed acyclic graph, and the obtained simulation results include:
基于所述有向无环图采用最短路径算法对每个任务计算,得到每个任务在不同计算资源下的最短运行时间;根据每个任务的最短运行时间从小到大排序,得到任务集合;Based on the directed acyclic graph, the shortest path algorithm is used to calculate each task, and the shortest running time of each task under different computing resources is obtained; according to the shortest running time of each task, the task set is obtained by sorting from small to large;
根据任务的优先级对所述任务集合的每个任务分配至对应的计算资源上,得到分配方案;Allocating each task of the task set to a corresponding computing resource according to the priority of the task to obtain an allocation scheme;
根据所述分配方案对分配到计算资源任务进行仿真运行,得到仿真数据;并根据所述仿真数据采用调度策略调整所述分配方案重新采用对调度系统的任务进行仿真运行,得到仿真结果;Perform simulation operation on tasks allocated to computing resources according to the allocation scheme to obtain simulation data; and adjust the allocation scheme according to the simulation data using a scheduling strategy to re-use the simulation operation of tasks in the scheduling system to obtain simulation results;
其中,所述调度策略的内容包括资源分配优化、任务重分配、任务优先级调整和拓扑结构优化。Wherein, the content of the scheduling policy includes resource allocation optimization, task redistribution, task priority adjustment and topology optimization.
从以上技术方案可以看出,本申请实施例具有以下优点:该应用于调度系统的仿真系统和方法,该系统包括数据采集模块,用于采集调度系统的关键数据;数据预处理模块,用于对每个任务的任务信息进行清洗、转换处理,得到调度系统所有任务的有向无环图;仿真模块,用于根据有向无环图采用最短路径算法和调度策略对调度系统的任务进行仿真运行,得到仿真结果;结果输出模块,用于输出仿真结果。该应用于调度系统的仿真系统通过数据预处理模块得到有向无环图,在仿真模块中根据有向无环图对调度系统的任务采用最短路径算法和调度策略进行仿真运行,得到不同调度策略和参数下的仿真数据,实现模拟不同的调度策略为优化调度系统提供数据,从而提高调度系统的性能和效率;也可以通过该仿真系统对调度系统进行自动测试和调整,提高调度系统的可维护性和可扩展性,降低了测试成本。解决了现有调度系统的性能测试无法量化且结果采用人工判断,存在测试成本高和效率低的技术问题。It can be seen from the above technical solutions that the embodiments of the present application have the following advantages: the simulation system and method applied to the scheduling system, the system includes a data acquisition module for collecting key data of the scheduling system; a data preprocessing module for Clean and convert the task information of each task to obtain the directed acyclic graph of all tasks in the scheduling system; the simulation module is used to simulate the tasks of the scheduling system by using the shortest path algorithm and scheduling strategy according to the directed acyclic graph Run to get the simulation result; the result output module is used to output the simulation result. The simulation system applied to the scheduling system obtains the directed acyclic graph through the data preprocessing module. In the simulation module, the tasks of the scheduling system are simulated using the shortest path algorithm and scheduling strategy according to the directed acyclic graph, and different scheduling strategies are obtained. and simulation data under parameters to simulate different scheduling strategies to provide data for optimizing the scheduling system, thereby improving the performance and efficiency of the scheduling system; the simulation system can also be used to automatically test and adjust the scheduling system to improve the maintainability of the scheduling system and scalability, reducing the cost of testing. It solves the technical problems that the performance test of the existing dispatching system cannot be quantified and the results are judged manually, and the test cost is high and the efficiency is low.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or in the prior art, the accompanying drawings that need to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present application. Those skilled in the art can also obtain other drawings based on these drawings without any creative effort.
图1为本申请实施例所述的应用于调度系统的仿真系统的框架图;Fig. 1 is the frame diagram of the simulation system applied to the scheduling system described in the embodiment of the present application;
图2为本申请实施例所述的应用于调度系统的仿真系统中数据采集模块的采集流程框架图;Fig. 2 is the frame diagram of the acquisition process of the data acquisition module in the simulation system applied to the scheduling system described in the embodiment of the present application;
图3为本申请实施例所述的应用于调度系统的仿真系统中数据预处理模块的流程框架图;Fig. 3 is the process frame diagram of the data preprocessing module in the simulation system applied to the scheduling system described in the embodiment of the present application;
图4为本申请实施例所述的应用于调度系统的仿真系统中仿真模块的流程框架图。FIG. 4 is a flowchart of a simulation module in a simulation system applied to a scheduling system according to an embodiment of the present application.
具体实施方式Detailed ways
为使得本申请的发明目的、特征、优点能够更加的明显和易懂,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,下面所描述的实施例仅仅是本申请一部分实施例,而非全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。In order to make the purpose, features and advantages of the present application more obvious and understandable, the technical solutions 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 following The described embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.
本申请实施例中,在调度系统中,仿真技术可以用于以下方面:In the embodiment of this application, in the scheduling system, the simulation technology can be used in the following aspects:
应用于预测系统的响应时间和处理能力,可以通过建立一个虚拟的系统环境,可以模拟出不同的负载情况,从而预测系统的响应时间和处理能力。It can be used to predict the response time and processing capacity of the system. By establishing a virtual system environment, different load situations can be simulated, so as to predict the response time and processing capacity of the system.
应用于评估系统的稳定性和可靠性,可以通过模拟不同的异常情况和故障,可以评估系统的稳定性和可靠性。Applied to evaluate the stability and reliability of the system, the stability and reliability of the system can be evaluated by simulating different abnormal conditions and faults.
应用于优化调度算法,可以通过模拟不同的调度算法和参数,可以比较它们的优劣,从而优化调度算法。Applied to optimize scheduling algorithms, different scheduling algorithms and parameters can be simulated to compare their advantages and disadvantages, thereby optimizing the scheduling algorithm.
总之,仿真技术在调度系统中的应用方法可以帮助我们更好地理解和测试系统,从而不断优化和改进系统的性能和可靠性。In a word, the application method of simulation technology in dispatching system can help us better understand and test the system, so as to continuously optimize and improve the performance and reliability of the system.
本申请实施例提供了一种应用于调度系统的仿真系统和方法,用于解决了现有调度系统的性能测试无法量化且结果采用人工判断,存在测试成本高和效率低的技术问题。The embodiment of the present application provides a simulation system and method applied to a dispatching system, which is used to solve the technical problems that the performance test of the existing dispatching system cannot be quantified and the results are judged manually, and the test cost is high and the efficiency is low.
实施例一:Embodiment one:
图1为本申请实施例所述的应用于调度系统的仿真系统的框架图。Fig. 1 is a frame diagram of a simulation system applied to a scheduling system according to an embodiment of the present application.
如图1所示,本申请实施例提供了一种应用于调度系统的仿真系统,包括依次连接的数据采集模块10、数据预处理模块20、仿真模块30和结果输出模块40。As shown in FIG. 1 , the embodiment of the present application provides a simulation system applied to a scheduling system, including a data acquisition module 10 , a data preprocessing module 20 , a simulation module 30 and a result output module 40 connected in sequence.
在本申请实施例中,数据采集模块10可以用于采集调度系统的关键数据,关键数据包括数个任务和每个任务的任务信息。In the embodiment of the present application, the data collection module 10 may be used to collect key data of the scheduling system, and the key data includes several tasks and task information of each task.
需要说明的是,任务信息包括任务的基本信息、依赖信息、运行信息以及计算资源占用信息等。在本实施例中,基本信息包含有任务名称、任务描述、任务类型、任务创建时间、任务开始时间、任务结束时间、任务状态(如运行中、成功、失败)等。依赖信息包含有任务间的依赖关系,例如任务A需要在任务B完成后才能开始执行。运行信息包含有任务的执行日志、执行时长、执行结果、错误信息等。计算资源占用信息包含有任务执行时所使用的CPU、内存、磁盘等资源的占用情况,以及任务所需的最小资源量、最大资源量、平均资源量等。It should be noted that the task information includes task basic information, dependency information, running information, and computing resource occupation information. In this embodiment, the basic information includes task name, task description, task type, task creation time, task start time, task end time, task status (such as running, successful, failed) and so on. Dependency information includes dependencies between tasks, for example, task A needs to be executed after task B is completed. The running information includes the task execution log, execution time, execution result, error message, etc. The computing resource occupancy information includes the occupancy of resources such as CPU, memory, and disk used during task execution, as well as the minimum, maximum, and average amount of resources required by the task.
在本申请实施例中,数据预处理模块20可以用于对每个任务的任务信息进行清洗、转换处理,得到调度系统所有任务的有向无环图。In the embodiment of the present application, the data preprocessing module 20 may be used to clean and convert task information of each task to obtain a directed acyclic graph of all tasks in the scheduling system.
需要说明的是,数据预处理模块20是对数据采集模块10获取的数据进行处理,得到调度系统中任务执行的有向无环图,便于后续调度系统任务的仿真。It should be noted that the data preprocessing module 20 processes the data acquired by the data acquisition module 10 to obtain a directed acyclic graph of task execution in the scheduling system, which facilitates the simulation of subsequent scheduling system tasks.
在本申请实施例中,仿真模块30可以用于根据有向无环图采用最短路径算法和调度策略对调度系统的任务进行仿真运行,得到仿真结果。In the embodiment of the present application, the simulation module 30 can be used to simulate the tasks of the scheduling system by using the shortest path algorithm and the scheduling strategy according to the directed acyclic graph, and obtain the simulation results.
需要说明的是,仿真模块30根据数据预处理模块20得到的数据模拟任务在不同计算资源的运行情况,得到不同计算资源运行调度系统任务的仿真结果。在本实施例中,仿真结果包括性能指标数据、任务完成数据、占用资源情况和故障数据。性能指标包含有运行效率、资源利用率、吞吐量等性能指标,任务完成数据包含有每个任务仿真运行的运行时长、运行失败或运行被中断等数据,占用资源情况包含每个任务仿真运行的资源占用大小。It should be noted that the simulation module 30 simulates the running conditions of tasks on different computing resources according to the data obtained by the data preprocessing module 20, and obtains simulation results of running scheduling system tasks on different computing resources. In this embodiment, the simulation results include performance index data, task completion data, resource occupation and fault data. Performance indicators include performance indicators such as operating efficiency, resource utilization, and throughput. Task completion data includes data such as the running time of each task simulation run, run failure or run interruption, and resource occupancy includes the simulation run time of each task. Resource footprint.
在本申请实施例中,该应用于调度系统的仿真系统可以通过性能指标以检查调度系统是否达到了预期的性能要求。通过任务完成数据分析每个任务是否按照预期完成,是否超时、失败或被中断等,并统计每个任务的平均完成时间、最长完成时间等。可以通过占用资源情况分析调度系统的资源占用情况,统计每个计算资源的平均利用率、最大利用率等,以便进行优化。可以通过故障数据检查调度系统中是否有故障发生,如果有,需要及时定位和解决问题,以避免影响系统的正常运行。该应用于调度系统的仿真系统根据仿真结果的分析,可以对调度策略进行优化,最大限度地提高调度系统的整体性能。In the embodiment of the present application, the simulation system applied to the dispatching system can check whether the dispatching system meets the expected performance requirements through performance indicators. Use the task completion data to analyze whether each task is completed as expected, whether it times out, fails or is interrupted, and counts the average completion time and longest completion time of each task. The resource occupancy of the scheduling system can be analyzed through resource occupancy, and the average utilization rate and maximum utilization rate of each computing resource can be counted for optimization. The fault data can be used to check whether there is a fault in the dispatching system. If so, it is necessary to locate and solve the problem in time to avoid affecting the normal operation of the system. According to the analysis of the simulation results, the simulation system applied to the dispatching system can optimize the dispatching strategy and improve the overall performance of the dispatching system to the greatest extent.
在本申请实施例中,结果输出模块40可以用于输出仿真结果。In the embodiment of the present application, the result output module 40 may be used to output simulation results.
需要说明的是,结果输出模块40负责将仿真结果进行输出,仿真结果可以为任务的执行顺序、占用资源情况、任务的执行时间等。It should be noted that the result output module 40 is responsible for outputting the simulation results, which may be the execution order of the tasks, resource occupation, execution time of the tasks, and the like.
本申请提供的一种应用于调度系统的仿真系统,包括数据采集模块,用于采集调度系统的关键数据;数据预处理模块,用于对每个任务的任务信息进行清洗、转换处理,得到调度系统所有任务的有向无环图;仿真模块,用于根据有向无环图采用最短路径算法和调度策略对调度系统的任务进行仿真运行,得到仿真结果;结果输出模块,用于输出仿真结果。该应用于调度系统的仿真系统通过数据预处理模块得到有向无环图,在仿真模块中根据有向无环图对调度系统的任务采用最短路径算法和调度策略进行仿真运行,得到不同调度策略和参数下的仿真数据,实现模拟不同的调度策略为优化调度系统提供数据,从而提高调度系统的性能和效率;也可以通过该仿真系统对调度系统进行自动测试和调整,提高调度系统的可维护性和可扩展性,降低了测试成本。解决了现有调度系统的性能测试无法量化且结果采用人工判断,存在测试成本高和效率低的技术问题。The application provides a simulation system applied to the scheduling system, including a data acquisition module for collecting key data of the scheduling system; a data preprocessing module for cleaning and converting task information of each task to obtain the scheduling The directed acyclic graph of all tasks in the system; the simulation module is used to simulate the tasks of the scheduling system by using the shortest path algorithm and scheduling strategy according to the directed acyclic graph to obtain the simulation results; the result output module is used to output the simulation results . The simulation system applied to the scheduling system obtains the directed acyclic graph through the data preprocessing module. In the simulation module, the tasks of the scheduling system are simulated using the shortest path algorithm and scheduling strategy according to the directed acyclic graph, and different scheduling strategies are obtained. and simulation data under parameters to simulate different scheduling strategies to provide data for optimizing the scheduling system, thereby improving the performance and efficiency of the scheduling system; the simulation system can also be used to automatically test and adjust the scheduling system to improve the maintainability of the scheduling system and scalability, reducing the cost of testing. It solves the technical problems that the performance test of the existing dispatching system cannot be quantified and the results are judged manually, and the test cost is high and the efficiency is low.
需要说明的是,通过该应用于调度系统的仿真系统可以模拟调度系统在不同负载情况下进行仿真运行,得到仿真结果;通过此仿真结果能够预测调度系统的响应时间和处理能力,为优化调度系统提供数据参考。在本实施例中,可以通过该应用于调度系统的仿真系统模拟调度系统在不同的异常或故障数据下进行仿真运行,得到仿真结果;根据此仿真结果检查调度系统中是否有故障发生,如果有,需要及时定位和解决问题,以避免影响系统的正常运行;实现评估调度系统的稳定性和可靠性,提高调度系统的容错性和可靠性。该应用于调度系统的仿真系统可以避免实际操作对调度系统造成的影响,提高调度系统的稳定性和可靠性,同时可以通过模拟不同情景来测试调度系统的性能和效率,为系统的优化提供参考。It should be noted that the simulation system applied to the dispatching system can simulate the dispatching system to perform simulation operation under different load conditions, and obtain the simulation results; through the simulation results, the response time and processing capacity of the dispatching system can be predicted, in order to optimize the dispatching system Provide data reference. In this embodiment, the simulation system applied to the scheduling system can simulate the scheduling system to perform simulation operation under different abnormal or fault data, and obtain the simulation results; check whether there is a fault in the scheduling system according to the simulation results, and if there is , it is necessary to locate and solve problems in time to avoid affecting the normal operation of the system; realize the evaluation of the stability and reliability of the dispatching system, and improve the fault tolerance and reliability of the dispatching system. The simulation system applied to the dispatching system can avoid the impact of actual operation on the dispatching system, improve the stability and reliability of the dispatching system, and at the same time test the performance and efficiency of the dispatching system by simulating different scenarios, providing reference for system optimization .
图2为本申请实施例所述的应用于调度系统的仿真系统中数据采集模块的采集流程框架图。FIG. 2 is a frame diagram of the acquisition process of the data acquisition module in the simulation system applied to the scheduling system described in the embodiment of the present application.
在本申请的一个实施例中,数据采集模块10包括识别子模块、采集子模块、传输子模块和异常处理子模块;In one embodiment of the present application, the data collection module 10 includes an identification submodule, a collection submodule, a transmission submodule and an exception handling submodule;
识别子模块,用于获取调度系统数据采集不同的数据源;The identification sub-module is used to obtain different data sources for data collection of the dispatching system;
采集子模块,用于根据不同数据源选择不同的采集方式采集调度系统的数据,得到调度系统的关键数据;The collection sub-module is used to select different collection methods according to different data sources to collect the data of the dispatching system and obtain the key data of the dispatching system;
传输子模块,用于将采集的关键数据传输至数据预处理模块;The transmission sub-module is used to transmit the collected key data to the data preprocessing module;
异常处理子模块,用于在采集调度系统的数据过程中对采集异常情况处理,以使采集子模块正常采集数据。The exception processing sub-module is used for processing the collection abnormality during the data collection process of the dispatching system, so that the collection sub-module collects data normally.
如图2所示,在本申请实施例中,识别子模块主要是用于识别采集数据的数据源,根据不同的数据源采集不同的数据。As shown in FIG. 2 , in the embodiment of the present application, the identification sub-module is mainly used to identify the data source of the collected data, and collect different data according to different data sources.
需要说明的是,任务的基本信息是通过任务管理模块这个数据源采集的,任务的运行信息是通过任务调度模块这个数据源采集的,任务的计算资源占用信息是通过计算资源管理模块这个数据源采集的。识别子模块是用于对数据源进行识别并与采集子模块建立连接以采集数据。It should be noted that the basic information of the task is collected through the data source of the task management module, the running information of the task is collected through the data source of the task scheduling module, and the computing resource occupation information of the task is collected through the data source of the computing resource management module Collected. The identification sub-module is used to identify the data source and establish a connection with the collection sub-module to collect data.
如图2所示,在本申请实施例中,采集子模块根据不同数据源的特点,需要选择适合的数据采集方式。例如,任务的基本信息存储在任务管理模块中,使用SQL语句进行查询获得。任务的运行信息通过采集任务调度模块中日志文件并通过解析日志文件获取的。任务的计算资源占用信息需要通过监控系统进行采集。As shown in FIG. 2 , in the embodiment of the present application, the collection sub-module needs to select a suitable data collection method according to the characteristics of different data sources. For example, the basic information of the task is stored in the task management module, which can be obtained by querying with SQL statements. The running information of the task is obtained by collecting the log files in the task scheduling module and parsing the log files. The computing resource occupation information of tasks needs to be collected through the monitoring system.
需要说明的是,采集子模块采集的关键数据存储至MySQL的数据库中,便于数据的调用。It should be noted that the key data collected by the collection sub-module is stored in the MySQL database, which is convenient for data calling.
在本申请实施例中,传输子模块主要是将关键数据传输至数据预处理子模块。In the embodiment of the present application, the transmission sub-module mainly transmits key data to the data preprocessing sub-module.
在本申请实施例中,在数据采集过程中,可能会出现一些异常情况,异常情况如数据源不可用、采集过程中断等。异常处理子模块主要是对这些异常情况进行处理,处理的内容包含有记录日志、重新连接数据源、终止采集等。In the embodiment of the present application, during the data collection process, some abnormal situations may occur, such as unavailable data sources, interruption of the collection process, and the like. The exception handling sub-module mainly handles these exceptions, including recording logs, reconnecting data sources, and terminating collection.
图3为本申请实施例所述的应用于调度系统的仿真系统中数据预处理模块的流程框架图。FIG. 3 is a flowchart of a data preprocessing module in a simulation system applied to a scheduling system according to an embodiment of the present application.
如图3所示,在本申请的一个实施例中,数据预处理模块20包括清洗子模块、转换子模块和数据存储子模块;As shown in Figure 3, in one embodiment of the present application, the data preprocessing module 20 includes a cleaning submodule, a conversion submodule and a data storage submodule;
清洗子模块,用于对每个任务的任务信息中异常数据进行清洗,得到第一任务信息;对第一任务信息进行归一化处理,得到第二任务信息;The cleaning sub-module is used to clean the abnormal data in the task information of each task to obtain the first task information; normalize the first task information to obtain the second task information;
转换子模块,用于根据任务之间的依赖关系将关键数据中所有任务转换为有向无环图;The conversion sub-module is used to convert all tasks in the key data into a directed acyclic graph according to the dependencies between tasks;
数据存储子模块用于将有向无环图存储至Nebula图数据库;The data storage sub-module is used to store the directed acyclic graph to the Nebula graph database;
其中,依赖关系为以任务为节点和以任务依赖为边。Among them, the dependency relationship is taking tasks as nodes and taking task dependencies as edges.
需要说明的是,采集到的任务信息可能存在不规范或者不完整等异常数据,通过清洗子模块需要对任务的任务信息中异常数据进行清洗和归一化操作,以确保数据的准确性和一致性。将清洗和归一化后的第一任务信息,采用转换子模块根据任务之间的依赖关系,以任务为节点(其中任务的基本信息转换成节点属性),以任务依赖为边(其中任务的运行时长和资源占用转换成边属性),转换成有向无环图。在本实施例中,将构建好的有向无环图存储到数据存储子模块的Nebula图数据库中。其中,Nebula是一个开源的分布式图数据库,支持高效地存储和查询大规模的图数据。在数据存储子模块存储数据过程中,是通过将有向无环图的节点和边信息映射到Nebula图数据库的节点和边上,实现数据的持久化存储。It should be noted that there may be irregular or incomplete abnormal data in the collected task information. Through the cleaning sub-module, it is necessary to clean and normalize the abnormal data in the task information of the task to ensure the accuracy and consistency of the data. sex. After cleaning and normalizing the first task information, use the conversion sub-module according to the dependencies between tasks, take the task as a node (where the basic information of the task is converted into a node attribute), and take the task dependency as an edge (wherein the task's The running time and resource occupation are converted into edge attributes), and converted into a directed acyclic graph. In this embodiment, the constructed DAG is stored in the Nebula graph database of the data storage submodule. Among them, Nebula is an open source distributed graph database that supports efficient storage and query of large-scale graph data. In the process of storing data in the data storage sub-module, the persistent storage of data is realized by mapping the node and edge information of the directed acyclic graph to the nodes and edges of the Nebula graph database.
在本申请的一个实施例中,数据预处理模块20包括优化子模块,优化子模块用于对Nebula图数据库进行索引和查询优化。In one embodiment of the present application, the data preprocessing module 20 includes an optimization sub-module, which is used for indexing and query optimization of the Nebula graph database.
需要说明的是,该应用于调度系统的仿真系统通过优化子模块可以针对任务调度中常用的查询操作,如任务优先级、任务依赖关系等,对Nebula图数据库进行索引和查询优化,提高数据的查询效率。It should be noted that the simulation system applied to the scheduling system can perform indexing and query optimization on the Nebula graph database for common query operations in task scheduling, such as task priority and task dependencies, to improve data efficiency. Query efficiency.
图4为本申请实施例所述的应用于调度系统的仿真系统中仿真模块的流程框架图。FIG. 4 is a flowchart of a simulation module in a simulation system applied to a scheduling system according to an embodiment of the present application.
如图4所示,在本申请的一个实施例中,仿真模块40包括计算排序子模块、分配子模块和仿真调整子模块;As shown in Figure 4, in one embodiment of the present application, the simulation module 40 includes a calculation sorting submodule, an allocation submodule and a simulation adjustment submodule;
计算排序子模块,用于基于有向无环图采用最短路径算法对每个任务计算,得到每个任务在不同计算资源下的最短运行时间;根据每个任务的最短运行时间从小到大排序,得到任务集合;The calculation and sorting sub-module is used to calculate each task based on the shortest path algorithm based on the directed acyclic graph, and obtain the shortest running time of each task under different computing resources; sort according to the shortest running time of each task from small to large, Get task set;
分配子模块,用于根据任务的优先级对任务集合的每个任务分配至对应的计算资源上,得到分配方案;The allocation sub-module is used to allocate each task of the task set to the corresponding computing resource according to the priority of the task, and obtain the allocation scheme;
仿真调整子模块,用于根据分配方案对分配到计算资源任务进行仿真运行,得到仿真数据;并根据仿真数据采用调度策略调整分配方案重新采用对调度系统的任务进行仿真运行,得到仿真结果;The simulation adjustment sub-module is used to simulate and run the tasks assigned to the computing resources according to the allocation scheme to obtain simulation data; and adjust the allocation scheme by adopting the scheduling strategy according to the simulation data to re-use the simulation operation of the tasks of the scheduling system to obtain the simulation results;
其中,调度策略的内容包括资源分配优化、任务重分配、任务优先级调整和拓扑结构优化。Among them, the content of the scheduling policy includes resource allocation optimization, task redistribution, task priority adjustment and topology optimization.
在本申请实施例中,计算排序子模块通过在Nebula图数据库中获取已经预处理好的有向无环图DAG,采用最短路径算法对有向无环图进行遍历,得到每个任务在不同计算资源下运行的最短运行时间,便于对任务进行排序。In the embodiment of this application, the calculation and sorting sub-module obtains the preprocessed directed acyclic graph DAG from the Nebula graph database, uses the shortest path algorithm to traverse the directed acyclic graph, and obtains the The shortest runtime to run under the resource, for easy ordering of tasks.
需要说明的是,最短路径算法是一类在加权有向图(或无向图)中寻找从起点到终点最短路径的算法。其中,最短路径算法包括Dijkstra算法、Bellman-Ford算法和A*算法等。这些算法都能计算出从起点到每个顶点的最短路径,并给出对应的路径长度。示例性的,计算排序子模块采用的是Dijkstra算法,利用基于图的最短路径算法的Dijkstra算法来计算每个任务在不同计算资源下的最短运行时间,需要将计算资源和任务之间建立起一个带权有向图。带权有向图的每个节点表示一个任务在特定计算资源上的运行情况,边则表示两个节点之间的依赖转换关系,边的权重表示上一个任务运行完成所需的时间。It should be noted that the shortest path algorithm is a type of algorithm that finds the shortest path from the start point to the end point in a weighted directed graph (or undirected graph). Among them, the shortest path algorithm includes Dijkstra algorithm, Bellman-Ford algorithm and A* algorithm. These algorithms can calculate the shortest path from the starting point to each vertex, and give the corresponding path length. Exemplarily, the calculation and sorting sub-module adopts the Dijkstra algorithm, and uses the Dijkstra algorithm based on the graph-based shortest path algorithm to calculate the shortest running time of each task under different computing resources. It is necessary to establish a relationship between computing resources and tasks. Weighted directed graph. Each node in the weighted directed graph represents the running status of a task on a specific computing resource, an edge represents the dependency conversion relationship between two nodes, and the weight of the edge represents the time required for the completion of the previous task.
在本申请实施例中,分配子模块是按照任务的优先级,将任务按照可运行性分配到不同的计算资源上,获得分配方案,在分配方案中包含有每个任务的实际开始时间和完成时间。In the embodiment of this application, the assignment sub-module assigns the tasks to different computing resources according to the runnability according to the priority of the tasks, and obtains the assignment plan, which includes the actual start time and completion of each task time.
需要说明的是,任务的优先级主要根据业务需求和任务之间的依赖关系来规定。一般而言,任务优先级越高,越早被执行。可以按照紧急程度、业务价值、依赖关系和资源占用进行规定任务的优先级。在本实施例中,紧急程度指的是优先处理紧急性较高的任务,如重要数据备份、紧急修复等。业务价值指的是优先处理对业务价值贡献较大的任务,如广告展示、交易处理等。依赖关系指的是优先处理当前处于依赖链顶端的任务,以保证后续任务能够及时完成。资源占用指的是优先处理需要占用大量资源的任务,以避免资源浪费和系统拥堵。It should be noted that the priority of tasks is mainly defined according to business requirements and dependencies between tasks. Generally speaking, the higher the task priority, the earlier it will be executed. Tasks can be prioritized in terms of urgency, business value, dependencies, and resource usage. In this embodiment, the urgency level refers to prioritizing tasks with higher urgency, such as important data backup, emergency repair, and the like. Business value refers to prioritizing tasks that contribute more to business value, such as advertising display and transaction processing. Dependency refers to prioritizing the tasks currently at the top of the dependency chain to ensure that subsequent tasks can be completed in a timely manner. Resource occupation refers to prioritizing tasks that require a large amount of resources to avoid resource waste and system congestion.
在本申请实施例中,仿真调整子模块一是对任务进行模拟执行,得到执行任务的运行时长;二是对任务的资源占用情况进行实时更新,并根据任务的运行情况调整调度策略。在本实施例中,在仿真过程中,调度策略需要根据任务的运行情况进行实时调整,以使得整个仿真系统能够更加高效地运行。调度策略的内容包括资源分配优化、任务重分配、任务优先级调整和拓扑结构优化。资源分配优化的调度策略是根据当前资源的占用情况和任务的需求情况,对资源分配方案进行优化,以最大化资源利用率。任务重分配的调度策略是根据某个任务的运行时长超过了预期,可以将其暂停并重新分配到其他空闲的计算资源上,以减少整体运行时间。任务优先级调整的调度策略是根据某些任务的优先级发生变化,可以对其进行优先级调整,以保证任务处理顺序的合理性。拓扑结构优化的调度策略是根据依赖关系发生了变化,可以对任务之间的拓扑结构进行优化,以减少任务之间的依赖关系,提高整体运行效率。In this embodiment of the application, the simulation adjustment sub-module first simulates the execution of the task to obtain the running time of the task; second, it updates the resource occupation of the task in real time, and adjusts the scheduling strategy according to the operation of the task. In this embodiment, during the simulation process, the scheduling strategy needs to be adjusted in real time according to the running conditions of the tasks, so that the entire simulation system can run more efficiently. The content of the scheduling strategy includes resource allocation optimization, task redistribution, task priority adjustment and topology optimization. The resource allocation optimization scheduling strategy is to optimize the resource allocation scheme according to the current resource occupancy and task requirements to maximize resource utilization. The scheduling strategy of task reallocation is based on the running time of a certain task is longer than expected, it can be suspended and reassigned to other idle computing resources to reduce the overall running time. The scheduling policy of task priority adjustment is based on the change of the priority of certain tasks, and the priority can be adjusted to ensure the rationality of the task processing sequence. The scheduling strategy of topology optimization is based on the changes in the dependencies, which can optimize the topology between tasks to reduce the dependencies between tasks and improve the overall operating efficiency.
在本申请实施例中,应用于调度系统的仿真系统还将每次仿真运行得到的仿真结果进行收集汇总成一个报告,便于仿真数据的查询和统计。In the embodiment of the present application, the simulation system applied to the scheduling system also collects and summarizes the simulation results obtained from each simulation run into a report, which facilitates query and statistics of simulation data.
实施例二:Embodiment two:
本申请实施例提供了一种应用于调度系统的仿真方法,包括以下步骤:The embodiment of the present application provides a simulation method applied to a scheduling system, including the following steps:
采集调度系统的关键数据,关键数据包括数个任务和每个任务的任务信息;Collect the key data of the scheduling system, the key data includes several tasks and the task information of each task;
对每个任务的任务信息进行清洗、转换处理,得到调度系统所有任务的有向无环图;Clean and transform the task information of each task to obtain a directed acyclic graph of all tasks in the scheduling system;
根据有向无环图采用最短路径算法和调度策略对调度系统的任务进行仿真运行,得到仿真结果并输出。According to the directed acyclic graph, the shortest path algorithm and scheduling strategy are used to simulate the tasks of the scheduling system, and the simulation results are obtained and output.
在本申请实施例中,对每个任务的任务信息进行清洗、转换处理,得到调度系统所有任务的有向无环图包括:In the embodiment of this application, the task information of each task is cleaned and converted, and the directed acyclic graph of all tasks in the scheduling system is obtained, including:
对每个任务的任务信息中异常数据进行清洗,得到第一任务信息;对第一任务信息进行归一化处理,得到第二任务信息;Clean the abnormal data in the task information of each task to obtain the first task information; normalize the first task information to obtain the second task information;
根据任务之间的依赖关系将关键数据中所有任务转换为有向无环图;Convert all tasks in the key data into a directed acyclic graph according to the dependencies between tasks;
其中,依赖关系为以任务为节点和以任务依赖为边。Among them, the dependency relationship is taking tasks as nodes and taking task dependencies as edges.
在本申请实施例中,根据有向无环图采用最短路径算法和调度策略对调度系统的任务进行仿真运行,得到仿真结果包括:In the embodiment of this application, the tasks of the scheduling system are simulated and run according to the directed acyclic graph using the shortest path algorithm and scheduling strategy, and the simulation results obtained include:
基于有向无环图采用最短路径算法对每个任务计算,得到每个任务在不同计算资源下的最短运行时间;根据每个任务的最短运行时间从小到大排序,得到任务集合;Based on the directed acyclic graph, the shortest path algorithm is used to calculate each task, and the shortest running time of each task under different computing resources is obtained; according to the shortest running time of each task, the task set is obtained by sorting from small to large;
根据任务的优先级对任务集合的每个任务分配至对应的计算资源上,得到分配方案;Assign each task of the task set to the corresponding computing resource according to the priority of the task, and obtain the allocation scheme;
根据分配方案对分配到计算资源任务进行仿真运行,得到仿真数据;并根据仿真数据采用调度策略调整分配方案重新采用对调度系统的任务进行仿真运行,得到仿真结果;According to the allocation plan, the tasks assigned to the computing resources are simulated and run to obtain the simulation data; and according to the simulation data, the dispatch strategy is used to adjust the allocation plan, and the tasks of the scheduling system are simulated again to obtain the simulation results;
其中,调度策略的内容包括资源分配优化、任务重分配、任务优先级调整和拓扑结构优化。Among them, the content of the scheduling policy includes resource allocation optimization, task redistribution, task priority adjustment and topology optimization.
需要说明的是,实施例二方法中步骤内容对应于实施例一系统中的模块,该应用于调度系统的仿真系统的内容已在实施例一中详细阐述了,在此实施例二中不再对方法中步骤的内容进行详细阐述。It should be noted that the content of the steps in the method of the second embodiment corresponds to the modules in the system of the first embodiment, and the content of the simulation system applied to the scheduling system has been elaborated in the first embodiment, and will not be repeated in the second embodiment Describe the steps in the method in detail.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其他的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其他的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, and other media that can store program codes.
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still understand the foregoing The technical solutions recorded in each embodiment are modified, or some of the technical features are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310453161.5A CN116560811A (en) | 2023-04-25 | 2023-04-25 | A simulation system and method applied to dispatching system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310453161.5A CN116560811A (en) | 2023-04-25 | 2023-04-25 | A simulation system and method applied to dispatching system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116560811A true CN116560811A (en) | 2023-08-08 |
Family
ID=87495721
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310453161.5A Pending CN116560811A (en) | 2023-04-25 | 2023-04-25 | A simulation system and method applied to dispatching system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116560811A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118114842A (en) * | 2024-04-13 | 2024-05-31 | 中国水利水电科学研究院 | Hydrologic model scheduling method and device, storage medium and electronic equipment |
| CN118153245A (en) * | 2024-05-11 | 2024-06-07 | 成都锦城意象软件有限公司 | Distributed computing gas pipeline simulation method, equipment and medium |
| CN119829259A (en) * | 2025-03-18 | 2025-04-15 | 北京方州科技有限公司 | Task execution method, device, equipment and medium based on heterogeneous computing resources |
| CN120653530A (en) * | 2025-08-15 | 2025-09-16 | 上海东方算芯科技有限公司 | Method and system for generating simulation information, device, storage medium and program product |
-
2023
- 2023-04-25 CN CN202310453161.5A patent/CN116560811A/en active Pending
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118114842A (en) * | 2024-04-13 | 2024-05-31 | 中国水利水电科学研究院 | Hydrologic model scheduling method and device, storage medium and electronic equipment |
| CN118153245A (en) * | 2024-05-11 | 2024-06-07 | 成都锦城意象软件有限公司 | Distributed computing gas pipeline simulation method, equipment and medium |
| CN118153245B (en) * | 2024-05-11 | 2024-07-26 | 成都锦城意象软件有限公司 | Distributed computing gas pipeline simulation method, equipment and medium |
| CN119829259A (en) * | 2025-03-18 | 2025-04-15 | 北京方州科技有限公司 | Task execution method, device, equipment and medium based on heterogeneous computing resources |
| CN120653530A (en) * | 2025-08-15 | 2025-09-16 | 上海东方算芯科技有限公司 | Method and system for generating simulation information, device, storage medium and program product |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN116560811A (en) | A simulation system and method applied to dispatching system | |
| CN113010576B (en) | Method, device, equipment and storage medium for evaluating capacity of cloud computing system | |
| CN118761745B (en) | OA collaborative workflow optimization method applied to enterprise | |
| CN115297112A (en) | Dynamic resource quota and scheduling component based on Kubernetes | |
| CN111580934A (en) | Resource allocation method for consistent performance of multi-tenant virtual machines in cloud computing environment | |
| CN109670690A (en) | Data information center monitoring and early warning method, system and equipment | |
| CN118672790A (en) | Massive data summarizing method and system based on task chain and divide-and-conquer method | |
| CN119322682B (en) | Self-adaptive calculation power scheduling system for large model training | |
| CN112867162B (en) | Slice resource allocation method and device | |
| CN115168042A (en) | Management method and device of monitoring cluster, computer storage medium and electronic equipment | |
| CN111752706A (en) | Resource allocation method, device and storage medium | |
| CN119892905B (en) | Micro-service scheduling method, device, equipment and storage medium under k8s cluster | |
| CN118917956B (en) | Intelligent financial cloud auditing method and system based on big data | |
| CN114675956A (en) | A method based on Pod configuration and scheduling between Kubernetes clusters | |
| CN117876059A (en) | Method, device, equipment and medium for online order management | |
| CN119847454A (en) | Dynamic adjustment method and system for storage resource pool | |
| CN119739535A (en) | Computing power resource scheduling method, system and storage medium | |
| CN118708461A (en) | An intelligent central control system for commercial tablet computers | |
| CN111857990B (en) | A method and system for strengthening YARN long-type service scheduling | |
| CN120610817A (en) | Computing resource adjustment method and device for intelligent computing center cloud platform | |
| US20250240219A1 (en) | Telecommunications infrastructure device cluster management using machine learning | |
| CN116594782A (en) | Resource management method and device for exploration data center based on intelligent operation and maintenance system | |
| CN115827232A (en) | Method, device, system and equipment for determining configuration for service model | |
| CN119621291A (en) | A distributed application platform and system based on computing power network | |
| CN118981377B (en) | Data center infrastructure operation and maintenance management method, device and digital platform |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |