CN108416122A - A kind of environmental pollution diffusion simulations system and method - Google Patents

A kind of environmental pollution diffusion simulations system and method Download PDF

Info

Publication number
CN108416122A
CN108416122A CN201810147875.2A CN201810147875A CN108416122A CN 108416122 A CN108416122 A CN 108416122A CN 201810147875 A CN201810147875 A CN 201810147875A CN 108416122 A CN108416122 A CN 108416122A
Authority
CN
China
Prior art keywords
browser end
user browser
control module
wireless communication
communication control
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
CN201810147875.2A
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.)
NANJING DASHA INFORMATION TECHNOLOGY Co Ltd
Original Assignee
NANJING DASHA INFORMATION TECHNOLOGY Co Ltd
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 NANJING DASHA INFORMATION TECHNOLOGY Co Ltd filed Critical NANJING DASHA INFORMATION TECHNOLOGY Co Ltd
Priority to CN201810147875.2A priority Critical patent/CN108416122A/en
Publication of CN108416122A publication Critical patent/CN108416122A/en
Pending legal-status Critical Current

Links

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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A kind of environmental pollution diffusion simulations system and method, Web server are sent to client layer after obtaining the data needed to data service layer inquiry and are shown according to the request at user browser end;The emulation server according to the mode that the simulation calculation at user browser end is asked be the request of the simulation calculation at user browser end is sent to emulation server through wireless communication control module and emulation server receive simulation calculation request after through wireless communication control module response message is sent to user browser end and indicates to receive the information;Mutual information in the prior art is effectively prevented in combination with other steps and is transferred to system operation increase confusion, is unable to reach the defect of system operation and the requirement of correct mutual information transmission.

Description

A kind of environmental pollution diffusion simulations system and method
Technical field
The present invention relates to environmental pollution field of diffusion technologies, and in particular to a kind of environmental pollution diffusion simulations system and its side Method.
Background technology
Traditional domestic and international main software for realizing water quality emulation mostly by data processing, scientific algorithm, analogue simulation and The various water quality components of data visualization functional simulation, and by outputting and inputting file and other model cooperations.Software master It is used for the simulation of the hydraulics, water quality and silt transmission in river, in water resource water management, Water Conservancy Works Aspect is widely used, and achieves preferable simulation effect.
But above-mentioned simulation of water quality simulation software is due to its limitation, when being applied in sudden water pollution accident Often encounter many problems:
(1) most simulation softwares are bulky, and single-unit operation speed is slow, and simulation efficiency is low, influences sudden water quality The quick processing and reply of contamination accident;
(2) software function it is various, using it is complicated, be difficult to grasp comprehensively, it is desirable that user has higher hydraulics basis and knows Knowledge and mathematical simulation professional knowledge, and the fraction work(of software is generally only used in the analysis work of sudden water pollution accident Energy;
(3) software application is confined to single machine, i.e., its software operation, model construction, result displaying all can only in local progress, It cannot achieve the application of networking;
(4) professional is needed to safeguard in terms of the maintenance and upgrade of software.
Then it is just proposed a kind of analog simulation and visualization service system of sudden water pollution accident, system uses B/S (browser/server) Three Tiered Network Architecture is built, including data service layer, application service layer and client layer.Wherein:
(1) data service layer is responsible for storing, altogether for the relevant spatial data of sudden water pollution accident and attribute data It enjoys and manages, including:
A. basic database:Including water quality data table, hydrographic data table, emergency information table, user message table etc.;
B. simulation data base:Including artificial tasks information table, simulation modular information table, simulation result information table, pollutant Emission information table, Map Services information table, simulation model file table;
C. map data base:Tissue carried out to burst water quality accident correlation space data, including basic geological study vector data, Raster Images data, contamination accident data.
2) application service layer is logical layer of the client layer (Web client) between data service layer, is responsible for main business The realization of logic, including:
A.Web servers:For the request according to user browser end, the data for obtaining and needing are inquired to data service layer After be sent to client layer and be shown;
B. emulation server:For being asked according to the simulation calculation at user browser end, realize to sudden water pollution thing Therefore simulation calculation, obtain pollutant DIFFUSION PREDICTION concentration-time sequence, stored to emulation as Simulation result data Database;
C.GIS servers:Map Services are realized using ArcGIS Server, and are supplied to client layer to make these services With.
(3) client layer (also referred to as web client end layer), is realized by Flex technology, for completing map datum and business number According to integration exhibition and human-computer interaction interrelated logic, simulation result data are presented to use with map and diagrammatic form Family mainly provides following functional unit:
A. simulation result display unit:It realizes that dynamic of the Simulation result data in GIS map renders, realizes accident The integrated exhibition in GIS map such as associated property data, including water quality data, hydrographic data, contaminant information, event information Show, which includes pollutant dispersion ability simulation drawing and section pollutant concentration time series chart.
B. artificial tasks administrative unit, realizes the list management of artificial tasks, including creates, runs, stops, deleting, look into It sees, issue the functions such as artificial tasks;Have simulation modular by selection and create artificial tasks, runs and calculate after editing parameter, fortune It is checked after calculation as a result, as result meets the requirements, then carries out result publication, Simulation result data is stored to simulation result and is believed Cease table;
C. simulation modular administrative unit:Realize the list management of simulation modular, including newly-built, editor, deletion simulation modular Etc. functions, simulation modular is for deriving different artificial tasks;
Crucial in this way is that the realization of emulation server and the dynamic of simulation result view side render, wherein emulation server Feature is the numerical simulation calculating for the sudden water pollution accident for supporting multitask, including hydrodynamics and calculation and water quality model It calculates, obtains the predicted time sequence of pollutant concentration, stored to Simulation result data table with unified format and called for client layer Display.The simulation result display unit of client layer utilizes WebGIS technologies, realizes diffusion of the Simulation result data in GIS map Dynamic render, and realize burst water pollution event associated property data, including water quality data, hydrographic data, contaminant information, The Overlapping display in GIS map such as event information.
Emulation server is asked according to the simulation calculation at user browser end, realizes the emulation to sudden water pollution accident Simulation calculates, and user browser end is connected by wireless communication control module with emulation server, and the quantity of emulation server It it is one, which is connected with an emulation server, and the emulation server described in this way is clear according to user The mode of simulation calculation request at device end of looking at is that the simulation calculation at user browser end is asked hair through wireless communication control module It send and response message is sent out through wireless communication control module after receiving simulation calculation request to emulation server and emulation server User browser end is given to indicate to receive the information, through wireless communication control module by the simulation calculation at user browser end Request is sent to emulation server and emulation server receives after simulation calculation is asked through wireless communication control module response Information is sent to user browser end and is formed between user browser end and emulation server to indicate to receive the information Mutual information transmission, mutual information between user browser end and emulation server transmits usually through by the following method:
1. the method via one-to-one transmission executes single pair uniport, during mutual information is transmitted, user browser end Quantity it is many, user browser end obtain emulation server message information must usually be in waiting state, message information Promptness cannot be guaranteed;
2. executing single pair via the method for mass-sending to transmit, during mutual information is transmitted, emulation server can be report more Literary information is transmitted to several user browser ends, and whole completeness cannot be guaranteed, message information usually occurs and loses phenomenon.In existing System operation during, this two classes mutual information at emulation server and user browser end be transferred to system operation increase it is mixed Disorderly, it is unable to reach the requirement of system operation and the transmission of correct mutual information.So, it would be highly desirable to give the message information of a kind of safety Transfer mode, can i.e. can ensure that transmission timely and message information transmission globality.
Invention content
To solve the above problems, the present invention provides a kind of environmental pollution diffusion simulations system and method, effectively avoid Mutual information is transferred to system operation and increases chaotic in the prior art, is unable to reach system operation and is passed with correct mutual information The transmission defect of defeated requirement.
A kind of environmental pollution diffusion simulations system and method in order to overcome the deficiencies in the prior art, the present invention provides Solution, it is specific as follows:
A kind of method of environmental pollution diffusion simulations system, Web server is according to the request at user browser end, to data Client layer is sent to after the data that service layer's inquiry acquisition needs to be shown;
The emulation server is to control mould through wireless telecommunications according to the mode that the simulation calculation at user browser end is asked The simulation calculation request at user browser end is sent to emulation server by block and emulation server receives simulation calculation request Response message is sent to user browser end to indicate to receive the information, through wireless telecommunications by wireless communication control module The simulation calculation request at the user browser end is sent to emulation server by control module and emulation server receives emulation Response message is sent to user browser end to indicate to receive simulation calculation through wireless communication control module after computation requests Request is formed the transmission of the mutual information between user browser end and emulation server;
Mutual information transmission between user browser end and emulation server includes the following steps:
S1;Emulation server is with wireless communication control module structure in face of the link of transmission control protocol, wireless telecommunications control Molding block is with several user browser ends structure in face of the link of transmission control protocol;
S2:Emulation server transmits purpose at user browser end to be responded as through assigning in several user browser ends Response message is transmitted to wireless communication control module by ground;
Emulation server transmits destination at user browser end to be responded as through assigning in several user browser ends, connects It emulation server and the message information that inquiry could transmit is transmitted to wireless communication control module, until returning to time that can be transmitted Ying Hou builds the memory block of interim storage response message, response message is transferred to wirelessly according to the mode of transmission control protocol Communication control module;The response message that wireless communication control module transmits emulation server executes correctness monitoring, determines After correct, emulation server is transmitted towards wireless communication control module to be indicated to transmit errorless message information;
S3:If the number at user browser end as a purpose is not less than limit value one or the length of response message Not less than limit value two, it is transferred to step S4, just takes method for group sending;If the user browser end number of fruit as a purpose is little It is not more than limit value two in the length of limit value one or response message, proceeds to step S7, just take one-to-one transfer mode;
Step S4:Obtained response message is divided into several message segments by wireless communication control module, message segment The user browser end being transferred to as a purpose is mass-sended after being manipulated so the message information according to User Datagram Protocol agreement;
Response message is mass-sended via the method for mass-sending User Datagram Protocol towards the total user browser end in link;
Before transmitting response message, user browser end it is understood that transmit element, including the length of response message, read or Write permission, response message ID, storage address, group sending network address, mass-sending ID, they can be divided into several times through wireless telecommunications control Molding block is sent out, and also can disposably be sent out;User browser end get sequentially reach after response message response message structure, Read or write permission detection, storage address detection, the such operation in group sending network address, with this realize wireless communication control module with User browser end is parallel;
Wireless communication control module is divided into all response messages according to memory block capacity and is sent into memory field several times, Assembling is executed according to the message information of User Datagram Protocol for the response message of each memory block, for all assembled The message information of User Datagram Protocol executes the total user browser end that the mode mass-sended is transmitted in link;
Step S5:User browser end as a purpose executes report to the message information of the User Datagram Protocol of acquisition The loss of literary information monitors, and the loss rate of message information response to wireless communication control module;Wireless communication control module The loss rate of message information is calculated, if the loss rate of message information is not less than limit value three, step S4 is just rotated into and carrys out then group Hair transmits the message information according to User Datagram Protocol;If limit value three is more than the loss rate of message information, wirelessly Communication control module respectively faces to attend by the target user's browser end for losing message information, connects loss message information is corresponding It according to the one-to-one user browser end being transmitted to accordingly as a purpose of the message information of transmission control protocol;
User browser end can ceaselessly get the message information according to User Datagram Protocol and be held to message information The loss of row message information monitors.User browser end continues to monitor the message information according to User Datagram Protocol of acquisition, The message content carried in message information according to User Datagram Protocol is deposited into memory block, also refreshes and obtains sequence;It attends by Information transmission in memory block terminates, and user browser end must synchronize to get in memory block has do not refresh for what information, It is exactly which is lost according to the message information of User Datagram Protocol during the transmission of the internal counterfoil of memory block, is built with this The loss sequence of the message information of itself;
Wireless communication control module concentrates the dropout of the message information at user browser end all as a purpose, The loss rate for calculating all message informations compares it with limit value three;
Wireless communication control module can in the information in a memory block transmit after all user browsers of sequential query The acquisition situation at end and the message information for transmitting loss again by requirement.User browser end is responded by the message information of loss To wireless communication control module.Step S6:The message information according to User Datagram Protocol is examined at user browser end, if inspection It tests out of question, just completes to examine, if inspection is problematic, just allows user browser end to respond wireless communication control module and ask The message information of topic, wireless communication control module transmit the problematic message information according to User Datagram Protocol again according to The user browser end is passed to according to transmission control protocol is one-to-one;
Step S7:Wireless communication control module is sent to the message information got according to transmission control protocol is one-to-one Each user browser end, with regard to this completion.
The check system includes even-odd check or hamming code check.
A kind of environmental pollution diffusion simulations system, system include application service layer;Wherein:
2) application service layer is logical layer of the client layer (Web client) between data service layer, is responsible for main business The realization of logic, including:
A.Web servers:For the request according to user browser end, the data for obtaining and needing are inquired to data service layer After be sent to client layer and be shown;
User browser end is connected by wireless communication control module with emulation server, the number of wireless communication control module Amount is one, and user browser end quantity is several, that is, wireless communication module connects with several user browser ends It connects, and the quantity of emulation server is one, which is connected with an emulation server.
Beneficial effects of the present invention are:
One-to-one transfer mode, information correctness is good, in user browser end number is few or the length of response message Take one-to-one mode waiting period short when degree is little.The transmission more than single pair is mass-sended, synchronous to transmit, rate is fast, in user When browser end number is much or the length of response message is not small, it can more express promptness, and mass-send so that response message The defect that correctness damages is disposed in following mode back warp by transfer mode again.Limit value one is after experiencing with limit value two Numerical value is obtained, the numerical value after experience can be relied on to change.Message information corresponding message of the wireless communication control module loss Segment is transferred to the user browser end according to the one-to-one of transmission control protocol again;For the message information of loss, just adopt It is transmitted with one-to-one mode, the incorrect defect of message information caused by avoiding mass-sending with this.
Description of the drawings
Fig. 1 is the principle schematic of the environmental pollution diffusion simulations system of the present invention.
Specific implementation mode
The present invention is described further below in conjunction with drawings and examples.
As shown in Figure 1, the method for environmental pollution diffusion simulations system, Web server according to the request at user browser end, Client layer is sent to after obtaining the data needed to data service layer inquiry to be shown;
The emulation server is to control mould through wireless telecommunications according to the mode that the simulation calculation at user browser end is asked The simulation calculation request at the user browser end is sent to emulation server by block and emulation server receives user browsing Response message is sent to user browser end to indicate to receive through wireless communication control module after the simulation calculation request at device end To the information, the simulation calculation request at the user browser end is sent to emulation server through wireless communication control module and is imitated True server receive the user browser end simulation calculation request after response message is sent through wireless communication control module To user browser end come indicate to receive the simulation calculation request at the user browser end be formed user browser end with Mutual information transmission between emulation server;
Mutual information transmission between user browser end and emulation server includes the following steps:
S1;Emulation server is with wireless communication control module structure in face of the link of transmission control protocol, wireless telecommunications control Molding block is with several user browser ends structure in face of the link of transmission control protocol;
S2:Emulation server transmits purpose at user browser end to be responded as through assigning in several user browser ends Response message is transmitted to wireless communication control module by ground;
Emulation server transmits destination at user browser end to be responded as through assigning in several user browser ends, connects It emulation server and the message information that inquiry could transmit is transmitted to wireless communication control module, until returning to time that can be transmitted Ying Hou builds the memory block of interim storage response message, response message is transferred to wirelessly according to the mode of transmission control protocol Communication control module;The response message that wireless communication control module transmits emulation server executes correctness monitoring, determines After correct, emulation server is transmitted towards wireless communication control module to be indicated to transmit errorless message information;
S3:If the number at user browser end as a purpose is not less than limit value one or the length of response message Not less than limit value two, it is transferred to step S4, just takes method for group sending;If the user browser end number of fruit as a purpose is little It is not more than limit value two in the length of limit value one or response message, proceeds to step S7, just take one-to-one transfer mode;
One-to-one transfer mode, information correctness is good, in user browser end number is few or the length of response message Take one-to-one mode waiting period short when degree is little.The transmission more than single pair is mass-sended, synchronous to transmit, rate is fast, in user When browser end number is much or the length of response message is not small, it can more express promptness, and mass-send so that response message The defect that correctness damages is disposed in following mode back warp by transfer mode again.Limit value one is after experiencing with limit value two Numerical value is obtained, the numerical value after experience can be relied on to change.
Step S4:Obtained response message is divided into several message segments by wireless communication control module, message segment The user browser end being transferred to as a purpose is mass-sended after being manipulated so the message information according to User Datagram Protocol agreement;
Response message is mass-sended via the method for mass-sending User Datagram Protocol towards the total user browser end in link;
Before transmitting response message, user browser end it is understood that transmit element, including the length of response message, read or Write permission, response message ID, storage address, group sending network address, mass-sending ID, they can be divided into several times through wireless telecommunications control Molding block is sent out, and also can disposably be sent out;User browser end get sequentially reach after response message response message structure, Read or write permission detection, storage address detection, the such operation in group sending network address, with this realize wireless communication control module with User browser end is parallel;
Wireless communication control module is divided into all response messages according to memory block capacity and is sent into memory field several times, Assembling is executed according to the message information of User Datagram Protocol for the response message of each memory block, for all assembled The message information of User Datagram Protocol executes the total user browser end that the mode mass-sended is transmitted in link;
Step S5:User browser end as a purpose executes report to the message information of the User Datagram Protocol of acquisition The loss of literary information monitors, and the loss rate of message information response to wireless communication control module;Wireless communication control module The loss rate of message information is calculated, if the loss rate of message information is not less than limit value three, step S4 is just rotated into and carrys out then group Hair transmits the message information according to User Datagram Protocol;If limit value three is more than the loss rate of message information, wirelessly Communication control module respectively faces to attend by the target user's browser end for losing message information, connects loss message information is corresponding It according to the one-to-one user browser end being transmitted to accordingly as a purpose of the message information of transmission control protocol;
User browser end can ceaselessly get the message information according to User Datagram Protocol and be held to message information The loss of row message information monitors.User browser end continues to monitor the message information according to User Datagram Protocol of acquisition, The message content carried in message information according to User Datagram Protocol is deposited into memory block, also refreshes and obtains sequence;It attends by Information transmission in memory block terminates, and user browser end must synchronize to get in memory block has do not refresh for what information, It is exactly which is lost according to the message information of User Datagram Protocol during the transmission of the internal counterfoil of memory block, is built with this The loss sequence of the message information of itself;
Wireless communication control module concentrates the dropout of the message information at user browser end all as a purpose, The loss rate for calculating all message informations compares it with limit value three;Limit value three is to obtain numerical value after experiencing, and can be relied on Numerical value after experience changes.
Wireless communication control module can in the information in a memory block transmit after all user browsers of sequential query The acquisition situation at end and the message information for transmitting loss again by requirement.User browser end is responded by the message information of loss To wireless communication control module.Wireless communication control module is the corresponding message segment of message information of loss again according to transmission The one-to-one of control protocol is transferred to the user browser end;For the message information of loss, just transmitted using one-to-one mode, The incorrect defect of message information caused by avoiding mass-sending with this.
Step S6:The message information according to User Datagram Protocol is examined at user browser end, if inspection is out of question, just It completes to examine, if inspection is problematic, user browser end is just allowed to respond the problematic message letter of wireless communication control module Breath, wireless communication control module are controlled according to transmission again the problematic message information according to User Datagram Protocol is transmitted Agreement is one-to-one to pass to the user browser end;
The check system includes even-odd check or hamming code check;
Step S7:Wireless communication control module is sent to the message information got according to transmission control protocol is one-to-one Each user browser end, with regard to this completion.
The present embodiment has the beneficial effect that:
One-to-one transfer mode, information correctness is good, in user browser end number is few or the length of response message Take one-to-one mode waiting period short when degree is little.The transmission more than single pair is mass-sended, synchronous to transmit, rate is fast, in user When browser end number is much or the length of response message is not small, it can more express promptness, and mass-send so that response message The defect that correctness damages is disposed in following mode back warp by transfer mode again.Limit value one is after experiencing with limit value two Numerical value is obtained, the numerical value after experience can be relied on to change.Message information corresponding message of the wireless communication control module loss Segment is transferred to the user browser end according to the one-to-one of transmission control protocol again;For the message information of loss, just adopt It is transmitted with one-to-one mode, the incorrect defect of message information caused by avoiding mass-sending with this.
A kind of environmental pollution diffusion simulations system, system are built using B/S (browser/server) Three Tiered Network Architecture, Including data service layer, application service layer and client layer;Wherein:
(1) data service layer is responsible for storing, altogether for the relevant spatial data of sudden water pollution accident and attribute data It enjoys and manages, including:
A. basic database:Including water quality data table, hydrographic data table, emergency information table, user message table etc.;
B. simulation data base:Including artificial tasks information table, simulation modular information table, simulation result information table, pollutant Emission information table, Map Services information table, simulation model file table;
C. map data base:Tissue carried out to burst water quality accident correlation space data, including basic geological study vector data, Raster Images data, contamination accident data.
2) application service layer is logical layer of the client layer (Web client) between data service layer, is responsible for main business The realization of logic, including:
A.Web servers:For the request according to user browser end, the data for obtaining and needing are inquired to data service layer After be sent to client layer and be shown;
B. emulation server:For being asked according to the simulation calculation at user browser end, realize to sudden water pollution thing Therefore simulation calculation, obtain pollutant DIFFUSION PREDICTION concentration-time sequence, stored to emulation as Simulation result data Database;
C.GIS servers:Map Services are realized using ArcGIS Server, and are supplied to client layer to make these services With.
(3) client layer (also referred to as web client end layer), is realized by Flex technology, for completing map datum and business number According to integration exhibition and human-computer interaction interrelated logic, simulation result data are presented to use with map and diagrammatic form Family mainly provides following functional unit:
A. simulation result display unit:It realizes that dynamic of the Simulation result data in GIS map renders, realizes accident The integrated exhibition in GIS map such as associated property data, including water quality data, hydrographic data, contaminant information, event information Show, which includes pollutant dispersion ability simulation drawing and section pollutant concentration time series chart.
B. artificial tasks administrative unit, realizes the list management of artificial tasks, including creates, runs, stops, deleting, look into It sees, issue the functions such as artificial tasks;Have simulation modular by selection and create artificial tasks, runs and calculate after editing parameter, fortune It is checked after calculation as a result, as result meets the requirements, then carries out result publication, Simulation result data is stored to simulation result and is believed Cease table;
C. simulation modular administrative unit:Realize the list management of simulation modular, including newly-built, editor, deletion simulation modular Etc. functions, simulation modular is for deriving different artificial tasks;
Crucial in this way is that the realization of emulation server and the dynamic of simulation result view side render, wherein emulation server Feature is the numerical simulation calculating for the sudden water pollution accident for supporting multitask, including hydrodynamics and calculation and water quality model It calculates, obtains the predicted time sequence of pollutant concentration, stored to Simulation result data table with unified format and called for client layer Display.The simulation result display unit of client layer utilizes WebGIS technologies, realizes diffusion of the Simulation result data in GIS map Dynamic render, and realize burst water pollution event associated property data, including water quality data, hydrographic data, contaminant information, The Overlapping display in GIS map such as event information.
User browser end is connected by wireless communication control module with emulation server, the number of wireless communication control module Amount is one, and user browser end quantity is several, that is, wireless communication module connects with several user browser ends It connects, and the quantity of emulation server is one, which is connected with an emulation server.
The present invention is described in a manner of description of the drawings above, it will be understood by those of skill in the art that the disclosure It is not limited to embodiments described above, in the case of without departing from the scope of the present invention, can make a variety of changes, change and replace It changes.

