Data rewriting method

By grouping memory blocks and using word data with recency, block, and validity bits, the data rewriting method reduces rewrites, extending the memory's lifespan and maintaining operational quality.

JP2024142139AInactive Publication Date: 2024-10-10LAPIS TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023054164
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-29
Publication Date
2024-10-10
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Conventional data rewriting methods in non-volatile memories like Flash ROM and EEPROM result in excessive data rewrites, leading to a prolonged time before reaching the maximum rewrite limit, which affects operational quality.

Method used

A data rewriting method that divides memory blocks into groups and uses word data with recency, block, and validity bits to distribute data rewrites evenly across multiple word data, reducing the number of rewrites by writing updated data to spare word data in a different block group.

Benefits of technology

This approach reduces the number of data rewrites by 33% compared to conventional methods, extending the lifespan of the memory by evenly distributing the rewrite load across multiple word data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024142139000001_ABST
    Figure 2024142139000001_ABST
Patent Text Reader

Abstract

To perform data backup in a memory while reducing the number of times of data rewriting more than before.SOLUTION: In a memory configuration in which, in a memory space including word data for storing data associated with a block number for identifying a plurality of blocks and a data address of each block, a memory group 3 is provided which is composed of a plurality of word data 1A and 1B storing data corresponding to a data address belonging to each block group one by one respectively and at least one or more spare word data 1C, a computer 10 writes, when the data of the designated data address is updated, the data after update of the designated data address in the word data 1C in the memory group 3 including the word data storing the datum of the designated data address.SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a method for rewriting data in a memory. [Background technology]

[0002] Patent Document 1 discloses an information processing method in which a memory is configured with physical blocks as a data area for storing data, and physical blocks as a first area and a second area for storing physical block numbers of the physical blocks constituting the data area, thereby maintaining the integrity of individual data even if memory corruption occurs while multiple data are being written to multiple logical blocks. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent No. 3702923 Summary of the Invention [Problem to be solved by the invention]

[0004] 7 shows an example of the configuration of the memory in Patent Document 1. The memory in Patent Document 1 is provided with a first area 20 and a second area 21, each of which includes a target pointer area 22 pointing to a target block 31 in a data area 30, an update pointer area 23 pointing to an update block 32 in the data area 30, validity information 24 indicating the validity of the data, and latest information 25 indicating the order in which the data is written.

[0005] The target block 31 is a physical block into which data should originally be written when the data is written.

[0006] The update block 32 is a physical block for updating that is used when writing data into a physical block to update its stored contents.

[0007] The four physical block numbers in the target pointer area 22 of the first area 20 and the second area 21 correspond to logical block numbers represented by %00 to %03. For example, the four physical block numbers #00 to #03 in the target pointer area 22 in the first area 20 in Fig. 7 correspond to logical block numbers %00 to %03, respectively. Note that the value "FF" in the memory in Fig. 7 is the initial value of the memory, and represents a state in which no data has ever been written.

[0008] For example, in a situation where the validity information 24 indicates that only the first region 20 is valid, assume that there is a request to write data to each of the logical blocks represented by logical block numbers %00 and %02. In this case, referring to the target pointer region 22 of the first region 20 indicates that the physical block numbers corresponding to logical block numbers %00 and %02 are #00 and #02, respectively. Therefore, the physical blocks represented by #00 and #02 are recognized as the target blocks 31 to which data is to be written.

[0009] Furthermore, when the update pointer area 23 of the first area 20 is referenced from the left the number of times corresponding to the number of physical blocks to which data is to be written, physical block numbers of the update blocks 32, #04 and #05, are obtained.

[0010] Therefore, in the memory of Patent Document 1, data that should be written to physical blocks in target block 31, whose physical block numbers are #00 and #02, are written to physical blocks in update block 32, whose physical block numbers are #04 and #05, respectively.

[0011] FIG. 8 is a diagram showing an example in which data is written to a physical block in the update block 32. As shown in FIG.

[0012] Then, the target pointer area 22 of the first area 20 is copied to the target pointer area 22 of the second area, and #04 and #05, which are the physical block numbers of the physical blocks in the update block 32 to which the data was written, are written to an area in the second area 21 where the logical block numbers of the target pointer area 22 correspond to %00 and %02.

