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

Data caching method and electronic device

A technology for data caching and electronic devices, applied in the direction of input/output to record carriers, etc., can solve problems such as inability, direct access, and ignorance, and achieve the effect of saving storage space

Active Publication Date: 2019-04-23
ACER INC
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this design will cause two problems: (1) most users may not know that there is this setting; (2) the data that is selected not to be synchronized will not be directly accessible on the device
However, although the space required to store metadata is smaller than that of real data, it still occupies storage space, and when the amount of data is too large, it still occupies the available space of the device
In addition, this design does not have a clearing mechanism after downloading a data content; therefore, as the device usage time increases, it will continue to occupy storage space
When hardware manufacturers continue to reduce the storage space on the device in order to save costs, such a storage mechanism will no longer be feasible

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The electronic device of the present invention not only caches data for the data used by the user, but also caches metadata of all data and sub-directories under the directory used by the user. In addition, the electronic device also records the user's data access history, and regularly clears the cached data at the local end for data or directories that have not been used for a long time. In this way, limited storage space can be effectively used to cache data, and a balance can be achieved between space requirements and data access efficiency.

[0024] figure 1 It is a block diagram of an electronic device shown in an embodiment of the present invention. Please refer to figure 1 The electronic device 10 of this embodiment is, for example, a portable electronic device such as a mobile phone, a smart phone, a personal digital assistant, or a tablet computer, or a notebook computer or a desktop computer, without limitation here. The electronic device 10 includes a com...

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 provides a data-caching method and an electronic device. The data-caching method is suitable to be used to cache data downloaded from a remote device by the electronic device. The method comprises: intercepting an access instruction for the remote device, to download the data which is required to access by the access instruction or all data under a catalog which is required to access and metadata of sub-catalogs from the remote device; caching the downloaded data or metadata to a storage unit of the electronic device, and recording use time of the cache data; under a preset condition, checking use time of all cached data, to delete at least a piece of data whose use time is farthest from current time, and checking whether the catalog in which each piece of deleted data is does not include data with cache data, to delete all data under the catalog and the metadata of the sub-catalogs. The method can save storage space occupied by cache data of the electronic device.

Description

technical field [0001] The present invention relates to a data processing method and device, and in particular to a data buffering method and an electronic device. Background technique [0002] With the development of Cloud Drive, users are more and more accustomed to storing files in Cloud Drive. However, the speed of accessing data through the network cannot be compared with the speed of accessing local data. In order to solve this problem, most of the current cloud storage solutions on the market will provide a local cache (Cache) mechanism. This mechanism will pre-download the data in the cloud drive to the local hard drive to provide better access speed. [0003] For example, the Dropbox service launched by the U.S. company Dropbox will download all the data in the cloud drive to the local storage space. This design will occupy all the available space when the local storage space is limited. On the other hand, the Google Drive service launched by Google in the United...

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): G06F3/06
Inventor 蔡锦和
Owner ACER INC