Skip to main content
Top

2019 | OriginalPaper | Chapter

CPN Model Based Standard Feature Verification Method for REST Service Architecture

Authors : Jing Liu, Zhen-Tian Liu, Yu-Qiang Zhao

Published in: Collaborative Computing: Networking, Applications and Worksharing

Publisher: Springer International Publishing

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

The representational state transfer (REST) service architecture is widely used in large-scale and scalable distributed web systems. If the REST service architecture does not comply with its standard feature constrains, it can result in degraded performance or low scalability of the REST-based web systems. Therefore, in order to enhance the quality of system designing, it is necessary to verify whether the system design meets the standard feature constrains of the REST service architecture. In this paper, we propose a standard feature constrains verification method for REST service architecture based on Colored Petri Nets (CPN) model. Firstly, five standard feature constrains of the REST service architecture are modeled using the CPN. Then a verification method is proposed based on synchronized matching of the execution paths in model state space. Lastly, we validate the usability and validity of the proposed verification method using a practical course management web system based on the REST service architecture. Experimental results show that our method can effectively confirm whether the web application system design based on REST service architecture conforms to the standard feature constrains of the REST service architecture. Besides, it can also provide intuitive and feasible execution data when the standard feature constraints are not met, which can facilitate the defects location and correction of the following design of application systems.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literature
1.
go back to reference Fielding, R.T.: Architectural styles and the design of network-based software architectures, p. 303. University of California, Irvine (2000) Fielding, R.T.: Architectural styles and the design of network-based software architectures, p. 303. University of California, Irvine (2000)
2.
go back to reference Paganelli, F., Turchi, S., Giuli, D.: A web of things framework for RESTful applications and its experimentation in a smart city. IEEE Syst. J. 10(4), 1412–1423 (2017)CrossRef Paganelli, F., Turchi, S., Giuli, D.: A web of things framework for RESTful applications and its experimentation in a smart city. IEEE Syst. J. 10(4), 1412–1423 (2017)CrossRef
3.
go back to reference Song, Y., Xu, K., Liu, K.: Research on web instant messaging using REST web service. In: IEEE Symposium on Web Society, pp. 497–500 (2010) Song, Y., Xu, K., Liu, K.: Research on web instant messaging using REST web service. In: IEEE Symposium on Web Society, pp. 497–500 (2010)
4.
go back to reference Liu, J., Ye, X., Zhou, J.: Colored Petri net hierarchical model of complex network software and model integration verification method. High-Tech Commun. 23(11), 1139–1147 (2013) Liu, J., Ye, X., Zhou, J.: Colored Petri net hierarchical model of complex network software and model integration verification method. High-Tech Commun. 23(11), 1139–1147 (2013)
5.
go back to reference Benabdelhafid, M.S., Boufaida, M.: Toward a better interoperability of enterprise information systems: a CPNs and timed CPNs -based web service interoperability verification in a choreography. Procedia Technol. 16, 269–278 (2014)CrossRef Benabdelhafid, M.S., Boufaida, M.: Toward a better interoperability of enterprise information systems: a CPNs and timed CPNs -based web service interoperability verification in a choreography. Procedia Technol. 16, 269–278 (2014)CrossRef
6.
go back to reference Sun, L.: Dynamic composition modeling and validation OD web services based on hierarchical colored Petri nets. China University of Petroleum, Dongying (2011) Sun, L.: Dynamic composition modeling and validation OD web services based on hierarchical colored Petri nets. China University of Petroleum, Dongying (2011)
7.
go back to reference Costa, B., Pires, P.F., Merson, P.: Evaluating REST architectures-approach, tooling and guidelines. J. Syst. Softw. 112, 156–180 (2016)CrossRef Costa, B., Pires, P.F., Merson, P.: Evaluating REST architectures-approach, tooling and guidelines. J. Syst. Softw. 112, 156–180 (2016)CrossRef
8.
go back to reference Jensen, K., Kristensen, L.M., Wells, L.: Coloured Petri nets and CPN tools for modeling and validation of concurrent systems. Int. J. Softw. Tools Technol. Transf. 9(3–4), 213–254 (2007)CrossRef Jensen, K., Kristensen, L.M., Wells, L.: Coloured Petri nets and CPN tools for modeling and validation of concurrent systems. Int. J. Softw. Tools Technol. Transf. 9(3–4), 213–254 (2007)CrossRef
10.
go back to reference Wu, X., Zhu, H.: Formalization and analysis of the REST architecture from the process algebra perspective. Future Gen. Comput. Syst. 56, 153–168 (2016)CrossRef Wu, X., Zhu, H.: Formalization and analysis of the REST architecture from the process algebra perspective. Future Gen. Comput. Syst. 56, 153–168 (2016)CrossRef
11.
go back to reference Ting, Y.: Formal Modeling and Analysis of RESTful Web Services. East Chain Normal University, Shanghai (2015) Ting, Y.: Formal Modeling and Analysis of RESTful Web Services. East Chain Normal University, Shanghai (2015)
12.
go back to reference Adhipta, D., Hassan, M.F., Mahmood, A.K.: Web services extension model simulation in hierarchical colored Petri net. In: International Conference on Computer & Information Science, pp. 741–746. IEEE (2012) Adhipta, D., Hassan, M.F., Mahmood, A.K.: Web services extension model simulation in hierarchical colored Petri net. In: International Conference on Computer & Information Science, pp. 741–746. IEEE (2012)
13.
go back to reference Segura, S., Parejo, J.A., Troya, J., et al.: Metamorphic testing of RESTful web APIs. IEEE Trans. Softw. Eng. PP(99), 1 (2017) Segura, S., Parejo, J.A., Troya, J., et al.: Metamorphic testing of RESTful web APIs. IEEE Trans. Softw. Eng. PP(99), 1 (2017)
14.
go back to reference Garriga, M., Mateos, C., Flores, A., et al.: RESTful service composition at a glance. J. Netw. Comput. Appl. 60(C), 32–53 (2016) Garriga, M., Mateos, C., Flores, A., et al.: RESTful service composition at a glance. J. Netw. Comput. Appl. 60(C), 32–53 (2016)
15.
go back to reference Rauf, I., Vistbakka, I., Troubitsyna, E.: Formal verification of stateful services with REST APIs using event-B. In: IEEE International Conference on Web Services, pp. 131–138. IEEE Computer Society (2018) Rauf, I., Vistbakka, I., Troubitsyna, E.: Formal verification of stateful services with REST APIs using event-B. In: IEEE International Conference on Web Services, pp. 131–138. IEEE Computer Society (2018)
Metadata
Title
CPN Model Based Standard Feature Verification Method for REST Service Architecture
Authors
Jing Liu
Zhen-Tian Liu
Yu-Qiang Zhao
Copyright Year
2019
DOI
https://doi.org/10.1007/978-3-030-12981-1_48