Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2022-04-01
FUJIAN TIANQUAN EDUCATION TECH LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this function currently has less support in the kernel of mobile browsers. How does the current H5 or other browsers on the mobile end implement the above-mentioned similar pre-reading function?

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and storage medium for client prefetching data
  • Method and storage medium for client prefetching data
  • Method and storage medium for client prefetching data

Examples

Experimental program
Comparison scheme
Effect test

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.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides a method and a storage medium for a client to prefetch data. The method includes: presetting a domain name list corresponding to a client application, a prefetching refresh trigger type and a prefetching period; after the client is started, asynchronously executing the one The prefetch process of the client application: obtain the last prefetch time; if not, cache the data corresponding to the domain name list according to the prefetch refresh trigger type; if there is, according to the prefetch cycle, in the next prefetch When the fetch time arrives, the data corresponding to the domain name list in the cache is refreshed according to the prefetch refresh trigger type. The present invention can reduce the problem of network request failure caused by DNS resolution failure when the client network accesses; in particular, it can reduce the time-consuming and failure probability of the first access, and the scene where the environment where the client is located changes. The problem of access delay; further, the present invention also has the characteristics of flexible and convenient configuration and high practicability.

Description

technical field [0001] The invention relates to the field of interaction between a client and a server, in particular to a method and a storage medium for prefetching data by a client. Background technique [0002] Most of network communication is based on TCP / IP, and TCP / IP is based on IP address. Therefore, when a computer communicates on the network, it can only recognize IP addresses such as "202.96.134.133", but not domain names. We can't remember websites with more than 10 IP addresses, so when we visit a website, we mostly enter the domain name in the browser address bar to get the desired page. This is because there is a computer called "DNS server" that automatically "translates" the domain name we input into the corresponding IP address, and then calls up the web page corresponding to the IP address. [0003] To put it simply, the DNS server automatically translates the domain name into the corresponding IP address. The problem of DNS is also relatively easy to ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L61/4511H04L61/58H04L67/5681
CPCH04L61/58H04L61/4511H04L67/5681
Inventor 刘德建林伟郭玉湖陈宏
Owner FUJIAN TIANQUAN EDUCATION TECH LTD