An information technology-based soil-crop simulation system
By employing a distributed database and Java multithreaded computing technology in the soil-crop simulation system, combined with a B/S architecture, the problem of low efficiency in traditional simulation systems was solved, achieving efficient parallel computing and data management, and improving the efficiency and accuracy of pilot-scale experiments.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INST OF LAND ENG & TECH SHAANXI PROVINCIAL LAND ENG CONSTR GRP CO LTD
- Filing Date
- 2021-12-25
- Publication Date
- 2026-04-17
AI Technical Summary
Traditional soil-crop simulation systems suffer from low simulation and computation efficiency and insufficient data management capabilities, resulting in low timeliness and high cost in pilot-scale trials.
The underlying data layer is constructed using a hybrid model of distributed database HBase and relational database MySQL. Combined with Java multithreaded computing technology and B/S architecture, it achieves parallel computing and efficient storage management, and combines big data technology for data visualization.
It improves the efficiency and accuracy of simulation calculations, reduces costs, enables multi-task parallel processing and high-concurrency data simulation, meets the requirements for multi-parameter synchronous optimization, and improves the efficiency and accuracy of pilot-scale experiments.
Smart Images

Figure CN114398764B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and in particular to a soil-crop simulation system based on information technology. Background Technology
[0002] Traditional soil, water, and crop simulation systems mostly rely on manual detection and calculation, or standalone computer simulation. These methods are inefficient in simulation and calculation, and their data organization and management capabilities are somewhat lacking, with their strength lying primarily in model functionality. Existing technical solutions often improve simulation efficiency by increasing labor costs and upgrading computing configurations, but this inadvertently increases labor and equipment costs significantly. Furthermore, the simulation results from pilot-scale experiments have very low timeliness, failing to maximize the utilization of computer performance in experiments. Summary of the Invention
[0003] This invention provides a soil-crop simulation system based on information technology to solve the problem of low simulation and computation efficiency in existing simulation systems.
[0004] On one hand, embodiments of the present invention provide a soil-crop simulation system based on information technology, comprising:
[0005] The distributed data layer includes a distributed relational database, which consists of the distributed database HBase and the relational database MySQL.
[0006] The logical computing layer is used to provide parallel computing services based on the distributed data layer.
[0007] The Web application layer connects to the logic computing layer via a B / S model. After obtaining the soil-crop simulation task, the Web application layer submits it to the logic computing layer. The logic computing layer generates simulation results through parallel computing and displays them to the user through the Web application layer.
[0008] The soil-crop simulation system based on information technology in this invention has the following advantages:
[0009] (1) The underlying data layer is constructed using a hybrid mode of distributed database HBase and relational database MySQL. The high concurrency and storage performance scalability of the distributed relational database (DRDS) formed by relational database MySQL and HBase effectively solve the problem of coexistence of computing performance and storage management in simulation computing tasks, and improve the efficiency of computing and simulation.
[0010] (2) By fully utilizing the multi-core parallel computing capabilities of the server through Java multi-threaded computing technology, distributed computing with soil-crop model and PEST optimization program is realized. Attached Figure Description
[0011] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0012] Figure 1 A schematic diagram illustrating the composition of a soil-crop simulation system based on information technology, provided in an embodiment of the present invention;
[0013] Figure 2 This is a functional block diagram of the application layer provided in an embodiment of the present invention. Detailed Implementation
[0014] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0015] Figure 1 This is a schematic diagram illustrating the composition of a soil-crop simulation system based on information technology, provided in an embodiment of the present invention. Figure 2 This is a functional block diagram of the application layer provided in an embodiment of the present invention. An embodiment of the present invention provides a soil-crop simulation system based on information technology, comprising:
[0016] The distributed data layer includes a distributed relational database, which consists of the distributed database HBase and the relational database MySQL.
[0017] The logical computing layer is used to provide parallel computing services based on the distributed data layer.
[0018] The Web application layer connects to the logic computing layer via a B / S model. After obtaining the soil-crop simulation task, the Web application layer submits it to the logic computing layer. The logic computing layer generates simulation results through parallel computing and displays them to the user through the Web application layer.
[0019] For example, research has revealed that traditional, mature agricultural management application models and systems mostly rely on foreign-developed software products. These systems are generally based on a single client / server architecture, employing single-threaded computation, resulting in low efficiency for simulating large numbers of tasks, poor user-friendliness, and limited synchronous operability. This invention, however, adopts a web platform based on a browser / server (B / S) model. It leverages the distributed computing capabilities of big data and multi-threaded computing technology to replace the traditional client / server (C / S) desktop stand-alone computing method, optimizing computational efficiency. This allows for simultaneous multi-threaded simulation and parameter tuning of large amounts of long-term data, thus overcoming the limitations of single-machine computing and its low efficiency. Simultaneously, the latest front-end framework is used for data visualization, providing a more user-friendly and interactive display while meeting computational requirements, enabling users to better analyze and mine simulated data. The main technical effects of this invention are as follows: (1) At the data level, by complementing the advantages of distributed databases and relational databases, a hybrid underlying data layer is constructed, which can be used to manage and process different types and different needs of data in simulation tasks. (2) At the system construction level, the agricultural mechanism model and optimization program are embedded in the B / S architecture web application system to ensure that the model can be well integrated into the logical calculation layer of the system and to ensure the accuracy of the calculated results.
[0020] In embodiments of this invention, a hybrid model of "HBase+MySQL" distributed database and relational database is used to construct the underlying distributed data layer. The high concurrency and storage performance scalability of the Distributed Relational Database Service (DRDS), formed by the relational database MySQL and the distributed database HBase, effectively solves the problem of balancing computational performance and storage management in simulated computing tasks. DRDS reduces the processing pressure on individual instances through horizontal and vertical partitioning.
[0021] Simultaneously, by leveraging Java multithreading technology, the parallel computing capabilities of the server's multi-core processors in the logic computing layer are fully utilized to achieve distributed computing incorporating the soil-crop model and the PEST optimization algorithm. Based on the advantages of Java's multithreaded computing capabilities, high-performance servers are fully utilized for task decomposition and simulation calculations. Multiple computing resources are used simultaneously to solve a single computational task; a problem is decomposed into a series of discrete parts that can be executed concurrently. Each part can be further decomposed into a series of discrete instructions. Instructions from each part can be executed simultaneously on different processors. Therefore, an overall control / cooperation mechanism is needed to schedule the execution of different parts. For the PEST optimization algorithm, API calls can be used to further optimize the parameters of the simulation results.
[0022] Furthermore, the system of this invention is based on the characteristics of agricultural system process simulation and data visualization under the B / S architecture, and constructs a visualization application under this architecture. This system has high requirements for the front-end computing framework. The React next-generation mainstream technology framework adopted in this invention has unique advantages in handling high-concurrency computing and fast response. It utilizes its virtual DOM, rich component system and unidirectional data flow, which distinguish it from other mainstream frameworks, and is well applied to the visualization interface of high-concurrency simulation computing.
[0023] In the three-layer system described above, the logic computing layer can use the Spark engine and MapReduce model to provide parallel computing services, while the web application layer can be developed using JavaScript, Java, Python, and C#.
[0024] This invention combines agricultural system process simulation with next-generation information technologies such as Web technology, big data distributed technology, parallel computing frameworks, and multi-threaded asynchronous operations. It changes the traditional single-machine simulation mode and uses information technology to solve the problem of low efficiency in simulating soil parameters in pilot-scale farmland, providing a new technological approach for optimizing experimental field management. The system can be used to analyze the dynamic changes of elements in the soil-crop growth and development process, greatly assisting agricultural production and management. By leveraging the distributed and parallel computing capabilities of big data, this invention replaces the traditional C / S-based single-machine data simulation method. It utilizes a Web environment to host the computational model, coupled with the PEST optimization algorithm to achieve automatic optimization of model parameters. It also provides a new B / S architecture-based dynamic simulation system for soil water, heat, carbon, and nitrogen, making it an important experimental tool for pilot-scale experiments and solving problems such as long cycles, high costs, and regional differences in soil organic reconstruction pilot-scale experiments. The system achieves high-concurrency simulation with parallel tasks and data, allowing multiple users and tasks to simulate synchronously and asynchronously. It supports simultaneous PEST parameter tuning of multiple parameters and implements background computation, improving simulation efficiency and accuracy, and offering new improvements for pilot-scale experiments on farmland environments after land reclamation.
[0025] Figure 2 This is a functional block diagram of the application layer provided in an embodiment of the present invention. In one possible embodiment, the Web application layer includes: a parameter input module for inputting soil-crop related parameters; a simulation calculation module for performing soil-crop simulation calculations based on the parameters; and a result display module for displaying the simulation results.
[0026] For example, the parameters include: soil parameters, meteorological parameters, crop parameters, field management parameters, and organic carbon parameters. Soil parameters include: soil water parameters, soil solute transport parameters, soil heat transfer parameters, and numerical algorithm parameters. Field management parameters include: sowing setting parameters, fertilizer application parameters, and straw return parameters. In addition to the above parameters, soil parameters also include a large number of independent and array-type parameters, which can cooperate to complete the soil simulation during the simulation process. During the simulation calculation, each module uses a specific interface to encapsulate the corresponding functions for simulation calls, and inherits various methods through class relationships to reduce the redundancy of repeated calls in the calculation.
[0027] The software (mainly the Web application layer) in this invention system is deployed on a browser. Chrome or Firefox 3.0 or later are recommended, with a resolution of 1280×1024 or higher. Each module in the Web application layer has a user-friendly interface. For example, the simulation management module provides users with an interface for overviewing, adding, and querying soil-crop simulation projects, facilitating management and searching; the parameter input module is the interface for inputting soil-crop simulation parameters, allowing users to input, view, and modify corresponding parameters; the parameter optimization module provides a "Start Optimization" button, which allows remote startup of the server for parameter optimization calculations. This module uses the PEST algorithm to optimize parameters; the simulation calculation module provides a "Start Simulation" button, which allows remote startup of the server for simulation calculations; and the results display module provides users with simulation results presented in multiple ways, visualizing the data. After parameter optimization, the results display module also shows the deviation between the measured values and the optimized values, allowing for an intuitive assessment of the optimization accuracy.
[0028] In addition to the modules mentioned above, the Web application layer may also include: a simulation management module and a parameter optimization module. The simulation management module is used to display soil-crop simulation projects and manage the addition and query of related projects. The parameter optimization module is used to optimize the parameters entered by the parameter input module based on existing measured values. The simulation calculation module performs soil-crop simulation calculations based on the optimized parameters.
[0029] Specifically, the simulation management module can be integrated with user access control to enable functions such as hierarchical access control, information maintenance, process control, status monitoring, and resource scheduling within the simulation system. Through this module, users can manage simulation records, perform real-time online debugging and offline optimization, improving simulation efficiency and enhancing control over simulation information. Operations performed by the simulation management module include: creating new simulation projects, configuring simulation projects, saving parameter configurations, cloning simulation projects, and deleting simulation projects.
[0030] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including both the preferred embodiments and all changes and modifications falling within the scope of the invention.
[0031] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.
Claims
1. A soil-crop simulation system based on information technology, characterized in that, include: The layers consist of a distributed data layer, a logical computing layer, and a web application layer; among which: The distributed data layer includes a distributed relational database, which consists of a distributed database HBase and a relational database MySQL, and reduces the processing pressure of a single instance through horizontal and vertical partitioning. The logical computing layer provides parallel computing services based on the distributed data layer, and the parallel computing services include: The soil-crop simulation task is decomposed into tasks, and the discrete parts are executed concurrently using a multi-threaded parallel mechanism; and an overall control / cooperation mechanism is set up to schedule the execution of each concurrent part. The logical computing layer embeds a soil-crop model and a parameter optimization program, and calls the parameter optimization program through an API interface. The parameter optimization program optimizes the simulation parameters based on measured values and drives the soil-crop model to perform simulation calculations to generate simulation results. The Web application layer is connected to the logical computing layer via a B / S model. After obtaining the soil-crop simulation task, the Web application layer submits it to the logical computing layer and receives the simulation results returned by the logical computing layer for display. The Web application layer includes at least a parameter input module for inputting soil-crop related parameters, a simulation computing module for starting the simulation calculation, and a result display module for displaying the simulation results.
2. The soil-crop simulation system based on information technology according to claim 1, characterized in that, The Web application layer includes: a parameter input module, used to input parameters related to soil and crops; The simulation calculation module is used to perform soil-crop simulation calculations based on the parameters. The results display module is used to display the results obtained from the simulation.
3. The soil-crop simulation system based on information technology according to claim 2, characterized in that, The Web application layer also includes a simulation management module, which is used to display soil-crop simulation projects and manage the addition and query of related projects.
4. The soil-crop simulation system based on information technology according to claim 2, characterized in that, The Web application layer also includes a parameter optimization module, which optimizes the parameters entered by the parameter input module based on existing measured values, and the simulation calculation module performs soil-crop simulation calculations based on the optimized parameters.
5. A soil-crop simulation system based on information technology according to claim 4, characterized in that, The parameter optimization module uses the PEST algorithm to optimize the parameters.
6. A soil-crop simulation system based on information technology according to claim 2, characterized in that, The parameters include: soil parameters, meteorological parameters, crop parameters, field management parameters, and organic carbon parameters.
7. A soil-crop simulation system based on information technology according to claim 1, characterized in that, The logical computing layer uses the Spark engine and MapReduce model to provide parallel computing services.
8. A soil-crop simulation system based on information technology according to claim 1, characterized in that, The web application layer is developed using JavaScript, Java, Python, and C#.
Citation Information
Patent Citations
Wisdom agricultural management system
CN105160488A
An intelligent irrigation model optimization method and system based on big data
CN109685258A
An implementation method of a crop simulation platform
CN109726468A
Agricultural social intelligent service system based on big data
CN113570192A