Claims (3)

1. a kind of method of environmental pollution diffusion simulations system, which is characterized in that Web server is asked according to user browser end It asks, being sent to client layer after obtaining the data needed to data service layer inquiry is shown;
The emulation server is according to the mode that the simulation calculation at user browser end is asked will through wireless communication control module The simulation calculation request at user browser end is sent to emulation server and emulation server passes through after receiving simulation calculation request Response message is sent to user browser end to indicate to receive the information by wireless communication control module, is controlled through wireless telecommunications The simulation calculation request at the user browser end is sent to emulation server by module and emulation server receives simulation calculation Response message is sent to user browser end to indicate to receive simulation calculation request through wireless communication control module after request The mutual information transmission being formed between user browser end and emulation server;
Mutual information transmission between user browser end and emulation server includes the following steps:
S1;For emulation server with wireless communication control module structure in face of the link of transmission control protocol, wireless telecommunications control mould Block is with several user browser ends structure in face of the link of transmission control protocol;
S2:Emulation server transmits destination at user browser end to be responded as through assigning in several user browser ends, Response message is transmitted to wireless communication control module;
Emulation server transmits destination at user browser end to be responded as through assigning in several user browser ends, then imitates True server transmits wireless communication control module the message information that inquiry could transmit, until returning to the response that can be transmitted Afterwards, response message, is transferred to channel radio by the memory block for building interim storage response message according to the mode of transmission control protocol Interrogate control module;The response message that wireless communication control module transmits emulation server executes correctness monitoring, determines just After really, emulation server is transmitted towards wireless communication control module to be indicated to transmit errorless message information;
S3:If the number at user browser end as a purpose is not small not less than the length of limit value one or response message In limit value two, it is transferred to step S4, just takes method for group sending;If the user browser end number of fruit as a purpose is no more than limit The length of definite value one or response message is not more than limit value two, proceeds to step S7, just takes one-to-one transfer mode;
Step S4:Obtained response message is divided into several message segments by wireless communication control module, and message segment is disposed It is transferred to user browser end as a purpose at mass-sending after the message information according to User Datagram Protocol agreement;
Response message is mass-sended via the method for mass-sending User Datagram Protocol towards the total user browser end in link;
Before transmitting response message, user browser end is it is understood that the element transmitted, including the length of response message, reads or writes power Limit, response message ID, storage address, group sending network address, mass-sending ID, they can be divided into controls mould through wireless telecommunications several times Block is sent out, and also can disposably be sent out;User browser end get sequentially reach response message structure after response message, read or Write permission detection, storage address detection, the such operation in group sending network address, wireless communication control module and user are realized with this Browser end is parallel;
Wireless communication control module is divided into all response messages according to memory block capacity and is sent into memory field several times, for The response message of each memory block executes assembling according to the message information of User Datagram Protocol, for all assembled users The message information of datagram protocol executes the total user browser end that the mode mass-sended is transmitted in link;
Step S5:User browser end as a purpose executes message letter to the message information of the User Datagram Protocol of acquisition The loss of breath monitors, and the loss rate of message information response to wireless communication control module;Wireless communication control module calculates The loss rate of message information just rotates into step S4 then to mass-send biography if the loss rate of message information is not less than limit value three Pass the message information according to User Datagram Protocol;If limit value three is more than the loss rate of message information, wireless telecommunications Control module respectively face attend by lose message information target user's browser end, loss message information it is corresponding then according to According to the one-to-one user browser end being transmitted to accordingly as a purpose of the message information of transmission control protocol;
User browser end can ceaselessly get the message information according to User Datagram Protocol and execute report to message information The loss of literary information monitors.User browser end continues to monitor the message information according to User Datagram Protocol of acquisition, according to Memory block is deposited into according to the message content carried in the message information of User Datagram Protocol, also refreshes and obtains sequence;Attend by memory Information transmission in block terminates, and user browser end must synchronize to get in memory block has do not refresh for what information, that is, Which is lost according to the message information of User Datagram Protocol during the transmission of the internal counterfoil of memory block, itself is built with this Message information loss sequence;
Wireless communication control module concentrates the dropout of the message information at user browser end all as a purpose, calculates The loss rate of all message informations compares it with limit value three;
Wireless communication control module can after the information in a memory block is transmitted sequential query all user browser ends It obtains situation and transmits the message information of loss again by requirement.User browser end is the message information of loss response to nothing Line communication control module.Step S6:The message information according to User Datagram Protocol is examined at user browser end, is not had if examined Problem is just completed to examine, if inspection is problematic, user browser end is just allowed to respond the problematic of wireless communication control module Message information, wireless communication control module is the problematic message information according to User Datagram Protocol of transmission again according to biography Transport control protocol view is one-to-one to pass to the user browser end;
Step S7:Wireless communication control module the message information got according to transmission control protocol it is one-to-one be sent to it is each User browser end, with regard to this completion.
2. the method for environmental pollution diffusion simulations system according to claim 1, which is characterized in that the check system packet Include even-odd check or hamming code check.
3. environmental pollution diffusion simulations system according to claim 1, which is characterized in that system includes application service layer; Wherein:
2) application service layer is logical layer of the client layer (Web client) between data service layer, is responsible for main business logic Realization, including:
A.Web servers:For the request according to user browser end, sent out after inquiring the data for obtaining and needing to data service layer Client layer is given to be shown;
User browser end is connected by wireless communication control module with emulation server, and the quantity of wireless communication control module is One, user browser end quantity is several, that is, a wireless communication module connect with several user browser ends, and The quantity of emulation server is one, which is connected with an emulation server.
CN201810147875.2A 2018-02-13 2018-02-13 A kind of environmental pollution diffusion simulations system and method Pending CN108416122A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810147875.2A CN108416122A (en) 2018-02-13 2018-02-13 A kind of environmental pollution diffusion simulations system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810147875.2A CN108416122A (en) 2018-02-13 2018-02-13 A kind of environmental pollution diffusion simulations system and method

