71
INTRODUCTION Project Description In recent years the World Wide Web (www) has turned into one of the most important distribution channels for private, scientific and business information. One reason for this development is the relatively low cost of publishing a web site. Compared to other ways like brochures or advertisements in newspapers and magazines, the web offers a cheaper and more up to date view on a business for millions of users. So even very small companies are enabled to present their products and services in the www. Furthermore, many companies like online-shops operate via the internet, so presenting themselves there comes naturally. But with dramatically increasing numbers of sites, the problem of finding the ones of interest for a given problem gets more and more difficult. The problem of spotting new web sites of special interest to a user is not yet handled adequately.

COMPETITOR MINING

Embed Size (px)

Citation preview

Page 1: COMPETITOR MINING

INTRODUCTION

Project Description

In recent years the World Wide Web (www) has turned into one of the most

important distribution channels for private, scientific and business information.

One reason for this development is the relatively low cost of publishing a web site.

Compared to other ways like brochures or advertisements in newspapers and

magazines, the web offers a cheaper and more up to date view on a business for

millions of users. So even very small companies are enabled to present their

products and services in the www. Furthermore, many companies like online-shops

operate via the internet, so presenting themselves there comes naturally. But with

dramatically increasing numbers of sites, the problem of finding the ones of

interest for a given problem gets more and more difficult. The problem of spotting

new web sites of special interest to a user is not yet handled adequately.

Furthermore, the directory services do not support all the categories relevant

to some specific user. Since companies need to know who their potential

competitors, suppliers and customers are, web-crawlers and spiders have to be

enhanced to solve problems where single web pages are not the main focus. For

example in the IT-business, where products and services can change quickly, a

system that spots special kinds of web sites and offers the

Opportunity to search them will turn out to be very useful. Other reasons for

focusing on whole sites instead of single pages are: There are much less sites than

single pages on the internet so that the search space can be dramatically reduced.

Page 2: COMPETITOR MINING

The mining for whole web sites can offer a filter step when searching for detailed

information. For example when looking for flight prices you might try to spot

travel agencies first. One final reason is the higher stability of sites. Sites appear,

change and disappear less often then single pages, which might be updated daily.

Of course a part of the site is modified too, but in most cases this will not change

the class of a site.

The classification of text (and web) documents has received a lot of

attention in the research community for many years. Furthermore, a few special

methods have been developed to exploit the hyperlinks to improve the

classification accuracy. However, the classification of complete web sites (instead

of single web pages) has not yet been investigated. Given a set of site classes C and

a new web site S consisting of a set of pages P, the task of web site classification is

to determine the element of C which best categorizes the site S.

In this paper, we introduce several approaches of classifying websites based

on different representations:

Classification of super pages (a web site is represented as a

Single virtual web page consisting of the union of all its pages,

I.e. the web site is represented by a vector of term frequencies).

Classification of topic vectors (a web site is represented by a

Vector of topic frequencies).

Classification of web site trees (a web site is represented by a

tree of pages with topics).

Page 3: COMPETITOR MINING

LITERATURE REVIEW

SYSTEM ANALYSIS

EXISTING SYSTEM :

The Web Mining System main objective is to develop the Software

which is given by the Customer at a given time with the help of the

information and details given by the Customer.We can inquire data from the

backend through enquiries .We have an another an effective operations like

generating reports which give full details of the stock. In the existing system,

we have got some anamolies in some ways, like lack of perfect validations,

in entry modules.

PROPOSED SYSTEM:

Considering the anomalies in the existing system computerization of

the whole activity is being suggested after initial analysis by the

organization .The proposed system keeps the records of the users more perfectly,

as there will be some hundreds of users, registering every day maintaining the

details more perfectly needs to be focused. I would like to keep more validations to

get the data updated each time a record gets changed, in all the files. I would like to

have some more reports based on different conditions.

Page 4: COMPETITOR MINING

User

Login

Handset

Battery

Sim Card

Purchase

View cart

Order list

Admin View Information Ranking

Mining

PROJECT FLOW

ARCHITECTURE DIAGRAM

MODULE DECOMPOSITION

This project consists of three modules:

1. Login Time Report

2. Session Time Report

3. Dwell Time Report

Page 5: COMPETITOR MINING

MODULES DESCRIPTION

Login Time Report:

Login time screens should be designed such that data can be

