Storage solution configuration method, device, equipment and storage medium

By analyzing the storage configuration information uploaded by the user and determining the SPDK operation interface, the storage solution is directly configured, which solves the problem of high configuration complexity in the existing technology, achieves low-threshold and efficient storage solution configuration, and improves the user experience.

CN117149073BActive Publication Date: 2024-10-18YUSUR TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311110558.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-30
Publication Date
2024-10-18
Estimated Expiration
2043-08-30

AI Technical Summary

Technical Problem

The existing Storage Performance Development Kit (SPDK) configuration method requires writing complex configuration script files, which increases the development workload and has a high threshold. Users need to understand the implementation principles.

Method used

By obtaining the storage configuration information uploaded by users, parsing the target type, determining the SPDK operation interface to be used, and controlling SPDK to perform corresponding operations, the configuration of the storage solution is realized without the need for users to write configuration script files.

Benefits of technology

It lowers the threshold for user configuration storage solutions, supports the construction of distributed systems, realizes efficient data storage and exchange, reduces the workload of manually writing configuration files, simplifies SPDK configuration management, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117149073B_ABST
    Figure CN117149073B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a configuration method, apparatus, device and storage medium for a storage solution, the method comprising: obtaining storage configuration information uploaded by a user, the storage configuration information comprising a target type of the storage solution of the target configuration; parsing the storage configuration information to determine an operation interface of a storage performance development toolkit used when configuring the storage solution of the target type; and controlling the storage performance development toolkit to execute operations corresponding to the operation interface to implement configuration of the storage solution of the target type. The present disclosure parses the storage configuration information to determine an operation interface used to configure the storage solution of the target type, and then controls the storage performance development toolkit to execute operations corresponding to the operation interface. This eliminates the need to write a configuration script file that calls the interface. The user only needs to determine the target type of the storage solution of the target configuration to implement configuration, thereby lowering the configuration threshold for the user and improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a configuration method, device, equipment and storage medium of a storage solution. Background Art

[0002] The Storage Performance Development Kit (SPDK) is a complete set of application software acceleration libraries for implementing high-performance, highly scalable, full-user storage. Users can freely configure the storage solutions they want to use based on the different interfaces provided by SPDK. However, calling the SPDK interface requires writing complex configuration script files, which increases the development workload. Users of SPDK need to have a certain degree of learning and understanding of the implementation principles, and the configuration threshold is relatively high. Summary of the invention

[0003] In order to solve the above technical problems, the present disclosure provides a storage solution configuration method, device, equipment and storage medium.

[0004] A first aspect of an embodiment of the present disclosure provides a method for configuring a storage solution, the method comprising:

[0005] Acquire storage configuration information uploaded by a user, wherein the storage configuration information includes a target type of a storage solution of a target configuration;

[0006] Parsing the storage configuration information to determine an operation interface of a storage performance development toolkit used when configuring a storage solution of the target type;

[0007] The storage performance development toolkit is controlled to execute operations corresponding to the operation interface to implement configuration of a storage solution of the target type.

[0008] In some embodiments, the method is applicable to a remote calling server, and obtaining storage configuration information uploaded by a user includes:

[0009] The storage configuration information uploaded and sent by the user through the remote call client is received.

[0010] In some embodiments, the storage configuration information is binary information obtained after serialization processing. Before parsing the storage configuration information, the method further includes:

[0011] Deserializing the storage configuration information;

[0012] The parsing of the storage configuration information includes:

[0013] Parse the deserialized storage configuration information.

[0014] In some embodiments, the parsing of the storage configuration information to determine an operation interface of a storage performance development toolkit used when configuring a storage solution of the target type includes:

[0015] Parsing the storage configuration information, and extracting the target type from the storage configuration information;

[0016] Based on the correspondence between the preset type information and the operation interface, the operation interface of the storage performance development toolkit corresponding to the target type is determined.

[0017] In some embodiments, the storage configuration information includes parameter information required to perform the operation corresponding to the operation interface.

[0018] In some embodiments, before controlling the storage performance development toolkit to perform the operation corresponding to the operation interface, the method includes:

[0019] The parameter information is sent to the storage performance development toolkit using a target communication protocol, wherein the target communication protocol includes a lightweight remote call communication protocol.

[0020] In some embodiments, controlling the storage performance development toolkit to perform an operation corresponding to the operation interface includes:

[0021] An enable signal is sent to the storage performance development toolkit through the operation interface, so that the storage performance development toolkit executes the operation corresponding to the operation interface after receiving the enable signal.

[0022] A second aspect of an embodiment of the present disclosure provides a storage solution configuration device, the device comprising:

[0023] An acquisition module, used to acquire storage configuration information uploaded by a user, wherein the storage configuration information includes a target type of a storage scheme of a target configuration;

[0024] A parsing module, used to parse the storage configuration information and determine an operation interface of a storage performance development toolkit used when configuring a storage solution of the target type;

[0025] A control module is used to control the storage performance development toolkit to execute operations corresponding to the operation interface to implement the configuration of the storage solution of the target type.

[0026] A third aspect of an embodiment of the present disclosure provides a computer device, comprising a memory and a processor, and a computer program, wherein the computer program is stored in the memory, and when the computer program is executed by the processor, the configuration method of the storage scheme of the first aspect described above is implemented.

[0027] A fourth aspect of an embodiment of the present disclosure provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, a configuration method of the storage solution of the first aspect described above is implemented.

[0028] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:

[0029] In the configuration method, apparatus, device and storage medium of the storage solution provided in the embodiments of the present disclosure, storage configuration information uploaded by a user is obtained, and the storage configuration information includes a target type of the storage solution of the target configuration, the storage configuration information is parsed, and an operation interface of a storage performance development toolkit used when configuring the storage solution of the target type is determined, and the storage performance development toolkit is controlled to execute operations corresponding to the operation interface to implement the configuration of the storage solution of the target type. There is no need for the user to write a configuration script file that calls the interface of the storage performance development toolkit. As long as the storage configuration information of the target type of the storage solution including the target configuration is uploaded, the corresponding operation interface of the storage performance development toolkit can be called to implement the configuration of the storage solution of the target type, thereby lowering the threshold for users to configure storage solutions, supporting users to conveniently build distributed systems, achieving efficient data storage exchange, reducing the workload of manually writing configuration files, simplifying the configuration management of the storage performance development toolkit, and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0032] Figure 1 is a flow chart of a storage solution configuration method provided by an embodiment of the present disclosure;

[0033] Figure 2 is a flow chart of a method for parsing storage configuration information provided by an embodiment of the present disclosure;

[0034] Figure 3 is a flow chart of a method for determining an operation interface provided by an embodiment of the present disclosure;

[0035] Figure 4 It is a structural diagram of a configuration device of a storage solution provided by an embodiment of the present disclosure;

[0036] Figure 5 It is a structural diagram of a computer device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0037] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0038] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0039] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0040] Figure 1 1 is a flowchart of a storage solution configuration method provided by an embodiment of the present disclosure, and the method can be executed by a storage solution configuration device. Figure 1 As shown, the configuration method of the storage solution provided in this embodiment includes the following steps:

[0041] S101. Acquire storage configuration information uploaded by a user, where the storage configuration information includes a target type of a storage solution of a target configuration.

[0042] The storage configuration information in the embodiments of the present disclosure can be understood as the information required to configure the storage solution. The type of storage solution can be understood as the form of the virtual disk that the user wants to use, and can also be understood as the type of storage protocol used for data storage. Different types of virtual disks correspond to different types of storage protocols. For example, the type of storage solution may include non-volatile memory Express (NVMe), virtio-blk, virtio-scsi, etc., which are not limited here.

[0043] In the embodiment of the present disclosure, the storage scheme configuration device may obtain storage configuration information of a target type of the storage scheme including the target configuration uploaded by the user.

[0044] S102: Parse the storage configuration information to determine an operation interface of a storage performance development toolkit used when configuring a storage solution of a target type.

[0045] The Storage Performance Development Kit (SPDK) in the disclosed embodiment is a complete set of application software acceleration libraries for implementing high-performance, highly scalable, full-user storage. Different operation interfaces can implement different storage-related functions. The configuration device of the storage solution can determine the SPDK operation interface used when configuring the target type of storage solution through storage configuration information.

[0046] In the disclosed embodiment, the storage solution configuration device may parse the storage configuration information uploaded by the user after acquiring the storage configuration information, and determine the SPDK operation interface to be used when configuring the storage solution of the target type.

[0047] In an exemplary implementation of the presently disclosed embodiment, the storage scheme configuration device can, after obtaining the storage configuration information uploaded by the user, extract the target type information of the storage scheme of the target configuration from the storage configuration information, and then search for the operation interface corresponding to the target type based on the correspondence between the preset storage scheme type and the operation interface.

[0048] S103: Control the storage performance development toolkit to execute operations corresponding to the operation interface to implement configuration of a storage solution of the target type.

[0049] In the embodiment of the present disclosure, the storage solution configuration device can control SPDK to execute operations corresponding to the operation interface after determining the SPDK operation interface used when configuring the storage solution of the target type. Since the operation interface is the interface used when configuring the storage solution of the target type, the configuration of the storage solution of the target type can be achieved through the operations corresponding to the operation interface.

[0050] In an exemplary implementation of the embodiment of the present disclosure, the storage solution configuration device may, after determining the SPDK operation interface used when configuring the storage solution of the target type, call the operation interface to perform corresponding operations to implement the configuration of the storage solution of the target type.

[0051] In another exemplary implementation of the disclosed embodiment, the storage scheme configuration device may generate a configuration success message after determining that a storage scheme of the target type is created and configured successfully, and return the message to the user to inform the user that the newly configured logical disk can be used to store data.

[0052] In the embodiments of the present disclosure, when configuring a storage solution of a target type, the user does not need to worry about the backend resources used to configure the storage solution, nor does he need to learn the SPDK operation interface that needs to be called to configure the storage solution of the target type. As long as the user understands the target type of the storage solution of the target configuration and uploads the storage configuration information containing the target type to the configuration device of the storage solution, the storage solution of the target type can be created and configured.

[0053] The disclosed embodiment obtains storage configuration information uploaded by a user, wherein the storage configuration information includes a target type of a storage solution of a target configuration, parses the storage configuration information, determines an operation interface of a storage performance development toolkit used when configuring the storage solution of the target type, and controls the storage performance development toolkit to execute operations corresponding to the operation interface to implement configuration of the storage solution of the target type. The user does not need to write a configuration script file that calls an interface of the storage performance development toolkit. As long as a file including the storage configuration information of the target type of the storage solution of the target configuration is uploaded, the corresponding operation interface of the storage performance development toolkit can be called to implement configuration of the storage solution of the target type. This lowers the threshold for users to configure storage solutions, supports users to conveniently build distributed systems, implements efficient data storage and exchange, reduces the workload of manually writing configuration files, simplifies the configuration management of the storage performance development toolkit, and improves user experience.

[0054] In some embodiments of the present disclosure, a storage solution configuration device may be provided on a remote call server, and the storage solution configuration device may receive storage configuration information uploaded and sent by a user through a remote call client.

[0055] Specifically, a configuration device for a storage solution may be provided on a remote call server to receive storage configuration information sent by a user to the remote call server through a remote call client. The remote call client and the remote call server are a set of corresponding clients and servers generated using a preset Protocol file. There is a communication channel between the remote call client and the remote call server. For example, the remote call client may be a gRPC (google Remote Procedure Call) client, and the remote call server may be a gRPC server. A user may generate framework code for a gRPC client and a gRPC server based on a preset Protocol file using a Protocol tool in advance. The Protocol file defines a message format for communication between the two, standardizes the format for message transmission by the user using the SPDK operation interface, and also includes various types of virtual disks and types of storage protocols. After the gRPC client and the gRPC server are generated, the user may use any programming language to write the storage configuration information, and upload and send the storage configuration information through the gRPC client. The configuration device for the storage solution located at the gRPC server may receive the storage configuration information.

[0056] The Protocol file can provide the same interface for the same type of storage from different manufacturers. And because the protocol format is a universal format, it can seamlessly connect to any type of controller that supports the Protocol format.

[0057] Optionally, after generating a configuration success message, the storage solution configuration device may send the configuration success message to the remote call client, thereby informing the user that the newly configured logical disk resources can be used to store data.

[0058] Figure 2 is a flowchart of a method for parsing storage configuration information provided by an embodiment of the present disclosure, such as Figure 2 As shown, based on the above embodiment, the storage configuration information can be parsed by the following method, wherein the storage configuration information is binary information obtained after serialization processing.

[0059] S201. Deserialize storage configuration information.

[0060] In the disclosed embodiment, the configuration device of the storage solution may deserialize the serialized binary storage configuration information after receiving it, and convert the binary storage configuration information into the programming language format used by the user to write the storage configuration information.

[0061] S202: Parse the deserialized storage configuration information.

[0062] In the disclosed embodiment, the configuration device of the storage solution may parse the deserialized storage configuration information after obtaining the deserialized storage configuration information. The specific parsing method is similar to S102 and will not be described in detail here.

[0063] Optionally, the code framework of the gRPC client and gRPC server in a specified programming language generated by the Protocol tool using the Protocol file will include a processing method for converting a file containing storage configuration information into a serialized binary code, and a processing method for deserializing the serialized binary code into a message format defined in the storage configuration information file. The serialization and deserialization method agreed upon in the file generated by the Protocol tool is the method for the client and server to serialize and deserialize the storage configuration information.

[0064] Figure 3 is a flow chart of a method for determining an operation interface provided by an embodiment of the present disclosure, such as Figure 3 As shown, based on the above embodiment, the operation interface can be determined by the following method.

[0065] S301: Parse storage configuration information and extract target types from the storage configuration information.

[0066] In the embodiment of the present disclosure, the configuration device of the storage solution may parse the storage configuration information after receiving the storage configuration information, and extract the target type therefrom.

[0067] In an exemplary implementation of the present disclosure, the storage scheme configuration device may perform keyword detection on the storage configuration information after receiving the storage configuration information, detect keywords related to the type of storage scheme, and then determine the target type of the storage scheme of the target configuration based on the detected keywords.

[0068] S302: Determine the operation interface of the storage performance development toolkit corresponding to the target type based on the correspondence between the preset type information and the operation interface.

[0069] In the disclosed embodiment, after extracting the target type from the storage configuration information, the configuration device of the storage solution can determine the operation interface of the SPDK corresponding to the target type according to the correspondence between the pre-acquired type information and the operation interface.

[0070] The disclosed embodiment parses the storage configuration information, extracts the target type from the storage configuration information, and determines the operation interface of the storage performance development toolkit corresponding to the target type based on the correspondence between the preset type information and the operation interface. The operation interface corresponding to the target type can be determined based on the preset correspondence, and the storage solution for the target type can be subsequently configured through the operation interface.

[0071] In some other embodiments of the present disclosure, the storage configuration information includes parameter information required to execute the operation corresponding to the operation interface.

[0072] Specifically, the storage configuration information includes not only the target type of the storage scheme of the target configuration, but also parameter information required to execute the operation corresponding to the operation interface. For example, the storage configuration information may include the size of the storage area of ​​the target configuration, and the parameter information may specifically include the parameter type and parameter value.

[0073] In some other embodiments of the present disclosure, a configuration device of a storage solution may adopt a target communication protocol to send parameter information to a storage performance development toolkit, where the target communication protocol includes a lightweight remote call communication protocol.

[0074] Specifically, after receiving the storage configuration information, the configuration device of the storage solution can extract the target type and other parameter information therefrom, and adopt the target communication protocol used when communicating with SPDK, such as the lightweight remote call communication protocol (JavaScript Object Notation Remote Procedure Call, Json-Rpc), to send the parameter information to SPDK, so that SPDK has complete parameter information when executing the operation corresponding to the operation interface, thereby realizing the creation and configuration of the storage solution for the target configuration.

[0075] Among them, after extracting the parameter information from the storage configuration information, the configuration device of the storage solution can encapsulate the parameter information, and then send the encapsulated parameter information to the corresponding operation interface of the SPDK.

[0076] In some further embodiments of the present disclosure, the configuration device of the storage solution may send an enable signal to the storage performance development toolkit through the operation interface, so that the storage performance development toolkit performs the operation corresponding to the operation interface after receiving the enable signal.

[0077] Specifically, after determining the operation interface of the SPDK used when configuring the storage solution of the target type, the storage solution configuration device can send an enable signal to the SPDK through the operation interface, so that after receiving the enable signal, the SPDK determines the operation to be performed through the operation interface that receives the enable signal.

[0078] Optionally, the storage solution configuration device may utilize a vendor HW Acceleration solution to implement hardware storage acceleration.

[0079] Figure 4 FIG. 1 is a schematic diagram of a configuration device for a storage solution provided by an embodiment of the present disclosure. Figure 4 As shown, the configuration device 400 of the storage solution includes: an acquisition module 410, a parsing module 420, and a control module 430, wherein the acquisition module 410 is used to obtain storage configuration information uploaded by a user, and the storage configuration information includes a target type of a storage solution of a target configuration; the parsing module 420 is used to parse the storage configuration information and determine an operation interface of a storage performance development toolkit used when configuring a storage solution of the target type; and the control module 430 is used to control the storage performance development toolkit to execute operations corresponding to the operation interface to implement configuration of a storage solution of the target type.

[0080] Optionally, the storage solution configuration device 400 is applicable to a remote calling server, and the acquisition module 410 is specifically used to receive the storage configuration information uploaded and sent by the user through the remote calling client.

[0081] Optionally, the storage configuration information is binary information obtained after serialization processing, and the configuration device 400 of the storage scheme also includes: a deserialization module, used to deserialize the storage configuration information; the parsing module 420 is specifically used to parse the storage configuration information after deserialization processing.

[0082] Optionally, the parsing module 420 includes: an extraction unit, used to parse the storage configuration information and extract the target type from the storage configuration information; and a determination unit, used to determine the operation interface of the storage performance development toolkit corresponding to the target type based on the correspondence between the preset type information and the operation interface.

[0083] Optionally, the storage configuration information includes parameter information required to execute the operation corresponding to the operation interface.

[0084] Optionally, the storage solution configuration device 400 further includes: a sending module, configured to send the parameter information to the storage performance development toolkit using a target communication protocol, wherein the target communication protocol includes a lightweight remote call communication protocol.

[0085] Optionally, the control module 430 is specifically configured to send an enable signal to the storage performance development toolkit through the operation interface, so that the storage performance development toolkit executes an operation corresponding to the operation interface after receiving the enable signal.

[0086] The storage solution configuration device provided in this embodiment can execute the method described in any of the above embodiments, and its execution method and beneficial effects are similar, which will not be repeated here.

[0087] Figure 5 It is a structural diagram of a computer device provided by an embodiment of the present disclosure.

[0088] like Figure 5 As shown, the computer device may include a processor 510 and a memory 520 storing computer program instructions.

[0089] Specifically, the processor 510 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0090] The memory 520 may include a large capacity memory for information or instructions. By way of example and not limitation, the memory 520 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 520 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 520 may be inside or outside the integrated gateway device. In a particular embodiment, the memory 520 is a non-volatile solid-state memory. In a particular embodiment, the memory 520 includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (Electrically Erasable Programmable ROM, EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these.

[0091] The processor 510 reads and executes the computer program instructions stored in the memory 520 to perform the steps of the storage solution configuration method provided in the embodiment of the present disclosure.

[0092] In one example, the computer device may further include a transceiver 530 and a bus 540. Figure 5 As shown, the processor 510, the memory 520 and the transceiver 530 are connected via a bus 540 and communicate with each other.

[0093] The bus 540 includes hardware, software, or both. For example, but not limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industrial Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a Memory bus, a MicroChannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses or a combination of two or more of these. Where appropriate, the bus 540 may include one or more buses. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.

[0094] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0095] The embodiments of the present disclosure further provide a computer-readable storage medium, which may store a computer program. When the computer program is executed by a processor, the processor implements the configuration method of the storage solution provided by the embodiments of the present disclosure.

[0096] The above-mentioned storage medium may, for example, include a memory 520 of computer program instructions, and the above-mentioned instructions may be executed by the processor 510 of the configuration device of the storage scheme to complete the configuration method of the storage scheme provided by the embodiment of the present disclosure. Optionally, the storage medium may be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a ROM, a random access memory (Random Access Memory, RAM), a compact disc read-only memory (CompactDisc ROM, CD-ROM), a magnetic tape, a floppy disk, and an optical data storage device, etc. The above-mentioned computer program may be written in any combination of one or more programming languages ​​to perform the program code of the operation of the embodiment of the present disclosure, and the programming language includes an object-oriented programming language, such as Java, C++, etc., and also includes a conventional procedural programming language, such as "C" language or similar programming language. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device, partially on the remote computing device, or completely on the remote computing device or server.

[0097] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0098] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for configuring a storage solution, characterized in that: The method is applicable to a remote calling server, and the method comprises: Receiving storage configuration information uploaded and sent by a user through a remote call client, the storage configuration information including a target type of a storage scheme of a target configuration, the remote call server and the remote call client being a set of corresponding clients and servers generated based on a preset file, the preset file including type information of the storage scheme; Parsing the storage configuration information to determine an operation interface of a storage performance development toolkit used when configuring a storage solution of the target type; Controlling the storage performance development toolkit to execute operations corresponding to the operation interface to implement configuration of a storage solution of the target type; The step of parsing the storage configuration information to determine an operation interface of a storage performance development toolkit used when configuring a storage solution of the target type includes: Parsing the storage configuration information, and extracting the target type from the storage configuration information; Based on the correspondence between the preset type information and the operation interface, the operation interface of the storage performance development toolkit corresponding to the target type is determined.

2. The method according to claim 1, characterized in that The storage configuration information is binary information obtained after serialization processing. Before parsing the storage configuration information, the method further includes: Deserializing the storage configuration information; The parsing of the storage configuration information includes: Parse the deserialized storage configuration information.

3. The method according to claim 1, characterized in that The storage configuration information includes parameter information required to execute the operation corresponding to the operation interface.

4. The method according to claim 3, characterized in that Before controlling the storage performance development toolkit to perform the operation corresponding to the operation interface, the method includes: The parameter information is sent to the storage performance development toolkit using a target communication protocol, wherein the target communication protocol includes a lightweight remote call communication protocol.

5. The method according to claim 1, characterized in that The controlling the storage performance development toolkit to execute the operation corresponding to the operation interface includes: An enable signal is sent to the storage performance development toolkit through the operation interface, so that the storage performance development toolkit executes the operation corresponding to the operation interface after receiving the enable signal.

6. A storage scheme configuration device, characterized in that: The device is applicable to a remote calling service end, and the device comprises: An acquisition module is used to receive storage configuration information uploaded and sent by a user through a remote call client, wherein the storage configuration information includes a target type of a storage scheme of a target configuration, wherein the remote call server and the remote call client are a set of corresponding clients and servers generated based on a preset file, and the preset file includes type information of the storage scheme; A parsing module, used to parse the storage configuration information and determine an operation interface of a storage performance development toolkit used when configuring a storage solution of the target type; A control module, used to control the storage performance development toolkit to execute operations corresponding to the operation interface to implement configuration of a storage solution of the target type; The parsing module comprises: an extraction unit, configured to parse the storage configuration information and extract the target type from the storage configuration information; A determination unit is used to determine the operation interface of the storage performance development toolkit corresponding to the target type based on the correspondence between the preset type information and the operation interface.

7. A computer device, characterized in that: include: Memory; processor; and a computer program; wherein the computer program is stored in the memory and is configured to be executed by the processor to implement the method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the configuration method of the storage solution according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • File storage method and device, equipment and storage medium

    CN114153806A