| With the development of Wireless technology and Internet of things,Wireless Sensor Networks(WSNS)node location technology and information sensing technology have become the current research hotspot,the localization algorithm based on RSSI ranging has been widely studied and applied in many fields because of its high precision,low complexity and strong robustness.And the prison,as a national criminal law enforcement agency,is an important place for the management,education and reform of prisoners.The use of positioning technology for prisoners can not only improve the working efficiency of the police on duty,and it can guarantee social security,safeguard social fairness and justice.Aiming at the traditional algorithm based on RSSI ranging and location,the nodes influence each other in the course of location,the signal will have multipath effect in the course of signal propagation,and the signal will be affected by the obstacle and the shielding of the occluded object,the signal intensity will decrease with the increase of the propagation distance,so that the positioning accuracy will be reduced and it is difficult to meet the requirement of the prison system.Aiming at this reason,this paper puts forward the mean clustering Algorithm K-means algorithm to improve the traditional localization algorithm,classifies the signal attenuation index in different environments by K-means Algorithm,and selects the best signal attenuation index in the current environment,thus,the error of localization algorithm is reduced and the accuracy of localization is improved.The method of dynamically obtaining the comprehensive path attenuation index by means clustering Algorithm improves the positioning accuracy of prisoners to a certain extent,but there are still unavoidable errors,the parameters are further optimized to minimize the error due to the measurement distance.Because of the special requirements of the prison security,to prevent prisoners from escaping by means of space climbing or underground excavation,so the spatial location of prisoners also needs to be located.This article extends the positioning of personnel from the two dimensional plane to the 3D.Finally,the requirements of the personnel positioning system are analyzed,and a personnel positioning system is designed to meet the needs of prisoners,the improved algorithm is proved to be more accurate by comparative experiments.Figure 31 table 6 reference 71... |