DCS controller network connection verification method, system, device and storage medium
In the network connection verification of DCS controller, the verification information comparison between the upper computer configuration tool and the lower computer DCS controller is used to ensure the consistency of connections, and the problem of neglecting connection consistency verification in the existing technology is solved, and a safer and more reliable network connection is achieved, and security accidents caused by inconsistent information are avoided.
Patent Information
- Application Number
- CN202510117474.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-24
- Publication Date
- 2025-05-02
AI Technical Summary
The existing DCS controller network connection verification mechanism only focuses on the initial stage of connection establishment and ignores the deep verification of connection consistency. This may lead to mismatch or inconsistent connections between the upper and lower computer controllers, which in turn affects the robustness and security of the system.
The connection request is sent to the DCS controller of the lower computer through the upper computer configuration tool, and the DCS controller of the lower computer is triggered to send verification information to the DCS controller of the upper computer, and verify the verification information using a comparison method based on the preset controller configuration information to ensure that the verification results of the DCS controller of the lower computer are consistent before establishing a network connection.
Through strict information verification, we ensure that the connection between the upper computer configuration tool and the lower computer DCS controller is safe and reliable, avoid production safety accidents caused by inconsistent information of the upper computer controller, reduce user operation difficulty and complexity, and ensure the stability and reliability of the system.
Smart Images

Figure CN119922006A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of industrial automation control systems and relates to a DCS controller network connection verification method, system, equipment and storage medium. Background Art
[0002] In industrial automation control systems, DCS (Distributed Control System) controllers are the cornerstone of core industrial facilities such as power plants and chemical plants, and their importance is self-evident. These advanced controllers are not only closely connected to the host computer configuration tools through the network architecture, realizing seamless docking of remote control and management, but also undertake multiple tasks such as downloading precise control logic, real-time monitoring of operating status, and efficient fault diagnosis. This powerful interconnection capability has greatly improved production efficiency and safety.
[0003] However, while pursuing efficiency and convenience, the existing DCS controller network connection verification mechanism exposes potential risks. Current verification methods often only focus on the initial stage of connection establishment, that is, ensuring that the upper and lower computers can successfully handshake and communicate, but ignore the in-depth verification of connection consistency. This approach of focusing on establishment and neglecting verification leaves room for human error. Once an unmatched or inconsistent connection is established between the upper and lower controllers due to operational errors, the robustness of the entire system will be severely challenged.
[0004] What’s more serious is that inconsistent connections may trigger a series of chain reactions. The lower-level controller may fail to accurately parse the control instructions from the upper-level configuration tool, resulting in deviation or failure of the control strategy execution. This deviation will not only cause fluctuations in the production process and reduce efficiency, but is also more likely to trigger safety alarms, cause equipment shutdowns, and even cause more serious production accidents. In extreme cases, the lower-level controller may fall into a state of confusion due to receiving erroneous instructions for a long time, and eventually crash, posing a fatal threat to the safe and stable operation of key industrial facilities such as power plants and chemical plants. Therefore, strengthening the consistency verification of DCS controller network connections has become a top priority to ensure the safe operation of industrial automation control systems. Summary of the invention
[0005] The purpose of the present invention is to overcome the above-mentioned shortcomings of the prior art and provide a DCS controller network connection verification method, system, device and storage medium.
[0006] In order to achieve the above object, the present invention adopts the following technical solutions:
[0007] In a first aspect, the present invention provides a DCS controller network connection verification method, comprising:
[0008] The upper computer configuration tool sends a connection request to the lower computer DCS controller; wherein the connection request is used to trigger the lower computer DCS controller to send verification information to the upper computer configuration tool;
[0009] The upper computer configuration tool receives and verifies the verification information by comparison according to the preset controller configuration information, and obtains the verification result of the lower computer DCS controller;
[0010] When the verification result of the lower-level DCS controller is consistent, a network connection is established between the lower-level DCS controller and the upper-level configuration tool.
[0011] Optionally, the verification information includes controller model, controller type and algorithm library version.
[0012] Optionally, the preset controller configuration information is obtained in the following manner: creating and configuring a controller in a host computer configuration tool according to actual requirements, and recording the controller model, controller type and configuration tool algorithm library version of the controller as the controller configuration information.
[0013] Optionally, the verification information is verified by comparison according to the preset controller configuration information to obtain the verification result of the lower computer DCS controller, including: obtaining the controller model, controller type and configuration tool algorithm library version in the preset controller configuration information, and the controller model, controller type and algorithm library version in the verification information; when the controller model in the controller configuration information is consistent with the controller model in the verification information, the controller type in the controller configuration information is consistent with the controller type in the verification information, and the algorithm library version in the verification information is compatible with the configuration tool algorithm library version in the controller configuration information, the verification result of the lower computer DCS controller is consistent; otherwise, the verification result of the lower computer DCS controller is inconsistent.
[0014] Optionally, when the verification result of the lower DCS controller is inconsistent, a verification error message is generated.
[0015] Optionally, the verification error information includes: a comparison result between the controller model, controller type and configuration tool algorithm library version in the controller configuration information and the controller model, controller type and algorithm library version in the verification information.
[0016] Optionally, the method further includes: visually displaying the verification error information.
[0017] A second aspect of the present invention provides a DCS controller network connection verification system, comprising:
[0018] A request module, used for the upper computer configuration tool to send a connection request to the lower computer DCS controller; wherein the connection request is used to trigger the lower computer DCS controller to send verification information to the upper computer configuration tool;
[0019] The verification module is used for the upper computer configuration tool to receive and verify the verification information by comparing the preset controller configuration information to obtain the verification result of the lower computer DCS controller;
[0020] The connection establishment module is used to establish a network connection between the lower computer DCS controller and the upper computer configuration tool when the verification result of the lower computer DCS controller is consistent.
[0021] According to a third aspect of the present invention, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned DCS controller network connection verification method when executing the computer program.
[0022] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned DCS controller network connection verification method are implemented.
[0023] Compared with the prior art, the present invention has the following beneficial effects:
[0024] The DCS controller network connection verification method of the present invention first sends a connection request to the lower-machine DCS controller through the upper-machine configuration tool, triggering the lower-machine DCS controller to send verification information to the upper-machine configuration tool, and then the upper-machine configuration tool receives and verifies the verification information according to the preset controller configuration information by a comparison method, obtains the verification result of the lower-machine DCS controller, and when the verification result of the lower-machine DCS controller is consistent, establishes the network connection between the lower-machine DCS controller and the upper-machine configuration tool. Through strict information verification, it is ensured that the connection between the upper-machine configuration tool and the lower-machine DCS controller is safe and reliable, and the connection is allowed only when the verification is passed, thereby ensuring the safety of the connection and avoiding the situation that the connection is established due to the inconsistency of the upper and lower-machine controller information, thereby causing a safety accident in production. At the same time, the automated information acquisition and verification process reduces the user's operating difficulty and complexity, and verification is performed before the connection is established, ensuring the stability and reliability of the system, and can be applied to various models of DCS controllers, with wide applicability and promotion value. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 The present invention is a flow chart of a DCS controller network connection verification method according to an embodiment of the present invention.
[0026] Figure 2 The figure is a detailed flow chart of the DCS controller network connection verification method according to an embodiment of the present invention.
[0027] Figure 3 The figure is a structural block diagram of a DCS controller network connection verification system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0030] The present invention is further described in detail below in conjunction with the accompanying drawings:
[0031] See also Figure 1 In one embodiment of the present invention, a DCS controller network connection verification method is provided to ensure the security of the connection through strict information verification and prevent safety accidents caused by inconsistent controller information.
[0032] Specifically, the DCS controller network connection verification method of the present invention includes the following steps:
[0033] S1: The upper computer configuration tool sends a connection request to the lower computer DCS controller; wherein the connection request is used to trigger the lower computer DCS controller to send verification information to the upper computer configuration tool.
[0034] S2: The upper computer configuration tool receives and verifies the verification information in a comparison manner according to the preset controller configuration information, and obtains the verification result of the lower computer DCS controller.
[0035] S3: When the verification results of the lower-level DCS controller are consistent, a network connection is established between the lower-level DCS controller and the upper-level configuration tool.
[0036] The DCS controller network connection verification method of the present invention first sends a connection request to the lower-machine DCS controller through the upper-machine configuration tool, triggering the lower-machine DCS controller to send verification information to the upper-machine configuration tool, and then the upper-machine configuration tool receives and verifies the verification information according to the preset controller configuration information by a comparison method, obtains the verification result of the lower-machine DCS controller, and when the verification result of the lower-machine DCS controller is consistent, establishes the network connection between the lower-machine DCS controller and the upper-machine configuration tool. Through strict information verification, it is ensured that the connection between the upper-machine configuration tool and the lower-machine DCS controller is safe and reliable, and the connection is allowed only when the verification is passed, thereby ensuring the safety of the connection and avoiding the situation that the connection is established due to the inconsistency of the upper and lower-machine controller information, thereby causing a safety accident in production. At the same time, the automated information acquisition and verification process reduces the user's operating difficulty and complexity, and verification is performed before the connection is established, ensuring the stability and reliability of the system, and can be applied to various models of DCS controllers, with wide applicability and promotion value.
[0037] Among them, the lower-level DCS controller is a physical controller.
[0038] In a possible implementation manner, the verification information includes a controller model, a controller type, and an algorithm library version.
[0039] Specifically, the design of verification information does need to be detailed and specific to ensure the compatibility and security of the system or device. The combination of controller model, controller type and algorithm library version is used to ensure the security of subsequent connections. Among them, controller model: The controller model is a unique identifier to identify a specific hardware device. Different controller models may have different hardware configurations, performance parameters and interface standards. By verifying the controller model, the system can ensure that the connected controller is the expected device, thereby avoiding problems caused by hardware mismatch. Controller type: The controller type usually refers to the classification or functional category to which the controller belongs, such as motion controller, process controller or other type of controller. This classification helps the system quickly identify the basic functions and uses of the controller, so as to adopt corresponding processing strategies or configure corresponding parameters. Algorithm library version: The algorithm library version refers to the version number of the software or algorithm set running on the controller. The algorithm library contains program code that implements specific control logic and functions. Different versions of the algorithm library may contain different functions, performance optimizations or security fixes. Verifying the algorithm library version can ensure that the software running on the controller is compatible with the rest of the system and has the latest security features and performance optimizations.
[0040] In a possible implementation, the preset controller configuration information is obtained by creating and configuring a controller in a host computer configuration tool according to actual requirements, and recording the controller model, controller type and configuration tool algorithm library version of the controller as controller configuration information.
[0041] Specifically, in the upper computer configuration tool, a controller is created and configured according to actual needs, and key information such as the controller model, controller type, and configuration tool algorithm library version of the controller is recorded in detail to serve as the preset controller configuration information to realize the comparison and verification of the verification information sent by the lower computer DCS controller.
[0042] In a possible implementation, the verification information is verified by comparison according to preset controller configuration information to obtain the verification result of the lower-level DCS controller, including: obtaining the controller model, controller type and configuration tool algorithm library version in the preset controller configuration information, and the controller model, controller type and algorithm library version in the verification information; when the controller model in the controller configuration information is consistent with the controller model in the verification information, the controller type in the controller configuration information is consistent with the controller type in the verification information, and the algorithm library version in the verification information is compatible with the configuration tool algorithm library version in the controller configuration information, the verification result of the lower-level DCS controller is consistent; otherwise, the verification result of the lower-level DCS controller is inconsistent.
[0043] Specifically, the preset controller configuration information created in the upper computer configuration tool is compared and verified with the verification information sent by the lower computer DCS controller extracted from the network connection information. Optionally, the comparison and verification is carried out in the manner and order of whether the controller model is consistent, whether the controller type is consistent, and whether the algorithm library version is compatible. Only when the controller model is consistent, the controller type is consistent, and the algorithm library version is compatible, the verification result of the lower computer DCS controller is considered consistent. At the same time, according to the verification result of the lower computer DCS controller, it is automatically determined whether to allow the establishment of a network connection. If all the check items pass, that is, the verification result of the lower computer DCS controller is consistent, the connection is allowed to be established; if any of the checks fail, that is, the verification result of the lower computer DCS controller is inconsistent, the connection is rejected.
[0044] In a possible implementation manner, when the verification result of the lower DCS controller is inconsistent, verification error information is generated.
[0045] Specifically, the generation of verification error information can immediately notify the system or operator of the current problem, which helps to quickly respond to and solve the problem and prevent the problem from further deteriorating or affecting the normal operation of the system.
[0046] In a possible implementation, the verification error information includes: a comparison result between the controller model, controller type and configuration tool algorithm library version in the controller configuration information and the controller model, controller type and algorithm library version in the verification information.
[0047] Specifically, the verification error information includes specific comparison results, which can enable operators to understand specific problems in a timely manner so as to carry out targeted processing.
[0048] Optionally, after the verification error information is generated, the verification error information may be visually displayed.
[0049] See also Figure 2 In a possible implementation manner, the DCS controller network connection verification method specifically includes the following steps:
[0050] Step 1: In the host computer configuration tool, create and configure the controller according to actual needs, and record the controller model, controller type, and configuration tool algorithm library version of the controller as the controller configuration information.
[0051] Step 2: The host computer configuration tool sends a connection request to the lower computer DCS controller.
[0052] Step 3: The lower-level DCS controller receives the connection request and returns its own controller model, controller type, algorithm library version and other actual information.
[0053] Step 4: Use a comparison method to check whether the controller model in the preset controller configuration information is consistent with the controller model in the verification information; when the controller model in the preset controller configuration information is consistent with the controller model in the verification information, proceed to step 5; otherwise, the verification result of the lower-level DCS controller is inconsistent, and it is not allowed to establish a network connection between the lower-level DCS controller and the upper-level configuration tool, and a verification error message is generated.
[0054] Step 5: Use a comparison method to check whether the controller type in the preset controller configuration information matches the controller type in the verification information; when the controller type in the preset controller configuration information matches the controller type in the verification information, proceed to step 6; otherwise, the verification result of the lower-level DCS controller is inconsistent, and it is not allowed to establish a network connection between the lower-level DCS controller and the upper-level configuration tool, and a verification error message is generated.
[0055] Step 6: Use a comparison method to check whether the configuration tool algorithm library version in the preset controller configuration information is compatible with the algorithm library version in the verification information; when the configuration tool algorithm library version in the preset controller configuration information is compatible with the algorithm library version in the verification information, and the verification result of the lower-level DCS controller is consistent, a network connection between the lower-level DCS controller and the upper-level configuration tool is established; otherwise, the verification result of the lower-level DCS controller is inconsistent, and the network connection between the lower-level DCS controller and the upper-level configuration tool is not allowed to be established, and a verification error message is generated.
[0056] The DCS controller network connection verification method of the present invention can be integrated with the existing industrial automation control system for application, or it can be developed and applied as a module alone. Through application verification in an actual industrial environment, the DCS controller network connection verification method of the present invention can significantly improve the security and reliability of the DCS controller network connection, and provide a strong guarantee for the stable operation of the industrial automation control system.
[0057] The following are device embodiments of the present invention, which can be used to implement the method embodiments of the present invention. For details not disclosed in the device embodiments, please refer to the method embodiments of the present invention.
[0058] See also Figure 3 In another embodiment of the present invention, a DCS controller network connection verification system is provided, which can be used to implement the above-mentioned DCS controller network connection verification method. Specifically, the DCS controller network connection verification system includes a request module, a verification module and a connection establishment module.
[0059] Among them, the request module is used for the upper computer configuration tool to send a connection request to the lower computer DCS controller; wherein, the connection request is used to trigger the lower computer DCS controller to send verification information to the upper computer configuration tool; the verification module is used for the upper computer configuration tool to receive and verify the verification information by comparison according to the preset controller configuration information, and obtain the verification result of the lower computer DCS controller; the connection establishment module is used to establish a network connection between the lower computer DCS controller and the upper computer configuration tool when the verification result of the lower computer DCS controller is consistent.
[0060] All relevant contents of each step involved in the aforementioned embodiment of the DCS controller network connection verification method can be referred to the functional description of the functional module corresponding to the DCS controller network connection verification device in the embodiment of the present invention, and will not be repeated here.
[0061] The division of modules in the embodiments of the present invention is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional module in each embodiment of the present invention may be integrated into one processor, or may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.
[0062] In another embodiment of the present invention, a computer device is provided, the computer device comprising a processor and a memory, the memory being used to store a computer program, the computer program comprising program instructions, and the processor being used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or may be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions in a computer storage medium to implement a corresponding method flow or corresponding function; the processor described in the embodiment of the present invention can be used for the operation of the DCS controller network connection verification method.
[0063] In another embodiment of the present invention, the present invention further provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device for storing programs and data. It can be understood that the computer-readable storage medium here can include both the built-in storage medium in the computer device and the extended storage medium supported by the computer device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the corresponding steps of the DCS controller network connection verification method in the above embodiment.
[0064] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0065] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0066] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0067] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0068] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A DCS controller network connection verification method, characterized in that: include: The upper computer configuration tool sends a connection request to the lower computer DCS controller; wherein the connection request is used to trigger the lower computer DCS controller to send verification information to the upper computer configuration tool; The upper computer configuration tool receives and verifies the verification information by comparison according to the preset controller configuration information, and obtains the verification result of the lower computer DCS controller; When the verification result of the lower-level DCS controller is consistent, a network connection is established between the lower-level DCS controller and the upper-level configuration tool.
2. The DCS controller network connection verification method according to claim 1, characterized in that: The verification information includes the controller model, controller type and algorithm library version.
3. The DCS controller network connection verification method according to claim 2, characterized in that: The preset controller configuration information is obtained in the following manner: In the host computer configuration tool, create and configure the controller according to actual needs, and record the controller model, controller type and configuration tool algorithm library version of the controller as controller configuration information.
4. The DCS controller network connection verification method according to claim 3, characterized in that: The verification information is verified by comparing the preset controller configuration information to obtain the verification result of the lower-level DCS controller, including: Obtain the controller model, controller type and configuration tool algorithm library version in the preset controller configuration information, and the controller model, controller type and algorithm library version in the verification information; When the controller model in the controller configuration information is consistent with the controller model in the verification information, the controller type in the controller configuration information is consistent with the controller type in the verification information, and the algorithm library version in the verification information is compatible with the configuration tool algorithm library version in the controller configuration information, the verification result of the lower computer DCS controller is consistent; otherwise, the verification result of the lower computer DCS controller is inconsistent.
5. The DCS controller network connection verification method according to claim 4, characterized in that: When the verification result of the lower DCS controller is inconsistent, a verification error message is generated.
6. The DCS controller network connection verification method according to claim 5, characterized in that: The verification error information includes: The comparison result between the controller model, controller type and configuration tool algorithm library version in the controller configuration information and the controller model, controller type and algorithm library version in the verification information.
7. The DCS controller network connection verification method according to claim 5 or 6, characterized in that: Also includes: The validation error information is visually displayed.
8. A DCS controller network connection verification system, characterized in that: include: A request module, used for the upper computer configuration tool to send a connection request to the lower computer DCS controller; wherein the connection request is used to trigger the lower computer DCS controller to send verification information to the upper computer configuration tool; The verification module is used for the upper computer configuration tool to receive and verify the verification information by comparing the preset controller configuration information to obtain the verification result of the lower computer DCS controller; The connection establishment module is used to establish a network connection between the lower computer DCS controller and the upper computer configuration tool when the verification result of the lower computer DCS controller is consistent.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the DCS controller network connection verification method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the DCS controller network connection verification method according to any one of claims 1 to 7 are implemented.