Fixed pollution source treatment condition monitoring system rule database configuration method and equipment

By establishing a rule database and a visual configuration interface, the problem of inaccurate monitoring data in the online monitoring system is solved, efficient automatic monitoring of fixed pollution source control conditions is achieved, and data accuracy and system adaptability are improved.

CN114896315BActive Publication Date: 2025-08-22NANJING TECH UNIV +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210418958.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-20
Publication Date
2025-08-22
Estimated Expiration
2042-04-20

AI Technical Summary

Technical Problem

The existing online monitoring system has problems such as inaccurate monitoring data and incomplete monitoring indicator systems in the treatment of fixed pollution sources, which affects the accuracy and efficiency of waste gas monitoring of fixed pollution sources.

Method used

By establishing a rule database, combining the two-way binding of data sets and operation object instances, obtaining process knowledge rule tables, developing visual configuration UI interfaces and rule configuration controls, calling background services for rule configuration, and realizing data communication and business functions.

Benefits of technology

The automatic monitoring capability of operating conditions parameters of key pollutant discharge units in pollution sources has been improved, the accuracy of monitoring data and the adaptability of the system have been improved, and the investment in manpower, material resources and financial resources has been reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114896315B_ABST
    Figure CN114896315B_ABST
Patent Text Reader

Abstract

The present invention proposes a method and device for configuring a rule database for a fixed pollution source treatment condition monitoring system. The method establishes a data set and an operation object instance to achieve two-way binding between the data set and the operation object instance, thereby building a knowledge rule database. Based on the pollutant emission indicators of the terminal outlet of the fixed pollution source treatment, the operating status of the treatment facility, and the key operating parameters of the treatment condition, a process knowledge rule table is obtained, and the process knowledge rule table is converted into a standard data file and added to the database to complete the configuration of the knowledge rule database. In combination with object-oriented programming design, relevant rule configuration controls and a rule management UI interface are developed. The present invention integrates a time-series database, background customized service development, and visual rule configuration. The visual rule configuration control calls the corresponding service to complete the rule configuration, effectively improving the automatic monitoring capability of the working condition parameters of key pollution source discharge units.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of online monitoring technology, and in particular to a method, equipment, computer equipment and storage medium for configuring a rule database of a fixed pollution source treatment working condition monitoring system. Background Art

[0002] Stationary pollution sources primarily rely on fixed devices such as filter cartridges for emissions, significantly impacting the current ecological environment and, to a certain extent, threatening its development. Amidst rapid socioeconomic development, my country is increasingly prioritizing and intensifying its research into pollution control measures and optimizing ecological and environmental protection. However, given current realities, controlling emissions from stationary pollution sources remains a critical issue, necessitating further strengthening of monitoring efforts.

[0003] With the development and widespread use of information technology, more and more advanced science and technology must be applied to environmental protection, alleviating the current conflict between social development and environmental protection. According to surveys, the greatest advantage of online monitoring systems over traditional manual monitoring systems lies in their high efficiency and low error rate. This reduces the investment in manpower, material resources, and financial resources. However, online monitoring systems are not perfect and do have their own issues. For example, immature online monitoring system operation can lead to undesirable outcomes, such as inaccurate monitoring data and an incomplete monitoring indicator system. Therefore, it is necessary to further improve online monitoring systems to ensure the effective implementation of exhaust gas monitoring for stationary pollution sources. Summary of the Invention

[0004] The present invention provides a method, equipment, computer equipment and storage medium for configuring a rule database of a fixed pollution source treatment condition monitoring system, which is intended to establish matching process rules for waste gas, waste solid and waste liquid discharge units based on a strict overall process flow and actual operating conditions, focusing on terminal key indicators, the operating conditions of electricity treatment facilities, and key parameters of treatment conditions. It is necessary to verify the pollutant emission indicators of the terminal outlet and make operational judgments on the core treatment conditions.

[0005] To this end, the first object of the present invention is to propose a method for configuring a rule database of a fixed pollution source control working condition monitoring system, comprising:

