CN115292007B - Water conservancy model simulation computing system and computing method based on cloud service - Google Patents
Water conservancy model simulation computing system and computing method based on cloud service Download PDFInfo
- Publication number
- CN115292007B CN115292007B CN202211186316.5A CN202211186316A CN115292007B CN 115292007 B CN115292007 B CN 115292007B CN 202211186316 A CN202211186316 A CN 202211186316A CN 115292007 B CN115292007 B CN 115292007B
- Authority
- CN
- China
- Prior art keywords
- simulation
- water conservancy
- terminal
- module
- calculation
- 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.)
- Active
Links
- 238000004088 simulation Methods 0.000 title claims abstract description 279
- 238000004364 calculation method Methods 0.000 title claims abstract description 158
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 title claims abstract description 123
- 238000007781 pre-processing Methods 0.000 claims abstract description 112
- 230000005540 biological transmission Effects 0.000 claims description 15
- 230000009466 transformation Effects 0.000 claims description 6
- 238000012163 sequencing technique Methods 0.000 claims description 3
- 238000000034 method Methods 0.000 abstract description 7
- 230000000694 effects Effects 0.000 abstract description 3
- 238000004422 calculation algorithm Methods 0.000 description 9
- 230000009286 beneficial effect Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 4
- 230000007547 defect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 239000000126 substance Substances 0.000 description 2
- 206010048669 Terminal state Diseases 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A20/00—Water conservation; Efficient water supply; Efficient water use
- Y02A20/152—Water filtration
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a water conservancy model simulation computing system and a computing method based on cloud service, which comprise a simulation computing server, at least one primary preprocessing computing terminal and at least one secondary processing computing terminal; the primary preprocessing computing terminal is used for receiving water conservancy model simulation instruction information from a user side and adding corresponding classification labels to simulation instruction data packets in the water conservancy model simulation instruction information; the secondary processing computing terminal is used for splitting water conservancy model simulation instruction information from the primary preprocessing computing terminal and generating processing sequence information of simulation instruction data packets in the water conservancy model simulation instruction information according to the classification labels; and the simulation calculation server is used for processing the corresponding simulation instruction data packet according to the processing sequence information, generating simulation calculation result information and returning the simulation calculation result information to the user side. The method has the effect of improving the stability and efficiency of simulation calculation.
Description
Technical Field
The invention relates to the technical field of water conservancy model simulation, in particular to a water conservancy model simulation computing system and a computing method based on cloud service.
Background
Cloud services are an increasing, usage and interaction model of internet-based related services, typically involving the provision of dynamically scalable and often virtualized resources over the internet. The water conservancy model describes changes, internal rules and interrelations of physical, chemical, biochemical and ecological aspects of water components in water bodies participating in water circulation by using mathematical languages and methods according to the principle of conservation of substances. The water conservancy model simulation computing system is a computer system which visualizes a water conservancy model through 3D modeling software and has a simulation computing function.
Many water conservancy model simulation computing systems have been developed, and through a great amount of search and reference, it is found that the water conservancy model simulation computing systems in the prior art are disclosed as water conservancy model simulation computing systems with publication numbers CN105159741A, CN114527726A, EP3482261A1, US20180137223A1 and JPH09268544A, and the water conservancy model simulation computing systems generally comprise: the system comprises a terminal, a cloud simulation platform, a computing cluster and a simulation result processing server; the cloud simulation platform is respectively connected with the terminal, the computing cluster and the simulation result processing server; the water conservancy model program files are acquired from the file server through the cloud simulation platform as required, simulation calculation tasks are dynamically constructed and then distributed to the calculation cluster for simulation calculation, generated result data or graphs are stored in the graph server, calculation process results are stored in the database server, and finally the simulation results are returned to the terminal through the application server. As the number of the user sides using the water conservancy model simulation computing system is increased gradually, the load of the server is increased by a single centralized processing mode, and the defects of reduced stability and efficiency of simulation computing are caused.
Disclosure of Invention
The invention aims to provide a water conservancy model simulation computing system and a water conservancy model simulation computing method based on cloud service aiming at the defects of the water conservancy model simulation computing system.
The invention adopts the following technical scheme:
a water conservancy model simulation computing system based on cloud service comprises a simulation computing server, at least one primary preprocessing computing terminal and at least one secondary processing computing terminal; the primary preprocessing computing terminal is used for receiving water conservancy model simulation instruction information from a user side, the water conservancy model simulation instruction information comprises at least one simulation instruction data packet, and the simulation instruction data packet comprises at least one simulation instruction; the simulation instruction is used for controlling the simulation calculation server to perform corresponding simulation processing; the primary preprocessing computing terminal is used for adding corresponding classification labels to simulation instruction data packets in the water conservancy model simulation instruction information; the secondary processing computing terminal is used for receiving and splitting water conservancy model simulation instruction information from the primary preprocessing computing terminal and generating processing sequence information of all simulation instruction data packets in the water conservancy model simulation instruction information according to different classification labels; the simulation calculation server is used for processing the corresponding simulation instruction data packet according to the processing sequence information and generating simulation calculation result information to be returned to the user side;
the primary preprocessing computing terminal comprises a user side matching module, a classification label adding module and a transmission module, wherein the user side matching module is used for matching a user side for the primary preprocessing computing terminal and receiving water conservancy model simulation instruction information of the corresponding user side; the classification label adding module is used for adding classification labels to each simulation instruction data packet in the water conservancy model simulation instruction information; the transmission module is used for transmitting the water conservancy model simulation instruction information which is subjected to the classified label adding processing to a corresponding secondary processing computing terminal;
the secondary processing computing terminal comprises a primary preprocessing computing terminal matching module, a splitting module, a processing sequence information generating module and a transmission module; the primary preprocessing computing terminal matching module is used for matching a secondary processing computing terminal with a primary preprocessing computing terminal and receiving water conservancy model simulation instruction information preprocessed by the corresponding primary preprocessing computing terminal; the splitting module is used for splitting the preprocessed water conservancy model simulation instruction information; the processing sequence information generating module is used for generating processing sequence information according to the classification label of each split simulation instruction data packet; the transmission module is used for transmitting each simulation instruction data packet and the processing sequence information to the simulation calculation server;
the simulation calculation server comprises a simulation calculation module, a simulation calculation result information generation module and a return module, wherein the simulation calculation module is used for executing simulation instructions in each simulation instruction data packet according to the processing sequence information; the simulation calculation result information generation module is used for arranging the simulation calculation results of all the simulation instructions into simulation calculation result information; and the return module is used for returning the simulation calculation result information to the corresponding user side.
Optionally, the user side matching module includes a user pairing index calculation sub-module and a water conservancy model simulation instruction information receiving sub-module, the user pairing index calculation sub-module is configured to calculate a user pairing index between the current primary preprocessing calculation terminal and different user sides and match a corresponding user side according to the user pairing index, and the water conservancy model simulation instruction information receiving sub-module is configured to receive water conservancy model simulation instruction information of a matched user side;
when the user pairing index calculation submodule performs calculation, the following equation is satisfied:
wherein,which represents an index of the pairing of the users,representing the client state function of the ith client in a circular range with the current primary preprocessing calculation terminal as the circle center and the radius of R, wherein R is set according to experience or actual conditions,representing the actual distance of said ith client from the current primary pre-processing computing terminal,the total power failure times in the current month of all towns passing through the connection between the ith user terminal and the current primary preprocessing calculation terminal are represented,representing the total historical matching number of the ith user terminal and the current primary preprocessing calculation terminal;
wherein,representing the generation state of the hydraulic model simulation instruction information of the ith user side,indicating that the ith user terminal has generated hydraulic model simulation instruction information,indicating that the ith user side does not generate water conservancy model simulation instruction information;representing the number of simulation instruction information of the water conservancy model;representing adjustable user-side water conservancy model simulation instruction information generation state parameters;representing a quantity function generated by simulation instruction information of a water conservancy model of a user side;the lower limit influence coefficient representing the simulation instruction information of the water conservancy model of the user terminal,representing an influence upper limit coefficient of simulation instruction information of a water conservancy model of a user side;
wherein,the distance between the ith user terminal and the current primary preprocessing calculation terminal on the preset map is represented,a scale representing a preset map;
wherein,and M represents the total number of the towns through which the connection between the ith user side and the current primary preprocessing calculation terminal passes.
Optionally, the user pairing index calculation sub-module includes a user pairing index calculation unit and a radius selection unit, where the user pairing index calculation unit is configured to calculate a user pairing index between the current primary preprocessing calculation terminal and different user terminals and match corresponding user terminals according to the user pairing index; the radius selection unit is used for selecting a circular radius R taking the current primary preprocessing calculation terminal as a circle center;
when the radius selection unit selects, the following equation is satisfied:
wherein,the radius selection index is expressed in terms of,represents an adjustable initial preprocessing computing terminal computing force coefficient,representing the computational power of the current primary pre-processing computing terminal,a weighting factor representing the number of historical pairings at the user end,indicating the number of user-side historical pairings of the current primary pre-processed computing terminal,representing the total shutdown times of the current primary preprocessing computing terminal after the terminal starts to work;、andare all preset radius numerical options,andare selection thresholds set according to actual conditions.
Optionally, the processing sequence information generating module includes a processing sequence number value operator module and a processing sequence information generating sub-module, where the processing sequence number value operator module is configured to calculate a processing sequence number value according to the classification label of the simulation instruction data packet, and the processing sequence information generating sub-module is configured to generate processing sequence information according to the processing sequence number value of each simulation instruction data packet;
when the processing sequence number value operator module carries out calculation, the following formula is satisfied:
wherein,the numerical value of the processing sequence is shown,a sequential base value indicating a classification label of a preset jth emulation instruction packet,the representation of the transform coefficients is represented by,representing the number of simulation instructions contained in the jth simulation instruction data packet; and the processing sequence information generation submodule is used for sequencing according to the size of the processing sequence numerical value of each simulation instruction data packet and generating processing sequence information.
Optionally, the processing order number value operator module includes a transform coefficient selection unit and a processing order number value calculation unit, where the transform coefficient selection unit is configured to select a corresponding transform coefficient according to the number of emulation instructions included in the emulation instruction data packet, and the processing order number value calculation unit is configured to calculate a processing order number value according to the classification tag and the transform coefficient of the emulation instruction data packet;
when the transform coefficient selection unit performs calculation, the following equation is satisfied:
A water conservancy model simulation computing method based on cloud services is applied to the water conservancy model simulation computing system based on the cloud services, and comprises the following steps:
s1, receiving water conservancy model simulation instruction information from a user side;
s2, controlling a simulation calculation server to perform corresponding simulation processing;
s3, adding corresponding classification labels to simulation instruction data packets in the water conservancy model simulation instruction information;
s4, receiving and splitting water conservancy model simulation instruction information from the primary preprocessing computing terminal, and generating processing sequence information of all simulation instruction data packets in the water conservancy model simulation instruction information according to different classification labels;
and S5, processing the corresponding simulation instruction data packet according to the processing sequence information, generating simulation calculation result information and returning the simulation calculation result information to the user side.
The beneficial effects obtained by the invention are as follows:
1. the arrangement of the simulation calculation server, the at least one primary preprocessing calculation terminal and the at least one secondary processing calculation terminal is beneficial to preprocessing the water conservancy model simulation instruction information from the user side, and the two-time preprocessing is adopted, so that the simulation calculation server can be quickly executed when receiving the corresponding water conservancy model simulation instruction information, the working efficiency of simulation calculation is improved, the burden of the simulation calculation server is reduced, the stable and efficient work is favorably kept, and the service life is prolonged;
2. the arrangement of the user side matching module, the classification label adding module and the transmission module is favorable for quickly and reasonably matching the user side for the corresponding primary preprocessing calculation terminal, and preprocessing work of adding the classification label is carried out, so that subsequent classification and other calculation work can be conveniently carried out, and the simulation calculation is more orderly, accurate and efficient;
3. the primary preprocessing computing terminal matching module, the splitting module, the processing sequence information generating module and the transmission module are arranged to facilitate fast and accurate matching of the primary preprocessing computing terminal to the corresponding secondary processing computing terminal, and split processing work and processing sequence information generating work are carried out, so that the simulation computing server can conveniently execute simulation instructions in the split simulation instruction data packet according to the processing sequence information, and the efficiency of simulation computing is further improved;
4. the user pairing index calculation sub-module and the water conservancy model simulation instruction information receiving sub-module are arranged to be beneficial to matching with a user pairing index algorithm, so that the reasonability, the accuracy and the efficiency of user pairing are further improved, the primary preprocessing calculation terminal can work more efficiently and stably, and the simulation calculation process is smoother and more stable;
5. the arrangement of the user pairing index calculation unit and the radius selection unit is beneficial to matching with the radius selection algorithm to select a better radius R, so that the user pairing index algorithm is further optimized, the accuracy of user pairing is greatly improved, and the stability and the efficiency of simulation calculation are also improved;
6. the processing sequence number value operator module and the processing sequence information generation submodule are arranged to be beneficial to matching with a processing sequence algorithm, so that the accuracy and the reliability of processing sequence information are improved, the simulation calculation server can carry out simulation calculation more efficiently, and the stability and the working efficiency of the application are integrally improved by matching with a user pairing index algorithm and a radius selection algorithm;
7. the setting of the transformation coefficient selection unit and the processing sequence number calculation unit is matched with a transformation coefficient selection algorithm, so that the processing sequence algorithm is optimized;
8. the primary preprocessing calculation terminal matching submodule and the water conservancy model simulation instruction information secondary receiving submodule are arranged to be beneficial to matching with a primary preprocessing calculation terminal pairing algorithm, and further quickly and accurately match the primary preprocessing calculation terminal with the corresponding secondary processing calculation terminal, so that the efficiency of simulation calculation is further improved.
For a better understanding of the features and technical content of the present invention, reference should be made to the following detailed description of the invention and accompanying drawings, which are provided for purposes of illustration and description only and are not intended to limit the invention.
Drawings
Fig. 1 is a schematic view of the overall structure of the present invention.
Fig. 2 is a schematic diagram of the distribution effect of the primary preprocessing calculation terminal, the secondary processing calculation terminal and the simulation calculation server in the present invention.
Fig. 3 is a schematic flow chart of a method of a water conservancy model simulation calculation method based on cloud services in the invention.
Fig. 4 is a schematic diagram of a pairing process of a water conservancy model simulation computing system based on cloud services in the present invention.
Detailed Description
The following is a description of embodiments of the present invention with reference to specific embodiments, and those skilled in the art will understand the advantages and effects of the present invention from the disclosure of the present specification. The invention is capable of other and different embodiments and its several details are capable of modifications and various changes in detail without departing from the spirit and scope of the present invention. The drawings of the present invention are for illustrative purposes only and are not drawn to scale, and are not intended to be described in advance. The following embodiments will further explain the related art of the present invention in detail, but the disclosure is not intended to limit the scope of the present invention.
The first embodiment.
The embodiment provides a water conservancy model simulation computing system based on cloud service. Referring to fig. 1, a water conservancy model simulation computing system based on cloud services includes a simulation computing server, at least one primary preprocessing computing terminal, and at least one secondary processing computing terminal; the primary preprocessing computing terminal is used for receiving water conservancy model simulation instruction information from a user side, the water conservancy model simulation instruction information comprises at least one simulation instruction data packet, and the simulation instruction data packet comprises at least one simulation instruction; the simulation instruction is used for controlling the simulation calculation server to perform corresponding simulation processing; the primary preprocessing computing terminal is used for adding corresponding classification labels to simulation instruction data packets in the water conservancy model simulation instruction information; the secondary processing computing terminal is used for receiving and splitting water conservancy model simulation instruction information from the primary preprocessing computing terminal and generating processing sequence information of all simulation instruction data packets in the water conservancy model simulation instruction information according to different classification labels; the simulation calculation server is used for processing the corresponding simulation instruction data packet according to the processing sequence information and generating simulation calculation result information to be returned to the user side;
the primary preprocessing computing terminal comprises a user side matching module, a classification label adding module and a transmission module, wherein the user side matching module is used for matching a user side for the primary preprocessing computing terminal and receiving water conservancy model simulation instruction information of the corresponding user side; the classification label adding module is used for adding classification labels to each simulation instruction data packet in the water conservancy model simulation instruction information; the transmission module is used for transmitting the water conservancy model simulation instruction information which is subjected to the classified label adding processing to a corresponding secondary processing computing terminal;
the secondary processing computing terminal comprises a primary preprocessing computing terminal matching module, a splitting module, a processing sequence information generating module and a transmission module; the primary preprocessing computing terminal matching module is used for matching a secondary processing computing terminal with a primary preprocessing computing terminal and receiving water conservancy model simulation instruction information preprocessed by the corresponding primary preprocessing computing terminal; the splitting module is used for splitting the preprocessed water conservancy model simulation instruction information; the processing sequence information generating module is used for generating processing sequence information according to the classification label of each split simulation instruction data packet; the transmission module is used for transmitting each simulation instruction data packet and the processing sequence information to the simulation calculation server;
the simulation calculation server comprises a simulation calculation module, a simulation calculation result information generation module and a return module, wherein the simulation calculation module is used for executing simulation instructions in each simulation instruction data packet according to the processing sequence information; the simulation calculation result information generation module is used for sorting the simulation calculation results of all the simulation instructions into simulation calculation result information; and the return module is used for returning the simulation calculation result information to the corresponding user side.
It should be noted that, in the present application, the simulation computation server is surrounded by at least one secondary processing computation terminal, and the simulation computation server and the at least one secondary processing computation terminal are surrounded by at least one primary preprocessing computation terminal, as shown in fig. 2.
Optionally, the user side matching module includes a user pairing index calculation sub-module and a water conservancy model simulation instruction information receiving sub-module, and the user pairing index calculation sub-module is configured to calculate a user pairing index between the current primary preprocessing calculation terminal and different user sides and match corresponding user sides according to the user pairing index. When the corresponding user terminal is matched according to the user pairing index, starting a user terminal pairing index threshold preset by the current primary preprocessing computing terminal for judgment, wherein the user terminal pairing index threshold is preset by a person skilled in the art according to the actual situation, the user terminal pairing index thresholds of different primary preprocessing computing terminals can be different, a single primary preprocessing computing terminal can be matched with at least 3 user terminals, and if the user terminal pairing index of the corresponding user terminal and the current primary preprocessing computing terminal in the range is smaller than the user terminal pairing index threshold, the matching of the corresponding user terminal and the current primary preprocessing computing terminal is completed. The water conservancy model simulation instruction information receiving submodule is used for receiving water conservancy model simulation instruction information matched with the user side;
when the user pairing index calculation submodule performs calculation, the following equation is satisfied:
wherein,which represents a user-pairing index that is,represents the ue status function of the ith ue in a circular range with the current primary preprocessing calculation terminal as the center radius R, where R is set by those skilled in the art according to experience or actual conditions,representing the actual distance of said ith client from the current primary pre-processing computing terminal,the total power failure times in the current month of all towns passing through the connection between the ith user terminal and the current primary preprocessing calculation terminal are represented,representing the total history matching number of the ith user terminal and the current primary preprocessing calculation terminal;
wherein,representing the generation state of the hydraulic model simulation instruction information of the ith user side,indicating that the ith user terminal has generated water conservancy model simulation instruction information,indicating that the ith user side does not generate water conservancy model simulation instruction information;representing the number of simulation instruction information of the water conservancy model;representing adjustable user end water conservancy model simulation instruction information generation state parameters;representing a quantity function generated by simulation instruction information of a water conservancy model of a user side;the lower limit coefficient of influence of simulation instruction information of the water conservancy model at the user terminal is represented,influence upper limit coefficients representing water conservancy model simulation instruction information of a user side are set by technicians in the field according to actual conditions;
wherein,indicating the ith user terminal and the currentThe primary preprocessing calculates the distance of the terminal on a preset map,a scale representing a preset map;
wherein,and M represents the total number of power failures in the current month of the mth town through which the connection between the ith user side and the current primary preprocessing calculation terminal passes.
Optionally, the user pairing index calculation sub-module includes a user pairing index calculation unit and a radius selection unit, where the user pairing index calculation unit is configured to calculate a user pairing index between the current primary preprocessing calculation terminal and different user terminals and match corresponding user terminals according to the user pairing index; the radius selection unit is used for selecting a circular radius R taking the current primary preprocessing calculation terminal as a circle center;
when the radius selection unit selects, the following equation is satisfied:
wherein,the radius selection index is expressed as a value,the calculation force coefficient of the adjustable primary preprocessing calculation terminal is shown and set by a person skilled in the art according to experience and practical conditions,representing the computational power of the current primary pre-processing computing terminal,the weighting factor representing the historical pairing number of the user terminal is set by the technicians in the field according to the actual situation,indicating the number of user-side historical pairings of the current primary pre-processed computing terminal,representing the total shutdown times of the current primary preprocessing computing terminal after the terminal starts to work;、andare all preset radius numerical options, and、andadjusted by a person skilled in the art according to practical circumstances or experience,andare adjustable selection thresholds, which are set by those skilled in the art according to actual conditions.
Optionally, the processing sequence information generating module includes a processing sequence number value operator module and a processing sequence information generating sub-module, where the processing sequence number value operator module is configured to calculate a processing sequence number value according to the classification label of the simulation instruction data packet, and the processing sequence information generating sub-module is configured to generate processing sequence information according to the processing sequence number value of each simulation instruction data packet;
when the processing sequence number value operator module carries out calculation, the following formula is satisfied:
wherein,the numerical value of the processing sequence is shown,a sequential base value indicating a classification label of a preset jth emulation instruction packet,representing transform coefficients, set by those skilled in the art according to the actual situation,representing the number of simulation instructions contained in the jth simulation instruction data packet; and the processing sequence information generation submodule is used for sequencing according to the size of the processing sequence numerical value of each simulation instruction data packet and generating processing sequence information.
Optionally, the processing order number value operator module includes a transform coefficient selection unit and a processing order number value calculation unit, where the transform coefficient selection unit is configured to select a corresponding transform coefficient according to the number of emulation instructions included in the emulation instruction data packet, and the processing order number value calculation unit is configured to calculate a processing order number value according to the classification tag and the transform coefficient of the emulation instruction data packet;
when the transform coefficient selection unit performs calculation, the following equation is satisfied:
wherein,the transform reference coefficient is expressed and set by those skilled in the art according to actual conditions or experience.
The embodiment also provides a water conservancy model simulation calculation method based on cloud service, which is applied to the water conservancy model simulation calculation system based on cloud service, and is combined with fig. 3, and the water conservancy model simulation calculation method includes:
s1, receiving water conservancy model simulation instruction information from a user side;
s2, controlling a simulation calculation server to perform corresponding simulation processing;
s3, adding corresponding classification labels to simulation instruction data packets in the water conservancy model simulation instruction information;
s4, receiving and splitting water conservancy model simulation instruction information from the primary preprocessing computing terminal, and generating processing sequence information of all simulation instruction data packets in the water conservancy model simulation instruction information according to different classification tags;
and S5, processing the corresponding simulation instruction data packet according to the processing sequence information, generating simulation calculation result information and returning the simulation calculation result information to the user side.
Example two.
The embodiment includes the whole content of the first embodiment, and provides a water conservancy model simulation computing system based on cloud service. The primary preprocessing calculation terminal matching submodule is used for calculating a primary preprocessing calculation terminal pairing index and matching a corresponding primary preprocessing calculation terminal for the current secondary processing calculation terminal according to the primary preprocessing calculation terminal pairing index. And the water conservancy model simulation instruction information secondary receiving submodule is used for receiving the preprocessed water conservancy model simulation instruction information from the paired primary preprocessing computing terminal.
When the primary preprocessing computing terminal matching submodule carries out computation, the following formula is satisfied:
wherein,represents the initial pre-processing calculation terminal pairing index,representing the second stage processing computing terminal as the second circle with the radius of B as the circle centerThe primary preprocessing of each primary preprocessing calculation terminal calculates the terminal state function, B, set by those skilled in the art based on experience or practice,represents the firstThe actual distance between each primary preprocessing computing terminal and the current secondary processing computing terminal,represents the firstThe historical matching total number of the primary preprocessing calculation terminals and the current secondary processing calculation terminals;
wherein,represents the firstThe sending state of the water conservancy model simulation instruction information of the primary preprocessing computing terminal,represents the firstThe primary preprocessing computing terminal is in a working state of sending water conservancy model simulation instruction information,represents the firstThe primary preprocessing calculation terminals are not in a working state of sending water conservancy model simulation instruction information;representing the number of the simulation instruction information of the water conservancy model;and the state coefficient representing the transmission of the adjustable primary preprocessing computing terminal water conservancy model simulation instruction information is set by a person skilled in the art according to the actual condition.
Wherein,represents the firstThe distance between each primary preprocessing calculation terminal and the current secondary processing calculation terminal on a preset map,a scale representing a preset map.
It should be noted that each secondary processing computing terminal is preset with a corresponding primary preprocessing computing terminal pairing threshold, and if the primary preprocessing computing terminal pairing index existing in the corresponding range of the current secondary processing computing terminal is smaller than the primary preprocessing computing terminal pairing threshold, the corresponding primary preprocessing computing terminal is paired with the current secondary processing computing terminal. Each secondary processing computing terminal can be paired with at least 10 primary preprocessing computing terminals.
Referring to fig. 4, a matching process of the water conservancy model simulation computing system based on the cloud service in this embodiment is shown in the figure.
The disclosure is only a preferred embodiment of the invention, and is not intended to limit the scope of the invention, so that all equivalent technical changes made by using the contents of the specification and the drawings are included in the scope of the invention, and further, the elements thereof can be updated as the technology advances.
Claims (6)
1. A water conservancy model simulation computing system based on cloud service is characterized by comprising a simulation computing server, at least one primary preprocessing computing terminal and at least one secondary processing computing terminal; the primary preprocessing computing terminal is used for receiving water conservancy model simulation instruction information from a user side, the water conservancy model simulation instruction information comprises at least one simulation instruction data packet, and the simulation instruction data packet comprises at least one simulation instruction; the simulation instruction is used for controlling the simulation calculation server to perform corresponding simulation processing; the primary preprocessing computing terminal is further used for adding corresponding classification labels to simulation instruction data packets in the water conservancy model simulation instruction information; the secondary processing computing terminal is used for receiving and splitting water conservancy model simulation instruction information from the primary preprocessing computing terminal and generating processing sequence information of all simulation instruction data packets in the water conservancy model simulation instruction information according to different classification labels; the simulation calculation server is used for processing the corresponding simulation instruction data packet according to the processing sequence information, generating simulation calculation result information and returning the simulation calculation result information to the user side;
the primary preprocessing computing terminal comprises a user side matching module, a classification label adding module and a transmission module, wherein the user side matching module is used for matching a user side for the primary preprocessing computing terminal and receiving water conservancy model simulation instruction information of the corresponding user side; the classification label adding module is used for adding classification labels to each simulation instruction data packet in the water conservancy model simulation instruction information; the transmission module is used for transmitting the water conservancy model simulation instruction information which is subjected to the classified label adding processing to a corresponding secondary processing computing terminal;
the secondary processing computing terminal comprises a primary preprocessing computing terminal matching module, a splitting module, a processing sequence information generating module and a transmission module; the primary preprocessing computing terminal matching module is used for matching a secondary processing computing terminal with a primary preprocessing computing terminal and receiving water conservancy model simulation instruction information preprocessed by the corresponding primary preprocessing computing terminal; the splitting module is used for splitting the preprocessed water conservancy model simulation instruction information; the processing sequence information generating module is used for generating processing sequence information according to the classification label of each split simulation instruction data packet; the transmission module is used for transmitting each simulation instruction data packet and the processing sequence information to the simulation calculation server;
the simulation calculation server comprises a simulation calculation module, a simulation calculation result information generation module and a return module, wherein the simulation calculation module is used for executing simulation instructions in each simulation instruction data packet according to the processing sequence information; the simulation calculation result information generation module is used for arranging the simulation calculation results of all the simulation instructions into simulation calculation result information; the return module is used for returning the simulation calculation result information to the corresponding user side.
2. The water conservancy model simulation computing system based on cloud services of claim 1, wherein the user side matching module comprises a user pairing index calculation sub-module and a water conservancy model simulation instruction information receiving sub-module, the user pairing index calculation sub-module is configured to calculate a user pairing index between a current primary preprocessing computing terminal and different user sides and match the corresponding user sides according to the user pairing index, and the water conservancy model simulation instruction information receiving sub-module is configured to receive water conservancy model simulation instruction information of the matched user sides;
when the user pairing index calculation submodule performs calculation, the following equation is satisfied:
wherein,which represents a user-pairing index that is,represents the client status function of the ith client in a circular range with the current primary preprocessing calculation terminal as the center of a circle and the radius of R, wherein R is set according to specific requirements,representing the fact that the ith user terminal and the current primary preprocessing computing terminal are realThe distance between the two adjacent devices is the same,representing the total power failure times in the month of all towns connected between the ith user terminal and the current primary preprocessing calculation terminal,representing the total historical matching number of the ith user terminal and the current primary preprocessing calculation terminal;
wherein,representing the generation state of the hydraulic model simulation instruction information of the ith user side,indicating that the ith user terminal has generated hydraulic model simulation instruction information,indicating that the ith user side does not generate water conservancy model simulation instruction information;representing the number of simulation instruction information of the water conservancy model;representing adjustable user-side water conservancy model simulation instruction information generation state parameters;representing a quantity function generated by simulation instruction information of a water conservancy model of a user side;the lower limit influence coefficient representing the simulation instruction information of the water conservancy model of the user terminal,representing an influence upper limit coefficient of simulation instruction information of a water conservancy model of a user side;
wherein,indicating the distance between the ith user terminal and the current primary preprocessing calculation terminal on a preset map,a scale representing a preset map;
wherein,showing the power failure times of the mth town in the month that the connection line between the ith user terminal and the current primary preprocessing calculation terminal passes through, wherein M showsAnd the total number of towns which are connected between the ith user side and the current primary preprocessing calculation terminal.
3. The water conservancy model simulation computing system based on cloud service of claim 2, wherein the user pairing index calculation sub-module comprises a user pairing index calculation unit and a radius selection unit, the user pairing index calculation unit is configured to calculate a user pairing index between a current primary preprocessing calculation terminal and different user terminals and match the corresponding user terminals according to the user pairing index; the radius selection unit is used for selecting a circular radius R taking the current primary preprocessing calculation terminal as a circle center;
when the radius selection unit selects, the following equation is satisfied:
wherein,the radius selection index is expressed in terms of,represents an adjustable initial preprocessing computing terminal computing force coefficient,representing the computational power of the current primary pre-processing computing terminal,a weighting factor representing the number of historical pairings at the user end,indicating the number of user side history pairings of the current primary pre-processed computing terminal,representing the total shutdown times of the current primary preprocessing computing terminal after the terminal starts to work;、andare all preset radius numerical options,andare selection thresholds set according to actual conditions.
4. The cloud-based hydraulic model simulation computing system according to claim 3, wherein the processing sequence information generating module includes a processing sequence number value operator module and a processing sequence information generating sub-module, the processing sequence number value operator module is configured to calculate a processing sequence number according to the classification label of the simulation instruction data packet, and the processing sequence information generating sub-module is configured to generate processing sequence information according to the processing sequence number of each simulation instruction data packet;
when the processing sequence number value operator module carries out calculation, the following formula is satisfied:
wherein,the numerical value of the processing sequence is shown,a sequential base value indicating a classification label of a preset jth emulation instruction packet,the representation of the transform coefficients is represented by,representing the number of simulation instructions contained in the jth simulation instruction data packet; and the processing sequence information generation submodule is used for sequencing according to the size of the processing sequence numerical value of each simulation instruction data packet and generating processing sequence information.
5. The water conservancy model simulation computing system based on cloud services as claimed in claim 4, wherein the processing order number value operator module comprises a transformation coefficient selection unit and a processing order number value computing unit, the transformation coefficient selection unit is configured to select a corresponding transformation coefficient according to the number of simulation instructions included in the simulation instruction data packet, and the processing order number value computing unit is configured to compute a processing order number according to the classification tag and the transformation coefficient of the simulation instruction data packet;
when the transform coefficient selection unit performs calculation, the following equation is satisfied:
6. The water conservancy model simulation computing method based on the cloud service is applied to the water conservancy model simulation computing system based on the cloud service as claimed in claim 5, and is characterized by comprising the following steps:
s1, receiving water conservancy model simulation instruction information from a user side;
s2, controlling a simulation calculation server to perform corresponding simulation processing;
s3, adding corresponding classification labels to simulation instruction data packets in the water conservancy model simulation instruction information;
s4, receiving and splitting water conservancy model simulation instruction information from the primary preprocessing computing terminal, and generating processing sequence information of all simulation instruction data packets in the water conservancy model simulation instruction information according to different classification labels;
and S5, processing the corresponding simulation instruction data packet according to the processing sequence information, generating simulation calculation result information and returning the simulation calculation result information to the user side.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211186316.5A CN115292007B (en) | 2022-09-28 | 2022-09-28 | Water conservancy model simulation computing system and computing method based on cloud service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211186316.5A CN115292007B (en) | 2022-09-28 | 2022-09-28 | Water conservancy model simulation computing system and computing method based on cloud service |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115292007A CN115292007A (en) | 2022-11-04 |
CN115292007B true CN115292007B (en) | 2022-12-30 |
Family
ID=83833822
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211186316.5A Active CN115292007B (en) | 2022-09-28 | 2022-09-28 | Water conservancy model simulation computing system and computing method based on cloud service |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115292007B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115984087B (en) * | 2022-12-29 | 2023-10-24 | 众芯汉创(北京)科技有限公司 | Rapid processing and analyzing method and system for mass point cloud data of unmanned aerial vehicle |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102609295A (en) * | 2011-10-18 | 2012-07-25 | 华中科技大学 | Dynamic operation scheduling system of virtual machine |
CN103677960A (en) * | 2013-12-19 | 2014-03-26 | 安徽师范大学 | Game resetting method for virtual machines capable of controlling energy consumption |
CN111935767A (en) * | 2020-10-09 | 2020-11-13 | 北京微智信业科技有限公司 | Network simulation system |
CN112101718A (en) * | 2020-08-10 | 2020-12-18 | 叮联信息技术有限公司 | Multi-user cooperation structured data processing method and device based on Internet |
WO2021173961A1 (en) * | 2020-02-28 | 2021-09-02 | Nanotronics Imaging, Inc. | Method, systems and apparatus for intelligently emulating factory control systems and simulating response data |
CN114827028A (en) * | 2022-03-09 | 2022-07-29 | 北京邮电大学 | Multi-layer computation network integrated routing system and method |
CN114863054A (en) * | 2022-05-30 | 2022-08-05 | 山西省城市规划和发展研究有限公司 | Smart city planning system based on simulation dynamic technology |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11657148B2 (en) * | 2019-05-10 | 2023-05-23 | General Electric Company | Event analysis in an electric power system |
-
2022
- 2022-09-28 CN CN202211186316.5A patent/CN115292007B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102609295A (en) * | 2011-10-18 | 2012-07-25 | 华中科技大学 | Dynamic operation scheduling system of virtual machine |
CN103677960A (en) * | 2013-12-19 | 2014-03-26 | 安徽师范大学 | Game resetting method for virtual machines capable of controlling energy consumption |
WO2021173961A1 (en) * | 2020-02-28 | 2021-09-02 | Nanotronics Imaging, Inc. | Method, systems and apparatus for intelligently emulating factory control systems and simulating response data |
CN112101718A (en) * | 2020-08-10 | 2020-12-18 | 叮联信息技术有限公司 | Multi-user cooperation structured data processing method and device based on Internet |
CN111935767A (en) * | 2020-10-09 | 2020-11-13 | 北京微智信业科技有限公司 | Network simulation system |
CN114827028A (en) * | 2022-03-09 | 2022-07-29 | 北京邮电大学 | Multi-layer computation network integrated routing system and method |
CN114863054A (en) * | 2022-05-30 | 2022-08-05 | 山西省城市规划和发展研究有限公司 | Smart city planning system based on simulation dynamic technology |
Non-Patent Citations (1)
Title |
---|
考虑非功能因素的Web服务发现算法研究;李计刚等;《计算机工程与设计》;20080528(第10期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN115292007A (en) | 2022-11-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115292007B (en) | Water conservancy model simulation computing system and computing method based on cloud service | |
EP3792755A1 (en) | Job scheduling on distributed computer devices | |
US20220100548A1 (en) | Network performance assurance system and network performance assurance method | |
CN112925637A (en) | Load balancing device and method for edge operation network | |
WO2020154536A1 (en) | Compound model scaling for neural networks | |
CN114840322A (en) | Task scheduling method and device, electronic equipment and storage | |
CN117829149B (en) | Language model hybrid training method and device, electronic equipment and storage medium | |
CN114511083A (en) | Model training method and device, storage medium and electronic device | |
CN116795553A (en) | Method and device for scheduling computing power resources, storage medium and electronic device | |
CN112463334A (en) | Training task queuing reason analysis method, system, equipment and medium | |
CN115879824A (en) | Method, device, equipment and medium for assisting expert decision based on ensemble learning | |
CN114490969B (en) | Question and answer method and device based on table and electronic equipment | |
CN109359182B (en) | Response method and device | |
CN114998649A (en) | Training method of image classification model, and image classification method and device | |
CN115952009B (en) | Data center recommendation method and device based on computing network fusion characteristics | |
CN116450925B (en) | User relationship analysis method and system based on artificial intelligence | |
CN112801380B (en) | Load prediction method for data annotation cloud server | |
CN116881004B (en) | Multi-task queue management method and system based on task arrangement | |
CN116757254B (en) | Task processing method, electronic device and storage medium | |
CN113742594B (en) | Recommendation system recall method and device | |
Singh | Empirical Evaluation of Edge AI Deployment Strategies Involving Black-Box and White-Box Operators | |
CN113627664A (en) | Run-time prediction system and method for graph-oriented iterative operation in Gaia system | |
CN118052650A (en) | Shared energy storage transaction method, system, electronic equipment and storage medium | |
CN117891917A (en) | Customer service intelligent question and answer implementation method, device, equipment and storage medium | |
Parry | Time Series Models for Predicting Application GPU Utilization and Power Draw Based on Trace Data |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |