CN1303543C - File management system and method for peripheral storage device - Google Patents
File management system and method for peripheral storage device Download PDFInfo
- Publication number
- CN1303543C CN1303543C CNB2003101044672A CN200310104467A CN1303543C CN 1303543 C CN1303543 C CN 1303543C CN B2003101044672 A CNB2003101044672 A CN B2003101044672A CN 200310104467 A CN200310104467 A CN 200310104467A CN 1303543 C CN1303543 C CN 1303543C
- Authority
- CN
- China
- Prior art keywords
- file
- storage device
- peripheral storage
- search
- module
- 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.)
- Expired - Fee Related
Links
- 230000002093 peripheral effect Effects 0.000 title claims abstract description 57
- 238000000034 method Methods 0.000 title claims abstract description 11
- 238000007726 management method Methods 0.000 claims description 21
- 238000009434 installation Methods 0.000 claims description 10
- 238000013507 mapping Methods 0.000 claims description 3
- 238000012217 deletion Methods 0.000 claims 1
- 230000037430 deletion Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种文件(File)管理系统及其方法,特别是指一种计算机外围存储设备中的文件管理系统及其方法。The invention relates to a file (File) management system and its method, in particular to a file management system and its method in a computer peripheral storage device.
背景技术Background technique
自从计算机诞生起,存储设备就是重要的组成部分,软驱作为存储设备的重要成员,起到了重要的作用。由于计算机技术的发展及存储技术和材料的高速发展,计算机的外围存储设备业发生了巨大变化。近年来,信息化步伐的加快,存储产品需求大量增加,随着各种各样的存储介质不断出现,特别是USB技术的成熟,使存储产品市场也将越来越广阔,存储设备正在逐步走向标准化的道路。Since the birth of computers, storage devices have been an important part, and floppy drives, as an important member of storage devices, have played an important role. Due to the development of computer technology and the rapid development of storage technology and materials, the peripheral storage equipment industry of computers has undergone tremendous changes. In recent years, with the acceleration of informatization, the demand for storage products has increased significantly. With the continuous emergence of various storage media, especially the maturity of USB technology, the market for storage products will become wider and wider, and storage devices are gradually moving towards standardized path.
随着存储设备逐渐增多,特别是USB设备的增加,所有的主机板厂商也都会提供多个USB接口以支持这些设备,多个存储设备可以同时与PC建立连接,用户在使用的时候,如果需要对设备文件进行操作,就要预先一一找到这个文件,然后才能对文件进行操作,如果用户不知道这类设备的路径,将很难找到需要的文件。例如当用户将光盘或USB外设的文件复制到硬盘时,这一功能涉及的设备很多,而且也不确定,可能包括有光盘、USB光驱、U盘,读卡器等,已知的在这些外设中寻找文件的方法,是在这些设备映射的盘符中逐个寻找。若用户不清楚这些设备的具体路径,查找的工作就很复杂。而且用户在对这些文件进行操作之前,也无法进行预览,用户只能根据文件名来决定对文件的操作,影响操作的准确度。With the gradual increase of storage devices, especially the increase of USB devices, all motherboard manufacturers will also provide multiple USB interfaces to support these devices, and multiple storage devices can be connected to the PC at the same time. To operate the device files, it is necessary to find the files one by one in advance, and then operate the files. If the user does not know the path of such devices, it will be difficult to find the required files. For example, when the user copies the files of CD or USB peripherals to the hard disk, this function involves many devices, and it is uncertain, which may include CDs, USB CD drives, U disks, card readers, etc., known in these The way to find files in peripherals is to search one by one in the drive letters mapped to these devices. If the user does not know the specific paths of these devices, the work of finding is very complicated. Moreover, the user cannot preview the files before operating them. The user can only decide to operate the files according to the file names, which affects the accuracy of the operations.
因此如何进一步提高多个存储设备的可操作性,以及如何快速取得数据,对数据进一步进行操作,以提供众多存储设备的配套解决方案以及全方位的服务,是目前数据存储技术有待改进之处。Therefore, how to further improve the operability of multiple storage devices, and how to quickly obtain data and further operate on the data, so as to provide supporting solutions and comprehensive services for many storage devices, is the current data storage technology that needs to be improved.
发明内容Contents of the invention
有鉴于此,本发明为解决上述问题而提出一种外围存储设备的文件管理系统及其方法,主要的目的在于提高多个存储设备的可操作性,在众多存储设备中,将用户所要操作的文件一次性的提供给用户,以供用户进行操作,从而减小用户操作的复杂度。In view of this, the present invention proposes a file management system and method for peripheral storage devices to solve the above-mentioned problems. The main purpose is to improve the operability of multiple storage devices. The files are provided to the user at one time for the user to operate, thereby reducing the complexity of the user's operation.
所以为达到上述目的,本发明提供一种外围存储设备的文件管理系统,用以管理计算机外设存储设备中的文件,将可操作的文件一次性的提供给用户,包括:一设备搜索模块,其用以搜索外围存储设备,获得所有外围存储设备列表;一设备装载模块,根据该外围存储设备列表,依次将未映射过的外围存储设备映射为系统路径;一类型接收模块,用以接收搜索文件类型,即所述类型接收模块接收用户的操作命令,且根据该操作命令确定相应的搜索文件类型;一文件搜索模块,根据该搜索文件类型在该系统路径中搜索符合要求的相应文件;以及一结果显示模块,将搜索到的相应文件显示出来。Therefore, in order to achieve the above object, the present invention provides a file management system for peripheral storage devices, which is used to manage files in computer peripheral storage devices, and provide operable files to users at one time, including: a device search module, It is used to search for peripheral storage devices and obtain a list of all peripheral storage devices; a device loading module, according to the list of peripheral storage devices, sequentially maps unmapped peripheral storage devices to system paths; a type of receiving module is used to receive search File type, that is, the type receiving module receives the user's operation command, and determines the corresponding search file type according to the operation command; a file search module searches the system path for corresponding files that meet the requirements according to the search file type; and A result display module, which displays the corresponding searched files.
另外,本发明所提的外围存储设备的文件管理方法,包括如下步骤:首先搜索外围存储设备,获得所有外围存储设备列表,然后建立外围存储临时安装路径,将该临时安装路径映射为系统路径,再接收搜索文件类型,即接收模块接收用户的操作命令,且根据该操作命令确定相应的搜索文件类型,在该系统路径中搜索符合该类型的文件,最后显示搜索结果。In addition, the file management method for peripheral storage devices proposed in the present invention includes the following steps: firstly search for peripheral storage devices to obtain a list of all peripheral storage devices, then establish a temporary installation path for peripheral storage, and map the temporary installation path to a system path, Then receive the search file type, that is, the receiving module receives the user's operation command, and determines the corresponding search file type according to the operation command, searches the system path for files matching the type, and finally displays the search result.
根据本发明所提的外围存储设备的文件管理系统及其方法,将这些设备中,所有符合条件的文件一次性的提供给用户,用户不需关心文件的具体路径,也不需了解那些设备的加载点,即可将用户需要的文件一次性的提供出来,减小了用户操作的复杂度。According to the file management system and method of peripheral storage devices proposed in the present invention, all qualified files in these devices are provided to the user at one time, and the user does not need to care about the specific path of the file, and does not need to know the details of those devices. The loading point can provide the files needed by the user at one time, reducing the complexity of user operations.
有关本发明的详细内容及技术,现配合附图在具体实施例中说明如下。The detailed content and technology of the present invention are described as follows in specific embodiments in conjunction with the accompanying drawings.
附图说明Description of drawings
图1是本发明所提的外围存储设备的文件管理系统的模块结构图;Fig. 1 is the block diagram of the file management system of the peripheral storage device mentioned in the present invention;
图2是本发明所提的外围存储设备的文件管理方法的运作流程图;Fig. 2 is the operation flowchart of the file management method of the peripheral storage device proposed by the present invention;
图3是本发明文件预览的流程图;Fig. 3 is the flowchart of file preview of the present invention;
图4是本发明接收搜索文件类型的流程图;及Fig. 4 is the flow chart of receiving and searching file type of the present invention; And
图5a~图5g是本发明实施例的界面示意图。5a to 5g are schematic diagrams of the interface of the embodiment of the present invention.
其中,附图标记说明如下:Wherein, the reference signs are explained as follows:
110 设备搜索模块110 device search module
120 设备装载模块120 equipment loading module
130 类型接收模块130 type receiving module
140 文件搜索模块140 file search module
150 结果显示模块150 result display module
步骤210搜索外围存储设备,获得所有外围存储设备列表
步骤220建立外围存储临时安装路径
步骤230将该临时安装路径映射为系统路径
步骤240接收搜索文件类型
步骤250在该系统路径中搜索符合该类型的文件
步骤260显示搜索结果
步骤310得到所要预览文件的全路径Step 310 obtains the full path of the file to be previewed
步骤320调用媒体播放库,播放该预览文件Step 320 calls the media playback library to play the preview file
步骤410接收用户的操作命令Step 410 receives the user's operation command
步骤420根据该命令确定搜索文件类型Step 420 determines the search file type according to the command
具体实施方式Detailed ways
目前用来存储视频的介质越来越多,从原来的磁带存储,到后来的硬磁盘存储、光盘存储等,都为视频的存储提供了广阔的空间。At present, there are more and more media used to store video, from the original tape storage to the later hard disk storage, CD storage, etc., all of which provide a broad space for video storage.
本发明涉及一种外围存储设备的文件管理系统及其方法,首先由图1说明本发明的系统,该图是本发明所提的外围存储设备的文件管理系统的模块结构图,设备搜索模块110获得外围存储设备列表,然后设备装载模块120将列表中的设备依次映射为系统路径,类型接收模块130确定搜索文件类型后,将该类型发送到文件搜索模块140,搜索模块搜索到符合要求的文件后,发送到结果显示模块150中显示出来,以便用户对具体文件进行操作,下面对各模块进行详细说明:The present invention relates to a file management system of a peripheral storage device and a method thereof. First, the system of the present invention is illustrated by FIG. Obtain a list of peripheral storage devices, and then the
(1)设备搜索模块110,其用以搜索外围存储设备,获得所有外围存储设备列表。外围存储设备包括光盘、U盘,读卡器,USB光驱等USB设备,以IDE光驱。(1) The
(2)设备装载(Mount)模块120,根据该外围存储设备列表,依次将未映射过的外围存储设备映射为系统路径,如U盘映射为/mmt/hdal,系统依次判断该设备是否已经装载,对没有装载的设备为其建立临时安装路径后,再将其映射到对应路径。(2) Device loading (Mount)
(3)类型接收模块130,其用以接收用户的操作命令,根据该操作命令确定搜索文件类型。接收用户的操作命令,从搜索类型说明文件中读取需要搜索的文件类型列表。(3) Type receiving
(4)文件搜索模块140,根据该搜索文件类型在该系统路径中搜索符合要求的相应文件,根据文件类型列表,从存储设备中搜索符合要求的文件,如mp3,wav,并将搜索到的文件加入返回列表。(4)
(5)结果显示模块150,将搜索到的相应文件显示出来。(5) The
在上述系统中,还可以包括一卸载(Umount)模块以及一预览模块。In the above system, an unmounting (Umount) module and a preview module may also be included.
卸载模块用以将本次操作装载过的设备卸载,并删除为其建立的临时路径。The unloading module is used to unload the device loaded in this operation, and delete the temporary path established for it.
播放预览模块,用以在用户对文件增加、删除、移动、复制等操作之前,根据用户的选择,将指定文件进行预览。如果为多媒体文件,则该播放预览模块得到预览文件的全路径,然后调用媒体播放库,播放该预览文件;如果为非多媒体文件,则将用户选择的文件添加到文件列表,实现文件预览。The playback preview module is used to preview the specified file according to the user's selection before the user performs operations such as adding, deleting, moving, and copying the file. If it is a multimedia file, the playback preview module obtains the full path of the preview file, and then calls the media playback library to play the preview file; if it is a non-multimedia file, the file selected by the user is added to the file list to realize file preview.
接着,通过图2来说明本发明的流程,该图是本发明所提供的外围存储设备的文件管理方法的运作流程图,说明如下:Next, the flow process of the present invention is illustrated by Fig. 2, which is a flow chart of the operation of the file management method of the peripheral storage device provided by the present invention, as follows:
首先搜索外围存储设备,获得所有外围存储设备列表(步骤210),然后建立外围存储临时安装路径(步骤220),将该临时安装路径映射为系统路径(步骤230),接收搜索文件类型(步骤240),在该系统路径中搜索符合该类型的文件(步骤250),最后显示搜索结果(步骤260)。First search peripheral storage device, obtain all peripheral storage device list (step 210), then set up peripheral storage temporary installation path (step 220), this temporary installation path mapping is system path (step 230), receives search file type (step 240 ), search for files of this type in the system path (step 250), and finally display the search results (step 260).
请参见图3,在上述过程中,更包括文件预览的步骤,如果文件为多媒体文件,则首先得到所要预览文件的全路径(步骤310),调用媒体播放库,播放该预览文件(步骤320)。如果文件为非多媒体文件,则将用户选择的文件添加到文件列表,实现文件预览。See also Fig. 3, in above-mentioned process, more comprise the step of file preview, if file is multimedia file, then at first obtain the full path (step 310) of desired preview file, call media play storehouse, play this preview file (step 320) . If the file is a non-multimedia file, add the file selected by the user to the file list to realize file preview.
请参见图4,其中接收搜索文件类型是为接收用户的操作命令(步骤410),再根据该命令确定搜索文件类型(步骤420)。Please refer to FIG. 4 , where receiving the search file type is to receive a user's operation command (step 410 ), and then determine the search file type according to the command (step 420 ).
下面将以外围设备中的多媒体文件复制到硬盘为例,对本发明进行详细说明。请参见图5a~图5f,该图是本发明实施例的界面示意图。The present invention will be described in detail below by taking the copying of multimedia files in the peripheral device to the hard disk as an example. Please refer to Fig. 5a to Fig. 5f, which are schematic diagrams of the interface of the embodiment of the present invention.
首先请参见图5a,用户在播放器列表接口选择了“1复制”按钮,系统接收到该复制命令后,确定可以执行该复制命令的文件类型,然后在系统所有存储设备中搜索该类型的文件(如图5b所示)。显示搜索结果,请参见图5c,列表显示了所有需要类型的文件。用户在对列表中的文件进行操作之前,还可以对文件进行预览。请参见图5d,用户在搜索结果列表中选择所要预览的文件进行预览。经过预览后,选择要复制的文件(如图5e所示),然后将文件复制到的上述播放列表(如图5f所示),系统复制文件(如图5g所示),完成本次复制操作,返回图5c,等待用户操作。若用户选择“ESC离开”按钮,则返回图5a。First, please refer to Figure 5a, the user selects the "1 copy" button on the player list interface, after the system receives the copy command, it determines the file type that can execute the copy command, and then searches for files of this type in all storage devices of the system (as shown in Figure 5b). The search results are displayed, see Figure 5c, and the list shows all files of the desired type. Users can also preview the files before operating on the files in the list. Referring to Fig. 5d, the user selects the file to be previewed in the search result list for preview. After previewing, select the file to be copied (as shown in Figure 5e), then the above-mentioned playlist (as shown in Figure 5f) that the file is copied to, the system copies the file (as shown in Figure 5g), and completes the copying operation , return to Figure 5c, and wait for user operations. If the user selects the "ESC to leave" button, return to Figure 5a.
虽然本发明以前述的较佳实施例揭示如上,然其并非用以限定本发明,故任何熟悉此技术者,在不脱离本发明的精神和范围内,当可作些许的更动与润饰,因此本发明的保护范围当视申请专利范围所界定的为准。Although the present invention is disclosed above with the foregoing preferred embodiments, it is not intended to limit the present invention, so any person familiar with the art can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention should be as defined by the scope of the patent application.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2003101044672A CN1303543C (en) | 2003-10-30 | 2003-10-30 | File management system and method for peripheral storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2003101044672A CN1303543C (en) | 2003-10-30 | 2003-10-30 | File management system and method for peripheral storage device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1612123A CN1612123A (en) | 2005-05-04 |
CN1303543C true CN1303543C (en) | 2007-03-07 |
Family
ID=34756999
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2003101044672A Expired - Fee Related CN1303543C (en) | 2003-10-30 | 2003-10-30 | File management system and method for peripheral storage device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1303543C (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103123635B (en) * | 2011-11-21 | 2019-01-15 | 联想(北京)有限公司 | A kind of data search method and the electronic equipment using this method |
CN103902618A (en) * | 2012-12-28 | 2014-07-02 | 华为技术有限公司 | File search method and device |
CN103226605B (en) * | 2013-04-28 | 2017-01-11 | 惠州市德赛西威汽车电子股份有限公司 | Method for quickly displaying files in external storage device through vehicle-mounted multimedia equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020091658A1 (en) * | 2000-08-25 | 2002-07-11 | Jung-Hoon Bae | Multimedia electronic education system and method |
CN1374616A (en) * | 2001-03-01 | 2002-10-16 | 株式会社理光 | System and method for managing files |
US6636929B1 (en) * | 2000-04-06 | 2003-10-21 | Hewlett-Packard Development Company, L.P. | USB virtual devices |
-
2003
- 2003-10-30 CN CNB2003101044672A patent/CN1303543C/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6636929B1 (en) * | 2000-04-06 | 2003-10-21 | Hewlett-Packard Development Company, L.P. | USB virtual devices |
US20020091658A1 (en) * | 2000-08-25 | 2002-07-11 | Jung-Hoon Bae | Multimedia electronic education system and method |
CN1374616A (en) * | 2001-03-01 | 2002-10-16 | 株式会社理光 | System and method for managing files |
Also Published As
Publication number | Publication date |
---|---|
CN1612123A (en) | 2005-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5242686B2 (en) | Direct mass storage file indexing | |
US9268830B2 (en) | Multiple media type synchronization between host computer and media device | |
CN1914601A (en) | Audio/video content synchronization through playlists | |
US20070226384A1 (en) | Intelligent Synchronization of Media Player with Host Computer | |
CN1858746A (en) | Apparatus and method for storing and managing additional data in file system | |
CN1604025A (en) | Hierarchical in-place menus | |
CN1698050A (en) | Method and system for managing media file database | |
US20130318039A1 (en) | Method and apparatus to manage files for a portable device | |
KR20080024137A (en) | Playlist Structure for Large Playlists | |
CN1892601A (en) | Computer system and method for selectively installing one of multiple operating systems | |
KR20040060018A (en) | Integrated management method and system for multimedia contents | |
CN1684049A (en) | Information storage device, information storage method, and information storage processing program product | |
CN1922569A (en) | Methods and apparatuses for synchronizing and identifying content | |
CN1921001A (en) | Method and apparatus for selecting and playing multimedia file playable in embedded device | |
CN1303543C (en) | File management system and method for peripheral storage device | |
CN1459110A (en) | Device and method for managing audio data and recording devices | |
CN1812532A (en) | Information recording apparatus | |
CN1256676C (en) | Method and system for generating file list on portable electronic device | |
CN1776817A (en) | Methods of Accessing Data Sectors and Dealing with Bad Sectors in Hard Drives | |
CN114527907B (en) | Menu data processing method and device, computer equipment and storage medium | |
CN1501268A (en) | Computer hard disk grouping management system and method | |
CN1774760A (en) | Allocation class selection for file storage | |
US20090327344A1 (en) | Media foundation source reader | |
CN2662349Y (en) | active action disc | |
TWI225602B (en) | File management system of peripheral storage equipment and method thereof |
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20070307 Termination date: 20101030 |