entered into the database whenever the user accesses the site from any

node.

Session Time Report:

Session time screens should be designed such that details of

session for each page are stored in the database and the report is

generated whenever the administrator view the session time report.

Dwell Time Report:

Dwell time screens should be designed such that reports are generated

based on the admin’s choice

WEB SITE DESIGNING

This Project is an attempt to provide the easiest way of shopping of

Handsets, Batteries and Sim cards. It also provides a Dynamic way for the user to

send the Cell Phone problems and get the remedy without paying any charge.

Homepage:

The Home page of the website contains three frames. The top-Level Frame

displays the logo of this site. The Left-Frame provides the Links to navigate this

site.

Page 6: COMPETITOR MINING

The Available Links are

ABOUT US

HANDSETS

BATTERIES

SERVICE-ZONE

SERVICE CENTERS

FEED BACK

FAQ

The Right-Frame is display area in which the information will be displayed.

Registration Form:

If a customer didn’t buy any product through this site and wants to use the

service zone to get the solution for his Mobile Phone problem, first he has become

a member of this site by using this Registration form. The customer must provide

the necessary details about him and can get the member Id through which he can

use the Service Zone feature.

If any customer purchases any product through this site, then he becomes a

member of this site and member Id will be given to him.

ABOUT US:

This section explains about this site structure and services offered by this

site. It also provides the general information about company and its customer,

services, aims and goals.

Page 7: COMPETITOR MINING

HANDSETS:

The user can purchase handsets through this site. He can search any model

of Handsets from any company through search option. He can also view all the

models from all the company. Once he finished his shopping, he has to provide the

information like, recipient address, Credit Card details etc. Once his order is

Accepted, Then he can get the products within one week.

BATTERY:

Batteries can also purchase through online. The customer must select the

Battery from the given Battery details and order for it. He needs to enter the order

information like Address, Credit Card details etc.

The order details of the customer will be stored in database. The

Acknowledgement will be displayed immediately once the order is accepted.

SIMCARDS:

The customer can purchase a new Pre-Paid Sim card connection or recharge

the existing connection through this site. The user can purchase any type of sim

card like 3-months, 6-months, 1-year etc. The order will be taken after checking

the validity of the given information by the user.

In case of recharge, the customer must provide the member Id, passwords

and existing Mobile Phone number. Once the verification is over then the existing

Sim card will be recharged.

Page 8: COMPETITOR MINING

SERVICE-ZONE:

This section is used to solve the problem occurring on

Handsets, battery, Sim card or connection. Only the member of this site can use

these feature with free of cost. The members can send the description of problem

through this site. The possible remedy will be sent to them as early as possible

through e-mail. If the problem is complex, then this site will contact the nearest

service zone of the member and send a service man to his home if he wishes.

SERVICE CENTERS:

This section displays all the address of the service centers

located all around the India. The user can go through this address and can contact

with them.

FEED BACK:

The customers send a feed back to us. All the feed backs are stored

in database. These feed backs or suggestions are used to provide the better service

to the people.

FAQ:

Frequently Asked Questions are generated about Handsets, Batteries and

Sim cards. The user can go through these questions and answers to clear their

doubts and handle the Mobile Phones in a proper way.

Page 9: COMPETITOR MINING

SYSTEM REQUIREMENTS

HARWARE REQUIREMENTS

Processor : Intel Pentium III

Clock speed : 1Ghz

RAM : 128 MB

Hard Disk : 40 GB

Floppy Drive : 3 ½ inch[1.44 MB]

Key Board : TVS 105 keys

Mouse :Logi Tech

Printer : EPSONEPL-5200(Laser)

SOFTWARE REQUIREMENTS

Operating System : WIN 2000

Database : Sql Server 2000

Software Packages : Personal Web Server

Programming languages : VB.Net

Page 10: COMPETITOR MINING

USE CASE DIAGRAM

USER:

Page 11: COMPETITOR MINING

ADMINISTRATOR:

Page 12: COMPETITOR MINING

Source Code

USER LOGIN:

Imports System.Data.OleDb

Partial Class login

Inherits System.Web.UI.Page

Dim con As New OleDbConnection("Provider=SQLOLEDB;Data Source=.;User ID=sa;Password=sa;Initial Catalog=Palm;")

Protected Sub button1_ServerClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles button1.ServerClick

