Font Size: a A A

Research And Implementation Of LoRa Protocol Testing Method Based On Fault Injection

Posted on:2022-07-10Degree:MasterType:Thesis
Country:ChinaCandidate:L ZhangFull Text:PDF
GTID:2518306575465254Subject:Control Engineering
Abstract/Summary:PDF Full Text Request
With the continuous promotion of the application of low-power wide area network LoRa,how to effectively evaluate the compliance of the LoRa protocol in the existing application scenarios and the reliability of the network has become an urgent problem.According to LoRa WANTM1.1 Specification,this thesis designs a LoRa protocol test method based on fault injection,and implements the protocol test software.The main contents of this thesis are as follows:Firstly,through the analysis and research of the existing LoRa protocol,this thesis proposes the overall framework of the LoRa protocol test based on fault injection,that is,the LoRa MAC layer test platform is first built,and this platform can complete the relevant MAC layer protocol test.Above,design a fault injection test mechanism based on the LoRa protocol and embed it in the entire test platform.In this mechanism,a conflict fault injection test method is proposed.The conflict probability is the main fault injection parameter,and the actual data conflict probability of the current network is evaluated by comparing the throughput before and after the fault injection,so as to perform reliable trust analysis.And establish the relationship model between the conflict probability and the spreading factor in the conflict fault injection mechanism,optimize the rate selection scheme according to the conflict probability,and improve the current network throughput;use communication fault injection such as address fault injection,data length fault injection,etc.Evaluate the reliability of the LoRa protocol;use RF fault injection to simulate multi-obstacle application scenarios to evaluate the communication stability of the LoRa protocol.Secondly,this thesis explains in detail the design and implementation process of LoRa protocol test software based on fault injection.From the actual test point of view,by analyzing the needs and purposes of the test,the design realizes the view display function,the test configuration function,the test execution function,the communication interface function,the fault injection function,etc.;in addition,the test message is designed according to the LoRa protocol specification;In order to ensure the real-time performance of the test software,multi-threading is used and the class relationship deployment diagram is given.Finally,with the help of the underlying hardware equipment of the laboratory,a LoRa protocol test platform based on fault injection was built,and the five representative MAC command tests in the protocol were completed.At the same time,fault injection tests were performed.The test results show that the test platform can be effective This proves that the LoRa protocol used by the current network is standardized,and can accurately assess the reliability of the current network.
Keywords/Search Tags:LoRa, Protocol test, Fault injection
PDF Full Text Request
Related items