This application claims the priority benefit of Taiwan application serial no. 112144033, filed on Nov. 15, 2023. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
The disclosure relates to a device, and in particular to a communication system, a remote terminal unit, and an authentication method thereof.
In order to prevent the remote terminal unit (RTU) from being attacked by malicious programs or stealing data, how to ensure that the external input/output module is a trusted device is currently an important issue in the field. Although various communication security protocols have been developed in the communications field, effective authentication between devices still cannot be achieved, and whether the connected device is counterfeited and the data is stolen or modified also cannot be effectively verified.
The disclosure provides a communication system, a remote terminal unit, and an authentication method thereof, which can effectively ensure that an external input/output module is a trusted device.
A remote terminal unit of the disclosure includes a processing module. The processing module includes a first processing unit and a first storage unit. The first storage unit is coupled to the first processing unit. In response to a trigger unit being enabled, the first processing unit operates in a provision mode to allow an input/output module and the processing module to establish trust. In response to the trigger unit being disabled, the first processing unit operates in a running mode to prohibit another input/output module that has not yet established trust from connecting with the processing module.
An authentication method of the disclosure is adapted to a remote terminal unit. The remote terminal unit includes a processing module. The authentication method includes the following steps. In response to a trigger unit being enabled, a first processing unit of the processing module operates in a provision mode to allow an input/output module and the processing module to establish trust. In response to the trigger unit being disabled, the first processing unit of the processing module operates in a running mode to prohibit another input/output module that has not yet established trust from connecting with the processing module.
A communication system of the disclosure includes a remote terminal unit and an extension device. The remote terminal unit includes a processing module. The extension device includes an input/output module and is coupled to the remote terminal unit. In response to a trigger unit of the processing module being enabled, the processing module operates in a provision mode to allow the input/output module and the processing module to establish trust. In response to the trigger unit being disabled, the processing module operates in a running mode to prohibit another input/output module that has not yet established trust from connecting with the processing module.
Based on the above, the communication system, the remote terminal unit, and the authentication method thereof can effectively establish trust with the input/output module.
In order for the features and advantages of the disclosure to be more comprehensible, the following specific embodiments are described in detail in conjunction with the drawings.
Reference will now be made in detail to the exemplary embodiments of the disclosure, examples of which are illustrated in the drawings. Wherever possible, the same reference numerals are used in the drawings and the description to refer to the same or similar parts.
In the embodiment, the processing module 111 may be used to manage, control, or monitor the input/output modules 112_1 to 112_M and 122_1 to 122_N and is connected to the server 130 through a wired or wireless manner. The processing module 111 may collect information respectively provided by the input/output modules 112_1 to 112_M and 122_1 to 122_N or send relevant information to the input/output modules 112_1 to 112_M and 122_1 to 122_N.
In the embodiment, the processing module 111 may include relevant processing and computing circuits including, for example, a central processing unit (CPU), but the disclosure is not limited thereto. The input/output modules 112_1 to 112_M and 122_1 to 122_N may respectively be different types of sensors, Internet of Things (IoT) devices, valve units, control units, and similar input/output units, but the disclosure is not limited thereto. In the embodiment, the input/output modules 112_1 to 112_M and 122_1 to 122_N may have a hot swapping function to be selectively installed into the remote terminal unit 110 or the extension device 120 when the remote terminal unit 110 (that is, the processing module 111) is in a running mode according to different usage states or selectively removed from the remote terminal unit 110 or the extension device 120.
Specifically, assuming that the input/output modules 112_1 to 112_M and 122_1 to 122_N and the processing module 111 have not yet established trust, when any one of the input/output modules 112_1 to 112_M and 122_1 to 122_N is temporarily installed into the remote terminal unit 110 or the extension device 120, the processing module 111 may establish trust with the one. Moreover, after a certain input/output module has established trust with the processing module 111 of the remote terminal unit 110, when the input/output module is installed into the remote terminal unit 110 or the extension device 120 at any time, the processing module 111 may automatically establish connection with the input/output module. In contrast, when the input/output module that has not established trust with the processing module 111 is installed into the remote terminal unit 110 or the extension device 120, the processing module 111 may effectively and immediately identify to directly reject the connection of the input/output module that has not established trust with the processing module 111.
In the embodiment, the first processing unit 211 and the second processing unit 221 may respectively be, for example, a central processing unit (CPU), a graphics processing unit (GPU), other programmable general-purpose or specific-purpose microprocessors, digital signal processors (DSPs), programmable controllers, application specific integrated circuits (ASICs), programmable logic devices (PLDs), other similar processing units, or a combination of the units. In the embodiment, the first storage unit 212 and the second storage unit 222 may include, for example, flash memories, non-volatile random access memories (NVRAMs).
In the embodiment, the trigger unit 213 is a physical button and is disposed in the processing module 210. In this regard, the remote terminal unit 110 shown in
Specifically, when the input/output module 220 is installed into the remote terminal unit 110 or the extension device 120 as shown in
For example, the first processing unit 211 may adopt a custom LLDP type, such as an LLDP type 127, to configure relevant parameters in the notification signal. In other words, the data format of the notification signal may comply with the LLDP type 127, wherein the data format may include a destination address (DA), a source address (SA), an Ether type, a chassis identification (ID), a port ID, time to live (TTL), optional type-length-value (TLV), and end of LLDP data unit (DU) TLV. In this regard, the chassis ID, the port ID, the time to live, the optional TLV, and the end of LLDPDU TLV may have variable data lengths, and the first processing unit 211 may encrypt relevant data about the provision mode based on the basic TLV data format into the above data fields. In this way, when the second processing unit 221 of the input/output module 220 receives the notification signal with the data format, the second processing unit 221 may confirm that the first processing unit 211 operates in the provision mode and synchronously executes the provision mode.
In the embodiment, when the processing module 210 has notified the input/output module 220 to enter the provision mode, the processing module 210 and the input/output module 220 may obtain the certificates of each other. In this regard, the processing module 210 and the input/output module 220 may obtain the certificates of each other based on a mutual transport layer security (MTLS) communication protocol to establish trust, but the disclosure is not limited thereto. After the processing module 210 and the input/output module 220 establish trust, a communication connection 401 may be established. In the provision mode, the processing module 210 and the input/output module 220 may trust data transmitted by a handshake between the processing module 210 and the input/output module 220.
It is worth noting that the processing module 210 may also store multiple different input/output module certificates from different input/output modules into the second storage unit 222. Moreover, when the processing module 210 receives a new input/output module certificate sent again by an input/output module that has recorded a certificate, the processing module 210 may copy the new input/output module certificate into the first storage unit 212.
In Step S820, the first processing unit 211 of the processing module 210 may decrypt the second handshake data 424 according to the processing module secret key 411 stored in the first storage unit 212 to obtain the input/output module certificate 422, and verify the input/output module certificate 422 and the input/output module certificate 413 stored in the first storage unit 212 to confirm whether trust has been established with the input/output module 220. The first storage unit 212 of the processing module 210 may store multiple certificates corresponding to different input/output modules, and the first processing unit 211 of the processing module 210 may perform certificate search and verification operations according to the input/output module certificate 422. In this regard, if the input/output module certificate 422 and the input/output module certificate 413 pass the verification, the first processing unit 211 confirms that the input/output module 220 is a trusted device and may establish the communication connection 401. On the contrary, if the input/output module certificate 422 and the input/output module certificate 413 do not pass the verification, the first processing unit 211 prohibits (or rejects) the connection of the input/output module 220 with the processing module 210.
In Step S830, the second processing unit 221 of the input/output module 220 may decrypt the first handshake data 414 according to the input/output module secret key 421 stored in the second storage unit 222 to obtain the processing module certificate 412, and verify the processing module certificate 412 and the processing module certificate 423 stored in the second storage unit 222 to confirm whether trust has been established with the processing module 210. In this regard, if the processing module certificate 412 and the processing module certificate 423 pass the verification, the second processing unit 221 confirms that the processing module 210 is a trusted device and may establish the communication connection 401. In this way, the processing module 210 may communicate with the input/output module 220 with successfully obtained certificates of each other in the previous provision mode and may reject the connection of other input/output modules without successfully obtained certificates of each other.
In summary, the communication system, the remote terminal unit, and the authentication method of the disclosure can determine whether to establish trust with the hot swapped input/output module through operating the trigger unit with high security and can effectively ensure that the input/output module communicating with the processing module is a trusted device.
Finally, it should be noted that the above embodiments are only used to illustrate, but not to limit, the technical solutions of the disclosure. Although the disclosure has been described in detail with reference to the above embodiments, persons skilled in the art should understand that the technical solutions described in the above embodiments may still be modified or some or all of the technical features thereof may be equivalently replaced. However, the modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
112144033 | Nov 2023 | TW | national |