The present invention relates to a data selective caching method based on cooperative caching, which includes the following steps: Step S1, when the
current user receives a request for each data from an adjacent user, or receives each data from an adjacent user or a
base station,
record and update The number of requests for each data; step S2, the
current user predicts the probability that each data will be requested in the future according to the number of requests for each data, so as to obtain the predicted probability of each data; step S3, the
current user asks and collects neighboring users before caching each data The memory cache situation of the user, combined with the size of each data and the
prediction probability of each data, defines the value of each data; and step S4, if the current user's memory is not full, cache the received data, otherwise, according to the size of each data As well as the value of each data, a
greedy algorithm is used to determine whether to cache the received data to replace the
original data in the memory. The invention efficiently utilizes the limited memory capacity of the terminal, and realizes the maximum
cellular traffic unloading.