WO2012019390A1 - 一种移动终端及其实现的文件浏览方法 - Google Patents

一种移动终端及其实现的文件浏览方法 Download PDF

Info

Publication number
WO2012019390A1
WO2012019390A1 PCT/CN2010/078826 CN2010078826W WO2012019390A1 WO 2012019390 A1 WO2012019390 A1 WO 2012019390A1 CN 2010078826 W CN2010078826 W CN 2010078826W WO 2012019390 A1 WO2012019390 A1 WO 2012019390A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
module
mobile terminal
index list
global index
Prior art date
Application number
PCT/CN2010/078826
Other languages
English (en)
French (fr)
Inventor
姚楠
袁晓丽
王文换
梁王乐文
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to US13/581,140 priority Critical patent/US20120323902A1/en
Priority to EP10855811.5A priority patent/EP2527965A4/en
Publication of WO2012019390A1 publication Critical patent/WO2012019390A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices

Definitions

  • the present invention relates to the field of file browsing of mobile terminals, and in particular, to a mobile terminal and a method for browsing a file. Background technique
  • the storage medium and directory in the mobile terminal are very numerous, and the user may not be able to remember the storage path of the target file when browsing the target file, and cannot The target file was found very quickly.
  • the mobile terminal uses a smaller screen and a smaller keyboard than the computer, the screen of the mobile terminal can display limited content, and it is inconvenient to perform scrolling, page turning, etc., thus increasing The difficulty of finding a target file in a massive file. Summary of the invention
  • the main object of the present invention is to provide a mobile terminal and a file browsing method thereof, which can quickly and easily find an object file in a mobile terminal.
  • the present invention discloses a mobile terminal, including: a scanning module, an indexing module, and a browsing module;
  • a scanning module configured to scan a file in the mobile terminal, and obtain information about each file in the mobile terminal
  • An indexing module configured to create a global index list according to the related information of the file; and a browsing module, configured to classify and display the file according to the file type in the global index list when searching for the target file.
  • the browsing module is further configured to: when the global index list is manually updated, trigger the index module to update the global index list.
  • the mobile terminal further includes: a file reading and writing module and a searching module; wherein
  • a file reading and writing module is configured to create and delete an index item in the global index list by calling an interface provided by the index module after the file is created or deleted.
  • a search module configured to search for a target file in the global index list according to the keyword of the input target file
  • the browsing module is further configured to display the searched target file.
  • the invention discloses a file browsing method, which comprises: Scanning a file in the mobile terminal to obtain related information of each file in the mobile terminal; and creating a global index list according to the obtained file related information;
  • the files are classified according to the file type in the global index list.
  • the acquiring related information of each file in the mobile terminal is:
  • the scanning module of the mobile terminal scans each file node through the read/write interface provided by the file system, obtains the file name and file path of all files in the storage medium of the mobile terminal, and obtains the file suffix name according to the file name, and the file file of the file is obtained.
  • the name, file path, and suffix name are sent to the index module of the mobile terminal.
  • the global index list is created according to the obtained file related information: the indexing module of the mobile terminal creates an index item for each file according to the received file related information, and the index items of all files constitute a global index. List; Each index entry in the global index list includes the file name, file path, suffix name, file type, and file subtype of the file.
  • the method further includes:
  • the indexing module periodically updates the global index list; or after the new memory card is inserted into the mobile terminal, the indexing module automatically updates the global index list; or the file reading and writing module of the mobile terminal performs file creation or deletion.
  • the index element is created and deleted in the global index list by calling the interface provided by the index module; or when the global index list is manually updated, the browsing module of the mobile terminal triggers the index module to update the global index list.
  • the file is classified according to the file type in the global index list as:
  • the browsing module of the mobile terminal reads the global index list through the interface of the index module of the mobile terminal, classifies the files according to the file type and the file subtype according to the file type of the file in the global index list, and classifies and displays the files.
  • the method further includes: Selecting the file type to which the target file belongs from the file type displayed by the browsing module, the browsing module displays one or more file subtypes of the file type, and selecting a file subtype from the plurality of file subtypes, and the browsing module displays the file. All files under the subtype, from which the target file is selected.
  • the method further includes:
  • the keyword of the target file is input, and the search module of the mobile terminal searches for the target file in the global index list according to the keyword, and displays the searched target file.
  • the mobile terminal provided by the present invention and the file browsing method implemented by the same, after the scanning module scans the file in the mobile terminal, the indexing module creates a global index list according to the scanning result; when searching for the target file, the browsing module classifies the file , so that all the video files in the mobile terminal are displayed in the video directory, and all the audio files are displayed in the audio directory, and the manner of managing the massive files in the mobile terminal according to the file type is more in line with the user's usage habits, so The speed of finding the target file is accelerated, and the target file can be found in the mass file of the mobile terminal conveniently and quickly.
  • the invention is simple in operation, and is especially suitable for the mobile terminal, such as a small screen and a small keyboard, or even a keyboardless mobile terminal.
  • the equipment has greatly improved the user experience and has high market value and practical value.
  • FIG. 1 is a schematic structural diagram of a mobile terminal of the present invention
  • FIG. 2 is a schematic flow chart showing the implementation of the file browsing method of the present invention. detailed description
  • the scanning module scans the files in the mobile terminal to obtain related information of each file in the mobile terminal; the indexing module creates a global index list according to the related information of the file; when searching for the target file, the browsing module The files are classified according to the file type in the global index list.
  • the mobile terminal includes: a scanning module 11, an indexing module 12, and a browsing module 13;
  • the scanning module 11 is configured to scan files in the mobile terminal to obtain related information of each file in the mobile terminal;
  • the indexing module 12 is configured to create a global index list according to the related information of the file; and the browsing module 13 is configured to classify and display the file according to the file type in the global index list when searching for the target file.
  • the browsing module 13 is further configured to trigger the indexing module 12 to update the global index list when manually updating the global index list.
  • the mobile terminal further includes: a file reading and writing module 14 and a searching module 15; wherein the file reading and writing module 14 is configured to perform global indexing by calling the CreatFilelndexItem interface and the DelFilelndexItem interface provided by the indexing module 12 after the file is created or deleted. Creation and deletion of index items in the list;
  • the search module 15 is configured to search the target file in the global index list according to the keyword of the input target file.
  • the browsing module 13 is further configured to display the searched target file.
  • the scanning module 11 acquires related information of each file in the mobile terminal: the scanning module 11 scans each file through a read/write interface provided by an existing file system in the mobile terminal, and acquires all files in the storage medium of the mobile terminal.
  • the file name, the file path, and the file suffix name are obtained according to the file name, and then the file name, file path and suffix name of the file are sent to the indexing module 12 of the mobile terminal.
  • the indexing module 12 creates a global index list according to the obtained information about the file: the indexing module 12 creates an index item for each file according to the related information of the received file, and the index items of all the files constitute a global index list; Each index entry in the global index list includes The file name, file path, suffix name, file type, and file subtype of the file.
  • the browsing module 13 classifies the file according to the file type in the global index list as:
  • the browsing module 13 reads the global index list through the GetFilelndexItem interface provided by the indexing module 12, according to the file type of the file in the global index list, according to the file type. Organize files in the form of file subtypes and classify the files.
  • FIG. 2 is a schematic flowchart of the file browsing method of the present invention. As shown in FIG. 2, the method includes the following steps:
  • Step 201 Scan a file in the mobile terminal to obtain information about each file in the mobile terminal.
  • the file in the mobile terminal is organized by the file system existing in the mobile terminal and stored on the storage medium, the file system includes multiple file nodes, one file node corresponds to one file, and files are stored in the file node.
  • File name, file path, file attribute and other related information, all file nodes are organized into a tree structure;
  • the scanning module of the mobile terminal uses a read/write interface provided by the file system for each file node. Scan to obtain information about the file name, file path, and other files of all files in the storage medium of the mobile terminal; the file name is a string, and the string after the symbol ".” in the string is the extension name of the file (Extension name)
  • the scanning module obtains the suffix name of the file according to the file name.
  • the related information of the file is sent to the index module through the CreatFilelndexItem interface provided by the index module of the mobile terminal, and the related information of the file includes the file name, file path, and suffix name of the file.
  • Step 202 Create a global index list according to the obtained related information of each file.
  • the indexing module of the mobile terminal creates an index item for each file according to the related information of the received file, and the index items of all the files constitute an index item.
  • Global index list each index entry in the global index list includes not only the file name, file path, suffix name of the file, but also Including the file type (Type) and file subtype (Sub-type) of the file, the file type and the file subtype are set by the index module according to the file suffix name or file path when creating the index item, each The index item corresponds to a file type and a file subtype.
  • the corresponding rules of the file and the file type and the corresponding rules of the file and the file subtype can be respectively set through the SetFileTypeRule interface and the SetFileSubTypeRule interface of the index module, and the corresponding rule can be a specific suffix name.
  • the corresponding rule can be a specific suffix name.
  • the file type can be audio, video, picture, text, etc.
  • the file subtype is a further subdivision of the file type
  • the specific subdivision rule can be indexed
  • the module's SetFileSubTypeRule interface is set.
  • the audio file subtype can be mp3, wma, ogg, etc.
  • the audio file subtype can also be subdivided according to the genre of the music, etc., wherein the index module sets the file for the index item.
  • Type and file subclass Type first find the file type corresponding to the file in the existing file type according to the corresponding rules of the file and file type. If it can be found, set the file type of the file corresponding to the index item to the file type, and then according to the file and The corresponding rule of the file subtype searches for the file subtype corresponding to the file in the existing file subtype.
  • the file subtype of the corresponding file of the index entry sets the file subtype; if the corresponding file type is not found, Just create a new file type and set the file type of the file corresponding to the index item to "other"type; for example, the file type corresponding to the file with the suffix mp3 is audio, and the file type corresponding to the file with the suffix named jpeg is the picture. Wait;
  • the cable 1 module can also automatically update the global index list periodically.
  • the period can be set according to the frequency of increase or decrease of the file, and can be set to one day or one week.
  • the index module automatically updates the global index list, it can trigger
  • the scanning module scans all the files in the memory of the mobile terminal, and the update policy may be that the index module deletes the existing global index list before updating, and then re-creates the global index list according to the file related information sent by the scanning module; Is the scan module reads the file related information in the file node, according to the file Related information: Find the file corresponding to the file related information in the global index list. If it can be found that the file already exists, if it is not found, the scanning module needs to send the related information of the file to the index module, and the index module is in the global index list. Create a new index entry.
  • the index module can also automatically update the global index list; after the file is created or deleted by the file reading and writing module of the mobile terminal, the file reading and writing module can call the index module.
  • the CreatFilelndexItem interface and the DelFilelndexItem interface are provided to perform creation and deletion of index items in the global index list.
  • the method of calling the interface of the index module by the module in the mobile terminal may invoke the interface by calling a function, or may be invoked by using a command. Interface;
  • the browsing module triggers the index module to update the global index list.
  • Step 203 When searching for the target file, classifying the file according to the file type in the global index list;
  • the browsing module of the mobile terminal is triggered by the button of the mobile terminal; the triggered browsing module reads the global index list through the GetFilelndexItem interface of the index module, and according to the file type of the file in the global index list, the browsing module follows The file type and the file subtype classify the file, and classify the file, for example: display audio files, video files, text files, picture files, etc. in the browsing module;
  • Display all the files under the subtype of the file select the target file from it, for example, insert the picture when editing the MMS, trigger the browsing module, and the browsing module displays all the image files stored in the mobile terminal; if a file type or some The number of files under the file subtype is large.
  • the search module of the mobile terminal can be triggered, the keyword of the target file is input in the search module, and the file type or subfile type of the search module in the global index list is searched. Search for the target file in the file, and then browse through The view module displays the target file.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明公开一种移动终端及其实现的文件浏览方法,包括:扫描模块对移动终端中的文件进行扫描,获取移动终端中各个文件的相关信息;索引模块根据所述文件的相关信息创建全局索引列表;在查找目标文件时,浏览模块根据全局索引列表中的文件类型将文件进行分类显示。根据本发明的技术方案,能够方便快捷的在移动终端中找到目标文件。

Description

一种移动终端及其实现的文件浏览方法 技术领域
本发明涉及移动终端的文件浏览领域, 尤其涉及一种移动终端及其实 现的文件浏览方法。 背景技术
随着移动终端技术的迅速发展, 人们除了对移动终端的功能提出了较 高的要求外, 对移动终端的使用便利性也提出了更高的要求。 现有技术中, 移动终端的功能越来越丰富, 移动终端中使用的文件也不断增加, 包括文 本文件, 例如短信、 电子书等, 超文本文件, 例如彩信、 邮件等, 音频文 件, 图片文件, 视频文件, 内存(flash )文件, 可执行程序等。 此外, 移 动终端尤其是智能移动终端的存储空间越来越大, 内置 flash、 外接 flash存 储卡、 微硬盘都成为移动终端的存储介质, 使得移动终端总的存储容量可 以达到数十个千兆字节 (GB, Gigabyte )„
移动终端中, 传统的文件存储方式都是按照文件系统目录树的形式进 行组织的, 不同的文件存储在不同存储介质的不同目录下。 用户在浏览文 件时的思维习惯是想要浏览一张图片、 一段视频或者一封邮件等时, 首先 会想到目标文件的类型, 但是现有技术中目录树的形式并不符合用户的思 维习惯。 利用目录树的形式组织文件, 使得用户需要知道目标文件的名字, 还需要知道目标文件的所在目录才能够找到目标文件, 而且目录树的形式 在文件类型和文件位置之间并没有建立起一定的联系, 不会对目标文件的 所在位置有任何提示作用; 此外, 移动终端中的存储介质和目录非常繁多, 用户在浏览目标文件时可能会因为记不住该目标文件的存储路径, 而不能 够很快找到目标文件。 另外, 因为移动终端相对于计算机而言, 使用更小的屏幕和更小的键 盘, 所以移动终端的屏幕能够显示的内容有限, 进行滚屏、 翻页等操作时 艮不方便, 如此, 也增加了用户在海量文件中查找目标文件的难度。 发明内容
有鉴于此, 本发明的主要目的在于提供一种移动终端及其实现的文件 浏览方法, 能够方便快捷的在移动终端中找到目标文件。
为达到上述目的, 本发明的技术方案是这样实现的:
本发明公开一种移动终端, 包括: 扫描模块、 索引模块、 浏览模块; 其中,
扫描模块, 用于对移动终端中的文件进行扫描, 获取移动终端中各个 文件的相关信息;
索引模块, 用于根据所述文件的相关信息创建全局索引列表; 浏览模块, 用于在查找目标文件时, 根据全局索引列表中的文件类型 将文件进行分类显示。
上述移动终端中,
所述浏览模块还用于, 当进行手动更新全局索引列表时, 触发索引模 块进行全局索引列表的更新。
上述移动终端中, 该移动终端进一步包括: 文件读写模块、 搜索模块; 其中,
文件读写模块, 用于在进行文件的创建或删除后, 通过调用索引模块 提供的接口进行全局索引列表中索引项的创建和删除;
搜索模块, 用于根据输入的目标文件的关键字在全局索引列表中搜索 目标文件;
所述浏览模块还用于, 显示搜索到的目标文件。
本发明公开一种文件浏览方法, 包括: 扫描移动终端中的文件, 获取移动终端中各个文件的相关信息; 根据 所获得的文件相关信息创建全局索引列表;
查找目标文件时, 根据全局索引列表中的文件类型将文件进行分类显 示。
上述方法中, 所述获取移动终端中各个文件的相关信息为:
移动终端的扫描模块通过文件系统提供的读写接口对每个文件节点进 行扫描, 获取移动终端存储介质中所有文件的文件名、 文件路径, 并根据 文件名得到文件的后缀名, 将文件的文件名、 文件路径和后缀名发送给移 动终端的索引模块。
上述方法中, 所述根据所获得的文件相关信息创建全局索引列表为: 移动终端的索引模块根据收到的文件相关信息, 为每个文件分别创建 一个索引项, 所有文件的索引项构成全局索引列表; 全局索引列表中的每 个索引项包括文件的文件名、 文件路径、 后缀名、 文件类型和文件子类型。
上述方法中, 该方法还包括:
所述索引模块周期性进行全局索引列表的更新; 或当新的存储卡插入 移动终端后, 索引模块自动进行全局索引列表的更新; 或移动终端的文件 读写模块在进行文件的创建或删除后, 通过调用索引模块提供的接口进行 全局索引列表中索引项的创建和删除; 或当进行手动更新全局索引列表时, 移动终端的浏览模块触发索引模块进行全局索引列表的更新。
上述方法中, 所述根据全局索引列表中的文件类型将文件进行分类显 示为:
移动终端的浏览模块通过移动终端的索引模块的接口读取全局索引列 表, 根据全局索引列表中文件的文件类型 , 按照文件类型和文件子类型将 文件进行分类处理, 并将文件进行分类显示。
上述方法中, 该方法进一步包括: 从浏览模块显示的文件类型中选出目标文件所属的文件类型, 浏览模 块显示该文件类型的一个或多个文件子类型, 从多个文件子类型中选取一 个文件子类型, 浏览模块显示该文件子类型下的所有文件, 从中选择目标 文件。
上述方法中, 该方法进一步包括:
输入目标文件的关键字, 移动终端的搜索模块根据所述关键字在全局 索引列表中搜索目标文件, 显示搜索到的目标文件。
本发明提供的移动终端及其实现的文件浏览方法, 由扫描模块对移动 终端中文件进行扫描后, 索引模块会根据扫描结果创建全局索引列表; 当 查找目标文件时, 浏览模块将文件进行分类显示, 使得移动终端中所有的 视频文件都显示在视频目录下, 所有的音频文件都显示在音频目录下, 这 种按照文件类型对移动终端中海量文件进行管理的方式更加符合用户的使 用习惯, 因此, 加快了查找目标文件的速度, 能方便、 快捷地在移动终端 的海量文件中找到目标文件; 本发明操作简单, 尤其适合移动终端这种屏 幕较小和键盘较小, 甚至无键盘的移动终端设备, 大大改善了用户的体验, 具有极高的市场推广价值和实用价值。 附图说明
图 1是本发明移动终端的组成结构示意图;
图 2是本发明文件浏览方法的实现流程示意图。 具体实施方式
本发明的基本思想是: 扫描模块对移动终端中的文件进行扫描, 获取 移动终端中各个文件的相关信息; 索引模块根据所述文件的相关信息创建 全局索引列表; 在查找目标文件时, 浏览模块根据全局索引列表中的文件 类型将文件进行分类显示。 下面通过附图及具体实施例对本发明再做进一步的详细说明。
图 1是本发明移动终端的组成结构示意图, 如图 1所示, 该移动终端 包括: 扫描模块 11、 索引模块 12、 浏览模块 13; 其中,
扫描模块 11 , 用于对移动终端中的文件进行扫描, 获取移动终端中各 个文件的相关信息;
索引模块 12 , 用于根据所述文件的相关信息创建全局索引列表; 浏览模块 13 , 用于在查找目标文件时, 根据全局索引列表中的文件类 型将文件进行分类显示。
所述浏览模块 13还用于, 当进行手动更新全局索引列表时, 触发索引 模块 12进行全局索引列表的更新。
该移动终端进一步包括: 文件读写模块 14、 搜索模块 15; 其中, 文件读写模块 14, 用于在进行文件的创建或删除后, 通过调用索引模 块 12提供的 CreatFilelndexItem接口和 DelFilelndexItem接口进行全局索引 列表中索引项的创建和删除;
搜索模块 15 , 用于根据输入的目标文件的关键字在全局索引列表中搜 索目标文件。
所述浏览模块 13还用于, 显示搜索到的目标文件。
所述扫描模块 11获取移动终端中各个文件的相关信息为:扫描模块 11 通过移动终端中已有的文件系统提供的读写接口对每个文件进行扫描, 获 取移动终端的存储介质中所有文件的文件名、 文件路径, 并根据文件名得 到文件的后缀名, 然后将文件的文件名、 文件路径和后缀名发送给移动终 端的索引模块 12。
所述索引模块 12根据获得的文件的相关信息创建全局索引列表为: 索 引模块 12根据收到的文件的相关信息,针对每个文件分别创建一个索引项, 所有文件的索引项构成全局索引列表; 全局索引列表中的每个索引项包括 文件的文件名、 文件路径、 后缀名、 文件类型和文件子类型。
所述浏览模块 13根据全局索引列表中的文件类型将文件进行分类显示 为: 浏览模块 13通过索引模块 12提供的 GetFilelndexItem接口读取全局索 引列表, 根据全局索引列表中文件的文件类型, 按照文件类型和文件子类 型的形式组织文件, 将文件进行分类显示。
基于图 1 所示的移动终端, 本发明还提供了一种移动终端中的文件浏 览方法, 图 2是本发明文件浏览方法的实现流程示意图, 如图 2所示, 该 方法包括以下步骤:
步骤 201 , 扫描移动终端中的文件, 获取移动终端中各个文件的相关信 息;
具体的, 移动终端中的文件是由移动终端中已有的文件系统进行组织 并存储在存储介质上的, 文件系统中包含多个文件节点, 一个文件节点对 应一个文件,文件节点中存储有文件的文件名( File name )、文件路径( Path )、 文件属性等文件的相关信息, 所有的文件节点组织成树形结构; 移动终端 的扫描模块通过文件系统提供的读写接口对每个文件节点进行扫描, 获取 移动终端存储介质中所有文件的文件名、 文件路径等文件的相关信息; 文 件名是一段字符串, 字符串中符号 ". " 后面的字符串为文件的后缀名 ( Extension name ) , 扫描模块根据文件名得到文件的后缀名。
扫描模块每获取到一个文件的相关信息 , 就通过移动终端的索引模块 提供的 CreatFilelndexItem接口, 将文件的相关信息发送给索引模块, 该文 件的相关信息包括文件的文件名、 文件路径、 后缀名。
步骤 202, 根据获取的各个文件的相关信息, 创建全局索引列表; 具体的, 移动终端的索引模块根据收到的文件的相关信息, 针对每一 个文件分别创建一个索引项, 所有文件的索引项构成全局索引列表; 全局 索引列表中的每个索引项不仅包括文件的文件名、 文件路径、 后缀名, 还 包括文件所属的文件类型 (Type )和文件子类型 (Sub-type )等字段, 文件 类型和文件子类型是在创建索引项时, 由索引模块根据文件的后缀名或文 件路径设置的, 每一个索引项对应一个文件类型和一个文件子类型, 文件 和文件类型的对应规则以及文件和文件子类型的对应规则可分别通过索引 模块的 SetFileTypeRule接口和 SetFileSubTypeRule接口进行设置, 对应规 则可以是特定的后缀名对应特定的类型, 或者特定的文件路径对应特定的 类型; 其中, 文件类型可以是音频、 视频、 图片、 文本等, 文件子类型是 对文件类型的进一步细分, 具体的细分规则可通过索引模块的 SetFileSubTypeRule接口进行设置, 例如, 音频的文件子类型可以是 mp3、 wma、 ogg等, 音频的文件子类型也可以根据音乐的流派进行细分等等; 其中, 索引模块在对索引项设置文件类型和文件子类型时, 首先根据 文件和文件类型的对应规则在已有的文件类型中查找与文件对应的文件类 型, 如果能够找到, 就将索引项对应文件的文件类型设置成该文件类型, 然后根据文件和文件子类型的对应规则在已有的文件子类型中查找与文件 对应的文件子类型, 如果找到, 将索引项对应文件的文件子类型设置成该 文件子类型; 如果没有找到对应的文件类型, 就创建一个新的文件类型, 将索引项对应文件的文件类型设置为 "其他" 类型; 例如, 后缀名为 mp3 的文件对应的文件类型是音频, 后缀名为 jpeg的文件对应的文件类型是图 片等;
索 1模块还可以周期性的自动进行全局索引列表的更新, 该周期可以 根据文件的增减频率而定, 可以设为一天或者一周等; 当索引模块自动进 行全局索引列表进行更新时, 可以触发扫描模块对移动终端的存储器中的 所有文件进行扫描, 更新策略可以是索引模块在进行更新之前将已有的全 局索引列表删除, 然后根据扫描模块发送的文件相关信息重新创建全局索 引列表; 也可以是扫描模块读取文件节点中的文件相关信息, 根据该文件 相关信息在全局索引列表中查找该文件相关信息对应的文件, 如果能够找 到说明该文件已经存在, 如果没有找到, 扫描模块需要将该文件的相关信 息发送给索引模块, 索引模块在全局索引列表中创建一个新的索引项。
此外, 当新的存储卡插入移动终端后, 索引模块也可以自动进行全局 索引列表的更新; 在通过移动终端的文件读写模块进行文件的创建或删除 后, 文件读写模块可通过调用索引模块提供的 CreatFilelndexItem接口和 DelFilelndexItem接口, 进行全局索引列表中索引项的创建和删除, 移动终 端中的模块调用索引模块的各个接口的方法可以是通过调用函数的方式调 用接口, 也可以通过命令的方式调用接口; 当进行手动更新全局索引列表 时, 浏览模块触发索引模块进行全局索引列表的更新。
步骤 203 , 查找目标文件时,根据全局索引列表中的文件类型将文件进 行分类显示;
具体的, 查找目标文件时, 通过移动终端的按键触发移动终端的浏览 模块; 受到触发的浏览模块通过索引模块的 GetFilelndexItem接口读取全局 索引列表, 根据全局索引列表中文件的文件类型, 浏览模块按照文件类型 和文件子类型将文件进行分类处理, 并将文件进行分类显示, 例如: 在浏 览模块显示音频文件、 视频文件、 文本文件、 图片文件等;
从浏览模块显示的文件类型中选出目标文件所属的文件类型, 浏览模 块将该文件类型的一个或多个文件子类型显示出来, 再从多个文件子类型 中选取一个文件子类型, 浏览模块显示该文件子类型下的所有文件, 从中 选择目标文件, 例如, 编辑彩信时需要插入图片, 触发浏览模块, 浏览模 块将移动终端中存储的所有图片文件显示出来; 如果某个文件类型或某个 文件子类型下的文件数量较多, 为了更快找到目标文件, 可以触发移动终 端的搜索模块, 在搜索模块中输入目标文件的关键字, 搜索模块在全局索 引列表的该文件类型或子文件类型的文件中搜索目标文件, 然后再通过浏 览模块显示目标文件。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围, 凡在本发明的精神和原则之内所作的任何修改、 等同替换和改进 等, 均应包含在本发明的保护范围之内。

