<figure><img src="image_1.png" /></figure>

HAL
open science

Design and Implementation of Greenhouse Remote
Monitoring System Based on 4G and Virtual Network

Guogang Zhao, Yu Lianjun, Haiye Yu, Guowei Wang, Yuanyuan Sui, Lei Zhang

► To cite this version:

Guogang Zhao, Yu Lianjun, Haiye Yu, Guowei Wang, Yuanyuan Sui, et al. Design and Implementa-
tion of Greenhouse Remote Monitoring System Based on 4G and Virtual Network. 9th International
Conference on Computer and Computing Technologies in Agriculture (CCTA), Sep 2015, Beijing,
China. pp.455-462, 10.1007/978-3-319-48354-2_45 . hal-01614209

HAL Id: hal-01614209

https://inria.hal.science/hal-01614209

Submitted on 10 Oct 2017

**HAL** is a multi-disciplinary open access
archive for the deposit and dissemination of sci-
entific research documents, whether they are pub-
lished or not. The documents may come from
teaching and research institutions in France or
abroad, or from public or private research centers.

L'archive ouverte pluridisciplinaire HAL, est
destinée au dépôt et à la diffusion de documents
scientifiques de niveau recherche, publiés ou non,
émanant des établissements d'enseignement et de
recherche français ou étrangers, des laboratoires
publics ou privés.

<figure><img src="image_2.png" /></figure>

Distributed under a Creative Commons Attribution 4.0 International License
Design and Implementation of Greenhouse Remote
Monitoring System Based on 4G and Virtual Network

Guogang Zhao<sup>1,2,a</sup>, Yu Lianjun<sup>4,b</sup>, Haiye Yu<sup>1,2,c,*</sup>, Guowei Wang<sup>1,2,3,d</sup>,
Yuanyuan Sui<sup>1,2,e</sup>, Lei Zhang<sup>1,2,f</sup>

<sup>1</sup>College of Biological and Agricultural Engineering, Jilin University, Changchun 130022, China;

<sup>2</sup>Key Laboratory of Bionic Engineering, Ministry of Education, Changchun 130022, China;

<sup>3</sup>School of Information Technology, Jilin Agricultural University, Changchun 130118, China;

<sup>4</sup>Changchun City Academy of Agricultural Sciences, Changchun 130111, China

<sup>a</sup>zhaoguogang2000@qq.com, <sup>b</sup>120142901@qq.com, <sup>c</sup>haiye@jlu.edu.cn,

<sup>d</sup>41422306@qq.com, <sup>e</sup>suiyuan0115@126.com, <sup>f</sup>z_lei@jlu.edu.cn

**Abstract.** In modern agriculture, the temperature of the greenhouse is one of the main factors that affect the growth of crops, which plays an important role in the growth of crops. Based on 4G and virtual network technology, this paper designed greenhouse remote monitoring system, which can automatically collect, remotely transfer, automatically store, analyze and process temperature data of greenhouse.

**Keywords:** Agricultural Modernization, 4G, Virtual Network, Automatic Collection

# 1 Introduction

China is a populous country, the stable development of agriculture, and the stability of society. In the 2015 government work report, Premier Li Keqiang made it clear that: "to accelerate the agricultural modernization". Agricultural modernization is the main way to realize the output of agricultural products, increase the quality and increase the income of the farmers. Greenhouse, also called a glasshouse. In not suitable for crop growth season, crops provide a suitable environment for the growth of plants and ensure the crop normal growth. The physiological activities of crops must be carried out at a certain temperature, the temperature is too high, the physiological activity of the crops is accelerated, the temperature is too low, the physiological activities of the crops become slow. So the change of crop growth temperature has an obvious effect on the growth, yield and quality of crops[1-3].

With the rapid development of information technology, it provides a strong support for the modernization of agriculture. The modern greenhouse temperature collection has not need manual collection, can realize the temperature of the automatic collection through the sensor[4,5].
The transmission of data acquisition is from the original wired network to wireless network, such as ZigBee, WiFi, Bluetooth, 3G and so on, more advanced technology to accelerate the development of agricultural modernization[6-8]. In recent years, with the popularization of Internet, the greenhouse temperature collection system also from the past service in a small range of greenhouse, and gradually developed into the same service multi region, a large range of greenhouse. The existing greenhouse temperature monitoring system, the data receiving server access to the Internet, to open a monitoring program, the data packets sent to receive, analyze and store. Such a design can be convenient and quick to achieve data collection and storage, but because the Internet has interoperability, so in addition to the normal data communication Internet, there will be some non normal communication, these non normal communication most are malicious communication. Malicious communication will affect the normal operation of the system, so that the temperature monitoring system can not get normal information, resulting in the normal operation of the greenhouse, the growth and development, yield and quality of crops have a very significant impact.

Using virtual network technology, it can effectively solve this problem, the traditional temperature monitoring system data receiving server is not directly connected to the Internet, instead of using the virtual network to verify the server access Internet, the virtual network authentication server provides authentication function in Internet. The use of virtual network technology to improve the security of the monitoring system, the system's stable operation, to ensure the normal growth of crops in the greenhouse, laid a solid foundation for agricultural modernization.

## 2 System structure

The system structure is shown in Figure 1, the system is based on 4G and virtual network technology, the end of the data acquisition is achieved, and the traditional data acquisition method can effectively ensure the security of data..
<figure><img src="image_3.png" /><figcaption>Fig. 1. The overall architecture of the system</figcaption></figure>

## 3 Temperature Collection

### 3.1 DS18B20

DS18B20 is a commonly used temperature sensor with small size, anti disturbance and high accuracy. Measuring temperature range old-55 DEG C ---+125 DEG C, work in the voltage 3.0v-5.5v, using the sensor, can effectively guarantee the accuracy of the temperature data[9].

### 3.2 Core

In the core chip, often used in hardware and arm. SCM has the advantages of low price, low power consumption, in many ways, SCM is a good choice, but because of its own architecture, the network is not very good, but also the need to update each application. Therefore, the microcontroller does not apply to the design of this paper. ARM processor is a microprocessor which is designed by Acorn Computer Co., Ltd., the ARM processor is designed in 32 place. It can run the operating system Linux, and the complex hardware is developed. Since Linux supports the completion of the TCP/IP protocol, the choice of ARM is more in line with the design of this paper.
S3c2440A, which is produced by the Samsung Corp, based on the ARM920T kernel,
has a dominant frequency of 533MHz, supports WinCE system and embedded Linux
system, RJ45 interface network controller, USB interface[10].

3.3 System

S3c2440A can run WinCE system and embedded Linux system. The embedded Linux
system is based on Linux, and can be run on the S3c2440 Linux operating system.
Embedded Linux system is also open source, free of charge, with excellent
performance. Therefore, the choice of embedded operating system is more in line
with the needs of this paper.

4 Network

4.1 wireless networks

In the greenhouse, if the use of the traditional wired network, due to the environment
is relatively complex, the installation of the cable network to increase the difficulty,
but also in the greenhouse layout too many lines, the watering and fertilization also
increased the difficulty. So in the greenhouse, is not suitable for the installation of
cable network. Mainstream wireless network is divided into two kinds of wireless
LAN and public mobile communication network. In wireless information systems, the
common wireless local area network has ZigBee and Wifi, they are able to provide
wireless network services, but can not provide the service to Internet alone. So the use
of the public mobile communication network to achieve the wireless network, can
provide wireless network services, and wireless network can be directly connected to
the Internet.

4.2 4G

LTE, WIMAX and UMB technology are often referred to as 4G technology, in the
past 3G technology, while providing voice and data communications, and to the 4G,
no voice communications, only data communication. In our country, the 4G
technology is only one kind of LTE. LTE is a global standard, including FDD and
3GPP two models, in this paper, the use of FDD-LTE. Because FDD-LTE developed
earlier than TD-LTE, the technology is more mature, access terminal more, faster, and
more suitable for FDD-LTE in wide area coverage. In the access equipment, is the use
of HUAWEI's B310, the device supports FDD-LTE and VPN services, can provide a
stable wireless network services.
## 4.3 Virtual network

In the greenhouse, if the use of the traditional wired network, due to the environment is relatively complex, the installation of the cable network to increase the difficulty, but also in the greenhouse layout too many lines, the watering and fertilization also increased the difficulty. So in the greenhouse, is not suitable for the installation of cable network. Mainstream wireless network is divided into two kinds of wireless

# 5 Server

## 5.1 Virtual implementation

Linux when the operating system used in this system, so virtual network authentication, is also based on Linux platform implementation, implementation, use the following software: dkms-2.0.17.5-1.noarch、kernel_pppMppe-1.0.2-3dkms.noarch、pptpd-1.4.0-1.el6.x86_64、ppp-2.4.5-5.AXS4.x86_64. Will they package uploaded to the server's/TMP directory.

