The invention relates to the technical field of data
resource security access control, in particular to a security attribute mining method and
system based on instructions and descriptions, and the method comprises the steps: extracting candidate service attributes from
target text data through an entity recognition model, and constructing a candidate service attribute set; the entity recognition model extracts an entity in the input text data according to the instruction and the situation example description, the situation example description is embedded in the input text data, and the candidate service attribute is the entity in the text data; performing semantic
processing on the candidate service attribute set by utilizing
WordNet to generate a first service attribute set, constructing a weighted attribute graph of service attributes in the first service attribute set by adopting a
directed acyclic graph, and generating an expected second service attribute set according to a security
control level requirement, the semantic
processing comprises semantic redundancy removal
processing, semantic generalization processing and
semantic clustering processing. According to the method, the business attribute
library with semantic generalization relation, controllable security
control level and controllable scale can be constructed.