CN113608823A - Reusable terminal simulator for file description - Google Patents

Reusable terminal simulator for file description Download PDF

Info

Publication number
CN113608823A
CN113608823A CN202110712110.0A CN202110712110A CN113608823A CN 113608823 A CN113608823 A CN 113608823A CN 202110712110 A CN202110712110 A CN 202110712110A CN 113608823 A CN113608823 A CN 113608823A
Authority
CN
China
Prior art keywords
layer
module
file
file description
conversion
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.)
Granted
Application number
CN202110712110.0A
Other languages
Chinese (zh)
Other versions
CN113608823B (en
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.)
Tianjin Jinhang Computing Technology Research Institute
Original Assignee
Tianjin Jinhang Computing Technology Research 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 Tianjin Jinhang Computing Technology Research Institute filed Critical Tianjin Jinhang Computing Technology Research Institute
Priority to CN202110712110.0A priority Critical patent/CN113608823B/en
Priority claimed from CN202110712110.0A external-priority patent/CN113608823B/en
Publication of CN113608823A publication Critical patent/CN113608823A/en
Application granted granted Critical
Publication of CN113608823B publication Critical patent/CN113608823B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators

Abstract

A reusable terminal simulator for file description comprises a file description layer, a conversion layer and a realization layer, wherein the file description layer uses descriptive files to completely describe necessary attributes of modules to be constructed and internal interfaces in the realization layer according to user requirements, the conversion layer automatically reads and translates the descriptive files generated by the file description layer, each descriptive file is converted into modules required by the realization layer, and the structure composition of the realization layer is determined by the file description layer and the conversion layer.

Description

Reusable terminal simulator for file description
Technical Field
The invention relates to a reusable terminal simulator for file description, and belongs to the technical field of equipment simulation.
Background
The simulation technology is a subject which integrates various technologies such as information science technology, system engineering technology, computer technology, data processing technology and the like. The simulation technology is widely applied to the whole process of product model development, comprises various stages of scheme demonstration, tactical technical index demonstration, design analysis, production and manufacture, test, maintenance, training and the like, and can provide a factual basis for product test and identification for a decision maker.
The terminal equipment simulation technology is one of key technologies of simulation tests, and is more important particularly for a comprehensive system with large scale, complex system and various equipment. The technology can efficiently verify the product effectiveness and shorten the period of system test and identification. The research and development of the terminal simulator are necessary links for ensuring the smooth performance of system test and identification work, the development mode of the existing terminal simulator is developed aiming at the specificity of a certain system, the terminal simulator does not have good reuse rate and continuity, and a large amount of scientific research energy and time of professionals are occupied. Therefore, a terminal simulator with good reuse rate and high continuity is urgently needed.
Disclosure of Invention
The technical problem solved by the invention is as follows: aiming at the problem that the traditional terminal equipment simulator does not have good reuse rate and continuity in the prior art, the reusable terminal simulator for file description is provided.
The technical scheme for solving the technical problems is as follows:
a reusable terminal simulator for file description comprises a file description layer, a conversion layer and an implementation layer, wherein:
the file description layer is used for completely describing the necessary attributes of the module to be constructed and the internal interface in the implementation layer by using the descriptive file according to the user requirement;
the conversion layer is used for automatically reading and translating the descriptive files generated by the file description layer and converting the descriptive files into modules required by the implementation layer;
and the realization layer selects a required module to integrally construct the realization layer according to the automatic reading and translation contents of the descriptive file generated by the file description layer, performs data communication with external reference equipment, and performs terminal simulation.
The file description layer comprises a man-machine interaction file description module, a function simulation file description module, a data communication file description module and an internal interface file description module, wherein:
the human-computer interaction file description module is used for completely describing necessary attributes of the human-computer interaction module according to user requirements;
the function simulation file description module is used for completely describing necessary attributes of the function simulation module according to user requirements;
the data communication file description module is used for completely describing necessary attributes of the data communication module according to user requirements;
and the internal interface file description module is used for completely describing the data interaction condition among the modules according to the user requirements.
The conversion layer comprises a human-computer interaction conversion module, a function analog conversion module, a data communication conversion module and an internal interface integration module, wherein:
the human-computer interaction conversion module is used for reading and translating the descriptive file generated by the human-computer interaction file description module and sending the obtained content to the implementation layer in a human-computer interaction interface and data form;
the function simulation conversion module is used for reading and translating the descriptive file generated by the function simulation file description module and sending the obtained content to the implementation layer in a man-machine interaction interface and data form;
the data communication conversion module is used for reading and translating the descriptive file generated by the data communication file description module and sending the obtained content to the implementation layer in a man-machine interaction interface and data form;
and the internal interface integration module is used for reading and translating the descriptive file generated by the internal interface file description module and sending the data source and flow direction conditions among the modules in the implementation layer to the implementation layer according to the user requirements.
According to the user requirements, the implementation layer receives the descriptive file conversion content sent by the human-computer interaction conversion module, constructs a human-computer interaction module on the implementation layer, and completes function simulation;
the realization layer receives the descriptive file conversion content sent by the functional analog conversion module and constructs a functional analog module in the realization layer to complete functional simulation;
the implementation layer receives the descriptive file conversion content sent by the data communication conversion module and constructs a data communication module in the implementation layer to complete function simulation;
the realization layer receives the descriptive file conversion content sent by the data internal interface integration module and realizes the interface integration simulation among the modules of the realization layer.
The file description layer and the conversion layer are designed and realized before the terminal simulator consisting of the file description layer, the conversion layer and the realization layer operates, and the realization layer is automatically realized according to the output information of the file description layer and the conversion layer after the terminal simulator starts to operate and carries out terminal simulation.
The descriptive file format is XML or HTML or a custom format designed according to the requirements of users.
The terminal simulator is implemented in a separate physical device or software or proprietary chip.
Compared with the prior art, the invention has the advantages that:
the reusable terminal simulator for file description provided by the invention defines the terminal simulator by using the descriptive file, grasps the writing rule of the corresponding descriptive file, namely, the simulator can be designed and defined again according to the requirements, the reuse rate is high, the continuity is good, the reuse cost is low after the development is finished, and the human resources can be greatly saved.
Drawings
FIG. 1 is a schematic diagram of a reusable terminal simulator component structure provided in the present invention;
Detailed Description
A reusable terminal simulator for file description is defined by using a descriptive file, the terminal simulator can be designed and defined again according to requirements by mastering the writing rule of the corresponding descriptive file, and the simulator comprises a file description layer, a conversion layer and an implementation layer, wherein:
the file description layer is used for completely describing the necessary attributes of the module to be constructed and the internal interface in the implementation layer by using the descriptive file according to the user requirement;
the conversion layer is used for automatically reading and translating the descriptive files generated by the file description layer and converting the descriptive files into modules required by the implementation layer;
and the realization layer selects a required module to integrally construct the realization layer according to the automatic reading and translation contents of the descriptive file generated by the file description layer, performs data communication with external reference equipment, and performs terminal simulation.
(a) The file description layer comprises a man-machine interaction file description module, a function simulation file description module, a data communication file description module and an internal interface file description module, wherein:
the human-computer interaction file description module is used for completely describing necessary attributes of the human-computer interaction module according to user requirements;
the function simulation file description module is used for completely describing necessary attributes of the function simulation module according to user requirements;
the data communication file description module is used for completely describing necessary attributes of the data communication module according to user requirements;
the internal interface file description module is used for completely describing the data interaction condition among the modules according to the user requirements;
(b) the conversion layer comprises a human-computer interaction conversion module, a function analog conversion module, a data communication conversion module and an internal interface integration module, wherein:
the human-computer interaction conversion module is used for reading and translating the descriptive file generated by the human-computer interaction file description module and sending the obtained content to the implementation layer in a human-computer interaction interface and data form;
the function simulation conversion module is used for reading and translating the descriptive file generated by the function simulation file description module and sending the obtained content to the implementation layer in a man-machine interaction interface and data form;
the data communication conversion module is used for reading and translating the descriptive file generated by the data communication file description module and sending the obtained content to the implementation layer in a man-machine interaction interface and data form;
the internal interface integration module is used for reading and translating the descriptive file generated by the internal interface file description module and sending the data source and flow direction conditions among the modules in the implementation layer to the implementation layer according to the user requirements;
(c) the realization layer receives the descriptive file conversion content sent by the human-computer interaction conversion module according to the user requirement, constructs a human-computer interaction module in the realization layer and completes function simulation;
the realization layer receives the descriptive file conversion content sent by the functional analog conversion module and constructs a functional analog module in the realization layer to complete functional simulation;
the implementation layer receives the descriptive file conversion content sent by the data communication conversion module and constructs a data communication module in the implementation layer to complete function simulation;
the realization layer receives the descriptive file conversion content sent by the data internal interface integration module and realizes the interface integration simulation among the modules of the realization layer.
The method comprises the following steps that a file description layer and a conversion layer are designed and realized before a terminal simulator consisting of the file description layer, the conversion layer and a realization layer operates, and the realization layer is automatically realized according to output information of the file description layer and the conversion layer after the terminal simulator starts to operate and carries out terminal simulation;
the descriptive file format is XML or HTML or a custom format designed according to the requirements of a user;
the terminal simulator is implemented in a separate physical device or software or proprietary chip.
The following is further illustrated with reference to specific examples:
in this embodiment, as shown in fig. 1, the file description type reusable terminal simulator includes a file description layer, a conversion layer and an implementation layer, the file description layer uses descriptive files to completely describe necessary attributes such as parameters, types, sizes, layouts, numbers, and the like of a human-computer interaction module, a function simulation module, a data communication module, and an internal interface of the terminal simulator, the conversion layer is responsible for automatically reading and translating all descriptive files in the file description layer, and converting each descriptive file into modules and components necessary for the implementation layer, the implementation layer is jointly determined by the file description layer and the conversion layer, and is responsible for performing data communication with a reference device and a terminal simulation function of the terminal simulator.
The file description layer comprises a man-machine interaction file description module, a function simulation file description module, a data communication file description module and an internal interface file description module, wherein the man-machine interaction file description module is used for completely describing necessary attributes of the man-machine interaction module of the terminal simulator, and the description includes but is not limited to: the structure, the layout and the size of a human-computer interaction interface, and the data format, the type, the size, the quantity, the type and the triggering mode of human-computer interaction; the functional simulation file description module is used for completely describing necessary attributes of the functional simulation module of the terminal simulator, and includes but is not limited to: the type, number and implementation method of the required simulation functions, the communication mode, communication format, size, time sequence and trigger mode of the simulation data; the data communication file description module is used for implementing complete description on the necessary attributes of the data communication module of the terminal simulator, including but not limited to: the type, the type and the number of the communication modes, the specific parameter settings thereof, and the type of the communication format; the internal interface file description module is used for completely describing necessary attributes of data interaction among modules of the terminal simulator implementation layer, and includes but is not limited to: the source and the flow direction of the human-computer interaction data between the human-computer interaction module and the function simulation module, the source and the flow direction of the human-computer interaction data between the human-computer interaction module and the data communication module, and the source and the flow direction of the data between the function simulation module and the data communication module.
The conversion layer comprises a human-computer interaction conversion module, a function simulation conversion module, a data communication conversion module and an internal interface integration module, wherein the human-computer interaction conversion module is used for reading and translating the content of the human-computer interaction file description module, and the human-computer interaction module described by the human-computer interaction file description module is realized on the realization layer in the forms of a human-computer interaction interface, data and the like so as to complete the human-computer interaction function; the function simulation conversion module is used for reading and translating the content of the function simulation file description module, and the function simulation module described by the function simulation file description module is realized at a realization layer so as to complete function simulation; the data communication conversion module is used for reading and translating the content of the data communication file description module, and the data communication module described by the data communication file description module is realized at a realization layer so as to complete a data communication function; the internal interface integration module is used for reading and translating the content of the internal interface file description module, and realizing the data source and flow direction among the modules in the realization layer described by the internal interface file description module at the realization layer so as to complete the function integration among the modules and form the complete terminal simulator.
The realization layer composition is determined according to user requirements, in the embodiment, the realization layer comprises a human-computer interaction module, a function simulation module and a data communication module, and the data communication module is in data communication with the reference equipment and is responsible for the terminal simulation function of the terminal simulator.
The descriptive file adopts XML and HTML mature descriptive file formats and is realized in a software mode, and after the descriptive file is realized, the descriptive file is directly integrated with the terminal equipment in software and is connected with the terminal equipment through interfaces such as a network port, a USB (universal serial bus), a PCIE (peripheral component interface express) and the like.
If integrated into a proprietary chip, are integrated with existing terminal equipment at the printed board level.
Although the present invention has been described with reference to the preferred embodiments, it is not intended to limit the present invention, and those skilled in the art can make variations and modifications of the present invention without departing from the spirit and scope of the present invention by using the methods and technical contents disclosed above.
Those skilled in the art will appreciate that the details of the invention not described in detail in this specification are well within the skill of those in the art.

