Report management system, method and equipment for virtual device cloud simulation and medium

By designing a report management system for virtual device cloud simulation, the problem of persistent storage of virtual device test reports was solved, enabling persistent storage and quick viewing of reports, improving simulation testing efficiency and user experience, and meeting the needs of multiple scale-up tests.

CN121996630APending Publication Date: 2026-05-08NR ENG CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
NR ENG CO LTD
Filing Date
2025-12-26
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

On container cloud platforms, test reports for virtual devices cannot be persistently stored, failing to meet users' needs for viewing historical test information. Furthermore, the information generated during the operation of virtual devices makes it difficult to quickly focus on and locate key signals, impacting simulation testing efficiency and user experience.

Method used

Design a report management system for virtual device cloud simulation, including a storage server, database, report container, and virtual test instrument container. Support the storage, query, modification, and sharing of report content. Use a multi-level classification directory to store report content, realize persistent storage of reports and on-demand query. Configure IO signal criteria and device report criteria to generate criterion test reports.

Benefits of technology

It enables persistent storage of virtual device test reports, supports quick viewing and sharing, improves simulation testing efficiency and user experience, helps users focus on key test data, and meets the needs of multiple scale-up tests.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121996630A_ABST
    Figure CN121996630A_ABST
Patent Text Reader

Abstract

The invention discloses a report management system, method, equipment and medium for virtual device cloud simulation, and the system comprises a storage server which is configured to store report content; a database configured to store report records; the report container is configured to query and modify the report record in the database, access the report content of the storage server according to the report record, and display and modify the report content; the virtual tester container is configured to manage starting, running and ending of the virtual device container and read reports in the virtual device container; the server is further configured to store the report content to the storage server and add or modify accessible report records in the database; and the virtual device container is configured to read the numerical value in the virtual tester container, simulate actual device operation and record an operation report. The technical framework of the container cloud platform can be met, the virtual device test report can be stored, checked and shared, and the simulation test efficiency and the user experience can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of embedded device digital simulation technology, and particularly relates to a report management system, method, device and medium for virtual device cloud simulation. Background Technology

[0002] A virtual device cloud simulation platform built on a container cloud platform simulates the execution of internal program logic by an actual device, providing users with a way to develop, verify, and test software functions independently of the device hardware. However, because the memory and disk files of the virtual tester container are lost when the container is destroyed, it cannot meet users' needs for viewing historical test information. Furthermore, virtual devices are often used in scenarios where multiple tests are performed simultaneously after a single startup, and users expect rapid feedback after each test. Additionally, the large amount of running signals, displacement signals, and self-test signals generated during virtual device operation makes it difficult for users to quickly focus on and locate key signals. Summary of the Invention

[0003] The purpose of this invention is to provide a report management system, method, device, and medium for virtual device cloud simulation, which can meet the technical framework of container cloud platforms, support the storage, viewing, and sharing of virtual device test reports, and effectively improve simulation testing efficiency and user experience.

[0004] To achieve the above objectives, the solution of the present invention is:

[0005] A report management system for virtual device cloud simulation, comprising,

[0006] The storage server is configured to store report content;

[0007] The database is configured to store report records;

[0008] The report container is configured to query and modify report records in the database, and access report content in the storage server based on the report records, and display and modify the report content.

[0009] The virtual tester container is configured to manage the startup, operation, and termination of virtual device containers, and to read reports from the virtual device containers; it is also configured to save report content to a storage server; and it is further configured to add or modify accessible report records in the database; and,

[0010] The virtual device container is configured to read values ​​from the virtual tester container, simulate the operation of the actual device, and record an operation report.

[0011] The virtual tester container is also configured to provide variable analog or digital signals to the virtual device's IO sampling channel, and to read the IO output signals of the virtual device.

[0012] The virtual tester container is also configured to read the operation report, displacement report and self-test report in the virtual device container, cooperate with and execute the virtual device IO signal criteria and device report criteria, and record the virtual device report, criterion report and virtual device sampled waveform data.

[0013] The virtual device IO signal criterion refers to setting the range of change and occurrence time of the virtual device IO signal as the judgment condition, and the device report criterion refers to setting the occurrence and occurrence time range of the virtual device alarm signal in the operation report, position change report or self-test report as the judgment condition; after executing the above criteria, a criterion test report is generated to indicate whether the test is successful or unsuccessful.

[0014] The database is configured to record accessible total test report records, incremental criterion report records, accessible users, and operation status. The operation status includes three states: ready, generating, and loading. The ready state indicates that the report has been generated, and access to and deletion of the report content are allowed. The generating state indicates that the report is being generated, and access to the report content is allowed, but deletion of the report content is not allowed. The loading state indicates that the user is accessing the report, and deletion of the report content is not allowed.

[0015] A report management method for virtual device cloud simulation uses a multi-level classification directory to store report content, and supports persistent storage of report content, on-demand query, historical report viewing, and management functions.

[0016] The report content is stored using a multi-level categorized directory system, including:

[0017] Each virtual device simulation run records a virtual device overall test report, and the report content is stored in a general directory of this test report. The general directory of this test report includes a device report directory, a first increment criterion report directory, ..., an nth increment criterion report directory. The device report directory stores the virtual device's operation report, displacement report, self-test report, and sampled waveform data, respectively. The increment criterion report directory stores the execution results of the output signal criterion and device report criterion during this increment period.

[0018] Among them, the ability to access report content on demand includes,

[0019] When the virtual tester starts running the virtual device, it adds an accessible total test report record and marks the total test report record as generated. At this time, the device operation report can be viewed. When the virtual tester finishes a single incremental test of the virtual device, it adds an incremental judgment report record. At this time, the judgment report content of the current test can be viewed. When the virtual tester ends the running of the virtual device, it ends the current recording and marks the total test report record as ready. At this time, the report content of the entire test cycle can be viewed.

[0020] This includes support for persistent storage of report content, including:

[0021] The report content is persistently stored on the storage server and will not be lost when the virtual tester container and report container are destroyed. It can be accessed again after the virtual tester container and report container are rebuilt.

[0022] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the report management method for virtual device cloud simulation as described above.

[0023] A computer-readable storage medium storing a computer program; when executed by a processor, the computer program implements the steps of the report management method for virtual device cloud simulation as described above.

[0024] A computer program product; when executed by a processor, the computer program product implements the steps of the report management method for virtual device cloud simulation as described above.

[0025] By adopting the above solution, the present invention has the following beneficial effects:

[0026] (1) The present invention persistently saves the test report of the virtual device to the disk of the storage service server, realizing the persistent storage of the test report content, which will not be lost when the container is destroyed;

[0027] (2) The present invention supports configuration of key I / O and report information reporting criteria, and automatically generates criteria reports as the virtual device samples and increases the amount of testing, which helps users focus on key test data and meets the requirement of checking as soon as testing, thereby improving the efficiency of user verification testing;

[0028] (3) This invention supports users to share the viewing rights of the report with others, and the group can jointly analyze the results of the virtual device test report, which helps the user team to analyze the software anomalies in the virtual device test report. Attached Figure Description

[0029] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0030] Figure 1 shows a schematic diagram of the system functional architecture provided in an embodiment of the present invention;

[0031] Figure 2 This invention illustrates a flowchart of the multi-level directory storage process for virtual device test reports in an embodiment of the present invention.

[0032] Figure 3 A schematic diagram of the configuration criteria information for the virtual tester is shown in an embodiment of the present invention. Detailed Implementation

[0033] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0034] Please refer to Figure 1, which shows a schematic diagram of the report management system architecture provided in an embodiment of the present invention. Details are as follows:

[0035] The management system is built on a container cloud platform and meets the operational requirements of the container cloud platform. It consists of five parts: a virtual tester container, a virtual device container, a report container, a storage server, and a database.

[0036] In this embodiment, each user of the virtual device cloud simulation platform has a unique account and accesses the platform through that unique account; the storage server can map the disk into the container when the virtual tester container and report container are created, which helps improve the efficiency of the container accessing the storage server; the virtual tester container and report container can access the report records in the database to determine the report content that users can view or modify. By modifying the user information that can be accessed in the report records, the report access permissions can be shared with other users, enabling team collaboration in problem-solving.

[0037] In this embodiment, the virtual tester container transmits command signals such as control virtual device container start, operation and end through TCP message communication protocol, provides variable analog or digital quantities to virtual device IO sampling channel, reads virtual device IO output signals, reads running reports, displacement reports and self-test reports in virtual device container, configures and executes virtual device container output signal criteria and device report criteria, records virtual device reports, criteria reports and virtual device sampling waveform data, and views the current test report content;

