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

Buffer data processing method and device, electronic device and storage medium

A technology for caching data and data processing, which is applied in the field of data processing, can solve problems such as system performance degradation, and achieve the effects of improving system performance, reducing delay, and reducing time

Active Publication Date: 2019-03-29
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Every time data is read and written, there will be a certain delay, for example, a delay of 200ms-20s, resulting in a sharp drop in system performance

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
  • Buffer data processing method and device, electronic device and storage medium
  • Buffer data processing method and device, electronic device and storage medium
  • Buffer data processing method and device, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] The present disclosure will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present disclosure, but not to limit the present disclosure. In addition, it should be noted that, for the convenience of description, only some structures related to the present disclosure are shown in the drawings but not all structures.

[0054] figure 1It is a flow chart of a method for processing cached data provided by an embodiment of the present disclosure. This embodiment is applicable to the case of processing cached data. The method can be executed by a device for processing cached data. The device can use software and / or Realized by means of hardware, the apparatus can be configured in electronic equipment, such as terminal equipment or servers. like figure 1 As shown, the method may include the following steps:

[0055] Step 101, g...

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 cache data processing method and device, an electronic device and a storage medium. The method comprises the following steps: generating a basic mapping table corresponding to the cached data in the cache, and grouping the basic mapping table to obtain a preset number of grouping mapping tables, wherein, the basic mapping table comprises key names of all cached data and positions of all cached data in a linked list; Acquiring a data processing request and determining a target key name in the data processing request; Querying the target key name in parallel in each ofthe grouping mapping tables; processing The cached data in the cache according to the query result and the type of the data processing request. The disclosed embodiment can reduce the time of traversing the mapping table by using the key name of the cached data by querying the target key name in each packet mapping table in parallel, thereby effectively reducing the delay of reading and writing the cached data and improving the system performance.

Description

technical field [0001] Embodiments of the present disclosure relate to data processing technologies, and in particular, to a cache data processing method, device, electronic device, and storage medium. Background technique [0002] Generally speaking, the caching strategy mainly includes three types of operations: adding, obtaining and deleting the cache. The least recently used algorithm (Least Recently Used, LRU) is usually used for caching, which forms a linked list of resources according to the most recent access time. When a resource in the cache is accessed, the node is removed from the linked list and reinserted into the head of the linked list; when a new resource that is not in the cache is accessed, the resource that has not been accessed for the longest time at the end of the linked list is removed. New resources are inserted at the head of the linked list. Memory cache LruCache is a cache tool class provided by android, and its algorithm is the least recently u...

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): G06F16/903G06F16/901G06F12/123
CPCG06F12/123
Inventor 方明
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD