Data caching method and device
A data cache and cache technology, applied in the field of communication, can solve problems such as single data storage method
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Take running on a computer terminal as an example, figure 2 It is a block diagram of the hardware structure of a computer terminal for a data caching method in an embodiment of the present invention. Such as figure 2 As shown, the computer terminal 20 may include one or more (only one is shown in the figure) processor 202 (the processor 202 may include but not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.), for A memory 204 for storing data, and a transmission device 206 for communication functions. Those of ordinary skill in the art can understand that, figure 2 The shown structure is only for illustration, and it does not limit the structure of the above-mentioned electronic device. For example, computer terminal 20 may also include figure 2 m...
Embodiment 2
[0070] In this embodiment, an LRU cache device is also provided, which is used to implement the above embodiments and preferred implementation manners, and what has been explained will not be repeated here. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.
[0071] According to another embodiment of the present invention, an LRU cache device is provided, including: an acquisition module, configured to acquire data to be stored; a determination module, configured to determine the storage location of the data to be stored according to the occupied length of the current LRU linked list , wherein the storage location includes: a plurality of areas pre-divided according to the maximum length of the LRU linke...
Embodiment 3
[0076] According to another embodiment of the present invention, a storage medium is provided, and the storage medium includes a stored program, wherein, when the program is running, the method described in any one of the above optional embodiments is executed.
[0077]Optionally, in this embodiment, the above-mentioned storage medium may include but not limited to: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk Various media that can store program codes such as discs or optical discs.
[0078] Optionally, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementation manners, and details are not repeated in this embodiment.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com