This paper provides an in-depth study and analysis of the construction of a cloud-based agricultural Internet of Things system for a wireless sensing network system for leisure agriculture. Using more mature agricultural sensor technology, compliant economy designed for indoor feeding and planting of distributed and integrated two sensor collection and transmission scheme, analysis of environmental factors selected high-performance various types of sensors and regulation equipment, between nodes based on SI4432 for wireless communication, and controller nodes selected STM32 as a microprocessor, through the W5500-based network port access module or ESP8266-based WiFi module for broadband access. In response to the development of mobile technology and the reality of diversified types of mobile terminals, to make all kinds of terminals accessible to the leisure agriculture system, the server software adopts the SOA software architecture, which makes the system have good openness and scalability. The NoSQL database MongoDB is used for the cloud storage of massive data, and the data structure design is completed after analyzing the database requirements, including collections, documents, and fields. The autosharding technology is used to build a database sharding cluster in the cloud, which realizes the high-speed cloud elastic storage of massive data and rewrites the database access object DAO to ensure that the WEB application is normal. Traditional leisure agriculture is mostly based on field tourism and agritourism methods, and the model is developing slowly and has increasingly failed to attract the interest of urban residents. The introduction of IoT technology in traditional leisure agriculture can increase the interest of leisure agriculture and improve the interest of urban residents in leisure agriculture.
Loading....