Publications (1)

Publication Number Publication Date
CN108416122A true CN108416122A (en) 2018-08-17

Family

ID=63128622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810147875.2A Pending CN108416122A (en) 2018-02-13 2018-02-13 A kind of environmental pollution diffusion simulations system and method

Country Status (1)

Country Link
CN (1) CN108416122A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708245A (en) * 2012-05-09 2012-10-03 浙江大学 Sudden water pollution accident analog simulation and visualization service system
CN105162868A (en) * 2015-09-18 2015-12-16 华中师范大学 Method for reliably transmitting data between teacher end and student end
EP3016431A1 (en) * 2013-06-26 2016-05-04 Samsung Electronics Co., Ltd. Method and device for transmitting data
CN107277129A (en) * 2017-06-15 2017-10-20 北京睿至大数据有限公司 Cloud storage platform and cloud storage terminal
CN107302572A (en) * 2017-06-15 2017-10-27 北京睿至大数据有限公司 A kind of framework method of cloud Surveillance center
CN107635367A (en) * 2017-09-18 2018-01-26 江苏海事职业技术学院 A kind of computer tests system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708245A (en) * 2012-05-09 2012-10-03 浙江大学 Sudden water pollution accident analog simulation and visualization service system
EP3016431A1 (en) * 2013-06-26 2016-05-04 Samsung Electronics Co., Ltd. Method and device for transmitting data
CN105162868A (en) * 2015-09-18 2015-12-16 华中师范大学 Method for reliably transmitting data between teacher end and student end
CN107277129A (en) * 2017-06-15 2017-10-20 北京睿至大数据有限公司 Cloud storage platform and cloud storage terminal
CN107302572A (en) * 2017-06-15 2017-10-27 北京睿至大数据有限公司 A kind of framework method of cloud Surveillance center
CN107635367A (en) * 2017-09-18 2018-01-26 江苏海事职业技术学院 A kind of computer tests system and method

