CN102298596B - File manager and file management method for the same - Google Patents
File manager and file management method for the same Download PDFInfo
- Publication number
- CN102298596B CN102298596B CN201010217304.5A CN201010217304A CN102298596B CN 102298596 B CN102298596 B CN 102298596B CN 201010217304 A CN201010217304 A CN 201010217304A CN 102298596 B CN102298596 B CN 102298596B
- Authority
- CN
- China
- Prior art keywords
- filename
- document element
- overlength
- file
- slide
- 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
Links
Abstract
The invention discloses a file manager, which is characterized by comprising a processing unit, a storage unit, an information receiving unit, a file name analyzing unit and a buffer memory. The processing unit is used for coordinating execution of commands of the whole manager; the storage unit stores file information, and a predetermined maximum length value displayable in each time of a file name of the file information; the information receiving unit is used for reading the file information from the storage unit and extracting the file name of each piece of file information; the file name analyzing unit is used for obtaining the file name from the information receiving unit, analyzing the length of each file name according to the maximum length value in the storage unit, extracting a overlong file name, and decomposing the extracted overlong file name into a plurality of file elements; and the buffer memory is used for receiving the file elements transmitted by the file name analyzing unit. With the file manager, the overlong file name can be conveniently and quickly displayed when a user slides from left to right on a touch screen with a finger.
Description
[affiliated technical field]
The present invention relates to a kind of file manager, file manager that a kind of handheld device uses and the method for management document thereof are provided especially.
[background technology]
Nowadays, the hand-hold electronic equipments such as mobile phone, PDA is towards miniaturization, networking and multimedia future development.It has been a kind of trend that increasing function is integrated on the hand-hold electronic equipments such as mobile phone, and for example, people are also not only confined to voice call and transmitting-receiving note to the use of mobile phone.Along with the continuous universalness of 3G technology in China, handheld device online has become fashion and focus, and the volume of mobile phone is also constantly compact.
During now most handheld device display file, all that a line shows a filename, but because handheld device screen is too little, filename shows not exclusively, the for example title of MP3 song, multimedia file title, most title is all longer, and handheld device screen only shows the part of a filename, and user cannot obtain complete filename.For such problem, partial document manager can word for word show overlength filename by the mode of roll display at present, multimedia players such as MP3, MP4, roll display file filename on screen.Yet the mode of roll display is word for word to show, user cannot the whole file name of quick obtaining, more loaded down with trivial details, and particularly when filename overlength, it is complete that overlength filename shows, needs the long period, to user, brings inconvenience.
[summary of the invention]
Technical matters to be solved by this invention is to provide a kind of method of file manager and management overlength filename thereof, and user is by the finger demonstration overlength filename that the mode of touch-screen can be easily and fast that horizontally slips.
For solving above technical matters, the present invention realizes by the following technical solutions:
A file manager, is characterized in that it comprises:
Processing unit, for coordinating the execution of whole manager order;
Storage unit, is stored with fileinfo, and the each displayable maximum length value of the filename of predefined fileinfo;
Information receiving unit, for read in fileinfo in storage unit, and extracts the filename of each fileinfo;
Filename resolution unit, for obtaining filename from information receiving unit, according to the maximum length value in storage unit, analyzes each filename length, extracts overlength filename, and extracted overlength filename is resolved into a plurality of document elements;
Memory buffer, the document element sending for receiving filename resolution unit.
Described overlength filename is after user's slide, processing unit obtains one or more document element according to sliding distance in memory buffer, and according to described maximum length value, document element is synthesized to output, the document element in the memory buffer of initialization simultaneously.
Document element in described memory buffer is arranged in order according to a virtual page coordinates, and the coordinate according to each document element on virtual page number can obtain position and the order of the final output of these document elements.
Described virtual page coordinates initial point changes, the starting point of user's slide of take is true origin, the coordinate on initial point right side is determined the document element that user exports while sliding at every turn successively left, and the coordinate in initial point left side is determined the document element that user exports while sliding at every turn successively to the right.
This document manager also comprises the touch-screen response unit being connected with processing unit, it is for monitoring slide, and judge whether the corresponding filename of current slide is overlength filename, overlength filename if, current slip information is sent to processing unit, by processing unit, carry out the order of sliding, if not overlength filename, not to this slide response.
This document manager also comprises the display unit being connected with processing unit, and for recording present displayed content, when having slide overlength filename, display unit also comprises the virtual microscler sliding window being presented on corresponding overlength filename.
The length of described each document element can be a character length or a plurality of character length, but the maximum length of each document element is no more than predefined maximum length value in storage unit.
The present invention also can realize in the following manner:
A method for file manager management document, is characterized in that it comprises:
Receive fileinfo;
The filename of fileinfo is analyzed to judgement, extract overlength filename, generate the document element that forms these overlength filenames;
Document element is stored in memory buffer, and these document elements are arranged in order according to a virtual page coordinates, the coordinate according to each document element on virtual page number can obtain position and the order of the final output of these document elements.
When having slide to trigger filename, response slide, determine whether file destination name is overlength filename, if it is according to the coordinate at slip starting point place, and take slip starting point as true origin, according to this coordinate, in memory buffer, obtain the document element of corresponding overlength filename, and export corresponding one or more document elements according to the length of slide and direction; If file destination name is not overlength filename, do not respond slide.
The method also comprises, after response slide, according to the each displayable maximum length value of predefined filename, document element is synthesized and export; Document element in initialization memory buffer, redefines position and the order of each document element.
The method of a kind of file manager of the present invention and management document thereof has following advantages:
User can browse overlength filename easily and efficiently by applying file manager of the present invention, in particular for the user who likes taking pictures and photographing by handheld device, can edit according to demand the filename of random length, full content that just can display file name by this overlength filename of finger sliding, make user's application mode more flexible, be not subject to the restriction of hand-held device own vol size.
In addition, user is in slide overlength filename, alternative document name can be along with slide moves, therefore the roll display of overlength filename can not affect the information that user obtains alternative document name, make user search intuitively file destination, avoid a slide full page is moved and affect user's obtaining full page information.
[accompanying drawing explanation]
Fig. 1 is the structured flowchart of file manager of the present invention.
Fig. 2 A is the schematic diagram of application file manager demonstration of the present invention overlength filename.
Fig. 2 B is after slide, applies the schematic diagram that file manager of the present invention shows overlength filename.
Fig. 3 is the process flow diagram of file management management overlength filename of the present invention.
Fig. 4 is after slide, and file manager of the present invention shows the method flow diagram of overlength filename.
[embodiment]
For further setting forth the present invention, reach technological means and the effect that predetermined object is taked, below in conjunction with accompanying drawing and preferred embodiment, embodiment, structure, feature and effect thereof to the method for a kind of file manager proposing according to the present invention and management document thereof, be described in detail as follows.
File manager of the present invention is mainly used in handheld devices such as mobile phone, PDA, multimedia player, and it comprises processing unit 10, filename resolution unit 11, information receiving unit 12, memory buffer 13, touch-screen response unit 14 and storage unit 15.
In described storage unit 15, store fileinfo, and the each displayable maximum length value of the filename of predefined fileinfo;
Described information receiving unit 12 reads in fileinfo in storage unit 15, and the filename of each fileinfo is extracted and sends filename resolution unit 11 and processing unit 10 to;
Processing unit 10, for coordinating the execution of whole manager order, shows the fileinfo receiving by display 20;
Described filename resolution unit 11, according to the interior predefined maximum length value of storage unit 15, is analyzed each filename length, extracts the filename that filename length surpasses this maximum length value, is called overlength filename; Extracted overlength filename is resolved into a plurality of document elements, and these document elements are arranged in order according to a virtual page coordinates, the coordinate according to each document element on virtual page number can obtain position and the order that these document elements occur on final display.The order of the horizontal ordinate of described each document element place coordinate for determining that this document element occurs, the intersection point of horizontal ordinate and ordinate is for determining the position of this document element on display.Particularly, described true origin changes, the starting point of user's slide of take is true origin, the coordinate on initial point right side determines that user is presented at the document element on display left at every turn successively while sliding, and the coordinate in initial point left side determines that user is presented at the document element on display to the right at every turn successively while sliding.The length of described each document element can be a character length or a plurality of character length, but the maximum length of each document element must not surpass the interior predefined maximum length value of storage unit 15.
Memory buffer 13 is for storing described document element, after user shows by slide overlength filename at every turn, processing unit 10 carries out initialization action, and the document element in memory buffer 13 is carried out to initialization, determines the coordinate of each document element on virtual page number.
Display unit 20 records present displayed content, when having slide overlength filename, display unit 20 also comprises the virtual microscler sliding window 30 (as shown in Figure 2) being presented on corresponding overlength filename, to facilitate user to confirm current operated file, and carries out the slip of correspondence direction.
Touch-screen response unit 14 monitoring slides, and judge whether the corresponding filename of current slide is overlength filename, overlength filename if, current slip information is sent to processing unit 10, by processing unit 10, carry out the order of sliding, according to sliding distance, in memory buffer 13, search a plurality of document elements with corresponding length, and by processing unit, according to maximum length value, document element is synthesized and the display unit 20 that passes through display shows, the document element in the memory buffer of initialization simultaneously 13.
As shown in Figure 2 A, to show overlength filename " conventional addresses of items of mail and frequent contact address " by slide, on initial screen, be merely able to display file element " conventional addresses of items of mail and ", remaining document element " frequent contact address " cannot show.User slides to the left, occurs virtual microscler sliding window 30, and shows according to sliding length the document element " frequent contact address " not occurring, as shown in Figure 2 B.
Particularly, as shown in Figures 3 and 4, the method for file manager management document of the present invention is as follows:
Receive fileinfo;
The filename of fileinfo is analyzed to judgement, extract overlength filename, generate the document element that forms these overlength filenames;
Document element is stored in memory buffer, and these document elements are arranged in order according to a virtual page coordinates, the coordinate according to each document element on virtual page number can obtain position and the order that these document elements occur on final display;
When having slide to trigger filename, response slide, determine whether file destination name is overlength filename, if it is according to the coordinate at slip starting point place, and take slip starting point as true origin, according to this coordinate, from obtaining the document element of this overlength filename in memory buffer, and according to the length of slide and direction, show one or more document elements of corresponding length; If file destination name is not overlength filename, do not respond slide;
According to the each displayable maximum length value of predefined filename, document element is synthesized and show;
Document element in initialization memory buffer, redefines position and the order of each document element.
Below only embodiments of the invention are described, but not in order to limit the present invention, various variations or the modification according to spirit of the present invention, made, all within the protection category of claim of the present invention.
Claims (9)
1. a file manager, is characterized in that it comprises:
Processing unit, for coordinating the execution of whole manager order;
Storage unit, is stored with fileinfo, and the displayable maximum length value of the filename of predefined fileinfo;
Information receiving unit, for read in fileinfo in storage unit, and extracts the filename of each fileinfo; Filename resolution unit, for obtaining filename from information receiving unit, according to the maximum length value in storage unit, analyzes each filename length, extracts overlength filename, and extracted overlength filename is resolved into a plurality of document elements;
Memory buffer, the document element sending for receiving filename resolution unit.
2. file manager according to claim 1, it is characterized in that: described overlength filename is after user's slide, processing unit obtains one or more document elements according to sliding distance in memory buffer, and according to described maximum length value, document element is synthesized to output, the document element in the memory buffer of initialization simultaneously.
3. file manager according to claim 1, it is characterized in that: the document element in described memory buffer is once arranged according to a virtual page coordinates, the coordinate according to each document element on virtual page number can obtain position and the order of the final output of described each document element.
4. file manager according to claim 3, it is characterized in that: described virtual page coordinates initial point changes, the starting point of user's slide of take is true origin, the coordinate on initial point right side is determined the document element that user exports while sliding at every turn successively left, and the coordinate in initial point left side is determined the document element that user exports while sliding at every turn successively to the right.
5. file manager according to claim 1, it is characterized in that: it also comprises the touch-screen response unit being connected with processing unit, it is for monitoring slide, and judge that current slip information sends to processing unit, by processing unit, carry out the order of sliding, if not overlength filename, not to this slide response.
6. file manager according to claim 1, it is characterized in that: it also comprises the display unit being connected with processing unit, be used for recording present displayed content, when having slide overlength filename, display unit also comprises the virtual microscler sliding window being presented on corresponding overlength filename.
7. according to the file manager described in claim 1 to 6 any one, it is characterized in that: the length of described each document element is a character length or how to character length, the maximum length of each document element is no more than predefined maximum length value in storage unit.
8. a method for file manager management document, is characterized in that it comprises:
Receive fileinfo;
The filename of fileinfo is analyzed to judgement, extract overlength filename, generate the document element that forms described overlength filename;
Document element is stored in memory buffer, and described document element once arranges according to a virtual page coordinates, the coordinate according to each document element on virtual page number can obtain position and the order of the final output of described each document element;
When having slide to trigger filename, corresponding slide, determine whether file destination name is overlength filename, if it is according to the coordinate at slip starting point place, and take slip starting point as true origin, according to this coordinate, in memory buffer, obtain the document element of corresponding overlength filename, and export corresponding one or more document elements according to the length of slide and direction; If file destination name is not overlength filename, do not respond slide.
9. the method for file manager management document according to claim 8, is characterized in that: it also comprises, after response slide, according to the each displayable maximum length value of predefined filename, document element is synthesized and export; Document element in initialization memory buffer, redefines position and the order of each document element.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010217304.5A CN102298596B (en) | 2010-06-23 | 2010-06-23 | File manager and file management method for the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010217304.5A CN102298596B (en) | 2010-06-23 | 2010-06-23 | File manager and file management method for the same |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102298596A CN102298596A (en) | 2011-12-28 |
CN102298596B true CN102298596B (en) | 2014-07-30 |
Family
ID=45359017
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010217304.5A Active CN102298596B (en) | 2010-06-23 | 2010-06-23 | File manager and file management method for the same |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102298596B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103809886B (en) * | 2012-11-12 | 2018-09-07 | 腾讯科技(深圳)有限公司 | A kind of cursor positioning method and mobile terminal |
JP6366262B2 (en) | 2013-12-10 | 2018-08-01 | キヤノン株式会社 | Information processing apparatus, control method for information processing apparatus, and program |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101662616A (en) * | 2009-09-17 | 2010-03-03 | 北京中科智网传媒技术有限公司 | Character rolling display method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006099898A (en) * | 2004-09-30 | 2006-04-13 | Matsushita Electric Ind Co Ltd | Recording medium controller |
JP4998051B2 (en) * | 2007-03-30 | 2012-08-15 | 株式会社Jvcケンウッド | File name acquisition device, file name acquisition method, and program |
-
2010
- 2010-06-23 CN CN201010217304.5A patent/CN102298596B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101662616A (en) * | 2009-09-17 | 2010-03-03 | 北京中科智网传媒技术有限公司 | Character rolling display method |
Non-Patent Citations (3)
Title |
---|
JP特开2006-99898A 2006.04.13 |
JP特开2008-250668A 2008.10.16 |
王亚丽,黄勇坚.《MP3播放器快速文件名显示的显示》.《电子技术》.2007,1-2页. * |
Also Published As
Publication number | Publication date |
---|---|
CN102298596A (en) | 2011-12-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107291356B (en) | File transmission display control method and device and corresponding terminal | |
CN103809905B (en) | Method and apparatus for managing the method and apparatus of message and for sending message | |
US9641471B2 (en) | Electronic device, and method and computer-readable recording medium for displaying message in electronic device | |
US8743069B2 (en) | Receiving input at a computing device | |
JP6051338B2 (en) | Page rollback control method, page rollback control device, terminal, program, and recording medium | |
US8724963B2 (en) | Method and system for gesture based searching | |
US20140152597A1 (en) | Apparatus and method of managing a plurality of objects displayed on touch screen | |
WO2017054144A1 (en) | Human machine interaction method and device for user terminal, and user terminal | |
CN103890703A (en) | Input control device, input control method, and input control program | |
CN102810023A (en) | Gesture recognition method and terminal equipment | |
US20120221969A1 (en) | Scrollable list navigation using persistent headings | |
CN112269798B (en) | Information display method and device and electronic equipment | |
US10409478B2 (en) | Method, apparatus, and recording medium for scrapping content | |
CN102710846A (en) | System and method for realizing electronic book page turning based on forced induction | |
CN108256071B (en) | Method and device for generating screen recording file, terminal and storage medium | |
US9261996B2 (en) | Mobile terminal including touch screen supporting multi-touch input and method of controlling the same | |
CN102298596B (en) | File manager and file management method for the same | |
CN107132927A (en) | Input recognition methods and device and the device for identified input character of character | |
CN110032320B (en) | Page rolling control method and device and terminal | |
CN106168951A (en) | Electronic installation and control method thereof | |
CN107402673A (en) | A kind of global search method, terminal and computer-readable recording medium | |
CN114491309A (en) | Picture processing method and device | |
CN106598449A (en) | Split screen display control device and method of terminal | |
CN108845735B (en) | Display method and electronic equipment | |
CN108121442A (en) | Operating method, device and the terminal device of three dimensions display interface |
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 |