Access authentication and access control methods for industrial internet devices
By establishing a pre-access communication state during the industrial internet device access process, granting permissions at each level and parsing business messages, the problem of continuous and reliable control over communication behavior after access is solved, thereby improving the security and controllability of industrial internet devices.
Patent Information
- Application Number
- CN202611477153.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-22
- Publication Date
- 2026-11-17
AI Technical Summary
Existing technologies lack continuous and reliable control over communication behavior after industrial internet devices are authenticated, making it difficult to identify unauthorized communication and abnormal permission extension behaviors, which affects the security and stability of industrial control systems.
By establishing a pre-access communication state after an access request, communication permission levels are opened up step by step. At each level, the service message type, direction, and protocol are parsed. The matching result determines whether to open the next permission level. If the parsing does not match, it falls back to the previous state. The hierarchical force identifier is used to confirm the progressive continuity of permissions.
It enables continuous verification and dynamic constraints on the access of industrial internet devices, reduces the risk of unauthorized access, improves the pre-access authentication and the fineness of access control, and enhances the operational security and controllability of industrial sites.
Smart Images

Figure CN123122976A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of secure access authentication and access control technology for industrial internet, specifically to a method for access authentication and access control of industrial internet devices. Background Technology
[0002] In existing technologies, the connectivity between industrial internet devices, edge gateways, IoT terminals, and production control resources is becoming increasingly complex. Device access processes typically require consideration of multiple security requirements, including identity authentication, access point identification, protocol adaptation, target resource access, and communication behavior constraints. Chinese patent publication CN114268508A discloses a method, apparatus, device, and medium for secure IoT device access. This method uses an edge gateway to adapt the target device's security policy from a pre-maintained security policy list based on security requirement data. It then generates authentication data based on device information and sends the target policy and authentication data to the cloud platform and the target device for security authentication. Upon successful authentication, the target device is allowed to access the cloud platform. This solution can execute different security policies for devices with different security levels, reducing the authentication burden on the cloud platform and improving the targeting of access authentication.
[0003] Chinese patent publication CN113839945A discloses an identity-based trusted access control system and method. This system establishes a correlation between user identity, communication behavior, user reputation, and security control, forming a dynamic closed-loop feedback mechanism for communication behavior. This enables fine-grained security control with traceable user identity, verifiable network communication behavior, and dynamically calculated and updated user reputation. This technical solution illustrates that while existing access control technologies focus on identity trust, behavior feedback, and policy-based access, their control targets are mostly concentrated on judging the trustworthiness of user or terminal identities, or on the matching relationship between pre-access authentication data and security policies. For the communication permission opening process of industrial internet devices after authentication, a hierarchical access control mechanism that integrates with industrial communication message types, communication directions, target resources, and industrial communication protocols is still lacking.
[0004] However, in the industrial internet environment, successful device authentication does not guarantee the continued reliability of its subsequent communication behavior. Industrial devices may request different types of resources, switch between different industrial communication protocols, or jump directly from read-only access to control communication after access. If existing technologies only perform one-time authentication before access or only allow devices to access the network based on static policies, it is difficult to promptly identify cross-level communication, mismatched communication, and abnormal permission expansion behaviors after successful authentication. Furthermore, industrial internet communication typically involves progressive stages such as address confirmation, protocol declaration, resource request, read-only communication, and control communication. The risk levels and the scope of open resources differ at each stage. Without a mechanism for progressive opening, verification, and fallback in case of anomalies, low-risk access states can easily extend directly to high-risk control communication states, affecting the security, stability, and manageability of industrial control systems. Therefore, it is necessary to provide an industrial internet device access authentication and admission control method that can restrict authentication message transmission during the pre-access stage, progressively open communication according to permission levels after successful authentication, and implement release, cessation of opening, or fallback processing at each level based on the business message parsing results. Summary of the Invention
[0005] The purpose of this invention is to provide an access authentication and admission control method for industrial internet devices, thereby addressing some of the drawbacks and shortcomings pointed out in the background art.
[0006] The present invention adopts the following technical solution to solve the above-mentioned technical problems: Receive a pre-access request sent by an industrial internet device, establish a pre-access communication state that only allows the transmission of authentication messages, and in the pre-access communication state, verify the consistency of the industrial internet device's identity information, access entry information, and access request information with the pre-stored admission policy. After verification, the access control node opens the communication permission level level by level in the order of address confirmation, protocol declaration, resource request, read-only communication, and control communication, and records the communication permission level that the industrial Internet device is in. After each communication permission level is opened, the message type, communication direction, target resource, and industrial communication protocol of the business messages sent by the industrial Internet device are parsed. If all the parsing results belong to the communication permission level, the next communication permission level is opened. If any of the parsing results do not belong to the communication permission level, the opening of subsequent communication permissions is stopped. If there is a first mismatch, the system will fall back to the previous communication state. If there are repeated mismatches or cross-level communication, the system will fall back to the pre-access communication state.
[0007] Furthermore, when opening the communication permission levels step by step, the access control node generates a level-to-level linkage identifier after the service message of the current communication permission level is forwarded, and associates the level-to-level linkage identifier with the identity information, access entry information and current communication permission level of the industrial internet device; when the industrial internet device requests the next communication permission level, the first service message carries the level-to-level linkage identifier, and the access control node opens the next communication permission level when the communication permission level associated with the level-to-level linkage identifier is adjacent and consistent with the communication status record.
[0008] Furthermore, after each of the aforementioned communication permission levels is opened, the access control node temporarily stores the first service message sent by the industrial internet device, and parses the message type, communication direction, target resource, and industrial communication protocol of the first service message before forwarding it; if all the parsing results belong to the aforementioned communication permission level, the first service message is allowed and forwarded; if any of the parsing results do not belong to the aforementioned communication permission level, the first service message is discarded, and if there is a first mismatch, the industrial internet device is reverted to the previous communication state; if there is a repeated mismatch, it is reverted to the pre-access communication state.
[0009] Furthermore, when any of the target resource, industrial communication protocol, or communication direction of the service message does not belong to the communication permission level, and the communication permission level requested by the service message is higher than the already opened communication permission level, the admission control node will form a cross-level communication combination of the target resource, the industrial communication protocol, and the communication direction; before the industrial Internet device re-completes pre-access authentication, the admission control node will prohibit the opening of subsequent communication permissions that simultaneously cover the target resource, the industrial communication protocol, and the communication direction.
[0010] Furthermore, the inter-level force identifier is generated after the service message of the current communication permission level is forwarded, and remains valid until the next communication permission level is opened and before it is used; when the same inter-level force identifier is carried again, or used for a non-adjacent communication permission level request, the access control node does not open the next communication permission level, and retains the current communication permission level of the industrial Internet device.
[0011] Furthermore, the inter-level continuity identifier is sent along with the phase response message returned by the access control node to the industrial internet device; when the industrial internet device requests the next communication permission level, it writes the inter-level continuity identifier into the first business message requesting the next communication permission level, and the access control node completes the inter-level continuity verification based on the first business message.
[0012] Furthermore, when a service message requesting the next communication permission level does not carry the inter-level linkage identifier, or when the inter-level linkage identifier carried does not match the previous communication permission level in the communication status record, the admission control node suspends the forwarding of the service message and resends a phase response message that matches the previous communication permission level; if the industrial internet device fails to return a matching inter-level linkage identifier within a preset response period, the admission control node reverts the industrial internet device to the pre-access communication state.
[0013] Furthermore, after forming the cross-level communication combination, the access control node associates the cross-level communication combination with the communication permission level that triggered the cross-level communication combination; when the industrial internet device re-requests to open subsequent communication permissions higher than the communication permission level, the access control node first restricts the industrial internet device to the previous communication permission level and excludes the cross-level communication combination.
[0014] Furthermore, when the access control node prohibits the opening of subsequent communication permissions covering the over-level communication combination, it allows the industrial internet device to continue to execute lower-level communication permissions below the communication permission level that triggered the over-level communication combination; when the industrial internet device sends a service message whose target resource, industrial communication protocol, and communication direction all fall within the over-level communication combination again, the access control node will revert the industrial internet device to the pre-access communication state.
[0015] Furthermore, when the admission control node allows the industrial internet device to continue executing the low-level communication permission, it sets a communication boundary for the low-level communication permission to exclude the cross-level communication combination; when any of the target resources, industrial communication protocols, or communication directions of the service message sent by the industrial internet device fall within the exclusion range of the communication boundary, the admission control node stops the low-level communication permission and reverts the industrial internet device to the pre-access communication state.
[0016] This invention establishes a pre-access communication state that only allows the transmission of authentication messages after receiving a pre-access request from an industrial internet device, and performs consistency verification between the device identity information, access entry information, and access request information and the pre-stored admission policy. This ensures that the device is subject to access boundary restrictions before formal business communication, thereby reducing the risk of unauthenticated devices or devices with abnormal entry points directly accessing industrial network resources and improving the pre-access authentication and determinism.
[0017] After verification, this invention sequentially opens communication permission levels in the order of address confirmation, protocol declaration, resource request, read-only communication, and control communication, and records the communication permission levels that have been opened by the device. This ensures that the expansion of communication permissions is adapted to the level of risk in industrial business, and avoids the device from directly obtaining high-risk control communication permissions after initial access, thereby improving the precision of access control and the safety of industrial site operations.
[0018] This invention further parses the message type, communication direction, target resource, and industrial communication protocol of the business message after each communication permission level is opened, and determines whether to open the next communication permission level based on the parsing result. If the parsing result does not belong to the current permission level, subsequent opening is stopped, and corresponding rollback processing is performed for the first mismatch, repeated mismatches, or out-of-level communication. This enables continuous verification and dynamic constraint of authenticated communication behavior, timely suppression of abnormal business messages and out-of-level access behavior, and improved controllability and protection effectiveness after industrial internet devices are connected. Attached Figure Description
[0019] Figure 1 This is a flowchart of the access authentication and admission control method for industrial internet devices according to the present invention.
[0020] Figure 2 This is the pre-access consistency verification diagram in Embodiment 1 of the present invention.
[0021] Figure 3 This is a diagram illustrating the hierarchical communication permission opening and hierarchical force identification in Embodiment 1 of the present invention.
[0022] Figure 4 This is the matching and verification diagram before forwarding the first service message in Embodiment 1 of the present invention.
[0023] Figure 5 This is a diagram showing the calculation of the over-level judgment value in Embodiment 2 of the present invention.
[0024] Figure 6 This is a diagram showing the cross-level communication combination record and subsequent permission restrictions in Embodiment 2 of the present invention.
[0025] Figure 7 This is the communication boundary exclusion determination diagram in Embodiment 2 of the present invention. Detailed Implementation
[0026] As attached Figure 1As shown, in this embodiment, when an industrial internet device needs to access the production network, it first sends a pre-access request to the access control node. Upon receiving the pre-access request, the access control node does not directly grant the industrial internet device access to the production network; instead, it first establishes a pre-access communication state. In this pre-access communication state, the access control node only allows authentication messages to be transmitted between the industrial internet device and the access control node, and blocks service messages from entering the production network, thus preventing the device from accessing production-side resources before completing access authentication. In the pre-access communication state, the access control node reads the industrial internet device's identity information, access entry information, and access request information, and performs a consistency check between the read information and the pre-stored access control policy. The identity information represents the industrial internet device's identity, the access entry information represents the location of the industrial internet device accessing the network, and the access request information represents the network range, protocol type, or resource range requested by the industrial internet device. The pre-stored access control policy includes the allowed device identity, the allowed access entry location, the allowed communication address, the allowed declared industrial communication protocols, the allowed target resources, the allowed service types, and the corresponding communication permission levels. The access control node performs a consistency check to determine whether the identity, access location, and access purpose of the industrial internet device match the pre-stored access policy. If the identity information, access entry information, and access request information all fall within the allowed range of the pre-stored access policy, the consistency check is considered successful; if any one of these falls outside the allowed range, the consistency check is considered unsuccessful. If the consistency check fails, the access control node keeps the industrial internet device in a pre-access communication state and refuses to grant subsequent communication permissions. If the consistency check passes, the access control node grants communication permission levels to the industrial internet device in the order of address confirmation, protocol declaration, resource request, read-only communication, and control communication, and records the current granted communication permission level of the industrial internet device. Specifically, in the address confirmation phase, the access control node confirms whether the communication address used by the industrial internet device complies with the access policy; in the protocol declaration phase, the access control node confirms whether the industrial communication protocol declared by the industrial internet device complies with the access policy; in the resource request phase, the access control node confirms whether the target resource requested by the industrial internet device is within the permitted range; in the read-only communication phase, the access control node allows the industrial internet device to perform read-type business communication; in the control communication phase, the access control node, based on the fulfillment of the requirements in the aforementioned phases, allows the industrial internet device to perform control-type business communication. After each communication permission level is opened, the access control node parses the business messages sent by the industrial internet device and obtains the message type, communication direction, target resource, and industrial communication protocol of the business messages.The access control node compares the parsing results with the currently available communication permission levels. If the message type, communication direction, target resource, and industrial communication protocol all fall within the limits allowed by the current communication permission level, the access control node opens the next communication permission level. If any item in the parsing result does not fall within the limits allowed by the current communication permission level, the access control node stops opening subsequent communication permissions. If the service message is the first mismatch, the access control node reverts the industrial internet device to the previous communication state. The previous communication state is the most recent communication permission level that was approved before the current communication permission level was opened. If no previous communication permission level exists, the previous communication state is the pre-access communication state. If the service message is a repeated mismatch or an out-of-level communication, the access control node reverts the industrial internet device to the pre-access communication state. A repeated mismatch occurs when the same industrial internet device sends a service message that does not fall within the limits allowed by the current communication permission level again under the same communication permission level, or when the same type of mismatch is triggered again after reverting to the previous communication state. Through the above methods, the access control node can prevent industrial internet devices from directly entering the production network before completing full authentication, and can control the access process of industrial internet devices step by step according to the matching relationship between business messages and the open communication permission levels, thereby improving the security of industrial internet device access authentication and access control.
[0027] Furthermore, during the process of progressively opening communication permission levels, the admission control node sets inter-level linkage identifiers between adjacent communication permission levels to confirm whether the industrial internet device has completed the permission progression in a predetermined order. Specifically, after the service message sent by the industrial internet device at the current communication permission level has been forwarded, the admission control node generates an inter-level linkage identifier and establishes an association between the inter-level linkage identifier and the industrial internet device's identity information, access entry information, and current communication permission level. The inter-level linkage identifier includes a session identifier to distinguish this pre-access process, a stage identifier to distinguish the current communication permission level, and status information to indicate whether the inter-level linkage identifier has been used. The association is written into the communication status record to indicate that the industrial internet device has completed the communication process corresponding to the current communication permission level. The communication status record includes at least the industrial internet device's identity information, access entry information, current communication permission level, next communication permission level, inter-level linkage identifier, validity status of the inter-level linkage identifier, and service message verification result. The admission control node then returns a stage response message to the industrial internet device, and sends the inter-level linkage identifier along with the stage response message. When an Industrial Internet device requests access to the next communication permission level, an indirect access identifier is written into the first business message requesting the next communication permission level. This indirect access identifier is also written into the authentication field, extension field, or application layer payload field of the first business message, allowing the admission control node to read it without allowing the business message to pass. Upon receiving the first business message, the admission control node first pauses forwarding it to the target resource and reads the indirect access identifier from it. The admission control node then verifies, based on the communication status record, whether the communication permission level associated with the indirect access identifier is adjacent to the Industrial Internet device's previous communication permission level. If the verification result indicates they are adjacent, the admission control node confirms that the Industrial Internet device executes permission progression in the order of address confirmation, protocol declaration, resource request, read-only communication, and control communication, and then grants access to the next communication permission level. The indirect access identifier is generated after the business message of the current communication permission level is forwarded and remains valid until the next communication permission level is granted; however, the indirect access identifier becomes invalid after use. If the inter-level linkage identifier is carried again, or used for a request of a non-adjacent communication permission level, the admission control node determines that the industrial internet device has not requested permission progression in the predetermined order, does not open the next communication permission level, and retains the current communication permission level of the industrial internet device. When a service message requesting the next communication permission level does not carry the inter-level linkage identifier, or the carried inter-level linkage identifier does not match the previous communication permission level in the communication status record, the admission control node suspends the forwarding of the service message and resends a phase response message that matches the previous communication permission level.If an industrial internet device fails to return a matching hierarchical force identifier within a preset response period, the access control node determines that the permission progression process of the industrial internet device is discontinuous, and reverts the industrial internet device to the pre-access communication state, while marking the unused hierarchical force identifier as invalid.
[0028] Furthermore, after each communication permission level is opened, the admission control node does not immediately forward the first service message sent by the industrial internet device to the target resource. Instead, it temporarily stores the first service message in its local cache. The local cache saves the first service message according to the industrial internet device's identity information, access entry information, and current communication permission level, and records the temporary storage status of the first service message. Before forwarding, the admission control node parses the first service message to obtain the message type, communication direction, target resource, and industrial communication protocol, and compares the parsing results with the currently opened communication permission levels. The message type is used to determine whether the service message belongs to one of the following: address acknowledgment message, protocol declaration message, resource request message, read-only communication message, or control communication message. The communication direction is used to determine whether the service message is sent from the industrial internet device to the target resource or returned from the target resource to the industrial internet device. The target resource is used to determine whether the device, interface, data object, or control object requested by the service message is within the scope permitted by the admission policy. The industrial communication protocol is used to determine whether the protocol used by a service message is a protocol permitted by the current communication permission level. If the message type, communication direction, target resource, and industrial communication protocol are all within the scope permitted by the current communication permission level, the admission control node determines that the first service message matches the current communication permission level and performs allowance and forwarding processing on the first service message, enabling the first service message to reach the corresponding target resource. After the first service message is forwarded, the admission control node updates the temporary storage status of the first service message to "allowed" and clears the temporary storage content corresponding to the first service message from the local cache. If any item in the parsing result does not fall within the scope permitted by the current communication permission level, the admission control node determines that the first service message does not match the current communication permission level and discards the first service message to prevent unauthorized service communication from entering the production network. After the first service message is discarded, the admission control node updates the temporary storage status of the first service message to "discarded" and writes the mismatch reason in the communication status record. For the first mismatch, the access control node reverts the industrial internet device to its previous communication state, allowing it to re-verify service packets within that state. For repeated mismatches, the access control node determines that the industrial internet device is exhibiting communication behavior that continuously deviates from the access policy and reverts it to the pre-access communication state. By temporarily storing, parsing, comparing, allowing, or discarding the first service packet after each communication permission level is opened, the access control node can complete access boundary verification before service packets enter the production network, thereby reducing the risk of industrial internet devices unauthorized access to target resources or prematurely initiating control communications.
[0029] Furthermore, after parsing the service message, the access control node determines whether the service message involves unauthorized communication. Specifically, when any of the target resource, industrial communication protocol, or communication direction in the service message does not belong to the currently open communication permission level, and the communication permission level requested by the service message is higher than the currently open communication permission level, the access control node determines that the service message constitutes unauthorized communication. The communication permission level requested by the service message is jointly determined by the message type, target resource, industrial communication protocol, and communication direction of the service message. The access control node identifies this based on the range of service messages allowed by each communication permission level in the pre-stored access policy. The access control node combines the target resource, industrial communication protocol, and communication direction in the service message into an unauthorized communication combination and writes this combination into the communication status record of the industrial internet device. The unauthorized communication combination is used to identify the resource range, protocol type, and communication direction that the industrial internet device attempts to access without obtaining the corresponding communication permission. After forming the unauthorized communication combination, the access control node establishes an association between the unauthorized communication combination and the communication permission level that triggered the unauthorized communication combination. Therefore, the admission control node can determine at which communication permission level the out-of-level communication behavior occurred and restrict the same communication path during subsequent admission control processes. Before the industrial internet device re-completes pre-access authentication, the admission control node prohibits the granting of subsequent communication permissions that simultaneously cover the target resource, industrial communication protocol, and communication direction, preventing the industrial internet device from bypassing the step-by-step granting process to enter a higher communication permission level. When the industrial internet device re-requests the granting of subsequent communication permissions at a level higher than the communication permission level that triggered the out-of-level communication combination, the admission control node first restricts the industrial internet device to the previous communication permission level and excludes the out-of-level communication combination within that previous communication permission level. In other words, the industrial internet device can continue to perform lower-level communication that does not trigger the out-of-level communication combination, but cannot access the target resource, industrial communication protocol, and communication direction covered by the out-of-level communication combination again through lower-level communication permissions. While prohibiting the granting of subsequent communication permissions covering the out-of-level communication combination, the admission control node allows the industrial internet device to continue performing lower-level communication permissions below the communication permission level that triggered the out-of-level communication combination. If an Industrial Internet device (IIoT) sends a service message whose target resource, industrial communication protocol, and communication direction all fall within the scope of a cross-level communication combination, the admission control node determines that the IIoT device has triggered cross-level communication behavior again and reverts the IIoT device to the pre-access communication state. When allowing the IIoT device to continue executing lower-level communication permissions, the admission control node sets communication boundaries for those permissions, excluding the target resource, industrial communication protocol, and communication direction from the cross-level communication combination. When any of the target resource, industrial communication protocol, or communication direction in a service message sent by the IIoT device falls within the exclusion range of the communication boundary, the admission control node terminates the lower-level communication permissions and reverts the IIoT device to the pre-access communication state.When an industrial internet device completes pre-access authentication again and its identity information, access entry information, and access request information are consistent with the pre-stored admission policy, the admission control node re-establishes the communication status record of the industrial internet device and re-executes the hierarchical opening in the order of address confirmation, protocol declaration, resource request, read-only communication, and control communication. Through this method, the admission control node can record, associate, and exclude out-of-level communication combinations after detecting such behavior, while retaining lower-level communication capabilities not involved in out-of-level communication combinations, thus balancing access continuity and production network security.
[0030] Example 1: In this embodiment, when an industrial internet device in Unit A needs to access the production network, it first sends a pre-access request to the access control node. Upon receiving the pre-access request, the access control node does not directly grant the industrial internet device access to the production network. Instead, it establishes a pre-access communication state that only allows the transmission of authentication messages. In this pre-access communication state, the access control node allows the industrial internet device to transmit device authentication messages, entry confirmation messages, and access request confirmation messages with the access control node, while blocking service messages from entering the production network.
[0031] In the pre-access communication state, the access control node reads the identity information, access entry information, and access request information of the industrial internet devices, and performs a consistency check between the read information and the pre-stored access policy. The pre-stored access policy includes the allowed device identities, allowed switch ports, allowed communication addresses, allowed declared industrial communication protocols, allowed target resources, and allowed types of business communication. The identity information is used to characterize the industrial internet device's identity, the access entry information is used to characterize the location of the industrial internet device accessing the production network, and the access request information is used to characterize the network range, protocol type, or resource range that the industrial internet device requests access to.
[0032] To ensure that the consistency verification process can be directly executed by the admission control node, the admission control node obtains the admission consistency matching value according to the following formula:
[0033] in, Indicates the admission consistency matching value. Indicates identity matching item, Indicates the access entry matching item. This indicates the matching item for the access request. When the identity information of the industrial internet device matches a device identity allowed by the pre-stored admission policy, ... The value is 1 if it is true and 0 otherwise; when the access point information of the industrial internet device belongs to the access point location allowed by the pre-stored admission policy. The value is 1 if it is true and 0 otherwise; when the access request information of the industrial internet device falls within the request range allowed by the pre-stored admission policy, The value is 1 if it is true and 0 otherwise. Since the consistency check in this embodiment includes three check items: identity information, access entry information, and access request information, the value is only true if... When it is three, the access control node determines that the consistency check has passed; when When the number is less than three, the access control node determines that the consistency verification has failed and keeps the industrial internet device in the pre-access communication state. Figure 2 The cumulative relationship of the access consistency verification is shown. The identity matching item, entry matching item, and request matching item are superimposed in sequence along the direction of the access consistency matching value. The dashed line represents the access pass value. When all three items match, the cumulative value reaches the access pass boundary, thus intuitively corresponding to the pass determination of the access control node.
[0034] For example, an industrial internet device with device number PLC-03, access point port P2 of the production line switch in unit A, requesting to use Modbus TCP as the industrial communication protocol, requesting to access the read-only register area of data acquisition server A, and having a communication address of 192.168.10.35. After reading the pre-stored access policy, the access control node confirms that device number PLC-03 is an allowed device, port P2 is an allowed access point, and Modbus TCP and the read-only register area of data acquisition server A are within the allowed access request range. Therefore, the access control node obtains... , , Substituting into the above formula, we get Based on this, the access control node determines that the consistency verification has passed and allows the industrial internet device to enter the subsequent process of gradually opening communication permission levels.
[0035] After the consistency verification passes, the access control node sequentially opens communication permission levels in the order of address confirmation, protocol declaration, resource request, read-only communication, and control communication, and records the current open communication permission level of the industrial internet device. In the address confirmation phase, the access control node confirms whether the communication address used by the industrial internet device complies with the access policy; in the protocol declaration phase, the access control node confirms whether the industrial communication protocol declared by the industrial internet device complies with the access policy; in the resource request phase, the access control node confirms whether the target resource requested by the industrial internet device is within the permitted range; in the read-only communication phase, the access control node allows the industrial internet device to perform read-type business communication; in the control communication phase, based on the fulfillment of requirements in the preceding phases, the access control node allows the industrial internet device to perform control-type business communication. Figure 3The communication permission levels are displayed in a progressive order from S0 to S5, where S0 corresponds to the pre-access communication state, and S1 to S5 correspond to address confirmation, protocol declaration, resource request, read-only communication and control communication in sequence. The inter-level force identifier is located between adjacent permission levels and is used to limit the device to only progress continuously along adjacent levels.
[0036] When granting communication permission levels in a tiered manner, the admission control node generates a level-to-level linkage identifier after forwarding the service message for the current communication permission level. This identifier is then associated with the industrial internet device's identity information, access entry information, and current communication permission level. The level-to-level linkage identifier is sent along with the stage response message returned by the admission control node to the industrial internet device. When the industrial internet device requests the next communication permission level, it writes the level-to-level linkage identifier into the first service message requesting the next level. The admission control node reads the level-to-level linkage identifier based on the first service message and verifies whether the communication permission level associated with the level-to-level linkage identifier is adjacent to and consistent with the previous communication permission level in the communication status record. Figure 3 Located below the resource request and read-only communication stages, the temporary storage area corresponds to the processing of the first business message entering the local cache before being forwarded to the target resource, thereby connecting the progressive verification of permissions with the business message forwarding control.
[0037] In this embodiment, the inter-level access identifier may include a session identifier, a stage identifier, and a usage status identifier. The session identifier is used to distinguish the current pre-access authentication process, the stage identifier is used to characterize the completed communication permission level, and the usage status identifier is used to characterize whether the inter-level access identifier has been used. The inter-level access identifier is generated after the service message of the current communication permission level is forwarded and remains valid until the next communication permission level is opened and before it is used. When the same inter-level access identifier is carried again, or used for a non-adjacent communication permission level request, the admission control node does not open the next communication permission level and retains the current communication permission level of the industrial internet device.
[0038] When a service message requesting the next communication permission level does not carry a step-by-step authorization identifier, or the step-by-step authorization identifier does not match the previous communication permission level in the communication status record, the admission control node suspends the forwarding of the service message and resends a phase response message matching the previous communication permission level. If the industrial internet device fails to return a matching step-by-step authorization identifier within the preset response period, the admission control node determines that the permission progression process of the industrial internet device is discontinuous and reverts the industrial internet device to the pre-access communication state.
[0039] After each communication permission level is opened, the admission control node does not immediately forward the first service message sent by the industrial internet device to the target resource. Instead, it temporarily stores the first service message in its local cache. Before forwarding, the admission control node parses the first service message to obtain its message type, communication direction, target resource, and industrial communication protocol. The parsing results are then compared with the currently opened communication permission levels. The message type determines whether the service message is an address acknowledgment message, protocol declaration message, resource request message, read-only communication message, or control communication message. The communication direction determines whether the service message is sent from the industrial internet device to the target resource or returned from the target resource to the industrial internet device. The target resource determines whether the device, interface, data object, or control object requested by the service message is within the scope of the admission policy. The industrial communication protocol determines whether the protocol used by the service message is a protocol allowed at the current communication permission level.
[0040] To ensure that the pre-forward verification of the first service packet can be directly performed by the admission control node, the admission control node obtains the matching result value of the first service packet according to the following formula:
[0041] in, This represents the value of the first business message matching result. Indicates message type matching item, Indicates the communication direction matching item. Indicates the target resource matching item. This indicates an industrial communication protocol match. When the message type of the first service message belongs to a message type allowed by the current communication permission level, The value is 1 if the communication direction of the first service message is within the communication direction allowed by the current communication permission level, and 0 otherwise. The value is 1 if the target resource of the first service message is a target resource permitted by the current communication permission level, and 0 otherwise. The value is 1 if the first service message uses an industrial communication protocol that is permitted by the current communication permission level, and 0 otherwise. The value is 1 if it is true and 0 otherwise. Since the pre-forward verification of the first service packet in this embodiment includes four verification items: packet type, communication direction, target resource, and industrial communication protocol, the value is only true if... When the access control node determines that the first service message matches the current communication permission level, it performs allow and forward processing on the first service message; when When the level is less than four, the access control node determines that the first service message does not match the current communication permission level and discards the first service message. Figure 4The first method for verifying business messages before forwarding is shown. When the individual matching values of message type, communication direction, target resource and industrial communication protocol are all one, the cumulative matching value gradually rises to the release judgment value. This indicates that only when all four dimensions meet the requirements of the current communication permission level are business messages allowed to leave the local buffer and enter the target resource.
[0042] For example, during the read-only communication phase, the first business message sent by the Industrial Internet device PLC-03 is a read-type business message. The communication direction is from the Industrial Internet device to the data acquisition server A, the target resource is the read-only register area of the data acquisition server A, and the industrial communication protocol is Modbus TCP. The access control node confirms based on the current communication permission level that the read-type business message is an allowed message type, the communication direction from the device to the data acquisition server A is an allowed communication direction, the read-only register area is an allowed target resource, and Modbus TCP is an allowed protocol. Therefore, the following is obtained: , , , Substituting into the above formula, we get Based on this, the access control node determines that the first service message matches the read-only communication phase, and allows the first service message temporarily stored in the local buffer to pass through and forward it to the data acquisition server A.
[0043] If any item in the parsing result does not fall within the range allowed by the current communication permission level, the admission control node stops granting subsequent communication permissions and discards the first temporarily stored service message. For the first mismatch, the admission control node reverts the industrial internet device to the previous communication state, allowing the device to re-verify the service message in that state. For repeated mismatches, the admission control node determines that the industrial internet device is exhibiting communication behavior that continuously deviates from the admission policy and reverts it to the pre-access communication state. The previous communication state is the most recent communication permission level that was granted before the current permission level was granted; if no previous permission level exists, the previous communication state is the pre-access communication state.
[0044] Through the above implementation methods, the access control node can complete the consistency verification of identity, entry point, and access request before industrial internet devices enter the production network. During the process of progressively opening communication permission levels, it utilizes inter-level force identification to confirm the continuity of permission progression. Simultaneously, it completes temporary storage, parsing, comparison, and forwarding control before the first business message enters the target resource. Therefore, it can prevent industrial internet devices from directly entering the production network before completing authentication and reduce the risk of industrial internet devices accessing target resources without authorization or initiating business communication prematurely.
[0045] Example 2: In this embodiment, after the industrial internet devices of Unit A complete pre-access authentication, the access control node sequentially opens communication permission levels in the order of address confirmation, protocol declaration, resource request, read-only communication, and control communication. After each communication permission level is opened, the node parses the service messages sent by the industrial internet devices. The parsed content of the service messages includes message type, communication direction, target resource, and industrial communication protocol. Based on the parsing results, the access control node determines whether the service message falls within the communication scope permitted by the currently opened communication permission level.
[0046] After parsing the service message, the access control node compares the target resource, industrial communication protocol, and communication direction in the service message with the access policy corresponding to the currently open communication permission level. If any of the target resource, industrial communication protocol, or communication direction does not belong to the currently open communication permission level, and the communication permission level requested by the service message is higher than the currently open communication permission level, the access control node determines that the service message has engaged in unauthorized communication behavior.
[0047] To ensure that the process of identifying out-of-level communication behavior can be directly executed by the admission control node, the admission control node obtains the out-of-level judgment value according to the following formula:
[0048] in, This indicates a value that triggers a higher-level judgment. This indicates a high-level permission request flag. Indicates the target resource matching flag. Indicates an industrial communication protocol matching flag. This indicates a communication direction matching flag. When a service message requests a communication permission level higher than the currently granted communication permission level, The value is 1 if the target resource of the service message is within the permitted range of the currently open communication permission level, and 0 otherwise. The value is 1 if the condition is met, and zero otherwise. This applies when the industrial communication protocol of the service message falls within the currently permitted range of open communication permissions. The value is 1 if the communication direction of the service message falls within the permitted range of the currently open communication permission level, and 0 otherwise. The value is 1 if it is not specified, and 0 otherwise. Since the target resource, industrial communication protocol, and communication direction are three objects that are subject to cross-level judgment, therefore when... When at least one of the three judgment objects does not match, If the value is greater than or equal to one, the access control node determines that the service message constitutes an out-of-level communication behavior; when When the value is zero, the access control node does not process service messages according to the bypass communication behavior. Figure 5The mismatch between target resources, industrial communication protocols, and communication directions is transformed into three consecutive cross-level contribution segments, and the cross-level trigger value and the current judgment value are marked with dashed lines. This makes the judgment logic of the access control node manifest as a process of gradually accumulating from a single mismatch to the cross-level judgment boundary.
[0049] For example, the current open communication permission level is read-only communication. The device number of the industrial internet device is PLC-07. The business message sent by the industrial internet device requests access to the write control register of servo drive B, using the Profinet IO industrial communication protocol, with the communication direction from the industrial internet device to the controlled object. The communication permission level requested by the business message is control communication. Since the control communication stage is higher than the read-only communication stage, the admission control node determines the value to be one. In the current read-only communication stage, the write control register of servo drive B is not a permitted target resource, Profinet IO is not a currently permitted protocol, and the write control direction from the industrial internet device to the controlled object is not a permitted communication direction. Therefore, and are both zero. Substituting into the above formula, the over-level judgment value is three. Based on this, the admission control node determines that the business message constitutes an over-level communication behavior.
[0050] After determining that a service message constitutes an out-of-level communication behavior, the admission control node combines the target resource, industrial communication protocol, and communication direction in the service message into an out-of-level communication combination. For the aforementioned service message, the out-of-level communication combination includes the write control register of servo driver B, Profinet IO, and the write control direction from the industrial internet device to the controlled object. The admission control node writes the out-of-level communication combination into the communication status record of the industrial internet device and associates the out-of-level communication combination with the communication permission level that triggered it.
[0051] The communication status record includes at least the identity information of the industrial internet device, the currently granted communication permission level, the parsing result of the business message that triggered the over-level communication behavior, the over-level communication combination, and the communication permission level associated with the over-level communication combination. The access control node determines at which communication permission level the over-level communication behavior occurred based on the communication status record and restricts the same communication path in subsequent access control processes. Figure 6 The path of cross-level communication processing is shown along L1 to L5. After the service message enters the cross-level message identification stage from the read-only communication stage, it is extracted into a cross-level combination consisting of resources, protocol and direction, and then written into the status record and associated with the trigger level. Finally, it forms a prohibition on opening subsequent communication permissions, so that the cross-level behavior is no longer just treated as a single message to be discarded, but is transformed into a continuous constraint condition for subsequent access control.
[0052] Before an Industrial Internet device completes pre-access authentication again, the admission control node is prohibited from granting subsequent communication permissions that simultaneously cover the target resource, industrial communication protocol, and communication direction. When an Industrial Internet device requests access to the control communication phase again, and this request still covers the write control register of servo driver B, Profinet IO, and the write control direction from the Industrial Internet device to the controlled object, the admission control node will not grant access to the control communication phase, preventing the Industrial Internet device from bypassing the step-by-step access process and directly entering a higher level of communication permission.
[0053] When an Industrial Internet device (IIoT) device re-requests permission for subsequent communication at a level higher than the one that triggered the over-level communication combination, the admission control node first restricts the IIoT device to the previous communication permission level and excludes over-level communication combinations within that level. The IIoT device can continue to perform lower-level communication that did not trigger the over-level communication combination, such as reading status registers or data objects within the permitted range, but it cannot access the target resources, industrial communication protocols, and communication directions covered by the over-level communication combination again through lower-level communication permissions.
[0054] When allowing industrial internet devices to continue executing low-level communication permissions, the admission control node sets communication boundaries for those permissions. These boundaries exclude target resources, industrial communication protocols, and communication directions from the cross-level communication combination, ensuring that low-level communication permissions no longer overwrite communication paths that have already triggered cross-level communication behavior. The admission control node obtains the communication boundary exclusion judgment value using the following formula:
[0055] in, Indicates the communication boundary exclusion judgment value. The criteria for determining whether a target resource falls within the exclusion range. The criteria for determining whether an industrial communication protocol falls within the exclusion scope. This is a flag indicating whether a communication direction falls within the exclusion range. When the target resource of a service message falls within the communication boundary exclusion range, The value is 1 if the message is true and 0 otherwise; when the industrial communication protocol of the service message falls within the communication boundary exclusion range... The value is 1 if the communication direction of the service message falls within the communication boundary exclusion range, and 0 otherwise. The value is 1 if it is positive, and 0 otherwise. When the value is greater than or equal to one, the access control node determines that the service message has entered the communication boundary exclusion range and stops the lower-level communication permissions; when When the value is zero, the access control node allows service messages to continue to be processed according to low-level communication permissions. Figure 7The message that skips to a higher level and the message that is allowed to read are compared in the same communication boundary judgment coordinates. The message that skips to a higher level hits the exclusion range in all three dimensions of target resource, industrial communication protocol and communication direction, and the cumulative value exceeds the boundary trigger value; the message that is allowed to read does not hit the exclusion range, and the cumulative value remains zero. This distinguishes the message that needs to be rolled back and the message that can continue to execute low-level communication.
[0056] For example, after being restricted to read-only communication, an Industrial Internet device (IIoT) sends a service message again to access the write control register of servo driver B and continues to use Profinet IO and the write control direction from the IIoT device to the controlled object. Since the target resource, industrial communication protocol, and communication direction all fall within the communication boundary exclusion range, and are all set to one. Substituting these values into the above formula, the communication boundary exclusion judgment value is three. Based on this, the access control node stops the IIoT device's low-level communication permissions and reverts the IIoT device to the pre-access communication state.
[0057] If the business message sent by the industrial internet device does not cover the over-level communication combination, for example, it only requests to read data collection objects within the allowed range, and its industrial communication protocol and communication direction do not fall within the communication boundary exclusion range, then the access control node obtains a communication boundary exclusion judgment value of zero and allows the industrial internet device to continue to execute lower-level communication permissions below the communication permission level that triggered the over-level communication combination. If the industrial internet device sends a business message again in which the target resource, industrial communication protocol, and communication direction all fall within the over-level communication combination, then the access control node determines that the industrial internet device has triggered over-level communication behavior again and reverts the industrial internet device to the pre-access communication state.
[0058] Through the above methods, the access control node can record, associate, and exclude the over-level communication combination after discovering over-level communication behavior. When prohibiting the opening of subsequent communication permissions covering the over-level communication combination, it can retain the low-level communication capabilities that are not involved in the over-level communication combination. At the same time, when the low-level communication touches the communication boundary exclusion range again, it can perform a fallback process, thereby taking into account both the continuity of industrial Internet device access and the security of production network.
Claims
1. A method for access authentication and admission control of industrial internet devices, characterized in that: Receive a pre-access request sent by an industrial internet device, establish a pre-access communication state that only allows the transmission of authentication messages, and in the pre-access communication state, verify the consistency of the industrial internet device's identity information, access entry information, and access request information with the pre-stored admission policy. After verification, the access control node opens the communication permission level level by level in the order of address confirmation, protocol declaration, resource request, read-only communication, and control communication, and records the communication permission level that the industrial Internet device is in. After each communication permission level is opened, the message type, communication direction, target resource, and industrial communication protocol of the business messages sent by the industrial Internet device are parsed. If all the parsing results belong to the communication permission level, the next communication permission level is opened. If any of the parsing results do not belong to the communication permission level, the opening of subsequent communication permissions is stopped. If there is a first mismatch, the system will fall back to the previous communication state. If there are repeated mismatches or cross-level communication, the system will fall back to the pre-access communication state.
2. The method according to claim 1, characterized in that, When opening the communication permission level step by step, the access control node generates a level-to-level linkage identifier after the service message of the current communication permission level is forwarded, and associates the level-to-level linkage identifier with the identity information, access entry information and current communication permission level of the industrial Internet device; when the industrial Internet device requests the next communication permission level, the first service message carries the level-to-level linkage identifier, and the access control node opens the next communication permission level when the communication permission level associated with the level-to-level linkage identifier is adjacent and consistent with the communication status record.
3. The method according to claim 1, characterized in that, After each of the aforementioned communication permission levels is opened, the access control node temporarily stores the first business message sent by the industrial internet device, and parses the message type, communication direction, target resource and industrial communication protocol of the first business message before forwarding it; If all parsing results belong to the communication permission level, the first service message is allowed and forwarded. If any parsing result does not belong to the communication permission level, the first service message is discarded. If there is a first mismatch, the industrial internet device is rolled back to the previous communication state. If there is a repeated mismatch, it is rolled back to the pre-access communication state.
4. The method according to claim 1, characterized in that, When any of the target resource, industrial communication protocol, or communication direction of the service message does not belong to the communication permission level, and the communication permission level requested by the service message is higher than the already opened communication permission level, the admission control node will form a cross-level communication combination of the target resource, the industrial communication protocol, and the communication direction; before the industrial Internet device re-completes pre-access authentication, the admission control node will prohibit the opening of subsequent communication permissions that simultaneously cover the target resource, the industrial communication protocol, and the communication direction.
5. The method according to claim 2, characterized in that, The inter-level force identifier is generated after the service message of the current communication permission level is forwarded. It remains valid until the next communication permission level is opened and before it is used. When the same inter-level force identifier is carried again or used for a non-adjacent communication permission level request, the access control node does not open the next communication permission level and retains the current communication permission level of the industrial Internet device.
6. The method according to claim 2, characterized in that, The inter-level continuity identifier is sent along with the phase response message returned by the access control node to the industrial internet device. When the industrial internet device requests the next communication permission level, it writes the inter-level continuity identifier into the first business message requesting the next communication permission level, and the access control node completes the inter-level continuity verification based on the first business message.
7. The method according to claim 2, characterized in that, When a service message requesting the next communication permission level does not carry the inter-level linkage identifier, or the inter-level linkage identifier carried does not match the previous communication permission level in the communication status record, the admission control node suspends the forwarding of the service message and resends a phase response message that matches the previous communication permission level; if the industrial internet device fails to return a matching inter-level linkage identifier within a preset response period, the admission control node reverts the industrial internet device to the pre-access communication state.
8. The method according to claim 4, characterized in that, After forming the cross-level communication combination, the access control node associates the cross-level communication combination with the communication permission level that triggered the cross-level communication combination; when the industrial internet device re-requests to open subsequent communication permissions higher than the communication permission level, the access control node first restricts the industrial internet device to the previous communication permission level and excludes the cross-level communication combination.
9. The method according to claim 4, characterized in that, When the admission control node prohibits the granting of subsequent communication permissions that cover the over-level communication combination, it allows the industrial internet device to continue to execute lower-level communication permissions than the communication permission level that triggered the over-level communication combination; when the industrial internet device sends a service message whose target resource, industrial communication protocol, and communication direction all fall within the over-level communication combination, the admission control node will revert the industrial internet device to the pre-access communication state.
10. The method according to claim 9, characterized in that, When the admission control node allows the industrial internet device to continue executing the low-level communication permission, it sets a communication boundary for the low-level communication permission to exclude the cross-level communication combination; when any of the target resources, industrial communication protocols or communication directions of the service message sent by the industrial internet device fall within the scope of the communication boundary exclusion, the admission control node stops the low-level communication permission and reverts the industrial internet device to the pre-access communication state.
Citation Information
Patent Citations
Identity-based trusted access control system and method
CN113839945A
Safe access method, device and equipment for Internet of Things equipment and medium
CN114268508A
