WO2015051517A1 - 一种路由方法、设备及*** - Google Patents
一种路由方法、设备及*** Download PDFInfo
- Publication number
- WO2015051517A1 WO2015051517A1 PCT/CN2013/084972 CN2013084972W WO2015051517A1 WO 2015051517 A1 WO2015051517 A1 WO 2015051517A1 CN 2013084972 W CN2013084972 W CN 2013084972W WO 2015051517 A1 WO2015051517 A1 WO 2015051517A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- requested content
- identifier
- authoritative
- identification
- content
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 238000004891 communication Methods 0.000 claims description 103
- 238000010586 diagram Methods 0.000 description 16
- 230000008569 process Effects 0.000 description 11
- 238000012545 processing Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000011022 operating instruction Methods 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/63—Routing a service request depending on the request content or context
Definitions
- the present invention relates to the field of communications, and in particular, to a routing method, device, and system.
- the Information Centric Network is an information-centric new network architecture.
- the Internet structure is host-centric.
- a requesting party such as a user device or a terminal
- the requesting request sent by the requesting party must clearly indicate which host the content is stored on, and then Access the host based on the specific host location to obtain content.
- the requesting party such as a user equipment or a terminal
- the content request includes a content name, and the common content name may be a content identifier.
- the routing and forwarding node in the network can find the routing information corresponding to the content according to the content identifier in the content name, and obtain the content of the request according to the routing information and return it to the user, thereby implementing a routing method according to the content name.
- the ICN is routed by extending the content name.
- a number of auxiliary routing information corresponding to the content identifier is added to assist the routing.
- These several auxiliary routing information may be referred to as a container.
- the collection, the container collection may include the prefix information of the content identifier and the information related to the content identifier, and the information may be arranged according to a preset priority from high to low, when the content request cannot be forwarded through the content identifier.
- the container in the container is obtained by the requester sending a container parsing request containing the content identifier to the network. Specifically, in the network, the parsing request is responded step by step according to a preset rule, and the container obtained by the response is returned. To the requesting party.
- an embodiment of the present invention provides a routing method, including: an authoritative resolution server receives a request content sent by a first device according to an identifier of an authoritative resolution server.
- the identifier of the requesting content is used to search for the correspondence between the identifier of the currently requested content and the container set according to the identifier of the requested content, and obtain the first container set corresponding to the identifier of the current request content;
- the authoritative resolution server acquires the requested content according to the first container set corresponding to the identifier of the current request content and the identifier of the requested content.
- the authoritative resolution server obtains the requested content according to the first container set corresponding to the identifier of the current request content and the identifier of the requested content, including: The authoritative resolution server sends the first container set corresponding to the identifier of the current request content to the first device, so that the first device forwards the first container according to the current identifier of the requested content. Declaring the content of the request content, obtaining the requested content.
- the authoritative resolution server is configured according to the first container set corresponding to the identifier of the current request content and the request And obtaining, by the authoritative resolution server, the identifier of the requested content according to the current container set corresponding to the current request content identifier, and acquiring the requested content.
- the method further includes: the authoritative resolution server receiving the registration request sent by the request content providing device
- the registration request includes an identifier of the requested content and a first container set corresponding to the identifier of the currently requested content; the authoritative resolution server establishes the identifier of the requested content and the container set according to the registration request. Correspondence between the two.
- the format of the registration request is an interest package, where the format of the content name in the interest package of the registration request is:
- the method further includes: the authoritative resolution server receiving the request content providing device And sending, by the first container set corresponding to the identifier of the request content, an update request sent after the update, the update request includes an identifier of the requested content and the updated container set; and the authoritative resolution server according to the update request
- the first container set corresponding to the identifier of the current request content in the correspondence between the identifier of the request content and the container set is updated to the updated container set.
- the format of the update request is an interest packet, where a format of the content name in the interest packet of the update request is: / The authoritative resolution server identifier / UPDATE / the identifier of the requested content / CONTAINER / the updated container collection.
- the embodiment of the present invention provides a routing method, including: the first device sending an identifier of the requested content to the authoritative resolution server according to the preset policy and the identifier of the authoritative resolution server, so that the authoritative resolution server is configured according to the The identifier of the request content is used to search for a correspondence between the identifier of the currently requested content and the container set, and obtain a first container set corresponding to the identifier of the current request content; the first device receives the authority And parsing the first container set corresponding to the identifier of the current request content sent by the server; the first device forwarding the identifier of the requested content according to the first container set corresponding to the identifier of the current request content, to obtain the Describe the content of the request.
- the first device sends the identifier of the requested content to the authoritative resolution server according to the preset policy and the identifier of the authoritative resolution server, including: the first device to the authority
- the parsing server sends a parsing request, where the parsing request includes an identifier of the authoritative parsing server and an identifier of the request content, where the identifier of the authoritative parsing server indicates routing information of the authoritative parsing server.
- the format of the parsing request is an interest packet
- the format of the parsing request interest packet is specifically:
- the method before the first device sends the identifier of the requested content to the authoritative resolution server according to the preset policy and the identifier of the authoritative resolution server, the method further includes: The device acquires a request message for requesting content, where the request The message includes an identifier of the requested content, a second container set corresponding to the requested content identifier, and an identifier of the authoritative resolution server.
- the first device is configured according to the preset policy and the identifier of the authoritative resolution server.
- the identifier of the authoritative resolution server sending the requested content including:
- the identifier of the requested content is sent to the authoritative analysis server.
- the embodiment of the present invention provides a routing method, including: the first device sending an identifier of the requested content to the authoritative resolution server according to a preset policy and an identifier of an authoritative resolution server, so that the authority resolves
- the server searches for the correspondence between the identifier of the currently requested content and the container set according to the identifier of the requested content, and obtains a first container set corresponding to the identifier of the current request content, and according to the first container
- the collection sends the identifier of the requested content to obtain the requested content.
- the method further includes:
- the first device acquires a request message for requesting content, where the request message includes an identifier of the requested content, and a second container corresponding to the requested content identifier
- the set and the identifier of the authoritative resolution server correspondingly, the first device sends the identifier of the requested content to the authoritative resolution server according to the preset policy and the identifier of the authoritative resolution server, where: the first device determines the Whether the second container set in the request message is empty, and if yes, sending the identifier of the requested content to the authoritative resolution server; or the first device acquiring the requested content according to the identifier of the requested content If the acquisition fails, sending the identifier of the requested content by using the second container set included in the request message to obtain the requested content; if the identifier of the requested content is sent by using the second container set included in the request message; If the content of the request fails to be obtained, the identifier of the requested content is sent to the authoritative resolution server.
- an embodiment of the present invention provides an authoritative resolution server, including: a receiving unit, configured to receive an identifier of a request content sent by a first device according to an identifier of an authoritative resolution server; and an acquiring unit, configured to use the request according to the request
- the identifier of the content is used to search for the correspondence between the identifier of the currently requested content and the container set, and obtain the first container set corresponding to the identifier of the current request content; the obtaining unit is further configured to: according to the current description The first container set corresponding to the identifier of the requested content and the identifier of the requested content acquire the requested content.
- the acquiring unit is specifically configured to: send, to the first device, a first container set corresponding to the identifier of the current request content, so that the first And the device forwards the identifier of the requested content according to the first container set corresponding to the identifier of the current request content, and acquires the requested content.
- the acquiring unit is specifically configured to: forward the identifier of the requested content according to the current container set corresponding to the request content identifier, and obtain the requested content.
- the receiving unit is further configured to: receive the registration request sent by the request content providing device, according to any one of the fourth aspect, the first or the second possible implementation manner
- the registration request includes a first container set corresponding to the identifier of the requested content and the identifier of the current request content, and an establishing unit, configured to establish the identifier of the requested content and the container according to the registration request The correspondence between the collections.
- the format of the registration request is an interest package, where the format of the content name in the interest package of the registration request is:
- the receiving unit is further configured to: receive the requested content providing device, as currently described And sending, by the first container set corresponding to the identifier of the request content, an update request sent after the update, where the update request includes the identifier of the requested content and the updated container set; and further comprising an update unit, configured to update according to the update And requesting to update the first container set corresponding to the identifier of the current request content in the correspondence between the identifier of the request content and the container set to the updated container set.
- the format of the update request is an interest packet, where a format of the content name in the interest packet of the update request is: / The authoritative resolution server identifier / UPDATE / the identifier of the requested content / CONTAINER / the updated container collection.
- the embodiment of the present invention provides a first device, including: a sending unit, configured to send, according to a preset policy and an identifier of an authoritative resolution server, an identifier of the requested content to the authoritative resolution server, so that the authority
- the parsing server searches for the correspondence between the identifier of the currently requested content and the container set according to the identifier of the requested content, and obtains a first container set corresponding to the identifier of the current request content; and a receiving unit, configured to receive The first container set corresponding to the identifier of the current request content sent by the authoritative resolution server; the forwarding unit, configured to forward the identifier of the requested content according to the first container set corresponding to the identifier of the current request content, To obtain the requested content.
- the sending unit is configured to send a parsing request to the authoritative parsing server, where the parsing request includes an identifier of the authoritative parsing server and an identifier of the requested content,
- the identifier of the authoritative resolution server represents routing information of the authoritative resolution server.
- the format of the parsing request is an interest packet
- the format of the parsing request interest packet is specifically:
- the method further includes: an obtaining unit, configured to acquire a request message for requesting content, where the request message includes an identifier of the requested content, and the requested content identifier corresponds to The second container set and the identifier of the authoritative resolution server; correspondingly, the sending unit is configured to determine whether the second container set in the request message is empty, and if yes, sending the identifier of the requested content To the authoritative resolution server; Or the acquiring unit is configured to acquire the requested content according to the identifier of the requested content;
- the forwarding unit is configured to: forward the request message by using a second container set included in the request message to obtain the requested content; and if the forwarding unit includes the second information included by the request message When the container set forwards the request message to obtain the content of the request, the forwarding unit is configured to send the identifier of the requested content to the authoritative resolution server.
- the embodiment of the present invention provides a first device, including: a sending unit, configured to send, according to a preset policy and an identifier of an authoritative resolution server, an identifier of the requested content to the authoritative resolution server, so that the authority
- the parsing server searches for the correspondence between the identifier of the currently requested content and the container set according to the identifier of the requested content, and obtains a first container set corresponding to the identifier of the current request content, and according to the first
- the container collection sends an identification of the requested content to obtain the requested content.
- the method further includes: an obtaining unit, configured to acquire a request message for requesting content, where the request message includes an identifier of the requested content, and the requested content identifier Corresponding second container set and identifier of the authoritative resolution server; correspondingly, the sending unit is configured to determine whether the second container set in the request message is empty, and if yes, sending the requested content And the obtaining unit is further configured to obtain the request inner valley according to the identifier of the requested content,
- the sending unit is configured to be included by the request message.
- the second container set sends the identifier of the requested content to obtain the requested content; and if the sending unit sends the identifier of the requested content through the second container set included in the request message to obtain the requested content, And the sending unit is configured to send the identifier of the requested content to the authoritative resolution server.
- an embodiment of the present invention provides an authoritative resolution server, including: a communication unit, configured to receive an identifier of a request content sent by a first device according to an identifier of an authoritative resolution server; and a processor, configured to perform, according to the request
- the identifier of the content is searched for the corresponding relationship between the identifier of the currently requested content and the container set, and the first container set corresponding to the identifier of the current request content is obtained; and the identifier corresponding to the identifier of the current request content is corresponding.
- a container collection and an identification of the requested content obtains the requested content.
- the processor is configured to: instruct the communication unit to send, to the first device, a first container set corresponding to an identifier of the current request content, so that The first device forwards the identifier of the requested content according to the first container set corresponding to the identifier of the current request content, and acquires the requested content.
- the processor is configured to: forward the identifier of the requested content according to the current container set corresponding to the request content identifier, and obtain the requested content.
- the communication unit is further configured to receive the registration request sent by the request content providing device The registration request includes a first container set corresponding to the identifier of the request content and the identifier of the current request content, and the processor is further configured to: establish a label of the requested content according to the registration request Correspondence between the identification and the collection of containers.
- the format of the registration request is an interest package, where the format of the content name in the interest package of the registration request is:
- the communication unit is further configured to: receive the requested content providing device, as currently described And sending, by the first container set corresponding to the identifier of the request content, an update request sent after the update, where the update request includes the identifier of the requested content and the updated container set; the processor is further configured to: The update request updates the first container set corresponding to the identifier of the current request content in the correspondence between the identifier of the request content and the container set to the updated container set.
- the format of the update request is an interest packet, where the format of the content name in the interest packet of the update request is:
- an embodiment of the present invention provides a first device, including: a communication unit, configured to communicate with an external device; and a processor, configured to indicate the communication unit according to a preset policy and an identifier of an authoritative resolution server Sending an identifier of the requested content to the authoritative resolution server, so that the authoritative resolution server searches for the correspondence between the identifier of the current request content and the container set obtained in advance according to the identifier of the requested content, and obtains the current current relationship.
- the processor is configured to: instruct the communication unit to send a resolution request to the authoritative resolution server, where the resolution request includes an identifier of the authoritative resolution server and the An identifier of the requested content, where the identifier of the authoritative resolution server represents routing information of the authoritative resolution server.
- the format of the parsing request is an interest packet
- the format of the parsing request interest packet is specifically:
- the processor is further configured to: obtain a request message for requesting content, where the request message includes an identifier of the requested content, and the requested content identifier Corresponding second container set and identifier of the authoritative resolution server; correspondingly, the processor is configured to: determine whether the second container set in the request message is empty, and if yes, instruct the communication unit to send The identifier of the request content is sent to the authoritative resolution server; or, the request content is obtained according to the identifier of the request content; if the acquisition fails, the communication unit is instructed to forward through the second container set included in the request message Determining, by the request message, the request content; if the request message is forwarded by the second container set included in the request message to obtain the request content, the communication unit is instructed to send the identifier of the requested content to The authoritative resolution server.
- a ninth aspect the embodiment of the present invention provides a first device, including: a communication unit, configured to communicate with an external device; and a processor, configured to indicate the communication unit according to a preset policy and an identifier of an authoritative resolution server Sending an identifier of the requested content to the authoritative resolution server, so that the authoritative resolution server searches for the correspondence between the identifier of the current request content and the container set obtained in advance according to the identifier of the requested content, and obtains the current current relationship. And requesting the first container set corresponding to the identifier of the content, and sending the identifier of the requested content according to the first container set to obtain the requested content.
- the processor is further configured to: obtain a request message for requesting content, where the request message includes an identifier of the requested content, and the requested content identifier Corresponding second container set and identifier of the authoritative resolution server; correspondingly, the processor is configured to determine whether the second container set in the request message is empty, and if yes, instructing the communication unit to send Determining the identifier of the requested content to the authoritative resolution server; or acquiring the requested content according to the identifier of the requested content; if the obtaining fails, instructing the communication unit to send the second container set by the request message Determining an identifier of the requested content to obtain the requested content; if the identifier of the requested content is sent by the second container set included in the request message to obtain the requested content fails, instructing the communication unit to send the requested content
- the identifier is to the authoritative resolution server.
- the embodiment of the present invention provides a routing system, comprising the authoritative resolution server according to any of the fourth aspect or the seventh aspect, and the fifth aspect, the sixth aspect, the eighth aspect, and the ninth aspect
- An embodiment of the present invention provides a routing method, device, and system, where a first container set corresponding to an identifier of a current request content is obtained by a fixed authoritative resolution server, The request content can be obtained according to the first container set corresponding to the identifier of the current request content and the identifier of the requested content, which not only improves the efficiency of obtaining the container set, but also improves the scalability of the name resolution system.
- FIG. 1 is a schematic flowchart of a routing method according to an embodiment of the present invention
- FIG. 2 is a schematic flowchart of another routing method according to an embodiment of the present invention
- FIG. 4 is a detailed flowchart of a routing method according to an embodiment of the present invention
- FIG. 5 is a specific flowchart of step 402
- FIG. 6 is a specific flowchart of step 405;
- FIG. 8 is a schematic flowchart of another routing method according to an embodiment of the present invention.
- FIG. 8 is a schematic diagram of an apparatus for authoritatively analyzing a server according to an embodiment of the present invention;
- FIG. 9 is a schematic diagram of another apparatus for authoritatively analyzing a server according to an embodiment of the present invention.
- FIG. 10 is a schematic diagram of an apparatus for a first device according to an embodiment of the present invention
- FIG. 11 is a schematic diagram of another apparatus for a first device according to an embodiment of the present invention
- FIG. 13 is a schematic diagram of another apparatus of a first device according to an embodiment of the present invention
- FIG. 14 is a hardware device diagram of an authoritative resolution server according to an embodiment of the present invention
- FIG. 15 is a hardware device diagram of a first device according to an embodiment of the present invention
- FIG. 17 is a schematic diagram of a routing system according to an embodiment of the present invention.
- FIG. 1 is a schematic flowchart of a routing method according to an embodiment of the present disclosure, which may specifically include:
- the authoritative resolution server receives the identifier of the request content sent by the first device according to the identifier of the authoritative resolution server; exemplarily, in the existing ICN network, the container set corresponding to the content identifier is stepped through the network.
- the parsing server responds to the container parsing request. Specifically, the parsing server can parse the container parsing request and obtain the container set that the parsing server can provide. Therefore, the number of devices that can respond to the container parsing request can be realized.
- a separate authoritative resolution server is set, which mainly plays the role of parsing the container set corresponding to the content identifier. This eliminates the need for multi-level parsing, and there is also the advantage of this approach when the content-providing device or the content provided changes, only the authoritative parsing server needs to be updated and modified, increasing scalability.
- the authoritative resolution server searches for the correspondence between the identifier of the current request content and the container set according to the identifier of the requested content, and obtains the first container set corresponding to the identifier of the current request content; for example, the authoritative resolution server may Receiving the request content providing device in advance And sending a registration request, and then establishing a correspondence between the identifier of the request content and the container set according to the registration request, where the registration request includes the identifier of the requested content and the first container set corresponding to the identifier of the current request content;
- the format of the registration request may be an interest package, where the format of the content name in the interest package of the registration request may be:
- the authoritative resolution server may further receive an update request sent by the request content providing device after the update of the first container set corresponding to the identifier of the current request content, and then request the content according to the update request.
- the first container set corresponding to the identifier of the current request content in the correspondence between the identifier and the container set is updated to the updated container set, wherein the update request includes the identifier of the requested content and the updated container set;
- the format of the update request may be an interest package, where the format of the content name in the interest package of the update request may be:
- the authoritative resolution server acquires the request content according to the first container set corresponding to the identifier of the current request content and the identifier of the requested content.
- the step S103 may include: the authoritative resolution server sends the first container set corresponding to the identifier of the current request content to the first device, so that the first device forwards the request according to the first container set corresponding to the identifier of the current request content.
- the identification of the content the content of the request.
- the step S103 may include: the authoritative resolution server obtains the request content according to the identifier of the first container set forwarding request content corresponding to the current request content identifier.
- An embodiment of the present invention provides a routing method, where a first container set corresponding to an identifier of a current request content is obtained by a fixed authoritative resolution server, so that the first container set corresponding to the identifier of the current request content and the identifier of the requested content are enabled.
- Getting the requested content not only improves the efficiency of getting container collections, but also improves the name resolution system. Scalability.
- FIG. 2 is a schematic flowchart diagram of another routing method according to an embodiment of the present disclosure, which may include:
- the first device sends the identifier of the requested content to the authoritative resolution server according to the preset policy and the identifier of the authoritative resolution server, so that the authoritative resolution server searches for the pre-determined identifier of the current request content and the container set according to the identifier of the requested content.
- the first device may be a device that needs to request content, including a wireless terminal, a requesting node, or a client, etc. It is a routing node in the network, and is not described here.
- the first device may further include the first device acquiring a request message for requesting content, where the request message includes an identifier of the requested content, a second container set corresponding to the requested content identifier, and an identifier of the authoritative resolution server.
- the first device is a device that needs to request the content, including the wireless terminal, Request node or When the client waits, the first device may obtain the request message by directly generating a request message.
- the first device sends the identifier of the requested content to the authoritative resolution server according to the preset policy and the identifier of the authoritative resolution server, which may include: the first device may determine whether the second container set in the request message is empty, if If it is empty, the identifier of the requested content is sent to the authoritative resolution server.
- the first device may obtain the request message by receiving a request message sent by the device that needs to request the content, and correspondingly, the first device is configured according to the preset policy.
- the identifier of the authoritative resolution server sends the identifier of the request content to the authoritative resolution server, and the method includes: the first device acquiring the request content according to the identifier of the requested content; if the obtaining fails, forwarding the request message by using the second container set included in the request message to obtain the request content; If the request message is forwarded by the second container set included in the request message to obtain the requested content, the identifier of the requested content is sent to the authoritative resolution server.
- the specific manner in which the first device sends the identifier of the requested content to the authoritative resolution server may be to send a resolution request to the authoritative resolution server, where the resolution request includes an identifier of the authoritative resolution server and an identifier of the requested content, where The identifier of the authoritative resolution server indicates the routing information of the authoritative resolution server;
- the format of the parsing request may be an interest package
- the format of the parsing request interest packet may be:
- the first device receives the first container set corresponding to the identifier of the current request content sent by the authoritative resolution server.
- S203 The first device forwards the identifier of the requested content according to the first container set corresponding to the identifier of the current request content, to obtain the requested content.
- An embodiment of the present invention provides a routing method, where a first container set corresponding to an identifier of a current request content is obtained by a fixed authoritative resolution server, so that the first container set corresponding to the identifier of the current request content and the identifier of the requested content are enabled. Getting the requested content not only improves the efficiency of getting the container collection, but also improves the extensibility of the name resolution system.
- FIG. 3 is a schematic flowchart diagram of still another routing method according to an embodiment of the present invention, including:
- the first device sends an identifier of the requested content to the authoritative resolution server according to the preset policy and the identifier of the authoritative resolution server, so that the authoritative resolution server searches for the pre-obtained identifier of the current request content and the container set according to the identifier of the requested content.
- the authoritative resolution server searches for the pre-obtained identifier of the current request content and the container set according to the identifier of the requested content.
- acquiring a first container set corresponding to the identifier of the current request content and sending the identifier of the requested content according to the first container set to obtain the requested content.
- the first device may be a device that needs to request content, including a wireless terminal, a requesting node, or a client, and the like, and may also be a routing node in the network, and details are not described herein; Specifically, before the first device sends the identifier of the requested content to the authoritative resolution server according to the preset policy and the identifier of the authoritative resolution server, the method may further include: the first device acquiring a request message for requesting the content, where the request message includes the requested content.
- the first device sends the identifier of the requested content to the authoritative resolution server according to the preset policy and the identifier of the authoritative resolution server, which may include: the first device may determine whether the second container set in the request message is empty, if If it is empty, the identifier of the requested content is sent to the authoritative resolution server.
- the first device may obtain the request message by receiving a request message sent by the device that needs to request the content, and correspondingly, the first device is configured according to the preset policy.
- the identifier of the authoritative resolution server sends the identifier of the request content to the authoritative resolution server, and the method includes: the first device acquiring the request content according to the identifier of the requested content; if the obtaining fails, forwarding the request message by using the second container set included in the request message to obtain the request Content; if the request message is forwarded by the second container set included in the request message to obtain the requested content, the identifier of the requested content is sent to the authoritative resolution server.
- the specific manner in which the first device sends the identifier of the requested content to the authoritative resolution server may be: sending the request message acquired by the first device to the authoritative resolution server, so that the authoritative resolution server directly according to the request message Get the content of the request.
- An embodiment of the present invention provides a routing method, where a first container set corresponding to an identifier of a current request content is obtained by a fixed authoritative resolution server, so that the first container set corresponding to the identifier of the current request content and the identifier of the requested content are enabled. Getting the requested content not only improves the efficiency of getting the container collection, but also improves the extensibility of the name resolution system.
- FIG. 4 is a detailed flowchart of a routing method according to an embodiment of the present invention.
- the first device may include the first device.
- the first device is configured as a routing node in the network, and the specific method may be include:
- the routing node obtains the request message for requesting the content.
- the request message includes an identifier of the requested content, a second container set corresponding to the requested content identifier, and an identifier of the authoritative resolution server.
- the routing A node can receive a request message sent by a device that needs to request content.
- step 402 may include:
- the routing node obtains the content of the request according to the identifier of the content of the request.
- the routing node may search for the content corresponding to the identifier of the requested content in the local cache according to the identifier of the requested content, and the specific process and the existing ICN network. The technology is similar, and details are not described herein. If the search is successful, the routing node returns the obtained request content to the device that needs to request the content. If the search is unsuccessful, step 502 is performed.
- the routing node forwards the request message by using the second container set that is included in the request message to obtain the content of the request.
- the specific process is similar to the existing ICN network technology, and is not described here. If the routing node can pass the request message, the second part is included. If the container set forwarding request message acquires the requested content, the obtained request content is returned to the device that needs to request the content; if the requested content cannot be obtained, step 503 is performed.
- the routing node sends the identifier of the requested content to the authoritative resolution server. Specifically, the routing node sends the identifier of the requested content to the authoritative resolution server.
- the method may be: sending a parsing request to the authoritative parsing server, where the parsing request includes an identifier of the authoritative parsing server and an identifier of the requesting content, where the identifier of the authoritative parsing server indicates routing information of the authoritative parsing server;
- Interest package the format of the parsing request interest package can be:
- the authoritative resolution server receives the identifier of the request content sent by the routing node according to the identifier of the authoritative resolution server.
- the authoritative resolution server searches for a correspondence between the identifier of the current request content and the container set according to the identifier of the requested content, and obtains a first container set corresponding to the identifier of the current request content; for example, the authoritative resolution server may advance Receiving a registration request sent by the request content providing device, and then establishing a correspondence between the identifier of the request content and the container set according to the registration request, where the registration request includes the identifier of the requested content and the first container set corresponding to the identifier of the current request content;
- the format of the registration request may be an interest package, where the format of the content name in the interest package of the registration request may be:
- the authoritative resolution server may further receive an update request sent by the request content providing device after the update of the first container set corresponding to the identifier of the current request content, and then request the content according to the update request.
- the first container set corresponding to the identifier of the current request content in the correspondence between the identifier and the container set is updated to the updated container set, wherein the update request includes the identifier of the requested content and the updated container set;
- the format of the update request may be an interest package, where the format of the content name in the interest package of the update request may be:
- step 405 The authoritative resolution server obtains the request content according to the first container set corresponding to the identifier of the current request content and the identifier of the requested content.
- step 405 may include:
- the authoritative resolution server sends the first container set corresponding to the identifier of the current request content to the routing node;
- the routing node receives the first container set corresponding to the identifier of the current request content sent by the authoritative resolution server.
- the routing node forwards the identifier of the request content according to the first container set corresponding to the identifier of the current request content, to obtain the request content. Specifically, after receiving the first container set corresponding to the identifier of the current request content, the routing node requests The second container set in the message is updated to the first container set, and the updated request message is forwarded.
- the specific forwarding process is similar to the existing ICN network technology, and is not described again. Finally, the requested content is obtained, and the request is obtained. The content is returned to the device that needs to request the content, completing the entire routing process.
- the step 405 may include: the authoritative resolution server retrieving the identifier of the request content according to the first container set corresponding to the current request content identifier, acquiring the requested content, and returning the obtained request content to the device that needs to request the content, thereby completing the entire Routing process.
- An embodiment of the present invention provides a routing method, where a first container set corresponding to an identifier of a current request content is obtained by a fixed authoritative resolution server, so that the first container set corresponding to the identifier of the current request content and the identifier of the requested content are enabled. Getting the requested content not only improves the efficiency of getting the container collection, but also improves the extensibility of the name resolution system.
- the first device may include the first device. It may be a device that needs to request content, including a wireless terminal, a requesting node, or a client, etc., or may be a routing node in the network. In this embodiment, the first device is configured as a device that needs to request content, in order to be clear.
- the preferred embodiment of the present invention is a requesting node, and the first method in this embodiment is not limited to the requesting node.
- the specific method may include:
- the requesting node obtains the request message for requesting the content; for example, the requesting node is the device that needs to request the content, so the requesting node may obtain the request message by directly generating the request message, where, the request message
- the identifier of the requested content, the second container set corresponding to the requested content identifier, and the identifier of the authoritative resolution server are included.
- the requesting node sends the identifier of the requested content to the authoritative resolution server according to the preset policy and the identifier of the authoritative resolution server.
- the requesting node may determine whether the second container set in the request message is empty, if not, The requesting node sends the request message to the routing node to obtain the content of the request.
- the specific process is similar to the embodiment shown in FIG. 4, and details are not described herein; if it is empty, the identifier of the request content is sent to the authoritative resolution server, specifically In this embodiment, the requesting node sends the request message directly to the authoritative resolution server.
- the authoritative resolution server receives the identifier of the request content sent by the requesting node according to the identifier of the authoritative resolution server.
- the authoritative resolution server searches for the correspondence between the identifier of the current request content and the container set according to the identifier of the requested content, and obtains the first container set corresponding to the identifier of the current request content.
- the exemplary process is as follows. The description of the embodiments is not repeated here.
- the authoritative resolution server obtains the request content according to the first container set corresponding to the identifier of the current request content and the identifier of the requested content.
- the authoritative resolution server may update the first container set to the request message, and then directly forward or send the request message to the routing node for forwarding, to obtain the requested content, and the specific process is as described in the foregoing embodiment. As described, it will not be repeated here.
- An embodiment of the present invention provides a routing method, where a first container set corresponding to an identifier of a current request content is obtained by a fixed authoritative resolution server, so that the first container set corresponding to the identifier of the current request content and the identifier of the requested content are enabled. Getting the requested content not only improves the efficiency of getting the container collection, but also improves the extensibility of the name resolution system.
- an authoritative resolution server 80 includes: a receiving unit 801, configured to receive an identifier of a request content sent by a first device according to an identifier of an authoritative resolution server 80; And obtaining a first container set corresponding to the identifier of the current request content according to the identifier of the request content, and obtaining a correspondence between the identifier of the currently requested content and the container set; the obtaining unit 802 further uses And acquiring the requested content according to the first container set corresponding to the identifier of the current request content and the identifier of the requested content.
- the receiving unit 801 is further configured to: receive, in advance, a registration request sent by the request content providing device, where the registration request includes an identifier of the requested content and a first container set corresponding to an identifier of the current requested content.
- the authoritative resolution server 80 may further include an establishing unit 803, configured to establish, according to the registration request, a correspondence between the identifier of the requested content and the container set; preferably, in this embodiment
- the format of the registration request may be an interest package, where the format of the content name in the interest package of the registration request may be:
- the receiving unit 801 may further receive an update request that is sent by the content providing device after the first container set corresponding to the identifier of the current request content is updated; as shown in FIG.
- the parsing server 80 may further include an updating unit 804, Updating the first container set corresponding to the identifier of the current request content in the correspondence between the identifier of the request content and the container set according to the update request to the updated container set, wherein the update request includes the identifier of the requested content and the updated
- the format of the update request may be an interest package, where the format of the content name in the interest package of the update request may be:
- the obtaining unit 802 is configured to: send, by the first device, the first container set corresponding to the identifier of the current request content to the first device, so that the first device is configured according to the current identifier of the requested content.
- the corresponding first container set forwards the identifier of the requested content, and obtains the requested content.
- the obtaining unit 802 is configured to: forward the identifier of the requested content according to the current container set corresponding to the request content identifier, and obtain the requested content.
- An embodiment of the present invention provides an authoritative resolution server 80, which acquires, by a fixed authoritative resolution server 80, a first container set corresponding to an identifier of a current request content, so as to enable a first container set and a request according to an identifier of the currently requested content.
- the identification of the content obtains the requested content, which not only improves the efficiency of obtaining the container collection, but also improves the scalability of the name resolution system.
- FIG. 10 is a schematic diagram of an apparatus for a first device 100 according to an embodiment of the present invention.
- the first device 100 may be a device that needs to request content, including a wireless terminal, a requesting node, or a client, or the like.
- the routing device, the first device 100 may include: a sending unit 1001, configured to send, according to the preset policy and the identifier of the authoritative resolution server, an identifier of the requested content to the authoritative resolution server, so that the authoritative resolution server searches for the pre-acquired according to the identifier of the requested content.
- the receiving unit 1002 is configured to receive the first container set corresponding to the identifier of the current request content sent by the authoritative resolution server ;
- the forwarding unit 1003 is configured to forward the identifier of the requested content according to the first container set corresponding to the identifier of the current request content, to obtain the requested content.
- the first device 100 may further include: an obtaining unit 1004, configured to acquire a request message for requesting content, where the request message includes an identifier of the requested content, and a second container set corresponding to the requested content identifier. And the identity of the authoritative resolution server;
- the obtaining unit 1004 may obtain the request message by directly generating a request message.
- the sending unit 1001 can be configured to determine whether the second container set in the request message is empty. If it is empty, send the identifier of the requested content to the authoritative resolution server.
- the obtaining unit 1004 may obtain the request message by receiving a request message sent by the device that needs to request the content;
- the obtaining unit 1004 is configured to obtain the requested content according to the identifier of the requested content. If the obtaining fails, the forwarding unit 1003 is configured to: by requesting the second container set forwarding request message included in the request message, to obtain the requested content; and if the forwarding unit 1003 The forwarding unit 1003 is configured to send the identifier of the requested content to the authoritative resolution server by forwarding the request message by the second container set included in the request message to obtain the content of the request.
- the specific manner of the sending unit 1001 sending the identifier of the requested content to the authoritative resolution server may be to send a parsing request to the authoritative parsing server, where the parsing request includes an identifier of the authoritative parsing server and an identifier of the requested content, where The identifier of the authoritative resolution server indicates the routing information of the authoritative resolution server;
- the format of the parsing request may be an interest package
- the format of the parsing request interest packet may be:
- the forwarding unit 1003 forwards the identifier of the requested content according to the first container set corresponding to the identifier of the current request content, to obtain the requested content, which may be the forwarding unit 1003. Update the second container set in the request message to the first container set, and forward the updated request message, and the specific forwarding process is similar to the existing ICN network technology, and will not be described again, and finally the requested content is obtained, and The request content is returned to the device that needs to request the content, thereby completing the entire routing process.
- An embodiment of the present invention provides a first device 100, which acquires, by a fixed authoritative resolution server, a first container set corresponding to an identifier of a current request content, so as to enable a first container set and a request content according to an identifier of the currently requested content.
- the identification of the request content can not only improve the efficiency of obtaining the container collection, but also improve the scalability of the name resolution system.
- FIG. 12 is a schematic diagram of another apparatus for a first device 120 according to an embodiment of the present invention.
- the first device 120 may be a device that needs to request content, including a wireless terminal, a requesting node, or a client, or may be in a network.
- the routing device, the first device 120 may include: a sending unit 1201, configured to send, according to the preset policy and the identifier of the authoritative resolution server, an identifier of the requested content to the authoritative resolution server, so that the authoritative resolution server obtains the identifier according to the identifier of the requested content.
- the first device 120 may further include an obtaining unit 1202, configured to acquire a request message for requesting content, where the request message includes an identifier of the requested content, a second container set corresponding to the requested content identifier, and an authority.
- the identifier of the server is obtained.
- the obtaining unit 1202 may obtain the request message by directly generating a request message.
- the sending unit 1201 is configured to determine whether the second container set in the request message is empty. If it is empty, send the identifier of the requested content to the authoritative resolution server.
- the first device 120 is a routing node in the network. At the time, the obtaining unit 1202 can obtain the request by receiving a request message sent by the device that needs to request the content. Ask for news;
- the obtaining unit 1202 is further configured to acquire the request valley according to the identifier of the requested content.
- the sending unit 1201 is configured to: send, by using the second container set included in the request message, the identifier of the requested content to obtain the requested content; and if the sending unit 1201 sends the identifier of the requested content by using the second container set included in the request message.
- the sending unit 1201 is configured to send the identifier of the requested content to the authoritative resolution server.
- An embodiment of the present invention provides a first device 120, which acquires, by a fixed authoritative resolution server, a first container set corresponding to an identifier of a current request content, so as to enable a first container set and a request content according to an identifier of a current request content.
- the identification of the request content can not only improve the efficiency of obtaining the container collection, but also improve the scalability of the name resolution system.
- FIG. 14 is a hardware device diagram of an authoritative resolution server 80 according to an embodiment of the present invention, including at least one communication unit 1401, at least one processor 1402, at least one memory 1403, and at least one communication bus 1404 for implementing these Connections between devices and mutual communication. among them,
- the communication bus 1404 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Wait.
- the bus 1404 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 14, but it does not mean that there is only one bus or one type of bus.
- the memory 1403 is for storing executable program code, the program code including computer operating instructions.
- the memory 1403 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
- the processor 1402 may be a central processing unit (CPU) or a specific integrated circuit (Application Specific Integrated) Circuit, abbreviated as ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
- the processor 1402 is configured to execute executable program code stored in the memory 1403, such as a computer program, to execute a program corresponding to the executable code.
- the communication unit 1401 is configured to receive an identifier of the requested content sent by the first device according to the identifier of the authoritative resolution server;
- the processor 1402 is configured to search, according to the identifier of the content requested by the communication unit 1401, the correspondence between the identifier of the content requested by the current communication unit 1401 and the container set, and obtain the first container set corresponding to the identifier of the content requested by the current communication unit 1401. And the first container set corresponding to the identification of the content requested by the current communication unit 1401 and the communication unit 1401 requesting the identification of the content acquisition communication unit 1401 to request the content.
- the processor 1402 is configured to: instruct the communication unit 1401 that the communication unit 1401 sends the first container set corresponding to the identifier of the content requested by the current communication unit 1401 to the first unit of the communication unit 1401, so that the communication unit 1401 is configured by the first device according to
- the communication unit 1401 requests the first container set forwarding communication unit 1401 corresponding to the identifier of the content to request the identification of the content, and acquires the communication unit 1401 to request the content.
- the processor 1402 is configured to: according to the communication unit 1401, the current communication unit 1401 requests the container set corresponding to the content identifier to forward the identifier of the content requested by the communication unit 1401, and obtain the communication unit 1401 request content.
- the communication unit 1401 is further configured to: receive, by the communication unit 1401, a registration request sent by the content providing device, where the communication unit 1401 registration request includes the identifier of the content requested by the communication unit 1401 and the first corresponding to the identifier of the current communication unit 1401 requesting the content.
- Container collection includes the identifier of the content requested by the communication unit 1401 and the first corresponding to the identifier of the current communication unit 1401 requesting the content.
- the communication unit 1401 processor 1402 is further configured to establish, according to the communication unit 1401 registration request, a correspondence between the identifier of the communication unit 1401 requesting the content and the communication unit 1401 container set.
- the format of the registration request of the communication unit 1401 is an interest package, wherein the format of the content name in the interest packet registered by the communication unit 1401 is: / Authoritative resolution server ID / REGISTER / request content identification / CONTAINER / container collection.
- the communication unit 1401 is further configured to: receive, by the communication unit 1401, an update request sent by the content providing device after the current communication unit 1401 requests the first container set corresponding to the identifier of the content to be updated, and the communication unit 1401 update request includes the communication The unit 1401 requests the identification of the content and the updated container set of the communication unit 1401;
- the communication unit 1401 processor 1402 is further configured to: according to the communication unit 1401 update request, update the first container set corresponding to the identifier of the content requested by the current communication unit 1401 in the correspondence between the identifier of the content requested by the communication unit 1401 and the container set to The updated container collection of the communication unit 1401.
- the format of the update request of the communication unit 1401 is an interest package, wherein the format of the content name in the interest package of the communication unit 1401 update request is:
- An embodiment of the present invention provides an authoritative resolution server 80, which acquires, by a fixed authoritative resolution server 80, a first container set corresponding to an identifier of a current request content, so as to enable a first container set and a request according to an identifier of the currently requested content.
- the identification of the content obtains the requested content, which not only improves the efficiency of obtaining the container collection, but also improves the scalability of the name resolution system.
- a hardware device diagram of a first device 100 includes: at least one communication unit 1501, a processor 1502, a memory 1503, and a bus 1504.
- the at least one communication unit 1501 and the processor 1502 The memory 1503 is connected through the bus 1504 and completes communication with each other.
- the bus 1504 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Wait.
- ISA Industry Standard Architecture
- PCI Peripheral Component
- EISA Extended Industry Standard Architecture
- the bus 1504 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 15, but it does not mean that there is only one bus or one type of bus. among them:
- Memory 1 503 is for storing executable program code, which includes computer operating instructions.
- the memory 1503 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
- the storage device stores: an operating system, an application, and program code for implementing an embodiment of the present invention.
- the operating system is used to control and implement the processing functions performed by the processing unit.
- the application contains program code such as word processing software and email software.
- the processor 1 502 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more configured to implement the embodiments of the present invention. Integrated circuits.
- the communication unit 1501 is configured to communicate with the external device.
- the processor 1502 is configured to: according to the preset policy and the identifier of the authoritative resolution server, instruct the communication unit 1501 to send the identifier of the requested content to the authoritative resolution server, so that the authoritative resolution server according to the request.
- the identifier of the content is used to search for the correspondence between the identifier of the current request content and the container set, and obtain the first container set corresponding to the identifier of the current request content; and the communication unit 1 501 is configured to receive the current request content sent by the authoritative resolution server. Identifying a corresponding first container set; and instructing the communication unit 1 501 to forward the identifier of the requested content according to the first container set corresponding to the identifier of the current request content, to obtain the requested content.
- the processor 1502 is configured to: instruct the communication unit 1 501 to send a parsing request to the authoritative parsing server, where the parsing request includes an identifier of the authoritative parsing server and an identifier of the requested content, where the identifier of the authoritative parsing server indicates the routing of the authoritative parsing server
- the format of the parsing request is an interest packet
- the format of the parsing request interest packet is specifically:
- the processor 1502 is further configured to: obtain a request message for requesting content,
- the request message includes an identifier of the requested content, a second container set corresponding to the requested content identifier, and an identifier of the authoritative resolution server.
- the processor 1502 is configured to determine whether the second container set in the request message is empty, if If yes, the communication unit 1 501 is configured to send the identifier of the requested content to the authoritative resolution server; or, the request content is obtained according to the identifier of the requested content; if the acquisition fails, the communication unit 1501 is instructed to forward the request message by using the second container set included in the request message.
- An embodiment of the present invention provides a first device 100, which acquires, by a fixed authoritative resolution server, a first container set corresponding to an identifier of a current request content, so as to enable a first container set and a request content according to an identifier of the currently requested content.
- the identification of the request content can not only improve the efficiency of obtaining the container collection, but also improve the scalability of the name resolution system.
- a hardware device diagram of another first device 120 includes: at least one communication unit 1 601, a processor 1602, a memory 1603, and a bus 1604, and the at least one communication unit 1601
- the processor 1602 and the memory 1 603 are connected by the bus 1604 and complete communication with each other.
- the bus 1604 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Wait.
- ISA Industry Standard Architecture
- PCI Peripheral Component
- EISA Extended Industry Standard Architecture
- the bus 1604 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 16, but it does not mean that there is only one bus or one type of bus.
- the memory 1 603 is for storing executable program code, the program code including computer operating instructions.
- the memory 1603 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory. Storage in the storage device: an operating system, an application, a program code for implementing an embodiment of the present invention.
- the operating system is used to control and implement the processing functions performed by the processing unit.
- the application contains program code, such as word processing software, email software.
- the processor 1 602 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more configured to implement the embodiments of the present invention. Integrated circuits.
- the communication unit 1601 is configured to communicate with an external device.
- the processor 1602 is configured to: according to the preset policy and the identifier of the authoritative resolution server, instruct the communication unit 1601 to send an identifier of the requested content to the authoritative resolution server, so that the authoritative resolution server according to the request.
- the identifier of the content is searched for the corresponding relationship between the identifier of the current request content and the container set, and the first container set corresponding to the identifier of the current request content is obtained, and the identifier of the requested content is sent according to the first container set to obtain the requested content.
- the processor 1 602 is further configured to: obtain a request message for requesting content, where the request message includes an identifier of the requested content, a second container set corresponding to the requested content identifier, and an identifier of the authoritative resolution server; The processor 1 602 is configured to determine whether the second container set in the request message is empty, and if yes, instruct the communication unit 1601 to send the identifier of the requested content to the authoritative resolution server; or obtain the requested content according to the identifier of the requested content; If the acquisition fails, the communication unit 1601 sends the identifier of the requested content to obtain the requested content by using the second container set included in the request message; if the identifier of the requested content is sent by the second container set included in the request message to obtain the requested content, the indication is The communication unit 1601 sends the identification of the requested content to the authority Parse the server.
- An embodiment of the present invention provides a first device 120, which acquires, by a fixed authoritative resolution server, a first container set corresponding to an identifier of a current request content, so as to enable a first container set and a request content according to an identifier of a current request content.
- the identification of the request content can not only improve the efficiency of obtaining the container collection, but also improve the scalability of the name resolution system.
- a routing system 170 includes any of the authoritative resolution servers 80 of the foregoing embodiments and any of the first devices 100 or 120 of the foregoing embodiments.
- the embodiment of the present invention provides a routing system 170, which acquires, by a fixed authoritative resolution server 80, a first container set corresponding to the identifier of the current request content, so as to enable the first container set and the requested content according to the identifier of the current request content.
- the identification of the request content can not only improve the efficiency of obtaining the container collection, but also improve the scalability of the name resolution system.
- the disclosed system, apparatus, and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or may be two or two.
- the upper unit is integrated in one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
- the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
- the software functional unit described above is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform portions of the steps of the various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a disk or an optical disk, and the like, which can store program codes. Medium.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
本发明的实施例提供一种路由方法、设备及***,不但可以提高获取容器集合的效率,还提高名字解析***的可扩展性。该方法包括:权威解析服务器接收第一设备根据权威解析服务器的标识所发送的请求内容的标识;所述权威解析服务器根据所述请求内容的标识查找预先得到的当前所述请求内容的标识和容器集合之间的对应关系,获取当前所述请求内容的标识对应的第一容器集合;所述权威解析服务器根据当前所述请求内容的标识对应的第一容器集合和所述请求内容的标识获取所述请求内容。
Description
一种路由方法、 设备及***
技术领域 本发明涉及通信领域, 尤其涉及一种路由方法、 设备及***。
背景技术
信息中心网络(Information Centric Network)是一种以信息为中 心的新型网络体系结构。 目前互联网结构是以主机为中心的, 当请 求方 ( 比如用户设备或者终端等) 想要获取某一内容时, 请求方发 送的获取请求中必须明确的指出该内容存储在哪台主机上面, 然后 根据具体的主机位置去访问该主机, 从而获取内容。 而在 ICN中, 当请求方 ( 比如用户设备或者终端等) 想获得某一内容时, 只需要 向网络发送出对于该内容的请求, 这个内容请求包括内容名, 常见 的内容名可以是内容标识, 网络中的路由转发节点就可以根据内容 名中的内容标识寻找到该内容对应的路由信息, 并且根据该路由信 息获取请求的内容并将返回给用户, 实现了依据内容名进行路由的 方式。 目前, ICN 的路由方式是通过对内容名进行扩展, 除了内容标 志之外, 还增加与内容标识对应的若干个辅助路由信息来辅助路由 , 这些若干个辅助路由信息可以称之为容器 ( Container ) 集合, 容器 集合中可以包括该内容标识的前缀信息和该内容标识相关的信息 等, 这些信息可以按照预先设置的优先级由高到低进行排列, 当内 容请求无法通过内容标识进行转发的时候可以通过对容器集合中的 信息查找预先设置的与容器对应的路由表, 并根据从路由表中查找 到与容器对应的路由信息转发内容请求, 从而获得请求的内容并返 回给用户, 其中, 容器集合中的容器是请求方通过向网络发送包含 内容标识的容器解析请求获得, 具体的, 在网络中, 根据预设的规 则逐级向上的对该解析请求进行响应, 并将响应所得到的容器返回
至请求方。 但是上述的过程中, 我们可以发现, 容器集合需要经过多级解 析***才能够获取, 效率低下; 而且在多级解析的情况下, 上层解 析***需要存储所有下级解析***的内容, 导致扩展' f生低。
发明内容 本发明的实施例提供一种路由方法、 设备及***, 不但可以提 高获取容器集合的效率, 还提高名字解析***的可扩展性。 为达到上述目的, 本发明的实施例采用如下技术方案: 第一方面, 本发明实施例提供了一种路由方法, 包括: 权威解析服务器接收第一设备根据权威解析服务器的标识所发 送的请求内容的标识; 所述权威解析服务器根据所述请求内容的标识查找预先得到的 当前所述请求内容的标识和容器集合之间的对应关系, 获取当前所 述请求内容的标识对应的第一容器集合; 所述权威解析服务器根据当前所述请求内容的标识对应的第一 容器集合和所述请求内容的标识获取所述请求内容。 根据第一种可能的实现方式, 结合第一方面, 所述权威解析服 务器根据当前所述请求内容的标识对应的第一容器集合和所述请求 内容的标识获取所述请求内容, 包括: 所述权威解析服务器将当前所述请求内容的标识对应的第一容 器集合发送至所述第一设备, 以使得所述第一设备根据所述当前所 述请求内容的标识对应的第一容器集合转发所述请求内容的标识, 获取所述请求内容。 根据第二种可能的实现方式, 结合第一方面, 所述权威解析服 务器根据当前所述请求内容的标识对应的第一容器集合和所述请求
内容的标识获取所述请求内容, 包括: 所述权威解析服务器根据所述当前所述请求内容标识对应的容 器集合转发所述请求内容的标识, 获取所述请求内容。
根据第三种可能的实现方式, 结合第一方面、 第一种或第二种 可能的实现方式中的任一项, 还包括: 所述权威解析服务器接收所述请求内容提供设备发送的注册请 求, 所述注册请求包括所述请求内容的标识和当前所述请求内容的 标识对应的第一容器集合; 所述权威解析服务器根据所述注册请求建立所述请求内容的标 识和所述容器集合之间的对应关系。
根据第四种可能的实现方式, 结合第三种可能的实现方式, 所 述注册请求的格式为兴趣包, 其中, 所述注册请求的兴趣包中的内 容名的格式为:
/所述权威解析服务器标识 /REGISTER/所述请求内容的标识 /CONTAINER/所述容器集合。 根据第五种可能的实现方式, 结合第一方面、 第一种至第四种 可能的实现方式中的任一项, 还包括: 所述权威解析服务器接收所述请求内容提供设备在当前所述请 求内容的标识对应的第一容器集合出现更新后所发送的更新请求, 所述更新请求包括所述请求内容的标识和所述更新后的容器集合; 所述权威解析服务器根据所述更新请求将所述请求内容的标识 和容器集合之间的对应关系中与当前所述请求内容的标识对应的第 一容器集合更新为所述更新后的容器集合。 根据第六种可能的实现方式, 结合第五种可能的实现方式, 所 述更新请求的格式为兴趣包, 其中, 所述更新请求的兴趣包中的内 容名的格式为:
/所述权威解析服务器标识 /UPDATE/所述请求内 容的标识 /CONTAINER/所述更新后的容器集合。
第二方面, 本发明实施例提供了一种路由方法, 包括: 第一设备根据预设策略和权威解析服务器的标识向所述权威解 析服务器发送请求内容的标识, 以使得所述权威解析服务器根据所 述请求内容的标识查找预先得到的当前所述请求内容的标识和容器 集合之间的对应关系, 获取当前所述请求内容的标识对应的第一容 器集合; 所述第一设备接收所述权威解析服务器发送的当前所述请求内 容的标识对应的第一容器集合; 所述第一设备根据所述当前所述请求内容的标识对应的第一容 器集合转发所述请求内容的标识, 以获取所述请求内容。 根据第一种可能的实现方式, 结合第二方面, 第一设备根据预 设策略和权威解析服务器的标识向所述权威解析服务器发送请求内 容的标识, 包括: 所述第一设备向所述权威解析服务器发送解析请求, 所述解析 请求包括所述权威解析服务器的标识和所述请求内容的标识, 其中, 所述权威解析服务器的标识表示所述权威解析服务器的路由信息。
根据第二种可能的实现方式, 结合第一种可能的实现方式, 所 述解析请求的格式为兴趣包, 所述解析请求兴趣包的格式具体为:
/所述权威解析服务器的标识 /Resolve /所述请求内容的标识。 根据第三种可能的实现方式, 结合第二方面, 在所述第一设备 根据预设策略和权威解析服务器的标识向所述权威解析服务器发送 请求内容的标识之前, 还包括: 所述第一设备获取用于请求内容的请求消息, 其中, 所述请求
消息包括所述请求内容的标识、 所述请求内容标识对应的第二容器 集合以及所述权威解析服务器的标识; 相应的, 所述第一设备根据预设策略和权威解析服务器的标识 向所述权威解析服务器发送请求内容的标识, 包括:
所述第一设备判断所述请求消息中的第二容器集合是否为空, 若为空, 则发送所述请求内容的标识至所述权威解析服务器; 或者,
所述第一设备根据所述请求内容的标识获取所述请求内容; 若获取失败, 则通过所述请求消息包括的第二容器集合转发所 述请求消息以获取所述请求内容;
若通过所述请求消息包括的第二容器集合转发所述请求消息以 获取所述请求内容失败, 则发送所述请求内容的标识至所述权威解 析服务器。
第三方面, 本发明实施例提供了一种路由方法, 包括: 所述第一设备根据预设策略和权威解析服务器的标识向所述权 威解析服务器发送请求内容的标识, 以使得所述权威解析服务器根 据所述请求内容的标识查找预先得到的当前所述请求内容的标识和 容器集合之间的对应关系, 获取当前所述请求内容的标识对应的第 一容器集合, 并且根据所述第一容器集合发送所述请求内容的标识 以获取所述请求内容。 根据第一种可能的实现方式, 结合第三方面, 所述第一设备根 据预设策略和权威解析服务器的标识向所述权威解析服务器发送请 求内容的标识之前, 还包括:
所述第一设备获取用于请求内容的请求消息, 其中, 所述请求 消息包括所述请求内容的标识、 所述请求内容标识对应的第二容器
集合以及所述权威解析服务器的标识; 相应的, 所述第一设备根据预设策略和权威解析服务器的标识 向所述权威解析服务器发送请求内容的标识, 包括: 所述第一设备判断所述请求消息中的第二容器集合是否为空, 若为空, 则发送所述请求内容的标识至所述权威解析服务器; 或者, 所述第一设备根据所述请求内容的标识获取所述请求内容; 若获取失败, 则通过所述请求消息包括的第二容器集合发送所 述请求内容的标识以获取所述请求内容; 若通过所述请求消息包括的第二容器集合发送所述请求内容的 标识以获取所述请求内容失败, 则发送所述请求内容的标识至所述 权威解析服务器。
第四方面, 本发明实施例提供了一种权威解析服务器, 包括: 接收单元, 用于接收第一设备根据权威解析服务器的标识所发 送的请求内容的标识; 获取单元, 用于根据所述请求内容的标识查找预先得到的当前 所述请求内容的标识和容器集合之间的对应关系, 获取当前所述请 求内容的标识对应的第一容器集合; 所述获取单元还用于, 根据当前所述请求内容的标识对应的第 一容器集合和所述请求内容的标识获取所述请求内容。 根据第一种可能的实现方式, 结合第四方面, 所述获取单元具 体用于, 将当前所述请求内容的标识对应的第一容器集合发送至所述第 一设备, 以使得所述第一设备根据所述当前所述请求内容的标识对 应的第一容器集合转发所述请求内容的标识, 获取所述请求内容。
根据第二种可能的实现方式, 结合第四方面, 所述获取单元具 体用于, 根据所述当前所述请求内容标识对应的容器集合转发所述请求 内容的标识, 获取所述请求内容。 根据第三种可能的实现方式, 结合第四方面、 第一种或第二种 可能的实现方式中的任一项, 所述接收单元还用于, 接收所述请求 内容提供设备发送的注册请求, 所述注册请求包括所述请求内容的 标识和当前所述请求内容的标识对应的第一容器集合; 还包括建立单元, 用于根据所述注册请求建立所述请求内容的 标识和所述容器集合之间的对应关系。
根据第四种可能的实现方式, 结合第三种可能的实现方式, 所 述注册请求的格式为兴趣包, 其中, 所述注册请求的兴趣包中的内 容名的格式为:
/所述权威解析服务器标识 /REGISTER/所述请求内容的标识 /CONTAINER/所述容器集合。 根据第五种可能的实现方式, 结合第四方面、 第一种至第四种 可能的实现方式中的任一项, 所述接收单元还用于, 接收所述请求内容提供设备在当前所述请求内容的标识对应的 第一容器集合出现更新后所发送的更新请求, 所述更新请求包括所 述请求内容的标识和所述更新后的容器集合; 还包括更新单元, 用于根据所述更新请求将所述请求内容的标 识和容器集合之间的对应关系中与当前所述请求内容的标识对应的 第一容器集合更新为所述更新后的容器集合。 根据第六种可能的实现方式, 结合第五种可能的实现方式, 所述更新请求的格式为兴趣包, 其中, 所述更新请求的兴趣包 中的内容名的格式为:
/所述权威解析服务器标识 /UPDATE/所述请求内 容的标识 /CONTAINER/所述更新后的容器集合。
第五方面, 本发明实施例提供了一种第一设备, 包括: 发送单元, 用于根据预设策略和权威解析服务器的标识向所述 权威解析服务器发送请求内容的标识, 以使得所述权威解析服务器 根据所述请求内容的标识查找预先得到的当前所述请求内容的标识 和容器集合之间的对应关系, 获取当前所述请求内容的标识对应的 第一容器集合; 接收单元, 用于接收所述权威解析服务器发送的当前所述请求 内容的标识对应的第一容器集合; 转发单元, 用于根据所述当前所述请求内容的标识对应的第一 容器集合转发所述请求内容的标识, 以获取所述请求内容。 根据第一种可能的实现方式, 结合第五方面, 所述发送单元用 于向所述权威解析服务器发送解析请求, 所述解析请求包括所述权 威解析服务器的标识和所述请求内容的标识, 其中, 所述权威解析 服务器的标识表示所述权威解析服务器的路由信息。
根据第二种可能的实现方式, 结合第一种可能的实现方式, 所 述解析请求的格式为兴趣包, 所述解析请求兴趣包的格式具体为:
/所述权威解析服务器的标识 /Resolve /所述请求内容的标识。 根据第三种可能的实现方式, 结合第五方面, 还包括获取单元, 用于获取用于请求内容的请求消息, 其中, 所述请求消息包括所述 请求内容的标识、 所述请求内容标识对应的第二容器集合以及所述 权威解析服务器的标识; 相应的, 所述发送单元用于判断所述请求消息中的第二容器集 合是否为空, 若为空, 则发送所述请求内容的标识至所述权威解析 服务器;
或者, 所述获取单元用于根据所述请求内容的标识获取所述请 求内容;
若获取失败, 则所述转发单元用于, 通过所述请求消息包括的 第二容器集合转发所述请求消息以获取所述请求内容; 以及若所述转发单元通过所述请求消息包括的第二容器集合转 发所述请求消息以获取所述请求内容失败, 则所述转发单元用于, 发送所述请求内容的标识至所述权威解析服务器。
第六方面, 本发明实施例提供了一种第一设备, 包括: 发送单元, 用于根据预设策略和权威解析服务器的标识向所述 权威解析服务器发送请求内容的标识, 以使得所述权威解析服务器 根据所述请求内容的标识查找预先得到的当前所述请求内容的标识 和容器集合之间的对应关系, 获取当前所述请求内容的标识对应的 第一容器集合, 并且根据所述第一容器集合发送所述请求内容的标 识以获取所述请求内容。 根据第一种可能的实现方式, 结合第六方面, 还包括: 获取单元, 用于获取用于请求内容的请求消息, 其中, 所述请 求消息包括所述请求内容的标识、 所述请求内容标识对应的第二容 器集合以及所述权威解析服务器的标识; 相应的, 所述发送单元用于判断所述请求消息中的第二容器集 合是否为空, 若为空, 则发送所述请求内容的标识至所述权威解析 服务器; 或者, 所述获取单元还用于根据所述请求内容的标识获取所述请求内 谷,
若获取失败, 则所述发送单元用于, 通过所述请求消息包括的
第二容器集合发送所述请求内容的标识以获取所述请求内容; 以及若所述发送单元通过所述请求消息包括的第二容器集合发 送所述请求内容的标识以获取所述请求内容失败, 则所述发送单元 用于, 发送所述请求内容的标识至所述权威解析服务器。
第七方面, 本发明实施例提供了一种权威解析服务器, 包括: 通信单元, 用于接收第一设备根据权威解析服务器的标识所发 送的请求内容的标识; 处理器, 用于根据所述请求内容的标识查找预先得到的当前所 述请求内容的标识和容器集合之间的对应关系, 获取当前所述请求 内容的标识对应的第一容器集合; 以及根据当前所述请求内容的标识对应的第一容器集合和所述 请求内容的标识获取所述请求内容。 根据第一种可能的实现方式, 结合第七方面, 所述处理器用于, 指示所述通信单元将当前所述请求内容的标识对应的第一容器 集合发送至所述第一设备, 以使得所述第一设备根据所述当前所述 请求内容的标识对应的第一容器集合转发所述请求内容的标识, 获 取所述请求内容。
根据第二种可能的实现方式, 结合第七方面, 所述处理器用于, 根据所述当前所述请求内容标识对应的容器集合转发所述请求 内容的标识, 获取所述请求内容。 根据第三种可能的实现方式, 结合第七方面、 第一种或第二种 可能的实现方式中的任一项, 所述通信单元还用于, 接收所述请求 内容提供设备发送的注册请求, 所述注册请求包括所述请求内容的 标识和当前所述请求内容的标识对应的第一容器集合; 所述处理器还用于, 根据所述注册请求建立所述请求内容的标
识和所述容器集合之间的对应关系。 根据第四种可能的实现方式, 结合第三种可能的实现方式, 所 述注册请求的格式为兴趣包, 其中, 所述注册请求的兴趣包中的内 容名的格式为:
/所述权威解析服务器标识 /REGISTER/所述请求内容的标识 /CONTAINER/所述容器集合。 根据第五种可能的实现方式, 结合第七方面、 第一种至第四种 可能的实现方式中的任一项, 所述通信单元还用于, 接收所述请求 内容提供设备在当前所述请求内容的标识对应的第一容器集合出现 更新后所发送的更新请求, 所述更新请求包括所述请求内容的标识 和所述更新后的容器集合; 所述处理器还用于, 根据所述更新请求将所述请求内容的标识 和容器集合之间的对应关系中与当前所述请求内容的标识对应的第 一容器集合更新为所述更新后的容器集合。 根据第六种可能的实现方式, 结合第五种可能的实现方式, 所 述更新请求的格式为兴趣包, 其中, 所述更新请求的兴趣包中的内 容名的格式为:
/所述权威解析服务器标识 /UPDATE/所述请求内 容的标识 /CONTAINER/所述更新后的容器集合。
第八方面, 本发明实施例提供了一种第一设备, 包括: 通信单元, 用于与外部设备的进行通信; 处理器, 用于根据预设策略和权威解析服务器的标识指示所述 通信单元向所述权威解析服务器发送请求内容的标识, 以使得所述 权威解析服务器根据所述请求内容的标识查找预先得到的当前所述 请求内容的标识和容器集合之间的对应关系, 获取当前所述请求内 容的标识对应的第一容器集合;
以及指示所述通信单元接收所述权威解析服务器发送的当前所 述请求内容的标识对应的第一容器集合; 以及指示所述通信单元根据所述当前所述请求内容的标识对应 的第一容器集合转发所述请求内容的标识, 以获取所述请求内容。 根据第一种可能的实现方式, 结合第八方面, 所述处理器用于, 指示所述通信单元向所述权威解析服务器发送解析请求, 所述解析 请求包括所述权威解析服务器的标识和所述请求内容的标识, 其中, 所述权威解析服务器的标识表示所述权威解析服务器的路由信息。
根据第二种可能的实现方式, 结合第一种可能的实现方式, 所 述所述解析请求的格式为兴趣包, 所述解析请求兴趣包的格式具体 为:
/所述权威解析服务器的标识 /Resolve /所述请求内容的标识。 根据第三种可能的实现方式, 结合第八方面, 所述处理器还用 于, 获取用于请求内容的请求消息, 其中, 所述请求消息包括所述 请求内容的标识、 所述请求内容标识对应的第二容器集合以及所述 权威解析服务器的标识; 相应的, 所述处理器用于, 判断所述请求消息中的第二容器集 合是否为空, 若为空, 则指示所述通信单元发送所述请求内容的标 识至所述权威解析服务器; 或者, 根据所述请求内容的标识获取所述请求内容; 若获取失败, 则指示所述通信单元通过所述请求消息包括的第 二容器集合转发所述请求消息以获取所述请求内容; 若通过所述请求消息包括的第二容器集合转发所述请求消息以 获取所述请求内容失败, 则指示所述通信单元发送所述请求内容的 标识至所述权威解析服务器。
第九方面, 本发明实施例提供了一种第一设备, 包括: 通信单元, 用于与外部设备的进行通信; 处理器, 用于根据预设策略和权威解析服务器的标识指示所述 通信单元向所述权威解析服务器发送请求内容的标识, 以使得所述 权威解析服务器根据所述请求内容的标识查找预先得到的当前所述 请求内容的标识和容器集合之间的对应关系, 获取当前所述请求内 容的标识对应的第一容器集合, 并且根据所述第一容器集合发送所 述请求内容的标识以获取所述请求内容。 根据第一种可能的实现方式, 结合第九方面, 所述处理器还用 于, 获取用于请求内容的请求消息, 其中, 所述请求消息包括所述 请求内容的标识、 所述请求内容标识对应的第二容器集合以及所述 权威解析服务器的标识; 相应的, 所述处理器用于判断所述请求消息中的第二容器集合 是否为空, 若为空, 则指示所述通信单元发送所述请求内容的标识 至所述权威解析服务器; 或者, 根据所述请求内容的标识获取所述请求内容; 若获取失败, 则指示所述通信单元通过所述请求消息包括的第 二容器集合发送所述请求内容的标识以获取所述请求内容; 若通过所述请求消息包括的第二容器集合发送所述请求内容的 标识以获取所述请求内容失败, 则指示所述通信单元发送所述请求 内容的标识至所述权威解析服务器。 第十方面, 本发明实施例提供了一种路由***, 包括如第四方 面或第七方面任一项所述的权威解析服务器以及如第五方面、 第六 方面、 第八方面和第九方面任一项所述的第一设备。 本发明的实施例提供一种路由方法、 设备及***, 通过固定的 权威解析服务器获取当前请求内容的标识对应的第一容器集合, 以
使得能够根据当前请求内容的标识对应的第一容器集合和请求内容 的标识获取请求内容, 不但可以提高获取容器集合的效率, 还提高 名字解析***的可扩展性。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下 面将对实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于 本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以 根据这些附图获得其他的附图。
图 1 为本发明实施例提供的一种路由方法的流程示意图; 图 2为本发明实施例提供的另一种路由方法的流程示意图; 图 3为本发明实施例提供的又一种路由方法的流程示意图; 图 4为本发明实施例提供的一种路由方法的详细流程图; 图 5为步骤 402的具体流程图; 图 6为步骤 405的具体流程图;
图 7为本发明实施例提供的另一种路由方法的详细流程图; 图 8 为本发明实施例提供的一种权威解析服务器的装置示意 图;
图 9为本发明实施例提供的另一种权威解析服务器的装置示意 图;
图 10为本发明实施例提供的一种第一设备的装置示意图; 图 1 1 为本发明实施例提供的另一种第一设备的装置示意图; 图 12为本发明实施例提供的又一种第一设备的装置示意图; 图 13为本发明实施例提供的再一种第一设备的装置示意图;
图 14 为本发明实施例提供的一种权威解析服务器的硬件装置 图; 图 15为本发明实施例提供的一种第一设备的硬件装置图; 图 16为本发明实施例提供的另一种第一设备的硬件装置图; 图 17为本发明实施例提供的一种路由***的示意图。 具体实施方式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术 方案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明 一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本 领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他 实施例, 都属于本发明保护的范围。 参见图 1 , 为本发明实施例提供的一种路由方法的流程示意图, 具体可以包括:
S 101 : 权威解析服务器接收第一设备根据权威解析服务器的标 识所发送的请求内容的标识; 示例性的, 在已有的 ICN 网络中, 与内容标识对应的容器集合 是通过在网络中逐级的解析服务器响应容器解析请求而得到的, 具 体的可以在逐级的解析服务器对容器解析请求进行解析, 获得本级 解析服务器所能提供的容器集合, 因此, 能够实现响应容器解析请 求的设备数量较多, 而在本发明实施例中, 在所有的路由设备之外, 设置单独的权威解析服务器, 主要承担起解析与内容标识对应的容 器集合的作用。 这样无需多级解析, 而且这种方式还有一个好处是 当内容提供设备或者提供的内容出现变化时, 只需要对权威解析服 务器进行更新和修正, 增加了扩展性。
S 102 : 权威解析服务器根据请求内容的标识查找预先得到的当 前请求内容的标识和容器集合之间的对应关系, 获取当前请求内容 的标识对应的第一容器集合; 示例性的, 权威解析服务器可以预先接收请求内容提供设备发
送的注册请求, 然后根据注册请求建立请求内容的标识和容器集合 之间的对应关系, 其中, 注册请求包括请求内容的标识和当前请求 内容的标识对应的第一容器集合; 优选的在本实施例中, 注册请求的格式可以为兴趣包, 其中, 注册请求的兴趣包中的内容名的格式可以为:
/权 威 解 析 服 务 器 标 识 /REGISTER/请 求 内 容 的 标 识 /CONTAINER/容器集合。 示例性的, 当请求内容发生改变的时候, 权威解析服务器还可 以接收请求内容提供设备在当前请求内容的标识对应的第一容器集 合出现更新后所发送的更新请求, 然后根据更新请求将请求内容的 标识和容器集合之间的对应关系中与当前请求内容的标识对应的第 一容器集合更新为更新后的容器集合, 其中, 更新请求包括请求内 容的标识和更新后的容器集合; 优选的, 在本实施例中, 更新请求的格式可以为兴趣包, 其中, 更新请求的兴趣包中的内容名的格式可以为:
/权威解析服务器标识 /UPDATE/请求内容的标识 /CONTAINER/ 更新后的容器集合。
S 103 : 权威解析服务器根据当前请求内容的标识对应的第一容 器集合和请求内容的标识获取请求内容。 可选的, 步骤 S 103可以包括: 权威解析服务器将当前请求内容 的标识对应的第一容器集合发送至第一设备, 以使得第一设备根据 当前请求内容的标识对应的第一容器集合转发请求内容的标识, 获 取请求内容。 可选的, 步骤 S 103可以包括权威解析服务器根据当前请求内容 标识对应的第一容器集合转发请求内容的标识, 获取请求内容。 本发明的实施例提供一种路由方法, 通过固定的权威解析服务 器获取当前请求内容的标识对应的第一容器集合, 以使得能够根据 当前请求内容的标识对应的第一容器集合和请求内容的标识获取请 求内容, 不但可以提高获取容器集合的效率, 还提高名字解析***
的可扩展性。
参见图 2 , 为本发明实施例提供的另一种路由方法的流程示意 图, 可以包括:
S201 : 第一设备根据预设策略和权威解析服务器的标识向权威 解析服务器发送请求内容的标识, 以使得权威解析服务器根据请求 内容的标识查找预先得到的当前请求内容的标识和容器集合之间的 对应关系, 获取当前请求内容的标识对应的第一容器集合; 示例性的, 在本实施例中, 第一设备可以是需要请求内容的设 备, 包括无线终端、 请求节点或者客户端等; 也可以是网络中的路 由节点, 在此不所作赘述; 具体的, 在第一设备根据预设策略和权威解析服务器的标识向 权威解析服务器发送请求内容的标识之前, 还可以包括第一设备获 取用于请求内容的请求消息, 其中, 请求消息包括请求内容的标识、 请求内容标识对应的第二容器集合以及权威解析服务器的标识; 可选的, 第一设备为需要请求内容的设备, 包括无线终端、 请 求节点或者客户端等的时候, 第一设备可以通过直接生成请求消息 的方式来获取该请求消息;
相应的, 此时第一设备根据预设策略和权威解析服务器的标识 向权威解析服务器发送请求内容的标识, 可以包括: 第一设备可以 判断请求消息中的第二容器集合是否为空, 若为空, 则发送请求内 容的标识至权威解析服务器。 可选的, 第一设备为网络中的路由节点的时候, 第一设备可以 通过接收需要请求内容的设备发送的请求消息来获取该请求消息, 相应的, 此时第一设备根据预设策略和权威解析服务器的标识 向权威解析服务器发送请求内容的标识, 可以包括: 第一设备根据请求内容的标识获取请求内容; 若获取失败, 则通过请求消息包括的第二容器集合转发请求消 息以获取请求内容;
若通过请求消息包括的第二容器集合转发请求消息以获取请求 内容失败, 则发送请求内容的标识至权威解析服务器。
示例性的, 在本实施例中, 第一设备发送请求内容的标识至权 威解析服务器的具体方式可以是向权威解析服务器发送解析请求, 解析请求包括权威解析服务器的标识和请求内容的标识, 其中, 权 威解析服务器的标识表示权威解析服务器的路由信息;
优选的, 解析请求的格式可以为兴趣包, 解析请求兴趣包的格 式具体可以为:
/权威解析服务器的标识 /Re solve/请求内容的标识。
S202 : 第一设备接收权威解析服务器发送的当前请求内容的标 识对应的第一容器集合。
S203 : 第一设备根据当前请求内容的标识对应的第一容器集合 转发请求内容的标识, 以获取请求内容。
本发明的实施例提供一种路由方法, 通过固定的权威解析服务 器获取当前请求内容的标识对应的第一容器集合, 以使得能够根据 当前请求内容的标识对应的第一容器集合和请求内容的标识获取请 求内容, 不但可以提高获取容器集合的效率, 还提高名字解析*** 的可扩展性。
参见图 3 , 为本发明实施例提供的又一种路由方法的流程示意 图, 包括:
S301 : 第一设备根据预设策略和权威解析服务器的标识向权威 解析服务器发送请求内容的标识, 以使得权威解析服务器根据请求 内容的标识查找预先得到的当前请求内容的标识和容器集合之间的 对应关系, 获取当前请求内容的标识对应的第一容器集合, 并且根 据第一容器集合发送请求内容的标识以获取请求内容。
示例性的, 在本实施例中, 第一设备可以是需要请求内容的设 备, 包括无线终端、 请求节点或者客户端等; 也可以是网络中的路 由节点, 在此不所作赘述;
具体的, 在第一设备根据预设策略和权威解析服务器的标识向 权威解析服务器发送请求内容的标识之前, 还可以包括第一设备获 取用于请求内容的请求消息, 其中, 请求消息包括请求内容的标识、 请求内容标识对应的第二容器集合以及权威解析服务器的标识; 可选的, 第一设备为需要请求内容的设备, 包括无线终端、 请 求节点或者客户端等的时候, 第一设备可以通过直接生成请求消息 的方式来获取该请求消息;
相应的, 此时第一设备根据预设策略和权威解析服务器的标识 向权威解析服务器发送请求内容的标识, 可以包括: 第一设备可以 判断请求消息中的第二容器集合是否为空, 若为空, 则发送请求内 容的标识至权威解析服务器。 可选的, 第一设备为网络中的路由节点的时候, 第一设备可以 通过接收需要请求内容的设备发送的请求消息来获取该请求消息, 相应的, 此时第一设备根据预设策略和权威解析服务器的标识 向权威解析服务器发送请求内容的标识, 可以包括: 第一设备根据请求内容的标识获取请求内容; 若获取失败, 则通过请求消息包括的第二容器集合转发请求消 息以获取请求内容; 若通过请求消息包括的第二容器集合转发请求消息以获取请求 内容失败, 则发送请求内容的标识至权威解析服务器。 示例性的, 在本实施例中, 第一设备发送请求内容的标识至权 威解析服务器的具体方式可以是向权威解析服务器发送第一设备获 取到的请求消息, 以使得权威解析服务器根据请求消息直接获取请 求的内容。 本发明的实施例提供一种路由方法, 通过固定的权威解析服务 器获取当前请求内容的标识对应的第一容器集合, 以使得能够根据 当前请求内容的标识对应的第一容器集合和请求内容的标识获取请 求内容, 不但可以提高获取容器集合的效率, 还提高名字解析*** 的可扩展性。
在图 1 -图 3 所示的实施例的基础上, 参见图 4 , 为本发明实施 例提供的一种路由方法的详细流程图, 如前述的实施例, 第一设备 可以包括第一设备可以是需要请求内容的设备, 包括无线终端、 请 求节点或者客户端等; 也可以是网络中的路由节点, 在本实施例中, 第一设备设定为网络中的路由节点, 具体的方法过程可以包括:
401 : 路由节点获取用于请求内容的请求消息; 示例性的, 请求消息包括请求内容的标识、 请求内容标识对应 的第二容器集合以及权威解析服务器的标识; 具体的在本实施例中, 路由节点可以通过接收需要请求内容的 设备发送的请求消息。
402 : 路由节点根据预设策略和权威解析服务器的标识向权威解 析服务器发送请求内容的标识; 示例性的, 如图 5所示, 步骤 402可以包括:
501 : 路由节点根据请求内容的标识获取请求内容; 在本实施例中, 路由节点可以根据请求内容的标识查找本地緩 存中是否有与请求内容的标识对应的内容, 具体过程与现有的 ICN 网络技术类似, 具体不再赘述; 若查找成功, 则路由节点将得到的请求内容返回至需要请求内 容的设备; 若查找不成功, 则执行步骤 502。
502 : 路由节点通过请求消息包括的第二容器集合转发请求消息 以获取请求内容, 具体的过程与现有的 ICN 网络技术类似, 不再赘 述, 此时若路由节点能够通过请求消息包括的第二容器集合转发请 求消息获取到请求内容, 则将得到的请求内容返回至需要请求内容 的设备; 若无法获取到请求内容时, 则执行步骤 503。
503 : 路由节点发送请求内容的标识至权威解析服务器; 具体的, 路由节点发送请求内容的标识至权威解析服务器的具
体方式可以是向权威解析服务器发送解析请求, 解析请求包括权威 解析服务器的标识和请求内容的标识, 其中, 权威解析服务器的标 识表示权威解析服务器的路由信息; 优选的, 解析请求的格式可以为兴趣包, 解析请求兴趣包的格 式具体可以为:
/权威解析服务器的标识 /Resolve/请求内容的标识。
403 : 权威解析服务器接收路由节点根据权威解析服务器的标识 所发送的请求内容的标识。
404 : 权威解析服务器根据请求内容的标识查找预先得到的当前 请求内容的标识和容器集合之间的对应关系, 获取当前请求内容的 标识对应的第一容器集合; 示例性的, 权威解析服务器可以预先接收请求内容提供设备发 送的注册请求, 然后根据注册请求建立请求内容的标识和容器集合 之间的对应关系, 其中, 注册请求包括请求内容的标识和当前请求 内容的标识对应的第一容器集合; 优选的在本实施例中, 注册请求的格式可以为兴趣包, 其中, 注册请求的兴趣包中的内容名的格式可以为:
/权 威 解 析 服 务 器 标 识 /REGISTER/请 求 内 容 的 标 识 /CONTAINER/容器集合。 示例性的, 当请求内容发生改变的时候, 权威解析服务器还可 以接收请求内容提供设备在当前请求内容的标识对应的第一容器集 合出现更新后所发送的更新请求, 然后根据更新请求将请求内容的 标识和容器集合之间的对应关系中与当前请求内容的标识对应的第 一容器集合更新为更新后的容器集合, 其中, 更新请求包括请求内 容的标识和更新后的容器集合; 优选的, 在本实施例中, 更新请求的格式可以为兴趣包, 其中, 更新请求的兴趣包中的内容名的格式可以为:
/权威解析服务器标识 /UPDATE/请求内容的标识 /CONTAINER/ 更新后的容器集合。
405 : 权威解析服务器根据当前请求内容的标识对应的第一容器 集合和请求内容的标识获取请求内容; 可选的, 如图 6所示, 步骤 405可以包括:
601 : 权威解析服务器将当前请求内容的标识对应的第一容器集 合发送至路由节点;
602 : 路由节点接收权威解析服务器发送的当前请求内容的标识 对应的第一容器集合;
603 : 路由节点根据当前请求内容的标识对应的第一容器集合转 发请求内容的标识, 以获取请求内容; 具体的, 路由节点在接收到当前请求内容的标识对应的第一容 器集合之后, 将请求消息中的第二容器集合更新为第一容器集合, 并将更新后的请求消息进行转发, 具体转发过程与现有的 ICN 网络 技术类似, 不再赘述, 最终获取到请求内容, 并将该请求内容返回 至需要请求内容的设备, 从而完成整个路由过程。
可选的, 步骤 405 可以包括: 权威解析服务器根据当前请求内 容标识对应的第一容器集合转发请求内容的标识, 获取请求内容, 并将获取的请求内容返回至需要请求内容的设备, 从而完成整个路 由过程。 本发明的实施例提供一种路由方法, 通过固定的权威解析服务 器获取当前请求内容的标识对应的第一容器集合, 以使得能够根据 当前请求内容的标识对应的第一容器集合和请求内容的标识获取请 求内容, 不但可以提高获取容器集合的效率, 还提高名字解析*** 的可扩展性。
在图 1 -图 3 所示的实施例的基础上, 参见图 7 , 为本发明实施 例提供的另一种路由方法的详细流程图, 如前述的实施例, 第一设 备可以包括第一设备可以是需要请求内容的设备, 包括无线终端、 请求节点或者客户端等; 也可以是网络中的路由节点, 在本实施例 中, 第一设备设定为需要请求内容的设备, 为了能够清楚的说明方
案, 本实施例优选的为请求节点, 并不表示本实施例中的第一设备 仅限定于请求节点, 具体的方法过程可以包括:
701 : 请求节点获取用于请求内容的请求消息; 示例性的, 由于请求节点为需要请求内容的设备, 因此请求节 点可以通过直接生成请求消息的方式来获取该请求消息, 其中, 其 中, 请求消息包括请求内容的标识、 请求内容标识对应的第二容器 集合以及权威解析服务器的标识。
702 : 请求节点根据预设策略和权威解析服务器的标识向权威解 析服务器发送请求内容的标识; 示例性的, 请求节点可以判断请求消息中的第二容器集合是否 为空, 若不为空, 则请求节点将请求消息发送至路由节点, 以获取 请求内容, 具体过程与图 4所示的实施例类似, 在此不再赘述; 若为空, 则发送请求内容的标识至权威解析服务器, 具体在本 实施例中, 请求节点将请求消息直接发送至权威解析服务器。
703 : 权威解析服务器接收请求节点根据权威解析服务器的标识 所发送的请求内容的标识。
704 : 权威解析服务器根据请求内容的标识查找预先得到的当前 请求内容的标识和容器集合之间的对应关系, 获取当前请求内容的 标识对应的第一容器集合; 示例性的, 具体的过程如前述实施例所述, 在此不再赘述。
705 : 权威解析服务器根据当前请求内容的标识对应的第一容器 集合和请求内容的标识获取请求内容;
具体的, 本实施例中, 权威解析服务器可以将第一容器集合更 新至请求消息中, 然后将该请求消息直接转发或者发送至路由节点 进行转发, 以获取请求内容, 具体过程如前述实施例所述, 在此不 再赘述。
706 : 当权威服务器获取到请求内容之后, 将请求内容返回至请 求节点。
本发明的实施例提供一种路由方法, 通过固定的权威解析服务 器获取当前请求内容的标识对应的第一容器集合, 以使得能够根据 当前请求内容的标识对应的第一容器集合和请求内容的标识获取请 求内容, 不但可以提高获取容器集合的效率, 还提高名字解析*** 的可扩展性。
参见图 8 , 为本发明实施例提供的一种权威解析服务器 80 , 包 括: 接收单元 801 , 用于接收第一设备根据权威解析服务器 80的标 识所发送的请求内容的标识; 获取单元 802 ,用于根据所述请求内容的标识查找预先得到的当 前所述请求内容的标识和容器集合之间的对应关系, 获取当前所述 请求内容的标识对应的第一容器集合; 所述获取单元 802 还用于, 根据当前所述请求内容的标识对应 的第一容器集合和所述请求内容的标识获取所述请求内容。 示例性的, 接收单元 801 还用于, 可以预先接收所述请求内容 提供设备发送的注册请求, 所述注册请求包括所述请求内容的标识 和当前所述请求内容的标识对应的第一容器集合; 如图 9所示, 权威解析服务器 80还可以包括建立单元 803 , 用 于根据所述注册请求建立所述请求内容的标识和所述容器集合之间 的对应关系; 优选的, 在本实施例中, 注册请求的格式可以为兴趣包, 其中, 注册请求的兴趣包中的内容名的格式可以为:
/权 威 解 析 服 务 器 标 识 /REGISTER/请 求 内 容 的 标 识 /CONTAINER/容器集合。 示例性的, 当请求内容发生改变的时候, 接收单元 801 还可以 接收请求内容提供设备在当前请求内容的标识对应的第一容器集合 出现更新后所发送的更新请求; 如图 9所示, 权威解析服务器 80还可以包括更新单元 804 , 用
于根据更新请求将请求内容的标识和容器集合之间的对应关系中与 当前请求内容的标识对应的第一容器集合更新为更新后的容器集 合, 其中, 更新请求包括请求内容的标识和更新后的容器集合; 优选的, 在本实施例中, 更新请求的格式可以为兴趣包, 其中, 更新请求的兴趣包中的内容名的格式可以为:
/权威解析服务器标识 /UPDATE/请求内容的标识 /CONTAINER/ 更新后的容器集合。 可选的, 获取单元 802具体用于, 将当前所述请求内容的标识对应的第一容器集合发送至所述第 一设备, 以使得所述第一设备根据所述当前所述请求内容的标识对 应的第一容器集合转发所述请求内容的标识, 获取所述请求内容。 可选的, 获取单元 802 具体用于, 根据所述当前所述请求内容 标识对应的容器集合转发所述请求内容的标识, 获取所述请求内容。 本发明的实施例提供一种权威解析服务器 80 , 通过固定的权威 解析服务器 80获取当前请求内容的标识对应的第一容器集合, 以使 得能够根据当前请求内容的标识对应的第一容器集合和请求内容的 标识获取请求内容, 不但可以提高获取容器集合的效率, 还提高名 字解析***的可扩展性。
参见图 10 , 为本发明实施例提供的一种第一设备 100的装置示 意图, 第一设备 100 可以是需要请求内容的设备, 包括无线终端、 请求节点或者客户端等; 也可以是网络中的路由节点, 第一设备 100 可以包括: 发送单元 1001 , 用于根据预设策略和权威解析服务器的标识向 权威解析服务器发送请求内容的标识, 以使得权威解析服务器根据 请求内容的标识查找预先得到的当前请求内容的标识和容器集合之 间的对应关系, 获取当前请求内容的标识对应的第一容器集合; 接收单元 1002 , 用于接收权威解析服务器发送的当前请求内容 的标识对应的第一容器集合;
转发单元 1003 , 用于根据当前请求内容的标识对应的第一容器 集合转发请求内容的标识, 以获取请求内容。
具体的, 参见图 1 1 , 第一设备 100还可以包括: 获取单元 1004 , 用于获取用于请求内容的请求消息, 其中, 请求消息包括请求内容 的标识、 请求内容标识对应的第二容器集合以及权威解析服务器的 标识;
可选的, 第一设备 100为需要请求内容的设备, 包括无线终端、 请求节点或者客户端等的时候, 获取单元 1004可以通过直接生成请 求消息的方式来获取该请求消息;
相应的, 发送单元 1001 可以用于判断请求消息中的第二容器集 合是否为空, 若为空, 则发送请求内容的标识至权威解析服务器。
可选的, 第一设备 100 为网络中的路由节点的时候, 获取单元 1004可以通过接收需要请求内容的设备发送的请求消息来获取该请 求消息;
相应的,获取单元 1004用于根据请求内容的标识获取请求内容; 若获取失败, 则转发单元 1003用于, 通过请求消息包括的第二 容器集合转发请求消息以获取请求内容; 以及若转发单元 1003通过请求消息包括的第二容器集合转发请 求消息以获取请求内容失败, 则转发单元 1003用于, 发送请求内容 的标识至权威解析服务器。 示例性的, 在本实施例中, 发送单元 1001发送请求内容的标识 至权威解析服务器的具体方式可以是向权威解析服务器发送解析请 求, 解析请求包括权威解析服务器的标识和请求内容的标识, 其中, 权威解析服务器的标识表示权威解析服务器的路由信息;
优选的, 解析请求的格式可以为兴趣包, 解析请求兴趣包的格 式具体可以为:
/权威解析服务器的标识 /Re solve/请求内容的标识。 具体的, 转发单元 1003根据当前请求内容的标识对应的第一容 器集合转发请求内容的标识,以获取请求内容,可以是转发单元 1003
将请求消息中的第二容器集合更新为第一容器集合, 并将更新后的 请求消息进行转发, 具体转发过程与现有的 ICN 网络技术类似, 不 再赘述, 最终获取到请求内容, 并将该请求内容返回至需要请求内 容的设备, 从而完成整个路由过程。 本发明的实施例提供一种第一设备 100 ,通过固定的权威解析服 务器获取当前请求内容的标识对应的第一容器集合, 以使得能够根 据当前请求内容的标识对应的第一容器集合和请求内容的标识获取 请求内容, 不但可以提高获取容器集合的效率, 还提高名字解析系 统的可扩展性。
参见图 12 , 为本发明实施例提供的另一种第一设备 120的装置 示意图, 第一设备 120可以是需要请求内容的设备, 包括无线终端、 请求节点或者客户端等; 也可以是网络中的路由节点, 第一设备 120 可以包括: 发送单元 1201 , 用于根据预设策略和权威解析服务器的标识向 权威解析服务器发送请求内容的标识, 以使得权威解析服务器根据 请求内容的标识查找预先得到的当前请求内容的标识和容器集合之 间的对应关系, 获取当前请求内容的标识对应的第一容器集合, 并 且根据第一容器集合发送请求内容的标识以获取请求内容。 具体的, 参见图 13 , 第一设备 120还可以包括获取单元 1202 , 用于获取用于请求内容的请求消息, 其中, 请求消息包括请求内容 的标识、 请求内容标识对应的第二容器集合以及权威解析服务器的 标识; 可选的, 第一设备 120为需要请求内容的设备, 包括无线终端、 请求节点或者客户端等的时候, 获取单元 1202可以通过直接生成请 求消息的方式来获取该请求消息; 相应的, 发送单元 1201用于判断请求消息中的第二容器集合是 否为空, 若为空, 则发送请求内容的标识至权威解析服务器; 可选的, 第一设备 120 为网络中的路由节点的时候, 获取单元 1202可以通过接收需要请求内容的设备发送的请求消息来获取该请
求消息;
相应的, 获取单元 1202还用于根据请求内容的标识获取请求内 谷,
若获取失败, 则发送单元 1201用于, 通过请求消息包括的第二 容器集合发送请求内容的标识以获取请求内容; 以及若发送单元 1201通过请求消息包括的第二容器集合发送请 求内容的标识以获取请求内容失败, 则发送单元 1201用于, 发送请 求内容的标识至权威解析服务器。 本发明的实施例提供一种第一设备 120 ,通过固定的权威解析服 务器获取当前请求内容的标识对应的第一容器集合, 以使得能够根 据当前请求内容的标识对应的第一容器集合和请求内容的标识获取 请求内容, 不但可以提高获取容器集合的效率, 还提高名字解析系 统的可扩展性。
参见图 14 ,为本发明实施例提供的一种权威解析服务器 80的硬 件装置图, 包括至少一个通信单元 1401 , 至少一个处理器 1402 , 至 少一个存储器 1403和至少一个通信总线 1404 ,用于实现这些装置之 间的连接和相互通信。 其中,
通信总线 1404 可以是工业标准体系结构 ( Industry Standard Architecture , 简 称为 ISA ) 总线 、 外部设备互连 ( Peripheral Component , 简称为 PCI ) 总线或扩展工业标准体系结构 ( Extended Industry Standard Architecture , 简称为 EISA ) 总线等。 该总线 1404 可以分为地址总线、 数据总线、 控制总线等。 为便于表示, 图 14中 仅用一条粗线表示, 但并不表示仅有一根总线或一种类型的总线。 存储器 1403用于存储可执行程序代码, 该程序代码包括计算机 操作指令。 存储器 1403可能包含高速 RAM存储器, 也可能还包括 非易失性存储器 ( non-volatile memory ) , 例如至少一个磁盘存储器。 处理器 1402可能是一个中央处理器 ( Central Processing Unit , 简称为 CPU ) , 或者是特定集成电路( Application Specific Integrated
Circuit , 简称为 ASIC ) , 或者是被配置成实施本发明实施例的一个 或多个集成电路。
处理器 1402用于执行存储器 1403 中存储的可执行程序代码, 例如计算机程序来运行与可执行代码对应的程序。
通信单元 1401 , 用于接收第一设备根据权威解析服务器的标识 所发送的请求内容的标识;
处理器 1402 ,用于根据通信单元 1401请求内容的标识查找预先 得到的当前通信单元 1401请求内容的标识和容器集合之间的对应关 系, 获取当前通信单元 1401请求内容的标识对应的第一容器集合; 以及根据当前通信单元 1401请求内容的标识对应的第一容器集 合和通信单元 1401请求内容的标识获取通信单元 1401请求内容。
可选的, 处理器 1402用于, 指示通信单元 1401通信单元 1401 将当前通信单元 1401请求内容的标识对应的第一容器集合发送至通 信单元 1401 第一设备, 以使得通信单元 1401 第一设备根据通信单 元 1401 当前通信单元 1401 请求内容的标识对应的第一容器集合转 发通信单元 1401请求内容的标识, 获取通信单元 1401请求内容。
可选的, 处理器 1402用于, 根据通信单元 1401 当前通信单元 1401 请求内容标识对应的容 器集合转发通信单元 1401 请求内容的标识, 获取通信单元 1401 请 求内容。
示例性的, 通信单元 1401 还用于, 接收通信单元 1401 请求内 容提供设备发送的注册请求, 通信单元 1401注册请求包括通信单元 1401 请求内容的标识和当前通信单元 1401 请求内容的标识对应的 第一容器集合;
通信单元 1401处理器 1402还用于, 根据通信单元 1401注册请 求建立通信单元 1401 请求内容的标识和通信单元 1401 容器集合之 间的对应关系。 优选的, 通信单元 1401注册请求的格式为兴趣包, 其中, 通信 单元 1401注册请求的兴趣包中的内容名的格式为:
/权 威 解 析 服 务 器 标 识 /REGISTER/请 求 内 容 的 标 识 /CONTAINER/容器集合。 示例性的, 通信单元 1401 还用于, 接收通信单元 1401 请求内 容提供设备在当前通信单元 1401请求内容的标识对应的第一容器集 合出现更新后所发送的更新请求, 通信单元 1401 更新请求包括通信 单元 1401请求内容的标识和通信单元 1401 更新后的容器集合;
通信单元 1401处理器 1402还用于, 根据通信单元 1401 更新请 求将通信单元 1401请求内容的标识和容器集合之间的对应关系中与 当前通信单元 1401请求内容的标识对应的第一容器集合更新为通信 单元 1401 更新后的容器集合。 优选的, 通信单元 1401 更新请求的格式为兴趣包, 其中, 通信 单元 1401 更新请求的兴趣包中的内容名的格式为:
/权威解析服务器标识 /UPDATE/请求内容的标识 /CONTAINER/ 更新后的容器集合。 本发明的实施例提供一种权威解析服务器 80 , 通过固定的权威 解析服务器 80获取当前请求内容的标识对应的第一容器集合, 以使 得能够根据当前请求内容的标识对应的第一容器集合和请求内容的 标识获取请求内容, 不但可以提高获取容器集合的效率, 还提高名 字解析***的可扩展性。
参见图 15 , 为本发明实施例提供的一种第一设备 100的硬件装 置图, 包括: 至少一个通信单元 1501、 处理器 1502、 存储器 1503 和总线 1504 , 该至少一个通信单元 1501、 处理器 1502、 存储器 1503 通过总线 1504连接并完成相互间的通信。 该总线 1504 可以是工业标准体系结构 ( Industry Standard Architecture , 简 称为 ISA ) 总线 、 外部设备互连 ( Peripheral Component , 简称为 PCI ) 总线或扩展工业标准体系结构 ( Extended Industry Standard Architecture , 简称为 EISA ) 总线等。 该总线 1504 可以分为地址总线、 数据总线、 控制总线等。 为便于表示, 图 15 中 仅用一条粗线表示, 但并不表示仅有一根总线或一种类型的总线。
其中:
存储器 1 503用于存储可执行程序代码, 该程序代码包括计算机 操作指令。 存储器 1503可能包含高速 RAM存储器, 也可能还包括 非易失性存储器 ( non-volatile memory ) , 例如至少一个磁盘存储器。 存储设备中存储: 操作***、 应用程序, 用于实现本发明实施例的 程序代码。 操作***用于控制和实现处理单元执行的处理功能。 应 用程序包含程序代码, 如字处理软件、 email软件。 处理器 1 502可能是一个中央处理器 ( Central Processing Unit , 简称为 CPU ) , 或者是特定集成电路( Application Specific Integrated Circuit , 简称为 ASIC ) , 或者是被配置成实施本发明实施例的一个 或多个集成电路。 通信单元 1501 , 用于与外部设备的进行通信; 处理器 1502 , 用于根据预设策略和权威解析服务器的标识指示 通信单元 1501 向权威解析服务器发送请求内容的标识, 以使得权威 解析服务器根据请求内容的标识查找预先得到的当前请求内容的标 识和容器集合之间的对应关系, 获取当前请求内容的标识对应的第 一容器集合; 以及指示通信单元 1 501接收权威解析服务器发送的当前请求内 容的标识对应的第一容器集合; 以及指示通信单元 1 501根据当前请求内容的标识对应的第一容 器集合转发请求内容的标识, 以获取请求内容。
示例性的, 处理器 1502用于, 指示通信单元 1 501 向权威解析 服务器发送解析请求, 解析请求包括权威解析服务器的标识和请求 内容的标识, 其中, 权威解析服务器的标识表示权威解析服务器的 路由信息; 优选的, 解析请求的格式为兴趣包, 解析请求兴趣包的格式具 体为:
/权威解析服务器的标识 /Resolve /请求内容的标识。
示例性的,处理器 1 502还用于,获取用于请求内容的请求消息,
其中, 请求消息包括请求内容的标识、 请求内容标识对应的第二容 器集合以及权威解析服务器的标识; 相应的, 处理器 1502用于, 判断请求消息中的第二容器集合是 否为空, 若为空, 则指示通信单元 1 501发送请求内容的标识至权威 解析服务器; 或者, 根据请求内容的标识获取请求内容; 若获取失败, 则指示通信单元 1501通过请求消息包括的第二容 器集合转发请求消息以获取请求内容; 若通过请求消息包括的第二容器集合转发请求消息以获取请求 内容失败, 则指示通信单元 1 501发送请求内容的标识至权威解析服 务器。 本发明的实施例提供一种第一设备 100 ,通过固定的权威解析服 务器获取当前请求内容的标识对应的第一容器集合, 以使得能够根 据当前请求内容的标识对应的第一容器集合和请求内容的标识获取 请求内容, 不但可以提高获取容器集合的效率, 还提高名字解析系 统的可扩展性。
参见图 1 6 , 为本发明实施例提供的另一种第一设备 120的硬件 装置图, 包括: 至少一个通信单元 1 601、 处理器 1602、 存储器 1603 和总线 1604 , 该至少一个通信单元 1 601、 处理器 1602、 存储器 1 603 通过总线 1604连接并完成相互间的通信。 该总线 1604 可以是工业标准体系结构 ( Industry Standard Architecture , 简 称为 ISA ) 总线 、 外部设备互连 ( Peripheral Component , 简称为 PCI ) 总线或扩展工业标准体系结构 ( Extended Industry Standard Architecture , 简称为 EISA ) 总线等。 该总线 1604 可以分为地址总线、 数据总线、 控制总线等。 为便于表示, 图 16中 仅用一条粗线表示, 但并不表示仅有一根总线或一种类型的总线。 其中:
存储器 1 603用于存储可执行程序代码, 该程序代码包括计算机 操作指令。 存储器 1603可能包含高速 RAM存储器, 也可能还包括 非易失性存储器 ( non-volatile memory ) , 例如至少一个磁盘存储器。 存储设备中存储: 操作***、 应用程序, 用于实现本发明实施例的 程序代码。 操作***用于控制和实现处理单元执行的处理功能。 应 用程序包含程序代码, 如字处理软件、 email软件。 处理器 1 602可能是一个中央处理器 ( Central Processing Unit , 简称为 CPU ) , 或者是特定集成电路( Application Specific Integrated Circuit , 简称为 ASIC ) , 或者是被配置成实施本发明实施例的一个 或多个集成电路。 通信单元 1601 , 用于与外部设备的进行通信; 处理器 1602 , 用于根据预设策略和权威解析服务器的标识指示 通信单元 1601 向权威解析服务器发送请求内容的标识, 以使得权威 解析服务器根据请求内容的标识查找预先得到的当前请求内容的标 识和容器集合之间的对应关系, 获取当前请求内容的标识对应的第 一容器集合, 并且根据第一容器集合发送请求内容的标识以获取请 求内容。
示例性的,处理器 1 602还用于,获取用于请求内容的请求消息 , 其中, 请求消息包括请求内容的标识、 请求内容标识对应的第二容 器集合以及权威解析服务器的标识; 相应的, 处理器 1 602用于判断请求消息中的第二容器集合是否 为空, 若为空, 则指示通信单元 1601发送请求内容的标识至权威解 析服务器; 或者, 根据请求内容的标识获取请求内容; 若获取失败, 则指示通信单元 1601通过请求消息包括的第二容 器集合发送请求内容的标识以获取请求内容; 若通过请求消息包括的第二容器集合发送请求内容的标识以获 取请求内容失败, 则指示通信单元 1601发送请求内容的标识至权威
解析服务器。 本发明的实施例提供一种第一设备 120 ,通过固定的权威解析服 务器获取当前请求内容的标识对应的第一容器集合, 以使得能够根 据当前请求内容的标识对应的第一容器集合和请求内容的标识获取 请求内容, 不但可以提高获取容器集合的效率, 还提高名字解析系 统的可扩展性。
参见图 17 , 为本发明实施例提供的一种路由*** 170 , 包括前 述实施例的任一权威解析服务器 80以及前述实施例的任一第一设备 100或 120。 本发明的实施例提供一种路由*** 170 ,通过固定的权威解析服 务器 80获取当前请求内容的标识对应的第一容器集合, 以使得能够 根据当前请求内容的标识对应的第一容器集合和请求内容的标识获 取请求内容, 不但可以提高获取容器集合的效率, 还提高名字解析 ***的可扩展性。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的***, 装置和方法, 可以通过其它的方式实现。 例如, 以上所描述的装置 实施例仅仅是示意性的, 例如, 所述单元的划分, 仅仅为一种逻辑 功能划分, 实际实现时可以有另外的划分方式, 例如多个单元或组 件可以结合或者可以集成到另一个***, 或一些特征可以忽略, 或 不执行。 另一点, 所显示或讨论的相互之间的耦合或直接耦合或通 信连接可以是通过一些接口, 装置或单元的间接耦合或通信连接, 可以是电性, 机械或其它的形式。 所述作为分离部件说明的单元可以是或者也可以不是物理上分 开的, 作为单元显示的部件可以是或者也可以不是物理单元, 即可 以位于一个地方, 或者也可以分布到多个网络单元上。 可以根据实 际的需要选择其中的部分或者全部单元来实现本实施例方案的 目 的。 另外, 在本发明各个实施例中的各功能单元可以集成在一个处 理单元中, 也可以是各个单元单独物理包括, 也可以两个或两个以
上单元集成在一个单元中。 上述集成的单元既可以采用硬件的形式 实现, 也可以采用硬件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元, 可以存储在一 个计算机可读取存储介质中。 上述软件功能单元存储在一个存储介 质中, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等) 执行本发明各个实施例所述方法的部分 步骤。 而前述的存储介质包括: U 盘、 移动硬盘、 只读存储器 ( Read-Only Memory , 简称 ROM )、随机存取存储器( Random Access Memory , 简称 RAM )、 磁碟或者光盘等各种可以存储程序代码的介 质。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术人员应当理解: 其依然可以对前述各实施例所记 载的技术方案进行修改, 或者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技术方案的本质脱离本发明各实 施例技术方案的精神和范围。
Claims
1、 一种路由方法, 其特征在于, 包括:
权威解析服务器接收第一设备根据权威解析服务器的标识所发送的 请求内容的标识;
所述权威解析服务器根据所述请求内容的标识查找预先得到的当前 所述请求内容的标识和容器集合之间的对应关系,获取当前所述请求内容 的标识对应的第一容器集合;
所述权威解析服务器根据当前所述请求内容的标识对应的第一容器 集合和所述请求内容的标识获取所述请求内容。
2、 根据权利要求 1所述的方法, 其特征在于, 所述权威解析服务器 根据当前所述请求内容的标识对应的第一容器集合和所述请求内容的标 识获取所述请求内容, 包括:
所述权威解析服务器将当前所述请求内容的标识对应的第一容器集 合发送至所述第一设备, 以使得所述第一设备根据所述当前所述请求内容 的标识对应的第一容器集合转发所述请求内容的标识, 获取所述请求内 谷。
3、 根据权利要求 1所述的方法, 其特征在于, 所述权威解析服务器 根据当前所述请求内容的标识对应的第一容器集合和所述请求内容的标 识获取所述请求内容, 包括:
所述权威解析服务器根据所述当前所述请求内容标识对应的容器集 合转发所述请求内容的标识, 获取所述请求内容。
4、 根据权利要求 1-3任一项所述的方法, 其特征在于, 还包括: 所述权威解析服务器接收所述请求内容提供设备发送的注册请求,所 述注册请求包括所述请求内容的标识和当前所述请求内容的标识对应的 第一容器集合;
所述权威解析服务器根据所述注册请求建立所述请求内容的标识和 所述容器集合之间的对应关系。
5、 根据权利要求 4所述的方法, 其特征在于, 所述注册请求的格式 为兴趣包, 其中, 所述注册请求的兴趣包中的内容名的格式为:
/所述权威解析服务器标识 /REGISTER/所述请求内容的标识 /CONTAINER/所述容器集合。
6、 根据权利要求 1-5任一项所述的方法, 其特征在于, 还包括:
所述权威解析服务器接收所述请求内容提供设备在当前所述请求内 容的标识对应的第一容器集合出现更新后所发送的更新请求,所述更新请 求包括所述请求内容的标识和所述更新后的容器集合;
所述权威解析服务器根据所述更新请求将所述请求内容的标识和容 器集合之间的对应关系中与当前所述请求内容的标识对应的第一容器集 合更新为所述更新后的容器集合。
7、 根据权利要求 6所述的方法, 其特征在于, 所述更新请求的格式 为兴趣包, 其中, 所述更新请求的兴趣包中的内容名的格式为:
/所述权威解析服务器标识 /UPDATE/所述请求内 容的标识 /CONTAINER/所述更新后的容器集合。
8、 一种路由方法, 其特征在于, 包括:
第一设备根据预设策略和权威解析服务器的标识向所述权威解析服 务器发送请求内容的标识, 以使得所述权威解析服务器根据所述请求内容 的标识查找预先得到的当前所述请求内容的标识和容器集合之间的对应 关系, 获取当前所述请求内容的标识对应的第一容器集合;
所述第一设备接收所述权威解析服务器发送的当前所述请求内容的 标识对应的第一容器集合;
所述第一设备根据所述当前所述请求内容的标识对应的第一容器集 合转发所述请求内容的标识, 以获取所述请求内容。
9、 根据权利要求 8所述的方法, 其特征在于, 第一设备根据预设策 略和权威解析服务器的标识向所述权威解析服务器发送请求内容的标识, 包括:
所述第一设备向所述权威解析服务器发送解析请求,所述解析请求包 括所述权威解析服务器的标识和所述请求内容的标识, 其中, 所述权威解 析服务器的标识表示所述权威解析服务器的路由信息。
10、 根据权利要求 9所述的方法, 其特征在于, 所述解析请求的格式 为兴趣包, 所述解析请求兴趣包的格式具体为:
/所述权威解析服务器的标识 /Resolve /所述请求内容的标识。
11、 根据权利要求 8所述的方法, 其特征在于, 在所述第一设备根据 预设策略和权威解析服务器的标识向所述权威解析服务器发送请求内容 的标识之前, 还包括:
所述第一设备获取用于请求内容的请求消息, 其中, 所述请求消息包 括所述请求内容的标识、所述请求内容标识对应的第二容器集合以及所述 权威解析服务器的标识;
相应的,所述第一设备根据预设策略和权威解析服务器的标识向所述 权威解析服务器发送请求内容的标识, 包括:
所述第一设备判断所述请求消息中的第二容器集合是否为空, 若为 空, 则发送所述请求内容的标识至所述权威解析服务器;
或者,
所述第一设备根据所述请求内容的标识获取所述请求内容;
若获取失败,则通过所述请求消息包括的第二容器集合转发所述请求 消息以获取所述请求内容;
若通过所述请求消息包括的第二容器集合转发所述请求消息以获取 所述请求内容失败, 则发送所述请求内容的标识至所述权威解析服务器。
12、 一种路由方法, 其特征在于, 包括:
所述第一设备根据预设策略和权威解析服务器的标识向所述权威解 析服务器发送请求内容的标识, 以使得所述权威解析服务器根据所述请求 内容的标识查找预先得到的当前所述请求内容的标识和容器集合之间的 对应关系, 获取当前所述请求内容的标识对应的第一容器集合, 并且根据 所述第一容器集合发送所述请求内容的标识以获取所述请求内容。
13、 根据权利要求 12所述的方法, 其特征在于, 在所述第一设备根 据预设策略和权威解析服务器的标识向所述权威解析服务器发送请求内 容的标识之前, 还包括:
所述第一设备获取用于请求内容的请求消息, 其中, 所述请求消息包 括所述请求内容的标识、所述请求内容标识对应的第二容器集合以及所述 权威解析服务器的标识;
相应的,所述第一设备根据预设策略和权威解析服务器的标识向所述 权威解析服务器发送请求内容的标识, 包括:
所述第一设备判断所述请求消息中的第二容器集合是否为空, 若为 空, 则发送所述请求内容的标识至所述权威解析服务器;
或者,
所述第一设备根据所述请求内容的标识获取所述请求内容;
若获取失败,则通过所述请求消息包括的第二容器集合发送所述请求 内容的标识以获取所述请求内容;
若通过所述请求消息包括的第二容器集合发送所述请求内容的标识 以获取所述请求内容失败,则发送所述请求内容的标识至所述权威解析服 务器。
14、 一种权威解析服务器, 其特征在于, 包括:
接收单元,用于接收第一设备根据权威解析服务器的标识所发送的请 求内容的标识;
获取单元,用于根据所述请求内容的标识查找预先得到的当前所述请 求内容的标识和容器集合之间的对应关系,获取当前所述请求内容的标识 对应的第一容器集合;
所述获取单元还用于,根据当前所述请求内容的标识对应的第一容器 集合和所述请求内容的标识获取所述请求内容。
15、 根据权利要求 14所述的权威解析服务器, 其特征在于, 所述获 取单元具体用于,
将当前所述请求内容的标识对应的第一容器集合发送至所述第一设 备,以使得所述第一设备根据所述当前所述请求内容的标识对应的第一容 器集合转发所述请求内容的标识, 获取所述请求内容。
16、 根据权利要求 14所述的权威解析服务器, 其特征在于, 所述获 取单元具体用于,
所述权威解析服务器根据所述当前所述请求内容标识对应的容器集 合转发所述请求内容的标识, 获取所述请求内容。
17、根据权利要求 14- 16任一项所述的权威解析服务器,其特征在于, 所述接收单元还用于, 接收所述请求内容提供设备发送的注册请求, 所述 注册请求包括所述请求内容的标识和当前所述请求内容的标识对应的第 一容器集合;
还包括建立单元,用于根据所述注册请求建立所述请求内容的标识和 所述容器集合之间的对应关系。
18、 根据权利要求 17所述的权威解析服务器, 其特征在于, 所述注 册请求的格式为兴趣包, 其中, 所述注册请求的兴趣包中的内容名的格式 为:
/所述权威解析服务器标识 /REGISTER/所述请求内容的标识 /CONTAINER/所述容器集合。
19、根据权利要求 14-18任一项所述的权威解析服务器,其特征在于, 所述接收单元还用于,
接收所述请求内容提供设备在当前所述请求内容的标识对应的第一 容器集合出现更新后所发送的更新请求,所述更新请求包括所述请求内容 的标识和所述更新后的容器集合;
还包括更新单元,用于根据所述更新请求将所述请求内容的标识和容 器集合之间的对应关系中与当前所述请求内容的标识对应的第一容器集 合更新为所述更新后的容器集合。
20、 根据权利要求 19所述的权威解析服务器, 其特征在于, 所述更新请求的格式为兴趣包, 其中, 所述更新请求的兴趣包中的内 容名的格式为:
/所述权威解析服务器标识 /UPDATE/所述请求内 容的标识 /CONTAINER/所述更新后的容器集合。
21、 一种第一设备, 其特征在于, 包括:
发送单元,用于根据预设策略和权威解析服务器的标识向所述权威解 析服务器发送请求内容的标识, 以使得所述权威解析服务器根据所述请求 内容的标识查找预先得到的当前所述请求内容的标识和容器集合之间的 对应关系, 获取当前所述请求内容的标识对应的第一容器集合;
接收单元,用于接收所述权威解析服务器发送的当前所述请求内容的 标识对应的第一容器集合;
转发单元,用于根据所述当前所述请求内容的标识对应的第一容器集 合转发所述请求内容的标识, 以获取所述请求内容。
22、 根据权利要求 21所述的设备, 其特征在于, 所述发送单元用于 向所述权威解析服务器发送解析请求,所述解析请求包括所述权威解析服 务器的标识和所述请求内容的标识, 其中, 所述权威解析服务器的标识表 示所述权威解析服务器的路由信息。
23、 根据权利要求 22所述的设备, 其特征在于, 所述解析请求的格 式为兴趣包, 所述解析请求兴趣包的格式具体为:
/所述权威解析服务器的标识 /Resolve /所述请求内容的标识。
24、 根据权利要求 21所述的设备, 其特征在于, 还包括获取单元, 用于获取用于请求内容的请求消息, 其中, 所述请求消息包括所述请求内 容的标识、所述请求内容标识对应的第二容器集合以及所述权威解析服务 器的标识;
相应的,所述发送单元用于判断所述请求消息中的第二容器集合是否 为空, 若为空, 则发送所述请求内容的标识至所述权威解析服务器; 或者, 所述获取单元用于根据所述请求内容的标识获取所述请求内 谷,
若获取失败, 则所述转发单元用于, 通过所述请求消息包括的第二容 器集合转发所述请求消息以获取所述请求内容;
以及若所述转发单元通过所述请求消息包括的第二容器集合转发所 述请求消息以获取所述请求内容失败, 则所述转发单元用于, 发送所述请 求内容的标识至所述权威解析服务器。
25、 一种第一设备, 其特征在于, 包括:
发送单元,用于根据预设策略和权威解析服务器的标识向所述权威解 析服务器发送请求内容的标识, 以使得所述权威解析服务器根据所述请求 内容的标识查找预先得到的当前所述请求内容的标识和容器集合之间的 对应关系, 获取当前所述请求内容的标识对应的第一容器集合, 并且根据 所述第一容器集合发送所述请求内容的标识以获取所述请求内容。
26、 根据权利要求 25所述的设备, 其特征在于, 还包括:
获取单元, 用于获取用于请求内容的请求消息, 其中, 所述请求消息 包括所述请求内容的标识、所述请求内容标识对应的第二容器集合以及所 述权威解析服务器的标识;
相应的,所述发送单元用于判断所述请求消息中的第二容器集合是否 为空, 若为空, 则发送所述请求内容的标识至所述权威解析服务器; 或者,
所述获取单元还用于根据所述请求内容的标识获取所述请求内容; 若获取失败, 则所述发送单元用于, 通过所述请求消息包括的第二容 器集合发送所述请求内容的标识以获取所述请求内容;
以及若所述发送单元通过所述请求消息包括的第二容器集合发送所 述请求内容的标识以获取所述请求内容失败, 则所述发送单元用于, 发送
所述请求内容的标识至所述权威解析服务器。
27、 一种权威解析服务器, 其特征在于, 包括:
通信单元,用于接收第一设备根据权威解析服务器的标识所发送的请 求内容的标识;
处理器,用于根据所述请求内容的标识查找预先得到的当前所述请求 内容的标识和容器集合之间的对应关系,获取当前所述请求内容的标识对 应的第一容器集合;
以及根据当前所述请求内容的标识对应的第一容器集合和所述请求 内容的标识获取所述请求内容。
28、 根据权利要求 27所述的权威解析服务器, 其特征在于, 所述处 理器用于,
指示所述通信单元将当前所述请求内容的标识对应的第一容器集合 发送至所述第一设备, 以使得所述第一设备根据所述当前所述请求内容的 标识对应的第一容器集合转发所述请求内容的标识, 获取所述请求内容。
29、 根据权利要求 27所述的权威解析服务器, 其特征在于, 所述处 理器用于,
根据所述当前所述请求内容标识对应的容器集合转发所述请求内容 的标识, 获取所述请求内容。
30、根据权利要求 27-29任一项所述的权威解析服务器,其特征在于, 所述通信单元还用于, 接收所述请求内容提供设备发送的注册请求, 所述 注册请求包括所述请求内容的标识和当前所述请求内容的标识对应的第 一容器集合;
所述处理器还用于,根据所述注册请求建立所述请求内容的标识和所 述容器集合之间的对应关系。
31、 根据权利要求 30所述的权威解析服务器, 其特征在于, 所述注 册请求的格式为兴趣包, 其中, 所述注册请求的兴趣包中的内容名的格式 为:
/所述权威解析服务器标识 /REGISTER/所述请求内容的标识 /CONTAINER/所述容器集合。
32、根据权利要求 27-31任一项所述的权威解析服务器,其特征在于, 所述通信单元还用于,接收所述请求内容提供设备在当前所述请求内容的
标识对应的第一容器集合出现更新后所发送的更新请求,所述更新请求包 括所述请求内容的标识和所述更新后的容器集合;
所述处理器还用于,根据所述更新请求将所述请求内容的标识和容器 集合之间的对应关系中与当前所述请求内容的标识对应的第一容器集合 更新为所述更新后的容器集合。
33、 根据权利要求 31所述的权威解析服务器, 其特征在于, 所述更 新请求的格式为兴趣包, 其中, 所述更新请求的兴趣包中的内容名的格式 为:
/所述权威解析服务器标识 /UPDATE/所述请求内 容的标识 /CONTAINER/所述更新后的容器集合。
34、 一种第一设备, 其特征在于, 包括:
通信单元, 用于与外部设备的进行通信;
处理器,用于根据预设策略和权威解析服务器的标识指示所述通信单 元向所述权威解析服务器发送请求内容的标识, 以使得所述权威解析服务 器根据所述请求内容的标识查找预先得到的当前所述请求内容的标识和 容器集合之间的对应关系,获取当前所述请求内容的标识对应的第一容器 以及指示所述通信单元接收所述权威解析服务器发送的当前所述请 求内容的标识对应的第一容器集合;
以及指示所述通信单元根据所述当前所述请求内容的标识对应的第 一容器集合转发所述请求内容的标识, 以获取所述请求内容。
35、 根据权利要求 34所述的设备, 其特征在于, 所述处理器用于, 指示所述通信单元向所述权威解析服务器发送解析请求,所述解析请求包 括所述权威解析服务器的标识和所述请求内容的标识, 其中, 所述权威解 析服务器的标识表示所述权威解析服务器的路由信息。
36、 根据权利要求 35所述的设备, 其特征在于, 所述所述解析请求 的格式为兴趣包, 所述解析请求兴趣包的格式具体为:
/所述权威解析服务器的标识 /Resolve /所述请求内容的标识。
37、 根据权利要求 34所述的设备, 其特征在于, 所述处理器还用于, 获取用于请求内容的请求消息, 其中, 所述请求消息包括所述请求内容的 标识、所述请求内容标识对应的第二容器集合以及所述权威解析服务器的
标识;
相应的, 所述处理器用于, 判断所述请求消息中的第二容器集合是否 为空, 若为空, 则指示所述通信单元发送所述请求内容的标识至所述权威 解析服务器;
或者,
根据所述请求内容的标识获取所述请求内容;
若获取失败,则指示所述通信单元通过所述请求消息包括的第二容器 集合转发所述请求消息以获取所述请求内容;
若通过所述请求消息包括的第二容器集合转发所述请求消息以获取 所述请求内容失败,则指示所述通信单元发送所述请求内容的标识至所述 权威解析服务器。
38、 一种第一设备, 其特征在于, 包括:
通信单元, 用于与外部设备的进行通信;
处理器,用于根据预设策略和权威解析服务器的标识指示所述通信单 元向所述权威解析服务器发送请求内容的标识, 以使得所述权威解析服务 器根据所述请求内容的标识查找预先得到的当前所述请求内容的标识和 容器集合之间的对应关系,获取当前所述请求内容的标识对应的第一容器 集合,并且根据所述第一容器集合发送所述请求内容的标识以获取所述请 求内容。
39、 根据权利要求 38所述的设备, 其特征在于,
所述处理器还用于, 获取用于请求内容的请求消息, 其中, 所述请求 消息包括所述请求内容的标识、所述请求内容标识对应的第二容器集合以 及所述权威解析服务器的标识;
相应的,所述处理器用于判断所述请求消息中的第二容器集合是否为 空, 若为空, 则指示所述通信单元发送所述请求内容的标识至所述权威解 析服务器;
或者,
根据所述请求内容的标识获取所述请求内容;
若获取失败,则指示所述通信单元通过所述请求消息包括的第二容器 集合发送所述请求内容的标识以获取所述请求内容;
若通过所述请求消息包括的第二容器集合发送所述请求内容的标识
以获取所述请求内容失败,则指示所述通信单元发送所述请求内容的标识 至所述权威解析服务器。
40、 一种路由***, 其特征在于, 包括如权利要求 14-20和权利要求 27-33 任一项所述的权威解析服务器以及如权利要求 21 -26 和权利要求 34-39任一项所述的第一设备。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2013/084972 WO2015051517A1 (zh) | 2013-10-10 | 2013-10-10 | 一种路由方法、设备及*** |
CN201380001584.8A CN104756465B (zh) | 2013-10-10 | 2013-10-10 | 一种路由方法、设备及*** |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2013/084972 WO2015051517A1 (zh) | 2013-10-10 | 2013-10-10 | 一种路由方法、设备及*** |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015051517A1 true WO2015051517A1 (zh) | 2015-04-16 |
Family
ID=52812439
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2013/084972 WO2015051517A1 (zh) | 2013-10-10 | 2013-10-10 | 一种路由方法、设备及*** |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104756465B (zh) |
WO (1) | WO2015051517A1 (zh) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107770298B (zh) * | 2017-09-30 | 2020-07-28 | 华为技术有限公司 | 传输数据的方法和装置 |
CN110807160A (zh) * | 2018-07-20 | 2020-02-18 | 华为技术有限公司 | 内容获取方法及装置 |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102984223A (zh) * | 2012-11-14 | 2013-03-20 | 华为技术有限公司 | 一种消息发送方法、网络设备及*** |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6453339B1 (en) * | 1999-01-20 | 2002-09-17 | Computer Associates Think, Inc. | System and method of presenting channelized data |
JP2008108096A (ja) * | 2006-10-26 | 2008-05-08 | Sony Corp | コンテンツ共有システム、コンテンツ管理サーバ、クライアント機器、コンテンツ管理方法およびコンテンツ取得方法 |
-
2013
- 2013-10-10 CN CN201380001584.8A patent/CN104756465B/zh active Active
- 2013-10-10 WO PCT/CN2013/084972 patent/WO2015051517A1/zh active Application Filing
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102984223A (zh) * | 2012-11-14 | 2013-03-20 | 华为技术有限公司 | 一种消息发送方法、网络设备及*** |
Non-Patent Citations (2)
Title |
---|
WANG, RONG ET AL.: "Container Resolution System in ICN draft-ietf-icnrg-icn-container-name-system-00", IETF INTERNET -DRAFT, 17 February 2013 (2013-02-17) * |
YAO, CHUNFENG ET AL.: "Container Assisted Naming and Routing for ICN draft-ietf-icnrg-namlog-routing-00", IETF INTERNET -DRAFT, 17 February 2013 (2013-02-17) * |
Also Published As
Publication number | Publication date |
---|---|
CN104756465B (zh) | 2018-12-07 |
CN104756465A (zh) | 2015-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6386468B2 (ja) | Ipルーティング互換のためのネットワークノードのパケットフォーマットと通信方法及びそのネットワークノード | |
JP5551247B2 (ja) | マルチnat64環境のための方法及びホストノード | |
EP2993853B1 (en) | Method for routing and forwarding, and network controller | |
TW201212603A (en) | Enabling IPV6 mobility with NAT64 | |
CN101325552B (zh) | 访问请求的三角转发方法和glb服务器 | |
WO2011147359A1 (zh) | 获取介质访问控制地址的方法、装置和*** | |
WO2014190791A1 (zh) | 一种网关设备身份设置的方法及管理网关设备 | |
WO2014047913A1 (zh) | 一种双栈终端访问服务器的方法、终端和*** | |
WO2018090677A1 (zh) | 一种nf组件异常的处理方法、设备及*** | |
US11075998B2 (en) | Architecture, method and apparatus for realizing communication between network functions | |
RU2642833C2 (ru) | Способ и устройство для обеспечения медиаресурса | |
KR20120069744A (ko) | 데이터 전송 방법, 시스템 및 장치 | |
CN109495369B (zh) | 一种报文转发方法及装置 | |
WO2015180184A1 (zh) | 一种传输数据的方法、装置及*** | |
WO2013044691A1 (zh) | 基于lisp的映射请求响应、信息获取方法及相应设备 | |
CN104426816B (zh) | 一种虚拟机通信方法及装置 | |
JP2008541632A (ja) | 動的アドレスマッピング | |
WO2015051517A1 (zh) | 一种路由方法、设备及*** | |
JP2003078541A (ja) | ネットワーク接続装置、ネットワーク接続システム及びネットワーク接続方法 | |
WO2014166078A1 (zh) | 数据发送处理方法及路由器 | |
EP2375692A2 (en) | Apparatus and method for registering node and searching for floating internet protocol address using distributed network | |
CN110621051A (zh) | 路由方法及装置 | |
US20140025775A1 (en) | Content delivery system and method based on information-centric networking | |
WO2011072549A1 (zh) | 非lisp站点与lisp站点通信的方法、装置及*** | |
CN115225606A (zh) | 一种容器云平台的跨网络协议的域名访问方法和*** |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13895172 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 13895172 Country of ref document: EP Kind code of ref document: A1 |