[0006] Build a rule database for key indicators of fixed pollution source control terminals, the operating status of power control facilities, and key parameters of control conditions, create data sets and operation object instances, complete two-way binding between the two, and realize data communication;

[0007] Based on the fixed pollution source treatment process, the terminal outlet pollutant emission indicators and the core treatment condition operation judgment are determined, including the operation status of the treatment facilities and the key indicator verification of the pollutant treatment process parameters. The process knowledge rule table is obtained and converted into a standard data file and imported into the rule database;

[0008] Based on the rule database, develop a visual configuration UI interface and related rule configuration controls, and develop and bind rule configuration related backend services;

[0009] Based on the fixed pollution source control working condition monitoring system, rules are configured through the rule configuration control to call the background service of the fixed pollution source control working condition monitoring system, update the rule database through the service data generated by the background service, and complete the corresponding business functions.

[0010] The steps of building a rule database, creating a data set and an operation object instance, completing a two-way binding between the two, and realizing data communication include the following steps:

[0011] Create a data set and define the data set structure and field content structure of the rule database; the data set structure type is dataStruct, and the field content structure adopts a tree structure;

[0012] Define the rule field, enter the field name and unique identification code, select the field data type and determine the field length, and choose whether to enter a default value for the field; the field content includes: rule number, rule content, pollution source parameters, rule type, rule creation time, whether the rule is enabled, company code, company name, rule parameter object attributes, enable flag, alarm flag, and then complete the creation;

[0013] Create an operation object instance with the instance type as DataTable. Create a new attribute in the attribute management under the instance with the attribute name as dataTable data structure.

[0014] Bind the data collection and operation object instance, enter the parameter attribute name and attribute value; where the attribute name propName is dataStruct and the attribute value propValue is the name of the data collection. Debug the background service to complete the binding.

[0015] Among them, according to the fixed pollution source treatment process and pollutant emission indicators, the process knowledge rule table is obtained according to the rule content of the process rules, including equipment operation status judgment rules, pollutant removal rate judgment rules, terminal parameter indicator judgment rules, and core treatment parameter judgment rules; the process knowledge rule table adopts a tree structure, the parent category is the fixed pollution source emission type, the subcategories are terminal rules, operating condition judgment rules, and facility electricity usage rules, and the subcategories are specific rule judgment contents.

[0016] Among them, in the step of obtaining the process knowledge rule table, an automated script service is developed through modular processing, which supports local file reading, matches files in Excel and CSV formats, provides visual file import and one-click conversion, converts the process knowledge rule table into a standard data file, and stores the standard data file in the rule database.

[0017] Among them, in the steps of visual configuration UI interface and related rule configuration controls, the visual UI interface creates a rule management interface through React front-end technology. The rule configuration controls include Icon, Button, From, Text, Image and Modal. All rule configuration controls are integrated in the rule management UI interface of the visual UI interface; rule configuration is completed on the visual UI interface through the rule configuration controls.

[0018] Among them, the configuration of rule configuration controls and the calling of the background services of the fixed pollution source treatment condition monitoring system are based on functional programming design and implemented through Java, SQL and / or JavaScript codes;

[0019] Among them, the content of the background service includes: data set and operation object instance binding service, process knowledge rule table file conversion service, rule import database service, visual UI interface rule initialization service and rule addition, deletion, modification, query and update services.

[0020] Among them, under the operation object instance service management, calling the system's background service includes the following steps:

[0021] Create a backend service model, configure backend service information, specify a unique backend service name and inherited parent class, add information about the backend service input parameters, including parameter name, parameter type, parameter description, and whether the parameter input is required, confirm the name and type of the backend service output parameter, select the required object constructor, write the corresponding functional code in the object constructor environment, and perform debugging and optimization to complete service development;

[0022] Among them, the number and form of parameters input by the background service are not limited, and the output result content is in the form of Boolean value or string; according to different business needs, the rules for modifying the configuration control are manifested as changes in the data volume of pollutant emission indicators and core operating conditions verification; the background service receives the new parameter service function of the configuration, automatically adapts it, and synchronizes it to the database.

