Вы находитесь на странице: 1из 13

Page No:-

Page No:-
Page No:-
Page No:-
Page No:-
An Online auction sale

Overview:

The online auction system is a design about a website


where sellers collect and prepare a list of items they want to sell
and place it on the website for visualizing. To accomplish this
purpose the user has to access the site. Incase it’s a new user he
has to register. Purchaser’s login and select items they want to buy
and keep bidding for it. Interacting with the purchasers and sellers
in the chat room does this. The purchaser making the highest bid
for an item before the close of the auction is declared as the owner
of the item. If the auctioneer or the purchaser doesn’t want to bid
for the product then there is fixed cutoff price mentioned for every
product. He can pay that amount directly and own the product. The
purchaser gets a confirmation of his purchase as an
acknowledgement from the website. After the transition by going
back to the main menu where he can view other items.

As per case study, the following analysis diagrams will be created

1. Use cases for the system.


2. Class diagram for initially identified classes.

Page No:-
3. Activity diagram to show flow each use case.
4. Sequence and collaboration diagrams.
5. State chart diagram shows states before and after each action.

Conceptualization:

Assumptions:

• The users are allowed to register and given user id’s to have
identification.

• The users are allowed to bid for any price according to their
own wish provided it’s more than the minimum price for
auction.

• The fixed cut-off price is decided and conformed for every


product.

• The auctioneer requesting the product for the cut off price is
given priority.

• The auctioneer bidding the maximum price is given the


product.

Inputs:
• The login details of auctioneer.

• List of the available products on the site.

• Details such as specifications and the price of each


product.

• Bidding price of the auctioneer.

Outputs:
• The cut off price of each product.

• Updated status of the bid price.

• Status of each product if it is bid or sold or for sale.

• Acknowledgement to whom the product is sold.

Key terms:

Page No:-
 Get details and Bid the product.

 Deliver the product.

 Pay the price and logout.

An auction simulation:

• Bid for the product.

• Log on to the site.

• Fix or bid for the price.

• Function points

 Bidder request product details.

 Pay final price and bid the product.

 Loop

- Check any product details.

- Check for cut off price.

Requirement analysis:

Textual analysis:

This covers the requirement and diagrams of the project.


The complete auction to bid the product.

Actors:

These are who are involved in the interaction of the whole


process.
Site: The customer bid price through the site. He has to see the list
of the available of products and the list of prices. Every the site has
to update with the new products.

Customer:

Page No:-
He will log into the system and see the product, which is
ready for auction. He search for the products and bid for the
products and finally he pay the money of the given bid price.

Product:

The product will have some code, which the customer


sends the code to the system, and want to buy the product. The
auctioneer will see in the site and bid the product. Sometime the
product will sell for current bidding price or it will sell by final cut off
price.

Auctioneer:

He will visit the site and send the details of products to


bidder. He will always update the bidding price. He will sell the
products. He will get the price paid.

Use cases:

The steps involved in the whole process are indicated as use


cases.
• Login

• Search for product

• Request or send details

• Bid the product

• Buy/sell the product

• Pay the price

• Deliver the product

Login:

The auctioneer has to login the site and update the details
of the product. The customer login into the system and check the
details, price of the product.

Search for the product:


The customer will search for the product and bid the price.
After bidding he will pay the money.

Page No:-
Request or send the details:
The bidder will send the details of the product and the
customer also sends the details to the customer.

Bid the product:


The customer will bid for the product and pay the money
to the auctioneer.

Buy/sell the product:


The bidder will sell the product and customer will buy the
product.

Pay the price:


The customer as to pay the price and get the product.

Deliver the product:


After the customer has paid the money the auctioneer has to
deliver the product.

Diagrams
The diagrams are of two types

1. Static diagrams: Static diagrams are again divided into four

a) Class diagram
b) Object diagram
c) Component diagram
d) Deployment diagram

a. Class diagram
A class diagram shows a set of classes, interfaces and
collaboration and their relationships.
Classes of auction application are:

CLASS ATTRIBUTES OPERATORS


Site Name, list of Update the site with
available products, products, sell the
list of prices, web products
host
Customer(bidder) Name, contact Logon to the site,
info, address search for the request
products, bid for the
product, pay the price

Page No:-
Product Id, name, type, __________________
current bidding
price, final, cut off
price
Auctioneer Id Send the details of
products to bidder,
update the bidding
price, sell the products,
get the price paid

b. Dynamic Diagrams
They are divided into five:
1. Use case Diagram:

Organizes the behavior of the system.

2. Sequence Diagram:

Focused on the time ordering of messages.

3. Collaboration Diagram:

Focused on the structural organization of the


objects that send and receive messages.

4. State chart Diagram:

Focused on changing state of the system driven by


events.

5. Activity Diagram:

Focused on the flow of control from activity to


activity.

1. Use case Diagram


A use case shows a set of use cases and actors and their
relationships.
Actors Use cases

Bidder login
Search for the product
Request/send details

Page No:-
Bid the product
Pay the price

Auctioneer request/send signals


Deliver the product

2. Sequence Diagram
A diagram is an interaction diagram that emphasizes the time
ordering of messages. It consists of set objects and actor.
o Actors:

1. Bidder:

He login in to the site and search for the product. He


send and request the details and get details. he pay the bill
for final price of the product.

o Objects:

1. Site:

In the site the cost of products will display and customer


also send requirements of the product.

2. Auctioneer:

He will log onto the details of the customers. He will send


the details to the customer about the details to the customer
about the product and price of the product.

3.Collabration Diagram:

A collaboration diagram is an interaction diagram that


emphasizes the structural organization of the objects that send and
receive messages. It shows set of objects, links among those
objects and messages sent and received by those objects.

4.State Chart Diagram:

A state chart diagram shows a state machine, consisting of


states, transitions, events and activities. It emphasizes the event
ordered behavior of an object, which is especially useful in the
modeling reactive systems.

Page No:-
5.Activity Diagram:

An activity diagram shows the flow from activity within a


system. It emphasizes the flow of control among objects.

Page No:-

Вам также может понравиться