CN112396352A - Enterprise emergency environment event risk level acquisition method, equipment and storage medium - Google Patents

Enterprise emergency environment event risk level acquisition method, equipment and storage medium Download PDF

Info

Publication number
CN112396352A
CN112396352A CN202011466819.9A CN202011466819A CN112396352A CN 112396352 A CN112396352 A CN 112396352A CN 202011466819 A CN202011466819 A CN 202011466819A CN 112396352 A CN112396352 A CN 112396352A
Authority
CN
China
Prior art keywords
risk
enterprise
information
level
acquiring
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
CN202011466819.9A
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.)
ZTE ICT Technologies Co Ltd
Original Assignee
ZTE ICT Technologies 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 ZTE ICT Technologies Co Ltd filed Critical ZTE ICT Technologies Co Ltd
Priority to CN202011466819.9A priority Critical patent/CN112396352A/en
Publication of CN112396352A publication Critical patent/CN112396352A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0635Risk analysis of enterprise or organisation activities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06393Score-carding, benchmarking or key performance indicator [KPI] analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • G06Q50/265Personal security, identity or safety

Abstract

The invention provides a method, equipment and a storage medium for acquiring risk levels of an enterprise emergency environment event. The method for acquiring the risk level of the enterprise emergency environment event comprises the following steps: setting a risk source enterprise; acquiring information of risk source enterprises; auditing the information; the distributed publishing and subscribing message system creates dynamic threads in the thread pool according to the quantity of the information, creates tasks according to the quantity of the risk levels of the enterprise emergency environment events which need to be calculated after capturing the information by a consumer, and stores the tasks in the sub-threads; in the task, evaluating based on the information of the risk source enterprise; recovering the execution result of the sub thread based on the end of the sub thread; and aiming at the risk source enterprise, selecting the highest risk level in the execution results as the risk level of the risk source enterprise. The technical scheme of the invention is based on a message mechanism, can ensure that the data of the information can be effectively consumed without omission, greatly improves the response speed based on the parallel processing of asynchronous tasks, and improves the resource utilization rate.

Description

