1 research outputs found

    An Agricultural Tri-dimensional Pollution Data Management Platform based on DNDC Model

    No full text
    Abstract. DNDC is a computer simulation model of carbon and nitrogen biogeochemistry in agro-ecosystems. It is used in agricultural tri-dimensional pollution control widely. Learning from abroad advanced technologies and research methods, we have developed an agricultural tri-dimensional pollution data submission and management platform based on DNDC model. The platform is very important for sharing and building our agricultural carbon and nitrogen chain database. Platform Main Functions This platform is made up of distributed data submission and management module, submitted data centralized management module and assistant DNDC module. The functions of platform are shown in figure 1. Submitted data centralized management Platform can realize central management of submitted data from bases and provides functional interface in which central administrator can modify construction of database directly. It is very convenient and visual for users to operate database. The operation of database construction includes adding and deleting tables and adding and deleting attributes of tables. Assistant DNDC module Functions of the module is shown in Distributed heterogeneous data submission technology In distributed data submission process, the tables submitted by different bases are different. If in designing process, every base is shown all the tables, the system is not well targeted and not convenient for users. But if every base corresponding table is designed in advance, it is also not perfect, because it is possible to change the submitted data tables. The fields in tables are in the same reasons. Aiming at above problems, the platform provides table views and user personal control of submission interface fields display function. At first, users can select needed tables by random in platform and then navigation bar will embody users' personal choice and provide pointed interface. In the next place, users can select corresponding field attributes of tables in function interface and make up personal submission interface. It is convenient for different users to operate. Data submission item by item or in batch technology Distributed data submission and management module mainly realizes different bases and different information submission function. So submission function is the key and difficult problem of the platform. Because the quantity of bases using the platform is not limited and data bulk submitted by bases is not limited, if system only provides submission item by item function, when submitted data bulk is so large, system will waste a lot of time. So system also provides submission in batch function. In submission data item by item, formats of submitted data must be controlled seriously when base administrator submits data to central databases. In submission item by item interface, platform provides description of submitted attributes data format and clear clue of input error. User can realize submit a small quantity of unpacked data correctly. When user needs to submit a mass of packed data, data submitting in batch module is needed and shows superiority fully. The system provides two different batching submission means: â‘  Import from Excel files to database. If user has already stored collected data in definite format in Excel files and can use the batching submission interface to import them to central database quickly after mapping. It can save a lot of importing item by item time. â‘¡ Import data from local database to central database. In many cases, user stores collected data in local database in favor of partial management. At the moment, user can use batching submission module to copy local data to central database quickly. Format conversion technology from database to DNDC model The central database stores data from every base. Administrator stores them in fixed format to many stables in database. When DNDC model is used to stimulate agricultural tri-dimensional pollution preventive treatment, data in database is needed and a lot of them need to be adopted in fixed text document format. Formats of the data in database should be converted to format which DNDC model can recognize and use. Format conversion is a dynamic form. Platform shows all choices possibly used in text files, every table name relevant to DNDC model in database and all fields name of the tables. When user uses the platform, he can decide items in text file and the table and fields in database. Storage DNDC model results to database technology User uses DNDC model to stimulate and get some results. According to different stimulation in different modes, the result files have two formats: txt and csv. The format of result data in above two formats result files is the same and assistant DNDC module can read out and show data items of result files. If user wants read data item in result files in some table in database, he can dynamically select data item in choice box. In the process of reading in, user can decide how to map data items into the fields in tables or whether read data items to correspond tables in database. And txt result file data can be read in five tables in the database and user can decide whether read in tables or which tables should be read in. Csv result file data can be read in System function management mechanism based on role The system has three user roles: central administrator, base administrator and DNDC user. Base administrator collects local base data and submits to platform. Central administrator has all management privilege and can Mutual access technology of DNDC model software and database In the process of DNDC model accumulation software working, users should input relevant data and read in some fixed format text files under some circumstances. All data should be read out from database, so DNDC software is needed to be able to visit database and can read the data. The result data stimulated by DNDC model should be stored in database and DNDC software is required to mutual access with database. Assistant DNDC module can realize DNDC and database mutual access and data transmission. When data is read from database and built up txt files, the platform not only shows txt files but also tables and fields in database. So user can decide how to map by himself. When part of result data from DNDC model is stored in database, result files has different formats and store in different formats. After user selects the loading result files, platform will show every data item and field names of tables in database. User can decide how to map data item in result files to fields of tables in the database and read in result data to database. It is convenient to user. Conclusion Combined with our country ecology system actual situation, introducing foreign developed DNDC model and development carbon and nitrogen emission reduction motivation model can help scientists and engineers judge intuitively and make a strategic decision. So we build up a mutual platform in which collect and manage data for DNDC model. For studying agricultural tri-dimension pollution, validation, amendment and operation agricultural tri-dimension pollution carbon and nitrogen emission reduction motivation model needs a lot of data support, so standardization of database is very important. In the platform, database can receive all the collected data from bases administrator. Central system administrator can adjust database according to types of collected data in order to supporting our country actual situation and DNDC model
    corecore