[0038] The virtual tester container persistently saves the report content to the storage server, while adding or modifying accessible report records in the database. The report records in the database are used by the report container to query whether there is accessible report content.

[0039] In this embodiment, the virtual device container can read the values ​​of the analog or digital sampling channels of the virtual tester container, simulate the actual device running its internal software logic program, and record the operation report.

[0040] In this embodiment, the report container can query database report records and access report content in the storage server, display test report content, and share and delete historical report information;

[0041] In this embodiment, the storage server supports the modification and viewing of stored report content by the virtual tester container and the report container, and the stored content does not disappear when the container is destroyed;

[0042] In this embodiment, the database records the total accessible test report records, the incremental judgment report records, the accessible users, and the operation status. The operation status includes three types: ready, generating, and loading. The ready state indicates that the report has been generated, and at this time, access to and deletion of the report content are allowed. The generating state indicates that the report is being generated, and at this time, access is allowed but deletion of the report content is not allowed. The loading state indicates that the user is accessing the report, and at this time, deletion of the report content is not allowed.

[0043] This invention also provides a report management method for virtual device cloud simulation, which uses a multi-level classification directory to store report content, meets the scenario requirements of virtual devices starting once and conducting multiple tests with increased intensity, and supports persistent storage of report content, on-demand query, historical report viewing, and management functions.

[0044] Please refer to Figure 2, which shows a flowchart of the multi-level directory storage process for virtual device test reports in the report management method provided in this embodiment of the invention. Details are as follows:

[0045] In this embodiment, the multi-level classification directory refers to recording a virtual device overall test report for each virtual device simulation run. The report content is stored in a general directory of this test report, which includes a device report directory, a first increment criterion report directory, ..., an nth increment criterion report directory. The device report directory stores the virtual device's operation report, displacement report, self-test report, and sampled waveform data, respectively. The increment criterion report directory stores the execution results of the output signal criterion and device report criterion during this increment period.

[0046] In this embodiment, the function of supporting on-demand access to report content is implemented. When the virtual tester starts running the virtual device, it adds an accessible total test report record and marks the total test report record as generated, at which point the device operation report can be viewed. When the virtual tester finishes a single incremental test of the virtual device, it adds an incremental judgment report record, at which point the judgment report content of the current test can be viewed. When the virtual tester ends the virtual device operation, it ends the current recording and marks the total test report record as ready, at which point the report content for the entire test cycle can be viewed. In addition, the report content is persistently stored on the storage server and is not lost when the virtual tester container and report container are destroyed, supporting access again after the virtual tester container and report container are rebuilt. Using this method, the report content can be viewed during the test, which is beneficial for users to obtain the test results in a timely manner.

[0047] Please refer to Figure 3, which shows a schematic diagram of the configuration criteria information of the virtual tester in an embodiment of the present invention, as follows:

[0048] In this embodiment, the virtual tester container configures and executes virtual device IO signal criteria and device report criteria. The virtual device IO signal criteria refers to setting the range of change and occurrence time of the virtual device IO signal as the judgment condition. The device report criteria refers to setting the occurrence and occurrence time range of the virtual device alarm signal in the operation report, position change report, or self-test report as the judgment condition. After executing the above criteria, a test report with criteria for test success or failure can be generated.

[0049] This invention also provides another computer device, including a processor and a memory configured to store a computer program capable of running on the processor; wherein, when the processor is configured to run the computer program, it performs the method steps described in the foregoing embodiments.

[0050] In practical applications, the aforementioned processor includes a Field-Programmable Gate Array (FPGA), and the processor can be a Central Processing Unit (CPU) or a Digital Signal Processor (DSP). It is understood that for different devices, the electronic devices used to implement the above-mentioned processor functions can also be other types, and this embodiment of the invention does not impose specific limitations.

[0051] The aforementioned memory can be volatile memory, such as random-access memory (RAM); or non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid-state drive (SSD); or a combination of the above types of memory, and provides instructions and data to the processor.

[0052] In an exemplary embodiment, the present invention also provides a computer-readable storage medium for storing a computer program.

