72 78


Published on

Published in: Technology, Business
1 Comment
  • i need a modules for this paper ...........A Price- and-Time-Slot-Negotiation Mechanism for Cloud Service Reservations.
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

72 78

  1. 1. ISSN: 2277 – 9043 International Journal of Advanced Research in Computer Science and Electronics Engineering Volume 1, Issue 4, June 2012 Ecommerce Dealer Agent Mechanism in Cloud Computing Environment Ms.DivyaJyothi, ME in Computer Engineering Pursuing, MGMCET, Kamothe, Navi Mumbai. Prof.D.R Ingle, PHD in Computer Engineering Pursuing, Bharati Vidyapeeth College of Engineering, Belapur, Navi Mumbai. the agent that connects buyers and sellers for ecommerce Abstract— In this the promise offered by software agent business. The focus of this paper is to:which made changes in electronic commerce trading which i)To develop dealer agent mechanism.helps traders for purchasing of product based on the users ii)For the implementation of the algorithm that connectspreferences. The Ecommerce system based on cloud also buyers and sellers, search algorithm for searching theprovide the experience of customize transactions. The mainaim of the paper is to create dealer agent mechanism based on services.ecommerce cloud that allow pro-active and personalization iii)Protocols that specifies the structuring between buyersincluding agent and dealer with the profile that are maintained and sellers. Many existing works in Cloud computing focusindependently. The proposed aim of this paper is to give the on the development on infrastructures and tools for poolingrespond for the request initiated for the product as services together computational resources, this work complementsinitiated by buyer and delivering them appropriate service. and supplements existing works in Cloud computing byThe Cloud ecommerce agent based framework is demonstratedwith the prototype that is implemented. In addition agent introducing “agent-that works in cloud computing” Theprotocol is been implemented for the interaction between server manages service providers’ and clients’ portfolio datadealer and agent. In this project we will evaluate the product as well as service providers’ trust data. Some well-known e-service performance of ecommerce web sites. Agent is the one commerce websites have taken Centralized trustwho will maintain all ecommerce sites product database and management system to build up trust [1].payment database. Agent searches the product in whichecommerce site the product is available. To start with webservices enables the agent to service the product JAX-WS (webservice) is used. Trading system is brought in a sense enabling II. LITERATURE SURVEYtrading between dealer and buyer. Direct payment is the The papers which I have referred is (Rajkumar Buyya, Cheedefault feature for buying product which then security concern Shin Yeo), Cloud Computing and Emerging IT Platforms:is solved by PayPal sandbox gateway implementation forsecure transaction. Vision, Hype, and Reality for Delivering Computing as the 5th Utility, How to Use Google App Engine, Integration of Index Terms— Cloud Software Agent, JAX-WS, Protocol SOA and cloud computing in RM-ODP IEEE papers. Theremodule for Communication, testbed for agent cloud. are many platform used to design cloud computing in which I have used the technique for how agent based cloud ecommerce system can be implemented how business I. INTRODUCTION oriented application can be created through using suchEcommerce dealer agent mechanism transaction that enables platforms. The system presented by (Kwang Mong Sim,business minded approach for the customers which is 2011 ), helps to design and develop software agent.(carried out from cloud computing. The main aim of this Domenico Talia, 2012) the paper that presents how cloudpaper is to implement the mechanism such that the dealer is that meets the agent which ultimately provide could enablethe actual ecommerce sites who will add its own product to high-performance, complex systems and intelligentthe agent database. Agent is the one who will maintain all applications, making clouds more flexible and autonomicecommerce sites product database and payment database. and providing agent system with a reliable and scalableAgent searches the product in which ecommerce site the computing infrastructure on which to execute large-scaleproduct is available. To start with Web Services enables the applications.( Yi Wei and M. Brian Blake, 2010) serviceagent to service the product. Trading system is brought in a how service oriented and cloud computing relationship hassense of enabling trading between agent & dealer. Direct mentioned in this paper which then explains how onepayment is the default feature for buying products. The provides the computing services. (Min Wu Jiaxing College,problem which occurs for searching the information about Jia Xing, 2010) this paper presents the trust management intrading partners in the business area related to globally ecommerce based on cloud computing is prospered. (Kwangneeds the intermediate for electronics to guide and immolate Mong Sim and Raymond Chan, 2000) agent based system isthe services. This paper determines such a mechanism where created with initiating brokering protocols (Tarek Helmy, 2007), (Raymond Y.K. Lau , 2007) web services and agent based system in ecommerce is presented in this paper.This 72 All Rights Reserved © 2012 IJARCSEE
  2. 2. ISSN: 2277 – 9043 International Journal of Advanced Research in Computer Science and Electronics Engineering Volume 1, Issue 4, June 2012above papers are surveyed for making cloud dealer agent service discovery [4]. SLA generation and direct paymentmechanism system for this paper. modules are handled by enterprises effectively [5]. The agent middle-ware is primarily designed to act as a bridge between distributed physical networks, creating an III. AGENT SOFTWARE IN CLOUD ECOMMERCE agent-friendly communication infrastructure [6]. TheAn agent is the software agent that has the capability to resources accept the ecommerce dealer site request and itdetermine the needs of the buyers and fulfill their objectives. then grant the requirement to consumers through theAn agent system that consists of dealers and the interaction ecommerce dealer sites. It manages the resource and had tobetween buyers and sellers takes place with the agent handle the resource to be organized service provider agentsoftware. For the successful business the agent has to accepts the task for the objective to search for the servicecoordinate and cooperate with the dealers. Coordination is product request. It also interacts with ecommerce sites fornothing but the implementation for the state achieving the service providing. Will serve valuable resource fordealer process to coordinate well with each other. The providing leading technologies, development, ideas, andessential features of cloud computing that serves the trends to an international readership for researchers,resources to number of users. Cloud computing that engineers, and business leaders in the field of servicesestablish the contract between the buyers and the sellers. Computing [8]Agent protocols are used to for the automation and the E. Consumersactivities of polling resources and sharing in clouds. The Consumers, that request for the services of product requiredfollowing cloud agent is as follows which this paper to the service provider (Ecommerce dealer sites), if requestincludes: not found in the dealer site then the site request to agent and A. Agent Services in Cloud through the requested site only the product service isServices that are concern with cloud agent are the received to the consumers.challenging task for dynamically arranging sets of servicesto number of service provider for formation of single serviceto the customer to be delivered. For the cloud agent services IV. ARCHITECTURE DEALER AGENT CLOUDfollowing works to be adopted: ECOMMERCEi) Record database is maintained for all the service provider Cloud Enterprise comprises of Agent and the dealersites (dealer sites). (Ecommerce Sites) on the cloud with respective productsii) Payment transaction is maintained for all the dealer sites. along with enterprise service. These services include Cloudiii) Protocols implemented for selection of cloud services. service, trading system, and direct payment. Cloud services allow the buyer to purchase or find the product to accessCloud computing based on agent is concerned with the their computing needs. Trading between the Agent and thedevelopment of software agent for service discovery of Dealer is handled by trading system, which use thecloud. Each Service is an independent software entity with a controller to search the particular ecommerce site withwell defined standard interface that provide certain functions respective to the product needed for the buyer. Buyerover network [2].In the requirement phase of service, for depends on the services from the dealer ecommerce site.service consumption the agent software is accomplished. The Cloud providers will need to consider and meetThe required services of buyer that gets match in the cloud different QoS parameters of each service.agent sites. The service level agreement established betweenproviders and the consumers, and then the service isdelivered [3].B. Participants of cloudCloud computing for composition of service required.Participants of cloud that are (Agent, consumers, dealerecommerce sites) required interaction and coordinationbetween them. Protocol that are implemented for theinteraction between agent, ecommerce sites and consumers C. Cloud AgentAn cloud agent software for the services of cloudcomposition is implemented used Java (jdk 1.6) framework.The software consists of web services (WSs), AgentResources (ARs), Service Providers (SPs), Dealer; brokerAgent (Bas), Consumers D. Agent ResourcesAgent resources controls and manages the resources toaccess. Agent based cloud computing is concerned withdesigning and development of software agent for cloud Fig 1: Dealer Agent Cloud Ecommerce Architecture 73 All Rights Reserved © 2012 IJARCSEE
  3. 3. ISSN: 2277 – 9043 International Journal of Advanced Research in Computer Science and Electronics Engineering Volume 1, Issue 4, June 2012 A. Cloud Enterprise Working i)Requesting for the services of product.Cloud Enterprises in Fig 1, comprises of the entire agent and ii)with profile details of consumers.the dealer on the cloud with respective products along with Criterion1. Before requesting for the product services theenterprise service. These services include web services, user has to sign up with their new user id and password sotrading system and direct payment. Web services allow that that the consumer’s database is also maintained andprovide services to the customer through dealer site. Trading connection that is established between buyers and sellers.between the dealer and customer is handled by trading Criterion2. For the trading Purpose the connection getsystem. SLA generation and direct payment modules are establishedhandled by enterprises effectively. The difficulty of finding Algorithm 1: For Connection Buyer and Sellerinformation about trading partners in global business arena Input: {User id}, {Password}accentuates the need for electronic intermediaries to assist, Output: Connection Establishednavigate, and mediate the invocation of these services [7]. Processing: If User id & password >4 < 20 Begin B. Service Provided by the Cloud Enterprise /* Criterion1 If user id & password exists in dealer d/b */The three main features involved under trading by the Beginenterprise are web services, trading system and direct Set Servicespayment. These features along with the building up of /* Dealer site will open for Access */service level agreement will constitute the delivery of Endrequested product and handling the agreement between {Connection}=new connection generateddealer and customer If connection generated /* Criterion 2. Begin Set Trading process */ V. DEALER AGENT MECHANISM EVALUATION Else if User id & password not matchThe connection between the buyer and the sellers address /* Then show error message “Please enter correct user idthe buyer to upload the information for the profile database & password”.*/and trading electronic purpose. In Fig 2, the seller buyer Endmechanism process are carried out with stages of Endi)Connection between buyer and sellers (Algorithm) Endii) Request of service evaluated Elseiii)Request that matches filtered Beginiv)Assigning Service request to Buyers /* notify Error msg “Please enter user id & passwordThe agent middle-ware is primarily designed to act as a >4 >20 */bridge between distributed physical networks, creating an Endagent friendly communication infrastructure on which B. Request for service evaluated.agents can be organized in a hierarchical fashion more easily The connection gets established service for the productand freely like: request is evaluated, where the consumer or buyer enters the• The Buyers starts by initiating a communication with the product detail. The product details are broke into words. Thedealer using the communication protocol. product request is done with the basis of product type,• The dealer identifies the buyers and replies with either product name. Search query task take place where theaccept/reject response. product will be searched. If the product found in the• The Buyers sends the original/refined customers request to particular site then the service is forwarded in case if thethe dealer. product is not found then the cloud agent that maintains all• The dealer delegates the request to the registered agent if the product detail will gather the information about therequest not found. request to be assigned. Service that is evaluated based on the• The Seller upon receiving a request attempts to interpret it criteria the buyer set based on the price also for e.g. productby itself. If interpretation is successful, the Seller will report price that that buyer requested is for 5000 or less than 5000to the agent with a certainty value. the search will be taken place accordingly.• If the seller cannot interpret the request as its own then itreports with zero certainty value. Algorithm 2: For Service Request Evaluated• The Seller returns the result to the agent Input: {Product type}, {Product name}, {Product Price}. Output: Service request evaluated A. Connection between buyer and sellers ProcessingConnection is issued between buyers and seller for the task Step1: Buyer Enters Product detailsto be accomplished for the purpose of electronic trading and Step1: Search string break into wordselectronic business. Predefined process that are determined Step2: Compose the search query targeting known datafor the purpose of connection this stage receives the request fields like (product name, product type)from the buyer. The algorithm for the connection of buyers Step3: If word like product name (%Samsung %) andand seller is based on criterion. product type (%mobile %) found Begin 74 All Rights Reserved © 2012 IJARCSEE
  4. 4. ISSN: 2277 – 9043 International Journal of Advanced Research in Computer Science and Electronics Engineering Volume 1, Issue 4, June 2012 */Result will be displayed related to Samsung*/ When the total is been calculated the consumers checkout End with transaction. If product type like = mobile Begin */Then Notify “Result displayed for all mobiles” */ Algorithm 4: Assigning Service Request End Input: {user id}, {password} If product name like=%Samsung%, product type like Output: Product Service assigned=%mobile%, price <5000 >10000 Processing: Then display Order by Price in Ascending Order & Step1: Product added into cartOrder by Dealer. Step2: Displaying message with product type product name, Begin product price, and quantity, total. Result will be displayed Step3: Gross total amount displayed End For product id = 1; Else message display record not found Product id < Cart list .Size; If product request forwarded Begin Then search query forwarded to cloud agent Total= product price*quantity Go to step 1 Gross total= gross total + Total End End End Step4: Checkout. C. Request for matches are SearchedAlgorithm 3: Product Search Match Connection Buyer and sellerInput: {User id}, {Password}, {Product Price}, {ProductType}Output: Search matchedStep1.Enter user id and password login Begin Service Request EvaluatedIf product price < = Product PriceBegin*/ Show match found */End Search the Match RequestIf product type = (%Videocon %) & price < = 5000Begin*/ Notify Match Found Detail*/ElseBegin Assigning Service Request*/ notify Match not found */EndThe match request is searched in the cloud agent system.The request is from the dealer site not from the customer Consumerdirectly. The input is product type and product price. Thisstage that indicates the selection cycle completes for therequest and the connection between buyer and the seller. Fig 2 Stages of Dealer Agent Cloud EcommerceThe match searching stage together provides the path that isoptimized which allow buyers and sellers to go through VI. CLOUD SEARCH ENGINE BASED AGENTcycles for connection. Product search is done for the site For the service required the query that runs against theperspective so that the concern site can provide the services cloud to registered service in the database of search enginesto consumers or buyers. The web services which that matches with the requirement of consumers. Agentcommunicate between the applications. The service that is search engine threads that are gathered together forassigned is described with the help of algorithm. collection of information for the request coming from the dealer ecommerce sites (Service to be provided .The D. Assigning Service request to consumers architecture of a Agent cloud searching product services andFor the connection that is established and the search that has database. It includes the following agent database, agenttaken place if the product found then the buyers receives the search engine, and dealer sites. The agent search engineservices of product type. Once the customer select the extracts the match product from its database. The agentproduct from the catalogue the product that get added into search engine maintains all the dealer ecommerce sitescart. The message is displayed with product name, Product databases of product which then examines the matchDetail, Product Price ,Quantity and total. The gross total is product to be matched. The ecommerce dealer site modulecalculated and the amount is displayed. Total is calculated fetcher stores the matching product services that areTotal= Product Price * Quantity extracted from the cloud agent software system. Agent the 75 All Rights Reserved © 2012 IJARCSEE
  5. 5. ISSN: 2277 – 9043 International Journal of Advanced Research in Computer Science and Electronics Engineering Volume 1, Issue 4, June 2012Filters the match product by scanning the product text of all tested electronic infrastructure. The protocol that specifiesdatabase maintained of all ecommerce dealer site product. the interaction and exchange of information using webRequest is delivered based on the forwarded request and services in this paper the web services that is used as thewith the match of product, the product thus received to the communication protocol is JAX WS which is explained incustomer followed by the transaction. Agents have to be the later in this paper. The agent-based brokering systemmore selective in choosing trusted agents from their limited exposed in this paper partially solves the connectionagent pool, basing decisions around the established topology problem in the product brokering and the merchantas well as the trust metrics [9]. brokering stages of ecommerce [11]. In solving the connection problem using the protocol. VII. SECURITY MEASURE FOR TRADING SELLER ECOMMERCE SITE TRANSACTION 1For secure transactions between buyer and seller PayPalsandbox is implemented in this system. It is a self containedenvironment within which developer can prototype and testPayPal features and APIs. Its purpose is to give developers ashielded environment for testing and integration purposesand to help avoid problems that might occur while testingPayPal integration solutions on the live site. PayPal productsfeatures in this system are as follows: BUYERWebsite Payments with Buy Now Buttons: The Sandbox isto test accepting PayPal as a payment mechanism on awebsite.Shopping Cart Purchases: The Sandbox is used to test thepurchase of multiple items in a single transaction using asingle payment.Instant Payment Notification (IPN): The PayPal Sandbox is SELLER SELLERused to test IPN for updates and payment notifications. VIII. PROTOCOLS FOR INFORMATION EXCHANGE 2A. Protocols in each Stage AGENT The information exchange between the agent and dealerand the interaction between them is specified with brokering BUYERprotocols. The stage of information exchanged is follows in BUYERFig 3:1) Consumer or buyer send request to the ecommerce dealersite with the preference and the profile that is the user fillsup the sign up details, for the purpose of trading to besecure. In the specification of product item the buyer sendthe product type and the price. The request then it is 3connected to dealer ecommerce site.2)The dealer then connect the sellers and buyer for the AGENTrequest that is specified, if the request is found in that Matchparticular database request will be fulfilled if not then the itemsseller that connects to the cloud agent where the entire DEALER DEALERproduct database is maintained. Multiple connections arefollowed.3) The agent that are connected to dealer ecommerce sites ifthe product is match with the request that is sent and thecommunication between them is taken with web serviceswhere the interaction id done with xml message. If the 4match found then the agent then assign to maintain the 4record of payment details of number of ecommerce sites.Agent maintains the trading details and transaction.4) The transaction is complete between buyers and sellers.In this stage the buyer add the product item in its cart andview the total and gross total depending upon the quantity.Buyer then checks out with the payment transaction. ) A BUYER SELLERservice is different from a traditional software artifact in thatit’s autonomous [10]. The connection between dealer and TRANSACTIONagent and the transaction between them is explained with the Fig 3 : Buyer and Seller Protocol Stages 76 All Rights Reserved © 2012 IJARCSEE
  6. 6. ISSN: 2277 – 9043 International Journal of Advanced Research in Computer Science and Electronics Engineering Volume 1, Issue 4, June 2012 runtime system converts API calls and matching replies to IX. PROTOCOL MODULE FOR COMMUNICATION and from SOAP messages.The dealer ecommerce sites and cloud agent cannot talk or iii) Invoking Web services asynchronously.cannot have the interaction between them until and unlessthere is the web services used between the application VIII. RESULT EVALUATIONcommunication purpose so to transfer message or protocolsrequired for communication. The communication processmodule is the backbone that is considered for the process ofcommunication between dealer and agent (service provider).XML based message is used for the purpose ofcommunication between the systems. The TCP Socket clientis used for the transfer of message between the dealer andagent. Several messages that are handled by XML messagethe web services which are JAX-WS stands for Java API forXML Web Services. JAX-WS is a technology for buildingweb services and clients that communicate using XML.JAX-WS allows developers to write message-oriented aswell as RPC-oriented web services. In JAX-WS, a webservice operation invocation is represented by an XML-based protocol such as SOAP. The SOAP specificationdefines the envelope structure, encoding rules, andconventions for representing web service invocations and Fig 4: Result of Experiment 1responses. These calls and responses are transmitted as In Fig 4 the experiment 1, that is conducted for evaluation ofSOAP messages (XML files) over HTTP. Although SOAP product that is requested. The buyer that request for themessages are complex, the JAX-WS API hides this product the requested product that receives in stimulatedcomplexity from the application developer. On the server time with maintain quality of service .Window XP that isside, the developer specifies the web service operations by running on a PC. In the Experiment the scenario which isdefining methods in an interface written in the Java chosen is the 6 buyer and dealer ecommerce site that isprogramming language. The developer also codes one or registered in agent. The experiment that states the buyermore classes that implement those methods. Client programs with 6 requests for the first time with ecommerce dealerare also easy to code. A client creates a proxy (a local object sites which in turn the request is refined based on therepresenting the service) and then simply invokes methods availability of service to be fulfilled. If the request not foundon the proxy. With JAX-WS, the developer does not then the request if forwarded to agent through ecommercegenerate or parse SOAP messages. It is the JAX-WS dealer site with stimulated time that is few seconds theruntime system that converts the API calls and responses to request get fulfilled and the buyer will not know theand from SOAP messages. With JAX-WS, clients and web background mechanism. Both the result is evaluated by webservices have a big advantage: the platform independence of tool to check the performance of the system.the Java programming language. In addition, JAX-WS is notrestrictive: a JAX-WS client can access a web service that isnot running on the Java platform, and vice versa. Thisflexibility is possible because JAX-WS uses technologiesdefined by the World Wide Web Consortium (W3C): HTTP,SOAP, and the Web Service Description Language(WSDL). WSDL specifies an XML format for describing aservice as a set of endpoints operating on messages. SOAinvolves the use of loosely coupled, independent applicationservices made available across a network. These servicescommunicate via a standardized, platform-independentprotocol that hides the underlying implementation details ofeach service. So a .NET client can access a serviceimplemented in Java. Fig 5: Result of experiment 2i) JAX-WS is typically used in conjunction with other The experiment 2 determines the performance criteria thattechnologies. are examined by average time measuring and the time it takes for connection in Fig 5. The connection that isii) JAX-WS represents remote procedure calls or messages establish between dealer and agent with current 3 dealersusing XML-based protocols such as SOAP, but hides Soaps connection been established whereas the connection can beinnate complexity behind a Java-based API. The JAX-WS establish for n numbers of dealers to agent. The request number it is for 20 connections that were recorded. Request 77 All Rights Reserved © 2012 IJARCSEE
  7. 7. ISSN: 2277 – 9043 International Journal of Advanced Research in Computer Science and Electronics Engineering Volume 1, Issue 4, June 2012that is generated by the buyer with product displayed details [11] Marsa Ganza,,”Functionalizing Trust In A Model Agent Based Ecommerce System,” Systems Research Institute Polish Academy Offor every request. The time for connection were measured Science University of Craiova.and determined in the graphical format. X. CONCLUSIONThe project focuses on developing business services becauseof core concept of cloud computing revolves aroundproviding software as a services. Services handle requestand responses using XML. The project is using a localenvironment instead of a public cloud. Our project involvestwo services namely web services and trading services.These services are used to trade agent and dealer products.Dealer agent mechanism transaction is the transaction ofproduct between them, has been developed and satisfies allproposed requirements. The system is highly scalable anduser friendly. Almost all the system objectives have beenmet. All phases of development were conceived usingmethodologies. The Software will be executed successfullyby fulfilling the objectives of the project. Further extensionsto this system can be made required with minormodifications. The agent software system in this papersolves the problem for connection in ecommerce stages.Each process id defined with the protocols. The goal of thispaper to develop dealer agent based mechanism which isbeen achieved by agent software system architecture. ACKNOWLEDGMENTI thanks to our guide who directed us till the completion ofthis work and for his valuable suggestion and unconditionalhelp. I sincerely express my deep sense of gratitude to myguide and head of department of Information Technologytheir valuable guidance, encouragement and timely needgiven to me throughout the course of this work. REFERENCES[1] Min Wu Jiaxing College, Jia Xing,” Cloud Trust Model in E- Commerce,” China ISBN 978-952-5726-09-1 (Print Proceedings of the Second International Symposium on Networking and Network Security (ISNNS ’10) Jinggangshan , P. R. China, 2-4, April. 2010, pp. 271-274[2] Stephen S, Yau,”Software Engineering meets Services & Cloud Computing,” IEEE Computer Society[3] Mario Macias, J Oriol,”Rule Based Management For Revenue, Maximization in Clod Computing Market,” IEEE Communication Society Network & Service Management.[4] Kwang Mong Sim Senior Member,” Agent-based Cloud Computing,,”IEEE Transaction On Services Computing.[5] Seokho Son and Kwang Mong Sim, Senior Member” A Price- and- Time-Slot-Negotiation Mechanism for Cloud Service Reservations” IEEE Transactions On Systems, Man, And Cybernetics—PART B.[6] Tarek Helmy,”Collaborative Multi Agent Based Ecommerce Framework,” International Journal of Computer System & Signal Vol 8, No 1, 2007[7] Kwang Mong Sim , Raymond Chan, “ A Brokering Protocol for Agent based Ecommerce,” IEEE Transaction on System Man and Cybernet Vol 30, No 4, November 2000. [8] Liang-Jie, Zhang,” Introuction to the IEEE transaction on Service Computing,” IEEE Transaction on Service Computing Vol 1,No 1, January 2008.[9] John F. Borowski, Kenneth M,” Reputation-Based Trust for a CooperativeAgent-Based Backup Protection Scheme,” IEEE Transaction On Smart Grid, Vol. 2, No. 2, JUNE 2011[10] Yi Wei, M.Brian Blake,”Service Oriented Computing & Cloud Computing,” IEEE Internet Computing. 78 All Rights Reserved © 2012 IJARCSEE