CN107391334A - Digital simulation method based on complete autonomous Row control - Google Patents

Digital simulation method based on complete autonomous Row control Download PDF

Info

Publication number
CN107391334A
CN107391334A CN201710648319.9A CN201710648319A CN107391334A CN 107391334 A CN107391334 A CN 107391334A CN 201710648319 A CN201710648319 A CN 201710648319A CN 107391334 A CN107391334 A CN 107391334A
Authority
CN
China
Prior art keywords
test
digital simulation
simulation
complete autonomous
row control
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
CN201710648319.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.)
Shanghai Aerospace Control Technology Institute
Original Assignee
Shanghai Aerospace Control Technology Institute
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 Shanghai Aerospace Control Technology Institute filed Critical Shanghai Aerospace Control Technology Institute
Priority to CN201710648319.9A priority Critical patent/CN107391334A/en
Publication of CN107391334A publication Critical patent/CN107391334A/en
Pending legal-status Critical Current

Links

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/362Software debugging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention relates to a kind of digital simulation method based on complete autonomous Row control, comprise the steps of:S1, in simulation software test process, the requirement that is exported according to data input, input, the output function of simulation and equivalent hardware equipment and hardware interface;S2, by Digital Simulation object from Resource Dependence platform transplantation to universal computer platform;S3, testing process and principle according to simulation software, design Digital Simulation test function module;S4, the testing process according to simulation software, complete autonomous process control module is designed, carries out Digital Simulation automatically.The present invention can save hardware device resources and cost;Calculating speed can improve more than 20 times;Automation, the procedure processing of test process are realized, saves human cost;And the unattended automatic test of batch can be realized;Reach that Digital Simulation is flexible, the engineer applied effect of fast, economical.

Description

Digital simulation method based on complete autonomous Row control
Technical field
The present invention relates to a kind of digital simulation method, in particular to a kind of Digital Simulation side based on complete autonomous Row control Method, belong to experiment and technical field of measurement and test.
Background technology
Digital Simulation can carry out principle checking to algorithm for design and design, be algorithm is verified it is important Means.The external interface data that Digital Simulation is related to usually require to be extracted from real data, to adapt to different operating modes, often Need the ability to work of system examined under different working condition.
In the prior art, flight software trajectory test includes multiple operating modes, and flight software Acceptance Test includes multiple steps, It is required to manual intervention.Therefore, at the same a trajectory test time it is longer.Input data is tested to preserve, replace, test result Preserve storage and be required to human intervention, the serious operating efficiency for restricting Digital Simulation.
Based on above-mentioned, the present invention proposes a kind of digital simulation method based on complete independently Row control, can effectively solve the problem that Defect present in prior art and limitation.
The content of the invention
It is an object of the invention to provide a kind of digital simulation method based on complete autonomous Row control, hardware device money is saved Source, save cost;Calculating speed improves more than 20 times;Realize test process automation, procedure processing, save manpower into This;And the unattended automatic test of batch can be realized;Reach Digital Simulation is flexible, engineering of fast, economical should Use effect.
To realize above-mentioned purpose, the present invention provides a kind of digital simulation method based on complete autonomous Row control, comprising Following steps:
S1, in simulation software test process, the requirement that is exported according to data input, simulation and equivalent hardware equipment and hard The input of part interface, output function;
S2, by Digital Simulation object from Resource Dependence platform transplantation to universal computer platform;
S3, testing process and principle according to simulation software, design Digital Simulation test function module;
S4, the testing process according to simulation software, complete autonomous process control module is designed, carries out Digital Simulation automatically.
In described S1, simulation and equivalent hardware device include multiple units, respectively with different data inputs with Output function, according to corresponding function simulate and equivalent.
In described S1, simulation and equivalent hardware interface include Bus Interface Chip and serial port chip, have respectively total Line message tissue and transmitting-receiving, the function of serial data transmitting-receiving, according to corresponding function simulate and equivalent.
In described S2, mould is carried out to the running environment of simulation object by virtual memory techniques and software analogue technique Intend, release the dependence of simulation object.
In described S3, Digital Simulation test function module includes test data input submodule, test data replicon The automatic implementation sub-module of module, test operation and test result compression sub-module stored, it is multiple to carry out parameter configuration, use-case respectively The step of system, Digital Simulation and result store.
In described S4, specifically comprise the steps of:
S41, the list information for obtaining test event to be run;
S42, judge whether that all test events complete emulation testing;In this way, then terminate;Such as otherwise continuation S43,
S43, the information for obtaining current test event;
S44, the test case of the test event is replicated to specified input path;
S45, start digital simulation software, test parameter is configured;
S45, carry out Digital Simulation, wait emulation end signal, after the completion of close digital simulation software;
S46, storage is compressed to test result data;And return to S42.
In described S4, complete autonomous process control module, without manual intervention, is automatically performed mass in test process Test.
The present invention also provide it is a kind of based on it is complete independently Row control Digital Simulation System, realize and complete it is above-mentioned based on The digital simulation method of complete autonomous Row control.
In summary, the digital simulation method provided by the present invention based on complete autonomous Row control, has advantages below And beneficial effect:Exported and required according to data input, simulation and equivalent some hardware devices and hardware interface, saved hardware and set Standby resource, saves cost;By simulation object from Resource Dependence platform transplantation to universal computer platform, pass through the side of interface replacement Formula, calculating speed can improve more than 20 times;Digital Simulation test function module replicates test case data, parameter setting, imitative The working automation of the links such as true operating procedure, output result preservation, data backup, procedure processing, save human cost;If The complete autonomous process control module of meter, can realize the unattended automatic test of batch.
Brief description of the drawings
Fig. 1 is the flow chart of the digital simulation method based on complete autonomous Row control in the present invention;
Fig. 2 carries out the flow chart of Digital Simulation for the complete autonomous process control module in the present invention automatically.
Embodiment
Below in conjunction with Fig. 1~Fig. 2, referring to the accompanying drawing of the embodiment of the present invention, the present invention is described in more detail.So And the present invention there can be many multi-forms to realize, and should not be construed as being limited by the embodiment herein proposed.On the contrary, It is proposed these embodiments and be to reach fully and complete disclosure, and those skilled in the art is understood this hair completely Bright scope.
As shown in figure 1, for the digital simulation method provided by the present invention based on complete autonomous Row control, following step is included Suddenly:
S1, in simulation software test process, the requirement that is exported according to data input, simulation and equivalent hardware equipment and hard The input of part interface, output function, there is provided test input and interactive object;
S2, by Digital Simulation object from Resource Dependence platform transplantation to universal computer platform;
S3, testing process and principle according to simulation software, design Digital Simulation test function module;
S4, the testing process according to simulation software, complete autonomous process control module is designed, carries out Digital Simulation automatically.
As shown in table 1, in described S1, simulation and equivalent hardware device include a variety of, respectively 1~unit of unit n Deng there is a variety of data inputs and output function, it is necessary to carry out different simulation and equivalent according to corresponding function, carry Produce the input and output related to digital simulation software.For example, unit 1 for digital simulation software, is mainly used in providing Data input, the working condition that it is given tacit consent to is normal, therefore need not simulate the working condition function of unit 1, and only need to simulate unit 1 counts According to the function of input.
As shown in table 1, simulation and equivalent hardware interface also include polytype simultaneously, respectively Bus Interface Chip with Serial port chip etc., there is a variety of data inputs and output function, it is necessary to carry out different simulations according to corresponding function With it is equivalent.
Table 1, hardware device and hardware interface menu
Specifically, in described S1, the input of hardware device and hardware interface, output function are simulated by simulation software With it is equivalent, according to receive data handling requirements, be created that chip piece memory headroom and register space, the behaviour as processor Make space.After the completion of simulation software operation, chip internal memory and register are analyzed, simulate the function of register read/write. The carry out of action and operating process to bus chip is equivalent.
In described S2, mould is carried out to the running environment of simulation object by virtual memory techniques and software analogue technique Intend, release the dependence of simulation object.
Specifically, according to simulation object by hardware-dependent platform transplantation to general-purpose platform, to hardware interface and software platform Applicability carry out unified modification, mould is carried out to the running environment of simulation object by virtual memory techniques and software analogue technique Intend, release simulation object to its dependence.Wherein, digital simulation software uses the test obtained from external data file defeated Enter digital simulation software outer input data, the hardware resource relied on using analog hardware interface method solution running software, Software output result is preserved by data record.So that the operation of software is no longer dependent on hardware platform, running software speed is bright The characteristics of showing lifting, while utilizing all-purpose computer computational accuracy high, the arithmetic speed and meter of test result can be significantly improved Calculate precision.
In described S3, Digital Simulation test function module includes test data input submodule, test data replicon The automatic implementation sub-module of module, test operation and test result compression sub-module stored, it is multiple to carry out parameter configuration, use-case respectively The step of system, Digital Simulation and result store.
Specifically, testing process and principle according to simulation software, design obtained Digital Simulation test function module bag Containing multiple function sub-modules, it is specially:Test data input submodule, test data replicate submodule, test operation is held automatically Row submodule and test result compression sub-module stored, data input, data duplication are realized respectively, operation performs and result is deposited The function of storage.Wherein, Digital Simulation test function module provides data input function and completes parameter configuration;Data duplication work(is provided Test case can be automatically copied under the input path specified, there is provided initial data inputs;And operation perform function is provided and existed The operating procedure and interactive capability of Digital Simulation are completed in measuring executing process;After the completion of test, there is provided result stores work( The backup that test result data can be carried out preserves and compression storage.
In described S4, complete autonomous process control module automatically controls current test event, includes the input of test data With replicating, emulation testing manipulation performs, test result compression preserves;And after the completion of current test event, next is carried out automatically Test event, until completing all test events.
In described S4, complete autonomous process control module, without manual intervention, is automatically performed mass in test process Test, and prompt end of run.
Specifically, complete autonomous process control module is according to the Digital Simulation course of work, design work flow and job step. By configuration file mode, all test events are traveled through, testing procedure and testing process are controlled by software.Complete After the operation of current testing procedure, automatic flow to next operating procedure, until completing all steps of the test event.And And after the completion of current test event, next test event is searched automatically, then retest step, until completing all Test event, so as to realize unattended batch testing.
As shown in Fig. 2 in described S4, by the way of circulation performs judgement, each test event is carried out successively Perform judgement;And each test event is directed to, and automatic flow execution is carried out according to the flow and step of emulation testing, it is real Existing test operation is equivalent;Specifically comprise the steps of:
S41, the list information for obtaining test event to be run;
S42, judge whether that all test events complete emulation testing;In this way, then terminate;Such as otherwise continuation S43,
S43, the information for obtaining current test event;
S44, the test case of the test event is replicated to specified input path;
S45, start digital simulation software, test parameter is configured;
S45, carry out Digital Simulation, wait emulation end signal, after the completion of close digital simulation software;
S46, storage is compressed to test result data;And return to S42.
Further, the present invention also provides a kind of Digital Simulation System based on complete independently Row control, to realize and complete Into the above-mentioned digital simulation method based on complete autonomous Row control.
In summary, the digital simulation method provided by the present invention based on complete autonomous Row control, according to Digital Simulation The course of work, by the data input of test case, parameter setting, manual steps, output result preserve etc. process carry out Simplify, complete the Automation Design.Data duplication, parameter are input to each of result output by the present invention by autonomous Row control Individual process carries out procedure and automation, simplifies human users, reduces design difficulty, and implementation process is controlled.
Digital simulation method provided by the present invention based on complete autonomous Row control, has advantages below and beneficial to effect Fruit:
1) exported and required according to data input, simulation and equivalent some hardware devices and hardware interface, saved hardware and set Standby resource, saves cost;
2) by simulation object from Resource Dependence platform transplantation to universal computer platform, by way of interface replacement, meter Can be improved by calculating speed by more than 20 times;
3) Digital Simulation test function module test case data is replicated, parameter setting, simulation operations step, output knot The working automation of the links such as fruit preservation, data backup, procedure processing, save human cost;
4) complete autonomous process control module is designed, the unattended automatic test of batch can be realized.
Although present disclosure is discussed in detail by above preferred embodiment, but it should be appreciated that above-mentioned Description is not considered as limitation of the present invention.After those skilled in the art have read the above, for the present invention's A variety of modifications and substitutions all will be apparent.Therefore, protection scope of the present invention should be limited to the appended claims.

Claims (8)

1. a kind of digital simulation method based on complete autonomous Row control, it is characterised in that comprise the steps of:
S1, in simulation software test process, the requirement that is exported according to data input, simulation and equivalent hardware equipment and hardware connect The input of mouth, output function;
S2, by Digital Simulation object from Resource Dependence platform transplantation to universal computer platform;
S3, testing process and principle according to simulation software, design Digital Simulation test function module;
S4, the testing process according to simulation software, complete autonomous process control module is designed, carries out Digital Simulation automatically.
2. the digital simulation method as claimed in claim 1 based on complete autonomous Row control, it is characterised in that described S1 In, simulation and equivalent hardware device include multiple units, respectively with different data input and output function, according to corresponding Function carry out simulation and it is equivalent.
3. the digital simulation method as claimed in claim 1 based on complete autonomous Row control, it is characterised in that described S1 In, simulation and equivalent hardware interface include Bus Interface Chip and serial port chip, respectively with bus message tissue and receive and dispatch, The function of serial data transmitting-receiving, according to corresponding function simulate and equivalent.
4. the digital simulation method as claimed in claim 1 based on complete autonomous Row control, it is characterised in that described S2 In, the running environment of simulation object is simulated by virtual memory techniques and software analogue technique, releases simulation object Dependence.
5. the digital simulation method as claimed in claim 1 based on complete autonomous Row control, it is characterised in that described S3 In, it is automatic that Digital Simulation test function module includes test data input submodule, test data duplication submodule, test operation Implementation sub-module and test result compression sub-module stored, carry out parameter configuration, use-case duplication, Digital Simulation and result respectively The step of storage.
6. the digital simulation method as claimed in claim 1 based on complete autonomous Row control, it is characterised in that described S4 In, specifically comprise the steps of:
S41, the list information for obtaining test event to be run;
S42, judge whether that all test events complete emulation testing;In this way, then terminate;Such as otherwise continuation S43,
S43, the information for obtaining current test event;
S44, the test case of the test event is replicated to specified input path;
S45, start digital simulation software, test parameter is configured;
S45, carry out Digital Simulation, wait emulation end signal, after the completion of close digital simulation software;
S46, storage is compressed to test result data;And return to S42.
7. the digital simulation method as claimed in claim 6 based on complete autonomous Row control, it is characterised in that described S4 In, complete autonomous process control module, without manual intervention, is automatically performed mass test in test process.
A kind of 8. Digital Simulation System based on complete autonomous Row control, it is characterised in that realize and complete as claim 1~ The digital simulation method based on complete autonomous Row control any one of 7.
CN201710648319.9A 2017-08-01 2017-08-01 Digital simulation method based on complete autonomous Row control Pending CN107391334A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710648319.9A CN107391334A (en) 2017-08-01 2017-08-01 Digital simulation method based on complete autonomous Row control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710648319.9A CN107391334A (en) 2017-08-01 2017-08-01 Digital simulation method based on complete autonomous Row control

