CN116880414A - DCS controller and trusted strategy and trusted state real-time synchronization method and system thereof - Google Patents
DCS controller and trusted strategy and trusted state real-time synchronization method and system thereof Download PDFInfo
- Publication number
- CN116880414A CN116880414A CN202311006614.6A CN202311006614A CN116880414A CN 116880414 A CN116880414 A CN 116880414A CN 202311006614 A CN202311006614 A CN 202311006614A CN 116880414 A CN116880414 A CN 116880414A
- Authority
- CN
- China
- Prior art keywords
- trusted
- change
- dcs controller
- agent process
- notification file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 208
- 230000008859 change Effects 0.000 claims abstract description 186
- 230000008569 process Effects 0.000 claims abstract description 175
- 238000012545 processing Methods 0.000 claims abstract description 41
- 230000004069 differentiation Effects 0.000 claims abstract description 12
- 230000010354 integration Effects 0.000 claims abstract description 12
- 230000007246 mechanism Effects 0.000 claims description 10
- 230000004044 response Effects 0.000 claims description 8
- 238000004891 communication Methods 0.000 claims description 7
- 238000012795 verification Methods 0.000 claims description 7
- 238000004806 packaging method and process Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
- G05B19/41865—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by job scheduling, process planning, material flow
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/33—Director till display
- G05B2219/33273—DCS distributed, decentralised controlsystem, multiprocessor
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention belongs to the field of DCS controllers, and discloses a real-time synchronization method and system for a trusted strategy and a trusted state of the DCS controller, wherein the method comprises the steps of acquiring change data of the trusted strategy and the trusted state of the DCS controller and generating a change trigger signal when the trusted strategy and the trusted state of the DCS controller are changed; generating a change notification file according to the trusted policy and the change data of the trusted state of the DCS controller, and storing the change notification file into a first preset directory; acquiring a process PID (proportion integration differentiation) number of the trusted agent process, and transmitting a change trigger signal to the trusted agent process based on the process PID number of the trusted agent process; responding to the change trigger signal, moving the change notification file in the first preset directory to the processing directory of the trusted agent process, analyzing the change notification file to obtain an analysis result, and uploading the analysis result to the trusted agent platform. Real-time synchronization between the DCS controller and the trusted management platform is realized, and data loss is effectively avoided.
Description
Technical Field
The invention belongs to the field of DCS controllers, and relates to a real-time synchronization method and system for a trusted strategy and a trusted state of a DCS controller.
Background
The trusted DCS (distributed control system) controller integrates a trusted computing function, and can perform trusted verification on uboot, an operating system kernel, a file system, key files, processes and the like of the DCS controller so as to ensure the integrity of software and hardware of the DCS controller. The DCS controller is connected with the management platform through the trusted agent, so that the information such as the trusted strategy on the DCS controller and the trusted state of the object can be synchronized to the management platform, and meanwhile, the management platform can also issue the trusted strategy to the DCS controller. Therefore, when the trusted policy and the trusted state of the DCS controller are changed, a real-time notification mechanism is required to transmit the change notification file to the management platform, so that the management platform can acquire the change notification file in time and display the change.
At present, a synchronization method of a trusted strategy and a trusted state of a DCS controller is realized by a polling mode, however, the method has the problem of untimely synchronization, and the system performance is influenced by the polling time.
Disclosure of Invention
The invention aims to overcome the defect that in the prior art, the trusted strategy and the trusted state of a DCS controller are not timely synchronized, and provides the DCS controller, and a method and a system for synchronizing the trusted strategy and the trusted state in real time.
In order to achieve the purpose, the invention is realized by adopting the following technical scheme:
the invention provides a real-time synchronization method for a trusted strategy and a trusted state of a DCS controller, which comprises the following steps: when the trusted strategy and the trusted state of the DCS controller are changed, obtaining change data of the trusted strategy and the trusted state of the DCS controller and generating a change trigger signal; generating a change notification file according to the trusted policy and the change data of the trusted state of the DCS controller, and storing the change notification file into a first preset directory; acquiring a process PID (proportion integration differentiation) number of the trusted agent process, and transmitting a change trigger signal to the trusted agent process based on the process PID number of the trusted agent process; the trusted agent process responds to the change trigger signal, moves the change notification file in the first preset directory to the processing directory of the trusted agent process, analyzes the change notification file to obtain an analysis result, and uploads the analysis result to the trusted management platform.
Optionally, the generating the change notification file according to the trusted policy and the change data of the trusted state of the DCS controller, and storing the change notification file in the first preset directory includes: and packaging the change data of the trusted policy and the trusted state of the DCS controller into a file in a JSON format according to a predefined format to obtain a change notification file and storing the change notification file into a first preset directory.
Optionally, the method further comprises: when the trusted agent process is started, generating a process PID (proportion integration differentiation) number of the trusted agent process, and storing the process PID number of the trusted agent process into a second preset directory; the process PID number obtaining the trusted agent process comprises the following steps: and acquiring the process PID number of the trusted agent process from the second preset directory.
Optionally, when uploading the parsing result to the trusted management platform fails: and storing the change notification file into a processing directory of the trusted agent process, and deleting the change notification file in the processing directory of the trusted agent process after the analysis result is successfully uploaded to the trusted management platform.
Optionally, the DCS controller and the trusted management platform maintain a communication connection through a heartbeat mechanism.
The invention provides a DCS controller trusted strategy and trusted state real-time synchronization system, which comprises a trusted verification module and a trusted agent module; the trusted verification module comprises a change response module, a change notification file processing module and a change trigger signal sending module; wherein: the change response module is used for acquiring the change data of the trusted strategy and the trusted state of the DCS controller and generating a change trigger signal when the trusted strategy and the trusted state of the DCS controller are changed; the change notification file processing module is used for generating a change notification file according to the trusted policy and the change data of the trusted state of the DCS controller and storing the change notification file into a first preset directory; the change trigger signal sending module is used for obtaining the process PID (proportion integration differentiation) number of the trusted agent process and sending a change trigger signal to the trusted agent process based on the process PID number of the trusted agent process; the trusted agent module is used for running a trusted agent process, the trusted agent process responds to the change trigger signal, the change notification file in the first preset directory is moved to the processing directory of the trusted agent process, and the change notification file is analyzed to obtain an analysis result and uploaded to the trusted management platform.
Optionally, the generating the change notification file according to the trusted policy and the change data of the trusted state of the DCS controller, and storing the change notification file in the first preset directory includes: and packaging the change data of the trusted policy and the trusted state of the DCS controller into a file in a JSON format according to a predefined format to obtain a change notification file and storing the change notification file into a first preset directory.
Optionally, the system further comprises a process processing module; the process processing module is used for generating a process PID (proportion integration differentiation) number of the trusted agent process when the trusted agent process is started, and storing the process PID number of the trusted agent process into a second preset directory; the process PID number obtaining the trusted agent process comprises the following steps: and acquiring the process PID number of the trusted agent process from the second preset directory.
Optionally, the trusted agent module is further configured to: when uploading the analysis result to the trusted management platform fails: and storing the change notification file into a processing directory of the trusted agent process, and deleting the change notification file in the processing directory of the trusted agent process after the analysis result is successfully uploaded to the trusted management platform.
In a third aspect of the present invention, a DCS controller is provided, in which the above-mentioned DCS controller trust policy and trust status real-time synchronization system is provided.
Compared with the prior art, the invention has the following beneficial effects:
according to the real-time synchronization method for the trusted strategy and the trusted state of the DCS controller, when the trusted strategy and the trusted state of the DCS controller are changed, changing data of the trusted strategy and the trusted state of the DCS controller are obtained, and a changing trigger signal is generated; and then generating a change notification file according to the trusted policy and the change data of the trusted state of the DCS controller, and storing the change notification file into a first preset directory. Meanwhile, based on the process PID number of the trusted agent process, a change trigger signal is sent to the trusted agent process, the trusted agent process responds to the change trigger signal, a change notification file in a first preset directory is moved to a processing directory of the trusted agent process, the change notification file is analyzed to obtain an analysis result, the analysis result is uploaded to a trusted management platform, and the trusted management platform updates a trusted strategy and a trusted state of a corresponding DCS controller according to the received analysis result, so that the consistency of data of the DCS controller and the trusted management platform can be maintained. By using the signal response mechanism, the trusted agent process can be ensured to process the change situation in time after receiving the change trigger signal, even if the trusted agent process cannot process the change due to some reasons, the change notification file always exists, the next time the trusted agent process receives the change trigger signal, the trusted agent process can also process the change trigger signal together, the situation of data loss can not occur, and the situation of data loss caused by the disconnection of socket connection or overlarge network load due to the use of the synchronization mechanisms such as socket communication and the like is avoided. In addition, one change notification file may include a plurality of change information, so when a plurality of changes are generated simultaneously, only one change trigger signal needs to be sent, so that frequent sending of the change trigger signal to the trusted agent process is avoided, and additional overhead is brought to the processing of the trusted agent process.
Drawings
FIG. 1 is a flow chart of a method for synchronizing a trusted policy and a trusted state of a DCS controller in real time according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a real-time synchronization method of a trusted policy and a trusted state of a DCS controller according to an embodiment of the present invention.
FIG. 3 is a block diagram of a real-time synchronization system for a trusted policy and a trusted status of a DCS controller according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The invention is described in further detail below with reference to the attached drawing figures:
referring to fig. 1 and 2, in an embodiment of the present invention, a method for synchronizing a trusted policy and a trusted state of a DCS controller in real time is provided, so that consistency and instantaneity of the trusted policy and the trusted state between a trusted management platform and the DCS controller can be effectively ensured. Specifically, the method comprises the following steps:
s1: when the trusted strategy and the trusted state of the DCS controller are changed, changing data of the trusted strategy and the trusted state of the DCS controller are obtained, and a changing trigger signal is generated.
S2: and generating a change notification file according to the trusted policy and the change data of the trusted state of the DCS controller, and storing the change notification file into a first preset directory.
S3: and acquiring the process PID number of the trusted agent process, and transmitting a change trigger signal to the trusted agent process based on the process PID number of the trusted agent process.
S4: the trusted agent process responds to the change trigger signal, moves the change notification file in the first preset directory to the processing directory of the trusted agent process, analyzes the change notification file to obtain an analysis result, and uploads the analysis result to the trusted management platform.
When the trusted policy of the DCS controller or the trusted state of a specific file, process, etc. is changed, in order to maintain the consistency of the trusted policy and the trusted state, the trusted management platform needs to be notified of the changes in real time, so that the trusted policy and the trusted state of the trusted management platform and the DCS controller maintain consistency.
According to the real-time synchronization method for the trusted strategy and the trusted state of the DCS controller, when the trusted strategy and the trusted state of the DCS controller are changed, changing data of the trusted strategy and the trusted state of the DCS controller are obtained, and a changing trigger signal is generated; and then generating a change notification file according to the trusted policy and the change data of the trusted state of the DCS controller, and storing the change notification file into a first preset directory. Meanwhile, based on the process PID number of the trusted agent process, a change trigger signal is sent to the trusted agent process, the trusted agent process responds to the change trigger signal, a change notification file in a first preset directory is moved to a processing directory of the trusted agent process, the change notification file is analyzed to obtain an analysis result, the analysis result is uploaded to a trusted management platform, and the trusted management platform updates a trusted strategy and a trusted state of a corresponding DCS controller according to the received analysis result, so that the consistency of data of the DCS controller and the trusted management platform can be maintained. By using the signal response mechanism, the trusted agent process can be ensured to process the change situation in time after receiving the change trigger signal, even if the trusted agent process cannot process the change due to some reasons, the change notification file always exists, the next time the trusted agent process receives the change trigger signal, the trusted agent process can also process the change trigger signal together, the situation of data loss can not occur, and the situation of data loss caused by the disconnection of socket connection or overlarge network load due to the use of the synchronization mechanisms such as socket communication and the like is avoided. In addition, one change notification file may include a plurality of change information, so when a plurality of changes are generated simultaneously, only one change trigger signal needs to be sent, so that frequent sending of the change trigger signal to the trusted agent process is avoided, and additional overhead is brought to the processing of the trusted agent process.
In one possible implementation manner, the generating the change notification file according to the change data of the trusted policy and the trusted status of the DCS controller, and storing the change notification file in the first preset directory includes: and packaging the change data of the trusted policy and the trusted state of the DCS controller into a file in a JSON format according to a predefined format to obtain a change notification file and storing the change notification file into a first preset directory.
In one possible implementation manner, the method for synchronizing the trusted policy and the trusted status of the DCS controller in real time further comprises: when the trusted agent process is started, a process PID (proportion integration differentiation) number of the trusted agent process is generated, and the process PID number of the trusted agent process is stored in a second preset directory. The process PID number obtaining the trusted agent process comprises the following steps: and acquiring the process PID number of the trusted agent process from the second preset directory.
In a possible implementation manner, if the trusted agent process is not started or the sending of the change trigger signal fails, the newly generated change notification file on the DCS controller will be added to the back of the existing change notification file until the trusted agent process is taken away again when the trusted agent process is started next time, so that the loss of data can be effectively avoided.
In one possible implementation, when uploading the parsing result to the trusted management platform fails: and storing the change notification file into a processing directory of the trusted agent process, and deleting the change notification file in the processing directory of the trusted agent process after the analysis result is successfully uploaded to the trusted management platform.
Specifically, if the connection between the DCS controller and the trusted management platform is interrupted, the change notification file acquired by the trusted agent process is temporarily stored under the processing directory of the trusted agent process until the DCS controller and the trusted management platform resume communication the next time, and then all the change notification files are uploaded to the trusted management platform at one time, so that the loss of data can be effectively avoided.
In one possible implementation, the DCS controller and trusted management platform maintain a communication connection through a heartbeat mechanism. Specifically, the connection is considered to be interrupted if the heartbeat is not received, which is judged by the heartbeat of the DCS controller. In addition, if the change notification file cannot be transferred to the trusted management platform, the DCS controller is local until the next connection is successful, so the change notification file is not lost.
In summary, according to the method for synchronizing the trusted policy and the trusted state of the DCS controller in real time, when the trusted agent process is started, the process PID of the trusted agent process is written into the second preset directory, when the trusted policy and the trusted state of the DCS controller are changed, the change data of the trusted policy and the trusted state of the DCS controller are packaged into the JSON format data to obtain the change notification file, the process PID of the trusted agent process is obtained from the recorded PID of the trusted agent process, then the change trigger signal is sent to the trusted agent process, after the trusted agent process receives the change trigger signal, the corresponding change notification file is analyzed, the analysis result is reported to the trusted management platform, and the trusted management platform updates the trusted policy and the trusted state according to the received analysis result, so that the consistency of the data of the DCS controller and the trusted management platform can be maintained. When a plurality of changes are generated simultaneously, all corresponding change notification files are added together, and only one change trigger signal is needed to be sent, so that extra cost caused by excessive change trigger signals to the processing of the trusted agent process is avoided.
The change of the trusted strategy and the trusted state on the DCS controller can be transmitted to the trusted management platform in real time for display and alarm through the trusted strategy and the trusted strategy synchronization mechanism, and the situation that the socket connection is disconnected or data is lost when the network load is overlarge due to the socket communication equivalent mechanism is avoided. The method can ensure that the trusted agent thread can process the change condition in time after receiving the change trigger signal, and even if the trusted agent process cannot process the change for some reasons, the change notification file always exists, and the trusted agent process can process the change trigger signal at the same time after receiving the change trigger signal at the next time, so that the data loss can not occur.
The following are device embodiments of the present invention that may be used to perform method embodiments of the present invention. For details not disclosed in the apparatus embodiments, please refer to the method embodiments of the present invention.
Referring to fig. 3, in still another embodiment of the present invention, a system for implementing a real-time synchronization of a trusted policy and a trusted state of a DCS controller is provided, where the system includes a trusted verification module and a trusted agent module; the trusted verification module comprises a change response module, a change notification file processing module and a change trigger signal sending module.
The change response module is used for acquiring the change data of the trusted strategy and the trusted state of the DCS controller and generating a change trigger signal when the trusted strategy and the trusted state of the DCS controller are changed; the change notification file processing module is used for generating a change notification file according to the trusted policy and the change data of the trusted state of the DCS controller and storing the change notification file into a first preset directory; the change trigger signal sending module is used for obtaining the process PID (proportion integration differentiation) number of the trusted agent process and sending a change trigger signal to the trusted agent process based on the process PID number of the trusted agent process; the trusted agent module is used for running a trusted agent process, the trusted agent process responds to the change trigger signal, the change notification file in the first preset directory is moved to the processing directory of the trusted agent process, and the change notification file is analyzed to obtain an analysis result and uploaded to the trusted management platform.
In one possible implementation manner, the generating the change notification file according to the change data of the trusted policy and the trusted status of the DCS controller, and storing the change notification file in the first preset directory includes: and packaging the change data of the trusted policy and the trusted state of the DCS controller into a file in a JSON format according to a predefined format to obtain a change notification file and storing the change notification file into a first preset directory.
In one possible implementation manner, the method further comprises a process processing module; the process processing module is used for generating a process PID (proportion integration differentiation) number of the trusted agent process when the trusted agent process is started, and storing the process PID number of the trusted agent process into a second preset directory; the process PID number obtaining the trusted agent process comprises the following steps: and acquiring the process PID number of the trusted agent process from the second preset directory.
In one possible implementation, the trusted agent module is further configured to: when uploading the analysis result to the trusted management platform fails: and storing the change notification file into a processing directory of the trusted agent process, and deleting the change notification file in the processing directory of the trusted agent process after the analysis result is successfully uploaded to the trusted management platform.
All relevant contents of each step involved in the foregoing embodiment of the trusted policy and the trusted state real-time synchronization method of the DCS controller may be cited to the functional description of the functional module corresponding to the trusted policy and the trusted state real-time synchronization system of the DCS controller in the embodiment of the present invention, which is not described herein.
The division of the modules in the embodiments of the present invention is schematically only one logic function division, and there may be another division manner in actual implementation, and in addition, each functional module in each embodiment of the present invention may be integrated in one processor, or may exist separately and physically, or two or more modules may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules.
In still another embodiment of the present invention, a DCS controller is provided, in which the above-described DCS controller trust policy and trust status real-time synchronization system is provided.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical aspects of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the above embodiments, it should be understood by those of ordinary skill in the art that: modifications and equivalents may be made to the specific embodiments of the invention without departing from the spirit and scope of the invention, which is intended to be covered by the claims.
Claims (10)
1. The method for synchronizing the trusted strategy and the trusted state of the DCS controller in real time is characterized by comprising the following steps of:
when the trusted strategy and the trusted state of the DCS controller are changed, obtaining change data of the trusted strategy and the trusted state of the DCS controller and generating a change trigger signal;
generating a change notification file according to the trusted policy and the change data of the trusted state of the DCS controller, and storing the change notification file into a first preset directory;
acquiring a process PID (proportion integration differentiation) number of the trusted agent process, and transmitting a change trigger signal to the trusted agent process based on the process PID number of the trusted agent process;
the trusted agent process responds to the change trigger signal, moves the change notification file in the first preset directory to the processing directory of the trusted agent process, analyzes the change notification file to obtain an analysis result, and uploads the analysis result to the trusted management platform.
2. The method for synchronizing the trusted policy and the trusted status of the DCS controller in real time according to claim 1, wherein the generating the change notification file according to the change data of the trusted policy and the trusted status of the DCS controller and storing the change notification file in the first preset directory comprises: and packaging the change data of the trusted policy and the trusted state of the DCS controller into a file in a JSON format according to a predefined format to obtain a change notification file and storing the change notification file into a first preset directory.
3. The DCS controller trusted policy and trusted status real-time synchronization method of claim 1, further comprising:
when the trusted agent process is started, generating a process PID (proportion integration differentiation) number of the trusted agent process, and storing the process PID number of the trusted agent process into a second preset directory;
the process PID number obtaining the trusted agent process comprises the following steps:
and acquiring the process PID number of the trusted agent process from the second preset directory.
4. The DCS controller trusted policy and trusted status real-time synchronization method of claim 1, wherein, when uploading the resolution result to the trusted management platform fails:
and storing the change notification file into a processing directory of the trusted agent process, and deleting the change notification file in the processing directory of the trusted agent process after the analysis result is successfully uploaded to the trusted management platform.
5. The DCS controller trusted policy and trusted status real-time synchronization method of claim 1, wherein the DCS controller and trusted management platform maintain a communication connection through a heartbeat mechanism.
6. The DCS controller trusted strategy and trusted state real-time synchronization system is characterized by comprising a trusted verification module and a trusted agent module; the trusted verification module comprises a change response module, a change notification file processing module and a change trigger signal sending module; wherein:
the change response module is used for acquiring the change data of the trusted strategy and the trusted state of the DCS controller and generating a change trigger signal when the trusted strategy and the trusted state of the DCS controller are changed;
the change notification file processing module is used for generating a change notification file according to the trusted policy and the change data of the trusted state of the DCS controller and storing the change notification file into a first preset directory;
the change trigger signal sending module is used for obtaining the process PID (proportion integration differentiation) number of the trusted agent process and sending a change trigger signal to the trusted agent process based on the process PID number of the trusted agent process;
the trusted agent module is used for running a trusted agent process, the trusted agent process responds to the change trigger signal, the change notification file in the first preset directory is moved to the processing directory of the trusted agent process, and the change notification file is analyzed to obtain an analysis result and uploaded to the trusted management platform.
7. The DCS controller trusted policy and trusted status real-time synchronization system of claim 6, wherein the generating the change notification file according to the change data of the trusted policy and trusted status of the DCS controller and storing the change notification file in the first preset directory comprises: and packaging the change data of the trusted policy and the trusted state of the DCS controller into a file in a JSON format according to a predefined format to obtain a change notification file and storing the change notification file into a first preset directory.
8. The DCS controller trusted policy and trusted status real-time synchronization method of claim 6, further comprising a process processing module;
the process processing module is used for generating a process PID (proportion integration differentiation) number of the trusted agent process when the trusted agent process is started, and storing the process PID number of the trusted agent process into a second preset directory;
the process PID number obtaining the trusted agent process comprises the following steps:
and acquiring the process PID number of the trusted agent process from the second preset directory.
9. The DCS controller trusted policy and trusted status real-time synchronization system of claim 6, wherein said trusted agent module is further configured to: when uploading the analysis result to the trusted management platform fails: and storing the change notification file into a processing directory of the trusted agent process, and deleting the change notification file in the processing directory of the trusted agent process after the analysis result is successfully uploaded to the trusted management platform.
10. A DCS controller, wherein the DCS controller has the DCS controller trust policy and trust status real-time synchronization system of any one of claims 6 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311006614.6A CN116880414A (en) | 2023-08-10 | 2023-08-10 | DCS controller and trusted strategy and trusted state real-time synchronization method and system thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311006614.6A CN116880414A (en) | 2023-08-10 | 2023-08-10 | DCS controller and trusted strategy and trusted state real-time synchronization method and system thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116880414A true CN116880414A (en) | 2023-10-13 |
Family
ID=88270033
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311006614.6A Pending CN116880414A (en) | 2023-08-10 | 2023-08-10 | DCS controller and trusted strategy and trusted state real-time synchronization method and system thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116880414A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117093979A (en) * | 2023-10-19 | 2023-11-21 | 西安热工研究院有限公司 | Method, system and medium for trusted switching of DCS controller in non-network environment |
CN117195206A (en) * | 2023-11-06 | 2023-12-08 | 西安热工研究院有限公司 | Method, system, equipment and medium for acquiring trusted state of DCS controller in real time |
-
2023
- 2023-08-10 CN CN202311006614.6A patent/CN116880414A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117093979A (en) * | 2023-10-19 | 2023-11-21 | 西安热工研究院有限公司 | Method, system and medium for trusted switching of DCS controller in non-network environment |
CN117093979B (en) * | 2023-10-19 | 2024-01-16 | 西安热工研究院有限公司 | Method, system and medium for trusted switching of DCS controller in non-network environment |
CN117195206A (en) * | 2023-11-06 | 2023-12-08 | 西安热工研究院有限公司 | Method, system, equipment and medium for acquiring trusted state of DCS controller in real time |
CN117195206B (en) * | 2023-11-06 | 2024-01-26 | 西安热工研究院有限公司 | Method, system, equipment and medium for acquiring trusted state of DCS controller in real time |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116880414A (en) | DCS controller and trusted strategy and trusted state real-time synchronization method and system thereof | |
US10908574B2 (en) | Distributed computing in a process control environment | |
JP6827501B2 (en) | Hot backup system, hot backup method, and computer equipment | |
CN108566290B (en) | Service configuration management method, system, storage medium and server | |
JP2015005258A (en) | Process control device and system; and update method therefor | |
CN104239476A (en) | Method, device and system for synchronizing databases | |
US10075477B2 (en) | Method, system and server for self-healing of electronic apparatus | |
CN112968815B (en) | Method for realizing continuous transmission in broken network | |
CN111104387A (en) | Method and device for acquiring data set on server | |
US20170264525A1 (en) | System for support in the event of intermittent connectivity, a corresponding local device and a corresponding cloud computing platform | |
CN111143031A (en) | Method and device for changing capacity of virtual machine | |
JP2709705B2 (en) | Program management method in multi-computer system | |
JP6577901B2 (en) | Computer system and system state reproduction method | |
CN111124591A (en) | Mirror image transmission method and device, electronic equipment and storage medium | |
JP3748232B2 (en) | Data transmission device, display device, and control system | |
CN112130889A (en) | Resource management method and device, storage medium and electronic device | |
US11314670B2 (en) | Method, apparatus, and device for transmitting file based on BMC, and medium | |
CN115328065A (en) | Method for automatically migrating control unit functions applied to industrial control system | |
CN116069373A (en) | BMC firmware upgrading method, device and medium thereof | |
JP2001346181A (en) | Data storage section common share system and program recording medium | |
CN111158783B (en) | Environment variable modification method, device and equipment and readable storage medium | |
JP5918514B2 (en) | Distributed control system training system | |
US20230125853A1 (en) | Remote terminal unit processor redundancy sychronization | |
CN112199319B (en) | Method and equipment for double-control data interaction control | |
CN112015601B (en) | Method and device for processing data of multiple data centers |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |