Data index establishment method and device and index retrieval method and device
A technology for data indexing and establishment methods, applied in database indexing, structured data retrieval, database query, etc., can solve problems such as difficulty in achieving high efficiency and inapplicability of indexing methods, and achieve high-efficiency batch deletion, enrichment of data types, The effect of large amounts of data
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] refer to figure 1 , which is a flow chart of the method for establishing a data index provided in Embodiment 1 of the present application, including the following steps:
[0058] Step 101: extract the field value corresponding to the specified field in the data file to be processed.
[0059] Here, the data files to be processed may be raw data files collected from various business systems, such as user data information, log files, and the like. Moreover, there may be at least one data file to be processed.
[0060] In the specific implementation, since the format of the data files collected from each business system is not necessarily the same, in the embodiment of the present application, in order to adapt to data files of various formats, it is based on not affecting the original format of the data files Specifically, by analyzing the collected files to be processed, the field values corresponding to the specified fields in each data file are extracted. Among the...
Embodiment 2
[0081] refer to figure 2 , which is a flow chart of the index retrieval method provided in Embodiment 2 of the present application, including the following steps:
[0082] Step 201: Receive a retrieval request carrying retrieval conditions sent by a terminal.
[0083] Wherein, the retrieval request carries one of the following retrieval conditions: a field value corresponding to the specified field, a field value range corresponding to the specified field, and a prefix retrieval condition.
[0084] Step 202: Determine the index files satisfying the retrieval condition.
[0085] Wherein, the index file includes the index file of the association relationship between the field value corresponding to the specified field in the data file and the data file information, and the data file information is the data file name and / or the storage location of the data file.
[0086] Step 203: In the index files satisfying the retrieval condition, search for the field value satisfying the ...
Embodiment 3
[0102] like Figure 4 As shown, it is a structural diagram of the data index establishment device provided by Embodiment 3 of the present application, including:
[0103] Extraction module 41, for extracting the field value corresponding to the specified field in the data file to be processed;
[0104] The generation module 42 is used to generate an index file containing the association relationship between the field value corresponding to the specified field in the data file and the data file information, wherein the data file information is a data file name and / or a data file storage location .
[0105] Optionally, the generating module 42 is also used for:
[0106] After the extracting module extracts the field value corresponding to the specified field in the data file to be processed, for each data file, an ordered table containing the specified field in the data file and the field value corresponding to the specified field is generated;
[0107] The generating module ...
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