Try

con.Open()

Dim log As String = "select * from member where MemID = '" & userID.Value & "' and Password = '" & Passw.Value & "'"

Dim coll As New OleDbDataAdapter(log, con)

Dim dss As New DataSet

coll.Fill(dss, "mem")

Dim userD As String = dss.Tables("mem").Rows(0)("Memid").ToString()

Session("username") = userD

Response.Redirect("index1.html")

Page 13: COMPETITOR MINING

Catch ex As Exception

Response.Write("<script>alert(""No Such User"")</script>")

Finally

If con.State = ConnectionState.Open Then

con.Close()

End If

End Try

End Sub

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

If Not Page.IsPostBack Then

Dim tran As OleDbTransaction

Dim cats = "Login"

Try

If Session("username") = "" Then

Session("starttime") = Now.ToShortTimeString

Dim IPAdress As String = Request.UserHostAddress.ToString()

Session("username") = "Guest"

Dim dates As String = Now.Date.ToShortDateString()

Dim url As String = Request.ServerVariables("URL")

Page 14: COMPETITOR MINING

con.Open()

Dim ins As String = "insert into mining(IPAddress,url,Prod,username,starttime,dates) values('" & IPAdress & "','" & url & "','" & cats & "','" & Session("username") & "','" & Session("starttime") & "','" & dates & "')"

Dim insert As New OleDbCommand(ins, con)

insert.ExecuteNonQuery()

Dim sel As New OleDbDataAdapter("select max(MiniingID) as ids from mining", con)

Dim selds As New DataSet

sel.Fill(selds, "mine")

Session("ids") = selds.Tables("mine").Rows(0)("ids")

Else

con.Open()

tran = con.BeginTransaction

Session("starttime") = Now.ToShortTimeString

Dim upd As String = "update mining set endtime = '" & Session("starttime") & "' where MiniingID = " & Session("ids") & ""

Dim update As New OleDbCommand(upd, con)

Page 15: COMPETITOR MINING

update.Transaction = tran

update.ExecuteNonQuery()

Session("starttime") = Now.ToShortTimeString

Dim IPAdress As String = Request.UserHostAddress.ToString()

Dim dates As String = Now.Date.ToShortDateString()

Dim url As String = Request.ServerVariables("URL")

Dim ins As String = "insert into mining(IPAddress,url,Prod,username,starttime,dates) values('" & IPAdress & "','" & url & "','" & cats & "','" & Session("username") & "','" & Session("starttime") & "','" & dates & "')"

Dim insert As New OleDbCommand(ins, con)

insert.Transaction = tran

insert.ExecuteNonQuery()

tran.Commit()

Dim sel As New OleDbDataAdapter("select max(MiniingID) as ids from mining", con)

Dim selds As New DataSet

sel.Fill(selds, "mine")

Page 16: COMPETITOR MINING

Session("ids") = selds.Tables("mine").Rows(0)("ids")

End If

Catch ex As Exception

tran.Rollback()

Response.Write("<script>alert(""Server Error"")</script>")

Finally

If con.State = ConnectionState.Open Then

con.Close()

End If

End Try

End If

End Sub

End Class

REGISTRATION :

Imports System.Data.OleDb

Namespace Mobilesale

Partial Class register

Inherits System.Web.UI.Page

Page 17: COMPETITOR MINING

#Region " Web Form Designer Generated Code "

'This call is required by the Web Form Designer.

<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()

End Sub

Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init

'CODEGEN: This method call is required by the Web Form Designer

'Do not modify it using the code editor.

InitializeComponent()

End Sub

#End Region

Dim con As New OleDbConnection("Provider=SQLOLEDB;Data Source=.;User ID=sa;Password=sa;Initial Catalog=Palm;")

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

If Not Page.IsPostBack Then

Page 18: COMPETITOR MINING

Dim tran As OleDbTransaction

Dim cats = "Registar"

Try

If Session("username") = "" Then

Session("starttime") = Now.ToShortTimeString

Dim IPAdress As String = Request.UserHostAddress.ToString()

Session("username") = "Guest"

Dim dates As String = Now.Date.ToShortDateString()

Dim url As String = Request.ServerVariables("URL")

con.Open()

Dim ins As String = "insert into mining(IPAddress,url,Prod,username,starttime,dates) values('" & IPAdress & "','" & url & "','" & cats & "','" & Session("username") & "','" & Session("starttime") & "','" & dates & "')"

