Performance Comparison and Analysis of Power Quality Web Services Based on REST and SOAP

Similar documents
Research on Two - Way Interactive Communication and Information System Design Analysis Dong Xu1, a

A liquid level control system based on LabVIEW and MATLAB hybrid programming

Design of student information system based on association algorithm and data mining technology. CaiYan, ChenHua

Research on Power Quality Monitoring and Analyzing System Based on Embedded Technology

A New Method Of VPN Based On LSP Technology

Research on the Application of Bank Transaction Data Stream Storage based on HBase Xiaoguo Wang*, Yuxiang Liu and Lin Zhang

Design and Implementation of Dual-Mode Wireless Video Monitoring System

Implementation of Parallel CASINO Algorithm Based on MapReduce. Li Zhang a, Yijie Shi b

A Kind of Wireless Sensor Network Coverage Optimization Algorithm Based on Genetic PSO

A Data Classification Algorithm of Internet of Things Based on Neural Network

Design of Temperature and Humidity Data Acquisition System. Based on ARM

Construction of SSI Framework Based on MVC Software Design Model Yongchang Rena, Yongzhe Mab

Design of Tourism Information System with B/S and C/S Architecture based on Android and Web Platform

Research on Heterogeneous Communication Network for Power Distribution Automation

An improved PageRank algorithm for Social Network User s Influence research Peng Wang, Xue Bo*, Huamin Yang, Shuangzi Sun, Songjiang Li

Construction and Application of Cloud Data Center in University

Qingdao, , China. China. Keywords: Deep sea Ultrahigh pressure, Water sound acquisition, LabVIEW, NI PXle hardware.

Best traffic carrier frequency number and cell wireless utilization research

Shared-network scheme of SMV and GOOSE in smart substation

D Design and Implementation of Limestone Activity Real-time Detection System Based on Qt /Qwt Hao XU1, a, Pingping SHAN1, Ke CHEN1, Zheng ZHANG 1

Network protocol for Internet of Things based on 6LoWPAN

Fault Diagnosis of Wind Turbine Based on ELMD and FCM

Test Cases Generation from UML Activity Diagrams

Test Analysis of Serial Communication Extension in Mobile Nodes of Participatory Sensing System Xinqiang Tang 1, Huichun Peng 2

Man-hour Estimation Model based on Standard Operation Unit for Flexible Manufacturing System

Data Cleaning for Power Quality Monitoring

Design And Implementation of Remote Video-Audio Communication Module in The Commanding-Dispatching System of Transmitting Stations

Research and Design of Crypto Card Virtualization Framework Lei SUN, Ze-wu WANG and Rui-chen SUN

Research and Implementation of Server Load Balancing Strategy in Service System

A Design of Remote Monitoring System based on 3G and Internet Technology

A REUSE METHOD OF MECHANICAL PRODUCT DEVELOPMENT KNOWLEDGE BASED ON CAD MODEL SEMANTIC MARKUP AND RETRIEVAL

Applied Research on AC/DC Integrated Power Supply of Substation Lu Zhigang1, a, Lei Bo1, b, Zheng Yongqiang2, c

Fault Analysis of Distribution Network with Flexible Ring Network Control Device

A Tentative Study on Ward Monitoring System based on Zigbee Technology Jifeng Liang

The research on the technique of geospatial information service component Zhang Yuanyuan1,a, GuoYong1,band Wang Qingshan1,c

Design of SCADA power Distribution Monitoring System based on PLC and Configuration Software

New research on Key Technologies of unstructured data cloud storage

Remote Supervising of Power Plant

Research on Data Transmission and Information Integration Technology in the Distributed Wind Farm SCADA System

Design of Smart Home System Based on ZigBee Technology and R&D for Application

Research on software development platform based on SSH framework structure

Exploration of Fault Diagnosis Technology for Air Compressor Based on Internet of Things

DESIGN AND IMPLEMENTATION OF TOURIST WEBGIS BASED ON J2EE

A Study on Load Balancing Techniques for Task Allocation in Big Data Processing* Jin Xiaohong1,a, Li Hui1, b, Liu Yanjun1, c, Fan Yanfang1, d

Huge Data Analysis and Processing Platform based on Hadoop Yuanbin LI1, a, Rong CHEN2

Development of remote control software for multiformat test signal generator

A Web Service Monitoring Indicator and Model System and Performance

