Summary of the invention
In view of this, the invention provides a kind of mesolow distribution data integration platform and method, to overcome in the prior art owing to mesolow distribution overall work system is that the heterogeneous system that comprises multiple version system causes the problem that a lot of management work of mesolow distribution can not efficiently be carried out smoothly.
For achieving the above object, the invention provides following technical scheme:
A kind of mesolow distribution data integration platform comprises data source, data acquisition interface, distribution database, application programming interface and application layer;
Described data source is used for providing basic data;
Described data acquisition interface is used for receiving the basic data that data source sends, and described basic data is resolved to data file and model file;
Described distribution database comprises PI database and relevant database; Described PI database is used for the described data file of storage; Institute's data relationship type database is used for the described model file of storage;
Described application programming interface comprises component interface and service logic interface; Described component interface and described service logic interface are used for data file and the model file based on described distribution database, and cooperating responds the operational order that described application layer sends;
Described application layer be used for to receive the operational order that the user triggers, and represents the response results of described operational order for the user based on described distribution database and application programming interface.
Optionally, described data source comprises generated energy acquisition server, data acquisition and supervisor control server, power information acquisition system server and marketing system server.
Optionally, described application layer comprises apparatus of load monitoring and statistical module, line loss statistical analysis module and electric weight critical point and electric quantity balancing statistical module.
Optionally, described component interface is graphic assembly and the middleware based on application layer; Described service logic interface is the logical algorithm interface based on each business module of application layer.
Optionally, described application layer is the response results that the user represents described operational order, comprising:
Described application layer represents the accordingly result of described operational order for the user by browser.
A kind of mesolow distribution data integrating method comprises:
Data acquisition interface receives the data that each data source sends, and described data are resolved to data file and model file;
The distribution database deposits described data file in the PI database, and deposits described model file in relevant database;
Application layer receives the operational order that the user triggers, and according to the order of described operational order generating run, and sends to application programming interface;
Described application programming interface responds the operational order of described application layer transmission based on data file and the model file stored in the PI database in the described distribution database and the relevant database by the cooperating of component interface and service logic interface.
Optionally, described data source comprises generated energy acquisition server, data acquisition and supervisor control server, power information acquisition system server and marketing system server.
Optionally, described application layer comprises apparatus of load monitoring and statistical module, line loss statistical analysis module and electric weight critical point and electric quantity balancing statistical module.
Optionally, described component interface is graphic assembly and the middleware based on application layer; Described service logic interface is the logical algorithm interface based on each business module of application layer.
Optionally, described application layer is the response results that the user represents described operational order, comprising:
Described application layer represents the accordingly result of described operational order for the user by browser.
Via above-mentioned technical scheme as can be known, compared with prior art, the embodiment of the invention discloses a kind of mesolow distribution data integration platform and method, described mesolow distribution data integration platform inserts a plurality of infosystems as data source, and the data of all accesses are resolved become data file and model file two classes, and deposit data of different types in the data of different types storehouse according to the characteristics of data itself, thereby can get through data channel between the different information systems by the cooperating of PI database and relevant database, an opening and interconnected information pattern have been set up, make and produce, scheduling, marketing waits each department can both share data, has guaranteed that a lot of management work of mesolow distribution can carry out smoothly.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Embodiment one
Fig. 1 is the disclosed mesolow distribution of embodiment of the invention data integration platform structural representation, referring to shown in Figure 1, described mesolow distribution data integration platform 10 can comprise data source 101, data acquisition interface 102, distribution database 103, application programming interface 104 and application layer 105.
Wherein, described data source 101 is used for providing basic data.Described data source 101 can include but not limited to generated energy acquisition server, data acquisition and supervisor control server, power information acquisition system server and marketing system server.Because marketing system server and power information acquisition system server data amount are very big, the monitoring point is many, therefore, in order to save the measuring point of PI Database Systems, can adopt the measuring point compress technique to carry out data and insert.
Described data acquisition interface 102 is used for receiving the basic data that data source sends, and described basic data is resolved to data file and model file.
Described distribution database 103 comprises PI database and relevant database; Described PI database is used for the described data file of storage; Institute's data relationship type database is used for the described model file of storage.Described PI database and described relevant database can carry out data interaction, but and cooperating data are wherein inquired about or are handled.
Described application programming interface 104 comprises component interface and service logic interface; Described component interface and described service logic interface are used for data file and the model file based on described distribution database, and cooperating responds the operational order that described application layer sends.Described component interface is based on the graphic assembly of application layer and middleware; Described service logic interface is the logical algorithm interface based on each business module of application layer.Described component interface and described service logic interface can be based on the contents of storing in the above-mentioned distribution database, and cooperating is carried out the operational order that application layer sends.
Described application layer 105 is used for receiving the operational order that the user triggers, and represents the response results of described operational order for the user based on described distribution database and application programming interface.
In a schematic example, described application layer 105 can comprise: apparatus of load monitoring and statistical module, line loss statistical analysis module and electric weight critical point and electric quantity balancing statistical module.Described apparatus of load monitoring can be carried out corresponding apparatus of load monitoring and statistical work with statistical module; Described line loss statistical analysis module can carry out the work of line loss statistical study; Described electric weight critical point and electric quantity balancing statistical module can carry out the work of electric weight critical point and electric quantity balancing statistics.
Wherein, described application layer 105 is the response results that the user represents described operational order, specifically can be: described application layer represents the accordingly result of described operational order for the user by browser.
In the present embodiment, described mesolow distribution data integration platform inserts a plurality of infosystems as data source, and the data of all accesses are resolved become data file and model file two classes, and deposit data of different types in the data of different types storehouse according to the characteristics of data itself, thereby can get through data channel between the different information systems by the cooperating of PI database and relevant database, an opening and interconnected information pattern have been set up, make and produce, scheduling, marketing waits each department can both share data, has guaranteed that a lot of management work of mesolow distribution can carry out smoothly.
Embodiment two
The embodiment of the invention also discloses a kind of mesolow distribution data integrating method.Fig. 2 is the disclosed mesolow distribution of embodiment of the invention data integrating method process flow diagram, and referring to shown in Figure 2, described method can comprise:
Step 201: data acquisition interface receives the data that each data source sends, and described data are resolved to data file and model file.
Wherein, described data source can include but not limited to generated energy acquisition server, data acquisition and supervisor control server, power information acquisition system server and marketing system server.
Step 202: the distribution database deposits described data file in the PI database, and deposits described model file in relevant database.
Step 203: application layer receives the operational order that the user triggers, and according to the order of described operational order generating run, and sends to application programming interface.
Wherein, described component interface is graphic assembly and the middleware based on application layer; Described service logic interface is the logical algorithm interface based on each business module of application layer.
Step 204: described application programming interface responds the operational order of described application layer transmission based on data file and the model file stored in the PI database in the described distribution database and the relevant database by the cooperating of component interface and service logic interface.
Wherein, described application layer can comprise apparatus of load monitoring and statistical module, line loss statistical analysis module and electric weight critical point and electric quantity balancing statistical module.
Wherein, described application layer is the response results that the user represents described operational order, specifically can be: described application layer represents the accordingly result of described operational order for the user by browser.
In the present embodiment, described mesolow distribution data integration platform inserts a plurality of infosystems as data source, and the data of all accesses are resolved become data file and model file two classes, and deposit data of different types in the data of different types storehouse according to the characteristics of data itself, thereby can get through data channel between the different information systems by the cooperating of PI database and relevant database, an opening and interconnected information pattern have been set up, make and produce, scheduling, marketing waits each department can both share data, improved the utilization factor of data, guaranteed that a lot of management work of mesolow distribution can carry out smoothly.
Also need to prove, in this article, and, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby make and comprise that process, method, article or the equipment of a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or also be included as the intrinsic key element of this process, method, article or equipment.Do not having under the situation of more restrictions, the key element that is limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
The method of describing in conjunction with embodiment disclosed herein or the step of algorithm can directly use the software module of hardware, processor execution, and perhaps the combination of the two is implemented.Software module can place the storage medium of any other form known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or the technical field.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be apparent concerning those skilled in the art, and defined General Principle can realize under the situation that does not break away from the spirit or scope of the present invention in other embodiments herein.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the wideest scope consistent with principle disclosed herein and features of novelty.