CN110008004A - A kind of power system computation analysis application virtualization method, apparatus and equipment - Google Patents

A kind of power system computation analysis application virtualization method, apparatus and equipment Download PDF

Info

Publication number
CN110008004A
CN110008004A CN201910289558.9A CN201910289558A CN110008004A CN 110008004 A CN110008004 A CN 110008004A CN 201910289558 A CN201910289558 A CN 201910289558A CN 110008004 A CN110008004 A CN 110008004A
Authority
CN
China
Prior art keywords
application
virtualization
data
electric power
electric
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
CN201910289558.9A
Other languages
Chinese (zh)
Other versions
CN110008004B (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.)
Guangdong Power Grid Co Ltd
Electric Power Dispatch Control Center of Guangdong Power Grid Co Ltd
Original Assignee
Guangdong Power Grid Co Ltd
Electric Power Dispatch Control Center of Guangdong Power Grid 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 Guangdong Power Grid Co Ltd, Electric Power Dispatch Control Center of Guangdong Power Grid Co Ltd filed Critical Guangdong Power Grid Co Ltd
Priority to CN201910289558.9A priority Critical patent/CN110008004B/en
Publication of CN110008004A publication Critical patent/CN110008004A/en
Application granted granted Critical
Publication of CN110008004B publication Critical patent/CN110008004B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Abstract

This application discloses a kind of power system computations to analyze application virtualization method, device and equipment, belong to electric system operation management technical field, the electrical power system analysis and computing for solving virtualization is not able to satisfy the stateful management for calculating application of electric system and maintenance issues using traditional application management mode, the electric power analysis that the mode of conventional electric power network analysis application data sharing is no longer appropriate for virtualization calculates application problem and electrical power system analysis and computing applies the power system calculation application problem that can not be applied to virtualization by operating system timing library directory curing data mode.

Description

A kind of power system computation analysis application virtualization method, apparatus and equipment
Technical field
This application involves electric system operation management technical field more particularly to a kind of analysis application of power system computation are empty Quasi-ization method, apparatus and equipment.
Background technique
With the expansion of power grid scale and the raising of complexity, dispatching of power netwoks business cooperation regulatory requirement is increasingly More, the business scale of distributed scheduling constantly expands, and effectively and reliably carries out scheduling of resource analysis management to grid power system, It is hot research direction instantly.
In traditional electric power scheduling automatization system, Power System Analysis function such as Load flow calculation, static security analysis etc., It is to be mounted directly to be deployed to operating system, passes through local disposition power system computation analysis application and data on multiple servers Library responds the analysis request of different user.Power System Analysis application function under this framework requires user's service of logging on to Device or work station carry out analytical calculation, limit the use scope and frequency of use of user, and due to power system calculation application Be deployed on physical server, be the resource allocated in advance, cause in most cases computing resource utilization rate it is lower;Simultaneously It is limited by server and number of applications, limits the number of users concurrently used, be not easy to system extension, be unable to satisfy multistage association The demand of Power System Analysis service is used with multi-stage scheduling user sharing under electric system background.
In view of electric system to the high request of reliability, preferably to promote support of the information system to business, by In the development of current internet plus technology, service management and scheduling are provided using virtualization technology in application base layer support platform. Virtualization technology has become the server resource sharing mode being widely recognized as by the public, it can be in building operating system on demand Great flexibility is provided in the process of example for system manager.In order to improve performance existing for traditional virtualization technology The problem of in terms of resource utilization, there is container technique, container technique provides better availability and distribution simultaneously Hair ability makes electric system application more fully using hardware resource, more efficient largely virtual using limited point spread Container provides Parallel Service, while can provide the calculating Analysis Service of virtualization towards scheduling users at different levels, calculates improving Reinforce the information sharing between electric system at different levels while resource utilization.But traditional application management mode is applied to Electric system virtual management mode can have the following problems:
(1) electrical power system analysis and computing virtualized is not able to satisfy electric system using traditional application management mode The stateful management and maintenance for calculating application;
(2) the electric power analysis calculating that the mode of conventional electric power network analysis application data sharing is no longer appropriate for virtualization is answered With;
(3) electrical power system analysis and computing, which is applied, can not be applied to void by operating system timing library directory curing data mode The power system calculation application of quasi-ization.
Summary of the invention
The embodiment of the present application provides a kind of power system computation analysis application virtualization method, apparatus and equipment, is used for It solves to manage and maintain present in the above electric system virtual management, the skill that data sharing and data write reuse Art problem.
In view of this, the application first aspect provides a kind of power system computation analysis application virtualization method, including Following steps:
101, virtualization configuration definition is carried out to all dummy nodes of electric system, electric power analysis is calculated to the shape of application State data unified definition is in the same NameSpace and catalogue of operating system;
102, the corresponding Configuration Agent process of virtualization configuration definition described in pull-up, reads the described of the virtualization node The electric power analysis for virtualizing configuration definition, and initializing the electric system calculates the running environment of application;
103, data in the catalogue of carry information are read, the communication initialization demand of stateful application is completed, are started Electric system platform network service, and judge whether the electric system platform network service processes start success, if so, executing Step 104, otherwise, misprint log and prompt to check and modify the virtualization configuration definition, return step 101;
104, the first electric power analysis of starting calculates application, the load of computation model data is mapped to program internal memory, if starting Success, thens follow the steps 105, otherwise, return step 103;
105, the analytical calculation service that application provides is calculated according to first electric power analysis, calculated result is write into calculating In model memory, breath of concurrently delivering letters notifies the electric system platform network service;
106, the electric system platform network service is obtained to be calculated according to the electric power analysis that the information is read The calculating data copy is received the calculating application memory region of data by the calculating data of application into computation model memory, And the second electric power analysis calculating application for receiving model data is sent the notification to by the electric system platform network service, make It obtains second electric power analysis and calculates the reception datarams block reading data for being applied to and being assigned in the computation model memory Carry out the execution of analytical calculation business;
107, the intermediate result data that the analytical calculation business executes is write to second electricity of the dummy node In the timing library directory of power analytical calculation application, so that the intermediate result data is under the timing library directory automatically according to reflecting It penetrates in information hardness data to host disk directory.
Preferably, step 101 specifically includes:
Virtualization node Definition of Division is configured as in each dummy node of electric system, virtualization node application is determined Justice, the Configuration Agent program of virtualization node starting and management, complete the virtualization configuration definition of dummy node, by electric power analysis The status data unified definition of application is calculated in the same NameSpace and catalogue of operating system.
Preferably, the intermediate result data includes nodal information data and branch information data.
Preferably, step 102 specifically includes:
The corresponding Configuration Agent process of virtualization configuration definition described in pull-up reads the described virtual of the virtualization node Change configuration definition, the directory location that the electric power analysis calculates application is positioned, according to defined in the virtualization configuration definition Application order sequentially start-up loading application sequentially executes the start command of next application after previous application is completed to load.
The application second aspect additionally provides a kind of electric system application virtual bench, comprises the following modules:
Configuration module, for carrying out virtualization configuration definition to all dummy nodes of electric system, by electric power analysis meter The status data unified definition of application is calculated in the same NameSpace and catalogue of operating system;
Initialization module is read described virtual for the corresponding Configuration Agent process of virtualization configuration definition described in pull-up The electric power analysis changed the virtualization configuration definition of node, and initialize the electric system calculates the operation ring of application Border;
Loading module, data in the catalogue for reading carry information, completes the communication initialization of stateful application Demand starts the service of electric system platform network, and judges whether the electric system platform network service processes start success, If so, triggering mapping block, otherwise, misprint log simultaneously prompt to check the modification virtualization configuration definition, retriggered The configuration module;
The mapping block, calculates application for starting the first electric power analysis, and the load of computation model data is mapped to journey Sequence memory triggers writing module if starting successfully, otherwise, loading module described in retriggered;
The write module will be counted for calculating the analytical calculation service that application provides according to first electric power analysis It calculates result to write in computation model memory, breath of concurrently delivering letters notifies the electric system platform network service;
Read module, the electric power read for obtaining the electric system platform network service according to the information The calculating data of analytical calculation application receive the calculating data copy in the calculating application of data into computation model memory Region is deposited, and sends the notification to the second electric power analysis calculating for receiving model data by the electric system platform network service Using so that second electric power analysis calculates the reception datarams block for being applied to and being assigned in the computation model memory and reads Access is according to progress analytical calculation business execution;
Curing module, the intermediate result data for executing the analytical calculation business write the institute of the dummy node State the second electric power analysis calculate application timing library directory in so that the intermediate result data under the timing library directory from It moves according on map information curing data to host disk directory.
Preferably, the configuration module is specifically used for:
Virtualization node Definition of Division is configured as in each dummy node of electric system, virtualization node application is determined Justice, the Configuration Agent program of virtualization node starting and management, complete the virtualization configuration definition of dummy node, by electric power analysis The status data unified definition of application is calculated in the same NameSpace and catalogue of operating system.
Preferably, the initialization module is specifically used for:
The corresponding Configuration Agent process of virtualization configuration definition described in pull-up reads the described virtual of the virtualization node Change configuration definition, the directory location that the electric power analysis calculates application is positioned, according to defined in the virtualization configuration definition Application order sequentially start-up loading application sequentially executes the start command of next application after previous application is completed to load.
The application third aspect additionally provides a kind of power system computation analysis application virtualization equipment, and the equipment includes Processor and memory;
Said program code is transferred to the processor for storing program code by the memory;
The processor is used for the power system computation according to the instruction execution first aspect in said program code Analyze application virtualization method.
The application fourth aspect additionally provides a kind of computer readable storage medium, and the computer readable storage medium is used In storage program code, said program code is for executing the analysis of power system computation described in first aspect application virtualization side Method.
The 5th aspect of the application additionally provides a kind of computer program product including instruction, when it runs on computers When, so that the computer executes power system computation described in first aspect and analyzes application virtualization method.
As can be seen from the above technical solutions, the embodiment of the present application has the advantage that
In the application, a kind of power system computation analysis application virtualization method is provided, comprising: 101, to electric system All dummy nodes carry out virtualization configuration definition, by electric power analysis calculate application status data unified definition operation be In the same NameSpace and catalogue of system;102, the corresponding Configuration Agent process of pull-up virtualization configuration definition, reads virtualization The virtualization configuration definition of node, and the electric power analysis for initializing electric system calculates the running environment of application;103, starting electricity Force system platform network service reads data in the catalogue of carry information, completes the communication initialization demand of stateful application, and Judge whether electric system platform network service processes start success, if so, executing step 104, otherwise, misprint log is simultaneously Prompt checks modification virtualization configuration definition, return step 101;104, the first electric power analysis of starting calculates application, will calculate mould The load of type data is mapped to program internal memory, if starting successfully, and executes step 105, otherwise, return step 103;105, basis First electric power analysis calculates the analytical calculation service that application provides, and calculated result is write in computation model memory, is concurrently delivered letters Breath notice electric system platform network service;106, the electric power point that the service of electric system platform network is read according to information is obtained Analysis calculates the calculating data of application, and calculating data copy is received to the calculating application memory area of data into computation model memory Domain, and the second electric power analysis calculating application for receiving model data is sent the notification to by electric system platform network service, make The second electric power analysis calculate be applied in computation model memory be assigned reception datarams block read data analyzed Calculating business executes;107, the intermediate result data that analytical calculation business executes is write to the second electric power analysis meter of dummy node In the timing library directory for calculating application, so that intermediate result data arrives under timing library directory automatically according to map information curing data On host disk directory.
Power system computation provided herein analyzes application virtualization method, carries out to the dummy node of electric system Virtualize configuration definition, by electric power analysis calculate application status data unified definition operating system same NameSpace and In catalogue, the state for calculating application to electric power analysis distinguishes and safeguards solve the electrical power system analysis and computing of virtualization It is not able to satisfy the stateful management for calculating application of electric system and maintenance issues using traditional application management mode;It completes After the virtualization configuration definition of dummy node, pull-up Configuration Agent process starts the service of electric system platform network, by the first electricity The computation model data load of power analytical calculation application is mapped in program internal memory, and carries out analytical calculation service, is tied calculating Fruit is write in computation model memory, reads the calculating data notification in computation model memory by electric system platform network service It calculates and applies to the second electric power analysis, so that the second electric power analysis calculates the reception number for being applied to and being assigned in computation model memory Data are read according to memory block and carry out the execution of analytical calculation business, and it is total to realize the computation model data that electric power analysis calculates between application It enjoys, the mode for solving conventional electric power network analysis application data sharing is no longer appropriate for the electric power analysis calculating application of virtualization Problem;The second electric power analysis that the intermediate result data of analytical calculation business writes dummy node is finally calculated to the timing of application In library, so that intermediate result data is under timing library directory automatically according to map information curing data to host disk directory On, it realizes the calculating data write for calculating electric power analysis calculating application and reuses, solve electrical power system analysis and computing and answer With the power system calculation application problem that can not be applied by operating system timing library directory curing data mode with virtualization.
Detailed description of the invention
Fig. 1 is the process of one embodiment that a kind of power system computation provided by the present application analyzes application virtualization method Schematic diagram;
Fig. 2 is the stream for another embodiment that a kind of power system computation provided by the present application analyzes application virtualization method Journey schematic diagram;
Fig. 3 is the structure of one embodiment that a kind of power system computation provided by the present application analyzes application virtualization device Schematic diagram;
Fig. 4 is the process signal for the application examples that a kind of power system computation provided by the present application analyzes application virtualization method Figure.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only this Apply for a part of the embodiment, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art exist Every other embodiment obtained under the premise of creative work is not made, shall fall in the protection scope of this application.
In order to make it easy to understand, referring to Fig. 1, a kind of power system computation provided by the present application analyzes application virtualization method One embodiment, comprising the following steps:
Step 101 carries out virtualization configuration definition to all dummy nodes of electric system, and electric power analysis is calculated and is applied Status data unified definition in the same NameSpace and catalogue of operating system.
It should be noted that power system computation analysis application virtualization is to enable Power System SCADA application A kind of mode that contact environment relies on from operating system.Application through virtualizing is applied in the method for operation with traditional approach There is no any difference, using operating system interface still can be used as usual.Virtualization applications are husky as a kind of logic Case portion administration provides service on an operating system, rather than is mounted directly is deployed to operating system in a conventional manner, and this mode is logical The proprietary service logic node virtual environment for taking out an application in the way of customized resource isolation is crossed, can be passed through The scene for being combined into logical node satisfaction one electric system application using group of one group of business association.Due to eliminating the reliance on Physical node environment can promote computation capability by the more virtual node instances of management program resilient expansion.
In the embodiment of the present application, it is necessary first to virtual configuration definition is carried out to all dummy nodes of electric system, for The management that stateful electric power analysis calculates application initialization defines program, and dummy node name is defined in agent configuration file Claim, each application program position, the port of application program, start command, using boot sequence, the information such as mount directory will be electric The status data unified definition of power analytical calculation application is in the same NameSpace and catalogue of operating system, therefore, by right The virtual configuration of dummy node defines the state that can calculate application to electric power analysis and distinguishes, and electric power analysis is calculated and is applied Status data unified definition in the same NameSpace and catalogue of operating system, be conducive to electric power analysis calculate application Management service.
Step 102, the corresponding Configuration Agent process of pull-up virtualization configuration definition, the virtualization for reading virtualization node are matched The electric power analysis set definition, and initialize electric system calculates the running environment of application.
It should be noted that pull-up is corresponding in virtualization power system management platform matches after completing step 101 Agent process is set, then electric power analysis calculates dummy node and initially enters initialization process, and corresponding Configuration Agent program is read Electric power analysis calculates application port mirror image, the initialization of data cached catalogue, Power System Analysis application service dependence etc. and matches It sets, and calculates the electric power analysis of initialization electric system the running environment of application.
Step 103 reads data in the catalogue of carry information, completes the communication initialization demand of stateful application, starts Electric system platform network service, and judge whether electric system platform network service processes start success, if so, executing step 104, otherwise, misprint log simultaneously prompts to check modification virtualization configuration definition, return step 101.
It should be noted that needing to start electric system platform network service processes after pull-up Configuration Agent process, flat When platform network is served by starting, the communication initialization demand that data in the carry message catalog complete stateful application is read, When start failure when then Configuration Agent can misprint log and prompt check modification virtualization configuration definition, re-execute the steps 101。
Step 104, the first electric power analysis of starting calculate application, and the load of computation model data is mapped to program internal memory, if Start successfully, thens follow the steps 105, otherwise, return step 103.
It should be noted that when successfully start up electric system platform network service into after, starting the first electric power analysis calculate Using, computation model data are accordingly loaded and are mapped in program internal memory, Configuration Agent according to starting return information, sequence pull-up First electric power analysis calculates the thread of application, executes step 105;The then misprint log when starting failure, the dummy node Will not determine starting failure, still reservation platform network service and Configuration Agent still attempt to activation system analytical calculation apply into Journey returns to step 103.
Step 105 calculates the analytical calculation service that application provides according to the first electric power analysis, and calculated result is write calculating In model memory, breath of concurrently delivering letters notifies the service of electric system platform network.
It should be noted that the first analytical calculation application, which starts to provide, to divide after the first electric power analysis of starting calculates application Analysis calculates service, and calculated result is write in computation model memory and sends notification platform network service.Electric system virtually saves It after all applications of point start successfully, is called in implementation procedure in analytical calculation, it usually needs common one business scenario of completion Power system calculation application model data sharing in dummy node, thus complete call and Collaboration computing service.
Step 106 obtains the meter that the service of electric system platform network calculates application according to the electric power analysis that information is read Count evidence, will calculate data copy and receives the calculating application memory region of data into computation model memory, and passes through power train System platform network service sends the notification to the second electric power analysis calculating application for receiving model data, so that the second electric power analysis meter It calculates the reception datarams block for being applied to and being assigned in computation model memory and reads data progress analytical calculation business execution.
It should be noted that electric system platform network services after obtaining information notice, computation model memory first is read Electric power analysis calculates the calculating data of application, and copies the data in computation model memory in the calculating application for receiving data Region is deposited, and is answered by the second electric power analysis calculating that electric system platform network service sends the notification to reception model data With after the second electric power analysis for receiving message in electric system dummy node, which calculates application, obtains notice, into computation model The reception datarams block being assigned in depositing reads data and carries out the execution of analytical calculation business.
Step 107, the second electric power analysis meter that the intermediate result data that analytical calculation business executes is write to dummy node In the timing library directory for calculating application, so that intermediate result data arrives under timing library directory automatically according to map information curing data On host disk directory.
The intermediate result data of calculating is carried out to calculate data preservation it should be noted that electric power analysis calculates application, in Between result data write the timing library directory of the dummy node application program, which arrives automatically according to map information curing data On host disk directory.File data in electric system dummy node usually stores in memory, therefore is virtually saving After point, data are usually to follow destruction, and this problem does not protrude under the scene for completing calculated result, but for Calculating dummy node destruction in pilot process causes program data imperfect, and the disconnected of last time is needed after dummy node is again started up When the computation model data of face, the problem of data write, becomes especially prominent, therefore leads in the method provided in the embodiment of the present application The mode of computation model data persistence to disk in electric system virtual point is solved the problems, such as this by the mode for crossing catalogue mapping, Mount directory is set in Configuration Agent, when electric system dummy node is restarted, continues to read mount directory calculating first Model data completes the recovery of last computation into dummy node memory, and guarantees the complete of virtual computing process.
The power system computation analysis application virtualization method provided in the embodiment of the present application, to the virtual section of electric system Point carries out virtualization configuration definition, and electric power analysis is calculated to same name of the status data unified definition in operating system of application In space and catalogue, the state for calculating application to electric power analysis is distinguished and is safeguarded, solves the electric system point of virtualization Analysis calculating is not able to satisfy the stateful management for calculating application of electric system using traditional application management mode and maintenance is asked Topic;After the virtualization configuration definition for completing dummy node, pull-up Configuration Agent process starts the service of electric system platform network, The computation model data load that first electric power analysis calculates application is mapped in program internal memory, and carries out analytical calculation service, Calculated result is write in computation model memory, the calculating in computation model memory is read by electric system platform network service Data notification calculates application to the second electric power analysis, so that the calculating of the second electric power analysis is applied in computation model memory and is assigned Reception datarams block read data carry out the execution of analytical calculation business, realize electric power analysis calculate application between calculating mould Type data sharing, the mode for solving conventional electric power network analysis application data sharing are no longer appropriate for the electric power analysis of virtualization Calculate application problem;Finally the second electric power analysis calculating that the intermediate result data of analytical calculation business writes dummy node is answered In timing sequence library, so that intermediate result data is under timing library directory automatically according to map information curing data to host magnetic In disk catalogue, realizes the calculating data write for calculating electric power analysis calculating application and reuse, solve Power System Analysis Calculating application can not be using the power system calculation application problem with virtualization by operating system timing library directory curing data mode.
In order to make it easy to understand, referring to Fig. 2, present invention also provides a kind of power system computations to analyze application virtualization side Another embodiment of method, comprising:
Step 201 is configured as virtualization node Definition of Division, virtualization section in each dummy node of electric system Point application definition, virtualization node start and the Configuration Agent program of management, completes the virtualization configuration definition of dummy node, will Electric power analysis calculates the status data unified definition of application in the same NameSpace and catalogue of operating system.
It should be noted that in the embodiment of the present application, the design configurations generation first in the dummy node of each electric system Program is managed as dummy node Definition of Division and node application definition, while the Configuration Agent program is also used as dummy node to start And the application program of management.The management for calculating application initialization for stateful electric power analysis defines program, in proxy configurations Define dummy node title in file, each application program position, the port of application program, start command, using boot sequence, The information such as mount directory, by electric power analysis calculate application status data unified definition operating system same NameSpace and In catalogue.
Step 202, the corresponding Configuration Agent process of pull-up virtualization configuration definition, the virtualization for reading virtualization node are matched Definition is set, positioning electric power analysis calculates the directory location of application, sequentially according to application order defined in virtualization configuration definition Start-up loading application sequentially executes the start command of next application after previous application is completed to load.
It should be noted that after completing step 201, pull-up is corresponding matches in virtualization power system management platform Agent process is set, the corresponding Configuration Agent process of pull-up in virtualization power system management platform, then electric power analysis calculates Dummy node initially enters initialization process, and corresponding Configuration Agent program reads electric power analysis and calculates application port mirror image, delays The configuration such as the initialization of deposit data catalogue, Power System Analysis application service dependence, and position electric power analysis and calculate using journey The directory location of sequence goes sequentially start-up loading application according to the application order of definition, after previous application is completed to load, sequence Execute the start command of next application.
Step 203 reads data in the catalogue of carry information, completes the communication initialization demand of stateful application, starts Electric system platform network service, and judge whether electric system platform network service processes start success, if so, executing step 204, otherwise, misprint log simultaneously prompts to check modification virtualization configuration definition, return step 201.
It should be noted that the step 103 in step 203 and a upper embodiment is consistent, herein not in the embodiment of the present application It is described in detail again.
Step 204, the first electric power analysis of starting calculate application, and the load of computation model data is mapped to program internal memory, if Start successfully, thens follow the steps 105, otherwise, return step 203.
It should be noted that the step 104 in step 204 and a upper embodiment is consistent, herein not in the embodiment of the present application It is described in detail again.
Step 205 calculates the analytical calculation service that application provides according to the first electric power analysis, and calculated result is write calculating In model memory, breath of concurrently delivering letters notifies the service of electric system platform network.
It should be noted that the step 105 in step 205 and a upper embodiment is consistent, herein not in the embodiment of the present application It is described in detail again.
Step 206 obtains the meter that the service of electric system platform network calculates application according to the electric power analysis that information is read Count evidence, will calculate data copy and receives the calculating application memory region of data into computation model memory, and passes through power train System platform network service sends the notification to the second electric power analysis calculating application for receiving model data, so that the second electric power analysis meter It calculates the reception datarams block for being applied to and being assigned in computation model memory and reads data progress analytical calculation business execution.
It should be noted that the step 206 in the embodiment of the present application is consistent with the step 106 in a upper embodiment, herein No longer it is described in detail.
Step 207, the second electric power analysis meter that the intermediate result data that analytical calculation business executes is write to dummy node In the timing library directory for calculating application, so that intermediate result data arrives under timing library directory automatically according to map information curing data On host disk directory.
Further, intermediate result data includes nodal information data and branch information data.
The intermediate result data such as power system calculation application node of calculating is believed it should be noted that electric power analysis calculates application Breath, including node voltage amplitude, angle, amount of unbalance etc., branch information include active and idle Branch Power Flow data, electric power It calculates and is saved using the calculating such as operation information data, these data write the timing sequence library mesh of the dummy node application program Record, the catalogue is automatically according on map information curing data to host disk directory.File in electric system dummy node Data usually store in memory, therefore after dummy node, and data are usually to follow destruction, for completing to calculate As a result this problem does not protrude under scene, but causes program data imperfect dummy node destruction in calculating process, When needing the section calculation model data of last time after dummy node is again started up, the problem of data write, becomes especially prominent, Therefore by the computation model in electric system virtual point in such a way that catalogue maps in the method provided in the embodiment of the present application The mode of data persistence to disk solves the problems, such as this, and mount directory is arranged in Configuration Agent, when electric system dummy node When restarting, continues to read the mount directory computation model data first into dummy node memory, completes the recovery of last computation, And guarantee the complete of virtual computing process.
In order to make it easy to understand, referring to Fig. 4, Fig. 4 is a kind of power system computation analysis provided in the embodiment of the present application The flow chart of the application examples of application virtualization method, the power system computation analysis application virtualization provided in the embodiment of the present application Method application examples specifically:
Delete transformation to adapt in the form of the micro services after virtualization first against traditional electric system platform, electric power System platform is currently the basic support platform of dispatching of power netwoks monitoring system, built-in a large amount of real time monitoring scheduling class business Base layer support function is the heavy platform software with 19GB size.It needs to guarantee light weight, simplicity in virtualization mode Transplantable characteristic, therefore using the file system of the historical storage class data migration in electric system platform to host as mesh Carry volume is recorded, while only retaining and the virtualizations supports such as virtualization network communication, system administration that electric power application needs is provided Class function, thus the control of electric system platform size in 500MB, apply flat dependent on electric system by electrical power system analysis and computing Platform, the application need the data directory in program to be mounted to virtual machine file system, and operation is only retained in virtualization node The file of program.Therefore, Configuration Agent program defines the application that the dummy node divides first in the present processes application examples Definition, electric system platform then depend on electric system as the application configuration started first, electrical power system analysis and computing application The starting of platform takes up the process that electrical power system analysis and computing application relies on, while defining the carry host of two applications Directory information.
The start command of dummy node configuration definition pull-up electric system platform first, electricity are read after Configuration Agent starting It is stored in Force system platform start-up course according to the data of configured file directory carry information MAP host file system Platform respective directories in dummy node, in this way, the initialization procedure of electric system platform and traditional approach initialization are read The document location of data has no difference, and after the starting of electric system platform, Configuration Agent gets platform successful information, starts gradually Sequentially start electrical power system analysis and computing application, identical with electric system platform, electrical power system analysis and computing application also can basis File mount information MAP file data is initialized to dummy node local directory, to be not felt by virtual method band The difference come;When communicating in dummy node, electrical power system analysis and computing applies the publishing region that information is dealt into shared drive, And notification platform network service, network service are same according to the memory block that the message is put into respective application process by receiving process information Shi Tongzhi receiving process.
Electrical power system analysis and computing is applied result data in calculating process while writing the number of files in dummy node According to storage catalogue, the file system which can map the data into host according to carry information carries out data write, in order to File read-write collision problem is avoided, the application is in configuration definition by for different using mapping in electric system dummy node Host file system directories mode evade the problem, achieve the effect that mount directory all and be an only process read-write, from And guarantee the reliability of historical data, when dummy node is restarted for some reason, application can get last time operation in dummy node The profile data of end guarantees the accuracy of power system computation analysis computation result.
In order to make it easy to understand, referring to Fig. 3, providing a kind of power system computation analysis application void in the embodiment of the present application Quasi- makeup is set, and is comprised the following modules:
Configuration module 301, for carrying out virtualization configuration definition to all dummy nodes of electric system, by electric power analysis The status data unified definition of application is calculated in the same NameSpace and catalogue of operating system.
Initialization module 302 reads virtualization node for the corresponding Configuration Agent process of pull-up virtualization configuration definition Virtualization configuration definition, and initialize electric system electric power analysis calculate application running environment.
Loading module 303, data in the catalogue for reading carry information, the communication initialization for completing stateful application need It asks, starts the service of electric system platform network, and judge whether electric system platform network service processes start success, if so, It triggers mapping block 304, otherwise, misprint log and prompts to check modification virtualization configuration definition, retriggered configures mould Block 301.
Mapping block 304, calculates application for starting the first electric power analysis, and the load of computation model data is mapped to program Memory triggers writing module 305 if starting successfully, otherwise, retriggered loading module 303.
Writing module 305, for calculating the analytical calculation service that application provides according to the first electric power analysis, by calculated result It writes in computation model memory, breath of concurrently delivering letters notifies the service of electric system platform network.
Read module 306 is calculated for obtaining the service of electric system platform network according to the electric power analysis that information is read The calculating data of application will calculate data copy and receive the calculating application memory region of data into computation model memory, and lead to It crosses electric system platform network service and sends the notification to the second electric power analysis calculating application for receiving model data, so that the second electricity Power analytical calculation is applied to the reception datarams block being assigned in computation model memory and reads data progress analytical calculation business It executes.
Curing module 307, the intermediate result data for executing analytical calculation business write the second electricity of dummy node In the timing library directory of power analytical calculation application, so that intermediate result data is solid automatically according to map information under timing library directory Change in data to host disk directory.
Further, configuration module 301 is specifically used for:
Virtualization node Definition of Division is configured as in each dummy node of electric system, virtualization node application is determined Justice, the Configuration Agent program of virtualization node starting and management, complete the virtualization configuration definition of dummy node, by electric power analysis The status data unified definition of application is calculated in the same NameSpace and catalogue of operating system.
Further, initialization module 302 is specifically used for:
Pull-up virtualizes the corresponding Configuration Agent process of configuration definition, reads the virtualization configuration definition of virtualization node, The directory location that electric power analysis calculates application is positioned, according to application order sequentially start-up loading defined in virtualization configuration definition Using, when previous application complete load after, sequentially execute the start command of next application.
Further, intermediate result data includes nodal information data and branch information data.
A kind of embodiment of power system computation analysis application virtualization equipment, this Shen are additionally provided in the embodiment of the present application The power system computation analysis application virtualization equipment that please be provided in embodiment includes processor and memory;
Program code is transferred to processor for storing program code by memory;
Processor is used to analyze application virtualization method according to the aforementioned power system computation of instruction execution in program code Power system computation in embodiment analyzes application virtualization method.
A kind of embodiment of computer readable storage medium is additionally provided in the embodiment of the present application, the embodiment of the present application provides Computer readable storage medium, for storing program code, program code is answered for executing aforementioned power system computation analysis Application virtualization method is analyzed with the power system computation in virtual method embodiment.
A kind of computer program product embodiments including instruction, the embodiment of the present application are additionally provided in the embodiment of the present application Middle offer includes the computer program product instructed, when run on a computer, so that computer executes aforementioned electric power System-computed analyzes the power system computation in application virtualization embodiment of the method and analyzes application virtualization method.
In several embodiments provided herein, it should be understood that disclosed system and method can pass through it Its mode is realized.For example, system embodiment described above is only schematical, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of system or unit Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (full name in English: Read-Only Memory, english abbreviation: ROM), random access memory (full name in English: Random Access Memory, english abbreviation: RAM), the various media that can store program code such as magnetic or disk.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before Embodiment is stated the application is described in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of power system computation analyzes application virtualization method, which comprises the following steps:
101, virtualization configuration definition is carried out to all dummy nodes of electric system, electric power analysis is calculated to the status number of application According to unified definition in the same NameSpace and catalogue of operating system;
102, the corresponding Configuration Agent process of virtualization configuration definition described in pull-up reads the described virtual of the virtualization node The electric power analysis changed configuration definition, and initialize the electric system calculates the running environment of application;
103, data in the catalogue of carry information are read, the communication initialization demand of stateful application is completed, start electric power System platform network service, and judge whether the electric system platform network service processes start success, if so, executing step 104, otherwise, misprint log simultaneously prompts to check the modification virtualization configuration definition, return step 101;
104, the first electric power analysis of starting calculates application, and the load of computation model data is mapped to program internal memory, if starting successfully, 105 are thened follow the steps, otherwise, return step 103;
105, the analytical calculation service that application provides is calculated according to first electric power analysis, calculated result is write into computation model In memory, breath of concurrently delivering letters notifies the electric system platform network service;
106, it obtains the electric system platform network service and application is calculated according to the electric power analysis that the information is read Calculating data, the calculating data copy is received into the calculating application memory region of data into computation model memory, and lead to It crosses the electric system platform network service and sends the notification to the second electric power analysis calculating application for receiving model data, so that institute It states the second electric power analysis and calculates the reception datarams block reading data progress for being applied to and being assigned in the computation model memory Analytical calculation business executes;
107, the intermediate result data that the analytical calculation business executes is write to second electric power point of the dummy node Analysis calculates in the timing library directory of application, so that the intermediate result data is believed under the timing library directory automatically according to mapping It ceases on curing data to host disk directory.
2. power system computation according to claim 1 analyzes application virtualization method, which is characterized in that step 101 tool Body includes:
Be configured as in each dummy node of electric system virtualization node Definition of Division, virtualization node application definition, The Configuration Agent program of virtualization node starting and management, completes the virtualization configuration definition of dummy node, by electric power analysis meter The status data unified definition of application is calculated in the same NameSpace and catalogue of operating system.
3. power system computation according to claim 1 analyzes application virtualization method, which is characterized in that the intermediate knot Fruit data include nodal information data and branch information data.
4. power system computation according to claim 2 analyzes application virtualization method, which is characterized in that step 102 tool Body includes:
The corresponding Configuration Agent process of virtualization configuration definition, the virtualization for reading the virtualization node described in pull-up are matched Definition is set, the directory location that the electric power analysis calculates application is positioned, is applied according to defined in the virtualization configuration definition Sequence sequentially start-up loading application sequentially executes the start command of next application after previous application is completed to load.
5. a kind of power system computation analyzes application virtualization device, which is characterized in that comprise the following modules:
Configuration module answers electric power analysis calculating for carrying out virtualization configuration definition to all dummy nodes of electric system Status data unified definition is in the same NameSpace and catalogue of operating system;
Initialization module reads the virtualization section for the corresponding Configuration Agent process of virtualization configuration definition described in pull-up The virtualization configuration definition of point, and the electric power analysis for initializing the electric system calculates the running environment of application;
Loading module, data in the catalogue for reading carry information, completes the communication initialization demand of stateful application, Start the service of electric system platform network, and judges whether the electric system platform network service processes start success, if so, It triggers mapping block, otherwise, misprint log and prompts to check and modify the virtualization configuration definition, match described in retriggered Set module;
The mapping block calculates application for starting the first electric power analysis, the load of computation model data is mapped in program It deposits, if starting successfully, and triggers writing module, otherwise, loading module described in retriggered;
The write module is tied for calculating the analytical calculation service that application provides according to first electric power analysis by calculating Fruit is write in computation model memory, and breath of concurrently delivering letters notifies the electric system platform network service;
Read module, the electric power analysis read for obtaining the electric system platform network service according to the information The calculating data copy is received the calculating application memory area of data by the calculating data for calculating application into computation model memory Domain, and answered by the second electric power analysis calculating that the electric system platform network service sends the notification to reception model data With so that second electric power analysis calculates the reception datarams block for being applied to and being assigned in the computation model memory and reads Data carry out the execution of analytical calculation business;
Curing module, the intermediate result data for executing the analytical calculation business write described the of the dummy node Two electric power analysis calculate in the timing library directory of application, so that the intermediate result data automatic root under the timing library directory According on map information curing data to host disk directory.
6. power system computation according to claim 5 analyzes application virtualization device, which is characterized in that the configuration mould Block is specifically used for:
Be configured as in each dummy node of electric system virtualization node Definition of Division, virtualization node application definition, The Configuration Agent program of virtualization node starting and management, completes the virtualization configuration definition of dummy node, by electric power analysis meter The status data unified definition of application is calculated in the same NameSpace and catalogue of operating system.
7. power system computation according to claim 6 analyzes application virtualization device, which is characterized in that the initialization Module is specifically used for:
The corresponding Configuration Agent process of virtualization configuration definition, the virtualization for reading the virtualization node described in pull-up are matched Definition is set, the directory location that the electric power analysis calculates application is positioned, is applied according to defined in the virtualization configuration definition Sequence sequentially start-up loading application sequentially executes the start command of next application after previous application is completed to load.
8. a kind of power system computation analyzes application virtualization equipment, which is characterized in that the equipment includes processor and deposits Reservoir;
Said program code is transferred to the processor for storing program code by the memory;
The processor is used for according to the described in any item electric system of instruction execution claim 1-4 in said program code Calculate analysis application virtualization method.
9. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium is for storing program generation Code, said program code require the described in any item power system computations of 1-4 to analyze application virtualization method for perform claim.
10. a kind of computer program product including instruction, which is characterized in that when run on a computer, so that described Computer perform claim requires the described in any item power system computations of 1-4 to analyze application virtualization method.
CN201910289558.9A 2019-04-11 2019-04-11 Electric power system calculation analysis application virtualization method, device and equipment Active CN110008004B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910289558.9A CN110008004B (en) 2019-04-11 2019-04-11 Electric power system calculation analysis application virtualization method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910289558.9A CN110008004B (en) 2019-04-11 2019-04-11 Electric power system calculation analysis application virtualization method, device and equipment

