Directory service data retrieval method and directory service data retrieval system
A directory service and data retrieval technology, which is applied in the field of directory services, can solve problems such as reduced retrieval performance, and achieve the effects of improving operating performance, efficiency, and speeding up retrieval
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0049] Example one
[0050] reference figure 1 Shown is a flowchart of a directory service data retrieval method provided by the present invention, the method is used in a directory server, the directory server is provided with an embedded database, the embedded database is a binary balanced tree structure , The method includes:
[0051] Step 101: Obtain directory service data, encapsulate the directory service data as a data node, and the data node includes key values of the directory service data, and insert the data node into the binary balanced tree structure of the embedded database as One tree node of the binary balanced tree is stored.
[0052] Wherein, in the binary balanced tree structure, the tree node has its parent node in addition to the root node, and its parent node includes at most one child node in addition to the tree node, which is each tree in the binary balanced tree structure A node is a data node stored as a tree node and a balance factor is set to represen...
Example Embodiment
[0063] Example two
[0064] reference image 3 As shown, the second embodiment of a directory service data retrieval method provided by an embodiment of the present invention is used for a directory server, the directory server is provided with an embedded database, and the database is a binary balanced tree structure based on the present invention Step 101-Step 103 of the directory service data retrieval method provided in the first embodiment, in which step 103 searches for the corresponding data node in the binary balanced tree structure of the directory service embedded database according to the key matching value include:
[0065] Step 301: Extract the index value of the directory service data or set the index to match the filtering rule according to the key matching value of the directory service data to be queried.
[0066] The index value of the directory service may include the following types:
[0067] A certain fixed value related to the directory service data, such as the...
Example Embodiment
[0075] Example three
[0076] reference Figure 5 As shown, the flow chart of Embodiment 3 of a directory service data retrieval method provided by the present invention is used in a directory server. The directory server is provided with an embedded database. The database is a binary balanced tree structure. After retrieval, the directory service data that has been queried is stored as a directory service data cache object to form a set of directory service data cache objects. The directory service data cache object includes key values of the directory service data, based on the first embodiment of the present invention Step 101-Step 103 of the retrieval method, in which step 103 searches for the corresponding data node in the binary balanced tree structure of the directory service embedded database according to the key matching value, and obtains the data node The directory service data in includes:
[0077] Step 501: According to the key matching value of the directory servic...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap