A content-centric network-based cache placement method and device
A content-centric network and caching technology, applied in the field of communication, can solve problems such as reducing network caching efficiency and caching content redundancy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0089] figure 1 It shows the flowchart of the content-centric network-based cache placement method provided by the embodiment of the present invention, as shown in figure 1 As shown, the method includes:
[0090] Step S101, the first node receives the first interest packet sent by the user and analyzes the first interest packet. The first interest packet stores: a content name, and the content name is a naming prefix of the content required by the user.
[0091] Step S102, the first node judges whether there is a pre-stored data packet corresponding to the content name in the first Interest packet in the cache of the first node; if there is no pre-stored data packet corresponding to the content name in the first Interest packet, the The content name is sent to the controller;
[0092] Step S103, the controller receives the content name sent by the first node, and searches for a content server storing data corresponding to the content name according to the content name; cal...
Embodiment 2
[0117] This embodiment further defines step 104 in the first embodiment. In step 104, calculating cache decision indexes of multiple nodes in the optimal path according to the cache space metric and the request frequency specifically includes: the optimal path includes n nodes [R 1 , R 2 ,...,R i ,...,R n ].
[0118] The controller obtains the node R in the optimal path i The remaining cache space space(R i ) and the sum of the remaining cache space of the total nodes in the optimal path, the cache space metric Sp(R of the node on the optimal path i ) is the remaining cache space space(R i ) and the sum of the remaining cache space of the total nodes in the optimal path, please refer to formula one;
[0119]
[0120] Get the predetermined time, according to the second formula, calculate the node R i The content request frequency Re(C j );
[0121] The second formula is
[0122]
[0123] Among them, num(C ij ) for the node R i received about content C j The ...
Embodiment 3
[0132] figure 2 A schematic diagram showing the structure of a content-centric network-based cache placement device provided by an embodiment of the present invention, as shown in figure 2 As shown, the device 10 includes: a first receiving module 110 , a first judging module 120 , and a first sending module 130 .
[0133] The first receiving module 110 is configured to receive the first interest packet sent by the user and analyze the first interest packet, the first interest packet stores: a content name, and the content name is the naming prefix of the content required by the user ;
[0134] The first judging module 120 is used to judge whether there is a pre-stored data packet corresponding to the content name in the first interest packet; if there is no pre-stored data packet corresponding to the content name in the first interest packet, the content The name is sent to the controller;
[0135] The first receiving module 110 is also configured to receive the maximum ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


