Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method and device for processing cached data

A technology for caching data and processing methods, which is applied in the field of communication and can solve problems such as cache data loss

Active Publication Date: 2019-08-02
LAUNCH TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, an embodiment of the present invention provides a cache data processing method and device to solve the problem that the existing cache data processing method may cause cache data loss

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 device for processing cached data
  • Method and device for processing cached data
  • Method and device for processing cached data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] In order to make the object, technical solution and advantages of the present invention clearer, the present invention 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 invention, not to limit the present invention.

[0020] figure 1 It shows the implementation flowchart of the cache data processing method provided by the embodiment of the present invention, and the details are as follows:

[0021] In step S101, when an instruction to enter the sleep state is received, the current storage capacity of the cached data in the first-in-first-out memory is acquired.

[0022] It should be noted that the execution subject of the embodiment of the present invention may be a wearable smart device, may also be a device built in a wearable smart device, or may be other cache data processing device, which is not limited he...

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 is applicable to the field of information technology, and provides a processing method and device for cached data. The method includes: when receiving an instruction to enter a sleep state, acquiring the current storage capacity of cached data in the first-in-first-out memory; if the current storage capacity is greater than a first preset value and less than a second preset value, continuously querying Whether there is an interrupt request corresponding to the first-in-first-out memory, wherein the second preset value is smaller than the maximum storage capacity of the first-in-first-out memory; after querying the interrupt request corresponding to the first-in-first-out memory, read Get the cached data in the first-in-first-out memory. The present invention avoids that the interrupt request corresponding to the first-in-first-out memory cannot be processed in time during the execution of the instruction to enter the sleep state, and ensures that the cached data in the first-in-first-out memory can be read in time, thereby ensuring that the first-in-first-out memory corresponds to Cached data is not lost.

Description

technical field [0001] The invention belongs to the technical field of communication, and in particular relates to a processing method and device for cached data. Background technique [0002] In order to improve battery life, wearable smart devices usually adopt a low-power working mode, that is, the MCU (Microcontroller Unit, Micro Control Unit) stays in the sleep state for as long as possible when there is no work task, and as fast as possible after entering the working state. Finish your work tasks, then go to sleep immediately. For example, wearable smart devices usually use FIFO (First Input First Output) memory to cache the three-axis acceleration value. When the FIFO memory is full, the three-axis acceleration sensor generates an interrupt, so that the MCU reads the three-axis acceleration value cached in the FIFO memory. Acceleration value. [0003] However, the MCU in the wearable smart device not only has to deal with the interrupts generated by the three-axis a...

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): G06F5/06
CPCH04L65/00
Inventor 刘均余文镇
Owner LAUNCH TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More