Publications (1)

Publication Number Publication Date
CN107391334A true CN107391334A (en) 2017-11-24

Family

ID=60343399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710648319.9A Pending CN107391334A (en) 2017-08-01 2017-08-01 Digital simulation method based on complete autonomous Row control

Country Status (1)

Country Link
CN (1) CN107391334A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110249316A (en) * 2017-12-07 2019-09-17 深圳市汇顶科技股份有限公司 Debugger and chip adjustment method
CN110471855A (en) * 2019-08-21 2019-11-19 小胡杨信息技术(武汉)有限公司 A kind of computer application software test macro and method
CN111398700A (en) * 2019-01-02 2020-07-10 株洲中车时代电气股份有限公司 Converter module reliability test method and system
CN112255548A (en) * 2019-09-30 2021-01-22 蜂巢能源科技有限公司 Battery management system test method and system
CN114860775A (en) * 2022-05-20 2022-08-05 上海美吉生物医药科技有限公司 Automatic library searching method, system and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101995546A (en) * 2010-11-16 2011-03-30 复旦大学 Automatic test system and method of programmable logic device on basis of boundary scan
CN102375778A (en) * 2010-08-17 2012-03-14 中兴通讯股份有限公司 Method and system for automatically testing digital signal processor (DSP)
CN102968377A (en) * 2012-12-13 2013-03-13 中国航空无线电电子研究所 Virtual machine technique based airborne software system testing general platform

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102375778A (en) * 2010-08-17 2012-03-14 中兴通讯股份有限公司 Method and system for automatically testing digital signal processor (DSP)
CN101995546A (en) * 2010-11-16 2011-03-30 复旦大学 Automatic test system and method of programmable logic device on basis of boundary scan
CN102968377A (en) * 2012-12-13 2013-03-13 中国航空无线电电子研究所 Virtual machine technique based airborne software system testing general platform

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
小麦地: "FPGA设计之自动化", 《HTTP://BBS.ELECFANS.COM/JISHU_462108_1_1.HTML》 *
杨西西等: "基于DSP Builder的数字调制器的设计", 《科学技术与工程》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110249316A (en) * 2017-12-07 2019-09-17 深圳市汇顶科技股份有限公司 Debugger and chip adjustment method
CN111398700A (en) * 2019-01-02 2020-07-10 株洲中车时代电气股份有限公司 Converter module reliability test method and system
CN110471855A (en) * 2019-08-21 2019-11-19 小胡杨信息技术(武汉)有限公司 A kind of computer application software test macro and method
CN112255548A (en) * 2019-09-30 2021-01-22 蜂巢能源科技有限公司 Battery management system test method and system
CN112255548B (en) * 2019-09-30 2023-06-13 蜂巢能源科技有限公司 Battery management system test method and system thereof
CN114860775A (en) * 2022-05-20 2022-08-05 上海美吉生物医药科技有限公司 Automatic library searching method, system and terminal

Similar Documents

Publication Publication Date Title
CN107391334A (en) Digital simulation method based on complete autonomous Row control
US11010505B2 (en) Simulation of virtual processors
US9946628B2 (en) Embedding and executing trace functions in code to gather trace data
US12001317B2 (en) Waveform based reconstruction for emulation
CN110221983A (en) Test method, device, computer readable storage medium and computer equipment
CN106445800A (en) Chip verification method and device
US8271252B2 (en) Automatic verification of device models
CN106909498A (en) A kind of java applet injects the method and system of failure
US5115502A (en) Method and apparatus for determining internal status of a processor using simulation guided by acquired data
CN107678958A (en) A kind of method of testing for comprehensive parameters display system software
CN109086176A (en) A kind of SSD steady-state method of test, device, equipment and storage medium based on FIO
WO2021109367A1 (en) Simulation signal viewing method for digital product, and system
US4813009A (en) Method and apparatus for determining internal status of a processor
CN104063307A (en) Software testing method and system
US10664637B2 (en) Testbench restoration based on capture and replay
CN116090376B (en) Chip integrated verification component development method and device and computer equipment
US9202004B1 (en) System, method, and computer program product for ensuring that each simulation in a regression is running a unique configuration
US9400858B1 (en) Virtual verification machine for a hardware based verification platform
CN111950219B (en) Method, apparatus, device and medium for realizing simulator
US20220004680A1 (en) Method for latency detection on a hardware simulation accelerator
US20230057034A1 (en) Method for viewing simulation signals of digital products and simulation system
US10740521B1 (en) System and method for localized logic simulation replay using emulated values
CN112231062A (en) Safety test system and method for programmable industrial controller
JP6723483B2 (en) Test case generation device, test case generation method, and test case generation program
CN110765711A (en) Method and system for checking simulation signal of digital product

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20171124