You are on page 1of 23

SCALABLE AND PRIVACY PRESERVING FRIEND MATCHING IN MOBILE

CLOUD

A report of the major project work submitted to


Department of Information Technology
For the award of

Master of Science in Computer Science

Submitted by

P. ARPUTHA INBA RAJ


(17PCS839)

Under the guidance of

Dr. R. Mangai Bagum,M.Sc., M.Tech., M.Phil., Ph.D.,

DEPARTMENT OF INFORMATION TECHNOLOGY


ST. JOSEPH’S COLLEGE (AUTONOMOUS)
Special Heritage Status Awarded by UGC
Accredited at “A” Grade (3rd cycle) by NAAC
College with Potential for Excellence by
UGC DBT-STAR & DST – FIST Sponsored
College
TIRUCHIRAPPALLI-620 002

APRIL - 2019
DEPARTMENTOF INFORMATION TECHONLOGY
St .JOSEPH’S COLLEGE (AUTONOMOUS)
Special Heritage Status awarded by UGC
Accredited at „A‟ Grade (3rd Cycle) by NAAC
College with Potential from Excellence by
UGC
DBT-STAR&DST-FIST Sponsored College
Tiruchirappalli-620 002

CERTIFICATE

This is to certify that the report of the major project work titled
“SCALABLE AND PRIVACY PRESERVING FRIEND MATCHING IN MOBILE
CLOUD” done by P.ARPUTH INBA RAJ , D.No.17PCS839 is a bonafide work of the candidate
and submitted to the Department of Information Technology in partial fulfillment of the award of the
degree of Master of Science in Computer Science during the period, NOV 2018 to APRIL 2019.

HEAD OF THE DEPARTMENT GUIDE

Submitted for the viva-voce on

Internal Examiner External Examiner

Date: Date:
ACKNOWLEDGEMENT

First I thank the Almighty who showers his perpetual and bountiful blessings on me
especially during this project duration.

I would like to thank Rev. Dr. M.Arockiasamy Xavier, SJ, Principal, St. Joseph’s
College for providing me and member of this institution.

I would also like to thank Prof. K.A.Jayakumar, Deputy Principal, St. Joseph’s College
for providing me an opportunity to do this project.

I am deeply indebted to Dr. T. Lucia Agnes Beena M.Sc., M.Phil., NET., SET., Head,
Department of Information Technology, St. Joseph’s College for granting permission for this
project.

With deep appreciation and sincere gratitude, I thank my project guide Dr. R.Mangai
Begum, M.Sc., M.Tech., M.Phil., Ph.D., It is an immense pleasure to show my humble
gratitude to her for she has been a greatest support in my project.

I would like to thank my class mentor Prof. P.Bastin Thiyagaraj MCA., M.Phil.,
MBA., for his encouragement and cooperation.

Finally I would like to express my love and gratitude to my beloved parents to whom I
dedicate this project for their support and encouragement whenever I feel disdained.

P.ARPUTHA INBA RAJ


CH. NO. CONTENTS PAGE NO.

1 INTRODUCTION
1.1 Company Profile
1.2 About the Project
2 SYSTEM STUDY
2.1 Existing System
2.2 Disadvantages of Existing System
2.3 Proposed System
2.4 Advantages of Proposed System
2.5 Problem Definition and Description
3 SYSTEM ANALYSIS
3.1 Packages Selected
3.2 Resources Required
3.3 Data Flow Diagram

4 SYSTEM DESIGN
4.1 Architectural Design
4.2 I/O Form Design
4.3 Tables
4.4 Entity Relationship Diagram
4.5 Data Dictionary

5 SYSTEM DEVELOPMENT
5.1 Functional Documentation
5.2 Special Features of the
Language
6 TESTING
6.1 Testing
6.2 Types of Testing Done

7 USER MANUAL
7.1 Hardware Requirements
7.2 Software Requirements
7.3 Installation Procedure
7.4 Sample I/O
8 CONCLUSION
8.1 Summary of the Project
8.2 Future Enhancements

BIBLIOGRAPHY
APPENDIX
1. INTRODUCTION

To secure a user recommendation from app holder is very important aspect. Profile (e.g.,
contact list, interest, mobility) matching is more than important for fostering the wide use of
mobile social networks. The social networks such as Facebook, Line or We chat recommend the
friends for the users based on user’s personal data such as common contact list or mobility
traces. However, outsourcing users’ personal information to the cloud for friend matching will
raise a serious privacy concern due to the potential risk of data abusing. In this study, we propose
a novel Scalable and Privacy-preserving Friend Matching protocol or SPFM in short, which aims
to provide a scalable friend matching and recommendation solutions without revealing the user’s
personal data to the cloud. Different from the previous works which involves multiple rounds of
protocols, SPFM presents a scalable solution which can prevent honest-but-curious mobile cloud
from obtaining the original data and support the friend matching of multiple users
simultaneously. We give detailed feasibility and security analysis on SPFM and its accuracy and
security have been well demonstrated via extensive simulations. The result shows that our
scheme works even better when original data is large.
2. SYSTEM STUDY

2.1 EXISTING SYSTEM

The existing mobile social network systems pay little heed to the privacy concerns associated
with friend matching and recommendation based on users’ personal information. For
example, in Facebook, it provides the feature of People You May Know, which recommends
the friends based on the education information, the contact lists obtained from users’
smartphone, and other users’ personal information. Applies additive homomorphic
encryption in privacy preserving in a scenario with many intermediate computing parties.
Computes social proximity to discover potential friends by leveraging both homomorphic
cryptography and obfuscation, which is more efficient.

2.2 DISADVANTAGES OF THE EXISTING SYSTEM

• Outsourcing users’ personal information to the cloud for friend matching will raise a serious
privacy concern
• Existing researches show that loss of privacy can expose users to unwanted advertisement
and spams/scams, cause social reputation or economic damage, and make them victims of
blackmail or even physical violence.

2.3 PROPOSED SYSTEM


In this study, we propose a novel Scalable and Privacy preserving Friend Matching protocol,
or SPFM in short, which aims to provide a scalable friend matching and recommendation
solutions without revealing the users personal data to the cloud. Our basic motivation is that
each user obfuscates every bit of the original personal data (e.g., contact list) before
uploading by performing XOR operations with a masking sequence which is generated with
a certain probability. We propose a Scalable and Privacy-preserving Friend Matching scheme
(SPFM) to prevent privacy leakage in friend matching and recommendation system.
2.4 ADVANTAGES OF PROPOSED SYSTEM

 Our design can ensure that the same data maintain a statistical similarity after obfuscation
while different data can be statistically classified without leaking the original data.
 We provide a detailed feasibility and security analysis as well as the discussion of
correctness, True-Negative rate and True-Positive rate.
 Extensive evaluations have been performed on SPFM to demonstrate the feasibility and
security. The result shows that our scheme works even better when original data is
large.

2.5 PROBLEM DEFINITION AND DESCRIPTION

The problem faced by the system is collecting the data from the user, The result shows that our scheme
works even better when original data is large.

User
 News Page
 Find Friends
 Friends
 Friend Request

Cloud Server
 Doctor Details
 location
 Medical description

MODULES DESCRIPTION:

3. SYSTEM ANALYSIS

3.1 Packages Selected:


Front End : ASP.NET WITH C#
Back End : SQL SERVER
2008
3.2 Resources Required:
Hardware
Resources:
 Processor : Dual core processor 2.6.0 GHZ
 RAM : 1GB
 Hard disk : 160 GB
 Monitor : 15 inch color monitor
 Keyboard : Standard keyboard

3.3 Software Resources:


 Operating System : Windows OS 7
 Front End : ASP.NET WITH C#

This section attempts to describe each module of the project in brief, and the detailed description of each of these modules is
spread throughout this document.

The Health Center Management System project has been divided into four modules. They are
1 Registration
2 Drug stores
3 Case Records
4 Daily Entries

Registration
This module has been divided into two sub modules. They are
o Inserting the new records
o Retrieving the record
 Inserting the new records

The information of the students and employees are send from the different departments to provide the free
service. All the records which are send from the departments are entered into the database and each member is represented
through the unique number known as the opno. Inserting of the new records include the opno i.e which is allotted uniquely
for providing the free services, Name, Age, Sex, Address , Family members of the employee and other Beneficiaries under
the S.V. Health Center.
Retrieving the details
The records which are entered into the database are retrieved to check whether that person who has come to take the service
at the health center is eligible to take the service are not. This is done by entering the opno that has allotted to the patient, if the
data is retrieved from the database the person is eligible to take the service and by this ,if person is the employee then in some
cases he/she is charged like wise the x-ray charges and the bed charges for the employee. The students are not charged in any
cases all the services are provided for the free of the cost.

Drug Stores :
This module is divided into three modules. They are
 Drug Entry
 Updating Drug Entry
 Stock Details
 Drug Entry

This is an entry done by entry operator after getting the stock from the medical transcripters and the information is stored in the
database. The information is in the form starting with the Drug name, in-stock, Expiry date1 and Expiry date2. The Drug name is
uniquely identified such that the database is maintained without any complexity. Here the expiry date is represented in the form
of month-year, but not in the form mm / dd / yy. The stock is first stored in the main drug stores and every week it is shifted to
the pharmacy store by watching the stock at the pharmacy house.
 Updating Drug Entry

