CN103605556A - Virtual test subject integrally-constructing system and method - Google Patents

Virtual test subject integrally-constructing system and method Download PDF

Info

Publication number
CN103605556A
CN103605556A CN201310503663.0A CN201310503663A CN103605556A CN 103605556 A CN103605556 A CN 103605556A CN 201310503663 A CN201310503663 A CN 201310503663A CN 103605556 A CN103605556 A CN 103605556A
Authority
CN
China
Prior art keywords
virtual test
vdl
test object
module
virtual
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
CN201310503663.0A
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.)
China Academy of Launch Vehicle Technology CALT
Original Assignee
China Academy of Launch Vehicle Technology CALT
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 China Academy of Launch Vehicle Technology CALT filed Critical China Academy of Launch Vehicle Technology CALT
Priority to CN201310503663.0A priority Critical patent/CN103605556A/en
Publication of CN103605556A publication Critical patent/CN103605556A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

Disclosed is a virtual test subject integrally-constructing system and method. The system comprises a VDL (Vienna definition language) text editor, a UML (unified modeling language) visualization description module, a virtual test subject developing module and a virtual test subject testing module. All the modules are based on an Eclipse core framework and developed in a plug-in mode. The virtual test subject integrally-constructing system and method enables virtual test subjects to be reusable and improves the construction efficiency of a virtual test application system.

Description

The integrated constructing system of virtual test object and method
Technical field
The present invention relates to a kind of virtual test object constructing system and method, belong to virtual experiment technology field.
Background technology
Along with politics, the restriction of economic dispatch factor and the needs of military developments, in national defense industry field, carry out virtual test most important.Virtual test is to utilize microcomputer modelling emulation technology in conjunction with measuring technology, the communication technology and computer networking technology, for performance test, the technical indicator of weaponry are examined, a kind of test new technology of synthetic effectiveness evaluation exploitation.Virtual test has the features such as multi-model, multinode, wide distribution, isomerism, the distributed structure/architecture that adopt between each test node more.Build how efficiently, reliably virtual test object, and realize a reusable and large research direction that becomes virtual test field capable of being combined of subjects.
The distributed virtual test system framework HLA(High Level Architecture that U.S. Department of Defense proposes, High Level Architecture) and TENA(Test and Training ENable Architecture) stipulated the description standard of virtual test object, but the exploitation of research object, test, assembly are not created on the constructing system of one.Therefore, development of virtual subjects need to application personnel be described with text instrument, manually call compiler generating virtual subjects assembly, writing test code tests subjects, the process of virtual test object exploitation is directly perceived not, the reliability of virtual test object can not be guaranteed, and brings difficulty to reusing of virtual test object, and the development efficiency of virtual test application system is not high.
At present, virtual test object technology has been launched to some researchs both at home and abroad, " under the Distributed Simulation environment virtual test object modeling technique research and application " delivered as < < computer measurement and control > > the 20th volume o. 11th studied the definition of formalized description and the concrete element of virtual test object, not development test object constructing system and method.Patent CN201210429079.0 " a kind of virtual test Distributed Object Model automatic skeleton code generation method " has studied the generation method of distributed virtual subjects skeleton code, lack the parts such as virtual test object factory, the test of virtual test object, the generation of virtual test subject component, do not form a whole set of virtual test object constructing system and method.
Summary of the invention
The technology of the present invention is dealt with problems: overcome the deficiencies in the prior art, propose the integrated constructing system of virtual test object and method, make virtual test object reusable, improve virtual test application system and build efficiency.
The technology of the present invention solution is as follows: the integrated constructing system of virtual test object is mainly divided into VDL text editor, UML visual description, the exploitation of virtual test object, four modules of virtual test object test.Each module be take Eclipse core frame as basis, with the form exploitation of plug-in unit.VDL text editor generates VDL text, UML visual description module generates UML formatted file, VDL text editor and UML visual modeling module integration, in same multipage editing machine, switch different pages, complete conversion in real time between VDL file and UML file.Dummy experiment system modeling personnel describe virtual test object interface by VDL text editor and UML visual description module according to architecture description document, form VDL file.Virtual test object development module be take VDL file as input, generating virtual subjects skeleton code, and virtual test object developer writes virtual test object logics on skeleton code basis, generates the virtual test subject component of binary mode.Virtual test object test module generates test code, and log code, the while can be checked the interface of virtual test object, is convenient to virtual test object developer and writes test logic, the virtual test subject component generating is tested, guarantee correctness and the reliability of virtual test object.
VDL text editing mould device, is responsible for VDL file to edit, and comprises the IO operation of VDL file, the functional modules such as highlighted, the real-time grammer detection of grammer, automatic-prompting and supplementary and content formatting.The IO operating function of VDL file realizes by editor's class of Eclipse framework.The highlighted module of grammer is carried out the scanning of morphology grammer to VDL file, and word is cut apart, and obtains Token, according to the attribute of Token object, by difference, shows different colours.Grammer detection module, when developer edits VDL file, carries out grammer detection in real time, if find mistake, in wrong position, identifies, and demonstrates warning or error flag.Automatic-prompting and complementary module, the partial information of having inputted according to developer, obtains the Token of last key entry, carries out string matching in the Keyword List prestoring, eject the character string list box of coupling and select for user, complete keyword and import automatically supplementing of file.Content formatting module, according to specific rule to VDL document again typesetting, make its readability better, show more attractive in appearance.
Visual description module, supports uml diagram picture mode to describe, and can complete in the mode pulling the description of virtual test object, generates uml class figure and two kinds of forms of VDL file, and can support the real-time synchronization of two kinds of forms.This module realizes by integrated MagicDraw plug-in unit, is divided into pel definition and two submodules of UML modeling.Pel definition submodule adds the element defining in VDL in uml diagram unit to, and the interpolation of pel realizes by revising the configuration file of MagicDraw, the element in VDL and UML internal type (Meta Class) is carried out corresponding, and adds new element.UML modeling submodule, realizes by the drawing area of MagicDraw being integrated in the class figure page of VDL editing machine.The mutual conversion of uml class figure and VDL file realizes by method and the VDL scanner of MagicDraw.
Virtual test object development module, using VDL file as input, calling VDL compiler compiles VDL, generating virtual subjects skeleton code, virtual test object developer adds the logic that realizes of virtual test object on the basis of skeleton code, the final scale-of-two virtual test subject component that generates, this module is divided into virtual test object-oriented framework code and generates submodule, and location of mistake submodule and virtual test subject component generate submodule.Virtual test object-oriented framework code generates submodule, being responsible for calling VDL compiler compiles VDL, generating virtual subjects skeleton code, adopts the CDT plug-in unit of Eclipse to manage the code generating, and output information is redirected to Java standard output stream.Location of mistake submodule, is responsible for processing the mistake occurring in compilation process, and accurately navigates to the mistake place of VDL file.Virtual test subject component generates submodule, is responsible for the virtual test object code editting, and calls C++ compiler and is compiled into binary virtual test subject component.
Virtual test object test module, the virtual test subject component mainly completing generating is carried out testing authentication, be divided into the submodules such as test code generates automatically, log code generates, virtual test subject component interface is checked, guarantee correctness and the reliability of virtual test object.Test code generates submodule automatically, and whether correctly effectively the test code of generating virtual subjects framework, test virtual test object functionality automatically.Log code generates submodule and in virtual test object-oriented framework code, adds the log code of automatic generation, records the running status of virtual test object.The virtual test subject component of having tested is for virtual test application system.
Virtual test application system designer uses the VDL text editor of native system or UML visual modeling module to carry out virtual test object factory, generate VDL file, virtual test object-oriented framework code generation module compiles VDL text, generating virtual subjects skeleton code; Virtual test object developer is on the basis of virtual test object-oriented framework code, write virtual test object logics code, virtual test object is realized, virtual test subject component generation module compiles virtual test object code, generate binary virtual test subject component, virtual test object developer uses virtual test object test module to test virtual test subject component, for virtual test application system.
The present invention's beneficial effect compared with prior art:
(1) the present invention has formed a set of complete virtual test constructing system and method, collection virtual test object factory, code generate automatically, virtual test object is tested, virtual test subject component is created on one, for virtual test object provides integrated constructing environment, realize the reusable of virtual test object, improve virtual test application system and build efficiency.
(2) skeleton code of the automatic generating virtual subjects of the present invention and virtual test object test code, reduced artificial code development quantity, shortens the construction cycle of virtual test application system.
(3) the real-time grammer of virtual test object text editor of the present invention support detects, and finds in advance mistake, improves the reliability of virtual test object.
(4) the present invention is based on increase income, open Eclipse Platform Designing, functional module all adopts plug-in type exploitation, system is with good expansibility.
Accompanying drawing explanation
Fig. 1 is that system of the present invention forms structured flowchart;
Fig. 2 is the highlighted realization flow figure of grammer of the present invention;
Fig. 3 is automatic-prompting of the present invention and supplementary realization flow figure;
Fig. 4 is location of mistake process flow diagram of the present invention;
Fig. 5 is that virtual test subject component interface of the present invention is checked process flow diagram;
Fig. 6 is use process flow diagram of the present invention.
Embodiment
Before the narration specific embodiment of the invention, the technical term that the present invention is used describes:
VDL(Virtual test Definition Language, virtual test Object Defination Language) defined virtual test object element and between relation.MagicDraw is UML modeling and the Objectoriented System Design analysis tool based on Java exploitation.JavaCC is the morphology grammer maker based on Java exploitation, utilizes the compiler that JavaCC can rapid build newspeak.CDT is a eclipse plug-in unit, and for develop C/C++ program at eclipse, user can compile, develop, debugs, issues C/C++ program in CDT, in the present invention, selects CDT plug-in management C++ engineering.Cl.exe, the C/C++ compiler that Microsoft provides, can become C++ program compilation different files according to different compile options, as executable file, dynamic link library (DLL) file etc.
As shown in Figure 1, native system is mainly divided into VDL text editor, UML visual description, the exploitation of virtual test object, four modules of virtual test object test.Each module be take Eclipse core frame as basis, with the form exploitation of plug-in unit.VDL text editor generates VDL text, UML visual modeling generates UML formatted file, VDL text editor and UML visual modeling module integration, in same multipage editing machine, switch different pages, complete conversion in real time between VDL file and UML file.Virtual test object development module be take VDL file as input, generating virtual subjects skeleton code, and virtual test object developer writes virtual test object logics on skeleton code basis, generates the virtual test subject component of binary mode.Virtual test object test module generates test code, and log code, the while can be checked the interface of virtual test object, is convenient to virtual test object developer and writes test logic, the virtual test subject component generating is tested, guarantee correctness and the reliability of virtual test object.
VDL text editing mould device, is responsible for VDL file to edit, and comprises the IO operation of VDL file, the functional modules such as highlighted, the real-time grammer detection of grammer, automatic-prompting and supplementary and content formatting.The IO operating function of VDL file realizes by the XtextEditor class in the org.eclipse.xtext.ui.editor bag of Eclipse framework.
The highlighted implementation procedure of grammer as shown in Figure 2, when opening VDL document, VDL editing machine can carry out the scanning of morphology grammer to VDL text according to the VDL scanner of definition, VDL scanner application JavaCC realizes, then cut apart, processing obtains the text block of the non-overlapping copies of various different content types, and is stored in IDocument class.In VDL scanner, defined a plurality of scanning rules, scanning rule generates according to VDL syntax rule.When showing VDL document, editing machine calls the evaluate method of scanner, returns to IToken object, then according to the attribute of this IToken object, by different colors, show its content, as key word arranges its Show Color for blue, character string display is green, and identifier is shown as black.
Grammer detection module is verified VDL document according to syntax rule in real time, demonstrates warning and wrong tick marks and points out virtual test object developer.When editor VDL file, VDL scanner is cut apart VDL file according to language rule, if the grammar mistake of finding that there is, call error disposal route identifies in wrong position, demonstrates warning or error flag.
Automatic-prompting and complementary module, complete ensuing input content automatically according to the partial information of having inputted, and mainly completes the prompting of two kinds of contents: a kind of is the quick prompting of key word and automatically supplementary, and a kind of is the selection that VDL imports file.Its implementation procedure as shown in Figure 3, this module is monitored the variation of VDL text by content assisted class, when listening to VDL content of text and change, first content assisted class obtains the Token of last key entry, in the Keyword List prestoring, carry out string matching, ejecting the character string list box of coupling selects for user, user selects the key word needing, this key word of content assisted class completion, when the character string that coupling detected is during for " import ", read VDL storehouse (catalogue) listed files, VDL files all in storehouse is listed, user selects the VDL file that will import, completion import imports.
Content formatting module, according to specific rule to VDL document again typesetting, make its readability better, show more attractive in appearance.This module definition various formats strategies, indentation strategy has tab (Tab) strategy and space (Space) strategy, acquiescence is used tab strategy, line feed strategy acquiescence is used the line feed strategy of compact schemes, while defining class, brace, always immediately following class name, is not done line feed and is processed, and these strategies will arrange in system option.The syntax tree that this module traversal grammatical analysis obtains, each element is saved in character string, arrange file according to existing format strategy in the indentation of every a line and space, finally this character string is outputed in editing machine again, realizes the format of content.
Visual modeling module, supports the modeling of uml diagram picture mode, can complete in the mode pulling the description of virtual test object, generates uml class figure and two kinds of forms of VDL file, and can support the real-time synchronization of two kinds of forms.This module realizes by integrated MagicDraw plug-in unit, is divided into pel definition and two submodules of UML modeling.Itself only supports the language such as common Java, C++, C# MagicDraw instrument, does not support virtual test Object Defination Language VDL.Pel definition submodule adds the elements such as the class defining in VDL, local class, message, exception in uml diagram unit to.The interpolation of new pel realizes by revising the profile configuration file of MagicDraw, the element in VDL and UML internal type (Meta Class) is carried out corresponding, and adds new element.UML modeling submodule, by the drawing area of MagicDraw being integrated in the class figure page of VDL editing machine, realize, the Containment window of MagicDraw will be integrated in Eclipse as a view, pull corresponding pel icon to the editing area of MagicDraw, realize the drafting of class figure.Switch different pages, when uml class figure revises, the text in VDL text editor changes in real time; During VDL file change, uml class figure changes thereupon in real time.Uml class figure is to the conversion of VDL file: the Project.getModel () method in MagicDraw first called obtains the model structure of uml class figure, then travels through this tree, and the last primitive types corresponding according to node, exports corresponding VDL code.For example, for the class Sample in uml class figure, export " class Sample{}; ".VDL file is to the conversion of uml class figure: first application scanning device carries out the scanning of morphology grammer to VDL code, obtains all elements in code, and then uses the OpenAPI picture assembly in MagicDraw to carry out the drafting of uml class figure.
Virtual test object development module, using VDL file as input, calling VDL compiler compiles VDL, generating virtual subjects skeleton code, virtual test object developer adds the logic that realizes of virtual test object on the basis of skeleton code, the final scale-of-two virtual test subject component that generates, this module is divided into virtual test object-oriented framework code and generates submodule, and location of mistake submodule and virtual test subject component generate submodule.
Virtual test object-oriented framework code generates submodule, being responsible for investigation VDL compiler compiles VDL, generating virtual subjects skeleton code, and output information is redirected to Java standard output stream, the generation method of the principle of VDL compiler and virtual test object-oriented framework code refers to patent CN201210429079.0.The present invention adopts the CDT plug-in unit of Eclipse to manage the virtual test object-oriented framework C++ code generating, and virtual test object developer adds the logical code of virtual test object on the basis of virtual test object-oriented framework code.
Location of mistake submodule, is responsible for processing the mistake occurring in compilation process, and accurately navigates to the mistake place of VDL file.The error message producing in compilation process comprises filename, line number, type of error, date etc.Fig. 4 has shown the flow process of location of mistake: in control desk, show error message; User selects error message, double-click information, and trigger extracts error message, then parse error information, the filename in information extraction, line number, then open file, navigate to row, cursor is focused to corresponding code position in editing machine and just completed error message location.
Virtual test subject component generates submodule, is responsible for the virtual test object code editting, and calls C++ compiler and is compiled into binary virtual test subject component.The present invention is made into VC projects by the virtual test object-oriented framework code-group of generation, and calls MSBuild instrument and compile.MSBuild is Microsoft's engineering the build tool based on Dot Net platform, and the solution file that this instrument can generate according to Visual Studio and item file (as C++ engineering, C# engineering etc.) call corresponding compiler and complete compiling work.MSBuild completes the compiler cl.exe that further calls Microsoft the compiling of C++ engineering, generate dynamic link library (DLL) file, the virtual test subject component dll file generating has encapsulated the algorithm of virtual test object, has good reusability, for virtual test application librarian use.
Virtual test object test module, the object virtual test subject component mainly completing generating is carried out testing authentication, be divided into the submodules such as test code generates automatically, log code generates, virtual test subject component interface is checked, guarantee correctness and the reliability of virtual test object.
Test code generates submodule automatically, mainly for object virtual test object-oriented framework, generate test code, test virtual test object business processing flow, this submodule generates a pair of test procedure, the role who plays the part of respectively subscriber and publisher, by moving mutually mutual between two programs and program, whether effectively correctly test virtual test object functionality.The test code generating is mainly tested method and attribute in the objects such as the Class in virtual test object virtual test subject component, Local Class, Message, test is mainly divided into three aspects: 1) for the test of nation method, at current process build-in test, by calling nation method, then inspection method result whether with the identical object that can reach test of expection; 2) calling of remote method, two application cooperation judgements, a test process is responsible for calling the remote method in another test process, and then the execution result that checks remote method whether with the identical object that can reach test of expection; 3) test of callback mechanism, for Class and Message, wherein Class need to change readjustment to discovery readjustment, state, destroy to adjust back and test respectively, and Message only has a readjustment.Apply two test processes and coordinate, in a process, trigger the callback mechanism of another process, the execution result that then checks readjustment whether with the identical object that can reach test of expection.
Log code generates submodule and in virtual test object-oriented framework code, adds the log code of automatic generation, records the running status of virtual test object.This module is a little recorded timestamp in entering and leaving of method.The method here mainly refers to the method defining in Class, Local Class, Message, and the callback method in Class and Message.The present invention adopts log pattern in ACE to realize.Diverse ways is exported different contents, comprises the title of timestamp, virtual test object, carries out the title of method or callback method title or the classification of virtual test object that arrive.
Virtual test subject component interface is checked submodule, is responsible for checking the virtual test subject component dll file having generated.The realization flow of this module as shown in Figure 5, import virtual test object dll and corresponding header file, concrete subjects in analytic target assembly, and store with internal data structure, then show the title (being class name) of object, the method for subjects and observability thereof (being function prototype and the observability thereof of the member function of class), the attribute of subjects and observability thereof (being title, type and the observability thereof of the member variable of class).
As shown in Figure 6, virtual test object structure flow process is as follows:
(1) pilot system modeling personnel use VDL text editor or UML visual description module to carry out virtual test object factory according to virtual test application system architecture description document, generate VDL file, the view of VDL textual description and UML visual description can switch mutually;
(2) virtual test object development module compiles VDL text, generating virtual subjects skeleton code, if find mistake, location of mistake module will position, and point out virtual test object developer;
(3) virtual test object developer, on the basis of virtual test object-oriented framework code, writes virtual test object logics code, and virtual test object is realized;
(4) virtual test subject component generation module compiles model realization code, generates binary virtual test subject component;
(5) virtual test object test module generates test code automatically, and log code generation module generates log code and records test process simultaneously, and load test subject component is tested;
(6) if tested, pinpoint the problems, can check daily record and check module orientation problem by virtual test subject component, going to (3) step modifies to the realization of subjects, iteration like this, until the exploitation of virtual test object is correct, complete the exploitation of virtual test subject component, for virtual test application system.
The content not being described in detail in instructions of the present invention belongs to those skilled in the art's known technology.

