A hardware log controller and hardware log system for secure NVM

Through the log merging, in-place update and shared counter encryption technology of the hardware log controller, the problems of NVM data security and atomic persistence are solved, the transaction throughput rate is improved and the wear and tear of NVM is reduced, achieving efficient data security and persistence. change.

CN113778971BActive Publication Date: 2024-09-10HUAZHONG UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110959981.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-20
Publication Date
2024-09-10
Estimated Expiration
2041-08-20

AI Technical Summary

Technical Problem

When existing technology uses NVM as memory, it is difficult to efficiently ensure data security and atomic persistence, and the hardware log solution has twice the write and persistence sequential limitations and high encryption overhead, resulting in reduced transaction throughput and wear and tear of NVM physical units. Increase.

Method used

A hardware log controller is designed, including hardware log cache, merging module and writing module. Through log merging, in-place update, shared counter encryption and pre-stored one-time pad technology, log writing and encryption operations are reduced and transaction throughput is improved. And reduce the wear of NVM.

Benefits of technology

It effectively reduces log writing overhead and encryption overhead, improves transaction throughput, extends the service life of NVM, and ensures data recovery consistency in the event of system failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113778971B
    Figure CN113778971B
Patent Text Reader

Abstract

The present invention discloses a hardware log controller and a hardware log system for secure NVM, in the field of computer storage and security. It includes: a hardware log cache, for receiving and temporarily storing log entries sent by a hardware log generator; a hardware log merging module, for merging log entries in the log cache when the received log entry has the same data physical address as the existing log entry in the hardware log cache; a writing module, for encrypting the new data of the log entry in the hardware log cache and writing it to the NVM data area in an in-situ update manner when the NVM system is not faulty; in the case of a NVM system failure, encrypting the new data or old data of the log entry in the hardware log cache and writing it to the NVM log area. The present invention uses the new value recorded in the on-chip log to directly update the NVM data area when the NVM system is not faulty, without having to write log entries to the NVM log area, thereby reducing the wear on the NVM physical unit and improving throughput.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of computer storage and security, and more specifically, relates to a hardware log controller and a hardware log system for a secure NVM. Background Art

[0002] According to statistics, the amount of global data is growing exponentially, and the demand for memory in applications is surging. Traditional memory technologies such as DRAM are widely used as the main memory of computer systems. However, the forced refresh of DRAM cells causes high power consumption, and the scalability is limited. It is difficult to expand the capacity of a single DRAM DIMM. New byte-addressable non-volatile memory technologies (NVM), such as phase change memory (PCM) and resistive random access memory (ReRAM), have data access performance similar to DRAM, large capacity, and near-zero standby power consumption. They are widely believed to be able to replace or supplement DRAM to build the next generation of memory systems.

[0003] The major changes in the memory system have raised an important issue: how to efficiently ensure the data security and atomic persistence of NVM. The present invention mainly focuses on the guarantee mechanism based on hardware logs. Using NVM as memory first requires ensuring data security. Due to the non-volatility of NVM, data will not be lost after power failure, thus creating a security risk. For example, stealing NVM DIMMs and monitoring the bus can both undermine the security of memory data. Secondly, the use of NVM requires ensuring atomic persistence, that is, ensuring that data of any size is atomically and persistently written to NVM, so that the system can correctly restore application data from NVM after power failure or crash. This requires specifying the order in which data is written and ensuring that data cannot be only partially written to NVM. Currently, mainstream 64-bit processors support atomic writes within 8 bytes. For data exceeding 8 bytes, logs, including undo logs or redo logs, are usually used as data backups to ensure atomic persistence, but logs bring twice the write and persistence sequential overhead. In addition, NVM devices have limited write durability, and PCM storage units can only rewrite 10 7 ~10 8 ReRAM memory cells can only be rewritten 10 times. 8 ~10 10 times, while DRAM memory cells can be erased and written up to 10 15 Therefore, while ensuring the security and atomic persistence of NVM data, the write operation to NVM should be minimized to reduce the wear on the physical unit.

[0004] In order to ensure the security of memory data, a direct way is to encrypt the data on the NVM side, but this method cannot guarantee the safe transmission of plaintext data on the bus and cannot resist bus snooping attacks. Therefore, the existing scheme adopts counter mode encryption on the processor side. The on-chip area of ​​the processor side is widely considered to be a secure area, that is, data does not need to be encrypted on the chip, while the off-chip area, such as the memory bus and memory DIMM, is at risk of being attacked. Before the plaintext data is written to the memory, it needs to be encrypted by the encryption module (such as AES circuit) in the on-chip memory controller, and the generated ciphertext is then transmitted to the NVM via the bus.

[0005] To ensure atomic persistence, a common technique is to provide data backup by writing logs. Existing software logs are inefficient because operations such as log creation and writing to memory are on the critical path of transaction execution, which reduces transaction throughput by up to 70%. In recent years, hardware log solutions have emerged, which use hardware to generate and control logs, making log operations parallel with transaction execution processes. These works include hardware designs based on separate undo or redo, as well as designs that use hybrid undo+redo.

[0006] In order to ensure data security and atomic persistence at the same time, directly transplanting the existing hardware logging solution to the secure NVM system still has a lot of double writes, persistence order restrictions and high encryption overhead. Due to the need to write additional logs, the existing hardware solutions all have the problem of double writes (i.e. writing logs + writing data), which aggravates the wear of NVM. These solutions have additional sequential restrictions in the process of writing data and logs. It is necessary to ensure that the logs are written to the NVM log area first, and then the data is written to the NVM data area. Such restrictions slow down transaction execution and reduce transaction throughput. Since each data written to the memory needs to be encrypted, the large number of memory write operations generated by the existing hardware logging solution further increases the encryption overhead. Summary of the invention

[0007] In view of the defects of the prior art and the need for improvement, the present invention provides a hardware log controller and a hardware log system for secure NVM, which aims to reduce the double write, sequential restrictions and high encryption overhead caused by logs, while ensuring data security, improving transaction throughput and reducing wear on NVM physical units.

[0008] To achieve the above object, according to a first aspect of the present invention, a hardware log controller for secure NVM is provided, the hardware log controller comprising: a hardware log cache, a hardware log merging module and a writing module;

[0009] A hardware log cache is used to receive and temporarily store log entries sent by a hardware log generator on a chip, wherein the metadata field of the log entry includes: a flush mark, a thread number, a transaction number and a data physical address, and the data field includes: old data and new data;

[0010] A hardware log merging module, used to merge the log entries in the hardware log cache when the data physical address in the metadata domain of the received log entry is the same as that of the log entry already in the hardware log cache;

[0011] The write module is used to encrypt the new data in the data domain of the log entry in the hardware log cache and write it into the NVM data area in an in-place update manner when the NVM system does not fail; when the NVM system fails, encrypt the new data or old data in the data domain of the log entry in the hardware log cache and write it into the NVM log area.

[0012] Preferably, the hardware log cache is a persistent cache, and a backup battery provides the flashing energy required when a failure occurs in the NVM system.

[0013] Beneficial effects: The persistent log cache ensures that all internal log entries are written to the NVM log area when the system fails. A small-capacity battery can provide the energy required for flushing, so that after a failure, the NVM data area can be restored to a consistent state using the logs in the NVM log area.

[0014] Preferably, the hardware log merging module comprises: a hardware Bloom filter and a parallel comparator;

[0015] The hardware Bloom filter is used to receive the log entry sent by the hardware log generator, calculate the hash fingerprint of the data physical address in the metadata field of the log entry, match it with the fingerprint library, and if the same fingerprint does not exist, directly add the new log entry to the hardware log cache and add the hash fingerprint to the fingerprint library; if the same fingerprint exists, send the data physical address in the metadata field of the log entry to the parallel comparator;

[0016] A parallel comparator is used to compare the received data physical address with the data physical address in the metadata field of the existing log entry in the hardware log cache in parallel. If the same data physical address exists, only the new data in the received log entry is written to the new data field of the matching log entry, and the other fields in the log entry are discarded; if not, the received log entry is directly added to the hardware log cache.

