Distributed data access method and system

By querying the unique identification of target data in the record database and determining the storage node, the problem of waste of resources and high operation and maintenance costs of distributed file storage systems is solved, efficient data access is achieved, the system architecture is simplified, and the operation and maintenance is reduced. cost.

CN114327295BActive Publication Date: 2024-11-05WUXI CHINAC DATA TECH SERVICE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111670839.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2024-11-05
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

The existing distributed file storage system is prone to waste resources in projects with small resources, high operation and maintenance costs, and hash configuration is required when nodes are scaled, which reduces data access efficiency.

Method used

By querying the unique identification of the target data in the recording database, determining the storage node, and starting the data acquisition thread to communicate with the service node when necessary, generating a data transmission channel, realizing data access, reducing dependence on the third-party management system. Simplifies the architecture and improves node utilization.

Benefits of technology

It reduces resource architecture, saves resources, reduces operation and maintenance costs, improves the efficiency of distributed data access, simplifies the data access process, and is suitable for small-scale distributed storage systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114327295B_ABST
    Figure CN114327295B_ABST
Patent Text Reader

Abstract

The present invention provides a distributed data access method and system, the method comprising: when receiving a data request command for target data, detecting whether there is a unique identifier of the target data in the record database; if so, determining the first target service node storing the target data based on the mapping relationship between the unique identifier stored in the record database and the identification information of the service node, and feeding back the identification information of the first target service node to the current service node; after the current service node receives the identification information of the first target service node, it sends a data request command to the first target service node to request the target data. This solution effectively reduces the resource architecture and saves resources. It reduces operation and maintenance costs and improves the efficiency of distributed data access.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a distributed data access method and system. Background Art

[0002] Distributed storage is a data storage technology that uses the disk space on each machine in the enterprise through the network and forms these dispersed storage resources into a virtual storage device. Data is stored in various corners of the enterprise.

[0003] The inventors have found that the distributed file storage systems in the prior art, such as GlusterFS, HDFS, Ceph, etc., or when using object storage to store data, have the following problems:

[0004] For some projects with small storage resources, their system architecture is relatively large, which easily leads to waste of resources, and also consumes a lot of resources during operation and maintenance;

[0005] In the prior art, the distributed access solution usually forwards the request to the same node through a hash algorithm. If the node needs to be scaled up, the hash configuration needs to be re-configured, which increases the operation and maintenance cost and reduces the efficiency of distributed data access.

[0006] High-availability clusters use a master-slave storage method, which results in insufficient node utilization. Summary of the invention

[0007] In view of this, in order to solve the above problems, the present invention provides a distributed data access method and system.

[0008] In a first aspect, an embodiment of the present invention provides a distributed data access method, which is applied to a distributed service node. The method comprises the following steps:

[0009] When receiving a data request command for target data, detecting whether a unique identifier of the target data exists in a record database;

[0010] If so, determining the first target service node storing the target data based on the mapping relationship between the unique identifier stored in the record database and the identification information of the service node, and feeding back the identification information of the first target service node to the current service node;

[0011] After receiving the identification information of the first target service node, the current service node sends a data request command to the first target service node to request target data.

[0012] In one embodiment, after receiving the identification information of the first target service node, the current service node sends a data request command to the first target service node to request target data, including:

[0013] If the identification information of the first target service node is the same as the identification information of the current service node, reading the target data from the local storage of the current service node;

[0014] If the identification information of the first target service node is different from the identification information of the current service node, a data acquisition thread is started and communication is performed with the first target service node. After receiving a feedback command from the first target service node, a data transmission channel is generated to obtain the target data.

[0015] In one embodiment, if the identification information of the first target service node is different from the identification information of the current service node, but the target data cannot be obtained from the first target service node, the method further includes:

[0016] Send a target data request command to the corresponding resource source station;

[0017] After the target data fed back by the resource source station reaches the balancer, the balancer determines the second target service node corresponding to the target data stored this time based on the data storage status of each service node;