Dim insert As New OleDbCommand(ins, con)

insert.ExecuteNonQuery()

Dim sel As New OleDbDataAdapter("select max(MiniingID) as ids from mining", con)

Dim selds As New DataSet

sel.Fill(selds, "mine")

Page 19: COMPETITOR MINING

Session("ids") = selds.Tables("mine").Rows(0)("ids")

Else

con.Open()

tran = con.BeginTransaction

Session("starttime") = Now.ToShortTimeString

Dim upd As String = "update mining set endtime = '" & Session("starttime") & "' where MiniingID = " & Session("ids") & ""

Dim update As New OleDbCommand(upd, con)

update.Transaction = tran

update.ExecuteNonQuery()

Session("starttime") = Now.ToShortTimeString

Dim IPAdress As String = Request.UserHostAddress.ToString()

Dim dates As String = Now.Date.ToShortDateString()

Dim url As String = Request.ServerVariables("URL")

Dim ins As String = "insert into mining(IPAddress,url,Prod,username,starttime,dates) values('" & IPAdress & "','" & url & "','" & cats & "','" & Session("username") & "','" & Session("starttime") & "','" & dates & "')"

Dim insert As New OleDbCommand(ins, con)

Page 20: COMPETITOR MINING

insert.Transaction = tran

insert.ExecuteNonQuery()

tran.Commit()

Dim sel As New OleDbDataAdapter("select max(MiniingID) as ids from mining", con)

Dim selds As New DataSet

sel.Fill(selds, "mine")

Session("ids") = selds.Tables("mine").Rows(0)("ids")

End If

Catch ex As Exception

tran.Rollback()

Response.Write("<script>alert(""Server Error"")</script>")

Finally

If con.State = ConnectionState.Open Then

con.Close()

End If

End Try

End If

Page 21: COMPETITOR MINING

End Sub

End Class

End Namespace

HANDSET:

Nokia

Imports System.Data.OleDb

Namespace Mobilesale

Partial Class nokia

Inherits System.Web.UI.Page

#Region " Web Form Designer Generated Code "

'This call is required by the Web Form Designer.

<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()

End Sub

Page 22: COMPETITOR MINING

Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init

'CODEGEN: This method call is required by the Web Form Designer

'Do not modify it using the code editor.

InitializeComponent()

End Sub

#End Region

Dim con As New OleDbConnection("Provider=SQLOLEDB;Data Source=.;User ID=sa;Password=sa;Initial Catalog=Palm;")

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

If Not Page.IsPostBack Then

Dim tran As OleDbTransaction

Dim cats = Request.Form.Item("select1")

Try

If Session("username") = "" Then

Session("starttime") = Now.ToShortTimeString

Dim IPAdress As String = Request.UserHostAddress.ToString()

Session("username") = "Guest"

Dim dates As String = Now.Date.ToShortDateString()

Dim url As String = Request.ServerVariables("URL")

Page 23: COMPETITOR MINING

con.Open()

Dim ins As String = "insert into mining(IPAddress,url,Prod,username,starttime,dates) values('" & IPAdress & "','" & url & "','" & cats & "','" & Session("username") & "','" & Session("starttime") & "','" & dates & "')"

Dim insert As New OleDbCommand(ins, con)

insert.ExecuteNonQuery()

Dim sel As New OleDbDataAdapter("select max(MiniingID) as ids from mining", con)

Dim selds As New DataSet

sel.Fill(selds, "mine")

Session("ids") = selds.Tables("mine").Rows(0)("ids")

Else

con.Open()

tran = con.BeginTransaction

Session("starttime") = Now.ToShortTimeString

Dim upd As String = "update mining set endtime = '" & Session("starttime") & "' where MiniingID = " & Session("ids") & ""

Dim update As New OleDbCommand(upd, con)

Page 24: COMPETITOR MINING

update.Transaction = tran

update.ExecuteNonQuery()

Session("starttime") = Now.ToShortTimeString

Dim IPAdress As String = Request.UserHostAddress.ToString()

Dim dates As String = Now.Date.ToShortDateString()

Dim url As String = Request.ServerVariables("URL")

