Methods for implementing peer-to-peer network disk

By storing files on the user's computer and using the discovery server and relay server for end-to-end encrypted synchronization, it solves the speed limit, storage limit and data leakage problems in the existing network disk service, and realizes a safe and unlimited speed point-to-point network. disk function.

CN114124933BActive Publication Date: 2024-10-01MINSHANG DIGITAL TECH (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111318895.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-09
Publication Date
2024-10-01
Estimated Expiration
2041-11-09

AI Technical Summary

Technical Problem

Existing network disk services have security risks such as speed limit, storage size limit and user data leakage, and user data may be used for profit.

Method used

Using end-to-end encryption, files are stored on the user's own computer, and synchronization between multiple computers is achieved through the discovery server and relay server to ensure that the server cannot steal user information and realize the function of a point-to-point network disk.

Benefits of technology

It achieves safe sharing and synchronization of files, avoids data leakage, and allows users to freely manage files without speed or storage size restrictions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114124933B_ABST
    Figure CN114124933B_ABST
Patent Text Reader

Abstract

The present invention relates to a method for realizing a point-to-point network disk. The method comprises: (1) Computer A and Computer B respectively install and configure a client, a discovery server and a relay server; (2) Start the discovery server software and the relay server; (3) Computer A and Computer B respectively serve their own network information to the discovery server; (4) The discovery server feeds back the network information of Computer A to Computer A, and the discovery server feeds back the network information of Computer B to Computer B; (5) Computer A extracts the relay server associated with Computer B from the network information, and creates / deletes / modifies files; Computer B extracts the relay server associated with Computer A from the network information, and creates / deletes / modifies files; (6) Computer A encrypts and sends files to the relay server, and the relay server forwards the files to Computer B; Computer B encrypts and sends files to the relay server, and the relay server forwards the files to Computer A; (7) Completes synchronization between two or more computers to form a shared network disk.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of Internet technology, and in particular relates to a method for realizing a peer-to-peer network disk. Background Art

[0002] The services provided by existing online disk vendors are not satisfactory. They usually limit the speed and storage size of online disks, are unsafe, and even have the risk of selling user data for profit. Online disks are a very convenient technology, but the existing online disk vendors have imposed various restrictions in order to maximize their own interests, which in turn troubles the majority of consumers. Summary of the invention

[0003] The purpose of the present invention is to provide a method in which files are still stored on the user's own computer. When the files are synchronized between multiple computers, an end-to-end encryption method is adopted, and the server cannot steal any information of the user, thus completely solving the file leakage security problem and realizing a point-to-point network disk method.

[0004] The technical solution of the present invention is the method for realizing a peer-to-peer network disk, which is special in that it includes the following steps:

[0005] ⑴Computer A and computer B install and configure the client respectively, and set up the discovery server and relay server respectively;

[0006] ⑵ Start the discovery server software and relay server respectively;

[0007] ⑶ Computer A and computer B report their network information to the discovery server respectively;

[0008] (4) The server is found to feed back the network information of computer B to computer A, and the server is found to feed back the network information of computer A to computer B;

[0009] ⑸ Computer A extracts the relay server associated with Computer B from the network information and executes file creation / deletion / modification; Computer B extracts the relay server associated with Computer A from the network information and executes file creation / deletion / modification;

[0010] (6) Computer A encrypts and sends the file to the relay server, which forwards the file to computer B. At the same time, computer B encrypts and sends the file to the relay server, which forwards the file to computer A;

[0011] ⑺Complete synchronization between two or more computers to form a shared network disk.

[0012] As a preference: the installation and configuration of the client in step (1) includes:

[0013] (1.1) Install the client software;

[0014] (1.2) Configure the discovery server and relay server;

[0015] (1.3) Configure local shareable folders;

[0016] (1.4) Find your client network unique code, also called device ID;

[0017] (1.5) Add a remote device that has been configured through steps (1.1) to (1.4);

[0018] (1.6) Establish a sharing relationship: Share the local folder configured in step (1.3) with the remote device added in step (1.5); all files in this folder can be shared between the two computers;

[0019] (1.7) Complete the synchronization between two or more computers to form a shared network disk.

[0020] As a preferred embodiment: the discovery server in step (1) actively reports its location in the network to the discovery server through the client and searches for the location of other clients added to its local computer; if a network disk is built, the discovery server is implemented by itself or an open source or commercial discovery server is selected;

[0021] As a preferred embodiment: the relay server in step (1) adopts P2P point-to-point communication service. If they are not in the same local area network, the relay server is required to forward the data to be synchronized and encrypted with the key; if a network disk is built, the relay server is implemented by itself or an open source or commercial relay server is selected. In this way, all communication links of the network disk are opened.

[0022] As a preference: the step (2) further comprises:

[0023] (2.1) Log in to the physical machine of the relay server and start the relay server process;

[0024] (2.2) Log in to the physical machine that serves as the discovery server and start the discovery server process.

[0025] Compared with the prior art, the present invention has the following beneficial effects:

[0026] (1) In the present invention, the other party's computer going online or offline can be sensed by the discovery server.

[0027] (2) In the present invention, even if they are not in the same local area network, files can be synchronized through the relay server.

[0028] ⑶ In the present invention, the creation, deletion and modification of files can be synchronized. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 It is a working flow chart of the network disk of the present invention. DETAILED DESCRIPTION

[0030] The present invention will be further described below in conjunction with the accompanying drawings:

[0031] See also Figure 1 As shown, the method for implementing a peer-to-peer network disk includes:

[0032] 1. Purchase two servers from an IDC manufacturer, one as a discovery server and the other as a relay server.

[0033] The recommended configuration is as follows: As a relay server (Relay Server): CPU Intel Xen Serials; 8 cores Memory 32G Hard Disk 100G Band Width 1Gbs OS Any Linux System (x64) Public IPv4 or IPv6 Need one; CPU: Intel Xen Serials; 8 cores, memory: 32G, hard disk: 100G, bandwidth: 1Gbs, operating system: any Linux distribution on x64, network: IPv4 or IPv6;

[0034] As a discovery server (Discovery Server): CPU Intel Xen Serials; 8 cores Memory 32G Hard Disk 100G Band Width 100Mbs OS Any Linux System (x64) Public IPv4 or IPv6 Need one; CPU: Intel Xen Serials; 8 cores, memory: 32G, hard disk: 100G, bandwidth: 100Mbs, operating system: any Linux distribution on x64, network: IPv4 or IPv6;

[0035] 2. Start the discovery server software and relay server separately

[0036] Users can implement these two servers by themselves. We take our internal implementation of the relay server as an example:

[0037] A. Log in to the relay server's physical machine and start the relay server process

[0038] / home / bigbrain_media / applications / RelayServer / bin / start.sh

[0039] B. Log in to the physical machine that serves as the discovery server and start the discovery service process

[0040] home / bigbrain_media / applications / DiscoveryServer / bin / start.sh

[0041] 3. Client installation and configuration

[0042] Step 1: Install the client software

[0043] Step 2: Configure the discovery server and relay server:

[0044] Step 3: Configure a local shareable folder:

[0045] Step 4: Find your client's unique network code (also called device ID)

[0046] Step 5: Add a remote device (another computer that has the client installed and has completed the above 3 steps)

[0047] Step 6: Build a shared relationship

[0048] Share the local folder configured in step 3 to the device added in step 4. In this way, all files in this folder can be shared between the two computers:

[0049] After the above 6 steps of configuration, the client can complete the synchronization between two or more computers, forming the effect of a personal shared network disk.

[0050] The above description is only a preferred embodiment of the present invention. All equivalent changes and modifications made within the scope of the claims of the present invention should fall within the scope of the claims of the present invention.

Claims

1. A method for implementing a peer-to-peer network disk, comprising the following steps: ⑴Computer A and computer B install and configure the client respectively, and set up the discovery server and relay server respectively; It is characterized in that the installation and configuration of the client in step (1) includes: (1.1) Install the client software; (1.2) Configure the discovery server and relay server; (1.3) Configure local shareable folders; (1.4) Find your client network unique code, also called device ID; (1.5) Add a remote device that has been configured through steps (1.1) to (1.4); (1.6) Establish a sharing relationship: Share the local folder configured in step (1.3) with the remote device added in step (1.5); all files in this folder can be shared between the two computers; (1.7) Complete the synchronization between two or more computers to form a shared network disk; The discovery server actively reports its location in the network to the discovery server through the client and searches for the location of other clients added to its local computer; if a network disk is built, the discovery server is implemented by itself or an open source or commercial discovery server is selected; The relay server uses P2P point-to-point communication service. If they are not in the same local area network, the relay server is required to forward the key-encrypted data to be synchronized. If a network disk is built, the relay server is implemented by itself or an open source or commercial relay server is selected. In this way, all communication links of the network disk are opened; ⑵ Start the discovery server software and relay server respectively; (2.1) Log in to the physical machine of the relay server and start the relay server process; (2.2) Log in to the physical machine that serves as the discovery server and start the discovery server process; ⑶ Computer A and computer B report their network information to the discovery server respectively; (4) The server is found to feed back the network information of computer B to computer A, and the server is found to feed back the network information of computer A to computer B; ⑸ Computer A extracts the relay server associated with Computer B from the network information and executes file creation / deletion / modification; Computer B extracts the relay server associated with Computer A from the network information and executes file creation / deletion / modification; (6) Computer A encrypts and sends the file to the relay server, which forwards the file to computer B. At the same time, computer B encrypts and sends the file to the relay server, which forwards the file to computer A; ⑺Complete synchronization between two or more computers to form a shared network disk.