CN114510849A - Simulation processing method, device, equipment and medium - Google Patents

Simulation processing method, device, equipment and medium Download PDF

Info

Publication number
CN114510849A
CN114510849A CN202210413050.7A CN202210413050A CN114510849A CN 114510849 A CN114510849 A CN 114510849A CN 202210413050 A CN202210413050 A CN 202210413050A CN 114510849 A CN114510849 A CN 114510849A
Authority
CN
China
Prior art keywords
simulation
software
result
model
calling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210413050.7A
Other languages
Chinese (zh)
Inventor
刘春伟
李健增
夏梓峻
牛萌
彭修乾
刘颖超
段莉莉
杨林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
National Supercomputer Center In Tianjin
Original Assignee
National Supercomputer Center In Tianjin
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 National Supercomputer Center In Tianjin filed Critical National Supercomputer Center In Tianjin
Priority to CN202210413050.7A priority Critical patent/CN114510849A/en
Publication of CN114510849A publication Critical patent/CN114510849A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the disclosure relates to a simulation processing method, a simulation processing device, a simulation processing apparatus and a simulation processing medium, wherein the method comprises the following steps: responding to modeling operation, calling modeling software to create a simulation model; calling preprocessing software to set model parameters of the simulation model in response to the parameter setting operation; submitting the simulation model and the model parameters to a preset storage space of a computing system for simulation calculation; and responding to the result viewing operation, calling result viewing software to acquire the simulation result from the preset storage space and displaying the simulation result. According to the embodiment of the invention, the acquisition efficiency of the pre-processing data in the simulation calculation is improved, the data transmission process between the simulation platform and the calculation system in the simulation calculation process is avoided, and the time consumed for checking the result is reduced, so that the simplicity of model parameter adjustment, the efficiency of the simulation calculation and the calculation capacity utilization rate of the calculation system are improved.

Description

Simulation processing method, device, equipment and medium
Technical Field
The present disclosure relates to the field of computer simulation technologies, and in particular, to a simulation processing method, apparatus, device, and medium.
Background
With the continuous development of computer technology, various types of simulation software are applied more and more in various fields, and various types of simulation software can be integrated on one platform for simulation calculation in order to improve the calculation efficiency.
In the related art, when simulation calculation is performed on a simulation platform, generally, a simulation model, initial data uploading and a simulation result downloading need to be performed, and when a problem exists in the simulation result and the simulation result needs to be adjusted, a user needs to repeatedly perform the simulation model, the initial data uploading and the simulation result downloading, so that the calculation efficiency is greatly reduced.
Disclosure of Invention
To solve the technical problem or at least partially solve the technical problem, the present disclosure provides a simulation processing method, apparatus, device, and medium.
The embodiment of the disclosure provides a simulation processing method, which is applied to a simulation platform pre-integrated with modeling software, preprocessing software and result viewing software, and comprises the following steps:
responding to modeling operation, and calling the modeling software to create a simulation model;
calling the preprocessing software to set model parameters of the simulation model in response to parameter setting operation;
submitting the simulation model and the model parameters to a preset storage space of a computing system for simulation calculation;
and responding to a result viewing operation, and calling the result viewing software to acquire and display the simulation result from the preset storage space.
The embodiment of the present disclosure further provides a simulation processing apparatus, which is applied to a simulation platform pre-integrated with modeling software, preprocessing software, and result checking software, and includes:
the model creating module is used for responding to modeling operation and calling the modeling software to create a simulation model;
the parameter setting module is used for responding to parameter setting operation and calling the preprocessing software to set model parameters of the simulation model;
the parameter submitting module is used for submitting the simulation model and the model parameters to a preset storage space of a computing system for simulation calculation;
and the result display module is used for responding to the result viewing operation, calling the result viewing software to acquire the simulation result from the preset storage space and displaying the simulation result.
An embodiment of the present disclosure further provides an electronic device, which includes: a processor; a memory for storing the processor-executable instructions; the processor is used for reading the executable instruction from the memory and executing the instruction to realize the simulation processing method provided by the embodiment of the disclosure.
The embodiment of the disclosure also provides a computer-readable storage medium, which stores a computer program for executing the simulation processing method provided by the embodiment of the disclosure.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages: the simulation processing scheme provided by the embodiment of the disclosure calls modeling software to create a simulation model in response to modeling operation; calling preprocessing software to set model parameters of the simulation model in response to the parameter setting operation; submitting the simulation model and the model parameters to a preset storage space of a computing system for simulation calculation; and responding to the result viewing operation, calling result viewing software to acquire the simulation result from the preset storage space and displaying the simulation result. By adopting the technical scheme, the model creation and the model parameter adjustment can be realized on the simulation platform by integrating a plurality of software on the simulation platform, and the preprocessing function of the simulation calculation is realized through one platform, so that the process that before calculation, a simulation model and model parameters need to be created by other systems and then uploaded to the simulation platform is avoided, and the acquisition efficiency of the preprocessing data is improved; the preset storage space is set in the storage space of the computing system, and the data in the simulation process is stored in the preset storage space, so that the computing system can directly acquire the data in the subsequent simulation computing process for computing, and the data transmission process between the simulation platform and the computing system in the simulation computing process is avoided; the simulation result stored in the preset storage space of the computing system is directly checked through the result checking software, so that the simulation result is prevented from being downloaded to the local for checking, the time consumed for checking the result is reduced, and the utilization rate of the supercomputing system is improved. Moreover, according to the technical scheme, when the model parameters and the like are adjusted according to the simulation result, the simulation model, the uploading operation of the initial data and the downloading operation of the simulation result do not need to be repeatedly carried out, so that the simplicity of the operation of adjusting the model parameters is improved, and the efficiency of simulation calculation and the computational power utilization rate of a calculation system are improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a simulation processing method according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of another simulation processing method provided in the embodiment of the present disclosure;
fig. 3 is a schematic flow chart of another simulation processing method provided in the embodiment of the present disclosure;
fig. 4 is a schematic flow chart of another simulation processing method provided in the embodiment of the present disclosure;
FIG. 5 is a block diagram of a simulation processing system according to an embodiment of the present disclosure;
FIG. 6 is a schematic data processing diagram of a simulation processing system according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a simulation processing apparatus according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
With the continuous development of computer technology, various types of simulation software are applied more and more in various fields, and various types of simulation software can be integrated on one platform for simulation calculation in order to improve the calculation efficiency.
In the related art, when simulation calculation is performed on a simulation platform, generally, a simulation model, initial data uploading and a simulation result downloading need to be performed, and when a problem exists in the simulation result and the simulation result needs to be adjusted, a user needs to repeatedly perform the simulation model, the initial data uploading and the simulation result downloading, so that the calculation efficiency is greatly reduced.
In order to solve the above problem, embodiments of the present disclosure provide a simulation processing method, which is described below with reference to specific embodiments.
Fig. 1 is a schematic flowchart of a simulation processing method provided in an embodiment of the present disclosure, where the method may be executed by a simulation processing apparatus, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 1, the method is applied to a simulation platform integrated with modeling software, preprocessing software and result viewing software in advance, and includes:
step 101, responding to modeling operation, calling modeling software to create a simulation model.
In the embodiment of the present disclosure, the simulation processing method may be applied to a simulation platform into which modeling software, preprocessing software, and result viewing software are integrated in advance. The modeling software can be used for building a simulation model, and the modeling software can be set according to user requirements and the like, which is not limited in this embodiment, for example, the modeling software may be Computer Aided Design (CAD). Wherein the simulation model is the basis for subsequent simulation calculation. The preprocessing software can set parameters of the simulation model in the process of simulation calculation, and the parameters can be set according to the type of the simulation model, user requirements and the like. The result viewing software can display the simulation result in a visual form, for example, if the simulation calculation is thermodynamic simulation calculation, the result viewing software can view a thermodynamic cloud chart; if the simulation calculation is the object stress simulation, the video or the image of the object stress deformation process can be checked through the result checking software. Optionally, the simulation platform has a corresponding server, and the server of the simulation platform can be arranged at the cloud, so that cloud arrangement is also realized for modeling software, preprocessing software and result checking software integrated on the simulation platform. The modeling operation may be an operation performed by a user in order to build a simulation model.
In this embodiment, a user may perform a modeling operation through the simulation platform, and the simulation platform sends a modeling software call instruction according to the modeling operation of the user, and calls the modeling software to create a simulation model corresponding to the modeling operation. It should be noted that, if the modeling software is disposed in the cloud, the modeling operation is implemented on line, thereby reducing the requirement for the local hardware environment.
Illustratively, invoking modeling software to create a simulation model may include: modeling software is launched in a container in a computing system to create a simulation model based on container technology. The data among the containers in the container technology are isolated from each other, and the resources of the computing system can be divided into the containers which are isolated from each other through the container technology, so that the data isolation among different users is realized.
And 102, responding to the parameter setting operation, and calling preprocessing software to set model parameters of the simulation model.
Wherein the parameter setting operation is an operation performed by a user in order to set model parameters in the simulation model. The model parameters are parameters related to simulation calculation in the simulation model, and the model parameters may be set according to the type of the simulation model, user requirements, and the like.
In this embodiment, a user may perform a parameter setting operation through the simulation platform, and the simulation platform sends a pre-processing software calling instruction according to the parameter setting operation of the user, and calls the pre-processing software to set a model parameter of the simulation model corresponding to the parameter setting operation.
Illustratively, the invoking of the preprocessing software sets model parameters of the simulation model, including: a preprocessing software is started in a container in a computing system based on container technology to set model parameters of a simulation model.
And 103, submitting the simulation model and the model parameters to a preset storage space of the computing system for simulation calculation.
The computing system is a system capable of performing simulation computation, and the computing system may be set according to an application scenario, and this embodiment is not limited, for example, the computing system may be a supercomputing system. The preset storage space is a part of the storage space divided in the computing system, and the number, size, and the like of the preset storage space may be set according to user requirements, resources required by simulation computation, and the like, which is not limited in this embodiment.
Specifically, after the simulation model and the model parameters are determined, the simulation model and the model parameters may be submitted to a preset storage space of the computing system, so that the simulation calculation is performed in the preset storage space based on the simulation model and the model parameters.
In some embodiments, when performing the simulation calculation, the computing system obtains the simulation model and the model parameters from the preset storage space to perform the simulation calculation, and stores the simulation result in the preset storage space. Wherein the computing system comprises a supercomputing system.
Specifically, in this embodiment, the simulation platform may provide a simulation solution parameter setting page to the user, the user sets the simulation solution parameters on the simulation solution parameter setting page, and the simulation platform obtains the simulation solution parameters and sends the simulation solution parameters to the computing system. The simulation solving parameters are related to simulation calculation, and may be set according to an application scenario, which is not limited in this embodiment, for example, the simulation solving parameters may include simulation calculation iteration times, a preset threshold value for detecting an abnormal simulation, and the like. Furthermore, the computing system can acquire the simulation solving parameters sent by the simulation platform, acquire the simulation model and the model parameters from the preset storage space, perform simulation calculation on the simulation model and the model parameters based on the simulation solving parameters, and store the acquired simulation result in the preset storage space. Because the preset storage space is accessed to the simulation platform, data interaction between the computing system and the simulation platform can be realized through the preset storage space, so that the phenomenon that data is uploaded or downloaded in a long time is avoided.
It should be noted that, in the above embodiment, the preset storage space belongs to a computing system and is connected to a simulation platform, so that when performing simulation computation, the computing system may obtain a simulation model and model parameters from the preset storage space, thereby avoiding uploading the simulation model and model parameters to the computing system locally, the computing system performs simulation computation according to the simulation model and model parameters to obtain a simulation result and stores the simulation result in the preset storage space, and the simulation platform may obtain the simulation result from the preset storage space, thereby avoiding downloading the simulation result from the computing system. Thus, upload and download operations from local to the computing system are avoided, saving time spent on the simulation calculations.
And 104, responding to the result viewing operation, calling result viewing software to acquire the simulation result from the preset storage space and displaying the simulation result.
The result viewing operation is a trigger operation performed by the user to view the simulation result, and specifically the result viewing operation may include a gesture control operation (such as a click, a long press, a double click, and the like), a voice control operation, and the like, which is not limited in this embodiment. The simulation result is obtained by the computing system performing simulation calculation according to the simulation model, the model parameters corresponding to the simulation model, and the simulation solving parameters, and the simulation result is stored in a preset storage space, the simulation result of the embodiment of the present disclosure may be a result that can be directly opened and browsed by result viewing software, and the specific format of the simulation result is not limited, for example: the format of the simulation result may include a picture format and/or a video format, etc.
Specifically, a user can perform result viewing operation through the simulation platform, the simulation platform responds to the result viewing operation of the user and sends a result viewing software calling instruction, so that the result viewing software is called to obtain a simulation result from a preset storage space, and the simulation result is displayed through formats such as pictures and videos. For example, after the pressure simulation calculation is finished, the user may click a result viewing button on the simulation platform, and the simulation platform invokes the result viewing software to display the image of the object stressed process to the user in response to the click operation.
Illustratively, invoking the result viewing software to obtain the simulation result from the preset storage space and displaying the simulation result, including: and starting result viewing software in a container in the computing system based on the container technology to obtain the simulation result from the preset storage space and display the simulation result.
In the embodiment, the simulation result is displayed in the format of picture or video, so that the process of large data volume of the simulation result can be omitted, and the time consumed by simulation processing is further saved.
The simulation processing method provided by the embodiment of the disclosure calls modeling software to create a simulation model in response to modeling operation; calling preprocessing software to set model parameters of the simulation model in response to the parameter setting operation; submitting the simulation model and the model parameters to a preset storage space of a computing system for simulation calculation; and responding to the result viewing operation, calling result viewing software to acquire the simulation result from the preset storage space and displaying the simulation result. By adopting the technical scheme, the model creation and the model parameter adjustment can be realized on the simulation platform by integrating a plurality of software on the simulation platform, and the preprocessing function of the simulation calculation is realized through one platform, so that the process that before calculation, a simulation model and model parameters need to be created by other systems and then uploaded to the simulation platform is avoided, and the acquisition efficiency of the preprocessing data is improved; the preset storage space is set in the storage space of the computing system, and the data in the simulation process is stored in the preset storage space, so that the computing system can directly acquire the data in the subsequent simulation computing process for computing, and the data transmission process between the simulation platform and the computing system in the simulation computing process is avoided; the simulation result stored in the preset storage space of the computing system is directly checked through the result checking software, so that the simulation result is prevented from being downloaded to the local for checking, the time consumed for checking the result is reduced, and the utilization rate of the supercomputing system is improved. Moreover, according to the technical scheme, when the model parameters and the like are adjusted according to the simulation result, the simulation model, the uploading operation of the initial data and the downloading operation of the simulation result do not need to be repeatedly carried out, so that the simplicity of the operation of adjusting the model parameters is improved, and the efficiency of simulation calculation and the computational power utilization rate of a calculation system are improved.
In some embodiments, the modeling software, the preprocessing software and the result viewing software belong to visualization software, and are integrated in the simulation platform by means of a virtual network console.
In this embodiment, the modeling software, the preprocessing software, and the result viewing software can all realize corresponding functions through a visualization method. A Virtual Network Console (VNC) can be understood as a tool software capable of implementing remote control, and the Virtual Network Console may include a main control end and a controlled end, where the main control end can control the controlled end, and a user can remotely control a service end that actually runs a visual software on a simulation platform through the Virtual Network Console.
Specifically, a user can remotely control the modeling software, the preprocessing software and the result viewing software by using a virtual network console on the simulation platform, so that the three kinds of visualization software can be used on the simulation platform.
Optionally, the invoking visualization software in the above embodiment includes: visualization software is launched in a container in a computing system based on container technology.
The container technology can divide resources of an operating system into isolated groups, so that environmental isolation among the groups is realized, wherein one group can be understood as a container, and the environmental isolation exists among the containers. In the embodiment, one visualization software can be started in one container, so that the environment isolation among the visualization software is realized. Thereby ensuring the full utilization of bottom layer resources, isolating the environment between visual software and ensuring the data security of users
Fig. 2 is a schematic flow chart of another simulation processing method according to an embodiment of the present disclosure, and as shown in fig. 2, in some embodiments, starting visualization software in a container in a computing system based on a container technology may include the following steps:
step 201, sending a call request of the visualization software to a server of the simulation platform, so that the server starts a container in the computing system through a software service interface and opens the visualization software in the container, and a first access address of the container is converted into a second access address.
In this embodiment, the first access address is an address of a container in the computing system, and the first access address is an access address that can be recognized inside the computing system, so that the emulation platform cannot directly recognize the first access address, and therefore the first access address needs to be converted, so as to obtain a second access address that can be accessed by the emulation platform.
The calling request is used for requesting the server side of the simulation platform to acquire a second access address corresponding to the visual software. The simulation platform server can receive a visual software calling request and respond to the request to generate a second access address corresponding to the visual software. The software service interface can be understood as an interface which is arranged in the server and can be called by the simulation platform, and after the software service interface is called, the container can be started and the visual software corresponding to the calling request can be opened in the container.
Specifically, if a user starts the visual software on the simulation platform, the simulation platform sends a visual software calling request to a server corresponding to the simulation platform, the server responds to the calling request and calls a software service interface, the visual software service interface starts a container for the visual software, the visual software is opened in the container, and in order to enable the simulation platform to access the container, the server of the simulation platform converts a first access address of the container into a second access address.
In an optional implementation mode, the visualization software started in one container is used by one user, so that data isolation between users is realized through a container technology, data leakage of the users is prevented, and the safety of user data is improved.
Step 202, a second access address of the container sent by the server is obtained.
And the server side of the simulation platform sends a second access address to the simulation platform, and the simulation platform acquires the second simulation address.
And step 203, opening the second access address in an inline nesting mode, so that the network module of the server corresponds the second access address to the first access address in a reverse proxy mode, and starting the visualization software.
In the method, inline nesting is also called inline frame (iframe), one inline frame is used for embedding another webpage in a current webpage, namely, pages provided by other frames can be nested and displayed in the inside of one page. The network module can provide network services for the simulation platform. Through the reverse proxy, the user can obtain the resource of the target server by accessing the reverse proxy server, and in this embodiment, the user can obtain the resource in the corresponding container by accessing the network module.
Specifically, the simulation platform opens the second access website in an inline nesting manner, the network module corresponding to the server of the simulation platform corresponds the second access address to the first access address in a reverse proxy manner, so as to be positioned on the container corresponding to the network module, and the visualization software on the container is opened, so that the visualization software is started in the simulation platform, and the user can also perform related operations on the visualization software through the simulation platform.
The above steps are illustrated by a specific embodiment: specifically, when the visual software is started on the simulation platform, a software service interface of the visual software is called by the simulation platform, the software service interface starts a container for the corresponding visual software, then a first access address corresponding to the container is sent to the rear end of the simulation platform through the visual interface, the visual software is started in the container, the container address returned by the visual interface is converted by the rear end of the simulation platform to obtain a second access address accessible by the simulation platform, the second access address is returned to the front end of the simulation platform, the second access address is opened by the front end of the simulation platform through an iframe mode, a network module corresponding to the simulation platform corresponds the second access address to the first access address through a reverse proxy mode, and therefore starting and subsequent operations of the visual software on the front end of the simulation platform are achieved.
The simulation processing method provided by the embodiment of the disclosure can improve the utilization rate of bottom layer resources based on the container technology, and ensures that the user software environments are isolated from each other and the user data are isolated from each other, thereby improving the security of the user data and preventing the user data from being leaked. And the visual software is integrated in the simulation platform in a virtual network console mode, and a user can start the visual software through the simulation platform, so that the occupancy rate of the visual software on local resources is reduced.
Fig. 3 is a schematic flow chart of another simulation processing method provided in the embodiment of the present disclosure, as shown in fig. 3, based on the foregoing embodiments, in some embodiments, the method may further include:
step 301, when the current visualization software is called, calling a backend interface to acquire the number of opened visualization software.
The current visualization software is the visualization software which is called by the current request of the user. The backend interface is used to obtain the amount of visualization software that has been opened.
It will be appreciated that a user may have invoked one or more visualization software before the user requests to invoke the current visualization software, and thus the number of visualization software that is turned on may be limited in order to prevent over-utilization of the underlying resources. In an optional implementation manner, the number of started visual software may be counted by using a backend interface function, and when the current visual software is called, the backend interface is called to obtain the number of started visual software counted by the backend interface function, so as to obtain the number of visual software that has been opened.
Step 302, judging whether the number of the opened visualization software is larger than or equal to a number threshold value, if not, executing step 303; if yes, go to step 304.
The number threshold is used to limit the number of the opened visualization software, and the number threshold may be set according to the size of the preset storage space, the number of users, and the like, which is not limited in this embodiment, for example, the number threshold may be set to 2.
Specifically, whether the number of currently opened visualization software is greater than or equal to a number threshold is judged, and if the number of currently opened visualization software is not greater than or equal to the number threshold, it is indicated that the current visualization software can be started in the current resource environment; if the quantity is larger than or equal to the quantity threshold value, the current visualization software cannot be started under the current resource environment
Step 303, the current visualization software is started.
And if the number of the opened visualization software is not larger than or equal to the number threshold, starting the current visualization software. For example, assuming that the number threshold is 2, if the number of pieces of visualization software that have already been opened is 1, 1 is not greater than or equal to 2, and thus the current visualization software is started.
And step 304, refusing to start the current visualization software and displaying prompt information.
The prompt information is used to prompt a user that the current visualization software cannot be started, the types of the prompt information are various, and the embodiment is not limited, for example, the prompt information may be a pop-up window type, or the prompt information may be a voice prompt type.
If the number of the opened visualization software is larger than or equal to the number threshold, the number of the currently opened visualization software reaches the upper limit, so that the current visualization software is refused to be started, and prompt information is displayed to a user. For example, assuming that the number threshold is 2, if the number of the opened visualization software is 2, 2 is equal to the number threshold, so that the current visualization software is rejected from being started and the prompt message is displayed through the pop-up window.
Step 305, displaying the closing key of the opened visualization software.
The closing key is used for closing the visual software corresponding to the closing key. The closed cases may correspond to the opened visualization software one by one, or one closed key may correspond to a plurality of opened visualization software.
Specifically, a closing button of the opened visual software may be displayed on an interface of a popup window, a webpage, or other prompt information. For example, the names of the opened visualization software may be displayed on the prompt information interface, and the closing keys corresponding to one another are displayed beside the software names, or the names of the opened visualization software may be displayed on the prompt information interface, and the closing keys corresponding to all the opened visualization software may be displayed.
And step 306, responding to the triggering operation of the closing key, closing one or all of the opened visualization software, and starting the current visualization software.
The triggering operation is used for triggering the closing key, so that the corresponding opened visual software is closed. The trigger operation may be set according to an application scenario, and the embodiment is not limited, for example, the trigger operation may be a click operation, a voice control operation, and the like.
Specifically, a user can trigger a closing key on the simulation platform according to own requirements, the simulation platform responds to the triggering operation of the closing key, closes one or all of the opened visual software according to the corresponding relation between the closing key and the opened visual software, and the number after closing is less than a number threshold, so that the current visual software which the user requests to open can be started. For example, if the close key corresponds to the opened visualization software one by one, the visualization software corresponding to the close key triggered by the user is closed, or if the close key corresponds to all the opened visualization software, all the visualization software is closed.
In an optional implementation manner, all the visualization software may be closed when the user closes the browser where the simulation platform is located, or the corresponding visualization software may be closed when the user closes the browser paging where the visualization software is located, so that the visualization software is closed in time when the user does not use the visualization software, resources are released in time by a method that the user does not perceive, and waste of bottom layer resources is avoided.
According to the simulation processing method provided by the embodiment of the disclosure, whether the current visualization software can be started or not can be judged according to the quantity threshold and the quantity of the opened visualization software, so that excessive use of bottom-layer resources is avoided.
In some embodiments, the method further comprises: and responding to the parameter adjusting operation, and calling preprocessing software to adjust the model parameters.
Specifically, after the user obtains the simulation result, the model parameters may need to be adjusted based on the simulation result, and corresponding parameter adjustment operation is performed, and the simulation platform calls preprocessing software to adjust the model parameters in response to the parameter adjustment operation of the user, so that online adjustment of the model parameters is realized. For example, when a user needs to change a model parameter of the simulation model, a parameter adjustment operation may be performed through the simulation platform, and the simulation platform starts the preprocessing software in a container to perform a corresponding parameter change on the simulation model in response to the parameter adjustment operation.
In the related art, if a user obtains a simulation result and adjusts the model parameters according to the needs of the user, the simulation result needs to be downloaded, the model parameters need to be adjusted, and then the model parameters and the simulation model need to be uploaded. The simulation processing method provided by the embodiment of the disclosure can realize the adjustment of the model parameters on the simulation platform, thereby avoiding the repeated uploading and downloading operations, and improving the efficiency of simulation calculation
Next, the simulation processing method in the embodiment of the present disclosure is further explained by a specific example. Exemplarily, fig. 4 is a schematic flowchart of another simulation processing method provided in the embodiment of the present disclosure, and as shown in fig. 4, the method includes:
step 401, integrating the visualization software on the simulation platform.
Modeling software, preprocessing software and result viewing software are integrated into a simulation platform in a mode of mutual matching of VNC and container technology, and the simulation platform is deployed at a cloud end, so that online operation on visual software is realized.
And 402, building a simulation model on line by using modeling software on the simulation platform.
And 403, setting simulation model parameters on line by using preprocessing software on the simulation platform.
For example: pressure parameter setting or stress surface setting and the like are carried out.
And 404, extracting simulation solving parameters, configuring the simulation solving parameters on a simulation platform, and submitting the simulation solving parameters to a supercomputing platform by the simulation platform in a parameterization mode for simulation calculation.
And step 405, checking the simulation result on line by using result checking software on the simulation platform.
For example: checking thermal cloud pictures, checking a model stress deformation process and the like.
And 406, limiting the number of opened visual software of the user by the simulation platform in a front-end and back-end matching mode. Thereby preventing waste of underlying resources.
Fig. 5 is a schematic diagram of a framework of a simulation processing system according to an embodiment of the present disclosure, and as shown in fig. 5, the simulation processing system includes: the system comprises a simulation platform, modeling software, preprocessing software, result viewing software, a preset storage space and a computing system.
Specifically, the number of the modeling software, the preprocessing software and the result viewing software is not limited in this example, the modeling software, the preprocessing software and the result viewing software may be integrated on the simulation platform through NVC, the three kinds of visualization software and the computing system share a preset storage space, and the simulation solving parameters may be transmitted to the computing system through the simulation platform.
Exemplarily, fig. 6 is a data processing schematic diagram of a simulation processing system according to an embodiment of the present disclosure, as shown in fig. 6: the method comprises the steps that a computing system generates a simulation result, the simulation result is stored in a preset storage space in a picture stream mode, the picture stream comprises a plurality of simulation result screenshots, result viewing software can read the simulation result from the preset storage space, the simulation result is displayed to a user, when model parameters of a simulation model are adjusted, model parameters needing to be adjusted can be obtained according to visual software, the simulation model in the preset storage space is adjusted according to the model parameters, and the adjusted simulation model is input into the computing system to be computed.
According to the simulation processing method provided by the embodiment of the disclosure, the information interaction between the computing system and the result checking software is performed through the preset storage space, so that when a user adjusts model parameters and the like for multiple times according to simulation results, the repeated uploading of model data and the downloading of the simulation results are avoided, and the efficiency of simulation calculation and the utilization rate of computational power are improved. And modeling is carried out through modeling software, so that online modeling operation is realized, the requirement on a local hardware environment is reduced, and the process of uploading the simulation model from offline to online is omitted. By using a container technology, visual software is started in a container, so that the bottom layer resources are fully utilized, data among the visual software started by different users are isolated from each other, and the data security of the users is ensured. The number of visualization software that a single user may turn on is limited by a number threshold and/or the visualization software associated with a browser is automatically turned off when the browser is closed, thereby preventing waste of underlying resources and exceeding limits. Meanwhile, the simulation result can be displayed in a screenshot form, the loading time of the simulation model is saved, particularly for a supercomputing system, the data volume of the simulation result is usually large, and therefore the model loading time can be greatly saved
Fig. 7 is a schematic structural diagram of a simulation processing apparatus according to an embodiment of the present disclosure, where the apparatus 700 may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 7, the apparatus is applied to a simulation platform previously integrated with modeling software, preprocessing software, and result viewing software, and includes:
a model creating module 701, configured to invoke the modeling software to create a simulation model in response to a modeling operation;
a parameter setting module 702, configured to invoke the preprocessing software to set model parameters of the simulation model in response to a parameter setting operation;
a parameter submitting module 703, configured to submit the simulation model and the model parameters to a preset storage space of a computing system for simulation calculation;
and a result displaying module 704, configured to, in response to a result viewing operation, invoke the result viewing software to obtain a simulation result from the preset storage space and display the simulation result.
In an optional implementation manner, the modeling software, the preprocessing software, and the result viewing software all belong to visualization software, and the modeling software, the preprocessing software, and the result viewing software are integrated in the simulation platform by way of a virtual network console.
In an optional embodiment, the model creating module 701, the parameter setting module 702, and the result displaying module 704 include a visualization software calling module, configured to call visualization software, where the visualization software calling module includes:
a software calling unit for starting the visualization software in a container in the computing system based on a container technology.
In an optional implementation manner, the software calling unit is configured to:
sending a calling request of the visualization software to a server of the simulation platform, so that the server starts a container in the computing system through a software service interface, opens the visualization software in the container, and converts a first access address of the container into a second access address;
acquiring a second access address of the container sent by the server;
and opening the second access address in an inline nesting mode, so that the network module of the server corresponds the second access address to the first access address in a reverse proxy mode, and starting the visualization software.
In an alternative embodiment, the apparatus further comprises:
the interface calling module is used for calling a rear-end interface to acquire the number of opened visual software when the current visual software is called;
and the refusing starting module is used for refusing to start the current visualization software and displaying prompt information when the number of the opened visualization software is greater than or equal to a number threshold value.
In an optional embodiment, the apparatus further comprises
The key display module is used for displaying a closing key of the opened visual software;
and the software closing module is used for responding to the triggering operation of the closing key, closing one or all of the opened visualization software and starting the current visualization software.
In an alternative embodiment, the apparatus further comprises:
and the parameter adjusting module is used for responding to parameter adjusting operation and calling the preprocessing software to adjust the model parameters.
In an optional implementation manner, the computing system obtains the simulation model and the model parameters from the preset storage space to perform simulation calculation, and stores a simulation result in the preset storage space, and the computing system includes a supercomputing system.
The simulation processing device provided by the embodiment of the disclosure can execute the simulation processing method provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 8, an electronic device 800 includes one or more processors 801 and memory 802.
The processor 801 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 800 to perform desired functions.
Memory 802 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium and executed by the processor 801 to implement the simulation processing methods of the embodiments of the present disclosure described above and/or other desired functions. Various contents such as an input signal, a signal component, a noise component, etc. may also be stored in the computer-readable storage medium.
In one example, the electronic device 800 may further include: an input device 803 and an output device 804, which are interconnected by a bus system and/or other form of connection mechanism (not shown).
The input device 803 may also include, for example, a keyboard, a mouse, and the like.
The output device 804 may output various information including the determined distance information, direction information, and the like to the outside. The output devices 804 may include, for example, a display, speakers, a printer, and a communication network and its connected remote output devices, among others.
Of course, for simplicity, only some of the components of the electronic device 800 relevant to the present disclosure are shown in fig. 8, omitting components such as buses, input/output interfaces, and the like. In addition, electronic device 800 may include any other suitable components depending on the particular application.
In addition to the above methods and apparatus, embodiments of the present disclosure may also be a computer program product comprising computer program instructions that, when executed by a processor, cause the processor to perform the simulation processing method provided by embodiments of the present disclosure.
The computer program product may write program code for carrying out operations for embodiments of the present disclosure in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present disclosure may also be a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, cause the processor to perform the simulation processing method provided by embodiments of the present disclosure.
The computer-readable storage medium may take any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present disclosure, which enable those skilled in the art to understand or practice the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A simulation processing method is applied to a simulation platform which is integrated with modeling software, preprocessing software and result viewing software in advance, and comprises the following steps:
in response to a modeling operation, calling the modeling software to create a simulation model;
calling the preprocessing software to set model parameters of the simulation model in response to parameter setting operation;
submitting the simulation model and the model parameters to a preset storage space of a computing system for simulation calculation;
and responding to a result viewing operation, and calling the result viewing software to acquire and display the simulation result from the preset storage space.
2. The method of claim 1, wherein the modeling software, the preprocessing software, and the result viewing software are all visualization software, and the modeling software, the preprocessing software, and the result viewing software are integrated in the simulation platform by way of a virtual network console.
3. The method of claim 2, wherein invoking visualization software comprises:
launching the visualization software in a container in the computing system based on container technology.
4. The method of claim 3, wherein the container-based technique launching the visualization software in a container in the computing system comprises:
sending a calling request of the visualization software to a server of the simulation platform, so that the server starts a container in the computing system through a software service interface, opens the visualization software in the container, and converts a first access address of the container into a second access address;
acquiring a second access address of the container sent by the server;
and opening the second access address in an inline nesting mode, so that the network module of the server corresponds the second access address to the first access address in a reverse proxy mode, and starting the visualization software.
5. The method of claim 2, further comprising:
when the current visualization software is called, calling a back-end interface to acquire the number of opened visualization software;
and when the number of the opened visualization software is larger than or equal to a number threshold value, refusing to start the current visualization software and displaying prompt information.
6. The method of claim 5, wherein after denying the current visualization software from being launched and presenting the reminder information, the method further comprises
Displaying a closing key of the opened visual software;
and in response to the triggering operation of the closing key, closing one or all of the opened visualization software and starting the current visualization software.
7. The method of claim 1, further comprising:
and responding to parameter adjustment operation, and calling the preprocessing software to adjust the model parameters.
8. A simulation processing device is applied to a simulation platform which is integrated with modeling software, preprocessing software and result viewing software in advance, and comprises:
the model creating module is used for responding to modeling operation and calling the modeling software to create a simulation model;
the parameter setting module is used for responding to parameter setting operation and calling the preprocessing software to set model parameters of the simulation model;
the parameter submitting module is used for submitting the simulation model and the model parameters to a preset storage space of a computing system for simulation calculation;
and the result display module is used for responding to the result viewing operation, calling the result viewing software to acquire the simulation result from the preset storage space and displaying the simulation result.
9. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing the processor-executable instructions;
the processor is used for reading the executable instructions from the memory and executing the instructions to realize the simulation processing method of any one of the claims 1 to 7.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program for executing the simulation processing method of any one of claims 1 to 7.
CN202210413050.7A 2022-04-20 2022-04-20 Simulation processing method, device, equipment and medium Pending CN114510849A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210413050.7A CN114510849A (en) 2022-04-20 2022-04-20 Simulation processing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210413050.7A CN114510849A (en) 2022-04-20 2022-04-20 Simulation processing method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN114510849A true CN114510849A (en) 2022-05-17