Claims (7)

1. A reusable terminal simulator for file descriptions, characterized by: the file conversion method comprises a file description layer, a conversion layer and an implementation layer, wherein:
the file description layer is used for completely describing the necessary attributes of the module to be constructed and the internal interface in the implementation layer by using the descriptive file according to the user requirement;
the conversion layer is used for automatically reading and translating the descriptive files generated by the file description layer and converting the descriptive files into modules required by the implementation layer;
and the realization layer selects a required module to integrally construct the realization layer according to the automatic reading and translation contents of the descriptive file generated by the file description layer, performs data communication with external reference equipment, and performs terminal simulation.
2. The reusable terminal simulator for file description according to claim 1, characterized in that:
the file description layer comprises a man-machine interaction file description module, a function simulation file description module, a data communication file description module and an internal interface file description module, wherein:
the human-computer interaction file description module is used for completely describing necessary attributes of the human-computer interaction module according to user requirements;
the function simulation file description module is used for completely describing necessary attributes of the function simulation module according to user requirements;
the data communication file description module is used for completely describing necessary attributes of the data communication module according to user requirements;
and the internal interface file description module is used for completely describing the data interaction condition among the modules according to the user requirements.
3. The reusable terminal simulator for file description according to claim 2, characterized in that:
the conversion layer comprises a human-computer interaction conversion module, a function analog conversion module, a data communication conversion module and an internal interface integration module, wherein:
the human-computer interaction conversion module is used for reading and translating the descriptive file generated by the human-computer interaction file description module and sending the obtained content to the implementation layer in a human-computer interaction interface and data form;
the function simulation conversion module is used for reading and translating the descriptive file generated by the function simulation file description module and sending the obtained content to the implementation layer in a man-machine interaction interface and data form;
the data communication conversion module is used for reading and translating the descriptive file generated by the data communication file description module and sending the obtained content to the implementation layer in a man-machine interaction interface and data form;
and the internal interface integration module is used for reading and translating the descriptive file generated by the internal interface file description module and sending the data source and flow direction conditions among the modules in the implementation layer to the implementation layer according to the user requirements.
4. A reusable terminal simulator for file descriptions according to claim 3, characterized in that:
according to the user requirements, the implementation layer receives the descriptive file conversion content sent by the human-computer interaction conversion module, constructs a human-computer interaction module on the implementation layer, and completes function simulation;
the realization layer receives the descriptive file conversion content sent by the functional analog conversion module and constructs a functional analog module in the realization layer to complete functional simulation;
the implementation layer receives the descriptive file conversion content sent by the data communication conversion module and constructs a data communication module in the implementation layer to complete function simulation;
the realization layer receives the descriptive file conversion content sent by the data internal interface integration module and realizes the interface integration simulation among the modules of the realization layer.
5. The reusable terminal simulator for file description according to claim 1, characterized in that:
the file description layer and the conversion layer are designed and realized before the terminal simulator consisting of the file description layer, the conversion layer and the realization layer operates, and the realization layer is automatically realized according to the output information of the file description layer and the conversion layer after the terminal simulator starts to operate and carries out terminal simulation.
6. The reusable terminal simulator for file description according to claim 4, wherein:
the descriptive file format is XML or HTML or a custom format designed according to the requirements of users.
7. The reusable terminal simulator for file description according to claim 5, wherein:
the terminal simulator is implemented in a separate physical device or software or proprietary chip.
CN202110712110.0A 2021-06-25 Reusable terminal simulator for file description Active CN113608823B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110712110.0A CN113608823B (en) 2021-06-25 Reusable terminal simulator for file description

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110712110.0A CN113608823B (en) 2021-06-25 Reusable terminal simulator for file description