Publications (2)

Publication Number Publication Date
CN110008004A true CN110008004A (en) 2019-07-12
CN110008004B CN110008004B (en) 2021-09-03

Family

ID=67171153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910289558.9A Active CN110008004B (en) 2019-04-11 2019-04-11 Electric power system calculation analysis application virtualization method, device and equipment

Country Status (1)

Country Link
CN (1) CN110008004B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110809017A (en) * 2019-08-16 2020-02-18 云南电网有限责任公司玉溪供电局 Data analysis application platform system based on cloud platform and micro-service framework
CN111049686A (en) * 2019-12-20 2020-04-21 北京科东电力控制系统有限责任公司 Safety protection virtual laboratory of power monitoring system and construction method thereof
CN111176787A (en) * 2019-12-23 2020-05-19 中国建设银行股份有限公司 Data analysis method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739671A (en) * 2012-06-26 2012-10-17 中国电力科学研究院 Desktop virtualization and application display platform during cooperative computing of power system
US20140196032A1 (en) * 2013-01-10 2014-07-10 International Business Machines Corporation Using preprovisioned mutated templates
CN104298472A (en) * 2014-10-12 2015-01-21 张维加 Layered computing virtualization implementing method and device
CN105205729A (en) * 2015-09-22 2015-12-30 许继集团有限公司 Power system energy efficiency public service cloud platform based on cloud computing
CN106168993A (en) * 2016-06-30 2016-11-30 上海科梁信息工程股份有限公司 Electrical network real-time simulation analysis platform
CN107426034A (en) * 2017-08-18 2017-12-01 国网山东省电力公司信息通信公司 A kind of extensive container scheduling system and method based on cloud platform

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739671A (en) * 2012-06-26 2012-10-17 中国电力科学研究院 Desktop virtualization and application display platform during cooperative computing of power system
US20140196032A1 (en) * 2013-01-10 2014-07-10 International Business Machines Corporation Using preprovisioned mutated templates
CN104298472A (en) * 2014-10-12 2015-01-21 张维加 Layered computing virtualization implementing method and device
CN105205729A (en) * 2015-09-22 2015-12-30 许继集团有限公司 Power system energy efficiency public service cloud platform based on cloud computing
CN106168993A (en) * 2016-06-30 2016-11-30 上海科梁信息工程股份有限公司 Electrical network real-time simulation analysis platform
CN107426034A (en) * 2017-08-18 2017-12-01 国网山东省电力公司信息通信公司 A kind of extensive container scheduling system and method based on cloud platform

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110809017A (en) * 2019-08-16 2020-02-18 云南电网有限责任公司玉溪供电局 Data analysis application platform system based on cloud platform and micro-service framework
CN110809017B (en) * 2019-08-16 2022-02-25 云南电网有限责任公司玉溪供电局 Data analysis application platform system based on cloud platform and micro-service framework
CN111049686A (en) * 2019-12-20 2020-04-21 北京科东电力控制系统有限责任公司 Safety protection virtual laboratory of power monitoring system and construction method thereof
CN111049686B (en) * 2019-12-20 2022-07-22 北京科东电力控制系统有限责任公司 Safety protection virtual laboratory of power monitoring system and construction method thereof
CN111176787A (en) * 2019-12-23 2020-05-19 中国建设银行股份有限公司 Data analysis method and device
CN111176787B (en) * 2019-12-23 2023-07-28 中国建设银行股份有限公司 Data analysis method and device