Claims (6)

1. the integrated constructing system of virtual test object, it is characterized in that comprising: VDL text editor, UML visual description module, virtual test object development module and virtual test object test module, each module be take Eclipse core frame as basis, with the form exploitation of plug-in unit; Wherein:
VDL text editor, is responsible for VDL file to edit and generate VDL text; UML visual description module generates UML formatted file, supports uml diagram picture mode to describe, and can complete in the mode pulling the description of virtual test object, generates uml class figure and two kinds of forms of VDL file, and can support the real-time synchronization of two kinds of forms; VDL text editor and UML visual modeling module integration, in same multipage editing machine, switch different pages, complete conversion in real time between VDL file and UML file; Dummy experiment system modeling personnel describe virtual test object interface by VDL text editor and UML visual description module according to architecture description document, form VDL file and deliver to virtual test object development module;
Virtual test object development module, take VDL file as input, calling VDL text compiler compiles VDL, generating virtual subjects skeleton code, virtual test object developer adds the logic that realizes of virtual test object on the basis of skeleton code, the final scale-of-two virtual test subject component that generates, delivers to virtual test object test module;
Virtual test object test module, the virtual test subject component completing generating is carried out testing authentication, generate test code, and log code, check the interface of virtual test object simultaneously, be convenient to virtual test object developer and write test logic, the virtual test subject component that virtual test object test module is generated is tested, and guarantees correctness and the reliability of virtual test object.
2. the integrated constructing system of virtual test object according to claim 1, it is characterized in that: described VDL text editor comprises the IO operational module of VDL file the highlighted module of grammer, real-time grammer detection module, automatic-prompting and complementary module, content formatting module; The IO operational module of VDL file is realized by editor's class of Eclipse framework; The highlighted module of grammer is carried out the scanning of morphology grammer to VDL file, and word is cut apart, and obtains Token, according to the attribute of Token object, by difference, shows different colours; Grammer detection module, when developer edits VDL file, carries out grammer detection in real time, if find mistake, in wrong position, identifies, and demonstrates warning or error flag; Automatic-prompting and complementary module, the partial information of having inputted according to developer, obtains the Token of last key entry, carries out string matching in the Keyword List prestoring, eject the character string list box of coupling and select for user, complete keyword and import automatically supplementing of file; Content formatting module, according to specific rule to VDL document again typesetting, make its readability better, show more attractive in appearance.
3. the integrated constructing system of virtual test object according to claim 1, is characterized in that: described UML visual description module realizes by integrated MagicDraw plug-in unit, is divided into pel definition and two submodules of UML modeling; Pel definition submodule adds the element defining in VDL in uml diagram unit to, and the interpolation of pel realizes by revising the configuration file of MagicDraw, the element in VDL and UML internal type (Meta Class) is carried out corresponding, and adds new element; UML modeling submodule, realizes by the drawing area of MagicDraw being integrated in the class figure page of VDL editing machine; The mutual conversion of uml class figure and VDL file realizes by method and the VDL scanner of MagicDraw.
4. the integrated constructing system of virtual test object according to claim 1, it is characterized in that: described virtual test object development module is divided into virtual test object-oriented framework code and generates submodule, and location of mistake submodule and virtual test subject component generate submodule.Virtual test object-oriented framework code generates submodule, being responsible for calling VDL compiler compiles VDL, generating virtual subjects skeleton code, adopts the CDT plug-in unit of Eclipse to manage the code generating, and output information is redirected to Java standard output stream; Location of mistake submodule, is responsible for processing the mistake occurring in compilation process, and accurately navigates to the mistake place of VDL file; Virtual test subject component generates submodule, is responsible for the virtual test object code editting, and calls C++ compiler and is compiled into binary virtual test subject component.
5. the integrated constructing system of virtual test object according to claim 1, is characterized in that: described virtual test object test module is divided into test code and automatically generates that submodule, log code generate submodule, virtual test subject component interface is checked submodule; Test code generates the test code of the automatic generating virtual subjects of submodule framework automatically, and whether test virtual test object functionality is effectively correct; Log code generates submodule and in virtual test object-oriented framework code, adds the log code of automatic generation, records the running status of virtual test object, and the virtual test subject component of having tested is for virtual test application system; Virtual test subject component interface is checked submodule, guarantees correctness and the reliability of virtual test object.
6. the integrated construction method of virtual test object, is characterized in that performing step is as follows:
(1) pilot system modeling personnel use VDL text editor or UML visual description module to carry out virtual test object factory according to virtual test application system architecture description document, generate VDL file, the view of VDL textual description and UML visual description can switch mutually;
(2) virtual test object development module compiles VDL text, generating virtual subjects skeleton code, if find mistake, location of mistake module will position, and point out virtual test object developer;
(3) virtual test object developer, on the basis of virtual test object-oriented framework code, writes virtual test object logics code, and virtual test object is realized;
(4) virtual test subject component generation module compiles model realization code, generates binary virtual test subject component;
(5) virtual test object test module generates test code automatically, and log code generation module generates log code and records test process simultaneously, and load test subject component is tested;
(6) if tested, pinpoint the problems, can check daily record and check module orientation problem by virtual test subject component, going to (3) step modifies to the realization of subjects, iteration like this, until the exploitation of virtual test object is correct, complete the exploitation of virtual test subject component, for virtual test application system.
CN201310503663.0A 2013-10-23 2013-10-23 Virtual test subject integrally-constructing system and method Pending CN103605556A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310503663.0A CN103605556A (en) 2013-10-23 2013-10-23 Virtual test subject integrally-constructing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310503663.0A CN103605556A (en) 2013-10-23 2013-10-23 Virtual test subject integrally-constructing system and method

