CN-121996630-A - Report management system, method, equipment and medium for virtual device cloud simulation
Abstract
The invention discloses a report management system, a method, equipment and a medium for virtual device cloud simulation, wherein the system comprises a storage server, a database, a report container, a virtual tester container, a virtual device container and a virtual device container, wherein the storage server is configured to store report content, the database is configured to store report records, the report container is configured to inquire and modify the report records in the database, the report content is accessed according to the report records, the report content is displayed and modified, the virtual tester container is configured to manage the starting, running and ending of the virtual device container and read the report in the virtual device container, the report content is stored in the storage server, and the accessible report records in the database are newly added or modified, and the virtual device container is configured to read the numerical value in the virtual tester container, simulate the running of an actual device and record the running report. The method can meet the technical framework of the container cloud platform, support the storage, the checking and the sharing of the virtual device test report, and can effectively improve the simulation test efficiency and the user experience.
Inventors
- LIU NING
- JIANG TUO
- LIU YINGSHANG
- XIONG HUI
- ZHANG JIANXIN
- DENG YANGUO
- YANG HUANHUAN
- LIU ZHIQIANG
- GAO QIN
- ZHOU TONG
Assignees
- 南京南瑞继保工程技术有限公司
- 中国南方电网有限责任公司
Dates
- Publication Date
- 20260508
- Application Date
- 20251226
Claims (12)
- 1. A report management system for virtual device cloud simulation is characterized by comprising, A storage server configured to store report content; A database configured to store report records; A report container configured to query and modify report records in a database and access report content in a storage server according to the report records, exposing and modifying report content; a virtual tester container configured to manage the start, run, and end of the virtual device container and read reports in the virtual device container, further configured to save report content to a storage server, further configured to add or modify accessible report records in a database, and And the virtual device container is configured to read the numerical value in the virtual tester container, simulate the actual device operation and record an operation report.
- 2. The system of claim 1, wherein the virtual tester vessel is further configured to provide a variable analog or digital quantity to the virtual device IO sampling channel, reading the IO output signal of the virtual device.
- 3. The system of claim 1, wherein the virtual tester container is further configured to read the run report, the deflection report, and the self-test report in the virtual device container, cooperate with and execute the virtual device IO signal criteria and the device report criteria, and record virtual device report, criteria report, and virtual device sampled waveform data.
- 4. The system of claim 3, wherein the virtual device IO signal criteria are set to a determination condition of a change range and an occurrence time range of the virtual device IO signal, the device report criteria are set to a determination condition of occurrence and occurrence time range of the virtual device alarm signal in the operation report, the deflection report or the self-test report, and the criteria test report of success or failure is formed after the criteria are executed.
- 5. The system of claim 1, wherein the database is configured to record an accessible aggregate test report record, an add-on criteria report record, an accessible user, and an operational state, wherein the operational state includes three of a ready state, a generate state, and a load state, the ready state indicating that a report has been generated that allows access to and deletion of report content, the generate state indicating that a report is being generated that allows access to but fails to delete report content, the load state indicating that a user is accessing a report that fails to delete report content.
- 6. A report management method for virtual device cloud simulation is characterized in that a multi-layer class directory is adopted to store report contents, and report content persistence storage, measurement-while-test, historical report viewing and management functions are supported.
- 7. The method of claim 6, wherein storing report content using a multi-level class directory comprises, The method comprises the steps of carrying out simulation operation on a virtual device once, recording a virtual device total test report once every time, storing report contents in a test report total catalog, wherein the test report total catalog comprises a device report catalog, a1 st adding criterion report catalog, a number of adding criterion report catalogues, and an nth adding criterion report catalog, the operation report, the deflection report, the self-checking report and sampling waveform data of the virtual device are respectively stored in the device report catalog, and the outlet signal criterion and the execution result of the device report criterion in the adding period are stored in the adding criterion report catalog.
- 8. The method of claim 6, wherein supporting report content on-demand, comprises, The virtual tester can newly increase the accessible total test report record and the marked total test report record to generate a state when the virtual device is started to operate, and can check the device operation report at the moment, the virtual tester can check the criterion report content of the current test at the moment when the single-time adding test of the virtual device is finished, and can check the report content in the whole test period at the moment when the virtual tester finishes the virtual device operation and finishes the current record and the marked total test report record to be in a ready state.
- 9. The method of claim 6, wherein supporting report content persistent storage comprises, The report content is stored in the storage server in a lasting mode, is not lost along with the destruction of the virtual tester container and the report container, and is accessed again after the virtual tester container and the report container are rebuilt.
- 10. A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the computer program, performs the steps of the report management method for virtual device cloud emulation as in any one of claims 6 to 9.
- 11. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the report management method for virtual device cloud simulation according to any one of claims 6 to 9.
- 12. Computer program product, characterized in that it when executed by a processor implements the steps of the report management method for virtual device cloud simulation according to any of the claims 6 to 9.
Description
Report management system, method, equipment and medium for virtual device cloud simulation Technical Field The invention belongs to the technical field of digital simulation of embedded devices, and particularly relates to a report management system, method, equipment and medium for cloud simulation of a virtual device. Background The virtual device cloud simulation platform built based on the container cloud platform simulates the execution of internal program logic by an actual device, and provides a way for a user to develop, verify and test software functions separated from device hardware. Because the memory and disk files of the virtual tester container can be lost along with the destruction of the container, the requirement of users for checking the historical test information cannot be met. And the virtual device has an application scene of starting the quantitative test for a plurality of times, and a user expects to quickly obtain result feedback after each quantitative test is finished. In addition, because a large amount of information such as operation signals, deflection signals, self-checking signals and the like can be generated when the virtual device operates, the user is not beneficial to quickly focusing and positioning key signals. Disclosure of Invention The invention aims to provide a report management system, method, equipment and medium for virtual device cloud simulation, which can meet the technical framework of a container cloud platform, support storage, viewing and sharing of virtual device test reports and can effectively improve simulation test efficiency and user experience. In order to achieve the above object, the solution of the present invention is: A report management system for virtual device cloud simulation, comprising, A storage server configured to store report content; A database configured to store report records; A report container configured to query and modify report records in a database and access report content in a storage server according to the report records, exposing and modifying report content; a virtual tester container configured to manage the start, run, and end of the virtual device container and read reports in the virtual device container, further configured to save report content to a storage server, further configured to add or modify accessible report records in a database, and And the virtual device container is configured to read the numerical value in the virtual tester container, simulate the actual device operation and record an operation report. The virtual tester container is further configured to provide variable analog quantity or digital quantity for the IO sampling channel of the virtual device, and read IO outlet signals of the virtual device. Wherein the virtual tester container is further configured to read the operation report, the deflection report, and the self-test report in the virtual device container, cooperate with and execute the virtual device IO signal criteria and the device report criteria, and record the virtual device report, the criteria report, and the virtual device sampling waveform data. The virtual device IO signal criterion refers to setting the change range and the occurrence time range of the virtual device IO signal as judging conditions, the device report criterion refers to setting the occurrence and the occurrence time range of the virtual device alarm signal in an operation report, a deflection report or a self-checking report as judging conditions, and a criterion test report of success or failure of test is formed after the criterion is executed. The database is configured to record an accessible total test report record, an addition criterion report record, an accessible user and an operation state, wherein the operation state comprises three states of a ready state, a generating state and a loading state, the ready state indicates that the report is generated and the report content is allowed to be accessed and deleted, the generating state indicates that the report is being generated and the report content is allowed to be accessed and cannot be deleted, and the loading state indicates that the user is accessing the report and the report content cannot be deleted. A report management method for virtual device cloud simulation adopts a multi-level class directory to store report contents, and supports report content persistence storage, measurement-while-test, historical report viewing and management functions. Wherein the report content is stored using a multi-level class directory, including, The method comprises the steps of carrying out simulation operation on a virtual device once, recording a virtual device total test report once every time, storing report contents in a test report total catalog, wherein the test report total catalog comprises a device report catalog, a1 st adding criterion report catalog, a number of adding criterion report catalogues, and an nth adding criterion report c