Method and storage medium for client prefetching data
A client and client application technology, applied in transmission systems, electrical components, etc., can solve problems such as lack of support, and achieve the effect of reducing time-consuming and access failures
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0063] Please refer to figure 2 , this embodiment provides a method for the client to prefetch data, which can dynamically refresh the DNS cache and realize a function similar to that of a web browser to pre-read the DNS cache, thereby reducing the number of failures caused by DNS resolution failures during network access by the client. Resulting in network request failure, which in turn leads to business failure.
[0064] The methods include:
[0065] S1: Preset a domain name list corresponding to a client application, a DNS prefetch switch, a prefetch refresh trigger type, and a prefetch cycle on the server side. Since the domain names used by applications of the same type are basically the same, the corresponding domain name list, DNS prefetch switch, prefetch refresh trigger type, and prefetch cycle can also be preset corresponding to the application type to simplify the preset process.
[0066] Specifically, a domain name list consisting of domain names that may be use...
Embodiment 2
[0082] This embodiment corresponds to Embodiment 1, and provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, it can implement the client prefetching data described in Embodiment 1 above. The steps included in the method. The specific steps will not be repeated here, please refer to the description of Embodiment 1 for details.
[0083] In summary, a method and a storage medium for prefetching data by a client provided by the present invention can reduce the problem of network request failure caused by DNS resolution failure during client network access; Time-consuming and failure probability, as well as the problem of DNS resolution and access delay in the changing environment of the client; furthermore, the present invention also has the characteristics of flexible and convenient configuration and high practicability.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


