The invention relates to an intelligent hierarchical
access control method and device for railway knowledge and
electronic equipment, and the method comprises the steps: registering key certificates for national railway group nodes, railway bureau group nodes and basic-level
station nodes, and generating global trusted identity chain certificates; dividing the to-be-accessed railway knowledge assets into four levels, and establishing a relationship between the
security level and the
user role; loading a railway exclusive strategy expression, and supporting hierarchical inheritance and timeliness logic combination; in response to a user
data access request, based on an identity
certificate and role attributes, matching a
security level of request data with a
user role permission threshold, analyzing a railway service dynamic combination condition, judging a current service scene access permission, generating a decryption key or calling an edge gateway to execute outsourcing decryption; and storing the encrypted data to a
distributed file system, and recording data hash, a
security level and an access operation log. According to the method, the problems of weak identity credibility mechanism, low efficiency of authority management coarse
granularity and insufficient industrial characteristic
adaptation are solved.