Under the background of emphasizing the safety of agricultural products in China,the market supply of agricultural products is developing in depth in the direction of digitization and intelligence.As a key link in the ecological chain of agricultural products,the market supply of agricultural products has attracted the attention of all sectors of society.There are some problems in the market,such as the lack of correlation between the quality of agricultural products and the supply process,including the lack of early warning,storage and safety in the market.In view of the above problems,by analyzing the characteristics of agricultural product market supply data set,this thesis constructs the agricultural product market supply security early warning index system,designs the agricultural product market supply security early warning scheme based on anomaly detection,and develops the agricultural product market supply security early warning system to provide security early warning application.The main research contents and phased achievements of this thesis are as follows:First,carry out the construction of early warning index system for supply security of agricultural products market.Aiming at the problems of weak relevance and inconsistent standards of agricultural product data,this thesis collects the agricultural product market supply data set,carries out feature selection and construction,feature analysis and partial eigenvalue reduction for the data set,and constructs an early warning index system of agricultural product market supply security including market supply response relationship,market access security index and potential risk security index according to these characteristics.Then,carry out the design of early warning scheme for the supply security of agricultural products market.In this thesis,the anomaly detection is carried out according to the market access security index and potential risk security index in the early warning index system of agricultural product market supply security.Firstly,for the market access security index,the association relationship of agricultural product market supply when the index is abnormal is obtained based on Apriori association analysis algorithm,and then for the potential risk security index,fastlof and best kmeans algorithm are adopted respectively The safety evaluation method based on risk entropy is used for anomaly detection,and the anomaly information of agricultural product market supply data set is obtained through these three methods.Finally,combined with the corresponding relationship of agricultural product market supply,this thesis designs the early warning scheme of agricultural product market supply security,realizes the classification and classification of agricultural product market supply security early warning,and carries out safety early warning of agricultural product market supply.Finally,the design and implementation of the early warning system for the supply security of agricultural products market are carried out.According to the actual demand of agricultural product market supervision,the feasibility analysis,demand analysis,system architecture design,function module design and database design are carried out according to the software engineering method,as well as the detailed design and implementation of the supply security early warning system of agricultural product market. |