Sharing is one of the important basic features of the Internet,and file sharing has always been an important application of computer networks.From the distributed Network File System(NFS)developed in 1984,to the local area network file sharing system Network Neighborhood(Net Ware)developed by Novell,to the Peer-to-Peer file sharing system(P2P).Several factors have contributed to the widespread adoption and facilitation of peer-to-peer file sharing systems,including increasing Internet bandwidth,widespread digitization of physical media,and increasing capabilities of home PCs.Users are able to transfer one or more files from one computer to another through various file transfer systems and other file sharing networks,and file sharing systems are constantly improving with the development of the times.But in recent years,as people pay more and more attention to privacy,privacy leaks in file sharing systems have attracted more and more attention.Several academic research papers have analyzed the protocols of file-sharing systems and found weaknesses in the protocols,pointing out that the activities of users of file-sharing networks are vulnerable to monitoring.Customers can be tracked by IP address,DNS name,software version they use,files share,queries they make,and queries answer.How to share files while achieving privacy protection is a research hotspot.Based on this,this thesis proposes privacy protection for file sharing systems in NDN networks.First introduce the NDN structure of the future Internet,and then design and complete the file sharing system under the P2 P network structure(Peer to Peer).Aiming at the problem that NDN routing cache may cause privacy leakage,this paper adopts the method of adding random delay in the router to reduce the occurrence of cache hits.Information,user download preference information,etc.,adopts a random decision tree privacy protection method based on differential privacy noise addition.User information is transmitted to the server after adding noise,which can not only protect the user during transmission,but also ensure the security of user data stored in the server.Finally,experimental verification is carried out through the Adult and Survival datasets.After that,this thesis compares the algorithm applied by the system with the current privacy protection algorithm in experiments,and the algorithm has an average increase of about 3% in terms of correct rate and relative error.This thesis designs and implements a file sharing system for privacy protection.The overall architecture of the system is composed of network layer,data layer,logic layer,user interaction layer,and device layer.Among them,the network layer is the core of the system.The network layer is constructed using the NDN network.The file transfer between users adopts the P2 P mode,that is,everyone is both a requester and a provider.Users do not need to go through the server when downloading files.The transmission and interaction between nodes is completed;the data layer considers the privacy protection of the system,and corresponding measures are taken in routers and servers to protect user information;in the logic layer,the NDN proxy mode is used to connect the underlying network with the user interaction layer,and finally In the user interaction layer,JAVA language is used to design the user-operable page,and at the same time,some functional modules of the system are designed and completed to enrich the whole system.Finally,each functional module of the system is tested to ensure that the system can be used normally,and the performance test of the system’s network transmission is completed.Finally,a brief discussion is made on the problems of the system and the development of the system in the future. |