CN112905462A - Method and device for processing data in simulation - Google Patents

Method and device for processing data in simulation Download PDF

Info

Publication number
CN112905462A
CN112905462A CN202110177297.9A CN202110177297A CN112905462A CN 112905462 A CN112905462 A CN 112905462A CN 202110177297 A CN202110177297 A CN 202110177297A CN 112905462 A CN112905462 A CN 112905462A
Authority
CN
China
Prior art keywords
data
simulation
text data
target text
module
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
Application number
CN202110177297.9A
Other languages
Chinese (zh)
Inventor
李洋
成超乾
焦宗夏
刘晓超
齐鹏远
尚耀星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beihang University
Ningbo Institute of Innovation of Beihang University
Original Assignee
Beihang University
Ningbo Institute of Innovation of Beihang University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beihang University, Ningbo Institute of Innovation of Beihang University filed Critical Beihang University
Priority to CN202110177297.9A priority Critical patent/CN112905462A/en
Publication of CN112905462A publication Critical patent/CN112905462A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis

Abstract

The invention discloses a method and a device for processing data in simulation, wherein the method comprises the following steps: reading simulation data generated by simulation software in a simulation process; acquiring text data input by a user aiming at the simulation process; merging the simulation data and the text data according to the time axis of the simulation process to form a data packet; storing the data packet formed after merging; and decoding the stored data packet to obtain the simulation data and the text data which correspond to each other on a time axis. The invention can completely record the simulation process by adding the text data input by the user to the simulation data in the simulation process, including the thought idea and the optimization process of engineering technicians, and has the advantages of small data volume, limited occupied computer resources and feasibility of implementation.

Description

Method and device for processing data in simulation
Technical Field
The present invention relates to the field of simulation technologies, and in particular, to a method and an apparatus for processing data in simulation.
Background
With the development of science and technology and the improvement of computer performance, simulation analysis is widely applied to engineering, and many engineering problems are as follows: structural damage and failure, three-dimensional motion analysis of multiple physical fields and the like can be solved more quickly through computer simulation and displayed in a graphical method, and engineering technicians can conveniently analyze and optimize results.
At present, many simulation analysis software exists at home and abroad, such as Matlab, Ansys, Abaqus, Amesim, Solidworks and the like. In the general engineering simulation process, special software is used for system modeling and simulation, so that simulation data has specificity, even is encrypted manually, so that the data can only be read, written, saved as well as reproduced by one or a few software, and the relative data independence between different software and different engineering projects is formed. On the other hand, in the simulation process of the actual engineering, the simulation parameters are generally adjusted for multiple times, and the process of trial-error and optimization is continuously performed, for example, the simulation result of a certain engineering is required to be reused in another project, but because the trial-error and optimization process of the simulation process is not recorded and the engineering technicians perform adjustment and replacement, the simulation result cannot be reproduced, the simulation result cannot be reused, the construction period is delayed, and even economic loss is caused.
Disclosure of Invention
To solve at least one of the above technical problems, the present disclosure provides a method and apparatus for data processing in simulation.
In a first aspect, the present invention provides a method for data processing in simulation, the method comprising:
reading simulation data generated by simulation software in a simulation process;
acquiring text data input by a user aiming at the simulation process;
and merging the simulation data and the text data according to the time axis of the simulation process to form a data packet.
Optionally, the method further comprises:
and storing the formed data packet after combination.
Optionally, the method further comprises:
and decoding the stored data packet to obtain the simulation data and the text data which correspond to each other on a time axis.
Optionally, the method further comprises: acquiring target text data input by a user, and reading simulation data corresponding to the target text data at different times in the simulation process through the target text data.
Optionally, the method further comprises: acquiring target text data input by a user, and reading simulation data corresponding to the target text data in different simulation processes through the target text data.
In a second aspect, the present invention provides an apparatus for data processing in simulation, the apparatus comprising: a data reading module, a data acquisition module and a data merging module, wherein,
the data reading module is used for reading simulation data generated by simulation software in a simulation process;
the data acquisition module is used for acquiring text data input by a user aiming at the simulation process;
and the data merging module is used for merging the simulation data and the text data according to the time axis of the simulation process to form a data packet.
Optionally, the apparatus further comprises: and the data storage module is used for storing the data packet formed by the data merging module.
Optionally, the apparatus further comprises: and the data reproduction module is used for decoding the data packet stored by the data storage module to obtain the simulation data and the text data which are mutually corresponding on a time axis.
Optionally, the apparatus further comprises: the data matching module is used for acquiring target text data input by a user and reading simulation data corresponding to the target text data at different times in the simulation process through the target text data; and/or acquiring target text data input by a user, and reading simulation data corresponding to the target text data in different simulation processes through the target text data.
In a third aspect, the present invention provides a readable storage medium having executable instructions thereon which, when executed, cause a computer to perform the method as comprised in the first aspect.
In a fourth aspect, the present invention provides a computing device comprising: one or more processors, memory, and programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors to perform the method as comprised in the first aspect.
Compared with the prior art, the invention has at least the following beneficial effects:
the invention can completely record the simulation process by adding the text data input by the user to the simulation data in the simulation process, including the thought idea and the optimization process of engineering technicians, and has the advantages of small data volume, limited occupied computer resources and feasibility of implementation.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIGS. 1-5 are schematic diagrams illustrating a flow chart of a method for data processing in simulation according to an embodiment of the present invention;
fig. 6-8 are block diagrams of the apparatus for data processing in simulation according to the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a method for data processing in simulation, where the method includes:
reading simulation data generated by simulation software in a simulation process;
acquiring text data input by a user aiming at the simulation process;
and merging the simulation data and the text data according to the time axis of the simulation process to form a data packet.
In the embodiment, the text data input by the user in real time is added on the basis of the simulation data, and the added text data is set to be synchronous with the simulation time according to actual needs. In the simulation process, the text data input by the user is added to the simulation data, so that the simulation process can be completely recorded, including thought ideas and optimization processes of engineering technicians, and the computer resources occupied by the small data volume are limited, so that the method has the feasibility of implementation.
It should be noted that the simulation data may include all data involved in the simulation process, such as simulation parameters and simulation results, and the text data may be any form of data input by the user, such as words, diagrams, videos, and the like.
As shown in fig. 2, the present invention provides a method for data processing in simulation, the method comprising:
reading simulation data generated by simulation software in a simulation process;
acquiring text data input by a user aiming at the simulation process;
merging the simulation data and the text data according to the time axis of the simulation process to form a data packet;
acquiring target text data input by a user, and reading simulation data corresponding to the target text data at different times in the simulation process through the target text data.
In the embodiment, target text data input by a user is received, whether the target text data exists in the text data input by the user in the simulation process is inquired, and if the target text data exists, simulation data corresponding to the target text data and time are acquired, so that the reproduction of specific data is realized. And, it is possible to perform a query through the stored data packet and to obtain simulation data corresponding to the target text data on the time axis.
As shown in fig. 3, the present invention provides a method for data processing in simulation, the method comprising:
reading simulation data generated by simulation software in a simulation process;
acquiring text data input by a user aiming at the simulation process;
merging the simulation data and the text data according to the time axis of the simulation process to form a data packet;
acquiring target text data input by a user, and reading simulation data corresponding to the target text data in different simulation processes through the target text data.
In the embodiment, different simulation processes can be connected through text data, multidimensional simulation data and results can be compared, formats of simulation data can be different among different simulation software, the simulation data can be compared through data format conversion, information sharing and cooperation among multiple persons, groups, departments and projects can be realized through the text data, the simulation data, charts, reports and the like can be more scientifically managed, stored and reproduced through the method, and the problems that paper reports are too thick and are difficult to manage and refer are solved.
It should be noted that, in order to facilitate query and reproduction of data, text data may be queried and reproduced through keywords, or text data may be added with an identifier, and query is performed on text data according to the identifier of the text data, different simulation processes and simulation data are connected, and comparison between multiple simulation processes and data is performed.
As shown in fig. 4 to 5, an embodiment of the present invention provides a method for data processing in simulation, where the method includes:
reading simulation data generated by simulation software in a simulation process;
acquiring text data input by a user aiming at the simulation process;
merging the simulation data and the text data according to the time axis of the simulation process to form a data packet;
storing the combined formed data packet;
and decoding the stored data packet to obtain the simulation data and the text data which correspond to each other on a time axis.
In the embodiment, text data is added in the simulation process, and a user can record the simulation process by adding the text data through the real-time/key nodes in the process of operating and setting the simulation software, and then store, read and reproduce the text data and the simulation data.
In the existing simulation process, different simulation steps and projects of the same software need to be stored separately and independently, data links do not exist between different simulation projects and between different simulation software, and the functions of reading, writing, copying, storing additionally and the like are not available at the same time. In addition, the method provided by the invention also endows the engineering technicians with a function of inserting real-time or node text data in the simulation process, and realizes the storage and reproduction of the whole simulation process through the functions of real-time or node information, such as read-write, additional storage and the like.
As shown in fig. 6, the present invention provides an apparatus for data processing in simulation, the apparatus comprising: a data reading module, a data acquisition module and a data merging module, wherein,
the data reading module is used for reading simulation data generated by simulation software in a simulation process;
the data acquisition module is used for acquiring text data input by a user aiming at the simulation process;
and the data merging module is used for merging the simulation data and the text data according to the time axis of the simulation process to form a data packet.
As shown in fig. 7, the apparatus further includes: the data storage module is used for storing the data packet formed by the data merging module;
and the data reproduction module is used for decoding the data packet stored by the data storage module to obtain the simulation data and the text data which are mutually corresponding on a time axis.
As shown in fig. 8, the present invention provides an apparatus for data processing in simulation, the apparatus further comprising: the data matching module is used for acquiring target text data input by a user and reading simulation data corresponding to the target text data at different times in the simulation process through the target text data; and/or acquiring target text data input by a user, and reading simulation data corresponding to the target text data in different simulation processes through the target text data.
Because the content of information interaction, execution process, and the like among the modules in the device is based on the same concept as the method embodiment of the present invention, specific content can be referred to the description in the method embodiment of the present invention, and is not described herein again.
It should be understood that the various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to perform the various methods of the present invention according to instructions in the program code stored in the memory.
By way of example, and not limitation, computer readable media may comprise computer storage media and communication media. Computer-readable media includes both computer storage media and communication media. Computer storage media store information such as computer readable instructions, data structures, program modules or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of computer readable media.
It should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the method of the invention should not be construed to reflect the intent: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing inventive embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules or units or components of the apparatus in the examples invented herein may be arranged in an apparatus as described in this embodiment or alternatively may be located in one or more apparatuses different from the apparatus in this example. The modules in the foregoing examples may be combined into one module or may be further divided into multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features of the invention in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so invented, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature of the invention in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
Furthermore, some of the described embodiments are described herein as a method or combination of method elements that can be performed by a processor of a computer system or by other means of performing the described functions. A processor having the necessary instructions for carrying out the method or method elements thus forms a means for carrying out the method or method elements. Further, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is used to implement the functions performed by the elements for the purpose of carrying out the invention.
As used herein, unless otherwise specified the use of the ordinal adjectives "first", "second", "third", etc., to describe a common object, merely indicate that different instances of like objects are being referred to, and are not intended to imply that the objects so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this description, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The present invention is to be considered as illustrative and not restrictive in character, with the scope of the invention being indicated by the appended claims.

