Intelligent Alert

Embed Size (px)

Citation preview

  • 8/7/2019 Intelligent Alert

    1/31

    COLLEGE OF APPLIED SCIENCECHEEMENI KASARGOD

    (Affiliated to Kannur University)

    Managed By

    INSTITUTE OF HUMAN RESOURCES DEVELOPMENT(Government of Kerala undertaking)

    DEPARTMENT OF COMPUTER SCIENCE

    Project Report On

    INTELLIGENT ALERT

    Submitted By,PRADEEP.P

    SAJIN.T

    SAVAD.AM

    SUHAIL.AG

    VIJESH.T

  • 8/7/2019 Intelligent Alert

    2/31

    COLLEGE OF APPLIED SCIENCECHEEMENI KASARGOD

    (Affiliated to Kannur University)

    Managed By

    INSTITUTE OF HUMAN RESOURCES DEVELOPMENT(Government of Kerala undertaking)

    DEPARTMENT OF COMPUTER SCIENCE

    CERTIFICATE

    Certify that this is the bonafide report On the project work entitles

    INTELLIGENT ALERTDuring the year 2008-2009 in practical fulfillment of the Requirement for the award of

    the Degree in Bachelor of Science in Computer Science of the Kannur University, Kerala

    Submitted By,

    PRADEEP.P

    SAJIN.T

    SAVAD.AMSUHAIL.AG

    VIJESH.T

    Project Guide External Examiner

  • 8/7/2019 Intelligent Alert

    3/31

    External Examiner Head of the Department

  • 8/7/2019 Intelligent Alert

    4/31

    ACKNOWLEDGEMENT

    We take thsi oppertunity to expree our sincere thanks and wholehearted

    gratitude to our revered and beloved pricipal Mr.Santhish Kumar K , with great

    appreciation and endorsement.

    We thank heartily our project co-ordinator Miss. Shafeena for facilities

    provided for the completion of the project work.

    From core of our heart we would like to express our great fullness to our

    guide Miss. Saritha for help, contribution and advice, and for the able guidance and

    sincere interest, which motivated us all through this venture we also thank her for the

    valuable suggestions and support given throughout the period.

    We deeply express our gratitude to all the staff members of the department

    o computer science for the encouragement, which we recieve throughout the semester.

    Submitted By,

    PRADEEP.P

    SAJIN.T

    SAVAD.AM

    SUHAIL.AG

    VIJESH.T

  • 8/7/2019 Intelligent Alert

    5/31

    i

    ABSTRACT

    Intelligent Alert is an integrated windows and web application.that communicates

    with the website hosted by a web service. At some regular intervals, it communicates

    with the web service to find if there are any new events created. According to these

    events it generates a simple alert with specified link to that Web Service.

    Intelligent Alert tool helps our members to receive instant alerts from a Website

    about Articles, News, Comments or Answers when posted in the site. Intelligent Alert

    is a windows application that communicates with the web services.

    Even when the tool is hidden, it works silently in the background, at some regular

    intervals of time, it communicates with web services to find if there are any newalerts created .If it finds a new alert, the tool downloads the alerts and pops up a

    message displaying as alert. This message will include a short description and a URL

    to click. By clicking the URL, you can directly reach the web page represented by the

    alert.

  • 8/7/2019 Intelligent Alert

    6/31

    ii

    LIST OF TABLES

    Sl. No Table Name Page No

    1 User master 14

    2 Administrator 14

    3 Category 14

    4 Rating 14

    5 Article 15

    6 Feedback 15

    7 Alert 15

  • 8/7/2019 Intelligent Alert

    7/31

    iii

    LIST OF FIGURES

    Sl. No Figure Name Page No

    1 General DFD 11

    2 DFD Administrator Login 11

    3 DFD User Login 12

    4 DFD AdministratorLogin 12

    5 DFD User 13

  • 8/7/2019 Intelligent Alert

    8/31

    CONTENTS

    CHAPTER 1

    ACKNOWLEDGEMENTS i

    ABSTRACT ii

    LIST OF TABLES iii

    LIST OF FIGURES iv

    1 INTRODUCTION

    1.1 Overview 1

    1.2 Existing System 1

    1.3 Proposed System 2

    2 REVIEW OF LITERATURE 3

    3 ENVIRONMENT SPECIFICATION

    3.1 Software Requirements 4

    3.2 Hardware Requirements 4

    3.3 Technology 4

    3.3.1 ASP.Net 4

    3.3.2 Windows 2000 Server 5

    3.3.3 SQL Server 6

    4 DESIGN

    4.1 System Design 7

    4.1.1 Database Design 7

    4.2 Detailed Design 9

    4.3 Data flow diagrams 10

    4.4 Implementation 15

    5 RESULT

    5.1 Screenshots 17

    6 CONCLUSION AND FUTURE SCOPE 23

    REFERENCES 23

  • 8/7/2019 Intelligent Alert

    9/31

    INTRODUCTION

    1.1 OVERVIEW

    Intelligent Alert is an integrated windows and web application that

    communicates with the website hosted by a web service. At some regular intervals, it

    communicates with the web service to find if there are any new events created.

    According to these events it generates a simple alert with specified link to that Web

    Service.

    Intelligent Alert tool helps our members to receive instant alerts from a Website

    about Articles, News, Comments or Answers when posted in the site. Intelligent

    Alerts is a windows application that communicates with the web services.

    Even when the tool is hidden, it works silently in the background, at some regular

    intervals of time, it communicates with web services to find if there are any new

    alerts created .If it finds a new alert, the tool downloads the alerts and pops up a

    message displaying as alert. This message will include a short description and a URL

    to click. By clicking the URL,you can directly reach the web page represented by the

    alert.

    1.2 EXISTING SYSTEM

    The existing systems are providing the user with the new information about the site only

    after the user tries to login into the webpage with his/her username and password .The

    user have to login into the page and search in the site for the newly posted Articles,

    News, Comments or Answers.

  • 8/7/2019 Intelligent Alert

    10/31

    Disadvantages of Existing system:

    Wastage of time : -Time is simply wasted by the user to surf through the site

    searching for the newly posted articles.

    Updates unknown : -The user is not updated with the latest post unless he

    logins into the website and searches for it.

    1.3 PROPOSED SYSTEM

    The existing system is studied and the drawbacks are found out. The proposed system

    is verified and designed in such way that it will be compatible with the existing system and it

    will overcome all the limitations of existing system.

    Advantages of Proposed System :

    Saves time :- This reduces the time required to surf the entire webpage to find

    out a newly posted article

    Keeps us updated :- It keeps us updated with the recent events in the website

    while the user is out of scope of the website.

  • 8/7/2019 Intelligent Alert

    11/31

    CHAPTER 2

    REVIEW OF LITERATURE

    2. REVIEW OF LITERATURE

    Every user is unaware of the updates produced in a website. Tracking these

    updates using the conventional methodologies is found to have either become too

    difficult, or obscure. To avoid these difficulties we develop a new system that helps the

    user to get updates without any effort.

    [4] defines project management as the "ensemble of activities concerned with

    successfully achieving a set of goals". An alternate viewpoint is that project management

    is the discipline of defining and achieving targets, whilst optimizing the use of resources

    (money, people, time, and so on). Administrator seldom participates directly in the

    activities that produce the end result, but strives to maintain the progress and effective

    interaction of the various parties such that the overall risk of failure is minimized.

    In [5], questions were addressed for guiding the study. One of them was "What do you

    feel is the secret to project management". The most common answer was

    "communication, making sure everyone knows what is going on."

    The INTELLIGENT ALERT is a product that is so effective in reducing the

    time spent by users on surfing a site for a specific article.

  • 8/7/2019 Intelligent Alert

    12/31

    CHAPTER 3

    ENVIRONMENT SPECIFICATION

    3.1 SOFTWARE REQUIREMENTS

    Web Server : IIS 5.0

    Web Client : IE 6.0

    Tools : ASP.Net

    Back End : MS SQL Server 2005

    Internet Standard : HTTP, XML, SOAP

    Operating System : Windows 2000 Server

    Machine Type : IBM PC/AT

    3.2 HARDWARE REQUIREMENTS

    PROCESSOR : Pentium III Processor

    RAM : 128 MB

    HARD DISK DRIVE : 20 GB

    KEYBOARD : Standard KeyboardFLOPPY DRIVE : 1.44 MB

    CD-ROM DRIVE : Creative

    3.3 TECHNOLOGY

    The INTELLIGENT ALERT is developed on .NET platform using C#. as developing

    tool and Microsoft SQL Server for database maintenance.

    3.3.1 ASP.NET

    ASP.NET is more than the next version of Active Server Pages (ASP); it is a

    unified web development platform that provides the services necessary for developers to

    build enterprise-class web applications. While ASP.NET is largely syntax compatible

  • 8/7/2019 Intelligent Alert

    13/31

    with ASP, it also provides a new programming model and infrastructure for more secure,

    scalable, and stable applications.

    ASP.NET is a compiled, .NET based environment; you can author applications in

    any .net compatible language, including VisualBasic.NET, C#, and Jscript.NET.

    Additionally, the entire .NET framework is available to any ASP.NET application.

    Developers can easily access the benefits of these technologies, which include the

    managed common language runtime environment, type safety, inheritance and so on.

    ASP.NET has been designed to work seamlessly with programming tools,

    including Microsoft Visual Studio .NET. Not only does this make Web development

    easier, but it also provides all the benefits that these tools have to offer, including a GUIthat developers can use to drop server controls onto a Web page and fully integrated

    debugging support. Developers can choose from the following two features when

    creating an ASP.NET application, Web Forms and Web Services, or combine these in

    any way they see fit. Web Forms allows you to build powerful forms-based Web pages.

    When building these pages, you can use ASP.NET server controls to create common UI

    elements, and program them for common tasks. These controls allow you to rapidly build

    a Web Form out of reusable built-in or custom components, simplifying the code of a

    page.

    3.3.2 Windows 2000 Server

    Windows 2000 Server includes improved network, application, and Web services.

    It provides increased reliability and scalability, lowers your cost of computing with

    powerful, flexible management services, and provides the best foundation for running

    business applications. It provides Network data security by protecting data on the wire or

    at the network interface. It also provides stored data security by using data encryption.

    Data encryption is provided transparently within Windows 2000 by a feature known as

    Encrypting File System (EFS). It has the ability to run on a single PC chip with a single

    user up to a multi-user, multi- processor network installation.

  • 8/7/2019 Intelligent Alert

    14/31

    3.3.3 SQL Server

    Relational database systems are the most important database systems used in the

    software industry today. One of the most outstanding systems is Microsoft SQL Server.

    SQL Server is a database management system developed and marketed by Microsoft. It

    runs exclusively under Windows NT and Windows 95/98.

    The most important aspects of SQL Server are:

    SQL Server is easy to use.

    SQL Server scales from a mobile laptop to symmetric multiprocessor systems.

    A database system is an overall collection of different database software components

    and database containing the parts viz. Database application programs, Database

    management systems, and Databases.

    A database system must provide the following features:

    A variety of user interfaces.

    Physical data independence.

    Logical data independence.

    Query optimization. Data integrity.

    Concurrency control.

    Backup and recovery.

    Security and authorization

    A variety of user interfaces.

  • 8/7/2019 Intelligent Alert

    15/31

    CHAPTER 4

    DESIGN

    4.1 SYSTEM DESIGN

    System design is the process of planning a new system or one to replace or complement

    an existing system. This is the most creative and challenging phase important too it

    improves the understanding and procedural details necessary for implementing the new

    system.

    This design of an information system shows the major features and also howthey are related to one another. The first step of the system design is to design logical

    design elements. This is the most creative and challenging phase and important too.

    Design of proposed system produces the details of the state how the system will meet

    the requirements identified during the system analysis that is, in the design phase we

    have to find how to solve the difficulties faced by the existing system. The logical

    design of the proposed system should include the details that contain how the solutions

    can be implemented. It also specifies how the database is to be built for storing and

    retrieving data, what kind of reports are to created and what are the inputs to be given

    to the system. The logical design includes input design, output design and database

    design and physical design.

    4.1.1 DATABASE DESIGN

    The overall objective in the development of database technology has been to treat

    data as an organizational resource and as an integrated whole. DBMS allow data to be

    protected and organized separately from other resources. Database is an integrated

    collection of data. The most significant form of data as seen by the programmers is data

    as stored on the direct access storage devices. This is the difference between logical and

    physical design.

  • 8/7/2019 Intelligent Alert

    16/31

    Database files are the key source of information in to the system. It is the process of

    designing database files, which are the key source of information to the system. The files

    should be properly designed and planned for collection, accumulation, editing and

    retrieving the required information. This database contains tables, where each table

    corresponds to one particular type of information. Each piece of information in the table

    is called a field or column. A table also contains records, which is a set of fields. All

    records in a table have the same set of fields with different information. There are

    primary key fields that uniquely identify a record in a table.

    4.1.2 OUTPUT DESIGN

    Only software needed to operate this site. This site is optimized to work with various

    browsers. Special extension for individual browsers is avoided for the unique

    performance. A unique coloring screen gives the user and integral feeling for the entire

    site. Proper help and user-friendly message are given to the user to avoid confusion.

    Forms are designed with GUI designed tools like textboxes, List boxes, Radio Button,

    Checkboxetc., which are very user Friendly, and self-explanatory. Proper validations

    are given to the textboxes with user understandable error messages, which helps the user

    to correct it and submit again, and reviewed, and selection made.

    4.2 DETAILED DESIGN

    Intelligent Alert has the following four functional modules:

    Administrator Site User Site. Web service Windows Application

  • 8/7/2019 Intelligent Alert

    17/31

    Administrator Site:

    Add Category section:

    Here Administrator can add new category under which users can post new articles.

    View Section:

    Here Administrator can view all the articles posted by the user.

    Feedback Section:

    Here Administrator can view the feedback generated by users related to an article.

    Approval Section:Here the Administrator approves the articles posted by users to get displayed on the

    site.

    User Site:

    Posting Section:

    Here users can login into their home page and can post articles the wish under a

    specific category.

    Feedback Section:

    Here users can post feedbacks related to an article approved by the Administrator.

    Web Service:

    A new alert is generated in Website when one of the following happens: A new article is submitted

    A new Comment is posted

    An Reply is posted

    A news is posted

  • 8/7/2019 Intelligent Alert

    18/31

    Windows Application:

    This Application communicates with the web services that are hosted by the website.

    When you minimize, this tool disappears from the screen and you can see a small

    icon in the system tray, which can be used to reactivate the tool. Even when the tool

    is hidden, it works silently in the background. At some regular intervals of time, it

    communicates with Website web services to find if there are any new alerts created.

    If it finds a new alert, the tool downloads the alerts and pops up a message displaying

    the alert. This message will include a short description and a URL to click. By

    clicking the URL, you can directly reach the website page represented by the alert.

    4.3 DATA FLOW DIAGRAMS:

    The DFD is an excellent communication tool for analysts to model processes and

    functional requirements. A DFD is a graphical representation of the flow of data through

    an information system. It can also be used for the visualization of data processing. It is

    common practice for a designer to draw a context level DFD first, which shows the

    interaction between the system and outside entities.

    Used effectively, it is a useful and easy to understand modeling tool. It is easily

    integrated with the data modeling, workflow modeling tools, and textual specs. Together

    with these it provides analysts and developers with solid models and specs. It is simple

    and easy to understand by users and can be easily extended and refined with further

    specification into a physical version for the design and development teams.

  • 8/7/2019 Intelligent Alert

    19/31

    LEVEL 0:

    i n t e l l i g en t a l e r t

    A d m i n i s t r a t o r U s e r

    r e s p o n s e

    r e q u e s t

    r e s p o n s e

    r e q u e s t

    FIG: 1 GENERAL DFD

    This DFD explains about the relationship between the administrator and users

    using Intelligent alert. The software gives response to the user according to their requests.

    LEVEL 1:

    L o g i nh o m e

    A d m i n i s t r a t o r p a s s w o r du s e r n a m e

    i n v a l i d l o g i n

    a u t h e n t i c a t e d u s e ra d m i n i s t rh o m

    a d m i n i s t r a t o r

    FIG: 2 ADMINISTRATOR LOGIN DFD

    Here Administrator logins into the website by verifying the username and password from

    the administrator table. If it is a valid one then the administrator is allowed to enter the

    administrator home page.

  • 8/7/2019 Intelligent Alert

    20/31

    L o g i nh o m e

    u s e r p a s s w o r du s e r n a m e

    i n v a l i d l o g i n

    a u t h e n t i c a t e d u s e ru s e rh o m e

    U s e r M a s t e r

    FIG3: USER LOGIN

    Here User logins into the website by verifying the username and password from the User

    Master table. If it is a valid one then the User is allowed to enter the User home page.

    LEVEL 2:

    A d m i n i s t r a t o r

    A d d

    c a t e g o r y

    A p p r o v ea r t i c l e w e bs e r v i c e u s e r

    c a t e g o r y

    A l e r t

    FIG: 3 ADMINISTRATOR LOGIN DFD

    Here Administrator logins into the site and can approve article, add category etc.

  • 8/7/2019 Intelligent Alert

    21/31

    u s e r

    v i e wc a t e g o r y

    a l e r t w e bs e r v i c e A d m i n i

    c a t e g o r y

    A l e r t

    R e a da r t i c l e

    p o s ta r t i c l e

    a r t i c l e

    FIG: 4 USER DFD

    Here User logins into the site and can add articles, view newly alerted articles and view

    the category available.

    4.4 DATABASE

    For this project to be implemented, we have to use different tables for the storage

    of data relating to administrator, client, employee, projects etc. Some pf the tables include

    User Master, Administrator, category, Feedback, Article, Alert etc. The detailed

    explanation of each table is given below

  • 8/7/2019 Intelligent Alert

    22/31

    Table: UserMasterPrimary Key: User_ID

    Table: AdministratorPrimary Key : Adminid

    Field Type DataType Length DescriptionAdminid Int 4Username nvarchar 50Password nvarchar 50

    Table: categoryPrimary Key : category_ID

    Field Type DataType Length DescriptionCategory_id Int 4Category nVarchar 50

    Table: RatingPrimary key: Rating_Id

    Field Type DataType Length DescriptionRating_id Int 4Article_id Int 4Star Int 4

    Field name DataTypes Length DescriptionUser_ID Int 4

    Firstname nvarchar 50Lastname nvarchar 50Username nvarchar 50Password nvarchar 50Gender nvarchar 50Age Int 4Country nvarchar 50State nvarchar 50City nvarchar 50Place nvarchar 50Emailid nvarchar 50

  • 8/7/2019 Intelligent Alert

    23/31

    Table: ArticlePrimary Key : article_ID

    Field Type DataType Length DescriptionArticleid Int 4

    Userid Int 4Category_id Int 4Postdate dateTime 8Title nvarchar 500Description nvarchar 500

    Table: Feedback Primary key: Feedback_id

    Field Type DataType Length Description

    Feedbackid Int 4Article_id Int 4Message nvarchar 500

    Table: AlertPrimary key: Alert _id

    Field Type DataType Length DescriptionAlert_id Int 4Article_id Int 4Status nVarchar 15

    4.5 IMPLEMENTATION

    IntelligentAlert has the following four functional modules:

    Administrator Site User Site. Web service Windows Application

  • 8/7/2019 Intelligent Alert

    24/31

    Administrator Site:

    Administrator with a Username and password can use this site. The Administrator can

    add new articles or news that can be seen by users. Administrator can see all the

    comments and selected comments can be displayed to all.

    Consumer Site:

    Authenticated user can log in to this site. They can see all the latest news and articles

    that are entered by Administrator. The User Can Post their comments about this site.

    Web Service:

    A new alert is generated in Website when one of the following happens: A new article is submitted

    A new Comment is posted

    An Reply is posted

    A news is posted

    Windows Application:

    This Application communicates with the web services that are hosted by the website.When you minimize, this tool disappears from the screen and you can see a small

    icon in the system tray, which can be used to reactivate the tool. Even when the tool

    is hidden, it works silently in the background. At some regular intervals of time, it

    communicates with Website web services to find if there are any new alerts created.

    If it finds a new alert, the tool downloads the alerts and pops up a message displaying

    the alert. This message will include a short description and a URL to click. By

    clicking the URL, you can directly reach the website page represented by the alert.

  • 8/7/2019 Intelligent Alert

    25/31

    CHAPTER 5

    RESULTS

    5.1 SCREENSHOTS

    LOGIN PAGE

    Description: This webpage is the login area for the User. The User can log in using his

    username and password. If any mismatches occur with the username and the password,

    an invalid message is displayed on the page.

  • 8/7/2019 Intelligent Alert

    26/31

    ADMINISTRATOR HOME PAGE

    Description : This is the home page for the administrator. Here administrator can do

    many functions likeCreate Category : Here the administrator can create new category under which user can

    post articles they like.

    View Article : Here the administrator can view all articles posted by the user.

    View Feedback : Here the administrator can read the feedbacks for a specific article.

    Approve Article : Here the administrator approves the article as he wishes.

    APPROVE ARTICLE

  • 8/7/2019 Intelligent Alert

    27/31

    Description: Here the administrator can approve the article posted on the site according to

    his favor to keep the website clean and secure.

    POST ARTICLE

    Description: Here the user can post new article under a certain category with a specific

    title.

    USER HOME PAGE

  • 8/7/2019 Intelligent Alert

    28/31

    Description : This is the home page for the administrator. Here administrator can do

    many functions.

    SIGNUP PAGE

    Description : Here new visitors can register the site.

    CREAT CATEGORY

  • 8/7/2019 Intelligent Alert

    29/31

    Description : Here Administrator can create new categories.

    WINDOW APPLICATION

    Description : This is the user interactive program, which reports to the user if any new

    articles are posted on the webpage.

  • 8/7/2019 Intelligent Alert

    30/31

    CHAPTER 6

    CONCLUSIONS AND FUTURE

    RECOMMENDATIONS

    6.1 CONCLUSIONS

    The objective of our project was to design and implement a model, which helps any User

    to get instant alerts on their desktop while they are busy with other work. This enhances

    the productivity skills of every individual. It gives a fast and easy way of maintaining or

    retrieving accurate data. Intelligent alert is fully computerized provided with security.

    This system includes highly integrated databases that enable fast & easy access to data. It

    is very user friendly and flexible. Effective communication between administrator and

    user is possible and it also supports multi-users.

    6.1 FUTURE WORK

    We can provide the user with mobile support for the alerts generated in a site.

    User gets alerts on their mobile the articles new posted which are approved by the

    administrator.

  • 8/7/2019 Intelligent Alert

    31/31

    REFERENCES:

    [1] Roger .S. Pressman, Software Engineering

    McGraw-Hill International Editions, 1991

    [2] Mark Spenik , Microsoft SQL Server 2000 DBA Survival Guide

    Sams Publishing Company, New York, 1999

    [3] Project Management; beyond the formal definition By Ammar W. Mango, a ProjectManagement Professional (PMP) by the Project Management Institute

    [4] "What is the secret to Project Management", a research article by Peter Marci

    [5]. www.pmforum.com

    http://www.pmforum.com/http://www.pmforum.com/