CN111930092A - Automatic testing system and method for power distribution monitoring platform - Google Patents

Automatic testing system and method for power distribution monitoring platform Download PDF

Info

Publication number
CN111930092A
CN111930092A CN202010562202.0A CN202010562202A CN111930092A CN 111930092 A CN111930092 A CN 111930092A CN 202010562202 A CN202010562202 A CN 202010562202A CN 111930092 A CN111930092 A CN 111930092A
Authority
CN
China
Prior art keywords
power distribution
distribution monitoring
monitoring platform
service
test
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.)
Pending
Application number
CN202010562202.0A
Other languages
Chinese (zh)
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.)
Xuji Group Co Ltd
XJ Electric Co Ltd
Xuchang XJ Software Technology Co Ltd
Original Assignee
Xuji Group Co Ltd
XJ Electric Co Ltd
Xuchang XJ Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xuji Group Co Ltd, XJ Electric Co Ltd, Xuchang XJ Software Technology Co Ltd filed Critical Xuji Group Co Ltd
Priority to CN202010562202.0A priority Critical patent/CN111930092A/en
Publication of CN111930092A publication Critical patent/CN111930092A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The invention discloses an automatic testing system and method for a power distribution monitoring platform, which reasonably allocate resources by using distributed resource scheduling of cloud service through a virtualization technology and complete related corresponding testing tasks. According to the invention, by adopting virtualization of cloud services, a plurality of service resources are generated in a cloud platform cluster, so that testers are free from the constraint of an operating system; by adopting the cloud storage technology of the cloud service, the integral service of a single entity hardware node in the cluster with a fault can be ensured not to be influenced; through the load balance of the cloud service, limited resources can be reasonably and efficiently utilized, and therefore the problems that the traditional power distribution monitoring platform is poor in flexibility and high in requirement of testers are effectively solved.

Description