Dim ins As String = "insert into mining(IPAddress,url,Prod,username,starttime,dates) values('" & IPAdress & "','" & url & "','" & cats & "','" & Session("username") & "','" & Session("starttime") & "','" & dates & "')"

Dim insert As New OleDbCommand(ins, con)

insert.Transaction = tran

insert.ExecuteNonQuery()

tran.Commit()

Dim sel As New OleDbDataAdapter("select max(MiniingID) as ids from mining", con)

Dim selds As New DataSet

sel.Fill(selds, "mine")

Page 25: COMPETITOR MINING

Session("ids") = selds.Tables("mine").Rows(0)("ids")

End If

Catch ex As Exception

tran.Rollback()

Response.Write("<script>alert(""Server Error"")</script>")

Finally

If con.State = ConnectionState.Open Then

con.Close()

End If

End Try

End If

End Sub

End Class

End Namespace

ORDER :

Imports System.Data.OleDb

Namespace Mobilesale

Partial Class order

Page 26: COMPETITOR MINING

Inherits System.Web.UI.Page

#Region " Web Form Designer Generated Code "

'This call is required by the Web Form Designer.

<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()

End Sub

Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init

'CODEGEN: This method call is required by the Web Form Designer

'Do not modify it using the code editor.

InitializeComponent()

End Sub

#End Region

Dim con As New OleDbConnection("Provider=SQLOLEDB;Data Source=.;User ID=sa;Password=sa;Initial Catalog=Palm;")

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

Page 27: COMPETITOR MINING

If Not Page.IsPostBack Then

Dim tran As OleDbTransaction

Dim cats = "Purchase Order"

Try

If Session("username") = "" Then

Session("starttime") = Now.ToShortTimeString

Dim IPAdress As String = Request.UserHostAddress.ToString()

Session("username") = "Guest"

Dim dates As String = Now.Date.ToShortDateString()

Dim url As String = Request.ServerVariables("URL")

con.Open()

Dim ins As String = "insert into mining(IPAddress,url,Prod,username,starttime,dates) values('" & IPAdress & "','" & url & "','" & cats & "','" & Session("username") & "','" & Session("starttime") & "','" & dates & "')"

Dim insert As New OleDbCommand(ins, con)

insert.ExecuteNonQuery()

Dim sel As New OleDbDataAdapter("select max(MiniingID) as ids from mining", con)

Dim selds As New DataSet

sel.Fill(selds, "mine")

Page 28: COMPETITOR MINING

Session("ids") = selds.Tables("mine").Rows(0)("ids")

Else

con.Open()

tran = con.BeginTransaction

Session("starttime") = Now.ToShortTimeString

Dim upd As String = "update mining set endtime = '" & Session("starttime") & "' where MiniingID = " & Session("ids") & ""

Dim update As New OleDbCommand(upd, con)

update.Transaction = tran

update.ExecuteNonQuery()

Session("starttime") = Now.ToShortTimeString

Dim IPAdress As String = Request.UserHostAddress.ToString()

Dim dates As String = Now.Date.ToShortDateString()

Dim url As String = Request.ServerVariables("URL")

Dim ins As String = "insert into mining(IPAddress,url,Prod,username,starttime,dates) values('" & IPAdress & "','" & url & "','" & cats & "','" & Session("username") & "','" & Session("starttime") & "','" & dates & "')"

Page 29: COMPETITOR MINING

Dim insert As New OleDbCommand(ins, con)

insert.Transaction = tran

insert.ExecuteNonQuery()

tran.Commit()

Dim sel As New OleDbDataAdapter("select max(MiniingID) as ids from mining", con)

Dim selds As New DataSet

sel.Fill(selds, "mine")

Session("ids") = selds.Tables("mine").Rows(0)("ids")

End If

Catch ex As Exception

tran.Rollback()

Response.Write("<script>alert(""Server Error"")</script>")

Finally

If con.State = ConnectionState.Open Then

con.Close()

End If

End Try

Page 30: COMPETITOR MINING

End If

End Sub

End Class

End Namespace

ADMIN LOGIN:

Imports System.Data.OleDb

Partial Class admin

Inherits System.Web.UI.Page

Dim con As New OleDbConnection("Provider=SQLOLEDB;Data Source=.;User ID=sa;Password=sa;Initial Catalog=Palm;")

Protected Sub button1_ServerClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles button1.ServerClick

Try

con.Open()

