A data parallel deduction simulation method and system

By geographically partitioning the units in the distributed simulation system and storing them locally on the simulation member nodes, the data transmission problem caused by full sharing between units is solved, reducing the amount of data transmission and improving the efficiency of the simulation system.

CN117591232BActive Publication Date: 2024-10-25XIAMEN YUANTING INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311435106.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-31
Publication Date
2024-10-25
Estimated Expiration
2043-10-31

AI Technical Summary

Technical Problem

In existing distributed simulation systems, full sharing between units results in limited data transmission speed, and storage of simulation data in third-party services results in additional transmission overhead.

Method used

The unit to be analyzed is geographically partitioned through the coordination node and assigned to each simulation member node. The data is stored locally in the simulation member node. The simulation member node performs data filtering and summary, and only returns the data that other nodes really need.

Benefits of technology

The amount of data transmission and transmission pressure are reduced, and the operating efficiency and performance of the simulation system are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117591232B_ABST
    Figure CN117591232B_ABST
Patent Text Reader

Abstract

The present invention relates to a data parallel deduction simulation method and system, in which units are divided by region and allocated to each simulation member node, data is stored locally in the simulation member node, and the data screening and aggregation is performed by the simulation member node that owns the data, so that the calculation pressure is apportioned to each simulation member node, and then only the data that is really needed by other simulation member nodes is returned, so as to reduce the amount of transmitted data and thus reduce the transmission pressure. The simulation member nodes of the present invention adopt a direct connection mode to reduce the nodes through which the transmission passes, which can improve the transmission efficiency to a certain extent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and in particular to a data parallel deduction simulation method and system. Background Art

[0002] As the scale of the simulation battlefield expands, the processing power of a single node can no longer meet the calculation of large-scale simulation members. Distributed simulation can distribute complex simulation calculations to multiple machines for parallel operation, solving the problem of insufficient computing power of a single node. In distributed simulation, frequent data communication is required between simulation members, so the performance of data communication will have an important impact on the running speed and performance of the entire simulation. The existing distributed simulation system has the following main problems:

[0003] (1) Currently, all units between different simulation members are shared, which affects the transmission speed when the amount of data is large;

[0004] (2) Currently, simulation data is mostly stored in third-party services, which results in an extra transmission between the third-party service and the simulation members. Summary of the invention

[0005] In order to solve the above problems, the present invention proposes a data parallel deduction simulation method and system.

[0006] The specific plan is as follows:

[0007] A data parallel deduction simulation method comprises the following steps:

[0008] S1: After the coordination node partitions all units to be analyzed based on their geographical locations, it allocates the units to each simulation member node according to the partitioning results, so that each simulation member node corresponds to a partition, and the corresponding relationship between all simulation member nodes and each unit is saved;

[0009] S2: After receiving the unit allocation result, the simulation member node initializes the basic data of the simulation member node and the simulation demand data of each unit included, and returns the result to the coordination node after the initialization is completed;

[0010] S3: After receiving the initialization completion result, the coordination node sends the corresponding relationship between all simulation member nodes and each unit to all simulation member nodes;

[0011] S4: The simulation member node receives the corresponding relationship and saves it;

[0012] S5: The coordinating node sends a preparation notification before starting the simulation to each simulation member node;

[0013] S6: After receiving the preparation notification, the simulation member node obtains the detection range of the simulation member node and the detection areas of each unit contained in the simulation member node, summarizes all detection areas beyond the detection range, and identifies the simulation member node where the exceeded detection area is located, and then publishes the corresponding subscription event to the identified simulation member node;

[0014] S7: After receiving the subscription event, the simulation member node finds out the units included in the detection area according to the detection area included in the subscription event, and feeds back to the sender of the subscription event;

[0015] S8: After receiving the subscription event feedback, the simulation member node uses the feedback unit and the unit within the original detection range as the unit of the simulation member node, and sends a readiness notification to the coordination node;

[0016] S9: After receiving the readiness notification sent by all simulation member nodes, the coordinating node sends a notification of the next frame deduction to all simulation member nodes;

[0017] S10: After receiving the notification of the next frame deduction, the simulation member node performs the next frame deduction, generates the situation of all units of the simulation member node in the next frame, and sends a deduction completion notification to the coordination node after the deduction is completed;

[0018] S11: When the coordination node receives the deduction completion notification sent by all simulation member nodes, it returns to S5 until the deduction is completed.

[0019] Furthermore, the unit is a combat unit on the battlefield

[0020] Furthermore, the partitioning is performed by grid.

[0021] Furthermore, the simulation requirement data includes a simulation model.

[0022] Furthermore, when the unit is fed back in step S7, simulation demand data corresponding to the unit is also fed back.

[0023] A data parallel deduction simulation system includes a coordination node and multiple simulation member nodes. The system implements the steps of the above method in an embodiment of the present invention.

[0024] The present invention adopts the above technical solution, divides the units by region, and distributes them to each simulation member node. The data is stored locally in the simulation member node, and the data screening and aggregation are performed by the simulation member node that owns the data, so that the computing pressure is distributed to each simulation member node, and then only the data that is really needed by other simulation member nodes is returned, thereby reducing the amount of transmitted data and thus reducing the transmission pressure. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 Shown is a flow chart of Embodiment 1 of the present invention. DETAILED DESCRIPTION

[0026] To further illustrate various embodiments, the present invention provides drawings. These drawings are part of the disclosure of the present invention, which are mainly used to illustrate the embodiments and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these contents, ordinary technicians in this field should be able to understand other possible implementations and advantages of the present invention.

[0027] The present invention will now be further described with reference to the accompanying drawings and specific implementation methods.

[0028] Embodiment 1:

[0029] The embodiment of the present invention provides a data parallel deduction simulation method, such as Figure 1 As shown, the method comprises the following steps:

[0030] S1: After the coordination node partitions all units to be analyzed based on their geographical locations, it allocates the units to each simulation member node according to the partitioning results, so that each simulation member node corresponds to a partition, and saves the corresponding relationship between all simulation member nodes and each unit in areaServiceMap.

[0031] Since the present embodiment is used for battlefield simulation, the units correspond to combat units on the battlefield, such as aircraft, missiles, etc.

[0032] There is only one coordination node; there are multiple simulation member nodes, forming a simulation member cluster.

[0033] Each unit is divided into regions according to its position on the map, such as by dividing each region into grids.

[0034] S2: After receiving the unit allocation result, the simulation member node initializes the basic data of the simulation member node and the simulation demand data of each unit included, and returns the result to the coordination node after the initialization is completed.

[0035] The basic data of the simulation member node includes the detection range of the simulation member node on the map, the detection area of ​​each unit included, etc. The simulation demand data of each unit may include a simulation model, and the simulation model may adopt an existing model, which is not limited here.

[0036] S3: After receiving the initialization completion result, the coordination node sends the corresponding relationship between all simulation member nodes and each unit to all simulation member nodes.

[0037] S4: The simulation member node receives the corresponding relationship and saves it.

[0038] S5: The coordinating node sends a preparation notification before starting the simulation to each simulation member node.

[0039] S6: After receiving the preparation notification, the simulation member node obtains the detection range of the simulation member node and the detection areas of each unit contained in the simulation member node, summarizes all detection areas that exceed the detection range, and identifies the simulation member node where the exceeded detection area is located, and then publishes the corresponding subscription event to the identified simulation member node.

[0040] S7: After receiving the subscription event, the simulation member node finds out the units included in the detection area according to the detection area included in the subscription event, and feeds back to the sender of the subscription event.

[0041] In this embodiment, when the unit is fed back, the simulation requirement data corresponding to the unit also needs to be fed back so as to perform simulation in the simulation member node after the feedback.

[0042] S8: After receiving the subscription event feedback, the simulation member node uses the fed-back unit and the unit within the original detection range as the unit of the simulation member node, and sends a ready notification to the coordination node.

