CN117609253A - Simulation data storage and access methods, devices, computer equipment and storage media - Google Patents
Simulation data storage and access methods, devices, computer equipment and storage media Download PDFInfo
- Publication number
- CN117609253A CN117609253A CN202410097410.6A CN202410097410A CN117609253A CN 117609253 A CN117609253 A CN 117609253A CN 202410097410 A CN202410097410 A CN 202410097410A CN 117609253 A CN117609253 A CN 117609253A
- Authority
- CN
- China
- Prior art keywords
- simulation
- data
- entity
- time
- entity attribute
- 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
- 238000004088 simulation Methods 0.000 title claims abstract description 875
- 238000000034 method Methods 0.000 title claims abstract description 131
- 238000013500 data storage Methods 0.000 title claims abstract description 14
- 230000008569 process Effects 0.000 claims abstract description 84
- 230000004044 response Effects 0.000 claims abstract description 25
- 230000006854 communication Effects 0.000 claims description 34
- 238000004891 communication Methods 0.000 claims description 34
- 230000000007 visual effect Effects 0.000 claims description 9
- 230000002688 persistence Effects 0.000 claims 4
- 238000004321 preservation Methods 0.000 claims 3
- 238000012163 sequencing technique Methods 0.000 claims 1
- 230000002085 persistent effect Effects 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 7
- 238000004458 analytical method Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000009191 jumping Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 3
- 238000005094 computer simulation Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000011160 research Methods 0.000 description 3
- 230000007175 bidirectional communication Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/2291—User-Defined Types; Storage management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/23—Updating
- G06F16/2308—Concurrency control
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/24—Querying
- G06F16/245—Query processing
- G06F16/2457—Query processing with adaptation to user needs
- G06F16/24578—Query processing with adaptation to user needs using ranking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2477—Temporal data queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/24—Querying
- G06F16/248—Presentation of query results
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
- G06F16/285—Clustering or classification
-
- 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Probability & Statistics with Applications (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本申请公开仿真数据保存及访问方法、装置、计算机设备及存储介质,包括:获取仿真过程中的仿真数据,所述仿真数据包括仿真实体数据以及仿真事件数据;对所述仿真数据进行预设定配置;在仿真实体属性发生更新时,将每一步仿真的仿真实体属性更新数据及仿真事件数据进行持久化保存;在满足预设条件后,将当前仿真步长的仿真实体属性数据以及仿真事件数据进行持久化保存,以生成包含仿真数据全集的仿真时间点列表;响应于接收到仿真回放指令,确定跳转时间,从所述仿真时间点列表中读取所述跳转时间对应的目标仿真数据。通过采用间隔性的进行仿真数据全集保存,避免在回放时为保证数据的完整性而需从头开始回放,大大降低数据保存量。
This application discloses simulation data storage and access methods, devices, computer equipment and storage media, including: obtaining simulation data during the simulation process, the simulation data includes simulation entity data and simulation event data; presetting the simulation data Configuration; when the simulation entity attributes are updated, the simulation entity attribute update data and simulation event data of each simulation step are persisted; after the preset conditions are met, the simulation entity attribute data and simulation event data of the current simulation step are persisted. Perform persistent saving to generate a simulation time point list containing the complete set of simulation data; in response to receiving the simulation playback instruction, determine the jump time, and read the target simulation data corresponding to the jump time from the simulation time point list . By saving the complete set of simulation data at intervals, we avoid having to start playback from the beginning to ensure the integrity of the data during playback, which greatly reduces the amount of data saved.
Description
技术领域Technical field
本发明涉及仿真数据处理领域,特别涉及一种仿真数据保存及访问方法、装置及计算机设备、存储介质。The invention relates to the field of simulation data processing, and in particular to a simulation data storage and access method, device, computer equipment, and storage medium.
背景技术Background technique
计算机仿真是通过电子计算机,利用系统的仿真模型对真实系统进行试验以达到分析和研究的目的,近年来计算机仿真已经广泛应用于军事、科研、教育、商业、生产开发等各个领域。在仿真推演过程中,需要对推演过程中的仿真数据进行采集保存,以支持仿真推演后的评估分析和态势回放。目前的仿真数据采集只能保存增量数据,在回放时不能够支持回放进度的任意拖动、跳转;或者只能保存每一仿真步长时刻的所有实体属性数据,数据量大,增加数据库及网络传输负担,导致仿真数据的保存占用数据资源大,及数据回放的效率低等问题。Computer simulation uses electronic computers to use system simulation models to test real systems for the purpose of analysis and research. In recent years, computer simulation has been widely used in various fields such as military, scientific research, education, commerce, and production development. During the simulation deduction process, the simulation data during the deduction process needs to be collected and saved to support evaluation analysis and situation playback after the simulation deduction. The current simulation data collection can only save incremental data, and cannot support arbitrary dragging and jumping of the playback progress during playback; or it can only save all entity attribute data at each simulation step, which requires a large amount of data and increases the database and network transmission burden, resulting in problems such as large data resource usage for saving simulation data and low efficiency of data playback.
发明内容Contents of the invention
本发明的目的在于提供一种仿真数据保存及访问方法、装置及计算机设备、计算机存储介质,以至少解决目前仿真数据的保存及回放效率低的问题。The object of the present invention is to provide a method, device, computer equipment, and computer storage medium for saving and accessing simulation data, so as to at least solve the current problem of low efficiency in saving and playback of simulation data.
为解决上述技术问题,本发明提供一种仿真数据保存及访问方法,包括:In order to solve the above technical problems, the present invention provides a simulation data saving and access method, including:
获取仿真过程的仿真数据,所述仿真数据包括仿真实体数据以及仿真事件数据;Obtain simulation data of the simulation process, where the simulation data includes simulation entity data and simulation event data;
对所述仿真数据进行预设定配置,其中,所述仿真实体数据包括每一步仿真的仿真实体属性数据与仿真实体属性更新数据;所述仿真事件数据为对应于每一步仿真的仿真步长接收到的数据;Perform a preset configuration on the simulation data, wherein the simulation entity data includes simulation entity attribute data and simulation entity attribute update data for each step of simulation; the simulation event data is a simulation step length corresponding to each step of simulation. received data;
在仿真实体属性发生更新时,将所述每一步仿真的仿真实体属性更新数据及仿真事件数据进行持久化保存;When the simulation entity attributes are updated, the simulation entity attribute update data and simulation event data of each step of the simulation are persisted;
在满足预设条件后,将当前仿真步长的仿真实体属性数据以及接收到的仿真事件数据进行持久化保存,以生成包含仿真数据全集的仿真时间点列表,所述当前仿真步长的仿真实体属性数据为对应仿真时间的最新的仿真实体属性数据;After the preset conditions are met, the simulation entity attribute data of the current simulation step and the received simulation event data are persisted to generate a simulation time point list containing the complete set of simulation data. The simulation entity of the current simulation step is The attribute data is the latest simulation entity attribute data corresponding to the simulation time;
响应于接收到仿真回放指令,确定跳转时间,从所述仿真时间点列表中读取所述跳转时间对应的目标仿真数据。In response to receiving the simulation playback instruction, a jump time is determined, and target simulation data corresponding to the jump time is read from the simulation time point list.
可选的,所述获取仿真过程的仿真数据,所述仿真数据包括仿真实体数据以及仿真事件数据,包括:Optionally, the acquisition of simulation data of the simulation process includes simulation entity data and simulation event data, including:
获取订阅信息,所述订阅信息包含对仿真实体、仿真事件以及仿真时间的至少一个的声明订阅;Obtain subscription information, where the subscription information includes a declared subscription to at least one of a simulation entity, a simulation event, and a simulation time;
根据所述订阅信息获取仿真过程中的仿真数据,所述仿真数据包括对应不同仿真时间的仿真实体数据以及仿真事件数据。Simulation data during the simulation process is obtained according to the subscription information, and the simulation data includes simulation entity data and simulation event data corresponding to different simulation times.
可选的,所述对所述仿真数据进行预设定配置,包括:Optionally, the preset configuration of the simulation data includes:
按照仿真时间对所述仿真数据进行排序配置;Sort and configure the simulation data according to simulation time;
按照仿真实体类型以及仿真事件类型对所述排序后的仿真数据进行分类配置,以使得所述仿真实体数据包括每一步仿真的仿真实体属性数据与仿真实体属性更新数据;所述仿真事件数据为对应于每一步仿真的仿真步长接收到的数据。The sorted simulation data is classified and configured according to the simulation entity type and the simulation event type, so that the simulation entity data includes simulation entity attribute data and simulation entity attribute update data for each step of simulation; the simulation event data is corresponding The data received at the simulation step size of each simulation step.
可选的,所述响应于接收到仿真回放指令,确定跳转时间,从所述仿真时间点列表中读取所述跳转时间对应的目标仿真数据,包括:Optionally, in response to receiving the simulation playback instruction, determining the jump time and reading the target simulation data corresponding to the jump time from the simulation time point list includes:
响应于接收到仿真回放指令,判断是否需要跳转仿真时间;In response to receiving the simulation playback command, determine whether it is necessary to jump the simulation time;
若是,选定跳转仿真时间前的最近时间作为跳转时间;If so, select the latest time before the jump simulation time as the jump time;
清空当前仿真的实体信息;并从包含仿真数据全集的仿真时间点列表中读取所述跳转时间对应的仿真实体属性数据以及仿真事件数据。Clear the entity information of the current simulation; and read the simulation entity attribute data and simulation event data corresponding to the jump time from the simulation time point list containing the complete set of simulation data.
可选地,所述响应于接收到仿真回放指令之前,还包括:Optionally, the response before receiving the simulation playback instruction also includes:
将所述仿真时间点列表以可视化组件的形式显示在用户界面;Display the simulation time point list on the user interface in the form of a visual component;
当通过所述用户界面接收到对仿真时间点列表的拖动操作和/或跳转操作时,生成仿真回放指令。When a drag operation and/or a jump operation on the simulation time point list is received through the user interface, a simulation playback instruction is generated.
可选的,所述获取仿真过程的仿真数据,包括:Optionally, the obtaining simulation data of the simulation process includes:
获取所述仿真数据的仿真系统类型;Obtain the simulation system type of the simulation data;
根据所述仿真系统类型配置通信信息;其中,Configure communication information according to the simulation system type; wherein,
当所述仿真系统类型为分布式仿真系统时,配置仿真互联中间件作为通信信息与分布式仿真系统进行通信,以获取仿真过程的仿真数据;When the simulation system type is a distributed simulation system, configure the simulation interconnection middleware to communicate with the distributed simulation system as communication information to obtain simulation data of the simulation process;
当所述仿真系统类型为单进程高效并行仿真系统时,配置线程间通信件作为通信信息与单进程高效并行仿真系统进行通信,以获取仿真过程的仿真数据。When the type of the simulation system is a single-process high-efficiency parallel simulation system, the inter-thread communication is configured as communication information to communicate with the single-process high-efficiency parallel simulation system to obtain simulation data of the simulation process.
可选的,所述满足预设条件,包括:Optionally, the preset conditions are met, including:
当到达预设仿真时间间隔时,确定满足所述预设条件;和/或,When the preset simulation time interval is reached, it is determined that the preset condition is met; and/or,
当接收到数据全集保存指令时,确定满足所述预设条件。When receiving the instruction to save the complete data set, it is determined that the preset condition is met.
为解决上述技术问题,本发明实施例还提供一种仿真数据的保存及访问装置,包括:In order to solve the above technical problems, embodiments of the present invention also provide a device for saving and accessing simulation data, including:
数据获取模块,用于获取仿真过程的仿真数据,所述仿真数据包括仿真实体数据以及仿真事件数据;A data acquisition module, used to acquire simulation data of the simulation process, where the simulation data includes simulation entity data and simulation event data;
数据配置模块,用于对所述仿真数据进行预设定配置,其中,所述仿真实体数据包括每一步仿真的仿真实体属性数据与仿真实体属性更新数据;所述仿真事件数据为对应于每一步仿真的仿真步长接收到的数据;A data configuration module is used to perform preset configuration on the simulation data, wherein the simulation entity data includes simulation entity attribute data and simulation entity attribute update data for each step of simulation; the simulation event data is corresponding to each step. The data received by the simulation step size of the simulation;
第一保存模块,用于在仿真实体属性发生更新时,将所述每一步仿真的仿真实体属性更新数据及仿真事件数据进行持久化保存;The first saving module is used to persistently save the simulation entity attribute update data and simulation event data of each step of simulation when the simulation entity attributes are updated;
第二保存模块,用于在满足预设条件后,将当前仿真步长的仿真实体属性数据以及接收到的仿真事件数据进行持久化保存,以生成包含仿真数据全集的仿真时间点列表,所述当前仿真步长的仿真实体属性数据为对应仿真时间的最新的仿真实体属性数据;The second saving module is used to persistently save the simulation entity attribute data of the current simulation step and the received simulation event data after the preset conditions are met, so as to generate a simulation time point list containing the complete set of simulation data, as described The simulation entity attribute data of the current simulation step is the latest simulation entity attribute data corresponding to the simulation time;
数据回放模块,用于响应于接收到仿真回放指令,确定跳转时间,从所述仿真时间点列表中读取所述跳转时间对应的目标仿真数据。A data playback module is configured to determine a jump time in response to receiving a simulation playback instruction, and read target simulation data corresponding to the jump time from the simulation time point list.
可选地,所述数据获取模块还用于:Optionally, the data acquisition module is also used to:
获取订阅信息,所述订阅信息包含对仿真实体、仿真事件以及仿真时间的至少一个的声明订阅;Obtain subscription information, where the subscription information includes a declared subscription to at least one of a simulation entity, a simulation event, and a simulation time;
根据所述订阅信息获取仿真过程中的仿真数据,所述仿真数据包括对应不同仿真时间的仿真实体数据以及仿真事件数据。Simulation data during the simulation process is obtained according to the subscription information, and the simulation data includes simulation entity data and simulation event data corresponding to different simulation times.
可选地,所述数据配置模块还用于:Optionally, the data configuration module is also used to:
按照仿真时间对所述仿真数据进行排序配置;Sort and configure the simulation data according to simulation time;
按照仿真实体类型以及仿真事件类型对所述排序后的仿真数据进行分类配置,以使得所述仿真实体数据包括每一步仿真的仿真实体属性数据与仿真实体属性更新数据;所述仿真事件数据为对应于每一步仿真的仿真步长接收到的数据。The sorted simulation data is classified and configured according to the simulation entity type and the simulation event type, so that the simulation entity data includes simulation entity attribute data and simulation entity attribute update data for each step of simulation; the simulation event data is corresponding The data received at the simulation step size of each simulation step.
可选地,所述数据回放模块还用于:Optionally, the data playback module is also used to:
响应于接收到仿真回放指令,判断是否需要跳转仿真时间;In response to receiving the simulation playback command, determine whether it is necessary to jump the simulation time;
若是,选定跳转仿真时间前的最近时间作为跳转时间;If so, select the latest time before the jump simulation time as the jump time;
清空当前仿真的实体信息;并从包含仿真数据全集的仿真时间点列表中读取所述跳转时间对应的仿真实体属性数据以及仿真事件数据。Clear the entity information of the current simulation; and read the simulation entity attribute data and simulation event data corresponding to the jump time from the simulation time point list containing the complete set of simulation data.
可选地,所述装置还包括指令接收模块,用于;Optionally, the device further includes an instruction receiving module, configured to;
将所述仿真时间点列表以可视化组件的形式显示在用户界面;Display the simulation time point list on the user interface in the form of a visual component;
当通过所述用户界面接收到对仿真时间点列表的拖动操作和/或跳转操作时,生成仿真回放指令。When a drag operation and/or a jump operation on the simulation time point list is received through the user interface, a simulation playback instruction is generated.
可选地,所述数据获取模块还用于;Optionally, the data acquisition module is also used to;
获取所述仿真数据的仿真系统类型;Obtain the simulation system type of the simulation data;
根据所述仿真系统类型配置通信信息;其中,Configure communication information according to the simulation system type; wherein,
当所述仿真系统类型为分布式仿真系统时,配置仿真互联中间件作为通信信息与分布式仿真系统进行通信,以获取仿真过程的仿真数据;When the simulation system type is a distributed simulation system, configure the simulation interconnection middleware to communicate with the distributed simulation system as communication information to obtain simulation data of the simulation process;
当所述仿真系统类型为单进程高效并行仿真系统时,配置线程间通信件作为通信信息与单进程高效并行仿真系统进行通信,以获取仿真过程的仿真数据。When the type of the simulation system is a single-process high-efficiency parallel simulation system, the inter-thread communication is configured as communication information to communicate with the single-process high-efficiency parallel simulation system to obtain simulation data of the simulation process.
可选地,所述满足预设条件,包括:Optionally, meeting preset conditions includes:
当到达预设仿真时间间隔时,确定满足所述预设条件;和/或,When the preset simulation time interval is reached, it is determined that the preset condition is met; and/or,
当接收到数据全集保存指令时,确定满足所述预设条件。When receiving the instruction to save the complete data set, it is determined that the preset condition is met.
为解决上述技术问题本发明实施例还提供一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行上述所述仿真数据保存及访问方法的步骤。In order to solve the above technical problems, embodiments of the present invention also provide a computer device, including a memory and a processor. Computer readable instructions are stored in the memory. When the computer readable instructions are executed by the processor, the computer readable instructions cause the computer readable instructions to be stored in the memory. The processor executes the steps of the above-mentioned simulation data saving and access method.
为解决上述技术问题本发明实施例还提供一种存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行上述所述仿真数据保存及访问方法的步骤。In order to solve the above technical problems, embodiments of the present invention also provide a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, they cause one or more processors to execute the above-mentioned instructions. Steps to save and access simulation data.
本发明创造实施例的有益效果是:通过获取仿真过程的仿真数据,所述仿真数据包括仿真实体数据以及仿真事件数据;对所述仿真数据进行预设定配置,其中,所述仿真实体数据包括每一步仿真的仿真实体属性数据与仿真实体属性更新数据;所述仿真事件数据为对应于每一步仿真的仿真步长接收到的数据;在仿真实体属性发生更新时,将所述每一步仿真的仿真实体属性更新数据及仿真事件数据进行持久化保存,快速地采集在仿真过程中仿真实体的增量数据,提高数据的保存效率;在满足预设条件后,将当前仿真步长的仿真实体属性数据以及接收到的仿真事件数据进行持久化保存,以生成包含仿真数据全集的仿真时间点列表,所述当前仿真步长的仿真实体属性数据为对应仿真时间的最新的仿真实体属性数据,以保存仿真过程中所有实体的所有属性数据;响应于接收到仿真回放指令,确定跳转时间,从所述仿真时间点列表中读取所述跳转时间对应的目标仿真数据,能够支持从任意时间点开始,对后续进行的仿真过程中产生的仿真数据进行回放与追溯,从而支持回放进度的任意拖动与跳转,提高仿真数据的回放效率,提高仿真推演过程的数据完整性。The beneficial effects of the embodiments of the present invention are: by obtaining simulation data of the simulation process, the simulation data includes simulation entity data and simulation event data; and performing preset configuration on the simulation data, wherein the simulation entity data includes The simulation entity attribute data and simulation entity attribute update data of each step of simulation; the simulation event data is the data received corresponding to the simulation step length of each step of simulation; when the simulation entity attributes are updated, the simulation event data of each step of simulation is The simulation entity attribute update data and simulation event data are persisted to quickly collect the incremental data of the simulation entity during the simulation process and improve the data storage efficiency; after the preset conditions are met, the simulation entity attributes of the current simulation step are saved The data and the received simulation event data are persisted to generate a simulation time point list containing the complete set of simulation data. The simulation entity attribute data of the current simulation step is the latest simulation entity attribute data corresponding to the simulation time to save All attribute data of all entities during the simulation process; in response to receiving the simulation playback instruction, determine the jump time, and read the target simulation data corresponding to the jump time from the simulation time point list, which can support starting from any time point At the beginning, the simulation data generated during the subsequent simulation process is played back and traced, thereby supporting arbitrary dragging and jumping of the playback progress, improving the playback efficiency of the simulation data, and improving the data integrity of the simulation deduction process.
附图说明Description of drawings
本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present application will become apparent and readily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
图1为本申请仿真数据保存及访问方法的一个实施例流程示意图;Figure 1 is a schematic flow chart of an embodiment of the simulation data storage and access method of this application;
图2为本申请仿真数据的保存及访问装置的一个实施例的结构示意图;Figure 2 is a schematic structural diagram of an embodiment of the device for saving and accessing simulation data in this application;
图3为本申请一个具体实施例的计算机设备的基本结构框图。Figure 3 is a basic structural block diagram of a computer device according to a specific embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例进行描述。In order to enable those skilled in the art to better understand the solution of the present invention, the embodiments of the present invention will be described below with reference to the accompanying drawings in the embodiments of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”或“具有”及其任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if present) in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects without necessarily using Used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. In addition, the terms "comprising" or "having" and any variations thereof are intended to cover non-exclusive inclusions, e.g., processes, methods, systems, products, or devices that comprise a series of steps or units and are not necessarily limited to those expressly listed. steps or units, but may include other steps or units not expressly listed or inherent to such processes, methods, products or apparatuses.
请参阅图1,图1为本实施例仿真数据保存及访问方法的基本流程示意图,如图1所示,包括步骤:Please refer to Figure 1. Figure 1 is a basic flow diagram of the simulation data saving and access method in this embodiment. As shown in Figure 1, it includes the steps:
S1100、获取仿真过程的仿真数据,所述仿真数据包括仿真实体数据以及仿真事件数据;S1100. Obtain simulation data of the simulation process, where the simulation data includes simulation entity data and simulation event data;
本实施例应用于仿真数据的保存及回放场景,计算机仿真是通过电子计算机,利用系统的仿真模型对真实系统进行试验以达到分析和研究的目的,尤其是仿真推演过程中,需要对推演过程中的仿真数据进行采集保存,以支持仿真推演后的评估分析和态势回放,本实施例中,通过配置一个仿真数据的保存及访问服务/应用/系统,在一种实际的应用场景中,该服务/应用/系统可以部署在服务端,也可以部署在应用端。首先获取仿真过程的仿真数据,所述仿真数据包括仿真实体数据以及仿真事件数据,所述仿真数据可以是由仿真系统产生的,通过与仿真系统进行通信,从仿真系统中获取仿真过程的仿真数据,具体的,仿真系统中仿真启动后,仿真系统的仿真控制模块控制数据通信模块、数据管理模块、数据存储模块完成初始化,然后在仿真运行过程中的每一步仿真都会产生仿真数据,其中,仿真数据包括仿真实体数据以及仿真事件数据,本实施例通过与仿真系统通信,在仿真系统每一步仿真的过程中,获取所述仿真数据。This embodiment is applied to the scenario of saving and playback of simulation data. Computer simulation is to use an electronic computer to test the real system using the simulation model of the system to achieve the purpose of analysis and research. Especially during the simulation deduction process, it is necessary to analyze the simulation process during the deduction process. The simulation data is collected and saved to support evaluation analysis and situation playback after simulation deduction. In this embodiment, by configuring a simulation data storage and access service/application/system, in an actual application scenario, the service /Application/The system can be deployed on the server side or on the application side. First, the simulation data of the simulation process is obtained. The simulation data includes simulation entity data and simulation event data. The simulation data can be generated by the simulation system. By communicating with the simulation system, the simulation data of the simulation process is obtained from the simulation system. , specifically, after the simulation in the simulation system is started, the simulation control module of the simulation system controls the data communication module, data management module, and data storage module to complete initialization, and then simulation data will be generated at every step of the simulation running process, where, simulation The data includes simulation entity data and simulation event data. In this embodiment, by communicating with the simulation system, the simulation data is obtained during each step of the simulation process of the simulation system.
S1200、对所述仿真数据进行预设定配置,其中,所述仿真实体数据包括每一步仿真的仿真实体属性数据与仿真实体属性更新数据;所述仿真事件数据为对应于每一步仿真的仿真步长接收到的数据;S1200. Perform a preset configuration on the simulation data, wherein the simulation entity data includes simulation entity attribute data and simulation entity attribute update data for each step of simulation; the simulation event data is a simulation step corresponding to each step of simulation. Long received data;
在获取仿真过程的仿真数据之后,对所述仿真数据进行预设定配置,由于仿真系统的设定不同,其仿真数据对应的数据类型、数据格式不一致,为了更好地分析仿真数据,需要将仿真数据配置为适合分析的数据格式,即按照预设定的数据规则对所述仿真数据进行预设定配置,在一种实施方式中,首先根据时间顺序对仿真数据进行排序,然后根据仿真数据中包含的数据类型对上述仿真数据进行分类,其中,所述仿真实体数据包括每一步仿真的仿真实体属性数据与仿真实体属性更新数据;所述仿真事件数据为对应于每一步仿真的仿真步长接收到的数据。After obtaining the simulation data of the simulation process, the simulation data is preset and configured. Due to different settings of the simulation system, the corresponding data types and data formats of the simulation data are inconsistent. In order to better analyze the simulation data, it is necessary to The simulation data is configured into a data format suitable for analysis, that is, the simulation data is preset and configured according to preset data rules. In one implementation, the simulation data is first sorted according to time sequence, and then the simulation data is sorted according to the time sequence. The data types included in classify the above simulation data, wherein the simulation entity data includes simulation entity attribute data and simulation entity attribute update data for each step of simulation; the simulation event data is the simulation step corresponding to each step of simulation received data.
S1300、在仿真实体属性发生更新时,将所述每一步仿真的仿真实体属性更新数据及仿真事件数据进行持久化保存;S1300. When the simulation entity attributes are updated, persist the simulation entity attribute update data and simulation event data of each step of the simulation;
在对所述仿真数据进行预设定配置之后,将所述每一步仿真的仿真实体属性更新数据及仿真事件数据进行持久化保存,在对仿真数据的保存中,若在仿真步长内,仿真实体属性发生更新时,首先针对每一步仿真的实体属性的更新以及每一步仿真所对应的事件进行关联,即将所述每一步仿真的仿真实体属性更新数据及仿真事件数据进行持久化保存,进一步的,还包括在仿真步长内仿真实体属性发生更新时,对每一步仿真的仿真实体属性、仿真实体属性更新数据以及仿真事件数据进行关联并持久化保存,从而对每一步仿真中仿真实体的属性更新与对应的仿真事件进行关联存储,快速地采集在仿真过程中仿真实体的增量数据,提高数据的保存效率。After the simulation data is preset and configured, the simulation entity attribute update data and simulation event data of each step of the simulation are persistently saved. During the saving of the simulation data, if the simulation is within the simulation step, the simulation When the entity attributes are updated, first, the updates of the entity attributes of each step of simulation and the events corresponding to each step of simulation are associated, that is, the simulation entity attribute update data and simulation event data of each step of simulation are persisted and saved, and further , also includes associating and persisting the simulation entity attributes, simulation entity attribute update data and simulation event data of each step of simulation when the attributes of the simulation entity are updated within the simulation step, so as to store the attributes of the simulation entity in each step of simulation. Updates are stored in association with corresponding simulation events to quickly collect incremental data of simulation entities during the simulation process and improve data storage efficiency.
S1400、在满足预设条件后,将当前仿真步长的仿真实体属性数据以及接收到的仿真事件数据进行持久化保存,以生成包含仿真数据全集的仿真时间点列表,所述当前仿真步长的仿真实体属性数据为对应仿真时间的最新的仿真实体属性数据;S1400. After the preset conditions are met, persist the simulation entity attribute data of the current simulation step and the received simulation event data to generate a simulation time point list containing the complete set of simulation data. The current simulation step is The simulation entity attribute data is the latest simulation entity attribute data corresponding to the simulation time;
在将所述每一步仿真的仿真实体属性更新数据及仿真事件数据进行持久化保存之后,即采集在仿真过程中仿真实体的增量数据之后,如果满足预设的条件,此时将仿真过程的所有仿真实体的属性数据进行保存,即将当前仿真步长的仿真实体属性数据以及当前仿真步长接收到的仿真事件数据进行持久化保存,其中,所述当前仿真步长的仿真实体属性数据为对应仿真时间的最新的仿真实体属性数据,从而保存当前的所有仿真实体的最新属性数据,以生成包含仿真数据全集的仿真时间点列表,其中,按照不同的仿真实体对其属性数据及每一步接收到的仿真事件进行关联存储,以保存仿真过程中所有实体的所有属性数据。After persisting the simulation entity attribute update data and simulation event data of each step of the simulation, that is, after collecting the incremental data of the simulation entity during the simulation process, if the preset conditions are met, the simulation process will be The attribute data of all simulation entities is saved, that is, the simulation entity attribute data of the current simulation step and the simulation event data received by the current simulation step are persisted, wherein the simulation entity attribute data of the current simulation step is the corresponding The latest simulation entity attribute data at the simulation time, thereby saving the latest attribute data of all current simulation entities to generate a simulation time point list containing the complete set of simulation data, in which the attribute data and each step received according to different simulation entities are The simulation events are stored associatively to save all attribute data of all entities during the simulation process.
S1500、响应于接收到仿真回放指令,确定跳转时间,从所述仿真时间点列表中读取所述跳转时间对应的目标仿真数据。S1500. In response to receiving the simulation playback instruction, determine the jump time, and read the target simulation data corresponding to the jump time from the simulation time point list.
在将当前仿真步长的仿真实体属性数据以及接收到的仿真事件数据进行持久化保存,以生成包含仿真数据全集的仿真时间点列表之后,包含仿真数据全集的仿真时间点列表支持对任意仿真时间点的回放,即当接收到仿真回放指令时,响应于接收到仿真回放指令,确定跳转时间,从所述仿真时间点列表中读取所述跳转时间对应的目标仿真数据,能够支持从任意时间点开始,对后续进行的仿真过程中产生的仿真数据进行回放与追溯,从而支持回放进度的任意拖动与跳转,快速地获取从跳转时间开始后的目标仿真数据,所述目标仿真数据同样包含仿真实体数据以及仿真事件数据,所述仿真实体数据包括每一步仿真的仿真实体属性数据与仿真实体属性更新数据;所述仿真事件数据为对应于每一步仿真的仿真步长接收到的数据,提高仿真数据的回放效率,提高仿真推演过程的数据完整性。通过采用间隔性的进行数据全集保存,即在特定时刻或者固定时间间隔进行数据全集保存,在其他仿真时间,进行增量数据保存,避免在回放时为保证数据的完整性而需从头开始回放,在支持回放时间任意跳转的同时,大大降低数据保存量。After persisting the simulation entity attribute data of the current simulation step and the received simulation event data to generate a simulation time point list containing the complete set of simulation data, the simulation time point list containing the complete set of simulation data supports any simulation time Playback of points, that is, when receiving a simulation playback command, determining the jump time in response to receiving the simulation playback command, and reading the target simulation data corresponding to the jump time from the simulation time point list, which can support Starting at any time point, the simulation data generated during the subsequent simulation process is played back and traced, thereby supporting any drag and jump of the playback progress, and quickly obtaining the target simulation data after the jump time. The target The simulation data also includes simulation entity data and simulation event data. The simulation entity data includes simulation entity attribute data and simulation entity attribute update data for each step of simulation; the simulation event data is received corresponding to the simulation step length of each step of simulation. data, improve the playback efficiency of simulation data, and improve the data integrity of the simulation deduction process. By using interval to save the complete set of data, that is, saving the complete set of data at a specific moment or fixed time interval, and saving incremental data at other simulation times, avoiding the need to start playback from the beginning to ensure the integrity of the data during playback. While supporting any jump in playback time, it greatly reduces the amount of data saved.
上述实施方式中,通过获取仿真过程的仿真数据,所述仿真数据包括仿真实体数据以及仿真事件数据;对所述仿真数据进行预设定配置,其中,所述仿真实体数据包括每一步仿真的仿真实体属性数据与仿真实体属性更新数据;所述仿真事件数据为对应于每一步仿真的仿真步长接收到的数据;在仿真实体属性发生更新时,将所述每一步仿真的仿真实体属性更新数据及仿真事件数据进行持久化保存,快速地采集在仿真过程中仿真实体的增量数据,提高数据的保存效率;在满足预设条件后,将当前仿真步长的仿真实体属性数据以及接收到的仿真事件数据进行持久化保存,以生成包含仿真数据全集的仿真时间点列表,以保存仿真过程中所有实体的所有属性数据;响应于接收到仿真回放指令,确定跳转时间,从所述仿真时间点列表中读取所述跳转时间对应的目标仿真数据,能够支持从任意时间点开始,对后续进行的仿真过程中产生的仿真数据进行回放与追溯,从而支持回放进度的任意拖动与跳转,提高仿真数据的回放效率,提高仿真推演过程的数据完整性。In the above embodiment, by obtaining the simulation data of the simulation process, the simulation data includes simulation entity data and simulation event data; the simulation data is preset and configured, wherein the simulation entity data includes the simulation of each step of simulation. Entity attribute data and simulation entity attribute update data; the simulation event data is data received corresponding to the simulation step length of each step of simulation; when the simulation entity attributes are updated, the simulation entity attribute update data of each step of simulation is and simulation event data are persisted to quickly collect the incremental data of the simulation entity during the simulation process and improve the data storage efficiency; after the preset conditions are met, the simulation entity attribute data of the current simulation step and the received The simulation event data is persisted to generate a simulation time point list containing the complete set of simulation data to save all attribute data of all entities during the simulation process; in response to receiving the simulation playback instruction, the jump time is determined, starting from the simulation time Reading the target simulation data corresponding to the jump time in the point list can support the playback and tracing of the simulation data generated in the subsequent simulation process starting from any time point, thus supporting any dragging and jumping of the playback progress. Transfer, improve the playback efficiency of simulation data, and improve the data integrity of the simulation deduction process.
进一步地,在一些实施方式中,所述获取仿真过程的仿真数据,所述仿真数据包括仿真实体数据以及仿真事件数据,包括:Further, in some embodiments, the acquisition of simulation data of the simulation process, the simulation data includes simulation entity data and simulation event data, includes:
获取订阅信息,所述订阅信息包含对仿真实体、仿真事件以及仿真时间的至少一个的声明订阅;Obtain subscription information, where the subscription information includes a declared subscription to at least one of a simulation entity, a simulation event, and a simulation time;
根据所述订阅信息获取仿真过程中的仿真数据,所述仿真数据包括对应不同仿真时间的仿真实体数据以及仿真事件数据。Simulation data during the simulation process is obtained according to the subscription information, and the simulation data includes simulation entity data and simulation event data corresponding to different simulation times.
在一种实施方式中,所述获取仿真过程的仿真数据,所述仿真数据包括仿真实体数据以及仿真事件数据的过程中,首先获取订阅信息,所述订阅信息包含对仿真实体、仿真事件以及仿真时间的至少一个的声明订阅。其中,所述订阅信息可以为在仿真系统中配置的信息,在仿真系统中启动仿真,仿真系统的各个模块完成初始化,仿真控制模块加入仿真,声明仿真实体、仿真事件的兴趣订阅,通过与仿真系统通信,获取仿真系统的订阅信息,从而根据订阅信息获取仿真过程中的仿真数据,所述仿真数据包括对应不同仿真时间的仿真实体数据以及仿真事件数据。In one embodiment, in the process of obtaining simulation data of the simulation process, which includes simulation entity data and simulation event data, subscription information is first obtained, and the subscription information includes information on simulation entities, simulation events, and simulation events. At least one declared subscription at the time. The subscription information may be information configured in the simulation system. When the simulation is started in the simulation system, each module of the simulation system completes initialization, the simulation control module joins the simulation, declares interest subscriptions for simulation entities and simulation events, and communicates with the simulation The system communicates to obtain subscription information of the simulation system, thereby obtaining simulation data during the simulation process according to the subscription information. The simulation data includes simulation entity data and simulation event data corresponding to different simulation times.
本实施方式通过获取仿真系统的订阅信息,从而根据订阅信息获取仿真过程中的仿真数据,满足不同场景下的仿真数据获取需求,提高不同场景下对不同仿真数据的获取效率。This implementation obtains the subscription information of the simulation system to obtain simulation data in the simulation process according to the subscription information, meets the simulation data acquisition requirements in different scenarios, and improves the efficiency of obtaining different simulation data in different scenarios.
进一步地,在一些实施方式中,所述对所述仿真数据进行预设定配置,包括:Further, in some implementations, the preset configuration of the simulation data includes:
按照仿真时间对所述仿真数据进行排序配置;Sort and configure the simulation data according to simulation time;
按照仿真实体类型以及仿真事件类型对所述排序后的仿真数据进行分类配置,以使得所述仿真实体数据包括每一步仿真的仿真实体属性数据与仿真实体属性更新数据;所述仿真事件数据为对应于每一步仿真的仿真步长接收到的数据。The sorted simulation data is classified and configured according to the simulation entity type and the simulation event type, so that the simulation entity data includes simulation entity attribute data and simulation entity attribute update data for each step of simulation; the simulation event data is corresponding The data received at the simulation step size of each simulation step.
本实施例中,在对所述仿真数据进行预设定配置的过程中,首先获取所述仿真数据对应的仿真时间,然后按照仿真时间对所述仿真数据进行排序配置,根据仿真时间的前后顺序对仿真数据进行组织管理,然后按照仿真实体类型以及仿真事件类型对所述排序后的仿真数据进行分类配置,按仿真时间、仿真实体类型、仿真事件类型对所述仿真数据进行归集,以使得所述仿真实体数据包括每一步仿真的仿真实体属性数据与仿真实体属性更新数据;所述仿真事件数据为对应于每一步仿真的仿真步长接收到的数据。In this embodiment, during the preset configuration of the simulation data, the simulation time corresponding to the simulation data is first obtained, and then the simulation data is sorted and configured according to the simulation time. According to the order of the simulation time, The simulation data is organized and managed, and then the sorted simulation data is classified and configured according to the simulation entity type and simulation event type, and the simulation data is collected according to the simulation time, simulation entity type, and simulation event type, so that The simulation entity data includes simulation entity attribute data and simulation entity attribute update data for each step of simulation; the simulation event data is data received corresponding to the simulation step size of each step of simulation.
本实施方式按仿真时间、仿真实体类型、仿真事件类型对所述仿真数据进行归集,归集后的仿真数据能够更好地应用进行仿真数据的回放,提高仿真数据的回放效率以及对仿真推演的还原度。This implementation method collects the simulation data according to simulation time, simulation entity type, and simulation event type. The collected simulation data can be better used for playback of simulation data, improve the playback efficiency of simulation data, and improve simulation deduction. degree of restoration.
进一步地,在一些实施方式中,所述响应于接收到仿真回放指令,确定跳转时间,从所述仿真时间点列表中读取所述跳转时间对应的目标仿真数据,包括:Further, in some implementations, in response to receiving a simulation playback instruction, determining a jump time, and reading target simulation data corresponding to the jump time from the simulation time point list includes:
响应于接收到仿真回放指令,判断是否需要跳转仿真时间;In response to receiving the simulation playback command, determine whether it is necessary to jump the simulation time;
若是,选定跳转仿真时间前的最近时间作为跳转时间;If so, select the latest time before the jump simulation time as the jump time;
清空当前仿真的实体信息;并从包含仿真数据全集的仿真时间点列表中读取所述跳转时间对应的仿真实体属性数据以及仿真事件数据。Clear the entity information of the current simulation; and read the simulation entity attribute data and simulation event data corresponding to the jump time from the simulation time point list containing the complete set of simulation data.
本实施例中,在响应于接收到仿真回放指令,确定跳转时间,从所述仿真时间点列表中读取所述跳转时间对应的目标仿真数据的过程中,当响应于接收到仿真回放指令,判断是否需要跳转仿真时间,若是,则选定跳转仿真时间前的最近时间作为跳转时间;然后清空当前仿真的实体信息,避免当前仿真的实体信息与跳转时间的仿真实体的信息产生混淆,然后从包含仿真数据全集的仿真时间点列表中读取所述跳转时间对应的仿真实体属性数据以及仿真事件数据,从而对仿真过程所产生的仿真数据进行完整回放,提高仿真数据的回放效率以及对仿真推演的还原度。In this embodiment, in the process of determining the jump time in response to receiving the simulation playback instruction, and reading the target simulation data corresponding to the jump time from the simulation time point list, when in response to receiving the simulation playback instruction Instruction to determine whether it is necessary to jump to the simulation time. If so, select the latest time before the jump simulation time as the jump time; then clear the current simulation entity information to avoid the current simulation entity information being inconsistent with the simulation entity of the jump time. The information is confused, and then the simulation entity attribute data and simulation event data corresponding to the jump time are read from the simulation time point list containing the complete set of simulation data, so as to completely play back the simulation data generated by the simulation process and improve the simulation data. The playback efficiency and the degree of restoration of simulation deduction.
进一步地,在一些实施方式中,所述响应于接收到仿真回放指令之前,还包括:Further, in some embodiments, the response before receiving the simulation playback instruction also includes:
将所述仿真时间点列表以可视化组件的形式显示在用户界面;Display the simulation time point list on the user interface in the form of a visual component;
当通过所述用户界面接收到对仿真时间点列表的拖动操作和/或跳转操作时,生成仿真回放指令。When a drag operation and/or a jump operation on the simulation time point list is received through the user interface, a simulation playback instruction is generated.
在响应于接收到仿真回放指令之前,还包括,将所述仿真时间点列表以可视化组件的形式显示在用户界面;当仿真时间点列表以可视化组件的形式显示在用户界面之后,用户不需要输入复杂的命令以控制仿真回放的进度,用户可以在所述用户界面上进行可视化地操作,从而快速地进行仿真回放的控制,具体的,当通过所述用户界面接收到对仿真时间点列表的拖动操作和/或跳转操作时,生成仿真回放指令,再响应于接收到仿真回放指令,确定跳转时间,从所述仿真时间点列表中读取所述跳转时间对应的目标仿真数据,从而提高仿真在任意时间/任意位置回放的效率。其中,所述用户界面配置为在态势显示系统上显示。Before responding to receiving the simulation playback instruction, the method further includes displaying the simulation time point list in the form of a visual component on the user interface; when the simulation time point list is displayed on the user interface in the form of a visual component, the user does not need to input Complex commands are used to control the progress of simulation playback. The user can perform visual operations on the user interface to quickly control the simulation playback. Specifically, when a drag on the simulation time point list is received through the user interface, During a moving operation and/or a jump operation, a simulation playback instruction is generated, and then in response to receiving the simulation playback instruction, the jump time is determined, and the target simulation data corresponding to the jump time is read from the simulation time point list, This improves the efficiency of simulation playback at any time/any location. Wherein, the user interface is configured to be displayed on the situation display system.
进一步的,所述用户界面还配置为调度控制其他模块的运行,包括仿真过程的启动、停止、暂停、继续、保存数据全集等,以及回放过程中的启动仿真、停止仿真、暂停、继续、跳转时间等。Further, the user interface is also configured to schedule and control the operation of other modules, including starting, stopping, pausing, continuing, saving the complete set of data, etc. in the simulation process, as well as starting the simulation, stopping the simulation, pausing, continuing, and jumping during the playback process. Turn time and so on.
本实施方式通过在态势显示系统上显示可视化的仿真时间点列表,并支持通过所述用户界面接收到对仿真时间点列表的拖动操作和/或跳转操作,快速地完成对仿真数据的回放。This implementation method quickly completes the playback of simulation data by displaying a visual simulation time point list on the situation display system and supporting receiving drag operations and/or jump operations on the simulation time point list through the user interface. .
进一步地,在一些实施方式中,所述获取仿真过程的仿真数据,包括:Further, in some implementations, the obtaining simulation data of the simulation process includes:
获取所述仿真数据的仿真系统类型;Obtain the simulation system type of the simulation data;
根据所述仿真系统类型配置通信信息;其中,Configure communication information according to the simulation system type; wherein,
当所述仿真系统类型为分布式仿真系统时,配置仿真互联中间件作为通信信息与分布式仿真系统进行通信,以获取仿真过程的仿真数据;When the simulation system type is a distributed simulation system, configure the simulation interconnection middleware to communicate with the distributed simulation system as communication information to obtain simulation data of the simulation process;
当所述仿真系统类型为单进程高效并行仿真系统时,配置线程间通信件作为通信信息与单进程高效并行仿真系统进行通信,以获取仿真过程的仿真数据。When the type of the simulation system is a single-process high-efficiency parallel simulation system, the inter-thread communication is configured as communication information to communicate with the single-process high-efficiency parallel simulation system to obtain simulation data of the simulation process.
本实施例中,在获取仿真过程的仿真数据的过程中,根据通信的仿真系统的类型配置通信方式,具体的,获取所述仿真数据的仿真系统类型;当所述仿真系统类型为分布式仿真系统时,配置仿真互联中间件作为通信信息与分布式仿真系统进行通信,以获取仿真过程的仿真数据;当所述仿真系统类型为单进程高效并行仿真系统时,配置线程间通信件作为通信信息与单进程高效并行仿真系统进行通信,以获取仿真过程的仿真数据。本实施方式通过配置不同的通信方式与仿真系统进行通信,进而提高从仿真系统获取仿真数据的效率。In this embodiment, during the process of obtaining simulation data of the simulation process, the communication mode is configured according to the type of simulation system of communication. Specifically, the simulation system type of the simulation data is obtained; when the simulation system type is distributed simulation system, configure the simulation interconnection middleware as communication information to communicate with the distributed simulation system to obtain simulation data of the simulation process; when the simulation system type is a single-process efficient parallel simulation system, configure inter-thread communication as communication information Communicate with a single-process efficient parallel simulation system to obtain simulation data of the simulation process. This implementation manner communicates with the simulation system by configuring different communication methods, thereby improving the efficiency of obtaining simulation data from the simulation system.
进一步地,所述满足预设条件,包括:Further, the meeting of preset conditions includes:
当到达预设仿真时间间隔时,确定满足所述预设条件;和/或,When the preset simulation time interval is reached, it is determined that the preset condition is met; and/or,
当接收到数据全集保存指令时,确定满足所述预设条件。When receiving the instruction to save the complete data set, it is determined that the preset condition is met.
在一些实施方式中,所述满足预设条件,包括:当到达预设仿真时间间隔时,确定满足所述预设条件;和/或,当接收到数据全集保存指令时,确定满足所述预设条件,在间隔一定仿真时间或接收到数据全集保存指令后,将仿真实体所有属性数据及当前步长内接收到的仿真事件数据进行持久化保存,具体的,对当前仿真步长内的仿真数据保存至数据库,然后判断仿真是否结束,若未结束,则设置下一步仿真时间,并继续执行接收仿真数据,若仿真结束,则表示至当前仿真时间的仿真数据均已持久化地保存至数据库,在支持回放时间任意跳转的同时,大大降低数据保存量。In some embodiments, satisfying the preset condition includes: determining that the preset condition is met when the preset simulation time interval is reached; and/or determining that the preset condition is met when receiving a complete data set saving instruction. Set the condition that after a certain simulation time interval or after receiving the complete data save instruction, all attribute data of the simulation entity and the simulation event data received within the current step will be persistently saved. Specifically, the simulation within the current simulation step will be persisted. The data is saved to the database, and then it is determined whether the simulation is over. If it is not over, the next simulation time is set and the execution continues to receive the simulation data. If the simulation is over, it means that the simulation data up to the current simulation time has been persistently saved to the database. , while supporting any jump in playback time, it greatly reduces the amount of data saved.
具体请参阅图2,图2为本实施例仿真数据的保存及访问装置基本结构示意图。Please refer to Figure 2 for details. Figure 2 is a schematic diagram of the basic structure of the device for saving and accessing simulation data in this embodiment.
如图2所示,一种仿真数据的保存及访问装置,包括:数据获取模块1100、数据配置模块1200、第一保存模块1300、第二保存模块1400和数据回放模块1500。其中,As shown in Figure 2, a device for saving and accessing simulation data includes: a data acquisition module 1100, a data configuration module 1200, a first saving module 1300, a second saving module 1400 and a data playback module 1500. in,
数据获取模块1100,用于获取仿真过程的仿真数据,所述仿真数据包括仿真实体数据以及仿真事件数据;The data acquisition module 1100 is used to acquire simulation data of the simulation process, where the simulation data includes simulation entity data and simulation event data;
数据配置模块1200,用于对所述仿真数据进行预设定配置,其中,所述仿真实体数据包括每一步仿真的仿真实体属性数据与仿真实体属性更新数据;所述仿真事件数据为对应于每一步仿真的仿真步长接收到的数据;The data configuration module 1200 is used to perform preset configuration on the simulation data, wherein the simulation entity data includes simulation entity attribute data and simulation entity attribute update data for each step of simulation; the simulation event data is corresponding to each step of simulation. The data received by the simulation step size of one-step simulation;
第一保存模块1300,用于在仿真实体属性发生更新时,将所述每一步仿真的仿真实体属性更新数据及仿真事件数据进行持久化保存;The first saving module 1300 is used to persistently save the simulation entity attribute update data and simulation event data of each step of simulation when the simulation entity attributes are updated;
第二保存模块1400,用于在满足预设条件后,将当前仿真步长的仿真实体属性数据以及接收到的仿真事件数据进行持久化保存,以生成包含仿真数据全集的仿真时间点列表,所述当前仿真步长的仿真实体属性数据为对应仿真时间的最新的仿真实体属性数据;The second saving module 1400 is used to persistently save the simulation entity attribute data of the current simulation step and the received simulation event data after the preset conditions are met, so as to generate a simulation time point list containing the complete set of simulation data. The simulation entity attribute data of the current simulation step is the latest simulation entity attribute data corresponding to the simulation time;
数据回放模块1500,用于响应于接收到仿真回放指令,确定跳转时间,从所述仿真时间点列表中读取所述跳转时间对应的目标仿真数据。The data playback module 1500 is configured to determine the jump time in response to receiving the simulation playback instruction, and read the target simulation data corresponding to the jump time from the simulation time point list.
上述的仿真数据的保存及访问装置通过获取仿真过程的仿真数据,所述仿真数据包括仿真实体数据以及仿真事件数据;对所述仿真数据进行预设定配置,其中,所述仿真实体数据包括每一步仿真的仿真实体属性数据与仿真实体属性更新数据;所述仿真事件数据为对应于每一步仿真的仿真步长接收到的数据;在仿真实体属性发生更新时,将所述每一步仿真的仿真实体属性更新数据及仿真事件数据进行持久化保存,快速地采集在仿真过程中仿真实体的增量数据,提高数据的保存效率;在满足预设条件后,将当前仿真步长的仿真实体属性数据以及接收到的仿真事件数据进行持久化保存,以生成包含仿真数据全集的仿真时间点列表,以保存仿真过程中所有实体的所有属性数据;响应于接收到仿真回放指令,确定跳转时间,从所述仿真时间点列表中读取所述跳转时间对应的目标仿真数据,能够支持从任意时间点开始,对后续进行的仿真过程中产生的仿真数据进行回放与追溯,从而支持回放进度的任意拖动与跳转,提高仿真数据的回放效率,提高仿真推演过程的数据完整性。The above-mentioned device for saving and accessing simulation data obtains simulation data of the simulation process, and the simulation data includes simulation entity data and simulation event data; performs preset configuration on the simulation data, wherein the simulation entity data includes each The simulation entity attribute data and simulation entity attribute update data of one-step simulation; the simulation event data is the data received corresponding to the simulation step length of each step of simulation; when the simulation entity attributes are updated, the simulation event data of each step of simulation is Entity attribute update data and simulation event data are persisted to quickly collect incremental data of the simulation entity during the simulation process to improve data storage efficiency; after the preset conditions are met, the simulation entity attribute data of the current simulation step is saved And the received simulation event data is persisted to generate a simulation time point list containing the complete set of simulation data to save all attribute data of all entities during the simulation process; in response to receiving the simulation playback command, the jump time is determined, starting from Reading the target simulation data corresponding to the jump time in the simulation time point list can support the playback and tracing of the simulation data generated in the subsequent simulation process starting from any time point, thereby supporting any playback progress. Drag and jump to improve the playback efficiency of simulation data and improve the data integrity of the simulation deduction process.
可选地,所述数据获取模块还用于:Optionally, the data acquisition module is also used to:
获取订阅信息,所述订阅信息包含对仿真实体、仿真事件以及仿真时间的至少一个的声明订阅;Obtain subscription information, where the subscription information includes a declared subscription to at least one of a simulation entity, a simulation event, and a simulation time;
根据所述订阅信息获取仿真过程中的仿真数据,所述仿真数据包括对应不同仿真时间的仿真实体数据以及仿真事件数据。Simulation data during the simulation process is obtained according to the subscription information, and the simulation data includes simulation entity data and simulation event data corresponding to different simulation times.
可选地,所述数据配置模块还用于:Optionally, the data configuration module is also used to:
按照仿真时间对所述仿真数据进行排序配置;Sort and configure the simulation data according to simulation time;
按照仿真实体类型以及仿真事件类型对所述排序后的仿真数据进行分类配置,以使得所述仿真实体数据包括每一步仿真的仿真实体属性数据与仿真实体属性更新数据;所述仿真事件数据为对应于每一步仿真的仿真步长接收到的数据。The sorted simulation data is classified and configured according to the simulation entity type and the simulation event type, so that the simulation entity data includes simulation entity attribute data and simulation entity attribute update data for each step of simulation; the simulation event data is corresponding The data received at the simulation step size of each simulation step.
可选地,所述数据回放模块还用于:Optionally, the data playback module is also used to:
响应于接收到仿真回放指令,判断是否需要跳转仿真时间;In response to receiving the simulation playback command, determine whether it is necessary to jump the simulation time;
若是,选定跳转仿真时间前的最近时间作为跳转时间;If so, select the latest time before the jump simulation time as the jump time;
清空当前仿真的实体信息;并从包含仿真数据全集的仿真时间点列表中读取所述跳转时间对应的仿真实体属性数据以及仿真事件数据。Clear the entity information of the current simulation; and read the simulation entity attribute data and simulation event data corresponding to the jump time from the simulation time point list containing the complete set of simulation data.
可选地,所述装置还包括指令接收模块,用于;Optionally, the device further includes an instruction receiving module, configured to;
将所述仿真时间点列表以可视化组件的形式显示在用户界面;Display the simulation time point list on the user interface in the form of a visual component;
当通过所述用户界面接收到对仿真时间点列表的拖动操作和/或跳转操作时,生成仿真回放指令。When a drag operation and/or a jump operation on the simulation time point list is received through the user interface, a simulation playback instruction is generated.
可选地,所述数据获取模块还用于;Optionally, the data acquisition module is also used to;
获取所述仿真数据的仿真系统类型;Obtain the simulation system type of the simulation data;
根据所述仿真系统类型配置通信信息;其中,Configure communication information according to the simulation system type; wherein,
当所述仿真系统类型为分布式仿真系统时,配置仿真互联中间件作为通信信息与分布式仿真系统进行通信,以获取仿真过程的仿真数据;When the simulation system type is a distributed simulation system, configure the simulation interconnection middleware to communicate with the distributed simulation system as communication information to obtain simulation data of the simulation process;
当所述仿真系统类型为单进程高效并行仿真系统时,配置线程间通信件作为通信信息与单进程高效并行仿真系统进行通信,以获取仿真过程的仿真数据。When the type of the simulation system is a single-process high-efficiency parallel simulation system, the inter-thread communication is configured as communication information to communicate with the single-process high-efficiency parallel simulation system to obtain simulation data of the simulation process.
可选地,所述满足预设条件,包括:Optionally, meeting preset conditions includes:
当到达预设仿真时间间隔时,确定满足所述预设条件;和/或,When the preset simulation time interval is reached, it is determined that the preset condition is met; and/or,
当接收到数据全集保存指令时,确定满足所述预设条件。When receiving the instruction to save the complete data set, it is determined that the preset condition is met.
为解决上述技术问题,本申请实施例还提供计算机设备。具体请参阅图3,图3为本实施例计算机设备基本结构框图。In order to solve the above technical problems, embodiments of the present application also provide computer equipment. Please refer to Figure 3 for details. Figure 3 is a basic structural block diagram of the computer equipment in this embodiment.
如图3所示,计算机设备的内部结构示意图。该计算机设备包括通过系统总线连接的处理器、非易失性存储介质、存储器和网络接口。其中,该计算机设备的非易失性存储介质存储有操作系统、数据库和计算机可读指令,数据库中可存储有控件信息序列,该计算机可读指令被处理器执行时,可使得处理器实现一种交易凭证上链法。该计算机设备的处理器用于提供计算和控制能力,支撑整个计算机设备的运行。该计算机设备的存储器中可存储有计算机可读指令,该计算机可读指令被处理器执行时,可使得处理器执行一种仿真数据保存及访问方法。该计算机设备的网络接口用于与终端连接通信。本领域技术人员可以理解,图3中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。As shown in Figure 3, a schematic diagram of the internal structure of computer equipment. The computer device includes a processor, non-volatile storage media, memory and a network interface connected by a system bus. Among them, the non-volatile storage medium of the computer device stores an operating system, a database and computer-readable instructions. The database can store a sequence of control information. When the computer-readable instructions are executed by the processor, the processor can achieve a A method of uploading transaction vouchers to the chain. The processor of the computer device is used to provide computing and control capabilities to support the operation of the entire computer device. Computer readable instructions may be stored in the memory of the computer device. When executed by the processor, the computer readable instructions may cause the processor to perform a simulation data saving and access method. The network interface of the computer device is used for communication with the terminal connection. Those skilled in the art can understand that the structure shown in Figure 3 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. The specific computer equipment can May include more or fewer parts than shown, or combine certain parts, or have a different arrangement of parts.
本实施方式中处理器用于执行图2中数据获取模块1100、数据配置模块1200、第一保存模块1300、第二保存模块1400和数据回放模块1500的具体功能,存储器存储有执行上述模块所需的程序代码和各类数据。网络接口用于向用户终端或服务器之间的数据传输。本实施方式中的存储器存储有仿真数据的保存及访问装置中执行所有子模块所需的程序代码及数据,服务器能够调用服务器的程序代码及数据执行所有子模块的功能。In this embodiment, the processor is used to execute the specific functions of the data acquisition module 1100, the data configuration module 1200, the first saving module 1300, the second saving module 1400 and the data playback module 1500 in Figure 2. The memory stores the data required to execute the above modules. Program code and various types of data. Network interfaces are used for data transmission to user terminals or between servers. The memory in this embodiment stores the program codes and data required to execute all sub-modules in the simulation data storage and access device, and the server can call the server's program codes and data to execute the functions of all sub-modules.
计算机设备通过获取仿真过程的仿真数据,所述仿真数据包括仿真实体数据以及仿真事件数据;对所述仿真数据进行预设定配置,其中,所述仿真实体数据包括每一步仿真的仿真实体属性数据与仿真实体属性更新数据;所述仿真事件数据为对应于每一步仿真的仿真步长接收到的数据;在仿真实体属性发生更新时,将所述每一步仿真的仿真实体属性更新数据及仿真事件数据进行持久化保存,快速地采集在仿真过程中仿真实体的增量数据,提高数据的保存效率;在满足预设条件后,将当前仿真步长的仿真实体属性数据以及接收到的仿真事件数据进行持久化保存,以生成包含仿真数据全集的仿真时间点列表,以保存仿真过程中所有实体的所有属性数据;响应于接收到仿真回放指令,确定跳转时间,从所述仿真时间点列表中读取所述跳转时间对应的目标仿真数据,能够支持从任意时间点开始,对后续进行的仿真过程中产生的仿真数据进行回放与追溯,从而支持回放进度的任意拖动与跳转,提高仿真数据的回放效率,提高仿真推演过程的数据完整性。The computer device obtains simulation data of the simulation process, the simulation data includes simulation entity data and simulation event data; performs preset configuration on the simulation data, wherein the simulation entity data includes simulation entity attribute data of each step of simulation and simulation entity attribute update data; the simulation event data is data received corresponding to the simulation step length of each step of simulation; when the simulation entity attributes are updated, the simulation entity attribute update data and simulation events of each step of simulation are The data is saved persistently, and the incremental data of the simulation entity during the simulation process is quickly collected to improve the data storage efficiency; after the preset conditions are met, the simulation entity attribute data of the current simulation step and the received simulation event data are saved. Perform persistent saving to generate a simulation time point list containing the complete set of simulation data to save all attribute data of all entities during the simulation process; in response to receiving the simulation playback instruction, determine the jump time, from the simulation time point list Reading the target simulation data corresponding to the jump time can support the playback and tracing of the simulation data generated in the subsequent simulation process starting from any point in time, thereby supporting arbitrary dragging and jumping of the playback progress, improving The playback efficiency of simulation data improves the data integrity of the simulation deduction process.
本申请还提供一种存储有计算机可读指令的存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行上述任一实施例仿真数据保存及访问方法的步骤。This application also provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, they cause one or more processors to execute the simulation data saving and access method of any of the above embodiments. step.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,该计算机程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,前述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. The program can be stored in a computer-readable storage medium. When executed, the process may include the processes of the above method embodiments. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM).
上述详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本申请,而不能解释为对本申请的限制。The above describes the embodiments of the present application in detail. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the drawings are exemplary and are only used to explain the present application and cannot be construed as limiting the present application.
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本申请的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。Those skilled in the art will understand that, unless expressly stated otherwise, the singular forms "a", "an", "the" and "the" used herein may also include the plural form. It should be further understood that the word "comprising" used in the description of this application refers to the presence of stated features, integers, steps, operations, elements and/or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components and/or groups thereof.
本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本申请所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as commonly understood by one of ordinary skill in the art to which this application belongs. It should also be understood that terms, such as those defined in general dictionaries, are to be understood to have meanings consistent with their meaning in the context of the prior art, and are not to be used in an idealistic or overly descriptive manner unless specifically defined as here. to explain the formal meaning.
本技术领域技术人员可以理解,这里所使用的“终端”既包括无线信号接收器的设备,其仅具备无发射能力的无线信号接收器的设备,又包括接收和发射硬件的设备,其具有能够在双向通信链路上,执行双向通信的接收和发射硬件的设备。这种设备可以包括:蜂窝或其他通信设备,其具有单线路显示器或多线路显示器或没有多线路显示器的蜂窝或其他通信设备;PCS(Personal Communications Service,个人通信系统),其可以组合语音、数据处理、传真和/或数据通信能力;PDA(Personal Digital Assistant,个人数字助理),其可以包括射频接收器、寻呼机、互联网/内联网访问、网络浏览器、记事本、日历和/或GPS(Global Positioning System,全球定位系统)接收器;常规膝上型和/或掌上型计算机或其他设备,其具有和/或包括射频接收器的常规膝上型和/或掌上型计算机或其他设备。这里所使用的“终端”可以是便携式、可运输、安装在交通工具(航空、海运和/或陆地)中的,或者适合于和/或配置为在本地运行,和/或以分布形式,运行在地球和/或空间的任何其他位置运行。这里所使用的“终端”还可以是通信终端、上网终端、音乐/视频播放终端,例如可以是PDA、MID(Mobile Internet Device,移动互联网设备)和/或具有音乐/视频播放功能的移动电话,也可以是智能电视、机顶盒等设备。Those skilled in the art can understand that the "terminal" used here includes both a wireless signal receiver device that only has a wireless signal receiver without a transmission capability, and a device that has receiving and transmitting hardware that can A device that performs receiving and transmitting hardware for bidirectional communications on a bidirectional communications link. Such equipment may include: cellular or other communication equipment with a single line display or a multi-line display or a cellular or other communication equipment without a multi-line display; PCS (Personal Communications Service, personal communication system), which can combine voice, data Processing, faxing and/or data communication capabilities; PDA (Personal Digital Assistant), which may include RF receiver, pager, Internet/Intranet access, web browser, notepad, calendar and/or GPS (Global Positioning System (Global Positioning System) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "terminal" may be portable, transportable, installed in a vehicle (air, maritime and/or land), or adapted and/or configured to operate locally, and/or in a distributed form. Operating anywhere on Earth and/or space. The "terminal" used here can also be a communication terminal, an Internet terminal, a music/video playing terminal, for example, it can be a PDA, MID (Mobile Internet Device, mobile Internet device) and/or a mobile phone with music/video playing function, It can also be a smart TV, set-top box and other devices.
本申请所称的“服务器”、“客户端”、“服务节点”等名称所指向的硬件,本质上是具备个人计算机等效能力的电子设备,为具有中央处理器(包括运算器和控制器)、存储器、输入设备以及输出设备等冯诺依曼原理所揭示的必要构件的硬件装置,计算机程序存储于其存储器中,中央处理器将存储在外存中的程序调入内存中运行,执行程序中的指令,与输入输出设备交互,借此完成特定的功能。The hardware referred to by names such as "server", "client" and "service node" in this application are essentially electronic devices with equivalent capabilities to personal computers, and are equipped with central processing units (including calculators and controllers). ), memory, input devices and output devices and other necessary components disclosed by the von Neumann principle. The computer program is stored in its memory. The central processor transfers the program stored in the external memory into the memory to run and execute the program. The instructions in it interact with input and output devices to complete specific functions.
需要指出的是,本申请所称的“服务器”这一概念,同理也可扩展到适用于服务器机群的情况。依据本领域技术人员所理解的网络部署原理,所述各服务器应是逻辑上的划分,在物理空间上,这些服务器既可以是互相独立但可通过接口调用的,也可以是集成到一台物理计算机或一套计算机机群的。本领域技术人员应当理解这一变通,而不应以此约束本申请的网络部署方式的实施方式。It should be pointed out that the concept of "server" in this application can also be extended to the situation of server cluster. According to the network deployment principles understood by those skilled in the art, the servers should be logically divided. In physical space, these servers can be independent of each other but can be called through interfaces, or they can be integrated into a physical server. of a computer or a cluster of computers. Those skilled in the art should understand this modification, but it should not limit the implementation of the network deployment method of the present application.
本申请的一个或数个技术特征,除非明文指定,既可部署于服务器实施而由客户端远程调用获取服务器提供的在线服务接口来实施访问,也可直接部署并运行于客户端来实施访问。Unless expressly specified, one or several technical features of this application can either be deployed on the server for implementation and the client remotely calls to obtain the online service interface provided by the server to implement access, or can be directly deployed and run on the client to implement access.
本申请所涉及的各种数据,除非明文指定,既可远程存储于服务器,也可存储于本地终端设备,只要其适于被本申请的技术方案所调用即可。Various data involved in this application, unless expressly specified, can be stored remotely in a server or in a local terminal device, as long as they are suitable for being called by the technical solution of this application.
本领域技术人员对此应当知晓:本申请的各种方法,虽然基于相同的概念而进行描述而使其彼此间呈现共通性,但是,除非特别说明,否则这些方法都是可以独立执行的。同理,对于本申请所揭示的各个实施例而言,均基于同一发明构思而提出,因此,对于相同表述的概念,以及尽管概念表述不同但仅是为了方便而适当变换的概念,应被等同理解。Those skilled in the art should know that although the various methods of the present application are described based on the same concept and are common to each other, these methods can all be executed independently unless otherwise specified. Similarly, the various embodiments disclosed in this application are all proposed based on the same inventive concept. Therefore, the same expressed concepts, as well as the concepts that are appropriately transformed for convenience only, although the conceptual expressions are different, should be regarded as equivalent. understand.
本申请即将揭示的各个实施例,除非明文指出彼此之间的相互排斥关系,否则,各个实施例所涉的相关技术特征可以交叉结合而灵活构造出新的实施例,只要这种结合不背离本申请的创造精神且可满足现有技术中的需求或解决现有技术中的某方面的不足即可。对此变通,本领域技术人员应当知晓。Unless the mutually exclusive relationship between the various embodiments to be disclosed in this application is explicitly stated, the relevant technical features involved in the various embodiments can be cross-combined to flexibly construct new embodiments, as long as such combination does not deviate from the present disclosure. The application must be creative and can meet the needs of the existing technology or solve some deficiencies in the existing technology. Those skilled in the art will be aware of modifications to this.
本技术领域技术人员可以理解,本申请中已经讨论过的各种操作、方法、流程中的步骤、措施、方案可以被交替、更改、组合或删除。进一步地,具有本申请中已经讨论过的各种操作、方法、流程中的其他步骤、措施、方案也可以被交替、更改、重排、分解、组合或删除。进一步地,现有技术中的具有与本申请中公开的各种操作、方法、流程中的步骤、措施、方案也可以被交替、更改、重排、分解、组合或删除。Those skilled in the art can understand that the steps, measures, and solutions in the various operations, methods, and processes that have been discussed in this application can be alternated, changed, combined, or deleted. Furthermore, other steps, measures, and solutions in the various operations, methods, and processes that have been discussed in this application can also be alternated, changed, rearranged, decomposed, combined, or deleted. Furthermore, the steps, measures, and solutions in the prior art with various operations, methods, and processes disclosed in this application can also be replaced, changed, rearranged, decomposed, combined, or deleted.
以上所述仅是本申请的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above are only some of the embodiments of the present application. It should be pointed out that those of ordinary skill in the technical field can also make several improvements and modifications without departing from the principles of the present application. These improvements and modifications can also be made. should be regarded as the scope of protection of this application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410097410.6A CN117609253A (en) | 2024-01-24 | 2024-01-24 | Simulation data storage and access methods, devices, computer equipment and storage media |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410097410.6A CN117609253A (en) | 2024-01-24 | 2024-01-24 | Simulation data storage and access methods, devices, computer equipment and storage media |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117609253A true CN117609253A (en) | 2024-02-27 |
Family
ID=89956547
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410097410.6A Pending CN117609253A (en) | 2024-01-24 | 2024-01-24 | Simulation data storage and access methods, devices, computer equipment and storage media |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117609253A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040210432A1 (en) * | 2002-10-25 | 2004-10-21 | Fujitsu Ten Limited | Simulation apparatus and method for storing operation information |
US20080091403A1 (en) * | 2006-10-16 | 2008-04-17 | Harrison Gregory A | Large Training System Simulation Using Dynamic Network Entities |
CN103593516A (en) * | 2013-10-30 | 2014-02-19 | 中国运载火箭技术研究院 | Combat system modeling and simulation system |
CN104866371A (en) * | 2015-05-12 | 2015-08-26 | 中国人民解放军装甲兵工程学院 | Combat modeling method and simulation system based on Agent action graphs |
US20170061038A1 (en) * | 2015-09-01 | 2017-03-02 | Autodesk, Inc. | Playback profiles for simulating construction schedules with three-dimensional (3d) models |
US20180247001A1 (en) * | 2015-09-06 | 2018-08-30 | China Electric Power Research Institute Company Limited | Digital simulation system of power distribution network |
CN109951494A (en) * | 2019-03-29 | 2019-06-28 | 北京润科通用技术有限公司 | Emulate data processing method, device, emulator and storage medium |
KR20210155889A (en) * | 2020-06-17 | 2021-12-24 | 주식회사 한화 | Device and method for storing and playing simulation files |
CN116933566A (en) * | 2023-09-14 | 2023-10-24 | 中核武汉核电运行技术股份有限公司 | Data recording, data playback and data analysis method based on simulation system |
CN116994473A (en) * | 2023-08-04 | 2023-11-03 | 北京华如科技股份有限公司 | Breakpoint saving method and device of combat simulation system |
-
2024
- 2024-01-24 CN CN202410097410.6A patent/CN117609253A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040210432A1 (en) * | 2002-10-25 | 2004-10-21 | Fujitsu Ten Limited | Simulation apparatus and method for storing operation information |
US20080091403A1 (en) * | 2006-10-16 | 2008-04-17 | Harrison Gregory A | Large Training System Simulation Using Dynamic Network Entities |
CN103593516A (en) * | 2013-10-30 | 2014-02-19 | 中国运载火箭技术研究院 | Combat system modeling and simulation system |
CN104866371A (en) * | 2015-05-12 | 2015-08-26 | 中国人民解放军装甲兵工程学院 | Combat modeling method and simulation system based on Agent action graphs |
US20170061038A1 (en) * | 2015-09-01 | 2017-03-02 | Autodesk, Inc. | Playback profiles for simulating construction schedules with three-dimensional (3d) models |
US20180247001A1 (en) * | 2015-09-06 | 2018-08-30 | China Electric Power Research Institute Company Limited | Digital simulation system of power distribution network |
CN109951494A (en) * | 2019-03-29 | 2019-06-28 | 北京润科通用技术有限公司 | Emulate data processing method, device, emulator and storage medium |
KR20210155889A (en) * | 2020-06-17 | 2021-12-24 | 주식회사 한화 | Device and method for storing and playing simulation files |
CN116994473A (en) * | 2023-08-04 | 2023-11-03 | 北京华如科技股份有限公司 | Breakpoint saving method and device of combat simulation system |
CN116933566A (en) * | 2023-09-14 | 2023-10-24 | 中核武汉核电运行技术股份有限公司 | Data recording, data playback and data analysis method based on simulation system |
Non-Patent Citations (1)
Title |
---|
石书浩等: "模拟演练态势回放系统的设计与实现", 《计算机工程与设计》, 31 March 2012 (2012-03-31), pages 1079 - 1084 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9098858B2 (en) | Visualizing expressions for dynamic analytics | |
WO2022088082A1 (en) | Task processing method, apparatus and device based on defect detection, and storage medium | |
CN109375912B (en) | Model serialization method, device and storage medium | |
CN112182359A (en) | Feature management method and system of recommendation model | |
CN107315833A (en) | Method and apparatus of the retrieval with downloading based on application program | |
CN111311014B (en) | Service data processing method, device, computer equipment and storage medium | |
CN117609253A (en) | Simulation data storage and access methods, devices, computer equipment and storage media | |
CN115129460A (en) | Method and device for acquiring operator hardware time, computer equipment and storage medium | |
CN116149778B (en) | Interface display method, terminal device and storage medium | |
CN118227595A (en) | Data classification and storage method and device based on edge empowerment | |
CN109597482B (en) | Automatic page turning method and device for electronic book, medium and electronic equipment | |
CN112884189A (en) | Order quantity prediction model training method, device and equipment | |
CN113742197B (en) | Model management device, method, data management device, method and system | |
CN116149978A (en) | Service interface testing method and device, electronic equipment and storage medium | |
CN114066098A (en) | Method and device for estimating completion duration of learning task | |
CN113342614A (en) | User breakpoint management method, device, equipment and computer program product | |
CN111814229A (en) | BIM-based factory processing management method, device, equipment and medium | |
CN112311842A (en) | Method and device for information interaction | |
CN116757461B (en) | Update power grid infrastructure business node information display methods, devices, equipment and media | |
CN113177174B (en) | Feature construction method, content display method and related device | |
CN114969042B (en) | Table service management method, system, device, and electronic device based on data lake | |
CN114722126A (en) | Hierarchical data verification method and its device, equipment and medium | |
CN115309622A (en) | Software testing method, device, equipment and storage medium based on probability model | |
CN115471270A (en) | Advertisement engine processing system and method | |
CN119513106A (en) | Data table structure, processing method and device for recording product characteristic information |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20240227 |
|
RJ01 | Rejection of invention patent application after publication |