WO2017024542A1 - 一种数据传输的方法、设备及*** - Google Patents

一种数据传输的方法、设备及*** Download PDF

Info

Publication number
WO2017024542A1
WO2017024542A1 PCT/CN2015/086729 CN2015086729W WO2017024542A1 WO 2017024542 A1 WO2017024542 A1 WO 2017024542A1 CN 2015086729 W CN2015086729 W CN 2015086729W WO 2017024542 A1 WO2017024542 A1 WO 2017024542A1
Authority
WO
WIPO (PCT)
Prior art keywords
interest
identifier
destination device
data content
destination
Prior art date
Application number
PCT/CN2015/086729
Other languages
English (en)
French (fr)
Inventor
诸华林
靳维生
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201580025567.7A priority Critical patent/CN107210995A/zh
Priority to PCT/CN2015/086729 priority patent/WO2017024542A1/zh
Publication of WO2017024542A1 publication Critical patent/WO2017024542A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Definitions

  • the present invention relates to the field of data transmission technologies, and in particular, to a data transmission method, device and system.
  • ICN Information-centric networking
  • the ICN network has two core data packets, namely an interest package and a content data packet responding to the interest package, referred to as a data package, which contains the data content requested by the interest package.
  • Each ICN node in the information center network stores a Forwarding Information Base (FIB) and a Pending Interest Table (PIT).
  • the FIB is used to query the next forwarding node of the interest packet, and the PIT is used to query.
  • the next transit node of the data packet (the principle is to record the port that receives the interest packet, record the port to the PIT, and the data packet is returned to the data request end according to the original path sent by the interest packet through the port.
  • Each ICN node further includes a Content Store (CS) module.
  • CS Content Store
  • Figure 1 is used as an example to describe the data transmission process in ICN:
  • Step 1 ICN Node 1 sends an interest packet request for the required content.
  • Step 2 After receiving the interest packet, the ICN node 2 cannot provide the required content because the node does not have the requested content, and the ICN node 2 determines to query the FIB table to forward the interest packet to the next node ICN node 3, and In the ICN node 2, the original path, that is, the port on which the ICN node 2 receives the interest packet, is recorded in the PIT table.
  • Step 3 After receiving the interest packet, the ICN node 3 also records the original path into the PIT table. Since the ICN node 3 itself stores the requested content, the PIT table is queried to find the original path as the ICN node 2, and the content is returned to the ICN node 2 in the form of a data packet.
  • Step 4 After receiving the data packet, the ICN node 2 caches the received content, that is, stores it into its own CS module. Then ICN node 2 will query its own PIT table to find the original The path is ICN node 1, and finally the data packet is sent to ICN node 1. This completes a data transfer process.
  • an interest package can only request one data packet, so that when there are many interest packets, a large amount of transmission resources are wasted.
  • the embodiment of the present invention provides a data transmission method, which can request multiple data contents through one interest package, thereby improving resource utilization.
  • Corresponding devices and systems are also provided by embodiments of the present invention.
  • a first aspect of the present invention provides a data transmission method, where the method is applied to an information center network ICN, where the ICN includes a source device, a transit device, and a destination device, where the source device directly communicates with the destination device, or The source device and the destination device are indirectly connected by using the relay device, and the method includes:
  • the source device sends the interest packet, and the interest packet directly reaches the destination device or reaches the destination device via the transit device, where the interest identifier set is used to indicate that the destination device returns to the source device.
  • the interest identifier set is used to indicate that the destination device returns to the source device.
  • the source device receives the at least two data content.
  • the interest identifier set includes at least two interest identifiers, and the at least two interest identifiers are in one-to-one correspondence with the at least two data content;
  • the at least two interest identifiers are used to instruct the destination device to return data content corresponding to each of the interest identifiers to the source device.
  • the interest identifier set includes an extended interest identifier, where the extended interest identifier includes a name identifier and at least two content indication identifiers;
  • the name identifier and the at least two content indication identifiers are used to indicate that the destination device returns, to the source device, a number corresponding to each content indication identifier in the data content corresponding to the name identifier. According to the content.
  • the interest identifier set includes an interest identifier and a start location identifier and an end location identifier of the data content corresponding to the identifier of interest;
  • the interest identifier, the start location identifier, and the end location identifier are used to indicate that the destination device returns to the source device from the location indicated by the start location identifier to the end location identifier. At least two data contents corresponding to the interest identifier ended at the location.
  • a second aspect of the present invention provides a data transmission method, where the method is applied to an information center network (ICN), where the ICN includes a source device, a transit device, and a first destination device, where the source device is directly connected to the first destination device. a communication connection, or the source device is indirectly in communication with the first destination device through the relay device, and the method includes:
  • ICN information center network
  • the first destination device Receiving, by the first destination device, a packet of interest in a frame format, where the interest packet includes an interest identifier set, where the interest identifier set is used to indicate acquiring at least two data content that is of interest to the user;
  • the first destination device searches for part or all of the at least two data contents according to the interest identifier set
  • the first destination device transmits some or all of the at least two data contents.
  • the ICN further includes a second destination device, where the second destination device directly communicates with the first destination device, or the second destination device Indirectly communicating with the first destination device through the relay device, the method further includes:
  • the first destination device generates a new interest package when only part of the data content of the at least two data contents is found, the new interest package includes a new interest identifier set, and the new interest identifier set And means for instructing acquiring, among the at least two pieces of data content, the remaining data content except the part of the data content;
  • the first destination device sends the new interest packet, and the new interest packet directly reaches the second destination device or reaches the second destination device via the transit device, where the new interest identifier set is used. Instructing the second destination device to return some or all of the remaining data content to the source device.
  • the interest identifier set includes at least two interest identifiers, and the at least two interest identifiers are in one-to-one correspondence with the at least two data contents;
  • the first destination device searches for data content corresponding to each of the partial or all of the interest identifiers according to part or all of the at least two interest identifiers.
  • the interest identifier set includes an extended interest identifier, where the extended interest identifier includes at least two content indication identifiers ;
  • the content indication identifier from the part or all of the data content corresponding to the name identifier according to the name identifier and some or all of the at least two content identifiers Corresponding data content.
  • the interest identifier set includes an interest identifier and a start location identifier and an end of the data content corresponding to the interest identifier Location identifier
  • the first destination device searches for a location ending from the location indicated by the start location identifier to the location indicated by the end location identifier according to the interest identifier, the start location identifier, and the end location identifier. Depicting some or all of the at least two data contents corresponding to the interest identifier.
  • a third aspect of the present invention provides a device in an information center network ICN, where the device is a source device in the ICN, the ICN further includes a transit device and a destination device, and the source device directly communicates with the destination device. Connected, or the source device and the destination device are indirectly communicatively connected through the relay device, and the device includes:
  • a generating module configured to generate a frame format interest packet in response to the user input interest request, where the interest packet includes an interest identifier set, where the interest identifier set is used to indicate that the acquiring user is interested in at least Two data contents;
  • a sending module configured to send the interest packet generated by the generating module, where the interest packet directly reaches the destination device or reaches the destination device by using the transit device, where the interest identifier set is used to indicate that the destination device is
  • the source device returns some or all of the at least two data contents
  • a receiving module configured to receive the at least two data content.
  • the interest identifier set includes at least two interest identifiers, and the at least two interest identifiers are in one-to-one correspondence with the at least two data content;
  • the at least two interest identifiers are used to instruct the destination device to return data content corresponding to each of the interest identifiers to the source device.
  • the interest identifier set includes an extended interest identifier, where the extended interest identifier includes a name identifier and at least two content indication identifiers;
  • the name identifier and the at least two content indication identifiers are used to instruct the destination device to return, to the source device, data content corresponding to each content indication identifier in the data content corresponding to the name identifier.
  • the interest identifier set includes an interest identifier and a start location identifier and an end location identifier of the data content corresponding to the identifier of interest;
  • the interest identifier, the start location identifier, and the end location identifier are used to indicate that the destination device returns to the source device from the location indicated by the start location identifier to the end location identifier. At least two data contents corresponding to the interest identifier ended at the location.
  • a fourth aspect of the present invention provides a device in an information center network (ICN), where the device is a first destination device in the ICN, the ICN further includes a transit device and a source device, and the source device and the first device The destination device is directly connected to the communication device, or the source device is indirectly connected to the first destination device through the relay device.
  • the device includes:
  • a receiving module configured to receive a packet of interest in a frame format, where the interest packet includes an interest identifier set, where the interest identifier set is used to indicate acquiring at least two data content that is of interest to the user;
  • a searching module configured to search for part or all of the at least two data contents according to the interest identifier set received by the receiving module
  • a sending module configured to send, in the at least two pieces of data content found by the searching module Minute or all.
  • the ICN further includes a second destination device, where the second destination device directly communicates with the first destination device, or the second destination device Connected to the first destination device indirectly through the relay device, the device further includes: a generating module,
  • the generating module is configured to generate a new interest package when only a part of the data content of the at least two data contents is found, where the new interest package includes a new interest identifier set, and the new interest identifier The set is configured to indicate acquiring the remaining data content of the at least two data content except the part of the data content;
  • the sending module is configured to send the new interest packet generated by the generating module, where the new interest packet directly reaches the second destination device or reaches the second destination device via the transit device.
  • the new set of interest identifiers is used to instruct the second destination device to return some or all of the remaining data content to the source device.
  • the searching module is specifically configured to: when the interest identifier set includes at least two interest identifiers, search for each of the partial or all of the interest identifiers according to part or all of the at least two interest identifiers Data content, the at least two interest identifiers are in one-to-one correspondence with the at least two data contents.
  • the searching module is specifically configured to: when the interest identifier set includes an extended interest identifier, where the extended interest identifier includes at least two content indication identifiers, according to the name identifier, and the at least two content identifiers Part or all of the data content corresponding to each content indication identifier in the part or all is searched from the data content corresponding to the name identifier.
  • the searching module is specifically configured to: when the interest identifier set includes an interest identifier and a start location identifier and an end location identifier of the data content corresponding to the interest identifier, according to the interest identifier, The start location identifier and the end location identifier are searched for at least two data content corresponding to the interest identifier from a location indicated by the start location identifier to a location indicated by the end location identifier end Part or all.
  • a fifth aspect of the present invention provides a device in an information center network ICN, where the device is a source device in the ICN, the ICN further includes a transit device and a destination device, and the source device directly communicates with the destination device. Connected, or the source device and the destination device are indirectly communicatively connected through the relay device, and the device includes:
  • the processor is configured to generate, in response to the interest request input by the user, a packet of interest in a frame format, where the interest packet includes an interest identifier set, where the interest identifier set is used to indicate acquiring at least two data content that is of interest to the user;
  • the output device is configured to send the interest packet, where the interest packet directly reaches the destination device or reaches the destination device via the transit device, where the interest identifier set is used to indicate that the destination device is to the source device.
  • the device returns some or all of the at least two data contents;
  • the input device is configured to receive the at least two data content.
  • a sixth aspect of the present invention provides a device in an information center network ICN, where the device is a first destination device in the ICN, the ICN further includes a transit device and a source device, and the source device and the first device The destination device is directly connected to the communication device, or the source device is indirectly connected to the first destination device through the relay device.
  • the device includes:
  • the input device is configured to receive a packet of interest in a frame format, where the interest packet includes an interest identifier set, where the interest identifier set is used to indicate acquiring at least two data content that is of interest to the user;
  • the processor is configured to search for part or all of the at least two data contents according to the interest identifier set;
  • the output device is configured to transmit some or all of the at least two data contents.
  • the ICN further includes a second purpose The device, the second destination device directly communicates with the first destination device, or the second destination device and the first destination device communicate indirectly through the relay device;
  • the processor is further configured to: when only a part of the data content of the at least two data contents is found, generate a new interest package, where the new interest package includes a new interest identifier set, and the new interest identifier The set is configured to indicate acquiring the remaining data content of the at least two data content except the part of the data content;
  • the output device is further configured to send the new interest packet, where the new interest packet directly reaches the second destination device or reaches the second destination device via the transit device, the new interest identifier set And configured to instruct the second destination device to return some or all of the remaining data content to the source device.
  • a seventh aspect of the present invention provides a system for data transmission applied to an information center network (ICN), including: the ICN includes a source device, a transit device, and a destination device, where the source device directly communicates with the destination device, or The source device and the destination device are indirectly connected by the relay device;
  • ICN information center network
  • the source device is the device described in any of the foregoing third aspect or the third aspect;
  • the destination device is the device described in any of the foregoing fourth aspect or the fourth aspect.
  • the data transmission method provided by the embodiment of the present invention is applied to an information center network (ICN), where the ICN includes a source device, a transit device, and a destination device, where the source device is directly connected to the destination device, or the source device is And indirectly communicating with the destination device by using the transit device, the method comprising: the source device generating an interest packet in a frame format, where the interest packet includes an interest identifier set, the interest packet, in response to an interest request input by a user
  • the identifier set is used to indicate acquiring at least two data content that is of interest to the user; the source device sends the interest packet, and the interest packet directly reaches the destination device or reaches the destination device via the transit device,
  • the interest identifier set is configured to instruct the destination device to return some or all of the at least two data content to the source device; the source device receives the at least two data content.
  • the method for data transmission provided by the embodiment of the present invention can request multiple data contents through an interest package, thereby improving resource utilization, as compared
  • FIG. 1 is a schematic diagram of a process of data transmission in the prior art
  • FIG. 2 is a schematic diagram of an ICN network architecture in an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of an embodiment of a method for data transmission in an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of another embodiment of a method for data transmission in an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of another embodiment of a method for data transmission in an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of another embodiment of a method for data transmission in an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of an embodiment of an apparatus of an information center network according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of another embodiment of an apparatus of an information center network according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of another embodiment of an apparatus of an information center network according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of another embodiment of an apparatus of an information center network according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of another embodiment of an apparatus of an information center network according to an embodiment of the present invention.
  • the embodiment of the invention provides a data transmission method, which can request multiple data contents through one interest package, thereby improving resource utilization. The details are described below separately.
  • FIG. 2 is a schematic diagram of an ICN architecture in an embodiment of the present invention.
  • the ICN may include multiple ICN node devices. As shown in FIG. 2, the ICN node may serve as the source device 100, the relay device 300, and the destination device 200 according to the flow direction of the interest packet.
  • the source device 100 may be a terminal device such as a mobile phone or a personal computer.
  • the transit device 300 may be a network device such as a router or a switch.
  • the destination device 200 may be a server. Of course, the transit device 300 may also be a server or a terminal, as long as the relay can be provided.
  • the functional device can be a transit device, and the destination device 200 can also be a mobile phone.
  • a terminal device such as a personal computer can be a destination device as long as it can provide data content.
  • the roles of the source device 100, the destination device 200, and the relay device 300 can be interchanged as long as they have an interest packet transmission function and packet forwarding.
  • the capabilities and capabilities of providing data content can be source, transit or destination devices in different scenarios.
  • the source device is directly in communication connection with the destination device, or the source device and the destination device are indirectly communicatively connected through the relay device.
  • the source device sends the interest packet, and the interest packet directly reaches the destination device or reaches the destination device via the transit device, where the interest identifier set is used to indicate that the destination device returns to the source device.
  • the interest identifier set is used to indicate that the destination device returns to the source device.
  • the source device receives the at least two data content.
  • the interest identifier set includes at least two interest identifiers, and the at least two interest identifiers are in one-to-one correspondence with the at least two data content;
  • the at least two interest identifiers are used to instruct the destination device to return data content corresponding to each of the interest identifiers to the source device.
  • the interest identifier set includes an interest identifier and a start location identifier and an end location identifier of the data content corresponding to the interest identifier;
  • the interest identifier, the start location identifier, and the end location identifier are used to indicate that the destination device returns to the source device from the location indicated by the start location identifier to the end location identifier. At least two data contents corresponding to the interest identifier ended at the location.
  • the interest identifier may be a file name, a file number, a content name, and the like that are of interest to the user.
  • the frame format of the interest packet can be understood by referring to Table 1:
  • Name represents the name of the requested content
  • Selectors selects the flag
  • Nonce A random value that uniquely identifies an interest package
  • Scope controls the propagation range of the interest package, that is, the hop limit
  • Interes Life time the propagation life cycle.
  • a plurality of parallel Names are added to the interest package, and after receiving the interest packet, the destination device returns a plurality of data contents corresponding to each Name according to the plurality of Name settings of the interest package.
  • the plurality of data content requested by the interest packet may be on the same destination device or on different destination devices. Referring to FIG. 3, multiple data requested by the interest packet in the embodiment of the present invention are used.
  • the content is on the same destination device as an example to illustrate the process of data transmission in the embodiment of the present invention:
  • the source device generates an interest package.
  • the three file names are: /sport/football/book/section1, /sport/football/book/section2, and /sport/football/book/section3.
  • the first chapter, the second chapter and the third chapter of the books related to football are respectively indicated.
  • the interest package can also contain two or more Name identifiers, as long as they are expanded in parallel according to user requirements.
  • the source device sends the generated interest packet to the destination device.
  • the destination device searches for data content corresponding to each of the three file names according to the three file names in the interest package.
  • the destination device after receiving the data packet, the destination device first determines whether the three data contents are stored on the local node. In the embodiment of the present invention, three data contents are stored on the local node as an example, so The destination device directly finds three data contents.
  • the destination device returns three data contents to the source device.
  • the return of the data content can be returned in the form of a data packet, which can be continuously transmitted in multiple packets.
  • the source device and the destination device there may be multiple forwarding devices between the source device and the destination device, which are not shown in FIG. 3, but it does not mean that the source device and the destination device must be directly communicated. Of course, the source device and the destination device are Can communicate directly.
  • the interest packet is recorded at the original ICT node when the original packet is recorded, and the data content is returned according to the original path.
  • the specific recording process refer to the FIB table and the PIT table in the description of the prior art in FIG. The way to understand.
  • the multiple data contents requested by the interest package may not be on the same destination device.
  • the following three data contents requested by the interest package are illustrated on the two destination devices:
  • the source device generates an interest package.
  • the three file names are: /sport/football/book/section1, /sport/football/book/section2, and /sport/football/book/section3.
  • the first chapter, the second chapter and the third chapter of the books related to football are respectively indicated.
  • the interest package can also contain two or more Name identifiers, as long as they are expanded in parallel according to user requirements.
  • the source device sends the interest packet to the first destination device.
  • the first destination device determines that the node only stores the data content corresponding to the name 1, and searches for the data content corresponding to the name 1.
  • the first destination device returns the data content corresponding to the name 1 to the source device.
  • the first destination device generates a new interest package, where the new interest package includes a name 2 and a name 3.
  • the first destination device sends a new interest packet to the second destination device.
  • the second destination device searches for data content corresponding to name 2 and name 3.
  • the data content corresponding to the name 2 and the name 3 is used as an example on the second destination device.
  • the second destination device returns the data content corresponding to the name 2 and the name 3 to the first destination device, and the first destination device forwards the data content corresponding to the name 2 and the name 3 to the source device.
  • Head The device, the first destination device, and the second destination device must be in direct communication.
  • the source device and the first destination device, the first destination device, and the second destination device can communicate directly.
  • each of the interest packets is recorded at the original ICT node at the time of transmission, and the data content is returned according to the original path.
  • the specific recording process refer to the FIB table in the description of the prior art of FIG. The way the PIT table is understood.
  • the number of Names in the interest packet is extended by enhancing the frame structure of the interest packet, so that one interest packet can request multiple data contents, reducing the transmission amount of the interest packet, and improving the utilization of the network resource.
  • the enhancement of the interest package is implemented by parallelly extending the name identifier.
  • the format of the name of the interest package can also be improved, so that the Name can contain a request for multiple contents.
  • the improved Name can be: Name:/HUAWEI/SN/File/%M%content1%content2%content3.
  • the Name is marked with %M to indicate that the subsequent string represents multiple content requests, and %content1, %content2, and %content3 indicate that this Name requests content1, content2, and content3 at the same time.
  • %M the format named here is just an example, and the actual naming format is not limited by the examples here.
  • the data transmission process is basically the same as the scenario embodiment corresponding to FIG. 3 and FIG. 4, except that in the scenario corresponding to FIG. 4, the name in the new interest packet is changed to /HUAWEI/SN/File/ %M%content2%content3, because the first destination device has returned the corresponding data package for content1.
  • the embodiment of the present invention extends the meaning of the Name by enhancing the frame structure of the interest packet, so that the Name field can contain the names of multiple requested content. Therefore, an interest packet can request multiple data packets, which reduces the number of packets of interest packets and improves the utilization of network resources.
  • the frame structure of the interest packet may also be improved in another manner, as shown in Table 2.
  • Range-start and Range-end fields represent the scope of the requested content, such as Name: /sport/football/book/section; Range-start is 1; Range-end is 10.
  • This structure represents the request "Sports Football Book Chapter 1 to Chapter 10". Note that the format named here is just an example, and the actual naming format is not limited by the examples here.
  • the data transmission process is basically the same as the scenario embodiment corresponding to FIG. 3 and FIG. 4, but in the scenario embodiment corresponding to FIG. 4, the format of generating a new interest interest packet should be the same as the third embodiment herein.
  • the scheme is consistent, that is, the range of Range-start and Range-end here is modified, for example, the initial Range-start is 1, and the Range-end is 10. After the intermediate node obtains the content 1-3, the generated interest interest package is regenerated. The Range-start is 4 and the Range-end is 10.
  • the Range-start and Range-end fields are added to supplement the information of the Name field in the frame structure of the interest packet, so that one interest packet can include request information of multiple data packets, and multiple data packets are requested. . Therefore, an interest packet can request multiple data packets, reducing the amount of interest packet transmission. Increased utilization of network resources.
  • an embodiment of a method for data transmission provided by an embodiment of the present invention includes:
  • the source device generates an interest packet in a frame format, where the interest packet includes an interest identifier set, where the interest identifier set is used to indicate acquiring at least two data content that is of interest to the user, where
  • the source device is applied to the information center network ICN, and the ICN further includes a transit device and a destination device, where the source device is directly in communication connection with the destination device, or the source device and the destination device pass through the transit device. Indirect communication connection.
  • the source device sends the interest packet, where the interest packet directly reaches the destination device or reaches the destination device by using the transit device, where the interest identifier set is used to indicate that the destination device is to the source device.
  • the device returns some or all of the at least two data content.
  • the source device receives the at least two data content.
  • the method for data transmission provided by the embodiment of the present invention can request multiple data contents through an interest package, thereby improving resource utilization, as compared with the method of data transmission in the prior art.
  • the interest identifier set includes at least two interest identifiers, At least two interest identifiers are in one-to-one correspondence with the at least two data contents;
  • the at least two interest identifiers are used to instruct the destination device to return data content corresponding to each of the interest identifiers to the source device.
  • the interest identifier set includes an extended interest identifier, where the extension is performed.
  • the interest identifier includes a name identifier and at least two content indication identifiers;
  • the name identifier and the at least two content indication identifiers are used to instruct the destination device to return, to the source device, data content corresponding to each content indication identifier in the data content corresponding to the name identifier.
  • the interest identifier set includes an interest identifier and the interest identifier. a start location identifier and an end location identifier of the corresponding data content;
  • the interest identifier, the start location identifier, and the end location identifier are used to indicate that the destination device returns to the source device from the location indicated by the start location identifier to the end location identifier. At least two data contents corresponding to the interest identifier ended at the location.
  • FIG. 5 The corresponding embodiment or any embodiment of FIG. 5 can be understood by referring to FIG. 2 to FIG. 4, and the corresponding descriptions of the parts of Table 1 and Table 2, and no further description is made herein.
  • an embodiment of a method for data transmission provided by an embodiment of the present invention includes:
  • the first destination device receives the interest packet in a frame format, where the interest packet includes an interest identifier set, where the interest identifier set is used to indicate acquiring at least two data content that is of interest to the user, where the first destination device application is In the information center network ICN, the ICN further includes a source device and a relay device, where the source device is directly in communication connection with the first destination device, or the source device and the first destination device pass through the transit device Indirect communication connection.
  • the first destination device searches for part or all of the at least two data content according to the interest identifier set.
  • the first destination device sends some or all of the at least two data content.
  • the method for data transmission provided by the embodiment of the present invention can return multiple data contents through an interest packet, thereby improving resource utilization, compared with the method for data transmission provided by an embodiment of the present invention.
  • the ICN further includes a second destination device, where the The second destination device is in direct communication with the first destination device, or the second destination device is indirectly connected to the first destination device through the relay device.
  • the method further includes:
  • the first destination device generates a new interest package when only part of the data content of the at least two data contents is found, the new interest package includes a new interest identifier set, and the new interest identifier set And means for instructing acquiring, among the at least two pieces of data content, the remaining data content except the part of the data content;
  • the first destination device sends the new interest packet, and the new interest packet directly reaches the second destination device or reaches the second destination device via the transit device, where the new interest identifier set is used. Instructing the second destination device to return some or all of the remaining data content to the source device.
  • the interest identifier set includes, according to the foregoing embodiment or the first optional embodiment of FIG. At least two interest identifiers, the at least two interest identifiers are in one-to-one correspondence with the at least two data contents;
  • the searching, by the first destination device, part or all of the at least two data contents according to the interest identifier set may include:
  • the first destination device searches for data content corresponding to each of the partial or all of the interest identifiers according to part or all of the at least two interest identifiers.
  • the interest identifier set includes, according to the foregoing embodiment or the first optional embodiment of FIG.
  • the searching, by the first destination device, part or all of the at least two data contents according to the interest identifier set may include:
  • the content indication identifier from the part or all of the data content corresponding to the name identifier according to the name identifier and some or all of the at least two content identifiers Corresponding data content.
  • the interest identifier set includes an interest identifier and a start location identifier and an end location identifier of the data content corresponding to the identifier of interest;
  • the searching, by the first destination device, part or all of the at least two data contents according to the interest identifier set may include:
  • the first destination device searches for a location ending from the location indicated by the start location identifier to the location indicated by the end location identifier according to the interest identifier, the start location identifier, and the end location identifier. Depicting some or all of the at least two data contents corresponding to the interest identifier.
  • FIG. 6 The corresponding embodiment or any embodiment of FIG. 6 can be understood by referring to FIG. 2 to FIG. 4, and the corresponding descriptions of the parts of Table 1 and Table 2, and no further description is made herein.
  • the device 50 is a source device in the ICN, and the ICN further includes a transit device and a destination device, where The source device is directly connected to the destination device, or the source device is indirectly connected to the destination device through the relay device.
  • the device 50 includes:
  • the generating module 501 is configured to generate, in response to the interest request input by the user, a packet of interest in a frame format, where the interest packet includes an interest identifier set, where the interest identifier set is used to indicate acquiring at least two data content that is of interest to the user;
  • the sending module 502 is configured to send the interest packet generated by the generating module 501, where the interest packet directly reaches the destination device or reaches the destination device via the transit device, where the interest identifier set is used to indicate the destination
  • the device returns some or all of the at least two data contents to the source device;
  • the receiving module 503 is configured to receive the at least two data content after the sending module 502 sends the interest packet.
  • the device in the information center network ICN provided by the embodiment of the present invention can request multiple data contents through an interest package, thereby improving resource utilization, compared with the case where one interest packet can only request one data content in the prior art.
  • the interest identifier set includes at least two interest identifiers. Determining at least two interest identifiers in one-to-one correspondence with the at least two data contents;
  • the at least two interest identifiers are used to instruct the destination device to return data content corresponding to each of the interest identifiers to the source device.
  • the interest identifier set includes an extended interest identifier, where the foregoing
  • the extended interest identifier includes a name identifier and at least two content indication identifiers;
  • the name identifier and the at least two content indication identifiers are used to instruct the destination device to return, to the source device, data content corresponding to each content indication identifier in the data content corresponding to the name identifier.
  • the interest identifier set includes the interest identifier and the interest Identifying a start location identifier and an end location identifier of the corresponding data content;
  • the interest identifier, the start location identifier, and the end location identifier are used to indicate that the destination device returns to the source device from the location indicated by the start location identifier to the end location identifier. At least two data contents corresponding to the interest identifier ended at the location.
  • FIG. 7 The corresponding embodiment or any embodiment of FIG. 7 can be understood by referring to FIG. 2 to FIG. 5, and the corresponding descriptions of the parts of Table 1 and Table 2, and no further description is made herein.
  • the device 60 is a first destination device in the ICN, and the ICN further includes a transit device and a source device.
  • the source device is directly connected to the first destination device, or the source device is indirectly connected to the first destination device through the relay device.
  • the device includes:
  • the receiving module 601 is configured to receive a packet of interest in a frame format, where the interest packet includes an interest identifier set, where the interest identifier set is used to indicate acquiring at least two data content that is of interest to the user;
  • the searching module 602 is configured to search for part or all of the at least two data contents according to the interest identifier set received by the receiving module 601.
  • the sending module 603 is configured to send some or all of the at least two data contents that are found by the searching module 602.
  • the device in the information center network ICN provided by the embodiment of the present invention can return multiple data contents through an interest package, which is improved compared with the information that only one interest packet can be requested in the prior art. Resource utilization.
  • the ICN further includes a second a destination device, where the second destination device directly communicates with the first destination device, or the second destination device is indirectly in communication with the first destination device through the relay device, and the device further includes: generating Module 604,
  • the generating module 604 is configured to generate a new interest package when only a part of the data content of the at least two data contents is found, where the new interest package includes a new interest identifier set, and the new interest The identifier set is configured to indicate acquiring the remaining data content of the at least two data content except the part of the data content;
  • the sending module 603 is configured to send the new interest packet generated by the generating module, where the new interest packet directly reaches the second destination device or reaches the second destination device via the transit device.
  • the new set of interest identifiers is used to instruct the second destination device to return some or all of the remaining data content to the source device.
  • the searching module 602 is specifically configured to: when the interest identifier set includes at least two interest identifiers, search for each of the partial or all identifiers according to part or all of the at least two interest identifiers Corresponding data content, the at least two interest identifiers are in one-to-one correspondence with the at least two data contents.
  • the searching module 602 is specifically configured to: when the interest identifier set includes an extended interest identifier, where the extended interest identifier includes at least two content indication identifiers, according to the name identifier, and the at least two content identifiers Part or all of the data content corresponding to each content indication identifier in the part or all is searched from the data content corresponding to the name identifier.
  • the searching module 602 is specifically configured to: when the interest identifier set includes an interest identifier and the When the interest identifier identifies the start location identifier and the end location identifier of the data content, the search starts from the location indicated by the start location identifier to the end according to the interest identifier, the start location identifier, and the end location identifier. Part or all of at least two data contents corresponding to the interest identifier ending at the location indicated by the location identifier.
  • FIG. 8 The corresponding embodiment or any optional embodiment of FIG. 8 can be understood by referring to the corresponding descriptions in FIG. 2 to FIG. 4, FIG. 6, and the parts of Table 1 and Table 2. The details are not described herein.
  • the sending module and the receiving module may be implemented by an input/output I/O device (such as a network card) to generate
  • the module, the lookup module may be implemented by a processor executing a program or instruction in a memory (in other words, by a processor and a special instruction in a memory coupled to the processor); in another implementation
  • the lower sending module and the receiving module may be implemented by an input/output I/O device (such as a network card), and the generating module and the searching module may also be implemented by a dedicated circuit respectively.
  • an input/output I/O device such as a network card
  • the sending module and the receiving module may be implemented by an input/output I/O device (such as a network card), and the generating module and the searching module may also pass through a field programmable gate array (FPGA, Field-Programmable). Gate Array) is implemented.
  • FPGA Field programmable gate array
  • Gate Array Gate Array
  • This embodiment provides a hardware structure of a device in an information center network.
  • the hardware structure of a device in an information center network may include:
  • Transceiver device software device and hardware device
  • the transceiver device is a hardware circuit for completing packet transmission and reception
  • Hardware devices can also be called “hardware processing modules", or simpler, or simply “hardware”. Hardware devices mainly include dedicated hardware circuits based on FPGAs, ASICs (and other supporting devices, such as memory). The hardware circuits of certain functions are often processed much faster than general-purpose processors, but once the functions are customized, they are difficult to change. Therefore, they are not flexible to implement and are usually used to handle some fixed functions. It should be noted that the hardware device may also include an MCU (microprocessor such as a single chip microcomputer) or a processor such as a CPU in practical applications, but the main The function is not to complete the processing of big data, but mainly used for some control. In this application scenario, the system matched by these devices is a hardware device.
  • MCU microprocessor such as a single chip microcomputer
  • Software devices mainly include general-purpose processors (such as CPU) and some supporting devices (such as memory, hard disk and other storage devices), which can be programmed to let the processor have the corresponding processing functions.
  • general-purpose processors such as CPU
  • some supporting devices such as memory, hard disk and other storage devices
  • the processed data can be sent through the transceiver device through the hardware device, or the processed data can be sent to the transceiver device through an interface connected to the transceiver device.
  • the transceiver device is configured to send the interest packet and receive the data content.
  • the sending module and the receiving module may be implemented by an input/output I/O device (such as a network card), and the generating module and the searching module may be implemented by a processor executing a program or an instruction in the memory.
  • an input/output I/O device such as a network card
  • the generating module and the searching module may be implemented by a processor executing a program or an instruction in the memory.
  • FIG. 11 is a schematic structural diagram of a device 70 in an information center network according to an embodiment of the present invention.
  • the device 70 in the information center network is applied to the information center network ICN, and the ICN includes a source device, a transit device, and a destination device, where the source device is directly connected to the destination device, or the source device and the destination device
  • the device is indirectly connected by the relay device, and the device 70 in the information center network may be a source device or a destination device, regardless of whether the device 70 in the information center network is a source device or a destination device, and the structure of the information center network
  • the diagrams are the same, except that the functions performed by each hardware are different.
  • the device 70 in the information center network includes a processor 710, a memory 750, and an input/output I/O device 730, which may include read only memory and random access memory, and provides operational instructions and data to the processor 710.
  • a portion of the memory 750 may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • the memory 750 stores elements, executable modules or data structures, or a subset thereof, or their extension set:
  • the interest packet is sent by the I/O device 730, and the interest packet directly reaches the destination device or reaches the destination device via the relay device, and the interest identifier set is used to indicate that the destination device is to the source device.
  • the device returns some or all of the at least two data contents;
  • the at least two data content are received by I/O device 730.
  • the device in the ICN provided by the embodiment of the present invention can request multiple data contents through one interest packet, thereby improving resource utilization, as compared with the case where one interest packet can only request one data content in the prior art.
  • the processor 710 controls the operation of the device 70 in the information center network, and the processor 710 may also be referred to as a CPU (Central Processing Unit).
  • Memory 750 can include read only memory and random access memory and provides instructions and data to processor 710. A portion of the memory 750 may also include non-volatile random access memory (NVRAM).
  • the components of the device 70 in the information center network are coupled together by a bus system 720 in a specific application.
  • the bus system 720 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as bus system 720 in the figure.
  • Processor 710 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 710 or an instruction in a form of software.
  • the processor 710 described above may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or discrete hardware. Component.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or carried out.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 750, and the processor 710 reads the information in the memory 750.
  • the steps of the above method are completed in combination with the hardware.
  • the interest identifier set includes at least two interest identifiers, and the at least two interest identifiers are in one-to-one correspondence with the at least two data content.
  • the at least two interest identifiers are used to instruct the destination device to return data content corresponding to each of the interest identifiers to the source device.
  • the interest identifier set includes an extended interest identifier, where the extended interest identifier includes a name identifier and at least two content indication identifiers;
  • the name identifier and the at least two content indication identifiers are used to instruct the destination device to return, to the source device, data content corresponding to each content indication identifier in the data content corresponding to the name identifier.
  • the interest identifier set includes an interest identifier and a start location identifier and an end location identifier of the data content corresponding to the interest identifier;
  • the interest identifier, the start location identifier, and the end location identifier are used to indicate that the destination device returns to the source device from the location indicated by the start location identifier to the end location identifier. At least two data contents corresponding to the interest identifier ended at the location.
  • the operation instruction can be stored in the operating system
  • the I/O device 730 Receiving, by the I/O device 730, a packet of interest in a frame format, the interest packet including a set of interest identifiers, the set of interest identifiers being used to indicate acquiring at least two data content of interest to the user;
  • Some or all of the at least two data contents are transmitted by the I/O device 730.
  • the device in the ICN provided by the embodiment of the present invention can return multiple data contents through one interest packet, thereby improving resource utilization, as compared with the case where one interest packet can only request one data content in the prior art.
  • the processor 710 is further configured to: when only a part of the data content of the at least two data contents is found, generate a new interest package, where the new interest package includes a new interest identifier set, where Deriving a new set of interest identifiers for indicating acquisition of remaining data content of the at least two data content except the partial data content;
  • the interest identifier set includes at least two interest identifiers
  • searching for data content corresponding to each of the part or all of the interest identifiers according to part or all of the at least two interest identifiers The at least two interest identifiers are in one-to-one correspondence with the at least two data contents.
  • the interest identifier set includes an extended interest identifier
  • the extended interest identifier includes at least two content indication identifiers, according to the name identifier, and some or all of the at least two content identifiers And searching for data content corresponding to each content indication identifier in the part or all from the data content corresponding to the name identifier.
  • the interest identifier set includes an interest identifier and a start location identifier and an end location identifier of the data content corresponding to the interest identifier, according to the interest identifier, the start location identifier, and the end location identifier. And searching for some or all of the at least two data contents corresponding to the interest identifier from the position indicated by the start location identifier to the end of the location indicated by the end location identifier.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: ROM, RAM, disk or CD.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种数据传输的方法,应用于信息中心网络ICN,ICN包括源设备、中转设备和目的设备,源设备与目的设备直接通信连接,或者,源设备与目的设备通过中转设备间接通信连接,方法包括:源设备响应于用户输入的兴趣请求,生成帧格式的兴趣包,兴趣包包括兴趣标识集合,兴趣标识集合用于指示获取用户感兴趣的至少两个数据内容;源设备发送兴趣包,兴趣包直接到达目的设备或经由中转设备到达目的设备,兴趣标识集合用于指示目的设备向源设备返回至少两个数据内容中的部分或全部;源设备接收至少两个数据内容。本发明实施例提供的数据传输的方法,可以通过一个兴趣包请求多个数据内容,提高了资源利用率。

