Resource searching method and system with one node domain supporting more resource domains

A resource search and node domain technology, applied in resource search methods and system fields, can solve problems such as heavy load on other nodes, difficult system backup, unfavorable resource search, etc., and achieve the effect of facilitating resource search, backup, and node load balancing

Inactive Publication Date: 2012-07-25
ZTE CORP
View PDF2 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At this time, if each domain is still independent, it will be more difficult to backup the system. If another node goes down, the load on other nodes in the domain will be heavy
In short, adopting the domain division method of the existing multi-domain DHT overlay network, there will be the above-mentioned problems of poor backup and node load sharing, which are not conducive to resource search

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Resource searching method and system with one node domain supporting more resource domains
  • Resource searching method and system with one node domain supporting more resource domains
  • Resource searching method and system with one node domain supporting more resource domains

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0048] Example 1: Generate resource identifiers.

[0049] like Figure 4 As shown, the process of generating a resource ID includes the following steps:

[0050] Step 101, look up the domain name mapping table according to the domain name, and obtain the resource domain ID corresponding to the domain name.

[0051] Here, for example, as Figure 7 Take the Sip URI abcdom-b.com.cn as the keyword, and its domain name is dom-b.com.cn, look up Table 1, and get its resource domain ID as 0101. Table 1 is a domain name mapping table.

[0052] resource domain name

Resource Domain ID

dom-a.com.cn

0103

dom-b.com.cn

0101

dom-c.com.cn

0102

dom-d.com.cn

020

dom-e.com.cn

030

[0053] Table 1

[0054] Step 102: Hash resource IDs according to key identifiers (such as file names, movie names, etc.).

[0055] Here, for example, as Figure 7 The Sip URI in is abcdom-c.com.cn, and the resource ID of abc is ...

example 2

[0058] Example 2: Generate the ID of the node.

[0059] like Figure 5 As shown, the process of generating the identity of the node includes the following steps:

[0060] Step 201. Hash an ID according to information such as node IP, such as node B in Table 2, whose ID is 21021. Then, add the resource domain ID in front of the ID and cut off the remaining part of the node domain ID. For example, for a node, its node domain ID is 010, its resource domain ID is 0101, and its node ID is (1)21021. Among them, "(1) is the remaining part after subtracting the node domain ID from the resource domain ID. Table 2 is the intra-domain routing table.

[0061] Node Domain ID

Node ID (if 6 digits)

Node IP

Node Port

[0062] 010

(3)02131

10.1.10.2 (node ​​C)

4000

010

(2)10122

10.2.10.3 (Node A)

4000

010

(2)23101

10.2.13.4 (Node E)

4000

010

(1)00213

10.4.10.8 (node ​...

example 3

[0065] Example 3: Find the user's resource data.

[0066] in such as Image 6 Resource search is performed in the multi-domain DHT overlay network shown. In the overlay network architecture where the resource domain and the node domain are separated, a user is set to search for resource data whose domain name is dom-b.com.cn, such as abcdom-b.com .cn. Specific resource search process, such as Figure 7 shown, including the following steps:

[0067] Step 301, Client A converts the resource abcdom-b.com.cn into a resource identifier of 010122131, and then searches.

[0068] Here, the conversion process is as follows: Client A looks up the domain name mapping table shown in Table 1, finds out that the resource domain ID corresponding to dom-b.com.cn is 0101, "abc" calculates that the resource ID is 22131, and the resource ID is 0101-22131.

[0069] Furthermore, Client A can also directly use the resource abcdom-b.com.cn to send a search / store / modify resource request to Node ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a resource searching method with one node domain supporting more resource domains. The resource searching method comprises the following steps that: by the adoption of a domain division mode of resource domains and node domains, one node domain corresponds to one domain or more resource domains; the mode of resource identifiers and node identifiers is as follows: the resource identifiers are equal to resource domain IDs and resource IDs; the node identifiers are equal to node domain IDs and node IDs; and resource searching is carried out based on the resource identifiers and the node identifiers. The invention also discloses a resource searching system with one node domain supporting more resource domains. A resource search unit is used for carrying out resource searching on the basis of resource identifiers and node identifiers under the condition that the domain division mode for separating the resource domains from node domains; the resource identifiers are equal to the resource domain IDs and the resource IDs; and the node identifiers are equal to the node domain IDs and the node IDs. Due to the adoption of the method and the system disclosed by the invention, on the basis of separated DHT (Distributed Hash Table) architecture, the node load is distributed in a balanced manner, so that the resource searching is convenient.

Description

technical field [0001] The invention relates to a resource search technology in a multi-domain Distributed Hash Table (DHT) algorithm, in particular to a resource search method and system in which one node domain supports multiple resource domains. Background technique [0002] DHT network is an implementation technology of peer-to-peer (P2P) network. It uses distributed hash table technology to realize resource storage and search. In the multi-domain DHT overlay network, domain division is to divide the entire P2P network into multiple domains, and each domain is identified by a unique domain identifier (ID). Nodes in the same domain have the same domain ID, and all nodes are identified by a unique node ID. In a multi-domain P2P network, the resource identifier also carries a domain ID, indicating which domain it belongs to. Each resource has a resource ID to uniquely identify it. In this way, the identification methods of resources and nodes are as follows: [0003] Re...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08H04L12/56H04L45/16
Inventor 胡学川
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products