Study on an information system of vegetable safety production and management

Yihua Zhang, Dongming Li, Yu Wang, Jun Liu, Liang Gao2016 · DOI

Abstract

Establishing complete quality supervision of vegetable production is an important measure and method to improve the quality of vegetables and ensure food safety. In this paper, an information system of vegetable safety production management has been designed, which has provided comprehensive information service from vegetable production to consumption. Linux + Apache + MySQL + PHP method was adopted in the system. Linux was an operating system, Apache was a server, MySQL was the database, and PHP was language used to connect each other. There was B/S 3-layer architecture including performance layer, business logic layer and data layer. QR 2D code with high information capacity was used to manage and trace back to vegetable production information. The encryption and error correction method of QR codes was studied, and a kind of hybrid algorithm based on AES and ECC two encryption algorithms was proposed. The system has provided technical support for informatization and network management in the process of vegetable safety production, strengthened the government supervision, standardized the production management of enterprises and improved the consumer's right to know.

Introduction

As the vegetable industry shifts from a focus on high yield to high quality and non-pollution, traditional oversight methods are struggling to keep up. Consumers lack transparency regarding food origins, and government agencies face difficulties in real-time supervision across fragmented supply chains. This research addresses the need for a unified, secure, and accessible platform connecting farmers, processors, regulators, and consumers.

System Architecture

The system is built on a B/S (Browser/Server) 3-layer architecture, separating the user interface, core processing, and storage. This modularity ensures scalability and ease of maintenance. The technical foundation relies on the LAMP stack: Linux (OS), Apache (Server), MySQL (Database), and PHP (Scripting).

The B/S 3-layer architecture of the vegetable safety management system.

The architecture consists of:

  • Performance Layer: The client-side interface where users interact with the system via browsers.
  • Business Logic Layer: Handles service processing, including the controller and service layers.
  • Data Layer: Manages data storage and retrieval through the MySQL database.

Secure Traceability via Hybrid Encryption

QR codes serve as the physical-to-digital bridge for traceability. To prevent data tampering, the system implements a hybrid encryption scheme combining Advanced Encryption Standard (AES) and Elliptic Curve Cryptography (ECC).

Flowchart of the hybrid AES-ECC encryption and error correction process.

In this hybrid approach, AES provides high-speed encryption for the primary data, while ECC is utilized for efficient and secure key management. Furthermore, Reed-Solomon (RS) error correction is integrated to ensure codes remain readable even if labels are damaged (up to 30% surface damage) during transport and handling.

Data Management and Stakeholder Subunits

The system defines specific internal data structures to support various stakeholders:

  • Vegetable Producers: Manage farmer information, land quality, and records of agricultural materials (seeds, fertilizers, pesticides).
  • Government Supervision: Accesses quality inspection logs and quarantine results to audit production standards.
  • Traceability Inquiry: Provides consumers with a "right to know" by allowing them to scan QR codes and view the full production history.

Conclusion and Future Work

The implemented system successfully demonstrates a robust framework for vegetable production management. By achieving over 30% error-correcting capability in QR codes, it proves viable for real-world agricultural logistics. Future work will focus on integrating Internet of Things (IoT) sensors for automated real-time monitoring of soil and climate conditions, further reducing the reliance on manual data entry.

Summary updated

Abstract

Establishing complete quality supervision of vegetable production is an important measure and method to improve the quality of vegetables and ensure food safety. In this paper, an information system of vegetable safety production management has been designed, which has provided comprehensive information service from vegetable production to consumption. Linux + Apache + MySQL + PHP method was adopted in the system. Linux was an operating system, Apache was a server, MySQL was the database, and PHP was language used to connect each other. There was B/S 3-layer architecture including performance layer, business logic layer and data layer. QR 2D code with high information capacity was used to manage and trace back to vegetable production information. The encryption and error correction method of QR codes was studied, and a kind of hybrid algorithm based on AES and ECC two encryption algorithms was proposed. The system has provided technical support for informatization and network management in the process of vegetable safety production, strengthened the government supervision, standardized the production management of enterprises and improved the consumer's right to know.
BibTeX
@misc{zhang2016study,
  author = {Yihua Zhang and Dongming Li and Yu Wang and Jun Liu and Liang Gao},
  title = {{Study on an information system of vegetable safety production and management}},
  year = {2016},
  doi = {10.2991/nceece-15.2016.184},
}
Figure