Publications (2)

Publication Number Publication Date
CN113608823A true CN113608823A (en) 2021-11-05
CN113608823B CN113608823B (en) 2024-05-17

Family

ID=

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030014553A1 (en) * 2001-06-27 2003-01-16 Rui Zhao General purpose host simulator
CN1581098A (en) * 2004-05-20 2005-02-16 北京大学 Simulator structure method
WO2006089386A1 (en) * 2005-02-22 2006-08-31 Nextair Corporation Simulating an application for subsequent deployment to a device
CN102004635A (en) * 2010-08-19 2011-04-06 中国船舶重工集团公司第七○九研究所 Simulation model system supporting reusing and development method thereof
CN102799709A (en) * 2012-06-19 2012-11-28 中国电子科技集团公司第二十八研究所 System simulation test environment building and configuring system and method based on extensive markup language (XML)
CN105187257A (en) * 2015-09-29 2015-12-23 中国舰船研究设计中心 Warship combat system simulator system and information processing method thereof
US20170039302A1 (en) * 2015-08-07 2017-02-09 Kabushiki Kaisha Toshiba Process simulator, layout editor, and simulation system
CN107784152A (en) * 2016-08-26 2018-03-09 株式会社日立制作所 Include the simulation of multiple simulators

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030014553A1 (en) * 2001-06-27 2003-01-16 Rui Zhao General purpose host simulator
CN1581098A (en) * 2004-05-20 2005-02-16 北京大学 Simulator structure method
WO2006089386A1 (en) * 2005-02-22 2006-08-31 Nextair Corporation Simulating an application for subsequent deployment to a device
CN102004635A (en) * 2010-08-19 2011-04-06 中国船舶重工集团公司第七○九研究所 Simulation model system supporting reusing and development method thereof
CN102799709A (en) * 2012-06-19 2012-11-28 中国电子科技集团公司第二十八研究所 System simulation test environment building and configuring system and method based on extensive markup language (XML)
US20170039302A1 (en) * 2015-08-07 2017-02-09 Kabushiki Kaisha Toshiba Process simulator, layout editor, and simulation system
CN105187257A (en) * 2015-09-29 2015-12-23 中国舰船研究设计中心 Warship combat system simulator system and information processing method thereof
CN107784152A (en) * 2016-08-26 2018-03-09 株式会社日立制作所 Include the simulation of multiple simulators

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
DENISE ROTONDI AZEVEDO,ET AL: ""Towards a Resilience Benchmarking Description Language for the Context of Satellite Simulators"", 《IEEE》, 31 December 2014 (2014-12-31) *
李铁;康凤举;徐敬;: "标准化训练模拟器开发框架", 系统仿真学报, no. 09 *
边计年, 卢勤, 吕昌, 刘渝, 连永君: "一个功能较强的交互式混合级逻辑模拟工具SIM", 计算机辅助设计与图形学学报, no. 02 *

