Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Cache data management method based on energy harvesting nonvolatile processor and medium

A non-volatile, caching data technology, applied to data error detection, electrical digital data processing, instruments, etc. in the direction of redundancy in computing, can solve the problem of increasing energy burden, backup redundancy recovery rollback operation, waste of energy And other issues

Active Publication Date: 2021-07-30
GUANGZHOU UNIVERSITY
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Backup optimization mainly focuses on data backup in the main memory and non-volatile cache. At present, many backup technologies use instant backup technology, that is, when the system is powered off, it is immediately backed up. Even if the energy is restored immediately, backup is still required operation, resulting in backup redundancy and unnecessary recovery and rollback operations, wasting a lot of energy and increasing the energy burden

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
  • Cache data management method based on energy harvesting nonvolatile processor and medium
  • Cache data management method based on energy harvesting nonvolatile processor and medium
  • Cache data management method based on energy harvesting nonvolatile processor and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0084] This embodiment discloses a cache data management method based on a non-volatile processor for energy harvesting, wherein the cache of the non-volatile processor is a hybrid cache based on a non-volatile memory, and the non-volatile processor includes Mixed cache (cache) and non-volatile main memory (main memory). In this architecture, the register file can be fully backed up by non-volatile flip-flop (NVFF) technology, and the hybrid cache consists of volatile memory (SRAM) and non-volatile memory (MLC STT-RAM). like figure 1 As shown in, the method of this embodiment includes the steps:

[0085] Step S1, logically partition the non-volatile memory MLC STT-RAM, and form soft blocks and hard blocks after logical partitioning.

[0086] Each MLC STT-RAM block is 2 times the size of each SRAM block. Before the logical partition, in each MLC STT-RAM block, 1 / 2 are soft bits and 1 / 2 are hard bits. When logically partitioning the MLC STT-RAM, the adjacent physical blocks ...

Embodiment 2

[0135] This embodiment 1 discloses a cache data management device based on a non-volatile processor for energy harvesting. The cache of the non-volatile processor is a hybrid cache based on non-volatile memory, including volatile memory. SRAM and non-volatile memory MLC STT-RAM, the device includes:

[0136] Partitioning module: used to logically partition non-volatile MLC STT-RAM, and form soft blocks and hard blocks after logical partitioning;

[0137] The data state machine setting module is used to set n-bit registers for each volatile memory SRAM block and non-volatile soft block, and each cache block corresponds to 2 n state, when the cache block starts to enter the cache, the initial state is S 0 , after each transition time T, enter the next state, if a read or write access operation occurs, the state of the cache block is reset to the initial state S 0 , otherwise, if in (2 n -1) No access operation occurs on the cache block during ×T, then the cache block will rea...

Embodiment 3

[0148] This embodiment discloses a storage medium that stores a program. When the program is executed by a processor, the method for managing cache data based on an energy harvesting non-volatile processor described in Embodiment 1 is implemented, as follows:

[0149] The non-volatile memory MLC STT-RAM is logically partitioned, and soft blocks and hard blocks are formed after logical partitioning;

[0150] For each volatile memory SRAM block and non-volatile soft block, an n-bit register is set respectively, and each cache block corresponds to 2 n state, when the cache block starts to enter the cache, the initial state is S 0 , after each transition time T, enter the next state, if a read or write access operation occurs, the state of the cache block is reset to the initial state S 0 , otherwise, if in (2 n -1) No access operation occurs on the cache block during ×T, then the cache block will reach state and remain in this state until the cache block is accessed or replac...

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 management method based on an energy harvesting nonvolatile processor, and a medium, and the method comprises the steps: firstly, carrying out the logic partitioning of a nonvolatile memory MLC STT-RAM, and forming a soft block and a hard block; setting a data state machine for a soft block obtained after logic partitioning of a volatile memory SRAM block and a nonvolatile memory; and determining a final management method based on the size relation between the NVP energy surplus Q and a high-energy threshold value and a low-energy threshold value, wherein the final management method comprises the processes of executing cache management and executing preparation and backup, the cache management method carries out management according to the hit position and read-write operation of a target block TB, data with read sensitivity is loaded in a soft block as much as possible, the data with read sensitivity is stored in the soft block as much as possible, and data with write sensitivity are distributed in the SRAM blocks as far as possible. The method can improve system performance on the premise of fully utilizing cache space and ensuring successful backup, effectively reduce backup redundancy and reduce backup overhead.

Description

technical field [0001] The invention relates to the technical field of data backup, in particular to a cache data management method and medium based on an energy harvesting non-volatile processor. Background technique [0002] The rapid development of 5G wireless communication technology and Internet of Things technology has made high-performance, small-sized wearable portable mobile devices and implantable devices set off a new climax in the Internet and many industries, such as medical and health monitoring, environmental monitoring and traffic control. , its attention and demand are constantly increasing. Wearable devices have a complex working environment and are required to be portable and portable, so large-sized and heavy batteries are no longer an ideal energy source. In addition, the frequent charging of batteries makes them unsuitable for new embedded devices operating in complex and diverse environments. Therefore, self-powered systems including ambient energy h...

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): G06F12/0873G06F11/14
CPCG06F12/0873G06F11/1456Y02D10/00
Inventor 王艳房贺年邓霞李先睿
Owner GUANGZHOU UNIVERSITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products