| Measurement and control software is a crucial part of the accuracy target testing system.The current software system lacks updates in the underlying technology.There are factors such as excessive logical complexity and unattractive interaction interface.These factors lead to high development costs,unmet functional requirements,and data loss during network transmission.Therefore,this paper proposes an accurate target measurement and control software system design using B/S architecture.This solves the problems of remote use,instability of data transmission module and unintuitive interface interaction,high development cost,and insufficient scalability of C/S-based software system.This paper contains the following research contents:(1)Analyze the accuracy target test system and design the physical structure of the upper computer software system in the accuracy target test system.Based on the overall testing process,the realized functions,and the existing problems to be solved,we propose to design and implement the upper computer software of the accuracy target testing system using B/S architecture.(2)Based on the proposed software system with B/S architecture,a functional requirement analysis was conducted.The functions to be implemented were divided into modules according to the server-side and browser-side of the B/S model.For non-functional requirements,performance requirement analysis,stability profiling,and interface analysis were conducted.(3)Designed the server side of the software system and realized the key data transmission technology.Using the multiplexing of the Netty framework as the key point,the data transmission module is optimized to effectively solve the problem of communication blocking and achieve singlethreaded processing of multiple requests to improve the request processing efficiency;the server data processing scheme is implemented based on Netty to solve the TCP sticky packet unpacking problem,while the heartbeat mechanism of network disconnection and reconnection is studied and applied to the device status monitoring;the design applies Netty’s Web Socket to realize the message pushing from the server side to the browser side,which enables the browser to display data in realtime.It also implements an interactive interface based on the B/S mode browser side,using frontend technology to achieve a friendly interface and improve interaction convenience.(4)Based on the development process,the software system developed and implemented in this paper was evaluated.A strict test plan is designed according to the modules divided by functional requirement analysis,and each component module implemented is tested to ensure that the individual modules are running normally then the software system is verified by cascading,and the basic functions of the upper computer software meet the requirements.For non-functional requirements,the data transmission module is tested in-depth,and the stress test results ensure data communication stability.In addition,the software system designed in this paper has user-friendly interface features.In summary,the test results show that the B/S architecture-based accuracy target measurement and control software system designed in this paper is stable in operation,functional to achieve the expected goals,and has a user-friendly interface,which is a software system worth promoting and applying. |