[0043] S9: After receiving the readiness notifications sent by all simulation member nodes, the coordination node sends a notification of the next frame deduction to all simulation member nodes.

[0044] S10: After receiving the notification of the next frame deduction, the simulation member node performs the next frame deduction to generate the situation of all units of the simulation member node in the next frame, and sends a deduction completion notification to the coordination node after the deduction is completed.

[0045] S11: When the coordination node receives the deduction completion notification sent by all simulation member nodes, it returns to S5 until the deduction is completed.

[0046] The embodiment of the present invention divides units by region and distributes them to each simulation member node. Data is stored locally in the simulation member node, and data screening and aggregation are performed by the simulation member node that owns the data, thereby allocating the computing pressure to each simulation member node, and then only returning the data that is really needed by other simulation member nodes, thereby reducing the amount of transmitted data and thus reducing the transmission pressure.

[0047] The embodiment of the present invention simulates direct connection between member nodes, which reduces the number of nodes that the transmission passes through, and can improve the transmission efficiency to a certain extent.

[0048] Embodiment 2:

[0049] The present invention also provides a data parallel deduction simulation system, including a coordination node and multiple simulation member nodes, and the system comprises the steps in the above method embodiment of embodiment 1 of the present invention.

[0050] Although the present invention has been specifically shown and described in conjunction with the preferred embodiments, it should be understood by those skilled in the art that various changes may be made to the present invention in form and details without departing from the spirit and scope of the present invention as defined by the appended claims, all of which are within the scope of protection of the present invention.

Claims

1. A data parallel deduction simulation method, characterized in that: The following steps are involved: S1: After the coordination node partitions all units to be analyzed based on their geographical locations, it allocates the units to each simulation member node according to the partitioning results, so that each simulation member node corresponds to a partition, and the corresponding relationship between all simulation member nodes and each unit is saved; S2: After receiving the unit allocation result, the simulation member node initializes the basic data of the simulation member node and the simulation demand data of each unit included, and returns the result to the coordination node after the initialization is completed; S3: After receiving the initialization completion result, the coordination node sends the corresponding relationship between all simulation member nodes and each unit to all simulation member nodes; S4: The simulation member node receives the corresponding relationship and saves it; S5: The coordinating node sends a preparation notification before starting the simulation to each simulation member node; S6: After receiving the preparation notification, the simulation member node obtains the detection range of the simulation member node and the detection areas of each unit contained in the simulation member node, summarizes all detection areas beyond the detection range, and identifies the simulation member node where the exceeded detection area is located, and then publishes the corresponding subscription event to the identified simulation member node; S7: After receiving the subscription event, the simulation member node finds out the units included in the detection area according to the detection area included in the subscription event, and feeds back to the sender of the subscription event; S8: After receiving the subscription event feedback, the simulation member node uses the feedback unit and the unit within the original detection range as the unit of the simulation member node, and sends a readiness notification to the coordination node; S9: After receiving the readiness notification sent by all simulation member nodes, the coordinating node sends a notification of the next frame deduction to all simulation member nodes; S10: After receiving the notification of the next frame deduction, the simulation member node performs the next frame deduction, generates the situation of all units of the simulation member node in the next frame, and sends a deduction completion notification to the coordination node after the deduction is completed; S11: When the coordination node receives the deduction completion notification sent by all simulation member nodes, it returns to S5 until the deduction is completed.

2. The data parallel deduction simulation method according to claim 1, characterized in that: Units are combat units on the battlefield.

3. The data parallel deduction simulation method according to claim 1, characterized in that: Partitioning is done by gridding.

4. The data parallel deduction simulation method according to claim 1, characterized in that: The simulation requirement data includes a simulation model.

5. The data parallel deduction simulation method according to claim 1, characterized in that: When the unit is fed back in step S7, the simulation requirement data corresponding to the unit is also fed back.

6. A data parallel deduction simulation system, characterized by: The system comprises a coordination node and a plurality of simulation member nodes, and implements the steps of any method as claimed in claims 1 to 5.