Documente Academic
Documente Profesional
Documente Cultură
Abstract:
Index Terms:
Ontology,
personalization,
semantic
relations,
world
Existing System:
knowledge,
local
Current
web
information
gathering
systems
attempt
to
satisfy
user
items.
From
world
knowledge
ontologies by adopting
base,
user feedback
we
on
construct
interesting
MODULES:
Personalized Ontology
Semantic relations
World knowledge
Local instance repository
User Profiles
Web information gathering
Personalized Ontology:
Semantic Relation:
Ontology is then constructed for the given topic using these users fed back
subjects. The structure of the ontology is based on the semantic relations linking
these subjects in the World Knowledge Based. Ontology mining discovers interesting
and on-topic knowledge from the concepts, semantic relations, and instances in
ontology.
World Knowledge:
The user background knowledge is discovered from the user local instance
repository. Against the given topic, the specificity and exhaustively of subjects are
investigated for user background knowledge discovery.
User Profiles:
The information gathering system, IGS, was designed for common use by all
experimental models.
HARDWARE CONFIGURATION
Hard disk
40 GB
RAM
512mb
Processor
Pentium IV
Monitor
17Color Monitor
SOFTWARE CONFIGURATION
Front End
E-R DIAGRAM:
Operating System :
Back End
User Name
Password
Login
User Status
File Upload
ADMIN
User
Login
User Name
Download
Password
Access
Yes
Is Admin
Login
No
Login
No
No
Is Right
User
Yes
Is Right
View
No
Yes
No
Is Upload
Yes
Upload File
If Download
Yes
Download File
Is
ViewStatus
Yes
User Status
No
Access
Create New
User
stop
DATABASE:
CREATE TABLE DOWNLOAD (ID INT NOT NULL, USERID VARCHAR(20) NULL,
FILENAME VARCHAR(500) NULL, FILEPATH VARCHAR(MAX) NULL, DATE DATETIME
NULL)
LANGAUGE SPECIFICATION
The CLR is described as the execution engine of .NET. It provides the environment within
which programs run. The most important features are
Loading and executing programs, with version control and other such features.
The following features of the .NET framework are also worth description:
Managed Code
The code that targets .NET, and which contains certain extra
Information - metadata - to describe itself. Whilst both managed and unmanaged code can run
in the runtime, only managed code contains the information that allows the CLR to guarantee,
for instance, safe execution and interoperability.
Managed Data
With Managed Code comes Managed Data. CLR provides memory allocation
and Deal location facilities, and garbage collection. Some .NET languages use Managed Data by
default, such as C#, Visual Basic.NET and JScript.NET, whereas others, namely C++, do not.
Targeting CLR can, depending on the language youre using, impose certain constraints on the
features available. As with managed and unmanaged code, one can have both managed and
unmanaged data in .NET applications - data that doesnt get garbage collected but instead is
looked after by unmanaged code.
are value types. Value types can be allocated on the stack, which can provide useful flexibility.
There are also efficient means of converting value types to object types if and when necessary.
The set of classes is pretty comprehensive, providing collections, file, screen, and
network I/O, threading, and so on, as well as XML and database connectivity.
The class library is subdivided into a number of sets (or namespaces), each
providing distinct areas of functionality, with dependencies between the namespaces kept to a
minimum.
Managed Extensions for C++ and attributed programming are just some of the
enhancements made to the C++ language. Managed Extensions simplify the task of migrating
existing C++ applications to the new .NET Framework.
C# is Microsofts new language. Its a C-style language that is essentially C++
for Rapid Application Development. Unlike other languages, its specification is just the
grammar of the language. It has no standard library of its own, and instead has been designed
with the intention of using the .NET libraries as its own.
Microsoft Visual J# .NET provides the easiest transition for Java-language
developers into the world of XML Web Services and dramatically improves the interoperability
of Java-language programs with existing software written in a variety of other programming
languages.
Active State has created Visual Perl and Visual Python, which enable .NET-aware
applications to be built in either Perl or Python. Both products can be integrated into the Visual
Studio .NET environment. Visual Perl includes support for Active States Perl Dev Kit.Other
languages for which .NET compilers are available include
FORTRAN
COBOL
Eiffel
Fig1 .Net Framework
ASP.NET
XML WEB SERVICES
Windows Forms
C#.NET is also compliant with CLS (Common Language Specification) and supports
structured exception handling. CLS is set of rules and constructs that are supported by the
CLR (Common Language Runtime). CLR is the runtime environment provided by the .NET
Framework; it manages the execution of the code and also makes the development process
easier by providing services.
C#.NET is a CLS-compliant language. Any objects, classes, or components that created in
C#.NET can be used in any other CLS-compliant language. In addition, we can use objects,
classes, and components created in other CLS-compliant languages in C#.NET .The use of
CLS ensures complete interoperability among applications, regardless of the languages used
to create the application.
GARBAGE COLLECTION
Garbage Collection is another new feature in C#.NET. The .NET Framework monitors
allocated resources, such as objects and variables. In addition, the .NET Framework
automatically releases memory for reuse by destroying objects that are no longer in use.
In C#.NET, the garbage collector checks for the objects that are not currently in use by
applications. When the garbage collector comes across an object that is marked for garbage
collection, it releases the memory occupied by the object.
OVERLOADING
Overloading is another feature in C#. Overloading enables us to define multiple procedures
with the same name, where each procedure has a different set of arguments. Besides using
overloading for procedures, we can use it for constructors and properties in a class.
MULTITHREADING:
C#.NET also supports multithreading. An application that supports multithreading can handle
multiple tasks simultaneously, we can use multithreading to decrease the time taken by an
application to respond to user interaction.
Testing is vital to the success of the system. System testing makes a logical
assumption that if all parts of the system are correct, the goal will be successfully achieved.
In the testing process we test the actual system in an organization and gather errors from the
new system operates in full efficiency as stated. System testing is the stage of
implementation, which is aimed to ensuring that the system works accurately and efficiently.
In the testing process we test the actual system in an organization and gather errors
from the new system and take initiatives to correct the same. All the front-end and back-end
connectivity are tested to be sure that the new system operates in full efficiency as stated.
System testing is the stage of implementation, which is aimed at ensuring that the system
works accurately and efficiently.
The main objective of testing is to uncover errors from the system. For the
uncovering process we have to give proper input data to the system. So we should have more
conscious to give input data. It is important to give correct inputs to efficient testing.
Testing is done for each module. After testing all the modules, the modules are
integrated and testing of the final system is done with the test data, specially designed to
show that the system will operate successfully in all its aspects conditions. Thus the system
testing is a confirmation that all is correct and an opportunity to show the user that the system
works. Inadequate testing or non-testing leads to errors that may appear few months later.
This will create two problems
Time delay between the cause and appearance of the problem. The effect of the
system errors on files and records within the system.
The purpose of the system testing is to consider all the likely variations to which
it will be suggested and push the system to its limits.
The testing process focuses on logical intervals of the software ensuring that all the
statements have been tested and on the function intervals (i.e.,) conducting tests to uncover
errors and ensure that defined inputs will produce actual results that agree with the required
results. Testing has to be done using the two common steps Unit testing and Integration
testing. In the project system testing is made as follows:
The procedure level testing is made first. By giving improper inputs, the errors
occurred are noted and eliminated. This is the final step in system life cycle. Here we
implement the tested error-free system into real-life environment and make necessary
changes, which runs in an online fashion. Here system maintenance is done every months or
year based on company policies, and is checked for errors like runtime errors, long run errors
and other maintenances like table verification and reports.
UNIT TESTING
Unit testing verification efforts on the smallest unit of software design, module.
This is known as Module Testing. The modules are tested separately. This testing is carried
out during programming stage itself. In these testing steps, each module is found to be
working satisfactorily as regard to the expected output from the module.
INTEGRATION TESTING
Integration testing is a systematic technique for constructing tests to uncover
error associated within the interface. In the project, all the modules are combined and then
the entire programmer is tested as a whole. In the integration-testing step, all the error
uncovered is corrected for the next testing steps.
SYSTEM IMPLEMENTATION
Implementation is the stage of the project when the theoretical design is turned out into a
working system. Thus it can be considered to be the most critical stage in achieving a successful
new system and in giving the user, confidence that the new system will work and be effective.
The implementation stage involves careful planning, investigation of the existing system and
its constraints on implementation, designing of methods to achieve changeover and evaluation
of changeover methods.
Implementation is the process of converting a new system design into operation. It is the
phase that focuses on user training, site preparation and file conversion for installing a candidate
system. The important factor that should be considered here is that the conversion should not
disrupt the functioning of the organization.
Screen Shots:
Upload:
User Profile:
Database Connectivity:
using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
/// <summary>
/// Summary description for Data_access
/// </summary>
public class Data_access
{
public SqlConnection con;
public Data_access()
{
//
// TODO: Add constructor logic here
//
}
public void Connection()
{
con = new SqlConnection("server=SUNZHINE01;initial catalog=Ontology;
user id=sa;password=sa123");
con.Open();
}
}
Sample Coding:
susing System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
using System.IO;
public partial class Admin : System.Web.UI.Page
{
Data_access obj = new Data_access();
static string filepath;
static string thisdir;
string filepath1;
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
Label2.Text = Request.QueryString["name"];
filepath = Label2.Text;
thisdir = Server.MapPath(".");
if (Directory.Exists(thisdir +"\\"+ filepath) == false)
{
Directory.CreateDirectory(thisdir +"\\"+ filepath);
}
}
}
protected void Button1_Click(object sender, EventArgs e)
{
string filename="";
string newfilename = FileUpload1.FileName;
newfilename = newfilename.Replace(" ", "_");
obj.Connection();
string Query="select filename from filecreation where
filepath='"+filepath+"'";
SqlCommand cmd = new SqlCommand(Query, obj.con);
SqlDataReader dr = cmd.ExecuteReader();
if (dr.Read())
{
filename = Convert.ToString(dr[0]);
}
dr.Close();
filename = filename + " " + newfilename;
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
public partial class CreateNewAdmin : System.Web.UI.Page
{
Data_access obj = new Data_access();
protected void Page_Load(object sender, EventArgs e)
{
obj.Connection();
string Query = "getuserid";
SqlCommand cmd = new SqlCommand(Query, obj.con);
SqlDataReader dr = cmd.ExecuteReader();
if (dr.Read())
{
TextBox1.Text = Convert.ToString(dr[0]);
}
obj.con.Close();
}
protected void Button1_Click(object sender, EventArgs e)
{
obj.Connection();
string Query = "insert into userlogin(userid,username,password,rights)
values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text +
"','Admin')";
SqlCommand cmd = new SqlCommand(Query, obj.con);
cmd.ExecuteNonQuery();
Response.Write("<script
language=javascript>alert('inserted..');window.location='Adminmain.aspx';</script
>");
obj.con.Close();
}
protected void Button2_Click(object sender, EventArgs e)
{
Response.Redirect("Adminmain.aspx");
}
}
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
public partial class _Default : System.Web.UI.Page
{
Data_access obj = new Data_access();
protected void Page_Load(object sender, EventArgs e)
{
}
protected void LinkButton5_Click(object sender, EventArgs e)
{
obj.Connection();
string Query = "select username,rights from userlogin where userid='" +
TextBox1.Text + "' and password='"+TextBox2.Text+"'";
SqlCommand cmd = new SqlCommand(Query, obj.con);
SqlDataReader dr = cmd.ExecuteReader();
if (dr.Read())
{
Session["usrid"] = TextBox1.Text;
Session["username"] = Convert.ToString(dr[0]);
Session["rights"] = Convert.ToString(dr[1]);
if (Convert.ToString(dr[1]) == "Admin")
{
Response.Write("<script
language=javascript>alert('Succeed...');window.location='Adminmain.aspx'</script
>");
}
else
{
Response.Write("<script
language=javascript>alert('Succeed...');window.location='Main.aspx'</script>");
}
}
else
{
Response.Write("<script language=javascript>alert('failed')</script>");
}
}
protected void LinkButton6_Click(object sender, EventArgs e)
{
Response.Redirect("Registration.aspx");
}
}
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
public partial class Main : System.Web.UI.Page
{
Data_access obj = new Data_access();
string rights;
protected void Page_Load(object sender, EventArgs e)
{
Label2.Text = Session["username"].ToString();
rights = Session["rights"].ToString();
TreeView1.Nodes.Clear();
TreeNode root = new TreeNode();
root.Text = "Root";
this.TreeView1.Nodes.Add(root);
TreeNode node1 = new TreeNode();
node1.Text = "Industrial Espionage";
this.TreeView1.Nodes[0].ChildNodes.Add(node1);
TreeNode node11 = new TreeNode();
node11.Text = "Business Intelligence";
this.TreeView1.Nodes[0].ChildNodes[0].ChildNodes.Add(node11);
}
else
{
Response.Write("<script language=javascript>alert('Set path')</script>");
}
}
}
protected void TreeView1_SelectedNodeChanged(object sender, EventArgs e)
{
string name = TreeView1.SelectedNode.ValuePath;
if (rights != "Admin")
{
string Query = "select * from filecreation where filepath= '" + name + "'";
obj.Connection();
SqlCommand cmd = new SqlCommand(Query, obj.con);
SqlDataReader dr = cmd.ExecuteReader();
if (dr.Read())
{
Response.Redirect("files.aspx?name=" + name);
dr.Close();
}
else
{
dr.Close();
SqlCommand cmd1 = new SqlCommand("insert into
filecreation(filepath) values('" + name + "')", obj.con);
cmd1.ExecuteNonQuery();
Response.Redirect("files.aspx?name=" + name);
}
}
else
{
string Query = "select * from filecreation where filepath='" + name + "'";
obj.Connection();
SqlCommand cmd = new SqlCommand(Query, obj.con);
SqlDataReader dr = cmd.ExecuteReader();
if (dr.Read())
{
Response.Redirect("admin.aspx?name=" + name);
dr.Close();
}
else
{
dr.Close();
SqlCommand cmd1 = new SqlCommand("insert into
filecreation(filepath) values('" + name + "')", obj.con);
cmd1.ExecuteNonQuery();
Response.Redirect("admin.aspx?name=" + name);
}
}
}
protected void LinkButton5_Click(object sender, EventArgs e)
{
Session["usrid"] = null;
Response.Redirect("Login.aspx");
}
}
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
public partial class Registration : System.Web.UI.Page
{
Data_access obj = new Data_access();
protected void Page_Load(object sender, EventArgs e)
{
obj.Connection();
string Query="getuserid";
SqlCommand cmd = new SqlCommand(Query, obj.con);
SqlDataReader dr = cmd.ExecuteReader();
if (dr.Read())
{
TextBox1.Text = Convert.ToString(dr[0]);
}
obj.con.Close();
}
protected void Button2_Click(object sender, EventArgs e)
{
Response.Redirect("Login.aspx");
}
protected void Button1_Click(object sender, EventArgs e)
{
obj.Connection();
string Query = "insert into userlogin(userid,username,password,rights)
values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text +
"','User')";
SqlCommand cmd = new SqlCommand(Query, obj.con);
cmd.ExecuteNonQuery();
Response.Write("<script
language=javascript>alert('inserted..');window.location='Login.aspx';</script>");
obj.con.Close();
}
}
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
public partial class UserProfile : System.Web.UI.Page
{
Data_access obj = new Data_access();
LinkButton link1 = new LinkButton();
protected void Page_Load(object sender, EventArgs e)
{
if(!IsPostBack)
Bind();
}
public void Bind()
{
obj.Connection();
SqlDataAdapter da = new SqlDataAdapter("Select userid,username from
userlogin where rights='User'", obj.con);
DataSet ds = new DataSet();
da.Fill(ds, "Userlogin");
GridView1.DataSource = ds;
GridView1.DataBind();
int i=0;
foreach (GridViewRow row1 in GridView1.Rows)
{
link1 =
(LinkButton)GridView1.Rows[row1.RowIndex].Cells[0].FindControl("link1");
link1.Text = ds.Tables[0].Rows[i].ItemArray[0].ToString();
GridView1.Rows[row1.RowIndex].Cells[1].Text =
ds.Tables[0].Rows[i].ItemArray[1].ToString();
i++;
}
}
protected void Link1_Click(object sender, EventArgs e)
{
GridViewRow clickedrow = ((LinkButton)sender).NamingContainer as
GridViewRow;
LinkButton lin=(LinkButton)clickedrow.FindControl("Link1");
string Userid=lin.Text;
obj.Connection();
SqlDataAdapter da = new SqlDataAdapter("select filename as
Filename,filepath as Path,Convert(varchar,date,103) as Date from download
where userid='" + Userid + "'", obj.con);
DataSet ds = new DataSet();
da.Fill(ds, "download");
GridView2.DataSource = ds;
GridView2.DataBind();
Bind();
}
protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
{
Response.Write("insert");
}
protected void LinkButton5_Click(object sender, EventArgs e)
{
Session["Usrid"] = null;
Session["username"] = null;
Session["rights"] = null;
Response.Redirect("Login.aspx");
}}
ssssssssREFERENCES:
[2] G.E.P. Box, J.S. Hunter, and W.G. Hunter, Statistics For Experimenters. John Wiley
& Sons, 2005.
[3] C. Buckley and E.M. Voorhees, Evaluating Evaluation Measure Stability, Proc.
ACM SIGIR 00, pp. 33-40, 2000.
[4] Z. Cai, D.S. McNamara, M. Louwerse, X. Hu, M. Rowe, and A.C. Graesser, NLS: A
Non-Latent Similarity Algorithm, Proc. 26th Ann. Meeting of the Cognitive Science
Soc. (CogSci 04), pp. 180-185, 2004.
[5] L.M. Chan, Library of Congress Subject Headings: Principle and Application.
Libraries Unlimited, 2005.
[6] P.A. Chirita, C.S. Firan, and W. Nejdl, Personalized Query Expansion for the
Web, Proc. ACM SIGIR (07), pp. 7-14, 2007.