The invention relates to the technical field of equipment control, and provides an equipment control method and
system based on a
natural language and
electronic equipment. According to the application, the
machine language vector is generated through the intention recognition result of the
natural language instruction, and the
graph query statement is generated according to the semantic concept after the
machine language vector is deconstructed, so that the equipment
knowledge graph of the original equipment is queried through the
graph query statement to obtain the equipment operation path meeting the semantic concept; the
knowledge graph has a mesh topology structure, the equipment
knowledge graph is used for replacing a rigid
relational database structure, deep requirements in
natural language instructions are mined through intention recognition,
machine language vectors are obtained, the machine language vectors are deconstructed, and the control of the original equipment is achieved. And generating a
graph query statement corresponding to the equipment knowledge graph according to the deconstructed semantic concept, thereby accurately and comprehensively querying the complex context
semantic relationship between the nodes, and improving the understanding accuracy of the natural language instruction.