Trusted status synchronization method, system and device of trusted dcs host computer and storage medium

By employing redundant design and encrypted transmission methods, the accuracy and security issues of trusted state synchronization of the DCS host computer were resolved, achieving trusted security for the DCS system and ensuring safe production in the power plant.

CN117118992BActive Publication Date: 2026-12-01XIAN THERMAL POWER RES INST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311061966.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-22
Publication Date
2026-12-01
Estimated Expiration
2043-08-22

AI Technical Summary

Technical Problem

The existing DCS host computer has poor accuracy when synchronizing in a trusted state, and there is a risk of information transmission being tampered with, which affects the security and reliability of the DCS system.

Method used

By employing redundant design and encrypted transmission methods, and through reading configuration files, performing trustworthiness checks, and establishing links with the trusted management platform and other host computers, the system achieves synchronization and encrypted transmission of trusted states, ensuring the accuracy and security of information.

Benefits of technology

It achieves accurate synchronization of the trusted status of the host computer and secure information transmission, ensuring the trust and security of the DCS system and guaranteeing the safe production of the power plant.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117118992B_ABST
    Figure CN117118992B_ABST
Patent Text Reader

Abstract

This invention belongs to the field of industrial automation technology and discloses a method, system, device, and storage medium for synchronizing the trusted status of a trusted DCS host computer. This synchronization method can obtain the trusted status of the management platform and other host computers through communication with the trusted management platform. When communication with the trusted management platform is lost, this host computer can read the IP addresses and port numbers of other host computers in the configuration file config.xml and actively establish connections with other host computers to obtain their current trusted status. Through this redundancy design, the accuracy of the trusted status synchronization of the host computers is ensured from multiple perspectives. Furthermore, this invention uses encrypted information for transmission to prevent malicious tampering during transmission. In addition, this invention can also obtain the trusted status of all other host computers in the DCS system from any host computer, thus enabling the trusted status of all DCS host computers to be viewed from any single host computer, ensuring the trusted security of the DCS system and guaranteeing the safe production of the power plant.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of industrial automation technology, specifically relating to a trusted DCS host computer trusted state synchronization method, system, device and storage medium. Background Technology

[0002] The DCS control system is a crucial system in thermal power generation, and its safety and reliability are fundamental conditions for ensuring normal power generation from the power plant. Currently, technical requirements necessitate ensuring independent control and safe operation in the energy sector. Therefore, it is necessary to add reliable functions to the DCS control system to guarantee its safe operation.

[0003] Depending on their purpose, host computers can be categorized into trusted management platforms, operator stations, engineer stations, and historical stations. Each host computer needs to verify its own trustworthiness. Only when all host computers are in a trusted state is the DCS system secure and reliable. Therefore, each host computer needs to synchronize its own trusted state to the trusted management platform, which in turn monitors for anomalies in the host computer's trusted state in real time. However, the accuracy of host computers synchronizing their trusted states to the trusted management platform is poor, and there is a risk of information being tampered with during transmission, further reducing the security of information transmission during synchronization. To address these issues, a trusted DCS host computer trusted state synchronization method with high accuracy and security needs to be designed. Summary of the Invention

[0004] To address the problems existing in the prior art, the purpose of this invention is to provide a trusted DCS host computer trusted state synchronization method, system, device, and storage medium. This invention ensures the accuracy of the trusted state synchronization of the host computer and the security of information transmission through redundant design and encrypted transmission.

[0005] The technical solution adopted in this invention is as follows:

[0006] The trusted DCS host computer trusted state synchronization method includes the following process:

[0007] Read the configuration XML file: Determine if the configuration file config.xml exists in the trusted state storage path / etc / trust_status of the current host machine. If it exists, read the configuration file config.xml directly; otherwise, generate the configuration file config.xml in the trusted state storage path / etc / trust_status of the current host machine.

[0008] The first level of chain establishment request: perform a trustworthiness check on the overall environment of the current host computer to determine whether the current host computer is trustworthy; if the current host computer is trustworthy, then start establishing a chain with the trust management platform.

[0009] Level 1 Trusted Status Transmission and Reception: After the current host computer successfully establishes a connection with the trusted management platform, it sends encrypted trusted status information of the current host computer to the trusted management platform, and receives and decrypts encrypted trusted status information of other host computers sent by the trusted management platform. Then, according to the time interval for updating the status in the trusted status storage path / etc / trust_status / config.xml file, the process of the first level connection establishment request is repeated.

