CN101446975B - File location method and device - Google Patents

File location method and device Download PDF

Info

Publication number
CN101446975B
CN101446975B CN2008102415174A CN200810241517A CN101446975B CN 101446975 B CN101446975 B CN 101446975B CN 2008102415174 A CN2008102415174 A CN 2008102415174A CN 200810241517 A CN200810241517 A CN 200810241517A CN 101446975 B CN101446975 B CN 101446975B
Authority
CN
China
Prior art keywords
chinese character
searching
information
file
filename
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2008102415174A
Other languages
Chinese (zh)
Other versions
CN101446975A (en
Inventor
陈建平
娄毅
胡敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN2008102415174A priority Critical patent/CN101446975B/en
Publication of CN101446975A publication Critical patent/CN101446975A/en
Application granted granted Critical
Publication of CN101446975B publication Critical patent/CN101446975B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention is suitable for the technical field of mobile terminals, and provides a file location method, a device and a mobile terminal. The method comprises the following steps: receiving search information, which includes letters, inputted by a user; sequentially matching a Chinese character corresponding to the search information in a preset corresponding table between Chinese characters and the initial letter of Chinese pinyin according to the search information; and locating and displaying the file with the file name including the matched Chinese character corresponding to the search information in the search range. The embodiment of the invention can rapidly locate the desired file with the file name including the Chinese character, thereby providing great convenience for users and developing the functions of the mobile terminal.

Description

A kind of file location method, device
Technical field
The invention belongs to technical field of mobile terminals, relate in particular to a kind of file location method, device.
Background technology
Continuous development along with the portable terminal technology, the user is also more and more higher to the requirement of portable terminal, especially when lot of data is inquired about, the file how fast needs to be searched positions, especially the file that includes Chinese character in the filename is located quickly and accurately, become the user one of requirement of portable terminal technology.
In the existing technology, can position by keyboard, that is, utilize keyboard to import fast, cursor can navigate to the file or the folder location of the several key letters that meet input.For example: the file of file cjp.txt by name is arranged in a file, as long as quick button c and j and p just can find the file of filename with the cjp beginning fast, but this mode is only supported English location.
When the file that comprises Chinese character in to filename positions, generally all be in the specified edits frame, to import key word, click search key then and position.But, make when positioning in this way, earlier at assigned address input key word, and then click search button and search for, use more loaded down with trivial detailsly, and the hunting zone of its minimum is under the file path, need expend search time how unnecessary.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of file location method, when being intended to solve the file that in to filename, comprises Chinese character in the prior art and positioning, need the input key word search for the problem that the process of bringing the location is loaded down with trivial details, lose time.
The embodiment of the invention is achieved in that a kind of file location method, said method comprising the steps of:
Receive the information of searching of user's input, wherein, the described information of searching is letter;
Obtain the Chinese character in each filename in the current search scope;
From the mapping table of default Chinese character and this first phonetic letter, obtain described Chinese character phonetic initial letters;
The described initial of obtaining is mated with the information of searching of current input successively;
Comprise the described file and the demonstration of searching the corresponding Chinese character of information that match and described in the filename in the fixed-position searching scope.
Another purpose of the embodiment of the invention is to provide a kind of document alignment device, and described device comprises:
Search information receiving module, be used to receive the information of searching of user's input, wherein, the described information of searching is letter;
The Chinese character acquisition module is used for obtaining the Chinese character of each filename in the current search scope;
The initial acquisition module is used for obtaining described Chinese character phonetic initial letters from the default Chinese character and the mapping table of this first phonetic letter;
The letter matching module is used for the described initial of obtaining is mated with the information of searching of current input successively;
The file display module, the filename that is used in the fixed-position searching scope comprises the described file and the demonstration of searching the corresponding Chinese character of information that match successively and described.
The search information of the embodiment of the invention by importing with alphabetical form according to the user, come filename character string or Chinese character phonetic initial letters in the match search scope, and with the file demonstration that matches, the present invention supports the Chinese location, can navigate to the user fast and need locating file, greatly convenient for users to use, expanded the function of portable terminal.
Description of drawings
Fig. 1 is the process flow diagram of the file location method that provides of the embodiment of the invention;
Fig. 2 is the structural representation of the document alignment device that provides of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The embodiment of the invention is come filename character string or Chinese character phonetic initial letters in the match search scope by according to the information of searching of user with the alphabetical form input, and the file that matches is shown.
Fig. 1 shows the flow process of the file location method that the embodiment of the invention provides, and details are as follows.
In step S101, the Chinese character in the filename in the memory search scope and the mapping table of this first phonetic letter.
For example, a plurality of files are arranged under the catalogue of userdata/movies, Chinese character phonetic initial letters in the filename of these files are kept in the index field of relation structure:
Struct?relation
{Char?index[8];
Char?FileName[256];
}。
In step S102, receive the information of searching of user's input.
Wherein, the information of searching of user's input is letter.
In step S103, in the mapping table of default Chinese character and this first phonetic letter, match successively and the described corresponding Chinese character of information of searching according to the described information of searching.
This step detailed process can be:
At first obtain the Chinese character in each filename in the current search scope, afterwards, obtain each Chinese character phonetic initial letters in the described file successively, last, the described initial of obtaining is mated with the letter of current input successively.
In specific implementation process, if comprise English alphabet in each filename in the current search scope, then this English alphabet is initial.Need to prove that if the character in the filename is numeral or other special characters, then the embodiment of the invention filters out these characters, promptly these characters are not as inquiring about reference.
In step S104, comprise the described file and the demonstration of searching the corresponding Chinese character of information that match and described in the filename in the fixed-position searching scope.
For example, the user will look for the file of a file " Chinese kungfu .mp4 " by name under the catalogue of userdata/movies, user's browser that opens file at first, enter under the userdata/movies path, some files are arranged under this catalogue, the corresponding relation of the Chinese character in the filename of these files and this first phonetic letter is stored, and a field of storage organization such as relation structure is perhaps as in the index field; Receive first alphabetical z of the information of searching that the user imports then in positioning disk, the first phonetic letter of locating file name or initial are the files of z beginning in stored relation, simultaneously the file that finds is shown, then file " Chinese kungfu .mp4 " is at the row of demonstration; Import g, g and f successively again, then file " Chinese kungfu .mp4 " has just shown, and by above step, has just realized location described file " Chinese kungfu .mp4 " under this catalogue.
See also Fig. 2, the structural representation of the document alignment device that provides for the embodiment of the invention, this document locating device comprises initial corresponding relation memory module 21, searches information receiving module 22, information matches module 23 and file display module 24.
Wherein, initial corresponding relation memory module 21 is used for the Chinese character of storage file name and the corresponding relation between this first phonetic letter.
Search information receiving module 22 and be used to receive the information of searching that the user imports, wherein, the described information of searching is letter.
Information matches module 23 is used for matching successively and the described corresponding Chinese character of information of searching with the mapping table of this first phonetic letter at default Chinese character according to the described information of searching.
In specific implementation process, information matches module 23 specifically comprises Chinese character acquisition module 231, initial acquisition module 232 and alphabetical matching module 233.
Chinese character acquisition module 231 is used for obtaining the Chinese character of each filename in the current search scope.
Certainly, if comprise English alphabet in each filename in the current search scope, then this English alphabet is initial.
Initial acquisition module 232 obtains described filename character string or Chinese character phonetic initial letters successively.
Letter matching module 233 is used for the described initial of obtaining is mated with the information of searching of current input successively.
File display module 24 is used for showing that the filename in the hunting zone comprises the described file of searching the corresponding Chinese character of information that match and described.
The embodiment of the invention also provides a kind of portable terminal, and this portable terminal comprises above-mentioned document alignment device.
The embodiment of the invention is come filename character string or Chinese character phonetic initial letters in the match search scope by according to the information of searching of user with the alphabetical form input, and the file that matches is shown.The embodiment of the invention is supported the Chinese location, and can navigate to the user fast and need locating file, and is greatly convenient for users to use, expanded the function of portable terminal.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. a file location method is characterized in that, said method comprising the steps of:
Receive the information of searching of user's input, wherein, the described information of searching is letter;
Obtain the Chinese character in each filename in the current search scope;
From the mapping table of default Chinese character and this first phonetic letter, obtain described Chinese character phonetic initial letters;
The described initial of obtaining is mated with the information of searching of current input successively;
Comprise the described file and the demonstration of searching the corresponding Chinese character of information that match and described in the filename in the fixed-position searching scope.
2. file location method as claimed in claim 1 is characterized in that, before the step of the information of searching that receives user's input, described method also comprises:
The Chinese character in the filename in the memory search scope and the mapping table of this first phonetic letter.
3. file location method as claimed in claim 1 is characterized in that, if comprise English alphabet in the filename in the current search scope, then this English alphabet itself is initial.
4. a document alignment device is characterized in that, described device comprises:
Search information receiving module, be used to receive the information of searching of user's input, wherein, the described information of searching is letter;
The Chinese character acquisition module is used for obtaining the Chinese character of each filename in the current search scope;
The initial acquisition module is used for obtaining described Chinese character phonetic initial letters from the default Chinese character and the mapping table of this first phonetic letter;
The letter matching module is used for the described initial of obtaining is mated with the information of searching of current input successively;
The file display module, the filename that is used in the fixed-position searching scope comprises the described file and the demonstration of searching the corresponding Chinese character of information that match successively and described.
5. document alignment device as claimed in claim 4 is characterized in that, described device also comprises:
Initial corresponding relation memory module is used for the Chinese character of the filename in the memory search scope and the mapping table of this first phonetic letter.
6. document alignment device as claimed in claim 4 is characterized in that, if comprise English alphabet in the filename in the current search scope, then this English alphabet itself is initial.
CN2008102415174A 2008-12-23 2008-12-23 File location method and device Active CN101446975B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102415174A CN101446975B (en) 2008-12-23 2008-12-23 File location method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102415174A CN101446975B (en) 2008-12-23 2008-12-23 File location method and device

Publications (2)

Publication Number Publication Date
CN101446975A CN101446975A (en) 2009-06-03
CN101446975B true CN101446975B (en) 2010-12-08

Family

ID=40742653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102415174A Active CN101446975B (en) 2008-12-23 2008-12-23 File location method and device

Country Status (1)

Country Link
CN (1) CN101446975B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193930A (en) * 2010-03-04 2011-09-21 深圳市迈乐数码科技股份有限公司 Remote-controller-based file retrieval method and system
CN102486711A (en) * 2010-12-01 2012-06-06 深圳市同洲软件有限公司 Method, system and mobile terminal for quickly positioning functional application
CN110188178A (en) * 2019-05-30 2019-08-30 深圳龙图腾创新设计有限公司 Across the document information lookup method of one kind, device, computer equipment and storage medium
CN112000620A (en) * 2020-08-14 2020-11-27 深圳市绿联科技有限公司 File searching method, device and equipment

Also Published As

Publication number Publication date
CN101446975A (en) 2009-06-03

Similar Documents

Publication Publication Date Title
CN101287206A (en) Contact positioning method, system and mobile communication terminal
CN106896932A (en) A kind of candidate word recommends method and device
CN101655876A (en) Intelligent searching system and intelligent searching method based on semantic analysis
CN102262471A (en) Touch intelligent induction system
CN101702740B (en) Contact person searching method, contact person searching system and mobile communication terminal
CN101631398A (en) Mobile terminal electronic-book management system and mobile terminal electronic-book management method
CN101446975B (en) File location method and device
KR20130086621A (en) System and method for recording and querying original handwriting and electronic device
CN102117171A (en) Spelling input system and method
CN101833574A (en) Method and system for locating application programs as well as mobile terminal
NZ569291A (en) A method and apparatus for accessing a digital speech file from a collection of digital files
CN103220387B (en) A kind of touch-screen mobile phone searching method and device
CN101340672B (en) Contact searching method, system and mobile terminal
US20090077031A1 (en) System and method for creating full-text indexes of patent documents
CN101944117B (en) Sorting and searching method and system based on database
CN103167087A (en) Method and system of searching cell phone contact persons
CN103559243A (en) Method and system for searching users in mobile devices on basis of labels
CN102999639B (en) A kind of lookup method based on speech recognition character index and system
CN101938551A (en) Fuzzy inquiry method and device for phonebook of mobile terminal
CN103377246A (en) Bookmark processing method and terminal browser
CN101436203B (en) Recording index method and apparatus
CN102546961A (en) Contact lookup method and mobile terminal
CN104123378A (en) Information processing method and electronic device
CN101408896A (en) Method for searching address book in terminal
CN102567768B (en) Method and device for realizing electronic dictionary based on intelligent card

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant