Method, equipment and peer-to-peer network system for data sharing
A peer-to-peer network and data sharing technology, applied in the Internet field, can solve problems such as low speed and complicated verification process, so as to improve efficiency and reduce the chance of confusion
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] see figure 1 , the process of data sharing includes:
[0053] Step 101: The first device in the peer-to-peer network encapsulates the shared file into a broadcast notification message.
[0054] The peer-to-peer network includes two, three or more devices, and each device is peer-to-peer. Here, the device that has shared files during the data sharing process is taken as the first device, and there is a need to share files in the peer-to-peer network. device as the second device.
[0055] When the shared file is not large, the shared file can be directly encapsulated into a broadcast notification message. Here, the broadcast notification message can include: the user identification (User Identification, UID) of the source device, the UID of the target device, and specific information content. Wherein, the UID of the target device may be the UID of one, two or more devices in the peer-to-peer network, and when the UID of the target device is vacant, it means that the UID...
Embodiment 2
[0071] The data sharing process in the embodiment of the present invention is implemented in a peer-to-peer network, therefore, a peer-to-peer network needs to be established before data sharing. The peer-to-peer network may be established by the first device that has shared files, or by the second device that needs to share files, or by other devices.
[0072] see figure 2 , the process for the first device to establish a peer-to-peer network includes:
[0073] Step 201: the first device establishes a wireless local area network through a wireless terminal.
[0074] The wireless terminal can be an external wireless router, or a built-in LAN client. In this way, the first device can establish a WIFI local area network.
[0075] Step 202: the first device opens a first port for sending data and a second port for receiving data.
[0076] Specifically, one socket Socket port S1 may be opened for sending data, and another socket Socket port S2 may be opened for receiving data...
Embodiment 3
[0090] In this implementation, the devices in the peer-to-peer network may be one or more of functional devices such as mobile terminals, personal computers, and tablet computers. Take device A, device B, device C, and device D as an example to build a peer-to-peer network.
[0091] see Figure 4 , the process of forming a peer-to-peer network includes:
[0092] Step 401: Device A establishes a WIFI LAN through the built-in LAN client, and opens a socket Socket S1 for sending data, and opens another socket Socket S2 for receiving data.
[0093]Step 402: Device B finds the WIFI LAN established by device A and establishes a connection, opens a Socket port S1 for sending data, and opens another Socket port S2 for receiving data.
[0094] Step 403: Device B broadcasts and sends a sign-in message for entering the WIFI LAN through the port S1 on the WIFI LAN.
[0095] In this way, device A receives the sign-in message sent by device B through port S2, and knows that device B has ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com