Control system and control method thereof
The control system addresses the challenge of verifying equipment reliability by using a common key for authentication and generating new keys upon replacement, ensuring secure data transmission and preventing unauthorized access.
Patent Information
- Application Number
- JP2021038923
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-03-11
- Publication Date
- 2024-10-16
- Estimated Expiration
- 2041-03-11
AI Technical Summary
Existing control systems lack a reliable method to verify the authenticity and reliability of equipment connected to control devices, particularly in environments where security events can occur, such as leaks of know-how through unauthorized access.
A control system with a detachable control unit and communication unit that uses a common key for authentication, allowing access only after verification, and generates a new key upon replacement, distributing it via a secure bus to ensure authenticity.
The system effectively verifies the reliability of connected equipment, preventing unauthorized access and ensuring secure data transmission by authenticating units using a common key and generating new keys for replacements.
Smart Images

Figure 0007567576000001 
Figure 0007567576000002 
Figure 0007567576000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to control systems, and more particularly, to authentication of devices included in a control system. [Background technology]
[0002] An environment is provided where FA (Factory Automation) control devices can be connected to the Internet or cloud terminals. In this environment, security measures are implemented to deal with various incidents, including the leakage of know-how, when connecting control devices to terminals or networks outside the factory.
[0003] Regarding the security of control systems, for example, JP 2019-096149 A (Patent Document 1) discloses a control device that "includes a program execution unit that executes a program created according to the control target, a detection unit that determines whether a security event has occurred in external access to the control device, and a notification unit that, when a security event is detected, notifies a notification destination according to the security event that has occurred. Security events include events that do not comply with predetermined rules" (see [Abstract]). [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2019-096149 A Summary of the Invention [Problem to be solved by the invention]
[0005] According to the technology disclosed in Patent Document 1, it is not possible to verify the reliability of a device connected to a control device. Therefore, there is a need for a technology for verifying the reliability of a device connected to a control device.
[0006] The present disclosure has been made in view of the above-described background, and an object of one aspect is to provide a technique for verifying the reliability of a device connected to a control device. [Means for solving the problem]
[0007] According to an example of the present disclosure, there is provided a control system including a control unit and a communication unit. The control unit and the communication unit are configured to be detachable. The control unit authenticates a communication unit connected to the control unit using a common key, and allows the communication unit to access data in the control unit based on confirmation that the communication unit has the common key as a result of the authentication.
[0008] According to this disclosure, the control system can permit the communication unit to access data in the control unit once verification of the reliability of the communication unit has been completed.
[0009] In the above disclosure, the control system further includes a device for distributing a common key, the device receiving a command to distribute the common key and transmitting the common key to the control unit and the communication unit based on a successful authentication process of the user who input the command to distribute the common key.
[0010] According to this disclosure, the control system may generate a common key in the device and distribute the common key to the control unit and the communication unit.
[0011] In the above disclosure, when the communication unit is replaced with a new communication unit, the control unit generates a new common key and transmits the new common key to the new communication unit. Transmitting the new common key to the new communication unit includes accepting an input of a command to generate a new common key, and transmitting the generated new common key to the communication unit based on a successful authentication process of the user who input the command to generate the common key.
[0012] According to this disclosure, the control system may generate a new common key at the control unit based on the communication unit being replaced, and transmit the new common key to the communication unit.
[0013] In the above disclosure, the control unit is connected to the new communication unit via a bus, and distributes a common key to the new communication unit via the bus.
[0014] According to this disclosure, the control unit may distribute a common key to new communication units over a highly secure bus.
[0015] In the above disclosure, when replacing a communication unit with a new one, the control unit receives the communication unit settings from the communication unit via the bus, and after distributing the common key, transmits the communication unit settings to the new communication unit via the bus.
[0016] According to this disclosure, the control unit can transfer the settings of the replaced communication unit to the new communication unit.
[0017] In the above disclosure, when the communication unit is replaced with a new communication unit, the communication unit stores the settings of the communication unit in a removable storage medium. After the new communication unit acquires a new common key, the communication unit reads the settings of the communication unit from the removable storage medium.
[0018] According to this disclosure, after acquiring the common key, the new communication unit can take over the settings of the communication unit before replacement.
[0019] According to another example of the present disclosure, there is provided a control method for a control system, the control method including the steps of: authenticating a communication unit connected to the control unit using a common key; and permitting the communication unit to access data in the control unit based on confirmation that the communication unit has the common key as a result of the authentication.
[0020] According to this disclosure, once the reliability of the communication unit has been verified, the communication unit can be permitted to access data within the control unit.
[0021] In the above disclosure, the control method further includes a step of accepting a common key distribution command, and a step of transmitting the common key to the control unit and the communication unit based on successful authentication processing of the user who input the common key distribution command.
[0022] According to this disclosure, a common key may be generated and distributed to the control unit and the communication unit.
[0023] In the above disclosure, the control method further includes a step of generating a new common key and transmitting the new common key to the new communication unit based on the fact that the communication unit has been replaced with a new communication unit. The step of transmitting the new common key to the new communication unit includes a step of accepting an input of a command to generate a new common key, and a step of transmitting the generated new common key to the communication unit based on the success of an authentication process of the user who input the command to generate the common key.
[0024] According to this disclosure, a new common key may be generated based on the fact that the communication unit has been replaced, and the new common key may be transmitted to the communication unit.
[0025] In the above disclosure, the new common key is distributed from the control unit to the new communication unit via the bus.
[0026] According to this disclosure, a common key may be distributed to new communication units over a highly secure bus.
[0027] In the above disclosure, the control method further includes a step of transmitting settings of the communication unit from the communication unit to the control unit via the bus when replacing the communication unit with a new communication unit, and a step of transmitting settings of the communication unit from the control unit to the new communication unit via the bus after distribution of the common key.
[0028] According to this disclosure, the settings of the communication unit before replacement can be inherited by the new communication unit.
[0029] In the above disclosure, the control method further includes a step of saving the settings of the communication unit in a removable storage medium when replacing the communication unit with a new communication unit, and a step of loading the settings of the communication unit from the removable storage medium to the new communication unit after obtaining a new common key.
[0030] According to this disclosure, after acquiring the common key, the new communication unit can take over the settings of the communication unit before replacement. Effect of the Invention
[0031] According to an embodiment, it is possible to verify the authenticity of the equipment connected to the control device.
[0032] The above and other objects, features, aspects and advantages of the present disclosure will become apparent from the following detailed description of the disclosure taken in conjunction with the accompanying drawings. [Brief description of the drawings]
[0033] [Figure 1] FIG. 1 is a diagram illustrating an overall configuration of a network system 100 including a control system 1 according to an embodiment. [Diagram 2] FIG. 13 is a diagram showing an example of a problem that may occur when replacing the security unit 210. [Diagram 3] FIG. 2 is a diagram showing an example of a method for authenticating the security unit 210 by the control unit 200. [Figure 4] FIG. 1 is an external view showing a configuration example of a control system 1 according to an embodiment. [Diagram 5] 1 is a schematic diagram showing an example of a hardware configuration of a control unit 200 constituting a control system 1 according to an embodiment. [Figure 6]It is a schematic diagram showing a hardware configuration example of a security unit 210 that constitutes a control system 1 according to an embodiment. [Figure 7] It is a schematic diagram showing a hardware configuration example of a support device 110 that can be connected to a control system 1 according to an embodiment. [Figure 8] It is a diagram showing an example of a common key distribution procedure and an authentication procedure using the common key at the time of setup. [Figure 9] It is a diagram showing an example of a common key distribution procedure and an authentication procedure using the common key when replacing the security unit 210. [Figure 10] It is a flowchart showing an example of a common key distribution procedure and an authentication procedure using the common key at the time of setup. [Figure 11] It is a flowchart showing an example of a common key distribution procedure and an authentication procedure using the common key when replacing the security unit 210.
Embodiments for Carrying Out the Invention
[0034] Hereinafter, embodiments of the technical idea according to the present disclosure will be described with reference to the drawings. In the following description, the same parts are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed descriptions thereof will not be repeated. <A. Application Example> First, with reference to FIGS. 1 to 3, the scenes to which the technology according to the present embodiment is applied will be described. A system such as the control system 1 in the following description may be composed of one or more devices. Further, the system may cooperate with a part of the device or another device.
[0035] FIG. 1 is a diagram schematically showing the overall configuration of a network system 100 including a control system 1 according to the present embodiment.
[0036] The network system 100 includes a control system 1, a server device 120, a display device 140, and a gateway (GW) 130. These components can be connected to each other via a network 150. The network 150 is also connected to the Internet, which is an external network, via the gateway 130. In one aspect, the network 150 may be realized by Ethernet (registered trademark) or EtherNet / IP (registered trademark), which are common network protocols.
[0037] The control system 1 is connected via a field network 160 to a controlled object 170 including field facilities and equipment, as well as various devices (sensors, actuators, etc.) arranged thereon.
[0038] It is preferable that the field network 160 employs a bus or network that performs periodic communication and guarantees data arrival time. In one aspect, the field network 160 may be realized by EtherCAT (registered trademark) as a bus or network that performs such periodic communication.
[0039] The support device 110 provides a support tool that supports a user in operating the control system 1. The support device 110 may also have a function of installing a program in the control system 1. In one aspect, the support device 110 may be a personal computer, a tablet, a smartphone, or any other information processing device.
[0040] As an example, the support device 110 is detachably connected to the control system 1 via a Universal Serial Bus (USB). In order to ensure security of the communication, a communication protocol for user authentication may be adopted for the USB communication. As another example, the support device 110 may communicate with the control system 1 via a network 150.
[0041] As an example, the server device 120 is a database system, a manufacturing execution system (MES), etc. The manufacturing execution system acquires information from the manufacturing device or facility to be controlled, monitors and manages the entire production, and can handle, for example, order information, quality information, shipping information, and other information related to production. As another example, the server device 120 may be a device that provides information system services (processing for acquiring various information from the controlled object and performing macro or micro analysis, etc.).
[0042] Upon receiving an operation from a user, the display device 140 outputs commands and the like corresponding to the user operation to the control system 1, and also graphically displays the results of calculations and the like in the control system 1. In one aspect, the display device 140 may include any output device such as a liquid crystal display or an organic EL (Electro-Luminescence) display. The display device 140 may also include any input device such as a touch panel or a switch.
[0043] The gateway 130 performs protocol conversion between the network 150 and an external network (the Internet) and also functions as a firewall.
[0044] In the configuration shown in FIG. 1, the control system 1 may include, as an example, a control unit 200 and a security unit 210 (see FIG. 4). The control unit 200 may be a PLC (programmable controller) or the like, and controls a control target by executing a control program. The security unit 210 stores settings related to security of the control system 1, more specifically, the control unit 200. The security settings include settings for preventing unintended copying of the control program, i.e., unauthorized copying. The security unit 210 can protect information assets in the control unit 200 by monitoring communication between the control system 1 and other devices (devices on the network 150 or devices on the Internet). The security unit 210 provides a secure communication function to the control system 1, and therefore can also be said to be a communication unit.
[0045] The security unit 210 is configured to be detachable from the control unit 200. Therefore, when the security unit 210 breaks down, the user can separate the broken security unit 210 from the control unit 200 and connect a new security unit 210 to the control unit 200. However, if a malicious person connects the security unit 210 to the control unit 200, there is a possibility that information assets in the control unit 200 may be stolen. Therefore, the control unit 200 according to this embodiment authenticates the security unit 210 using a common key. The control unit 200 verifies the legitimacy of the security unit 210 itself by authentication using the common key, and then starts communication with the security unit 210. In this way, the control unit 200 according to this embodiment can protect information assets in the control unit 200 even if a malicious person connects the security unit 210 to the control unit 200.
[0046] Fig. 2 is a diagram showing an example of a problem that may occur when replacing security unit 210. In the example shown in Fig. 2, security unit 210A is replaced with security unit 210B. Security unit 210A is a legitimate security unit and stores a valid ACL (Access Control List) table. Security unit 210B is an illegitimate security unit prepared by a malicious person and stores an empty ACL table.
[0047] When an unauthorized security unit 210B is connected to the control unit 200, the ACL table of the unauthorized security unit 210B is empty, and therefore the security unit 210B permits all accesses to the control unit 200 from the network 150. This allows a malicious person to freely access the information asset 250 in the control unit 200 via the network 150. In order to prevent such leakage of the information asset 250, it is desirable for the control unit 200 to authenticate the security unit 210 connected to the control unit 200 before starting transmission and reception of data.
[0048] 3 is a diagram showing an example of a method for authenticating the security unit 210 by the control unit 200. The control unit 200 according to this embodiment authenticates the security unit 210 by using a common key. In common key authentication, the method for distributing the common key is important. The common key is distributed mainly at two times: when the control system 1 is set up and when the security unit 210 is replaced.
[0049] First, a procedure for distributing the common key at the first timing (when the control system 1 is set up) will be described. When the control system 1 is set up, the user distributes the common key 390 to the control unit 200 and the security unit 210 using the support device 110, for example. The support device 110 judges whether or not the user who operates the support device 110 has the authority to distribute the common key 390 by any authentication means such as password authentication or biometric authentication. The support device 110 executes the distribution process of the common key 390 only when it is judged that the user who operates the support device 110 has the authority to distribute the common key 390. In one aspect, the authentication process of the user may be performed after accepting a distribution request for the common key 390. In another aspect, the authentication process of the user may be performed before accepting a distribution request for the common key 390.
[0050] The support device 110 may distribute the common key 390 to the control unit 200 and the security unit 210 by any communication means. In one aspect, the support device 110 may distribute the common key 390 to the control unit 200 and the security unit 210 via a USB interface or the like. In another aspect, the support device 110 may distribute the common key 390 to the control unit 200 and the security unit 210 via the network 150. The support device 110 may also distribute the common key to each of the multiple control systems 1 (the multiple control units 200 and the security unit 210) via the network 150. Note that the common keys distributed to each control system 1 are different common keys.
[0051] After the control system 1 is started, the control unit 200 and the security unit 210 execute mutual authentication using the distributed common key 390. The control unit 200 starts communication with the security unit 210 based on the success of the authentication. In one aspect, the control unit 200 may execute authentication processing using the common key 390 every time communication is performed. In another aspect, the control unit 200 may execute authentication processing using the common key 390 when the control unit 200 detects attachment or detachment of the security unit 210.
[0052] As described above, when setting up the control system 1, a user who has the authority to generate the common key 390 distributes the common key 390 to the control unit 200 and the security unit 210 using the support device 110. As a result, the control unit 200 can start operation in a state where it is connected to the security unit 210 whose reliability has been verified.
[0053] Next, a procedure for distributing the common key at the second timing (when replacing the security unit 210) will be described. In a factory or the like, when a unit included in the control system 1 fails, it is required to be able to easily replace the failed unit without using tools. The control unit 200 according to this embodiment has a common key generation function described below in order to achieve both ease of replacing a unit connected to the control unit 200 and security.
[0054] Assume that the security unit 210 is separated from the control unit 200, and a new security unit 210 is connected to the control unit 200. In this case, the user may input a common key generation command to a touch panel or the like of the display device 140, for example. The display device 140 transmits the common key generation command to the control unit 200. In a certain aspect, the user may use any information processing device, such as the support device 110, instead of the display device 140.
[0055] The control unit 200 determines whether a user who operates the display device 140 has the authority to distribute the common key 390 by any authentication means such as password authentication or biometric authentication. As an example, the user can input a password, biometric information, or the like from the display device 140 or the like. The control unit 200 generates a new common key 390 using the common key generation program 380 only when it determines that the user who operates the display device 140 has the authority to distribute the common key 390 (such as when the variable 370 representing the user's authority is TRUE). Note that the common key generation program 380 may be realized as hardware.
[0056] In a certain aspect, the user authentication process may be performed after receiving the common key generation command. In another aspect, the user authentication process may be performed before receiving the common key generation command. After generating the new common key 390, the control unit 200 transmits the new common key 390 to the security unit 210 via the bus. The control unit 200 authenticates the new security unit 210 using the distributed new common key 390.
[0057] As described above, at either the first timing or the second timing, the user having the authority to distribute the common key 390 distributes the common key 390 to both the control unit 200 and the security unit 210. As a result, the control unit 200 and the security unit 210 can transmit and receive data only after the authentication using the common key 390 is completed. In other words, the security unit 210 can access the data (information asset 250) in the control unit 200 only after it is confirmed that the security unit 210 has the common key 390. As a result, the control unit 200 can prevent information leakage of the information asset 250.
[0058] <B. Hardware Configuration> Next, the hardware configuration of the main devices or systems (control system 1, control unit 200, security unit 210, and support device 110) according to the present embodiment will be described with reference to FIGS.
[0059] (a. Appearance of control system 1) 4 is an external view showing an example of the configuration of a control system 1 according to the present embodiment. The control system 1 includes a control unit 200, a security unit 210, a safety unit 220, one or more functional units 230, and a power supply unit 240.
[0060] The control unit 200 and the security unit 210 are connected to each other via a PCI Express bus or the like. In addition, the control unit 200, the safety unit 220, the one or more functional units 230, and the power supply unit 240 are connected to each other via an internal bus.
[0061] The control unit 200 executes a control program to control the controlled object. The control program includes programs such as IO refresh and control arithmetic processing that exchange signals with the controlled object equipment and devices, and various devices (sensors, actuators, etc.) arranged thereon. Specifically, the IO refresh outputs a command value calculated in the control unit 200 to the controlled object, or collects input values from the controlled object. The control arithmetic processing calculates, for example, a command value or a control amount based on the input value collected by the IO refresh. A control program with such functions is also an example of a "user program" that includes a program created by a user or a development company according to the required specifications of the controlled object.
[0062] The security unit 210 sets the security of the control system 1, and more particularly, of the control unit 200. The security settings (ACL table) include settings for preventing unintentional copying, that is, unauthorized copying, of the control program.
[0063] The safety unit 220 executes control calculations for implementing safety functions for control targets, independent of the control unit 200. The functional unit 230 provides various functions for implementing control of various control targets by the control system 1.
[0064] The functional units 230 may typically include an I / O unit, a safety I / O unit, a communication unit, a motion controller unit, a temperature adjustment unit, a pulse counter unit, etc. Examples of the I / O units include a digital input (DI) unit, a digital output (DO) unit, an analog output (AI) unit, an analog output (AO) unit, a pulse catch input unit, and a composite unit that combines multiple types. The safety I / O unit is responsible for I / O processing related to safety control. The power supply unit 240 supplies power of a predetermined voltage to each unit that constitutes the control system 1.
[0065] (b. Hardware Configuration of Control Unit 200) Next, a hardware configuration example of the control unit 200 included in the control system 1 according to the present embodiment will be described.
[0066] Fig. 5 is a schematic diagram showing an example of a hardware configuration of a control unit 200 constituting a control system 1 according to the present embodiment. Referring to Fig. 5, the control unit 200 includes, as main components, a processor 501 such as a CPU (Central Processing Unit) or a GPU (Graphical Processing Unit), a chipset 502, a secondary storage device 503, a main storage device 504, a communication controller 505, a USB controller 514, a memory card interface 513, network controllers 510, 511, 512, an internal bus controller 509, an indicator 506, and a switch interface 507.
[0067] The processor 501 reads out various programs stored in the secondary storage device 503, and deploys and executes the programs in the main storage device 504 to realize various processes including control calculations and service processes. The chipset 502 mediates data exchange between the processor 501 and each component to realize the processes of the control unit 200 as a whole.
[0068] The main memory device 504 includes a volatile memory device such as a dynamic random access memory (DRAM) or a static random access memory (SRAM). At least a part of the volatile memory device constitutes a volatile memory area 525 for storing a decrypted control program 526.
[0069] The secondary storage device 503 typically includes a non-volatile storage device such as a hard disk drive (HDD) or a solid state drive (SSD), a read only memory (ROM), an erasable programmable read only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc. At least a part of these non-volatile storage devices constitutes a non-volatile storage area 523 for storing the encrypted control program 524.
[0070] The secondary storage device 503 further stores a system program 520 including an OS (Operating System), a service program 521, a common key generation program 380, etc. The system program 520 provides a program execution environment for user programs such as the decrypted control program 526 and the service program 521 to operate. The common key generation program 380 generates a common key to be distributed to devices connected to the control unit 200.
[0071] Upon accepting (or receiving) the input of a common key generation command, processor 501 determines whether or not the user who input (or transmitted) the common key generation command has the authority to generate a common key, using any authentication means such as password authentication or biometric authentication. Processor 501 generates a new common key using common key generation program 380 only when it is determined that the user who input (or transmitted) the common key generation command has the authority to generate a common key. In one aspect, the user authentication process may be performed after accepting the common key generation command. In another aspect, the user authentication process may be performed before accepting the common key generation command.
[0072] The processor 501 stores the generated common key in the secondary storage device 503. The processor 501 also transmits the generated common key to the security unit 210 via the bus 530. The processor 501 also uses the common key during mutual authentication with the security unit 210. In a certain aspect, the control unit 200 may distribute the common key to any device connected to the control unit 200, such as the safety unit 220 and the functional unit 230, in addition to the security unit 210. The processor 501 also stores the received common key in the secondary storage device 503 when it receives the common key from the support device 110 or the like.
[0073] The communication controller 505 transmits and receives data to and from the security unit 210 via a bus 530. The communication controller 505 can be realized by, for example, a communication chip compatible with a bus such as PCI Express.
[0074] The indicator 506 notifies the operating state, etc. of the control unit 200, and is composed of one or more LEDs (Light Emitting Diodes) etc. arranged on the surface of the unit. The switch interface 507 is, for example, connected to a DIP switch 508, and outputs an ON or OFF signal of the DIP switch 508 to the processor 501.
[0075] The internal bus controller 509 transmits and receives data via an internal bus between the safety unit 220 and one or more functional units 230 constituting the control system 1. For this internal bus, a manufacturer-specific communication protocol may be used, or a communication protocol that is the same as or conforms to any industrial network protocol may be used.
[0076] Each of the network controllers 510, 511, and 512 is responsible for transmitting and receiving data to and from any device via the network. The network controllers 510, 511, and 512 may employ industrial network protocols such as EtherCAT (registered trademark), EtherNet / IP (registered trademark), DeviceNet (registered trademark), and CompoNet (registered trademark).
[0077] Memory card interface 513 is configured to allow memory card 540 such as an SD card to be detachably attached, and allows writing of user programs or data such as various settings to memory card 540, or reading of the programs or data such as various settings from memory card 540. USB controller 514 can transmit and receive data to and from any information processing device including support device 110 via a USB connection. In one aspect, control unit 200 may include, in addition to memory card interface 513, an external device interface to which any storage medium can be connected.
[0078] FIG. 5 shows an example of a configuration in which the necessary functions are provided by the processor 501 executing a program, but some or all of these provided functions may be implemented using a dedicated hardware circuit (for example, an ASIC (Application Specific Integrated Circuit) or an FPGA (Field-Programmable Gate Array)). Alternatively, the main part of the control unit 200 may be realized using hardware that conforms to a general-purpose architecture (for example, an industrial PC based on a general-purpose PC). In this case, virtualization technology may be used to run multiple OSs with different uses in parallel, and necessary applications may be executed on each OS.
[0079] (c. Hardware Configuration of Security Unit 210) Next, an example of a hardware configuration of security unit 210 included in control system 1 according to the present embodiment will be described.
[0080] 6 is a schematic diagram showing an example of a hardware configuration of security unit 210 constituting control system 1 according to the present embodiment. Security unit 210 includes, as main components, a processor 601 such as a CPU or GPU, a chipset 604, a main memory 606 including a volatile memory area, a secondary memory 608 including a non-volatile memory area 633, a communication controller 620, a USB controller 612, a memory card interface 614, network controllers 616, 618, and an indicator 624. Main memory 606 and secondary memory 608 can be configured in the same manner as main memory 504 and secondary memory 503 of control unit 200, respectively, and therefore description thereof will not be repeated.
[0081] The processor 601 realizes various functions by reading out various programs stored in the secondary storage device 608, and expanding and executing the programs in the main storage device 606. The processor 601 also stores a common key received from the control unit 200 or the support device 110, etc., in the secondary storage device 608. Furthermore, the processor 601 uses the common key during mutual authentication with the control unit 200.
[0082] The chipset 604 mediates data exchange between the processor 601 and each component, thereby realizing processing of the security unit 210 as a whole. The chipset 604 includes various chips mounted on a board. One of the chips mounted on the board is a secure chip 605 that stores a key 690. The key 690 is used by an encryption processing program 631 and a decryption processing program 632.
[0083] The secondary storage device 608 stores a system program 635 including an OS, as well as various processing programs that operate on the execution environment provided by the system program 635. The various processing programs include a simplified decryption processing program 630 that decrypts a simplified encrypted control program, an encryption processing program 631 that encrypts a control program with a key 690, and a decryption processing program 632 that decrypts an encrypted control program.
[0084] The communication controller 620 is responsible for exchanging data with the control unit 200. Like the communication controller 505 of the control unit 200, the communication controller 620 can be realized by, for example, a communication chip compatible with PCI Express or the like applied to the bus 530.
[0085] The USB controller 612 is responsible for transferring data to and from any information processing device, including the support device 110, via a USB connection.
[0086] The memory card interface 614 is configured to allow a memory card 640 such as an SD card to be detachably attached, and allows programs or data such as various settings to be written to the memory card 640, or allows programs or data such as various settings to be read from the memory card 640. In addition to the memory card interface 614, the security unit 210 may also be provided with an external device interface to which any storage medium can be connected.
[0087] Each of the network controllers 616 and 618 is responsible for transmitting data to and from any device via the network. The network controllers 616 and 618 may employ a general-purpose network protocol such as Ethernet.
[0088] The indicator 624 notifies the operating state of the security unit 210 and is composed of one or more LEDs or the like arranged on the surface of the unit.
[0089] 6 shows an example of a configuration in which the processor 601 executes a program to provide necessary functions, but some or all of these provided functions may be implemented using a dedicated hardware circuit (e.g., ASIC or FPGA). Alternatively, the main part of the security unit 210 may be realized using hardware that conforms to a general-purpose architecture (e.g., an industrial PC based on a general-purpose PC). In this case, virtualization technology may be used to run multiple OSs with different uses in parallel, and necessary applications may be run on each OS.
[0090] (d. Hardware Configuration of Support Device 110) Next, a hardware configuration example of the support device 110 that can be connected to the control system 1 according to the present embodiment will be described.
[0091] 7 is a schematic diagram showing an example of a hardware configuration of a support device 110 that can be connected to the control system 1 according to the present embodiment. As an example, the support device 110 can be realized using a device (such as a personal computer or a tablet) that complies with a general-purpose architecture.
[0092] The support device 110 includes a processor 701 such as a CPU or GPU, a main memory device 702, an input section 703, an output section 704, a secondary memory device 705, an optical drive 706, and a communication interface 707. These components are connected via a processor bus 710. The main memory device 702 and the secondary memory device 705 can be configured in the same manner as the main memory device 504 and the secondary memory device 503 of the control unit 200, respectively, and therefore their description will not be repeated.
[0093] The processor 701 reads out programs (for example, an OS 724 and a support program 723) stored in the secondary storage device 705, loads them in the main storage device 702, and executes them to realize various types of processing.
[0094] The secondary storage device 705 stores an OS 724 for realizing basic functions, as well as a support program 723 for providing the functions of the support device 110. The support device 110 (effectively the processor 701) executes the support program 723 to realize the functions of various support tools provided by the support device 110. The support tools provide a development environment for programs in the support device 110.
[0095] The secondary storage device 705 also stores a control program 720 created using a support tool, and a common key generation program 721. The control program 720 may be a source code of a program executed by the control unit 200. The control program 720 may also include an executable file of the program executed by the control unit 200.
[0096] The common key generation program 721 generates a common key to be distributed to the control unit 200 and the security unit 210. Based on receiving the input of the common key generation command, the processor 701 determines whether or not the user who input the common key generation command has the authority to distribute the common key by any authentication means such as password authentication or biometric authentication. The processor 701 generates the common key only when it is determined that the user who input the common key generation command has the authority to distribute the common key. In one aspect, the user authentication process may be performed after receiving the common key generation command. In another aspect, the user authentication process may be performed before receiving the common key generation command. The processor 701 may distribute the common key to the control unit 200 and the security unit 210 by any communication means.
[0097] In addition, in one aspect, the secondary storage device 705 may store an encrypted control program. Furthermore, the secondary storage device 705 may store a key for encrypting the control program 720, and an encryption processing program that executes the encryption processing. Furthermore, the secondary storage device 705 may store a simplified encryption processing program that executes encryption processing that is simpler and faster than the encryption processing program. The processor 701 may generate a simplified encrypted control program by executing the simplified encryption processing program.
[0098] The input unit 703 is composed of a keyboard, a mouse, or the like, and accepts user operations. In one aspect, the input unit 703 may further include a camera, a microphone, and any other device for acquiring biometric information. In another aspect, these devices may be connected to the support device 110 via a communication interface 707. The output unit 704 is composed of a display, various indicators, a printer, and the like, and outputs processing results from the processor 701, etc.
[0099] The support device 110 has an optical drive 706. The optical drive 706 reads a program stored therein from a recording medium 750 (for example, an optical recording medium such as a DVD (Digital Versatile Disc)), and installs the program in a secondary storage device 705 or the like.
[0100] The communication interface 707 can transmit and receive data to and from a control unit 200 or a security unit 210 included in the control system 1 via any communication medium such as USB or Ethernet.
[0101] Support programs 723 or the like executed on the support device 110 may be installed via a computer-readable recording medium 750, but may also be installed in a form downloaded from a server device or the like on a network. Further, the functions provided by the support device 110 according to the present embodiment can be realized by using a part of the modules provided by the OS.
[0102] FIG. 7 shows a configuration example in which functions necessary for the support device 110 are provided by the processor 701 executing a program. However, some or all of these provided functions may be implemented using a dedicated hardware circuit (for example, an ASIC or an FPGA). Further, in the present embodiment, the support device 110 may be removed from the control system 1 during the operation of the control system 1.
[0103] <C. Common key distribution procedure and authentication procedure using the common key> Next, with reference to FIGS. 8 to 11, details of the common key distribution procedure and the authentication procedure using the distributed common key will be described.
[0104] FIG. 8 is a diagram showing an example of the common key distribution procedure and the authentication procedure using the common key at the time of setup. The example shown in FIG. 8 corresponds to the common key 390 distribution process and the authentication process using the common key 390 at the time of setup (first timing) of the control system 1 described with reference to FIG. 3.
[0105] In a first step, support device 110 accepts a request to execute a common key generation command (or a common key distribution command) from a user. In one aspect, support device 110 may accept input of the common key generation command via input unit 703. In another aspect, support device 110 may receive the common key generation command via communication interface 707.
[0106] In a second step, the support device 110 determines whether or not the user who input the common key generation command has the authority to distribute the common key 390 by any authentication means such as password authentication or biometric authentication. In a certain aspect, the authentication process may be performed before accepting the execution request of the common key generation command, or may be performed after accepting the execution request of the common key generation command. In the authentication process, the support device 110 may accept the input of a password, biometric information, or the like via the input unit 703.
[0107] In a third step, the support device 110 generates a common key 390 using the common key generation program 721 based on the success of the authentication process. In a certain aspect, when the common key 390 needs to be installed in many devices during setup, the support device 110 may generate multiple common keys 390. For example, the support device 110 may generate a common key 390A for the control system 1A (the control unit 200A and the security unit 210A) and a common key 390B for the control system 1B (the control unit 200B and the security unit 210B).
[0108] In a fourth step, the support device 110 distributes the generated common key 390 to the control unit 200 and the security unit 210. In one aspect, when the common key 390 needs to be installed in a large number of devices at the time of setup, the support device 110 may distribute the common key 390 to each device at once via the network 150. In another aspect, the support device 110 may distribute the common key 390 to any device such as the safety unit 220 and the functional unit 230 in addition to the security unit 210. In this case, the control unit 200 may use the common key 390 to perform mutual authentication with any device such as the safety unit 220 and the functional unit 230. The control unit 200 may use an individual common key to perform mutual authentication with each unit.
[0109] In a fifth step, the control unit 200 stores the downloaded (distributed) common key 390 in the secondary storage device 503. The security unit 210 stores the downloaded (distributed) common key 390 in the secondary storage device 608.
[0110] In a sixth step, the control unit 200 and the security unit 210 authenticate each other using the common key 390. Based on successful mutual authentication, the control unit 200 allows the security unit 210 to access the information assets in the control unit 200.
[0111] As described above, when setting up the control system 1, a user who has the authority to generate the common key 390 distributes the common key 390 to the control unit 200 and the security unit 210 using the support device 110. As a result, the control unit 200 can start operation in a state where it is connected to the security unit 210 whose reliability has been verified.
[0112] Fig. 9 is a diagram showing an example of a procedure for distributing a common key and a procedure for authentication using the common key when replacing security unit 210. The example shown in Fig. 9 corresponds to the distribution process of a common key and the authentication process using the common key when replacing security unit 210 (second timing) described with reference to Fig. 3. In the example shown in Fig. 9, security unit 210A is replaced with security unit 210B due to a malfunction or the like.
[0113] In a first step, the security unit 210A executes a backup process of the settings of the security unit 210A. In one aspect, the security unit 210A may execute the backup process based on receiving a request for the backup process from the control unit 200, the support device 110, the display device 140, or the like. In another aspect, the security unit 210A may execute the backup process based on pressing a switch or the like provided on the housing.
[0114] As an example of the backup process, the security unit 210A may transmit the settings of the security unit 210A to the control unit 200 via the bus 530. As another example of the backup process, the security unit 210A may save the settings of the security unit 210A in the memory card 640 via the memory card interface 614. In one aspect, the security unit 210A may save the settings of the security unit 210A in any storage medium such as an SD card or a USB memory.
[0115] In a second step, the user removes the security unit 210A from the control unit 200. Next, the user connects the security unit 210B to the control unit 200. At this point, the security unit 210B does not have the common key 390. Therefore, the control unit 200 does not allow the security unit 210B to access the information assets in the control unit 200.
[0116] In a third step, the user transmits a symmetric key generation command to the control unit 200 via any information processing device such as the display device 140 or the support device 110 to generate a new symmetric key 990 .
[0117] In a fourth step, the control unit 200 determines, by any authentication means such as password authentication or biometric authentication, whether or not the user who inputted the common key generation command has the authority to distribute a new common key 990. In one aspect, the authentication process may be executed before accepting the execution request of the common key generation command, or may be executed after accepting the execution request of the common key generation command. In another aspect, the control unit 200 may accept the input of a password, biometric information, or the like, via any information processing device such as the display device 140 or the support device 110 in the authentication process.
[0118] In a fifth step, the control unit 200 generates a new common key 990 using the common key generation program 380 based on the success of the authentication process.
[0119] In a sixth step, the control unit 200 stores the new common key 990 in the secondary storage device 503. The control unit 200 also transmits the new common key 990 via the bus 530 to the security unit 210B.
[0120] In a seventh step, the control unit 200 and the security unit 210 authenticate each other using the common key 390. Based on successful mutual authentication, the control unit 200 allows the security unit 210 to access the information assets in the control unit 200.
[0121] In an eighth step, security unit 210B takes over the settings of security unit 210A. If the settings of security unit 210A have been transmitted to control unit 200, control unit 200 transmits the settings of security unit 210A to security unit 210B via bus 530. Security unit 210B reads and uses the settings received from control unit 200.
[0122] Furthermore, when the settings of security unit 210A are stored in a storage medium such as memory card 640, security unit 210B reads and uses the settings stored in memory card 640 via memory card interface 614. In one aspect, security unit 210B may read and use the settings from any storage medium such as an SD card or USB memory.
[0123] As described above, when replacing the security unit 210, the control unit 200 generates a new common key 990 based on a common key generation command by a user who has the authority to generate the common key 990. Furthermore, the control unit 200 distributes the new common key 990 to the security unit 210B via the highly secure bus 530. Only the control unit 200 and the security unit 210 are connected to the bus 530. Therefore, it is difficult for a malicious person to steal the common key 990 during the distribution of the new common key 990 via the bus 530. In this way, the control unit 200 generates and distributes the common key securely, thereby suppressing the replacement of the security unit 210 by an unauthorized user and enabling the easy and secure replacement of the security unit 210.
[0124] Fig. 10 is a flowchart showing an example of a procedure for distributing a common key at the time of setup and a procedure for authentication using the common key. The process shown in Fig. 10 is executed by the support device 110. In one aspect, the processor 701 may load a program for performing the process of Fig. 10 from the secondary storage device 705 to the main storage device 702 and execute the program. In another aspect, a part or all of the process may be realized as a combination of circuit elements configured to perform the process.
[0125] In step S1010, processor 701 repeatedly executes the processes from step S1020 onwards until a termination request is received. In step S1020, processor 701 determines whether or not a common key distribution request (common key generation request) has been accepted. In one aspect, processor 701 may accept the common key distribution request via either input unit 703 or communication interface 707. If processor 701 determines that a common key distribution request has been accepted (YES in step S1020), it transfers control to step S1030. If not (NO in step S1020), processor 701 transfers control to step S1010.
[0126] In step S1030, the processor 701 performs authentication processing for the user who inputs the common key distribution request. In one aspect, the processor 701 may perform the processing of step S1030 before the processing of step S1020. In another aspect, the processor 701 may perform the authentication processing using any means such as a password or biometric information.
[0127] In step S1040, the processor 701 determines whether or not the user who input the common key distribution request has the authority to distribute the common key based on the result of the authentication process. If the processor 701 determines that the user who input the common key distribution request has the authority to distribute the common key (YES in step S1040), the processor 701 transfers control to step S1050. If not (NO in step S1040), the processor 701 transfers control to step S1060.
[0128] In step S1050, processor 701 generates a common key and distributes the common key to control unit 200 and security unit 210. Control unit 200 and security unit 210 execute mutual authentication using the distributed common key. In step S1060, processor 701 rejects the generation of the common key (does not generate the common key). More specifically, processor 701 does not execute the common key generation process and transmits a message or the like notifying display device 140 that the common key will not be created.
[0129] In step S1070, processor 701 determines whether or not an end request has been made. If processor 701 determines that an end request has been made (YES in step S1070), it ends the process. If not (NO in step S1070), processor 701 transfers control to step S1010.
[0130] Fig. 11 is a flowchart showing an example of a procedure for distributing a common key and a procedure for authentication using the common key when replacing the security unit 210. The process shown in Fig. 11 is executed by the control unit 200. In one aspect, the processor 501 may load a program for performing the process of Fig. 10 from the secondary storage device 503 to the main storage device 504 and execute the program. In another aspect, some or all of the process may be realized as a combination of circuit elements configured to perform the process.
[0131] In step S1110, processor 501 repeatedly executes the processes from step S1120 onwards until an end request is received. In step S1120, processor 501 determines whether or not a shared key generation request has been accepted via display device 140, support device 110, etc. If processor 501 determines that a shared key generation request has been accepted (YES in step S1120), it transfers control to step S1130. If not (NO in step S1120), processor 701 transfers control to step S1110.
[0132] In step S1130, processor 501 performs authentication processing for the user who inputs the common key generation request. In one aspect, processor 501 may perform the processing of step S1130 before the processing of step S1120. In another aspect, processor 501 may perform authentication processing using any means such as a password or biometric information via display device 140, support device 110, or the like.
[0133] In step S1140, processor 501 determines whether or not the user who input the shared key generation request has the authority to generate a shared key based on the result of the authentication process. If processor 501 determines that the user who input the shared key generation request has the authority to generate a shared key (YES in step S1140), it transfers control to step S1150. If not (NO in step S1140), processor 501 transfers control to step S1170.
[0134] In step S1150, the processor 501 generates a common key. In step S1160, the processor 501 stores the generated common key in the secondary storage device 503, and distributes the common key to the security unit 210 via the bus 530. The control unit 200 and the security unit 210 perform mutual authentication using the common key. In step S1170, the processor 501 rejects the generation of the common key (does not generate the common key).
[0135] In step S1180, the processor 501 determines whether there is an end request. If the processor 501 determines that there is an end request (YES in step S1180), the process ends. Otherwise (NO in step S1180), the processor 501 transfers control to step S1110.
[0136] As described above, in the technology according to the present embodiment, when setting up the control system 1, a user having the authority to generate a common key distributes the common key to the control unit 200 and the security unit 210 using the support device 110. As a result, the control unit 200 can start operating while being connected to the security unit 210 whose reliability has been verified.
[0137] Also, when replacing the security unit 210, the control unit 200 generates a new common key based on a common key generation command from a user having the authority to generate a new common key. Further, the control unit 200 distributes the new common key to the security unit 210 after replacement via the highly secure bus 530. By doing so, the control unit 200 suppresses the replacement of the security unit 210 by an unauthorized user and enables an easy and secure replacement of the security unit 210.
[0138] <D. Supplementary Note> As described above, the present embodiment includes the following disclosure. (Configuration 1) A control unit (200) and A communication unit (210), The control unit (200) and the communication unit (210) are detachably configured, The control unit (200) Authenticates the communication unit (210) connected to the control unit (200) using a common key, The control system (1) permits the communication unit (210) to access data in the control unit (200) based on the result of authentication that confirms that the communication unit (210) has the common key. (Configuration 2) The system further comprises a device (110) for distributing the common key, The device (110) comprises: The above common key distribution command is received, A control system (1) of configuration 1, which transmits the common key to the control unit (200) and the communication unit (210) based on the successful authentication process of the user who input the common key distribution command. (Configuration 3) When the communication unit (210) is replaced with a new communication unit (210), the control unit (200) generates a new common key and transmits the new common key to the new communication unit (210); Transmitting the new common key to the new communication unit (210) receiving an input of a command to generate the new common key; A control system (1) of configuration 1 or 2, comprising: transmitting the generated new common key to the communication unit (210) based on the successful authentication process of the user who input the common key generation command. (Configuration 4) The control unit (200) connected to the new communication unit (210) via a bus (530); A control system (1) of configuration 3 that distributes the common key to the new communication unit (210) via the bus (530). (Configuration 5) The control unit (200) receiving settings for the communication unit (210) from the communication unit (210) via the bus (530) when replacing the communication unit (210); A control system (1) of configuration 4, which transmits settings of the communication unit (210) to the new communication unit (210) via the bus (530) after the common key is distributed. (Configuration 6) When the communication unit (210) is replaced with a new communication unit (210), the communication unit (210) stores settings of the communication unit (210) in a removable storage medium; The control system (1) of any of configurations 3 to 5, wherein the new communication unit (210) reads settings of the communication unit (210) from the removable storage medium after acquiring the new common key. (Configuration 7) A control method for a control system (1) in which a control unit (200) and a communication unit (210) are configured to be detachable, comprising the steps of: authenticating the communication unit (210) connected to the control unit (200) using a common key; and based on the result of the authentication confirming that the communication unit (210) has the common key, permitting the communication unit (210) to access data within the control unit (200). (Configuration 8) receiving a command to distribute the common key; The control method of configuration 7 further includes a step of transmitting the common key to the control unit (200) and the communication unit (210) based on the successful authentication process of the user who input the distribution command of the common key. (Configuration 9) The method further includes the step of generating a new common key based on the fact that the communication unit (210) is replaced with a new communication unit (210), and transmitting the new common key to the new communication unit (210); The step of transmitting the new common key to the new communication unit (210) comprises: receiving an input of a command to generate the new common key; and transmitting the generated new common key to the communication unit (210) based on the successful authentication process of the user who input the common key generation command. (Configuration 10) The control method according to configuration 9, wherein the new common key is distributed from the control unit (200) to the new communication unit (210) via a bus (530). (Configuration 11) transmitting settings of the communication unit (210) from the communication unit (210) to the control unit (200) via the bus (530) when replacing the communication unit (210); 11. The control method of claim 10, further comprising the step of transmitting settings of the communication unit (210) from the control unit (200) to the new communication unit (210) via the bus (530) after the common key has been distributed. (Configuration 12) When replacing the communication unit with a new one, storing the settings of the communication unit in a removable storage medium; 12. The control method according to any one of configurations 9 to 11, further comprising the step of reading settings of the communication unit (210) from the removable storage medium into the new communication unit (210) after obtaining the new common key.
[0139] The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present disclosure is indicated by the claims, not by the above description, and is intended to include all modifications within the meaning and scope of the claims. In addition, the disclosure contents described in the embodiments and each modified example are intended to be implemented, as far as possible, either alone or in combination. [Explanation of symbols]
[0140] 1 Control system, 100 Network system, 110 Support device, 120 Server device, 130 Gateway, 140 Display device, 150 Network, 160 Field network, 170 Control target, 200 Control unit, 210 Security unit, 220 Safety unit, 230 Functional unit, 240 Power supply unit, 250 Information assets, 370 Variables, 380,721 Common key generation program, 390,990 Common key, 501,601,701 Processor, 502,604 Chip set, 503,608,705 Secondary storage device, 504,606,702 Main storage device, 505,620 Communication controller, 506,624 Indicator, 507 Switch interface, 508 DIP switch, 509 Internal bus controller, 510,511,512,616,618 Network controller, 513,614 memory card interface, 514,612 USB controller, 520,635 system program, 521 service program, 523,633 non-volatile storage area, 524 encrypted control program, 525 volatile storage area, 526 decrypted control program, 530 bus, 540,640 memory card, 605 secure chip, 630 simple decryption processing program, 631 encryption processing program, 632 decryption processing program, 690 key, 703 input unit, 704 output unit, 706 optical drive, 707 communication interface, 710 processor bus, 720 control program, 723 support program, 724 OS, 750 recording medium.
Claims
1. A control unit; a communication unit, The control unit and the communication unit are configured to be detachable, The control unit authenticating the communication unit connected to the control unit using a common key; A control system that permits the communication unit to access data within the control unit based on confirmation that the communication unit has the common key as a result of the authentication.
2. a device for distributing the common key; The apparatus comprises: receiving a command to distribute the common key; 2. The control system according to claim 1, further comprising: a control unit that transmits the common key to the control unit and the communication unit on the basis that an authentication process for a user who inputs the command to distribute the common key has been successful.
3. when the communication unit is replaced with a new communication unit, the control unit generates a new common key and transmits the new common key to the new communication unit; transmitting the new common key to the new communication unit; receiving an input of a command to generate a new common key; The control system according to claim 1 or 2, further comprising: transmitting the generated new common key to the new communication unit based on successful authentication processing of the user who input the common key generation command.
4. The control unit connected to the new communication unit via a bus; 4. The control system of claim 3, further comprising: distributing the common key to the new communication unit via the bus.
5. The control unit receiving a setting of the communication unit from the communication unit via the bus when replacing the communication unit with a new communication unit; 5. The control system according to claim 4, further comprising: a setting for said communication unit being transmitted to said new communication unit via said bus after said common key is distributed.
6. When the communication unit is replaced with the new communication unit, the communication unit stores a setting of the communication unit in a removable storage medium; 6. The control system according to claim 3, wherein the new communication unit reads settings of the communication unit from the removable storage medium after acquiring the new common key.
7. A control method for a control system in which a control unit and a communication unit are configured to be detachable, comprising the steps of: authenticating the communication unit connected to the control unit using a common key; and permitting the communication unit to access data within the control unit based on confirmation that the communication unit has the common key as a result of the authentication.
8. A step of receiving a command to distribute the common key before authenticating the communication unit; 8. The control method according to claim 7, further comprising the step of transmitting the common key to the control unit and the communication unit based on a successful authentication process of the user who input the common key distribution command.
9. The method further includes the step of generating a new common key based on the fact that the communication unit is replaced with a new communication unit after the authentication of the communication unit, and transmitting the new common key to the new communication unit; The step of transmitting the new common key to the new communication unit comprises: receiving an input of a command to generate the new common key; 9. The control method according to claim 7, further comprising a step of transmitting the generated new common key to the new communication unit based on a successful authentication process of the user who input the command to generate the common key.
10. 10. The method of claim 9, wherein the new common key is distributed from the control unit to the new communication unit via a bus.
11. transmitting a setting of the communication unit from the communication unit to the control unit via the bus when the communication unit is replaced with a new communication unit; The control method according to claim 10, further comprising the step of: after distribution of the common key, transmitting a setting of the communication unit from the control unit to the new communication unit via the bus.
12. storing settings of the communication unit in a removable storage medium when replacing the communication unit with a new one; The control method according to any one of claims 9 to 11, further comprising the step of: after obtaining the new common key, reading settings of the communication unit from the removable storage medium into the new communication unit.
Citation Information
Patent Citations
Image display system, sub display control device for image display system, image display method, and computer program
JP2007156886A
Control device and control system
JP2019096149A
Safety system and maintenance method
JP2020120367A
Communication control system
JP2020136863A
Control system, security apparatus and method
JP2020166317A
