SSD failure analysis method, device, computer equipment and storage medium
By obtaining the entire SSD information and reconstructing the failure scenario, combined with system log analysis, the problem of low success rate and accuracy of existing SSD failure analysis methods is solved, analysis of multiple scenarios is realized, and the success rate and accuracy of the analysis are improved.
Patent Information
- Application Number
- CN202010613304.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-30
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2040-06-30
AI Technical Summary
The success rate and accuracy of existing SSD failure analysis methods are low, and they cannot analyze multiple scenarios. The information recorded in the system log is limited, making it difficult to give a clear analysis direction.
By obtaining comprehensive information when an SSD fails, construct a failure scenario, conduct local analysis based on system logs, simulate firmware behavior, restore the status of physical blocks and user data blocks, and reconstruct the failure scenario to achieve analysis.
It realizes failure analysis of multiple scenarios, improves the success rate and accuracy of analysis, and can reconstruct failure scenarios unlimited times to facilitate verification after problem resolution.
Smart Images

Figure CN111767182B
Abstract
Description
Technical Field
[0001] The present invention relates to a solid state storage device, and more specifically to an SSD failure analysis method, device, computer equipment and storage medium. Background Art
[0002] SSD (Solid State Disk) is commonly known as solid state hard disk. SSD is a hard disk made of solid-state electronic storage chip array. SSD may fail during operation. Currently, the failure analysis of SSD is to obtain the system log of SSD through FA tools for analysis. However, the information recorded in the system log is limited and sometimes cannot indicate the direction of analysis. It is impossible to analyze multiple scenarios, resulting in low success rate and accuracy of analysis.
[0003] Therefore, it is necessary to design a new method to realize failure analysis in various scenarios and improve the success rate and accuracy of the analysis. Summary of the invention
[0004] The purpose of the present invention is to overcome the defects of the prior art and provide an SSD failure analysis method, device, computer equipment and storage medium.
[0005] To achieve the above object, the present invention adopts the following technical solution: SSD failure analysis method, comprising:
[0006] When the SSD fails, obtain the full SSD information;
[0007] Construct failure scenarios based on the full SSD information and analyze the failure scenarios to obtain analysis results;
[0008] The failure result is sent to a terminal so that the failure result is displayed on the terminal.
[0009] A further technical solution is: when the SSD fails, obtaining the full disk information of the SSD includes:
[0010] When an SSD fails, use the FA tool to send a full disk information export command to the SSD so that the SSD reads the corresponding data in physical block order;
[0011] The data read from the SSD is packaged into a file of a specified format to obtain the entire SSD disk information.
[0012] A further technical solution is: the SSD full disk information includes all information of the system data block, out-of-band data in the user data block and the status of each page in all blocks.
[0013] A further technical solution is: constructing a failure scenario based on the full SSD information and analyzing the failure scenario to obtain an analysis result, including:
[0014] Simulate the firmware behavior in SSD;
[0015] Recover the status of all physical blocks, data in the physical blocks, and out-of-band data in the user data blocks according to the SSD full disk information to obtain a failure scenario;
[0016] Perform local failure analysis based on the failure scenario in combination with the system log to obtain analysis results.
[0017] A further technical solution is: the analysis result includes whether the mapping table status is normal and whether the block status is normal.
[0018] A further technical solution is: the analysis result also includes when the operating status becomes abnormal when the information for debugging is added to the flash conversion layer and more operating status information is obtained from the serial port.
[0019] The present invention also provides an SSD failure analysis device, comprising:
[0020] An acquisition unit, used to acquire the entire SSD information when the SSD fails;
[0021] An analysis unit, used to construct a failure scenario based on the full disk information of the SSD, and analyze the failure scenario to obtain an analysis result;
[0022] The sending unit is used to send the failure result to the terminal so that the failure result is displayed on the terminal.
[0023] Its further technical solution is: the acquisition unit includes:
[0024] The command sending subunit is used to send a full disk information export command to the SSD using the FA tool when the SSD fails, so that the SSD reads the corresponding data in the order of physical blocks;
[0025] The packing subunit is used to pack the data read from the SSD into a file of a specified format to obtain the full disk information of the SSD.
[0026] The present invention further provides a computer device, which includes a memory and a processor. The memory stores a computer program, and the processor implements the above method when executing the computer program.
[0027] The present invention also provides a storage medium, wherein the storage medium stores a computer program, and the computer program can implement the above method when executed by a processor.
[0028] Compared with the prior art, the beneficial effect of the present invention is as follows: when an SSD fails, the present invention exports the full disk information of the SSD, reconstructs the failure scenario based on the full disk information of the SSD, and performs analysis locally to form an analysis result. Moreover, exporting the full disk information of the SSD can reconstruct the failure scenario an unlimited number of times, and can permanently save the failure scenario. This also greatly facilitates failure analysis and verification after problem solving, realizes failure analysis of multiple scenarios, and improves the success rate and accuracy of the analysis.
[0029] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
[0031] Figure 1 A schematic diagram of an application scenario of the SSD failure analysis method provided by an embodiment of the present invention;
[0032] Figure 2 A schematic diagram of a flow chart of an SSD failure analysis method provided by an embodiment of the present invention;
[0033] Figure 3 A schematic diagram of a sub-process of an SSD failure analysis method provided by an embodiment of the present invention;
[0034] Figure 4 A schematic diagram of a sub-process of an SSD failure analysis method provided by an embodiment of the present invention;
[0035] Figure 5 A schematic block diagram of an SSD failure analysis device provided by an embodiment of the present invention;
[0036] Figure 6 A schematic block diagram of an acquisition unit of an SSD failure analysis device provided by an embodiment of the present invention;
[0037] Figure 7 A schematic block diagram of an analysis unit of an SSD failure analysis device provided by an embodiment of the present invention;
[0038] Figure 8 A schematic block diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0040] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0041] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0042] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0043] See also Figure 1 and Figure 2 , Figure 1 A schematic diagram of an application scenario of the SSD failure analysis method provided in an embodiment of the present invention. Figure 2 A schematic flow chart of an SSD failure analysis method provided by an embodiment of the present invention. The SSD failure analysis method is applied to a server with a simulator, which interacts with the SSD and the terminal, and after exporting all data from the SSD, the simulator simulates NAND management, and the simulator constructs a failure scenario and reconstructs the failure scenario to perform analysis to obtain analysis results, and the analysis results are displayed on the terminal.
[0044] Figure 2 FIG. 1 is a flow chart of an SSD failure analysis method provided by an embodiment of the present invention. Figure 2 As shown, the method includes the following steps S110 to S130.
[0045] S110. When the SSD fails, obtain the entire SSD information.
[0046] In this embodiment, the SSD full disk information includes all information of the system data block, out-of-band data in the user data block, and the status of each page in all blocks. The all information of the system data block includes main data and out-of-band data.
[0047] All data is stored in physical blocks. According to the type of data stored, physical blocks can be divided into blocks for storing system data and blocks for storing user data. Each physical block consists of several pages. Each page is a write unit and contains two parts. One part is the main data. For user data blocks, it corresponds to user data; for system data blocks, it corresponds to system data such as mapping tables. The other part is out-of-band data, which is used to store auxiliary information related to the main data, such as timestamp information and logical addresses.
[0048] In one embodiment, see Figure 3 , the above-mentioned step S110 may include steps S111 to S112.
[0049] S111. When the SSD fails, a FA (Failure Analysis) tool is used to send a full disk information export command to the SSD, so that the SSD reads corresponding data in physical block order.
[0050] In this embodiment, when an SSD malfunctions, the FA tool is used to send a full disk information export command. After the SSD receives such a command, the functional module of the SSD reads the data in the physical block page by page in the order of the physical blocks and feeds back to the FA tool.
[0051] S112: Pack the data read from the SSD into a file in a specified format to obtain the entire SSD disk information.
[0052] Specifically, the SSD forms a specific format in the order of block cache, non-idle metadata block and page cache, non-idle user block and page cache, and free page cache and sends it to the FA tool; the received data is packaged into an SSD_DUMP file, thereby forming the SSD full disk information.
[0053] S120: construct a failure scenario based on the SSD full disk information, and analyze the failure scenario to obtain an analysis result.
[0054] In this embodiment, the analysis result includes whether the mapping table status is normal, whether the block status is normal, when the information for debugging is added to the flash translation layer and more operating status information is obtained from the serial port, and when the operating status becomes abnormal.
[0055] By exporting the full SSD information, you can reconstruct the failure scenario in the local simulation environment based on this information and perform failure analysis through various debugging methods. In addition, once the full SSD information is exported, the failure scenario can be reconstructed unlimited times, which is equivalent to permanently saving the failure scenario, and greatly facilitates failure analysis and verification after the problem is solved.
[0056] In one embodiment, see Figure 4 , the above-mentioned step S120 may include steps S121 to S123.
[0057] S121. Simulate the firmware behavior in the SSD.
[0058] Specifically, the simulator in the server is used to simulate the firmware behavior in the SSD, mainly for the simulation of NAND management. The FTL module and the Snapshot MNG module in the simulator are exactly the same as those in the SSD. Hardware-related drivers need to be simulated, including host interface drivers, NAND drivers, peripheral drivers such as serial port drivers, NOR Flash drivers, clock drivers, etc. The simulator can be easily run in a PC development environment, independent of the actual hardware environment, and is convenient for analyzing and solving logic problems.
[0059] S122. Restore the status of all physical blocks, data in the physical blocks, and out-of-band data in the user data blocks according to the SSD full disk information to obtain a failure scenario.
[0060] In this embodiment, the actual environment of the SSD is simulated to ensure that the analysis can be performed in an equivalent scenario, which is a failure scenario.
[0061] Specifically, start the simulator; input the command to import the SSD snapshot from the command line and indicate the location of the snapshot file; the Snapshot MNG module reads the snapshot file, and the SSD sends the format sent to the FA tool to restore the block information one by one to the NANDFlash SIM module; and initialize the FTL (Flash Translation Layer) module.
[0062] S123: Perform local failure analysis according to the failure scenario and the system log to obtain analysis results.
[0063] Specifically, local failure analysis can be performed based on the reconstructed failure scenario combined with system log analysis, such as: checking whether the mapping table status is normal; checking whether the block status is normal; adding debugging information to the FTL module, obtaining more operating status information from the serial port, and checking when the operating status becomes abnormal.
[0064] S130: Send the failure result to a terminal so that the failure result is displayed on the terminal.
[0065] In this embodiment, in a simulation environment, failure analysis is performed based on the out-of-band data recovery failure scenario in the data information and user data blocks, and the failure result is formed and sent to the terminal for the analyst to review.
[0066] The above-mentioned SSD failure analysis method forms an analysis result by exporting the SSD full disk information when the SSD fails, reconstructing the failure scenario based on the SSD full disk information, and analyzing it locally. Exporting the SSD full disk information can reconstruct the failure scenario an unlimited number of times, and can permanently save the failure scenario. It also greatly facilitates failure analysis and verification after problem solving, realizes failure analysis of multiple scenarios, and improves the success rate and accuracy of the analysis.
[0067] Figure 5 FIG. 3 is a schematic block diagram of an SSD failure analysis device 300 provided in an embodiment of the present invention. Figure 5 As shown, corresponding to the above SSD failure analysis method, the present invention also provides an SSD failure analysis device 300. The SSD failure analysis device 300 includes a unit for executing the above SSD failure analysis method, and the device can be configured in a server. Figure 5 The SSD failure analysis device 300 includes an acquisition unit 301 , an analysis unit 302 , and a sending unit 303 .
[0068] The acquisition unit 301 is used to obtain the full disk information of the SSD when the SSD fails; the analysis unit 302 is used to construct a failure scenario based on the full disk information of the SSD and analyze the failure scenario to obtain an analysis result; the sending unit 303 is used to send the failure result to the terminal so as to display the failure result on the terminal.
[0069] In one embodiment, if Figure 6 As shown, the acquisition unit 301 includes a command sending subunit 3011 and a packaging subunit 3012.
[0070] The command sending subunit 3011 is used to use the FA tool to send a full disk information export command to the SSD when the SSD fails, so that the SSD reads the corresponding data in physical block order; the packaging subunit 3012 is used to package the data read by the SSD into a file of a specified format to obtain the full disk information of the SSD.
[0071] In one embodiment, if Figure 7 As shown, the analysis unit 302 includes a behavior simulation subunit 3021 , a scene reconstruction subunit 3022 , and a failure analysis subunit 3023 .
[0072] The behavior simulation subunit 3021 is used to simulate the firmware behavior in the SSD; the scenario reconstruction subunit 3022 is used to restore the status of all physical blocks, the data in the physical blocks, and the out-of-band data in the user data blocks according to the full disk information of the SSD to obtain a failure scenario; the failure analysis subunit 3023 is used to perform local failure analysis based on the failure scenario in combination with the system log to obtain an analysis result.
[0073] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned SSD failure analysis device 300 and each unit can refer to the corresponding description in the aforementioned method embodiment, and for the convenience and brevity of description, it will not be repeated here.
[0074] The SSD failure analysis device 300 may be implemented in the form of a computer program. Figure 8 Runs on the computer device shown.
[0075] See also Figure 8 , Figure 8 5 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 500 may be a server, and the server may be an independent server or a server cluster composed of multiple servers.
[0076] See also Figure 8 The computer device 500 includes a processor 502 , a memory and a network interface 505 connected via a system bus 501 , wherein the memory may include a non-volatile storage medium 503 and an internal memory 504 .
[0077] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions, and when the program instructions are executed, the processor 502 can execute a SSD failure analysis method.
[0078] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500 .
[0079] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute an SSD failure analysis method.
[0080] The network interface 505 is used to communicate with other devices over the network. Figure 8The structure shown in the figure is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 500 to which the solution of the present application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0081] The processor 502 is used to run the computer program 5032 stored in the memory to implement the following steps:
[0082] When an SSD fails, the entire SSD disk information is obtained; a failure scenario is constructed based on the entire SSD disk information, and the failure scenario is analyzed to obtain an analysis result; the failure result is sent to a terminal to display the failure result on the terminal.
[0083] The SSD full disk information includes all information of system data blocks, out-of-band data in user data blocks, and status of each page in all blocks.
[0084] In one embodiment, when the processor 502 implements the step of obtaining the entire SSD information when the SSD fails, the processor 502 specifically implements the following steps:
[0085] When an SSD fails, the FA tool is used to send a full disk information export command to the SSD so that the SSD reads the corresponding data in physical block order; the data read by the SSD is packaged into a file in a specified format to obtain the full disk information of the SSD.
[0086] In one embodiment, when the processor 502 implements the step of constructing a failure scenario according to the SSD full disk information and analyzing the failure scenario to obtain an analysis result, the processor 502 specifically implements the following steps:
[0087] Simulate the firmware behavior in the SSD; restore the status of all physical blocks, data in the physical blocks, and out-of-band data in the user data blocks based on the full disk information of the SSD to obtain a failure scenario; perform local failure analysis based on the failure scenario combined with the system log to obtain an analysis result.
[0088] The analysis result includes whether the mapping table status is normal and whether the block status is normal.
[0089] The analysis result also includes when the operating status becomes abnormal when the flash translation layer adds information for debugging and obtains more operating status information from the serial port.
[0090] It should be understood that in the embodiment of the present application, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0091] It can be understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.
[0092] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein when the computer program is executed by a processor, the processor executes the following steps:
[0093] When an SSD fails, the entire SSD disk information is obtained; a failure scenario is constructed based on the entire SSD disk information, and the failure scenario is analyzed to obtain an analysis result; the failure result is sent to a terminal to display the failure result on the terminal.
[0094] The SSD full disk information includes all information of system data blocks, out-of-band data in user data blocks, and status of each page in all blocks.
[0095] In one embodiment, when the processor executes the computer program to implement the step of obtaining the entire SSD information when the SSD fails, the processor specifically implements the following steps:
[0096] When an SSD fails, the FA tool is used to send a full disk information export command to the SSD so that the SSD reads the corresponding data in physical block order; the data read by the SSD is packaged into a file in a specified format to obtain the full disk information of the SSD.
[0097] In one embodiment, when the processor executes the computer program to implement the step of constructing a failure scenario according to the full SSD information and analyzing the failure scenario to obtain an analysis result, the processor specifically implements the following steps:
[0098] Simulate the firmware behavior in the SSD; restore the status of all physical blocks, data in the physical blocks, and out-of-band data in the user data blocks based on the full disk information of the SSD to obtain a failure scenario; perform local failure analysis based on the failure scenario combined with the system log to obtain an analysis result.
[0099] The analysis result includes whether the mapping table status is normal and whether the block status is normal.
[0100] The analysis result also includes when the operating status becomes abnormal when the flash translation layer adds information for debugging and obtains more operating status information from the serial port.
[0101] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage media that can store program codes.
[0102] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0103] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0104] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0105] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention.
[0106] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. SSD failure analysis method, It is characterized in that include: When the SSD fails, obtain the full SSD information; Construct failure scenarios based on the full SSD information and analyze the failure scenarios to obtain analysis results; Sending the analysis result to a terminal so as to display the analysis result on the terminal; The SSD full disk information includes all information of system data blocks, out-of-band data in user data blocks, and status of each page in all blocks; The failure scenario is constructed based on the full SSD information, and the failure scenario is analyzed to obtain the analysis result, including: Simulate the firmware behavior in SSD; Recover the status of all physical blocks, data in the physical blocks, and out-of-band data in the user data blocks according to the SSD full disk information to obtain a failure scenario; Perform local failure analysis based on the failure scenario in combination with the system log to obtain analysis results.
2. The SSD failure analysis method according to claim 1, It is characterized in that When the SSD fails, the whole SSD information is obtained, including: When an SSD fails, use the FA tool to send a full disk information export command to the SSD so that the SSD reads the corresponding data in physical block order; The data read from the SSD is packaged into a file of a specified format to obtain the entire SSD disk information.
3. The SSD failure analysis method according to claim 1, It is characterized in that The analysis result includes whether the mapping table status is normal and whether the block status is normal.
4. The SSD failure analysis method according to claim 3, It is characterized in that The analysis result also includes when the operating status becomes abnormal when the flash translation layer adds information for debugging and obtains more operating status information from the serial port. 5.SSD failure analysis device, It is characterized in that include: An acquisition unit, used to acquire the entire SSD information when the SSD fails; The SSD full disk information includes all information of system data blocks, out-of-band data in user data blocks, and status of each page in all blocks; An analysis unit, used to construct a failure scenario according to the full disk information of the SSD, and analyze the failure scenario to obtain an analysis result; the analysis unit includes a behavior simulation subunit, a scenario reconstruction subunit and a failure analysis subunit; the behavior simulation subunit is used to simulate the firmware behavior in the SSD; A scene reconstruction subunit, used to restore the status of all physical blocks, the data in the physical blocks, and the out-of-band data in the user data blocks according to the full disk information of the SSD, so as to obtain a failure scene; A failure analysis subunit, used to perform local failure analysis according to the failure scenario in combination with the system log to obtain an analysis result; The sending unit is used to send the analysis result to the terminal so that the analysis result can be displayed on the terminal.
6. The SSD failure analysis device according to claim 5, It is characterized in that The acquisition unit comprises: The command sending subunit is used to send a full disk information export command to the SSD using the FA tool when the SSD fails, so that the SSD reads the corresponding data in the order of physical blocks; The packing subunit is used to pack the data read from the SSD into a file of a specified format to obtain the full disk information of the SSD.
7. A computer device, It is characterized in that The computer device comprises a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 4 when executing the computer program.
8. A storage medium, It is characterized in that The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 4 can be implemented.