[0017] Beneficial effects: The log merging technology reduces the number of logs in the log cache, thereby not only reducing the required log cache capacity and improving the on-chip space utilization, but also reducing the write traffic of the NVM data area.

[0018] Preferably, when the NVM system does not fail, the new data of the log entry in the log cache is written in situ into the NVM data area after the transaction is committed, and the metadata and old data in the log entry are cleared.

[0019] Beneficial effect: To address the problem of high log write overhead in the prior art, the present invention updates the NVM data area by utilizing new data in the log entries, thereby avoiding additional log recording in the NVM log area for data backup, thereby reducing write overhead and improving performance and NVM service life.

[0020] Preferably, when the NVM system does not fail, if the updated CPU cache line is freely replaced into the NVM during the transaction execution, the write module sets the flush mark in the corresponding log entry to 1, and all log entries with the flush mark as 1 are directly cleared after the transaction is committed.

[0021] Beneficial effects: The present invention reduces unnecessary log write operations by marking log entries, because the NVM data area has been updated by the freely replaced CPU cache line, thereby further reducing the write traffic and improving the performance.

[0022] Preferably, the write module uses the hardware counter of the CPU cache line in a shared manner during encryption, and the counter value stored in the shared counter is automatically incremented each time encryption is performed.

[0023] Beneficial effect: In order to solve the problem that the prior art uses a separate log counter to encrypt the entire log entry, resulting in the counter cache being polluted by the log counter, the present invention uses the counter of the shared CPU cache line to encrypt the new data in the log entry, so no additional log counter is used, thus avoiding the increase of decryption delay during memory read operations due to the counter cache being polluted.

[0024] Preferably, the writing module calculates the one-time passwords of the log data immediately after the log is generated, and pre-stores these one-time passwords in the hardware log buffer.

[0025] Beneficial effect: In order to solve the problem that the prior art cannot encrypt log entries in the log cache when a fault occurs, the present invention pre-stores a one-time password book so that when a fault occurs, the new data or old data of the log entries in the log cache can be encrypted within one clock cycle and then written to the NVM log area, thereby ensuring the security of the log.

[0026] To achieve the above object, according to a second aspect of the present invention, a hardware log system for secure NVM is provided, comprising: a hardware log generator and a memory controller;

[0027] A hardware log generator that automatically generates log entries when the CPU cache is modified and sends them to the on-chip memory controller;

[0028] The memory controller includes the hardware log controller for secure NVM as described in the first aspect.

[0029] In general, the above technical solutions conceived by the present invention can achieve the following beneficial effects:

[0030] (1) In order to solve the problems of large write overhead, encryption overhead and sequentiality limitation in the existing log technology, the present invention directly updates the NVM data area by using the new value recorded in the on-chip log when the NVM system is not faulty. Since there is no need to write log entries to the NVM log area, the write overhead, encryption overhead and sequentiality limitation caused by writing logs are avoided, the wear on the NVM physical unit is reduced, and the throughput is improved.

[0031] (2) In order to address the inefficiency problem of the existing hardware log system on NVM due to the large number of logs written to the NVM log area, the present invention proposes a new hardware log controller design, which greatly reduces the log writing and encryption operations and improves the transaction throughput through log merging, in-place log update, shared counter encryption and pre-stored one-time password technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 is a system architecture diagram of a hardware log provided by an embodiment of the present invention;

[0033] Figure 2 is a schematic diagram of an on-chip log merging sub-method provided by an embodiment of the present invention;

[0034] Figure 3 Schematic diagram of a log in-place update sub-method provided by an embodiment of the present invention;

[0035] Figure 4 is a schematic diagram of a counter sharing sub-method provided in an embodiment of the present invention;

[0036] Figure 5 It is a schematic diagram of a code book pre-storage sub-method provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0038] The present invention provides a hardware log construction method for secure NVM, the method comprising the following steps:

[0039] (1) On-chip log merging: A small-capacity persistent cache is used in the on-chip memory controller to temporarily store the logs generated during the execution of a single transaction. Log entries that record data at the same physical address are merged when they enter the memory controller.

[0040] (2) Log in-place update: When a transaction is committed, the new data recorded in the log is encrypted and written to the NVM data area in an in-place update manner.

[0041] (3) Counter sharing: The hardware counters of the shared CPU cache lines are used to encrypt new data in the log and CPU cache line data.

[0042] (4) Pre-storage of password book: A one-time password book of log data is calculated immediately after the log is generated. The password book is pre-stored on the chip and is used to encrypt the log immediately when the system loses power or crashes.

[0043] Furthermore, when the first-level data cache is modified, the log entry is automatically generated by the hardware log generator and sent to the memory controller. The hardware log controller in the memory controller performs operations such as temporary storage, search, merge, encrypt, and write to memory on the log entry. Each log entry contains metadata, old data, and new data. The metadata includes the flush mark, thread number, transaction number, and data physical address. The old data is 1 word long before the update, and the new data is 1 word long after the update.

[0044] Furthermore, the automatically generated logs are temporarily stored in a persistent log cache in the memory controller during the transaction execution process, and the log cache ensures that the logs therein can be written to the NVM when the system loses power or crashes.

[0045] Furthermore, log merging acts on log entries that record data with the same physical address. The new data in the existing log entry is replaced by the new data in the newly generated log entry, and then the new log entry is cleared. Only the oldest and latest values ​​need to be recorded in each log entry to restore and update memory data. The log merging process is completed by the hardware Bloom filter and the parallel comparator. The Bloom filter quickly responds to whether there is a log entry that can be merged with the newly generated log entry. If so, the comparator will compare the physical addresses recorded in all log entries in parallel to locate the target log entry for merging. If not, the new log entry is directly added to the log cache.

[0046] Furthermore, when the system does not fail (such as power failure or crash) (which is a common situation), the new data in the on-chip log is written to the NVM data area in situ after the transaction is committed, ensuring the persistence of the data updated by the transaction, while the metadata and old data are cleared, and there is no need to write additional logs to the NVM log area. If the updated CPU cache line is replaced in the NVM during the transaction execution, the flush mark in the corresponding log entry is set to 1, and all log entries with the flush mark 1 are directly cleared after the transaction is committed, because the NVM data area has been updated by the replaced CPU cache line.

[0047] Furthermore, the hardware counter of the CPU cache line is used in a shared manner to encrypt the new data in the log and the data of the CPU cache line. The new data recorded in the log and the CPU cache line data have the same physical row address, so they can share the same hardware counter for encryption, avoiding the use of additional hardware counters to encrypt log entries. Each time encryption is performed, the counter value stored in the shared counter is incremented to ensure that the generated one-time password is not reused, thereby ensuring security.

[0048] Furthermore, a one-time password pad is generated in advance for the temporarily stored log entries and pre-stored on-chip so that when a failure occurs (a rare case), the log can be encrypted in a single clock cycle: the new data or old data in the plaintext log is XORed with the one-time password pad to generate a ciphertext log, and then the ciphertext log is written to the NVM log area for recovery of the NVM data area after the failure, so that the data updates of the committed transactions are not lost, and the data updates of the uncommitted transactions are revoked, thereby ensuring data consistency.

[0049] like Figure 1 As shown, this embodiment adds a hardware log generator in the first-level data cache controller and a hardware log controller in the memory controller. The hardware log controller includes a small-capacity persistent log cache for temporarily storing log entries during transaction execution. The log generator and controller are located in the on-chip security area, and the bus and memory are non-security areas. Data needs to be encrypted during transmission and storage to prevent it from being stolen by attackers.

[0050] When a transaction is committed, the hardware log controller encrypts the new data in the on-chip temporary log and writes it to the NVM data area in situ, making the transaction modifications persistent. Log entries do not need to be written to the NVM log area additionally.

[0051] like Figure 2 As shown, an embodiment of an on-chip log merging sub-method is provided, comprising the following steps:

[0052] Step 1: The transaction code first updates data A to value A1, and then updates data B to value B1. At this time, the line of code that updates data A to value A2 has been executed, and the value of A in the first-level CPU data cache is changed from A1 to A2.

