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

Transaction processing method based on Flash memory

A transaction processing and memory technology, applied in electrical digital data processing, input/output process of data processing, instruments, etc., can solve problems such as unusable use, destruction of original data, data loss, etc., to avoid frequent erasing and rewriting Memory chips, improve business performance, and ensure the effect of atomicity

Active Publication Date: 2021-12-10
无锡融卡科技有限公司
View PDF15 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the process of writing new data, if there is an abnormal situation, such as a sudden power failure, the new data will not be completely written, and the original data may be destroyed at the same time, resulting in the digital device not being able to be used normally, or even unable to continue to use
If the working safety and service life of digital equipment are affected, data loss may cause more serious losses for users
Therefore, the process of modifying important data on digital devices needs to be protected by transactions, and the original data should be backed up so that it can restore the original data when necessary. When writing high-frequency scattered data during the process, the transaction performance of digital devices and the durability of memory chips will be greatly affected
However, the currently used transaction caching method can only cache one transaction because the cache will also be submitted when the transaction is committed. When multiple transactions are performed continuously, it will bring multiple data erasures, and the durability of the memory chip cannot be effectively guaranteed.

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
  • Transaction processing method based on Flash memory
  • Transaction processing method based on Flash memory
  • Transaction processing method based on Flash memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] Hereinafter, the present invention will be described in more detail with reference to the accompanying drawings. In the various figures, identical elements are indicated with similar reference numerals. For the sake of clarity, various parts in the drawings have not been drawn to scale. Also, some well-known parts may not be shown.

[0059] The present invention is described below based on examples, but the present invention is not limited to these examples. In the following detailed description of the invention, some specific details are set forth in detail. The present invention can be fully understood by those skilled in the art without the description of these detailed parts. In order not to obscure the essence of the present invention, well-known methods, procedures, procedures, components and circuits have not been described in detail.

[0060] The specific implementation manners of the present invention will be further described in detail below in conjunction...

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 transaction processing method based on a Flash memory, which comprises the following steps of: receiving an instruction, and caching a first transaction in an execution cycle of the instruction in a first cache mode; judging whether the transaction needs to be started continuously or not; when the transaction needs to continue to be started and the cache space meets the starting condition of a second cache mode, caching the current transaction in the second cache mode; when the transaction needs to continue to be started and the cache space does not meet the starting condition of the second cache mode, submitting cache data of the transaction before the current transaction in the cache space, resetting the cache space, and caching the current transaction in the first cache mode; and circularly executing the step of judging whether the transaction needs to continue to be started until the transaction does not need to continue to be started, submitting the cache data of the current transaction, and returning a response. By means of the transaction processing method, frequent erasing and writing of the storage chip can be effectively avoided, and therefore the durability and transaction performance of the chip are improved.

Description

technical field [0001] The invention relates to the technical field of data storage, in particular to a transaction processing method based on a Flash memory. Background technique [0002] Flash memory (flash memory for short) is a kind of non-volatile (Non-Volatile) memory, which can keep data for a long time without power supply. Its storage characteristics are equivalent to hard disks. The basis of storage media for portable digital devices. At present, flash memory has been widely used in digital devices such as mobile phones, tablets, digital cameras, and communication equipment. [0003] Generally, a digital device using a Flash memory needs to update the data in the storage area during use, that is, write new data to replace the original data. In the process of writing new data, if there is an abnormal situation, such as a sudden power failure, the new data cannot be completely written, and the original data may be destroyed at the same time, resulting in the digita...

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): G06F3/06
CPCG06F3/0679G06F3/0614G06F3/0656Y02D10/00
Inventor 马佳伟孙楚昆余彦飞
Owner 无锡融卡科技有限公司