And how to do it for digital agriculture step by step
Switching from GPRS to LoRa means that almost all the products need to develop, but it is more important to change the related business idea.
The installation of GPRS is plug and play, and customers can complete it autonomously. LoRa needs to install gateway devices, and each device must have authorization and radio communication. From the beginning of network topology planning considering the gateway number and where to install, which requires a professional installation engineer or training of customers, quality of the radio signal will be affected by different environment and engineering, such as natural or man-made barriers, even plants or artificial buildings. Compared with LoRa technology, GPRS technology does not have such problems.
2. Network connection requirements
4. LoRa server requirements
rent from our imagination, although there are gateways and terminal devices, it is not enough. Basically, the gateway software only between the LoRa and HTTP protocol conversion transfer packets between the Web server and the terminal equipment, the key component is a special layer within the LoRa server distribution platform in the Web side. LoRa server has many functions such as controlling the whole network, transmitting data to the application system and so on. In addition, the LoRa server can also remove duplicate packets, determine the communication channel and transmitting power nodes, storage network and server data packets. In other words, the gateway is a virtual data converter between the terminal device and the LoRa server. This design has its advantages and disadvantages, should ensure the gateway is simple and practical, strong compatibility and low price etc.. However, this is not the case. I hope that as the product increases, the price will decrease.
The server software is very complex and not easy to use, so in many cases, the best use of related services to provide third party service providers. The current market there are many of these companies, such as The Things or Network Loriot, many new companies and products will continue to emerge, they may be in accordance with the gateway or the number of terminals monthly fees and provide other choices, application server can communicate through HTTP API or MQTT LoRa server and third party.
Another new technology in the LoRa application scenario is MQTT (Message Queue Transport). Strictly speaking, it is not part of the LoRa protocol standard, it is optional. MQTT is one of only a few code footprint streamlined version of the information broker, it can be used in any system, so that the message exchange between the device and the software module, module and other modules can subscribe to MQTT for information exchange. All existing LoRa servers can exchange data with application end servers through HTTP API and MQTT.
Why don't we consider using MQTT instead of HTTP API? The problem is that HTTP is a server API, and the application must acquire new data through regular queries. In this way the efficiency is not high, we hope that the LoRa server in the data arrived immediately will be pushed to the user application data. This is the information broker can do, some types of message application subscribers and sorted by the broker lined up these messages will be automatically push. To sum up, the LoRa server has supported MQTT. We only need to add the MQTT client to the application.
(2) Choose suitable gateway for application;
(4) Add MQTT to support application.
(1) Increase the cost budget, set up the installation process and register terminal equipment for installing 1-2 gateways every 5 kilometers;