Automatic testing system and method for power distribution monitoring platform
Technical Field
The invention relates to the field of power system automation, in particular to an automatic testing system and method for a power distribution monitoring platform.
Background
The power distribution monitoring system is used as an important link for monitoring the operation of a power grid, has high test requirements, and is embodied in that the power distribution monitoring system has multiple test functions, is complex to test, has huge task load of testers, has a longer test period, consumes time and labor. The automatic test system of the current power distribution monitoring platform has the problems of poor flexibility, high requirements on testers and capability of only using real hardware to simulate a real scene.
Disclosure of Invention
Objects of the invention
The invention aims to provide an automatic testing system and method for a power distribution monitoring platform, which reasonably allocate resources by using distributed resource scheduling of cloud services through a virtualization technology and complete related corresponding testing tasks, and solve the problems of poor flexibility and high requirement of testers of the traditional power distribution monitoring platform.
(II) technical scheme
In order to solve the above problems, a first aspect of the present invention provides an automatic test system for a power distribution monitoring platform, including a cloud platform, a network and a test workstation, where the test workstation is connected to the cloud platform through the network, the cloud platform has service resources of a service end of the power distribution monitoring platform, a test configuration file, an environment and a database, the service resources of the service end of the power distribution monitoring platform correspond to various services of the power distribution monitoring platform, and the cloud platform provides infrastructure as a service, platform as a service and software as a service to testers through the network.
According to a first aspect of the invention, the infrastructure as a service provides an infrastructure server and a network of the cloud service.
According to the first aspect of the invention, the platform as a service provides an OpenStack component for a tester, and the OpenStack component provides a power distribution monitoring platform service, a configuration file, an operating environment and a database resource of an automatic test system of the power distribution monitoring platform.
According to a first aspect of the invention, the software as a service provides a visual client of the power distribution monitoring platform automated testing system to a tester.
According to a first aspect of the invention, the cloud platform is an OpenStack cloud platform.
According to the first aspect of the invention, the OpenStack cloud platform has a shared storage function, and the background service performs service creation and start-stop through OpenStack.
According to the first aspect of the invention, the automatic test system of the power distribution monitoring platform automatically generates the test script, and can perform a repeatability test of the test script to realize the playback of the test script.
The second aspect of the invention provides an automatic testing method for a power distribution monitoring platform, which comprises the following steps:
step 1, starting service resources of a power distribution monitoring platform on a cloud platform, and deploying and building related test configuration files and test environments;
step 2, automatically generating a test script or importing the test script;
step 3, operating the test script to generate a test result;
and 4, storing the test result into the library resource of the cloud platform, and generating a test report.
According to the second aspect of the present invention, in step 1, a tester can configure a relevant test by one key, and start all service resources on the cloud platform by one key.
According to the second aspect of the invention, in step 2, a tester selects a function item to be tested according to a visual interface of the automatic test system of the power distribution monitoring platform, and automatically generates a test script.
According to a second aspect of the invention, the test function items of the power distribution monitoring platform comprise remote signaling, remote measuring, remote controlling and alarming.
According to a second aspect of the invention, in step 2, the tester may modify an existing test script and import the test script.
(III) advantageous effects
The technical scheme of the invention has the following beneficial technical effects:
the invention adopts the virtualization of the cloud service to generate a plurality of service resources in a cloud platform cluster, so that testers are free from the constraint of an operating system; by adopting a cloud storage technology of cloud service, the integral service of a single entity hardware node in a cluster in a fault can be ensured not to be influenced; due to the adoption of the load balancing of the cloud service, limited resources can be reasonably and efficiently utilized, and the problems that the traditional power distribution monitoring platform is poor in flexibility and high in requirement of testers are effectively solved.
Drawings
Fig. 1 is a block diagram of an automated test system for a cloud service-based power distribution monitoring platform according to an embodiment of the present invention;
fig. 2 is a working schematic diagram of an automated testing system of a cloud service-based power distribution monitoring platform according to an embodiment of the invention;
fig. 3 is a flowchart of an automated testing method for a cloud service-based power distribution monitoring platform according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings in conjunction with the following detailed description. It should be understood that the description is intended to be exemplary only, and is not intended to limit the scope of the present invention. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present invention.
The following further describes embodiments of the present invention with reference to the drawings.
Fig. 1 shows a schematic diagram of an automated testing system for a cloud service-based power distribution monitoring platform. As can be seen from fig. 1, the automatic test system for the power distribution monitoring platform comprises a cloud platform 1 and a test workstation 2, wherein the cloud platform 1 has service resources of a service end of the power distribution monitoring platform, test configuration files, environment and database service resources, and is used for providing service resources which are formed by configuration files, test environment, network, service end services and the like required by testing. The test workstation 2 is connected to the cloud platform 1 through a network 3.
The automatic test system of the power distribution monitoring platform provides an OpenStack cloud platform, the OpenStack cloud platform provides a virtualization function, the power distribution monitoring platform tests deployment and running environments needed, relevant service supports form a plurality of service resources in the cloud platform, and each service of the power distribution monitoring platform corresponds to the plurality of service resources in the cloud platform. As can be seen from fig. 2, the cloud platform 1 provides the following three services to the testers through the network:
1. infrastructure as a Service (IaaS for short)
The IaaS provides a basic server, a network and the like of the cloud service.
2. Platform as a Service (Platform as a Service, PaaS for short)
The PaaS provides OpenStack components for testers, the OpenStack components provide power distribution monitoring platform services, configuration files, operating environments, database resources and the like of an automatic test system.
3. Software as a service (Software as a service, SaaS for short)
The SaaS provides a visual client of the automatic test system for the testers, and the testers perform related tests according to test requirements.
The OpenStack cloud platform provides a shared storage function, a flexible environment is provided for an integrated test and a changeable test environment, a background service is used for establishing and starting and stopping services through the OpenStack, the shared storage service provides a reliable redundant fault-tolerant mechanism, and the fact that service operation and data loss are not influenced by the failure or downtime of a certain entity hardware node of a cloud platform cluster is guaranteed; the load balancing mechanism provides a reasonable allocation of hardware resources to accomplish the delivery of the test with high efficiency and high hardware utilization.
Fig. 3 shows a flowchart of a cloud service-based power distribution monitoring platform automation testing method. It can be seen that the test method comprises the steps of:
s1: and deploying and building a test environment on the cloud platform. The tester can start the service resources of the power distribution monitoring platform on the cloud platform, and deploy and build related test configuration files and test environments. The tester can configure related tests by one key, and start all service resources on the cloud platform by one key. The testing function item of the tester to the power distribution monitoring platform comprises the following steps: remote signaling, remote measuring, remote control, alarming, etc.
S2: generating a test script or importing a test script. Two methods of generating test scripts are provided herein.
S21: the automatic test system can automatically generate the test script, a tester can select the functional items to be tested according to the visual interface of the automatic test system, the test script is automatically generated, a large amount of human resources are reduced, and the tester can carry out the test of the same degree after simple modification aiming at the generated test script.
S22: and (3) importing a test script into the automatic test system, wherein a tester can also modify the existing test script to import the test.
The system can also realize the repetitive test of the script, for example, when remote signaling and remote measuring tests are carried out, similar conditions exist, and testers can carry out related tests only by simple modification without regenerating the test script.
S3: and running script test to generate a test result.
S4: and the testing personnel operates the test result.
S41: and (4) storing the test result in a storage, namely storing the test result in the storage resource of the cloud platform.
S42: and generating a test report according to the test result.
The invention discloses a cloud service-based automatic testing system and method for a power distribution monitoring platform, aiming at the problems that the power distribution monitoring platform has more testing requirements, the uniqueness of each service causes different testing functions, the interaction between the services causes resource requirement sequencing and more needed human resources, the resources are reasonably allocated by using the distributed resource scheduling of the cloud service through a virtualization technology, and relevant corresponding testing tasks are completed. The invention adopts the virtualization of the cloud service to generate a plurality of service resources in a cloud platform cluster, so that testers are free from the constraint of an operating system; by adopting a cloud storage technology of cloud service, the integral service of a single entity hardware node in a cluster in a fault can be ensured not to be influenced; due to the adoption of the load balancing of the cloud service, limited resources can be reasonably and efficiently utilized, and the problems that the traditional power distribution monitoring platform is poor in flexibility and high in requirement of testers are effectively solved.
It is to be understood that the above-described embodiments of the present invention are merely illustrative of or explaining the principles of the invention and are not to be construed as limiting the invention. Therefore, any modification, equivalent replacement, improvement and the like made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. Further, it is intended that the appended claims cover all such variations and modifications as fall within the scope and boundaries of the appended claims or the equivalents of such scope and boundaries.

Claims (12)

1. The automatic testing system for the power distribution monitoring platform is characterized by comprising a cloud platform, a network and a testing workstation, wherein the testing workstation is connected with the cloud platform through the network, the cloud platform is provided with power distribution monitoring platform server service resources, a testing configuration file, an environment and database service resource, the power distribution monitoring platform server service resources correspond to various services of the power distribution monitoring platform, and the cloud platform provides infrastructure as service, platform as service and software as service for testers through the network.
2. The power distribution monitoring platform automated testing system of claim 1, wherein the infrastructure as a service provides an infrastructure server and a network of the cloud services.
3. The distribution monitoring platform automated testing system of claim 1, wherein the platform as a service provides OpenStack components to testers, the OpenStack components providing distribution monitoring platform services, configuration files, operating environments, and database resources of the distribution monitoring platform automated testing system.
4. The power distribution monitoring platform automated testing system of claim 1, wherein the software as a service provides a visual client of the power distribution monitoring platform automated testing system to a tester.
5. The automated testing system of a power distribution monitoring platform according to claim 1, wherein the cloud platform is an OpenStack cloud platform.
6. The automatic test system for the power distribution monitoring platform according to claim 2, wherein the OpenStack cloud platform has a shared storage function, and a background service performs creation and start-stop of the service through OpenStack.
7. The automatic test system for the power distribution monitoring platform according to claim 1, wherein the automatic test system for the power distribution monitoring platform automatically generates a test script, and can perform a repeatability test of the test script to realize playback of the test script.
8. An automatic testing method for a power distribution monitoring platform is characterized by comprising the following steps:
step 1, starting service resources of a power distribution monitoring platform on a cloud platform, and deploying and building related test configuration files and test environments;
step 2, automatically generating a test script or importing the test script;
step 3, operating the test script to generate a test result;
and 4, storing the test result into the library resource of the cloud platform, and generating a test report.
9. The automatic testing method for the power distribution monitoring platform according to claim 8, wherein in step 1, a tester can configure the relevant test by one key, and start all service resources on the cloud platform by one key.
10. The automatic testing method for the power distribution monitoring platform according to claim 8, wherein in step 2, a tester selects a function item to be tested according to a visual interface of the automatic testing system for the power distribution monitoring platform, and automatically generates a testing script.
11. The automatic testing method for the power distribution monitoring platform as claimed in claim 10, wherein the testing function items of the power distribution monitoring platform comprise remote signaling, remote measuring, remote controlling and alarming.
12. The automated testing method for a power distribution monitoring platform according to claim 8, wherein in step 2, a tester can modify an existing test script and import the test script.
CN202010562202.0A 2020-06-18 2020-06-18 Automatic testing system and method for power distribution monitoring platform Pending CN111930092A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010562202.0A CN111930092A (en) 2020-06-18 2020-06-18 Automatic testing system and method for power distribution monitoring platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010562202.0A CN111930092A (en) 2020-06-18 2020-06-18 Automatic testing system and method for power distribution monitoring platform