[0053] Step 2: The hardware log generator monitors the CPU write operation and immediately generates a log entry, recording the metadata, the old value A1 and the new value A2 of A, and sends the entry to the hardware log controller.

[0054] Step 3: The hardware log controller queries the Bloom filter and finds that there are logs in the temporarily stored log entries that can be merged.

[0055] Step 4: The parallel comparator in the hardware log controller locates the log entry to be merged by comparing the physical address of the data A recorded in the new log entry with the physical addresses of the data recorded in all temporarily stored logs.

[0056] Step 5: The new data in the old log entry to be merged (i.e. A1) is replaced by the new data in the new log entry (i.e. A2), and then the new log entry is cleared. Only the oldest (i.e. A0) and the latest value (i.e. A2) of data A need to be retained to ensure the atomicity and durability of the transaction.

[0057] like Figure 3 As shown, an embodiment of a log in-place update sub-method is provided, comprising the following steps:

[0058] Step 1: The transaction code has been executed to Tx_end and needs to be committed. The value of data A in the first-level CPU data cache is A2. The cache line where data B is located has been replaced to the persistent memory during the transaction execution process to complete the data update. The flush mark of the log entry recording data B in the hardware log controller is 1.

[0059] Step 2: When a transaction is committed, only the new data of the log entry of data A (i.e., A2) needs to be encrypted and added to the write queue to complete the submission. The data in the write queue will eventually be written to the NVM data area. Since A2 has been added to the write queue, the dirty data in the CPU cache line does not need to be written to the data area repeatedly. Therefore, the dirty position of the cache line is set to 0, so that the data in this row is directly overwritten by the subsequent CPU write operation without being replaced.

[0060] Step 3: Other log data, such as log entries of data B, and metadata and old data in log entries of data A can be cleared directly on-chip, thus greatly reducing the amount of data written to the NVM.

[0061] Step 4: The transaction can be committed immediately at Tx_end without waiting for any log or cache line to be written to the memory. The data A2 is stored in the persistent memory cache and will not be lost even if the system loses power or crashes. Therefore, the present invention supports immediate transaction submission and eliminates sequential restrictions.

[0062] like Figure 4 As shown, an embodiment of a counter sharing sub-method is provided, comprising the following steps:

[0063] Step 1: The line data LineData0 in the CPU cache and the new data NewData0 recorded in the log entry in the hardware log controller have the same physical line address LineAddr0. The line address can be obtained by shifting the physical address DataAddr0 of NewData0.

[0064] Step 2: The hardware counter Counter0 corresponding to LineAddr0 in the counter cache is shared to encrypt LineData0 or NewData0.

[0065] Step 3: When LineData0 is replaced and written to the memory during the transaction execution, once the path is started, Counter0 is used to encrypt LineData0, and the flush flag of the corresponding log entry is set to 1. NewData0 does not need to be written to NVM again when the transaction is committed, so it does not need to be encrypted again.

[0066] Step 4: When the transaction is committed, if the CPU cache line has not been replaced, path 2 is started, the new data NewData0 in the log entry is encrypted by Counter0 and the NVM data area is updated in place. The corresponding CPU cache line dirty position 0 does not need to be written to NVM again, so it does not need to be encrypted again.

[0067] Step 5: For each encryption, the value stored in Counter0 needs to be incremented to ensure that the generated one-time password is only used for a single encryption. Even if the plaintext data is not modified, the ciphertext data in the NVM is completely different, ensuring data security.

[0068] like Figure 5 As shown, an embodiment of a code book pre-storage sub-method is provided, comprising the following steps:

[0069] Step 1: The hardware log controller uses the encryption module to calculate the one-time password for the plaintext log generated by the hardware log generator. The process of calculating the password is parallel to the process of CPU executing transactions. The calculated password is pre-stored in the hardware log controller, but the plaintext log is not encrypted immediately to facilitate log merging.

[0070] Step 2: If the data recorded in the subsequently generated log has the same physical row address as the data recorded in the stored log, there is no need to recalculate the code book, because the data belonging to the same physical row only needs to be encrypted using one one-time code book.

[0071] Step 3: If a failure occurs, the pre-stored code book and plain text log are used to perform an XOR operation in a single clock cycle to quickly generate a cipher text log, which is flushed into the NVM through the write queue for data recovery.

[0072] Step 4: In the absence of a fault, new data in the plaintext log after the transaction is committed can also be encrypted using the pre-stored code book, so the present invention removes the calculation delay of the code book from the critical path of writing to the memory.

[0073] The present invention constructs a high-performance architecture-level hardware log system, in which the generation, encryption and writing of logs into memory are all completed by hardware. The system includes a hardware log generator and a controller. The hardware log generator works in the controller of the on-chip first-level data cache, which is responsible for monitoring the data written to the cache by the CPU and generating corresponding log entries; the hardware log controller works in the on-chip memory controller, and has a persistent log cache inside, which is responsible for temporarily storing logs during the execution of a single transaction. When the transaction is committed, the hardware log controller only needs to encrypt the new data recorded in the on-chip log and write it to the NVM data area in an in-situ update mode to persist the modification of the transaction, and other data in the log entry is cleared, and no additional writing to the NVM log area is required. The hardware log system constructed by the technical solution of the present invention ensures data security, does not cause additional log writing and encryption overhead, and removes the sequential restrictions introduced by writing logs during the transaction execution process, and has small on-chip space overhead and low request latency.

[0074] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A hardware log controller for secure NVM, characterized in that: The hardware log controller includes: a hardware log cache, a hardware log merging module and a writing module; A hardware log cache is used to receive and temporarily store log entries sent by a hardware log generator on a chip, wherein the metadata field of the log entry includes: a flush mark, a thread number, a transaction number and a data physical address, and the data field includes: old data and new data; The hardware log merging module includes: hardware Bloom filter and parallel comparator; The hardware Bloom filter is used to receive the log entry sent by the hardware log generator, calculate the hash fingerprint of the data physical address in the metadata field of the log entry, match it with the fingerprint library, and if the same fingerprint does not exist, directly add the new log entry to the hardware log cache and add the hash fingerprint to the fingerprint library; if the same fingerprint exists, send the data physical address in the metadata field of the log entry to the parallel comparator; A parallel comparator is used to compare the received data physical address with the data physical address in the metadata field of the existing log entry in the hardware log cache in parallel. If the same data physical address exists, only the new data in the received log entry is written into the new data field of the matching log entry, and the other fields in the log entry are discarded; if not, the received log entry is directly added to the hardware log cache; The write module is used to encrypt the new data in the data domain of the log entry in the hardware log cache and write it into the NVM data area in an in-place update manner when the NVM system does not fail; when the NVM system fails, encrypt the new data or old data in the data domain of the log entry in the hardware log cache and write it into the NVM log area.

2. The hardware log controller according to claim 1, characterized in that: The hardware log cache is a persistent cache, and a backup battery provides the required flushing energy consumption when a NVM system fails.

3. The hardware log controller according to any one of claims 1 to 2, characterized in that: In the case that the NVM system does not fail, the new data of the log entry in the log cache is written to the NVM data area in situ after the transaction is committed, and the metadata and old data in the log entry are cleared.

4. The hardware log controller according to claim 3, characterized in that: When the NVM system does not fail, if the updated CPU cache line is freely replaced in the NVM during the transaction execution, the write module sets the flush mark in the corresponding log entry to 1, and all log entries with the flush mark 1 are directly cleared after the transaction is committed.

5. The hardware log controller according to any one of claims 1 to 2, characterized in that: The write module uses the hardware counter of the CPU cache line in a shared manner during encryption, and the counter value stored in the shared counter is incremented each time encryption is performed.

6. The hardware log controller according to any one of claims 1 to 2, characterized in that: The writing module calculates the one-time password of the log data immediately after the log is generated, and pre-stores these one-time passwords in the hardware log buffer.

7. A hardware logging system for secure NVM, characterized in that: include: Hardware log generator and memory controller; A hardware log generator that automatically generates log entries when the CPU cache is modified and sends them to the on-chip memory controller; The memory controller comprises a hardware log controller for secure NVM according to any one of claims 1 to 6.