Desktop application system for joint simulation test
Through the desktop application system for joint simulation tests, using lightweight virtualized application desktop containers and efficient data interaction modules, the problem of low efficiency of software deployment and data interaction in joint simulation tests is solved, and rapid deployment and efficient data sharing are achieved. Improved simulation test efficiency.
Patent Information
- Application Number
- CN202410795309.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-10-01
AI Technical Summary
In joint simulation tests, existing technology results in a long software deployment cycle, the deployment and debugging process is time-consuming and labor-intensive, and data interactivity is limited by the transmission rate of the network and hardware interfaces.
Design a desktop application system for joint simulation experiments, including desktop configuration module, packaging module, shared storage module and image transmission module, uniformly deploy heterogeneous tool software through lightweight virtualized application desktop containers, and achieve data sharing and high efficiency Image transmission simplifies the deployment and debugging process and improves data interaction efficiency.
It greatly reduces deployment and debugging time, improves the efficiency of joint simulation tests, solves the problems of heterogeneous tool software deployment and data interaction, and achieves a unified initial operating environment and memory sharing.
Smart Images

Figure CN118733170A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of joint simulation experiments, and more specifically, to a desktop application system for joint simulation experiments. Background Art
[0002] At present, in joint simulation experiments, a certain amount of heterogeneous test software support is required, but the existing deployment method of test software is too tightly coupled with the infrastructure. From the development environment to the test environment and the production environment, redeployment or secondary deployment is often required. Moreover, these lead to a long software deployment cycle, and the deployment and debugging process will also take up more time and energy of application developers. In the joint simulation process, data interaction is required between nodes, and the data interactivity of the existing joint simulation system is limited by the transmission rate of the network and hardware interface. Summary of the invention
[0003] The purpose of the present invention is to provide a desktop application system for joint simulation experiments that encapsulates and deploys heterogeneous tool software required for joint simulation experiments and performs efficient data interaction between application desktop containers, so as to solve at least one of the problems existing in the prior art.
[0004] In order to achieve the above object, the present invention adopts the following technical solutions:
[0005] A first aspect of the present invention provides a desktop application system for joint simulation experiments, comprising:
[0006] A desktop configuration module, a packaging module, a shared storage module, an image transmission module, and at least one interaction module;
[0007] The desktop configuration module is used to construct at least one lightweight virtualized application desktop container and deploy each of the application desktop containers as an initial basic environment;
[0008] The packaging module is used to package the heterogeneous tool software required for the joint simulation experiment, and deploy the packaged heterogeneous tool software on the application desktop container constructed by the desktop configuration module;
[0009] The shared storage module is used to store the data generated by the application desktop container in which the heterogeneous tool software has been deployed in a preset shared storage space, and each application desktop container performs data exchange through the shared storage space;
[0010] The image transmission module is used to transmit the image data of the active window of the application desktop container to the corresponding interaction module;
[0011] The interaction module is used to control the corresponding application desktop container.
[0012] Preferably, the desktop configuration module is used to build at least one lightweight virtualized application desktop container based on container technology and deploy each of the application desktop containers as an initial basic environment.
[0013] Preferably, the application desktop container is an application desktop container of a Windows system;
[0014] The encapsulation module encapsulates the heterogeneous tool software through a VHD virtual mapping disk encapsulation mode.
[0015] Preferably, the application desktop container is an application desktop container of a Linux system;
[0016] The encapsulation module encapsulates the heterogeneous tool software through a container-based encapsulation mode.
[0017] Preferably, the shared storage space includes a plurality of shared storage blocks;
[0018] Each of the shared storage blocks is used to store data of a preset message topic of data generated by the application desktop container in which the heterogeneous tool software has been deployed.
[0019] Preferably, the shared storage module further includes a rights management module;
[0020] The permission management module is used to perform permission management on the application desktop container, and the application desktop container can only obtain data within the authorization scope of another application desktop container.
[0021] Preferably, the image transmission module is used to transmit the image data of the active window of the application desktop container to the corresponding interaction module based on a lightweight transmission protocol.
[0022] Preferably, the desktop application system further includes a remote application server;
[0023] The interaction module is a remote interaction module, and the remote interaction module obtains the image data of the active window of the application desktop container through the image transmission module; the remote interaction module is also used to send control information to the remote application server to control the corresponding application desktop container;
[0024] The interaction module is a local interaction module, and the local interaction module monitors the active window of the corresponding application desktop container through the image transmission module; the interaction module is also used to send control information to the corresponding application desktop container to manipulate the application desktop container.
[0025] Preferably, the application desktop container is also used to execute simulation tasks;
[0026] When the application desktop container executes the simulation task, the interaction module sends a stop monitoring instruction of the corresponding application desktop container to the image transmission module in response to the user's exit desktop operation;
[0027] The image transmission module stops the image transmission between the interaction module and the corresponding application desktop container in response to the stop monitoring instruction issued by the interaction module, and the application desktop container continues to execute the simulation task.
[0028] Preferably, the interaction module sends a reset instruction to the application desktop container through the image transmission module in response to the user's end of use operation; the application desktop container resets the corresponding application desktop container to the initial basic environment in response to the reset instruction issued by the interaction module.
[0029] The beneficial effects of the present invention are as follows:
[0030] The present invention provides a unified initial operating environment for joint simulation tests through a desktop configuration module, and implements unified packaging and deployment of heterogeneous tool software through an encapsulation module, which greatly reduces the time of staff deployment and debugging processes, solves the problem of numerous heterogeneous tool software and complex coupling relationships in joint simulation test verification, and implements memory sharing between application desktop containers through a shared storage module, solves the problem of collaborative data interaction between application desktop containers, and greatly improves the efficiency of joint simulation test verification. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The specific implementation modes of the present invention are further described in detail below in conjunction with the accompanying drawings.
[0032] Figure 1 A schematic diagram showing the structure of a desktop application system provided by an embodiment of the present invention is shown.
[0033] Figure 2 A schematic diagram of the structure of container-based lightweight virtualization provided by an embodiment of the present invention is shown.
[0034] Figure 3 A schematic diagram of the structure of traditional virtualization provided by an embodiment of the present invention is shown.
[0035] Figure 4 A schematic diagram of the structure of a shared storage block provided by an embodiment of the present invention is shown.
[0036] Figure 5 A schematic diagram showing the structure of a computer system for implementing the apparatus provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0037] In order to explain the present invention more clearly, the present invention is further described below in conjunction with embodiments and drawings. Similar components in the drawings are represented by the same reference numerals. It should be understood by those skilled in the art that the content specifically described below is illustrative rather than restrictive, and the protection scope of the present invention should not be limited thereto.
[0038] like Figure 1 As shown, an embodiment of the present invention provides a desktop application system for joint simulation experiments, including:
[0039] A desktop configuration module, a packaging module, a shared storage module, an image transmission module, and at least one interaction module;
[0040] A desktop configuration module, used to build at least one lightweight virtualized application desktop container and deploy each application desktop container as an initial basic environment;
[0041] The packaging module is used to package the heterogeneous tool software required for the joint simulation experiment and deploy the packaged heterogeneous tool software on the application desktop container built by the desktop configuration module;
[0042] A shared storage module is used to store data generated by application desktop containers that have deployed heterogeneous tool software in a preset shared storage space, and each application desktop container interacts with data through the shared storage space;
[0043] An image transmission module, used to transmit image data of an active window of an application desktop container to a corresponding interaction module;
[0044] The interactive module is used to control the corresponding application desktop container.
[0045] The present invention provides a unified initial operating environment for joint simulation tests through a desktop configuration module, and implements unified packaging and deployment of heterogeneous tool software through an encapsulation module, which greatly reduces the time of staff deployment and debugging processes, solves the problem of numerous heterogeneous tool software and complex coupling relationships in joint simulation test verification, and implements memory sharing between application desktop containers through a shared storage module, solves the problem of collaborative data interaction between application desktop containers, and greatly improves the efficiency of joint simulation test verification.
[0046] In one possible implementation, Figure 2 As shown, the desktop configuration module is used to build at least one lightweight virtualized application desktop container based on container technology and deploy each application desktop container as an initial basic environment.
[0047] Based on container technology, we build a lightweight virtualized desktop application system environment. We deploy the container operation and management environment on the server, configure the desktop application system, and provide the basic functions of the desktop application system.
[0048] The basic environment uses lightweight virtualization technology based on containers (Docker). Figure 3 As shown in the figure, traditional platform virtualization technologies (such as KVM, XEN, etc.) boot separate virtual systems on simulated hardware and reduce overhead through related mechanisms such as paravirtualization technology. The lightweight virtualization technology of containers (Docker) is a lightweight virtualization that shares the operating system kernel and completely uses the sandbox mechanism without any interface between them. In this article, KVM mainly refers to a kernel virtualization technology, while XEN is an open source virtual machine monitor.
[0049] In a possible implementation, the application desktop container is an application desktop container of a Windows system;
[0050] The encapsulation module encapsulates heterogeneous tool software through the VHD virtual mapping disk encapsulation mode.
[0051] In a possible implementation, the application desktop container is an application desktop container of a Linux system;
[0052] The encapsulation module encapsulates heterogeneous tool software through a container-based encapsulation model.
[0053] Heterogeneous tool software is packaged. For Windows system application software, the virtual disk file (Microsoft Virtual Hard Disk format, VHD) virtual mapping disk packaging mode is adopted. For Linux system application software, the container-based packaging mode is adopted. The packaged tool software is deployed in the desktop application system.
[0054] Among them, VHD virtual mapping disk refers to mapping a local disk or folder directory into a virtual disk drive, and by accessing this virtual mapped mirror disk, you can directly enter the specified folder path. By configuring multiple packaged applications as VHD files and mounting them to the Windows system, you can ensure that commercial application software is quickly deployed to the operating system and realize rapid batch deployment of application software.
[0055] For Linux systems, directly package the application and its dependencies into a portable container.
[0056] In one possible implementation, when conducting a joint simulation test, data interaction between different application desktop containers is required: the joint simulation test requires a large number of tool software, and the heterogeneous tool software needs to be uniformly packaged, deployed and managed, and the tool software is collaboratively simulated, and real-time data interaction is required, that is, the desktop application system is required to support collaboration and data interaction. Based on this, the present disclosure proposes the following technical solutions:
[0057] The shared storage space includes a plurality of shared storage blocks;
[0058] Each shared storage block is used to store data of a preset message topic of data generated by an application desktop container in which heterogeneous tool software has been deployed.
[0059] Preset a shared storage space, establish shared storage, mount the shared storage on the server where the tool software has been deployed, and store the interactive data generated by each system in the designated shared storage area to facilitate data interaction between systems. Figure 4 As shown in the figure. P represents different processors (virtual machines), and Memory represents storage space. The shared storage space consists of multiple shared memory blocks, each of which stores data of a specific message topic. The shared storage forms a user isolation mechanism, and data between different users is managed by permissions, and cannot be obtained without authorization.
[0060] In a possible implementation, the shared storage module further includes a rights management module;
[0061] The permission management module is used to manage the permissions of the application desktop containers used by each user. The application desktop container can only obtain data within the authorization scope of another application desktop container.
[0062] In a possible implementation, the image transmission module is used to transmit the image data of the active window of the application desktop container to the corresponding interaction module based on a lightweight transmission protocol.
[0063] The present disclosure adopts lightweight graphics transmission: during the joint simulation experiment, it is necessary to grasp the simulation running status in real time, and to view the graphical interface of the simulation application running in the background in real time, which puts forward new requirements on the speed and quality of graphics transmission.
[0064] In one possible implementation, the desktop application system further includes a remote application server;
[0065] The interaction module is a remote interaction module, which obtains image data of the active window of the application desktop container through the image transmission module; the remote interaction module is also used to send control information to the remote application server to control the corresponding application desktop container;
[0066] In a specific implementation, the remote interaction module can be a terminal device with remote monitoring function such as a laptop or a mobile phone, which will not be described in detail here. At this time, the desktop configuration module, the encapsulation module, the shared storage module, and the image transmission module are mounted on another server terminal. Taking a laptop as an example, the user uses the laptop to obtain the image data of the active window of the application desktop container through the image transmission module on the server terminal; the user uses the laptop to send control information to the remote application server to control the corresponding application desktop container.
[0067] The interaction module is a local interaction module, which monitors the active window of the corresponding application desktop container through the image transmission module; the interaction module is also used to send control information to the corresponding application desktop container to manipulate the application desktop container.
[0068] In a specific implementation, a local interaction module, a desktop configuration module, a packaging module, a shared storage module, and an image transmission module are configured on a local server terminal. A user uses the local interaction module mounted on the local server to monitor the active window of the corresponding application desktop container through the image transmission module; and directly sends control information to the corresponding application desktop container by controlling the local interaction module to manipulate the application desktop container.
[0069] The image transmission of the active window of the application desktop container based on the lightweight transmission protocol includes: when the image transmission starts, a lightweight graphics server is started, and the active window of the application desktop container is received through the shared storage technology; the active window and graphics are rendered into frames and saved in the shared storage space. The hook technology is used to automatically calculate the active window area that needs to be updated, and only the active window area that needs to be updated is taken out of the memory, and sent to the interaction module for redrawing through encoding compression. On the user's local client, the local active window is monitored in real time. If the current active window is a remote application, the control information (such as keyboard and mouse information) is transmitted to the remote application server in real time to control the remote application. If the current active window is not a remote application, no control information is sent, thereby achieving an interactive experience with low latency and low CPU overhead.
[0070] In one possible implementation, the desktop application system is a remote desktop service model based on cloud computing technology, which transmits the desktop image on the server side to the user's terminal through a transmission protocol. The desktop environment runs on a remote high-performance (cloud) server instead of the local computer used by the user. For the user, the application on the remote server is used just like a local desktop application. This method greatly reduces the hardware and software requirements for the user's client, fully utilizes the resource advantages of high-performance servers, and transmits the software deployed in the server to the user's local computer desktop through an image transmission protocol, providing convenience for the user. However, the simulation running time of the joint simulation test is relatively long. During the running process, the user is allowed to exit the desktop. After exiting, the desktop system status must continue to be retained, that is, the current simulation running status must be maintained. After the training simulation is completed, the user must end the simulation process, and the current desktop system status needs to be reset after the end; therefore, the present disclosure provides the following two running states:
[0071] Exit reservation method:
[0072] The application desktop container is also used to perform simulation tasks;
[0073] When the application desktop container executes the simulation task, the interaction module sends a stop monitoring instruction of the corresponding application desktop container to the image transmission module in response to the user's exit desktop operation;
[0074] The image transmission module stops the image transmission between the interaction module and the corresponding application desktop container in response to the stop monitoring instruction issued by the interaction module, and the application desktop container continues to execute the simulation task.
[0075] Specifically, each user has a fixed desktop, configuration information, and storage space. When the user logs in to the desktop application system next time, the system needs to configure the environment for the user so that the user can get a consistent user experience. During the joint simulation process, the user obtains the remote desktop image through a lightweight transmission protocol, opens the tool software deployed on the server on the local desktop for operation, and after the operation is completed and the simulation is started, the data transfer during the simulation process is realized through the specified shared storage. During the simulation process, the user can exit the desktop system, but the simulation will not be interrupted and will continue to run in the background. After the user ends the simulation, the background automatically resets the desktop system and restores it to its original state to prepare for the next simulation.
[0076] Exit reset method:
[0077] The interaction module sends a reset instruction to the application desktop container through the image transmission module in response to the user's end-of-use operation; the application desktop container responds to the reset instruction sent by the interaction module and resets the corresponding application desktop container to the initial basic environment.
[0078] In the present disclosure, after a user exits the remote desktop application system, the remote server automatically resets the desktop application system and restores it to the initial state by default for the next user or the next use;
[0079] like Figure 5 As shown, a computer system suitable for implementing a desktop application system for a joint simulation test provided by the above-mentioned embodiment includes a central processing module (CPU), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage portion into a random access memory (RAM). In the RAM, various programs and data required for the operation of the computer system are also stored. The CPU, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.
[0080] The following components are connected to the I / O interface: an input part including a keyboard, a mouse, etc.; an output part including a liquid crystal display (LCD), etc. and a speaker, etc.; a storage part including a hard disk, etc.; and a communication part including a network interface card such as a LAN card, a modem, etc. The communication part performs communication processing via a network such as the Internet. A drive is also connected to the I / O interface as needed. Removable media, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., are installed on the drive as needed so that the computer program read therefrom is installed into the storage part as needed.
[0081] In particular, according to this embodiment, the process described in the flowchart above can be implemented as a computer software program. For example, this embodiment includes a computer program product, which includes a computer program tangibly contained on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part, and / or installed from a removable medium.
[0082] The flow chart and schematic diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product of the present embodiment. In this regard, each square box in the flow chart or schematic diagram can represent a part of a module, program segment or code, and a part of the above-mentioned module, program segment or code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the schematic diagram and / or flow chart, and the combination of the square boxes in the schematic diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0083] In the description of the present invention, it should be noted that the terms "upper", "lower", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as a limitation on the present invention. Unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.
[0084] It should also be noted that, in the description of the present invention, relational terms such as first and second, etc., are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0085] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not limitations on the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is impossible to list all the embodiments here. All obvious changes or modifications derived from the technical solution of the present invention are still within the protection scope of the present invention.
Claims
1. A desktop application system for joint simulation experiments, characterized in that: include: A desktop configuration module, a packaging module, a shared storage module, an image transmission module, and at least one interaction module; The desktop configuration module is used to construct at least one lightweight virtualized application desktop container and deploy each of the application desktop containers as an initial basic environment; The packaging module is used to package the heterogeneous tool software required for the joint simulation experiment, and deploy the packaged heterogeneous tool software on the application desktop container constructed by the desktop configuration module; The shared storage module is used to store the data generated by the application desktop container in which the heterogeneous tool software has been deployed in a preset shared storage space, and each application desktop container performs data exchange through the shared storage space; The image transmission module is used to transmit the image data of the active window of the application desktop container to the corresponding interaction module; The interaction module is used to control the corresponding application desktop container.
2. The desktop application system according to claim 1, characterized in that: The desktop configuration module is used to build at least one lightweight virtualized application desktop container based on container technology and deploy each of the application desktop containers as an initial basic environment.
3. The desktop application system according to claim 1, characterized in that: The application desktop container is an application desktop container of the Windows system; The encapsulation module encapsulates the heterogeneous tool software through a VHD virtual mapping disk encapsulation mode.
4. The desktop application system according to claim 1, characterized in that: The application desktop container is an application desktop container of a Linux system; The encapsulation module encapsulates the heterogeneous tool software through a container-based encapsulation mode.
5. The desktop application system according to claim 1, characterized in that: The shared storage space includes a plurality of shared storage blocks; Each of the shared storage blocks is used to store data of a preset message topic of data generated by the application desktop container in which the heterogeneous tool software has been deployed.
6. The desktop application system according to claim 5, characterized in that: The shared storage module also includes a rights management module; The permission management module is used to perform permission management on the application desktop container, and the application desktop container can only obtain data within the authorization scope of another application desktop container.
7. The desktop application system according to claim 1, characterized in that: The image transmission module is used to transmit the image data of the active window of the application desktop container to the corresponding interaction module based on a lightweight transmission protocol.
8. The desktop application system according to claim 1, characterized in that: The desktop application system also includes a remote application server; The interaction module is a remote interaction module, and the remote interaction module obtains the image data of the active window of the application desktop container through the image transmission module; the remote interaction module is also used to send control information to the remote application server to control the corresponding application desktop container; The interaction module is a local interaction module, and the local interaction module monitors the active window of the corresponding application desktop container through the image transmission module; the interaction module is also used to send control information to the corresponding application desktop container to manipulate the application desktop container.
9. The desktop application system according to claim 1, characterized in that: The application desktop container is also used to execute simulation tasks; When the application desktop container executes the simulation task, the interaction module sends a stop monitoring instruction of the corresponding application desktop container to the image transmission module in response to the user's exit desktop operation; The image transmission module stops the image transmission between the interaction module and the corresponding application desktop container in response to the stop monitoring instruction issued by the interaction module, and the application desktop container continues to execute the simulation task.
10. The desktop application system according to claim 1, characterized in that: The interaction module sends a reset instruction to the application desktop container through the image transmission module in response to the user's end-of-use operation; the application desktop container resets the corresponding application desktop container to an initial basic environment in response to the reset instruction issued by the interaction module.
