Construction method and application of distributed learning index model
A construction method and distributed technology, applied in the field of computer distributed storage, can solve the problem of high CPU overhead of storage nodes, and achieve the effect of reducing CPU overhead
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] A method for constructing a distributed learning index model, such as figure 1 shown, including:
[0048] For each storage node, after sorting the stored data according to the size of the key value key, the key value key of the stored data is used as the input, and the corresponding sorting position is used as the output, and the machine learning model is trained to obtain the key value of each storage node Learn the index model and synchronize it to all computing nodes; the data in this embodiment includes a key value key and a pointer pointing to a value value;
[0049] The learning index model includes multiple independent index sub-models; the data stored in the storage node is divided into multiple data intervals according to the key value key, each index sub-model is used to index the data in a data interval, and each The data intervals covered by the index sub-models do not overlap each other; each index sub-model is trained by the data in the corresponding data...
Embodiment 2
[0058] An insertion method of a learning index model constructed based on the construction method of a distributed learning index model provided in Embodiment 1, such as figure 2 shown, including the following steps:
[0059] S11. The calculation node calculates the sorting position of the data to be inserted by using the learning index model on it;
[0060] Specifically, determine the corresponding index sub-model in the learning index model according to the key value key of the data to be inserted, and input the key value key of the data to be inserted into the index sub-model to obtain the sorting position of the data to be inserted;
[0061] S12. Based on the address conversion table on the computing node (the address conversion table corresponding to the index sub-model corresponding to the data interval where the data to be inserted) converts the obtained sorting position into the physical position of the corresponding array, the computing node passes the unilateral Th...
Embodiment 3
[0088] A method for querying a learning index model constructed based on the method for constructing a distributed learning index model provided in Embodiment 1, comprising the following steps:
[0089] S21. The calculation node uses the learning index model on it to calculate the sorting position of the data to be queried;
[0090] Specifically, determine the corresponding index sub-model in the learning index model according to the key value key of the data to be queried, and input the key value key of the data to be queried into the index sub-model to obtain the sorting position of the data to be queried;
[0091] S22. Based on the address conversion table on the computing node (the address conversion table corresponding to the index sub-model corresponding to the data interval where the data to be queried) converts the obtained sorting position into the physical position of the corresponding array, the computing node passes the unilateral The RDMA operation reads the corre...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com