CN111930092A - Automatic testing system and method for power distribution monitoring platform - Google Patents
Automatic testing system and method for power distribution monitoring platform Download PDFInfo
- 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
- test
- distribution monitoring
- monitoring platform
- service
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0208—Electric 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/0213—Modular 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols 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
Description
技术领域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 technique
配电监控系统作为电网运行监视的重要环节,其测试要求非常高,体现在配电监控系统测试功能项多,测试繁琐,测试人员任务量巨大,测试周期较长,耗时耗力。目前的配电监控平台自动化测试系统存在灵活性差,对测试人员的要求很高,真实场景只能用真正的硬件来模拟的问题。As an important part of power grid operation monitoring, the power distribution monitoring system has very high test requirements, which is reflected in the fact that the power distribution monitoring system has many test functions, and the test is cumbersome. The current automatic test system of power distribution monitoring platform has poor flexibility, high requirements for testers, and real scenarios can only be simulated with real hardware.
发明内容SUMMARY OF THE INVENTION
(一)发明目的(1) Purpose of the invention
本发明的目的是提供一种配电监控平台自动化测试系统及方法,利用云服务的分布式资源调度通过虚拟化技术合理调配资源,并完成相关相应的测试任务,解决传统配电监控平台存在的灵活性差,测试人员要求高的问题。The purpose of the present invention is to provide an automatic testing system and method for a power distribution monitoring platform, which utilizes the distributed resource scheduling of cloud services to reasonably allocate resources through virtualization technology, and completes relevant corresponding test tasks, so as to solve the problems existing in traditional power distribution monitoring platforms. Inflexible, high-demand questions for testers.
(二)技术方案(2) Technical solutions
为解决上述问题,本发明的第一方面提供了一种配电监控平台自动化测试系统,包括云平台、网络和测试工作站,测试工作站通过网络连接云平台,所述云平台具有配电监控平台服务端服务资源、测试配置文件及环境和数据库服务资源,所述配电监控平台服务端服务资源对应配电监控平台的各项服务,所述云平台通过网络向测试人员提供基础设施即服务、平台即服务和软件即服务。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, the test workstation is connected to the cloud platform through a network, and the cloud platform has a power distribution monitoring platform service. Terminal service resources, test configuration files, environment and database service resources, the power distribution monitoring platform server service resources correspond to various services of the power distribution monitoring platform, and the cloud platform provides testers with infrastructure as a service and platform through the network. as a service and software as a service.
根据本发明的第一方面,所述基础设施即服务提供所述云服务的基础服务器和网络。According to a first aspect of the present invention, the infrastructure as a service provides a base server and network for the cloud service.
根据本发明的第一方面,所述平台即服务向测试人员提供了OpenStack组件,OpenStack组件提供配电监控平台服务、所述配电监控平台自动化测试系统的配置文件、运行环境和数据库资源。According to the first aspect of the present invention, the platform-as-a-service provides testers with an OpenStack component, and the OpenStack component provides a power distribution monitoring platform service, a configuration file, an operating environment, and a database resource of the power distribution monitoring platform automated test system.
根据本发明的第一方面,所述软件即服务向测试人员提供所述配电监控平台自动化测试系统的可视化客户端。According to the first aspect of the present invention, the software-as-a-service provides the tester with a visual client of the automated test system of the power distribution monitoring platform.
根据本发明的第一方面,所述云平台为OpenStack云平台。According to the first aspect of the present invention, the cloud platform is an OpenStack cloud platform.
根据本发明的第一方面,所述OpenStack云平台具有共享存储功能,后台服务通过OpenStack进行服务的创建与启停。According to the first aspect of the present invention, the OpenStack cloud platform has a shared storage function, and background services are created and started and stopped through OpenStack.
根据本发明的第一方面,所述配电监控平台自动化测试系统自动生成测试脚本,并且可进行测试脚本的重复性试验,实现测试脚本的回放。According to the first aspect of the present invention, the power distribution monitoring platform automated test system automatically generates a test script, and can perform repetitive tests of the test script to realize the playback of the test script.
本发明的第二方面提供一种配电监控平台自动化测试方法,包括如下步骤:A second aspect of the present invention provides an automated testing method for a power distribution monitoring platform, comprising the following steps:
步骤1,在云平台上启动配电监控平台的服务资源,部署和搭建相关测试配置文件、测试环境;Step 1, start the service resources of the power distribution monitoring platform on the cloud platform, deploy and build relevant test configuration files and test environments;
步骤2,自动生成测试脚本或者导入测试脚本;
步骤3,运行所述测试脚本,产生测试结果;
步骤4,将测试结果存入云平台的库资源,并生成测试报告。In step 4, the test results are stored in the library resources of the cloud platform, and a test report is generated.
根据本发明的第二方面,步骤1中,测试人员能够一键配置相关测试,一键启动云平台上的所有服务资源。According to the second aspect of the present invention, in step 1, the tester can configure relevant tests with one key, and start all service resources on the cloud platform with one key.
根据本发明的第二方面,在步骤2中,测试人员根据所述配电监控平台自动化测试系统的可视化界面选择要测试的功能项,自动生成测试脚本。According to the second aspect of the present invention, in
根据本发明的第二方面,所述配电监控平台的测试功能项包括遥信、遥测、遥控、报警。According to the second aspect of the present invention, the test function items of the power distribution monitoring platform include remote signaling, telemetry, remote control, and alarm.
根据本发明的第二方面,在步骤2中,测试人员可以修改现有的测试脚本,并导入测试脚本。According to the second aspect of the present invention, in
(三)有益效果(3) Beneficial effects
本发明的上述技术方案具有如下有益的技术效果:The above-mentioned technical scheme of the present invention has the following beneficial technical effects:
本发明采用云服务的虚拟化,在一个云平台集群中生成多个服务资源,使测试人员脱离了操作系统的束缚;采用云服务的云存储技术,能够确保在集群中单个实体硬件节点出现故障整体服务不受影响;采用云服务的负载均衡,能够合理的高效的利用有限的资源,从而有效解决传统配电监控平台存在的灵活性差,测试人员要求高的问题。The present invention adopts the virtualization of cloud service, generates multiple service resources in a cloud platform cluster, so that the tester is freed from the constraints of the operating system; adopts the cloud storage technology of cloud service, which can ensure that a single entity hardware node in the cluster fails The overall service is not affected; the use of cloud service load balancing can reasonably and efficiently utilize limited resources, thereby effectively solving the problems of poor flexibility and high testers requirements in traditional power distribution monitoring platforms.
附图说明Description of drawings
图1为根据本发明一个实施方式的基于云服务的配电监控平台自动化测试系统的结构图;1 is a structural diagram of an automated testing system for a power distribution monitoring platform based on cloud services according to an embodiment of the present invention;
图2为根据本发明一个实施方式的基于云服务的配电监控平台自动化测试系统的工作原理图;FIG. 2 is a working principle diagram of an automated test system for a power distribution monitoring platform based on cloud services according to an embodiment of the present invention;
图3为根据本发明一个实施方式的基于云服务的配电监控平台自动化测试方法的流程图。3 is a flowchart of an automated testing method for a power distribution monitoring platform based on a cloud service according to an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚明了,下面结合具体实施方式并参照附图,对本发明进一步详细说明。应该理解,这些描述只是示例性的,而并非要限制本发明的范围。此外,在以下说明中,省略了对公知结构和技术的描述,以避免不必要地混淆本发明的概念。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the specific embodiments and the accompanying drawings. It should be understood that these descriptions are exemplary only and are not intended to limit the scope of the invention. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concepts of the present invention.
下面结合附图对本发明的实施方式作进一步说明。The embodiments of the present invention will be further described below with reference to the accompanying drawings.
图1示出了一种基于云服务的配电监控平台自动化测试系统的示意图。从图1可以看出,该配电监控平台自动化测试系统包括云平台1和测试工作站2,云平台1具有配电监控平台服务端服务资源、测试配置文件及环境和数据库服务资源,用于提供测试需要的配置文件、测试环境、网络、服务端服务等组成服务资源。测试工作站2通过网络3连接云平台1。FIG. 1 shows a schematic diagram of an automated testing system for a power distribution monitoring platform based on cloud services. As can be seen from Figure 1, the automatic test system of the power distribution monitoring platform includes a cloud platform 1 and a
所述配电监控平台自动化测试系统提供OpenStack云平台,OpenStack云平台提供虚拟化的功能,配电监控平台测试所需要的部署和运行环境,相关服务支撑都构成了云平台中的多个服务资源,配电监控平台的各项服务对应该云平台中多个服务资源。从图2可以看出,云平台1通过网络向测试人员提供以下三种服务:The power distribution monitoring platform automatic test system provides the OpenStack cloud platform, the OpenStack cloud platform provides virtualization functions, the deployment and operation environment required for the power distribution monitoring platform test, and the related service support constitute multiple service resources in the cloud platform , the various services of the power distribution monitoring platform correspond to multiple service resources in the cloud platform. As can be seen from Figure 2, cloud platform 1 provides the following three services to testers through the network:
1、基础设施即服务(Infrastructure as a Service,简称IaaS)1. Infrastructure as a Service (IaaS)
IaaS提供云服务的基础服务器、网络等。IaaS provides basic servers, networks, etc. for cloud services.
2、平台即服务(Platform as a Service,简称PaaS)2. Platform as a Service (PaaS)
PaaS向测试人员提供了OpenStack组件,OpenStack组件提供配电监控平台服务,自动化测试系统的配置文件、运行环境,数据库资源等。PaaS provides OpenStack components to testers, and OpenStack components provide power distribution monitoring platform services, configuration files, operating environments, and database resources of automated test systems.
3、软件即服务(Software as a Serveice,简称SaaS)3. Software as a Service (SaaS)
SaaS向测试人员提供所述自动化测试系统的可视化客户端,测试人员根据测试需求进行相关测试。The SaaS provides the tester with a visual client of the automated test system, and the tester conducts relevant tests according to the test requirements.
所述OpenStack云平台提供共享存储功能,为集成测试以及多变的测试环境提供灵活的环境,后台服务通过OpenStack进行服务的创建与启停,共享存储服务提供可靠的冗余容错机制,保证云平台集群某台实体硬件节点故障或宕机不会影响服务运行以及数据的丢失;负载均衡机制提供一个硬件资源的合理分配,以高效率高硬件利用率完成测试的交付工作。The OpenStack cloud platform provides a shared storage function, providing a flexible environment for integration testing and changeable test environments. Background services are created and started and stopped through OpenStack, and shared storage services provide a reliable redundant fault-tolerant mechanism to ensure the cloud platform. The failure or downtime of a physical hardware node in the cluster will not affect the service operation and data loss; the load balancing mechanism provides a reasonable allocation of hardware resources to complete the test delivery work with high efficiency and high hardware utilization.
图3示出了一种基于云服务的配电监控平台自动化测试方法的流程图。可以看出,该测试方法包括如下步骤:FIG. 3 shows a flow chart of an automated testing method for a power distribution monitoring platform based on a cloud service. It can be seen that the test method includes the following steps:
S1:云平台上部署和搭建测试环境。测试人员可以在云平台上启动配电监控平台的服务资源,部署和搭建相关测试配置文件、测试环境。测试人员可以一键配置相关测试,一键启动云平台上的所有服务资源。测试人员对配电监控平台的测试功能项包括:遥信、遥测、遥控、报警等。S1: Deploy and build a test environment on the cloud platform. Testers can start the service resources of the power distribution monitoring platform on the cloud platform, deploy and build relevant test configuration files and test environments. Testers can configure related tests with one click and start all service resources on the cloud platform with one click. The test functions of the tester on the power distribution monitoring platform include: remote signaling, telemetry, remote control, and alarm.
S2:生成测试脚本或导入测试脚本。这里提供了两种产生测试脚本的方法。S2: Generate test scripts or import test scripts. There are two ways to generate test scripts.
S21:该自动化测试系统能够自动生成测试脚本,测试人员可以根据所述自动化测试系统的可视化界面选择要测试的功能项,自动生成测试脚本,减少了大量的人力资源,针对生成的测试脚本,测试人员经过简单的修改后就能进行相同程度的测试。S21: The automated testing system can automatically generate test scripts. The tester can select the functional items to be tested according to the visual interface of the automated testing system, and automatically generate test scripts, thereby reducing a lot of human resources. Personnel can perform the same level of testing with simple modifications.
S22:向所述自动化测试系统导入测试脚本,测试人员也可以修改现有的测试脚本,进行导入测试。S22: Import the test script into the automated test system, and the tester can also modify the existing test script to perform the import test.
本系统还能够实现脚本的重复性试验,例如进行遥信和遥测测试时,有类似的情况,测试人员只需要简单的修改就可进行相关测试,无需重新生成测试脚本。The system can also realize the repetitive test of the script. For example, when conducting remote signaling and telemetry testing, there are similar situations. The tester only needs a simple modification to perform the relevant test without regenerating the test script.
S3:运行脚本测试,产生测试结果。S3: Run the script test and generate the test result.
S4:测试人员对测试结果进行操作。S4: The tester operates on the test result.
S41:测试结果入库,即将测试结果存入云平台的库资源。S41: The test results are stored in the library, that is, the test results are stored in the library resources of the cloud platform.
S42:根据测试结果生成测试报告。S42: Generate a test report according to the test result.
本发明公开了一种基于云服务的配电监控平台自动化测试系统及方法,针对配电监控平台测试需求多,每个服务的独特性造成测试的功能千差万别,服务之间交互造成的资源需求次序化,需求人力资源多的问题,利用云服务的分布式资源调度通过虚拟化技术合理调配资源,并完成相关相应的测试任务。本发明采用云服务的虚拟化,在一个云平台集群中生成多个服务资源,使测试人员脱离了操作系统的束缚;采用云服务的云存储技术,能够确保在集群中单个实体硬件节点出现故障整体服务不受影响;采用云服务的负载均衡,能够合理的高效的利用有限的资源,从而有效解决传统配电监控平台存在的灵活性差,测试人员要求高的问题。The invention discloses an automatic test system and method for a power distribution monitoring platform based on cloud services, aiming at the large number of test requirements for the power distribution monitoring platform, the uniqueness of each service causing the test functions to vary widely, and the order of resource requirements caused by the interaction between services. In order to solve the problems that require a lot of human resources, the distributed resource scheduling of cloud services is used to allocate resources reasonably through virtualization technology, and to complete relevant corresponding test tasks. The present invention adopts the virtualization of cloud service, generates multiple service resources in a cloud platform cluster, so that the tester is freed from the constraints of the operating system; adopts the cloud storage technology of cloud service, which can ensure that a single entity hardware node in the cluster fails The overall service is not affected; the use of cloud service load balancing can reasonably and efficiently utilize limited resources, thereby effectively solving the problems of poor flexibility and high testers requirements in traditional power distribution monitoring platforms.
应当理解的是,本发明的上述具体实施方式仅仅用于示例性说明或解释本发明的原理,而不构成对本发明的限制。因此,在不偏离本发明的精神和范围的情况下所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。此外,本发明所附权利要求旨在涵盖落入所附权利要求范围和边界、或者这种范围和边界的等同形式内的全部变化和修改例。It should be understood that the above-mentioned specific embodiments of the present invention are only used to illustrate or explain the principle of the present invention, but not to limit the present invention. Therefore, any modifications, equivalent replacements, improvements, etc. made without departing from the spirit and scope of the present invention should be included within the protection scope of the present invention. Furthermore, the appended claims of this invention are intended to cover all changes and modifications that fall within the scope and boundaries of the appended claims, or the equivalents of such scope and boundaries.
Claims (12)
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)
| 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 |
-
2020
- 2020-06-18 CN CN202010562202.0A patent/CN111930092A/en active Pending
Patent Citations (5)
| 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 |
|---|---|---|
| US10656929B2 (en) | Autonomously healing microservice-based applications | |
| CN108270726B (en) | Application instance deployment method and device | |
| US9454469B2 (en) | Cloud-based test execution | |
| US9002997B2 (en) | Instance host configuration | |
| US20140181572A1 (en) | Provide an Appliance Like Test Vehicle for IT Disaster Recovery | |
| US8726243B2 (en) | Method and system for automatically testing performance of applications run in a distributed processing structure and corresponding computer program product | |
| US20160119202A1 (en) | Cross-cloud management and troubleshooting | |
| US9722859B2 (en) | Evaluation of field replaceable unit dependencies and connections | |
| US11151025B1 (en) | Generating software test plans based at least in part on monitored traffic of a production application | |
| CN115328752B (en) | Cluster simulation method and system for Kubernetes control plane test | |
| CN103547994A (en) | Cross-cloud computing for capacity management and disaster recovery | |
| Gao et al. | Saas testing on clouds-issues, challenges and needs | |
| US11561824B2 (en) | Embedded persistent queue | |
| Jammal et al. | Availability analysis of cloud deployed applications | |
| US11556361B2 (en) | Monitoring and managing of complex multi-role applications | |
| CN112148461B (en) | Application scheduling method and device | |
| US10521272B1 (en) | Testing in grid computing systems | |
| CN111722917A (en) | Resource scheduling method, device and device for performance testing task | |
| CN111966599A (en) | Virtualization platform reliability testing method, system, terminal and storage medium | |
| CN111338930A (en) | Automatic test system and method based on multiple processes and multiple tenants | |
| CN104965741A (en) | Method and apparatus for installing real-time application clusters | |
| US20230289203A1 (en) | Server maintenance control device, server maintenance system, server maintenance control method, and program | |
| CN111930092A (en) | Automatic testing system and method for power distribution monitoring platform | |
| Rahimzadeh et al. | ECHO: Efficiently overbooking applications to create a highly available cloud | |
| CN117170916B (en) | Fault analysis method, device, equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201113 |
|
| RJ01 | Rejection of invention patent application after publication |