Publications (1)

Publication Number Publication Date
CN111930092A true CN111930092A (en) 2020-11-13

Family

ID=73317745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010562202.0A Pending CN111930092A (en) 2020-06-18 2020-06-18 Automatic testing system and method for power distribution monitoring platform

Country Status (1)

Country Link
CN (1) CN111930092A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378252A (en) * 2014-08-26 2015-02-25 国家电网公司 Cloud testing service platform
CN106649085A (en) * 2016-09-23 2017-05-10 郑州云海信息技术有限公司 Cloud computing-based software test system
CN108009097A (en) * 2017-12-29 2018-05-08 卡斯柯信号有限公司 Towards the cloud computing emulation test method and device of rail traffic signal system
CN109783348A (en) * 2018-12-06 2019-05-21 中国电力科学研究院有限公司 Testing tool method for managing resource based on cloud platform, system
CN110677499A (en) * 2019-10-30 2020-01-10 北京普瑞华夏国际教育科技有限公司 Cloud resource management application system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378252A (en) * 2014-08-26 2015-02-25 国家电网公司 Cloud testing service platform
CN106649085A (en) * 2016-09-23 2017-05-10 郑州云海信息技术有限公司 Cloud computing-based software test system
CN108009097A (en) * 2017-12-29 2018-05-08 卡斯柯信号有限公司 Towards the cloud computing emulation test method and device of rail traffic signal system
CN109783348A (en) * 2018-12-06 2019-05-21 中国电力科学研究院有限公司 Testing tool method for managing resource based on cloud platform, system
CN110677499A (en) * 2019-10-30 2020-01-10 北京普瑞华夏国际教育科技有限公司 Cloud resource management application system

Similar Documents

Publication Publication Date Title
CN110389900B (en) Distributed database cluster testing method and device and storage medium
EP2796996B1 (en) Cloud infrastructure based management system and method for performing maintenance and deployment for application system
CN109471789B (en) Multi-device management method and device for testing, server and storage medium
US8726243B2 (en) Method and system for automatically testing performance of applications run in a distributed processing structure and corresponding computer program product
CN108270726B (en) Application instance deployment method and device
CN109617759A (en) Block catenary system stability test method, apparatus, equipment and storage medium
WO2019037203A1 (en) Application program performance testing method, device, computer equipment, and storage medium
CN110138876B (en) Task deployment method, device, equipment and platform
CN110162471A (en) A kind of method for testing pressure and system based on container cloud
CN107534570A (en) Virtualize network function monitoring
CN104731580A (en) Automation operation and maintenance system based on Karaf and ActiveMQ and implement method thereof
CN112667362A (en) Method and system for deploying Kubernetes virtual machine cluster on Kubernetes
CN113742031A (en) Node state information acquisition method and device, electronic equipment and readable storage medium
CN110457197A (en) Service test method, device, computer equipment and storage medium
CN110569113A (en) Method and system for scheduling distributed tasks and computer readable storage medium
Chen et al. Stresscloud: A tool for analysing performance and energy consumption of cloud applications
CN115242596A (en) User-oriented network test bed scene service scheduling method and device
CN111897551B (en) Platform and method for rapidly cloning software environment in cloud environment
CN116400987B (en) Continuous integration method, device, electronic equipment and storage medium
CN114978923B (en) Fault exercise method, device and system
CN111930092A (en) Automatic testing system and method for power distribution monitoring platform
EP4187864A1 (en) Landscape model verification system
CN113094266B (en) Fault testing method, platform and equipment for container database
CN114281641A (en) Internet of things management platform monitoring method and system
CN114238091A (en) Resident interactive service cluster testing method and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201113

RJ01 Rejection of invention patent application after publication