[0023] A second object of the present invention is to provide a device for configuring a rule database for a fixed pollution source control working condition monitoring system, comprising:

[0024] The rule database building module is used to build a rule database for key indicators of fixed pollution source control terminals, the operating status of power control facilities, and key parameters of control conditions, create data sets and operation object instances, complete two-way binding between the two, and realize data communication;

[0025] The data import module is used to determine the terminal outlet pollutant emission indicators based on the fixed pollution source treatment process, and to determine the operation of the core treatment conditions, including the operation status of the treatment facilities, the key indicator verification of the pollutant treatment process parameters, and to obtain the process knowledge rule table. The process knowledge rule table is converted into a standard data file and imported into the rule database;

[0026] The rule configuration module is used to develop a visual configuration UI interface and related rule configuration controls based on the rule database, and to develop and bind rule configuration related backend services;

[0027] The application service module is used to configure rules based on the fixed pollution source control working condition monitoring system through the rule configuration control to call the background service of the fixed pollution source control working condition monitoring system, update the rule database through the service data generated by the background service, and complete the corresponding business functions.

[0028] The third object of the present invention is to provide a computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method of the aforementioned technical solution is implemented.

[0029] A fourth object of the present invention is to provide a non-temporary computer-readable storage medium having a computer program stored thereon, which implements the method of the aforementioned technical solution when the computer program is executed by a processor.

[0030] Different from the existing technology, the rule database configuration method for the fixed pollution source treatment working condition monitoring system provided by the present invention realizes two-way binding between the data set and the operation object instance by establishing a data set and an operation object instance, thereby building a knowledge rule database; according to the pollutant emission indicators of the terminal outlet of the fixed pollution source treatment, the operating status of the treatment facility and the key operating parameters of the treatment working condition, the process knowledge rule table is obtained, and the process knowledge rule table is converted into a standard data file and added to the database to complete the configuration of the knowledge rule database; combined with object-oriented programming design, the relevant rule configuration control and the rule management UI interface are developed. The present invention integrates the database, the development of background customized services, and the visual rule configuration, and completes the rule configuration by calling the corresponding service through the visual rule configuration control, effectively improving the automatic monitoring capability of the working condition parameters of key pollution source discharge units. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The present invention and / or additional aspects and advantages will become apparent and readily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0032] Figure 1 It is a flow chart of a method for configuring a rule database of a fixed pollution source treatment working condition monitoring system provided by the present invention.

[0033] Figure 2 This is a schematic diagram of the architecture of a rule knowledge base in a rule database configuration method for a fixed pollution source control working condition monitoring system provided by the present invention.

[0034] Figure 3 It is a logical schematic diagram of background service development in a rule database configuration method for a fixed pollution source treatment working condition monitoring system provided by the present invention.

[0035] Figure 4 It is a schematic diagram of the operation architecture of a system rule database in a method for configuring a rule database of a fixed pollution source control working condition monitoring system provided by the present invention.

[0036] Figure 5 It is a process flow diagram of the sewage treatment process A2O in the rule database configuration method of the fixed pollution source treatment working condition monitoring system provided by the present invention.

[0037] Figure 6 It is a structural diagram of a rule database configuration device for a fixed pollution source treatment working condition monitoring system provided by the present invention.

[0038] Figure 7 It is a structural schematic diagram of a non-transitory computer-readable storage medium provided by the present invention. DETAILED DESCRIPTION

[0039] The following describes embodiments of the present invention in detail. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to explain the present invention, but are not to be construed as limiting the present invention.

[0040] Figure 1 The present invention provides a method for configuring a rule database for a fixed pollution source control working condition monitoring system. The method includes the following steps:

[0041] Step 101, for the key indicators of the terminal treatment of fixed pollution sources, the operating status of electricity treatment facilities, and the key parameters of treatment conditions, build a rule database, create data sets and operation object instances, complete the two-way binding between the two, and realize data communication.

[0042] The present invention targets waste gas, waste solid and waste liquid discharge units, focusing on terminal key indicators, the operating status of electricity treatment facilities, and key parameters of treatment conditions; it is necessary to verify the terminal discharge pollutant emission indicators and the core treatment condition operation judgment, including the operating status of treatment facilities and the key indicator verification of pollutant treatment process parameters.

