Data caching method and device

A data caching and caching technology, applied in the Internet field, can solve problems such as inability to view pictures or videos, and achieve the effect of avoiding repeated caching, speeding up processing, and saving storage resources.

Inactive Publication Date: 2017-05-31
TVMINING BEIJING MEDIA TECH
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, when the new data includes pictures or videos, the terminal only loads the pictures or videos displayed on the current screen, and only loads the corresponding links for pictures or videos not displayed on the current screen. When the environment is switched to a no-network environment, the pictures or videos that have not been loaded cannot be viewed, which brings great inconvenience to the user. Therefore, how to propose a data caching method and device for entering a no-network environment After that, the content of the page can still be completely displayed, which is convenient for users to browse

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
  • Data caching method and device
  • Data caching method and device
  • Data caching method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0056] figure 1 It is a flowchart of a data caching method in an embodiment of the present invention, such as figure 1 As shown, the identification code processing method in the present invention can be applied to the terminal, and the method includes the following steps S101-S103:

[0057] In step S101, a trigger event for refreshing the current page is received;

[0058] In step S102, obtain the link corresponding to the newly added data in the current page according to the trigger event;

[0059] In step S103, the newly added data corresponding to the link is cached.

[0060] When a user opens a website with functions such as photo sharing, making friends, and...

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 invention discloses a data caching method and device so as to still be capable of completely displaying the content of a page after getting into an environment in which network connection is unavailable and facilitate users to browse. The data caching method comprises the steps of receiving a trigger event for refreshing the current page; acquiring a link corresponding to newly increased data in the current page according to the trigger event; and caching the newly increased data corresponding to the link. By adopting the method provided by the invention, all newly increased data in the currently opened page can be cached in advance, so that the content of the page can still be completely displayed after getting into an environment in which network connection is unavailable, and users are facilitated to browse the page.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a data caching method and device. Background technique [0002] Some types of website data update speed is very fast, such as websites with functions such as photo sharing, making friends, and blogging. In these websites, users can see moods, blog posts, photos, videos, etc. shared by friends. When this kind of webpage is opened by the user, it will detect whether there is data update, and when there is data update, it will trigger the refresh of the page. [0003] In the prior art, when the new data includes pictures or videos, the terminal only loads the pictures or videos displayed on the current screen, and only loads the corresponding links for pictures or videos not displayed on the current screen. When the environment is switched to a no-network environment, pictures or videos that have not been loaded cannot be viewed, which brings great inconvenience to users. Ther...

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 Applications(China)
IPC IPC(8): H04L29/08G06F17/30
CPCG06F16/958H04L67/5682H04L67/568
Inventor 王坤辉
Owner TVMINING BEIJING MEDIA TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products