The invention relates to the technical field of
industrial Internet identifier analysis and networks, in particular to a novel caching method and
system for an
industrial Internet identifier analysisrecursive
server. An original caching method of the recursive
server is not changed, and the identifier and the information with higher query frequency can be dynamically adjusted to the caching queueuntil the identifier is deleted due to expiration of TTL or discarded due to the fact that the caching
queue reaches the upper limit of the length. Meanwhile, a newly-built secondary node cache queueis used for caching
IP address information corresponding to the secondary node, so whether the secondary node cache
queue has a secondary node address or not can be checked if the recursive
server has no cache locally, and if the secondary node cache
queue has the secondary node address, a request is directly initiated to the secondary node to obtain corresponding identification information, so that interaction operation with a top-level node is reduced, thereby reducing the top-level node pressure and bandwidth load. According to the method, the frequency of frequently interacting with the top-level node can be reduced, and the working efficiency of
industrial Internet identifier analysis caching can be improved.