[0010] Second-level connection establishment request: When the current host computer fails to establish a connection with the trusted management platform, read the information of other host computers from the trusted state storage path / etc / trust_status / config.xml file, and repeatedly request to establish a connection with other host computers.

[0011] Level 2 Trusted State Transmission and Reception: After the current host computer successfully establishes a link with other host computers, it sends the encrypted trusted state information of the current host computer to the host computer with which the link was successfully established, and receives and decrypts the encrypted trusted state information sent by the host computer with which the link was successfully established, and then disconnects the current host computer from other host computers with which it has established a link.

[0012] The third-level connection establishment request: After the current host computer loses connection with other host computers with which it has established a connection, it determines whether the current host computer has established a connection with the trusted management platform. If a connection is established, the process of the first-level connection establishment request is repeated according to the time interval for updating the status in the trusted status storage path / etc / trust_status / config.xml. Otherwise, the process of the second-level connection establishment request and the second-level trusted status transmission and reception is repeated according to the time interval for updating the status in the trusted status storage path / etc / trust_status / config.xml.

[0013] Preferably, the information in the trusted status storage path / etc / trust_status / config.xml file also includes: the hostname, IP address and port number of all host computers in the DCS system. The host computers in the DCS system include the trusted management platform, historical stations, engineer stations and operator stations.

[0014] Preferably, for any host computer, upon receiving a connection establishment request from another host computer, it initiates a multi-threaded trusted status recovery service for the current host computer, the process of which includes:

[0015] The system reads the hostname of the current host machine from the file / etc / hostname, then reads the port number of the current host machine from the file / etc / trust_status / config.xml, sets the port number to the port number of the current host machine's trusted status reply service, and starts listening on the trusted status reply service port, waiting for a connection to be established. When another host machine establishes a connection with the current host machine, the system receives the encrypted trusted status information from the other host machine and sends the encrypted trusted status information of the current host machine to the other host machine. After sending, the connection is closed, and the system waits for a connection establishment request again.

[0016] Preferably, when making the first-level chain establishment request, after performing a trustworthiness check on the overall environment of the current host computer, the hostname and trustworthiness status of the current host computer are written into the database.

[0017] If the current trust status of the host computer is trustworthy, then a connection is established with the trust management platform; otherwise, the trust status values ​​of other host computers in the database are changed to disconnected.

[0018] Preferably, during the first-level trusted state transmission and reception, a trusted state synchronization request is sent to the trusted management platform, and encrypted trusted state information from other host computers is received from the trusted management platform. If no response is received from the trusted management platform, the encrypted trusted state information of the current host computer is resent several times. If no response is received from the trusted management platform after these several times, the connection between the current host computer and the trusted management platform is disconnected, and a new connection is established with the trusted management platform.

[0019] Preferably, when making a second-level connection request, if the current host machine fails to establish a connection with other host machines after several attempts, the trusted status of other host machines in the database is changed to disconnected.

[0020] Preferably, the trusted DCS host computer trusted state synchronization method of the present invention further includes the following process:

[0021] Trusted Status Display: Start the current host computer trusted status display multi-thread. The multi-thread reads the hostname and trusted status of each host computer from the database at preset intervals and displays them on the current host computer trusted status display interface.

[0022] The present invention also provides a system based on the trusted state synchronization method of the trusted DCS host computer as described above, comprising:

[0023] The module for reading configuration XML files is used to determine whether a configuration file named config.xml exists in the trusted state storage path / etc / trust_status of the current host computer. If it exists, the configuration file config.xml is read directly; otherwise, the configuration file config.xml is generated in the trusted state storage path / etc / trust_status of the current host computer.

[0024] The first-level chain establishment request module is used to perform trustworthiness detection on the overall environment of the current host computer and determine whether the current host computer is trustworthy. If the current host computer is trustworthy, then the chain establishment with the trust management platform will begin.

[0025] The first-level trusted status transceiver module is used to send encrypted trusted status information of the current host computer to the trusted management platform after the current host computer successfully establishes a link with the trusted management platform, and to receive and decrypt encrypted trusted status information of other host computers sent by the trusted management platform. Then, according to the time interval for updating the status in the trusted status storage path / etc / trust_status / config.xml file, it sends an instruction to the first-level link establishment request module to repeatedly perform a trustworthiness check on the overall environment of the current host computer.