Claims (10)

1. A method of data processing in a simulation, the method comprising:
reading simulation data generated by simulation software in a simulation process;
acquiring text data input by a user aiming at the simulation process;
and merging the simulation data and the text data according to the time axis of the simulation process to form a data packet.
2. The method of data processing in simulation as claimed in claim 1, wherein the method further comprises:
and storing the data packet formed after merging.
3. The method of data processing in simulation as claimed in claim 2, wherein the method further comprises:
and decoding the stored data packet to obtain the simulation data and the text data which correspond to each other on a time axis.
4. A method of data processing in a simulation according to any of claims 1-3, characterized in that the method further comprises:
acquiring target text data input by a user, and reading simulation data corresponding to the target text data at different times in the simulation process through the target text data;
and/or the presence of a gas in the gas,
acquiring target text data input by a user, and reading simulation data corresponding to the target text data in different simulation processes through the target text data.
5. An apparatus for data processing in a simulation, the apparatus comprising: a data reading module, a data acquisition module and a data merging module, wherein,
the data reading module is used for reading simulation data generated by simulation software in a simulation process;
the data acquisition module is used for acquiring text data input by a user aiming at the simulation process;
and the data merging module is used for merging the simulation data and the text data according to the time axis of the simulation process to form a data packet.
6. The apparatus for data processing in simulation as claimed in claim 5, wherein the apparatus further comprises: and the data storage module is used for storing the data packet formed by the data merging module.
7. The apparatus for data processing in simulation as claimed in claim 6, wherein the apparatus further comprises: and the data reproduction module is used for decoding the data packet stored by the data storage module to obtain the simulation data and the text data which are mutually corresponding on a time axis.
8. An apparatus for data processing in a simulation according to any of claims 5-7, characterized in that the apparatus further comprises: the data matching module is used for acquiring target text data input by a user and reading simulation data corresponding to the target text data at different times in the simulation process through the target text data; and/or the simulation data acquisition module is used for acquiring target text data input by a user and reading simulation data corresponding to the target text data in different simulation processes through the target text data.
9. A readable storage medium having executable instructions thereon that, when executed, cause a computer to perform the method as included in any one of claims 1-4.
10. A computing device, comprising: one or more processors, memory, and programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors to perform the method as recited in any of claims 1-4.
CN202110177297.9A 2021-02-07 2021-02-07 Method and device for processing data in simulation Pending CN112905462A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110177297.9A CN112905462A (en) 2021-02-07 2021-02-07 Method and device for processing data in simulation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110177297.9A CN112905462A (en) 2021-02-07 2021-02-07 Method and device for processing data in simulation

Publications (1)

Publication Number Publication Date
CN112905462A true CN112905462A (en) 2021-06-04

Family

ID=76123005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110177297.9A Pending CN112905462A (en) 2021-02-07 2021-02-07 Method and device for processing data in simulation

Country Status (1)

Country Link
CN (1) CN112905462A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377597A (en) * 2021-06-28 2021-09-10 芯华章科技股份有限公司 Simulation system and method for storing and reading simulation data

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101382968A (en) * 2008-10-17 2009-03-11 北京航空航天大学 Advanced synthesis type aviation electronic simulation system and simulation method thereof
CN101877024A (en) * 2010-05-27 2010-11-03 株洲南车时代电气股份有限公司 Graphical simulation analytical method of high-speed railway vehicular equipment
CN111008473A (en) * 2019-12-03 2020-04-14 南方电网科学研究院有限责任公司 Simulation analysis method and device for power equipment and storage medium
CN111506543A (en) * 2020-04-22 2020-08-07 北京奕为汽车科技有限公司 M file generation method and device
US20200342148A1 (en) * 2019-04-23 2020-10-29 OnScale, Inc. Systems and methods for running a simulation
CN112328544A (en) * 2020-09-18 2021-02-05 广州中望龙腾软件股份有限公司 Multidisciplinary simulation data classification method, device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101382968A (en) * 2008-10-17 2009-03-11 北京航空航天大学 Advanced synthesis type aviation electronic simulation system and simulation method thereof
CN101877024A (en) * 2010-05-27 2010-11-03 株洲南车时代电气股份有限公司 Graphical simulation analytical method of high-speed railway vehicular equipment
US20200342148A1 (en) * 2019-04-23 2020-10-29 OnScale, Inc. Systems and methods for running a simulation
CN111008473A (en) * 2019-12-03 2020-04-14 南方电网科学研究院有限责任公司 Simulation analysis method and device for power equipment and storage medium
CN111506543A (en) * 2020-04-22 2020-08-07 北京奕为汽车科技有限公司 M file generation method and device
CN112328544A (en) * 2020-09-18 2021-02-05 广州中望龙腾软件股份有限公司 Multidisciplinary simulation data classification method, device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377597A (en) * 2021-06-28 2021-09-10 芯华章科技股份有限公司 Simulation system and method for storing and reading simulation data
CN113377597B (en) * 2021-06-28 2022-08-23 芯华章科技股份有限公司 Simulation system and method for storing and reading simulation data

Similar Documents

Publication Publication Date Title
CN109254733B (en) Method, device and system for storing data
CN110535660A (en) A kind of evidence obtaining service system based on block chain
TWI650669B (en) Malware removal action content data management device and method
CN104246767A (en) Telemetry system for a cloud synchronization system
US9418241B2 (en) Unified platform for big data processing
US20220083917A1 (en) Distributed and federated learning using multi-layer machine learning models
CN102725753A (en) Method and apparatus for optimizing data access, method and apparatus for optimizing data storage
CN103761161A (en) Method, server and system for data recovery
US8799861B2 (en) Performance-testing a system with functional-test software and a transformation-accelerator
CN109710185A (en) Data processing method and device
CN104572781A (en) Method and device for generating transaction log
CN113672204A (en) Interface document generation method, system, electronic equipment and storage medium
US20120316927A1 (en) Computer-implemented method and apparatus for integrating heterogeneous business processes
CN104021219A (en) Method and device for generating data template
CN115858488A (en) Parallel migration method and device based on data governance and readable medium
CN113704790A (en) Abnormal log information summarizing method and computer equipment
CN111435367A (en) Knowledge graph construction method, system, equipment and storage medium
CN112905462A (en) Method and device for processing data in simulation
CN110297810A (en) A kind of stream data processing method, device and electronic equipment
Lee et al. Implementation and performance of distributed text processing system using hadoop for e-discovery cloud service
CN112965939A (en) File merging method, device and equipment
CN107544248B (en) Task optimization method and device in mobile robot
US20220214899A1 (en) Integration flow execution renew
CN110297842B (en) Data comparison method, device, terminal and storage medium
CN113282347A (en) Plug-in operation method, device, equipment and storage medium

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: 20210604

RJ01 Rejection of invention patent application after publication