Similar Documents

Publication Publication Date Title
CN103312850B (en) A kind of mobile phone automatized test macro and method of work
CN107229750A (en) table data processing method, device, storage medium and processor
CN111125975A (en) FPGA time division multiplexing multiplex data transmission method, storage medium and terminal
CN101719177B (en) Method and device for on-chip system modeling and simulation
CN103869964A (en) Equipment for inputting two-dimensional-code Chinese characters to computer
CN103019990A (en) Method for uploading data at collection end through starting PCI-E (Peripheral Component Interconnect-Express) bus DMA (Direct Memory Access)
CN116049014A (en) AMBA bus verification platform generation method and device
CN113608823B (en) Reusable terminal simulator for file description
CN113608823A (en) Reusable terminal simulator for file description
CN110134561A (en) Method and device for outputting debugging information in software and hardware collaborative verification
CN102081455B (en) Multicomputer switcher and adapter thereof
CN112214602A (en) Text classification method and device based on humor, electronic equipment and storage medium
CN109634215B (en) Nuclear power plant operation procedure design method based on planar graph coding technology
CN104022933B (en) A kind of vehicle bus debugging system changed based on multimode signal
CN115935865A (en) Verification method and platform for reconfigurable chip
CN109960590A (en) A method of optimization embedded system diagnostic printing
CN212586852U (en) Device for simulating mouse movement
CN113609052A (en) Chip simulation system based on FPGA and microprocessor and implementation method
CN106909511A (en) A kind of automated testing method based on RedwoodHQ
CN202711232U (en) Man-machine interactive system based on touch operation
CN215376281U (en) Intelligent voice control handwriting board
CN220154916U (en) Circuit with USB port expanding multiple communication interfaces
CN103810013A (en) Programming auxiliary processing device and method based on dial switch array
CN213876359U (en) Hardware simulation accelerator I/O expansion device
CN107132969B (en) VAPS-based multi-level page interaction system and method

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
GR01 Patent grant