[0026] The second-level connection establishment request module is used to read information about other host machines from the trusted status storage path / etc / trust_status / config.xml file when the current host machine fails to establish a connection with the trusted management platform, and to repeatedly request other host machines to establish a connection.

[0027] The second-level trusted state transceiver module is used to send the encrypted trusted state information of the current host computer to the host computer with which the connection has been successfully established after the current host computer has successfully established a connection with other host computers. It also receives and decrypts the encrypted trusted state information sent by the host computer with which the connection has been successfully established with the current host computer, and then disconnects the current host computer from the other host computers with which it has established a connection.

[0028] The third-level connection establishment request module: After the current host computer loses connection with other host computers with which it has established a connection, it determines whether the current host computer has established a connection with the trusted management platform. If a connection is established, it sends an instruction to the first-level connection establishment request module at the time interval specified in the trusted state storage file / etc / trust_status / config.xml, so that the first-level connection establishment request module can repeatedly perform a trustworthiness check on the overall environment of the current host computer. Otherwise, it sends an instruction to the second-level connection establishment request module at the time interval specified in the trusted state storage file / etc / trust_status / config.xml, requesting to establish a connection with the next host computer.

[0029] The present invention also provides an electronic device, comprising:

[0030] One or more processors;

[0031] A storage device on which one or more programs are stored;

[0032] When the one or more programs are executed by the one or more processors, the one or more processors implement the trusted DCS host computer trusted state synchronization method of the present invention as described above.

[0033] The present invention also provides a storage medium storing a computer program thereon, wherein the computer program, when executed by a processor, implements the trusted DCS host computer trusted state synchronization method of the present invention as described above.

[0034] The present invention has the following beneficial effects:

[0035] This invention provides a trusted DCS host computer trusted status synchronization method. This method obtains the trusted status of the management platform and other host computers through communication with the trusted management platform. When communication with the trusted management platform is lost, this host computer can read the IP addresses and port numbers of other host computers in the configuration file config.xml, actively establish connections with other host computers, and obtain their current trusted status. This redundancy design ensures accurate synchronization of the host computer's trusted status from multiple perspectives. Furthermore, this invention uses encrypted information transmission to prevent malicious tampering during transmission. In addition, this invention can obtain the trusted status of all other host computers in the DCS system from any host computer, thus enabling the viewing of the trusted status of all DCS host computers from any single host computer, ensuring the trusted security of the DCS system and guaranteeing the safe production of the power plant. Attached Figure Description

[0036] Figure 1 This is a flowchart of the trusted state synchronization method for the trusted DCS host computer in an embodiment of the present invention. Detailed Implementation

[0037] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.

[0038] The "current host computer" in this invention can be any host computer in the DCS system; "current host computer" and "other host computers" are relative concepts. When one host computer is designated as the "current host computer," all other host computers in the DCS system are referred to as "other host computers." Depending on their purpose, the host computers described in this invention can be categorized as trusted management platforms, operator stations, engineer stations, and historical stations. All types of host computers are equipped with a trusted computing chip (not limited to TCM).

[0039] The main process of the trusted DCS host computer trusted status synchronization method of this invention includes: reading the configuration XML file, establishing a connection, sending the trusted status of the local machine (i.e., the current host computer), and receiving the trusted status of other host computers and the trusted status display of the site host computer. The host computer in the trusted DCS host computer trusted status synchronization method of this invention is equipped with a trusted status synchronization main program, which implements the above main process.

[0040] Specifically, the trusted DCS host computer trusted state synchronization method of the present invention includes the following steps:

[0041] (1) First, determine whether the configuration file config.xml exists in the trusted state storage path / etc / trust_status of the current host computer. If it exists, start loading the configuration file config.xml and read the hostname, IP address, port number of all host computers of DCS (including: trusted management platform, historical station, engineer station, and operator station) and the time interval for the trusted state synchronization main program to update the status in the configuration file config.xml. If the config.xml file does not exist, the trusted state synchronization main program pops up a configuration page. On the configuration page, you can fill in the hostname, IP address, port number of all host computers of DCS (including: trusted management platform, historical station, engineer station, and operator station) and the time interval for the trusted state synchronization main program to update the status. After the configuration is completed, the configuration file config.xml is generated in the trusted state storage path / etc / trust_status.

