| Pathological consultation is one of the routine work of pathology department.Its purpose is to gather ideas and improve the quality of pathological diagnosis by consulting various opinions,so as to specify a better treatment plan for patients.With the further integration and development of digital,network and high-definition video technology,information-based pathological consultation has attracted more and more attention.Microscopic examination is the most basic examination method in pathological examination,which can perform biopsy,cell examination and so on.Optical microscope has simple structure and wide application,and is an essential instrument in pathology department.However,in pathological consultation,doctors can’t watch the pictures under the optical microscope at the same time,which reduces the efficiency of doctors’ communication and affects the consultation.Some of the solutions proposed to solve the problem of view-sharing are expensive and inconvenient to operate,which puts great pressure on the primary medical system.In view of the above problems,this thesis develops a microscope view-sharing system suitable for pathological consultation based on traditional optical microscope.Doctors can use handheld devices to watch microscope pictures at the same time in the same wireless LAN,and realize intra-departmental consultation.They can also transmit microscopic pictures on the Internet to realize remote pathological consultation.This system can meet the needs of doctors’consultation,facilitate the communication between pathologists,and help primary pathology departments to improve the diagnostic level.In order to realize this project,this thesis first analyzes the requirements of the system,and divides the system into several functional modules according to the specific functional requirements,namely,image acquisition and coding module,streaming media distribution module,system management module and system update module,which makes the architecture of the system clearer and convenient for subsequent development.After that,according to the system requirements,RK3399 development board with high performance and video processing unit was selected as the system development platform,and the system was designed in detail around the generation and transmission of video stream.The V4L2 framework is used to collect images from camera and transmit them to the coding unit,and the MPP video processing platform provided by RockChip is used to realize hardware video encoding,which greatly improves the video encoding efficiency and reduces the CPU occupation.In order to realize the video stream distribution,an RTSP streaming media server is implemented in the system,which provides the video distribution function of local area network,so that doctors can watch the picture under the microscope in real time during pathological consultation.Because the system is mainly used in the medical process,it needs high reliability and maintainability.This thesis specially develops the system update module to better maintain the system and facilitate the later system update.There are many modules in the system.In order to better manage and schedule the system,this thesis develops a whole set of system management modules to control the work of each module,and realizes the system management interface by using HTTP protocol,through which users can control the system in various ways and simplify the user configuration process.Finally,the designed system is tested to ensure that it meets the real-time and reliability requirements.The microscope sharing system developed in this thesis can enable pathologists to use mobile devices for pathological consultation without affecting the use of microscopes,enhance the function of microscopes,help primary pathology departments to realize digital diagnosis with less investment,and improve the diagnosis level of primary pathology departments. |