[0043] Building a rule database specifically includes the following steps:

[0044] Create a data set and define the data set structure and field content structure of the rule database; the data set structure type is dataStruct, and the field content structure adopts a tree structure;

[0045] Define the rule field, enter the field name and unique identification code, select the field data type and determine the field length, and choose whether to enter the field default value; the field content includes: rule number, rule content, pollution source parameters, rule type, rule creation time, whether the rule is enabled, enterprise code, enterprise name, rule parameter object attributes, enable flag, alarm flag, and complete the creation; select the field data type, determine the field length, and finally you can choose whether to enter the field default value to complete the creation.

[0046] Create an operation object instance with the instance type as DataTable. Create a new attribute in the attribute management under the instance with the attribute name as dataTable data structure.

[0047] Call the background service setPropertyValue to bind the previously created data set for data communication between the two. Enter the property name and value of the binding object, dataStruct, and the data set name. After running the service, check the default value of the data structure of the object instance. The default value is the name of the rule set, indicating that the operation was successful, completing the two-way binding between the data set and the operation object instance.

[0048] Bind the data collection and operation object instance, enter the parameter attribute name and attribute value; where the attribute name propName is dataStruct and the attribute value propValue is the name of the data collection. Debug the background service to complete the binding.

[0049] Step 102: Based on the fixed pollution source treatment process, the terminal outlet pollutant emission indicators and the core treatment condition operation judgment are determined, including the operation status of the treatment facilities and the key indicator verification of the pollutant treatment process parameters, and the process knowledge rule table is obtained. The process knowledge rule table is converted into a standard data file and imported into the rule database.

[0050] According to the fixed pollution source treatment process and pollutant emission indicators, the process knowledge rule table is obtained according to the rule content of the process rules, including equipment operation status determination rules, pollutant removal rate determination rules, terminal parameter indicator determination rules, and core treatment parameter determination rules; the process knowledge rule table adopts a tree structure, the parent category is the fixed pollution source emission type, the subcategories are terminal rules, operating condition determination rules, and facility electricity usage rules, and the subcategories are specific rule determination contents.

[0051] Place the process knowledge rule table in the same directory under the system background service program, input the file name through the system background service program, automatically read the file path, input the file for data conversion, run the system background service, output the standard data file, and input the standard data file as the source file into the operation object instance; through the background service AddDataTableEntries, add all the rules to the knowledge rule database.

[0052] In the step of obtaining the process knowledge rule table, an automated script service is developed through modular processing to support local file reading, match files in Excel and CSV formats, provide visual file import and one-click conversion, and convert the process knowledge rule table into a standard data file.

[0053] The process knowledge rule table of the present invention is aimed at the treatment and application of fixed pollution sources including waste gas, waste liquid, and waste solid, and is obtained by referring to relevant standard documents such as industry standards, national standards, automatic monitoring guidelines for pollutant emissions, and actual factory surveys.

[0054] The architecture of the rule knowledge base is as follows Figure 2 As shown, first, in combination with the working condition rules and object attributes of pollution control, the alarm output is set and the alarm instance is determined; at the same time, according to the working condition rules of pollution control and the fixed pollution source monitoring position number, the fixed pollution source monitoring enterprise is determined, and further an enterprise library is formed; according to the working condition rules of pollution control, the pollutant control process rules are formulated, and the process knowledge rule table is constructed according to the pollution control process rules, and imported into the rule database through data conversion; in the actual rule configuration process, the rule configuration is carried out through the rule management UI interface combined with the standard data files stored in the rule library. After the configuration is completed, it is imported into the database to complete the construction of the rule database.

[0055] Step 103: Based on the rule database, develop a visual configuration UI interface and related rule configuration controls, and develop and bind rule configuration related backend services.

[0056] The implementation of rule configuration includes two parts: rule configuration method and background customization service. In view of the particularities of each fixed pollution source discharge unit, by configuring rules, it specifically responds to business needs such as changes in emission indicators of different pollution sources and improvement of working condition monitoring capabilities, thereby improving the adaptability of the rule database.