Dim coll As String = "select * from adminlog where users = '" & userID.Value & "' and pass = '" & Passw.Value & "'"

Dim ada As New OleDbDataAdapter(coll, con)

Dim ds As New DataSet

ada.Fill(ds, "admin")

Page 31: COMPETITOR MINING

Dim str = ds.Tables("admin").Rows(0)("users")

Response.Redirect("adminsearch.aspx")

Catch ex As Exception

Response.Write("<script>alert(""No Such User"")</script>")

Finally

If con.State = ConnectionState.Open Then

con.Close()

End If

End Try

End Sub

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

End Sub

End Class

ADMIN SEARCH:

Imports System.Data.OleDb

Page 32: COMPETITOR MINING

Partial Class adminsearch

Inherits System.Web.UI.Page

Dim con As New OleDbConnection("Provider=SQLOLEDB;Data Source=.;User ID=sa;Password=sa;Initial Catalog=Palm;")

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

If Not Page.IsPostBack Then

End If

End Sub

Protected Sub Calendar1_SelectionChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Calendar1.SelectionChanged

TextBox1.Text = Calendar1.SelectedDate

End Sub

Protected Sub Calendar2_SelectionChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Calendar2.SelectionChanged

TextBox2.Text = Calendar2.SelectedDate

End Sub

Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click

Try

Page 33: COMPETITOR MINING

Dim url As New ArrayList

Dim difftime As New ArrayList

Dim col As String = "select * from mining where dates between '" & TextBox1.Text & "' and '" & TextBox2.Text & "'"

Dim cola As New OleDbDataAdapter(col, con)

Dim ds As New DataSet

cola.Fill(ds, "val")

GridView1.DataSource = ds.Tables("val")

GridView1.DataBind()

Catch ex As Exception

Response.Write(ex.ToString())

End Try

End Sub

End Class

RANKING:

Imports System.Data.OleDb

Imports System.Data

Partial Class Ranking

Page 34: COMPETITOR MINING

Inherits System.Web.UI.Page

Dim con As New OleDbConnection("Provider=SQLOLEDB;Data Source=.;User ID=sa;Password=sa;Initial Catalog=Palm;")

Dim stdate, endate

Protected Sub butt_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles butt.Click

Try

con.Open()

Dim col As String = "select distinct(Prod) as Prod from mining where dates between '" & TextBox1.Text & "' and '" & TextBox2.Text & "'"

Dim cola As New OleDbDataAdapter(col, con) Dim del As String = "delete from Rank"

Dim delete As New OleDbCommand(del, con)

delete.ExecuteNonQuery()

Dim i

For i = 0 To ds.Tables("val").Rows.Count - 1

Try

Dim vals = ds.Tables("val").Rows(i)("Prod")

Dim sel As String = "select count(Prod) as Prods from mining where dates between '" + TextBox1.Text + "' and '" + TextBox2.Text + "' and Prod = '" + vals + "'"

Dim sels As New OleDbDataAdapter(sel, con)

Dim dss As New DataSet

sels.Fill(dss, "conn")

Page 35: COMPETITOR MINING

Dim ins As String = "insert into Rank values('" + vals + "','" + dss.Tables("conn").Rows(0)("Prods").ToString() + "')"

Dim insert As New OleDbCommand(ins, con)

insert.ExecuteNonQuery()

Catch ex As Exception

Response.Write(ex.ToString())

End Try

Next

Dim seln As New OleDbDataAdapter("select * from Rank order by total desc", con)

Dim dssn As New DataSet

seln.Fill(dssn, "order")

gv.DataSource = dssn.Tables("order")

gv.DataBind()

Catch ex As Exception

Response.Write(ex.ToString())

Finally

If con.State = ConnectionState.Open Then

Page 36: COMPETITOR MINING

con.Close()

End If

End Try

End Sub

Protected Sub Calendar1_SelectionChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Calendar1.SelectionChanged

TextBox1.Text = Calendar1.SelectedDate

End Sub

Protected Sub Calendar2_SelectionChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Calendar2.SelectionChanged

TextBox2.Text = Calendar2.SelectedDate

End Sub

Protected Sub gv_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles gv.SelectedIndexChanged

End Sub

End Class

Page 37: COMPETITOR MINING

SCREEN SHOTS

Homepage

Page 38: COMPETITOR MINING

