Infrastructure for Agent based B2B marketplace University of Wollongong CSCI321 project Present by Present by Joe Tsang Joe Tsang , , Joe Cheung Joe Cheung , , Sammy Sammy , , Angus Angus and and Lilian Lilian
Dec 22, 2015
Infrastructure for Agent based B2B marketplace
University of WollongongCSCI321 project
Present by Present by Joe TsangJoe Tsang, , Joe CheungJoe Cheung, , SammySammy, , AngusAngus and and LilianLilian
B2B Marketplace
Offer a B2B marketplace for agents to buy or sell their products
Our system provide simple Agent service A foreign Agent interface
Accept Remote Agent Third-party designed agent to make bidding
Auction Methods
3 types of auction implemented in Marketplace English auction
Price go up until time end Final highest price bidder win
Japanese auction Seller increases price force buyers leave Last buyer remain win
Seal-bids (Vickery) auction The highest buyer bid win pay second highest price
Java Threading process
Servlet process - Tomcat
Auction
\home user session\home\
\servlet\english\seller
Create auction\servlet\english\
english_seller.html
\servlet\english\seller
Create buyer agent\servlet\english\
english_buyer.htmlUser login
User_data
user_data
parameter
parameter
Detail result\servlet\result
Retrievereuslts
\servlet\result
User_data / history_data Result_ID
Product details
Agent properties
Java thread(start process)
Trace any newagent, startnew thread
Biding process(accounding
buyer’sstratergy)
getNewBuyer
Update bids data
result
1...n
Post result
Result detail
Retrieve results
System structure of Marketplace
DatabaseDatabase[mySQL]
Agent Program(Java
MultiThread)[IMAS]
Web Server(Java Servlet/
JSP)[Tomcat]
requestcreate a
agent or viewa result ofnegotiation
Get the negotiation result/insert Auction Transaction
Retrieve / Store the1. transaction Record
2. Agent data3. results
Client (Web
Browser)
return theresult HTML
page orconfirm pagefor create the
agent
Tomcat – DB – Java Threading process
Java Threading process - IMAS We name this Java Threading process as [IMAS]
– Intelligent Marketplace Agent System Most important part of system
Agent Intelligent Auction Biding Communicate with Foreign agent Implement of Biding Strategy
IMASIMAS
Third Party Agent
We provide a interface to accept third party agent This agent …
contain its own intelligent designed by user continue to communicate to IMAS could use basic function in marketplace
login product searching bid price check status
competitive with the agent inside our marketplace
Third Party Agent
3 party agent
3 party agent
IMAS TCP Socket 3 party agentXMLInternetTCP/IP
TCP Socket
XML packet as a mediumto exchange data
A TCP socket accept remote agent connect A helper class convert XML data to Java data
object Agent must following the specification of Third
party agent design
The Web Interface
Make a new Buyer Agent
Make a new Seller Agent
Email Notification