CN106548288B - The polymorphic instance management system and method for the more scenes of electric power - Google Patents

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

Info

Publication number
CN106548288B
CN106548288B CN201610974381.2A CN201610974381A CN106548288B CN 106548288 B CN106548288 B CN 106548288B CN 201610974381 A CN201610974381 A CN 201610974381A CN 106548288 B CN106548288 B CN 106548288B
Authority
CN
China
Prior art keywords
polymorphic
event
memory cell
unit
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.)
Active
Application number
CN201610974381.2A
Other languages
Chinese (zh)
Other versions
CN106548288A (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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Health & Medical Sciences (AREA)
  • Marketing (AREA)
  • Theoretical Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Development Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Educational Administration (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

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

Description

The polymorphic instance management system and method for the more scenes of electric power
Technical field
The present invention relates to power system automation technologies, especially relate to Power System Analysis and simulation technical field.
Background technique
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 exactly because Operational requirements are not achieved in the emergency reaction ability of system, that fearness only needs several seconds kinds Calculating delay, be also enough to the influence of bringing on a disaster property of power grid production system.So the intelligent dispatch of active distribution network is past Toward being by simulation calculation (the actual operation data based on power grid), the various unusual conditions of simulating grid are found for various The solution of unusual condition is set in advance in the production system of power grid.It is just automatic when production system encounters abnormal conditions It is switched to corresponding solution, the expensive calculating time is protected to save, is in fact exactly a kind of method of space for time.
So-called more scenes of power industry are the concept being manually set, such as security scenario, abnormal scene and algebra of events Scape etc., it is referred to as polymorphic there are multiple choices scheme under each scene.The polymorphic hierarchical relationship such as figure with Simulation Application of more scenes Shown in 1.Simulation Application needs to modify the parameter of database when carrying out Power System Analysis and planning, and production system is not fill Perhaps data are arbitrarily modified, so to generate an individual database based on storage facility located at processing plant, state is referred to as runed, analyzes state, plan State etc..It carries out more according to scene (security scenario, abnormal scene and event scenarios) determination first when Power System Analysis and planning State database version is analyzed and is planned in conjunction with creation data, historical data and auxiliary data.
As shown in Fig. 2, Multi-state data library is generated based on storage facility located at processing plant, the different characteristics according to storage facility located at processing plant produce more Kind Multi-state data library version, is respectively used to meet different polymorphic applications.But Multi-state data library is only some data File, so-called polymorphic example, refers under a certain scene, loads a specific Multi-state data library version to generate one The database instance of a operating status carries out operation state for Simulation Application, and a certain specific objective grinds under analysis state or planning state Study carefully.
In addition, as shown in figure 3, current any Database Systems all include two parts: database service and database file, Usual database service is made of multiple software process, and database file is exactly the physical data files being stored on disk, By database service loading of databases file, to generate the database instance that can be run.
In the prior art, more scene Multi-state datas extract and the deployment of Simulation Application is all manually realized, automate Degree is very low, inefficient, disposes a set of Simulation Application and usually requires one day or even time a couple of days.Due to being accomplished manually workload Greatly, low efficiency is also easy to malfunction, and because being related to a large amount of polymorphic instance management, it is easy to cause confusion.
In addition, in the prior art, more scene Multi-state data resource-sharing rates are very low, and a polymorphic example generally requires to monopolize Batch server, and after completing verifying, the release of resource is also a very big problem, generally requires artificial deletion, cleaning or again Dress system.
Summary of the invention
The purpose of the present invention is to overcome the shortcomings of the existing technology, provides a kind of polymorphic instance management system of the more scenes of electric power System and method, the polymorphic instance management system and method for the more scenes of electric power are capable of providing unified interface to facilitate client to answer It with calling, additionally is able to be instructed according to client application, carries out the deployment and revision of the polymorphic example of more scenes automatically.
In order to solve the above technical problems, the present invention adopts the following technical scheme that.
A kind of polymorphic instance management system of the more scenes of electric power, including container cloud service platform, mirror image warehouse, deployment template list Member, release management unit, event sniffer, distributed cloud memory cell, application interface unit, distributed event is shared and state Memory cell, wherein
Application interface unit is connected to distributed event and state memory cell, right for receiving client application instruction 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 instance metadata information;
Event sniffer monitors the operational circumstances of the polymorphic metadata information of distributed event and state memory cell, notice 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 event monitoring unit, Querying Distributed event and state storage are single The polymorphic metadata information of member submits deployment template file according to the polymorphic metadata information load deployment template file Container cloud service platform is given, and for the notice according to event sniffer, container cloud service platform is notified to carry out polymorphic example Operation, is also used to operate the polymorphic metadata information in distributed event and state memory cell;
Container cloud service platform according to the notice of release management unit or submits deployment file for running polymorphic example Carry out polymorphic example operation;
Distributed cloud memory cell is for storing Multi-state data library physical data files;
Mirror image warehouse is connected to deployment template unit, for storing the database service mirror packaged according to ASME Vessel Code ASME Picture;
Template deployment unit is used to provide deployment template file to release management unit, and deployment template file includes polymorphic reality Such as it how to be deployed to the detailed description of cloud service platform, this file submits to cloud service platform by release management unit.
Wherein the distributed event and state memory cell include version querying unit, event monitoring unit and polymorphic reality Example metadata information unit is respectively used to storage Multi-state data library 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 library version information, thing Part record 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: increase or logout in deletion event monitoring unit, in the polymorphic instance metadata information unit of inquiry Polymorphic instance metadata information.
The release management unit carries out the polymorphic metadata information in distributed event and state memory cell therewith Operation includes: the polymorphic instance metadata information in increase or the polymorphic instance metadata information unit of deletion.
A kind of polymorphic instance management method of the more scenes of electric power, comprising steps of
A, application interface unit receives client application instruction, to the polymorphic member in distributed event and state memory cell Data information is operated, and the operation includes increase or deletion event record and inquires polymorphic instance metadata information;
B, when the operation in step A is increase or deletion event records, step C, D is executed, when the institute in step A Step E is executed when stating operation to inquire polymorphic instance metadata information;
C, event monitoring unit notifies release management list according to the logout in distributed event and state memory cell Member, release management unit notice container cloud service platform increase or delete polymorphic example;
D, release management unit increases or deletes the polymorphic instance metadata information in polymorphic instance metadata information unit;
E, the polymorphic instance metadata information of inquiry is returned to client application by application interface unit.
Wherein, when notify release management unit in step C is that logout is increased, the inquiry point of release management unit The Multi-state data library version information of cloth event and state memory cell, then load deployment template file, and by deployment template File submits to container cloud service platform, and notice 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 of polymorphic example and port numbers in step D Example metadata information.
Or when notify release management unit in step C is that logout is deleted, release management unit is according to deleting Except the parameter of logout, the relevant polymorphic example of container cloud service platform deletion event recording parameters is notified.
In addition, the inquiry polymorphic instance metadata information operation include: application interface unit ergodic distribution formula event and Polymorphic instance metadata information unit in state memory cell obtains all polymorphic instance metadata information.
Firstly, it is more to be able to solve electric power by using the polymorphic instance management system and method for the more scenes of electric power of the invention The problem of quick cloud deployment of the polymorphic example of scene.
Secondly, being able to solve more scenes by using the polymorphic instance management system and method for the more scenes of electric power of the invention The problem of quick cloud of polymorphic example is destroyed.
In addition, the polymorphic instance management system and method for the more scenes of electric power of the invention, is able to solve more scene Multi-state datas Automatic configuration problem of the library based on template.
Detailed description of the invention
Fig. 1 is the polymorphic hierarchical relationship schematic diagram with Simulation Application of the more scenes of electric power.
Fig. 2 is the schematic illustration that polymorphic example is generated using the load of Multi-state data library version.
Fig. 3 is the schematic illustration of database service loading of databases file generated database instance.
Fig. 4 be based in the specific embodiment of the invention using based on container cloud service platform dispose configuration diagram.
Fig. 5 is the structural schematic diagram of the polymorphic instance management system of the more 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 the more scenes of electric power distributed event and The structural schematic diagram of state memory cell.
Specific embodiment
With reference to the accompanying drawing, it elaborates to the present invention.
The detailed example embodiment of following discloses.However, specific structure and function details disclosed herein merely for the sake of The purpose of example embodiment is described.
It should be appreciated, however, that the present invention is not limited to disclosed particular exemplary embodiment, but covering falls into disclosure model Enclose interior all modifications, equivalent and alternative.In the description to whole attached drawings, identical appended drawing reference indicates identical member Part.
Refering to attached drawing, this specification structure depicted in this specification institute accompanying drawings, ratio, size etc., only to cooperate specification Revealed content is not intended to limit the invention enforceable restriction item so that those skilled in the art understands and reads 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 influencing Under the effect of present invention can be generated and the purpose that can reach, it should all still fall in disclosed technology contents and obtain and can contain In the range of lid.Meanwhile cited position restriction term in this specification, it is merely convenient to being illustrated for narration, rather than to It limits the scope of the invention, relativeness is altered or modified, under the content of no substantial changes in technology, when being also considered as The enforceable scope of the present invention.
It will also be appreciated that term "and/or" as used in this, which includes that one or more is relevant, lists any of item With all combinations.It will further be appreciated that when component or unit referred to as " connect " or when " coupled " to another component or unit, it It can be directly connected or coupled to other component or unit, or there may also be intermediate member or units.In addition, being used to describe Between component or unit other words of relationship should understand in the same fashion (for example, " between " to " directly between ", " adjacent " is to " direct neighbor " etc.).
Before introducing the specific embodiment of the invention, some the relevant technologies are briefly explained first.
ETCD is a kind of key assignments storage system of High Availabitity, is mainly used for configuration sharing and service discovery.ETCD be by CoreOS is developed and is safeguarded, thinking is from ZooKeeper and Doozer.It is write using Go language, and passes through Raft mono- Cause property algorithm process daily record reproduction is to guarantee strong consistency.Raft is the new coherence method from Stanford, is fitted For the daily record reproduction of distributed system, Raft realizes consistency by way of election, in Raft, any one node All it is likely to become Leader.Container cluster management system Kubernetes, the open source PaaS platform Cloud Foundry of Google ETCD has been widely used with the Fleet of CoreOS.
In a distributed system, how the state between management node is always a problem, and ETCD is exclusively for collection group rings The service discovery in border and registration and design, it provides data TTL failure, data change monitoring, multivalue, catalogue are monitored, divided The functions such as cloth lock operation, track and manage the state of clustered node in which can be convenient.
Gluster FS is a kind of distributed file system, and constitutes the underlying file systems of cloud storage, is had Good scalability.The structure design of software is good, is easy to extend and configure, by the flexible collocation of modules to obtain Targetedly solution.It can solve following problems: Network Storage, joint storage (merging the memory space on multiple nodes), Redundancy backup, the load balancing (piecemeal) of big file.
So-called container cloud refers to the second 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 be one open source application container engine, allow developer can be packaged they application and Packet is relied on into a transplantable container, is then published on the Linux machine of any prevalence, also may be implemented to virtualize. Container is not have any interface between each other using sandbox mechanism completely.
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 has multiple Multi-state data libraries data file in distributed cloud storage, is holding with database mirroring Multiple polymorphic examples are formed in device cloud basic platform.
As shown in figure 5, include a kind of polymorphic instance management system of the more scenes of electric power in the specific embodiment of the invention, it is described The polymorphic instance management system of the more scenes of electric power includes container cloud service platform, mirror image warehouse, deployment template unit, release management list Member, event sniffer, distributed cloud memory cell, application interface unit, distributed event is shared and state memory cell, In,
Application interface unit is connected to distributed event and state memory cell, right for receiving client application instruction 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 member of distributed event and state memory cell The operational circumstances of data information, notice release management unit carry 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 event monitoring unit, Querying Distributed event and state storage are single The polymorphic metadata information of member submits deployment template file according to the polymorphic metadata information load deployment template file Container cloud service platform is given, and for the notice according to event sniffer, container cloud service platform is notified to carry out polymorphic example Operation, is also used to operate the metadata information in distributed event and state memory cell;
Container cloud service platform according to the notice of release management unit or submits deployment file for running polymorphic example Carry out polymorphic example operation;
Distributed cloud memory cell is used to store the physical data files in Multi-state data library;
Mirror image warehouse is connected to deployment template unit, for storing the database service mirror packaged according to ASME Vessel Code ASME Picture, comprising being directed toward the address of certain mirror image in the deployment template;
Template deployment unit is used to provide deployment template file to release management unit, and deployment template file includes polymorphic reality Such as it how to be deployed to the detailed description of cloud service platform, this file submits to cloud service platform by release management unit.
The polymorphic instance management system of the more scenes of electric power through the invention in specific embodiment, first application interface unit Unified access interface is provided client application, it is user-friendly.In addition event sniffer can monitor distributed event And the polymorphic metadata information operational circumstances of state memory cell, notice release management unit carry out polymorphic example operation, in this way Under conditions of without human intervention, the increase, deletion and information inquiry business of more scenes polymorphic example can be carried out automatically.
In addition, the polymorphic Entity Management Systems of the more scenes of electric power will specific polymorphic version number in the specific embodiment of the invention Cloud storage is carried out using distributed cloud memory cell according to library data file, the safety of storage had both been improved, and had also avoided this The occupancy of ground server resource.
In addition, specific polymorphic example is also to be run using container cloud service platform in the specific embodiment of the invention, The effective use that can be realized shared resource in this way, increases redundant safety, is also convenient for the polymorphic example of the more scenes of electric power oneself It is dynamic to increase and delete.
Wherein, as shown in figure 5, the distributed event and state memory cell can use ETCD cluster to realize, because This, the polymorphic edition management system of the more scenes of electric power of the invention is effectively utilized ETCD cluster advantage, it may be convenient to which tracking is simultaneously Manage the state of clustered node.
Also, the distribution cloud memory cell is realized using Gluster FS cluster, and therefore, distributed cloud storage is single Meta structure design is good, is easy to extend and configure, can be by the flexible collocation of modules to obtain the good solution of specific aim Scheme.
In a more specifical embodiment, as shown in fig. 6, the distributed event and state memory cell include Version querying unit, event monitoring unit and polymorphic instance metadata information unit are respectively used to storage Multi-state data library 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 library version information (/ Version), logout (/Instance Listener) and polymorphic instance metadata information (/Instance).Correspondingly, What the triggering of the event of so-called distributed event and state memory cell referred to is exactly the change and touching of the logout for storage Send out corresponding operation.
For example: the record declaration of logout (/Instance Listener) unit is as follows:
Id=testVersion, wherein id is the unique identification of a certain polymorphic example, and id value is testVersion.This It records corresponding Multi-state data library version information to be stored in version querying unit, such as record:
TestVersion=/db/testVersion (20150102) .db,
Wherein testVersion is the unique identification of the Multi-state data library version, value/db/testVersion (20150102) .db indicates that Multi-state data inventory is placed on the position in distributed cloud memory cell, and the date 20150102 is client Hold the time of application access application interface unit.
And corresponding polymorphic instance metadata information is testVersion=192.168.0.101:3306, is indicated polymorphic Address and port of the example in container cloud service platform.
In a specific embodiment of the invention, the application interface unit stores distributed event and state single It includes: that increase or logout in deletion event monitoring unit, inquiry are polymorphic that polymorphic metadata information in member, which carries out operation, Polymorphic instance metadata information in instance metadata information unit.
Certainly, the operation carried out to the polymorphic metadata information in distributed event and state memory cell may include more It is a variety of, several representational common operations only are listed in the present embodiment, it will be understood by those skilled in the art that In the case where without departing from present inventive concept, more operations, such as modification or the specific polymorphic version of editor can be extended to Deng.
The release management unit operates the metadata information in distributed event and state memory cell therewith It include: the polymorphic instance metadata information in increase or the polymorphic instance metadata information unit of deletion.
It is corresponding with the polymorphic instance management system of the more scenes of electric power of the invention, further include in the specific embodiment of the invention A kind of polymorphic instance management method of the more scenes of electric power, the management method comprising steps of
A, application interface unit receives client application instruction, to the polymorphic member in distributed event and state memory cell Data information is operated, and the operation includes increase or deletion event record and inquires polymorphic instance metadata information;
B, when the operation in step A is increase or deletion event records, step C, D is executed, when the institute in step A Step E is executed when stating operation to inquire polymorphic instance metadata information;
C, event monitoring unit notifies release management list according to the logout in distributed event and state memory cell Member, release management unit notice container cloud service platform increase or delete polymorphic example;
D, release management unit increases or deletes the polymorphic instance metadata information in polymorphic instance metadata information unit;
E, the polymorphic instance metadata information of inquiry is returned to client application by application interface unit.
Wherein, when notify release management unit in step C is that logout is increased, the inquiry point of release management unit The Multi-state data library version information of cloth event and state memory cell, then load deployment template file, and by deployment template File submits to container cloud service platform, and notice 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 of polymorphic example and port numbers in step D Example metadata information.
In conjunction with aforementioned Multi-state data library version information (/version), logout (/Instance Listener) and more State instance metadata information (/Instance) illustrates that aforementioned operation includes the following steps.
1. client application accesses application interface unit, instruction createNewInstance is issued (" versionForSecurity "), parameter " versionForSecurity " is unique mark of polymorphic example to be increased in base Show.
2. application interface unit increase in the event monitoring unit of distributed event and state memory cell a record/ Id=versionForSecurity.
3. event sniffer, which listens to, increases a new record/id=in event monitoring unit VersionForSecurity, and obtain its parameter (id=versionForSecurity).Event sniffer notice publication pipe Manage 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 Library version information, obtaining Multi-state data corresponding with parameter id=versionForSecurity library version information is VersionForSecurity=/db/versionForSecurity (20150304) .db.
5. release management unit load deployment template file, with versionForSecurity alternate template variable, and leads to Know the database file in deployment template unit utilization/versionForSecurity (20150304) .db replacement 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, notice container cloud service platform increases Add new polymorphic example, and obtains the address for newly increasing polymorphic example in container cloud service platform and port numbers 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 is that logout is deleted, release management unit is according to deleting Except the parameter of logout, the relevant polymorphic example of container cloud service platform deletion event recording parameters is notified.
In conjunction with aforementioned Multi-state data library version information (/version), logout (/Instance Listener) and more State instance metadata information (/Instance) illustrates that aforementioned operation includes the following steps.
1. client application accesses application interface unit, instruction deleteInstance ForID is issued (" versionForSecurity "), parameter " versionForSecurity " is unique mark of polymorphic example to be deleted in base Show.
2. application interface unit deletion record/id=in the event monitoring unit of distributed event and state memory cell versionForSecurity。
3. event sniffer, which listens in event monitoring unit, deletes record/id=versionForSecurity, and Its parameter (id=versionForSecurity) is obtained, event sniffer notifies release management module, and Transfer Parameters id= versionForSecurity。
4. release management unit notice container cloud service platform, which is deleted, is uniquely denoted as the more 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 include: application interface unit ergodic distribution formula event and Polymorphic instance metadata information unit in state memory cell obtains all polymorphic instance metadata information.
In conjunction with aforementioned Multi-state data library version information (/version), logout (/Instance Listener) and more State instance metadata information (/Instance) illustrates that aforementioned operation includes the following steps.
1. client application accesses application interface unit, instruction getAllInstances () is issued.
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 includes by the list (" testVersion " of polymorphic instance metadata information " versionForSecurity ") return to client application.
Therefore, can be illustrated by three of the above operation, the more scenes of electric power employed in the specific embodiment of the invention Polymorphic instance management system and method it is polymorphic can to carry out automatically more scenes based on the polymorphic instance management mode of event monitoring Data are extracted and the deployment of Simulation Application, are not necessarily to manual intervention.
Specifically, application interface unit carries out the polymorphic metadata information in distributed event and state memory cell Operation, then event sniffer monitors the operation letter of the polymorphic metadata information in distributed event and state memory cell at any time Breath, realizes the data sharing of distributed event and state memory cell, in addition also by distributed event and shape first in this way Application interface unit has been isolated in state memory cell, therefore can provide client application the application interface of unified encapsulation, is not necessarily to Application interface unit is changed according to polymorphic example.
In addition, the polymorphic instance management system and method for the more scenes of electric power employed in the specific embodiment of the invention can also The storage and operation of polymorphic multi-version database data file and polymorphic example that mode based on cloud storage is realized, have saved this The space of ground server also improves the safety and sharing of data preservation.
In addition, in the polymorphic instance management system and method for the more scenes of electric power employed in the specific embodiment of the invention, The operation for being planned as a whole polymorphic example using release management unit, the replacement including database version for deployment template, is realized more The modularization that state example generates.
It should be noted that above embodiment is only the preferable embodiment of the present invention, cannot be understood as to this The limitation of invention protection scope, under the premise of without departing from present inventive concept, to any minor variations and modifications of the invention done It all belongs to the scope of protection of the present invention.

Claims (7)

1. a kind of polymorphic instance management system of the more scenes of electric power, including container cloud service platform, mirror image warehouse, deployment template list Member, release management unit, event sniffer, distributed cloud memory cell, application interface unit, distributed event is 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 additionally coupled to event sniffer and release management unit, for realizing event triggering It is stored with polymorphic metadata information;
Event sniffer is connected to release management unit, and event sniffer monitors the polymorphic of distributed event and state memory cell The operational circumstances of metadata information, notice release management unit carry out polymorphic example operation;
Release management unit is additionally coupled to deployment template unit, container cloud service platform, distributed cloud memory cell and distribution Event and state memory cell, for the notice according to event monitoring unit, Querying Distributed event and state memory cell Deployment template file is submitted to appearance according to the polymorphic metadata information load deployment template file by polymorphic metadata information Device cloud service platform, and for the notice according to event sniffer, container cloud service platform is notified to carry out polymorphic example operation, It is also used to operate the polymorphic metadata information in distributed event and state memory cell;
Container cloud service platform according to the notice of release management unit or submits deployment file to carry out for running polymorphic example Polymorphic example operation;
Distributed cloud memory cell is for storing Multi-state data library data file;
Mirror image warehouse is connected to deployment template unit, for storing the database service mirror image packaged according to ASME Vessel Code ASME;
Template deployment unit be used for release management unit provide deployment template file, deployment template file include polymorphic example such as 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. the polymorphic instance management system of the more scenes of electric power according to claim 1, which is characterized in that the distribution thing Part and state memory cell include version querying unit, event monitoring unit and polymorphic instance metadata information unit, are used respectively In storage Multi-state data library 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 library version information, logout and polymorphic instance metadata letter Breath.
3. the polymorphic instance management system of the more scenes of electric power according to claim 2, which is characterized in that the application interface It includes: increase or deletion event that unit, which carries out operation for the polymorphic metadata information in distributed event and state memory cell, The polymorphic instance metadata information in logout, the polymorphic instance metadata information unit of inquiry in monitoring unit.
4. the polymorphic instance management system of the more scenes of electric power according to claim 2, which is characterized in that the release management It includes: increase or the polymorphic reality of deletion that unit, which carries out operation to the polymorphic metadata information in distributed event and state memory cell, Polymorphic instance metadata information in example metadata information unit.
5. a kind of polymorphic instance management method of the more scenes of electric power, comprising steps of
A, application interface unit receives client application instruction, to the polymorphic metadata in distributed event and state memory cell Information is operated, and the operation includes increase or deletion event record and inquires polymorphic instance metadata information;
B, when the operation in step A is increase or deletion event records, step C, D is executed, as the behaviour in step A Step E is executed as when inquiring polymorphic instance metadata information;
C, event monitoring unit notifies release management unit, hair according to the logout in distributed event and state memory cell Cloth administrative unit notice container cloud service platform increases or deletes polymorphic example;
D, release management unit increases or deletes the polymorphic instance metadata information in polymorphic instance metadata information unit;
E, the polymorphic instance metadata information of inquiry is returned to client application by application interface unit;
Wherein, when notify release management unit in the step C is that logout is increased, release management unit Query distribution The Multi-state data library version information of formula event and state memory cell, then template file is disposed in load, and deployment template is literary Part submits to container cloud service platform, and notice container cloud service platform increases polymorphic example, and obtains in container cloud service platform Address and the port numbers of polymorphic example are newly increased, are increased in step D using the address of the polymorphic example and port numbers polymorphic Instance metadata information.
6. the polymorphic instance management method of the more scenes of electric power according to claim 5, which is characterized in that when logical in step C When know release management unit is that logout is deleted, the parameter that release management unit is recorded according to deletion event, notice is held The relevant polymorphic example of device cloud service platform deletion event recording parameters.
7. the polymorphic instance management method of the more scenes of electric power according to claim 5, which is characterized in that the inquiry is polymorphic The operation of instance metadata information includes: the polymorphic example member 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 CN106548288A (en) 2017-03-29
CN106548288B true 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)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107276795B (en) * 2017-06-06 2020-06-02 北京小米移动软件有限公司 Container-based information processing method and device, server and terminal
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
CN108337256A (en) * 2018-01-30 2018-07-27 环球大数据科技有限公司 The method and system of Protocol Instantiation
CN110196679B (en) * 2018-03-21 2023-01-17 腾讯科技(深圳)有限公司 Distributed deployment system, object management method, device, medium and electronic equipment
CN108595316B (en) * 2018-04-20 2020-02-21 星环信息科技(上海)有限公司 Lifecycle management method, manager, device, and medium for distributed application
CN108874403B (en) * 2018-05-30 2022-07-12 深圳市分期乐网络科技有限公司 Method, device and equipment for issuing rule file and storage medium
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
CN111045869B (en) * 2019-12-16 2023-03-10 上海钧正网络科技有限公司 Data backup method and device and readable storage medium

Citations (3)

* 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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9128990B2 (en) * 2013-03-15 2015-09-08 Microsoft Technology Licensing, Llc Executing stored procedures at parallel databases

Patent Citations (3)

* 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

Also Published As

Publication number Publication date
CN106548288A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
CN106548288B (en) The polymorphic instance management system and method for the more scenes of electric power
Finogeev et al. The convergence computing model for big sensor data mining and knowledge discovery
CN111984830A (en) Management operation and maintenance platform and data processing method
WO2023142054A1 (en) Container microservice-oriented performance monitoring and alarm method and alarm system
US20140358844A1 (en) Workflow controller compatibility
Lu et al. Cloud computing survey
US11436217B2 (en) Ordered append-only log based data storage
US9392084B2 (en) Recovery of a network infrastructure to facilitate business continuity
CN110650038A (en) Security event log collecting and processing method and system for multiple classes of supervision objects
CN110297869B (en) AI data warehouse platform and operation method
CN114169579B (en) Nuclear Power Industry Internet Comprehensive Intelligent Platform System
Satoh A framework for data processing at the edges of networks
Trunov et al. Legacy applications model integration to support scientific experiment
US20210303438A1 (en) Methods and Systems that Identify Dimensions Related to Anomalies in System Components of Distributed Computer Systems using Traces, Metrics, and Component-Associated Attribute Values
CN111048164A (en) Medical big data long-term storage system
CN106202585B (en) The more scene Multi-state data systems of electric power and management method
Vergadia Visualizing Google Cloud: 101 Illustrated References for Cloud Engineers and Architects
WO2024012082A1 (en) Big data cluster deployment method and apparatus, device, and medium
CN102411502B (en) Component sensing node and construction method thereof
Polak et al. Organization of quality-oriented data access in modern distributed environments based on semantic interoperability of services and systems
CN113010385B (en) Task state updating method, device, equipment and medium
Pham et al. Towards an Elastic Fog‐Computing Framework for IoT Big Data Analytics Applications
CN114579364A (en) Cloud native database backup method based on hybrid cloud
CN113886061A (en) Industry thing networking operation and maintenance platform
Posey et al. Infrastructure for transportation cyber-physical systems

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