Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1.Introduction
2.Existing System
3.Proposed System
4.Requirements
5.Modules description along with diagrams
6.System Architecture
7.Coding
8.Screenshots
9.Conclusion
1.Introduction
Service Oriented mobile social networks (S-MSNs) are
emerging social networking platforms over which one or more
individuals are able to communicate with local service
providers.
In the S MSNs, service providers (restaurants and grocery
stores) offer location-based services to local users and aim to
attract the users by employing various advertising approaches.
Unlike the global counterparts, the interests of the local
service providers are in serving the users in close geographic
vicinity.
In the S-MSNs, to establish the trust relations between the
service providers and the users is particularly important.
Therefore, for the users in the S-MSNs,how to enable the trust
We propose a Trustworthy Service Evaluation (TSE) system to
enable users to share service reviews in service-oriented
mobile social networks (S-MSNs).
Each service provider independently maintains a TSE for
itself, which collects and stores users reviews about its
services without requiring any third trusted authority.
The service reviews can then be made available to interested
users in making wise service selection decisions.
We identify three unique service review attacks, i.e.,
linkability, rejection, and modification attacks, and develop
sophisticated security mechanisms for the TSE to deal with
these attacks.
Specifically, the basic TSE (bTSE) enables users to distributedly and
cooperatively submit their reviews .
It restricts the service providers to reject, modify, or delete the
reviews. Thus, the integrity and authenticity of reviews are improved.
Further, we extend the bTSE to a Sybil-resisted TSE (SrTSE) to
enable the detection of two typical sybil attacks.
In the SrTSE, if a user generates multiple reviews toward a vendor in a
predefined time slot with different pseudonyms, the real identity of
that user will be revealed.
we show that the bTSE and the SrTSE effectively resist the service
review attacks and the SrTSE additionally detects the sybil attacks in
an efficient manner.
2.Existing System
Modules:
1. S-MSN Formation
2. Providing Services
3. Review Generation and Submission
4. Sybil attack Detection
1. S-MSN Formation:
TP List Updated
Vendor
User
+int sid,port,count
+String service,nei +int sid,port,count
TP List Updated
4 : Forward Review()
5 : TP List updated()
/**
*
* @author Seabirds
*/
public class Main {
sf.setVisible(true);
sr.start();
}
}
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package s.msn.networks;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import java.util.Vector;
import javax.swing.table.DefaultTableModel;
/*** * @author Seabirds*/
public class SMSNReceiver extends Thread{
SMSNFrame sf;
SMSNReceiver(SMSNFrame f)
{
sf=f;
}
public void run()
{
try
{
DatagramSocket ds=new DatagramSocket(5000);
System.out.println("Port is "+5000);
while(true)
{
byte data[]=new byte[1000];
DatagramPacket dp=new DatagramPacket(data,0,data.length);
ds.receive(dp);
String str=new String(dp.getData()).trim();
System.out.println("Str is "+str);
String req[]=str.split("#");
if(req[0].equals("UserConnect"))
{
DefaultTableModel dm=(DefaultTableModel)sf.jTable1.getModel();
Vector v=new Vector();
v.add(req[1]);
dm.addRow(v);
/*for select neighbour user in userFrame*/
String user="";
for(int i=0;i<sf.jTable1.getRowCount();i++)
{
String s=sf.jTable1.getValueAt(i,0).toString();
user=user+s+"@";
}
String user1=user.substring(0,user.lastIndexOf('@')); //user Details
for(int i=0;i<sf.jTable1.getRowCount();i++)
{
String s=sf.jTable1.getValueAt(i,0).toString();
int d=Integer.parseInt(s)+7000; //for all users
String ms="ForNei#"+user1;
System.out.println("Ms is "+ms);
try
{
byte data1[]=ms.getBytes();
DatagramSocket ds1=new DatagramSocket();
DatagramPacketdp1=newDatagramPacket(data1,0,data1.length,InetAddress.getBy
Name("127.0.0.1"),d);
ds1.send(dp1);
System.out.println("send Port is "+d);
}
catch(Exception e)
{
e.printStackTrace();
}
if(req[0].equals("Group"))
{
String s[]=req[1].split("-");
DefaultTableModel
dm=(DefaultTableModel)sf.jTable3.getModel();
Vector v=new Vector();
v.add(req[2]);
v.add(s[0]);
v.add(s[1]);
dm.addRow(v);
}
}
8.Screenshots
This screen shows about the details of users and groups,which
are registered.
This Screen shows about the entering into the registration of
the service providers and users.
This Screen shows about the registration of users
and groups
This Screen shows about sevice provider and the creation of
groups with the registered users at the server side.
These screens show about the service providing at
side of server and generation acknowledgement for
all the registered users.
These screen show about view services at the vendor and
the user side.
This screen shows about the giving review of the
service and the review will be stored at local
repository.
This screen shows about the srTSE detection.
9.Conclusion