Research On a Real-time Database of General Engineering Flight Simulation

Intelligent bus temperature measurement system based on Zigbee networks

Realization of Time Synchronization Server Based on C/S

The Design and Implementation of Disaster Recovery in Dual-active Cloud Center

Research on Approach of Equipment Status and Operation Information Acquisition Based on Equipment Control Bus

Cemetery Navigation and Information Query System Based on Android and Java Web

Remote monitoring system based on C/S and B/S mixed mode Kaibing Song1, a, Yinsong Wang2,band Dandan Shang3,c

Research and Application of Mobile Geographic Information Service Technology Based on JSP Chengtong GUO1, a, Yan YAO1,b

The Research of Delay Characteristics in CAN Bus Networked Control System

Design of the Power Online Monitoring System Based on LabVIEW

Research on the Application of Digital Images Based on the Computer Graphics. Jing Li 1, Bin Hu 2

D DAVID PUBLISHING. Integration of PSS E Web Application with Power System Simulation Platform. 1. Introduction

Automatic analysis technology for aviation equipment software requirements ZHOUHan-Qing, LI Hai-Feng,HUANG Yan-Bing

The Design and Implementation of Workflow Simulation based on the Theory of Discrete Event

A Novel Data Mining Platform Design with Dynamic Algorithm Base

3rd International Conference on Mechanical Engineering and Intelligent Systems (ICMEIS 2015)

Research on Applications of Data Mining in Electronic Commerce. Xiuping YANG 1, a

A Real-time Detection for Traffic Surveillance Video Shaking

ARM9-based implementation of Using EVC to Access Remote WEBSERVICE Interface HeFu Liu

Study on Ontology-based Multi-technologies Supported Service-Oriented Architecture

Design and Implementation of Real-Time Data Exchange Software of Maneuverable Command Automation System

Research on the New Power Quality Online Monitoring and Analysis System Design Based on the LABview Mengmei Ren1, a

Data Acquisition and Analysis of Distribution Automation System

A Unified Data Publishing Protocol in Health Big Data Processing

Routing Protocols Simulation of Wireless Self-organized Network Based. on NS-2. Qian CAI

Research on WSN Secure Communication Method Based on Digital Watermark for the Monitoring of Electric Transmission Lines

An Indian Journal FULL PAPER ABSTRACT KEYWORDS. Trade Science Inc. The study on magnanimous data-storage system based on cloud computing

Research on Simulation System of UHVDC Transmission

Comprehensive analysis and evaluation of big data for main transformer equipment based on PCA and Apriority

M out of N Safety Computing System Based on General-Purpose Computers

The power quality intelligent monitoring system based on cloud computing Jie Bai 1a, Changpo Song 2b

Hole repair algorithm in hybrid sensor networks

Design and Implementation of Agricultural Intelligent Monitoring System. based on the Android Platform. Liang Haili 1, a

Research and Design of Education and Teaching Resource Management System based on ASP.NET Technology

Recovering the Communication of Power System Protection Quickly Via ZigBee Wireless Network for the Intelligent Protection Center Research

The intelligent weather station system based on Arduino

Study on Gear Chamfering Method based on Vision Measurement

Research and Application of Word Format Checking Technology based. on Java and XML

Open Access Research on the Prediction Model of Material Cost Based on Data Mining

The application of OLAP and Data mining technology in the analysis of. book lending

Design of Soybean Milk Machine Control System based on STC89C52. Ya-gang SUN, Yue ZHANG, Zhi-gang YANG, Rui-cheng ZHANG and Xiao-wei SHEN

A method of three-dimensional subdivision of arbitrary polyhedron by. using pyramids

Network Video Surveillance System Based on Embedded Linux and ARM Technology

Adaptive replica consistency policy for Kafka

The Comparative Study of Machine Learning Algorithms in Text Data Classification*

A Training Simulator for PD Detection Personnel

Design of Coal Mine Power Supply Monitoring System

Keywords: Motion Capture System, Virtual Interaction, Wireless Sensor Network, Motion Builder

An Optimization Algorithm of Selecting Initial Clustering Center in K means

A Scheme of Dynamic Bandwidth Allocation for Switching FC-AE-1553 Network

Research on Quality Reliability of Rolling Bearings by Multi - Weight Method (Part Ⅱ: Experiment)