[0042] (2) The trusted state synchronization main program uses a while loop to iterate through the next steps. The time interval of each loop is obtained from the trusted state storage path / etc / trust_status / config.xml file.

[0043] (3) The Trusted State Synchronization main program calls the interface of the Trusted Computing Service's first-level overall trusted state to perform a trustworthiness check on the current host computer's overall environment. It then writes the host computer's hostname and trusted state into the database. The returned values ​​during the check are 0, 1, and 2, representing trusted, untrusted, and unknown, respectively, with 3 indicating disconnection. If the return value is trusted, the current host computer's trusted state is trusted, and the host computer begins establishing a connection with the trusted management platform. If the return value is untrusted or unknown, the trusted state values ​​of other host computers in the database are updated to disconnection. At this time, the Trusted State Synchronization main program's display box shows that the current state of this host computer is trusted, while the trusted states of other host computers are displayed as disconnected.

[0044] (4) The trusted state synchronization main program initiates a TCP connection request based on the IP and port number of the trusted management platform. If the current host computer successfully establishes a connection with the trusted management platform, the current host computer sends its trusted state information to the trusted management platform. This trusted state information is encrypted using the national cryptographic algorithm SM3. After receiving the reply from the trusted management platform, the current host computer sends a trusted state synchronization request to the trusted management platform and accepts the encrypted trusted state information of other host computers sent by the trusted management platform. If no reply is received from the trusted management platform after sending the current host computer's trusted state information, the trusted state synchronization main program will resend the encrypted local trusted state information several times (generally three times, but other times can be selected according to the actual situation). If no reply is received from the trusted management platform after these several times, the trusted state synchronization main program will disconnect the TCP connection between the current host computer and the trusted management platform, return to step (3), and re-establish a connection with the trusted management platform.

[0045] (5) If the current host computer's trusted state synchronization main program fails to establish a connection with the management platform, the trusted management state synchronization main program will read the IP addresses and port numbers of other host computers from the configuration file config.xml, and use a while loop to sequentially establish TCP connections with other host computers. If the connection is established successfully, the current host computer's trusted state synchronization main program will send the encrypted trusted state information of the current host computer and request the host computer that has successfully established a connection with the current host computer to send the encrypted trusted state information of the host computer that has successfully established a connection with the current host computer. After the current host computer receives the information, it will disconnect from the host computer with which it established a connection. If the connection fails, the trusted state synchronization main program will attempt to establish a connection three times. If all three attempts fail, the trusted state of other host computers in the database will be changed to disconnected. In the chain-building while loop, a TCP chain is established with the trusted management platform after each loop. If the chain is established successfully, the chain-building while loop is exited and the process returns to step (3) to re-establish the chain with the trusted management platform. If the chain is not established successfully, the chain-building while loop is used to sequentially establish a TCP chain with the next host machine among the other host machines.

[0046] In the above-described scheme of the present invention, the encrypted trusted state information consists of: "hostname" + "@" + "Level 1 trusted state". After receiving the encrypted trusted state information from the trusted management platform or other host computer, the trusted state synchronization main program decrypts it using an agreed-upon password. The decrypted information is divided into the host computer's hostname and trusted state using the symbol "@", and then stored in the database.

[0047] In the above-described solutions of the present invention, such as Figure 1 As shown, for any host computer, upon receiving a connection request from another host computer, the trusted state synchronization main program starts a multi-threaded trusted state reply service for the current host computer. This multi-threaded service first reads the hostname of the current host computer from the ` / etc / hostname` file under the hostname path, then reads the trusted state storage file ` / etc / trust_status / config.xml`, reads the port number of the current host computer from the trusted state storage file ` / etc / trust_status / config.xml`, sets the port number of the current host computer as the port number of the trusted state reply service, and starts listening on the trusted state reply service port. When another host computer in the DCS system establishes a connection with the current host computer, the current host computer receives the trusted state information from the other host computer and replies to the other host computer. At the same time, the current host computer queries its own trusted state from the database and sends its encrypted trusted state information to the other host computer. After sending, it disconnects from the other host computer and waits to establish a connection with the other host computer again.

