Obtaining method and system of target data, electronic device and storage medium
A technology of target data and acquisition method, which is applied in database indexing, electronic digital data processing, structured data retrieval, etc., can solve the problem of high number of jumps, and achieve better and more obvious results
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0062] See figure 1 , figure 1 It is a flow chart of a method for acquiring target data provided by an embodiment of the present application, which includes the following steps:
[0063] S1: Determine the coordinates of the starting node and the target node according to the target data acquisition request, and use the starting node as the current X node;
[0064] This step aims to determine the coordinates of the starting node and the coordinates of the target node according to the received target data acquisition request, wherein the target data is stored in the target node.
[0065] Different from the conventional DHT algorithm, it is also necessary to pre-express each storage node as a distributed storage network in the form of coordinates in a preset coordinate system, which has a number of dimensions that can be set by itself (wherein, the number of dimensions A coordinate system with a dimension of 2 is usually called a Cartesian coordinate system, and a coordinate sys...
Embodiment 2
[0092] See figure 2 , figure 2 It is a flowchart of a method for expressing each node in coordinates of a preset dimension provided by the embodiment of this application. This embodiment provides a coordinate representation method of nodes, which can make each node more evenly Higher and more random methods are distributed in the coordinate system of the preset number of dimensions, making the results better, including the following steps:
[0093] S021: Obtain the identification information of each node, and calculate the hash value of each identification information respectively;
[0094] Among them, the identification information of the node can be understood as the identity information of the node, which is the information that each node can obtain when accessing the distributed storage network. Part or more parts, so that the identification information calculated based on more types of identification has a lower collision probability and better randomness.
[0095] S...
Embodiment 3
[0102] See image 3 , image 3 A structural block diagram of a target data acquisition system provided in the embodiment of the present application, the system may include:
[0103] The start and target node coordinate determining unit 100 is used to determine the coordinates of the start node and the target node according to the target data acquisition request, and use the start node as the current X node;
[0104] The current replacement node determination unit 200 is used to select any unselected target dimension coordinates from the dimension coordinates of the target node, and use the target dimension coordinates to replace the coordinates of the same dimension in the current X node to obtain the current replacement node. node;
[0105] The current intermediate node determination unit 300 is configured to determine the first neighbor node of the current node X according to the first distance algorithm, and determine the second neighbor node of the current replacement no...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


