Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method for automatic generation of framework code of virtual test distributed object model

An object model and virtual experiment technology, applied in the field of virtual experiment, can solve the problems of lack of object model framework code automatic generation technology research, difficulty in sharing and reusing experiment resources, low application efficiency and reliability, etc., to improve application development efficiency. , to achieve full utilization and improve the effect of reliability

Active Publication Date: 2016-06-01
CHINA ACAD OF LAUNCH VEHICLE TECH
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the existing distributed virtual test architecture, such as HLA (high level architecture), DIS (Distributed Interactive Simulation), etc., only stipulates test simulation rules, object model templates and test simulation member interface specifications, and lacks automatic generation technology for object model framework codes. Research
Therefore, the object model of the distributed virtual test requires application developers to manually write codes, the application efficiency and reliability are not high, and because the model lacks a unified description, it brings difficulties to the sharing and reuse of test resources

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method for automatic generation of framework code of virtual test distributed object model
  • A method for automatic generation of framework code of virtual test distributed object model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Specific embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0023] Such as figure 1 As shown, the present invention provides a method for automatically generating frame codes of a virtual test distributed object model, and the implementation steps are as follows:

[0024] (1) Define a description language for the virtual test distributed object model;

[0025] The present invention adopts the following definition mode: as figure 2 Shown is the metamodel description diagram of the virtual test distributed object description language, which describes the state distribution object (Class), message object (Message), local object (LocalClass), vector (Vector), interface ( Interface), enumeration (Enumeration), state distribution object pointer (ClassPointer), basic type (FundamentalType), and the inheritance, composition, and aggregation relationships among them.

[0026] The state distribution ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A frame code automatic generating method of a virtual test distributed type object model is used for finishing conversion of the object model from descriptive language text to frame codes of standard C++ syntax format. The method includes defining a descriptive language of the virtual test distributed type object model, conducting lexical analysis and grammatical analysis on text files of the virtual test distributed type object model and described by the language, building a mapping relation between the descriptive language and interface definition language (IFL), calling an IDL complier to generate the corresponding frame codes of the virtual test distributed type object model, building a distributed type object model template and utilizing label substitution to generate codes of the virtual test distributed type object model. The virtual test distributed type object descriptive language achieves standardized description of a virtual test distributed type object, and is favorable for reusing and combination of test resources. The frame code automatic generating method of the virtual test distributed type object model reduces working amount of developers and improves reliability and efficiency of application development.

Description

technical field [0001] The invention relates to a method for automatically generating frame codes of a virtual test distributed object model, belonging to the technical field of virtual tests. Background technique [0002] At present, due to the characteristics of multi-model, multi-node, wide distribution, and heterogeneity in virtual experiments, a distributed architecture is often used among each experimental node. How to construct distributed object models efficiently and reliably, and realize the reusability and composability of the models has become a major research direction in the field of virtual experiments. [0003] However, the existing distributed virtual test architecture, such as HLA (high level architecture), DIS (Distributed Interactive Simulation), etc., only stipulates test simulation rules, object model templates and test simulation member interface specifications, and lacks automatic generation technology for object model framework codes. Research. The...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/45
Inventor 蔡斐华廖建彭健王国庆贾长伟赵雯
Owner CHINA ACAD OF LAUNCH VEHICLE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products