Environmental status analysis method, device, computer device and storage medium
By acquiring and analyzing environmental data and establishing a neural network model, the problem of data not meeting the model requirements in environmental status analysis is solved, the accuracy of the analysis is improved, and the accurate identification of the impact of environmental status and the formulation of protection strategies are achieved.
Patent Information
- Application Number
- CN201911402816.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-12-30
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2039-12-30
AI Technical Summary
In big data analysis, environmental status analysis results are inaccurate because the data samples do not meet the model requirements. There are various factors that affect the environmental status, making it difficult to analyze accurately.
By obtaining environmental protection data, pollution source data and environmental monitoring data, use the environmental state simulation system to determine key data and its impact, and establish an analysis model based on neural networks, train and adjust the model to improve prediction accuracy, and finally output the environmental state degree of influence.
It improves the accuracy of environmental status analysis and can more effectively identify key data that affects the environmental status and its degree of impact, thereby formulating accurate protection strategies.
Smart Images

Figure CN113128013B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to an environment state analysis method, an environment state analysis device, a computer device and a computer storage medium. Background Art
[0002] Nowadays, the application of big data analysis in various industries has become more and more extensive, and people formulate corresponding strategies based on the results of big data analysis. The impact of different factors on the environmental state of big data analysis requires analyzing the environmental state of the designated place under different scenarios. Due to the many factors that affect the environmental state, in the process of environmental state analysis, the data samples often do not meet the requirements of the big data analysis model, resulting in inaccurate analysis results of the big data analysis model. Summary of the invention
[0003] In view of the above, it is necessary to propose an environmental state analysis method, an environmental state analysis device, a computer device and a computer storage medium, so that the environmental state analysis can be performed in a more accurate manner.
[0004] A first aspect of the present application provides an environmental status analysis method, the method comprising:
[0005] Acquire key data that affects the environmental status of a preset place, wherein the key data includes: one or more of environmental protection data, pollution source data, and environmental monitoring data;
[0006] The key data is input into the analysis model, and the influence degree of the key data on the environmental state of the preset place is output, wherein the influence degree of the environmental state includes the diffusion rate of harmful gases and / or the dust content in the air.
[0007] Preferably, the training step of the analysis model comprises:
[0008] Acquire all data affecting the environmental status of the preset place;
[0009] Analyze all the data through the environmental state simulation system to determine the key data that affects the environmental state of the preset place and the degree of influence of the key data on the environmental state of the preset place;
[0010] The key data that affects the environmental state of the preset place and the degree of influence of the key data on the environmental state of the place are imported into the analysis model to train the parameters of the analysis model.
[0011] Preferably, the method of analyzing all the data through the environmental state simulation system to determine the key data affecting the environmental state of the preset place and the degree of influence of the key data on the environmental state of the preset place includes:
[0012] Divide each data into multiple intervals according to its range of variation;
[0013] According to the change rule of the interval, the data is sequentially input into the environmental condition simulation system according to different change amounts, and it is determined whether the change of the data will affect the environmental condition;
[0014] If the change of the data affects the environmental condition, the data is determined to be key data that affects the environmental condition of the preset place, and the key data and the degree of influence of the change of the key data on the environmental condition are correspondingly stored in the database.
[0015] Preferably, the training step of the analysis model further includes:
[0016] Acquire key data that affects the environmental status and the degree of influence of the key data on the environmental status of the place in a preset database;
[0017] Divide the key data that affect the environmental state of the preset place and the degree of influence of the key data on the environmental state of the preset place into a training set and a verification set;
[0018] Establishing an analysis model based on a neural network, and using the training set to train the parameters of the analysis model, wherein the key data in the training set that affects the environmental state of the preset place is used as the input data of the model, and the degree of influence of the key data on the environmental state of the preset place is used as the output data of the model;
[0019] The trained analysis model is verified using the verification set, and the prediction accuracy of the model is obtained based on the verification results;
[0020] Determine whether the prediction accuracy of the model is less than a preset threshold;
[0021] If the prediction accuracy of the model is not less than the preset threshold, the training of the analysis model is terminated.
[0022] Preferably, the method further comprises:
[0023] If the prediction accuracy of the model is less than the preset threshold, adjusting the structure of the analysis model, and retraining the adjusted analysis model using the training set, wherein the structure of the analysis model includes at least one of the number of convolution kernels, the number of elements in the pooling layer, and the number of elements in the fully connected layer;
[0024] The retrained analysis model is verified using the verification set, and the model prediction accuracy of the adjusted analysis model is re-stated based on the verification result, and it is determined whether the model prediction accuracy of the adjusted analysis model is less than the preset threshold;
[0025] If the model prediction accuracy obtained by the re-statistics is not less than the preset threshold, the training of the analysis model is terminated;
[0026] If the model prediction accuracy obtained by the re-statistics is less than the preset threshold, the above adjustment and training steps are repeated until the model prediction accuracy obtained by verification with the verification set is not less than the preset threshold.
[0027] Preferably, the method further comprises:
[0028] According to the degree of influence on the environmental status of the preset place analyzed by the analysis model, the corresponding protection strategy is searched in the database and implemented, wherein the database stores the corresponding relationship between the degree of environmental influence and the protection strategy.
[0029] A second aspect of the present application provides an environmental status analysis device, the device comprising:
[0030] An acquisition module, used to acquire key data affecting the environmental status of a preset place, wherein the key data includes: one or more of environmental protection data, pollution source data, and environmental monitoring data;
[0031] The analysis module is used to input the key data into the analysis model and output the degree of influence of the key data on the environmental state of the preset place, wherein the degree of influence of the environmental state includes the diffusion rate of harmful gases and / or the dust content in the air.
[0032] A third aspect of the present application provides a computer device, the computer device comprising a processor, the processor being configured to implement the aforementioned environmental status analysis method when executing a computer program stored in a memory.
[0033] A fourth aspect of the present application provides a computer storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the environmental status analysis method as described above.
[0034] The environmental state analysis method, environmental state analysis device, computer device and computer storage medium of the present invention input key data affecting the environmental state of a preset place into an analysis model, and output the degree of influence of the data on the environmental state of the place, wherein the key data is data that can affect the environmental state as the data changes. The accuracy of environmental state analysis can be improved by the method. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a schematic diagram of the application environment architecture of the environment status analysis method provided in Example 1 of the present invention.
[0036] Figure 2 It is a flow chart of the environmental status analysis method provided in the second embodiment of the present invention.
[0037] Figure 3 It is a structural schematic diagram of the environmental status analysis device provided in Example 3 of the present invention.
[0038] Figure 4 It is a schematic diagram of a computer device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0039] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0040] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. The embodiments described are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0041] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0042] Embodiment 1
[0043] See also Figure 1 , which is a schematic diagram of the application environment architecture of the environmental status analysis method provided in the first embodiment of the present invention.
[0044] The environmental state analysis method of the present invention is applied in a user terminal 1, and the user terminal 1 and a computer device 2 establish a communication connection through a network. The network can be a wired network or a wireless network, such as radio, wireless fidelity (WIFI), cellular, satellite, broadcast, etc. The user terminal 1 is used to obtain key data of the environmental state of a preset place, and use the environmental state analysis method to analyze the degree of influence of the data on the environment of the place. The computer device 2 is used to store different key data and the degree of influence of the change of the key data on the environmental state, and the corresponding relationship between the degree of influence of the key data on the environment of the place and the protection strategy.
[0045] The user terminal 1 may be an electronic device installed with environmental status analysis software, such as a personal computer, a tablet computer, etc.
[0046] The computer device 2 can be an electronic device that stores different key data and the impact of changes in the key data on environmental conditions, and the correspondence between the impact of the key data on the site environment and the protection strategy, such as a personal computer, a server, etc., wherein the server can be a single server, a server cluster or a cloud server, etc.
[0047] In another embodiment of the present invention, the different key data and the influence of the changes in the key data on the environmental status, and the corresponding relationship between the influence of the key data on the site environment and the protection strategy can also be stored in the user terminal 1.
[0048] Embodiment 2
[0049] See also Figure 2 FIG. 1 is a flow chart of an environmental status analysis method provided by a second embodiment of the present invention. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted.
[0050] Step S1, obtaining key data affecting the environmental status of a preset place.
[0051] The key data includes: one or more of environmental protection data, pollution source data, and environmental monitoring data. The environmental protection data includes but is not limited to the number of exhaust vents in the preset area, the location of the exhaust vents, the number of fire sprinkler heads, and the location of the fire sprinkler heads. The pollution source data includes but is not limited to the number of fire sources in the preset area, the location of the fire source, the location of the emission point of toxic and harmful gases, and the number of emission points of toxic and harmful gases. The environmental monitoring data includes measurement and monitoring data related to environmental conditions such as ambient temperature and ambient humidity.
[0052] In one embodiment, the method for obtaining the data of the environmental status of the preset place may include: receiving the number of exhaust vents in the preset area of the preset place input by the user, the location of the exhaust vents, the number of ceiling fire sprinkler heads, the number of fire sources, the location of the fire sources, the location and number of emission points of toxic and harmful gases, ambient temperature, humidity data and other data on the environmental status of the preset place.
[0053] In another embodiment, the method for acquiring the data on the environmental status of the preset place may include receiving multiple images of the place to be evaluated captured by at least one camera device, and identifying the number of exhaust vents in the images, the locations of the exhaust vents, the number of ceiling fire sprinkler heads, the number of fire sources, the locations of the fire sources, the locations and number of emission points of toxic and harmful gases, and other data on the environmental status of the preset place through an image recognition method.
[0054] Step S2: input the key data into the analysis model, and output the degree of influence of the key data on the environmental state of the preset place, wherein the degree of influence of the environmental state includes the diffusion rate of harmful gases and / or the dust content in the air.
[0055] The training step of the analysis model may include:
[0056] (1) Obtain all data that affects the environmental status of the preset place.
[0057] In one embodiment of the present invention, all the data refer to all the data that can affect the environment of the preset place, including the number of people in the preset place, the placement of items in the preset place, the orientation of doors, windows, and exhaust vents, changes in ambient temperature and humidity, the number of air purification equipment, the number of fire-fighting equipment, the number of ceiling fire sprinkler heads, etc.
[0058] (2) Analyzing all the data through an environmental state simulation system to determine key data that affects the environmental state of the preset place and the degree of influence of the key data on the environmental state of the preset place.
[0059] The method for determining the key data includes:
[0060] Divide each data into multiple intervals according to its range of variation;
[0061] According to the change rule of the interval, the data is sequentially input into the environmental condition simulation system according to different change amounts, and it is determined whether the change of the data will affect the environmental condition;
[0062] If the change of the data affects the environmental condition, the data is determined to be key data that affects the environmental condition of the preset place, and the key data and the degree of influence of the change of the key data on the environmental condition are correspondingly stored in the database.
[0063] For example, it is analyzed whether the temperature of the preset place is the key data affecting the environmental state of the preset place. In one embodiment, the preset place is an aluminum-magnesium material processing workshop, and the environmental state is the concentration of aluminum-magnesium dust in the air of the preset place. The spatial layout design drawings of all items in the processing workshop and all items in the workshop are input into the simulation system through the environmental state simulation system. For every 1% change in the humidity of the processing workshop, the concentration of aluminum-magnesium powder in the air of the processing workshop is calculated by the simulation system. And it is judged whether the concentration of aluminum-magnesium powder in the air changes with the change of humidity. If it changes, the humidity of the preset place is the key data affecting the environmental state of the preset place. If it does not change, the humidity of the preset place is not the key data affecting the environmental state of the preset place. And the key data and the degree of influence of the key data on the environmental state of the preset place are stored in the preset database.
[0064] (3) Importing key data that affects the environmental state of the preset place and the degree of influence of the key data on the environmental state of the place into the analysis model to train the parameters of the analysis model.
[0065] The training step also includes:
[0066] The key data that affects the environmental status and the degree of influence of the key data on the environmental status of the place are obtained in a preset database.
[0067] The key data that affect the environmental state of a preset place and the degree of influence of the key data on the environmental state of the preset place are divided into a training set and a verification set.
[0068] A neural network-based analysis model is established, and the parameters of the analysis model are trained using the training set, wherein key data in the training set that affects the environmental state of a preset place is used as input data of the model, and the degree of influence of the key data on the environmental state of the preset place is used as output data of the model.
[0069] The trained analysis model is verified using the verification set, and the model prediction accuracy is obtained based on the verification results.
[0070] Determine whether the prediction accuracy of the model is less than a preset threshold.
[0071] If the prediction accuracy of the model is not less than the preset threshold, the training of the analysis model is terminated.
[0072] If the prediction accuracy of the model is less than the preset threshold, the structure of the analysis model is adjusted, and the adjusted analysis model is retrained using the training set, wherein the structure of the analysis model includes at least one of the number of convolution kernels, the number of elements in the pooling layer, and the number of elements in the fully connected layer.
[0073] The validation set is used to validate the retrained analysis model, and the model prediction accuracy of the adjusted analysis model is re-statisticed based on the validation result, and it is determined whether the model prediction accuracy of the adjusted analysis model is less than the preset threshold.
[0074] If the prediction accuracy of the model obtained by the re-statistics is not less than the preset threshold, the training of the analysis model is terminated.
[0075] If the model prediction accuracy obtained by the re-statistics is less than the preset threshold, the above adjustment and training steps are repeated until the model prediction accuracy obtained by verification with the verification set is not less than the preset threshold.
[0076] The steps in the training method of the above analysis model can be changed according to the actual needs, and some steps can be omitted. The training method can be completed online or offline.
[0077] Before introducing the key data affecting the environmental state into the analysis model, the method further includes:
[0078] The key data affecting the environmental status are numerically processed, and the items in the fire protection status are mapped to the interval of 0 to 1 according to the analysis model and a preset ratio.
[0079] For example, if the number of personnel that can be analyzed by the analysis model is 2,000, and the number of personnel in the place to be evaluated is 500, then the ratio of 0.4 between the number of personnel in the place to be evaluated and the number of personnel that can be analyzed by the analysis model is used as the first analysis item input data of the key data affecting the environmental state and is input into the analysis model. For another example, if the number of ceiling vents in the environmental state information that can be analyzed in the analysis model is 1,000, and the number of ceiling vents in the preset place is 100, then the ratio of 0.1 between the number of ceiling vents in the preset place and the number of ceiling vents that can be analyzed by the analysis model is used as the second analysis item input data of the key data affecting the environmental state and is input into the analysis model. Thus, multiple items in the fire status information are digitized.
[0080] The key data that affects the environmental status after being digitized are analyzed using an analysis model to output the degree of influence of the data on the environmental status of the site. The analysis model maps the degree of influence of the data on the environmental status of the site to a range of 0 to 1 according to a preset ratio. For example, the dust content in the air that can be analyzed by the analysis model is 20 mg / m 3 , input the key data affecting the environmental status of the place to be evaluated into the analysis model, and after analysis, output the impact of the key data on the dust content in the air as 0.02, multiply the impact by the dust content in the air that can be analyzed by the model, and obtain the impact of the key data on the dust in the air of the place as 0.4mg / m 3 .
[0081] In another embodiment of the present invention, the step S2 further includes:
[0082] According to the degree of influence on the environmental status of the preset place analyzed by the analysis model, the corresponding protection strategy is searched in the database and implemented, wherein the database stores the corresponding relationship between the degree of influence of the environment and the protection strategy. For example, the analysis model analyzes that the temperature has an impact on the dust content in the air of the place. For every 2 degrees Celsius increase in temperature, the dust content in the air increases by 0.02mg / m 3 , and when the temperature is 20 degrees Celsius, the dust content in the air meets the requirements of the place for the dust content in the air, so a prompt message is output to control the ambient temperature of the place to 20 degrees Celsius as a protection strategy, and the air-conditioning system is automatically controlled to adjust the temperature.
[0083] Above Figure 2 The environmental status analysis method of the present invention is introduced in detail. In conjunction with Figures 3-4, the functional modules of the software device that implements the environmental status analysis method and the hardware device architecture that implements the environmental status analysis method are introduced below.
[0084] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited by this structure.
[0085] Embodiment 3
[0086] Figure 3 It is a structural diagram of a preferred embodiment of the environmental status analysis device of the present invention.
[0087] In some embodiments, the environment state analysis device 10 runs in a computer device. The computer device is connected to multiple user terminals via a network. The environment state analysis device 10 may include multiple functional modules composed of program code segments. The program code of each program segment in the environment state analysis device 10 may be stored in the memory of the computer device and executed by the at least one processor to implement the environment state analysis function.
[0088] In this embodiment, the environment state analysis device 10 can be divided into multiple functional modules according to the functions it performs. Figure 3 As shown, the functional modules may include: an acquisition module 101 and an analysis module 102. The module referred to in the present invention refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, which are stored in a memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.
[0089] The acquisition module 101 is used to acquire key data affecting the environmental status of a preset place.
[0090] The key data includes: one or more of environmental protection data, pollution source data, and environmental monitoring data. The environmental protection data includes but is not limited to the number of exhaust vents in the preset area, the location of the exhaust vents, the number of fire sprinkler heads, and the location of the fire sprinkler heads. The pollution source data includes but is not limited to the number of fire sources in the preset area, the location of the fire source, the location of the emission point of toxic and harmful gases, and the number of emission points of toxic and harmful gases. The environmental monitoring data includes measurement and monitoring data related to environmental conditions such as ambient temperature and ambient humidity.
[0091] In one embodiment, the method for obtaining the data of the environmental status of the preset place may include: receiving the number of exhaust vents in the preset area of the preset place input by the user, the location of the exhaust vents, the number of ceiling fire sprinkler heads, the number of fire sources, the location of the fire sources, the location and number of emission points of toxic and harmful gases, ambient temperature, humidity data and other data on the environmental status of the preset place.
[0092] In another embodiment, the method for acquiring the data on the environmental status of the preset place may include receiving multiple images of the place to be evaluated captured by at least one camera device, and identifying the number of exhaust vents in the images, the locations of the exhaust vents, the number of ceiling fire sprinkler heads, the number of fire sources, the locations of the fire sources, the locations and number of emission points of toxic and harmful gases, and other data on the environmental status of the preset place through an image recognition method.
[0093] The analysis module 102 is used to input the key data into the analysis model and output the impact of the key data on the environmental state of the preset place, wherein the impact of the environmental state includes the diffusion rate of harmful gases and / or the dust content in the air.
[0094] The specific method of the training step of the analysis model may include:
[0095] (1) Obtain all data that affects the environmental status of the preset place.
[0096] In one embodiment of the present invention, all the data refer to all the data that can affect the environment of the preset place, including the number of people in the preset place, the placement of items in the preset place, the orientation of doors, windows, and exhaust vents, changes in ambient temperature and humidity, the number of air purification equipment, the number of fire-fighting equipment, the number of ceiling fire sprinkler heads, etc.
[0097] (2) Analyzing all the data through an environmental state simulation system to determine key data that affects the environmental state of the preset place and the degree of influence of the key data on the environmental state of the preset place.
[0098] The method for determining the key data includes:
[0099] Divide each data into multiple intervals according to its range of variation;
[0100] According to the change rule of the interval, the data is sequentially input into the environmental condition simulation system according to different change amounts, and it is determined whether the change of the data will affect the environmental condition;
[0101] If the change of the data affects the environmental condition, the data is determined to be key data that affects the environmental condition of the preset place, and the key data and the degree of influence of the change of the key data on the environmental condition are correspondingly stored in the database.
[0102] For example, it is analyzed whether the temperature of the preset place is the key data affecting the environmental state of the preset place. In one embodiment, the preset place is an aluminum-magnesium material processing workshop, and the environmental state is the concentration of aluminum-magnesium dust in the air of the preset place. The spatial layout design drawings of all items in the processing workshop and all items in the workshop are input into the simulation system through the environmental state simulation system. For every 1% change in the humidity of the processing workshop, the concentration of aluminum-magnesium powder in the air of the processing workshop is calculated by the simulation system. And it is judged whether the concentration of aluminum-magnesium powder in the air changes with the change of humidity. If it changes, the humidity of the preset place is the key data affecting the environmental state of the preset place. If it does not change, the humidity of the preset place is not the key data affecting the environmental state of the preset place. And the key data and the degree of influence of the key data on the environmental state of the preset place are stored in the preset database.
[0103] (3) Importing key data that affects the environmental state of the preset place and the degree of influence of the key data on the environmental state of the place into the analysis model to train the parameters of the analysis model.
[0104] The training step also includes:
[0105] The key data that affects the environmental status and the degree of influence of the key data on the environmental status of the place are obtained in a preset database.
[0106] The key data that affect the environmental state of a preset place and the degree of influence of the key data on the environmental state of the preset place are divided into a training set and a verification set.
[0107] A neural network-based analysis model is established, and the parameters of the analysis model are trained using the training set, wherein key data in the training set that affects the environmental state of a preset place is used as input data of the model, and the degree of influence of the key data on the environmental state of the preset place is used as output data of the model.
[0108] The trained analysis model is verified using the verification set, and the model prediction accuracy is obtained based on the verification results.
[0109] Determine whether the prediction accuracy of the model is less than a preset threshold.
[0110] If the prediction accuracy of the model is not less than the preset threshold, the training of the analysis model is terminated.
[0111] If the prediction accuracy of the model is less than the preset threshold, the structure of the analysis model is adjusted, and the adjusted analysis model is retrained using the training set, wherein the structure of the analysis model includes at least one of the number of convolution kernels, the number of elements in the pooling layer, and the number of elements in the fully connected layer.
[0112] The validation set is used to validate the retrained analysis model, and the model prediction accuracy of the adjusted analysis model is re-statisticed based on the validation result, and it is determined whether the model prediction accuracy of the adjusted analysis model is less than the preset threshold.
[0113] If the prediction accuracy of the model obtained by the re-statistics is not less than the preset threshold, the training of the analysis model is terminated.
[0114] If the model prediction accuracy obtained by the re-statistics is less than the preset threshold, the above adjustment and training steps are repeated until the model prediction accuracy obtained by verification with the verification set is not less than the preset threshold.
[0115] The steps in the training method of the above analysis model can be changed according to the actual needs, and some steps can be omitted. The training method can be completed online or offline.
[0116] Before introducing the key data affecting the environmental state into the analysis model, the method further includes:
[0117] The key data affecting the environmental status are numerically processed, and the items in the fire protection status are mapped to the interval of 0 to 1 according to the analysis model and a preset ratio.
[0118] For example, if the number of personnel that can be analyzed by the analysis model is 2,000, and the number of personnel in the place to be evaluated is 500, then the ratio of 0.4 between the number of personnel in the place to be evaluated and the number of personnel that can be analyzed by the analysis model is used as the first analysis item input data of the key data affecting the environmental state and is input into the analysis model. For another example, if the number of ceiling vents in the environmental state information that can be analyzed in the analysis model is 1,000, and the number of ceiling vents in the preset place is 100, then the ratio of 0.1 between the number of ceiling vents in the preset place and the number of ceiling vents that can be analyzed by the analysis model is used as the second analysis item input data of the key data affecting the environmental state and is input into the analysis model. Thus, multiple items in the fire status information are digitized.
[0119] The digitized key data affecting the environmental status are analyzed using an analysis model, and the degree of influence of the data on the environmental status of the place is output. The analysis model maps the degree of influence of the data on the environmental status of the place to a range of 0 to 1 according to a preset ratio. For example, the dust content in the air that can be analyzed by the analysis model is 20 mg / m3. The key data affecting the environmental status of the place to be evaluated is input into the analysis model for analysis, and the output is that the degree of influence of the key data on the dust content in the air is 0.02. The degree of influence is multiplied by the dust content in the air that can be analyzed by the model, and the influence of the key data on the dust in the air of the place is 0.4 mg / m3.
[0120] In another embodiment of the present invention, the analysis module 102 is further configured to:
[0121] According to the degree of influence on the environmental state of the preset place analyzed by the analysis model, the corresponding protection strategy is searched in the database and implemented, wherein the database stores the corresponding relationship between the degree of influence of the environment and the protection strategy. For example, after the analysis model analyzes that the temperature has an impact on the dust content in the air in the place, the dust content in the air increases by 0.02mg / m3 for every 2 degrees Celsius increase in temperature, and when the temperature is 20 degrees Celsius, the dust content in the air meets the requirements of the place for the dust content in the air, so a prompt message to control the ambient temperature of the place to 20 degrees Celsius is output as a protection strategy, and the air conditioning system is automatically controlled to adjust the temperature.
[0122] Embodiment 4
[0123] Figure 4 FIG. 4 is a schematic diagram of a preferred embodiment of a computer device of the present invention.
[0124] The computer device 1 includes a memory 20, a processor 30, and a computer program 40 stored in the memory 20 and executable on the processor 30, such as an environment state analysis program. When the processor 30 executes the computer program 40, the steps in the above-mentioned environment state analysis method embodiment are implemented, such as Figure 2 Alternatively, when the processor 30 executes the computer program 40, the functions of each module / unit in the above-mentioned embodiment of the environmental state analysis device are realized, for example Figure 3 Units 101-102 in.
[0125] Exemplarily, the computer program 40 may be divided into one or more modules / units, which are stored in the memory 20 and executed by the processor 30 to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, and the instruction segments are used to describe the execution process of the computer program 40 in the computer device 1. For example, the computer program 40 may be divided into Figure 3 The acquisition module 101 and the analysis module 102 in it.
[0126] The computer device 1 may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. Those skilled in the art will appreciate that the schematic diagram is merely an example of the computer device 1 and does not limit the computer device 1. The computer device 1 may include more or fewer components than shown in the diagram, or may combine certain components, or may include different components. For example, the computer device 1 may also include input and output devices, network access devices, buses, etc.
[0127] The processor 30 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor 30 may be any conventional processor, etc. The processor 30 is the control center of the computer device 1, and uses various interfaces and lines to connect various parts of the entire computer device 1.
[0128] The memory 20 can be used to store the computer program 40 and / or modules / units. The processor 30 implements various functions of the computer device 1 by running or executing the computer program and / or modules / units stored in the memory 20 and calling the data stored in the memory 20. The memory 20 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the computer device 1 (such as audio data, a phone book, etc.), etc. In addition, the memory 20 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0129] If the module / unit integrated in the computer device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0130] In the several embodiments provided by the present invention, it should be understood that the disclosed computer device and method can be implemented in other ways. For example, the computer device embodiment described above is only illustrative, for example, the division of the unit is only a logical function division, and there may be other division methods in actual implementation.
[0131] In addition, each functional unit in each embodiment of the present invention may be integrated into the same processing unit, each unit may exist physically separately, or two or more units may be integrated into the same unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0132] It is obvious to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or computer devices stated in the computer device claim can also be implemented by the same unit or computer device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
[0133] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A method for analyzing environmental conditions, characterized in that: The method comprises: Acquire key data that affects the environmental status of a preset place, wherein the key data includes: one or more of environmental protection data, pollution source data, and environmental monitoring data; Training an analysis model, including: acquiring all data that affect the environmental state of the preset place; analyzing all the data through an environmental state simulation system to determine key data that affect the environmental state of the preset place and the degree of influence of the key data on the environmental state of the preset place, wherein the preset place includes an aluminum-magnesium material processing workshop, and the environmental state of the preset place includes aluminum-magnesium dust concentration, and the method for determining the key data includes: inputting all items in the aluminum-magnesium material processing workshop and the spatial layout design drawings of all items into the environmental state simulation system, calculating the aluminum-magnesium dust concentration according to the change of humidity in the preset place through the environmental state simulation system, and if the aluminum-magnesium dust concentration changes with the change of the humidity, determining the humidity as the key data; importing the key data that affect the environmental state of the preset place and the degree of influence of the key data on the environmental state into the analysis model to train the parameters of the analysis model; The key data is input into the analysis model, and the influence degree of the key data on the environmental state of the preset place is output, wherein the influence degree of the environmental state includes the diffusion rate of harmful gases and / or the dust content in the air.
2. The environmental status analysis method according to claim 1, characterized in that: The method of analyzing all the data through the environmental state simulation system to determine the key data affecting the environmental state of the preset place and the degree of influence of the key data on the environmental state of the preset place includes: Divide each data into multiple intervals according to its range of variation; According to the change rule of the interval, the data is sequentially input into the environmental condition simulation system according to different change amounts, and it is determined whether the change of the data will have an impact on the environmental condition; If the change of the data affects the environmental condition, the data is determined to be key data that affects the environmental condition of the preset place, and the key data and the degree of influence of the change of the key data on the environmental condition are correspondingly stored in the database.
3. The environmental status analysis method according to claim 2, characterized in that: The training step of the analysis model also includes: Acquire key data that affects the environmental status and the degree of influence of the key data on the environmental status of the place in a preset database; Divide the key data that affect the environmental state of the preset place and the degree of influence of the key data on the environmental state of the preset place into a training set and a verification set; Establishing an analysis model based on a neural network, and using the training set to train the parameters of the analysis model, wherein the key data in the training set that affects the environmental state of the preset place is used as the input data of the model, and the degree of influence of the key data on the environmental state of the preset place is used as the output data of the model; The trained analysis model is verified using the verification set, and the prediction accuracy of the model is obtained based on the verification results; Determine whether the prediction accuracy of the model is less than a preset threshold; If the prediction accuracy of the model is not less than the preset threshold, the training of the analysis model is terminated.
4. The environmental status analysis method according to claim 3, characterized in that: The method further comprises: If the prediction accuracy of the model is less than the preset threshold, adjusting the structure of the analysis model, and retraining the adjusted analysis model using the training set, wherein the structure of the analysis model includes at least one of the number of convolution kernels, the number of elements in the pooling layer, and the number of elements in the fully connected layer; The retrained analysis model is verified using the verification set, and the model prediction accuracy of the adjusted analysis model is re-stated based on the verification result, and it is determined whether the model prediction accuracy of the adjusted analysis model is less than the preset threshold; If the model prediction accuracy obtained by the re-statistics is not less than the preset threshold, the training of the analysis model is terminated; If the model prediction accuracy obtained by the re-statistics is less than the preset threshold, the above adjustment and training steps are repeated until the model prediction accuracy obtained by verification with the verification set is not less than the preset threshold.
5. The environmental status analysis method according to claim 1, characterized in that: The method further comprises: According to the degree of influence on the environmental status of the preset place analyzed by the analysis model, the corresponding protection strategy is searched in the database and implemented, wherein the database stores the corresponding relationship between the degree of environmental influence and the protection strategy.
6. An environmental status analysis device, characterized in that: The device comprises: An acquisition module, used to acquire key data affecting the environmental status of a preset place, wherein the key data includes: one or more of environmental protection data, pollution source data, and environmental monitoring data; The analysis module is used to train the analysis model, including: obtaining all data that affect the environmental state of the preset place; analyzing all the data through the environmental state simulation system to determine the key data that affect the environmental state of the preset place and the degree of influence of the key data on the environmental state of the preset place, wherein the preset place includes an aluminum-magnesium material processing workshop, and the environmental state of the preset place includes the aluminum-magnesium dust concentration, and the method for determining the key data includes: inputting all items in the aluminum-magnesium material processing workshop and the spatial layout design drawings of all the items into the environmental state simulation system, and calculating the aluminum-magnesium dust concentration according to the change of humidity in the preset place through the environmental state simulation system, if the aluminum-magnesium dust concentration changes with the change of the humidity, then determining the humidity as the key data; importing the key data that affect the environmental state of the preset place and the degree of influence of the key data on the environmental state into the analysis model to train the parameters of the analysis model; inputting the key data into the analysis model, and outputting the degree of influence of the key data on the environmental state of the preset place, wherein the degree of influence of the environmental state includes the diffusion rate of harmful gases and / or the content of dust in the air.
7. A computer device, characterized in that: The computer device comprises a processor, and the processor is used to implement the environmental status analysis method according to any one of claims 1 to 5 when executing a computer program stored in a memory.
8. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the environmental status analysis method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
A Method of Air Quality Prediction Using Long Short-Term Memory Neural Network
AU2019100364A4
Aluminum alloy polishing workshop management system and management method
CN106985075A
Continuous-time motor vehicle tail gas concentration predicting method for target road segments
CN108133295A
Method for establishing carbon-oxygen-ratio and carbon-hydrogen-ratio interpretation model by using PNN logging information
CN108829980A
Leakage gas concentration distribution determination method, device and apparatus, and readable storage medium
CN109190828A