Publications (1)

Publication Number Publication Date
CN103605556A true CN103605556A (en) 2014-02-26

Family

ID=50123785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310503663.0A Pending CN103605556A (en) 2013-10-23 2013-10-23 Virtual test subject integrally-constructing system and method

Country Status (1)

Country Link
CN (1) CN103605556A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103885816A (en) * 2014-03-28 2014-06-25 南京大学 Simulation method of real-time embedded system
CN104063231A (en) * 2014-07-11 2014-09-24 哈尔滨工业大学 Test resource rapid access method based on HIT-TENA
CN104239630A (en) * 2014-09-10 2014-12-24 中国运载火箭技术研究院 Simulation scheduling system for supporting test design
CN104317580A (en) * 2014-10-13 2015-01-28 中国运载火箭技术研究院 Integrated development environment for virtual test application (APP)
CN106294112A (en) * 2015-06-03 2017-01-04 北京矩道优达网络科技有限公司 Real time multi-human computer program based on the Internet exploitation debugging System and method for
CN108959199A (en) * 2018-06-28 2018-12-07 武汉斗鱼网络科技有限公司 A kind of log highlights method, apparatus, storage medium and android terminal
CN109886144A (en) * 2019-01-29 2019-06-14 深圳市云之梦科技有限公司 Virtual examination forwarding method, device, computer equipment and storage medium
CN110705091A (en) * 2019-09-27 2020-01-17 西安理工大学 Lightweight virtual test target range object model component construction method
CN111290760A (en) * 2020-03-03 2020-06-16 北京字节跳动网络技术有限公司 Application program compiling method and device, electronic equipment and storage medium
CN113296776A (en) * 2021-06-18 2021-08-24 西安理工大学 Object model code conversion method and device, storage medium and electronic equipment
CN116580757A (en) * 2023-07-12 2023-08-11 悦芯科技股份有限公司 Virtual ATE test method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6839748B1 (en) * 2000-04-21 2005-01-04 Sun Microsystems, Inc. Synchronous task scheduler for corba gateway
CN102929681A (en) * 2012-10-31 2013-02-13 中国运载火箭技术研究院 Frame code automatic generating method of virtual test distributed type object model
CN102937895A (en) * 2012-10-31 2013-02-20 中国运载火箭技术研究院 Virtual test middleware system based on The ACE ORB (TAO)
CN102945165A (en) * 2012-10-31 2013-02-27 中国运载火箭技术研究院 Virtual test support platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6839748B1 (en) * 2000-04-21 2005-01-04 Sun Microsystems, Inc. Synchronous task scheduler for corba gateway
CN102929681A (en) * 2012-10-31 2013-02-13 中国运载火箭技术研究院 Frame code automatic generating method of virtual test distributed type object model
CN102937895A (en) * 2012-10-31 2013-02-20 中国运载火箭技术研究院 Virtual test middleware system based on The ACE ORB (TAO)
CN102945165A (en) * 2012-10-31 2013-02-27 中国运载火箭技术研究院 Virtual test support platform

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
林卓 等: "分布式仿真环境下虚拟试验对象建模技术研究及应用", 《计算机测量与控制》, vol. 20, no. 11, 25 November 2012 (2012-11-25), pages 3011 - 3014 *
邓草原: ""自己动手写IDE-NetBeans上Scala支持的实现"", 《月度关注》 *
魏驰 等: "虚拟试验对象框架代码自动生成技术的研究与实现", 《计算机测量与控制》, vol. 20, no. 10, 25 October 2012 (2012-10-25), pages 2745 - 2747 *
麻现辉: ""基于TENA接口定义语言的可视化建模的设计与实现"", 《万方数据知识服务平台》 *

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103885816A (en) * 2014-03-28 2014-06-25 南京大学 Simulation method of real-time embedded system
CN103885816B (en) * 2014-03-28 2017-01-25 南京大学 Simulation method of real-time embedded system
CN104063231A (en) * 2014-07-11 2014-09-24 哈尔滨工业大学 Test resource rapid access method based on HIT-TENA
CN104063231B (en) * 2014-07-11 2017-03-22 哈尔滨工业大学 Test resource rapid access method based on HIT-TENA
CN104239630A (en) * 2014-09-10 2014-12-24 中国运载火箭技术研究院 Simulation scheduling system for supporting test design
CN104239630B (en) * 2014-09-10 2017-03-15 中国运载火箭技术研究院 A kind of emulation dispatch system of supportive test design
CN104317580B (en) * 2014-10-13 2017-09-29 中国运载火箭技术研究院 Virtual test application integration development system
CN104317580A (en) * 2014-10-13 2015-01-28 中国运载火箭技术研究院 Integrated development environment for virtual test application (APP)
CN106294112B (en) * 2015-06-03 2019-03-22 北京矩道优达网络科技有限公司 Real time multi-human computer program exploitation debugging system and method Internet-based
CN106294112A (en) * 2015-06-03 2017-01-04 北京矩道优达网络科技有限公司 Real time multi-human computer program based on the Internet exploitation debugging System and method for
CN108959199A (en) * 2018-06-28 2018-12-07 武汉斗鱼网络科技有限公司 A kind of log highlights method, apparatus, storage medium and android terminal
CN108959199B (en) * 2018-06-28 2022-08-16 武汉斗鱼网络科技有限公司 Log highlighting method and device, storage medium and android terminal
CN109886144A (en) * 2019-01-29 2019-06-14 深圳市云之梦科技有限公司 Virtual examination forwarding method, device, computer equipment and storage medium
CN109886144B (en) * 2019-01-29 2021-08-13 深圳市云之梦科技有限公司 Virtual trial sending method and device, computer equipment and storage medium
CN110705091A (en) * 2019-09-27 2020-01-17 西安理工大学 Lightweight virtual test target range object model component construction method
CN110705091B (en) * 2019-09-27 2024-03-15 西安理工大学 Lightweight virtual test target range object model component construction method
CN111290760A (en) * 2020-03-03 2020-06-16 北京字节跳动网络技术有限公司 Application program compiling method and device, electronic equipment and storage medium
CN111290760B (en) * 2020-03-03 2023-03-31 北京字节跳动网络技术有限公司 Application program compiling method and device, electronic equipment and storage medium
CN113296776A (en) * 2021-06-18 2021-08-24 西安理工大学 Object model code conversion method and device, storage medium and electronic equipment
CN116580757A (en) * 2023-07-12 2023-08-11 悦芯科技股份有限公司 Virtual ATE test method and system
CN116580757B (en) * 2023-07-12 2023-09-22 悦芯科技股份有限公司 Virtual ATE test method and system