Similar Documents

Publication Publication Date Title
CN111355780B (en) Internet of things monitoring management method and system based on block chain
CN114329920B (en) Virtual-real system combined large-scale satellite network simulation evaluation and test system
CN101986331B (en) Power grid simulation calculation cooperative work system
CN107850882A (en) Automation and control distributed
CN102982209B (en) Spatial network visual simulation system and emulation mode based on HLA
CN109478056A (en) Intelligent node for distributed grid network
CN104766155A (en) Engineering project element management method and system based on BIM
CN104537908A (en) Multi-stage scheduling integrated simulation system based on model sharing and method
US20020146675A1 (en) Role managed collaborative learning support system and method
Lyamin et al. RLCP-compatible virtual laboratories
CN107483284A (en) The method of testing and device of the network equipment
CN104428811B (en) Use the general purpose simulation system of social network interface
CN108416122A (en) A kind of environmental pollution diffusion simulations system and method
Podolskiy et al. Practical education in iot through collaborative work on open-source projects with industry and entrepreneurial organizations
Kaufmann Dynamic differential geometry in education
CN114095486A (en) Combination of virtual desktop teaching technology and multimedia classroom
Isaeva et al. Creation of a simulation stand for studying of the internet of things’ technologies
Zhang Application of 3D Digital Technology in Virtual Laboratory Training
CN105843597A (en) Providing method and device for establishment information of tasks
Junqueira et al. A platform for distributed modeling and simulation of productive systems based on Petri nets and object-oriented paradigm
West et al. FLIC: a distributed fog cache for city-scale applications
He Design and Application of Interactive Teaching System for Electronic Engineering Specialty Based on ZigBee
KR102532269B1 (en) Digital twin based equipment control simulation system and education contents providing method using the same
CN108363874A (en) A kind of expanding type environmental pollution diffusion simulations command system and its method
Wang Exploration of Cultural Teaching Mechanisms of Ideology and Politics Courses under the Background of “Internet Plus”

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180817

WD01 Invention patent application deemed withdrawn after publication