Summary of the invention
In view of this, the invention provides a kind of method and device of opened file folder, while being opened due to file in prior art to overcome, the file icon of its inside is to be laid in the interface being opened simultaneously, when file icon is too much in file, by causing, show that file icon needs the larger problem of data volume to be processed.
For achieving the above object, the invention provides following technical scheme:
A method for opened file folder, is applied to intelligent television file management, comprising:
Receive the instruction of user's input, described instruction is used to indicate opens file to be opened;
According to described instruction, obtain the listed files corresponding with described file to be opened, in described listed files, store the file comprising in described file to be opened;
When described listed files is not sky, according to described listed files spanned file icon list, in described file icon list, store icon corresponding to file comprising in described file to be opened;
Preset order according to the icon of storing in described file icon list is shown described icon successively.
Preferably, the preset order of the described icon according to storing in described file icon list is shown described icon successively, comprising:
Obtain interval time, be that an icon starts time of showing next adjacent icon starts the interval of the time of displaying with it described interval time;
Preset order according to the icon of storing in described interval time and described file icon list is shown described icon successively.
Preferably, the preset order of the described icon according to storing in described interval time and described file icon list is shown described icon successively, comprising:
According to the preset order of the icon of storing in described interval time and described file icon list, choose icon to be shown;
Described in determining, treat exploded view target displaying reference position;
Described in calculating, treat the final display location of exploded view target;
Described in inciting somebody to action, icon to be shown moves to described final display location from described displaying reference position.
Preferably, describedly treat that exploded view target shows reference position described in determining, comprising:
Described in determining, treat that exploded view is marked in described file icon list residing position and treats that exploded view target shows reference position described in being.
Preferably, described in described calculating, treat that the final display location of exploded view target comprises:
Described in obtaining, treat that exploded view is marked on the sequence number in described file icon list;
Determine the default interface every row exploded view target number of showing, described default displaying interface is by after all icon arrangement tilings, the displaying interface of formation;
According to every row from left to right, row order is from top to bottom determined the display location number at described default displaying interface;
On described default displaying interface, determine with described in treat that the display location that location number that exploded view target sequence number is identical is corresponding is described final display location.
Preferably, described will described in icon to be shown from described displaying reference position, move to described final display location, comprising:
Described in inciting somebody to action, icon to be shown is applied to described final display location from described displaying reference position, and described translation comprises rectilinear translation and/or curvilinear translation.
Preferably, described will described in icon to be shown from described displaying reference position, be applied to described final display location, comprising:
In the process of icon translation described to be shown, treat exploded view target point-to-point speed described in adjustment.
Preferably, described will described in icon to be shown from described displaying reference position, move to described final display location, comprising:
In the process of icon moving described to be shown, treat exploded view target size described in adjustment;
And/or, in the process of icon moving described to be shown, icon to be shown described in upset.
A device for opened file folder, is applied to intelligent television file management, comprising:
Command reception unit, for receiving the instruction of user's input, described instruction is used to indicate opens file to be opened;
Listed files acquiring unit, for obtain the listed files corresponding with described file to be opened according to described instruction, stores the file comprising in described file to be opened in described listed files;
File icon list generation unit, when not being empty when described listed files, according to described listed files spanned file icon list, stores icon corresponding to file comprising in described file to be opened in described file icon list;
Icon shows unit, shows described icon successively for the preset order of the icon stored according to described file icon list.
Preferably, described icon shows unit comprises:
Obtain subelement interval time, for obtaining interval time, be that an icon starts time of showing next adjacent icon starts the interval of the time of displaying with it described interval time;
Icon to be shown obtains subelement, for the preset order of the icon stored according to described interval time and described file icon list, chooses icon to be shown;
Displaying reference position is determined subelement, described in determining, treats exploded view target displaying reference position;
Final display location computation subunit is treated the final display location of exploded view target described in calculating;
Mover unit, moves to described final display location for icon to be shown described in general from described displaying reference position.
Known via above-mentioned technical scheme, compared with prior art, the invention discloses a kind of method and device of opened file folder, be applied to intelligent television file management, receive user input be used to indicate the instruction of opening file to be opened after, according to this instruction, obtain the listed files corresponding with described file to be opened, when listed files is not sky, according to described listed files spanned file icon list, and according to the preset order of the icon of storing in described file icon list, show successively the icon of storing in described file icon list.By said method, when in file, file icon is too much, can avoid all icons to tile simultaneously and show the excessive problem of data volume of the single treatment causing, saved the time of opened file folder.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
From background technology, in prior art, when file is opened, the file icon of its inside is to be laid in the interface being opened simultaneously, based on above-mentioned file deployment method, when file icon is too much in file, will causes showing that file icon needs data volume to be processed larger, and then cause the time of opened file folder longer.
For this reason, the invention discloses a kind of method and device of opened file folder, be applied to intelligent television file management, receive user input be used to indicate the instruction of opening file to be opened after, according to this instruction, obtain the listed files corresponding with described file to be opened, when listed files is not sky, according to described listed files spanned file icon list, and according to the preset order of the icon of storing in described file icon list, show successively the icon of storing in described file icon list.By said method, when in file, file icon is too much, can avoid all icons to tile simultaneously and show the excessive problem of data volume of the single treatment causing, saved the time of opened file folder.
Relevant for the idiographic flow of method of above-mentioned opened file folder and the concrete structure of the device of above-mentioned opened file folder, will describe in detail by following examples.
Embodiment mono-
Referring to accompanying drawing 3, is the idiographic flow schematic diagram of the method for the embodiment of the present invention one disclosed a kind of opened file folder, and the method for this opened file folder is applied to intelligent television file management, and the method comprises:
S101: receive the instruction of user's input, described instruction is used to indicate opens file to be opened.
File management application support is opened file, when opened file folder, can check the content in opened file.In file management application, include a plurality of files, wherein any one or more can be as file to be opened, when user chooses file to be opened, inputs an instruction and just can indicate and open file to be opened.
S102: obtain the listed files corresponding with described file to be opened according to described instruction, store the file comprising in described file to be opened in described listed files.
File management application support is checked listed files under file, after receiving the instruction of user's input, can be by API(Application Programming Interface, application programming interface) obtain the listed files corresponding with described file to be opened, concrete, the file system access interface that can provide by java class libraries, as File(file) list Files(listed files in class) obtain with as described in listed files corresponding to file to be opened, in described listed files, store the All Files information under this document folder path, described fileinfo comprises file name, file path, whether file can be write, whether file is readable, whether file is hidden and any one or more in modification date of file.
S103: when described listed files is not sky, according to described listed files spanned file icon list, store icon corresponding to file comprising in described file to be opened in described file icon list;
S104: the preset order according to the icon of storing in described file icon list is shown described icon successively.
It should be noted that, when described listed files is sky, show empty page.Preset order is the order that icon is stored in described file icon list.
In sum, the present embodiment discloses a kind of method of opened file folder, be applied to intelligent television file management, receive user input be used to indicate the instruction of opening file to be opened after, according to this instruction, obtain the listed files corresponding with described file to be opened, when listed files is not sky, according to described listed files spanned file icon list, and show successively described icon according to the preset order of the icon of storing in described file icon list.By said method, when in file, file icon is too much, can avoid all icons to tile simultaneously and show the excessive problem of data volume of the single treatment causing, saved the time of opened file folder.
On the basis of the disclosed embodiment of the invention described above, the invention also discloses the method for another kind of opened file folder, will be elaborated by following examples below.
Embodiment bis-
Referring to accompanying drawing 3, is the idiographic flow schematic diagram of the method for the embodiment of the present invention two disclosed another kind of opened file folder, and the method for this opened file folder is applied to intelligent television file management, and the method comprises:
S201: receive the instruction of user's input, described instruction is used to indicate opens file to be opened.
S202: obtain the listed files corresponding with described file to be opened according to described instruction, store the file comprising in described file to be opened in described listed files.
S203: when described listed files is not sky, according to described listed files spanned file icon list, store icon corresponding to file comprising in described file to be opened in described file icon list;
It should be noted that, in the present embodiment, S201~S203 is similar step to the S101~S103 in embodiment mono-, and the present embodiment repeats no more, and specifically refers to the related description in embodiment mono-.
S204: obtain interval time, be that an icon starts time of showing next adjacent icon starts the interval of the time of displaying with it described interval time.
Be for each icon, to carry out the initial time of animation this interval time, it should be noted that, if each icon animation execution time is longer than the time interval, there will be a plurality of icons situation in animation process simultaneously.
S205: according to the preset order of the icon of storing in described interval time and described file icon list, choose icon to be shown.
S206: treat exploded view target displaying reference position described in determining.
It should be noted that, described in determining, treat that exploded view is marked in described file icon list residing position and treats that exploded view target shows reference position described in being.
Further it should be noted that, for icon to be shown, file to be opened is its parent folder, and it shows that reference position be the display position of page parent folder icon before.
S207: treat the final display location of exploded view target described in calculating.
It should be noted that, this process of calculating the final display location of described exploded view target is specific as follows: described in obtaining, treat that exploded view is marked on the sequence number in described file icon list, determine the default interface every row exploded view target number of showing, described default displaying interface is by after all icon arrangement tilings, the displaying interface forming, according to every row from left to right, row order is from top to bottom determined the display location number at described default displaying interface, on described default displaying interface, determine with described in treat that the display location that location number that exploded view target sequence number is identical is corresponding is described final display location.
S208: described in inciting somebody to action, icon to be shown moves to described final display location from described displaying reference position.
Described in inciting somebody to action, icon to be shown is applied to described final display location from described displaying reference position, and described translation comprises rectilinear translation and/or curvilinear translation.In the process of icon translation described to be shown, described in can adjusting, treat exploded view target point-to-point speed, described in also can adjusting, treat exploded view target size, after first becoming greatly, diminish, be equivalent to have one near the sensation of user's viewpoint; Can also, in the process of icon moving described to be shown, there is a rollover effect.Certainly, can above-mentioned several effects be combined with, to this, the present invention does not limit simultaneously.
In file to be opened, after all icon shows, this document folder is opened completely.
It should be noted that, step S204~S208 is the detailed description to the S104 in embodiment of the method one.
In sum, the present embodiment discloses a kind of method of opened file folder, be applied to intelligent television file management, can with specific dynamic effect, show successively according to the preset order of the icon of storing in file icon list the icon of storing in described file icon list.Pass through said method, when in file, file icon is too much, can avoid all icons to tile simultaneously and show the excessive problem of data volume of the single treatment causing, save the time of opened file folder, but also further strengthened user's visual experience.
In the disclosed embodiment of the invention described above, describe method in detail, for method of the present invention, can adopt the device of various ways to realize, therefore the invention also discloses a kind of device, provide specific embodiment below and be elaborated.
Embodiment tri-
Referring to accompanying drawing 5, is the device concrete structure schematic diagram of the embodiment of the present invention three disclosed a kind of opened file folder, and the application of installation of this opened file folder is in intelligent television file management, and it specifically comprises as lower unit:
Command reception unit 10, for receiving the instruction of user's input, described instruction is used to indicate opens file to be opened.
Listed files acquiring unit 11, for obtain the listed files corresponding with described file to be opened according to described instruction, stores the file comprising in described file to be opened in described listed files.
File icon list generation unit 12, when not being empty when described listed files, according to described listed files spanned file icon list, stores icon corresponding to file comprising in described file to be opened in described file icon list;
Icon shows unit 13, shows described icon successively for the preset order of the icon stored according to described file icon list.
It should be noted that, relevant for the function of above-mentioned unit, realize and refer to the associated description in embodiment of the method, the present embodiment repeats no more.
Embodiment tetra-
Referring to accompanying drawing 6, is the concrete structure schematic diagram of the device of the embodiment of the present invention four disclosed another kind of opened file folder, and the method for this opened file folder comprises:
Command reception unit 20, for receiving the instruction of user's input, described instruction is used to indicate opens file to be opened.
Listed files acquiring unit 21, for obtain the listed files corresponding with described file to be opened according to described instruction, stores the file comprising in described file to be opened in described listed files.
File icon list generation unit 22, when not being empty when described listed files, according to described listed files spanned file icon list, stores icon corresponding to file comprising in described file to be opened in described file icon list;
Obtain subelement 23 interval time, for obtaining interval time, be that an icon starts time of showing next adjacent icon starts the interval of the time of displaying with it described interval time.
Icon to be shown obtains subelement 24, for the preset order of the icon stored according to described interval time and described file icon list, chooses icon to be shown.
Displaying reference position is determined subelement 25, described in determining, treats exploded view target displaying reference position.
Final display location computation subunit 26 is treated the final display location of exploded view target described in calculating.
Mover unit 27, moves to described final display location for icon to be shown described in general from described displaying reference position.
It should be noted that, relevant for the function of above-mentioned unit, realize and refer to the associated description in embodiment of the method, the present embodiment repeats no more.
In sum: the method and the device that the embodiment of the invention discloses a kind of opened file folder, be applied to intelligent television file management, receive user input be used to indicate the instruction of opening file to be opened after, according to this instruction, obtain the listed files corresponding with described file to be opened, when listed files is not sky, according to described listed files spanned file icon list, and show successively described icon according to the preset order of the icon of storing in described file icon list.By said method, when in file, file icon is too much, can avoid all icons to tile simultaneously and show the excessive problem of data volume of the single treatment causing, saved the time of opened file folder.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed device of embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part partly illustrates referring to method.
The software module that the method for describing in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to carry out, or the combination of the two is implemented.Software module can be placed in the storage medium of any other form known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
Above-mentioned explanation to the disclosed embodiments, makes professional and technical personnel in the field can realize or use the present invention.To the multiple modification of these embodiment, will be apparent for those skilled in the art, General Principle as defined herein can, in the situation that not departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.