Also Published As

Publication number Publication date
CN110008004B (en) 2021-09-03

Similar Documents

Publication Publication Date Title
US11249956B2 (en) Scalable distributed storage architecture
CN106528327B (en) A kind of data processing method and backup server
CN109522087B (en) Virtual mechanism building method and system based on domestic Shenwei processor
US9582319B2 (en) Migrating virtual machines across network separated data centers
US9946565B2 (en) Management of cloud-computing facility through a virtual infrastructure management server
CN107515776A (en) The uninterrupted upgrade method of business, node to be upgraded and readable storage medium storing program for executing
US20210326168A1 (en) Autonomous cell-based control plane for scalable virtualized computing
CN110008004A (en) A kind of power system computation analysis application virtualization method, apparatus and equipment
CN103198122B (en) Restart the method and apparatus of memory database
US20200036575A1 (en) Methods and systems to troubleshoot and localize storage failures for a multitenant application run in a distributed computing system
CN113032085A (en) Management method, device, server, management system and medium of cloud operating system
CN106775946A (en) A kind of virtual machine Method of Creation Process
CN107544864A (en) A kind of virtual-machine data copy method and virtual-machine data copy system
CN108021378A (en) Upgrade-system, the upgrade method based on virtual machine and device
CN110058813A (en) It is a kind of that management method is locally stored based on the storage of cloud platform block
CN108762882A (en) A kind of moving method, moving apparatus, medium and the computing device of Docker containers
US9864609B1 (en) Rebooting a hypervisor without disrupting or moving an associated guest operating system
CN112202855A (en) Communication device for storing bare metal server and elastic block, intelligent network card and system
CN115408103A (en) Virtual machine live migration method, system, equipment and storage medium
CN113326098B (en) Cloud management platform supporting KVM virtualization and container virtualization
US20220413902A1 (en) Partition migration with critical task prioritization
CN109343935A (en) The instantiation method and device of consumer VNF
CN108848136B (en) Shared storage method of cloud service cluster
Sun et al. Lsovc: A framework for taking live snapshot of virtual cluster in the cloud
CN109857345B (en) System and method for realizing disk mounting interface scheduling management based on concurrency

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