Excavation Balance Routing Algorithm Simulation Based on Fuzzy Ant Colony

SYSTEM OF PREVIEW AND DETECTION BASED ON NETWORK VIRTUAL EXPERIMENT

Transcription:

5th International Conference on Mechatronics, Materials, Chemistry and Computer Engineering (ICMMCCE 2017) Performance Comparison and Analysis of Power Quality Web Services Based on REST and SOAP Suxia Ma1, Rui Chen1and Jingjing Xu1 1 School of control and Computer engineering, North China Electric Power University, Beijing, China Keywords: Web services; REST; SOAP; Performance comparison; Performance analysis Abstract. REST based Web services and SOAP based Web services are two of the most mainstream forms of Web services. The performance of these two services is lack of detailed comparative analysis. In this paper, the power quality application is combined with these two kinds of Web services to realize the sharing of power quality data. Performance tests are performed on power quality Web services interfaces based on REST and SOAP, including stress tests, functional tests, and security tests. The results show that the performance of the REST services is better than that of the SOAP services in particular in real-time response capabilities. 1. Introduction Web service technology is a hot topic of computer network technology development in the last ten years. With the increase in the number of Web services, Web services are more widely used, covering every aspect of daily life and work. There are many types of Web services, among which SOAP based Web services and RESTful Web services are two of the most mainstream forms of Web services. SOAP service is inseparable from the SOAP protocol, and the SOAP protocol uses an interactive model based on remote procedure call (RPC), which is better suited to a relatively closed, small application environment [1]. SOAP services use the SOAP message to encapsulate data in envelopes and communicate in XML data formats, and REST services are delivered directly from the HTTP default method through a self-describing method [2]. Therefore, REST services are generally considered to be more concise and better performing. However, the actual operation condition of the two types of services lacks detailed comparison and analysis. At present, the power system applications began to use power quality basic data services to obtain the required power quality data, to solve the data sharing problem caused by different power quality data format or platform. The application of Web services in power quality monitoring system solves the problem of sharing power quality data due to different data sources and data formats. Because of the huge amount of power quality data, the power quality basic data service has a high demand for response time and returned XML data packets [3, 4]. Choosing the appropriate service architecture technology for power quality Web service has also become an important problem faced by developers. This paper has developed the power quality basic data Web services based on REST and SOAP. And the performance testing of REST and SOAP Web services is carried out respectively by using the existing Web service testing tools. Through the analysis of the experimental results, it is proved that the performance of REST service is better than SOAP service, and the deployment and operation are better. 2. Design of power quality Web services 2.1. Power Quality Basic Data With the construction and development of power quality in China, power enterprises have accumulated a lot of power quality data [5]. The basic data of power quality includes both steadystate data and transient data. The power quality basic data services collects the power quality basic data from different data sources, then preprocesses the data and assembles the data into a specific Copyright 2017, the Authors. Published by Atlantis Press. This is an open access article under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/). 757

XML format, compresses the XML fragments, and finally provides the functions in the form of Web services Interface [6, 7]. Combine Web services with power quality applications, analyze the data of power quality and publish the results into service, so that users can view the results in the browser. And then we can quickly detect the power quality problem to achieve power quality data sharing. 2.2. Design of Web Services Interfaces According to the IEC 61970 international standard, the data interface specification is as follows: The data exchange interface of the power quality data services is the agreed XML description file, and the Web services adopts the XML data type as the transmission format. Take the interface "request monitoring point steady-state history data" for example, the data format returned by the interface is shown in Fig. 1. Fig. 1 The data format returned by the interface. 3. Design of the experiment 3.1. Data Sources of the Experiment The experimental data are the basic data of power quality, from the basic data platform of power quality. The basic data of power quality should include the following types of data: The steady-state historical data of power quality It refers to the steady-state data collected from the monitoring equipment by specified statistical intervals (such as 1 minute). Power quality steady-state real-time data Contains: voltage / current RMS value, voltage / current spectrum and voltage / current asymmetry component. Power quality disturbance event Contains: power quality transient events and various steady-state parameter overrun events. Basic information Contains: unit information, substation information and monitoring point properties. 758

