Remote remote interconnection method and system for combat simulation
By building a general simulation middleware, the problems of high latency, poor compatibility, low resource utilization and low task scheduling efficiency of traditional combat simulation systems in remote remote and remote interconnect scenarios are solved, efficient and real-time data transmission and task scheduling are achieved, and the overall performance of the system is improved.
Patent Information
- Application Number
- CN202510466741.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-15
- Publication Date
- 2025-05-13
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional combat simulation systems face the problems of high network transmission delay, poor data compatibility, low resource utilization and low task scheduling efficiency in remote and off-site interconnection scenarios, which are difficult to meet the distributed and multi-node collaborative simulation needs of modern warfare.
Build a general simulation middleware, including communication unit, data conversion unit, resource management unit and task scheduling unit, through which real-time data transmission, data format conversion, resource dynamic allocation and task optimization are realized to improve the real-time, compatibility and overall efficiency of the system.
Through general simulation middleware, network transmission delay is reduced, data compatibility of heterogeneous systems is improved, resource utilization and task scheduling efficiency are improved, and a closed-loop optimization system is formed, which significantly improves the overall performance of the system.
Smart Images

Figure CN119989750A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of combat simulation, and in particular to a remote remote interconnection method and system for combat simulation. Background Art
[0002] With the rapid development of information technology, combat simulation technology plays an increasingly important role in military training, combat scenario simulation, and equipment testing. By simulating the real battlefield environment and combat process, combat simulation systems can provide a scientific basis for military decision-making while reducing the cost and risk of actual training and testing. However, traditional combat simulation systems are usually limited to centralized deployment in a single geographical location, which makes it difficult to meet the needs of distributed, multi-node collaborative simulation in modern warfare. Especially in the scenario of remote and remote interconnection, combat simulation systems face many technical challenges.
[0003] First, high network transmission delay is one of the main bottlenecks of remote interconnected simulation systems. Combat simulation has extremely high real-time requirements, while remote data transmission is limited by network bandwidth, transmission path and node processing capacity, which often leads to high communication delay, affecting the synchronization between simulation nodes, and thus reducing the accuracy and credibility of simulation results. Secondly, poor data compatibility between heterogeneous systems is another prominent problem. Different simulation nodes may use different hardware platforms, operating systems and data formats, which makes it difficult to directly share and interact with data, increasing the complexity and cost of system integration. In addition, low resource utilization and poor task scheduling efficiency also restrict the overall performance of the simulation system. Traditional resource allocation and task scheduling methods usually lack dynamic optimization capabilities, making it difficult to adjust resource configuration in real time according to the needs of simulation tasks, resulting in resource waste and low task execution efficiency.
[0004] In order to solve the above problems, researchers have proposed a variety of technical solutions in recent years. For example, optimizing communication delays through high-precision clock synchronization and event-driven mechanisms, and dynamic task scheduling methods based on artificial intelligence algorithms. However, existing technologies still have some limitations. For example, communication delay optimization methods usually rely on static network configurations and are difficult to adapt to dynamically changing network environments; the efficiency of data conversion and resource management modules is limited by hardware resources and algorithm complexity; task scheduling methods lack a closed-loop optimization mechanism, making it difficult to continuously improve system performance. Summary of the invention
[0005] (1) Technical issues to be resolved The purpose of the present invention is to provide a remote and off-site interconnection method and system for combat simulation. First, a general simulation middleware is constructed to solve the problem of high network transmission delay and ensure the real-time and reliability of data transmission; secondly, the data format of each simulation node is converted into a unified middleware data format by a data conversion unit to solve the data compatibility problem and realize the seamless integration of heterogeneous systems; finally, the task scheduling optimization objective function is calculated by the task scheduling unit, resources are dynamically allocated and the task execution order is optimized, and a closed-loop optimization system is formed in combination with the simulation result feedback mechanism to improve the overall system efficiency and task scheduling performance.
[0006] (2) Technical solution To achieve the above object, the present invention provides a remote remote interconnection method for combat simulation, the method comprising the following steps: S1, construct a general simulation middleware, which includes: a communication unit, a data conversion unit, a resource management unit and a task scheduling unit; through the communication unit, establish a communication connection between each simulation node and the middleware to realize real-time data transmission; calculate the time required for data transmission from the simulation node to the middleware as the communication delay, and provide a time benchmark for subsequent data conversion and task scheduling; when the communication delay is less than the set communication delay threshold, the communication delay meets the requirements of combat simulation; otherwise, the data conversion unit calls the integrated data compression algorithm to compress the transmitted data, recalculates the communication delay, and compares it with the set communication delay threshold, and repeats the above process until the latest communication delay is less than the set communication delay threshold; S2, through the data conversion unit, convert the data format of each simulation node into a unified middleware data format; obtain the data conversion time and communication delay, calculate the ratio of the data format conversion time to the sum of the data format conversion time and the communication delay, and record the ratio as the conversion efficiency; obtain the conversion efficiency, the number of successfully registered resources and the total number of resources, calculate the ratio of simulation resources successfully registered to the middleware and record it as the resource registration success rate; S3, calculate resource utilization; calculate task scheduling optimization objective function; compare the task scheduling optimization objective function with the set objective function threshold to determine whether the task scheduling plan meets the execution efficiency requirements; when the task scheduling optimization objective function is greater than the set objective function threshold, execute the task according to the current task scheduling plan, otherwise the task scheduling unit adjusts the task weight and prioritizes the tasks, dynamically allocates resources according to the latest task requirements, and recalculates the execution efficiency function and the task scheduling optimization objective function until the latest task scheduling optimization objective function is greater than the set objective function threshold.
[0007] Further, the general simulation middleware is constructed, and the general simulation middleware includes: a communication unit, a data conversion unit, a resource management unit and a task scheduling unit; through the communication unit, a communication connection is established between each simulation node and the middleware to realize real-time data transmission; the time required for calculating data transmission from the simulation node to the middleware is recorded as the communication delay, which provides a time benchmark for subsequent data conversion and task scheduling; when the communication delay is less than the set communication delay threshold, the communication delay meets the requirements of combat simulation; otherwise, the data conversion unit calls the integrated data compression algorithm to compress the transmitted data, recalculates the communication delay, and compares it with the set communication delay threshold, and repeats the above process until the latest communication delay is less than the set communication delay threshold. The method includes: Construct a general simulation middleware, including a communication unit, a data conversion unit, a resource management unit and a task scheduling unit; through the communication unit, establish a communication connection between each simulation node and the middleware to achieve real-time data transmission; calculate the time required for data to be transmitted from the simulation node to the middleware as the communication delay : ; Where L represents the packet size, B represents the bandwidth, Indicates The processing delay of each network node, Indicates The transmission rate of network nodes, Indicates The queuing delay of each network node, Indicates the total number of network nodes; Delaying communication The communication delay threshold is set For comparison, if , it indicates that the communication delay meets the requirements of combat simulation; if , it indicates that the communication delay does not meet the requirements of combat simulation. The data conversion unit calls the integrated data compression algorithm to compress the transmitted data, reduce the data packet size, and recalculate the data packet size. and communication delays , and compare it with the set communication delay threshold. If , use the calculation result of the current communication delay, otherwise repeat the above process until the latest communication delay is less than the set communication delay threshold.
[0008] Furthermore, the method of converting the data format of each simulation node into a unified middleware data format through a data conversion unit; obtaining the data conversion time and the communication delay, calculating the ratio of the data format conversion time to the sum of the data format conversion time and the communication delay, and recording the ratio as the conversion efficiency includes: S31, converting the data format of each simulation node into a unified middleware data format through the data conversion unit; S32, obtaining data conversion time and communication delay, and calculating conversion efficiency E, the formula is: ; in, Indicates the data format conversion time; S33, the conversion efficiency With the set conversion efficiency threshold Compare and judge whether the data conversion unit meets the high efficiency; when , data format conversion meets high efficiency, when , the data format conversion is not efficient, the data conversion unit assigns the data conversion task to multiple threads or processes for parallel execution, and recalculates the data format conversion time and conversion efficiency , and compare the latest conversion efficiency with the set conversion efficiency threshold. If , use the current conversion efficiency calculation result, otherwise repeat the above steps until the latest conversion efficiency is greater than the set conversion efficiency threshold.
[0009] Furthermore, the method of obtaining the conversion efficiency, the number of successfully registered resources and the total number of resources, and calculating the ratio of simulation resources successfully registered to the middleware as the resource registration success rate includes: Obtain the conversion efficiency, the number of successfully registered resources and the total number of resources, and calculate the ratio of simulation resources successfully registered to the middleware as the resource registration success rate S, which is: ; Where E represents the conversion efficiency, Indicates the number of resources successfully registered. Indicates the total amount of resources; The resource registration success rate The resource registration success rate threshold is set Compare, when When the remote remote interconnection system for combat simulation uses the current resource registration success rate calculation result, When the data conversion unit distributes the data conversion tasks to multiple threads or processes for parallel execution, it recalculates the data format conversion time, conversion efficiency and resource registration success rate. , and the resource registration success rate The resource registration success rate threshold is set For comparison, , use the calculation result of the current conversion efficiency, otherwise repeat the above steps until the latest resource registration success rate is greater than the set resource registration success rate threshold.
[0010] Furthermore, the method for calculating resource utilization includes: Computing resource utilization , the formula is: ; Among them, S represents the resource registration success rate, Indicates Resource utilization, Indicates Resource usage time, Represents the total simulation time.
[0011] Further, the method of calculating the task scheduling optimization objective function; comparing the task scheduling optimization objective function with a set objective function threshold to determine whether the task scheduling scheme meets the execution efficiency requirement; when the task scheduling optimization objective function is greater than the set objective function threshold, executing the task according to the current task scheduling scheme, otherwise the task scheduling unit adjusts the task weight and prioritizes the tasks, dynamically allocates resources according to the latest task requirements, and recalculates the execution efficiency function and the task scheduling optimization objective function until the latest task scheduling optimization objective function is greater than the set objective function threshold includes: The calculation task scheduling optimization objective function F is as follows: ; in, Indicates resource utilization, Indicates The weight of the task, Indicates The execution efficiency function of each task is Indicates The execution time of a task, Indicates Resource allocation for each task, Indicates the total number of tasks; Compare the objective function with the objective function threshold to determine whether the task scheduling scheme meets the execution efficiency requirements: The objective function and the set objective function threshold For comparison, When the remote remote interconnection system for combat simulation is executed according to the current task scheduling plan; when When the task scheduling unit adjusts the task weights and prioritizes the tasks, dynamically allocates resources according to the latest task requirements, and recalculates the execution efficiency function And the task scheduling optimization objective function , and the task scheduling optimization objective function and the set objective function threshold For comparison, , use the calculation result of the current task scheduling optimization objective function, otherwise repeat the above steps until the latest task scheduling optimization objective function is greater than the set objective function threshold.
[0012] Based on the same inventive concept, on the other hand, the present invention also provides a remote remote interconnection system for combat simulation, the system comprising: The communication and connection module is used to construct a general simulation middleware, which includes: a communication unit, a data conversion unit, a resource management unit and a task scheduling unit; through the communication unit, a communication connection is established between each simulation node and the middleware to realize real-time data transmission; the time required for calculating data transmission from the simulation node to the middleware is recorded as the communication delay, which provides a time benchmark for subsequent data conversion and task scheduling; when the communication delay is less than the set communication delay threshold, the communication delay meets the requirements of combat simulation; otherwise, the data conversion unit calls the integrated data compression algorithm to compress the transmitted data, recalculates the communication delay, and compares it with the set communication delay threshold, and repeats the above process until the latest communication delay is less than the set communication delay threshold; The data conversion and resource management module is used to convert the data format of each simulation node into a unified middleware data format through (scheduling) the data conversion unit; obtain the data conversion time and communication delay, calculate the ratio of the data format conversion time to the sum of the data format conversion time and the communication delay, and record the ratio as the conversion efficiency; obtain the conversion efficiency, the number of successfully registered resources and the total number of resources, calculate the ratio of simulation resources successfully registered to the middleware and record it as the resource registration success rate; The task scheduling and optimization module is used to calculate resource utilization; calculate the task scheduling optimization objective function; compare the task scheduling optimization objective function with the set objective function threshold to determine whether the task scheduling plan meets the execution efficiency requirements; when the task scheduling optimization objective function is greater than the set objective function threshold, execute the task according to the current task scheduling plan, otherwise the task scheduling unit adjusts the task weight and prioritizes the tasks, dynamically allocates resources according to the latest task requirements, and recalculates the execution efficiency function and the task scheduling optimization objective function until the latest task scheduling optimization objective function is greater than the set objective function threshold.
[0013] (3) Beneficial effects Compared with the prior art, the present invention has the following beneficial effects: 1. Low network transmission delay: Use simulation middleware to solve the problem of high network transmission delay and ensure the real-time and reliability of data transmission.
[0014] 2. Heterogeneous system data compatibility is high. The data conversion unit converts heterogeneous data formats into a unified middleware data format to solve data compatibility issues and achieve seamless integration of heterogeneous systems.
[0015] 3. High task scheduling efficiency, dynamic allocation of resources and optimization of task execution order, combined with the simulation result feedback mechanism to form a closed-loop optimization system, improve the overall system efficiency and task scheduling performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 A flowchart of a remote remote interconnection method for combat simulation according to the present invention; Figure 2 The present invention is a module block diagram of a remote and remote interconnection system for combat simulation. DETAILED DESCRIPTION
[0018] The embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0019] The following describes the implementation methods of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that, in the absence of conflict, the following embodiments and the features in the embodiments can be combined with each other. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work belong to the scope of protection of the present application.
[0020] like Figure 1 As shown, this embodiment provides a remote remote interconnection method for combat simulation, and the method includes the following steps: S1, construct a general simulation middleware, which includes: a communication unit, a data conversion unit, a resource management unit and a task scheduling unit; through the communication unit, establish a communication connection between each simulation node and the middleware to realize real-time data transmission; calculate the time required for data transmission from the simulation node to the middleware as the communication delay, and provide a time benchmark for subsequent data conversion and task scheduling; when the communication delay is less than the set communication delay threshold, the communication delay meets the requirements of combat simulation; otherwise, the data conversion unit calls the integrated data compression algorithm to compress the transmitted data, recalculates the communication delay, and compares it with the set communication delay threshold, and repeats the above process until the latest communication delay is less than the set communication delay threshold; S2, through the data conversion unit, convert the data format of each simulation node into a unified middleware data format; obtain the data conversion time and communication delay, calculate the ratio of the data format conversion time to the sum of the data format conversion time and the communication delay, and record the ratio as the conversion efficiency; obtain the conversion efficiency, the number of successfully registered resources and the total number of resources, calculate the ratio of simulation resources successfully registered to the middleware and record it as the resource registration success rate; S3, calculate resource utilization; calculate task scheduling optimization objective function; compare the task scheduling optimization objective function with the set objective function threshold to determine whether the task scheduling plan meets the execution efficiency requirements; when the task scheduling optimization objective function is greater than the set objective function threshold, execute the task according to the current task scheduling plan, otherwise the task scheduling unit adjusts the task weight and prioritizes the tasks, dynamically allocates resources according to the latest task requirements, and recalculates the execution efficiency function and the task scheduling optimization objective function until the latest task scheduling optimization objective function is greater than the set objective function threshold.
[0021] For example, a scenario for combat simulation is set up. The system has a total of 3 simulation nodes (Node1, Node2, Node3), which are located in different geographical locations; the system has 2 simulation tasks (Task1, Task2), Task1 is a high-priority task, and Task2 is a low-priority task; the resources possessed by the system are computing resources (CPU, memory), storage resources (disk), and network resources (bandwidth); the system goal is to achieve remote interconnection and task scheduling optimization of multi-node simulation systems through middleware.
[0022] Further, the general simulation middleware is constructed, and the general simulation middleware includes: a communication unit, a data conversion unit, a resource management unit and a task scheduling unit; through the communication unit, a communication connection is established between each simulation node and the middleware to realize real-time data transmission; the time required for calculating data transmission from the simulation node to the middleware is recorded as the communication delay, which provides a time benchmark for subsequent data conversion and task scheduling; when the communication delay is less than the set communication delay threshold, the communication delay meets the requirements of combat simulation; otherwise, the data conversion unit calls the integrated data compression algorithm to compress the transmitted data, recalculates the communication delay, and compares it with the set communication delay threshold, and repeats the above process until the latest communication delay is less than the set communication delay threshold. The method includes: Construct a general simulation middleware, including a communication unit, a data conversion unit, a resource management unit and a task scheduling unit; through the communication unit, establish a communication connection between each simulation node and the middleware to achieve real-time data transmission; calculate the time required for data to be transmitted from the simulation node to the middleware as the communication delay : ; Where L represents the packet size, B represents the bandwidth, Indicates The processing delay of each network node, Indicates The transmission rate of each network node, Indicates The queuing delay of each network node, Indicates the total number of network nodes; Delaying communication The communication delay threshold is set For comparison, if , it indicates that the communication delay meets the requirements of combat simulation; if , it indicates that the communication delay does not meet the requirements of combat simulation. The data conversion unit calls the integrated data compression algorithm to compress the transmitted data, reduce the data packet size, and recalculate the data packet size. and communication delays , and compare it with the set communication delay threshold. If , use the calculation result of the current communication delay, otherwise repeat the above process until the latest communication delay is less than the set communication delay threshold.
[0023] Exemplarily, a general simulation middleware is constructed, the middleware including a communication unit, a data conversion unit, a resource management unit and a task scheduling unit; Establishing communication connection: Establishing communication connection between Node1, Node2, Node3 and the middleware through the communication unit; Calculating communication delay : The packet size is L = 80 Mb, the bandwidth is B = 100 Mbps, the number of network nodes is n = 3, and the processing delay of each node is =0.1ms, =0.2ms, =0.15ms; the transmission rate of each node =50 Mbps, =60Mbps, =70Mbps; queuing delay at each node =0.05ms, =0.1ms, =0.08ms; communication delay threshold , substituting into the formula we get: ; The calculation results show that , the optimal solution is achieved; if , then increase the bandwidth, reduce the number of network nodes or optimize the data transmission path to reduce the data transmission delay and recalculate the communication delay ,until ; Evaluate the performance of the communication unit based on the calculation results of the communication delay, and provide a time benchmark for subsequent data conversion and task scheduling: Assume that the simulation system needs to handle the following two tasks: Task 1: Data format conversion, the processing time of data format conversion is Td=5ms; Task 2: Task scheduling, the processing time of task scheduling is Ts=2ms; According to the communication delay D=1.037ms, the task execution order and time allocation can be adjusted: Data conversion unit: Due to the communication delay D = 1.037ms, the data conversion unit needs to complete the data format conversion within 1.037ms; Td = 5ms, the data format conversion task needs to be decomposed into 5 subtasks, each subtask takes 1ms to execute. Through parallel execution, the total execution time is reduced to 1ms; Task scheduling unit: Due to the communication delay D = 1.037ms, the task scheduling unit needs to ensure that the task execution time matches D; allocate more computing resources to task 2 and reduce the execution time Ts from 2ms to 1ms to ensure the real-time execution of the task.
[0024] Furthermore, the method of converting the data format of each simulation node into a unified middleware data format through a data conversion unit; obtaining the data conversion time and the communication delay, and calculating the ratio of the data format conversion time to the sum of the data format conversion time and the communication delay as the conversion efficiency includes: S31, converting the data format of each simulation node into a unified middleware data format through the data conversion unit; S32, obtaining data conversion time and communication delay, and calculating conversion efficiency E, the formula is: ; in, Indicates the data format conversion time; S33, the conversion efficiency With the set conversion efficiency threshold Compare and judge whether the data conversion unit meets the high efficiency; when , data format conversion meets high efficiency, when , the data format conversion is not efficient, the data conversion unit assigns the data conversion task to multiple threads or processes for parallel execution, and recalculates the data format conversion time and conversion efficiency , and compare the latest conversion efficiency with the set conversion efficiency threshold. If , use the current conversion efficiency calculation result, otherwise repeat the above steps until the latest conversion efficiency is greater than the set conversion efficiency threshold.
[0025] Exemplarily, first, the data format of each simulation node is converted into a unified middleware data format by the data conversion unit to solve the data compatibility problem between heterogeneous systems: For data in Json format, use Json parser to parse it into key-value pairs; for data in Xml format, use Xml parser to parse it into tree structure; for binary data, parse it into structured data according to predefined protocols; Convert the data formats of Node1, Node2, and Node3 to a unified middleware data format. Data conversion time , conversion efficiency threshold ; Secondly, calculate the conversion efficiency E, the formula is: ; Finally, the calculation results show that , data format conversion meets high efficiency; if , optimization measures need to be taken to improve the efficiency of data format conversion; optimization measures include using efficient parsers, using efficient serialization libraries, increasing computing resources and memory resources, re-obtaining optimized data conversion time, and recalculating optimized conversion efficiency.
[0026] Furthermore, the method of obtaining the conversion efficiency, the number of successfully registered resources and the total number of resources, and calculating the ratio of simulation resources successfully registered to the middleware as the resource registration success rate includes: Obtain the conversion efficiency, the number of successfully registered resources and the total number of resources, and calculate the ratio of simulation resources successfully registered to the middleware as the resource registration success rate S, which is: ; Where E represents the conversion efficiency, Indicates the number of resources successfully registered. Indicates the total amount of resources; The resource registration success rate The resource registration success rate threshold is set Compare, when When the remote remote interconnection system for combat simulation uses the current resource registration success rate calculation result, When the data conversion unit distributes the data conversion tasks to multiple threads or processes for parallel execution, it recalculates the data format conversion time, conversion efficiency and resource registration success rate. , and the resource registration success rate The resource registration success rate threshold is set For comparison, , use the calculation result of the current conversion efficiency, otherwise repeat the above steps until the latest resource registration success rate is greater than the set resource registration success rate threshold.
[0027] For example, the simulation resources are registered to the middleware, and the total number of resources , the number of resources successfully registered ; =80%; Compute resource registration success rate: ; The calculation results show that when S is greater than or equal to 80%, it is a high registration success rate, indicating that the resource management unit can reliably register resources and resources can be efficiently called; if S is lower than 80%, it is a low registration success rate, indicating that the resource management unit has a performance bottleneck and needs to be optimized; a parallel registration process can be adopted, resource partitions can be set, and redundant design can be used to increase the number of successfully registered resources.
[0028] Furthermore, the method for calculating resource utilization includes: Computing resource utilization , the formula is: ; Among them, S represents the resource registration success rate, Indicates Resource utilization, Indicates Resource usage time, Represents the total simulation time.
[0029] For example, the resource utilization is calculated as: Among them, the resource registration success rate , the total number of resources , each resource utilization , , ; Time of use of each resource , , ;Total simulation time ; .
[0030] Further, the method of calculating the task scheduling optimization objective function; comparing the task scheduling optimization objective function with a set objective function threshold to determine whether the task scheduling scheme meets the execution efficiency requirement; when the task scheduling optimization objective function is greater than the set objective function threshold, executing the task according to the current task scheduling scheme, otherwise the task scheduling unit adjusts the task weight and prioritizes the tasks, dynamically allocates resources according to the latest task requirements, and recalculates the execution efficiency function and the task scheduling optimization objective function until the latest task scheduling optimization objective function is greater than the set objective function threshold includes: The calculation task scheduling optimization objective function F is as follows: ; in, Indicates resource utilization, Indicates The weight of the task, Indicates The execution efficiency function of each task is Indicates The execution time of a task, Indicates Resource allocation for each task, Indicates the total number of tasks; Compare the objective function with the objective function threshold to determine whether the task scheduling scheme meets the execution efficiency requirements: The objective function and the set objective function threshold For comparison, When the remote remote interconnection system for combat simulation is executed according to the current task scheduling plan; when When the task scheduling unit adjusts the task weights and prioritizes the tasks, dynamically allocates resources according to the latest task requirements, and recalculates the execution efficiency function And the task scheduling optimization objective function , and the task scheduling optimization objective function and the set objective function threshold For comparison, , use the calculation result of the current task scheduling optimization objective function, otherwise repeat the above steps until the latest task scheduling optimization objective function is greater than the set objective function threshold.
[0031] Exemplarily, the task scheduling optimization objective function F is calculated: ; Among them, resource utilization U= ; Task quantity z=2; Task weight , ; Objective function threshold ; Resource allocation for the first task , resource allocation for the second task ; Calculation of task scheduling optimization objective function F: ; The calculation results show that the objective function Greater than or equal to the set objective function threshold When , it indicates that the execution efficiency of the task scheduling scheme is high and the task can be completed quickly; When the objective function Below the set objective function threshold When , it indicates that the execution efficiency of the task scheduling scheme is low and optimization measures need to be taken; prioritize tasks according to task weights, give priority to high-priority tasks, and sort tasks according to task execution time, give priority to tasks with shorter execution time; continuously improve resource allocation in combination with the objective function feedback mechanism, form a closed-loop optimization system, and improve the overall system efficiency and task scheduling performance; The following optimization measures can be taken: In the first line, tasks are prioritized according to their weights; high-priority tasks (Task1) are executed first to ensure optimal resource allocation and execution time; resource allocation is adjusted to allocate resources to Task1. Increase from 0.7 to 0.8; recalculate the execution efficiency function of Task1: ; Secondly, sort the tasks according to their execution time; prioritize the task with the shorter execution time (Task1) to reduce task backlog; adjust the resource allocation of Task2 and allocate the resources of Task2 to Improve from 0.8 to 0.9; recalculate the execution efficiency function of Task2: ; Finally, calculate the optimized objective function : ; The calculation results show that , the performance of the task scheduling scheme meets the requirements.
[0032] Based on the same inventive concept, Figure 2 As shown, this embodiment also provides a remote remote interconnection system for combat simulation, the system comprising: The communication and connection module is used to construct a general simulation middleware, which includes: a communication unit, a data conversion unit, a resource management unit and a task scheduling unit; through the communication unit, a communication connection is established between each simulation node and the middleware to realize real-time data transmission; the time required for calculating data transmission from the simulation node to the middleware is recorded as the communication delay, which provides a time benchmark for subsequent data conversion and task scheduling; when the communication delay is less than the set communication delay threshold, the communication delay meets the requirements of combat simulation; otherwise, the data conversion unit calls the integrated data compression algorithm to compress the transmitted data, recalculates the communication delay, and compares it with the set communication delay threshold, and repeats the above process until the latest communication delay is less than the set communication delay threshold; The data conversion and resource management module is used to convert the data format of each simulation node into a unified middleware data format through (scheduling) the data conversion unit; obtain the data conversion time and communication delay, calculate the ratio of the data format conversion time to the sum of the data format conversion time and the communication delay, and record it as the conversion efficiency; obtain the conversion efficiency, the number of successfully registered resources and the total number of resources, calculate the ratio of simulation resources successfully registered to the middleware, and record it as the resource registration success rate; The task scheduling and optimization module is used to calculate resource utilization; calculate the task scheduling optimization objective function; compare the task scheduling optimization objective function with the set objective function threshold to determine whether the task scheduling plan meets the execution efficiency requirements; when the task scheduling optimization objective function is greater than the set objective function threshold, execute the task according to the current task scheduling plan, otherwise the task scheduling unit adjusts the task weight and prioritizes the tasks, dynamically allocates resources according to the latest task requirements, and recalculates the execution efficiency function and the task scheduling optimization objective function until the latest task scheduling optimization objective function is greater than the set objective function threshold.
[0033] It should be noted that, regarding the system in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0034] Finally, it should be noted that: Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments, or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A remote remote interconnection method for combat simulation, characterized in that: The method comprises: Constructing a general simulation middleware, the general simulation middleware includes: a communication unit, a data conversion unit, a resource management unit and a task scheduling unit; through the communication unit, establishing a communication connection between each simulation node and the middleware to realize real-time data transmission; calculating the time required for data transmission from the simulation node to the middleware is recorded as the communication delay, providing a time benchmark for subsequent data conversion and task scheduling; when the communication delay is less than the set communication delay threshold, the communication delay meets the requirements of combat simulation; otherwise, the data conversion unit calls the integrated data compression algorithm to compress the transmitted data, recalculates the communication delay, and compares it with the set communication delay threshold, and repeats the above process until the latest communication delay is less than the set communication delay threshold; The data format of each simulation node is converted into a unified middleware data format through a data conversion unit; the data conversion time and communication delay are obtained, and the ratio of the data format conversion time to the sum of the data format conversion time and the communication delay is calculated, and the ratio is recorded as the conversion efficiency; the conversion efficiency, the number of successfully registered resources and the total number of resources are obtained, and the ratio of simulation resources successfully registered to the middleware is calculated and recorded as the resource registration success rate; Calculate resource utilization; calculate task scheduling optimization objective function; compare the task scheduling optimization objective function with the set objective function threshold to determine whether the task scheduling plan meets the execution efficiency requirements; when the task scheduling optimization objective function is greater than the set objective function threshold, execute the task according to the current task scheduling plan, otherwise the task scheduling unit adjusts the task weight and prioritizes the tasks, dynamically allocates resources according to the latest task requirements, and recalculates the execution efficiency function and the task scheduling optimization objective function until the latest task scheduling optimization objective function is greater than the set objective function threshold.
2. A remote remote interconnection method for combat simulation according to claim 1, characterized in that: The method of constructing a universal simulation middleware, wherein the universal simulation middleware includes: a communication unit, a data conversion unit, a resource management unit and a task scheduling unit; establishing a communication connection between each simulation node and the middleware through the communication unit to realize real-time data transmission; calculating the time required for data transmission from the simulation node to the middleware as the communication delay, and providing a time reference for subsequent data conversion and task scheduling; when the communication delay is less than a set communication delay threshold, the communication delay meets the requirements of combat simulation; otherwise, the data conversion unit calls an integrated data compression algorithm to compress the transmitted data, recalculates the communication delay, and compares it with the set communication delay threshold, and repeats the above process until the latest communication delay is less than the set communication delay threshold. Construct a general simulation middleware, including a communication unit, a data conversion unit, a resource management unit and a task scheduling unit; through the communication unit, establish a communication connection between each simulation node and the middleware to achieve real-time data transmission; calculate the time required for data to be transmitted from the simulation node to the middleware as the communication delay : ; Where L represents the packet size, B represents the bandwidth, Indicates The processing delay of each network node, Indicates The transmission rate of network nodes, Indicates The queuing delay of each network node, Indicates the total number of network nodes; Delaying communication The communication delay threshold is set For comparison, if , it indicates that the communication delay meets the requirements of combat simulation; if , it indicates that the communication delay does not meet the requirements of combat simulation. The data conversion unit calls the integrated data compression algorithm to compress the transmitted data, reduce the data packet size, and recalculate the data packet size. and communication delays , and compare it with the set communication delay threshold. If , use the calculation result of the current communication delay, otherwise repeat the above process until the latest communication delay is less than the set communication delay threshold.
3. A remote remote interconnection method for combat simulation according to claim 2, characterized in that: The method of converting the data format of each simulation node into a unified middleware data format through a data conversion unit; obtaining the data conversion time and the communication delay, calculating the ratio of the data format conversion time to the sum of the data format conversion time and the communication delay, and recording the ratio as the conversion efficiency includes: The data format of each simulation node is converted into a unified middleware data format by the data conversion unit; Obtain data conversion time and communication delay, and calculate conversion efficiency E. The formula is: ; in, Indicates the data format conversion time; The conversion efficiency With the set conversion efficiency threshold Compare and judge whether the data conversion unit meets the high efficiency; when , data format conversion meets high efficiency, when , the data format conversion is not efficient, the data conversion unit assigns the data conversion task to multiple threads or processes for parallel execution, and recalculates the data format conversion time and conversion efficiency , and compare the latest conversion efficiency with the set conversion efficiency threshold. If , use the current conversion efficiency calculation result, otherwise repeat the above steps until the latest conversion efficiency is greater than the set conversion efficiency threshold.
4. A remote remote interconnection method for combat simulation according to claim 3, characterized in that: The method of obtaining the conversion efficiency, the number of successfully registered resources and the total number of resources, and calculating the ratio of simulation resources successfully registered to the middleware as the resource registration success rate includes: Obtain the conversion efficiency, the number of successfully registered resources and the total number of resources, and calculate the ratio of simulation resources successfully registered to the middleware as the resource registration success rate S, which is: ; Where E represents the conversion efficiency, Indicates the number of resources successfully registered. Indicates the total amount of resources; The resource registration success rate The resource registration success rate threshold is set Compare, when When the remote remote interconnection system for combat simulation uses the current resource registration success rate calculation result, The data conversion unit distributes the data conversion tasks to multiple threads or processes for parallel execution, and recalculates the data format conversion time, conversion efficiency, and resource registration success rate. , and the resource registration success rate The resource registration success rate threshold is set For comparison, , use the calculation result of the current conversion efficiency, otherwise repeat the above steps until the latest resource registration success rate is greater than the set resource registration success rate threshold.
5. A remote remote interconnection method for combat simulation according to claim 4, characterized in that: The method for calculating resource utilization includes: Computing resource utilization , the formula is: ; Among them, S represents the resource registration success rate, Indicates Resource utilization, Indicates Resource usage time, Represents the total simulation time.
6. A remote remote interconnection method for combat simulation according to claim 5, characterized in that: The method of calculating the task scheduling optimization objective function; comparing the task scheduling optimization objective function with a set objective function threshold to determine whether the task scheduling scheme meets the execution efficiency requirement; when the task scheduling optimization objective function is greater than the set objective function threshold, executing the task according to the current task scheduling scheme, otherwise the task scheduling unit adjusts the task weight and prioritizes the tasks, dynamically allocates resources according to the latest task requirements, and recalculates the execution efficiency function and the task scheduling optimization objective function until the latest task scheduling optimization objective function is greater than the set objective function threshold includes: The calculation task scheduling optimization objective function F is as follows: ; in, Indicates resource utilization, Indicates The weight of the task, Indicates The execution efficiency function of each task is Indicates The execution time of a task, Indicates Resource allocation for each task, Indicates the total number of tasks; Compare the objective function with the objective function threshold to determine whether the task scheduling scheme meets the execution efficiency requirements: The objective function and the set objective function threshold For comparison, When the remote remote interconnection system for combat simulation is executed according to the current task scheduling plan; when When the task scheduling unit adjusts the task weights and prioritizes the tasks, dynamically allocates resources according to the latest task requirements, and recalculates the execution efficiency function And the task scheduling optimization objective function , and the task scheduling optimization objective function and the set objective function threshold For comparison, , use the calculation result of the current task scheduling optimization objective function, otherwise repeat the above steps until the latest task scheduling optimization objective function is greater than the set objective function threshold.
7. A remote remote interconnection system for combat simulation, characterized in that: The system comprises: The communication and connection module is used to construct a general simulation middleware, which includes: a communication unit, a data conversion unit, a resource management unit and a task scheduling unit; through the communication unit, a communication connection is established between each simulation node and the middleware to realize real-time data transmission; the time required for calculating data transmission from the simulation node to the middleware is recorded as the communication delay, which provides a time benchmark for subsequent data conversion and task scheduling; when the communication delay is less than the set communication delay threshold, the communication delay meets the requirements of combat simulation; otherwise, the data conversion unit calls the integrated data compression algorithm to compress the transmitted data, recalculates the communication delay, and compares it with the set communication delay threshold, and repeats the above process until the latest communication delay is less than the set communication delay threshold; The data conversion and resource management module is used to convert the data format of each simulation node into a unified middleware data format through a data conversion unit; obtain the data conversion time and communication delay, calculate the ratio of the data format conversion time to the sum of the data format conversion time and the communication delay as the conversion efficiency; obtain the conversion efficiency, the number of successfully registered resources and the total number of resources, calculate the ratio of simulation resources successfully registered to the middleware as the resource registration success rate; The task scheduling and optimization module is used to calculate resource utilization; calculate the task scheduling optimization objective function; compare the task scheduling optimization objective function with the set objective function threshold to determine whether the task scheduling plan meets the execution efficiency requirements; when the task scheduling optimization objective function is greater than the set objective function threshold, execute the task according to the current task scheduling plan, otherwise the task scheduling unit adjusts the task weight and prioritizes the tasks, dynamically allocates resources according to the latest task requirements, and recalculates the execution efficiency function and the task scheduling optimization objective function until the latest task scheduling optimization objective function is greater than the set objective function threshold.
8. A remote remote interconnection system for combat simulation according to claim 7, characterized in that: The communication and connection module is used to construct a universal simulation middleware, including a communication unit, a data conversion unit, a resource management unit and a task scheduling unit; through the communication unit, a communication connection is established between each simulation node and the middleware to achieve real-time data transmission; the time required for calculating data transmission from the simulation node to the middleware is recorded as the communication delay : ; Where L represents the packet size, B represents the bandwidth, Indicates The processing delay of each network node, Indicates The transmission rate of network nodes, Indicates The queuing delay of each network node, Indicates the total number of network nodes; Delaying communication The communication delay threshold is set For comparison, if , it indicates that the communication delay meets the requirements of combat simulation; if , it indicates that the communication delay does not meet the requirements of combat simulation. The data conversion unit calls the integrated data compression algorithm to compress the transmitted data, reduce the data packet size, and recalculate the data packet size. and communication delays , and compare it with the set communication delay threshold. If , use the calculation result of the current communication delay, otherwise repeat the above process until the latest communication delay is less than the set communication delay threshold.
9. A remote inter-regional interconnection system for combat simulation according to claim 8, characterized in that: The data conversion and resource management module is used to convert the data format of each simulation node into a unified middleware data format through the data conversion unit; Obtain data conversion time and communication delay, and calculate conversion efficiency E. The formula is: ; in, Indicates the data format conversion time; The conversion efficiency With the set conversion efficiency threshold Compare and judge whether the data conversion unit meets the high efficiency; when , data format conversion meets high efficiency, when , the data format conversion is not efficient, the data conversion unit assigns the data conversion task to multiple threads or processes for parallel execution, and recalculates the data format conversion time and conversion efficiency , and compare the latest conversion efficiency with the set conversion efficiency threshold. If , use the current conversion efficiency calculation result, otherwise repeat the above steps until the latest conversion efficiency is greater than the set conversion efficiency threshold.
10. A remote inter-regional interconnection system for combat simulation according to claim 9, characterized in that: The data conversion and resource management module is used to obtain the conversion efficiency, the number of successfully registered resources and the total number of resources, and calculate the ratio of simulation resources successfully registered to the middleware as the resource registration success rate S, and the formula is: ; Where E represents the conversion efficiency, Indicates the number of resources successfully registered. Indicates the total amount of resources; The resource registration success rate The resource registration success rate threshold is set Compare, when When the remote remote interconnection system for combat simulation uses the current resource registration success rate calculation result, When the data conversion unit distributes the data conversion tasks to multiple threads or processes for parallel execution, it recalculates the data format conversion time, conversion efficiency and resource registration success rate. , and the resource registration success rate The resource registration success rate threshold is set For comparison, , use the calculation result of the current conversion efficiency, otherwise repeat the above steps until the latest resource registration success rate is greater than the set resource registration success rate threshold.
Citation Information
Patent Citations
Mobile edge computing task scheduling method based on deep reinforcement learning
CN117377084A
Multi-protocol intelligent interaction heterogeneous device full interconnection method and system
CN119324919A
Block chain multi-node secure communication method of industrial internet
CN119520119A
Dynamic allocation management system for monitoring computing power resources in real time
CN119621313A
Internet-based data service system
CN119743496A