[0053] Optionally, the computer-readable storage medium can be applied to any of the methods in the embodiments of the present invention, and the computer program causes the computer to execute the corresponding processes implemented by the processor in the various methods of the embodiments of the present invention. For the sake of brevity, these will not be described in detail here.

[0054] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The solutions in the embodiments of the present invention can be implemented using various computer languages, such as the object-oriented programming language Java and the interpreted scripting language JavaScript.

[0055] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0056] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0057] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0058] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including both the preferred embodiments and all changes and modifications falling within the scope of the invention.

[0059] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.

Claims

1. A report management system for virtual device cloud simulation, characterized in that: include, The storage server is configured to store report content; The database is configured to store report records; The report container is configured to query and modify report records in the database, and access report content in the storage server based on the report records, and display and modify the report content. The virtual tester container is configured to manage the startup, operation, and termination of virtual device containers, and to read reports from the virtual device containers; it is also configured to save report content to a storage server; and it is further configured to add or modify accessible report records in the database; and, The virtual device container is configured to read values ​​from the virtual tester container, simulate the operation of the actual device, and record an operation report.

2. The system as described in claim 1, characterized in that: The virtual tester container is also configured to provide variable analog or digital signals to the virtual device's I / O sampling channel, and to read the virtual device's I / O output signals.

3. The system as described in claim 1, characterized in that: The virtual tester container is also configured to read the operation report, displacement report and self-test report in the virtual device container, cooperate with and execute the virtual device IO signal criteria and device report criteria, and record the virtual device report, criterion report and virtual device sampled waveform data.

4. The system as described in claim 3, characterized in that: The virtual device IO signal criterion refers to setting the range of change and occurrence time of the virtual device IO signal as the judgment condition. The device report criterion refers to setting the occurrence and occurrence time range of the virtual device alarm signal in the operation report, position change report or self-test report as the judgment condition. After executing the above criteria, a criterion test report is generated to indicate whether the test is successful or unsuccessful.

5. The system as described in claim 1, characterized in that: The database is configured to record accessible total test report records, incremental criterion report records, accessible users, and operation status; wherein, the operation status includes three types: ready state, generating state, and loading state; the ready state indicates that the report has been generated, and at this time, access to and deletion of the report content are allowed; the generating state indicates that the report is being generated, and at this time, access is allowed but deletion of the report content is not allowed; the loading state indicates that the user is accessing the report, and at this time, deletion of the report content is not allowed.

6. A report management method for virtual device cloud simulation, characterized in that: The report content is stored using a multi-level categorized directory, supporting persistent storage of report content, on-demand retrieval, viewing of historical reports, and management functions.

7. The method as described in claim 6, characterized in that: The report content is stored using a multi-level categorized directory system, including: Each virtual device simulation run records a virtual device overall test report, and the report content is stored in a general directory of this test report. The general directory of this test report includes a device report directory, a first increment criterion report directory, ..., an nth increment criterion report directory. The device report directory stores the virtual device's operation report, displacement report, self-test report, and sampled waveform data, respectively. The increment criterion report directory stores the execution results of the output signal criterion and device report criterion during this increment period.

8. The method as described in claim 6, characterized in that: Supports on-demand access to report content, including: When the virtual tester starts running the virtual device, it adds an accessible total test report record and marks the total test report record as generated. At this time, the device operation report can be viewed. When the virtual tester finishes a single incremental test of the virtual device, it adds an incremental judgment report record. At this time, the judgment report content of the current test can be viewed. When the virtual tester ends the running of the virtual device, it ends the current recording and marks the total test report record as ready. At this time, the report content of the entire test cycle can be viewed.

9. The method as described in claim 6, characterized in that: Supports persistent storage of report content, including, The report content is persistently stored on the storage server and will not be lost when the virtual tester container and report container are destroyed. It can be accessed again after the virtual tester container and report container are rebuilt.

10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, it implements the steps of the report management method for virtual device cloud simulation as described in any one of claims 6 to 9.

11. A computer-readable storage medium storing a computer program; characterized in that: When the computer program is executed by the processor, it implements the steps of the report management method for virtual device cloud simulation as described in any one of claims 6 to 9.

12. A computer program product; characterized in that: When the computer program product is executed by a processor, it implements the steps of the report management method for virtual device cloud simulation as described in any one of claims 6 to 9.