Enterprise emergency environment event risk level acquisition method, equipment and storage medium
Technical Field
The invention relates to the technical field of environmental protection, in particular to a method, equipment and a storage medium for acquiring the risk level of an enterprise emergency environment event.
Background
In the related technology, the risk grade of the enterprise emergency environment event is obtained according to an enterprise emergency environment event risk grading method (HJ941-2018), and the problems of large calculation amount, low efficiency and low precision exist in a manual comparison table calculation mode.
Disclosure of Invention
The present invention is directed to solving at least one of the above problems.
Therefore, the first purpose of the present invention is to provide a method for acquiring the risk level of an enterprise emergency environment event.
A second object of the present invention is to provide an electronic apparatus.
A third object of the present invention is to provide a readable storage medium.
In order to achieve the first object of the present invention, the technical solution of the present invention provides a method for acquiring risk level of an enterprise emergency environment event, including: setting a risk source enterprise; acquiring information of a risk source enterprise, and storing the information; auditing the information, and sending the stored information to a distributed publish-subscribe message system through the message based on the approval, so as to trigger the consumer to monitor; the distributed publishing and subscribing message system creates dynamic threads in the thread pool according to the quantity of the information, creates tasks according to the quantity of the risk levels of the enterprise emergency environment events which need to be calculated after capturing the information by a consumer, and stores the tasks in the sub-threads; in the task, based on the information of risk source enterprises, the ratio of the quantity of the gas-related risk substances to the critical quantity, the evaluation of the production process and the atmospheric environment risk control level and the evaluation of the sensitivity degree of an atmospheric environment risk receptor are calculated; recovering the execution result of the sub-thread after the sub-thread is finished, wherein the execution result comprises the ratio of the quantity of the gas-related risk substances to the critical quantity, the evaluation result of the production process and the atmospheric environment risk control level and the evaluation result of the atmospheric environment risk receptor sensitivity; and aiming at the risk source enterprise, selecting the highest risk grade in the execution results as the risk grade of the risk source enterprise, and storing the risk grade.
In the technical scheme, the distributed message publishing and subscribing system is adopted, and based on a message mechanism, the data of the information can be guaranteed to be effectively consumed without omission, and the reliability of the enterprise emergency environment event risk level acquisition method is enhanced. By creating a plurality of tasks, the subsequent calculation process can be processed in parallel, the parallel processing based on asynchronous tasks can greatly improve the response speed, and the resource utilization rate is improved.
In addition, the technical scheme provided by the invention can also have the following additional technical characteristics:
in the above technical solution, the information includes the number of environmental risk units, the amount of risk substances, and the category of risk substances.
In the technical scheme, the three data are respectively acquired for each risk source enterprise, so that data support is provided for the calculation process, and the accuracy and reliability of the calculation result are ensured.
In any of the above technical solutions, storing information specifically includes: and storing the information of the risk source enterprises into a database in a classified and tabulated manner in a character string manner.
In the technical scheme, the character string has better readability, is convenient for workers to maintain, provides good expansibility and enlarges the application range.
In any of the above technical solutions, the auditing information further includes: and based on the failure of the audit, the information of the risk source enterprise is obtained again, and the audit is continued.
In the technical scheme, by setting the auditing link, the acquired information of the risk source enterprise can be effectively filtered, information which does not meet the requirement is filtered, and the accuracy of the subsequent calculation process is further ensured.
In any of the above technical solutions, the calculation of the ratio of the number of gas-related risk substances to the critical amount, the evaluation of the production process and the atmospheric environment risk control level, and the evaluation of the atmospheric environment risk receptor sensitivity specifically include: calling a processing class or a configured structured query language for calculating the ratio of the number of the gas-related risk substances to the critical amount, and calculating the ratio of the number of the gas-related risk substances to the critical amount to obtain a first risk level of the risk source enterprise; calling a processing class or a configured structured query language for the production process and the atmospheric environment risk control level evaluation, and performing the production process and the atmospheric environment risk control level evaluation to obtain a second risk level of the risk source enterprise; and calling a processing class or a configured structured query language for evaluating the sensitivity degree of the atmospheric environment risk receptor to evaluate the sensitivity degree of the atmospheric environment risk receptor to obtain a third risk level of the risk source enterprise.
According to the technical scheme, the processing type or the configured structured query language is called based on the acquired information of the risk source enterprise, so that the related calculation can be performed, the calling and calculating processes are simple, and the asynchronous task modes of multiple threads can be respectively called, so that the calculating efficiency is accelerated, and the user experience is improved.
In any of the above technical solutions, before performing the calculation of the ratio of the number of the gas-related risk substances to the critical amount, the evaluation of the production process and the atmospheric environment risk control level, and the evaluation of the atmospheric environment risk receptor sensitivity, the method further includes: constructing a processing class or a configured structured query language for calculating the ratio of the quantity of the gas-related risk substances to the critical quantity according to the calculation process in the risk classification method of the enterprise emergency environment event; according to the calculation process in the enterprise emergency environment risk classification method, a processing class or a configuration structured query language for evaluating the production process and the atmospheric environment risk control level is constructed; and constructing a processing class or a configured structured query language for evaluating the sensitivity degree of the atmospheric environment risk receptor according to the calculation process in the enterprise emergency environment event risk classification method.
According to the technical scheme, the corresponding reason class or the configured structured query language is constructed according to the enterprise emergency environment risk classification method, the requirements of the environment industry classification method are met, calling can be performed in the subsequent process, the calling process is simple, and the user experience is improved.
In any of the above technical solutions, the method for acquiring the risk level of the enterprise emergency environment event further includes: and visually displaying the risk level of the risk source enterprise.
In the technical scheme, the environmental risk level of an enterprise is visually displayed through visual display, rapid identification can be carried out, and user experience is improved.
In any of the above technical solutions, the method for acquiring the risk level of the enterprise emergency environment event further includes: and after the risk level of the risk source enterprise is stored, setting a state identifier, and further completing the calculation of the risk level event stream.
In the technical scheme, the risk level calculation event stream is completed by setting the state identifier, so that the risk level calculation event is prevented from being interrupted, and the completeness of the risk level calculation process is ensured.
To achieve the second object of the present invention, an aspect of the present invention provides an electronic device, including: the device comprises a memory and a processor, wherein the memory stores programs or instructions, and the processor executes the programs or instructions; when the processor executes the program or the instructions, the steps of the method for acquiring the risk level of the enterprise emergency environment event according to any technical scheme of the invention are realized.
The electronic device provided by the technical solution of the present invention implements the steps of the method for acquiring a risk level of an enterprise emergency environment event according to any technical solution of the present invention, so that the electronic device has all the beneficial effects of the method for acquiring a risk level of an enterprise emergency environment event according to any technical solution of the present invention, and details thereof are not repeated herein.
In order to achieve the third object of the present invention, the technical solution of the present invention provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed, the steps of the enterprise emergency environment event risk level obtaining method according to any one of the above technical solutions are implemented.
The readable storage medium provided by the technical solution of the present invention implements the steps of the method for acquiring a risk level of an enterprise emergency environment event according to any technical solution of the present invention, so that the method has all the advantages of the method for acquiring a risk level of an enterprise emergency environment event according to any technical solution of the present invention, and details thereof are not repeated herein.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flowchart of a method for acquiring risk levels of an enterprise emergency environment event according to an embodiment of the present invention;
FIG. 2 is a second flowchart of a method for acquiring a risk level of an enterprise emergency environment according to an embodiment of the present invention;
FIG. 3 is a third flowchart of a method for obtaining a risk level of an enterprise emergency environment event according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for acquiring risk levels of an enterprise emergency environment event according to an embodiment of the present invention;
FIG. 5 is a flowchart of a method for acquiring risk levels of an enterprise emergency environment event according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a sixth embodiment of a method for acquiring risk levels of an enterprise emergency environment event;
FIG. 7 is a seventh flowchart of a method for acquiring risk levels of an enterprise emergency environment event according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of an electronic device according to an embodiment of the invention;
fig. 9 is an eighth flowchart of a method for acquiring a risk level of an enterprise emergency environment according to an embodiment of the present invention;
FIG. 10 is a block diagram of a framework for data processing and score calculation according to an embodiment of the invention;
fig. 11 is a flowchart illustrating a method for risk classification of an enterprise emergency environment event according to an embodiment of the present invention.
Wherein, the correspondence between the reference numbers and the part names in fig. 8 and 10 is:
100: JAVA proxy service interface, 102: SQL calculated score, 104: risk classification calculation interface, 106: risk level calculation implementation class, 200: electronic device, 210: memory, 220: a processor.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
The method for acquiring the risk level of the enterprise emergency environment event, the electronic device 200 and the readable storage medium according to some embodiments of the present invention are described below with reference to fig. 1 to 11.
Example 1:
as shown in fig. 1, the embodiment provides a method for acquiring a risk level of an enterprise emergency environment event, including the following steps:
step S102, setting a risk source enterprise;
step S104, acquiring information of the risk source enterprise and storing the information;
step S106, auditing the information, sending the stored information to a distributed publishing and subscribing information system through the information based on the approval, and triggering the consumer to monitor;
step S108, the distributed publishing and subscribing message system creates dynamic threads in the thread pool according to the quantity of the information, creates tasks according to the quantity of the risk levels of the enterprise emergency environment events which need to be calculated after capturing the information by a consumer, and stores the tasks in the sub-threads;
step S110, in a task, based on information of risk source enterprises, calculating the ratio of the quantity of gas-related risk substances to critical quantity, the evaluation of the production process and the atmospheric environment risk control level and the evaluation of the atmospheric environment risk receptor sensitivity;
step S112, recovering the execution result of the sub-thread based on the end of the sub-thread, wherein the execution result comprises the ratio of the quantity of the gas-related risk substances to the critical quantity, the evaluation result of the production process and the atmospheric environment risk control level and the evaluation result of the atmospheric environment risk receptor sensitivity;
and step S114, aiming at the risk source enterprises, selecting the highest risk level in the execution results as the risk level of the risk source enterprises, and storing the risk level.
In the embodiment, a link of auditing information is set, if the information is approved, the stored information is sent to the distributed publishing and subscribing information system through the information, then, the consumer monitoring is triggered, and by adopting the distributed publishing and subscribing information system and based on an information mechanism, the data of the information can be guaranteed to be effectively consumed without omission, and the reliability of the enterprise emergency environment event risk level acquisition method is enhanced.
In the embodiment, the distributed publish-subscribe message system creates dynamic threads in the thread pool according to the number of the messages, after a consumer captures the messages, the number of the risk levels of the enterprise emergency environment events is calculated according to the number of the risk levels of the enterprise emergency environment events, the tasks are created and stored in the sub-threads, the number of the tasks can be the same as the number of the risk levels of the enterprise emergency environment events, the subsequent calculation processes can be processed in parallel by creating a plurality of tasks, the response speed can be greatly improved based on the parallel processing of asynchronous tasks, and the resource utilization rate is improved.
In the embodiment, based on the information of a risk source enterprise, the ratio (Q) of the quantity of gas-related risk substances to the critical quantity, the evaluation of the production process and the atmospheric environment risk control level (M) and the evaluation of the atmospheric environment risk receptor sensitivity (E) are calculated, high-concurrency data calculation is supported, three evaluation indexes (Q, M, E) of the emergency environment event risk meet the requirements of an environment industry grading method, respective calculation rules are respectively called in a multi-thread asynchronous task mode, the enterprise emergency environment event risk grading method is abstracted into a specific calculation flow and calculation rules, the understanding of operators is facilitated, the calculation method of a manual comparison table of the related technology is replaced by a method with high efficiency and high precision, the complete closed loop of the auditing and calculating process is ensured through the modes of messages and dynamic tasks, and the efficiency is guaranteed to the maximum extent, and meanwhile, data loss and omission are avoided.
In the embodiment, after the sub-thread is finished, the execution result of the sub-thread is recovered, the execution result comprises the ratio of the quantity of the gas-related risk substances to the critical quantity, the evaluation result of the production process and the atmospheric environment risk control level and the evaluation result of the sensitivity of the atmospheric environment risk receptor, then, aiming at risk source enterprises, the highest risk level in the execution results is selected as the risk level of the risk source enterprise, the corresponding result can be obtained according to the calculation rule issued by the country only by filling and reporting related basic information in the specific operation process according to interface guidance, the expansibility is strong, so that enterprises and administrative regions managers do not need to pay attention to complicated calculation steps any more, the thinking can be performed on the enterprises or enterprises in the administrative regions, the environmental risk brought by the enterprises is reduced, the high configuration is further realized, and the simplification is realized.
In the embodiment, the asynchronous task and the execution result of the recovery sub-thread are adopted to ensure that system resources can be effectively utilized, and the response speed and the user experience are greatly improved.
Example 2:
in addition to the technical features of the above embodiment, the present embodiment further includes the following technical features:
the information includes the number of environmental risk units, the amount of the risk substance, and the category of the risk substance.
In this embodiment, according to the requirements of calculation in the "enterprise emergency environment event risk classification method" (HJ941-2018), the collected information is set as: the number of the environmental risk units, the quantity of the risk substances and the category of the risk substances are respectively obtained for each risk source enterprise, data support is provided for the calculation process, and the accuracy and the reliability of the calculation result are guaranteed.
Example 3:
as shown in fig. 2, in addition to the technical features of the above embodiment, the present embodiment further includes the following technical features:
the method for storing the information specifically comprises the following steps:
and step S202, storing the information of the risk source enterprises into a database in a classified and tabulated manner in a character string mode.
In this embodiment, the JSON (JavaScript Object Notation) character string is used as the character string, and by using the JSON character string, better readability is achieved, maintenance by workers is facilitated, good expansibility is provided, and the application range is widened.
Example 4:
as shown in fig. 3, in addition to the technical features of the above embodiment, the present embodiment further includes the following technical features:
the method for auditing the information further comprises the following steps:
and S302, based on the failure of the audit, acquiring the information of the risk source enterprise again and continuing the audit.
In the embodiment, based on that the audit is not passed, the information of the risk source enterprise can be obtained again, and then the audit is performed again, so that in practical application, through setting an audit link, the obtained information of the risk source enterprise can be effectively filtered, information which does not meet requirements is filtered, and further, the accuracy of a subsequent calculation process is ensured.
Example 5:
as shown in fig. 4, in addition to the technical features of the above embodiment, the present embodiment further includes the following technical features:
the method comprises the following steps of calculating the ratio of the quantity of the gas-related risk substances to the critical quantity, evaluating the risk control level of the production process and the atmospheric environment and evaluating the sensitivity of an atmospheric environment risk receptor, and specifically comprises the following steps:
step S402, calling a processing class or a configured structured query language for calculating the ratio of the quantity of the gas-related risk substances to the critical quantity, and calculating the ratio of the quantity of the gas-related risk substances to the critical quantity to obtain a first risk level of the risk source enterprise;
step S404, calling a processing class or a configured structured query language of the production process and the atmospheric environment risk control level evaluation, and carrying out the production process and the atmospheric environment risk control level evaluation to obtain a second risk level of the risk source enterprise;
and step S406, calling a processing class or a configured structured query language for evaluating the sensitivity degree of the atmospheric environment risk receptor, and evaluating the sensitivity degree of the atmospheric environment risk receptor to obtain a third risk level of the risk source enterprise.
In the embodiment, the specific value of the amount of the gas-related risk substances to the critical amount, the control level evaluation of the production process and the atmospheric environment risk and the sensitivity evaluation of the atmospheric environment risk receptor are all calculated in a processing type or configuration structured query language mode, the calculation process is effectively simplified through the processing type or configuration structured query language, the processing type or configuration structured query language is called based on the acquired information of the risk source enterprise, the related calculation can be carried out, the calling and calculation processes are simple, in addition, the asynchronous task modes of multithreading can be respectively called, the calculation efficiency is accelerated, and the user experience is improved.
Example 6:
as shown in fig. 5, in addition to the technical features of the above embodiment, the present embodiment further includes the following technical features:
before the calculation of the ratio of the quantity of the gas-related risk substances to the critical quantity, the evaluation of the production process and the atmospheric environment risk control level and the evaluation of the sensitivity of the atmospheric environment risk receptor are carried out, the method also comprises the following steps:
step S502, according to the calculation process in the risk classification method of the enterprise emergency environment event, a processing class or a configuration structured query language for calculating the ratio of the amount of the gas-related risk substances to the critical amount is constructed;
step S504, according to the calculation process in the enterprise emergency environment risk classification method, a processing class or a configuration structured query language for the production process and the atmospheric environment risk control level evaluation is established;
and S506, constructing a processing class or a configured structured query language for evaluating the sensitivity degree of the atmospheric environment risk receptor according to the calculation process in the enterprise emergency environment event risk classification method.
In the embodiment, according to the calculation process in the enterprise emergency environment risk classification method, a processing class or a configured structured query language for calculating the ratio of the quantity of the gas-related risk substances to the critical quantity, a processing class or a configured structured query language for evaluating the production process and the atmospheric environment risk control level and a processing class or a configured structured query language for evaluating the sensitivity of an atmospheric environment risk receptor are pre-constructed, and according to the enterprise emergency environment risk classification method, a corresponding physical class or a configured structured query language is constructed to meet the requirements of the environment industry classification method.
Example 7:
as shown in fig. 6, in addition to the technical features of the above embodiment, the present embodiment further includes the following technical features:
the method for acquiring the risk level of the enterprise emergency environment event further comprises the following steps:
and step S602, visually displaying the risk level of the risk source enterprise.
In this embodiment, after the calculation is completed, the environmental risk level of the enterprise is displayed on the page, and through visual display, the environmental risk level of the enterprise is visually displayed, so that the rapid identification can be performed, and the user experience is improved.
Example 8:
as shown in fig. 7, in addition to the technical features of the above embodiment, the present embodiment further includes the following technical features:
the method for acquiring the risk level of the enterprise emergency environment event further comprises the following steps:
step S702, after the risk level of the risk source enterprise is stored, a state identifier is set, and then the risk level calculation event flow is completed.
In this embodiment, the risk level calculation event stream is completed by setting the state identifier, so that the risk level calculation event is prevented from being interrupted, and the integrity of the risk level calculation process is ensured.
Example 9:
as shown in fig. 8, the present embodiment provides an electronic apparatus 200 including: a memory 210 and a processor 220, the memory 210 storing programs or instructions, the processor 220 executing the programs or instructions; wherein, the processor 220, when executing the program or the instructions, implements the steps of the method for acquiring the risk level of the enterprise emergency environment event according to any embodiment of the present invention.
Example 10:
the embodiment provides a readable storage medium, which stores a program or instructions, and when the program or instructions are executed by the processor 220, the steps of the method for acquiring the risk level of the enterprise emergency environment event according to any of the embodiments described above are implemented.
The specific embodiment is as follows:
with continuous improvement of informatization construction, according to an enterprise emergency environment event risk classification method (HJ941-2018), risk classification of an enterprise is realized in a B/S system mode, support is provided for emergency management, management of risk sources, risk substances and emergency materials is realized, information windows are filled and reported for the enterprise, environmental protection departments in various districts perform auditing, and the system performs risk assessment and risk classification on the risk source enterprise according to reported risk source information.
The embodiment specifically realizes that a solidified risk source hierarchical calculation flow is adopted, different agent implementation modes are used for various intermediate calculation items according to different scenes, and the calculation rules, the risk level range and the like are configured in a high mode, so that the expansibility is strong.
In the method for grading risks of sudden environmental events of enterprises, the meanings of related nouns are shown in table 1.
TABLE 1 noun meanings in Enterprise Emergency environmental event Risk Classification method
Figure BDA0002834578170000111
The embodiment provides a method for acquiring a risk level of an enterprise emergency environment event, as shown in fig. 9, that is, a process for implementing a risk level classification of an enterprise emergency environment event includes the following steps:
step S802, adding risk source enterprises;
step S804, enterprise login;
step S806, registering information;
and (4) correspondingly filling the number of the environment risk units under the flag and the amount and the category of the risk substances by the enterprises.
Step S808, information is checked;
step S810, judging whether the audit is passed;
when the audit fails, the reject is reported and the re-filling is requested, and the process proceeds to step S806. When the audit flow passes, the process proceeds to step S812.
Step S812, automatically calculating risk grading levels;
the related risk information filled by the enterprises is classified and calculated by creating tasks in a message mode through a distributed publish-subscribe message system Kafka (Apache Kafka, open source software). The process ensures the complete closed loop of the auditing and calculating process by a message-dynamic task mode. The efficiency is guaranteed to the maximum extent, and meanwhile data loss and omission can not occur.
For the three evaluation indexes (Q, M, E) of the risk of the emergency environment event, respective calculation rule configurations are respectively called in a multithread asynchronous task mode (specific grade division and numerical values are detailed in an enterprise emergency environment event risk classification method, and detailed description is not provided in this embodiment). And finally, generating three corresponding risk levels, and taking the highest level as the environmental risk level of the enterprise.
Step S814, risk classification results;
the parallel processing based on the asynchronous task can greatly improve the response speed and improve the resource utilization rate. And after the asynchronous task is finished, the threads uniformly recover and summarize the task result to obtain a final result.
And after the result calculation is finished, updating and warehousing the result in real time, and setting a state identifier, so that the whole risk level calculation event stream is finished. In this case, the results of calculating the enterprise-related risk levels and the scores of the evaluation indexes may be performed on the interface.
Wherein, step S802, step S808 and step S810 are executed by each county environment-friendly part, step S804 and step S806 are executed by the risk source enterprise, and step S812 and step S814 are automatically executed by the method of the present embodiment.
The related art risk classification method for an enterprise emergency environment event, as shown in fig. 11, includes:
step S902, investigating and analyzing enterprise basic conditions;
step S904, calculating the ratio (Q) of the amount of the gas (or water) related risk substances to the critical amount of the gas (or water) related risk substances;
q is more than or equal to 1, the steps S906, S908 and S910 are carried out, Q is less than 1, and the risk classification of the enterprise emergency environmental event, including the general environmental risk, the larger environmental risk and the important environmental risk, is directly obtained;
step S906, evaluating the risk control level (M) of the production process and the atmospheric environment;
step S908, calculating the ratio (Q) of the amount of the gas (or water) related risk substances to the critical amount of the gas (or water) related risk substances;
step S910, evaluating the sensitivity (E) of the atmospheric (or water) environmental risk receptor;
step S912, acquiring the risk level of the sudden atmospheric (or water) environmental event;
step S914, acquiring the risk level of the enterprise emergency environment event;
and finally, acquiring the risk classification of the enterprise emergency environment event, wherein the risk classification comprises general environment risks, larger environment risks and important environment risks.
Specifically, the method for acquiring the risk level of the enterprise emergency environment event according to the embodiment may also be implemented in the following manner:
(1) based on a Linux (GNU/Linux, UNIX-like operating system) server, Kafka, MySQL (relational database management system) and JAVA (object oriented programming language) environments are built.
(2) The method for acquiring the risk level of the enterprise emergency environment event is realized as an independent computing module, and then is docked to each intelligent environment-friendly supervision platform in a sub-business system mode and is actually deployed, so that an access entrance is provided for platform users and enterprise personnel to facilitate report filling and result checking.
(3) And each regional administrator adds each enterprise in the region under jurisdiction in the system and informs the enterprises to log in the system for information filling in a platform website or other modes.
(4) After the enterprise fills information in the system, the related information of the enterprise is stored in the database in a classification and sublist mode in the form of JSON character strings.
(5) After the affairs guarantee that all information is stored without errors, a platform administrator or other users with the auditing authority receive the information to be audited, and then the information filled by the enterprise is consulted and audited: and for the enterprise information which passes the verification, sending the JSON data in which the enterprise related information is stored to a specified Kafka topic (message destination) in a message mode: SOP _ EVALUATE (risk pollution source assessment) triggers consumption monitoring; and when the audit is not passed, the information is rejected, and at the moment, the enterprise needs to repopulate and submit again.
(6) The system will dynamically create threads in the thread pool based on the size of the fill information. After the consumer captures the presence of the message in topic, one or more FutureTask deposit child threads (the number of risk scores that need to be calculated based on the risk level) will be created in the background for each environmental risk level that needs to be calculated for data calculation.
(7) In FutureTask, according to the risk enterprise category and the risk grade category, calling a corresponding preset processing class or configured Sql to perform data processing and score calculation, and after the sub-thread is finished, recovering an execution result in the sub-thread by the Future class to obtain a final calculation result and storing the final calculation result in a warehouse. The whole process is guaranteed by the transaction.
As shown in fig. 10, the preset processing class or configured Sql performs data processing and score calculation, and includes a JAVA agent service interface 100, an Sql calculation score 102, a risk level calculation interface 104, and a risk level calculation implementation class 106, where the JAVA agent service interface 100 obtains a score (risk source ID, default score) and returns an integer, the Sql calculation score 102 provides a risk source basic information service, the Sql calculation score (risk source ID, Sql expression, default score) and returns an integer, the risk level calculation interface 104 calculates a risk level (risk source ID), the risk level calculation implementation class 106 includes a risk source basic information service, a risk source range configuration service, a risk source level configuration service, a risk level calculation configuration service, a risk source risk substance information service, and further, a risk level calculation (risk source ID), a risk substance (risk source ID, risk substance type), and, Acquiring risk level calculation configuration information (risk substance type, configuration number), acquiring a score (risk source ID, risk level calculation configuration information) according to the calculation configuration information, calculating a risk type level (risk substance type, risk level type, calculation score), calculating a risk type risk level (risk source ID, Q value, M value, E value), and calculating a risk source risk level (risk source ID).
The risk classification calculation interface 104 is a unique entry of a calculation module (i.e., a risk classification obtaining method for an enterprise emergency environment event), through which each item of calculation information enters the calculation module, the upper half of the risk classification calculation implementation class 106 includes a business module involved in a calculation process of the module, and the lower half of the risk classification calculation implementation class includes an object to be calculated involved. Each calculation object calls the JAVA proxy service interface 100 or the SQL calculation score 102 respectively according to the preconfigured calculation rule to perform the corresponding calculation.
(8) After the calculation is completed, the environmental risk level of the enterprise is displayed on the corresponding page, and meanwhile, the enterprise and the administrator can look up the corresponding level calculation result and the index score. And finishing the whole enterprise emergency environment event risk grading calculation process.
At present, no mature and flexible system is provided for realizing the risk classification of the enterprise emergency environment events, and environmental protection departments in various places can partially adjust the risk classification according to an enterprise emergency environment event risk classification method (HJ941-2018) in combination with local risk substances, environmental emergency resources and environmental emergency management. A universal and flexible system can be set up through the embodiment to meet the requirement of environmental protection departments in various regions on enterprise emergency environment event risk classification, and the method has the following characteristics:
(1) the method meets the requirements of the grading method of the environmental industry, is abstracted into a concrete calculation flow and a calculation rule, is easy to understand, and replaces the traditional calculation method of manually contrasting the form with high efficiency and high precision.
(2) High configuration, simplified realization and strong expansibility: the corresponding result can be obtained according to the calculation rule issued by the country only by filling and reporting the relevant basic information according to the interface guidance. Therefore, enterprise and administrative region managers can think more aiming at self enterprises or enterprises in administrative regions without paying attention to complicated calculation steps, and environmental risks brought by the enterprises are reduced.
(3) And data calculation under high concurrency is supported. The message mechanism ensures that the data can be effectively consumed without omission.
(4) And the system resources can be effectively utilized in an asynchronous task-summary mode, and the response speed and the user experience are greatly improved.
(5) The whole-segment processing logic guarantees access control by transaction guarantee ACID (a transaction has 4 characteristics, namely atomicity, consistency, isolation and persistence, and is called as the ACID characteristic of the transaction for short) during database storage and by Abstract queue Synchronzer (abstract synchronous queue) adopted by Future (asynchronous class) itself during score calculation.
In summary, the embodiment of the invention has the following beneficial effects:
1. in the embodiment, by adopting the distributed publishing and subscribing message system and based on the message mechanism, the data of the information can be guaranteed to be effectively consumed without omission, and the reliability of the enterprise emergency environment event risk level acquisition method is enhanced. By creating a plurality of tasks, the subsequent calculation process can be processed in parallel, the parallel processing based on asynchronous tasks can greatly improve the response speed, and the resource utilization rate is improved.
2. In the embodiment, based on the acquired information of the risk source enterprise, the processing type or the configured structured query language is called, so that the related calculation can be performed, the calling and calculating processes are simple, and the asynchronous task modes of multiple threads can be respectively called, so that the calculating efficiency is accelerated, and the user experience is improved.
In the present invention, the terms "first", "second", and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance; the term "plurality" means two or more unless expressly limited otherwise. The terms "mounted," "connected," "fixed," and the like are to be construed broadly, and for example, "connected" may be a fixed connection, a removable connection, or an integral connection; "coupled" may be direct or indirect through an intermediary. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the description of the present invention, it is to be understood that the terms "upper", "lower", "left", "right", "front", "rear", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplification of description, but do not indicate or imply that the referred device or unit must have a specific direction, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention.
In the description herein, the description of the terms "one embodiment," "some embodiments," "specific embodiments," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for acquiring risk level of enterprise emergency environment events is characterized by comprising the following steps:
setting a risk source enterprise;
acquiring information of the risk source enterprise and storing the information;
auditing the information, and sending the stored information to a distributed publishing and subscribing message system through messages based on the approved information to trigger the consumer to monitor;
the distributed publishing and subscribing message system creates dynamic threads in a thread pool according to the quantity of the information, creates tasks according to the quantity of the risk levels of the enterprise emergency environment events which need to be calculated after capturing the information by a consumer, and stores the tasks in the sub-threads;
in the task, based on the information of the risk source enterprise, calculating the ratio of the quantity of the gas-related risk substances to the critical quantity, evaluating the production process and the atmospheric environment risk control level and evaluating the sensitivity degree of an atmospheric environment risk receptor;
recovering the execution result of the sub-thread based on the end of the sub-thread, wherein the execution result comprises the ratio of the quantity of the gas-related risk substances to the critical quantity, the evaluation result of the production process and the atmospheric environment risk control level and the evaluation result of the atmospheric environment risk receptor sensitivity;
and aiming at the risk source enterprise, selecting the highest risk grade in the execution results as the risk grade of the risk source enterprise, and storing the risk grade.
2. The method for acquiring the risk level of the enterprise emergency environment event according to claim 1, wherein the information comprises the number of environment risk units, the amount of risk substances and the category of the risk substances.
3. The method for acquiring the risk level of the enterprise emergency environment event according to claim 1, wherein the storing the information specifically includes:
and storing the information of the risk source enterprises into a database in a classified and tabulated manner in a character string manner.
4. The method for acquiring the risk level of the enterprise emergency environment event according to claim 1, wherein the auditing the information further comprises:
and based on the failure of the audit, the information of the risk source enterprise is obtained again, and the audit is continued.
5. The method for acquiring the risk level of the enterprise emergency environment event according to claim 1, wherein the calculating of the ratio of the number of the gas-related risk substances to the critical amount, the evaluation of the production process and the atmospheric environment risk control level, and the evaluation of the sensitivity degree of the atmospheric environment risk receptor specifically comprises:
calling a processing class or a configured structured query language for calculating the ratio of the number of the gas-related risk substances to the critical amount, and calculating the ratio of the number of the gas-related risk substances to the critical amount to obtain a first risk level of the risk source enterprise;
calling a processing class or a configured structured query language for the production process and the atmospheric environment risk control level evaluation, and performing the production process and the atmospheric environment risk control level evaluation to obtain a second risk level of the risk source enterprise;
and calling a processing class or a configured structured query language for evaluating the sensitivity degree of the atmospheric environment risk receptor to evaluate the sensitivity degree of the atmospheric environment risk receptor to obtain a third risk level of the risk source enterprise.
6. The method for acquiring the risk level of the enterprise emergency environment event according to claim 5, wherein before the calculating of the ratio of the quantity of the gas-related risk substances to the critical quantity, the evaluation of the production process and the atmospheric environment risk control level, and the evaluation of the sensitivity degree of the atmospheric environment risk receptor, the method further comprises:
constructing a processing class or a configured structured query language for calculating the ratio of the quantity of the gas-related risk substances to the critical quantity according to the calculation process in the risk classification method of the enterprise emergency environment event;
according to the calculation process in the enterprise emergency environment risk classification method, a processing class or a configuration structured query language for evaluating the production process and the atmospheric environment risk control level is constructed;
and constructing a processing class or a configured structured query language for evaluating the sensitivity degree of the atmospheric environment risk receptor according to a calculation process in the enterprise emergency environment event risk classification method.
7. The method for acquiring the risk level of the enterprise emergency environment event according to claim 1, further comprising:
and visually displaying the risk level of the risk source enterprise.
8. The method for acquiring the risk level of the enterprise emergency environment event according to claim 1, further comprising:
and after the risk level of the risk source enterprise is stored, setting a state identifier, and further completing risk level calculation event flow.
9. An electronic device (200), comprising:
a memory (210) storing programs or instructions;
a processor (220) that executes the program or instructions;
wherein the processor (220), when executing the program or instructions, performs the steps of the enterprise emergency risk level acquisition method according to any one of claims 1 to 8.
10. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions, which when executed by a processor, implement the steps of the enterprise emergency environment event risk level obtaining method according to any one of claims 1 to 8.
CN202011466819.9A 2020-12-14 2020-12-14 Enterprise emergency environment event risk level acquisition method, equipment and storage medium Pending CN112396352A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011466819.9A CN112396352A (en) 2020-12-14 2020-12-14 Enterprise emergency environment event risk level acquisition method, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011466819.9A CN112396352A (en) 2020-12-14 2020-12-14 Enterprise emergency environment event risk level acquisition method, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112396352A true CN112396352A (en) 2021-02-23

