The invention discloses an
Internet of Things equipment identification method and device based on
machine learning, and the method comprises the steps: obtaining a
data set containing network flows of
Internet of Things equipment, carrying out the data preprocessing, obtaining a plurality of network flows, extracting a plurality of flow features from the network flows through a plurality of
feature selection algorithms, so as to determine an optimal feature subset, and carrying out the recognition of
the Internet of Things equipment. The method comprises the following steps: inputting a trained
machine learning model to carry out
Internet of Things equipment identification to obtain an equipment identification result, respectively carrying out comparative analysis based on a
feature selection algorithm corresponding to the equipment identification result to complete Internet of Things equipment identification, and evaluating the effectiveness of network traffic features by adopting various
feature selection algorithms. According to the method, the BGWO is introduced to determine the optimal feature subset of the identification of
the Internet of Things equipment to fit the optimal model and realize the optimal accuracy among different classifiers, the reliability of the identification result is ensured by using two public Internet of Things network flow data sets, the performance of the classifiers is improved, and the BGWO realizes higher accuracy in all the classifiers.