[0018] If the equalizer determines that the second target service node is the current service node, the target data is sent to the current service node;

[0019] If the equalizer determines that the second target service node is not the current service node, the target data is sent to the second target service node, and the identification information of the second target service node is sent to the current service node;

[0020] After receiving the target data, the second target service node stores the mapping relationship between the unique identifier corresponding to the target data and the identification information of the second target service node in the record database.

[0021] In one embodiment, the method further comprises:

[0022] If it does not exist, the current service node sends a target data request command to the corresponding resource source station after receiving the feedback information of "target data does not exist" from the record database;

[0023] After the target data fed back by the resource source station reaches the balancer, the balancer determines the third target service node corresponding to the target data stored this time based on the data storage status of each service node;

[0024] If the third target service node is the current service node, the balancer sends the target data to the current service node;

[0025] If the third target service node is not the current service node, the target data is sent to the third target service node, and the identification information of the third target service node is sent to the current service node.

[0026] In one embodiment, the method further comprises:

[0027] After receiving the identification information of the third target service node, the current service node starts a data acquisition thread and communicates with the third target service node. After receiving a feedback command from the third target service node, the current service node generates a data transmission channel to acquire the target data.

[0028] In one embodiment, the method further comprises:

[0029] After receiving the target data, the third target service node updates the mapping relationship between the identification information of the third target service node and the unique identifier of the target data to the record database.

[0030] In a second aspect, an embodiment of the present invention further provides a distributed data access system, comprising:

[0031] The current service node receives a data request command for target data and sends the target data request command to a record database;

[0032] A record database, configured to detect whether a unique identifier of the target data exists in the record database when a data request command for the target data is received; and

[0033] If there is a unique identifier of the target data, determining a first target service node storing the target data based on a mapping relationship between the unique identifier stored in the record database and the identification information of the service node, and feeding back the identification information of the first target service node to the current service node;

[0034] The current service node is further configured to send a data request command to the first target service node to request target data after receiving the identification information of the first target service node;

[0035] The first target service node stores target data.

[0036] In one embodiment, the distributed data access system further includes:

[0037] The resource source station is used to receive the target data request command sent by the current service node after receiving the feedback information of "target data does not exist" fed back by the record database, and transmit the target data corresponding to the target data request command to the equalizer;

[0038] The balancer receives the target data sent by the resource source station, and determines the third target service node corresponding to the target data stored this time based on the data storage status of each service node;

[0039] The equalizer is further used for:

[0040] If the third target service node is the current service node, sending the target data to the current service node;

[0041] If the third target service node is not the current service node, the target data is sent to the third target service node, and the identification information of the third target service node is sent to the current service node.

[0042] In a third aspect, a distributed data access device is provided according to an embodiment of the present invention, comprising: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor implements the distributed data access method described in any one of the first aspects by executing the computer instructions.

[0043] In a fourth aspect, a non-transitory computer-readable storage medium is provided according to an embodiment of the present invention, wherein the non-transitory computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the distributed data access method described in any one of the first aspects is implemented.

[0044] The distributed data access method and system provided by the embodiments of the present invention have at least the following beneficial effects:

[0045] The distributed data access method and system provided by the embodiment of the present invention determines the node where the corresponding target data is located by querying the data storage record, and accesses the data. Distributed data access can be performed without using a third-party management system, reducing the resource architecture and saving resources. It is suitable for distributed storage systems with smaller project requirements. Each service node can request to access data, and there is no need to forward data access requests through a unique node after verification, which simplifies the architecture of the distributed storage system, simplifies the data access process, and improves data access efficiency. Improve the utilization rate of each service node. When the node needs to be scalable, no hash configuration is required. Reduce operation and maintenance costs and improve the efficiency of distributed access to data. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0047] Figure 1 A flow chart of a distributed data access method provided by an embodiment of the present invention;

[0048] Figure 2 A flow chart of another distributed data access method provided by an embodiment of the present invention;

[0049] Figure 3 A flow chart of another distributed data access method provided by an embodiment of the present invention;

[0050] Figure 4 A flow chart of another distributed data access method provided by an embodiment of the present invention;

[0051] Figure 5 A block diagram of a distributed data access device provided by an embodiment of the present invention;

[0052] Figure 6 A schematic diagram of the structure of a distributed data access device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0053] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0054] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0055] Although the processes described below include multiple operations that appear in a specific order, it should be clearly understood that these processes may also include more or fewer operations, and these operations may be performed sequentially or in parallel.

[0056] Example 1

[0057] Figure 1 A flowchart of a distributed data access method provided by an embodiment of the present invention, see Figure 1As shown, an embodiment of the present invention provides a distributed data access method, which is applied to a distributed service node. The method includes the following steps:

[0058] Step S101: when a data request command for target data is received, detecting whether a unique identifier of the target data exists in a record database;

[0059] Step S102: If it exists, determine the first target service node storing the target data based on the mapping relationship between the unique identifier stored in the record database and the identification information of the service node, and feed back the identification information of the first target service node to the current service node;

[0060] Step S103: After receiving the identification information of the first target service node, the current service node sends a data request command to the first target service node to request target data.

[0061] In the above implementation, specifically, there will be some business scenarios of file storage and file reading in web applications or software. If it is a single service node, the service node can directly read the files stored locally. However, if it is a scenario of multiple service nodes, when the current service node receives a data request command for the target data, it detects whether there is a unique identifier of the target data in the record database, that is, it determines whether there is the target data in the distributed storage pool. If not, the data should be obtained from the corresponding resource source station. If it exists, the corresponding target data can be obtained from the corresponding node in the distributed storage pool. Specifically, it is detected whether there is a unique identifier of the target data in the record database. If there is a unique identifier of the target data in the record database, it means that the data exists in the distributed storage pool. Then, the first target service node storing the target data is determined based on the mapping relationship between the unique identifier stored in the record database and the identification information of the service node. After determining the corresponding first target service node, a data request command is sent to the first target service node to request the target data. When the distributed storage system deploys the corresponding service node, the ip information of all service nodes is stored in the configuration file. When the current service node is started, the configuration file is read so that the current service node and the corresponding first target node can establish a connection. When each node receives the data to be stored, it will store the received data locally, and after storage, store the mapping relationship between the unique identifier of the stored data and the identifier of the corresponding node in the record data record. In other words, each node stores the unique identifier of the stored data in conjunction with the identification information of the node in the record data record, so as to query the unique identifier of the stored data and obtain the IP of the corresponding stored node. Then, the corresponding data is obtained according to the corresponding IP. In the above embodiment, the node where the corresponding target data is located is determined by querying the data storage record, and the data is accessed. Distributed data access can be performed without using a third-party management system, reducing resource architecture and saving resources. Each service node can request to access data, and it is not necessary to forward data access requests through a unique node after verification, simplifying the architecture of the distributed storage system, simplifying the data access process, and improving data access efficiency. Improve the utilization rate of each service node. When the node needs to be scalable, no hash configuration is required. Reduces operation and maintenance costs and improves the efficiency of distributed access to data.

[0062] See also Figure 2 As shown, in one embodiment, after receiving the identification information of the first target service node, the current service node sends a data request command to the first target service node to request target data, including:

[0063] Step S1031: If the identification information of the first target service node is the same as the identification information of the current service node, read the target data from the local storage of the current service node;

[0064] Step S1032: If the identification information of the first target service node is different from the identification information of the current service node, start the data acquisition thread and communicate with the first target service node. After receiving the feedback command from the first target service node, generate a data transmission channel to obtain the target data.