Similar Documents

Publication Publication Date Title
CN103605556A (en) Virtual test subject integrally-constructing system and method
Hu et al. Mapping UML Diagrams to a Petri Net Notation for System Simulation.
Tisi et al. On the use of higher-order model transformations
CN101996131A (en) Automatic test method and automatic test platform for graphic user interface (GUI) based on x extensive makeup language (XML) packaging key word
CN106293664A (en) Code generating method and device
US20080244541A1 (en) Code translator and method of automatically translating modeling language code to hardware language code
CN104635507A (en) Simulation and verification system of realtime airplane running monitoring system
KR101770292B1 (en) Computer-executable model reverse engineering method and apparatus performing the same
CN110262794A (en) A kind of AADL behaviour expanding method and tool based on specification with description language
CN108459951A (en) test method and device
CN106325860B (en) A kind of automated maintenance method of space flight embedded software interface data
CN104317580B (en) Virtual test application integration development system
Armengaud et al. Integrated tool-chain for improving traceability during the development of automotive systems
CN115858336A (en) Test vector generation method and device, computing equipment and storage medium
CN117648833B (en) Simulink-to-SysML model generation method and device
CN103164545A (en) Visual editing method of virtual electronic components
Hu et al. Explicit modeling of semantics associated with composite states in UML statecharts
McInnes et al. Formalizing functional flow block diagrams using process algebra and metamodels
CN110286882B (en) Foreground system design and verification method based on model detection
Rahman et al. A DSL for importing models in a requirements management system
CN109471637A (en) The examination script debugging method of circuit diagram
CN106033338A (en) Method and device for importing and analyzing source code based on FOG data
CN113434387A (en) Script-driven-based automatic testing tool and system
CN112559359A (en) Based on S2ML safety critical system analysis and verification method
Neukirchen et al. Quality assurance for TTCN‐3 test specifications

Legal Events

Date Code Title Description
C06 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: 20140226

RJ01 Rejection of invention patent application after publication