This is an entry done by same entry operator after the drugs all entered in the database. The drugs should be shifted to the
pharmacy house by checking the stock at the pharmacy house. First the Main drug store maintains the stock and the drugs are
shifted to the pharmacy house periodically. This periodical shifting of the drugs are updated such that the drug house knows how
much of the stock is present in the drug store, Here the drug stores mainly considers the expiry date as the main criteria the drugs
which have the nearer expiry date are shifted to the pharmacy house.
 Stock Details

The stock details are so important such that we know how many drugs are in the main store, what are the expiry dates of the
drugs.When the stock is taken it will minimum of two and maximum of five expiry dates. So it is better to watch the expiry dates
so that the drugs are shifted to the pharmacy house according to the drugs which are having the early expiry date.
Case Records
This module has been divided into three sub modules. They are
Students In-Patients Records
Employees & Beneficiaries In-Patients Records.
Out – Patients Records ( Students & Beneficiaries )
 Students In-Patients Records

The information about the in-patients should be notified such that the treatment for the patient is done in the proper way. The
students who are in-patients are maintained separately because everything to the student is served freely i.e there is no bed
charges, no charge for the scanning, no charge for the X-Rays and every thing is supplied freely. There may be special cases that
are used for case studies how that disease has occurred and what are the precautions are to be taken to overcome that disease. The
diseases that affect the other patients are shifted to the Isolation ward such that disease is not affected to the other patients.
 Employees & Beneficiaries In-patient Records

The employees and other beneficiaries are maintained separately such that there are applicable for some charges .These
employees have the bed charges, X-Ray and Scanning charges. These are calculated according to the days present in the
hospital.The medicines are freely served to the patient only in some special cases the patient is charged.
 Out-Patients Record :

The patients are served for the common problems which are not serious, the treatment to all the beneficiaries and students are
provided freely. There are separate wards for the ladies and gents and in some special cases patients are sent to the chief doctor.
Daily Records
Daily records are then divided into two sub modules. They are

 Pharmacy Daily Entries

Pharmacy daily entries are the entries which are given to the out-patients and these are noted at the end of the day.
Daily entries will give the information about how many drugs are needed every day. This will then take the sufficient number of
drugs from the main stores to the Pharmacy house.

 Nurse Daily Entries

 Nurse daily entries that are entered with the operator when the drug has been administered to the
patient, The date, time what type of the drugs applied to the patient are to be noted in certain
period of time.Back End : SQL SERVER 2008
3.3 DATA FLOW DIAGRAM

Enter Hospital

Takes Appointment

Unique Id

not cured
Takes Treatment

undergo labtests and buy medicines

gets update
4. ARCHITECTURAL DIAGRAM

4.1 ARCHITECTURAL DIAGRAM

1:Takes Appointment unique number


10:Takes Appointment from doctor

P1 : Patient R1 : Receptionist

4:confirms appointment
9:Ask for Id

7:Take medicins

3:Doctor available treatment


5:Consult doctor

8:paitent ok

2:takes Appointment from doctor

D1 : Doctor Unique Port

6:Assist doctor
4.2 INPUT OUTPUT FORM
DESIGN: LOGIN

LOGIN

USERNAME

PASSWORD

LOGIN

REGISTRATION:

:
name doctor location mediciance

xxx yyy trichy paracitam


al
5. SYSTEM DEVELOPMENT

5.1Functional Documentation:

User
 News Page
 name
 id
 email

Cloud Server
 hospital Details
 Doctor dost
 Tablet description
 Tablet Location
5.2 Special Features of language:
ASP.NET:
ASP.NET is more than the following form of Active Server Pages (ASP); it is a brought
together Web advancement stage that gives the administrations important to designers to
fabricate undertaking class Web applications. While ASP.NET is to a great extent sentence
structure perfect with ASP, it likewise gives another programming model and foundation for
more secure, versatile, and stable applications.
ASP.NET is an assembled, .NET-based environment; you can creator applications in any
.NET perfect dialect, including VisualBasic.NET, BASIC, and JScript.NET. Furthermore, the
whole .NET Framework is accessible to any ASP.NET application. Engineers can undoubtedly
get to the regale of these advances, which incorporate oversaw normal dialect runtime
environment, sort wellbeing, legacy, et cetera.
ASP.NET has been intended to work consistently with WYSIWYG HTML editors and
other programming instruments, including Microsoft Visual Studio .NET. Does this make Web
improvement simpler, as well as gives every one of the advantages that these apparatuses bring
to the table, including a GUI that designers can use to drop server controls onto a Web page and
completely coordinated investigating backing. Engineers can browse the accompanying two
elements when making aASP.NET application, Web Forms and Web administrations, or
consolidate these in any capacity they see fit.
 Web Forms permits you to assemble intense structures based Web pages. At the point
when building these pages, you can utilize ASP.NET server controls to make normal UI
components, and system them for basic assignments. These controls permit you to
quickly assemble a Web Form out of reusable implicit or custom segments, rearranging
the code of a page.

 An XML Web administration gives the intends to get to server usefulness remotely.
FEATURES:
 Intuitive C++ based Language:

Utilize a dialect displayed on C++ linguistic structure, instantly commonplace to C++ and
Java designers, and also natural new dialect builds that incredibly streamline advancement
errands
 Reliable Interoperability:

Utilize code to call local Windows APIs, use pre-constructed COM parts, and influence
existing ActiveX controls to flawlessly coordinate existing applications and segments.
 Advanced, Component-Oriented Language:

Exploit inborn backing for properties, indexers, delegates, single and multidimensional
clusters, propelled legacy, traits, forming, and XML remarks.
 Capable Debugging and Testing Tools:

ASP .NET incorporates a capable remote and multi-dialect debugger, empowering


engineers to test applications and fabricate solid multi-level arrangements that compass process
limits and are composed in different programming dialects.
It is a typical situation for building, conveying, and running Web applications and Web
Services. The .NET Framework contains a typical dialect runtime and basic class libraries - like
ADO .NET, ASP .NET and Windows Forms - to give propelled standard administrations that
can be coordinated into a mixed bag of PC frameworks. The .NET Framework gives a
component rich application environment, streamlined improvement and simple mix between
various diverse advancement dialects. The .NET Framework is dialect nonpartisan. At present it
bolsters C++, C#, Visual Basic, and Jscript. Microsoft's Visual Studio.NET is a typical
advancement environment for the new .NET Framework.
6. TESTING

6.1. Testing:

The purpose of testing is to discover errors. Testing is the process of trying to discovery every
conceivable fault or weakness in a work product. It provides a way to check the functionality of
components, sub-assemblies, assemblies and/or a finished product. It is the process of exercising
software with the intent of ensuring that the software system meets its requirements and user
expectations and does not fail in an unacceptable manner. There are various types of tests. Each
type of test addresses specific testing requirements.

6.2 Types of testing done:


UNIT TESTING:

Unit testing involves the design of test cases that validate that the internal program logic
is functioning properly, and that program inputs produce valid outputs. All decision branches and
internal code flow should be validated. It is the testing of individual software units of the
application. It is done after the completion of an individual software unit of the application. It is
done after the completion of an individual unit before integration. Unit tests perform basic tests
at component level and test a specific business process, application, and/or system configuration.
Unit tests ensure that each unique path of a business process performs accurately to the
documented specifications and contains clearly defined inputs and expected results.
7. USER MANUAL

7.1 HARDWARE REQUIREMENTS

• CPU type : Intel Pentium 4

• Clock speed : 3.0 GHz

• Ram size : 512 MB

• Hard disk capacity : 40 GB

• Monitor type : 15 Inch color monitor

• Keyboard type : internet keyboard

7.2 Software Requirements:

• Operating System : Windows XP, Windows 7

• Language : Asp.net with C#

• IDE : Microsoft Visual Studio 2010

• Back End : SQL Server 2008


8. CONCLUSION

8. 1 Summary of the project

In this work, the problem of conflicting phenomenon that arise from variety of mobile cloud
storage nowadays. The problem stems from the conflict about exciting functions cloud providing
and the potential security issues in cloud. Honest-but-curious server, cloud account loss or cloud
attack all may lead to exposure of users’ private data, which will be an irreversible disaster.
Thus, we develop SPFM to achieve high accuracy matching while not expose accurate private
data to cloud. We provide thorough feasibility and security proof and demonstrate the feasibility
and security by analyzing experiment performance

8.2 FUTURE ENHANCEMENTS

 In future we going to give high level of security.


 Furtherly we will going to develop using android software.
BIBILIOGRAPHY

Book Reference

Following books and eBooks are used to complete this project reports.

1. Advanced .NET Remoting 2nd Edition (Ingo Rammer and Mario Szpuszta, Apress,
March 2005)

2. Advanced .NET Remoting in VB.NET (Ingo Rammer, Apress, July 2002)

3. ASP to ASP.NET Migration Handbook (Christian Nagel et al, Wrox, January 2003)

4. Beginning Visual C# (Christian Nagel et al, Wrox, September 2001)

5. Data-Centric .NET Programming (Christian Nagel et al, Wrox, December 2001)

6. Professional .NET Network Programming 2nd Edition (Christian Nagel et al, Wrox, September
2004)

You might also like