Intrusion detection system (IDS) can effectively identify anomaly behaviors in the network; however, it still has low detection rate and high false alarm rate especially for anomalies with fewer records. In this paper, we propose an effective IDS by using hybrid data optimization which consists of two parts: data sampling and feature selection, called DO_IDS. In data sampling, the Isolation Forest (iForest) is used to eliminate outliers, genetic algorithm (GA) to optimize the sampling ratio, and the Random Forest (RF) classifier as the evaluation criteria to obtain the optimal training dataset. In feature selection, GA and RF are used again to obtain the optimal feature subset. Finally, an intrusion detection system based on RF is built using the optimal training dataset obtained by data sampling and the features selected by feature selection. The experiment will be carried out on the UNSW-NB15 dataset. Compared with other algorithms, the model has obvious advantages in detecting rare anomaly behaviors.
Purpose in industry, electric actuators are the main device to control valves. In order to solve the problem that users can monitor and control their valves anytime and anywhere. The communication method of NB-IoT is adopted to control the electric actuator accordingly. The main control chip of the system is STM32 chip, which can collect the specific information of the valve position. The position information of this valve is uploaded to Aliyun IoT platform through the BC20 chip which adds all collected messages to the database and operate the electric actuator remotely on the corresponding interface to achieve control of the valve. Complete remote monitoring and control of electric actuators.