农业工程学报
農業工程學報
농업공정학보
2013年
24期
268-274
,共7页
陈联诚%胡月明%张飞扬%段文杰%余平祥
陳聯誠%鬍月明%張飛颺%段文傑%餘平祥
진련성%호월명%장비양%단문걸%여평상
设计%农产品%网站%云计算%追溯%水产品%负载均衡
設計%農產品%網站%雲計算%追溯%水產品%負載均衡
설계%농산품%망참%운계산%추소%수산품%부재균형
design%agricultural products%websites%the cloud computing%trace%aquatic product%load balancing
农业生产及环境的信息采集是农业信息系统的重要环节,无线传感器网络以它的低成本、无线传输等优势广泛应用于农产品安全追溯的信息采集中。由于无线传感器网络长年不间断信息采集的积累,数据库的大信息量及网站用户高访问量将对网站服务器造成高负载的压力,这将导致网站的响应速度大大降低。采用高存储、高负载处理性能云计算计算技术,能提高网站访问的响应速度,提高网站的访问性能。该文设计了基于私有云的农产品安全追溯网站,研究了Hill-Climbing搜索算法优化云平台配置及MapReduce对大数据的并行计算,提高了私有云上的农产品安全追溯系统的性能。通过将网站系统迁移至私有云的前后的比较试验,说明将网站系统迁移至私有云后各方面性能得到较大提升,网站访问响应速度提高了33%。
農業生產及環境的信息採集是農業信息繫統的重要環節,無線傳感器網絡以它的低成本、無線傳輸等優勢廣汎應用于農產品安全追溯的信息採集中。由于無線傳感器網絡長年不間斷信息採集的積纍,數據庫的大信息量及網站用戶高訪問量將對網站服務器造成高負載的壓力,這將導緻網站的響應速度大大降低。採用高存儲、高負載處理性能雲計算計算技術,能提高網站訪問的響應速度,提高網站的訪問性能。該文設計瞭基于私有雲的農產品安全追溯網站,研究瞭Hill-Climbing搜索算法優化雲平檯配置及MapReduce對大數據的併行計算,提高瞭私有雲上的農產品安全追溯繫統的性能。通過將網站繫統遷移至私有雲的前後的比較試驗,說明將網站繫統遷移至私有雲後各方麵性能得到較大提升,網站訪問響應速度提高瞭33%。
농업생산급배경적신식채집시농업신식계통적중요배절,무선전감기망락이타적저성본、무선전수등우세엄범응용우농산품안전추소적신식채집중。유우무선전감기망락장년불간단신식채집적적루,수거고적대신식량급망참용호고방문량장대망참복무기조성고부재적압력,저장도치망참적향응속도대대강저。채용고존저、고부재처이성능운계산계산기술,능제고망참방문적향응속도,제고망참적방문성능。해문설계료기우사유운적농산품안전추소망참,연구료Hill-Climbing수색산법우화운평태배치급MapReduce대대수거적병행계산,제고료사유운상적농산품안전추소계통적성능。통과장망참계통천이지사유운적전후적비교시험,설명장망참계통천이지사유운후각방면성능득도교대제승,망참방문향응속도제고료33%。
Information collection of the production, supply and marketing chain in agriculture is an absolutely necessary part in the driving process of construction of agricultural informationization. As a new technique in collecting information, and relying on its low cost, low power consumption and wireless transmission, a Wireless Sensor Network (WSN) has already permeated into the agriculture area. For an agricultural information system which employs a wireless sensor as its collection terminal, there is no doubt that the uninterrupted process for information collection, transmission, and storage, as well as inquiries from a large number of users, puts so much pressure on the system server, resulting in a low speed for web access and inquiry. The response time and response rate when visiting a web site are key points of a web site’s performance. A supporting platform that has the capacity of mass storage and dealing with high concurrency traffic, therefore, is necessary for a Safety Tracing System for Agricultural Products. A cloud computing platform has an ability of cooperative working with multiple servers, and is able to share the load pressure caused by dealing with mass storage and high concurrency traffic. Following the agricultural Internet of Things, it is necessary to introduce a cloud computing platform to agriculture. The research group has undertaken 13 projects assigned from Science and Technology Department of Guangdong along with Economy and Information Commission in the past two years, including breeding safety, tracing, and electronic business for agricultural products. In order to meet the demand from the Economy and Information Commission, different platforms will be combined into one-Safety Tracing and Trade Platform for Agricultural Products. Recently, the research team has paid attention to setting up the Safety Tracing Platform on the basis of the breeding Internet of Things, dealing with some agricultural products like chickens, rabbits, fish, flocks, and herds. As a result of there being so many kinds of products and mass data required, it is quite necessary to bring a cloud computing platform into this system. It can raise the response rate of visiting a web site and improve the visiting performance by using a cloud computing technique that has a good performance on high storage and heavy load processing. A Safety Tracing System for Agricultural Products based on a cloud computing platform has been designed, and the performance of a system web site has been promoted. Based on a cloud computing platform, the Safety Tracing System for Agricultural Products described in this paper can be divided into three sub-systems logically - a cloud computing platform, a Safety Tracing Subsystem for Agricultural Products, and an Information Collection Subsystem in a WSN environment which is installed in a Zhuhai Production Base. The Bingo cloud platform based on Amazon EC2 was used to develop a private cloud in a cloud computing platform. The SQL Server database and NET language were used to develop a Safety Tracing Subsystem for Agricultural Products. WSN was adopted in an Information Collection Subsystem to collect indicators like temperature, PH value, and humidity during the production. As the first step of the project, the cloud computing platform was constructed, the Safety Tracing Subsystem for Agricultural Products was put onto the platform, and the Wireless Sensor Acquisition Subsystem was connected with the platform, and the construction of the Safety Tracing Subsystem for Agricultural Products based on a cloud computing platform has been finished so far. Secondly, a search algorithm called Hill-Climbing was used to optimize the Safety Tracing Subsystem for Agricultural Products based on a cloud computing platform. Then, to deal with mass data, Mapreduce was used for concurrent processing. The map function receives data and outputs key-value pairs as the middle output after processing. The output from the map function was processed by the Mapreduce framework before being sent to the reduce function. This processing sorts and groups the key-value pairs by keys. Then the reduce functions receive the pairs with the same key and give the final output. This is the advantage of cloud computing:a mass data is cut up into pieces and are passed to CPUs for concurrent processing, which improves the performance of the system on the cloud platform. Here is how the system works:wireless sensor transmits the data of the field information collected from a locale to the cloud database. The cloud computing platform will automatically assign the storage to the data. When customers trace the product information, the platform will automatically balance the tasks of information querying with high traffic and heavy load, making several servers working cooperatively so that it can return the information to customers quickly. Besides, the platform also can use Mapreduce to cut up a mass data into pieces for many CPUs to process concurrently. Research on the heavy load processing performance of cloud computing platform when dealing with storing mass data and high traffic was conducted and the response time of dealing with high traffic based on the platform were described in this paper. The capacity of processing by sharing the heavy load also examined. By comparing the capacity of the cloud computing platform server with that of a general server, the results indicated that there is an all around advance after carrying the system from a general server to a cloud computing server. The response rate of visiting a web site was raised by 33%.