Registration

Page 39: COMPETITOR MINING

Handset purchase

Page 40: COMPETITOR MINING

Batteries

Page 41: COMPETITOR MINING

Sim Card

Page 42: COMPETITOR MINING

Cart Details

Page 43: COMPETITOR MINING

Order Details

Page 44: COMPETITOR MINING

Service Zone

Page 45: COMPETITOR MINING

SOFTWARE TESTING

TESTING TECHNIQUES / TESTING STRATEGIES

Testing is the most important in the life cycle of the software

development. Testing may be carried out during the Implementation phase to

verify that the software behaves as intended by its designer. This later testing

phase checks conformance with requirements and assesses the reliability of the

system. System testing makes a logical assumption that if all the part of the

system is correct, the goal will be successfully achieved. The best program is

worthless if it does not mere user needs. Once testing of a new system is

successful, the program will work with the data successfully. Testing and

validation go hand in hand. The various testing carried out.

Unit Testing:

In unit testing, the entire program that makes the system tested. Unit testing first

focuses on the modules, independent of one another to locate errors. This enables to detect

errors in coding and the logic within the module alone. In unit testing control path are

tested to removes errors within the boundary of the module.

Acceptance Testing:

Acceptance is the final stage in the testing process before the system is accepted for

operational use. The system tested with data supplied by the system processor rather than

Page 46: COMPETITOR MINING

simulated test data. Acceptance testing may local requirement problem where the system’s

facilities do not really mere the user’s need to the system performance is unaccepted.

Integration Testing:

Integration testing can proceed in a number of different ways, which can be broadly

characterized as top down or bottom up. In top down integration testing the high level

control routines are tested first, possibly with the middle level control structures present

only as stubs.

System Testing:

System testing is testing conducted on a complete, integrated system to

evaluate the system's compliance with its specified requirements. System testing

falls within the scope of black box testing, and as such, should require no

knowledge of the inner design of the code or logic

Page 47: COMPETITOR MINING

CONCLUSION

Mining competitive information has attracted a great amount of attentions in recent

years. It is not only useful for a company to analyze its rivals in the domains it

engaged in but also helpful for a common user to select the right commodity

among various choices. In this paper, we address a new problem of mining

competitors from the general web automatically. The main contributions are:

The observation of competitor, competitive domain and competitive

Evidence distribution in the unrestricted World Wide Web.

The proposal of a novel algorithm, Co Miner, which can effectively mine

Competitor information from the web.

The implementation of the Co Miner and the experimental results showing

that the proposed algorithm is highly effective.

Page 48: COMPETITOR MINING

APPENDIX 1

Dot Net

Visual Basic.Net is an extremely flexible programming product for a variety of

applications. Students, managers and peoples in a variety of technical fields use Visual

Basic.Net to learn how to write practical, windows-based programs; business professionals

use Visual Basic.Net to write macros that leverage the documents and capabilities of their

Microsoft Office applications; and experienced software developers use Visual Basic.Net

to build powerful commercial applications and corporate productivity tools. Visual

Basic .Net, the next generation of Visual Basic, is designed to be the easiest and most

productive tool for creating .NET applications, including Windows applications, Web

Services, and applications.

While providing the traditional ease-of-use of Visual Basic development, Visual Basic

.NET also allows optional use of new language features. Inheritance, method overloading,

structured exception handling, and free threading all make Visual Basic a powerful object-

oriented programming language. Visual Basic .NET fully integrates with the .NET

Framework and the Common Language Runtime, which together provide language

interoperability, simplified deployment, enhanced security, and improved versioning

support.

Page 49: COMPETITOR MINING

APPENDIX 2

ABOUT SQL

The RDBMS concept is gaining momentum all over the world. Microsoft

SQL Server is a RDBMS for Windows, released in USA by the Microsoft

Corporation.

Since processing calls for extensive data input and processing,

retrieval of required information must be quick and efficient. SQL Server

supports the event-driven nature of the windows environment and has many

event trapping features like on click, on open, on Dbl click, Before Update,

After Update etc.

Event procedures are coded and tagged to those events according

to the necessity of the application. These procedures are run at those

particular events and thus the whole coding is based on event-driven

methodology. The forms of SQL Server help; to create Tables, Screen

Queries aid in creation-complicated queries and generation informative

reports is made an easy task.

