| After Industry 4.0,the development of the IIo T(Industrial Internet of Things)has become a key way for my country’s industrial transformation and upgrading.In order to solve the access control problem in the IIo T environment,it is very important to provide access control solutions with better security.Blockchain-based access control is an effective solution for distributed access control at present,and there are also many explorations in the IIo T.In order to solve the above problems,this paper proposes a distributed ABAC(Attribute Based Access Control)access control scheme combined with the Hyperledger Fabric blockchain architecture.At the same time,based on LSTM(Long Short-Term Memory),a method is proposed to predict the environmental attributes in the ABAC access control policy,so that users can obtain the minimum access rights and increase access security in IIo T.In the complex environment of the IIo T,ABAC can provide fewer and finer granularity than other access control policy;The combination of blockchain and ABAC can effectively solve the performance and security limitations of centralized access control;Using signed Tokens as assets for transfer can access various devices and applications in complex IIo T environments,while ensuring the security of interactions leaving the blockchain network.Using LSTM to predict environmental attributes can further restrict user access and dynamically meet the requirements of least privilege granting.In addition,this paper also implements a refined distributed ABAC access control system based on blockchain based on the above scheme.The test results show that this scheme combined with blockchain can maintain high throughput in a large-scale request environment,efficiently reach consensus under distributed conditions,and the authorization records can be traced and cannot be tampered with.Compared with the previous scheme,it has higher security and finer policy granularity,and the use of a signed Token can carry the subject,object and environmental attributes after one ABAC verification to restrict access from the blockchain,effectively reducing the load of blockchain network and ensuring access security. |