[0048] In the above-described solutions of the present invention, such as Figure 1 As shown, the trusted status synchronization main program starts a multi-threaded display of the trusted status of the current host computer. Every preset time interval (e.g., 5 seconds, the specific duration can be set according to the actual situation), this thread reads the hostname and trusted status of each host computer from the database. In the trusted status display interface of the host computer, the trusted status of the host computer is displayed in two rows. The top row displays a green "√" indicating that the status is trusted, and a red "×" indicating that it is untrusted, unknown, or disconnected. The bottom row displays the format "hostname + trusted status", such as "eng101 trusted", "eng102 untrusted", "opt103 unknown", "opt104 disconnected". The number of items displayed is consistent with the number defined in the configuration file config.xml, and the display order is consistent with the order in the configuration file.

[0049] In the above-described solutions of the present invention, such as Figure 1 As shown, when the trusted state synchronization program receives a process stop instruction, it terminates the main program's while loop, ends the multi-threaded services of displaying and responding to the trusted state on the host computer, and exits the program.

[0050] As can be seen from the above scheme, the trusted DCS host computer trusted state synchronization method of the present invention is used for trusted state synchronization of DCS host computers. Its main features are: 1. The host computer uses dedicated encryption methods to encrypt trusted state information during transmission to prevent information from being tampered with during transmission. 2. The trusted state synchronization method of the host computer can obtain the trusted state of other host computers from the management platform, or actively establish a link with other host computers to obtain the trusted state of other host computers. This redundancy design ensures the accuracy of trusted state synchronization of the host computer in multiple ways.

[0051] This invention also provides a system based on the trusted DCS host computer trusted state synchronization method described above. The system includes a trusted state synchronization main program, which comprises:

[0052] The module for reading configuration XML files is used to determine whether a configuration file named config.xml exists in the trusted state storage path / etc / trust_status of the current host computer. If it exists, the configuration file config.xml is read directly; otherwise, the configuration file config.xml is generated in the trusted state storage path / etc / trust_status of the current host computer.

[0053] The first-level chain establishment request module is used to perform trustworthiness detection on the overall environment of the current host computer and determine whether the current host computer is trustworthy. If the current host computer is trustworthy, then the chain establishment with the trust management platform will begin.

[0054] The first-level trusted status transceiver module is used to send encrypted trusted status information of the current host computer to the trusted management platform after the current host computer successfully establishes a link with the trusted management platform, and to receive and decrypt encrypted trusted status information of other host computers sent by the trusted management platform. Then, according to the time interval for updating the status in the trusted status storage path / etc / trust_status / config.xml file, it sends an instruction to the first-level link establishment request module to repeatedly perform a trustworthiness check on the overall environment of the current host computer.

[0055] The second-level connection establishment request module is used to read information about other host machines from the trusted status storage path / etc / trust_status / config.xml file when the current host machine fails to establish a connection with the trusted management platform, and to repeatedly request other host machines to establish a connection.

[0056] The second-level trusted state transceiver module is used to send the encrypted trusted state information of the current host computer to the host computer with which the connection has been successfully established after the current host computer has successfully established a connection with other host computers. It also receives and decrypts the encrypted trusted state information sent by the host computer with which the connection has been successfully established with the current host computer, and then disconnects the current host computer from the other host computers with which it has established a connection.

[0057] The third-level connection establishment request module: After the current host computer loses connection with other host computers with which it has established a connection, it determines whether the current host computer has established a connection with the trusted management platform. If a connection is established, it sends an instruction to the first-level connection establishment request module at the time interval specified in the trusted state storage file / etc / trust_status / config.xml, so that the first-level connection establishment request module can repeatedly perform a trustworthiness check on the overall environment of the current host computer. Otherwise, it sends an instruction to the second-level connection establishment request module at the time interval specified in the trusted state storage file / etc / trust_status / config.xml, requesting to establish a connection with the next host computer.

[0058] The trusted DCS host computer trusted status synchronization system of the present invention also includes a reply module:

[0059] Upon receiving a connection request from another host machine, this function reads the hostname of the current host machine from the ` / etc / hostname` file, then reads the port number of the current host machine from the ` / etc / trust_status / config.xml` file, sets the port number to the port number of the current host machine's trusted status reply service, and begins listening on the trusted status reply service port, waiting for a connection to be established. When another host machine establishes a connection with the current host machine, it receives the encrypted trusted status information from the other host machine and sends the encrypted trusted status information of the current host machine to the other host machine. After sending, it disconnects and waits for a connection request again.