SQL Server stores records in organized lists called tables. One or

more tables in SQL Server make up a whole database. A table is just a

collection lf records with the same structure. All of the records in the table

contain the same type of information. SQL Server allows setting up tables

and like them to other tables.

Microsoft SQL Server is relational database. This means that the

data in several tables is linked through one or more fields present in the

tables. It’s this business of linked tables that separates database programs

like SQL Server from the other types of database, a flat file database which

allows only single table in which to store all information.

Page 50: COMPETITOR MINING

Microsoft® SQL Server™ 2000 extends the performance, reliability,

quality, and ease-of-use of Microsoft SQL Server version 7.0. Microsoft

SQL Server 2000 includes several new features that make it an excellent

database platform for large-scale online transactional processing (OLTP),

data warehousing, and e-commerce applications.

The OLAP Services feature available in SQL Server version 7.0 is now

called SQL Server 2000 Analysis Services. The term OLAP Services has

been replaced with the term Analysis Services. Analysis Services also

includes a new data mining component.

The Repository component available in SQL Server version 7.0 is now

called Microsoft SQL Server 2000 Meta Data Services. References to the

component now use the term Meta Data Services. The term repository is

used only in reference to the repository engine within Meta Data Services.

Microsoft® SQL Server™ 2000 is a set of components that work together to

meet the data storage and analysis needs of the largest Web sites and

enterprise data processing systems. The topics in SQL Server Architecture

describe how the various components work together to manage data

effectively

Page 51: COMPETITOR MINING

DATABASE DESIGN

Battery: This database is used to store information about the Batteries.

Field Name Data Type

Prod ID Primary Key Text

Company Text

Model Text

Price Currency

Handset: This database contains information about the Handsets.

Fields Data Type

Prod ID Primary Key Text

Company Text

Model Text

Price Currency

Feed back: This database contains the Feedback provided by the users.

Field Name Data Type

Name Text

Mem ID Text

Suggestion Text

Cart Details:

Page 52: COMPETITOR MINING

Field Name Data Type

Cart Id Text

Prod Id Text

Prod Name Text

Company Text

Model Text

Price Currency

Quantity Number

Member: This database contains all the information about the Members.

Fields Data Types

Mem Id Text

Password Text

Name Text

Address Text

City Text

State Text

Pin code Number

Email Id Text

Order Details: This database contain all the information about the Order

details placed by the customer.

Fields Data Types

Order Id Number

Page 53: COMPETITOR MINING

Prod Id Text

Prod Name Text

Company Text

Model Text

Price Currency

Quantity Number

Total Currency

Order: This database contains the information about the Orders.

Fields Data Types

Order Id Primary Key Number

Mem Id Text

Order Date Date

Credit Card Name Text

Credit Card No Number

Expiry Date Date

Gross Amount Currency

Service Zone: The following database contains the information about the

customer’s Queries.

Fields Data Type

Mem ID Foreign Key Text

Nature Of Problem Text

Problem Text

Page 54: COMPETITOR MINING

Service Person Text

Date Date

Processed Text

Mining: The following database contains the information about the Data Mining.

Fields Data Type

Mem ID Foreign Key Text

User ID Text

IP Address Text

Start Time Text

End Time Text

Date Date

URL Text

5. REFERENCES

1. Chakrabarti.S, Dom.B and Indyk.P, 2007, “Enhanced hypertext categorization using hyperlinks”.

2. Craven.M, DiPasquo.D, Freitag.D, McCallum.A, Mitchell.T, Nigam.K, and Slattery.S, 2006,”Learning to Construct Knowledge Bases from the World Wide Web”.

Page 55: COMPETITOR MINING

3. Deshpande.M, Karypis.G, 2004,”Evaluation of Techniques for Classifying Biological Sequences”.

4. Joachims.T, 1998,“Text Categorization with Support Vector Machines: Learning with Many Relevant Features”.

5. Lesh.N, Zaki.M.J,1999,”Ogihara Mitsunori: Mining Features for Sequence Classification”.

6. Mc Callum.A, Nigam.K, 1998,”A Comparison of Event Models for Naive Bayes Text Classification”.

7. Menshikov.M.V, Volkov.S.E, 1997,”Branching Markov Chains: Qualitative Characteristics”.

8. Quinlan.J.R, 1993,”Programs for Machine Learning”.