Research Article
An Intelligent Caching and Replacement Strategy Based on Cache Profit Model for Space-Ground Integrated Network
Algorithm 1
Cache replacement management.
| | Input: user request content , cache profit , time of diminishing returns | | | for every content requested by the user | | | if is in the cache; | | | Update information; | | | cache profit update, insert the cache stack; | | | else cache miss | | | request the relevant routing table of from the SDN controller; | | | while there is not enough space in the cache for ; | | | delete the object at the bottom of the cache stack ; | | | end while | | | calculate cache profit of and the rate of profit decay; | | | insert the cache stack | | | end if | | | sort content by cache profit | | | end for |
|