CN-122021092-A - Method, device, equipment and storage medium for realizing distributed numerical simulation system
Abstract
The application relates to the technical field of cloud computing, and discloses a method, a device, equipment and a storage medium for realizing a distributed numerical simulation system, wherein the method comprises the following steps: creating a system container template through a cloud computing technology, creating a plurality of system containers according to the system container template, installing basic software components required by interactive computing to obtain an interactive computing environment, installing a multi-physical-field numerical simulator in the system container of the interactive computing environment, and configuring an encryption protocol through a reverse proxy to realize a distributed numerical simulation system. The application creates the system container template by utilizing the cloud computing technology, generates a plurality of system containers, installs the basic software component to construct the interactive computing environment, deploys the multi-physical-field numerical simulator on the basis, realizes the distributed numerical simulation system by the reverse proxy and the encryption protocol, enhances the interactivity and the safety of the simulation system, and improves the numerical simulation processing efficiency.
Inventors
- DU GUANGLIN
- FANG CHAOHE
- WANG SHEJIAO
- MO SHAOYUAN
- HAO SIYING
Assignees
- 中石油深圳新能源研究院有限公司
- 中国石油天然气股份有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20241112
Claims (10)
- 1. A method for implementing a distributed numerical simulation system, the method comprising the steps of: creating a system container template through a cloud computing technology, and creating a plurality of system containers according to the system container template; installing basic software components required by interactive computing to obtain an interactive computing environment; And installing a multi-physical-field numerical simulator in the system container of the interactive computing environment, and configuring an encryption protocol through a reverse proxy to realize a distributed numerical simulation system.
- 2. The method for implementing a distributed numerical simulation system according to claim 1, wherein the step of installing a multi-physical-field numerical simulator in the system container of the interactive computing environment and configuring an encryption protocol through a reverse proxy to implement a distributed numerical simulation system comprises: Installing a multi-physical field numerical simulator in the system container of the interactive computing environment; verifying the installation information of the multi-physical-field numerical simulator, obtaining a verification result, and adjusting and updating the multi-physical-field numerical simulator according to the verification result; generating a reverse proxy node by copying the system container template, and configuring the reverse proxy after installing the reverse proxy based on the reverse proxy node; switching the non-encryption protocol of the interactive computing environment into an encryption protocol of external service according to preset configuration information; and exposing the system service to the target user on the reverse proxy node to realize the distributed numerical simulation system.
- 3. The method of claim 2, wherein the step of exposing system services to target users at the reverse proxy node to implement the distributed numerical simulation system comprises: Defining a matching rule of a specific path on the reverse proxy node; And forwarding the request of the specific path to a system actual address according to the matching rule, and setting full duplex communication protocol support based on a transmission protocol.
- 4. The method of claim 1, wherein the step of installing the base software components required for the interactive computing to obtain the interactive computing environment comprises: after logging in the system container through a default user, creating a special new user of the interactive computing environment, and setting the special new user authority as a super user management authority; After logging in the system container through the special new user, installing basic software components required by interactive calculation; and configuring and testing the basic software component to obtain an interactive computing environment.
- 5. The method of claim 4, wherein configuring and testing the base software component to obtain an interactive computing environment comprises: Generating a configuration file based on the basic software component, and modifying key configuration items of the configuration file according to configuration requirements; configuring the basic software component according to the configuration file and the file built-in description; after the base software component passes the test, an interactive computing environment is obtained.
- 6. The method for implementing a distributed numerical simulation system according to any one of claims 1 to 5, wherein the steps of installing a multi-physical field numerical simulator in the system container of the interactive computing environment and configuring an encryption protocol by a reverse proxy, after implementing a distributed numerical simulation system, further comprise: after receiving a calculation request, estimating the calculation scale of the calculation request; And evaluating the required calculation force according to the calculation scale, and matching corresponding high-performance calculation nodes in the distributed numerical simulation system based on the required calculation force to process the calculation request.
- 7. The method for implementing a distributed numerical simulation system according to any one of claims 1 to 5, wherein the steps of installing a multi-physical field numerical simulator in the system container of the interactive computing environment and configuring an encryption protocol by a reverse proxy, after implementing a distributed numerical simulation system, further comprise: performing online post-processing on the two-dimensional graph and the three-dimensional graph of the smaller-scale data body through a lightweight drawing component in the distributed numerical simulation system; Invoking a high-performance visual processing node in the distributed numerical simulation system according to a client-server mode, and performing post-processing on a three-dimensional graph of a big data body through the high-performance visual processing node to obtain a big data body post-processing result; and storing the big data volume and the post-processing result of the big data volume into a network additional storage and/or a storage area network.
- 8. A distributed numerical simulation system implementation apparatus, wherein the distributed numerical simulation system implementation apparatus includes: the system comprises a container creation module, a storage module and a storage module, wherein the container creation module is used for creating a system container template through a cloud computing technology and creating a plurality of system containers according to the system container template; The environment construction module is used for installing basic software components required by interactive computing to obtain an interactive computing environment; And the system realization module is used for installing a multi-physical-field numerical simulator in the system container of the interactive computing environment and realizing a distributed numerical simulation system by configuring an encryption protocol through a reverse proxy.
- 9. A distributed numerical simulation system implementation apparatus, characterized in that the distributed numerical simulation system implementation apparatus includes a memory, a processor, and a distributed numerical simulation system implementation program stored on the memory and executable on the processor, which when executed by the processor, implements the distributed numerical simulation system implementation method according to any one of claims 1 to 7.
- 10. A storage medium having stored thereon a distributed numerical simulation system implementation program which, when executed by a processor, implements the distributed numerical simulation system implementation method of any of claims 1 to 7.
Description
Method, device, equipment and storage medium for realizing distributed numerical simulation system Technical Field The present application relates to the field of cloud computing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for implementing a distributed numerical simulation system. Background Today, the scale of a numerical simulation model is larger and larger, and meanwhile, the local grid encryption processing is more and more used due to the requirement of calculation accuracy. The two are superimposed, resulting in a discrete numerical model by finite element Method (FINITE ELEMENT Method, FEM) or finite volume Method (Finite Volume Method, FVM) that is already in the order of millions, tens of millions, or even billions of nodes (or cells), ultimately requiring the assembly and solution of a linear algebraic equation set of tens of millions, billions, or billions. Such scale calculations, when initiated on a computer of ordinary configuration, can easily result in the computer responding poorly or even entering a state similar to a dead halt. Disclosure of Invention The application mainly aims to provide a method, a device, equipment and a storage medium for realizing a distributed numerical simulation system, and aims to solve the technical problem that a single computer is difficult to efficiently solve the large-scale calculation of numerical simulation. In order to achieve the above object, the present application provides a method for implementing a distributed numerical simulation system, the method comprising: Creating a system container template through a cloud computing technology, and creating a plurality of system containers according to the system container template; installing basic software components required by interactive computing to obtain an interactive computing environment; And installing a multi-physical-field numerical simulator in the system container of the interactive computing environment, and configuring an encryption protocol through a reverse proxy to realize a distributed numerical simulation system. In one embodiment, the steps of installing a multi-physical field numerical simulator in the system container of the interactive computing environment and configuring an encryption protocol through a reverse proxy to implement a distributed numerical simulation system include: Installing a multi-physical field numerical simulator in the system container of the interactive computing environment; verifying the installation information of the multi-physical-field numerical simulator, obtaining a verification result, and adjusting and updating the multi-physical-field numerical simulator according to the verification result; generating a reverse proxy node by copying the system container template, and configuring the reverse proxy after installing the reverse proxy based on the reverse proxy node; switching the non-encryption protocol of the interactive computing environment into an encryption protocol of external service according to preset configuration information; and exposing the system service to the target user on the reverse proxy node to realize the distributed numerical simulation system. In one embodiment, the step of exposing the system service to the target user at the reverse proxy node to implement the distributed numerical simulation system includes: Defining a matching rule of a specific path on the reverse proxy node; And forwarding the request of the specific path to a system actual address according to the matching rule, and setting full duplex communication protocol support based on a transmission protocol. In one embodiment, the step of installing the base software components required for the interactive computing to obtain the interactive computing environment includes: after logging in the system container through a default user, creating a special new user of the interactive computing environment, and setting the special new user authority as a super user management authority; After logging in the system container through the special new user, installing basic software components required by interactive calculation; and configuring and testing the basic software component to obtain an interactive computing environment. In one embodiment, the step of configuring and testing the base software component to obtain an interactive computing environment includes: Generating a configuration file based on the basic software component, and modifying key configuration items of the configuration file according to configuration requirements; configuring the basic software component according to the configuration file and the file built-in description; after the base software component passes the test, an interactive computing environment is obtained. In one embodiment, after the step of installing a multi-physical field numerical simulator in the system container of the interactive computing environment and configuring