3.2. Experimental Steps Power quality Web services performance test, refers to the call by the power quality data service to measure the response time of Web services, including the response time statistics of multiple users to invoke the Web services concurrently, but also to detect the power quality data service is able to respond to user requests in a timely manner. There are a lot of testing tools for Web services that can be used to test the connectivity, responsiveness, and performance of Web services. Such as SOAPUI, a cross-platform testing tool, this can support for implementing Web services functionality testing. Others like Jmeter, a Javabased stress testing tool, and SOAPSonar. In this paper, we will test the performance of power quality Web services interfaces based on REST and SOAP, including stress test, functional test and safety test, and compare the test results of the two services. Considering the time and condition of the network may have an impact on the services call process, this article performs performance tests on REST and SOAP services at different times and in different locations. The number of concurrent users is set to 5, 20, 50, 100 and 500 respectively. The performance of REST and SOAP Web services is tested several times. The results are compared, including the response time, throughput and the returned XML data Package and other aspects are compared. 4. Experimental results and comparative analysis In this paper, the REST and SOAP power quality Web services are executed concurrently with 5, 20, 50, 100, and 500 threads. The time limit is set to 60 seconds, and the interval for each transmission is set to 1 second (1000 milliseconds). Fig. 2 compares the response time for the REST services and the SOAP services. Fig. 2 The response time for the REST services and the SOAP services. As can be seen from Fig. 2, the average response time of REST services is much smaller than that of SOAP services. With the increase of the number of concurrent users, the gap of response time is gradually increasing. For example, when the number of concurrent users is 5, the average response time of the REST services is only 91.57 milliseconds, the average response time of the SOAP services is 304.07 milliseconds, and the response time of the REST services is much smaller than that of the SOAP services. Then set the average response time for two Web services. Set the average response time greater than 1 second (1000 milliseconds) is considered failure, and set the maximum response time of Step Maximum 1000 milliseconds. If the time exceeds our set, the test results will be considered failure. Fig. 3 shows the comparison of the number of times the REST service and the SOAP service failed in real time (response time exceeded 1000 milliseconds, which is considered a failure). 759

Fig. 3 The number of times the REST service and the SOAP service failed in real time. As can be seen from Fig. 3, when the number of concurrent users is small (for example, the number of concurrent is 5), the real-time response failures of both services are close to 0, and the difference is smaller. With the increase of number of concurrent users, especially for the larger number of concurrent, the gap between two services gradually increases, the real-time response failures of SOAP services are much more frequent than REST services. The performance advantage of REST is reflected. The SOAP services pass data through a SOAP message and needs to parse the data, and REST services can transfer data directly by using HTTP method. REST, in contrast, is superior to the SOAP services in response time, especially in real time. 5. Conclusion Based on the analysis of the basic data of power quality, this paper designed a contrast experiment to compare the REST and SOAP Web services from the aspects of performance. The two kinds of the power quality data services are both called, to measure the response time of the two services, including the response time of multiple users to invoke the Web services concurrently. It also tests whether the power quality Web services is able to respond to users requests in a timely manner. The results show that the performance of the REST services in response time, throughput, and data transmission is better than that of the SOAP service. And as the number of concurrent users increases, the advantage becomes more and more obvious. However, due to the limited number and scope of data, the comparison is not comprehensive enough. Further work involves collecting more power quality data and comparing these two types of services on larger data scales and dimensions. The next step is to continue to implement a comparative test of the power quality based on REST and SOAP services from other perspectives, such as the maximum number of concurrent users that the service can afford. References [1]Yang Bo.The Research and Design of Web Service Based on REST Architecture[D]. Zhenjiang. Jiangsu University.2010 [2] GAO Pan-pan, WANG Jian, HUANG Ying, HE Ke-qing. Comparison Analysis of Web Service Based on SOAP and REST on Internet [J]. Small Microcomputer System, 2015, (11): 2417-2421. [3] ZHAO Xiuping, WU Shuang, MA Suxia. Study on Service Quality Inspection System of Power Quality Basic Data [J]. Power Information and Communication Technology, 2016, (02): 113-118. [4] Pei Weitao.Study on power quality monitoring technology based on Web service [D]. Baoding: North China Electric Power University, 2009. 760

[5] Sun Peng, Ma Suxia.Study on power quality anomaly data detection system based on IEC 61970 standard and Web service [J]. Power Information and Communication Technology, 2015, (06): 8791. [6] Luan Fujun. Power quality basic data service and detection system [D]. North China Electric Power University, 2014. [7] Yang Chong. Power quality data service detection system [D]. North China Electric Power University, 2015. 761