Storage method, system, device and storable medium based on NVMEOF
By setting the configuration policy head and classification to write to the PG Group during the data storage process, metadata is directly written to the NVMEOF disk, which solves the problem of slow PG copy speed and achieves efficient data transmission and improved operating system reliability.
Patent Information
- Application Number
- CN201811456379.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-11-30
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2038-11-30
AI Technical Summary
In the existing technology, the PG copy speed during the data storage process is too low, and the copy success information needs to be confirmed multiple times, resulting in slow data transmission speed and failure to fully utilize the performance of the NVMEOF disk.
By setting up a configuration policy head and a PG Group that classifies writing to PG, NVMEOF is used to directly write metadata to disk, simplifying the logic of PG, reducing multi-copy copy time, and improving the reliability of the operating system.
It saves the time of multi-copy copying, simplifies the logic of PG, increases the data transmission speed, improves the reliability of the operating system, simplifies remote data operations, and reduces the difficulty of subsequent development.
Smart Images

Figure CN109614041B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and more specifically, to a storage method, system, device and storable medium based on NVMEOF (Non-Volatile Memory Express–over Fabrics). Background Art
[0002] With the improvement of informatization, more and more data and information need to be transmitted. In the process of data transmission, data storage plays an important role. Therefore, the application of massive data and information puts forward higher requirements on data storage methods.
[0003] Due to the complexity of stored data, during the data transmission process, metadata needs to be classified into PG (placement group). PG is responsible for copying multiple copies of data to OSD (Object Storage Device). After receiving replies from all OSDs, the client's request will be recovered. One data transmission must be processed by PG logic, multiple OSDs, and multiple network transmissions. Multiple copies are the biggest bottleneck for data storage in the current system.
[0004] Among them, PG is responsible for multi-copy replication, and the replication speed is too low. At the same time, PG replication requires repeated confirmation of host information and data replication success information, which seriously affects the data transmission speed and does not give full play to the performance of NVMEOF (Non-Volatile Memory Express–over Fabrics) disks.
[0005] To solve the above problems, the present invention provides a storage method, system, device and storable medium based on NVMEOF. Summary of the invention
[0006] In view of the above problems, the purpose of the present invention is to provide a storage method, system, device and storable medium based on NVMEOF to solve the problem that the PG copying speed is too low during the current data storage process and the information of repeated confirmation of successful copying is required, resulting in slow data transmission speed.
[0007] In a first aspect, the present invention provides a storage method based on NVMEOF, which is applied to an electronic device and includes the following steps:
[0008] S110: Setting a head for configuring a strategy and a PG Group for classifying and writing PGs;
[0009] S120: Writing a distribution strategy into the head;
[0010] S130: Writing metadata into PG according to the distribution strategy;
[0011] S140: Store the PG with metadata written into NVMEOF.
[0012] In a second aspect, the present invention further provides a storage system based on NVMEOF, comprising:
[0013] A head setting unit, used to set a head of a configuration strategy;
[0014] PG Group setting unit, used to set a PG Group for writing PG into a category;
[0015] A writing unit, used for writing a distribution strategy in the head, and writing metadata into the PG according to the distribution strategy classification;
[0016] Storage unit, used to store the PG with metadata written to NVMEOF.
[0017] In a third aspect, the present invention further provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned NVMEOF-based storage method when executing the computer program.
[0018] In a fourth aspect, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned NVMEOF-based storage method are implemented.
[0019] From the above technical solutions, it can be seen that the NVMEOF-based storage method, system, device and storage medium provided by the present invention are provided with a head that can configure policies and a PG Group that can classify and write PGs. By writing policies in the head, metadata can be quickly classified and written to PGs. After PG receives the data, it directly writes to the mounted NVMEOF disk. This NVMEOF-based storage method of the present invention can save time for multiple copy replication, and at the same time can simplify the logic of PG, which helps to improve the reliability of the operating system. Data will not be transmitted between PGs, and remote data operations are simplified to local operations, thereby simplifying the difficulty of subsequent development.
[0020] In order to achieve the above and related purposes, one or more aspects of the present invention include the features that will be described in detail later. The following description and the accompanying drawings describe some exemplary aspects of the present invention in detail. However, these aspects indicate only some of the various ways in which the principles of the present invention can be used. In addition, the present invention is intended to include all these aspects and their equivalents. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] By referring to the following description in conjunction with the accompanying drawings, and with a more comprehensive understanding of the present invention, other objects and results of the present invention will become more clear and easy to understand. In the accompanying drawings:
[0022] Figure 1 A flow chart of a storage method based on NVMEOF according to an embodiment of the present invention;
[0023] Figure 2 A schematic diagram of a process of writing metadata into a PG according to a policy according to an embodiment of the present invention;
[0024] Figure 3 A logical structure block diagram of a storage system based on NVMEOF according to an embodiment of the present invention;
[0025] Figure 4 FIG. 4 is a schematic diagram of a logical structure of an electronic device according to an embodiment of the present invention.
[0026] The same reference numerals throughout the drawings indicate similar or corresponding features or functions. DETAILED DESCRIPTION
[0027] In the following description, for the purpose of explanation, numerous specific details are set forth in order to provide a thorough understanding of one or more embodiments. However, it is apparent that these embodiments may also be implemented without these specific details.
[0028] Embodiments of the present invention can be applied to electronic devices such as computer systems / servers, which can operate with many other general or special computing system environments or configurations. Examples of well-known computing systems, environments and / or configurations suitable for use with electronic devices such as computer systems / servers include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, large computer systems, and distributed cloud computing technology environments including any of the above systems, etc.
[0029] Computer systems / servers and other electronic devices may be described in the general context of computer system executable instructions (such as program modules) executed by a computer system. Typically, program modules may include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. Computer systems / servers and other electronic devices may be implemented in a distributed cloud computing environment, where tasks are performed by remote processing devices linked through a communication network. In a distributed cloud computing environment, program modules may be located on local or remote computing system storage media including storage devices.
[0030] In the following description, for the purpose of explanation, numerous specific details are set forth in order to provide a thorough understanding of one or more embodiments. However, it is apparent that these embodiments may also be implemented without these specific details.
[0031] The specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangements of components and steps, numerical expressions and numerical values described in these embodiments do not limit the scope of the present invention.
[0032] Example 1
[0033] In order to illustrate the storage method based on NVMEOF provided by the present invention, Figure 1 The flow of the storage method based on NVMEOF according to an embodiment of the present invention is shown. The data writing request involved in the present invention includes some metadata information and data, wherein the metadata includes data such as the object name, offset, length, etc. to be written.
[0034] like Figure 1 As shown, the NVMEOF-based storage method provided by the present invention may include the following steps:
[0035] S110: Setting a head for configuring a strategy and a PG Group for classifying and writing PGs;
[0036] S120: Writing a distribution strategy into the head;
[0037] S130: Write metadata into PG according to distribution strategy;
[0038] S140: Store the PG with metadata written into NVMEOF.
[0039] The OSD and PG involved in the present invention are explained as follows:
[0040] The full name of OSD is Object Storage Device. Its main functions are to store data, replicate data, balance data, recover data, etc. It also performs heartbeat checks with other OSDs and reports some changes to CephMonitor. Generally, one hard disk corresponds to one OSD, and the OSD manages the hard disk storage. Of course, a partition can also become an OSD. OSD is the process responsible for physical storage. It is generally configured to correspond one to one with the disk, and one OSD process is started for one disk.
[0041] PG is a placement strategy group, which is a collection of objects. All objects in the collection have the same placement strategy. To put it simply, objects in the same PG are placed on the same hard disk. PG is the core concept of Ceph, and the smallest granularity for server-side data balancing and recovery is PG. There are many PGs in a Pool, and a PG contains a bunch of objects. An object can only belong to one PG. PGs are divided into master and slave, and a PG is distributed on different OSDs.
[0042] VMEOF (Non-Volatile Memory Express–over Fabrics), among which NVMe (Non-Volatile Memory Express) is a protocol for communication between Host and SSD (Solid State Drives), which belongs to the upper layer in the protocol stack; NVMe specifies the commands for communication between Host and SSD, and how the commands are executed. NVMe has two commands, one is called Admin Command, which is used by Host to manage and control SSD; the other is I / O Command, which is used to transfer data between Host and SSD. PG can avoid many repetitive I / O operations by integrating I / O (I / O, Input / Output) operations belonging to the same object.
[0043] In the embodiment of the present invention, due to the complexity of the stored data, during the data transmission process, the metadata needs to be classified into PG (placement group, placement strategy group), and the PG is responsible for copying multiple copies of the data to the OSD (Object Storage Device). After receiving the reply from all OSDs, the client's request will be recovered. One data transmission must be processed by the PG logic, processed by multiple OSDs, and transmitted over the network. If the multi-copy replication is solved, which is the biggest bottleneck of data storage in the current system, the data transmission speed will be improved.
[0044] Here, a head capable of configuring policies and a PG Group capable of writing PGs by category can be set in step S110. The head can be a common Host, the operating system is Linux and the kernel supports NVMEOF, and the head should be configured with a network card that supports ROCE.
[0045] That is to say, the machine head is set as the host of NVMEOF, and multiple NVMEOF disks can be mounted on which PGGroup runs. PG Group is responsible for the operation of a group of PG data, and which PGs can be managed by PG Group according to the policy.
[0046] The metadata distribution strategy is written into the header. The route of how metadata is distributed in PG and PG Group is written into the header according to the preset distribution rules. In the subsequent actual distribution process, the metadata is written into the corresponding PG according to the set strategy.
[0047] To explain in detail the process of writing metadata classification into PG, for example, Figure 2 The flowchart shows a process of writing metadata classification into PG according to a policy according to an embodiment of the present invention.
[0048] like Figure 2 As shown in the figure: PG Group is between metadata and PG. The process of writing metadata classification into PG according to the strategy includes the following steps:
[0049] S210: pre-set a distribution strategy, map the metadata to a corresponding PG according to the distribution strategy, and then map it to a corresponding PG Group;
[0050] S220: Send the metadata to the corresponding PG Group according to the mapping relationship, wherein the PG Group marks the PG number when writing the metadata.
[0051] In an embodiment of the present invention, PG and PG Group are designed to be compatible with the Ceph architecture. In the process of controlling the distribution of metadata to each PG, a distribution strategy needs to be set in advance. Generally, the metadata is mapped to a specific PG through preset rules, and then mapped to a specific PG Group through preset rules. The metadata is then sent to the specific PG Group. The PGGroup carries the PG number when writing metadata.
[0052] It should be noted that the PG Group that can be classified and written into PG means that the metadata in the PG Group has an NVMEOF disk copy equal to the PG number.
[0053] For example, if PG Group 1 contains data for PG numbers from 1 to 100, all PGs written to the PG Group are written to the same multiple NVMEOF disks. That is, the numbers of the metadata in the PG Group correspond one-to-one to the numbers of the NVMEOF disks.
[0054] In an embodiment of the present invention, the PG Group needs to manage metadata by itself. The Client sends data to the PG Group. After receiving the data, the PG Group distributes it to the corresponding PG. After receiving the data, the PG directly writes the mounted NVMEOF disk (as described in step S140).
[0055] After PG receives the data, it writes it to the directly mounted NVMe-OF disk without OSD processing. This is because there is no OSD under the new architecture. The previous OSD was used to achieve multiple copies during data storage. Now NVMEOF can mount disks of different machines on the same machine, and the PG Group process can directly write to multiple copies. There is no need for communication and interaction between processes, which greatly improves efficiency. At the same time, all data consistency checks can also be completed in the PG Group. All OSD functions have been replaced by the PG Group.
[0056] It can be seen from the description of the above embodiments that the NVMEOF-based storage method provided by the present invention sets a head that can configure policies and a PG Group that can classify and write PGs. By writing policies in the head, metadata can be quickly classified and written to PGs. After PG receives the data, it directly writes to the mounted NVMEOF disk. The NVMEOF storage method of the present invention can save time for multiple copy replication, and at the same time can simplify the logic of PG, which helps to improve the reliability of the operating system. Data will not be transmitted between PGs, and remote data operations are simplified to local operations, thereby simplifying the difficulty of subsequent development.
[0057] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0058] Example 2
[0059] Corresponding to the above method, the present invention also provides a storage system based on NVMEOF, Figure 3 The logical structure of a storage system based on NVMEOF according to an embodiment of the present invention is shown.
[0060] like Figure 3 As shown, the present invention provides a storage system 300 based on NVMEOF, including: a head setting unit 310, a PG Group setting unit 320, a writing unit 330 and a storage unit 340. Among them, the implementation functions of the head setting unit 310, the PG Group setting unit 320, the writing unit 330 and the storage unit 340 correspond to the corresponding steps of the storage method based on NVMEOF in the embodiment, and are not described in detail in this embodiment.
[0061] Wherein, the head setting unit 310 is used to set a head of a configuration strategy;
[0062] A PG Group setting unit 320, used to set a PG Group for writing classified data into PG;
[0063] A writing unit 330 is used to write a distribution strategy in the head, and write the metadata classification into the PG according to the distribution strategy;
[0064] The storage unit 340 is used to store the PG written with metadata into NVMEOF.
[0065] Preferably, the head in the head setting unit 310 adopts Host, the operating system is Linux and the kernel supports NVMEOF.
[0066] Preferably, the writing unit 340 includes: a policy setting module 341 and a metadata writing module 342 .
[0067] The policy setting module 341 is used to pre-set the distribution policy, map the metadata to the corresponding PG, and then map to the corresponding PG Group;
[0068] The metadata writing module 342 is used to send the metadata to the corresponding PGGroup according to the mapping relationship, wherein the PGGroup marks the PG number to which it belongs when writing the metadata.
[0069] Preferably, the metadata in the PG Group has an NVMEOF disk portion equal to the PG number.
[0070] The NVMEOF-based storage system provided by the embodiment of the present invention includes a head setting unit 310 for setting a head for configuring a policy; a PG Group setting unit 320 for setting a PG Group for writing PGs in categories; a writing unit 330 for writing a distribution policy in the head, and writing metadata in categories to PGs according to the distribution policy; and a storage unit 340 for storing the PGs written with metadata in NVMEOF. The present invention sets a head that can configure a policy and a PG Group that can write PGs in categories. By writing a policy in the head, metadata can be quickly written in categories to PGs. After receiving the data, PGs directly write to the mounted NVMEOF disk. The NVMEOF storage system of the present invention can save time for multiple copies of data, and can simplify the logic of PGs, which helps to improve the reliability of the operating system. Data will not be transmitted between PGs, and remote data operations are simplified to local operations, thereby simplifying the difficulty of subsequent development.
[0071] Example 3
[0072] Figure 4 FIG. 1 is a schematic diagram of the logical structure of an electronic device provided by an embodiment of the present invention. Figure 4As shown, the electronic device 40 of this embodiment includes a processor 41, a memory 42, and a computer program 43 stored in the memory 42 and executable on the processor 41. When the processor 41 executes the computer program 43, each step of the NVMEOF-based storage method in Embodiment 1 is implemented, such as Figure 1 Alternatively, the processor 41 implements the functions of each module / unit in the above-mentioned device embodiments when executing the NVMEOF-based storage method, for example Figure 3 The head setting unit 310, PG Group setting unit 320, writing unit 330 and storage unit 340 are shown.
[0073] Exemplarily, the computer program 43 can be divided into one or more modules / units, one or more modules / units are stored in the memory 42, and are executed by the processor 41 to complete the present invention. One or more modules / units can be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program 43 in the electronic device 40. For example, the computer program 43 can be divided into the head setting unit 310, the PG Group setting unit 320, the writing unit 330 and the storage unit 340 in Example 2, and their functions are described in detail in Example 2, which will not be repeated here.
[0074] The electronic device 40 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The electronic device 40 may include, but is not limited to, a processor 41 and a memory 42. Those skilled in the art will appreciate that Figure 4 It is only an example of the electronic device 40 and does not constitute a limitation of the electronic device 40. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.
[0075] The processor 41 may be a central processing unit (CPU), or 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. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0076] The memory 42 may be an internal storage unit of the electronic device 40, such as a hard disk or memory of the electronic device 40. The memory 42 may also be an external storage device of the electronic device 40, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 40. Further, the memory 42 may also include both an internal storage unit of the electronic device 40 and an external storage device. The memory 42 is used to store computer programs and other programs and data required by the electronic device. The memory 42 may also be used to temporarily store data that has been output or is to be output.
[0077] Example 4
[0078] This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the storage method based on NVMEOF in Embodiment 1 is implemented. To avoid repetition, it is not described here. Alternatively, when the computer program is executed by a processor, the functions of each module / unit in the storage system based on NVMEOF in Embodiment 2 are implemented. To avoid repetition, it is not described here.
[0079] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0080] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0081] Those skilled 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, or a combination of computer software and electronic hardware. 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.
[0082] In the 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 the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0083] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0084] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0085] If the integrated module / 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 computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0086] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A storage method based on NVMEOF, applied to an electronic device, characterized in that: The steps include: S110: Setting a head for configuring a policy and a PG Group for classifying and writing PGs; wherein the head adopts a Host, mounts multiple NVMEOF disks, and the operating system is Linux and the kernel supports NVMEOF; the PG Group is run on the head; the PG Group is responsible for the operation of a group of PG data, so as to configure the PG managed by the PGGroup according to the policy; S120: Writing a distribution strategy of metadata in the head; wherein the route for distributing the metadata in PG and PG Group is written in the head according to a preset distribution rule; the metadata in the PG Group has an NVMEOF disk share equal to the PG number; S130: Writing metadata into PG according to the distribution strategy; S140: Store the PG with metadata written into NVMEOF.
2. The NVMEOF based storage method according to claim 1, characterized in that: The PG Group is between the metadata and the PG; In the process of controlling the distribution of the metadata to each PG, a distribution strategy is first pre-set to map the metadata to a corresponding PG, and then to a corresponding PG Group; The metadata is then sent to the corresponding PG Group according to the mapping relationship, wherein the PG Group marks the PG number when writing the metadata.
3. A storage system based on NVMEOF, characterized in that: include: A head setting unit, used for setting a head with a configuration policy; wherein the head adopts a host, mounts multiple NVMEOF disks, and the operating system is Linux and the kernel supports NVMEOF; A PG Group setting unit is used to set a PG Group for classifying and writing PGs; wherein the PG Group is run on the head; the PG Group is responsible for the operation of a group of PG data to configure the PG managed by the PG Group according to the policy; A writing unit, used for writing a distribution strategy of metadata in the head, and writing the metadata into the PG according to the distribution strategy; wherein the distribution route of the metadata in the PG and the PG Group is written in the head according to a preset distribution rule; the metadata in the PG Group has an NVMEOF disk portion equal to the PG number; Storage unit, used to store the PG with metadata written to NVMEOF.
4. The NVMEOF-based storage system according to claim 3, characterized in that: The writing unit comprises: A policy setting module is used to pre-set the distribution policy, and the metadata is mapped to the corresponding PG, and then mapped to the corresponding PG Group; The metadata writing module is used to send the metadata to the corresponding PG Group according to the mapping relationship, wherein the PG Group marks the PG number to which it belongs when writing the metadata.
5. An electronic device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the NVMEOF-based storage method as described in claim 1 or 2 when executing the computer program.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a computer program, and when the computer program is executed by a processor, the steps of the NVMEOF-based storage method as claimed in claim 1 or 2 are implemented.
