Information processing method, device and equipment, computer storage medium and computer program product
By receiving operation requests in a distributed file system, determining target information and calling through a target interface, the problem of high time delay during operation on a distributed file system is solved, and operation efficiency is improved.
Patent Information
- Application Number
- CN202411808252.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-09
- Publication Date
- 2025-05-06
AI Technical Summary
When performing read operations or write operations on a distributed file system, multiple interfaces of the distributed file system need to be called decentralizedly multiple times, resulting in a high time delay.
By receiving the operation request from the user, the target information corresponding to the target operation is determined, including the interface information involved in the target node, and the server sends this information to the client of the distributed file system through the target interface, so that the target node responds to the operation request and performs the target operation.
Reduces the number of interface calls required to perform read or write operations on a distributed file system, reduces time delay, and improves the read or write efficiency of metadata.
Smart Images

Figure CN119937910A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to information processing technology in the computer field, and in particular to an information processing method, device, equipment, computer storage medium and computer program product. Background Art
[0002] With the development of science and technology, file system protocols such as the Network File System (NFS) server and the server based on the Server Message Block (SMB) protocol can be applied to the distributed file system to read or write the corresponding metadata. At present, the file system protocol, taking the NFS / SMB server as an example, reads metadata from the distributed file system by directly calling the interface of the distributed file system, or writes metadata in the distributed file system. However, in the related art, when performing a read operation or a write operation on the distributed file system, it is necessary to call multiple interfaces of the distributed file system in a dispersed manner for multiple times, which results in a high time delay when performing a read operation or a write operation. Summary of the invention
[0003] In order to solve the above technical problems, the embodiments of the present application hope to provide an information processing method, apparatus, device, computer storage medium and computer program product, which solve the problem of high time delay when performing read operations or write operations on a distributed file system in the related technology, thereby improving the efficiency of reading or writing metadata.
[0004] The technical solution of this application is implemented as follows:
[0005] An information processing method, the method comprising:
[0006] Receiving an operation request for a distributed file system sent by a user terminal;
[0007] Based on the operation request, determine target information corresponding to the target operation on the distributed file system; wherein the target information is information about interfaces involved in one or more target nodes when performing the target operation on the distributed file system;
[0008] The target information is sent to the client of the distributed file system through the target interface of the server, so that the target node responds to the operation request and executes the target action corresponding to the target operation.
[0009] In the above solution, determining target information corresponding to the target operation on the distributed file system based on the operation request includes:
[0010] Determine a target address based on the operation type of the target operation carried in the operation request and a target identifier corresponding to the target operation; wherein the target identifier is used to identify data obtained after executing the target operation on the target node;
[0011] The target information is obtained from a target storage area based on the target address.
[0012] In the above scheme, the method further comprises:
[0013] Based on the operation type, the target interface is determined from a plurality of interfaces to be screened of the server.
[0014] In the above solution, determining the target address based on the operation type of the target operation carried in the operation request and the target identifier corresponding to the target operation includes:
[0015] Determine the target node from nodes of the distributed file system based on the operation type and the target identifier;
[0016] Determine a first address of a first area storing identification information of an interface of the target node;
[0017] Determine a second address of a second area storing a target parameter corresponding to the interface and an interface address of the interface; wherein the target parameter represents the authority information for the target node; and the target address includes the first address and the second address.
[0018] In the above solution, the acquiring the target information from the target storage area based on the target address includes:
[0019] Based on the first address, acquiring the identification information from the first area;
[0020] Based on the second address, the target parameter and the interface address are obtained from the second area; wherein the target storage area includes the first area and the second area; and the target information includes the identification information, the target parameter and the interface address.
[0021] In the above scheme, the method further comprises:
[0022] generating the identification information of the interface based on the attribute information of the interface, and storing the identification information in the first area;
[0023] Encoding the interface parameters corresponding to the interface to obtain the target parameters, and storing the target parameters in the second area;
[0024] The address of the interface is encoded to obtain the interface address, and the interface address is stored in the second area.
[0025] In the above solution, sending the target information and the operation request to the client of the distributed file system through the target interface includes:
[0026] Performing verification processing on the target information;
[0027] If the target information passes the verification, the target information and the operation request are sent to the client of the distributed file system through the target interface.
[0028] In the above scheme, the method further comprises:
[0029] If the target information verification fails, a verification result indicating that the target information verification fails is sent to the user terminal.
[0030] In the above scheme, the method further comprises:
[0031] receiving feedback information for the target operation sent by the target node, and sending the feedback information to the user end.
[0032] In the above scheme, the scheme also includes:
[0033] If the target operation is a read operation, receiving aggregated data for the read operation sent by the target node; wherein the aggregated data is obtained after the target node aggregates multiple data involved in the read operation;
[0034] Sending feedback information carrying the aggregated data to the user terminal.
[0035] An information processing method, the method comprising:
[0036] In the above scheme, the method further comprises:
[0037] Receiving, through the target interface of the client, an operation request for the distributed file system and target information corresponding to the target operation sent by the server; wherein the target information is information of interfaces involved in one or more target nodes when performing the target operation on the distributed file system, and is determined by the server based on the operation request;
[0038] If it is determined that the operation request can be processed, a target action corresponding to the target operation is performed based on the target information, and feedback information for the target operation is sent to the server.
[0039] In the above scheme, the method further comprises:
[0040] If it is determined that the operation request cannot be processed, generating a target aggregation request based on the operation request and the target information;
[0041] Sending the target aggregation request to the target interface of the target server of the distributed file system through the target interface of the client, so that the target server responds to the target aggregation request and performs the target action; wherein the target node includes the client and the target server;
[0042] Receive feedback information sent by the target server for the target operation, and send the feedback information to the server.
[0043] A first information processing device, the device comprising:
[0044] A first receiving unit, configured to receive an operation request for a distributed file system sent by a user terminal;
[0045] A determination unit, configured to determine target information corresponding to a target operation on the distributed file system based on the operation request; wherein the target information is information about interfaces involved in one or more target nodes when performing the target operation on the distributed file system;
[0046] The first sending unit is used to send the target information to the client of the distributed file system through the target interface of the server, so as to respond to the operation request on the target node and execute the target action corresponding to the target operation.
[0047] A second information processing device, the device comprising:
[0048] a second receiving unit, configured to receive, through a target interface of a client of the distributed file system, an operation request for the distributed file system and target information corresponding to the target operation, sent by the server; wherein the target information is information of interfaces involved in one or more target nodes when performing the target operation on the distributed file system, and is determined by the server based on the operation request;
[0049] A processing unit is configured to, if it is determined that the operation request can be processed, execute a target action corresponding to the target operation based on the target information, and send feedback information for the target operation to the server.
[0050] A server, comprising: a first processor, a first memory and a first communication bus;
[0051] The first communication bus is used to realize the communication connection between the first processor and the first memory;
[0052] The first processor is used to execute the information processing program in the first memory to implement the steps of the above-mentioned information processing method.
[0053] A client of a distributed file system, the client comprising: a second processor, a second memory, and a second communication bus;
[0054] The second communication bus is used to realize the communication connection between the second processor and the second memory;
[0055] The second processor is used to execute the information processing program in the second memory to implement the steps of the above-mentioned information processing method.
[0056] A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the above-mentioned information processing method.
[0057] A computer program product, comprising a computer program, wherein the computer program implements the above-mentioned information processing method when executed by a processor.
[0058] The information processing method, apparatus, device, computer storage medium and computer program product provided by the embodiments of the present application can receive an operation request for a distributed file system sent by a client, and determine, based on the operation request, target information of interfaces involved in one or more target nodes when performing a target operation on the distributed file system, and then send the target information to the client of the distributed file system through the target interface of the server, so that the target node responds to the operation request and performs a target action corresponding to the target operation; in this way, an operation request for a distributed file system can be received, and information of all interfaces involved in performing a target operation on the distributed file system can be aggregated into target information, and then based on the target information, the distributed file system can be called through the target interface to perform the target operation, that is, when performing a target operation on the distributed file system, only one distributed file system needs to be called, instead of multiple calls to the distributed file system as in the related art, which solves the problem of high time delay when performing a read operation or a write operation on the distributed file system in the related art, thereby improving the efficiency of reading or writing metadata. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 A flowchart of an information processing method provided in an embodiment of the present application;
[0060] Figure 2 A flowchart of another information processing method provided in an embodiment of the present application;
[0061] Figure 3 A flowchart of another information processing method provided in an embodiment of the present application;
[0062] Figure 4 A schematic diagram of a software architecture in an information processing method provided in an embodiment of the present application;
[0063] Figure 5 A schematic diagram of the structure of a first information processing device provided in an embodiment of the present application;
[0064] Figure 6 A schematic diagram of the structure of a second information processing device provided in an embodiment of the present application;
[0065] Figure 7 A schematic diagram of the structure of a server provided in an embodiment of the present application;
[0066] Figure 8 A schematic diagram of the structure of a client of a distributed file system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0067] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0068] It should be understood that the "embodiments of the present application" or "the aforementioned embodiments" mentioned throughout the specification mean that specific features, structures or characteristics related to the embodiments are included in at least one embodiment of the present application. Therefore, "in the embodiments of the present application" or "in the aforementioned embodiments" appearing throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not 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 embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments.
[0069] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0070] The present application embodiment provides an information processing method, which can be applied to a server, referring to Figure 1 As shown, the method may include the following steps:
[0071] Step 101: Receive an operation request for a distributed file system sent by a client.
[0072] In an embodiment of the present application, the server may receive an operation request for a distributed file system sent by a client through a transmission protocol. It should be noted that the operation request carries a message including an operation type. In an achievable manner, the transmission protocol may refer to a transmission control protocol / Internet protocol (TCP / IP). Exemplarily, a distributed file system may refer to a distributed file system based on an HDFS architecture, or a distributed file system based on a CEPH architecture, or a distributed file system of other architectures, which is not specifically limited here.
[0073] In the embodiment of the present application, the distributed file system includes a client of the distributed file system and a server of the distributed file system. It should be noted that one client corresponds to multiple servers, and the server of the distributed file system may refer to a metadata server (Meta Data Server, MDS) of the distributed file system.
[0074] Step 102: Based on the operation request, determine target information corresponding to the target operation on the distributed file system.
[0075] The target information is information about interfaces involved in one or more target nodes when executing a target operation on a distributed file system.
[0076] In an embodiment of the present application, the target operation may refer to a read operation or a write operation; the target information may refer to the information of the interface involved in one or more target nodes related to the read operation when the distributed file system performs a read operation, or the information of the interface involved in one or more target nodes related to the write operation when the distributed file system performs a write operation. Specifically, the target address can be determined according to the message carried in the operation request, and the call information of each interface corresponding to the target operation can be obtained from the target storage area based on the target address, and then the call information of each interface is aggregated to obtain the target information. Among them, the call information of the interface may include identification information and permission information of the interface, etc.
[0077] In an implementable manner, the target operation may also refer to a modification operation or a deletion operation.
[0078] It should be noted that the target node may include a client of the distributed file system and a server of the distributed file system involved in executing the target operation on the distributed file system.
[0079] Step 103: Send the target information to the client of the distributed file system through the target interface of the server, so that the target node responds to the operation request and executes the target action corresponding to the target operation.
[0080] In the embodiment of the present application, if the target operation is a read operation, the target action may refer to returning the required metadata; if the target operation is a write operation, the target action may refer to creating metadata.
[0081] In an embodiment of the present application, a target interface can be determined from multiple interfaces of the server based on the message carried in the operation request. After that, the target information and the operation request can be sent to the client of the distributed file system (i.e., the file system client) through the target interface, so that the target node responds to the operation request and returns the metadata required by the user end or creates corresponding metadata.
[0082] In one achievable manner, the target interface may be determined from a plurality of interfaces to be screened of the server according to the operational fatigue of the target operation.
[0083] It should be noted that when sending information to the client of the distributed file system, it is not necessary to carry a complete operation request, and it is only necessary to send information that can identify the operation request. For example, identification information, a serial number or a session ID, etc. can be sent, and it is only necessary to reflect what specific operation needs to be performed. The embodiment of the present application does not specifically limit this. In the embodiment of the present application, by aggregating the interface information involved in one or more target nodes of the distributed file system corresponding to the target operation, the distributed file system can directly execute and complete the corresponding target action at one time according to the aggregated information, without the need to perform the corresponding action multiple times to complete the operation request as in the related art. This not only improves the processing speed of the operation request, but also significantly reduces the time delay in the execution of the operation.
[0084] The information processing method provided in the embodiment of the present application can receive an operation request for a distributed file system, and aggregate information of all interfaces involved in performing a target operation on the distributed file system into target information, and then based on the target information, call the distributed file system through the target interface to perform the target operation, that is, when the distributed file system performs the target operation, it only needs to call the distributed file system once, instead of calling the distributed file system multiple times as in the related art, which solves the problem of high time delay when performing a read operation or a write operation on the distributed file system in the related art, thereby improving the efficiency of reading or writing metadata.
[0085] Based on the above embodiments, the embodiments of the present application provide an information processing method, which can be applied to a client of a distributed file system. Figure 2 As shown, the method may include the following steps:
[0086] Step 201: Receive an operation request for a distributed file system and target information corresponding to a target operation sent by a server through a target interface of a client.
[0087] The target information is information about interfaces of one or more target nodes involved in executing the target operation, and is determined by the server based on the operation request.
[0088] In the embodiments of the present application, Figure 3 As shown, the distributed file system includes a client of the distributed file system and a server of the distributed file system; and the gateway may include a server and a distributed file system.
[0089] The network management may refer to an SMB gateway or an NFS gateway. It should be noted that the embodiment of the present application does not impose any restrictions on the type of gateway applicable to the present solution, and SMB and NFS are only exemplary.
[0090] In one achievable manner, the TCP / IP protocol may be used to receive the operation request and target information for the distributed file system through the target interface of the client.
[0091] Step 202: If it is determined that the operation request can be processed, a target action corresponding to the target operation is executed based on the target information, and feedback information for the target operation is sent to the server.
[0092] In an embodiment of the present application, the client may determine whether it can process the operation request based on the type of the operation request. If the client determines that it can process the operation request, it may directly perform the target operation based on the target information.
[0093] In one achievable manner, if the operation request is to read data from a distributed file system, the client can determine whether the data to be read exists in the cache. If it is determined that the corresponding data exists in the cache, the read operation can be directly performed according to the target information, that is, the corresponding data can be read from the cache. It should be noted that the cache can refer to a consistent cache in the client of the distributed file system.
[0094] It should be noted that if the target action corresponding to the target operation is successfully executed, all the metadata read or feedback information indicating that the write operation is successfully executed can be sent to the server; if the target operation is not successfully executed, feedback information indicating that the target operation is not successfully executed can be sent to the server.
[0095] According to the information processing method provided by the embodiment of the present application, the client of the distributed file system can receive the operation request sent by the server and the target information of the interface of the target node involved in executing the target operation through the target interface. Afterwards, if the client determines that it can process the operation request, it can directly execute the target action corresponding to the target operation based on the target information. In this way, the distributed file system can execute the target operation after receiving one operation request from the server, instead of needing to receive multiple operation requests from the server before executing the target operation as in the related art. This solves the problem of high time delay when executing read operations or write operations on the distributed file system in the related art, thereby improving the efficiency of reading or writing metadata.
[0096] Based on the above embodiments, the embodiments of the present application provide an information processing method, referring to Figure 3 As shown, the method may include the following steps:
[0097] Step 301: The server receives an operation request for a distributed file system sent by a client.
[0098] In the embodiment of the present application, the operation request may be sent to the server in the form of a message. Figure 4 The network processing layer in the distributed file system establishes a communication connection between the server and the client and receives operation requests for the distributed file system.
[0099] Step 302: The server determines a target address based on the operation type of the target operation carried in the operation request and the target identifier corresponding to the target operation.
[0100] The target identifier is used to identify the data obtained after executing the target operation on the target node.
[0101] In an embodiment of the present application, the target address may refer to the address information of a storage area used to store target information; the target identifier may refer to the identifier of metadata obtained after performing a target operation on a target node, and the operation type may include a read operation (i.e., reading metadata from a distributed file system) and a write operation (i.e., writing metadata in a distributed file system).
[0102] It should be noted that the request message may refer to an SMB message or an NFS message. The embodiment of the present application does not impose any restrictions on the file system protocol type that can be applied to this solution. SMB and NFS are only exemplary.
[0103] In the embodiment of the present application, Figure 3The protocol processing layer in the method obtains the protocol command word from the message carrying the operation request, analyzes and processes the protocol command word, obtains the operation type of the target operation and the target identifier of the metadata obtained after executing the target operation, and then determines the target node involved in executing the target operation from multiple nodes of the distributed file system according to the operation type and the target identifier, and then determines the target address according to the information of the target node.
[0104] In the embodiment of the present application, step 302 can be implemented through steps 302a to 302c.
[0105] Step 302a: The server determines a target node from nodes of the distributed file system based on the operation type and target identifier of the target operation.
[0106] In an embodiment of the present application, if the operation type of the target operation is a read operation, the target node storing the metadata to be read can be determined from the nodes of the distributed file system according to the target identifier; if the operation type of the target operation is a write operation, the target node to which the metadata is to be written can be determined from the nodes of the distributed file system according to the target identifier.
[0107] It should be noted that the target node may be one or more.
[0108] Step 302b: The server determines a first address of a first area storing identification information of an interface of a target node.
[0109] In the embodiment of the present application, the identification information can be used to identify the interface of the target node, and the first area can refer to a part of the storage area in the server. Specifically, the first area where the identification information of the interface of the target node is stored can be determined from the storage area of the server, and then the address of the first area (i.e., the first address) is determined.
[0110] In an implementable manner, the first area may refer to a storage area where a field of identification information is stored.
[0111] In other embodiments of the present application, the "identification information" in step 302b may be obtained through step 302b1.
[0112] Step 302b1: The server generates identification information of the interface based on the attribute information of the interface, and stores the identification information in the first area.
[0113] In an embodiment of the present application, the Internet Protocol (IP) address and interface name of each interface can be obtained, and then the IP address and interface name of each interface are written into a pre-set field according to the bit (hereinafter referred to as: bit), and then the field is stored in the first area.
[0114] Step 302c: The server determines a second address of a second area storing target parameters corresponding to the interface and an interface address of the interface.
[0115] The target parameter represents the authority information for the target node; the target address includes a first address and a second address.
[0116] In an embodiment of the present application, the target parameters may refer to the parameters required to call the interface. Specifically, the target parameters may include permission information for the target node, the data name of the metadata corresponding to the target operation, the operation type for the interface, and the configuration information of the interface; the interface address may refer to the return value address of the interface.
[0117] In the embodiment of the present application, the storage area of the target parameter and the interface address can be determined from the storage area of the server, and the address of the storage area (ie, the second area) is the second address. It should be noted that the second address can be a pointer address.
[0118] In other embodiments of the present application, the "target parameters and interface address" in step 302c may be obtained through steps 302c1 to 302c2.
[0119] Step 302c1: The server encodes the interface parameters corresponding to the interface to obtain target parameters, and stores the target parameters in the second area.
[0120] In the embodiment of the present application, the second area may refer to a pre-allocated pointer memory, and the interface parameters are the parameters required to call each interface. Specifically, the interface parameters corresponding to each interface may be encoded to obtain target parameters, and then the target parameters are stored in the pre-allocated pointer memory.
[0121] Step 302c2: The server encodes the address of the interface to obtain the interface address, and stores the interface address in the second area.
[0122] In an embodiment of the present application, the return value address of the interface can be encoded to obtain the interface address, and then the interface address is also stored in a pre-set pointer memory.
[0123] Step 303: The server obtains target information from the target storage area based on the target address.
[0124] The target information is information about interfaces involved in one or more target nodes when executing a target operation on a distributed file system.
[0125] In the embodiment of the present application, the target storage area may include different storage areas. Specifically, the target information may be obtained from different storage areas according to the target address.
[0126] In the embodiment of the present application, step 303 can be implemented through steps 303a to 303b.
[0127] Step 303a: The server obtains identification information from the first area based on the first address.
[0128] In the embodiment of the present application, identification information of the interface can be obtained from the field stored in the first area according to the determined first address.
[0129] Step 303b: The server obtains target parameters and an interface address from the second area based on the second address.
[0130] The target storage area includes a first area and a second area; the target information includes identification information, target parameters and an interface address.
[0131] It should be noted that the first area and the second area are different storage areas.
[0132] In the embodiment of the present application, the target parameters required for calling the interface of the target server and the return value address of the interface can be obtained from the second area according to the determined second address.
[0133] Step 304: The server verifies the target information.
[0134] In the embodiment of the present application, after determining the target information, the target information can be sent to the target interface through the target interface. Figure 4 The general processing layer in the target information can obtain the identification information of the interface, the target parameters corresponding to the interface and the return value address of the interface according to the target address in the target information, and then the legitimacy of the obtained data can be checked.
[0135] In one achievable manner, the representation information, target parameters, and return value addresses of the interface may be checked by a cyclic redundancy check (CRC) to ensure the integrity, accuracy, and security of the information.
[0136] It should be noted that step 305 or step 306 may be executed after step 304.
[0137] Step 305: If the target information is verified, the server sends the target information and the operation request to the client of the distributed file system through the target interface.
[0138] In an embodiment of the present application, if the validity check of the target information passes, the target information and the operation request can be sent to the interface of the client of the distributed file system through the target interface to call the interface of the client of the distributed file system to perform the target operation.
[0139] Step 306: If the target information verification fails, the server sends a verification result indicating the target information verification failure to the client.
[0140] In an embodiment of the present application, if the target information fails the legality check, it means that the server cannot send the target information to the distributed file system. At this time, the server can generate information carrying the verification result of the target information verification failure and feedback the information to the client.
[0141] Step 307: The client of the distributed file system receives the operation request for the distributed file system and the target information corresponding to the target operation sent by the server through the target interface of the client.
[0142] It should be noted that step 308 or steps 309 to 311 may be executed after step 307 .
[0143] Step 308: If it is determined that the operation request can be processed, the client of the distributed file system executes the target action corresponding to the target operation based on the target information, and sends feedback information for the target operation to the server.
[0144] In an embodiment of the present application, the client of the distributed file system can obtain the operation type of the target operation from the message carried in the operation request. If the operation type of the target operation is a read operation, the client can determine whether the metadata to be obtained exists in the consistency cache. If it is determined that the metadata to be obtained exists in the consistency cache, the metadata can be directly read from the consistency cache according to the target information, and feedback information carrying the read metadata is sent to the server through the target interface of the client.
[0145] In an embodiment of the present application, if the operation type of the target operation is a write operation, the client of the distributed file system can determine whether the metadata to be written has been written in the distributed file system. If the metadata already exists in the client of the distributed file system, or the metadata already exists in the server of the distributed file system, feedback information indicating that the metadata already exists can be sent to the server; correspondingly, if the metadata to be written does not exist in the client of the distributed file system, the corresponding metadata can be directly created according to the target information. If the creation is successful, feedback information indicating the successful creation can be sent to the server. If the creation fails, feedback information indicating the failure of the creation will be sent to the server.
[0146] Step 309: If it is determined that the operation request cannot be processed, the client of the distributed file system generates a target aggregation request based on the operation request and the target information.
[0147] In the embodiment of the present application, the inability to process the operation request may refer to the inability to process part of the operation request, or may refer to the inability to process all the requests in the operation request.
[0148] In the embodiment of the present application, if the operation type of the target operation is a read operation, and the client of the distributed file system determines that part of the metadata to be read exists in the consistent cache, then the client of the distributed file system will send part of the metadata in the cache to the server through the target interface, and encode and aggregate the part of the request and target information that cannot be processed in the operation request to obtain a target request for the target server of the distributed file system. It should be noted that the target request can be used to read metadata from the target server that is not read in the client.
[0149] Accordingly, if the client of the distributed file system determines that the metadata to be obtained does not exist in the consistent cache, the client of the distributed file system can directly encode the operation request and the target information to generate a target aggregation request for the target server. At this time, the target request is used to read all the metadata to be obtained from the target server.
[0150] In an embodiment of the present application, if the operation type of the target operation is a write operation, then if the client of the distributed file system determines that the metadata to be written does not exist in the consistent cache and the server of the distributed file system, the client of the distributed file system will also encode and aggregate the operation request and target information to obtain a target aggregation request for writing metadata in the distributed file system.
[0151] It should be noted that the target aggregation request may refer to a metadata server (MetaData Server, MDS) request of a distributed file system.
[0152] In an embodiment of the present application, by aggregating the operation request and target information, generating a target aggregation request and sending it to the target server, the target server can return all the metadata required by the user at one time, or create all the metadata that needs to be created at one time, thereby reducing the time delay in the writing / reading process, thereby improving the efficiency of metadata writing / reading, and at the same time, improving the performance of the user's access to distributed storage.
[0153] Step 310: The client of the distributed file system sends a target aggregation request to the target interface of the target server of the distributed file system through the target interface of the client, so that the target server responds to the target aggregation request and performs a target action.
[0154] The target node includes the client and the target server of the distributed file system. It should be noted that there can be one or more target servers.
[0155] In an embodiment of the present application, if the operation type of the target operation is a read operation, a target aggregation request can be sent to the target interface of the target server through the target interface of the client. After receiving the target aggregation request, the target interface of the target server can determine whether the required metadata exists in its own storage area. If so, the required metadata is directly returned.
[0156] In an embodiment of the present application, if the operation type of the target operation is a write operation, a target aggregation request for writing data can be sent to the target interface of the target server through the target interface of the client, and after receiving the target aggregation request, the target interface of the target server can create all the metadata to be written at one time.
[0157] Step 311: The client of the distributed file system receives feedback information regarding the target operation sent by the target server, and sends the feedback information to the server.
[0158] In an embodiment of the present application, if the operation type of the target operation is a read operation, and the target server successfully reads the required metadata, then the target server can send feedback information carrying the required metadata to the client of the distributed file system; correspondingly, if only part of the metadata is read, feedback information carrying part of the metadata can be sent to the client of the distributed file system; correspondingly, if the required metadata is not read at all, feedback information indicating a read failure is directly sent to the client of the distributed file system, and after receiving the feedback information from the target server, the client will directly feed back the feedback information to the user end.
[0159] In an embodiment of the present application, if the operation type of the target operation is a write operation, and the target server successfully creates the required metadata, the target server can directly send feedback information indicating the successful write to the client of the distributed file system; if the metadata creation fails, feedback information indicating the write failure can be directly sent to the client of the distributed file system; if only part of the metadata is successfully created, the target server can send feedback information indicating the successful write of part of the metadata to the client of the distributed file system. After receiving the feedback information from the target server, the client will directly feed back the feedback information to the user end.
[0160] Step 312: The server receives feedback information regarding the target operation sent by the target node, and sends the feedback information to the user end.
[0161] In an embodiment of the present application, if the target operation is a write operation, the target node will create corresponding metadata in its own storage area based on the received write operation request, and send the metadata creation result to the server in the feedback information. After receiving the feedback information, the server will directly feed back the feedback information to the user end.
[0162] In the embodiment of the present application, if the target operation is a read operation, step 312 can be implemented through steps 312a-312b.
[0163] Step 312a: If the target operation is a read operation, the server receives aggregated data for the read operation sent by the target node.
[0164] The aggregated data is obtained after the target node aggregates multiple data involved in the read operation.
[0165] In an embodiment of the present application, if the target operation is a read operation, the target node will obtain the required metadata from its own storage area based on the received read operation request, and then aggregate all the metadata to obtain aggregated data, and then return the obtained aggregated data directly to the server.
[0166] Step 312b: The server sends feedback information carrying aggregated data to the user end.
[0167] In an embodiment of the present application, after receiving the aggregated data sent by the target node, it is determined whether the aggregated data contains all the metadata required by the user end. If it is determined that all the required metadata is contained, all the metadata is carried in the feedback information and sent to the user end; however, if the aggregated data only carries part of the metadata, the part of the metadata and feedback information indicating the failure of the read operation are carried to the user end.
[0168] In an embodiment of the present application, the distributed file system aggregates all metadata required by the user end and feeds it back to the server at one time, which is then sent to the user end by the server. In this way, the user can obtain all the required metadata at one time, rather than having to call the distributed file system multiple times to obtain all the metadata. This not only reduces the time delay in the metadata reading process, improves the metadata reading efficiency, but also improves the user experience of accessing distributed storage.
[0169] The information processing method provided in the embodiment of the present application can receive an operation request for a distributed file system, and aggregate information of all interfaces involved in the distributed file system when performing a target operation as target information, and then based on the target information, call the distributed file system through the target interface to perform the target operation, that is, when the distributed file system performs the target operation, it only needs to call the distributed file system once, instead of calling the distributed file system multiple times as in the related art, which solves the problem of high time delay when performing a read operation or a write operation on the distributed file system in the related art, thereby improving the efficiency of reading or writing metadata.
[0170] Based on the above embodiments, the embodiments of the present application provide a first information processing device, which can be applied to Figure 1 and 3 In the information processing method provided in the corresponding embodiment, refer to Figure 5 As shown, the first information processing device 4 may include: a first receiving unit 41, a determining unit 42 and a first sending unit 43, wherein:
[0171] The first receiving unit 41 is used to receive an operation request for a distributed file system sent by a user terminal;
[0172] The determination unit 42 is used to determine target information corresponding to the target operation on the distributed file system based on the operation request; wherein the target information is information about interfaces involved in one or more target nodes when performing the target operation on the distributed file system;
[0173] The first sending unit 43 is used to send target information and an operation request to a client of the distributed file system through a target interface of the server, so that the target node responds to the operation request and performs a target action corresponding to the target operation.
[0174] In other embodiments of the present application, the determining unit 42 is further configured to perform the following steps:
[0175] Determine the target address based on the operation type of the target operation carried in the operation request and the target identifier corresponding to the target operation; wherein the target identifier is used to identify the data obtained after the target operation is performed on the target node;
[0176] The target information is obtained from the target storage area based on the target address.
[0177] In other embodiments of the present application, the determining unit 42 is further configured to perform the following steps:
[0178] Based on the operation type, a target interface is determined from multiple interfaces to be filtered on the server.
[0179] In other embodiments of the present application, the determining unit 42 is further configured to perform the following steps:
[0180] Based on the operation type and the target identifier, determine the target node from the nodes of the distributed file system;
[0181] Determine a first address of a first area storing identification information of an interface of a target node;
[0182] Determine a second address of a second area storing a target parameter corresponding to an interface and an interface address of the interface; wherein the target parameter represents authority information for a target node; and the target address includes a first address and a second address.
[0183] In other embodiments of the present application, the determining unit 42 is further configured to perform the following steps:
[0184] Based on the first address, obtaining identification information from the first area;
[0185] Based on the second address, the target parameter and the interface address are obtained from the second area; wherein the target storage area includes the first area and the second area; and the target information includes identification information, the target parameter and the interface address.
[0186] In other embodiments of the present application, the determining unit 42 is further configured to perform the following steps:
[0187] Generate identification information of the interface based on the attribute information of the interface, and store the identification information in the first area;
[0188] Encoding the interface parameters corresponding to the interface to obtain target parameters, and storing the target parameters in the second area;
[0189] The address of the interface is encoded to obtain the interface address, and the interface address is stored in the second area.
[0190] In other embodiments of the present application, the first sending unit 43 is further configured to perform the following steps:
[0191] Verify the target information;
[0192] If the target information is verified, the target information and operation request are sent to the client of the distributed file system through the target interface.
[0193] In other embodiments of the present application, the first sending unit 43 is further configured to perform the following steps:
[0194] If the target information verification fails, a verification result indicating the target information verification failure is sent to the user end.
[0195] In other embodiments of the present application, the first sending unit 43 is further configured to perform the following steps:
[0196] Receive feedback information for the target operation sent by the target node, and send the feedback information to the user end.
[0197] In other embodiments of the present application, the first sending unit 43 is further configured to perform the following steps:
[0198] If the target operation is a read operation, receiving aggregated data for the read operation sent by the target node; wherein the aggregated data is obtained after the target node aggregates multiple data involved in the read operation;
[0199] Send feedback information carrying aggregated data to the user end.
[0200] It should be noted that the specific implementation process of the steps performed by each unit in the embodiment of the present application can be referred to Figure 1 and 3 The implementation process of the information processing method provided in the corresponding embodiment will not be repeated here.
[0201] The first information processing device provided in the embodiment of the present application can receive an operation request for a distributed file system, and aggregate information of all interfaces involved in the distributed file system when performing a target operation as target information, and then based on the target information, call the distributed file system through the target interface to perform the target operation, that is, when the distributed file system performs the target operation, it only needs to call the distributed file system once, instead of calling the distributed file system multiple times as in the related art, which solves the problem of high time delay when performing read operations or write operations on the distributed file system in the related art, thereby improving the efficiency of reading or writing metadata.
[0202] Based on the above embodiments, the embodiments of the present application provide a second information processing device, which can be applied to Figure 2 and 3 In the information processing method provided in the corresponding embodiment, refer to Figure 6 As shown, the second information processing device 5 may include: a second receiving unit 51, a first processing unit 52, a second processing unit 53, and a second sending unit 54, wherein:
[0203] The second receiving unit 51 is used to receive the operation request for the distributed file system and the target information corresponding to the target operation sent by the server through the target interface of the client; wherein the target information is the information of the interface involved in one or more target nodes when executing the target operation, and is determined by the server based on the operation request;
[0204] The processing unit 52 is configured to, if it is determined that the operation request can be processed, execute a target action corresponding to the target operation based on the target information, and send feedback information for the target operation to the server.
[0205] In other embodiments of the present application, the processing unit 52 is further configured to perform the following steps:
[0206] If it is determined that the operation request cannot be processed, a target aggregation request is generated based on the operation request and the target information;
[0207] Sending a target aggregation request to a target interface of a target server of a distributed file system through a target interface of a client, so that the target server responds to the target aggregation request and performs a target action; wherein the target node includes a client and a target server;
[0208] Receive feedback information sent by the target server for the target operation, and send the feedback information to the server.
[0209] The second information processing device provided in the embodiment of the present application, the client of the distributed file system can receive the operation request sent by the server and the target information of the interface of the target node involved in performing the target operation through the target interface. Afterwards, if the client determines that it can process the operation request, it performs the target operation based on the target information. If the client determines that it cannot process the operation request, it generates a target request based on the operation request, and then sends the target request and the target information to the target interface of the target server of the distributed file system through the target interface of the client, so that the target server performs the target operation. In this way, the distributed file system can perform the target operation after receiving one operation request from the server, instead of needing to receive multiple operation requests from the server to perform the target operation as in the related art, which solves the problem of high time delay when performing read operations or write operations on the distributed file system in the related art, thereby improving the efficiency of reading or writing metadata.
[0210] Based on the above embodiments, the embodiments of the present application provide a server, which can be applied to Figure 1 and 3 In the information processing method provided in the corresponding embodiment, refer to Figure 7 As shown, the client 6 may include: a first processor 61, a first memory 62 and a first communication bus 63, wherein:
[0211] The first communication bus 63 is used to realize the communication connection between the first processor 61 and the first memory 62;
[0212] The first processor 61 is used to execute the information processing program in the first memory 62 to implement the following steps:
[0213] Receive operation requests for the distributed file system sent by the client;
[0214] Based on the operation request, determine target information corresponding to the target operation on the distributed file system; wherein the target information is information about interfaces involved in one or more target nodes when performing the target operation on the distributed file system;
[0215] The target information and operation request are sent to the client of the distributed file system through the target interface of the server, so that the target node responds to the operation request and executes the target action corresponding to the target operation.
[0216] In other embodiments of the present application, the first processor 61 is used to execute the information processing program in the first memory 62 based on the operation request, determine the target information corresponding to the target operation for the distributed file system, so as to implement the following steps:
[0217] Determine the target address based on the operation type of the target operation carried in the operation request and the target identifier corresponding to the target operation; wherein the target identifier is used to identify the data obtained after the target operation is performed on the target node;
[0218] The target information is obtained from the target storage area based on the target address.
[0219] In other embodiments of the present application, the first processor 61 is used to execute the information processing program in the first memory 62 to implement the following steps:
[0220] Based on the operation type, a target interface is determined from multiple interfaces to be filtered on the server.
[0221] In other embodiments of the present application, the first processor 61 is used to execute the information processing program in the first memory 62, based on the operation type of the target operation carried in the operation request and the target identifier corresponding to the target operation, to determine the target address, so as to implement the following steps:
[0222] Based on the operation type and the target identifier, determine the target node from the nodes of the distributed file system;
[0223] Determine a first address of a first area storing identification information of an interface of a target node;
[0224] Determine a second address of a second area storing a target parameter corresponding to an interface and an interface address of the interface; wherein the target parameter represents authority information for a target node; and the target address includes a first address and a second address.
[0225] In other embodiments of the present application, the first processor 61 is used to execute the information processing program in the first memory 62 to obtain target information from the target storage area based on the target address, so as to implement the following steps:
[0226] Based on the first address, obtaining identification information from the first area;
[0227] Based on the second address, the target parameter and the interface address are obtained from the second area; wherein the target storage area includes the first area and the second area; and the target information includes identification information, the target parameter and the interface address.
[0228] In other embodiments of the present application, the first processor 61 is used to execute the information processing program in the first memory 62 to implement the following steps:
[0229] Generate identification information of the interface based on the attribute information of the interface, and store the identification information in the first area;
[0230] Encoding the interface parameters corresponding to the interface to obtain target parameters, and storing the target parameters in the second area;
[0231] The address of the interface is encoded to obtain the interface address, and the interface address is stored in the second area.
[0232] In other embodiments of the present application, the first processor 61 is used to execute the information processing program in the first memory 62 to send target information and operation requests to the client of the distributed file system through the target interface to implement the following steps:
[0233] Verify the target information;
[0234] If the target information is verified, the target information and operation request are sent to the client of the distributed file system through the target interface.
[0235] In other embodiments of the present application, the first processor 61 is used to execute the information processing program in the first memory 62 to implement the following steps:
[0236] If the target information verification fails, a verification result indicating the target information verification failure is sent to the user end.
[0237] In other embodiments of the present application, the first processor 61 is used to execute the information processing program in the first memory 62, and may also implement the following steps:
[0238] Receive feedback information for the target operation sent by the target node, and send the feedback information to the user end.
[0239] In other embodiments of the present application, the first processor 61 is used to execute the information processing program in the first memory 62, and may also implement the following steps:
[0240] If the target operation is a read operation, receiving aggregated data for the read operation sent by the target node; wherein the aggregated data is obtained after the target node aggregates multiple data involved in the read operation;
[0241] Send feedback information carrying aggregated data to the user end.
[0242] It should be noted that the specific description of the steps performed by the first processor can be referred to Figure 1 and 3 The information processing method provided in the corresponding embodiment will not be described in detail here.
[0243] The server provided by the embodiment of the present application can receive an operation request for a distributed file system, and aggregate information of all interfaces involved in the distributed file system when performing a target operation as target information, and then based on the target information, call the distributed file system through the target interface to perform the target operation, that is, when the distributed file system performs the target operation, it only needs to call the distributed file system once, instead of calling the distributed file system multiple times as in the related art, which solves the problem of high time delay when performing read operations or write operations on the distributed file system in the related art, thereby improving the efficiency of reading or writing metadata.
[0244] Based on the above embodiments, the embodiments of the present application provide a distributed file system client, which can be applied to Figure 2 and 3 In the information processing method provided in the corresponding embodiment, refer to Figure 8 As shown, the server 7 may include: a second processor 71, a second memory 72, and a second communication bus 73, wherein:
[0245] The second communication bus 73 is used to realize the communication connection between the second processor 71 and the second memory 72;
[0246] The second processor 71 is used to execute the information processing program in the second memory 72 to implement the following steps:
[0247] Receiving, through a target interface of a client, an operation request for a distributed file system and target information corresponding to a target operation sent by a server; wherein the target information is information of interfaces involved in one or more target nodes when performing a target operation on the distributed file system, and is determined by the server based on the operation request;
[0248] If it is determined that the operation request can be processed, the target action corresponding to the target operation is performed based on the target information, and feedback information for the target operation is sent to the server.
[0249] In other embodiments of the present application, the second processor 71 is used to execute the information processing program in the second memory 72, and may also implement the following steps:
[0250] If it is determined that the operation request cannot be processed, a target aggregation request is generated based on the operation request and the target information;
[0251] Sending a target aggregation request to a target interface of a target server of a distributed file system through a target interface of a client, so that the target server responds to the target aggregation request and performs a target action; wherein the target node includes a client and a target server;
[0252] Receive feedback information sent by the target server for the target operation, and send the feedback information to the server.
[0253] It should be noted that the specific description of the steps performed by the second processor can be referred to Figure 2 and 3 The information processing method provided in the corresponding embodiment will not be described in detail here.
[0254] The client of the distributed file system provided in the embodiment of the present application can receive the operation request sent by the server and the target information of the interface of the target node involved in executing the target operation through the target interface. Afterwards, if the client determines that it can process the operation request, it executes the target operation based on the target information. If the client determines that it cannot process the operation request, it generates a target request based on the operation request, and then sends the target request and the target information to the target interface of the target server of the distributed file system through the target interface of the client, so that the target server executes the target operation. In this way, the distributed file system can execute the target operation after receiving one operation request from the server, instead of needing to receive multiple operation requests from the server before executing the target operation as in the related art, which solves the problem of high time delay when executing read operations or write operations on the distributed file system in the related art, thereby improving the efficiency of reading or writing metadata.
[0255] Based on the foregoing embodiments, the embodiments of the present application provide a computer-readable storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement Figures 1 to 3 The corresponding embodiments provide steps of the information processing method.
[0256] Based on the above embodiments, an embodiment of the present application provides a computer program product, the computer program product includes a computer program, the computer program is executed by a processor to achieve Figures 1 to 3 The corresponding embodiments provide steps of the information processing method.
[0257] It should be noted that the above-mentioned computer-readable storage medium can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory (Flash Memory), a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM) and other memories; it can also be various electronic devices including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.
[0258] It should be noted that, in this article, the terms "include", "comprises" or any other variations 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, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0259] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0260] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0261] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable information processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable information processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0262] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable information processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0263] These computer program instructions can also be loaded onto a computer or other programmable information processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
Claims
1. An information processing method, characterized in that: The method is applied to a server, and the method comprises: Receiving an operation request for a distributed file system sent by a user terminal; Based on the operation request, determine target information corresponding to the target operation on the distributed file system; wherein the target information is information about interfaces involved in one or more target nodes when performing the target operation on the distributed file system; The target information is sent to the client of the distributed file system through the target interface of the server, so that the target node responds to the operation request and executes the target action corresponding to the target operation.
2. The method according to claim 1, characterized in that The determining, based on the operation request, target information corresponding to the target operation on the distributed file system includes: Determine a target address based on the operation type of the target operation carried in the operation request and a target identifier corresponding to the target operation; wherein the target identifier is used to identify data obtained after executing the target operation on the target node; Acquire the target information from a target storage area based on the target address; Accordingly, the method further includes: Based on the operation type, the target interface is determined from a plurality of interfaces to be screened of the server.
3. The method according to claim 2, characterized in that The determining the target address based on the operation type of the target operation carried in the operation request and the target identifier corresponding to the target operation includes: Determine the target node from nodes of the distributed file system based on the operation type and the target identifier; Determine a first address of a first area storing identification information of an interface of the target node; Determine a second address of a second area storing a target parameter corresponding to the interface and an interface address of the interface; wherein the target parameter represents the authority information for the target node; and the target address includes the first address and the second address.
4. The method according to claim 3, wherein obtaining the target information from the target storage area based on the target address comprises: Based on the first address, acquiring the identification information from the first area; Based on the second address, the target parameter and the interface address are obtained from the second area; wherein the target storage area includes the first area and the second area; and the target information includes the identification information, the target parameter and the interface address.
5. The method according to claim 4, characterized in that The method further comprises: generating the identification information of the interface based on the attribute information of the interface, and storing the identification information in the first area; Encoding the interface parameters corresponding to the interface to obtain the target parameters, and storing the target parameters in the second area; The address of the interface is encoded to obtain the interface address, and the interface address is stored in the second area.
6. The method according to claim 1, characterized in that The sending the target information and the operation request to the client of the distributed file system through the target interface includes: Performing verification processing on the target information; If the target information is verified, sending the target information and the operation request to the client of the distributed file system through the target interface; Accordingly, the method further includes: If the target information verification fails, a verification result indicating that the target information verification fails is sent to the user terminal.
7. The method according to claim 1, characterized in that The method further comprises: receiving feedback information for the target operation sent by the target node, and sending the feedback information to the user end.
8. The method according to claim 7, characterized in that The method further comprises: If the target operation is a read operation, receiving aggregated data for the read operation sent by the target node; wherein the aggregated data is obtained after the target node aggregates multiple data involved in the read operation; Sending feedback information carrying the aggregated data to the user terminal.
9. An information processing method, characterized in that: The method is applied to a client of a distributed file system, and the method comprises: Receiving, through the target interface of the client, an operation request for the distributed file system and target information corresponding to the target operation sent by the server; wherein the target information is information of interfaces involved in one or more target nodes when performing the target operation on the distributed file system, and is determined by the server based on the operation request; If it is determined that the operation request can be processed, a target action corresponding to the target operation is performed based on the target information, and feedback information for the target operation is sent to the server.
10. The method according to claim 9, characterized in that The method further comprises: If it is determined that the operation request cannot be processed, generating a target aggregation request based on the operation request and the target information; Sending the target aggregation request to the target interface of the target server of the distributed file system through the target interface of the client, so that the target server responds to the target aggregation request and performs the target action; wherein the target node includes the client and the target server; Receive feedback information sent by the target server for the target operation, and send the feedback information to the server.
11. A first information processing device, characterized in that: The device comprises: A first receiving unit, configured to receive an operation request for a distributed file system sent by a user terminal; A determination unit, configured to determine target information corresponding to a target operation on the distributed file system based on the operation request; wherein the target information is information about interfaces involved in one or more target nodes when performing the target operation on the distributed file system; The first sending unit is used to send the target information to the client of the distributed file system through the target interface of the server, so as to respond to the operation request at the target node and execute the target action corresponding to the target operation.
12. A second information processing device, characterized in that: The device comprises: a second receiving unit, configured to receive, through a target interface of a client of the distributed file system, an operation request for the distributed file system and target information corresponding to the target operation, sent by the server; wherein the target information is information of interfaces involved in one or more target nodes when performing the target operation on the distributed file system, and is determined by the server based on the operation request; A processing unit is configured to, if it is determined that the operation request can be processed, execute a target action corresponding to the target operation based on the target information, and send a feedback result for the target operation to the server.
13. A server, characterized in that: The server comprises: a first processor, a first memory and a first communication bus; The first communication bus is used to realize the communication connection between the first processor and the first memory; The first processor is used to execute the information processing program in the first memory to implement the steps of the information processing method according to any one of claims 1 to 8.
14. A distributed file system client, characterized in that: The client comprises: a second processor, a second memory and a second communication bus; The second communication bus is used to realize the communication connection between the second processor and the second memory; The second processor is used to execute the information processing program in the second memory to implement the steps of the information processing method according to any one of claims 9 to 10.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the information processing method according to any one of claims 1 to 8 or 9 to 10.
16. A computer program product, comprising a computer program, characterized in that: When the computer program is executed by a processor, the computer program implements the information processing method according to any one of claims 1 to 8 or 9 to 10.