```
#installation package
rpm -ivh *.rpm,
```

```
#Add in the last
vi /etc/pptpd.conf
#server ip
localip 172.16.26.3
#Assign IP
```

```
remoteip 192.168.26.200-230
```

```
# start server
service pptpd start
Starting pptpd: [OK] # start server
```

```
#Configure the user information
vi /etc/ppp/chap-secrets
```

```
# client server secret IP addresses
wendu pptpd wendu 192.168.26.200
```

```
client # user
server # server
server #password
server # get ip of virtual
```
## 5.2 Virtual test

Client using the Windows operating system test, and can easily show as a result, the input connection of the user name and password, as shown in figure 2

<figure><img src="image_4.png" /><figcaption>Fig. 2. Input user name and password</figcaption></figure>

After the success of the virtual network link status, as shown in figure 3
<figure><img src="image_5.png" /><figcaption>Fig. 3. virtual state of the connection is successful</figcaption></figure>

Can execute commands under Windows, ipconfig, as shown in figure 4
<figure><img src="image_6.png" /><figcaption>Fig. 4. ipconfig command execution results</figcaption></figure>

In the virtual network authentication server, you can perform commands, `ps -ef | grep 172.16.26.11`, check the server connection user state, as shown in figure 5

<figure><img src="image_7.png" /><figcaption>Fig. 5. user to connect this virtual server</figcaption></figure>
# 6 Conclusions

Through the embedded terminal system, the real-time collection of greenhouse temperature data is realized through the 4G wireless network access Internet, and a special virtual network is established. The embedded terminal is connected with the greenhouse temperature monitoring system through the virtual network, which can ensure the effective transmission of the data. Compared with the traditional greenhouse temperature collection system, the security of greenhouse temperature system based on virtual network is obviously higher than that of the traditional network, which makes up the deficiency of the existing system, and provides a more secure and effective guarantee for the development of precision agriculture.

# Acknowledgment

Funds for this research was provided by National 863 subjects (2012AA10A506-4, 2013AA103005-04), Jilin province science and technology development projects(20110217), China Postdoctoral Science Foundation the 54th surface funded(2013M541308), Jilin University Young Teachers Innovation Project (450060491471).

# References

1. WANG Yu-jun, ZHANG Ben-hua. The Current Situation and Developing Trend of Greenhouse Technology[J]. Journal of Agricultural Mechanization Research, 2008,1:249-251

2. Wang Xinkun, LiHong. Current research status and development trend of greenhouse in China[J]. Journal of Drainage and Irrigation Machinery Engineering, 2010,28(3):179-184

3. Qi Fei, Zhou Xinqun, Zhang Yuefeng, et al. Development of world greenhouse equipment and technology and some implications to China[J]. Transactions of the CSAE, 2008,24(10): 279-285. (in Chinese with English abstract)

4. ZHANG JUAN, CHEN JIE, CAI ZHENJIANG. Greenhouse Temperature Collection Based on Multi-sensor Date Fusion Technology[J]. Microcomputer Information, 2007,23(1):153-154

5. Wang Xinyu, Yuan Weiqing. A New Temperature Collection & Monitor System Base on AT89S51 for Greenhouse[J]. Journal of Agricultural Mechanization Research, 2010,9:107-110

6. Bao Changchun, Shi Ruizhen, M a Yuquan, et al. Design and realization of measuring and controlling system based on ZigBee technology in agricultural facilities[J]. Transactions of theCSAE, 2007, 23(8): 160-164. (in Chinese with English abstract)

7. ZHONG Wei-bo, LI Zhong-mei, SHI Jie et al. Design and Implementation of ZigBee-WIFI Gateway for Facility Agriculture[J]. Computer Science, 2014,41(6A):484-486

8. Sheng Ping, Guo Yangyang, Li Pingping. Intelligent Measurement and Control System of Facility Agriculture Based on ZigBee and 3G[J]. Transactions of the Chinese Society for Agricultural Machinery, 2012,43(12):229-233
9. ZHANG Jun. Smart Temperature Sensor DS18B20 and Its Application[J]. Instrumentation Technology, 2010,4:68-70

10. ZHANG Hao, YANG Chun-yan, WANG Xiao-yang. Introduction and application of CMOS chip S3C2440A[J]. Electronic Design Engineering, 2011,19(24):26-29,34