[0013] In addition, the update pointer area 23 of the first area 20 is copied to the update pointer area 23 of the second area 21, and the physical block numbers #00 and #02 of the physical blocks to which the original data was written are written to the update pointer area 23 in the second area 21, the validity information 24 of the second area 21 is set to valid, and the validity information 24 of the first area 20 is set to invalid.

[0014] That is, data is written to the specified logical block number not to the target block 31 but to the update block 32, so the data stored in the target block 31 remains as is. Therefore, even if data is not normally written to memory due to a communication failure or the like, the original data can be restored by referring to the validity information 24 stored in the first area 20 and the second area 21 to determine the block in which the original data was stored before the data was written.

[0015] However, in such a configuration, the first area 20 and the second area 21 are alternately rewritten every time data is written. Specifically, the target pointer area 22 and the update pointer area 23 of the first area 20 and the second area 21 each store four pointers pointing to physical blocks, and the target pointer area 22 and the update pointer area 23 are rewritten every time a write request is made to a physical block pointed to by a pointer. Therefore, the total number of rewrites occurring in the data first area 20 and the second area 21 is twice the number of rewrites occurring in each physical block of the data area 30.

[0016] Specifically, if there are 100 requests to write data to each of the two blocks, logical block number %00 and logical block number %01, the number of times the first area 20, second area 21, and data area 30 are rewritten will be as follows: Here, data in logical block number %00 is rewritten alternately to physical block numbers #00 and #04, and data in logical block number %01 is rewritten alternately to physical block numbers #01 and #05.

[0017] [Number of rewrites] Number of times the first area 20 is rewritten: 100 times x 2 blocks / 2 areas = 100 times Number of times the second area 21 is rewritten: 100 times x 2 blocks / 2 areas = 100 times Number of rewrites for physical block numbers #00 and #04 in data area 30: 100 times / 2 areas = 50 times Number of rewrites for physical block numbers #01 and #05 in data area 30: 100 times / 2 areas = 50 times

[0018] On the other hand, non-volatile memories such as Flash ROM (Flash Read Only Memory) and EEPROM (Electrically Erasable Programmable Read Only Memory) are limited in the maximum number of times they can be rewritten in order to guarantee the quality of operation. When the maximum number of times data can be rewritten is set in advance in an IC card or the like, this maximum number of times applies not only to the number of times the data area 30 can be rewritten, but also to the number of times the pointer area pointing to the data area 30, such as the first area 20 and the second area 21, can be rewritten.

[0019] Therefore, in the conventional data rewriting method for data backup, there was a problem that the maximum number of rewrites to the memory was exceeded quickly.

[0020] The present invention has been proposed to solve the above-mentioned problems, and has an object to provide a data rewriting method that can back up data in a memory while reducing the number of times data is rewritten compared to the conventional method. [Means for solving the problem]

[0021] In a data rewrite method according to the present invention, in a memory space including word data storing data associated with each data address represented by a block number identifying a plurality of blocks and an address uniquely set for each block, the plurality of blocks are divided into two or more block groups, and memory groups are provided each including a plurality of word data storing one piece of data associated with the data addresses belonging to each of the block groups, and at least one or more spare word data. When updating data at a specified data address, a computer executes a process of writing the updated data at the specified data address to word data other than the word data in the memory group including the word data storing the data at the specified data address, in which the data before the update of the data address to be updated is stored, and the word data in which the latest data of the data address belonging to the block group different from the word data storing the data at the data address to be updated is stored. Effect of the Invention

[0022] According to the present invention, it is possible to back up data in a memory while reducing the number of times data is rewritten compared to the conventional art. [Brief description of the drawings]

[0023] [Figure 1] FIG. 1 illustrates an example of the configuration of a computer. [Diagram 2] FIG. 2 is a diagram showing an example of the configuration of word data; [Diagram 3]FIG. 2 is a diagram illustrating an example of the configuration of a memory group. [Figure 4] 1 is a diagram showing an example of correspondence between an address map of data represented by a data address and an address map of data represented by a memory address; [Diagram 5] 13 is a flowchart showing an example of the flow of a data rewriting process. [Figure 6] 11A and 11B are diagrams illustrating an example of updating data by a data rewriting process. [Figure 7] FIG. 1 is a diagram illustrating an example of a conventional memory configuration. [Figure 8] FIG. 13 is a diagram showing an example in which data is written to a physical block. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0024] Hereinafter, the present embodiment will be described with reference to the drawings. Note that the same components and processes are given the same reference numerals throughout the drawings, and duplicated explanations will be omitted.

[0025] 1 is a diagram showing an example of the configuration of a computer 10 according to this embodiment. The computer 10 includes a CPU (Central Processing Unit) 11, which is an example of a processor, a RAM (Random Access Memory) 12 used as a temporary working area for the CPU 11, a non-volatile memory 13, and an input / output interface (I / O) 14. The CPU 11, the RAM 12, the non-volatile memory 13, and the I / O 14 are each connected via a bus 15.

[0026] The non-volatile memory 13 is an example of a storage device that maintains stored information even if the power supplied to the non-volatile memory 13 is cut off, and is, for example, a semiconductor memory or a hard disk. The non-volatile memory 13 stores, for example, a program that causes the computer 10 to execute a predetermined process.

[0027] The nonvolatile memory 13 does not necessarily have to be built into the computer 10, and may be a portable storage device that can be attached to and detached from the computer 10, such as a memory card. Although the nonvolatile memory 13 is configured to be controlled by the CPU 11, it may be configured to be controlled via a controller block that controls the nonvolatile memory 13.

[0028] Units corresponding to the functions of the computer 10 are connected to the I / O 14. In the example shown in Fig. 1, a communication unit 16 that communicates with an external device (not shown) via a communication line is connected, but it goes without saying that the unit connected to the I / O 14 is not limited to the communication unit 16.

[0029] Next, the memory configuration of the nonvolatile memory 13 will be described. As shown in Fig. 2, in the nonvolatile memory 13, one word, i.e., a 32-bit memory, is assigned to one address. In this way, the memory unit assigned to each address is called word data 1. To identify each word data 1, an address is associated with each word data 1 in the nonvolatile memory 13. The address associated with the word data 1 in the nonvolatile memory 13 is called a memory address.

[0030] On the other hand, data handled by the CPU 11 is managed in block units, and one block is made up of 16 words, that is, 16 pieces of word data 1.

[0031] A block number that identifies each block is assigned to each block, and an address is set for word data 1 contained in each block so that word data 1 within the block can be uniquely specified. That is, CPU 11 can specify data stored in specified word data 1 by the combination of the block number and the address within each block.

[0032] The address of data on the system, represented by a combination of a block number and an address within each block, is called a data address.

[0033] The word data 1 represented by the data address and the word address in the memory space represented by the memory address are associated with each other as described below, and can be referenced by each other.

[0034] Each such word Data1 includes a recency bit, a block bit, data, and a validity bit.

[0035] The recency bit is an example of a sequence field that indicates the update order of the data represented by the data address. For example, 2 bits are assigned to the recency bit. When the recency bit is b00 to b10, it indicates that data is stored in word data 1, and when it is b11, it indicates that no data is stored in word data 1. The symbol "b" is a symbol that indicates that the following numerical value is binary data.

[0036] When data is stored in word data 1, the larger the value of the recency bit, the newer the data stored is. Specifically, word data 1 with a recency bit of b01 stores newer data than word data 1 with a recency bit of b00, and word data 1 with a recency bit of b10 stores newer data than word data 1 with a recency bit of b01. When new data is stored after the recency bit reaches b10, the recency bit is returned to b00. In other words, between word data 1 with a recency bit of b10 and word data 1 with a recency bit of b00, the data stored in word data 1 with a recency bit of b00 is newer.

[0037] The block bit indicates the block group to which the data address associated with the stored data belongs. A block group refers to each group when each block is divided into two or more groups.

[0038] The block bit is assigned the bit required to uniquely identify a block group. For example, if a block group is divided into two blocks, A block and B block, the block group can be identified by assigning one bit as the block bit.

[0039] The data in word Data1 represents the data stored in word Data1.

[0040] The validity bit indicates whether the data stored in the word data 1 is normal or not. For example, when the CPU 11 writes data to the word data 1, the CPU 11 determines the validity of the data written to the word data 1 using an error correcting code such as an ECC (Error-Correcting Code), and reflects whether the written data is normal or not in the validity bit.

[0041] The CPU 11 handles such word data 1 at, for example, three consecutive memory addresses as one memory group 3.

[0042] 3 is a diagram showing an example of the configuration of the memory group 3. As an example, a case will be described in which the block group is divided into two blocks, A block and B block.

[0043] Memory group 3 is composed of word data 1A that stores data associated with the data addresses of blocks belonging to group A, word data 1B that stores data associated with the data addresses of blocks belonging to group B, and spare word data 1C for data rewriting.

[0044] That is, the memory group 3 includes word data 1A and word data 1B each storing one piece of data associated with a data address belonging to each of the grouped block groups, and spare word data 1C.

[0045] In the following, word data 1A, word data 1B, and word data 1C will be collectively referred to as "word data 1."

[0046] The word data 1C in the initial state does not contain any information. This state in which no information is contained is expressed as "empty."

[0047] If the memory address of word data 1A is "n", the memory addresses of word data 1B and word data 1C are memory address (n+1) and memory address (n+2), respectively. Note that the arrangement of word data 1A, word data 1B, and word data 1C in memory group 3 is just an example, and for example, word data 1C may be arranged at memory address n, word data 1A at memory address (n+1), and word data 1B at memory address (n+2).

[0048] 4 is a diagram showing an example of correspondence between an address map of data represented by data addresses and an address map of data in a memory space represented by memory addresses. Word data 1A included in each memory group 3 stores data included in block A, and word data 1B included in each memory group 3 stores data included in block B.

[0049] Next, a method for rewriting the word data 1 using the memory structure shown in FIG. 4 will be described in detail.

[0050] 5 is a flowchart showing an example of the flow of data rewrite processing executed by the CPU 11 when a data write request is received for the word data 1 at a specified data address in a specified block group. The CPU 11 reads a program from the non-volatile memory 13 and executes the data rewrite processing.

[0051] The CPU 11 executes the data rewrite process shown in FIG. 5 for the memory group 3 associated with the data address of the block group to which data is to be written.

[0052] In step S10, the CPU 11 determines whether or not there is initial state word data 1C, that is, empty word data 1C, in the memory group 3. If there is empty word data 1C, the process proceeds to step S20.

[0053] In step S20, the CPU 11 writes data into the empty word data 1C. In this case, the CPU 11 writes the specified block group into the block bit of the word data 1C, and sets the recency bit of the word data 1C to indicate that the latest data at the specified data address of the specified block group is stored in the word data 1C. The CPU 11 also sets a value corresponding to the validity of the data written into the word data 1C into the validity bit of the word data 1C. This ends the data rewrite process shown in FIG. 5.

[0054] On the other hand, if it is determined in the determination process of step S10 that no empty word data 1C exists in the memory group 3, the process proceeds to step S30.

[0055] In step S30, the CPU 11 determines whether or not there are a plurality of pieces of data of the same block group as the designated block group in the memory group 3.

[0056] If there are a plurality of pieces of data of the same block group as the designated block group in the memory group 3, the process proceeds to step S40.

[0057] In this case, data of a data address belonging to any of the block groups has already been written in the word data 1C. Therefore, in step S40, the CPU 11 writes data to the word data 1 in which the oldest data has been written among the plurality of word data 1 in the memory group 3 in which data of the same block group as the designated block group has been written, thereby rewriting the data.

[0058] The block bit of word data 1 can be referenced to determine which data address belongs to which block group is written in word data 1. The recency bit of word data 1 can be referenced to determine the update order of data at a specified data address in a specified block group.

[0059] Furthermore, CPU 11 sets a value according to the validity of the data written to word data 1 in the validity bit of word data 1 into which data has been written, and also sets the recency bit of word data 1 into which data has been written so that it can be seen that the latest data has been stored in the specified data address of the specified block group. This completes the data rewrite process shown in FIG.

[0060] On the other hand, if it is determined in the determination process of step S30 that the memory group 3 does not contain a plurality of pieces of data of the same block group as the designated block group, the process proceeds to step S50.

[0061] In this case, a plurality of pieces of data at data addresses belonging to a block group other than the designated block group are written in the word data 1 constituting the memory group 3. Therefore, in step S50, the CPU 11 writes data to the word data 1 in which the oldest data is written among the plurality of word data 1 in the memory group 3 in which data from a block group other than the designated block group is written, thereby rewriting the data.

[0062] To know which data address belongs to which block group is written in word data 1, one need only refer to the block bit of word data 1. To know the update order of data at a data address that belongs to a block group different from the specified block group, one need only refer to the recency bit of word data 1.

