Design and Implementation of a Network Service Marketplace

Design and Implementation of a Network Service Marketplace

University of Massachusetts Amherst ScholarWorks@UMass Amherst Masters Theses Dissertations and Theses November 2014 Design and Implementation of a Network Service Marketplace Yunsheng Qi University of Massachusetts Amherst Follow this and additional works at: https://scholarworks.umass.edu/masters_theses_2 Part of the Electrical and Computer Engineering Commons Recommended Citation Qi, Yunsheng, "Design and Implementation of a Network Service Marketplace" (2014). Masters Theses. 109. https://doi.org/10.7275/5793775 https://scholarworks.umass.edu/masters_theses_2/109 This Open Access Thesis is brought to you for free and open access by the Dissertations and Theses at ScholarWorks@UMass Amherst. It has been accepted for inclusion in Masters Theses by an authorized administrator of ScholarWorks@UMass Amherst. For more information, please contact [email protected]. DESIGN AND IMPLEMENTATION OF A NETWORK SERVICE MARKETPLACE A Thesis Presented by YUNSHENG QI Submitted to the Graduate School of the University of Massachusetts Amherst in partial fulfillment of the requirements for the degree of MASTER OF SCIENCE IN ELECTRICAL AND COMPUTER ENGINEERING September 2014 Electrical and Computer Engineering c Copyright by Yunsheng Qi 2014 All Rights Reserved DESIGN AND IMPLEMENTATION OF A NETWORK SERVICE MARKETPLACE A Thesis Presented by YUNSHENG QI Approved as to style and content by: Tilman Wolf, Chair Michael Zink, Member Weibo Gong, Member C. V. Hollot, Department Head Electrical and Computer Engineering To my beloved parents. Many thanks to Professor Tilman Wolf. ACKNOWLEDGMENTS First of all, I would like to express my sincere appreciation to my advisor Prof. Tilman Wolf for his invaluable guidance during the project and his instruction on my work. Then I would like to thank PhD student Mr Xinming Chen, who offered plenty of zealous help and his suggestions that helped me to reach the final design of the probe. I will also give my gratitude to PhD student Mr Abhishek Dwaraki. Without his help of database design and service specification, I know I cannot reach next stage of the project. In addition, the PhD students Mr Jiahui Jin, Ms Samamon Khemmarat and Mr Guoyi Zhao provide me a lot of useful advice on my project. vi ABSTRACT DESIGN AND IMPLEMENTATION OF A NETWORK SERVICE MARKETPLACE SEPTEMBER 2014 YUNSHENG QI B.Eng., TIANJIN UNIVERSITY M.S.E.C.E., UNIVERSITY OF MASSACHUSETTS AMHERST Directed by: Professor Tilman Wolf The Internet has successfully served the world for more than three decades, while limitations and drawbacks still exist. A lot of researches have been done on inno- vation of Internet to address those inadequacies. One approach to improve Internet performance is to make choice as a principle in network architecture. We believe that a service-based network architecture with choice, or we call it ChoiceNet, is the most suitable option for future Internet. In this thesis, we design and implement a network service marketplace. Due to the flexibility and functionality of web application, the marketplace is implemented by a web application to fulfill functions such as storing and searching network services, handling actual financial transaction and interacting with client and service planner. vii TABLE OF CONTENTS Page ACKNOWLEDGMENTS ............................................. vi ABSTRACT ......................................................... vii LIST OF TABLES .................................................... xi LIST OF FIGURES.................................................. xii CHAPTER 1. INTRODUCTION ................................................. 1 1.1 Background . 1 1.2 Motivation. 2 1.3 Problem Statement . 3 1.4 Contribution . 5 1.5 Organization . 5 2. BACKGROUND AND RELATED WORK ......................... 7 2.1 Service-Based Network with Choice . 7 2.1.1 What is ChoiceNet? . 7 2.1.2 Choice as Principle in Network . 8 2.2 ChoiceNet Architecture . 9 2.3 Specification and Composition of Network Services . 10 2.3.1 Service Description . 11 2.3.2 Service Composition and Instantiation . 11 2.4 Economy in ChoiceNet . 13 2.4.1 Economy Plane . 13 2.4.2 Financial Transaction . 15 viii 2.5 Cryptography and Authentication . 15 2.5.1 Secure Hash Function . 16 2.5.2 Symmetric Encryption . 16 2.5.3 The Diffie-Hellman Key Exchange Algorithm. 17 3. DESIGN OF THE WEB APPLICATION ......................... 18 3.1 Overview . 18 3.1.1 ChoiceNet Implementation Overview . 18 3.1.2 Web Application Overview . 19 3.1.3 MVC Design Pattern . 20 3.1.4 Sub-Applications . 21 3.2 Data Storage Design . 23 3.2.1 Data Storage Overview . 23 3.2.2 Accounts Sub-application . 24 3.2.3 Service Sub-application . 25 3.2.4 ChoiceNet Sub-application . 26 3.3 Web Interaction and Interface . 29 3.4 Financial Transaction Integration . 31 3.5 Searching and Filtering Mechanism . 32 3.6 Server-Client Interaction . 35 3.7 Technique List . 36 4. EVALUATION AND DISCUSSION OF RESULTS................ 38 4.1 Database . 38 4.2 Account Pages . 39 4.2.1 Customer User . 39 4.2.2 Service Provider . 41 4.2.3 Web Application Manager . 42 4.3 PayPal Integration . 43 4.4 Searching and Filtering . 44 4.5 Rating and Comment System . 45 4.6 Server-Client Interaction . 46 4.6.1 Request a new session . 46 4.6.2 User Login . 48 4.6.3 Request Network Service . 49 4.6.4 Pay Unpaid Order . 50 ix 4.6.5 Check Payment Status . 51 4.6.6 Request Refund . 52 5. CONCLUSION AND FUTURE WORK .......................... 54 5.1 Conclusion . 54 5.2 Future Work . 55 BIBLIOGRAPHY ................................................... 56 x LIST OF TABLES Table Page 3.1 Requirements and corresponding sub-applications. 22 3.2 Users table. 24 3.3 Service table. 25 3.4 Servicetype table. 26 3.5 Balance table. 26 3.6 Comment table. 27 3.7 Income table. 27 3.8 Invoice table. 28 3.9 Session table. 28 3.10 Account's accessibility to different page. 29 xi LIST OF FIGURES Figure Page 1.1 Unicast v.s. Multicast. 3 2.1 Foundational principles and their dependencies [16]. 9 2.2 Service composition framework in ChoiceNet [16]. 10 2.3 Service composition framework in ChoiceNet [3]. 13 2.4 Interfaces in ChoiceNet [12]. 14 2.5 User Authentication. 16 3.1 ChoiceNet implementation overview. 18 3.2 Web application overview. ..

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    71 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us