[0060] The trusted DCS host computer trusted status synchronization system of the present invention also includes a database, which stores the hostname and trusted status of each host computer.

[0061] The trusted DCS host computer trusted status synchronization system of the present invention also includes a trusted status display module: used to start a multi-threaded trusted status display of the current host computer. The multi-threaded module reads the hostname and trusted status of each host computer from the database at preset intervals and displays them on the trusted status display interface of the current host computer.

[0062] The embodiments of the present invention also provide corresponding devices and computer-readable storage media for implementing the solutions provided in the embodiments of the present invention.

[0063] The device includes a memory and a processor. The memory is used to store instructions or code, and the processor is used to execute the instructions or code to enable the device to perform the trusted DCS host computer trusted state synchronization method according to any embodiment of this application.

[0064] In practical applications, the computer-readable storage medium can be any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium.

[0065] Computer-readable storage media can be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0066] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of sending, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.

[0067] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0068] Computer program code for performing the operations of this invention can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as "C" or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider). It should be noted that the various embodiments in this specification are described in a progressive manner, and similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the apparatus embodiments are basically similar to the method embodiments, so the description is relatively simple, and relevant parts can be referred to the description of the method embodiments. The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components indicated as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0069] It should be noted that the various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for the device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiments. The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separate. The components indicated as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment solution according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0070] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A trusted DCS host computer trusted state synchronization method, characterized in that, The process includes the following: Read the configuration XML file: Determine if the configuration file config.xml exists in the trusted state storage path / etc / trust_status of the current host machine. If it exists, read the configuration file config.xml directly; otherwise, generate the configuration file config.xml in the trusted state storage path / etc / trust_status of the current host machine. First-level chain establishment request: Perform trustworthiness detection on the overall environment of the current host computer to determine whether the current host computer's trustworthiness status is trustworthy; If the current trust status of the host computer is trustworthy, then start establishing a connection with the trust management platform; Level 1 Trusted Status Transmission and Reception: After the current host computer successfully establishes a connection with the trusted management platform, it sends encrypted trusted status information of the current host computer to the trusted management platform, and receives and decrypts encrypted trusted status information of other host computers sent by the trusted management platform. Then, according to the time interval for updating the status in the / etc / trust_status / config.xml file under the trusted status path, the process of the first level connection establishment request is repeated. Second-level connection establishment request: When the current host computer fails to establish a connection with the trusted management platform, read the information of other host computers from the trusted state storage path / etc / trust_status / config.xml file, and repeatedly request to establish a connection with other host computers. Level 2 Trusted State Transmission and Reception: After the current host computer successfully establishes a link with other host computers, it sends the encrypted trusted state information of the current host computer to the host computer with which the link was successfully established, and receives and decrypts the encrypted trusted state information sent by the host computer with which the link was successfully established, and then disconnects the current host computer from other host computers with which it has established a link. The third-level connection establishment request: After the current host computer loses connection with other host computers with which it has established a connection, it determines whether the current host computer has established a connection with the trusted management platform. If a connection is established, the process of the first-level connection establishment request is repeated according to the time interval for updating the status in the trusted status storage path / etc / trust_status / config.xml. Otherwise, the process of the second-level connection establishment request and the second-level trusted status transmission and reception is repeated according to the time interval for updating the status in the trusted status storage path / etc / trust_status / config.xml.

2. The trusted DCS host computer trusted state synchronization method according to claim 1, characterized in that, The information in / etc / trust_status / config.xml also includes the hostname, IP address and port number of all host computers in the DCS system. The host computers in the DCS system include the Trusted Management Platform, the Historical Station, the Engineer Station and the Operator Station.

3. The trusted DCS host computer trusted state synchronization method according to claim 1, characterized in that, For any host computer, upon receiving a connection establishment request from another host computer, it initiates a multi-threaded trusted state recovery service for the current host computer. The process includes: The system reads the hostname of the current host machine from the file / etc / hostname, then reads the port number of the current host machine from the file / etc / trust_status / config.xml, sets the port number to the port number of the current host machine's trusted status reply service, and starts listening on the trusted status reply service port, waiting for a connection to be established. When another host machine establishes a connection with the current host machine, the system receives the encrypted trusted status information from the other host machine and sends the encrypted trusted status information of the current host machine to the other host machine. After sending, the connection is closed, and the system waits for a connection establishment request again.

