Client networking access method and device in P2P system
A technology of client and client identity, applied in the Internet field, can solve the problems of high complexity, reducing the saving ratio of P2P system, and wasting resources.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] see figure 1 , the present embodiment provides a method for client network access in a P2P system, including:
[0050] Deploy message queue service and discovery service on each node in the P2P system, and each client completes registration in the message queue server and discovery server of the nearby node respectively; receive the subscription topic of the client through the message queue server of the nearby node , and report the subscription topic to the discovery service through the discovery server. The subscription topic includes the message queue node information to which the client belongs and the client identity information; the peer client obtains the subscription topic through the discovery service, and at the same time, the peer client The topic is sent to the client through the corresponding message queue; the client and the peer client respectively establish a networking channel based on each other's subscription topics.
[0051] In the method for client...
Embodiment 2
[0078] This embodiment provides a device for client network access in a P2P system, including:
[0079] The registration unit is used to deploy the message queue service and the discovery service on each node in the P2P system, and each client completes the registration in the message queue server and the discovery server of the nearby node respectively;
[0080] The reporting unit is configured to receive the subscription topic of the client through the message queue server of the nearby node, and report the subscription topic to the discovery service through the discovery server, and the subscription topic includes the information of the message queue node to which the client belongs and the client's terminal identity information;
[0081] The feedback unit is used for the peer client to obtain the subscription topic through the discovery service, and at the same time send the subscription topic of the peer client to the client through the corresponding message queue;
[0082...
Embodiment 3
[0092] This embodiment provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is run by a processor, the steps of the above method for client network access in the P2P system are executed.
[0093] Compared with the prior art, the beneficial effect of the computer-readable storage medium provided by this embodiment is the same as the beneficial effect of the method for client network access in the P2P system provided by the above technical solution, and will not be repeated here.
[0094] Those of ordinary skill in the art can understand that all or part of the steps in the above-mentioned inventive method can be completed by instructing related hardware through a program. The above-mentioned program can be stored in a computer-readable storage medium. When the program is executed, it includes: For each step of the method in the above embodiments, the storage medium may be: ROM / RAM, magnetic d...
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