| With the vigorous development of military and scientific research,the status of radar technology has become more and more important,and the appearance of phased array radar has made the deployment method of radar more flexible and more powerful.Therefore,phased array radar has great potential for development.However,the phased array radar data stream has the characteristics of large flow and high transmission rate,and the traditional data stream transmission and storage method cannot withstand the impact of such a high-demand data stream.Therefore,it is very meaningful to design and implement a high-performance transmission and storage system for phased array radar data flow.To sum up,the main work and innovations of this thesis include the following four aspects:(1)Aiming at the problem of insufficient single-core performance of the Central Processing Unit(CPU),this thesis proposes a multi-threading scheme based on the pipeline model,decomposes the tasks,and makes full use of the multi-core advantages of the CPU.At the same time,for the problem of slow communication between threads,this thesis proposes an inter-thread communication scheme based on Mempool and Ring,which eliminates the performance loss caused by the introduction of locked data structures in the traditional scheme.(2)Aiming at the problem of insufficient network buffer performance,this thesis uses the Mbuf structure to encapsulate network frames based on the idea of storing metadata and the data itself and uses the memory pool Mempool to establish a Mbuf object buffer to manage Mbuf objects uniformly.The performance loss caused by the dynamic allocation of memory space during the program running process is avoided,and the problem of program memory overflow is solved.(3)Aiming at the low efficiency of radar data frame reorganization,this thesisproposes a hierarchical framing scheme based on frame pool and frame index pool,which avoids direct manipulation of data and improves data processing efficiency.At the same time,the memory pool Mempool is used as the frame pool to manage the data frames,and the advantage of the memory pool for the reuse of memory space is used to reduce the use of memory space.On the basis of above schemes,this thesis expounds the association mode,operation process,design,and implementation process of each functional module of the system in detail,and conducts a detailed system test of the system.The experimental results show that the functions of each module of the system have been realized,and it can support the transmission and storage of 8-channel data under the premise that the transmission rate is 5Gb/s and the packet loss rate is low.The network transmission and storage solutions used in this system have certain improvements in performance.Compared with the traditional solutions,the network transmission performance is improved by 78%,the disk writes performance is improved by 67%,and the disk read performance is improved by 16%. |