4. The trusted DCS host computer trusted state synchronization method according to claim 1, characterized in that, When making the first-level chain establishment request, after performing a trustworthiness check on the overall environment of the current host computer, the hostname and trust status of the current host computer are written into the database. If the current host computer's trust status is trustworthy, then establish a connection with the trust management platform; otherwise, change the trust status value of other host computers in the database to disconnected.

5. The trusted DCS host computer trusted state synchronization method according to claim 1, characterized in that, During the first level of trusted state transmission and reception, a trusted state synchronization request is sent to the trusted management platform, and encrypted trusted state information from other host computers is received from the trusted management platform. If no response is received from the trusted management platform, the encrypted trusted state information of the current host computer is resent several times. If no response is received from the trusted management platform after these several times, the connection between the current host computer and the trusted management platform is disconnected, and a new connection is established with the trusted management platform.

6. The trusted DCS host computer trusted state synchronization method according to claim 1, characterized in that, When making a second-level connection request, if the current host machine fails to establish a connection with other host machines after several attempts, the trusted status of the other host machines in the database will be changed to disconnected.

7. The trusted DCS host computer trusted state synchronization method according to claim 1, characterized in that, It also includes the following processes: Trusted Status Display: Start the current host computer trusted status display multi-thread. The multi-thread reads the hostname and trusted status of each host computer from the database at preset intervals and displays them on the current host computer trusted status display interface.

8. A system based on the trusted DCS host computer trusted state synchronization method according to any one of claims 1-7, characterized in that, include: The module for reading configuration XML files is used to determine whether a configuration file config.xml exists in the trusted state storage path / etc / trust_status of the current host machine. If it exists, the configuration file config.xml is read directly; otherwise, the configuration file config.xml is generated in the trusted state storage path / etc / trust_status of the current host machine. The first-level connection establishment request module is used to perform trustworthiness detection on the overall environment of the current host computer and determine whether the current host computer is trustworthy. If the current trust status of the host computer is trustworthy, then start establishing a connection with the trust management platform; The first-level trusted status transceiver module is used to send encrypted trusted status information of the current host computer to the trusted management platform after the current host computer successfully establishes a link with the trusted management platform, and to receive and decrypt encrypted trusted status information of other host computers sent by the trusted management platform. Then, according to the time interval for updating the status in the trusted status storage path / etc / trust_status / config.xml file, it sends an instruction to the first-level link establishment request module to repeatedly perform a trustworthiness check on the overall environment of the current host computer. The second-level connection establishment request module is used to read information about other host machines from the trusted status storage path / etc / trust_status / config.xml file when the current host machine fails to establish a connection with the trusted management platform, and to repeatedly request other host machines to establish a connection. The second-level trusted state transceiver module is used to send the encrypted trusted state information of the current host computer to the host computer with which the connection has been successfully established after the current host computer has successfully established a connection with other host computers. It also receives and decrypts the encrypted trusted state information sent by the host computer with which the connection has been successfully established with the current host computer, and then disconnects the current host computer from the other host computers with which it has established a connection. The third-level connection establishment request module: After the current host computer loses connection with other host computers with which it has established a connection, it determines whether the current host computer has established a connection with the trusted management platform. If a connection is established, it sends an instruction to the first-level connection establishment request module at the time interval specified in the trusted state storage file / etc / trust_status / config.xml, so that the first-level connection establishment request module can repeatedly perform a trustworthiness check on the overall environment of the current host computer. Otherwise, it sends an instruction to the second-level connection establishment request module at the time interval specified in the trusted state storage file / etc / trust_status / config.xml, requesting to establish a connection with the next host computer.

9. An electronic device, characterized in that, include: One or more processors; A storage device on which one or more programs are stored; When the one or more programs are executed by the one or more processors, the one or more processors implement the trusted DCS host computer trusted state synchronization method as described in any one of claims 1 to 7.

10. A storage medium, characterized in that, It stores a computer program, wherein the computer program, when executed by a processor, implements the trusted state synchronization method of the trusted DCS host computer as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Credible encryption system and method

    CN110188547A

  • Message tracking method, system and equipment

    CN113810250A