[0057] In the steps of visually configuring the UI interface and related rule configuration controls, the visual UI interface is based on the React framework, and the prototype diagram is drawn through PS, combined with the JavaScript language to develop the rule initialization interface diagram and rule configuration controls. The rule configuration controls include Icon, Button, From, Text, Image and Modal. All rule configuration controls are integrated in the rule management UI interface of the visual UI interface; the rule configuration is completed on the visual interface through the rule configuration control, and the rule configuration control automatically calls the relevant background customized service to update the feedback to the database.

[0058] The configuration of rule configuration controls and the calling of background services for the fixed pollution source control condition monitoring system are based on functional programming and implemented through Java, SQL, or JavaScript codes;

[0059] Among them, the content of the background service includes: data set and operation object instance binding service, process knowledge rule table file conversion service, rule import database service, visual UI interface rule initialization service and rule addition, deletion, modification, query and update services.

[0060] Step 104, based on the fixed pollution source control working condition monitoring system, configure rules through the rule configuration control to call the background service of the fixed pollution source control working condition monitoring system, update the rule database through the service data generated by the background service and complete the corresponding business functions.

[0061] like Figure 3 As shown, under the operation object instance service management, calling the system's background service includes the following steps:

[0062] Create a backend service model, configure backend service information, specify a unique backend service name and inherited parent class, add information about the backend service input parameters, including parameter name, parameter type, parameter description, and whether the parameter input is required, confirm the name and type of the backend service output parameter, select the required object constructor, write the corresponding functional code in the object constructor environment, and perform debugging and optimization to complete service development;

[0063] Among them, the number and form of parameters input by the background service are not limited, and the output result content is in the form of Boolean value or string; according to different business needs, the rules for modifying the configuration control are manifested as changes in the data volume of pollutant emission indicators and core operating conditions verification; the background service receives the new parameter service function of the configuration, automatically adapts it, and synchronizes it to the database.

[0064] Specifically, the operational architecture diagram of the fixed pollution source control condition monitoring system rule database is as follows: Figure 4 As shown. For the real fixed pollution source treatment process, taking sewage treatment as an example, the process flow chart of sewage treatment process A2O is as follows Figure 5 As shown in the figure, the complex treatment process is divided into multiple specific sections, including terminal discharge, equipment operation, biochemical pool treatment, dosing, sludge treatment, etc. Based on the actual treatment process and production processing parameters, the corresponding judgment rules are extracted to form a process knowledge rule table, which can be divided into A2O sewage treatment knowledge rule table, CASS pool sewage treatment knowledge rule table, oxidation ditch sewage treatment knowledge rule table, SBR sewage treatment knowledge rule table, etc.

[0065] The process knowledge rule table is divided into four types of rules: end-of-pipe parameter determination rules, core treatment parameter determination rules, pollutant removal rate rules, and equipment operating status determination rules. These four rules cover most parameters related to the overall sewage treatment process, including end-of-pipe emission parameters, core treatment parameters, and digital and analog quantities of electrical equipment operation.

[0066] Create a rule database. After the creation and running of the service are completed, view the default value of the data structure of the object instance. The default value is displayed as the name of the rule set, indicating that the operation is successful and the two-way binding between the data set and the operation object instance is completed.

[0067] Select Rule Management from the menu bar of the Fixed Pollution Source Treatment Condition Monitoring System to enter the Rule Management UI interface. Select a sewage treatment enterprise. The backend will automatically call the service InitRenderTable to match the corresponding rules from the knowledge rule database based on the enterprise code, and then render the matched rules into the interface.

[0068] The implementation of rule configuration includes two parts: rule configuration method and background customization service. In view of the particularities of each fixed pollution source discharge unit, by configuring rules, it specifically responds to business needs such as changes in emission indicators of different pollution sources and improvement of working condition monitoring capabilities, thereby improving the adaptability of the rule database.

[0069] A UI (User Interface) is the medium for interaction and information exchange between a system and its users. It converts information from its internal form into a human-readable form. A UI is software designed to facilitate communication between users and hardware. Its purpose is to enable users to operate the hardware efficiently and conveniently, achieving two-way interaction and completing tasks with the hardware. The definition of a UI is broad, encompassing both human-computer interaction and graphical user interfaces. It exists in any field involving information exchange between humans and machines.

[0070] The rule database established by the present invention, on the front-end UI interface, click the edit button control, the text under the rule content field enters the editable state, modify the rule content to complete the rule configuration and click Save, the system automatically captures the modified value and passes it into the corresponding parameter point under the operation object instance and calls the rule update service UpdateDataTableEntry to update the edited new rule to the knowledge rule database.

[0071] In the rule database established by the present invention, each rule has an enable bit, which is represented by an icon on the front-end UI interface. By clicking the icon, the control bit modification parameters are transmitted to the system. The default rule enable is 1 and the rule stop is 0. The system performs conditional judgment to determine whether the corresponding rule is put into use.

[0072] The rule database established by this invention has two configuration controls under the last field of each rule: one for modification and one for deletion. Clicking the Delete button deletes the current rule from the interface, calling the backend service DeleteDataTableEntries to remove the specified rule data from the knowledge rule database. The configuration command is returned to the system object instance, and all rules in the rule set are updated by calling database operation methods.

[0073] The rule database established by the present invention supports querying according to rule type, rule content, and whether the rule is enabled. A rule query drop-down menu is configured in the UI interface. Select the type to be queried, click query to call the background service filterRuleBySelect, and perform filtering query. You can also enter the content you want to query in the search bar and click query to query the corresponding rules.

[0074] The rule database established by the present invention supports rule adding operation. When the user clicks the rule adding button, a modal box will pop up, and the user can write customized rule content and other field information, click Save, call the background service AddRule, and add the rule to the knowledge rule database.

[0075] In order to implement the embodiment, the present invention also proposes a fixed pollution source treatment working condition monitoring system rule database configuration device, such as Figure 6 Shown, including:

[0076] The rule database building module 310 is used to build a rule database for key indicators of fixed pollution source control terminals, the operating status of power control facilities, and key parameters of control conditions, create data sets and operation object instances, complete bidirectional binding between the two, and realize data communication;

[0077] The data import module 320 verifies the terminal outlet pollutant emission indicators and the core treatment condition operation judgment based on the fixed pollution source treatment process, including the operation status of the treatment facilities and the key indicators of the pollutant treatment process parameters, obtains the process knowledge rule table, converts the process knowledge rule table into a standard data file, and imports it into the rule database;

[0078] The rule configuration module 330 is used to develop a visual configuration UI interface and related rule configuration controls based on the rule database, and to develop and bind rule configuration related backend services;

[0079] Application module 340 is used to configure rules based on the fixed pollution source control working condition monitoring system through the rule configuration control to call the background service of the fixed pollution source control working condition monitoring system, update the rule database through the service data generated by the background service, and complete the corresponding business functions.

[0080] In order to implement the embodiment, the present invention also proposes another computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the rule database configuration according to the embodiment of the present invention is implemented.

[0081] like Figure 7 As shown, the non-transitory computer-readable storage medium includes a memory 810 of instructions and an interface 830. The instructions can be executed by a processor 820 of the device configured according to the rule database to perform the method. Alternatively, the storage medium can be a non-transitory computer-readable storage medium. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0082] In order to implement the embodiments, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the rule database configuration according to the embodiments of the present invention is implemented.

[0083] In the description of this specification, reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in any appropriate manner in any one or more embodiments or examples. In addition, those skilled in the art can combine and combine different embodiments or examples described in this specification and features of different embodiments or examples without contradiction.

[0084] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.

[0085] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention pertain.

