AVL tree-based data writing method and apparatus
A technology of data writing and AVL tree, which is applied in the computer field, can solve the problems of high performance overhead and achieve the effect of improving performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment approach
[0075] As a specific implementation manner, the above-mentioned judging module 300 may also include:
[0076] The positioning unit is used to determine the search path according to the size of the node value written in the data of the current concurrent write operation and the characteristics of the AVL tree, and locate the position of the second node actually written;
[0077] A calculation unit, configured to calculate the balance factor of the parent node of the second node, and recursively calculate the balance factors of other nodes upwards until the first node whose balance factor value is 2 or -2 is calculated;
[0078] an opening unit, configured to open the lock state of the first node, and make corresponding adjustments according to the value of the balance factor;
[0079] A release unit, configured to release the lock state of the first node after the write operation is completed.
[0080] As a specific implementation manner, the above-mentioned opening unit can a...
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