CN106548288A - The polymorphic instance management system and method for many scenes of electric power - Google Patents

The polymorphic instance management system and method for many scenes of electric power Download PDF

Info

Publication number
CN106548288A
CN106548288A CN201610974381.2A CN201610974381A CN106548288A CN 106548288 A CN106548288 A CN 106548288A CN 201610974381 A CN201610974381 A CN 201610974381A CN 106548288 A CN106548288 A CN 106548288A
Authority
CN
China
Prior art keywords
polymorphic
unit
event
memory cell
metadata information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610974381.2A
Other languages
Chinese (zh)
Other versions
CN106548288B (en
Inventor
刘胜旺
舒羿宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Global Big Data Technology Co Ltd
Original Assignee
Global Big Data Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Global Big Data Technology Co Ltd filed Critical Global Big Data Technology Co Ltd
Priority to CN201610974381.2A priority Critical patent/CN106548288B/en
Publication of CN106548288A publication Critical patent/CN106548288A/en
Application granted granted Critical
Publication of CN106548288B publication Critical patent/CN106548288B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply

Abstract

The invention provides a kind of polymorphic instance management system and method for many scenes of electric power, the system includes that container cloud service platform, mirror image warehouse, deployment template unit, release management unit, event sniffer, distributed cloud memory cell, application interface unit, distributed event are shared and state memory cell, wherein event sniffer is used for the operational circumstances of the polymorphic metadata information for monitoring distributed event and state memory cell, notifies that release management unit carries out polymorphic example operation;Release management unit notifies that container cloud service platform increases or deletes polymorphic example.Using the polymorphic instance management system and method for many scenes of electric power of the present invention, rapid deployment and the deletion of the polymorphic example of many scenes of electric power can be realized.

Description

The polymorphic instance management system and method for many scenes of electric power
Technical field
The present invention relates to power system automation technology, especially relates to Power System Analysis and simulation technical field.
Background technology
Power grid operation state is fast changing, very high to requirement of real-time, and active distribution network intelligence degree for a long time Very low, a big chunk reason is just because that the emergency reaction ability of system does not reach Operational requirements, and that fearness only needs to several seconds kinds Calculating delay, be also enough to the impact of electrical network bringing on a disaster property of production system.So the intelligent dispatch of active distribution network is past Past is that, by simulation calculation (the actual operation data based on electrical network), the various unusual conditions of simulating grid are found for various The solution of unusual condition, is set in the production system of electrical network in advance.When production system runs into abnormal conditions, just automatically Corresponding solution is switched to, and the expensive calculating time is protected so as to save, is exactly a kind of method of space for time in fact.
So-called many scenes of power industry are the concepts being manually set, such as security scenario, abnormal scene and algebra of events , there is multiple choices scheme in scape etc., referred to as polymorphic under each scene.The polymorphic hierarchical relationship such as figure with Simulation Application of many scenes Shown in 1.Simulation Application needs to change the parameter of data base when Power System Analysis is carried out with planning, and production system is not fill Perhaps data are arbitrarily changed, so a single data base will be generated based on storage facility located at processing plant, state is referred to as runed, state, planning is analyzed State etc..Carry out Power System Analysis many first according to scene (security scenario, abnormal scene and event scenarios) determination with during planning State database version, is analyzed and planning with reference to creation data, historical data and assistance data.
As shown in Fig. 2 Multi-state data storehouse is generated based on storage facility located at processing plant, can generate according to the different qualities of storage facility located at processing plant many Multi-state data storehouse version is planted, is respectively used to meet different polymorphic application scenarios.But Multi-state data storehouse is only some data File, so-called polymorphic example refer under a certain scene, and one specific Multi-state data storehouse version of loading is so as to generating one The database instance of individual running status, carries out operation state for Simulation Application, and under analysis state or planning state, a certain specific objective grinds Study carefully.
In addition, as shown in figure 3, current any Database Systems all include two parts:Database service and database file, Generally database service is made up of multiple software process, and database file is exactly the physical data files being stored on disk, By database service loading data library file, so as to generate the database instance that can be run.
In prior art, many scene Multi-state datas are extracted and the deployment of Simulation Application is all manually to realize, automatization Degree is very low, inefficient, and disposing a set of Simulation Application generally needs one day or even time a couple of days.Due to being accomplished manually workload Greatly, efficiency is low, is also easy to error, and because being related to substantial amounts of polymorphic instance management, it is easy to cause confusion.
In addition, in prior art, many scene Multi-state data resource-sharing rates are very low, and a polymorphic example generally requires to monopolize Batch server, and after completing checking, discharging for resource is also a very big problem, generally requires artificial deletion, clears up or weighs Dress system.
The content of the invention
It is an object of the invention to overcome the shortcoming of prior art, there is provided a kind of polymorphic instance management system of many scenes of electric power System and method, the polymorphic instance management system and method for many scenes of the electric power can provide unified interface to facilitate the client should With calling, it additionally is able to be instructed according to client application, carries out automatically the deployment and revision of the polymorphic example of many scenes.
To solve above-mentioned technical problem, the present invention is adopted the following technical scheme that.
A kind of polymorphic instance management system of many scenes of electric power, including container cloud service platform, mirror image warehouse, deployment template list Unit, release management unit, event sniffer, distributed cloud memory cell, application interface unit, distributed event are shared and state Memory cell, wherein,
Application interface unit is connected to distributed event and state memory cell, for receiving client application instruction, right Polymorphic metadata information in distributed event and state memory cell is operated;
Distributed event and state memory cell are additionally coupled to event sniffer and release management unit, for realizing event Triggering and polymorphic instance metadata information Store;
Event sniffer monitors the operational circumstances of the polymorphic metadata information of distributed event and state memory cell, notifies Release management unit carries out polymorphic example operation;
Release management unit is additionally coupled to deployment template unit, container cloud service platform, distributed cloud memory cell and divides Cloth event and state memory cell, for the notice according to action listener unit, Querying Distributed event and state storage list The polymorphic metadata information of unit, according to the polymorphic metadata information loading deployment template file, deployment template file is submitted to Container cloud service platform is given, and for the notice according to event sniffer, notifies that container cloud service platform carries out polymorphic example Operation, is additionally operable to operate the polymorphic metadata information in distributed event and state memory cell;
Container cloud service platform is used to run polymorphic example, and the notice according to release management unit or submission deployment file Carry out polymorphic example operation;
Distributed cloud memory cell is used to store Multi-state data storehouse physical data files;
Mirror image warehouse is connected to deployment template unit, for storage according to the packaged database service mirror of ASME Vessel Code ASME Picture;
For providing deployment template file to release management unit, deployment template file includes polymorphic reality to template deployment unit The detailed description of cloud service platform how is deployed to for example, this file submits to cloud service platform by release management unit.
Wherein described distributed event and state memory cell include version querying unit, action listener unit and polymorphic reality Example metadata information unit, is respectively used to store Multi-state data storehouse version information, logout and polymorphic instance metadata information, Correspondingly, the polymorphic metadata information of the distributed event and state memory cell includes Multi-state data storehouse version information, thing Part is recorded and polymorphic instance metadata information.
Correspondingly, the application interface unit is for the polymorphic metadata information in distributed event and state memory cell Carrying out operation includes:In logout, the polymorphic instance metadata information unit of inquiry in increase or deletion event monitoring unit Polymorphic instance metadata information.
The release management unit is carried out to the polymorphic metadata information in distributed event and state memory cell therewith Operation includes:Increase or delete the polymorphic instance metadata information in polymorphic instance metadata information unit.
A kind of polymorphic instance management method of many scenes of electric power, including step:
A, application interface unit receive client application instruction, to the polymorphic unit in distributed event and state memory cell Data message is operated, and the operation includes increasing or deletion event is recorded and inquires about polymorphic instance metadata information;
B, when the operation in step A for increase or deletion event record when, execution step C, D, when the institute in step A Execution step E when stating operation to inquire about polymorphic instance metadata information;
C, action listener unit notify release management list according to the logout in distributed event and state memory cell Unit, release management unit notify that container cloud service platform increases or deletes polymorphic example;
D, release management unit increase or delete the polymorphic instance metadata information in polymorphic instance metadata information unit;
The polymorphic instance metadata information inquired about is returned to client application by E, application interface unit.
Wherein, when in step C notify release management unit be that logout is increased when, release management unit inquiry point The Multi-state data storehouse version information of cloth event and state memory cell, then loading deployment template file, and by deployment template File submits to container cloud service platform, notifies that container cloud service platform increases polymorphic example, and obtains container cloud service platform In newly increase address and the port numbers of polymorphic example, increase polymorphic reality using the address and port numbers of polymorphic example in step D Example metadata information.
Or when notify release management unit in step C be that logout is deleted when, release management unit is according to deleting Except the parameter of logout, the polymorphic example for notifying container cloud service platform deletion event recording parameterses related.
In addition, the inquiry polymorphic instance metadata information operation includes:Application interface unit ergodic distribution formula event and Polymorphic instance metadata information unit in state memory cell, obtains all polymorphic instance metadata information.
First, by adopting the polymorphic instance management system and method for many scenes of electric power of the invention, can solve the problem that electric power is more The problem of the quick cloud deployment of the polymorphic example of scene.
Secondly, by adopting the polymorphic instance management system and method for many scenes of electric power of the invention, many scenes be can solve the problem that The problem that the quick cloud of polymorphic example is destroyed.
In addition, the polymorphic instance management system and method for many scenes of the electric power of the present invention, can solve the problem that many scene Multi-state datas Automatic configuration problem of the storehouse based on template.
Description of the drawings
Fig. 1 is the polymorphic hierarchical relationship schematic diagram with Simulation Application of many scenes of electric power.
Fig. 2 is that the principle schematic for generating polymorphic example is loaded using Multi-state data storehouse version.
Fig. 3 is the principle schematic of database service loading of databases file generated database instance.
Fig. 4 is to dispose configuration diagram using the cloud service platform based on container based in the specific embodiment of the invention.
Fig. 5 is the structural representation of the polymorphic instance management system of many scenes of electric power based on the specific embodiment of the invention.
Fig. 6 be according to the specific embodiment of the invention, in the polymorphic instance management system of many scenes of electric power distributed event and The structural representation of state memory cell.
Specific embodiment
Below in conjunction with the accompanying drawings, the present invention is elaborated.
The detailed example embodiment of following discloses.However, concrete structure disclosed herein and function detail merely for the sake of The purpose of description example embodiment.
It should be appreciated, however, that the present invention is not limited to disclosed particular exemplary embodiment, but covers and fall into disclosure model All modifications, equivalent and alternative in enclosing.In the description to whole accompanying drawings, identical reference represents identical unit Part.
Refering to accompanying drawing, structure, ratio, size depicted in this specification institute accompanying drawings etc., only to coordinate description Disclosed content, so that those skilled in the art understands and reads, is not limited to enforceable restriction bar of the invention Part, therefore do not have technical essential meaning, the modification of any structure, the change of proportionate relationship or the adjustment of size are not affecting Under effect that the present invention can be generated and the purpose that can reach, still all should fall obtain and can contain in disclosed technology contents In the range of lid.Meanwhile, cited position restriction term in this specification is merely convenient to understanding for narration, and is not used to Limit enforceable scope of the invention, its relativeness is altered or modified, under without essence change technology contents, when being also considered as The enforceable category of the present invention.
It will also be appreciated that as used in this term "and/or" include one or more correlations list any of item With all combinations.It will further be appreciated that when part or unit are referred to as " connection " or during " coupled " to another part or unit, it Miscellaneous part or unit are can be directly connected or coupled to, or can also there is intermediate member or unit.Additionally, being used for describing Between part or unit other words of relation should understand in the same fashion (for example, " and between " to " directly between ", " adjacent " is to " direct neighbor " etc.).
Before the specific embodiment of the invention is introduced, some correlation techniques of brief description first.
ETCD is a kind of key assignments storage system of High Availabitity, is mainly used in configuration sharing and service discovery.ETCD be by What CoreOS was developed and safeguarded, thinking comes from ZooKeeper and Doozer.It is write using Go language, and passes through Raft mono- Cause property algorithm process daily record reproduction is ensureing strong consistency.Raft is a new coherence method from Stanford, is fitted For the daily record reproduction of distributed system, Raft realizes concordance by way of election, in Raft, any one node Leader is likely to become all.The container cluster management system Kubernetes of Google, PaaS platform Cloud of increasing income Foundry ETCD has been widely used with the Fleet of CoreOS.
In a distributed system, how between management node state is always a difficult problem, and ETCD is exclusively for collection group rings The service discovery in border and registration and design, it provide the failure of data TTL, data change monitoring, many-valued, catalogue monitor, point The functions such as cloth lock operation, can easily track and manage the state of clustered node.
Gluster FS are a kind of distributed file system, and constitute the underlying file systems of cloud storage, and which has Good extensibility.The structure design of software is good, it is easy to extension and configure, by the flexible collocation of modules obtaining Targetedly solution.Problems with can be solved:Network Storage, joint storage (memory space on the multiple nodes of fusion), Redundancy backup, the load balancing (piecemeal) of big file.
So-called container cloud, refers to the second filial generation cloud service basic platform based on docker, with the first generation based on virtual machine Cloud service platform is compared, and container cloud service platform has simplicity, quickly, the features such as high speed, represents the development of current cloud service Direction.
Docker:Docker is an application container engine increased income, allow developer can pack they application and Bag is relied on in a transplantable container, is then published on the Linux machines of any prevalence, it is also possible to realize virtualization. Container is the sandbox mechanism that uses completely, does not have any interface each other.
Corresponding to the cloud service platform based on container, the mode for disposing the polymorphic example of framework is as shown in Figure 4.In mirror image warehouse There is database mirroring, and storage there are multiple Multi-state data database data files in the storage of distributed cloud, is holding with database mirroring Multiple polymorphic examples are formed in device cloud basic platform.
As shown in figure 5, the specific embodiment of the invention includes a kind of polymorphic instance management system of many scenes of electric power, it is described The polymorphic instance management system of many scenes of electric power includes container cloud service platform, mirror image warehouse, deployment template unit, release management list Unit, event sniffer, distributed cloud memory cell, application interface unit, distributed event are shared and state memory cell, its In,
Application interface unit is connected to distributed event and state memory cell, for receiving client application instruction, right Polymorphic metadata information in distributed event and state memory cell is operated;
Distributed event and state memory cell are additionally coupled to event sniffer and release management unit, for realizing event Triggering and the storage of polymorphic example relevant information;
Event sniffer is connected to release management unit, for monitoring the polymorphic unit of distributed event and state memory cell The operational circumstances of data message, notify that release management unit carries out polymorphic example operation;
Release management unit is additionally coupled to deployment template unit, container cloud service platform, distributed cloud memory cell and divides Cloth event and state memory cell, for the notice according to action listener unit, Querying Distributed event and state storage list The polymorphic metadata information of unit, according to the polymorphic metadata information loading deployment template file, deployment template file is submitted to Container cloud service platform is given, and for the notice according to event sniffer, notifies that container cloud service platform carries out polymorphic example Operation, is additionally operable to operate the metadata information in distributed event and state memory cell;
Container cloud service platform is used to run polymorphic example, and the notice according to release management unit or submission deployment file Carry out polymorphic example operation;
Distributed cloud memory cell is used for the physical data files for storing Multi-state data storehouse;
Mirror image warehouse is connected to deployment template unit, for storage according to the packaged database service mirror of ASME Vessel Code ASME Picture, comprising the address for pointing to certain mirror image in the deployment template;
For providing deployment template file to release management unit, deployment template file includes polymorphic reality to template deployment unit The detailed description of cloud service platform how is deployed to for example, this file submits to cloud service platform by release management unit.
By the polymorphic instance management system of many scenes of electric power in the specific embodiment of the invention, first application interface unit Unified access interface is provided to client application, it is user-friendly.Event sniffer can monitor distributed event in addition And the polymorphic metadata information operational circumstances of state memory cell, notify that release management unit carries out polymorphic example operation, so Can in the increase without the need under the conditions of manually-operated, carrying out automatically the polymorphic example of many scenes, delete and information inquiry business.
In addition, the polymorphic Entity Management Systems of many scenes of electric power will specific polymorphic version number in the specific embodiment of the invention High in the clouds storage is carried out using distributed cloud memory cell according to database data file, both improve the safety of storage, it also avoid this The occupancy of ground server resource.
In addition, in the specific embodiment of the invention specific polymorphic example be also using container cloud service platform running, The effectively utilizes of shared resource can so be realized, redundant safety is increased, also allow for the polymorphic example of many scenes of electric power from It is dynamic to increase and delete.
Wherein, as shown in figure 5, the distributed event and state memory cell can be realized using ETCD clusters, because This, the polymorphic edition management system of many scenes of electric power of the present invention is effectively utilized ETCD cluster advantages, in that context it may be convenient to which tracking is simultaneously The state of management clustered node.
Also, the distributed cloud memory cell is realized using Gluster FS clusters, therefore, distributed cloud storage is single Meta structure design is good, be easy to extend and configure, and can pass through the flexible collocation of the modules solution good to obtain specific aim Scheme.
In a more specific embodiment, as shown in fig. 6, the distributed event and state memory cell include Version querying unit, action listener unit and polymorphic instance metadata information unit, are respectively used to store Multi-state data storehouse version Information (/version), logout (/Instance Listener) and polymorphic instance metadata information (/Instance), phase The polymorphic metadata information of Ying Di, the distributed event and state memory cell include Multi-state data storehouse version information (/ Version), logout (/Instance Listener) and polymorphic instance metadata information (/Instance).Correspondingly, What the event triggering of so-called distributed event and state memory cell referred to is exactly the change of the logout for storage and touches Send out corresponding operation.
Illustrate:The record declaration of logout (/Instance Listener) unit is as follows:
Id=testVersion, wherein id are the unique marks of a certain polymorphic example, and id values are testVersion.This Record corresponding Multi-state data storehouse version information to be stored in version querying unit, such as record:
TestVersion=/db/testVersion (20150102) .db,
Wherein testVersion is the unique mark of the Multi-state data storehouse version, value/db/testVersion (20150102) .db represents the position that Multi-state data stock is placed in distributed cloud memory cell, and the date 20150102 is client End application accesses the time of application interface unit.
And corresponding polymorphic instance metadata information is testVersion=192.168.0.101:3306, represent polymorphic Address and port of the example in container cloud service platform.
In a specific embodiment of the invention, the application interface unit is single for distributed event and state storage Polymorphic metadata information in unit carries out operation to be included:Logout, inquiry in increase or deletion event monitoring unit is polymorphic Polymorphic instance metadata information in instance metadata information unit.
Certainly, the operation that the polymorphic metadata information in distributed event and state memory cell is carried out is potentially included more It is various, simply list several representational conventional operations in the present embodiment, it will be understood by those skilled in the art that In the case of without departing from present inventive concept, more operations are can be extended to, for example, change or edit specific polymorphic version Deng.
The release management unit is operated to the metadata information in distributed event and state memory cell therewith Including:Increase or delete the polymorphic instance metadata information in polymorphic instance metadata information unit.
It is corresponding with the polymorphic instance management system of many scenes of electric power of the present invention, also include in the specific embodiment of the invention A kind of polymorphic instance management method of many scenes of electric power, the management method include step:
A, application interface unit receive client application instruction, to the polymorphic unit in distributed event and state memory cell Data message is operated, and the operation includes increasing or deletion event is recorded and inquires about polymorphic instance metadata information;
B, when the operation in step A for increase or deletion event record when, execution step C, D, when the institute in step A Execution step E when stating operation to inquire about polymorphic instance metadata information;
C, action listener unit notify release management list according to the logout in distributed event and state memory cell Unit, release management unit notify that container cloud service platform increases or deletes polymorphic example;
D, release management unit increase or delete the polymorphic instance metadata information in polymorphic instance metadata information unit;
The polymorphic instance metadata information inquired about is returned to client application by E, application interface unit.
Wherein, when in step C notify release management unit be that logout is increased when, release management unit inquiry point The Multi-state data storehouse version information of cloth event and state memory cell, then loading deployment template file, and by deployment template File submits to container cloud service platform, notifies that container cloud service platform increases polymorphic example, and obtains container cloud service platform In newly increase address and the port numbers of polymorphic example, increase polymorphic reality using the address and port numbers of polymorphic example in step D Example metadata information.
With reference to aforementioned Multi-state data storehouse version information (/version), logout (/Instance Listener) and many State instance metadata information (/Instance) is illustrating that aforementioned operation is comprised the following steps.
1. client application accesses application interface unit, sends instruction createNewInstance (" versionForSecurity "), in base, parameter " versionForSecurity " is unique mark of polymorphic example to be increased Show.
2. application interface unit increase in the action listener unit of distributed event and state memory cell a record/ Id=versionForSecurity.
3. event sniffer increased a new record/id=in listening to action listener unit VersionForSecurity, and obtain its parameter (id=versionForSecurity).Event sniffer notifies to issue pipe Reason module, and Transfer Parameters id=versionForSecurity.
4. the Multi-state data in release management unit Querying Distributed event and state memory cell in version querying unit Storehouse version information, obtaining the Multi-state data storehouse version information corresponding with parameter id=versionForSecurity is VersionForSecurity=/db/versionForSecurity (20150304) .db.
5. release management unit loading deployment template file, with versionForSecurity alternate template variables, and leads to Know that deployment template unit utilization/versionForSecurity (20150304) .db replaces the database file in deployment template Address, subsequent release management unit obtain the deployment template file.
6. deployment template file is submitted to container cloud service platform by release management unit, notifies that container cloud service platform increases Plus new polymorphic example, and in obtaining container cloud service platform, newly increase address and the port numbers of polymorphic example 192.168.0.122:3306。
7. release management unit in polymorphic instance metadata information unit increase newly one record/ VersionForSecurity=192.168.0.122:3306.
Or when notify release management unit in step C be that logout is deleted when, release management unit is according to deleting Except the parameter of logout, the polymorphic example for notifying container cloud service platform deletion event recording parameterses related.
With reference to aforementioned Multi-state data storehouse version information (/version), logout (/Instance Listener) and many State instance metadata information (/Instance) is illustrating that aforementioned operation is comprised the following steps.
1. client application accesses application interface unit, sends instruction deleteInstance ForID (" versionForSecurity "), in base, parameter " versionForSecurity " is unique mark of polymorphic example to be deleted Show.
2. application interface unit deletion record/id=in the action listener unit of distributed event and state memory cell versionForSecurity。
3. event sniffer deletes record/id=versionForSecurity in listening to action listener unit, and Its parameter (id=versionForSecurity) is obtained, event sniffer notifies release management module, and Transfer Parameters id= versionForSecurity。
4. release management unit notifies that container cloud service platform is deleted and is uniquely denoted as many of versionForSecurity State example.
5. release management unit deletion record/versionForSecurity=in polymorphic instance metadata information unit 192.168.0.122:3306。
In addition, the inquiry polymorphic instance metadata information operation includes:Application interface unit ergodic distribution formula event and Polymorphic instance metadata information unit in state memory cell, obtains all polymorphic instance metadata information.
With reference to aforementioned Multi-state data storehouse version information (/version), logout (/Instance Listener) and many State instance metadata information (/Instance) is illustrating that aforementioned operation is comprised the following steps.
1. client application accesses application interface unit, sends instruction getAllInstances ().
2. the polymorphic instance metadata information unit in application interface unit ergodic distribution formula event and state memory cell.
3. application interface unit obtain all polymorphic instance metadata information " testVersion " and “versionForSecurity”。
4. application interface unit is comprising by the list (" testVersion " of polymorphic instance metadata information " versionForSecurity ") return client application.
Therefore, can be illustrated by three of the above operation, many scenes of the electric power employed in the specific embodiment of the invention Polymorphic instance management system and method, can carry out many scenes polymorphic automatically based on the polymorphic instance management pattern of action listener Data extraction and the deployment of Simulation Application, without the need for manual intervention.
Specifically, application interface unit is carried out to the polymorphic metadata information in distributed event and state memory cell Operation, then event sniffer monitors distributed event at any time and the operation of the polymorphic metadata information in state memory cell is believed Breath, so realizes the data sharing of distributed event and state memory cell, first in addition also by distributed event and shape State memory cell has isolated application interface unit, therefore, it is possible to the application interface of unified encapsulation is provided to client application, need not Application interface unit is changed according to polymorphic example.
In addition, the polymorphic instance management system and method for many scenes of electric power employed in the specific embodiment of the invention can also The storage of polymorphic multi-version database data file and polymorphic example that the mode stored based on cloud is realized and operation, have saved this The space of ground server, also improves safety and the sharing of data preservation.
In addition, in the polymorphic instance management system and method for many scenes of electric power employed in the specific embodiment of the invention, Plan as a whole the operation of polymorphic example using release management unit, including database version is for the replacement of deployment template, realizes many The modularity that state example is generated.
It should be noted that above-mentioned embodiment is only the present invention preferably embodiment, it is impossible to be understood as to this The restriction of invention protection domain, under the premise of without departing from present inventive concept, to any minor variations done of the invention and modification Belong to protection scope of the present invention.

Claims (8)

1. a kind of polymorphic instance management system of many scenes of electric power, including container cloud service platform, mirror image warehouse, deployment template list Unit, release management unit, event sniffer, distributed cloud memory cell, application interface unit, distributed event are shared and state Memory cell, wherein,
Application interface unit is connected to distributed event and state memory cell, for receiving client application instruction, to distribution Polymorphic metadata information in formula event and state memory cell is operated;Distributed event and state memory cell are also connected with To event sniffer and release management unit, for realizing that event triggering and polymorphic metadata information are stored;
Event sniffer is connected to the polymorphic of release management unit, event sniffer monitoring distributed event and state memory cell The operational circumstances of metadata information, notify that release management unit carries out polymorphic example operation;
Release management unit is additionally coupled to deployment template unit, container cloud service platform, distributed cloud memory cell and distributed Event and state memory cell, for the notice according to action listener unit, Querying Distributed event and state memory cell Deployment template file, according to the polymorphic metadata information loading deployment template file, is submitted to appearance by polymorphic metadata information Device cloud service platform, and for the notice according to event sniffer, notify that container cloud service platform carries out polymorphic example operation, It is additionally operable to operate the polymorphic metadata information in distributed event and state memory cell;Container cloud service platform is used for Polymorphic example is run, and the notice according to release management unit or submission deployment file carry out polymorphic example operation;
Distributed cloud memory cell is used to store Multi-state data database data file;
Mirror image warehouse is connected to deployment template unit, for storage according to the packaged database service mirror image of ASME Vessel Code ASME;
For providing deployment template file to release management unit, deployment template file includes polymorphic example such as to template deployment unit What is deployed to the detailed description of cloud service platform, and the deployment template file is submitted to cloud service by release management unit and put down Platform.
2. according to the polymorphic instance management system of many scenes of electric power described in claim 1, it is characterised in that the distributed thing Part and state memory cell include version querying unit, action listener unit and polymorphic instance metadata information unit, use respectively In storage Multi-state data storehouse version information, logout and polymorphic instance metadata information, correspondingly, the distributed event and The polymorphic metadata information of state memory cell includes Multi-state data storehouse version information, logout and polymorphic instance metadata letter Breath.
3. according to the polymorphic instance management system of many scenes of electric power described in claim 2, it is characterised in that the application interface Unit includes for the polymorphic metadata information in distributed event and state memory cell carries out operation:Increase or deletion event Logout, the polymorphic instance metadata information inquired about in polymorphic instance metadata information unit in monitoring unit.
4. according to the polymorphic instance management system of many scenes of electric power described in claim 2, it is characterised in that the release management Unit carries out operation to the polymorphic metadata information in distributed event and state memory cell to be included:Increase or delete polymorphic reality Polymorphic instance metadata information in example metadata information unit.
5. a kind of polymorphic instance management method of many scenes of electric power, including step:
A, application interface unit receive client application instruction, to the polymorphic metadata in distributed event and state memory cell Information is operated, and the operation includes increasing or deletion event is recorded and inquires about polymorphic instance metadata information;
B, when the operation in step A for increase or deletion event record when, execution step C, D, as the behaviour in step A As execution step E when inquiring about polymorphic instance metadata information;
C, action listener unit notify release management unit according to the logout in distributed event and state memory cell, send out Cloth administrative unit notifies that container cloud service platform increases or deletes polymorphic example;
D, release management unit increase or delete the polymorphic instance metadata information in polymorphic instance metadata information unit;
The polymorphic instance metadata information inquired about is returned to client application by E, application interface unit.
6. according to the polymorphic instance management method of many scenes of electric power described in claim 5, it is characterised in that when logical in step C Know release management unit be that logout is increased when, release management unit Querying Distributed event and state memory cell Multi-state data storehouse version information, then loading dispose template file, and deployment template file is submitted to container cloud service platform, Notify that container cloud service platform increases polymorphic example, and in obtaining container cloud service platform, newly increase the address and end of polymorphic example Slogan, increases polymorphic instance metadata information using the address and port numbers of the polymorphic example in step D.
7. according to the polymorphic instance management method of many scenes of electric power described in claim 5, it is characterised in that when logical in step C Know release management unit be logout be deleted when, the parameter that release management unit record according to deletion event, notify appearance The related polymorphic example of device cloud service platform deletion event recording parameterses.
8. according to the polymorphic instance management method of many scenes of electric power described in claim 5, it is characterised in that the inquiry is polymorphic The operation of instance metadata information includes:Polymorphic example unit in application interface unit ergodic distribution formula event and state memory cell Data information units, obtain all polymorphic instance metadata information.
CN201610974381.2A 2016-11-04 2016-11-04 The polymorphic instance management system and method for the more scenes of electric power Active CN106548288B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610974381.2A CN106548288B (en) 2016-11-04 2016-11-04 The polymorphic instance management system and method for the more scenes of electric power

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610974381.2A CN106548288B (en) 2016-11-04 2016-11-04 The polymorphic instance management system and method for the more scenes of electric power

Publications (2)

Publication Number Publication Date
CN106548288A true CN106548288A (en) 2017-03-29
CN106548288B CN106548288B (en) 2019-06-11

Family

ID=58394112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610974381.2A Active CN106548288B (en) 2016-11-04 2016-11-04 The polymorphic instance management system and method for the more scenes of electric power

Country Status (1)

Country Link
CN (1) CN106548288B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107276795A (en) * 2017-06-06 2017-10-20 北京小米移动软件有限公司 Information processing method and device and server and terminal based on container
CN108052333A (en) * 2017-12-11 2018-05-18 北京紫优能源科技有限公司 A kind of power scheduling centralized control system standardization Automation arranging method and framework
CN108306963A (en) * 2018-01-30 2018-07-20 环球大数据科技有限公司 A kind of SCADA system and Protocol layer data configuration method
CN108337256A (en) * 2018-01-30 2018-07-27 环球大数据科技有限公司 The method and system of Protocol Instantiation
CN108874403A (en) * 2018-05-30 2018-11-23 深圳市分期乐网络科技有限公司 Dissemination method, device, equipment and the storage medium of rule file
CN110196679A (en) * 2018-03-21 2019-09-03 腾讯科技(深圳)有限公司 Distributed deployment system, method for managing object, device, medium and electronic equipment
CN110244964A (en) * 2019-05-28 2019-09-17 阿里巴巴集团控股有限公司 It is a kind of based on O&M application O&M method, O&M method, device and equipment
WO2019200984A1 (en) * 2018-04-20 2019-10-24 星环信息科技(上海)有限公司 Life cycle management method for distributed application, managers, device and medium
CN110928643A (en) * 2019-11-15 2020-03-27 国网甘肃省电力公司 Electric power simulation system deployment method and device based on containerization
CN111045869A (en) * 2019-12-16 2020-04-21 上海钧正网络科技有限公司 Data backup method and device and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534021A (en) * 2009-04-27 2009-09-16 北京四方继保自动化股份有限公司 Multimode data acquisitions and processing method applied to power automation system
CN201789590U (en) * 2010-05-05 2011-04-06 陕西银河景天电子有限责任公司 Electric power multi-state remote viewing terminal
CN104463492A (en) * 2014-12-23 2015-03-25 国家电网公司 Operation management method of electric power system cloud simulation platform
US20150347513A1 (en) * 2013-03-15 2015-12-03 Microsoft Technology Licensing, Llc Executing stored procedures at parallel databases

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534021A (en) * 2009-04-27 2009-09-16 北京四方继保自动化股份有限公司 Multimode data acquisitions and processing method applied to power automation system
CN201789590U (en) * 2010-05-05 2011-04-06 陕西银河景天电子有限责任公司 Electric power multi-state remote viewing terminal
US20150347513A1 (en) * 2013-03-15 2015-12-03 Microsoft Technology Licensing, Llc Executing stored procedures at parallel databases
CN104463492A (en) * 2014-12-23 2015-03-25 国家电网公司 Operation management method of electric power system cloud simulation platform

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107276795A (en) * 2017-06-06 2017-10-20 北京小米移动软件有限公司 Information processing method and device and server and terminal based on container
CN108052333A (en) * 2017-12-11 2018-05-18 北京紫优能源科技有限公司 A kind of power scheduling centralized control system standardization Automation arranging method and framework
CN108306963B (en) * 2018-01-30 2020-09-08 环球大数据科技有限公司 SCADA system and protocol layer data configuration method
CN108306963A (en) * 2018-01-30 2018-07-20 环球大数据科技有限公司 A kind of SCADA system and Protocol layer data configuration method
CN108337256A (en) * 2018-01-30 2018-07-27 环球大数据科技有限公司 The method and system of Protocol Instantiation
CN110196679A (en) * 2018-03-21 2019-09-03 腾讯科技(深圳)有限公司 Distributed deployment system, method for managing object, device, medium and electronic equipment
WO2019200984A1 (en) * 2018-04-20 2019-10-24 星环信息科技(上海)有限公司 Life cycle management method for distributed application, managers, device and medium
CN108874403A (en) * 2018-05-30 2018-11-23 深圳市分期乐网络科技有限公司 Dissemination method, device, equipment and the storage medium of rule file
CN108874403B (en) * 2018-05-30 2022-07-12 深圳市分期乐网络科技有限公司 Method, device and equipment for issuing rule file and storage medium
CN110244964A (en) * 2019-05-28 2019-09-17 阿里巴巴集团控股有限公司 It is a kind of based on O&M application O&M method, O&M method, device and equipment
CN110244964B (en) * 2019-05-28 2023-04-28 创新先进技术有限公司 Operation and maintenance method, device and equipment based on operation and maintenance application
CN110928643A (en) * 2019-11-15 2020-03-27 国网甘肃省电力公司 Electric power simulation system deployment method and device based on containerization
CN111045869A (en) * 2019-12-16 2020-04-21 上海钧正网络科技有限公司 Data backup method and device and readable storage medium
CN111045869B (en) * 2019-12-16 2023-03-10 上海钧正网络科技有限公司 Data backup method and device and readable storage medium

Also Published As

Publication number Publication date
CN106548288B (en) 2019-06-11

Similar Documents

Publication Publication Date Title
CN106548288A (en) The polymorphic instance management system and method for many scenes of electric power
CN112600891B (en) Information physical fusion-based edge cloud cooperative system and working method
CN102779185B (en) High-availability distribution type full-text index method
US20080263082A1 (en) Recovery segment identification in a computing infrastructure
US9392084B2 (en) Recovery of a network infrastructure to facilitate business continuity
CN111984830A (en) Management operation and maintenance platform and data processing method
CA2923068A1 (en) Method and system for metadata synchronization
CN101621405A (en) Distributed type management monitoring system, monitoring method and establishing method thereof
US11436217B2 (en) Ordered append-only log based data storage
CN115169810A (en) Artificial intelligence system construction method and device for power grid regulation
Lovas et al. Orchestrated platform for cyber-physical systems
CN108491163A (en) A kind of big data processing method, device and storage medium
Trunov et al. Legacy applications model integration to support scientific experiment
CN106406980A (en) Deployment method and device for virtual machines
CN112099917A (en) Regulation and control system containerized application operation management method, system, equipment and medium
KR101626067B1 (en) Apparatus and method for facilitating a transfer of container between slave nodes
CN109818785A (en) A kind of data processing method, server cluster and storage medium
CN106202585B (en) The more scene Multi-state data systems of electric power and management method
CN113010385B (en) Task state updating method, device, equipment and medium
Chen et al. Big data storage architecture design in cloud computing
CN115080309A (en) Data backup system, method, storage medium, and electronic device
CN112351079B (en) Space application and data integrated packaging system and method based on data box
CN111488321A (en) Management system for storage volume
CN111078258A (en) Version upgrading method and device
CN116450301B (en) Container-based monitoring method, system, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant