Font Size: a A A

Design And Implementation Of Communication Module Testing Software

Posted on:2018-05-22Degree:MasterType:Thesis
Country:ChinaCandidate:Y ChenFull Text:PDF
GTID:2348330518494427Subject:Computer technology
Abstract/Summary:PDF Full Text Request
Along with the machinery and equipment coming into use in the actual production of life, The problems of equipment can't working safety, which are caused by factors such as aging, unqualified functions ,become more and more concerns. How to verify the equipment's function becomes a problem. This paper, which presents the communication module testing software, is in view of testing machinery and equipment. The equipment is divided into Encoding and decoding equipment, so we validate whether the operation of encoding and decoding function is normal.The main research contents of the paper includes how to generate the original data, extract and display the test data, parse and save the test data and generate test results. And put forward an external device models and the ring respectively, by excluding itself from the ring pattern software disturbance to the test results. Software architecture is divided into software communication layer, business logic layer, view layer and data persistence layer.Software communication layer, including connection control and protocol design, solves the problem of data interaction. The business logic layer mainly includes testing process control, extraction test data and parsing test data. Control of testing process solves how to start and stop testing process, selection of test model and the original data.Message extraction solves the problem of data matching and data be disconnected. Message parsing solves how to count test data and compare test data to generate loss, right and wrong information. View layer using MFC technology to realize data display interface, the original generated interface and state display interface. Data display interface solves how to show the test data in the form of distinguishing between window and channels. The original generated interface solves how to provide an easy operation interface for the testers to generate test data according to the format. State display interface solves how to display the current state of the equipment. Data persistence layer includes test data persistence and test report generation. Test data persistence solves how to put the original,encoding and decoding data into a text file. And test report generation solves how to record the test process of discarded, loss, right and wrong information. Finally, tests the functionality and performance of the communication module testing software, indicating that software can verify the encoding and decoding function of the equipment.
Keywords/Search Tags:test software, MFC, protocol design, equipment test
PDF Full Text Request
Related items