[0065] In the above implementation, if the identification information of the first target service node is different from the identification information of the current service node, the data acquisition thread is started and communicated with the first target service node. After receiving the feedback command from the first target server node, a data transmission channel is generated to obtain the target data. Improve the data interaction of another thread. After receiving the feedback command from the first target server node, the data is received in the generated data transmission channel. By starting another thread and building another channel to read data, there is no interference with other threads of the current service node. By obtaining data through a professional channel after obtaining feedback information, the data access efficiency is improved, thereby further improving the efficiency of distributed data access. Improve the performance of the distributed data access system.

[0066] See also Figure 3 As shown, in one embodiment, if the identification information of the first target service node is different from the identification information of the current service node, but the target data cannot be obtained from the first target service node, the method further includes:

[0067] Step S104: Send a target data request command to the corresponding resource source station;

[0068] Step S105: After the target data fed back by the resource source station reaches the balancer, the balancer determines the second target service node corresponding to the target data stored this time based on the data storage status of each service node;

[0069] Step S106: If the equalizer determines that the second target service node is the current service node, the target data is sent to the current service node;

[0070] Step S107: If the equalizer determines that the second target service node is not the current service node, the target data is sent to the second target service node, and the identification information of the second target service node is sent to the current service node;

[0071] Step S108: After receiving the target data, the second target service node stores a mapping relationship between the unique identifier corresponding to the target data and the identification information of the second target service node in a record database.

[0072] In the above implementation, specifically, if the first target service node does not respond, or the channel established between the current service node and the first target service node is damaged, resulting in the current service node being unable to obtain the target data from the first target service node, then the corresponding data is obtained from the resource source station. Specifically, through balanced transition, resources are stored in the corresponding service nodes with relatively low loads, thereby improving the utilization efficiency of each resource node, ensuring that each service is fully utilized, reducing resource waste, and evenly utilizing each storage node, reducing the frequency of operation and maintenance, and saving operation and maintenance costs. This further improves the efficiency of distributed data access. Furthermore, when a service node is down or the connection is inaccessible, the efficiency of distributed access to data is increased, thereby improving disaster recovery efficiency.

[0073] See also Figure 4 As shown, in one embodiment, the method further includes:

[0074] Step S109: When the record database detects that the first target service node is turned on, the mapping relationship between the unique identifier corresponding to the target data and the identification information of the first target node is deleted, and a deletion command is sent to the first target service node to enable the first target service node to delete the stored target data.

[0075] In the above implementation, specifically, when there are multiple copies of the same data in the current storage pool, sufficient data can be selectively deleted to reduce resource usage and further improve the efficiency of distributed access to data.

[0076] In one embodiment, the method further comprises:

[0077] If it does not exist, the current service node sends a target data request command to the corresponding resource source station after receiving the feedback information of "target data does not exist" from the record database;

[0078] After the target data fed back by the resource source station reaches the balancer, the balancer determines the third target service node corresponding to the target data stored this time based on the data storage status of each service node;

[0079] If the third target service node is the current service node, the balancer sends the target data to the current service node;

[0080] If the third target service node is not the current service node, the target data is sent to the third target service node, and the identification information of the third target service node is sent to the current service node.

[0081] In one embodiment, the method further comprises:

[0082] After receiving the identification information of the third target service node, the current service node starts a data acquisition thread and communicates with the third target service node. After receiving a feedback command from the third target service node, the current service node generates a data transmission channel to acquire the target data.

[0083] In one embodiment, the method further comprises:

[0084] After receiving the target data, the third target service node updates the mapping relationship between the identification information of the third target service node and the unique identifier of the target data to the record database.

[0085] In the above implementation, specifically, when detecting the data in the record database and determining that the unique identifier of the target data does not exist, the current node needs to obtain resources from the source station. The process is consistent with the principle when the target data cannot be obtained from the first target service, and will not be repeated here.

[0086] Example 2

[0087] Figure 5 This is a structural diagram of a distributed data access system provided by an embodiment of the present invention. This embodiment is described by applying the device to the distributed data access method described in the method embodiment. The distributed data access system includes:

[0088] The current service node 511 receives a data request command for target data and sends the target data request command to the record database;