Description

一种数据传输的方法、设备及*** 技术领域
本发明涉及数据传输技术领域,具体涉及一种数据传输的方法、设备及***。
背景技术
信息中心网络(Information-centric networking,ICN)是以获取信息为核心目的网络。ICN网络有两种核心数据包,分别是兴趣(interest)包和响应该兴趣包的内容数据包,简称data包,该data包中包含兴趣包所请求的数据内容。
信息中心网络中的每个ICN节点都存储有转发信息表(Forwarding information base,FIB)和转发请求表(Pending interest Table,PIT),FIB用于查询兴趣包的下一个转发节点,PIT用于查询data包的下一个传输节点(其原理是记录接收到interest包的端口,将此端口记录到PIT中,data包就通过此端口按照interest包发送的原路径返回给数据请求端。
每个ICN节点还包括内容存储(Content Store,CS)模块,在data包经过该ICN节点时,ICN节点会自动将此data包存储到CS模块中。
以图1为例描述ICN中的数据传输过程:
步骤1:ICN节点1发送一个interest包请求所需内容。
步骤2:ICN节点2收到interest包后,由于本节点没有所请求的内容,因而无法提供所需内容,ICN节点2将查询FIB表确定将此interest包转发给下一个节点ICN节点3,并且在ICN节点2中将原路径,也就是ICN节点2接收到interest包的端口记录到PIT表中。
步骤3:ICN节点3接收到interest包后,同样记录原路径到PIT表中。由于ICN节点3中本身存储有所请求的内容,则查询PIT表找到原路径为ICN节点2,并把该内容以data包的形式返回给ICN节点2。
步骤4:ICN节点2接收到该data包之后,会把接收到的内容缓存起来,也就是存储到自身的CS模块中。然后ICN节点2会查询自身的PIT表找到原 路径为ICN节点1,最后把data包发送给ICN节点1。由此完成一次数据传输过程。
由此可见,在现有机制中,一个interest包只能请求一个data数据包,这样当interest包很多时,就会浪费大量的传输资源。
发明内容
为解决现有技术中大量兴趣包浪费传输资源的问题,本发明实施例提供一种数据传输的方法,可以通过一个兴趣包请求多个数据内容,提高了资源利用率。本发明实施例还提供的相应的设备及***。
本发明第一方面提供一种数据传输的方法,所述方法应用于信息中心网络ICN,所述ICN包括源设备、中转设备和目的设备,所述源设备与所述目的设备直接通信连接,或者,所述源设备与所述目的设备通过所述中转设备间接通信连接,所述方法包括:
所述源设备响应于用户输入的兴趣请求,生成帧格式的兴趣包,所述兴趣包包括兴趣标识集合,所述兴趣标识集合用于指示获取用户感兴趣的至少两个数据内容;
所述源设备发送所述兴趣包,所述兴趣包直接到达所述目的设备或经由所述中转设备到达所述目的设备,所述兴趣标识集合用于指示所述目的设备向所述源设备返回所述至少两个数据内容中的部分或全部;
所述源设备接收所述至少两个数据内容。
结合第一方面,在第一种可能的实现方式中,所述兴趣标识集合包括至少两个兴趣标识,所述至少两个兴趣标识与所述至少两个数据内容一一对应;
所述至少两个兴趣标识用于指示所述目的设备向所述源设备返回与每个兴趣标识对应的数据内容。
结合第一方面,在第二种可能的实现方式中,所述兴趣标识集合包括扩展的兴趣标识,所述扩展的兴趣标识包括名称标识和至少两个内容指示标识;
所述名称标识和所述至少两个内容指示标识用于指示所述目的设备向所述源设备返回与所述名称标识对应的数据内容中每个内容指示标识对应的数 据内容。
结合第一方面,在第三种可能的实现方式中,所述兴趣标识集合包括兴趣标识和所述与兴趣标识对应的数据内容的开始位置标识和结束位置标识;
所述兴趣标识、所述开始位置标识和所述结束位置标识,用于指示所述目的设备向所述源设备返回从所述开始位置标识所指示的位置开始到所述结束位置标识所指示的位置结束的与所述兴趣标识对应的至少两个数据内容。
本发明第二方面提供一种数据传输的方法,所述方法应用于信息中心网络ICN,所述ICN包括源设备、中转设备和第一目的设备,所述源设备与所述第一目的设备直接通信连接,或者,所述源设备与所述第一目的设备通过所述中转设备间接通信连接,所述方法包括:
所述第一目的设备接收帧格式的兴趣包,所述兴趣包包括兴趣标识集合,所述兴趣标识集合用于指示获取用户感兴趣的至少两个数据内容;
所述第一目的设备根据所述兴趣标识集合,查找所述至少两个数据内容中的部分或全部;
所述第一目的设备发送所述至少两个数据内容中的部分或全部。
结合第二方面,在第一种可能的实现方式中,所述ICN中还包括第二目的设备,所述第二目的设备与所述第一目的设备直接通信,或者,所述第二目的设备与所述第一目的设备通过所述中转设备间接通信连接,所述方法还包括:
所述第一目的设备在只查找到所述至少两个数据内容中的部分数据内容时,生成新的兴趣包,所述新的兴趣包包括新的兴趣标识集合,所述新的兴趣标识集合用于指示获取所述至少两个数据内容中除所述部分数据内容之外的剩余数据内容;
所述第一目的设备发送所述新的兴趣包,所述新的兴趣包直接到达所述第二目的设备或经由所述中转设备到达所述第二目的设备,所述新的兴趣标识集合用于指示所述第二目的设备向所述源设备返回所述剩余数据内容中的部分或全部。
结合第二方面或第二方面第一种可能的实现方式,在第二种可能的实现方 式中,所述兴趣标识集合包括至少两个兴趣标识,所述至少两个兴趣标识与所述至少两个数据内容一一对应;
所述第一目的设备根据所述兴趣标识集合,查找所述至少两个数据内容中的部分或全部,包括:
所述第一目的设备根据所述至少两个兴趣标识中的部分或全部,查找与所述部分或全部中的每个兴趣标识对应的数据内容。
结合第二方面或第二方面第一种可能的实现方式,在第三种可能的实现方式中,所述兴趣标识集合包括扩展的兴趣标识,所述扩展的兴趣标识包括至少两个内容指示标识;
所述第一目的设备根据所述兴趣标识集合,查找所述至少两个数据内容中的部分或全部,包括:
所述第一目的设备根据所述名称标识,以及所述至少两个内容标识中的部分或全部,从所述名称标识对应的数据内容中查找与所述部分或全部中的每个内容指示标识对应的数据内容。
结合第二方面或第二方面第一种可能的实现方式,在第四种可能的实现方式中,所述兴趣标识集合包括兴趣标识和所述与兴趣标识对应的数据内容的开始位置标识和结束位置标识;
所述第一目的设备根据所述兴趣标识集合,查找所述至少两个数据内容中的部分或全部,包括:
所述第一目的设备根据所述兴趣标识、所述开始位置标识和所述结束位置标识,查找从所述开始位置标识所指示的位置开始到所述结束位置标识所指示的位置结束的与所述兴趣标识对应的至少两个数据内容中的部分或全部。
本发明第三方面提供一种信息中心网络ICN中的设备,所述设备为所述ICN中的源设备,所述ICN还包括中转设备和目的设备,所述源设备与所述目的设备直接通信连接,或者,所述源设备与所述目的设备通过所述中转设备间接通信连接,所述设备包括:
生成模块,用于响应于用户输入的兴趣请求,生成帧格式的兴趣包,所述兴趣包包括兴趣标识集合,所述兴趣标识集合用于指示获取用户感兴趣的至少 两个数据内容;
发送模块,用于发送所述生成模块生成的兴趣包,所述兴趣包直接到达所述目的设备或经由所述中转设备到达所述目的设备,所述兴趣标识集合用于指示所述目的设备向所述源设备返回所述至少两个数据内容中的部分或全部;
接收模块,用于接收所述至少两个数据内容。
结合第三方面,在第一种可能的实现方式中,所述兴趣标识集合包括至少两个兴趣标识,所述至少两个兴趣标识与所述至少两个数据内容一一对应;
所述至少两个兴趣标识用于指示所述目的设备向所述源设备返回与每个兴趣标识对应的数据内容。
结合第三方面,在第二种可能的实现方式中,所述兴趣标识集合包括扩展的兴趣标识,所述扩展的兴趣标识包括名称标识和至少两个内容指示标识;
所述名称标识和所述至少两个内容指示标识用于指示所述目的设备向所述源设备返回与所述名称标识对应的数据内容中每个内容指示标识对应的数据内容。
结合第三方面,在第三种可能的实现方式中,所述兴趣标识集合包括兴趣标识和所述与兴趣标识对应的数据内容的开始位置标识和结束位置标识;
所述兴趣标识、所述开始位置标识和所述结束位置标识,用于指示所述目的设备向所述源设备返回从所述开始位置标识所指示的位置开始到所述结束位置标识所指示的位置结束的与所述兴趣标识对应的至少两个数据内容。
本发明第四方面提供一种信息中心网络ICN中的设备,所述设备为所述ICN中的第一目的设备,所述ICN还包括中转设备和源设备,所述源设备与所述第一目的设备直接通信连接,或者,所述源设备与所述第一目的设备通过所述中转设备间接通信连接,所述设备包括:
接收模块,用于接收帧格式的兴趣包,所述兴趣包包括兴趣标识集合,所述兴趣标识集合用于指示获取用户感兴趣的至少两个数据内容;
查找模块,用于根据所述接收模块接收的所述兴趣标识集合,查找所述至少两个数据内容中的部分或全部;
发送模块,用于发送所述查找模块查找到的所述至少两个数据内容中的部 分或全部。
结合第四方面,在第一种可能的实现方式中,所述ICN中还包括第二目的设备,所述第二目的设备与所述第一目的设备直接通信,或者,所述第二目的设备与所述第一目的设备通过所述中转设备间接通信连接,所述设备还包括:生成模块,
所述生成模块,用于在只查找到所述至少两个数据内容中的部分数据内容时,生成新的兴趣包,所述新的兴趣包包括新的兴趣标识集合,所述新的兴趣标识集合用于指示获取所述至少两个数据内容中除所述部分数据内容之外的剩余数据内容;
所述发送模块,用于发送所述生成模块生成的所述新的兴趣包,所述新的兴趣包直接到达所述第二目的设备或经由所述中转设备到达所述第二目的设备,所述新的兴趣标识集合用于指示所述第二目的设备向所述源设备返回所述剩余数据内容中的部分或全部。
结合第四方面或第四方面第一种可能的实现方式,在第二种可能的实现方式中,
所述查找模块,具体用于当所述兴趣标识集合包括至少两个兴趣标识时,根据所述至少两个兴趣标识中的部分或全部,查找与所述部分或全部中的每个兴趣标识对应的数据内容,所述至少两个兴趣标识与所述至少两个数据内容一一对应。
结合第四方面或第四方面第一种可能的实现方式,在第三种可能的实现方式中,
所述查找模块,具体用于当所述兴趣标识集合包括扩展的兴趣标识,所述扩展的兴趣标识包括至少两个内容指示标识时,根据所述名称标识,以及所述至少两个内容标识中的部分或全部,从所述名称标识对应的数据内容中查找与所述部分或全部中的每个内容指示标识对应的数据内容。
结合第四方面或第四方面第一种可能的实现方式,在第四种可能的实现方式中,
所述查找模块,具体用于当所述兴趣标识集合包括兴趣标识和所述与兴趣标识对应的数据内容的开始位置标识和结束位置标识时,根据所述兴趣标识、 所述开始位置标识和所述结束位置标识,查找从所述开始位置标识所指示的位置开始到所述结束位置标识所指示的位置结束的与所述兴趣标识对应的至少两个数据内容中的部分或全部。
本发明第五方面提供一种信息中心网络ICN中的设备,所述设备为所述ICN中的源设备,所述ICN还包括中转设备和目的设备,所述源设备与所述目的设备直接通信连接,或者,所述源设备与所述目的设备通过所述中转设备间接通信连接,所述设备包括:
输入设备、输出设备、存储器和处理器,所述存储器用于存储所述处理器执行数据传输所使用的程序;
所述处理器用于响应于用户输入的兴趣请求,生成帧格式的兴趣包,所述兴趣包包括兴趣标识集合,所述兴趣标识集合用于指示获取用户感兴趣的至少两个数据内容;
所述输出设备用于发送所述兴趣包,所述兴趣包直接到达所述目的设备或经由所述中转设备到达所述目的设备,所述兴趣标识集合用于指示所述目的设备向所述源设备返回所述至少两个数据内容中的部分或全部;
所述输入设备,用于接收所述至少两个数据内容。
本发明第六方面提供一种信息中心网络ICN中的设备,所述设备为所述ICN中的第一目的设备,所述ICN还包括中转设备和源设备,所述源设备与所述第一目的设备直接通信连接,或者,所述源设备与所述第一目的设备通过所述中转设备间接通信连接,所述设备包括:
输入设备、输出设备、存储器和处理器,所述存储器用于存储所述处理器执行数据传输所使用的程序;
所述输入设备用于接收帧格式的兴趣包,所述兴趣包包括兴趣标识集合,所述兴趣标识集合用于指示获取用户感兴趣的至少两个数据内容;
所述处理器用于根据所述兴趣标识集合,查找所述至少两个数据内容中的部分或全部;
所述输出设备用于发送所述至少两个数据内容中的部分或全部。
结合第六方面,在第一种可能的实现方式中,所述ICN中还包括第二目的 设备,所述第二目的设备与所述第一目的设备直接通信,或者,所述第二目的设备与所述第一目的设备通过所述中转设备间接通信连接;
所述处理器还用于在只查找到所述至少两个数据内容中的部分数据内容时,生成新的兴趣包,所述新的兴趣包包括新的兴趣标识集合,所述新的兴趣标识集合用于指示获取所述至少两个数据内容中除所述部分数据内容之外的剩余数据内容;
所述输出设备还用于发送所述新的兴趣包,所述新的兴趣包直接到达所述第二目的设备或经由所述中转设备到达所述第二目的设备,所述新的兴趣标识集合用于指示所述第二目的设备向所述源设备返回所述剩余数据内容中的部分或全部。
本发明第七方面提供一种应用于信息中心网络ICN的数据传输的***,包括:所述ICN包括源设备、中转设备和目的设备,所述源设备与所述目的设备直接通信连接,或者,所述源设备与所述目的设备通过所述中转设备间接通信连接;
所述源设备为上述第三方面或第三方面任一可选方式所述的设备;
所述目的设备为上述第四方面或第四方面任一可选方式所述的设备。
本发明实施例提供的数据传输的方法,应用于信息中心网络ICN,所述ICN包括源设备、中转设备和目的设备,所述源设备与所述目的设备直接通信连接,或者,所述源设备与所述目的设备通过所述中转设备间接通信连接,所述方法包括:所述源设备响应于用户输入的兴趣请求,生成帧格式的兴趣包,所述兴趣包包括兴趣标识集合,所述兴趣标识集合用于指示获取用户感兴趣的至少两个数据内容;所述源设备发送所述兴趣包,所述兴趣包直接到达所述目的设备或经由所述中转设备到达所述目的设备,所述兴趣标识集合用于指示所述目的设备向所述源设备返回所述至少两个数据内容中的部分或全部;所述源设备接收所述至少两个数据内容。与现有技术中一个兴趣包只能请求一个数据内容相比,本发明实施例提供的数据传输的方法,可以通过一个兴趣包请求多个数据内容,提高了资源利用率。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是现有技术中数据传输的过程示意图;
图2是本发明实施例中ICN网络架构的简图;
图3是本发明实施例中数据传输的方法的一实施例示意图;
图4是本发明实施例中数据传输的方法的另一实施例示意图;
图5是本发明实施例中数据传输的方法的另一实施例示意图;
图6是本发明实施例中数据传输的方法的另一实施例示意图;
图7是本发明实施例中信息中心网络的设备的一实施例示意图;
图8是本发明实施例中信息中心网络的设备的另一实施例示意图;
图9是本发明实施例中信息中心网络的设备的另一实施例示意图;
图10是本发明实施例中信息中心网络的设备的另一实施例示意图;
图11是本发明实施例中信息中心网络的设备的另一实施例示意图。
具体实施方式
本发明实施例提供一种数据传输的方法,可以通过一个兴趣包请求多个数据内容,提高了资源利用率。以下分别进行详细说明。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
图2为本发明实施例中ICN架构的简图。
ICN可以包括多个ICN节点设备,如图2所示,ICN节点根据兴趣包的流向可以作为源设备100、中转设备300和目的设备200。源设备100可以是手机、个人计算机等终端设备,中转设备300可以是路由器、交换机等网络设备,目的设备200可以是服务器,当然,中转设备300也可以是服务器、终端等设备,只要能提供中转功能的设备都可以成为中转设备,目的设备200也可以是手机、 个人计算机等终端设备,只要是能提供数据内容的设备都可以成为目的设备,源设备100、目的设备200、中转设备300的角色可以互换,只要是其自身具有兴趣包发送功能、数据包转发功能和提供数据内容的能力,都可以在不同的场景中成为源设备、中转设备或目的设备。所述源设备与所述目的设备直接通信连接,或者,所述源设备与所述目的设备通过所述中转设备间接通信连接。
所述源设备响应于用户输入的兴趣请求,生成帧格式的兴趣包,所述兴趣包包括兴趣标识集合,所述兴趣标识集合用于指示获取用户感兴趣的至少两个数据内容;
所述源设备发送所述兴趣包,所述兴趣包直接到达所述目的设备或经由所述中转设备到达所述目的设备,所述兴趣标识集合用于指示所述目的设备向所述源设备返回所述至少两个数据内容中的部分或全部;
所述源设备接收所述至少两个数据内容。
所述兴趣标识集合包括至少两个兴趣标识,所述至少两个兴趣标识与所述至少两个数据内容一一对应;
所述至少两个兴趣标识用于指示所述目的设备向所述源设备返回与每个兴趣标识对应的数据内容。
所述兴趣标识集合包括兴趣标识和所述与兴趣标识对应的数据内容的开始位置标识和结束位置标识;
所述兴趣标识、所述开始位置标识和所述结束位置标识,用于指示所述目的设备向所述源设备返回从所述开始位置标识所指示的位置开始到所述结束位置标识所指示的位置结束的与所述兴趣标识对应的至少两个数据内容。
本发明实施例中,兴趣标识可以是用户感兴趣的文件名称,文件编号,内容名称等。
本发明实施例中,兴趣包的帧格式可以参阅表1进行理解:
表1:兴趣包的帧格式
Figure PCTCN2015086729-appb-000001
如表1所示,Name表示所请求内容的名称,Selectors选择标识位,Nonce: 随机值,用于唯一标识一个兴趣包,Scope:控制兴趣包的传播范围,也就是跳数限制;Interes Life time:传播生命周期。
本发明实施例中在兴趣包中添加多个平行的Name,那么目的设备在接收到兴趣包后将根据兴趣包的多个Name设置返回与每个Name对应的多个数据内容。
本发明实施例中,兴趣包所请求的多个数据内容可以在同一个目的设备上,也可以在不同的目的设备上,参阅图3,本发明实施例中以兴趣包所请求的多个数据内容在同一个目的设备上为例说明本发明实施例中数据传输的过程:
S105、源设备生成兴趣包。
假设兴趣包的帧格式中有三个Name标识位,每个标识位的文件名分别为:Name1、Name2和Name3。
例如:三个文件名分别为:/sport/football/book/section1,/sport/football/book/section2和/sport/football/book/section3。分别表示与足球相关的书籍的第一章、第二章和第三章。
当然,兴趣包中也可以包含两个或更多的Name标识位,只要根据用户需求平行扩展即可。
S110、源设备向目的设备发送生成的兴趣包。
S115、目的设备根据兴趣包中的三个文件名,分别查找三个文件名各自对应的数据内容。
实际上,接收到数据包后,目的设备先确定三个数据内容是否都在本节点上有存储,本发明实施例是以三个数据内容都存储在本节点上为例进行说明的,所以,目的设备直接查找到了三个数据内容。
S120、目的设备向源设备返回三个数据内容。
数据内容的返回可以是以数据包的形式返回的,可以分多个包持续传输。
本发明实施例中,源设备与目的设备之间可能有多个转发设备,图3中没有画出,但并不代表源设备与目的设备一定是直接通信的,当然,源设备与目的设备之间可以直接通信。
而且,兴趣包在传输时在所经历的各个ICN节点是有记录原始路径的,数据内容返回时也按照原路径返回,具体的记录过程可以参阅图1现有技术的描述中FIB表和PIT表的方式进行理解。
实际上,兴趣包所请求的多个数据内容可能不在同一个目的设备上,参阅图4,下面以兴趣包所请求的三个数据内容在两个目的设备上为例进行说明:
S205、源设备生成兴趣包。
假设兴趣包的帧格式中有三个Name标识位,每个标识位的文件名分别为:名称1、名称2和名称3(Name1、Name2和Name3)。
例如:三个文件名分别为:/sport/football/book/section1,/sport/football/book/section2和/sport/football/book/section3。分别表示与足球相关的书籍的第一章、第二章和第三章。
当然,兴趣包中也可以包含两个或更多的Name标识位,只要根据用户需求平行扩展即可。
S210、源设备向第一目的设备发送兴趣包。
S215、第一目的设备确定本节点只存储有名称1对应的数据内容,则查找到名称1对应的数据内容。
S220、第一目的设备向源设备返回名称1对应的数据内容。
S225、第一目的设备生成新的兴趣包,新的兴趣包中包含名称2和名称3。
S230、第一目的设备向第二目的设备发送新的兴趣包。
S235、第二目的设备查找名称2和名称3对应的数据内容。
本发明实施例中,以名称2和名称3对应的数据内容都在第二目的设备上为例进行说明,当名称2或名称3对应的数据内容不在第二目的设备上时,第二目的设备可以继续生成,并向其他目的设备发送兴趣包,直到所有的数据内容都查找到。
S240、第二目的设备向第一目的设备返回名称2和名称3对应的数据内容,第一目的设备再向源设备转发名称2和名称3对应的数据内容。
本发明实施例中,源设备与第一目的设备之间、第一目的设备与第二目的设备之间可能有多个转发设备,图4中没有画出,但并不代表源设备与第一目 的设备、第一目的设备与第二目的设备一定是直接通信的,当然,源设备与第一目的设备、第一目的设备与第二目的设备之间可以直接通信。
而且,每个兴趣包在传输时在所经历的各个ICN节点是有记录原始路径的,数据内容返回时也按照原路径返回,具体的记录过程可以参阅图1现有技术的描述中FIB表和PIT表的方式进行理解。
本发明实施例中通过增强兴趣包的帧结构,扩展兴趣包中Name的数量,从而使得一个兴趣包能够请求多个数据内容,降低了兴趣包的传输量,提高了网络资源的利用率。
上述通过平行扩展名称标识位的方式来实现兴趣包的增强,本发明的另一实施例中,还可以改进兴趣包的Name的格式,使得Name能够包含多个内容的请求。例如:改进后的Name可以为:Name:/HUAWEI/SN/File/%M%content1%content2%content3。
该Name以%M为标志表明后续字符串表示多个内容请求,%content1,%content2,%content3则表示此Name同时请求content1,content2和content3。注意,此处命名的格式只是一个举例,实际的命名格式不受此处举例的限制。
对于这种帧格式的改进,数据传输过程与图3和图4对应的场景实施例基本相同,只是在图4对应的场景下,新的兴趣包中的名称修改为/HUAWEI/SN/File/%M%content2%content3,因为第一目的设备已经返回了content1的相应data包。
本发明实施例通过增强兴趣包的帧结构,扩展Name的含义,从而使得Name域可以包含多个请求内容的名称。因而一个兴趣包能够请求多个data包,降低了兴趣包的传输数量,提高了网络资源的利用率。
本发明的另一实施例中,还可以通过另一种方式改进兴趣包的帧结构,如表2所示,
表1:兴趣包的帧格式
Figure PCTCN2015086729-appb-000002
如表2所示,Range-start和Range-end域表示请求内容的范围,如Name: /sport/football/book/section;Range-start为1;Range-end为10。这种结构表示请求“体育足球书籍章节1到章节10”。注意,此处命名的格式只是一个举例,实际的命名格式不受此处举例的限制。
对于这种帧格式的改进,数据传输过程与图3和图4对应的场景实施例基本相同,只是图4对应的场景实施例中,生成新的interest兴趣包的格式应与此处实施例三的方案一致,即修改此处的Range-start和Range-end的范围,如初始Range-start为1,Range-end为10,在中间节点获取了内容1-3之后,重新生成的interest兴趣包的Range-start为4,Range-end为10。
本发明实施例通过在兴趣包的帧结构,添加Range-start和Range-end域用于补充Name域的信息,从而使得一个兴趣包可以包含多个data包的请求信息,并且请求多个data包。因而一个兴趣包能够请求多个data包,减少了兴趣包的传输量。提高了网络资源的利用率。
参阅图5,本发明实施例提供的数据传输的方法的一实施例包括:
301、源设备响应于用户输入的兴趣请求,生成帧格式的兴趣包,所述兴趣包包括兴趣标识集合,所述兴趣标识集合用于指示获取用户感兴趣的至少两个数据内容,其中,所述源设备应用于信息中心网络ICN,所述ICN还包括中转设备和目的设备,所述源设备与所述目的设备直接通信连接,或者,所述源设备与所述目的设备通过所述中转设备间接通信连接。
302、所述源设备发送所述兴趣包,所述兴趣包直接到达所述目的设备或经由所述中转设备到达所述目的设备,所述兴趣标识集合用于指示所述目的设备向所述源设备返回所述至少两个数据内容中的部分或全部。
303、所述源设备接收所述至少两个数据内容。
与现有技术中一个兴趣包只能请求一个数据内容相比,本发明实施例提供的数据传输的方法,可以通过一个兴趣包请求多个数据内容,提高了资源利用率。
可选地,在上述图5对应的实施例的基础上,本发明实施例提供的数据传输的方法的第一个可选实施例中,所述兴趣标识集合包括至少两个兴趣标识,所述至少两个兴趣标识与所述至少两个数据内容一一对应;
所述至少两个兴趣标识用于指示所述目的设备向所述源设备返回与每个兴趣标识对应的数据内容。
可选地,在上述图5对应的实施例的基础上,本发明实施例提供的数据传输的方法的第二个可选实施例中,所述兴趣标识集合包括扩展的兴趣标识,所述扩展的兴趣标识包括名称标识和至少两个内容指示标识;
所述名称标识和所述至少两个内容指示标识用于指示所述目的设备向所述源设备返回与所述名称标识对应的数据内容中每个内容指示标识对应的数据内容。
可选地,在上述图5对应的实施例的基础上,本发明实施例提供的数据传输的方法的第三个可选实施例中,所述兴趣标识集合包括兴趣标识和所述与兴趣标识对应的数据内容的开始位置标识和结束位置标识;
所述兴趣标识、所述开始位置标识和所述结束位置标识,用于指示所述目的设备向所述源设备返回从所述开始位置标识所指示的位置开始到所述结束位置标识所指示的位置结束的与所述兴趣标识对应的至少两个数据内容。
图5对应的实施例或任一实施例可以参阅图2至图4,以及表1和表2部分的相应描述进行理解,本处不做过多赘述。
参阅图6,本发明实施例提供的数据传输的方法的一实施例包括:
401、第一目的设备接收帧格式的兴趣包,所述兴趣包包括兴趣标识集合,所述兴趣标识集合用于指示获取用户感兴趣的至少两个数据内容,其中,所述第一目的设备应用于信息中心网络ICN,所述ICN还包括源设备和中转设备,所述源设备与所述第一目的设备直接通信连接,或者,所述源设备与所述第一目的设备通过所述中转设备间接通信连接。
402、所述第一目的设备根据所述兴趣标识集合,查找所述至少两个数据内容中的部分或全部。
403、所述第一目的设备发送所述至少两个数据内容中的部分或全部。
与现有技术中一个兴趣包只能请求一个数据内容相比,本发明实施例提供的数据传输的方法,通过一个兴趣包可以返回多个数据内容,提高了资源利用率。
可选地,在上述图6对应的实施例的基础上,本发明实施例提供的数据传输的方法的第一个可选实施例中,所述ICN中还包括第二目的设备,所述第二目的设备与所述第一目的设备直接通信,或者,所述第二目的设备与所述第一目的设备通过所述中转设备间接通信连接,所述方法还包括:
所述第一目的设备在只查找到所述至少两个数据内容中的部分数据内容时,生成新的兴趣包,所述新的兴趣包包括新的兴趣标识集合,所述新的兴趣标识集合用于指示获取所述至少两个数据内容中除所述部分数据内容之外的剩余数据内容;
所述第一目的设备发送所述新的兴趣包,所述新的兴趣包直接到达所述第二目的设备或经由所述中转设备到达所述第二目的设备,所述新的兴趣标识集合用于指示所述第二目的设备向所述源设备返回所述剩余数据内容中的部分或全部。
可选地,在上述图6对应的实施例或第一个可选实施例的基础上,本发明实施例提供的数据传输的方法的第二个可选实施例中,所述兴趣标识集合包括至少两个兴趣标识,所述至少两个兴趣标识与所述至少两个数据内容一一对应;
所述第一目的设备根据所述兴趣标识集合,查找所述至少两个数据内容中的部分或全部,可以包括:
所述第一目的设备根据所述至少两个兴趣标识中的部分或全部,查找与所述部分或全部中的每个兴趣标识对应的数据内容。
可选地,在上述图6对应的实施例或第一个可选实施例的基础上,本发明实施例提供的数据传输的方法的第三个可选实施例中,所述兴趣标识集合包括扩展的兴趣标识,所述扩展的兴趣标识包括至少两个内容指示标识;
所述第一目的设备根据所述兴趣标识集合,查找所述至少两个数据内容中的部分或全部,可以包括:
所述第一目的设备根据所述名称标识,以及所述至少两个内容标识中的部分或全部,从所述名称标识对应的数据内容中查找与所述部分或全部中的每个内容指示标识对应的数据内容。
可选地,在上述图6对应的实施例或第一个可选实施例的基础上,本发明 实施例提供的数据传输的方法的第四个可选实施例中,所述兴趣标识集合包括兴趣标识和所述与兴趣标识对应的数据内容的开始位置标识和结束位置标识;
所述第一目的设备根据所述兴趣标识集合,查找所述至少两个数据内容中的部分或全部,可以包括:
所述第一目的设备根据所述兴趣标识、所述开始位置标识和所述结束位置标识,查找从所述开始位置标识所指示的位置开始到所述结束位置标识所指示的位置结束的与所述兴趣标识对应的至少两个数据内容中的部分或全部。
图6对应的实施例或任一实施例可以参阅图2至图4,以及表1和表2部分的相应描述进行理解,本处不做过多赘述。
参阅图7,本发明实施例提供的信息中心网络ICN中的设备50的一实施例中,所述设备50为所述ICN中的源设备,所述ICN还包括中转设备和目的设备,所述源设备与所述目的设备直接通信连接,或者,所述源设备与所述目的设备通过所述中转设备间接通信连接,所述设备50包括:
生成模块501,用于响应于用户输入的兴趣请求,生成帧格式的兴趣包,所述兴趣包包括兴趣标识集合,所述兴趣标识集合用于指示获取用户感兴趣的至少两个数据内容;
发送模块502,用于发送所述生成模块501生成的兴趣包,所述兴趣包直接到达所述目的设备或经由所述中转设备到达所述目的设备,所述兴趣标识集合用于指示所述目的设备向所述源设备返回所述至少两个数据内容中的部分或全部;
接收模块503,用于在所述发送模块502发送所述兴趣包之后,接收所述至少两个数据内容。
与现有技术中一个兴趣包只能请求一个数据内容相比,本发明实施例提供的信息中心网络ICN中的设备,通过一个兴趣包可以请求多个数据内容,提高了资源利用率。
可选地,在上述图7对应的实施例的基础上,本发明实施例提供的ICN中的设备50的第一个可选实施例中,所述兴趣标识集合包括至少两个兴趣标识,所述至少两个兴趣标识与所述至少两个数据内容一一对应;
所述至少两个兴趣标识用于指示所述目的设备向所述源设备返回与每个兴趣标识对应的数据内容。
可选地,在上述图7对应的实施例的基础上,本发明实施例提供的ICN中的设备50的第二个可选实施例中,所述兴趣标识集合包括扩展的兴趣标识,所述扩展的兴趣标识包括名称标识和至少两个内容指示标识;
所述名称标识和所述至少两个内容指示标识用于指示所述目的设备向所述源设备返回与所述名称标识对应的数据内容中每个内容指示标识对应的数据内容。
可选地,在上述图7对应的实施例的基础上,本发明实施例提供的ICN中的设备50的第三个可选实施例中,所述兴趣标识集合包括兴趣标识和所述与兴趣标识对应的数据内容的开始位置标识和结束位置标识;
所述兴趣标识、所述开始位置标识和所述结束位置标识,用于指示所述目的设备向所述源设备返回从所述开始位置标识所指示的位置开始到所述结束位置标识所指示的位置结束的与所述兴趣标识对应的至少两个数据内容。
图7对应的实施例或任一实施例可以参阅图2至图5,以及表1和表2部分的相应描述进行理解,本处不做过多赘述。
参阅图8,本发明实施例提供的信息中心网络ICN中的设备60的一实施例中,所述设备60为所述ICN中的第一目的设备,所述ICN还包括中转设备和源设备,所述源设备与所述第一目的设备直接通信连接,或者,所述源设备与所述第一目的设备通过所述中转设备间接通信连接,所述设备包括:
接收模块601,用于接收帧格式的兴趣包,所述兴趣包包括兴趣标识集合,所述兴趣标识集合用于指示获取用户感兴趣的至少两个数据内容;
查找模块602,用于根据所述接收模块601接收的所述兴趣标识集合,查找所述至少两个数据内容中的部分或全部;
发送模块603,用于发送所述查找模块602查找到的所述至少两个数据内容中的部分或全部。
与现有技术中一个兴趣包只能请求一个数据内容相比,本发明实施例提供的信息中心网络ICN中的设备,通过一个兴趣包可以返回多个数据内容,提高 了资源利用率。
可选地,在上述图8对应的实施例的基础上,参阅图9,本发明实施例提供的信息中心网络的设备60的第一个可选实施例中,所述ICN中还包括第二目的设备,所述第二目的设备与所述第一目的设备直接通信,或者,所述第二目的设备与所述第一目的设备通过所述中转设备间接通信连接,所述设备还包括:生成模块604,
所述生成模块604,用于在只查找到所述至少两个数据内容中的部分数据内容时,生成新的兴趣包,所述新的兴趣包包括新的兴趣标识集合,所述新的兴趣标识集合用于指示获取所述至少两个数据内容中除所述部分数据内容之外的剩余数据内容;
所述发送模块603,用于发送所述生成模块生成的所述新的兴趣包,所述新的兴趣包直接到达所述第二目的设备或经由所述中转设备到达所述第二目的设备,所述新的兴趣标识集合用于指示所述第二目的设备向所述源设备返回所述剩余数据内容中的部分或全部。
可选地,在上述图8或图9对应的实施例的基础上,本发明实施例提供的信息中心网络的设备60的第二个可选实施例中,
所述查找模块602,具体用于当所述兴趣标识集合包括至少两个兴趣标识时,根据所述至少两个兴趣标识中的部分或全部,查找与所述部分或全部中的每个兴趣标识对应的数据内容,所述至少两个兴趣标识与所述至少两个数据内容一一对应。
可选地,在上述图8或图9对应的实施例的基础上,本发明实施例提供的信息中心网络的设备60的第三个可选实施例中,
所述查找模块602,具体用于当所述兴趣标识集合包括扩展的兴趣标识,所述扩展的兴趣标识包括至少两个内容指示标识时,根据所述名称标识,以及所述至少两个内容标识中的部分或全部,从所述名称标识对应的数据内容中查找与所述部分或全部中的每个内容指示标识对应的数据内容。
可选地,在上述图8或图9对应的实施例的基础上,本发明实施例提供的信息中心网络的设备60的第四个可选实施例中,
所述查找模块602,具体用于当所述兴趣标识集合包括兴趣标识和所述与 兴趣标识对应的数据内容的开始位置标识和结束位置标识时,根据所述兴趣标识、所述开始位置标识和所述结束位置标识,查找从所述开始位置标识所指示的位置开始到所述结束位置标识所指示的位置结束的与所述兴趣标识对应的至少两个数据内容中的部分或全部。
图8对应的实施例或任一可选实施例可以参阅图2至图4、图6,以及表1和表2部分的相应描述进行理解,本处不做过多赘述。
在上述信息中心网络中的设备的多个实施例中,应当理解的是,在一种实现方式下,发送模块、接收模块可以是由输入/输出I/O设备(比如网卡)来实现,生成模块、查找模块可以由处理器执行存储器中的程序或指令来实现的(换言之,即由处理器以及与所述处理器耦合的存储器中的特殊指令相互配合来实现);在另一种实现方式下发送模块、接收模块可以是由输入/输出I/O设备(比如网卡)来实现,生成模块、查找模块也可以分别通过专有电路来实现,具体实现方式参见现有技术,这里不再赘述;在再一种实现方式下,发送模块、接收模块可以是由输入/输出I/O设备(比如网卡)来实现,生成模块、查找模块也可以通过现场可编程门阵列(FPGA,Field-Programmable Gate Array)来实现,具体实现方式参见现有技术,这里不再赘述,本发明包括但不限于前述实现方式,应当理解的是,只要按照本发明的思想实现的方案,都落入本发明实施例所保护的范围。
本实施例提供了一种信息中心网络中的设备的硬件结构,参见图10所示,一种信息中心网络中的设备的硬件结构可以包括:
收发器件、软件器件以及硬件器件三部分;
收发器件为用于完成包收发的硬件电路;
硬件器件也可称“硬件处理模块”,或者更简单的,也可简称为“硬件”,硬件器件主要包括基于FPGA、ASIC之类专用硬件电路(也会配合其他配套器件,如存储器)来实现某些特定功能的硬件电路,其处理速度相比通用处理器往往要快很多,但功能一经定制,便很难更改,因此,实现起来并不灵活,通常用来处理一些固定的功能。需要说明的是,硬件器件在实际应用中,也可以包括MCU(微处理器,如单片机)、或者CPU等处理器,但这些处理器的主要 功能并不是完成大数据的处理,而主要用于进行一些控制,在这种应用场景下,由这些器件搭配的***为硬件器件。
软件器件(或者也简单“软件”)主要包括通用的处理器(例如CPU)及其一些配套的器件(如内存、硬盘等存储设备),可以通过编程来让处理器具备相应的处理功能,用软件来实现时,可以根据业务灵活配置,但往往速度相比硬件器件来说要慢。软件处理完后,可以通过硬件器件将处理完的数据通过收发器件进行发送,也可以通过一个与收发器件相连的接口向收发器件发送处理完的数据。
本实施例中,收发器件用于发送兴趣包和接收数据内容。
硬件器件及软件器件的其他功能在前述实施例中已经详细论述,这里不再赘述。
下面结合附图就发送模块、接收模块可以是由输入/输出I/O设备(比如网卡)来实现,生成模块、查找模块可以是可以由处理器执行存储器中的程序或指令来实现的技术方案来做详细的介绍:
图11是本发明实施例提供的信息中心网络中的设备70的结构示意图。信息中心网络中的设备70应用于信息中心网络ICN,所述ICN包括源设备、中转设备和目的设备,所述源设备与所述目的设备直接通信连接,或者,所述源设备与所述目的设备通过所述中转设备间接通信连接,信息中心网络中的设备70可以为源设备,也可以为目的设备,不管信息中心网络中的设备70为源设备还是目的设备,所述信息中心网络的结构示意图是相同的,只是其中各硬件所执行的功能不同。所述信息中心网络中的设备70包括处理器710、存储器750和输入/输出I/O设备730,存储器750可以包括只读存储器和随机存取存储器,并向处理器710提供操作指令和数据。存储器750的一部分还可以包括非易失性随机存取存储器(NVRAM)。
在一些实施方式中,存储器750存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:
当信息中心网络中的设备70为源设备时:
在本发明实施例中,通过调用存储器750存储的操作指令(该操作指令可 存储在操作***中),
响应于用户输入的兴趣请求,生成帧格式的兴趣包,所述兴趣包包括兴趣标识集合,所述兴趣标识集合用于指示获取用户感兴趣的至少两个数据内容;
通过I/O设备730发送所述兴趣包,所述兴趣包直接到达所述目的设备或经由所述中转设备到达所述目的设备,所述兴趣标识集合用于指示所述目的设备向所述源设备返回所述至少两个数据内容中的部分或全部;
通过I/O设备730接收所述至少两个数据内容。
与现有技术中一个兴趣包只能请求一个数据内容相比,本发明实施例提供的ICN中的设备,可以通过一个兴趣包请求多个数据内容,提高了资源利用率。
处理器710控制信息中心网络中的设备70的操作,处理器710还可以称为CPU(Central Processing Unit,中央处理单元)。存储器750可以包括只读存储器和随机存取存储器,并向处理器710提供指令和数据。存储器750的一部分还可以包括非易失性随机存取存储器(NVRAM)。具体的应用中信息中心网络中的设备70的各个组件通过总线***720耦合在一起,其中总线***720除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线***720。
上述本发明实施例揭示的方法可以应用于处理器710中,或者由处理器710实现。处理器710可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器710中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器710可以是通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器750,处理器710读取存储器750中的信息, 结合其硬件完成上述方法的步骤。
可选地,所述兴趣标识集合包括至少两个兴趣标识,所述至少两个兴趣标识与所述至少两个数据内容一一对应;
所述至少两个兴趣标识用于指示所述目的设备向所述源设备返回与每个兴趣标识对应的数据内容。
可选地,所述兴趣标识集合包括扩展的兴趣标识,所述扩展的兴趣标识包括名称标识和至少两个内容指示标识;
所述名称标识和所述至少两个内容指示标识用于指示所述目的设备向所述源设备返回与所述名称标识对应的数据内容中每个内容指示标识对应的数据内容。
可选地,所述兴趣标识集合包括兴趣标识和所述与兴趣标识对应的数据内容的开始位置标识和结束位置标识;
所述兴趣标识、所述开始位置标识和所述结束位置标识,用于指示所述目的设备向所述源设备返回从所述开始位置标识所指示的位置开始到所述结束位置标识所指示的位置结束的与所述兴趣标识对应的至少两个数据内容。
当所述ICN设备为目的设备时:
在本发明实施例中,通过调用存储器750存储的操作指令(该操作指令可存储在操作***中),
通过I/O设备730接收帧格式的兴趣包,所述兴趣包包括兴趣标识集合,所述兴趣标识集合用于指示获取用户感兴趣的至少两个数据内容;
根据所述兴趣标识集合,查找所述至少两个数据内容中的部分或全部;
通过I/O设备730发送所述至少两个数据内容中的部分或全部。
与现有技术中一个兴趣包只能请求一个数据内容相比,本发明实施例提供的ICN中的设备,可以通过一个兴趣包返回多个数据内容,提高了资源利用率。
可选地,所述处理器710还用于在只查找到所述至少两个数据内容中的部分数据内容时,生成新的兴趣包,所述新的兴趣包包括新的兴趣标识集合,所述新的兴趣标识集合用于指示获取所述至少两个数据内容中除所述部分数据内容之外的剩余数据内容;
通过I/O设备730发送所述新的兴趣包,所述新的兴趣包直接到达所述第二目的设备或经由所述中转设备到达所述第二目的设备,所述新的兴趣标识集合用于指示所述第二目的设备向所述源设备返回所述剩余数据内容中的部分或全部。
可选地,当所述兴趣标识集合包括至少两个兴趣标识时,根据所述至少两个兴趣标识中的部分或全部,查找与所述部分或全部中的每个兴趣标识对应的数据内容,所述至少两个兴趣标识与所述至少两个数据内容一一对应。
可选地,当所述兴趣标识集合包括扩展的兴趣标识,所述扩展的兴趣标识包括至少两个内容指示标识时,根据所述名称标识,以及所述至少两个内容标识中的部分或全部,从所述名称标识对应的数据内容中查找与所述部分或全部中的每个内容指示标识对应的数据内容。
可选地,当所述兴趣标识集合包括兴趣标识和所述与兴趣标识对应的数据内容的开始位置标识和结束位置标识时,根据所述兴趣标识、所述开始位置标识和所述结束位置标识,查找从所述开始位置标识所指示的位置开始到所述结束位置标识所指示的位置结束的与所述兴趣标识对应的至少两个数据内容中的部分或全部。
本发明实施例提供的数据传输的***可以参阅图2、图3和图4部分的描述进行理解,本处不做过多赘述。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:ROM、RAM、磁盘或光盘等。
以上对本发明实施例所提供的数据传输的方法、设备以及***进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。

Claims (22)

  1. 一种数据传输的方法,其特征在于,所述方法应用于信息中心网络ICN,所述ICN包括源设备、中转设备和目的设备,所述源设备与所述目的设备直接通信连接,或者,所述源设备与所述目的设备通过所述中转设备间接通信连接,所述方法包括:
    所述源设备响应于用户输入的兴趣请求,生成帧格式的兴趣包,所述兴趣包包括兴趣标识集合,所述兴趣标识集合用于指示获取用户感兴趣的至少两个数据内容;
    所述源设备发送所述兴趣包,所述兴趣包直接到达所述目的设备或经由所述中转设备到达所述目的设备,所述兴趣标识集合用于指示所述目的设备向所述源设备返回所述至少两个数据内容中的部分或全部;
    所述源设备接收所述至少两个数据内容。
  2. 根据权利要求1所述的方法,其特征在于,所述兴趣标识集合包括至少两个兴趣标识,所述至少两个兴趣标识与所述至少两个数据内容一一对应;
    所述至少两个兴趣标识用于指示所述目的设备向所述源设备返回与每个兴趣标识对应的数据内容。
  3. 根据权利要求1所述的方法,其特征在于,所述兴趣标识集合包括扩展的兴趣标识,所述扩展的兴趣标识包括名称标识和至少两个内容指示标识;
    所述名称标识和所述至少两个内容指示标识用于指示所述目的设备向所述源设备返回与所述名称标识对应的数据内容中每个内容指示标识对应的数据内容。
  4. 根据权利要求1所述的方法,其特征在于,所述兴趣标识集合包括兴趣标识和所述与兴趣标识对应的数据内容的开始位置标识和结束位置标识;
    所述兴趣标识、所述开始位置标识和所述结束位置标识,用于指示所述目的设备向所述源设备返回从所述开始位置标识所指示的位置开始到所述结束位置标识所指示的位置结束的与所述兴趣标识对应的至少两个数据内容。
  5. 一种数据传输的方法,其特征在于,所述方法应用于信息中心网络ICN,所述ICN包括源设备、中转设备和第一目的设备,所述源设备与所述第一目的 设备直接通信连接,或者,所述源设备与所述第一目的设备通过所述中转设备间接通信连接,所述方法包括:
    所述第一目的设备接收帧格式的兴趣包,所述兴趣包包括兴趣标识集合,所述兴趣标识集合用于指示获取用户感兴趣的至少两个数据内容;
    所述第一目的设备根据所述兴趣标识集合,查找所述至少两个数据内容中的部分或全部;
    所述第一目的设备发送所述至少两个数据内容中的部分或全部。
  6. 根据权利要求5所述的方法,其特征在于,所述ICN中还包括第二目的设备,所述第二目的设备与所述第一目的设备直接通信,或者,所述第二目的设备与所述第一目的设备通过所述中转设备间接通信连接,所述方法还包括:
    所述第一目的设备在只查找到所述至少两个数据内容中的部分数据内容时,生成新的兴趣包,所述新的兴趣包包括新的兴趣标识集合,所述新的兴趣标识集合用于指示获取所述至少两个数据内容中除所述部分数据内容之外的剩余数据内容;
    所述第一目的设备发送所述新的兴趣包,所述新的兴趣包直接到达所述第二目的设备或经由所述中转设备到达所述第二目的设备,所述新的兴趣标识集合用于指示所述第二目的设备向所述源设备返回所述剩余数据内容中的部分或全部。
  7. 根据权利要求5或6所述的方法,其特征在于,所述兴趣标识集合包括至少两个兴趣标识,所述至少两个兴趣标识与所述至少两个数据内容一一对应;
    所述第一目的设备根据所述兴趣标识集合,查找所述至少两个数据内容中的部分或全部,包括:
    所述第一目的设备根据所述至少两个兴趣标识中的部分或全部,查找与所述部分或全部中的每个兴趣标识对应的数据内容。
  8. 根据权利要求5或6所述的方法,其特征在于,所述兴趣标识集合包括扩展的兴趣标识,所述扩展的兴趣标识包括至少两个内容指示标识;
    所述第一目的设备根据所述兴趣标识集合,查找所述至少两个数据内容中 的部分或全部,包括:
    所述第一目的设备根据所述名称标识,以及所述至少两个内容标识中的部分或全部,从所述名称标识对应的数据内容中查找与所述部分或全部中的每个内容指示标识对应的数据内容。
  9. 根据权利要求5或6所述的方法,其特征在于,所述兴趣标识集合包括兴趣标识和所述与兴趣标识对应的数据内容的开始位置标识和结束位置标识;
    所述第一目的设备根据所述兴趣标识集合,查找所述至少两个数据内容中的部分或全部,包括:
    所述第一目的设备根据所述兴趣标识、所述开始位置标识和所述结束位置标识,查找从所述开始位置标识所指示的位置开始到所述结束位置标识所指示的位置结束的与所述兴趣标识对应的至少两个数据内容中的部分或全部。
  10. 一种信息中心网络ICN中的设备,其特征在于,所述设备为所述ICN中的源设备,所述ICN还包括中转设备和目的设备,所述源设备与所述目的设备直接通信连接,或者,所述源设备与所述目的设备通过所述中转设备间接通信连接,所述设备包括:
    生成模块,用于响应于用户输入的兴趣请求,生成帧格式的兴趣包,所述兴趣包包括兴趣标识集合,所述兴趣标识集合用于指示获取用户感兴趣的至少两个数据内容;
    发送模块,用于发送所述生成模块生成的兴趣包,所述兴趣包直接到达所述目的设备或经由所述中转设备到达所述目的设备,所述兴趣标识集合用于指示所述目的设备向所述源设备返回所述至少两个数据内容中的部分或全部;
    接收模块,用于接收所述至少两个数据内容。
  11. 根据权利要求10所述的设备,其特征在于,所述兴趣标识集合包括至少两个兴趣标识,所述至少两个兴趣标识与所述至少两个数据内容一一对应;
    所述至少两个兴趣标识用于指示所述目的设备向所述源设备返回与每个兴趣标识对应的数据内容。
  12. 根据权利要求10所述的设备,其特征在于,所述兴趣标识集合包括扩展的兴趣标识,所述扩展的兴趣标识包括名称标识和至少两个内容指示标识;
    所述名称标识和所述至少两个内容指示标识用于指示所述目的设备向所述源设备返回与所述名称标识对应的数据内容中每个内容指示标识对应的数据内容。
  13. 根据权利要求10所述的设备,其特征在于,所述兴趣标识集合包括兴趣标识和所述与兴趣标识对应的数据内容的开始位置标识和结束位置标识;
    所述兴趣标识、所述开始位置标识和所述结束位置标识,用于指示所述目的设备向所述源设备返回从所述开始位置标识所指示的位置开始到所述结束位置标识所指示的位置结束的与所述兴趣标识对应的至少两个数据内容。
  14. 一种信息中心网络ICN中的设备,其特征在于,所述设备为所述ICN中的第一目的设备,所述ICN还包括中转设备和源设备,所述源设备与所述第一目的设备直接通信连接,或者,所述源设备与所述第一目的设备通过所述中转设备间接通信连接,所述设备包括:
    接收模块,用于接收帧格式的兴趣包,所述兴趣包包括兴趣标识集合,所述兴趣标识集合用于指示获取用户感兴趣的至少两个数据内容;
    查找模块,用于根据所述接收模块接收的所述兴趣标识集合,查找所述至少两个数据内容中的部分或全部;
    发送模块,用于发送所述查找模块查找到的所述至少两个数据内容中的部分或全部。
  15. 根据权利要求14所述的设备,其特征在于,所述ICN中还包括第二目的设备,所述第二目的设备与所述第一目的设备直接通信,或者,所述第二目的设备与所述第一目的设备通过所述中转设备间接通信连接,所述设备还包括:生成模块,
    所述生成模块,用于在只查找到所述至少两个数据内容中的部分数据内容时,生成新的兴趣包,所述新的兴趣包包括新的兴趣标识集合,所述新的兴趣标识集合用于指示获取所述至少两个数据内容中除所述部分数据内容之外的剩余数据内容;
    所述发送模块,用于发送所述生成模块生成的所述新的兴趣包,所述新的兴趣包直接到达所述第二目的设备或经由所述中转设备到达所述第二目的设 备,所述新的兴趣标识集合用于指示所述第二目的设备向所述源设备返回所述剩余数据内容中的部分或全部。
  16. 根据权利要求14或15所述的设备,其特征在于,
    所述查找模块,具体用于当所述兴趣标识集合包括至少两个兴趣标识时,根据所述至少两个兴趣标识中的部分或全部,查找与所述部分或全部中的每个兴趣标识对应的数据内容,所述至少两个兴趣标识与所述至少两个数据内容一一对应。
  17. 根据权利要求14或15所述的设备,其特征在于,
    所述查找模块,具体用于当所述兴趣标识集合包括扩展的兴趣标识,所述扩展的兴趣标识包括至少两个内容指示标识时,根据所述名称标识,以及所述至少两个内容标识中的部分或全部,从所述名称标识对应的数据内容中查找与所述部分或全部中的每个内容指示标识对应的数据内容。
  18. 根据权利要求14或15所述的设备,其特征在于,
    所述查找模块,具体用于当所述兴趣标识集合包括兴趣标识和所述与兴趣标识对应的数据内容的开始位置标识和结束位置标识时,根据所述兴趣标识、所述开始位置标识和所述结束位置标识,查找从所述开始位置标识所指示的位置开始到所述结束位置标识所指示的位置结束的与所述兴趣标识对应的至少两个数据内容中的部分或全部。
  19. 一种信息中心网络ICN中的设备,其特征在于,所述设备为所述ICN中的源设备,所述ICN还包括中转设备和目的设备,所述源设备与所述目的设备直接通信连接,或者,所述源设备与所述目的设备通过所述中转设备间接通信连接,所述设备包括:
    输入设备、输出设备、存储器和处理器,所述存储器用于存储所述处理器执行数据传输所使用的程序;
    所述处理器用于响应于用户输入的兴趣请求,生成帧格式的兴趣包,所述兴趣包包括兴趣标识集合,所述兴趣标识集合用于指示获取用户感兴趣的至少两个数据内容;
    所述输出设备用于发送所述兴趣包,所述兴趣包直接到达所述目的设备或 经由所述中转设备到达所述目的设备,所述兴趣标识集合用于指示所述目的设备向所述源设备返回所述至少两个数据内容中的部分或全部;
    所述输入设备,用于接收所述至少两个数据内容。
  20. 一种信息中心网络ICN中的设备,其特征在于,所述设备为所述ICN中的第一目的设备,所述ICN还包括中转设备和源设备,所述源设备与所述第一目的设备直接通信连接,或者,所述源设备与所述第一目的设备通过所述中转设备间接通信连接,所述设备包括:
    输入设备、输出设备、存储器和处理器,所述存储器用于存储所述处理器执行数据传输所使用的程序;
    所述输入设备用于接收帧格式的兴趣包,所述兴趣包包括兴趣标识集合,所述兴趣标识集合用于指示获取用户感兴趣的至少两个数据内容;
    所述处理器用于根据所述兴趣标识集合,查找所述至少两个数据内容中的部分或全部;
    所述输出设备用于发送所述至少两个数据内容中的部分或全部。
  21. 根据权利要求20所述的设备,其特征在于,所述ICN中还包括第二目的设备,所述第二目的设备与所述第一目的设备直接通信,或者,所述第二目的设备与所述第一目的设备通过所述中转设备间接通信连接;
    所述处理器还用于在只查找到所述至少两个数据内容中的部分数据内容时,生成新的兴趣包,所述新的兴趣包包括新的兴趣标识集合,所述新的兴趣标识集合用于指示获取所述至少两个数据内容中除所述部分数据内容之外的剩余数据内容;
    所述输出设备还用于发送所述新的兴趣包,所述新的兴趣包直接到达所述第二目的设备或经由所述中转设备到达所述第二目的设备,所述新的兴趣标识集合用于指示所述第二目的设备向所述源设备返回所述剩余数据内容中的部分或全部。
  22. 一种应用于信息中心网络ICN的数据传输的***,其特征在于,包括:所述ICN包括源设备、中转设备和目的设备,所述源设备与所述目的设备直接通信连接,或者,所述源设备与所述目的设备通过所述中转设备间接通信连接;
    所述源设备为上述权利要求10-13任一所述的设备;
    所述目的设备为上述权利要求14-18任一所述的设备。
PCT/CN2015/086729 2015-08-12 2015-08-12 一种数据传输的方法、设备及*** WO2017024542A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201580025567.7A CN107210995A (zh) 2015-08-12 2015-08-12 一种数据传输的方法、设备及***
PCT/CN2015/086729 WO2017024542A1 (zh) 2015-08-12 2015-08-12 一种数据传输的方法、设备及***

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/086729 WO2017024542A1 (zh) 2015-08-12 2015-08-12 一种数据传输的方法、设备及***

Publications (1)

Publication Number Publication Date
WO2017024542A1 true WO2017024542A1 (zh) 2017-02-16

Family

ID=57984042

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/086729 WO2017024542A1 (zh) 2015-08-12 2015-08-12 一种数据传输的方法、设备及***

Country Status (2)

Country Link
CN (1) CN107210995A (zh)
WO (1) WO2017024542A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110807160A (zh) * 2018-07-20 2020-02-18 华为技术有限公司 内容获取方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095724A (zh) * 2013-02-05 2013-05-08 西安电子科技大学 一种内容中心网络多个兴趣包压缩发送及处理的方法
US20130185406A1 (en) * 2012-01-12 2013-07-18 Samsung Electronics Co., Ltd. Communication method of target node to prefetch segments of content in content-centric network (ccn) and target node
CN103607412A (zh) * 2013-12-04 2014-02-26 西安电子科技大学 基于树的内容中心网络多个兴趣包处理方法
US20140192717A1 (en) * 2013-01-07 2014-07-10 Futurewei Technologies, Inc. Information Centric Networking Based Service Centric Networking
CN103945277A (zh) * 2013-12-02 2014-07-23 三星电子(中国)研发中心 实现移动终端视频分享的方法、***和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130185406A1 (en) * 2012-01-12 2013-07-18 Samsung Electronics Co., Ltd. Communication method of target node to prefetch segments of content in content-centric network (ccn) and target node
US20140192717A1 (en) * 2013-01-07 2014-07-10 Futurewei Technologies, Inc. Information Centric Networking Based Service Centric Networking
CN103095724A (zh) * 2013-02-05 2013-05-08 西安电子科技大学 一种内容中心网络多个兴趣包压缩发送及处理的方法
CN103945277A (zh) * 2013-12-02 2014-07-23 三星电子(中国)研发中心 实现移动终端视频分享的方法、***和装置
CN103607412A (zh) * 2013-12-04 2014-02-26 西安电子科技大学 基于树的内容中心网络多个兴趣包处理方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110807160A (zh) * 2018-07-20 2020-02-18 华为技术有限公司 内容获取方法及装置

Also Published As

Publication number Publication date
CN107210995A (zh) 2017-09-26

Similar Documents

Publication Publication Date Title
CN108055202B (zh) 一种报文处理设备和方法
US10439931B2 (en) Data packet processing method, service node, and delivery node
US10432506B2 (en) Data processing method and apparatus
US9239607B2 (en) Storing data using a direct data path architecture to reduce energy consumption and improve performance
US11233724B2 (en) Multicast data packet processing method, and apparatus
WO2019042186A1 (zh) 一种网络管理方法及相关设备
CN108363621B (zh) numa架构下的报文转发方法、装置、存储介质及电子设备
WO2017000593A1 (zh) 报文处理方法及装置
US10645001B2 (en) Information transmission method and apparatus, device and storage medium
US9712612B2 (en) Method for improving mobile network performance via ad-hoc peer-to-peer request partitioning
WO2014139481A1 (zh) 报文处理方法及设备
WO2016165296A1 (zh) 一种服务质量控制的方法、设备及***
CN105389120A (zh) 支持通过活动消息的rma api
EP3200430A1 (en) Advertisement data processing method and router
CN108259348B (zh) 一种报文传输方法和装置
CN115242711A (zh) 一种报文传输方法及装置
US11336558B2 (en) Message transmission methods and apparatuses
WO2017024542A1 (zh) 一种数据传输的方法、设备及***
US10826819B2 (en) System and method for data transmission in distributed computing environments
WO2016127422A1 (zh) 用于处理数据的***、装置和方法
CN110933121A (zh) 连接建立方法、通信处理方法、装置及通信设备
CN113132273B (zh) 一种数据转发方法及装置
WO2020119796A1 (zh) 指令处理方法和芯片
CN114157684A (zh) 一种报文处理的方法、设备以及存储介质
WO2017211211A1 (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: 15900740

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: 15900740

Country of ref document: EP

Kind code of ref document: A1