Claims

权利要求书
1、 一种移动终端, 其特征在于, 该移动终端包括: 扫描模块、 索引模 块、 浏览模块; 其中,
扫描模块, 用于对移动终端中的文件进行扫描, 获取移动终端中各个 文件的相关信息;
索引模块, 用于根据所述文件的相关信息创建全局索引列表; 浏览模块, 用于在查找目标文件时, 根据全局索引列表中的文件类型 将文件进行分类显示。
2、 根据权利要求 1所述的移动终端, 其特征在于,
所述浏览模块还用于, 当进行手动更新全局索引列表时, 触发索引模 块进行全局索引列表的更新。
3、 根据权利要求 1所述的移动终端, 其特征在于, 该移动终端进一步 包括: 文件读写模块、 搜索模块; 其中,
文件读写模块, 用于在进行文件的创建或删除后, 通过调用索引模块 提供的接口进行全局索引列表中索引项的创建和删除;
搜索模块, 用于根据输入的目标文件的关键字在全局索引列表中搜索 目标文件;
所述浏览模块还用于, 显示搜索到的目标文件。
4、 一种文件浏览方法, 其特征在于, 该方法包括:
扫描移动终端中的文件, 获取移动终端中各个文件的相关信息; 根据 所获得的文件相关信息创建全局索引列表;
查找目标文件时, 根据全局索引列表中的文件类型将文件进行分类显 示。
5、 根据权利要求 4所述的方法, 其特征在于, 所述获取移动终端中各 个文件的相关信息为: 移动终端的扫描模块通过文件系统提供的读写接口对每个文件节点进 行扫描, 获取移动终端存储介质中所有文件的文件名、 文件路径, 并根据 文件名得到文件的后缀名, 将文件的文件名、 文件路径和后缀名发送给移 动终端的索引模块。
6、 根据权利要求 4所述的方法, 其特征在于, 所述根据所获得的文件 相关信息创建全局索引列表为:
移动终端的索引模块根据收到的文件相关信息, 为每个文件分别创建 一个索引项, 所有文件的索引项构成全局索引列表; 全局索引列表中的每 个索引项包括文件的文件名、 文件路径、 后缀名、 文件类型和文件子类型。
7、 根据权利要求 6所述的方法, 其特征在于, 该方法还包括: 所述索引模块周期性进行全局索引列表的更新; 或当新的存储卡插入 移动终端后, 索引模块自动进行全局索引列表的更新; 或移动终端的文件 读写模块在进行文件的创建或删除后, 通过调用索引模块提供的接口进行 全局索引列表中索引项的创建和删除; 或当进行手动更新全局索引列表时, 移动终端的浏览模块触发索引模块进行全局索引列表的更新。
8、 根据权利要求 6所述的方法, 其特征在于, 所述根据全局索引列表 中的文件类型将文件进行分类显示为:
移动终端的浏览模块通过移动终端的索引模块的接口读取全局索引列 表, 根据全局索引列表中文件的文件类型 , 按照文件类型和文件子类型将 文件进行分类处理, 并将文件进行分类显示。
9、 根据权利要求 8所述的方法, 其特征在于, 该方法进一步包括: 从浏览模块显示的文件类型中选出目标文件所属的文件类型, 浏览模 块显示该文件类型的一个或多个文件子类型, 从多个文件子类型中选取一 个文件子类型, 浏览模块显示该文件子类型下的所有文件, 从中选择目标 文件。
10、 根据权利要求 9所述的方法, 其特征在于, 该方法进一步包括: 输入目标文件的关键字, 移动终端的搜索模块根据所述关键字在全局 索引列表中搜索目标文件, 显示搜索到的目标文件。
PCT/CN2010/078826 2010-08-11 2010-11-17 一种移动终端及其实现的文件浏览方法 WO2012019390A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US13/581,140 US20120323902A1 (en) 2010-08-11 2010-11-17 Mobile terminal and file browsing method implemented by mobile terminal
EP10855811.5A EP2527965A4 (en) 2010-08-11 2010-11-17 MOBILE DEVICE AND IMPLEMENTED FILE-SEARCH METHOD FROM A MOBILE DEVICE

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010254221.3 2010-08-11
CN2010102542213A CN101916164A (zh) 2010-08-11 2010-08-11 一种移动终端及其实现的文件浏览方法

Publications (1)

Publication Number Publication Date
WO2012019390A1 true WO2012019390A1 (zh) 2012-02-16

Family

ID=43323685

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/078826 WO2012019390A1 (zh) 2010-08-11 2010-11-17 一种移动终端及其实现的文件浏览方法

Country Status (4)

Country Link
US (1) US20120323902A1 (zh)
EP (1) EP2527965A4 (zh)
CN (1) CN101916164A (zh)
WO (1) WO2012019390A1 (zh)

Families Citing this family (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681990A (zh) * 2011-03-07 2012-09-19 鸿富锦精密工业(深圳)有限公司 文件管理系统及方法
CN102163238A (zh) * 2011-05-09 2011-08-24 奇智软件(北京)有限公司 一种基于类型的文件管理方法及系统
CN102289481A (zh) * 2011-08-02 2011-12-21 Tcl集团股份有限公司 获取外设中媒体文件媒体信息的方法、装置及多媒体设备
CN102289484B (zh) * 2011-08-03 2014-10-01 Tcl集团股份有限公司 一种基于android系统的存储设备的多媒体文件的扫描方法
CN102446142B (zh) * 2011-09-14 2014-08-13 Tcl集团股份有限公司 一种媒体设备扫描方法、系统及媒体设备
CN102411628B (zh) * 2011-12-19 2015-05-20 Tcl集团股份有限公司 基于android系统的文件扫描方法及装置
CN102708197B (zh) * 2012-05-16 2016-09-21 Tcl集团股份有限公司 一种多媒体文件管理方法及装置
CN103870477B (zh) * 2012-12-12 2018-09-07 腾讯科技(深圳)有限公司 聚合式文件管理方法及装置
CN103902564A (zh) * 2012-12-26 2014-07-02 华为技术有限公司 一种文件展示方法及装置
CN103123651B (zh) * 2013-03-06 2016-01-20 广东欧珀移动通信有限公司 一种查看多个同类文件的方法、装置和移动设备
CN104111940A (zh) * 2013-04-18 2014-10-22 上海斐讯数据通信技术有限公司 移动终端及其文件存储方法
CN103294793A (zh) * 2013-05-23 2013-09-11 上海斐讯数据通信技术有限公司 一种文件管理方法及移动终端
CN103324719A (zh) * 2013-06-26 2013-09-25 上海斐讯数据通信技术有限公司 一种索引方法及移动终端
CN104301234B (zh) * 2013-07-16 2019-02-05 腾讯科技(深圳)有限公司 一种路由方法和装置
CN103605713A (zh) * 2013-11-13 2014-02-26 广东欧珀移动通信有限公司 移动终端文件浏览方法与装置
CN103605758B (zh) * 2013-11-22 2017-09-08 中国科学院深圳先进技术研究院 一种移动终端文件查找的方法及装置
CN103744911A (zh) * 2013-12-26 2014-04-23 乐视网信息技术(北京)股份有限公司 一种视频文件扫描方法及电子设备
CN104978369B (zh) * 2014-04-14 2020-02-18 腾讯科技(深圳)有限公司 一种文件查找方法和装置
CN105095296B (zh) * 2014-05-16 2020-03-17 小米科技有限责任公司 文件管理方法及装置
CN105224583B (zh) * 2014-07-03 2020-06-26 北京奇虎科技有限公司 日志文件的清理方法及装置
CN104199863B (zh) * 2014-08-15 2017-11-21 小米科技有限责任公司 存储设备上的文件的查找方法、装置及路由器
CN104699839B (zh) * 2015-03-31 2021-03-02 北京奇艺世纪科技有限公司 一种文件查找方法及装置
CN106156183A (zh) * 2015-04-20 2016-11-23 中兴通讯股份有限公司 文件加速方法和装置
CN104765726B (zh) * 2015-04-27 2018-07-31 湘潭大学 一种基于信息密度的数据分类方法
CN105574062A (zh) * 2015-07-01 2016-05-11 宇龙计算机通信科技(深圳)有限公司 一种文件检索方法、装置以及终端
CN105354506B (zh) * 2015-10-12 2018-06-19 百度在线网络技术(北京)有限公司 隐藏文件的方法和装置
TWI607325B (zh) * 2016-07-21 2017-12-01 虹光精密工業股份有限公司 檢索索引產生方法及應用此方法之伺服器
CN106407322A (zh) * 2016-08-31 2017-02-15 贵州理工学院 基于安卓系统的快速搜索文件方法
CN107368574A (zh) * 2017-07-12 2017-11-21 广州视源电子科技股份有限公司 一种文件目录显示方法、装置、电子终端和存储介质
CN107967322B (zh) * 2017-11-23 2021-09-21 努比亚技术有限公司 文件分类显示方法、移动终端及计算机可读存储介质
CN111598041B (zh) * 2020-05-25 2023-05-02 青岛联合创智科技有限公司 一种用于物品查找的图像生成文本方法
CN111914511B (zh) * 2020-07-31 2024-04-26 海信视像科技股份有限公司 一种远程文件浏览方法、智能终端及显示设备
CN112328614B (zh) * 2020-11-13 2024-06-18 三六零数字安全科技集团有限公司 病毒库更新方法、设备、存储介质及装置
CN112445760B (zh) * 2020-11-13 2024-05-14 三六零数字安全科技集团有限公司 文件分类方法、设备、存储介质及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193273A (zh) * 2006-11-20 2008-06-04 中兴通讯股份有限公司 一种实时多媒体图像信息存储和播放方法
CN101398844A (zh) * 2008-10-28 2009-04-01 深圳华为通信技术有限公司 资源文件的搜索方法及移动终端
CN101506806A (zh) * 2006-08-23 2009-08-12 希尔领袖明日株式会社 装备有内容搜索系统的信息终端

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8108342B2 (en) * 2007-09-10 2012-01-31 Robert Salinas Methods and systems of content mobilization, mobile search, and video editing through a web interface
US7730012B2 (en) * 2004-06-25 2010-06-01 Apple Inc. Methods and systems for managing data
CN1609859A (zh) * 2004-11-26 2005-04-27 孙斌 搜索结果聚类的方法
US7599954B2 (en) * 2005-08-18 2009-10-06 Microsoft Corporation Customizing a file open dialog using a namespace extension to allow searching
KR100644159B1 (ko) * 2005-09-05 2006-11-10 엔에이치엔(주) 검색 컨트롤러 제어 방법 및 그 장치
KR101234795B1 (ko) * 2006-06-15 2013-02-20 삼성전자주식회사 컨텐츠 브라우징 장치 및 방법
CN100573520C (zh) * 2006-08-29 2009-12-23 国际商业机器公司 为检索对多个文档进行预处理的方法和装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101506806A (zh) * 2006-08-23 2009-08-12 希尔领袖明日株式会社 装备有内容搜索系统的信息终端
CN101193273A (zh) * 2006-11-20 2008-06-04 中兴通讯股份有限公司 一种实时多媒体图像信息存储和播放方法
CN101398844A (zh) * 2008-10-28 2009-04-01 深圳华为通信技术有限公司 资源文件的搜索方法及移动终端

Also Published As

Publication number Publication date
EP2527965A4 (en) 2016-10-12
CN101916164A (zh) 2010-12-15
EP2527965A1 (en) 2012-11-28
US20120323902A1 (en) 2012-12-20

Similar Documents

Publication Publication Date Title
WO2012019390A1 (zh) 一种移动终端及其实现的文件浏览方法
US9734158B2 (en) Searching and placeholders
JP7181958B2 (ja) ファイル処理方法及びモバイル端末
US10324899B2 (en) Methods for characterizing content item groups
US10331311B2 (en) Information management with non-hierarchical views
US11249620B2 (en) Electronic device for playing-playing contents and method thereof
US20090299990A1 (en) Method, apparatus and computer program product for providing correlations between information from heterogenous sources
US20090158214A1 (en) System, Method, Apparatus and Computer Program Product for Providing Presentation of Content Items of a Media Collection
US9851866B2 (en) Presenting and browsing items in a tilted 3D space
CN103902589B (zh) 一种下载文件的管理方法及装置
US9449027B2 (en) Apparatus and method for representing and manipulating metadata
US10223370B2 (en) Context-based content list generation
CN104103087A (zh) 一种具有文字介绍功能的图片显示和管理的方法和系统
KR20130128708A (ko) 단말기의 기능 연동 방법 및 이를 지원하는 단말기
US20080215545A1 (en) Data file management and search method and system based on file attributes
KR101234795B1 (ko) 컨텐츠 브라우징 장치 및 방법
CN103631644A (zh) 文件选择方法和装置
JP2007156680A (ja) ファイル管理装置
JP5196569B2 (ja) コンテンツ検索装置、コンテンツ検索方法及びプログラム
CN103020186A (zh) 一种基于嵌入式设备的文件检索方法、装置以及设备
US12022035B2 (en) Display control method and display control apparatus
US20230199126A1 (en) Display control method and display control apparatus
JP6013128B2 (ja) フォルダ仮想分類システム
JP2011028497A (ja) 情報処理装置、情報処理方法及び情報処理プログラム
JP2013178642A (ja) 情報処理装置、情報処理方法及びプログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10855811

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2010855811

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 13581140

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE