| The outbreak of the COVID-19 has brought a huge challenge to the public health and security of the world.In order to effectively block the spread of the virus,it is very important to screen and confirm the infection quickly and effectively.At present,clinical diagnosis is mainly based on the patient’s clinical manifestations,chest CT and laboratory examinations.In laboratory tests,real-time fluorescent RT-PCR is the current diagnostic gold standard.However,if there are quality control problems in sample collection,testing,and result interpretation,the results will inevitably be biased,leading to false negatives or false positives.In order to break through the limitations of existing detection technology on personnel and places,the Institute of Ultra-precision Optoelectronic Instrument Engineering of Harbin Institute of Technology has developed the project“Integrated Equipment and Reagents for Rapid Detection of New Coronavirus Nucleic Acids”,which shortens detection time and improves detection efficiency and accuracy through instrument automation and the development of high-sensitivity reagents.As the intermediate software stage of the project,the rapid detection platform software system of the SARS-Co V-2 nucleic acid researched by this subject mainly realizes the automatic analysis and processing of the raw data of nucleic acid detection and generates print reports.Because some functions of the software may need to be connected to different external systems with different application scenarios,a service host structure based on dependency injection is implemented at the bottom,and additional functions can be injected into the program through plug-ins.On the user interface,according to the acquired test data,the sample results are presented in the form of test panels,and the fluorescence amplification curve of the selected sample is drawn for review and revision of the results.For the interpretation of nucleic acid test results,a domain-specific language developed for end-users designed to describe the rules of result analysis in a manner close to natural language.It laid the foundation for the subsequent changes in the interpretation plan that may follow the progress of the detection and medicine research and the emergence of other virus detection occasions.At the implementation level,the parser based on the parser combinator to realize the analysis rule language is studied.And according to the language characteristics,a set of static inspectors is designed and implemented for the analysis rule language,which can effectively reduce the possibility of errors when users write analysis rules.Finally,automated unit testing and manual integration testing are carried out on the program to verify the correctness of its functions. |