CN113760462A - Method and device for constructing verification environment of dispatching automation system - Google Patents

Method and device for constructing verification environment of dispatching automation system Download PDF

Info

Publication number
CN113760462A
CN113760462A CN202111045196.2A CN202111045196A CN113760462A CN 113760462 A CN113760462 A CN 113760462A CN 202111045196 A CN202111045196 A CN 202111045196A CN 113760462 A CN113760462 A CN 113760462A
Authority
CN
China
Prior art keywords
target
verification environment
automation system
virtual machine
version
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
CN202111045196.2A
Other languages
Chinese (zh)
Other versions
CN113760462B (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 Research Institute of Guangdong Power Grid Co Ltd
Original Assignee
Guangdong Power Grid Co Ltd
Electric Power Research Institute 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 Research Institute of Guangdong Power Grid Co Ltd filed Critical Guangdong Power Grid Co Ltd
Priority to CN202111045196.2A priority Critical patent/CN113760462B/en
Publication of CN113760462A publication Critical patent/CN113760462A/en
Application granted granted Critical
Publication of CN113760462B publication Critical patent/CN113760462B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/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/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • 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/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4488Object-oriented
    • 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/45562Creating, deleting, cloning virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method and a device for constructing a verification environment of a dispatching automation system, wherein the method comprises the following steps: responding to the construction instruction, and determining a target virtualization platform and a corresponding platform program interface; manufacturing a verification environment template and a virtual machine template based on the target virtualization platform; constructing a verification environment example based on the verification environment template; adopting VECE packaging and a calling platform program interface to perform parallel control on a virtual machine template, and cloning to obtain a corresponding virtual machine instance; acquiring target site and version information of a target automation system, and pulling a target version file corresponding to the target site and version information from a preset version repository; integrating the target version file, the verification environment instance and the construction virtual machine instance, and constructing the verification environment of the dispatching automation system. Therefore, the verification construction method is provided for the verification environment of the target power dispatching automation master station system completely and efficiently, and the version verification efficiency is improved.

Description

Method and device for constructing verification environment of dispatching automation system
Technical Field
The invention relates to the technical field of electric power system management and control, in particular to a method and a device for constructing a verification environment of a dispatching automation system.
Background
With the continuous improvement of the dispatching control requirement of the operation specialty of the dispatching automation system and the rapid development of the automation technology, the scale of the system software of the power dispatching automation master station is increasingly large, the functions are increasingly complex, the versions of different power automation dispatching master station systems are different and complicated, different individualized requirements can be provided by using units of different systems, so that the software versions of each site are different, when the program of the master station system is updated (such as the conditions of function upgrading or software missing), the same program updating operation can be safely carried out on some sites, but system faults can also be caused on some sites, and further the dispatching control of the power grid is greatly influenced.
In practical application, version updating and verification of the dispatching automation system need a set of software and hardware basic environment to realize rapid deployment of a software baseline version or field software of the dispatching automation system, and a virtualization operation environment which is suitable for the dispatching automation system can be constructed by a programming means by adopting a virtualization technology, so that the software of the dispatching automation system to be verified is operated and verified in a virtual machine, and the deployment of the software of the dispatching automation system is accelerated. However, at present, a verification environment construction technology for a power automation scheduling master station system deployment site has no relevant success case.
Disclosure of Invention
The invention provides a verification method and a verification device for an electric power dispatching automation master station system, which are used for completely and efficiently providing a verification construction method aiming at a verification environment of a target electric power dispatching automation master station system, so that the version verification efficiency is improved.
In a first aspect, a method for constructing a verification environment of a scheduling automation system according to an embodiment of the present invention includes:
responding to the construction instruction, and determining a target virtualization platform and a corresponding platform program interface;
manufacturing a verification environment template and a virtual machine template based on the target virtualization platform;
constructing a verification environment example based on the verification environment template;
adopting VECE to package and call the platform program interface, carrying out parallel control on the virtual machine template, and cloning to obtain a corresponding virtual machine instance;
acquiring target site and version information of a target automation system, and pulling a target version file corresponding to the target site and version information from a preset version repository;
and integrating the target version file, the verification environment instance and the constructed virtual machine instance to construct a verification environment of the dispatching automation system.
Optionally, integrating the target version file, the verification environment instance, and the build virtual machine instance, and after building a verification environment of the scheduling automation system, further includes:
calling back HookScript scripts of the target virtualization platform; the HookScript script is registered before acquiring the target site and version information of the target automation system.
Optionally, after obtaining the target site and version information of the target automation system and pulling the target version file corresponding to the target site and version information from a preset version repository, the method further includes:
and checking the integrity of the target version file.
Optionally, in response to the build instruction, determining the target virtualization platform and the corresponding platform program interface thereof includes:
determining a target virtualization platform;
and judging whether the platform program interface meets the preset interface characteristics, if not, selecting a new virtualization platform to replace the target virtualization platform.
Optionally, creating a verification environment template and a virtual machine template based on the target virtualization platform, including:
replacing various role servers with the role servers to be pre-installed in the corresponding virtual machines to obtain the virtual machines carrying the role servers;
and sequentially converting the virtual machines carrying the role servers to obtain the virtual machine templates.
In a second aspect, an embodiment of the present invention provides an apparatus for constructing a verification environment of a scheduling automation system, including:
the response module is used for responding to the construction instruction and determining the target virtualization platform and the corresponding platform program interface;
the manufacturing module is used for manufacturing a verification environment template and a virtual machine template based on the target virtualization platform;
the construction module is used for constructing a verification environment example based on the verification environment template;
the cloning module is used for adopting VECE to package and call the platform program interface, carrying out parallel control on the virtual machine template and cloning to obtain a corresponding virtual machine instance;
the system comprises an acquisition module, a version storage module and a version management module, wherein the acquisition module is used for acquiring target site and version information of a target automation system and pulling a target version file corresponding to the target site and version information from a preset version storage;
and the construction module is used for integrating the target version file, the verification environment instance and the construction virtual machine instance to construct a verification environment of the dispatching automation system.
Optionally, the method further comprises:
the callback module is used for calling back the HookScript script of the target virtualization platform; the HookScript script is registered before acquiring the target site and version information of the target automation system.
Optionally, the method further comprises:
and the checking module is used for checking the integrity of the target version file.
Optionally, the response module includes:
the platform determination module is used for determining a target virtualization platform;
and the judging module is used for judging whether the platform program interface meets the preset interface characteristics, and if not, selecting a new virtualization platform to replace the target virtualization platform.
Optionally, the fabricating module includes:
the virtual machine acquisition module is used for replacing various role servers to be pre-installed in corresponding virtual machines to obtain virtual machines carrying the role servers;
and the virtual machine template acquisition module is used for sequentially converting the virtual machines carrying the role servers to obtain the virtual machine templates.
According to the technical scheme, the invention has the following advantages:
the method comprises the steps of responding to a construction instruction, and determining a target virtualization platform and a corresponding platform program interface; manufacturing a verification environment template and a virtual machine template based on the target virtualization platform; constructing a verification environment example based on the verification environment template; adopting VECE to package and call the platform program interface, carrying out parallel control on the virtual machine template, and cloning to obtain a corresponding virtual machine instance; acquiring target site and version information of a target automation system, and pulling a target version file corresponding to the target site and version information from a preset version repository; and integrating the target version file, the verification environment instance and the constructed virtual machine instance to construct a verification environment of the dispatching automation system. Therefore, the verification construction method is provided for the verification environment of the target power dispatching automation master station system completely and efficiently, and the version verification efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts;
FIG. 1 is a flowchart illustrating steps of a first embodiment of a method for constructing a verification environment of a dispatching automation system according to the present invention;
FIG. 2 is a diagram of an example of a build verification environment and an example of a virtual machine according to the present invention;
FIG. 3 is a UML interaction diagram of a verification method of the electric power dispatching automation combat assisting system according to the present invention;
fig. 4 is a block diagram illustrating an embodiment of a device for constructing a verification environment of a dispatching automation system according to the present invention.
Detailed Description
The embodiment of the invention provides a verification method and a verification device for a power dispatching automation master station system, which are used for completely and efficiently providing a verification construction method aiming at a verification environment of a target power dispatching automation master station system, so that the version verification efficiency is improved.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Virtualization is the ability to have a computer run on a virtual basis rather than a real basis. Virtualization technology can greatly simplify the software reconfiguration process. The virtualization technology can be that a single CPU simulates multi-CPU parallelism, a platform is allowed to run a plurality of operating systems simultaneously, and application programs can run in mutually independent spaces without mutual influence, so that the working efficiency and the utilization rate of the computer are obviously improved.
Aiming at the dispatching automation system, because a set of software and hardware basic environment is needed for realizing the rapid deployment of the software baseline version or the field software of the dispatching automation system for updating verification, a virtualization operation environment which is suitable for the dispatching automation system can be constructed by a programming means by adopting a virtualization technology, so that the software of the dispatching automation system to be verified can be operated and verified in a virtual machine, and the deployment of the software of the dispatching automation system is accelerated. However, at present, a verification environment construction technology for a power automation scheduling master station system deployment site has no relevant success case.
To solve the above problem, the present invention provides a method for constructing a verification environment of a dispatching automation system, and please refer to fig. 1, which is a flowchart illustrating a first step of a method for constructing a verification environment of a dispatching automation system according to a first embodiment of the present invention, where the method includes:
s1, responding to the construction instruction, and determining a target virtualization platform and a platform program interface corresponding to the target virtualization platform;
in an alternative embodiment, determining the target virtualization platform and its corresponding platform program interface in response to the build instruction comprises:
determining a target virtualization platform;
and judging whether the platform program interface meets the preset interface characteristics, if not, selecting a new virtualization platform to replace the target virtualization platform.
In the embodiment of the invention, a virtualization technology based on a KVM (Kernel-based Virtual Machine, which is an open-source system virtualization module for short) is used as a bottom layer support, and firstly, a platform bottom layer which can meet typical operation requirements and operate efficiently is selected according to typical operation requirements of a dispatching automation system so as to be used in test environment construction, thereby maximally reducing uncertainty and time consumption caused by manual operation and achieving the aim of quickly constructing a verification environment.
Then, in order to ensure the expenditure of the ontology version management and control platform for rapid deployment and test verification of the target power scheduling automation system, a set of application program interfaces, namely platform program interfaces, which are externally disclosed by the virtualization platform and can meet the preset interface characteristics need to be used.
Wherein, presetting interface characteristics comprises:
(1) the universality of the API control object can control each resource element through the API;
(2) the API supports rich operations for the various resources it provides;
(3) the API designs the architectural style of the REST software system to be supported;
(4) the API supports return JSON data formats.
S2, manufacturing a verification environment template and a virtual machine template based on the target virtualization platform;
in an alternative embodiment, creating a verification environment template and a virtual machine template based on the target virtualization platform includes:
replacing various role servers with the role servers to be pre-installed in the corresponding virtual machines to obtain the virtual machines carrying the role servers;
and sequentially converting the virtual machines carrying the role servers to obtain the virtual machine templates.
It should be noted that, the system of the scheduling automation system is complex, And there are many modules, so to operate a set of scheduling automation system, a plurality of scheduling automation systems And their common assistance are required to form a cluster, each machine in the cluster is assisted by a worker to complete the verification work, And a typical operating environment may be formed by a server machine with different roles, such as a front-end, a SCADA (Supervisory Control And Data Acquisition, Supervisory Control system), And a DB (Database).
The ID, name, usage, etc. of the verification Environment need to be defined when the verification Environment target is created in the VEBC (virtualization Environment Control Engine), and these information are stored and reused later.
In a specific implementation, installing and constructing a server as a verification environment from scratch is a labor-consuming, time-consuming and error-prone task. And various role server environments are pre-installed in each VM (Virtual Machine), and the VM is converted into a Virtual Machine template and is solidified, so that subsequent direct multiplexing is facilitated. Meanwhile, the ID, role, purpose and the like of the VM need to be recorded when the virtual machine template is registered in the VEBC, and the master-slave data association is carried out on the virtual machine template, and the master-slave data association and the slave-slave data association are stored for subsequent multiplexing.
It should be noted that registering the virtual machine templates is to register a plurality of virtual machine templates in the VET, and the virtual machine templates together form a cluster for testing and verifying the power dispatching automation master station system.
S3, constructing a verification environment instance based on the verification environment template;
s4, adopting VECE to package and call the platform program interface, carrying out parallel control on the virtual machine template, and cloning to obtain a corresponding virtual machine instance;
please refer to fig. 2, fig. 2 is a schematic diagram of a verification Environment construction example and a virtual Machine example according to the present invention, where VET (verification Environment template), VEI (verification Environment instance), VMT (virtual Machine template), VMI (virtual Machine instance), and VMI are created according to VET and VMT.
In a specific implementation, through steps S1 and S2, verification environment instances can be built on the VEBC, where the verification environment instances are created according to the verification environment, and each verification environment instance is associated with many virtual machine instances.
Meanwhile, the embodiment of the invention performs parallel control on the virtual machine template through VECE packaging and platform program interface calling, and clones the corresponding virtual machine instance.
It should be noted that, since the VMT is a template, that is, it has been installed in advance, it is previously adapted to most environment-dependent elements, and the virtualization bottom layer is actually a snapshot-based linked clone with respect to the virtualization template, which greatly reduces the time consumption for creating a virtual machine instance and avoids a large amount of repeated configuration work.
S5, acquiring target site and version information of the target automation system, and pulling a target version file corresponding to the target site and version information from a preset version repository;
in the embodiment of the present invention, after the building step of step S4 is completed, the target version file is pulled from the preset version repository, and then is automatically injected into a file system of a VM (Virtual Machine) through manipulating a platform program interface.
In an optional embodiment, after obtaining the target site and version information of the target automation system and pulling the target version file corresponding to the target site and version information from the preset version repository, the method further includes:
and checking the integrity of the target version file.
In the embodiment of the invention, in order to avoid the situation that the file is damaged in the dumping process, the integrity of the target version file needs to be checked. The verification means is manual verification or automatic verification, and the present invention is not limited herein.
S6, integrating the target version file, the verification environment instance and the construction virtual machine instance to construct a verification environment of the dispatching automation system.
In an optional embodiment, integrating the target version file, the verification environment instance, and the build virtual machine instance, and after building the scheduling automation system verification environment, further includes:
calling back HookScript scripts of the target virtualization platform; the HookScript script is used for initializing the verification environment of the dispatching automation system; the HookScript script is registered before acquiring the target site and version information of the target automation system.
In the embodiment of the present invention, in order to further reduce the time for configuring the verification environment for the scheduling automation system, in most cases, before S6, especially in step S4, site and version information to be deployed and necessary HookScripts are registered, and then some commands and parameters of the environment can be initialized by calling back the HookScripts, so as to meet the requirement of differentiated configuration of various scheduling automation systems, and further increase the application scope of the construction method for configuring the verification environment for the scheduling automation system.
It should be noted that the HookScripts are scripts for being inserted into a specific link to be executed, and are generally written in Shell language; the HookScript script is used for initializing the scheduling automation system verification environment.
Referring to fig. 3, fig. 3 is a UML interaction diagram of a verification method of an electric power dispatching automation combat-aiding system according to the present invention, when a user determines that deployment of a verification environment needs to be constructed, firstly defining a VET and registering a VMT in a VEBC, that is, making a verification environment template and a virtual machine template, then constructing a verification environment instance and a virtual machine instance based on the verification environment template and the virtual machine template, specifically, adopting VECE encapsulation and invoking a platform program interface, cloning and creating a virtual machine instance from the virtual machine template based on a virtualization platform, creating a VMID (virtual machine identifier) to the VEBC by the virtualization platform after creation, then pulling a version file from a Repo, that is, a version repository, then transmitting a corresponding file (Files) to the VEBC by the version database, then injecting the version file into the virtualization platform by the VEBC, and then integrating the version file, the verification environment instance and the constructed virtual machine instance, and constructing a verification environment of the dispatching automation system, and finally calling back the HookScript script of the target virtualization platform.
In the embodiment of the invention, a target virtualization platform and a corresponding platform program interface are determined by responding to a construction instruction; manufacturing a verification environment template and a virtual machine template based on the target virtualization platform; constructing a verification environment example based on the verification environment template; adopting VECE to package and call the platform program interface, carrying out parallel control on the virtual machine template, and cloning to obtain a corresponding virtual machine instance; acquiring target site and version information of a target automation system, and pulling a target version file corresponding to the target site and version information from a preset version repository; and integrating the target version file, the verification environment instance and the constructed virtual machine instance to construct a verification environment of the dispatching automation system. Therefore, the verification construction method is provided for the verification environment of the target power dispatching automation master station system completely and efficiently, and the version verification efficiency is improved.
Referring to fig. 4, a block diagram of an embodiment of an apparatus for building a verification environment for a dispatching automation system according to the present invention is shown, the apparatus comprising:
a response module 401, configured to determine, in response to the building instruction, the target virtualization platform and the platform program interface corresponding to the target virtualization platform;
a creating module 402, configured to create a verification environment template and a virtual machine template based on the target virtualization platform;
a construction module 403, configured to construct a verification environment instance based on the verification environment template;
a cloning module 404, configured to encapsulate and call the platform program interface by using VECE, perform parallel control on the virtual machine templates, and clone to obtain corresponding virtual machine instances;
an obtaining module 405, configured to obtain target site and version information of a target automation system, and pull a target version file corresponding to the target site and version information from a preset version repository;
a building module 406, configured to integrate the target version file, the verification environment instance, and the build virtual machine instance, and build a verification environment of the scheduling automation system.
In an optional embodiment, further comprising:
the callback module is used for calling back the HookScript script of the target virtualization platform; the HookScript script is registered before acquiring the target site and version information of the target automation system.
In an optional embodiment, further comprising:
and the checking module is used for checking the integrity of the target version file.
In an alternative embodiment, the response module 401 includes:
the platform determination module is used for determining a target virtualization platform;
and the judging module is used for judging whether the platform program interface meets the preset interface characteristics, and if not, selecting a new virtualization platform to replace the target virtualization platform.
In an alternative embodiment, the production module 402 includes:
the virtual machine acquisition module is used for replacing various role servers to be pre-installed in corresponding virtual machines to obtain virtual machines carrying the role servers;
and the virtual machine template acquisition module is used for sequentially converting the virtual machines carrying the role servers to obtain the virtual machine templates.
An embodiment of the present invention further provides an electronic device, including a memory and a processor, where the memory stores an analyzer program, and when the analyzer program is executed by the processor, the processor executes the steps of the method for constructing a verification environment of a scheduling automation system according to any one of the above embodiments.
The embodiment of the present invention further provides an analyzer readable storage medium, on which an analyzer program is stored, where the analyzer program, when executed by the processor, implements the method for constructing a verification environment of a dispatching automation system according to any one of the above embodiments.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the method, apparatus, electronic device and storage medium disclosed in the present application may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium readable by an analyzer. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a readable storage medium and includes several instructions for enabling an analyzer (which may be a personal analyzer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned readable storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for constructing a verification environment of a dispatching automation system is characterized by comprising the following steps:
responding to the construction instruction, and determining a target virtualization platform and a corresponding platform program interface;
manufacturing a verification environment template and a virtual machine template based on the target virtualization platform;
constructing a verification environment example based on the verification environment template;
adopting VECE to package and call the platform program interface, carrying out parallel control on the virtual machine template, and cloning to obtain a corresponding virtual machine instance;
acquiring target site and version information of a target automation system, and pulling a target version file corresponding to the target site and version information from a preset version repository;
and integrating the target version file, the verification environment instance and the constructed virtual machine instance to construct a verification environment of the dispatching automation system.
2. The method for building a verification environment for a dispatching automation system as claimed in claim 1, wherein integrating the target version file, the verification environment instance and the build virtual machine instance further comprises, after building the verification environment for the dispatching automation system:
calling back HookScript scripts of the target virtualization platform; the HookScript script is registered before acquiring the target site and version information of the target automation system.
3. The method for constructing a verification environment of a scheduling automation system according to claim 1, after acquiring target site and version information of a target automation system and pulling a target version file corresponding to the target site and version information from a preset version repository, further comprising:
and checking the integrity of the target version file.
4. The method of building a verification environment for a dispatch automation system as claimed in claim 1, wherein determining a target virtualization platform and its corresponding platform program interface in response to a build instruction comprises:
determining a target virtualization platform;
and judging whether the platform program interface meets the preset interface characteristics, if not, selecting a new virtualization platform to replace the target virtualization platform.
5. The method for constructing the verification environment of the dispatching automation system as claimed in claim 1, wherein the creating a verification environment template and a virtual machine template based on the target virtualization platform comprises:
replacing various role servers with the role servers to be pre-installed in the corresponding virtual machines to obtain the virtual machines carrying the role servers;
and sequentially converting the virtual machines carrying the role servers to obtain the virtual machine templates.
6. A build device for a verification environment of a dispatch automation system, comprising:
the response module is used for responding to the construction instruction and determining the target virtualization platform and the corresponding platform program interface;
the manufacturing module is used for manufacturing a verification environment template and a virtual machine template based on the target virtualization platform;
the construction module is used for constructing a verification environment example based on the verification environment template;
the cloning module is used for adopting VECE to package and call the platform program interface, carrying out parallel control on the virtual machine template and cloning to obtain a corresponding virtual machine instance;
the system comprises an acquisition module, a version storage module and a version management module, wherein the acquisition module is used for acquiring target site and version information of a target automation system and pulling a target version file corresponding to the target site and version information from a preset version storage;
and the construction module is used for integrating the target version file, the verification environment instance and the construction virtual machine instance to construct a verification environment of the dispatching automation system.
7. The building apparatus of a scheduling automation system verification environment according to claim 6, further comprising:
the callback module is used for calling back the HookScript script of the target virtualization platform; the HookScript script is registered before acquiring the target site and version information of the target automation system.
8. The building apparatus of a scheduling automation system verification environment according to claim 6, further comprising:
and the checking module is used for checking the integrity of the target version file.
9. The apparatus for building a verification environment for a dispatch automation system as claimed in claim 6, wherein the response module comprises:
the platform determination module is used for determining a target virtualization platform;
and the judging module is used for judging whether the platform program interface meets the preset interface characteristics, and if not, selecting a new virtualization platform to replace the target virtualization platform.
10. The apparatus for building a verification environment for a dispatch automation system as claimed in claim 6, wherein the production module comprises:
the virtual machine acquisition module is used for replacing various role servers to be pre-installed in corresponding virtual machines to obtain virtual machines carrying the role servers;
and the virtual machine template acquisition module is used for sequentially converting the virtual machines carrying the role servers to obtain the virtual machine templates.
CN202111045196.2A 2021-09-07 2021-09-07 Construction method and device for verification environment of dispatching automation system Active CN113760462B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111045196.2A CN113760462B (en) 2021-09-07 2021-09-07 Construction method and device for verification environment of dispatching automation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111045196.2A CN113760462B (en) 2021-09-07 2021-09-07 Construction method and device for verification environment of dispatching automation system

Publications (2)

Publication Number Publication Date
CN113760462A true CN113760462A (en) 2021-12-07
CN113760462B CN113760462B (en) 2024-05-07

Family

ID=78793654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111045196.2A Active CN113760462B (en) 2021-09-07 2021-09-07 Construction method and device for verification environment of dispatching automation system

Country Status (1)

Country Link
CN (1) CN113760462B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116074227A (en) * 2022-11-09 2023-05-05 国网重庆市电力公司电力科学研究院 Multi-power system testing method based on virtualization platform
CN116700897A (en) * 2023-06-12 2023-09-05 北京首都在线科技股份有限公司 Method and device for creating computing environment template, computing equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117346A (en) * 2015-09-24 2015-12-02 上海爱数软件有限公司 Automatic testing method and system for distributed system of virtualization platform
CN106203126A (en) * 2016-07-15 2016-12-07 国家计算机网络与信息安全管理中心 A kind of validating vulnerability method and system based on simulated environment
CN110377232A (en) * 2019-07-19 2019-10-25 苏州浪潮智能科技有限公司 A kind of method, apparatus and system for disposing distributed storage cluster
CN111580929A (en) * 2020-05-07 2020-08-25 上海英方软件股份有限公司 Validity verification system and method based on virtual machine protection data
CN112506770A (en) * 2020-12-02 2021-03-16 国网重庆市电力公司电力科学研究院 Automatic system function verification method based on virtualization framework

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117346A (en) * 2015-09-24 2015-12-02 上海爱数软件有限公司 Automatic testing method and system for distributed system of virtualization platform
CN106203126A (en) * 2016-07-15 2016-12-07 国家计算机网络与信息安全管理中心 A kind of validating vulnerability method and system based on simulated environment
CN110377232A (en) * 2019-07-19 2019-10-25 苏州浪潮智能科技有限公司 A kind of method, apparatus and system for disposing distributed storage cluster
CN111580929A (en) * 2020-05-07 2020-08-25 上海英方软件股份有限公司 Validity verification system and method based on virtual machine protection data
CN112506770A (en) * 2020-12-02 2021-03-16 国网重庆市电力公司电力科学研究院 Automatic system function verification method based on virtualization framework

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116074227A (en) * 2022-11-09 2023-05-05 国网重庆市电力公司电力科学研究院 Multi-power system testing method based on virtualization platform
CN116074227B (en) * 2022-11-09 2024-05-14 国网重庆市电力公司电力科学研究院 Multi-power system testing method based on virtualization platform
CN116700897A (en) * 2023-06-12 2023-09-05 北京首都在线科技股份有限公司 Method and device for creating computing environment template, computing equipment and storage medium

Also Published As

Publication number Publication date
CN113760462B (en) 2024-05-07

Similar Documents

Publication Publication Date Title
CN105022630B (en) A kind of assembly management system and assembly management method
CN107733985B (en) Method and device for deploying functional components of cloud computing system
US20140380265A1 (en) Software change process orchestration
CN106775744B (en) Method and device for generating static library
CN110096424B (en) Test processing method and device, electronic equipment and storage medium
CN111767031B (en) Nuclear power industry internet experiment bed based on emulation
CN113760462A (en) Method and device for constructing verification environment of dispatching automation system
CN111580926A (en) Model publishing method, model deploying method, model publishing device, model deploying device, model publishing equipment and storage medium
KR102432807B1 (en) Apparatus and method for reconfiguring microservice architecture
CN112494940B (en) User interface manufacturing method and device, storage medium and computer equipment
CN115292026A (en) Management method, device and equipment of container cluster and computer readable storage medium
CN111612407A (en) Three-dimensional visual comprehensive application platform design method based on cloud platform
CN111158743B (en) Big data operation and maintenance management platform
CN106484452B (en) unified configuration management method and device for software platform
CN110109684B (en) Block chain link point management proxy service installation method, electronic device and storage medium
CN114461269A (en) Software development release management method, device, equipment and storage medium
CN114579091A (en) Robot process automation system and method across operating systems
CN108287720B (en) Software compiling method, device, equipment and storage medium
CN114217789A (en) Function component expansion method, device, equipment, storage medium and program product
CN116248526A (en) Method and device for deploying container platform and electronic equipment
CN112784417B (en) Avionics distributed joint simulation method and system based on SysML
CN110633077B (en) Quick development system and method based on modularization
JP2010204840A (en) Customization method, terminal apparatus, computer program, and information recording medium for user interface operation integration system
CN113392436A (en) CAE analysis software and office software integrated control method and platform
CN113626043B (en) Automatic packaging method and system for container development environment based on Kubernetes

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