Background technology
With the development of society, Internet of Things plays more and more important effect in the work, life of people.Internet of Things mesh
It is preceding to have set foot in extensively in multiple fields such as industry, agricultural, traffic, meter reading, smart homes, and all sorts of flowers are also presented in technology of Internet of things
The grand occasion full cried.And in numerous technology of Internet of things, LoRa has obtained everybody accreditation with its low-power consumption, remote advantage.But
Because LoRa is a kind of wireless communication technology after all, and transmission of wireless signals is easily influenceed by external environment, in order to solve
Various problems of the client encountered in the construction of deployment LoRa web sites and test process, it is disposed in each application scheme
It is preceding, it is necessary to deployment test assessment is carried out to the coverage condition of wireless network on the spot.
Now more typical LoRa handheld tests terminal uses LoRa modules+liquid crystal display+GPS (Global mostly
Positioning System, global positioning system) module scheme, the upstream data of LoRa modules includes GPS by the program
Information, cloud platform is transmitted, data summarization analysis is carried out in cloud platform;Meanwhile LoRa module real-time reception downlink datas
And it is shown on liquid crystal display.But more single RSSI is typically can only see by the liquid crystal display of handheld test terminal
(Received Signal Strength Indication, signal intensity), SNR (SIGNAL-NOISE RATIO, signal to noise ratio)
Deng individual data, and want to see the drive test route of test event, form etc., only after the completion of test, log in displaying backstage
It can just check, so have considerable influence to testing efficiency.
Utility model content
The purpose of this utility model is to provide a kind of handheld test system, it is desirable to provide one kind can by handheld test terminal with
Mobile terminal combines, and checks the test system of test data on mobile terminals.
To achieve these goals, a kind of handheld test system provided by the utility model, the handheld test system application
In LoRa network tests, the handheld test system include handheld test terminal and with the handheld test terminal communication link
The mobile terminal connect;The handheld test terminal is saturating including microprocessor, the LoRa modules, the bluetooth that are connected with the microprocessor
Transmission module and USB turn serial ports;The LoRa modules are used to access network under test and reception according to the instruction of the mobile terminal
Downlink data;The bluetooth transparent transmission module is used to open for mobile terminal and handheld test after the instruction of microprocessor is received
Terminal establishes communication connection in the case where meeting default communication protocol;The USB turns serial ports and is used to pass through OTG connecting lines and mobile end
Communication connection is established in end in the case where meeting default communication protocol;The mobile terminal includes bluetooth transparent transmission module, carrying out opponent
Hold the data that send of test terminal and carry out the analysis module of test analysis, for by the messaging parameter comprising test request
Test instruction is sent to the sending module of handheld test terminal and to show the display module of testing and analysis data.
Preferably, connected between the bluetooth transparent transmission module and the microprocessor using UART interface.
Preferably, the LoRa modules are SX1278 spread spectrum communication modules.
Preferably, the handheld test terminal also includes lithium battery and the lithium battery management being connected with the microprocessor
Module, the lithium battery turn serial ports with the LoRa modules, bluetooth transparent transmission module and USB and are connected.
Preferably, the handheld test terminal also includes the LED being connected with the microprocessor.
Preferably, the bluetooth transparent transmission module of the mobile terminal is the transparent transmission module of bluetooth 4.0.
Preferably, the display module is liquid crystal touch display screen.
Handheld test system provided by the utility model, has the advantages that:
The characteristics of strong is interacted using interface of mobile terminal, configuration and the change for making test parameter on mobile terminals are more square
Just;
Using mobile terminal rich hardware resource, the characteristics of disposal ability is strong, mobile terminal can complete data processing,
Statistics, analysis work, it is no longer necessary to after the completion of test, it is also necessary to manually carry out Data Integration;
It is more accurate using the GPS location algorithm of mobile terminal, the test trails of acquirement;
Handheld test terminal is saved the hardware componenies such as display screen, sensor, is greatly saved by shared mobile terminal hardware
Hardware cost.
Embodiment
The purpose of this utility model is to provide a kind of handheld test system 100, it is desirable to provide one kind can be whole by handheld test
End 101 is combined with mobile terminal 102, and the test system of test data can be directly checked on mobile terminal 102.
Referring to Figures 1 and 2, handheld test system 100 provided by the utility model include handheld test terminal 101 and with
The mobile terminal 102 that the handheld test terminal 101 communicates to connect;The handheld test terminal 101 include microprocessor 40,
LoRa modules 10, bluetooth transparent transmission module 50 and the USB being connected with the microprocessor 40 turn serial ports 50;The LoRa modules 10
For accessing network under test according to the instruction of the mobile terminal 102 and receiving downlink data;The bluetooth transparent transmission module 50 is used
Communicated in opening to preset in satisfaction with handheld test terminal 101 for mobile terminal 102 after the instruction for receiving microprocessor 40
Communication connection is established under agreement;The USB turns serial ports 50 and is used to meet default lead to mobile terminal 102 by OTG connecting lines
Believe and communication connection is established under agreement;The mobile terminal 102 includes bluetooth transparent transmission module (not shown), to whole to handheld test
The data that send of end 101 carry out the analysis module of test analysis, for by the test of the messaging parameter comprising test request
Instruction is sent to the sending module (not shown) of handheld test terminal 101 and to show the display module of testing and analysis data
(not shown).Handheld test system 100 of the present utility model, handheld test terminal 101 is connected with mobile terminal 102, and then
LoRa network datas are transmitted by handheld test terminal 101, and are transferred to the mobile terminal that can be analyzed the data
102, and the testing and analysis data is directly displayed in the display module of the mobile terminal 102, user is carried out at any time
Test and check test result.The handheld test system 100 is conveniently easy to get, and improves testing efficiency.
Specifically, including microprocessor 40, the LoRa moulds being connected with the microprocessor 40 in the handheld test terminal 101
Block 10, bluetooth transparent transmission module 50 and USB turn serial ports 50.Wherein described microprocessor 40 uses ST STM32L low-power consumption system
Row, to realize the functions such as Control on Communication and data forwarding in whole handheld test terminal 101.Wherein, bluetooth transparent transmission mould
Between block 50 and microprocessor 40 using UART (Universal Asynchronous Receiver/Transmitter, it is general
Asynchronous receiving-transmitting transmitter) interface connection.After the start of handheld test terminal 101, microprocessor 40 is referred to by AT (Attention)
Order control bluetooth transparent transmission module 50 enters fixed time broadcast pattern, to find the mobile terminal 102 of the paired connection of energy.With indigo plant
The signal that the mobile terminal 102 of tooth transparent transmission module is broadcast out in the bluetooth transparent transmission module 50 for searching handheld test terminal 101
Afterwards, pairing connection is carried out therewith.Show that handheld test terminal 101 communicates to connect with mobile terminal 102 after pairing successful connection
Success, you can carry out data transmission.It should be understood that established between handheld test terminal 101 and mobile terminal 102 logical
During letter connection, both follow a default communication protocol, and the communication protocol can support handheld test terminal 101 and mobile terminal 102
Directly carry out data transmission.
Mobile terminal 102 in the present embodiment can be mobile phone, tablet personal computer etc., and the present embodiment is with mobile terminal 102
Illustrated exemplified by mobile phone, and be the mobile phone with the operating systems of Android (Android) 4.0;Especially have bluetooth 4.0 saturating
The mobile phone of transmission module version;Also, the memory headroom of the mobile phone need to meet the internal memory in more than 1G, the mobile phone can be with holding
The transparent transmission module of bluetooth 4.0 of test terminal is matched.
In addition, the handheld test terminal 101 in the utility model embodiment is except that can pass through bluetooth transparent transmission module 50 and hand
Outside machine is attached, serial ports 50 can also be turned using USB by OTG (On-The-Go) connecting line, connection mobile phone is with holding
Terminal 101 is tested, it is established communication transmission passage.Before OTG communication connections are established, corresponding driving journey is installed on mobile phone
Sequence, you can complete automatic identification.Handheld test terminal 101 is used as OTG slaves, and mobile phone carries out serial communication as OTG main frames;
OTG interfaces connection simultaneously can provide 5V voltages for the equipment of handheld test terminal 101, can be by lithium battery management module 60
Lithium battery 70 charges.
Further, LoRa modules described in the present embodiment 10 is SX1278 spread spectrum communication modules, the LoRa modules 10 with
Using SPI interface connection (Serial Peripheral Interface, Serial Peripheral Interface (SPI)) between microprocessor 40;Should
LoRa modules 10 are used to access LoRa networks to be measured, it may also be used for realize and send upstream data, receive downlink data etc.
The transmitting-receiving of LoRa network tests instruction.
Handheld test terminal 101 and the communication process of mobile phone are as follows, and the microprocessor 40 in handheld test terminal 101 receives
After the instruction such as radio frequency parameter, transmission control parameters to mobile phone, control LoRa modules 10 are given out a contract for a project, and gateway receives handheld test end
101 uplink packets are held, carry out descending response as requested, microprocessor 40 controls LoRa modules 10 to receive downstream packets, is pass-through to hand
Machine.By being analyzed and processed to the data received, the data after most analyzing and processing at last are shown mobile phone on display module
Out.Wherein, main test data includes LoRa networkings, the success rate of upstream data transmission times, the situation of packet loss, LoRa
Radio frequency parameter, the radio frequency parameter include spreading factor, frequency and power etc., above-mentioned parameter are carried out into statistical on mobile phone
Analysis.
Wherein the display module of mobile phone is liquid crystal touch display screen.
Further, the handheld test terminal 101 also includes LED 20, the lithium electricity being connected with the microprocessor 40
Pond 70 and lithium battery management module 60.In the present embodiment, lithium battery management module 60 includes battery voltage monitoring module and electricity
Pond charge and discharge control IC (Integrated Circuit, integrated circuit), voltage monitoring module are detecting the voltage of lithium battery 70
When insufficient, under-voltage indicator lamp lights, and notifies microprocessor 40 to take corresponding measure, prevents battery over-discharge;Battery charges
Control IC to be used to carry out charge control to lithium battery 70, charged state by the real-time display of LED 20, battery charge control IC's
DPPM (Dynamic Power Path Management, dynamic power supplies path management) function ensures powering load and battery
Charging simultaneously independent can be carried out, and lithium electricity service life and charging safety is effectively ensured.
Wherein, the lithium battery 70 also turns serial ports 50 with the LoRa modules 10, bluetooth transparent transmission module 50 and USB and connected
Connect, to turn the connection power supply of serial ports 50 for the LoRa modules 10, bluetooth transparent transmission module 50 and USB.
The handheld test system 100 of the utility model embodiment, take full advantage of the strong spy of the interface alternation of mobile terminal 102
Point, configuration and the change for making test parameter on mobile terminal 102 are more convenient;Using the rich hardware resource of mobile terminal 102,
The characteristics of disposal ability is strong, data processing, statistics, analysis work can be completed in mobile terminal 102, it is no longer necessary to testing
Cheng Hou, it is also necessary to manually carry out Data Integration;Using the GPS location algorithm of mobile terminal 102, the test trails of acquirement are more
Precisely;Handheld test terminal 101 saves the hardware componenies such as display screen, sensor, pole by the hardware of shared mobile terminal 102
Save hardware cost greatly.
Specific case used herein is elaborated to utility model design, and the explanation of above example is
It is used to help understand core concept of the present utility model.It should be pointed out that for those skilled in the art,
On the premise of not departing from utility model design, any obvious modification, equivalent substitution or other improvement for being made all should
Within the scope of protection of the utility model.