Fault processing method and device of batch control system, electronic equipment and medium
By responding to the working and maintenance instructions of the target process stage module in the batch control system, determining the target parameters and propagation range, and adjusting the status of the relevant working modules, the problem of low fault handling efficiency of batch control system is solved, and the goal of rapid fault handling and production continuity is achieved.
Patent Information
- Application Number
- CN202411871412.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-18
- Publication Date
- 2025-03-28
AI Technical Summary
How to quickly and effectively deal with batch control system failures, reduce product failure rate, reduce downtime and losses.
By responding to the work-holding instructions of the target process stage module in the target batch control system, determine the target parameters that lead to the work-holding of the target process stage module; determine the target propagation range that matches the target process stage module; determine the target working module within the target propagation range, and modify its working status to maintain; determine the reference parameters associated with the target parameters in each target working module and adjust them.
It realizes rapid and efficient handling of batch control system failures, reduces product failure rate, and reduces downtime and losses.
Smart Images

Figure CN119717768A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a batch control system fault processing method, device, electronic equipment and medium. Background Art
[0002] Batch Control System is an automation system used to manage and control discrete or batch processes in industrial production. It is mainly used in processes that require a series of operations to be performed according to a specific recipe and sequence to complete product manufacturing, such as chemical, pharmaceutical, food and beverage industries.
[0003] Fault handling of batch control systems is a key step in ensuring production process continuity and product quality. An effective fault handling mechanism can help quickly identify problems, take appropriate corrective measures, and minimize downtime and losses.
[0004] How to quickly and effectively handle batch control system failures, thereby reducing the product failure rate of the batch control system and reducing downtime and losses is a key issue in industry research. Summary of the invention
[0005] The present invention provides a batch control system fault handling method, device, electronic equipment and medium, so as to quickly and effectively handle the batch control system fault, reduce the batch control system product failure rate, and reduce downtime and losses.
[0006] According to one aspect of the present invention, a batch control system fault processing method is provided, the method comprising:
[0007] In response to an operation maintenance instruction of a target process phase module in a target batch control system, determining a target parameter that causes the target process phase module to maintain operation;
[0008] Determining a target propagation scope that matches the target process stage module;
[0009] Determine each target working module within the target propagation range, and modify the working state of each target working module to maintain;
[0010] Determine each reference parameter associated with the target parameter in each target working module, and adjust each reference parameter.
[0011] According to another aspect of the present invention, a fault handling device for a batch control system is provided, the device comprising:
[0012] A determination module, configured to determine a target parameter causing the target process phase module to maintain operation in response to an operation maintenance instruction of the target process phase module in the target batch control system;
[0013] A target propagation range determination module, used to determine a target propagation range that matches the target process stage module;
[0014] A target working module determining module, used for determining each target working module within the target propagation range, and modifying the working state of each target working module to maintain;
[0015] The adjustment module is used to determine each reference parameter associated with the target parameter in each target working module and adjust each reference parameter.
[0016] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0017] at least one processor; and
[0018] a memory communicatively connected to the at least one processor; wherein,
[0019] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the fault handling method for a batch control system described in any embodiment of the present invention.
[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the fault handling method for a batch control system described in any embodiment of the present invention when executed.
[0021] According to another aspect of the present invention, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the fault handling method for a batch control system according to any embodiment of the present invention is implemented.
[0022] The technical solution of the embodiment of the present invention determines the target parameter that causes the target process stage module to maintain its operation by responding to the work maintenance instruction of the target process stage module in the target batch control system; determines the target propagation range that matches the target process stage module; determines each target working module within the target propagation range, and modifies the working state of each target working module to maintain; determines each reference parameter associated with the target parameter in each target working module, and adjusts each reference parameter, so as to quickly and effectively handle faults of the batch control system, reduce the product failure rate of the batch control system, and reduce downtime and losses.
[0023] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0025] Figure 1 is a flow chart of a batch control system fault handling method provided according to Embodiment 1 of the present invention;
[0026] Figure 2 is a schematic diagram of a program model for batch operation of a batch control system provided according to Embodiment 1 of the present invention;
[0027] Figure 3 is a schematic diagram of a propagation range matched with a target process phase module provided according to the first embodiment of the present invention;
[0028] Figure 4 is a flow chart of a batch control system fault handling method provided according to Embodiment 2 of the present invention;
[0029] Figure 5 is a structural schematic diagram of a fault handling device for a batch control system provided according to Embodiment 3 of the present invention;
[0030] Figure 6 It is a structural schematic diagram of an electronic device for implementing the fault handling method of a batch control system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0031] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0033] Embodiment 1
[0034] Figure 1 This is a flow chart of a batch control system fault handling method provided according to the first embodiment of the present invention. This embodiment is applicable to the case where other modules in the batch control system are adjusted when any process stage module in the batch control system enters the hold mode. The method can be executed by a batch control system fault handling device. The batch control system fault handling device can be implemented in the form of hardware and / or software. The batch control system fault handling device can be configured in electronic devices such as computers, servers or tablet computers. Figure 1 As shown, the method includes:
[0035] Step 110 : In response to a work-maintaining instruction of a target process phase module in a target batch control system, determine a target parameter causing the target process phase module to maintain its work.
[0036] The target control system may be a formula making control system or a packaging control system in the chemical, pharmaceutical, food and beverage or other industries, which is not limited in this embodiment.
[0037] It can be understood that the host computer of the target batch control system can be a computer, and the slave computer can be a control station of a PLC (Programmable Logic Controller) or a DCS (Distributed Control System); in a specific implementation, the phase instance generated by the phase class can run in the controller of the slave computer. In this embodiment, the module corresponding to the phase instance is called a process stage module.
[0038] In order to better understand the target batch control system involved in this embodiment, Figure 2is a schematic diagram of a batch operation program model of a batch control system provided according to the first embodiment of the present invention, with reference to Figure 2 The program model includes, from top to bottom, processes, which represent the complete cycle of the entire production batch; unit procedures, which can implement a set of logically related operations performed within a specific equipment unit; operations, which can be used to perform specific tasks or activities; process stages, a process stage can be said to be a series of related operation steps that can be used to achieve a specific production goal; it can be understood that a batch production process can contain multiple unit procedure modules; a unit procedure module can contain multiple operation modules; an operation module can contain multiple process stage modules.
[0039] In this embodiment, the target process stage module may be any module in the process stage layer, which is not limited in this embodiment.
[0040] Optionally, in this embodiment, after receiving the working maintenance instruction of the target process stage module in the target batch control system, that is, after receiving the working state of the target process stage module entering the maintenance mode, the target parameters that cause the target process stage module to maintain its working state can be further determined.
[0041] The target parameter may be any parameter defined in the target process stage module, such as a sensor parameter or a device parameter, etc., which is not limited in this embodiment.
[0042] In an optional implementation of the present embodiment, after determining that the working state of the target process stage module of the target batch control system enters the holding mode, the reason why the target process stage module enters the holding mode can be determined first. Exemplarily, it can be a manual operation of the operator; it can also be a predetermined logical condition, that is, when a certain condition is met, the target process stage module automatically enters the holding mode; it can also be a fault condition, for example, a target sensor failure or a target device failure, causing the target process stage module to automatically enter the holding mode, etc., which is not limited in the present embodiment.
[0043] Furthermore, the target parameter that causes the target process phase module to maintain operation can be determined according to the reason why the target process phase module enters the maintenance mode. For example, if the operator's manual operation causes the target process phase module to enter the maintenance mode, the target parameter is the parameter related to the operator's operation; if the target sensor fails and causes the target process phase module to enter the maintenance mode, the target parameter is the parameter related to the target sensor.
[0044] Step 120: Determine a target propagation range that matches the target process stage module.
[0045] In this embodiment, after determining the work holding instruction of the target process stage module, that is, after determining that the target process stage module enters the holding mode, the target propagation range matching the target process stage module may be further determined.
[0046] It is understandable that for different batches, the propagation range matched with the target process stage module is different; illustratively, Figure 3 is a schematic diagram of a propagation range matching a target process phase module according to the first embodiment of the present invention, Figure 3 It can be seen that different propagation ranges may exist for the same process stage module; in a specific implementation, the target propagation range that matches the target process stage module in different batches may be determined according to the configuration file.
[0047] Optionally, in this embodiment, a configuration file of the target batch control system may be obtained and parsed; and a target propagation range matching the target process stage module may be determined according to the parsing result.
[0048] In this embodiment, the target propagation range may include at least one of the following: process stage module, operation module, unit procedure module or process module; wherein the hierarchical relationship of each module is: process module, unit procedure module, operation module and process stage module.
[0049] For example, in Figure 3 In the example, the target propagation range matching the process stage module marked in red can be 301, 302 or 303; it should be noted that Figure 3 The target propagation range that matches the process stage module marked in red may also be other ranges not shown, which is not a limitation of this embodiment.
[0050] In an optional implementation of this embodiment, after determining that the target process stage module enters the hold mode, the configuration file of the target batch control system can be further obtained, and the configuration file of the target batch control system can be further parsed to obtain the corresponding propagation range of each process stage module in the target batch control system in different batch tasks; illustratively, for Figure 3 The process stage module marked in red has a propagation range of 301 in batch one and a propagation range of 301 in batch two. It can be understood that different batches can be matched with different job tasks, and the specific job content is not limited in this embodiment.
[0051] Step 130: determine each target working module within the target propagation range, and modify the working status of each target working module to maintain.
[0052] In an optional implementation of this embodiment, after determining the target propagation range that matches the target process stage module, each target working module within the target range may be further determined; illustratively, Figure 3 In the figure, the working modules included in the propagation scope 301 may include the target process stage module (the process stage module marked in red), and the process stage module at the same layer as the target process stage module, wherein the process stage module at the same layer as the target process stage module in the propagation scope 301 is the target working module; the working modules included in the propagation scope 302 may include the target process stage module, three process stage modules at the same layer as the target process stage module, and two operation modules at the upper layer of the target process stage module; wherein the three process stage modules at the same layer as the target process stage module in the propagation scope 302, and the two operation modules at the upper layer of the target process stage module are the target working modules.
[0053] Optionally, in this embodiment, after determining each target working module within the target propagation range, the working state of each target working module can be further modified to maintain, even if each target working module also enters the maintenance mode.
[0054] Step 140: Determine each reference parameter associated with the target parameter in each target working module, and adjust each reference parameter.
[0055] In an optional implementation of this embodiment, after determining each target working module within the target propagation range and modifying the working state of each target working module to maintain, even if each target working module also enters the maintenance mode, each reference parameter associated with the target parameter that causes the target process stage module to maintain operation in each target working module can be further determined; exemplarily, the reference parameter associated with the target parameter in the first target working module is the first reference parameter; the reference parameter associated with the target parameter in the second target working module is the second reference parameter. Further, each reference parameter can be modified; exemplarily, in this embodiment, each reference parameter can be modified with reference to the modification method of the target parameter.
[0056] The technical solution of this embodiment determines the target parameter that causes the target process stage module to maintain its operation by responding to the work maintenance instruction of the target process stage module in the target batch control system; determines the target propagation range that matches the target process stage module; determines each target working module within the target propagation range, and modifies the working state of each target working module to maintain; determines each reference parameter associated with the target parameter in each target working module, and adjusts each reference parameter, so as to quickly and effectively handle faults of the batch control system, reduce the product failure rate of the batch control system, and reduce downtime and losses.
[0057] Embodiment 2
[0058] Figure 4 1 is a flow chart of a batch control system fault handling method provided according to the second embodiment of the present invention. This embodiment is a further refinement of the above technical solution. The technical solution in this embodiment can be combined with each optional solution in one or more of the above embodiments. Figure 4 As shown, the method includes:
[0059] Step 410: In response to a work-maintaining instruction of a target process phase module in a target batch control system, determine a target parameter that causes the target process phase module to maintain its work.
[0060] In an optional implementation of this embodiment, after determining that the target process phase module in the target batch control system enters the maintenance working mode, the target parameters that cause the target process phase module to maintain working can be further determined.
[0061] Optionally, in this embodiment, determining the target parameters that cause the target process stage module to maintain operation may include: obtaining each parameter of the target process stage module, and a target value corresponding to each parameter; comparing each target value with standard data, determining an abnormal value based on the comparison result, and determining the parameter corresponding to the abnormal value as the target parameter; or, obtaining alarm log data matching the target process stage module, analyzing the alarm log data, and obtaining the target parameter.
[0062] In an optional implementation of the present embodiment, after determining that the target process stage module in the target batch control system enters the maintain working mode, the various parameters of the target process stage module and the target values corresponding to the various parameters can be further acquired; wherein the various parameters of the target process stage module may include: the start time, end time, specific operation content or materials of the production task corresponding to the target process stage module, etc., which are not limited in the present embodiment.
[0063] Furthermore, the acquired target value can be compared with the standard data stored in the database to obtain a comparison result, wherein the comparison result can be that the target value is consistent with the standard data, or the target value is inconsistent with the standard data; when the target value is inconsistent with the standard data, the target value can be determined as an abnormal value; further, the parameter corresponding to the abnormal value can be determined as the target parameter.
[0064] In another optional implementation of this embodiment, after the operation of the determined target process stage module enters the holding mode, alarm log data matching the target process stage module can be further acquired, and further, the acquired alarm log data can be analyzed to obtain the target parameters.
[0065] It should be noted that in this embodiment, the analysis method of the alarm log data is not limited, and any analysis method of the log data can be applied to this embodiment, which is not a limitation of this embodiment.
[0066] Step 420: Determine the target propagation range that matches the target process stage module.
[0067] Step 430: determine each working module covered by the target propagation range as a target working module; obtain the working status flag of each target working module, and modify the value of each working status flag to the target value.
[0068] Among them, the target value can be 1, that is, after the value of the working status flag of the target working module is modified to 1, the working mode of the target working module can enter the hold mode, and the work is maintained and will not continue to work.
[0069] In an optional implementation of the present embodiment, after determining the target propagation range that matches the target process stage module, the other working modules except the target process stage module among the working modules covered by the target propagation range can be further determined as target working modules; further, the working status flag of each target working module can be obtained, and the value of each working status flag can be modified to the target value, so that the working mode of each target working module enters the maintenance state.
[0070] Optionally, in this embodiment, after determining each working module covered by the target propagation range as a target working module, it can also include: determining whether each of the target working modules calls the target variable in the target process stage module; after determining that the first target working module calls the target variable in the target process stage module, modifying the working state of the first target working module to maintain; otherwise, keeping the working state of the first target working module unchanged; wherein, the target variable is related to the target parameter.
[0071] In an optional implementation of the present embodiment, after determining each target working module, it is possible to further determine whether each target working module calls the target variable in the target process stage; wherein the target variable is related to the target parameter; further, if it is determined that the first target working module calls the target variable, the working state of the first target working module can be modified to maintain; otherwise, the working state of the first target working module remains unchanged.
[0072] The advantage of this setting is that if other working modules call the related variables of the target parameters that cause the target process stage module to maintain its operation, then the target parameters will also affect the working status of the working module. Modifying its working status to maintain can prevent the errors of the target process stage module from being transmitted to other modules, and can quickly reduce the scope of fault propagation, thereby improving the fault handling accuracy of the batch control system.
[0073] Step 440: Determine each reference parameter associated with the target parameter in each target working module based on the association relationship between each target working module and the target process stage module.
[0074] The association relationship between each target working module and the target process stage module may include: an inclusion relationship of upper and lower levels and / or a parallel relationship of the same level.
[0075] In an optional implementation of this embodiment, after each target working module is determined, each reference parameter associated with the target parameter in each target working module can be further determined based on the association relationship between the target working module and the target process stage module.
[0076] Step 450: Determine a target modification method for the target parameter, and adjust each of the reference parameters based on the target modification method.
[0077] In an optional implementation of this embodiment, after the reference parameters are determined, a target modification method of the target parameter may be further determined, and the reference parameters may be adjusted according to the target modification method.
[0078] Exemplarily, if the target modification method is deletion, then each reference parameter can also be deleted; if the target modification method is to increase the parameter value, then the specific value of each reference parameter can be determined based on the association between each target working module and the target process stage module, and each reference parameter can be further adjusted to each specific value.
[0079] In a specific example of this embodiment, when a Phase instance in a program model is running and enters a hold state due to a fault, the states of other program models are changed according to the propagation range. Specifically, a table design structure may be adopted. The specific table design structure may be as follows:
[0080] _table = {} table, containing the following members:
[0081] _table["CMD_SETTING"] / / At which layer is the hold command issued;
[0082] _table["INFO"]["PRO"];
[0083] _table["INFO"]["Up"];
[0084] _table["INFO"]["OP_FLAG"];
[0085] _table["PARALLEL_SETTING"];
[0086] Among them, PRO is the process module; Up is the unit procedure module; OP is the operation module. It should be noted that when calling the batch operation level, the caller's variable name and step number need to be written to the called party to determine the recipe type used by the batch.
[0087] In the specific implementation, the INFO field: If the OP SFC executes Phase scheduling and finds a Phase fault and enters the hold state, and the OP current command is not HOLD, set ["INFO"]["OP_FLAG"] to true, and set other fields of INFO according to the caller of OP.
[0088] For example, if caller is empty (indicating an Op recipe batch), ["INFO"]["PRO"] is not filled in, ["INFO"]["UNIT"]={} is not inserted. If caller "Up variable name: StepXX" (indicating an Up recipe batch), ["INFO"]["PRO"] is not filled in, ["INFO"]["UNIT"]={} is inserted into the Up variable name.
[0089] For example, if caller is "Pro variable name: StepXX, Up variable name: StepXX" (indicating a UP batch), then set the value of ["INFO"]["PRO"] to the PRO variable name, and ["INFO"]["UNIT"]={} to insert the UP variable name.
[0090] Change the specific usage of the hold state:
[0091] OP: When dispatching to the recipe of OP (may be OP batch or PRO / UP), check whether command switching and state switching are required, that is, whether the CMD_SETTING value is OP, and whether there is an ["OP_FLAG"] field in ["INFO"]. At the same time, compare ["PRO"] with the caller of the current OP to see if they are the same, and whether they are included in the ["UNIT"] table. If CMD_SETTING is greater than or equal to OP, change the command value of CMD_B of the OP variable. If CMD_SETTING = PHASE, only change the command without changing the CMD_B point item value.
[0092] UP: When dispatching to the recipe of UP (may be the batch of UP or PRO), check whether the command switching is required. Check content: whether the CMD_SETTING value is UP, whether there is an ["OP_FLAG"] field in ["INFO"], and whether it is the same as ["PRO"]. At the same time, check whether the ["UNIT"] table contains the variable name of the current UP. Or ["PARALLEL_SETTING"] exists and ["INFO"] contains ["OP_FLAG"]; if the above conditions are met, change the command value of CMD_B of the UP variable.
[0093] PRO recipe SFC: When scheduling to PRO SFC, check whether command switching is required, whether the CMD_SETTING value is PRO, whether ["INFO"] has an ["OP_FLAG"] field, and compare whether ["PRO"] is the same as the PRO variable name; if the conditions are met, change the command value of CMD_B of the PRO variable.
[0094] In the solution of this embodiment, when a Phase instance in a program model is running and enters a hold state due to a fault, the states of other program models are changed according to the propagation range, so that it can be quickly and effectively determined whether a command needs to be changed according to the fault.
[0095] Embodiment 3
[0096] Figure 5 1 is a schematic diagram of a fault handling device for a batch control system according to Embodiment 3 of the present invention. Figure 5 As shown, the device includes: a determination module 510, a target propagation range determination module 520, a target working module determination module 530 and an adjustment module 540.
[0097] The determination module 510 is used to determine the target parameters that cause the target process phase module to maintain operation in response to the operation maintenance instruction of the target process phase module in the target batch control system;
[0098] A target propagation range determination module 520, for determining a target propagation range that matches the target process stage module;
[0099] A target working module determining module 530 is used to determine each target working module within the target propagation range, and modify the working state of each target working module to maintain;
[0100] The adjustment module 540 is used to determine each reference parameter associated with the target parameter in each target working module and adjust each reference parameter.
[0101] The solution of this embodiment is to determine the target parameter that causes the target process stage module to maintain operation by responding to the work maintenance instruction of the target process stage module in the target batch control system through a determination module; determine the target propagation range that matches the target process stage module through a target propagation range determination module; determine each target working module within the target propagation range through a target working module determination module, and modify the working state of each target working module to maintain; determine each reference parameter associated with the target parameter in each target working module through an adjustment module, and adjust each reference parameter, so as to quickly and effectively handle the faults of the batch control system, reduce the product failure rate of the batch control system, and reduce downtime and losses.
[0102] In an optional implementation of this embodiment, the determination module 810 is specifically used to obtain each parameter of the target process stage module and a target value corresponding to each parameter;
[0103] Comparing each of the target values with the standard data, determining an abnormal value according to the comparison result, and determining a parameter corresponding to the abnormal value as a target parameter;
[0104] or,
[0105] Acquire alarm log data matching the target process phase module, analyze the alarm log data, and obtain the target parameters.
[0106] In an optional implementation of this embodiment, the target propagation range determination module 820 is specifically used to obtain a configuration file of the target batch control system and parse the configuration file;
[0107] Determine the target propagation scope matching the target process stage module according to the analysis result;
[0108] The target dissemination scope includes at least one of the following:
[0109] process phase module, operation module, unit procedure module or process module;
[0110] Among them, the hierarchical relationship of each module is: process module, unit procedure module, operation module and process stage module.
[0111] In an optional implementation of this embodiment, the target working module determination module 830 is specifically configured to determine each working module covered by the target propagation range as a target working module;
[0112] The working status flag of each target working module is obtained, and the value of each working status flag is modified to the target value.
[0113] In an optional implementation of this embodiment, the fault handling device of the batch control system further includes: an adjustment module, which is used to determine whether each of the target working modules calls the target variable in the target process stage module;
[0114] After determining that the first target working module calls the target variable in the target process phase module, modifying the working state of the first target working module to maintain;
[0115] Otherwise, the working state of the first target working module is kept unchanged;
[0116] Wherein, the target variable is related to the target parameter.
[0117] In an optional implementation of this embodiment, the adjustment module 840 is specifically used to determine each reference parameter associated with the target parameter in each target working module based on the association relationship between each target working module and the target process stage module;
[0118] The association relationship between each target working module and the target process stage module includes: an inclusion relationship of upper and lower levels and / or a parallel relationship of the same level.
[0119] In an optional implementation of this embodiment, the adjustment module 840 is further specifically configured to determine a target modification method of the target parameter, and adjust each of the reference parameters based on the target modification method.
[0120] The fault handling device for a batch control system provided in an embodiment of the present invention can execute the fault handling method for a batch control system provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
[0121] Embodiment 4
[0122] Figure 6A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0123] like Figure 6 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0124] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0125] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 executes the various methods and processes described above, such as a fault handling method for a batch control system, the method comprising: responding to a work-maintaining instruction of a target process phase module in a target batch control system, determining a target parameter that causes the target process phase module to maintain work; determining a target propagation range that matches the target process phase module; determining each target working module within the target propagation range, and modifying the working state of each target working module to maintain; determining each reference parameter associated with the target parameter in each target working module, and adjusting each reference parameter.
[0126] In some embodiments, the fault handling method of the batch control system can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the fault handling method of the batch control system described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the fault handling method of the batch control system in any other appropriate manner (for example, by means of firmware).
[0127] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0128] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0129] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0130] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0131] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0132] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0133] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0134] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A batch control system fault handling method, characterized in that: include: In response to an operation maintenance instruction of a target process phase module in a target batch control system, determining a target parameter that causes the target process phase module to maintain operation; Determining a target propagation scope that matches the target process stage module; Determine each target working module within the target propagation range, and modify the working state of each target working module to maintain; Determine each reference parameter associated with the target parameter in each target working module, and adjust each reference parameter.
2. A batch control system fault handling method according to claim 1, characterized in that: The determining of the target parameter that causes the target process phase module to maintain operation includes: Obtaining each parameter of the target process stage module and the target value corresponding to each parameter; Comparing each of the target values with the standard data, determining an abnormal value according to the comparison result, and determining a parameter corresponding to the abnormal value as a target parameter; or, Acquire alarm log data matching the target process phase module, analyze the alarm log data, and obtain the target parameters.
3. A batch control system fault handling method according to claim 1, characterized in that: The determining of the target propagation scope matching the target process stage module comprises: Obtaining a configuration file of the target batch control system and parsing the configuration file; Determine the target propagation scope matching the target process stage module according to the analysis result; The target dissemination scope includes at least one of the following: process phase module, operation module, unit procedure module or process module; Among them, the hierarchical relationship of each module is: process module, unit procedure module, operation module and process stage module.
4. A batch control system fault handling method according to claim 1, characterized in that: The determining of each target working module within the target propagation range and modifying the working state of each target working module to maintain includes: Determine each working module covered by the target propagation range as a target working module; The working status flag of each target working module is obtained, and the value of each working status flag is modified to the target value.
5. A batch control system fault handling method according to claim 4, characterized in that: After determining each working module covered by the target propagation range as a target working module, the method further includes: Determine whether each of the target working modules calls the target variable in the target process phase module; After determining that the first target working module calls the target variable in the target process phase module, modifying the working state of the first target working module to maintain; Otherwise, the working state of the first target working module is kept unchanged; Wherein, the target variable is related to the target parameter.
6. A batch control system fault handling method according to claim 1, characterized in that: The determining of each reference parameter associated with the target parameter in each target working module includes: Determine each reference parameter associated with the target parameter in each target working module based on the association relationship between each target working module and the target process stage module; The association relationship between each target working module and the target process stage module includes: an inclusion relationship of upper and lower levels and / or a parallel relationship of the same level.
7. A batch control system fault handling method according to claim 6, characterized in that: The adjusting of each of the reference parameters comprises: A target modification method of the target parameter is determined, and each of the reference parameters is adjusted based on the target modification method.
8. A fault handling device for a batch control system, characterized in that: include: A determination module, configured to determine a target parameter causing the target process phase module to maintain operation in response to an operation maintenance instruction of the target process phase module in the target batch control system; A target propagation range determination module, used to determine a target propagation range that matches the target process stage module; A target working module determining module, used for determining each target working module within the target propagation range, and modifying the working state of each target working module to maintain; The adjustment module is used to determine each reference parameter associated with the target parameter in each target working module and adjust each reference parameter.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the fault handling method for a batch control system according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the fault handling method for a batch control system according to any one of claims 1 to 7 when executed.