[0063] Furthermore, CPU 11 sets a value according to the validity of the data written to word data 1 in the validity bit of word data 1 into which data has been written, and sets the recency bit of word data 1 into which data has been written so as to indicate that the latest data has been stored in the specified data address of the specified block group. CPU 11 also updates the block bit of word data 1 into which data has been written so as to indicate that the written data is data of the specified block group. With the above, the data rewrite process shown in FIG. 5 is completed.

[0064] That is, when updating data at a specified data address, the CPU 11 executes a process of writing the updated data at the specified data address to word data 1 of the memory group 3 including word data 1 storing the data at the specified data address, other than word data 1 in which the data before the update of the data address to be updated is stored, and word data 1 in which the latest data of a data address belonging to a block group different from word data 1 storing the data at the data address to be updated is stored.

[0065] FIG. 6 is a diagram showing an example of updating data at a specified data address in accordance with the data rewrite process shown in FIG.

[0066] The combination of letters and numbers in word data 1 in memory group 3 in Fig. 6 represents the combination of [block bit]-[recency bit] in the corresponding word data 1, and for convenience of explanation, will be referred to as the "storage status." For example, when the storage status is represented as "A-00," this indicates that the block bit represents block A and the recency bit represents b00.

[0067] Now, assume that the memory group 3 associated with the data address to be updated contains word data 1A with a storage status of "A-00", word data 1B with a storage status of "B-00", and empty word data 1C.

[0068] In this state, when a data write request is made to a data address belonging to the A block associated with the memory group 3, the data is first written to the empty word data 1C, and the storage status is set to "A-01."

[0069] Next, when a data write request is made again to a data address belonging to the A block associated with memory group 3, the data is written to word data 1A, which contains the oldest data among the word data 1 in which data from the A block is written, and the storage status is set to "A-10".

[0070] Next, when a request to write data is made to a data address belonging to block B associated with memory group 3, the data is written to word data 1 in which data from a block other than block B is written, i.e., word data 1C in which the oldest data is written among word data 1 in which data from block A is written, and the storage status is set to "B-01".

[0071] Next, when a data write request is made again to a data address belonging to block B associated with memory group 3, the data is written to word data 1B, which contains the oldest data among word data 1 in which data from block B is written, and the storage status is set to "B-10".

[0072] In this manner, each memory group 3 stores the data before and after the update at the specified data address, enabling data backup.

[0073] Furthermore, each time a data write request occurs, the word data 1 to which data is written in the same memory group 3 transitions in sequence, so that the number of times data is rewritten can be evenly distributed to each word data 1 in the same memory group 3. Therefore, the number of times data is rewritten per word data 1 can be reduced compared to the case where the contents of the same word data 1 are rewritten each time a data write request occurs.

[0074] For example, suppose that 100 data rewrite requests are generated for each data address of block A and block B associated with a specific memory group 3. In this case, the number of data rewrites for each word data 1 is [200 (number of data rewrites generated for memory group 3) / 3 (number of word data 1 constituting memory group 3)]=67 times (rounded off to one decimal place).

[0075] In contrast, in the data rewrite process for memory in Patent Document 1, a maximum of 100 rewrites occur. Therefore, compared to the conventional data rewrite method involving data backup, the number of data rewrites per word data is reduced by 33%.

[0076] In the present embodiment, as an example, the memory group 3 is configured using three pieces of word data 1, but a plurality of spare word data 1 such as word data 1C may be prepared in one memory group 3, or three or more pieces of word data 1 each storing one piece of data associated with a data address belonging to each of the grouped block groups, such as word data 1A and word data 1B, may be prepared. By increasing the number of word data 1 included in the memory group 3, the number of times data is rewritten in each word data 1 in the memory group 3 is reduced. Therefore, the number of word data 1 included in the memory group 3 may be set so that the number of times data is rewritten in each word data 1 included in the memory group 3 is equal to or less than a preset maximum number.

[0077] Although one form of the data rewrite process of the non-volatile memory 13 in the computer 10 has been described above using the embodiment, the disclosed form of the data rewrite process is only one example and is not limited to the scope described in the embodiment. Various changes or improvements can be made to the embodiment without departing from the gist of the present disclosure, and the form with the changes or improvements is also included in the technical scope of the disclosure.

[0078] In the above embodiment, as an example, the data rewrite process is implemented by software. However, the same process as the flowchart of the data rewrite process shown in Fig. 5 may be implemented by hardware. In this case, the processing speed can be increased compared to the case where the data rewrite process is implemented by software.

[0079] In the above embodiment, the term "processor" refers to a processor in a broad sense, including a general-purpose processor (e.g., CPU 11) and a dedicated processor (e.g., GPU: Graphics Processing Unit, ASIC: Application Specific Integrated Circuit, FPGA: Field Programmable Gate Array, programmable logic device, etc.).

[0080] Furthermore, the operations of the processor in the above embodiments may not only be performed by one processor, but may also be performed by a plurality of processors located at physically separate locations working together.

[0081] In the above embodiment, an example has been described in which a program is stored in the non-volatile memory 13. However, the storage destination of the program is not limited to the non-volatile memory 13. The program of the present disclosure can also be provided in a form recorded in a storage medium readable by the computer 10.

[0082] For example, the program may be provided in a form recorded on an optical disk such as a CD-ROM (Compact Disk Read Only Memory), a DVD-ROM (Digital Versatile Disk Read Only Memory), or a Blu-ray disk. The program may also be provided in a form recorded on a portable semiconductor memory such as a Universal Serial Bus (USB) memory or a memory card. The non-volatile memory 13, a CD-ROM, a DVD-ROM, a Blu-ray disk, a USB, and a memory card are examples of non-transitory storage media.

[0083] Furthermore, the computer 10 may download a program from an external device connected to a communication line through the communication unit 16, and store the downloaded program in the non-volatile memory 13. In this case, the CPU 11 reads the program downloaded from the external device from the non-volatile memory 13 and executes the data rewriting process.

[0084] The following are notes related to this embodiment.

[0085] (Appendix 1) A memory space including word data for storing data associated with each data address represented by a block number for identifying a plurality of blocks and an address uniquely set for each block, In a memory configuration in which the plurality of blocks are divided into two or more block groups, a memory group is provided that is configured by a plurality of word data, each of which stores one piece of data associated with the data addresses belonging to each of the block groups, and at least one or more spare word data, When updating data at the specified data address, the computer executes a process of writing updated data at the specified data address to word data other than word data in which data before the update of the data address to be updated is stored and word data in which latest data of the data address that belongs to the block group different from the word data storing the data of the data address to be updated is stored, among the memory group including the word data storing the data of the specified data address. How to rewrite data.

[0086] (Appendix 2) Each word data included in the memory group includes: a block area representing the block group to which the data address associated with the stored data belongs; A sequence field indicating an update sequence of the data represented by the data address; Includes: A computer executes a process of selecting word data into which updated data for the specified data address is to be written by referring to the block area and the sequence area. The data rewriting method described in Appendix 1.

[0087] (Appendix 3) The number of word data included in the memory group is set so that the number of times data is rewritten in each word data included in the memory group is equal to or less than a predetermined number. A data rewriting method according to claim 1 or 2. [Explanation of symbols]

[0088] 1(1A, 1B, 1C) Word data 3 Memory Groups 10. Computers 11 CPU 12 RAM 13 Non-volatile memory 14 I / O 15 Bus 16 Communication Unit 20 1st area 21 Second area 22 Target Pointer Area 23 Update Pointer Area 24 Efficacy Information 25 Latest News 30 Data Area 31 Target Block 32 Update Block

Claims

1. A memory space including word data for storing data associated with each data address represented by a block number for identifying a plurality of blocks and an address uniquely set for each block, In a memory configuration in which the plurality of blocks are divided into two or more block groups, a memory group is provided that is configured by a plurality of word data, each of which stores one piece of data associated with the data addresses belonging to each of the block groups, and at least one or more spare word data, When updating data at the specified data address, the computer executes a process of writing updated data at the specified data address to word data other than word data in which data before the update of the data address to be updated is stored and word data in which latest data of the data address that belongs to the block group different from the word data storing the data of the data address to be updated is stored, among the memory group including the word data storing the data of the specified data address. How to rewrite data.

2. Each word data included in the memory group includes: a block area representing the block group to which the data address associated with the stored data belongs; A sequence field indicating an update sequence of the data represented by the data address; Includes: A computer executes a process of selecting word data into which updated data for the specified data address is to be written by referring to the block area and the sequence area. The data rewriting method according to claim 1 .

3. The number of word data included in the memory group is set so that the number of times data is rewritten in each word data included in the memory group is equal to or less than a predetermined number.

3. The data rewriting method according to claim 1.

Citation Information

Patent Citations

  • Information processing method and information processing device

    JP3702923B2