[0089] The record database 520 is used to detect whether there is a unique identifier of the target data in the record database when receiving a data request command for the target data; and

[0090] If there is a unique identifier of the target data, determining a first target service node storing the target data based on a mapping relationship between the unique identifier stored in the record database and the identification information of the service node, and feeding back the identification information of the first target service node to the current service node;

[0091] The current service node is further configured to send a data request command to the first target service node to request target data after receiving the identification information of the first target service node;

[0092] The first target service node 512 stores target data.

[0093] See also Figure 5 As shown, in one embodiment, the distributed data access system further includes:

[0094] The resource source station 530 is used to receive the target data request command sent by the current service node after receiving the feedback information of "target data does not exist" fed back by the record database, and transmit the target data corresponding to the target data request command to the equalizer;

[0095] The equalizer 540 receives the target data sent by the resource source station, and determines the third target service node corresponding to the target data stored this time based on the data storage status of each service node;

[0096] The equalizer is further used for:

[0097] If the third target service node is the current service node, sending the target data to the current service node;

[0098] If the third target service node is not the current service node, the target data is sent to the third target service node, and the identification information of the third target service node is sent to the current service node.

[0099] The distributed data access system provided in the embodiment of the present application can be used for the method performed in the above embodiment 1. For relevant details, refer to the above method embodiment. The implementation principle and technical effects are similar and will not be repeated here.

[0100] Example 3

[0101] The embodiment of the present invention provides a distributed data access device, such as Figure 6 As shown, the electronic device includes a processor 601 and a memory 602, wherein the processor 601 and the memory 602 may be connected via a bus or other means, and the figure takes the connection via a bus as an example.

[0102] Processor 601 can be a central processing unit (CPU) or other general-purpose processors, digital signal processors (DSP), graphics processors (GPU), embedded neural network processors (NPU) or other dedicated deep learning coprocessors, application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components and other chips, or a combination of the above chips.

[0103] The memory 602 is a non-transitory computer-readable storage medium that can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as program instructions / modules corresponding to the distributed data access method in the embodiment of the present invention. The processor 601 executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory 602, that is, the distributed data access method in the above method embodiment 1 is implemented.

[0104] The memory 602 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required by at least one function; the data storage area may store data created by the processor 601, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 602 may optionally include a memory remotely arranged relative to the processor 601, and these remote memories may be connected to the processor 601 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0105] The one or more modules are stored in the memory 602, and when executed by the processor 601, the following is performed: Figure 1 The distributed data access method is shown.

[0106] The embodiment of the present invention also provides a non-transitory computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions can execute the distributed data access method in any of the above method embodiments. Among them, the non-transitory computer-readable storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (Flash Memory), a hard disk (HDD) or a solid-state drive (SSD), etc.; the non-transitory computer-readable storage medium can also include a combination of the above-mentioned types of memory.

[0107] Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, devices or non-transitory computer-readable storage media, which may involve or include computer program products.

[0108] Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0109] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0110] Obviously, the above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, other different forms of changes or modifications can be made on the basis of the above description without departing from the concept of the present application. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the protection scope of the invention. Therefore, the protection scope of the patent of this application shall be based on the attached claims.

Claims

1. A distributed data access method, applied to distributed service nodes, characterized in that: The method comprises: When receiving a data request command for target data, detecting whether a unique identifier of the target data exists in a record database; If so, determining the first target service node storing the target data based on the mapping relationship between the unique identifier stored in the record database and the identification information of the service node, and feeding back the identification information of the first target service node to the current service node; After receiving the identification information of the first target service node, the current service node sends a data request command to the first target service node to request the target data: wherein, if the identification information of the first target service node is the same as the identification information of the current service node, the target data is read from the local storage of the current service node; If the identification information of the first target service node is different from the identification information of the current service node, a data acquisition thread is started and communication is performed with the first target service node. After receiving a feedback command from the first target service node, a data transmission channel is generated to obtain the target data. If the target data cannot be obtained from the first target service node, a target data request command is sent to the corresponding resource source station. After the target data fed back by the resource source station reaches the balancer, the balancer determines the second target service node corresponding to the target data stored this time based on the data storage status of each service node; If the equalizer determines that the second target service node is the current service node, the target data is sent to the current service node; If the equalizer determines that the second target service node is not the current service node, the target data is sent to the second target service node, and the identification information of the second target service node is sent to the current service node; After receiving the target data, the second target service node stores the mapping relationship between the unique identifier corresponding to the target data and the identification information of the second target service node in the record database.

2. The distributed data access method according to claim 1, characterized in that: The method further comprises: If it does not exist, the current service node sends a target data request command to the corresponding resource source station after receiving the feedback information of "target data does not exist" from the record database; After the target data fed back by the resource source station reaches the balancer, the balancer determines the third target service node corresponding to the target data stored this time based on the data storage status of each service node; If the third target service node is the current service node, the balancer sends the target data to the current service node; If the third target service node is not the current service node, the target data is sent to the third target service node, and the identification information of the third target service node is sent to the current service node.

3. The distributed data access method according to claim 2, characterized in that: The method further comprises: After receiving the identification information of the third target service node, the current service node starts a data acquisition thread and communicates with the third target service node. After receiving a feedback command from the third target service node, the current service node generates a data transmission channel to acquire the target data.

4. The distributed data access method according to claim 3, characterized in that: The method further comprises: After receiving the target data, the third target service node updates the mapping relationship between the identification information of the third target service node and the unique identifier of the target data to the record database.

5. A distributed data access system, characterized in that: include: The current service node receives a data request command for target data and sends the target data request command to a record database; A record database, used for detecting whether a unique identifier of the target data exists in the record database when a data request command for the target data is received; as well as If there is a unique identifier of the target data, determining a first target service node storing the target data based on a mapping relationship between the unique identifier stored in the record database and the identification information of the service node, and feeding back the identification information of the first target service node to the current service node; The current service node is further configured to send a data request command to the first target service node to request target data after receiving the identification information of the first target service node; After receiving the identification information of the first target service node, the current service node sends a data request command to the first target service node to request the target data, including: if the identification information of the first target service node is the same as the identification information of the current service node, reading the target data from the local storage of the current service node; if the identification information of the first target service node is different from the identification information of the current service node, starting a data acquisition thread and communicating with the first target service node, and after receiving the feedback command of the first target service node, generating a data transmission channel to obtain the target data; If the identification information of the first target service node is different from the identification information of the current service node, but the target data cannot be obtained from the first target service node, a target data request command is sent to the corresponding resource source station; after the target data fed back by the resource source station reaches the equalizer, the equalizer determines the second target service node corresponding to the target data stored this time based on the data storage situation of each service node; if the equalizer determines that the second target service node is the current service node, the target data is sent to the current service node; if the equalizer determines that the second target service node is not the current service node, the target data is sent to the second target service node, and the identification information of the second target service node is sent to the current service node; after receiving the target data, the second target service node stores the mapping relationship between the unique identifier corresponding to the target data and the identification information of the second target service node in the record database; The first target service node stores target data.

6. The distributed data access system according to claim 5, characterized in that: Also includes: The resource source station is used to receive the target data request command sent by the current service node after receiving the feedback information of "target data does not exist" fed back by the record database, and transmit the target data corresponding to the target data request command to the equalizer; The balancer receives the target data sent by the resource source station, and determines the third target service node corresponding to the target data stored this time based on the data storage status of each service node; The equalizer is further used for: If the third target service node is the current service node, sending the target data to the current service node; If the third target service node is not the current service node, the target data is sent to the third target service node, and the identification information of the third target service node is sent to the current service node.

7. A distributed data access device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the distributed data access method according to any one of claims 1 to 4 by executing the computer instructions.

8. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the distributed data access method according to any one of claims 1 to 4 is implemented.