[0086] The logic and / or steps represented in a flowchart or otherwise described herein, for example, can be considered a sequenced list of executable instructions for implementing the logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (e.g., a computer-based system, a system including a processor, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device). For purposes of this specification, a "computer-readable medium" is any device that can contain, store, communicate, propagate, or transport a program for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (not exhaustive) of computer-readable media include: an electrical connection with one or more wires (electronic devices), a portable computer disk cartridge (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and programmable read-only memory (EPROM or flash memory), fiber optic devices, and a portable compact disc read-only memory (CDROM). Furthermore, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing it in another suitable manner if necessary, and then storing it in a computer memory.

[0087] It should be understood that various components of the present invention may be implemented using hardware, software, firmware, or a combination thereof. In the described embodiments, multiple steps or methods may be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any of the following technologies known in the art or a combination thereof may be used: a discrete logic circuit having logic gates for implementing logic functions on data signals, an application-specific integrated circuit having suitable combinational logic gates, a programmable gate array (PGA), a field-programmable gate array (FPGA), etc.

[0088] Those skilled in the art will understand that all or part of the steps of the method for implementing the embodiment can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiment.

[0089] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing module, or each unit may exist physically separately, or two or more units may be integrated into a single module. The integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0090] The storage medium mentioned above may be a read-only memory, a magnetic disk, or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it is understood that the embodiments are exemplary and are not to be construed as limiting the present invention. Those skilled in the art may make changes, modifications, substitutions, and variations to the embodiments within the scope of the present invention.

Claims

1. A method for configuring a rule database for a fixed pollution source control working condition monitoring system, characterized in that: include: For the key indicators of the terminal of fixed pollution source treatment, the operating status of electricity treatment facilities, and the key parameters of treatment working conditions, a rule database is built, a data set and an operation object instance are created, and two-way binding between the two is completed to realize data communication, including: creating a data set, defining the data set structure and field content structure of the rule database; wherein the data set structure type is dataStruct, and the field content structure adopts a tree structure; creating an operation object instance, the instance type is DataTable, and a new attribute is created in the attribute management under the instance, and the attribute name is a data structure of dataTable; binding the data set and the operation object instance, inputting the parameter attribute name and attribute value; wherein the attribute name is dataStruct, and the attribute value is the name of the data set, and debugging the background service to complete the binding; according to the fixed pollution source treatment process and pollutant emission indicators, the process knowledge rule table is obtained according to the rule content to which the process rules belong, including equipment operation status determination rules, pollutant removal rate determination rules, terminal parameter indicator determination rules, and core treatment parameter determination rules; the process knowledge rule table adopts a tree structure, the parent class is the fixed pollution source emission type, the subclasses are the terminal rules, working condition operation determination rules, and facility electricity rules, and the subclasses are the specific rule determination contents; Based on the fixed pollution source treatment process, the terminal outlet pollutant emission indicators and the core treatment condition operation judgment are determined, including the operation status of the treatment facilities and the key indicator verification of the pollutant treatment process parameters, and the process knowledge rule table is obtained. The process knowledge rule table is converted into a standard data file and imported into the rule database; Based on the rule database, a visual configuration UI interface and related rule configuration controls are developed, and rule configuration-related background services are developed and bound, including: creating a background service model, configuring background service information, specifying a unique background service name and inherited parent class, adding information on background service input parameters, including parameter name, parameter type, parameter description, and whether parameter input is required, confirming the name and type of background service output parameters, selecting the required object constructor, and writing corresponding functional code in the object constructor environment and debugging and optimizing to complete service development; wherein, the number and form of parameters input to the background service are not limited, and the output result content is in the form of a Boolean value or a string; according to different business needs, the rules modified by the configuration control are manifested as changes in the amount of data for pollutant emission index modification and core operating condition approval; the background service automatically adapts the service function to the new parameter configuration and synchronizes it to the database; wherein, in the step of obtaining the process knowledge rule table, an automated script service is developed through modular processing to support local file reading, match files in Excel and CSV formats, provide visual file import and one-click conversion, convert the process knowledge rule table into a standard data file, and store the standard data file in the rule database; Based on the fixed pollution source control working condition monitoring system, rules are configured through rule configuration controls to call the background service of the fixed pollution source control working condition monitoring system, and the service data generated by the background service is used to update the rule database and complete the corresponding business functions.

2. The method for configuring a rule database for a stationary pollution source control working condition monitoring system according to claim 1, characterized in that: In the steps of visual configuration UI interface and related rule configuration controls, the visual configuration UI interface creates a rule management interface through React front-end technology. The rule configuration controls include icons, buttons, forms, texts, pictures and modal boxes. All rule configuration controls are integrated on the rule management UI interface of the visual configuration UI interface; rule configuration is completed on the visual configuration UI interface through the rule configuration controls.

3. The method for configuring a rule database for a stationary pollution source control working condition monitoring system according to claim 1, characterized in that: The configuration of rule configuration controls and the calling of the background services of the fixed pollution source control working condition monitoring system are based on functional programming design and implemented through Java, SQL and JavaScript codes; Among them, the content of the background service includes: data collection and operation object instance binding service, process knowledge rule table file conversion service, rule import database service, visual configuration UI interface rule initialization service and rule addition, deletion, modification, query and update services.

4. A device for configuring a rule database for a fixed pollution source control working condition monitoring system, characterized in that: include: The rule database building module is used to build a rule database for the key indicators of the terminal of fixed pollution source treatment, the operating status of power treatment facilities, and the key parameters of treatment conditions, create a data set and an operation object instance, complete the two-way binding between the two, and realize data communication, including: creating a data set, defining the data set structure and field content structure of the rule database; wherein, the data set structure type is dataStruct, and the field content structure adopts a tree structure; creating an operation object instance, the instance type is DataTable, and creating a new attribute in the attribute management under the instance, the attribute name is dataTable data structure; binding the data According to the collection and operation object instance, input the parameter attribute name and attribute value; among them, the attribute name is dataStruct, the attribute value is the name of the data collection, and the debugging background service completes the binding; according to the fixed pollution source treatment process and pollutant emission indicators, the process knowledge rule table is obtained according to the rule content of the process rules, including equipment operation status determination rules, pollutant removal rate determination rules, terminal parameter indicator determination rules, and core treatment parameter determination rules; the process knowledge rule table adopts a tree structure, with the parent class being the fixed pollution source emission type, the subclasses being the terminal rule, operating condition determination rule, and facility electricity usage rule, and the subclasses being the specific rule determination content; The data import module is used to determine the terminal outlet pollutant emission indicators based on the fixed pollution source treatment process, and to determine the operation of the core treatment conditions, including the operation status of the treatment facilities, the key indicator verification of the pollutant treatment process parameters, obtain the process knowledge rule table, and convert the process knowledge rule table into a standard data file and import it into the rule database; A rule configuration module is used to develop a visual configuration UI interface and related rule configuration controls based on the rule database, and to develop and bind rule configuration-related backend services, including: creating a backend service model, configuring backend service information, specifying a unique backend service name and inherited parent class, adding information on backend service input parameters, including parameter name, parameter type, parameter description, and whether parameter input is required, confirming the name and type of backend service output parameters, selecting the required object constructor, writing corresponding functional code in the object constructor environment, and debugging and optimizing to complete service development; wherein, the number and form of parameters input to the backend service are not limited, and the output result content is in the form of a Boolean value or a string; according to different business needs, the rules modified by the configuration control are manifested as changes in pollutant emission indicators and data volume changes for core operating condition verification; the backend service automatically adapts the service function to the new parameter configuration and synchronizes it to the database; wherein, in the step of obtaining the process knowledge rule table, an automated script service is developed through modular processing to support local file reading, match files in Excel and CSV formats, provide visual file import and one-click conversion, convert the process knowledge rule table into a standard data file, and store the standard data file in the rule database; The application service module is used to configure rules based on the fixed pollution source control working condition monitoring system through the rule configuration control to call the background service of the fixed pollution source control working condition monitoring system, update the rule database through the service data generated by the background service, and complete the corresponding business functions.

5. A computer device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method according to any one of claims 1 to 3 is implemented.

6. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.

Citation Information

Patent Citations

  • Memory, and petrochemical enterprise pollution discharge management method, device and equipment

    CN112308273A