Family

ID=74624825

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011466819.9A Pending CN112396352A (en) 2020-12-14 2020-12-14 Enterprise emergency environment event risk level acquisition method, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112396352A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110126111A1 (en) * 2009-11-20 2011-05-26 Jasvir Singh Gill Method And Apparatus For Risk Visualization and Remediation
US8204809B1 (en) * 2008-08-27 2012-06-19 Accenture Global Services Limited Finance function high performance capability assessment
US20130104236A1 (en) * 2011-10-14 2013-04-25 Albeado, Inc. Pervasive, domain and situational-aware, adaptive, automated, and coordinated analysis and control of enterprise-wide computers, networks, and applications for mitigation of business and operational risks and enhancement of cyber security
CN103455719A (en) * 2013-08-27 2013-12-18 柳州市博源环科科技有限公司 Evaluation method for environmental risk source of manufacturing industry
CN108805691A (en) * 2018-04-21 2018-11-13 重庆小雨点小额贷款有限公司 A kind of loan checking method and relevant device based on block chain
CN110458697A (en) * 2019-08-19 2019-11-15 北京百度网讯科技有限公司 Method and apparatus for assessing risk
CN111222803A (en) * 2020-01-14 2020-06-02 南京大学 Enterprise accumulative environmental risk assessment system and method based on environmental risk system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8204809B1 (en) * 2008-08-27 2012-06-19 Accenture Global Services Limited Finance function high performance capability assessment
US20110126111A1 (en) * 2009-11-20 2011-05-26 Jasvir Singh Gill Method And Apparatus For Risk Visualization and Remediation
US20130104236A1 (en) * 2011-10-14 2013-04-25 Albeado, Inc. Pervasive, domain and situational-aware, adaptive, automated, and coordinated analysis and control of enterprise-wide computers, networks, and applications for mitigation of business and operational risks and enhancement of cyber security
CN103455719A (en) * 2013-08-27 2013-12-18 柳州市博源环科科技有限公司 Evaluation method for environmental risk source of manufacturing industry
CN108805691A (en) * 2018-04-21 2018-11-13 重庆小雨点小额贷款有限公司 A kind of loan checking method and relevant device based on block chain
CN110458697A (en) * 2019-08-19 2019-11-15 北京百度网讯科技有限公司 Method and apparatus for assessing risk
CN111222803A (en) * 2020-01-14 2020-06-02 南京大学 Enterprise accumulative environmental risk assessment system and method based on environmental risk system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
卢彬;: "化工企业大气环境风险源信息管理与识别系统的设计与实现", 山西化工, no. 01, pages 1 - 3 *
尹洧;周小凡;李文洁;: "解读《企业突发环境事件分级方法》", 安全, no. 11, pages 1 - 4 *
李敏;陈文戈;王磊;: "发电企业"质量、安全、健康、环境"集成管理系统的研究与应用", 广东电力, no. 03 *