Family

ID=81555159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210413050.7A Pending CN114510849A (en) 2022-04-20 2022-04-20 Simulation processing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN114510849A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116186806A (en) * 2023-02-17 2023-05-30 华中科技大学 Sheet metal forming simulation intelligent analog driving pretreatment system, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190037173A1 (en) * 2016-02-02 2019-01-31 Samsung Electronics Co., Ltd. Method and apparatus for providing image service
CN109472092A (en) * 2018-11-13 2019-03-15 中国人民解放军国防科技大学 Scientific research and engineering numerical simulation system and method based on cloud computing
CN111708595A (en) * 2020-06-11 2020-09-25 湖北美和易思教育科技有限公司 Remote interactive cooperation method and device based on visual interface

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190037173A1 (en) * 2016-02-02 2019-01-31 Samsung Electronics Co., Ltd. Method and apparatus for providing image service
CN109472092A (en) * 2018-11-13 2019-03-15 中国人民解放军国防科技大学 Scientific research and engineering numerical simulation system and method based on cloud computing
CN111708595A (en) * 2020-06-11 2020-09-25 湖北美和易思教育科技有限公司 Remote interactive cooperation method and device based on visual interface

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116186806A (en) * 2023-02-17 2023-05-30 华中科技大学 Sheet metal forming simulation intelligent analog driving pretreatment system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
JP6740373B2 (en) Page component dynamic layout
US11144711B2 (en) Webpage rendering method, device, electronic apparatus and storage medium
CN108512710B (en) Test method based on test tool and test tool
CN108388515B (en) Test data generation method, device, equipment and computer readable storage medium
CN107463563B (en) Information service processing method and device of browser
WO2014139300A1 (en) Method and device for loading a plug-in
CN107329748B (en) API development management method and system, server and computer-readable storage medium
WO2024011899A1 (en) Widget loading method and apparatus, device, and storage medium
CN114047960A (en) Operating system running method and device, electronic equipment and storage medium
CN114510849A (en) Simulation processing method, device, equipment and medium
CN111079048B (en) Page loading method and device
CN115698986A (en) File upload modification of client applications
CN103377194A (en) Method, device and browser for accelerating access to web pages
CN108345683A (en) Webpage display process, device, terminal and storage medium
CN112527424A (en) Control method and device for popup window
CN114586007B (en) Automatic assistant architecture for maintaining privacy of application content
CN113835929A (en) Data acquisition method and device, electronic equipment and storage medium
CN114253878A (en) Universal method and device for accessing browser to peripheral
CN115220803A (en) Data processing method and equipment
CN108874390B (en) Data processing method and device, equipment and storage medium
CN112069132A (en) Attachment online preview method, device, equipment and medium
US10635851B2 (en) Virtualized server side rendering
US20150339492A1 (en) Protecting user privacy from intrusive mobile applications
CN117093800B (en) PDF batch output method and device for network asset data report and electronic equipment
CN110808954B (en) Display method, device and system of timer component

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220517

RJ01 Rejection of invention patent application after publication