Reservoir multi-level management mobile application system based on cloud service
Technical Field
The invention relates to the technical field of intersection of mobile communication application and reservoir management technology, in particular to a reservoir multi-level management mobile application system based on cloud service.
Background
According to the first water conservancy general survey statistics, 9.8 balance seats of the existing reservoirs in China are gradually transited from reservoir construction to reservoir operation management along with the completion of reservoir construction period.
The scientific management of reservoirs and reservoir groups is always a core problem focused by water management departments at all levels, although business departments establish informationized systems such as water rain condition monitoring, dam safety monitoring, video monitoring and gate monitoring according to management needs, the business departments lack of unified planning in the early stage of informationized construction, so that the operation environments of the systems are large in difference and low in integration level, and the problems of incompatibility, inflexibility, concentration, difficulty in maintenance and the like are caused, and most reservoir management units do not deeply apply engineering operation data, do not informationize management business, and the operation management of the reservoirs is still in an original state.
Along with the development of information technology, the running state of the reservoir is timely and accurately mastered by means of informatization, and real-time water resource allocation is an effective means for solving running management. At present, although a part of reservoir management units establish an informatization system of a PC client, the real-time problems of insufficient information interaction, limited management level, insufficient service coverage, mutual independence among systems and the like exist, and the current operation management new mode requirement of multistage real-time linkage still cannot be met.
The development of mobile internet technology and cloud technology promotes the rapid formation of a novel management mode taking mobile application as a core, and because the mobile application system breaks time and space limitations, an open communication platform brings very convenient and efficient experience to a water reservoir management unit, so that more and more management units are more hopeful to manage reservoirs at mobile clients, the mobile application system not only realizes the integration of information and services in reservoirs, but also opens up an information barrier between the reservoir management unit and an upper water pipe department, realizes the linkage of multi-level management services, has low hardware investment and low maintenance cost, and fundamentally solves the core problem of reservoir management.
Disclosure of Invention
The invention aims to provide a reservoir multi-level management mobile application system based on cloud service, which is used for improving timeliness and convenience of reservoir management departments at all levels on reservoir dynamic supervision, breaking restrictions of reservoir management on professional technology and time space, and fundamentally solving the problems of reservoir multi-level real-time dynamic supervision and the like.
The invention provides a reservoir multi-level management mobile application system based on cloud service, which is characterized by comprising a data acquisition layer, a data conversion layer, a cloud service platform layer and a mobile application layer;
the data acquisition layer is deployed on a reservoir site, different instruments or equipment are installed according to the requirements to acquire reservoir information of the reservoir dam for real-time monitoring, and the data types of the reservoir information comprise engineering characteristics, water conditions, rain conditions, dam safety monitoring, flood forecast scheduling, gate monitoring, video monitoring, personnel and materials and operation management information; reservoir operation original data acquired by the data acquisition layer are stored in an original database;
the data conversion layer is used for coarse error screening, intermediate result calculation and statistical data conversion of the original data, reservoir operation monitoring data in the original database are uploaded to the cloud service platform layer through an ETL tool, the ETL tool is arranged on an original data storage server positioned on a reservoir site, the ETL tool remotely invokes Web services published on the cloud service platform layer, and the original data are sent to a front database of the cloud platform service layer for temporary storage through a TCP/IP protocol so as to prepare for the next data conversion;
the cloud service platform layer adopts a private cloud built by a KVM+Hadoop technical architecture and comprises a data storage module and a data calling service release module; the data storage module comprises a preposed database and a service database, the preposed database receives and stores the original data, and the service database receives and stores the effective data processed and converted by the data processing module and can be directly utilized by the mobile application layer; the data calling service release module provides data calling service for the outside in the form of Web API, and provides continuous and stable data access support for information interaction of the data conversion layer and the mobile application layer;
the mobile application layer realizes remote uploading and retrieving of data by calling a Web API interface published on the cloud service platform layer, is used for receiving an external command and displaying reservoir information and running states according to the external command, and is installed on the mobile device or the PC end.
The cloud service platform layer consists of 4 servers, one Server is a Master node, three servers are Slave nodes, the 4 servers form a Hadoop complete distributed environment, a Master node operating system is centros, 4 virtual machines are virtualized through a Virt-Manager, a CPU, a memory and a storage space are distributed according to requirements, the operating system is Windows Server 2012, the four virtual machines are respectively an application Server, a prepositive database Server, an internal database Server and a Web Server, wherein the application Server is used for collecting reservoir operation monitoring data, the prepositive database Server is used for storing original data, the internal database Server is used for storing converted monitoring data, the Web Server is used for providing Web API data service for a mobile client, the four servers correspond to fixed IP addresses, the prepositive database Server and the Web Server are mapped to an internet on a router, so that the mobile client can access the mobile application layer through the mobile network and is used for receiving external data information and providing data uploading and access service for the outside.
The service interfaces of the Web API are divided into three types, namely reservoir data uploading service, public network data integration service and mobile application business service; the first type of service is called by an ETL tool deployed on the reservoir site and is used for uploading water rain condition data, gate monitoring data and engineering management information acquired on the reservoir site to a preposed data server; the second type of service is called by a communication program published on the application server and used for collecting dam safety monitoring data located in the cloud; the third class of services is invoked by the application system on the mobile application layer to apply for data resources and upload data information.
The mobile application layer comprises a graph module; after receiving an external command for opening one image module, one image module calls reservoir information of a preposed database in the cloud service platform, displays the reservoir water level station and the rainfall station distribution in a map mode, distinguishes the station states through colors, displays the image map of the area of the reservoir, the water level station, the rainfall station, the dam safety monitoring point, the image station and the gate monitoring point on one image, and displays the amplifying, shrinking and reservoir positioning buttons on the right side of the map. The information classification of a graph is completed at the time of system initialization.
The mobile application layer comprises an engineering characteristic module, the engineering characteristic module receives an external command of opening the engineering characteristic module, and then invokes reservoir information in the cloud service platform, wherein the reservoir information comprises names, regions where the reservoirs are located, a main management unit, an operation management unit, design and construction information, total reservoir capacity, normal water storage levels, flood limit water levels, flood regulating reservoir capacity, flood control reservoir capacity, xingli reservoir capacity, check flood levels, design flood levels and dead water levels, the corresponding relation of the water level reservoir capacity is obtained according to reservoir information calculation and is displayed through a curve, the curve display and the curve display are used for representing the water level in terms of meters, the ordinate represents the reservoir capacity in terms of hundred million cubic meters, and the current real-time water level and the reservoir capacity are marked through green points on the curve.
The mobile application layer comprises a water rain condition monitoring module, the water rain condition monitoring module receives an external command for opening the water rain condition monitoring module, rainfall information and water level information in the cloud service platform are called, the water rain condition monitoring module divides rainfall grades into extra heavy storm (> 250 mm), heavy storm (> 100-250 mm), heavy storm (50-100 mm), heavy rain (25-50 mm), medium rain (10-25 mm) and small rain (0-10 mm) according to the numerical interval of today's rainfall, the number of rainfall stations belonging to each grade is counted, the rainfall stations are displayed in a form of a table, the table comprises two columns, the first column is the statistical standard above, and the second column is the number; after receiving the reference command of the quantity value in the table, the water rain condition monitoring module lists all specific rainfall station rainfall lists, and the rainfall lists are arranged from large to small according to the today rainfall, wherein the content of the lists comprises reservoir names, counties of the reservoirs, station names, the today rainfall and rainfall grades; after receiving the consulting command of the station information, the water rain condition monitoring module displays the appointed station code, the station type, the area, the last rainfall and the time, and displays the rainfall condition within about 24 hours in a histogram mode.
The mobile application layer comprises a safety monitoring module, wherein the safety monitoring module acquires reservoir information from a cloud service platform and classifies the reservoir information according to buildings, monitoring sections and safety monitoring categories; the building categories include main dams, spillways, and air-raid shelters; the safety monitoring category comprises environmental quantity monitoring, deformation monitoring, seepage monitoring and stress strain monitoring; the safety monitoring section is displayed through a list and comprises a measuring instrument, a measuring point number, a measuring point name, a current measuring value and the latest measuring time; the safety monitoring module receives an external inquiry command and then displays a measuring value change process line of the designated measuring point in the last 3 months, the abscissa is time, the ordinate is measured value, the specific measured value is presented in a list, and the list comprises the measured time, the measured value and the measured value change trend.
The mobile application layer comprises a patrol checking module, a storage module and a storage module, wherein the patrol checking module is used for receiving reservoir information input from the outside as a patrol checking history record, supporting text filling and photographing on-line uploading, and the patrol checking history record has inquiry time, patrol checking objects and patrol checking personnel information as attribute information; and the tour inspection module receives the external query at the same time, and displays the corresponding tour inspection history according to the externally selected attribute information.
The dynamic application layer comprises a system management module, wherein the system management module is used for managing user information, role information and authority information, and establishing a corresponding relation among a user, a role and authority, and the user information comprises a user name, a department where the user is located, a user role and a user password; the role information comprises a role name, a department where the role is located and a role corresponding authority; the authority information comprises the operation authority, service function and menu available authority of the data layer.
The mobile application layer comprises a video monitoring module, and the video monitoring module invokes corresponding video information on a video monitoring platform on the cloud service platform after receiving an inquiry command from the outside; all camera information of the reservoir site is integrated by the video monitoring platform, and distinguishing identification is carried out according to the position.
The invention uses advanced information acquisition hardware and network equipment to directly upload video information and dam safety monitoring information to the cloud server for storage, thereby reducing reservoir hardware investment and improving information transmission efficiency. According to reservoir information type and structure, the ETL tool suitable for reservoir information acquisition and transmission is customized and developed, automatic acquisition, conversion and uploading of reservoir site data are achieved, and the tool is high in universality and good in robustness. And establishing a database table structure according to the issued industry standard, unifying data formats and logic relations, laying a foundation for data acquisition, screening, storage and calculation, and ensuring the accuracy and high efficiency of data processing. And constructing a private cloud service platform by utilizing the server resources, virtualizing the hardware resources, realizing the technical architecture of the cluster, providing a software and hardware foundation for data storage and service release, and providing continuous and stable high-efficiency data service. A Web API service system is built based on a micro-service architecture, the weak client and the strong server architecture are realized, the resource consumption of a client mobile application system is reduced, and the allocated Web service and a self-adaptive cloud service platform are organically combined, so that the mobile application system can provide services stably and efficiently. The service requirements of reservoir operation management units on single reservoir operation management and the operation supervision service requirements of reservoir authorities on reservoir groups are comprehensively integrated, and the service functions and information are displayed in a classified mode through role authorities. Aiming at the practical characteristics of multiple client forms, the mobile application system adopts an adaptive technology architecture to realize the adaptation to different systems, different screen sizes and different resolutions, so that a user obtains the best use experience.
Drawings
FIG. 1 is a platform frame pattern for the present invention;
fig. 2 is a data flow diagram of the present invention.
Fig. 3 is a data and business flow diagram that is a patent of the present invention.
Detailed Description
The invention will now be described in further detail with reference to the drawings and specific examples, which are given for clarity of understanding and are not to be construed as limiting the invention.
As shown in the figure, the reservoir multi-level management mobile application system based on cloud service is divided into four levels, including a data acquisition layer, a data conversion layer, a cloud service platform layer and a mobile application system. The reservoir multi-level management comprises a plurality of levels such as a city, county (district) level water conservancy bureau and a reservoir direct management department. The mobile application system can adapt to the client of the iOS system and the client of the Android system.
The data acquisition layer is deployed on the reservoir site, different instruments or equipment are installed according to the requirements to acquire real-time monitoring information of the reservoir dam, and the data types comprise engineering characteristics, water conditions, rain conditions, dam safety monitoring, flood forecast scheduling, gate monitoring, video monitoring, personnel and material, operation management information and the like. Reservoir operation raw data acquired by the data acquisition layer are stored in a designated database.
The data conversion layer is used for uploading stored reservoir operation original data to the cloud service platform through an ETL tool, the ETL tool is arranged on the original data storage server, the ETL tool remotely calls Web services published on the cloud service platform, and the original data is sent to a front database of the cloud platform server through a TCP/IP protocol for temporary storage, so that preparation is made for next data conversion.
The cloud service platform layer adopts a private cloud built by a KVM+Hadoop technical architecture to provide data processing, data storage and data calling service release. The data processing comprises the operations of coarse error screening of the original data, calculation of intermediate results, conversion of statistical data and the like. The data storage process comprises a preposed database storage part and a service database storage part, wherein the data stored in the preposed database is original acquired data, and the data stored in the service database is effective data after being processed and converted, so that the service application can directly utilize the effective data. The cloud service platform layer has the other core function of providing data calling service in the form of Web API, the service is deployed by adopting the micro-service architecture, and the service is an interface for accessing data by an application system, and provides continuous and stable data access support for the data conversion layer and the business application system.
The private cloud service platform consists of 4 servers, one Server is a Master node, three servers are Slave nodes, the 4 servers form a Hadoop complete distributed environment, a Master node operating system is centros, 4 virtual machines are virtualized through a Virt-Manager, hardware resources such as a CPU, a memory and a storage space are allocated according to the requirement, the operating system is Windows Server 2012, the four virtual machines are respectively an application Server, a preposed database Server, an internal database Server and a Web Server, the four servers correspond to fixed IP addresses, and the preposed database Server and the Web Server are mapped to a public network on a router so as to conveniently receive data information positioned outside and provide data uploading and access services for the outside.
The Web API service interfaces are divided into three types, namely reservoir data uploading service, public network data integration service and mobile application business service. The first type of service is called by an ETL tool deployed on the reservoir site and is used for uploading water rain condition data, gate monitoring data and engineering management information acquired on the reservoir site to a preposed data server; the second type of service is called by a communication program published on the application server and used for collecting dam safety monitoring data located in the cloud; the third class of services is invoked by an application system on the user's mobile client for applying for data resources and uploading data information.
The reservoir multi-level management mobile application system is a concrete embodiment of reservoir multi-level management service, a main user of the reservoir multi-level management mobile application system is reservoir management personnel, the reservoir multi-level management mobile application system is installed on a mobile client to operate, remote uploading and calling of data are achieved through calling an interface published on a cloud service platform, and therefore reservoir supervision is achieved on a mobile terminal. The specific functions comprise a chart, engineering characteristics, water and rain conditions, safety monitoring, inspection, gate monitoring, video monitoring, overrun information, weather information, reservoir briefing and system management.
The map module displays the site distribution of the reservoir water level stations and the rainfall stations in a map mode, site states are distinguished through colors, the running condition of the reservoir can be checked on the map, and the current state of the reservoir can be intuitively mastered. The display content on one graph comprises the name, scale, administrative division, basin and the like of the reservoir, and the user can screen the reservoir through the attributes. The bottom map of one map is loaded with an image map of the area where the reservoir is located, and the left list can screen the types of measuring points displayed on the map, including a water level station, a rainfall station, a dam safety monitoring point, an image station and a gate monitoring point, and the right side of the map is displayed with an amplifying, shrinking and reservoir positioning button.
The engineering characteristic module is used for displaying reservoir engineering profile, and the list comprises information such as names, regions, administrative units, operation management units, design and construction information, total reservoir capacity, normal water storage level, flood limit water level, flood regulation reservoir capacity, flood control reservoir capacity, xingli reservoir capacity, check flood level, design flood level, dead water level and the like. The curve shows the corresponding relation of the water level and the reservoir capacity, the abscissa represents the water level in meters, the ordinate represents the reservoir capacity in hundred million cubic meters, and the green point on the curve marks the current real-time water level and reservoir capacity.
The rainfall statistics is based on the present rainfall collected by the rainfall stations corresponding to the reservoirs, the statistical time span is from 8 days to 8 days, the rainfall grades are divided into extra heavy storm (> 250 mm), heavy storm (> 100-250 mm), heavy storm (50-100 mm), heavy rain (25-50 mm), medium rain (10-25 mm) and light rain (0-10 mm) according to the numerical interval of the present rainfall, the number of the rainfall stations belonging to each grade is counted, the rainfall stations are displayed in a form of a table, the table comprises two columns, the first column is the statistical standard above, and the second column is the number. Clicking the quantity value in the table, listing all specific rainfall site rainfall lists, arranging according to the present rainfall from large to small, wherein the content of the list comprises reservoir names, counties to which the reservoirs belong, station names, present rainfall and rainfall levels, clicking the station names can check station codes, station types, regions to which the stations belong, last rainfall and time of reporting, and displaying rainfall conditions in the last 24 hours in a histogram mode.
The safety monitoring is classified according to the building, the monitoring section and the safety monitoring category, and is associated with the actual condition of the reservoir, and a drop-down menu of the building category comprises a main dam, a spillway, a hollow air-raid shelter and the like. The safety monitoring type drop-down menu is provided with four types of environment quantity monitoring, deformation monitoring, seepage monitoring and stress strain monitoring. The measuring points are displayed through a list, the measuring points comprise a measuring instrument, a measuring point number, a measuring point name, a current measuring value and the latest measuring time, a measuring point change process line of the measuring points for 3 months is displayed after the measuring points are clicked, the abscissa is the time, the ordinate is the measuring value, the specific measuring values are displayed in the list, and the list comprises the measuring time, the measuring value and the measuring value change trend.
The inspection provides an entry function of a movable client of the inspection of the reservoir dam, a user can fill specific conditions of inspection items according to inspection objects, text filling and photographing on-line uploading are supported, and inspection history records can be inquired according to the inquiry time, the inspection objects, inspection personnel and other attributes. And displaying the patrol inspection records in the period of nearly 1 month by default, wherein the content of each record comprises an inspection object, an inspection date, an inspection person and an inspection result. When newly built to patrol, the upper portion of the list shows patrol time, personnel, weather and current water level, and the lower portion shows patrol objects and patrol items, so that records can be filled in the corresponding forms of the patrol items, and photos can be shot and uploaded. The inspection objects and projects are set according to the technical specification of SL551 earth-rock dam safety monitoring and the technical specification of SL601 concrete dam safety monitoring.
The gate monitoring is used for displaying the current gate opening state and running condition of the reservoir, the upper part is a graph, the lower part is a table, the graph is a gate schematic diagram, the gate opening unit is meters, the real-time flow unit is cubic meters per second through characters displayed below the graph, and the contents displayed in the lower table comprise gate names, numbers, opening heights, real-time flow and accumulated flow.
The video monitoring system integrates a plurality of cameras on the reservoir site and provides an online video information viewing function. The video viewing window is displayed, 4-division and 9-division switching can be performed, and real-time pictures with 4 and 9 cameras are displayed.
The overrun information module displays the information that the reservoir exceeds the set limit value, and is divided into three parts, namely water and rain condition overrun, safety monitoring overrun and manual inspection, and the three parts are displayed in a list mode. The list contains overrun time, overrun point name, overrun value, overrun type and processing condition.
The weather information is accessed into weather forecast information of a weather department, the forecast at 8 hours, the forecast at 11 hours and the forecast at 16 hours are displayed in a list, the forecast contents comprise weather conditions and rainfall conditions, and an infrared cloud picture and a fine cloud picture of a district where the infrared cloud picture is located are displayed in a picture mode.
The reservoir bulletin generates the statistical information of the same day at 8 pm in daily, and the statistical information is presented in a form of a table, wherein the statistical information comprises the present allowance, the present 8 pm water level, the maximum seepage value, the corresponding maximum measurement time, the maximum seepage pressure amplitude value and the corresponding maximum measurement time.
The system management is used for managing user information, role information and authority information, and establishing a corresponding relation among users, roles and authorities, wherein the user information comprises user names, departments where the users are located, user roles, user passwords and the like. The character information includes a character name, a department where the character is located, a character correspondence authority, and the like. The authority information comprises the adding, deleting and checking operation authority, service functions, menu available authority and the like of the data layer.
What is not described in detail in this specification is prior art known to those skilled in the art.