Similar Documents

Publication Publication Date Title
US11126538B1 (en) User interface for specifying data stream processing language programs for analyzing instrumented software
US8209669B2 (en) System and method for supporting software
US20080215576A1 (en) Fusion and visualization for multiple anomaly detection systems
Baresi et al. Event-based multi-level service monitoring
US7703019B2 (en) Visual administrator for specifying service references to support a service
CN109684160A (en) Database method for inspecting, device, equipment and computer readable storage medium
CN108733532B (en) Health degree control method and device for big data platform, medium and electronic equipment
KR20150074020A (en) Specifying and applying rules to data
CN106844165A (en) Alarm method and device
US20170048120A1 (en) Systems and Methods for WebSphere MQ Performance Metrics Analysis
US5889530A (en) Method and apparatus for dynamically presenting graphical representation of instrumentation
CN114791846B (en) Method for realizing observability aiming at cloud-originated chaos engineering experiment
CN110570097A (en) business personnel risk identification method and device based on big data and storage medium
CN116009495A (en) Resource model establishment method, device, equipment and medium based on digital twin
Bielefeld Online performance anomaly detection for large-scale software systems
CN105867328A (en) Ready-made garment quality monitoring system
CN114969161A (en) Data processing method and device and data center system
CN112396352A (en) Enterprise emergency environment event risk level acquisition method, equipment and storage medium
Paulheim Efficient semantic event processing: Lessons learned in user interface integration
CN115730284A (en) Method, device, equipment and storage medium for controlling authority of report data
US9064217B2 (en) Handling incidents related to business processes
CN115422202A (en) Service model generation method, service data query method, device and equipment
CN115587273A (en) Data display method, device, equipment and storage medium
Rodríguez et al. Computing Uncertain Key Indicators from Uncertain Data.
Shuo et al. Research on the application of service choreography in the intelligent customer service system

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