Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Document index building method and device, document retrieval method and device

An index establishment and document technology, which is applied in the field of data retrieval, can solve the problems that retrieval cannot be carried out synchronously, and achieve the effect of ensuring retrieval performance and improving efficiency

Active Publication Date: 2020-05-29
腾讯数码(深圳)有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide a method and device for establishing a document index, a method and a device for document retrieval in view of the fact that the establishment of the document index and the retrieval of the document cannot be carried out simultaneously and the problem of determining whether the document exists through the binary search affects the retrieval performance

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Document index building method and device, document retrieval method and device
  • Document index building method and device, document retrieval method and device
  • Document index building method and device, document retrieval method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0044] Such as figure 1 As shown, in one embodiment, an electronic device is provided, and the electronic device includes a processor, a memory, and a storage medium connected through a system bus. Wherein, the storage medium of the electronic equipment stores an operating system, a database, and also stores a document index building device and / or a document retrieval device. The document index building device is used to realize a document index building method, and the document retrieval device is used to realize a document retrieval method. The processor of the electronic device is used to prov...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a document index establishing method and device. The document index establishing method comprises the steps: segmenting words of document information of a document with a global document identifier, thereby obtaining words and relative word identifiers appearing in the document information; obtaining a self-established number as an internal document number corresponding to the global document identifier, automatically incrementing a preset step value to the self-established number and then saving the processed self-established number; changing a bit, corresponding to the internal document number, in a bit sequence data block corresponding to the word identifiers from an initial value to a preset value different from the initial value. According to the document index establishing method and device, which are provided by the invention, a document index is represented by utilizing the bit sequence data block, and through a bit operation, the existence of one word to index a certain document can be quickly judged according to the value of a bit, thereby improving the retrieval performance. The invention further provides a document retrieving method and device.

Description

technical field [0001] The invention relates to the technical field of data retrieval, in particular to a method and device for establishing a document index, and a method and device for document retrieval. Background technique [0002] When retrieving documents, it is usually necessary to determine whether a certain document exists. At this time, binary search is usually used to determine. Among them, the process of binary search is assuming that the elements in the table are arranged in ascending order, compare the keywords recorded in the middle position of the table with the search keywords, if the two are equal, the search is successful; otherwise, the table is divided into front, For the latter two sub-tables, if the key recorded in the middle position is greater than the search key, the previous sub-table is further searched, otherwise, the latter sub-table is further searched. Repeat the above process until a record meeting the condition is found, and it is determin...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/31G06F16/33
Inventor 施腾飞
Owner 腾讯数码(深圳)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products