A kind of power energy monitoring and controlling terminal data gathers energy consumption management system and application process thereof
Technical field
The present invention relates to a kind of energy consumption management system and application process thereof, particularly relate to a kind of power energy monitoring and controlling terminal data and gather energy consumption management system and application process thereof.
Background technology
In AND ENERGY RESOURCES CONSUMPTION IN CHINA, industry is the rich and influential family of AND ENERGY RESOURCES CONSUMPTION IN CHINA, and energy-output ratio accounts for 70% left and right of national energy resource consumption total amount, and overall not high by energy level, and ten thousand yuan of output value energy consumptions gap compared with American-European Japan is also very large. Therefore, strengthen enterprise energy management through quantification, carry out the action of industry energy conservation consumption reduction, improving energy utilization rate is to reduce the energy, resource consumption, raising Business Economic Benefit, alleviates the effective way of the energy that socio-economic development faces and environmental constraints protection of the environment.
At present enterprise carries out energy conservation, and the common way of obtaining data is by adopting various instruments, instrument to measure energy resource consumption, and sends special messenger to instrument, instrument, carry out on-site maintenance, copy and get with the data that gather, and adds up step by step, reports. But such shortcoming is that efficiency is low, data security does not also ensure, can not meet large-scale data acquisition needs, cannot carry out Real-Time Monitoring. Meanwhile, enterprise statistics data comprehensively, not in time, even have the inaccurate situation of data.
In order to solve the collecting efficiency that demands perfection urgently, safety guarantee in actual consumption management process, gather on a large scale, real-time property problem, the invention provides a kind of monitor terminal data acquisition plan, thereby make data acquisition efficiency higher, transfer of data is safer, more reliably, more real-time.
Summary of the invention
The object of the present invention is to provide a kind of power energy monitoring and controlling terminal data to gather energy consumption management system and application process thereof, the present invention realizes terminal data collection on a large scale, ensure data communications security, improve data acquisition efficiency, reduce the artificial data integrity correctness that participates in ensureing, aspect systematic function lifting, can, by simple cumulative hardware mode Hoisting System disposal ability, reduce costs.
The object of the invention is to be achieved through the following technical solutions:
A kind of power energy monitoring and controlling terminal data gathers energy consumption management system, and described system comprises terminating layer, as metering, key-course, acquisition gateway layer, Internet, management service layer, data storage layer; Metering, key-course are arranged on on-the-spot various metrical instruments, instrument, comprise the measuring terminals such as electric energy meter, gas meter, water meter, heat energy meter, measuring terminal carries out Real-Time Monitoring metering to on-the-spot electricity, water, coal gas, heat energy, and monitored data is uploaded to collecting device by wireless network, RS485 or carrier system; Acquisition layer is made up of many collecting devices, every multiple measuring terminals of collecting device control; Internet is provided with the network equipment such as fire wall, switch composition; Management application layer is become by balanced device, application server cluster, database servers group.
Described a kind of power energy monitoring and controlling terminal data gathers energy consumption management system, every multiple measuring terminals of collecting device control of described acquisition layer, and image data is uploaded to management application layer automatically by Internet.
Described a kind of power energy monitoring and controlling terminal data gathers energy consumption management system, and described collecting device is connected to Internet by GPRS, optical networking, interconnected network mode.
Described a kind of power energy monitoring and controlling terminal data gathers energy consumption management system, and the load pressure of described balanced device application server is monitored, and reasonable distribution server access resource is used to collecting device.
Described a kind of power energy monitoring and controlling terminal data gathers energy consumption management system, and described application server is responsible for setting up with collecting device the database server that TCP is connected and the continuous data of uploading is preserved.
A kind of power energy monitoring and controlling terminal data gathers energy consumption management system application process, and described system application method comprises following concrete applying step:
Step 1, terminal metrical instrument, instrument are installed and data acquisition equipment is installed configuration;
Step 2, connects balanced device and the clustered deploy(ment) of data server program;
Step 3, carries out automatic network-building by wireless network, RS485, carrier system between measuring terminal and collecting device and completes downlink network and be connected;
Step 4, collecting device and server are connected and carry out data communication by setting up TCP/UDP, connect and log in and need to ensure to connect safety and communication security by classification dynamic key proof procedure, Long-distance Control also needs just can send remote control commands after the checking of classification dynamic key;
Step 5, uploads to data server by image data after collecting device connection server automatically, and is saved in database.
Advantage of the present invention and effect are:
(1) system adopts the server architecture of data server cluster, distributes balanced device distribution services resource by dynamic link, can, by simple hardware or the service routine increase disposal ability of increasing, realize large-scale data acquisition like this;
(2) classification dynamic key authentication mechanism can ensure equipment connection safety, resists illegal beach assault, ensures Long-distance Control safety, logs in checking and has realized bi-directional verification mechanism with Long-distance Control checking, ensures equipment and application server safety simultaneously;
(3) continuous data is uploaded onto the server automatically by collecting device, is automatically saved in database, realizes the real-time automation collection of data, and prosthetic participates in, and ensures data correctness, reliability, real-time.
(4) the present invention realizes terminal data collection on a large scale, ensures data communications security, improves data acquisition efficiency, reduce the artificial data integrity correctness that participates in ensureing, aspect systematic function lifting, can, by simple cumulative hardware mode Hoisting System disposal ability, reduce costs.
Brief description of the drawings
Fig. 1 is overall structure block diagram of the present invention;
Fig. 2 is that activity diagram (logging in checking) is processed in classification dynamic key checking of the present invention;
Fig. 3 is that activity diagram (Long-distance Control checking) is processed in classification dynamic key checking of the present invention;
Fig. 4 is process level load balance process activity diagram of the present invention;
Fig. 5 is embodiments of the invention figure.
Detailed description of the invention
Below in conjunction with embodiment, the present invention is described in detail.
A kind of power energy monitoring and controlling terminal data acquisition system, comprises terminating layer (metering, key-course), acquisition gateway layer, Internet, management service layer, data storage layer.
Structured flowchart of the present invention is as shown in Figure 1:
Metering, key-course: be mainly mounted in on-the-spot various metrical instruments, instrument, comprise the measuring terminals such as electric energy meter, gas meter, water meter, heat energy meter, the major function of measuring terminal is that on-the-spot electricity, water, coal gas, heat energy etc. are carried out to Real-Time Monitoring metering, and monitored data is uploaded to collecting device by wireless network, RS485 or carrier system.
Acquisition layer: acquisition layer is made up of many collecting devices, every collecting device can be controlled multiple measuring terminals, and image data is uploaded to management application layer automatically by Internet.
Internet: be made up of the various network device such as fire wall, switch, collecting device can be connected to Internet by GPRS, optical networking, interconnected network mode.
Management application layer: become by balanced device, application server cluster, database servers group. The function of balanced device is that the load pressure of application server is monitored, and reasonable distribution server access resource is used to collecting device. Application server is responsible for setting up with collecting device the database server that TCP is connected and the continuous data of uploading is preserved.
Fig. 2 is process level load balance process activity diagram of the present invention,
First collecting device sends UDP connection request to balanced device, balanced device request server cluster load data, obtain the application server of selecting pressure minimum after analyzing after load data according to algorithm, and the application server IP address of pressure minimum and port numbers are sent to collector equipment by redirect instruction, collecting device sends TCP connection request according to redirect instruction to the application server of specifying, data server response TCP connection request.
Fig. 3 and Fig. 4 are that activity diagram is processed in moving classification state key authentication of the present invention
Classification dynamic key authentication function: key authentication is divided into two grades,
Grade one is for logging in checking, and collecting device need to carry out login authentication in the time connecting application server, if authentication failed collecting device cannot connect, illustrates that collecting device is unregistered or is illegality equipment.
Grade two, for Long-distance Control checking, if monitoring system needs Long-distance Control measuring terminal, needed to carry out Long-distance Control checking, to ensure device security before sending remote control commands.
Dynamic key: regularly upgraded by key generator, dynamic key data were made up of master key data+device number+date
Log in and verify as Fig. 3: collecting device reads local master key file and is decrypted, after being merged, encrypt again on plaintext after deciphering and device number and date, data after encrypting are sent to application server, and application server is decrypted and is saved in temporary file by the data that receive. Application server is also decrypted local dynamic key and carries out comparing with temporary file simultaneously, if compared unsuccessfully, the TCP that rejects this collecting device is connected and finishes proof procedure, if compare successfully the data that are proved to be successful are sent to collecting device, proof procedure finishes.
Long-distance Control is verified as Fig. 4: application server reads local master key file and is decrypted, after being merged, encrypt again on plaintext after deciphering and device number and date, data after encrypting are sent to collecting device, and collecting device is decrypted and is saved in temporary file by the data that receive. Collecting device is also decrypted local dynamic key and carries out comparing with temporary file simultaneously, and comparison result is sent to application server.
The invention process application process as shown in Figure 4, specific embodiment of the invention step:
Step 1, terminal metrical instrument, instrument are installed and data acquisition equipment is installed configuration;
Step 2, connects balanced device and the clustered deploy(ment) of data server program;
Step 3, carries out automatic network-building by wireless network, RS485, carrier system between measuring terminal and collecting device and completes downlink network and be connected;
Step 4, collecting device and server are connected and carry out data communication by setting up TCP/UDP, connect and log in and need to ensure to connect safety and communication security by classification dynamic key proof procedure, Long-distance Control also needs just can send remote control commands after the checking of classification dynamic key;
Step 5, uploads to data server by image data after collecting device connection server automatically, and is saved in database.
The foregoing is only exemplary embodiment of the present invention, all being equal to of carrying out under scope of the present invention, replace or improvement etc., within all should being included in protection scope of the present invention.