Method and system for searching computer files

A technology for indexing files and files, applied in the field of computer file search, can solve the problems of long time and efficiency of searching files

Active Publication Date: 2011-06-01
SHENZHEN LAN YOU TECH
View PDF6 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a method and syst

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
  • Method and system for searching computer files
  • Method and system for searching computer files
  • Method and system for searching computer files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0063] 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.

[0064] like figure 1 As shown, the method for searching computer files in a preferred embodiment of the present invention is mainly applied to finding all files from a computer or storage space or files containing a required character string in a file name in a certain search directory, specifically including steps:

[0065] S1. Obtain a search string; the file searcher inputs an arbitrary search string, selects a certain search range, and starts searching for files;

[0066] S2, judging whether the length of the search string is greater than 1;

[0067] S3. When the length of the search string i...

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 discloses a method and system for searching computer files. The method for searching the computer files comprises the following steps of: acquiring a search character string, determining whether the length of the search character string is more than 1, if so, splitting the search character string into single characters, and respectively acquiring a first file set in which the file name contains each character according to a memory-based index generated by pre-generated index files; screening the first file set according to the index files to acquire a second file set in which the file name contains all the characters in the search character string; and screening the second file set according to the index files to acquire a final search result file in which the file name contains all the characters. The method and the system for searching the computer files, which are disclosed by the invention, have the advantages of short search time and high search efficiency because files the file name of which contains the search character string from a search directory are found out according to the memory-based index generated by the pre-generated index files without comparing each file name and the search character string.

Description

technical field [0001] The invention relates to the field of computer file search, in particular to a method and system for searching computer files capable of realizing fast search. Background technique [0002] When using a computer, it is often necessary to search for files. General file management tools have a file search function. Select a search directory and the string to be searched to search all the files or directories containing the search string in the search directory. If the search directory contains When there are many files, the search speed will become very slow. [0003] Existing file search schemes generally select a file directory in the computer, traverse all files and directories under the file directory, compare whether the file or directory contains the string to be searched, and return all files and directories containing the search string . Generally, it is implemented by comparing the file name and the search string. If the selected search direct...

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
IPC IPC(8): G06F17/30
Inventor 马冬
Owner SHENZHEN LAN YOU TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products