The content of the invention
Technical problem to be solved of the embodiment of the present invention is, there is provided a kind of catalog indication method and device, realizes
The catalogue of different levels is switched over into display in same interface.
In a first aspect, the embodiments of the invention provide a kind of catalog indication method, including:
Detect first switching command of the user for the first hierarchical directory in current interface;
First hierarchical directory is switched to by the second hierarchical directory according to first switching command detected, and will
Second hierarchical directory is shown in the current interface, wherein, second hierarchical directory is first hierarchical directory
Higher level or subprime directory.
With reference in a first aspect, in the first possible implementation, first switching that the basis detects refers to
First hierarchical directory is switched to the second hierarchical directory by order, and second hierarchical directory is included in the current interface
After upper, in addition to:
Second switching command of the user for the second hierarchical directory in the current interface is detected, second switching refers to
Make for indicating that the catalogue of same level is switched over into display in the current interface;
Other mesh of same level will be in second hierarchical directory according to second switching command detected
Record is shown in the current interface.
With reference in a first aspect, in second of possible implementation, first switching command is slip instruction, described
First hierarchical directory is switched to by the second hierarchical directory according to first switching command detected, and by described second
Hierarchical directory is shown in the current interface, including:
First hierarchical directory is switched to that the slip instruction indicates according to the slip instruction detected the
Two hierarchical directories, and second hierarchical directory that the slip instruction is indicated is included in the current interface.
With reference in a first aspect, in the third possible implementation, second switching command is slip instruction, described
Other catalogues that same level is in second hierarchical directory are included according to second switching command detected
In the current interface, including:
What the slip instruction according to detecting indicated the slip instruction is in same with second hierarchical directory
Other catalogues of one level are shown in the current interface.
With reference in a first aspect, in the 4th kind of possible implementation, viewing area corresponding to second hierarchical directory
In be provided with virtual switching key, second switching command is clicks on the click commands of the virtual switching key;
Second switching command that the basis detects by with second hierarchical directory be in same level its
Its catalogue is shown in the current interface, including:
What the click commands according to detecting indicated the click commands is in same with second hierarchical directory
Other catalogues of one level are shown in the current interface.
Second aspect, the embodiments of the invention provide a kind of terminal, including:
First detection unit, for detecting first switching command of the user for the first hierarchical directory in current interface;
First display unit, for being switched to first hierarchical directory according to first switching command detected
Second hierarchical directory, and second hierarchical directory is included in the current interface, wherein, second hierarchical directory is
The higher level of first hierarchical directory or subprime directory.
With reference to second aspect, in the first possible implementation, in addition to:
Second detection unit, refer to for detecting user for the second switching of the second hierarchical directory in the current interface
Order, second switching command are used to indicate that the catalogue of same level is switched over into display in the current interface;
Second display unit, for will be according to second switching command detected with second hierarchical directory
Other catalogues of same level are shown in the current interface.
With reference to second aspect, in second of possible implementation, first switching command is slip instruction, described
First display unit is specifically used for first hierarchical directory is switched into the slip according to the slip instruction detected
The second hierarchical directory of instruction is instructed, and second hierarchical directory that the slip instruction is indicated includes working as prezone described
On face.
With reference to second aspect, in the third possible implementation, second switching command is slip instruction, described
Second display unit is specifically used for indicating the slip instruction with the second layer according to the slip instruction that detects
Other catalogues that level catalogue is in same level are shown in the current interface.
With reference to second aspect, in the 4th kind of possible implementation, viewing area corresponding to second hierarchical directory
In be provided with virtual switching key, second switching command is clicks on the click commands of the virtual switching key;
Second display unit is specifically used for indicate the click commands according to the click commands detected
Other catalogues that same level is in second hierarchical directory are shown in the current interface.
Using the embodiment of the present invention, have the advantages that:
By implementing the embodiment of the present invention, the switching of different levels catalogue input in same interface is shown according to user please
Ask, the catalogue of different levels is switched over into display in same interface, user is when checking the subdirectory of different files, nothing
It need to repeat and return to main interface operation, so as to greatly reduce troublesome operation when user checks different levels catalogue.
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 carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
It should be noted that the term used in embodiments of the present invention is only merely for the mesh of description specific embodiment
, and it is not intended to be limiting the present invention." one of singulative used in the embodiment of the present invention and appended claims
Kind ", " described " and "the" are also intended to including most forms, unless context clearly shows that other implications.It is also understood that this
Term "and/or" used herein refers to and comprising any or all possible group associated of list items purpose of one or more
Close.
The embodiments of the invention provide a kind of catalog indication method and terminal, realizes the catalogue by different levels same
Display is switched in interface.For the ease of understanding the embodiment of the present invention, below first to the catalogue display side of the embodiment of the present invention
Method is described.
It is the schematic flow sheet of the first embodiment of catalog indication method provided in an embodiment of the present invention referring to Fig. 1, the party
Method is applied to terminal, and this method includes:
Step S101:Detect first switching command of the user for the first hierarchical directory in current interface;
Specifically, terminal detects user and cut in the terminal in current interface for the first of the input of the first hierarchical directory
Instruction is changed, first switching command is used to indicate the first hierarchical directory in the current interface switching to the first layer
Second hierarchical directory corresponding to level catalogue, so as to complete the switching between first hierarchical directory and the second hierarchical directory.Its
In, the terminal can include but is not limited to:Smart mobile phone (such as Android phone, iOS mobile phones), mobile internet device
The internet device such as (MID, Mobile Internet Devices) or wearable intelligent equipment.First switching command can
To include but is not limited to:Slip instruction and click commands.The position of the first switching command triggering can include but is not limited to:
First hierarchical directory corresponding directory display area in the current interface.
For example, in the terminal current interface (root) include two it is different classes of under subdirectory, respectively first
Category list and second category catalogue, the first category mesh is shown in directory display area corresponding to the first category catalogue
First hierarchical directory of record, the of the second category catalogue is shown in directory display area corresponding to the second category catalogue
One hierarchical directory, the terminal detect first hierarchical directory input of the user for two classifications in the current interface
The first switching command, when the terminal detects that the user is directed to the first hierarchical directory corresponding to the first category catalogue
First switching command is have input, then the terminal switches to the first hierarchical directory in the first category catalogue described
Second hierarchical directory corresponding to the first hierarchical directory in first category catalogue;When the terminal detects that the user is directed to institute
State the first hierarchical directory corresponding to second category catalogue and have input first switching command, then the terminal is by second class
The first hierarchical directory in other catalogue switches to the second level mesh corresponding to the first hierarchical directory in the second category catalogue
Record, to realize that the switching in same category between different levels catalogue is all realized in same interface.Reference can be made to Fig. 1 a, are this hair
The surface chart of the first embodiment for the catalogue display interface that bright embodiment provides, in the catalogue display interface, including document
The directory display area of five classifications under root, respectively picture library catalogue, music catalog, videogram, using catalogue with
And game contents, the first hierarchical directory in the picture library class catalogue that viewing area corresponding to 1011 is shown in Fig. 1 a, i.e. picture library,
The catalogue that viewing area corresponding to 1013 is shown is the first hierarchical directory in Music Class record, i.e. music.Wherein work as described
Directory display area in front interface can be with icon corresponding to Display directory title or catalogue.
Step S103:First hierarchical directory is switched to the second level by first switching command according to detecting
Catalogue, and second hierarchical directory is included in the current interface, wherein, second hierarchical directory is described first
The higher level of hierarchical directory or subprime directory.
Specifically, first hierarchical directory is switched to institute by the terminal according to first switching command detected
The second hierarchical directory corresponding to the first hierarchical directory is stated, second hierarchical directory is included in the current interface, and institute
State the second hierarchical directory and work as prezone described for the higher level of first hierarchical directory or subprime directory, second hierarchical directory
The position shown in face does not limit, and may be displayed on first hierarchical directory corresponding catalogue in the current interface and shows
Region.
For example, reference can be made to Fig. 1 a, when the terminal detects first that the user is directed in the first category catalogue
After the slip instruction of hierarchical directory, i.e. picture library catalogue input, next hierarchical directory corresponding to the picture library catalogue is included in institute
Viewing area corresponding to 1011 is stated, then the subdirectory for picture library catalogue that viewing area corresponding to 1011 is shown, i.e. picture 1, figure
Piece 2 or picture 3 ..., and the subdirectory in the subdirectory under the picture library catalogue shown in viewing area corresponding to picture library catalogue
Number is not especially limited in embodiments of the present invention, when the second hierarchical directory corresponding to picture library catalogue is switched to by the terminal
When in the current interface, at least one picture subdirectories can be shown in picture library viewing area corresponding to 1011, and show
Picture subdirectories can be picture name, picture number or iconic content, be not especially limited in the embodiment of the present invention.
Further, if first switching command is slip instruction, according to the slip instruction detected by described in
First hierarchical directory switches to the second hierarchical directory of slip instruction instruction, and described that the slip instruction is indicated
Two hierarchical directories are shown in the current interface.
Specifically, when first switching command is slip instruction, can be sentenced according to the glide direction of the slip instruction
The user of breaking needs the upper level catalogue for switching to first hierarchical directory still to switch to first hierarchical directory
Next stage catalogue.So as to the slip instruction inputted by the user detected, realize same category in same interface
Master catalogue and subdirectory between arbitrarily switch over.
For example, when detecting the instruction that the user slides to the right for first hierarchical directory, by described first
Next hierarchical directory is switched to the current interface corresponding to hierarchical directory, when detecting that the user is directed to first level
During the instruction that catalogue is slided to the left, last layer level catalogue corresponding to first hierarchical directory is switched to the current interface.
It is the schematic flow sheet of the second embodiment of catalog indication method provided in an embodiment of the present invention referring to Fig. 2, the party
Method is applied to terminal, and this method includes:
Step S201:Detect first switching command of the user for the first hierarchical directory in current interface;
Specifically, terminal detects user and cut in the terminal in current interface for the first of the input of the first hierarchical directory
Instruction is changed, first switching command is used to indicate the first hierarchical directory in the current interface switching to the first layer
Second hierarchical directory corresponding to level catalogue, so as to complete the switching between first hierarchical directory and the second hierarchical directory.Its
In, the terminal can include but is not limited to:Smart mobile phone (such as Android phone, iOS mobile phones), mobile internet device
The internet device such as (MID, Mobile Internet Devices) or wearable intelligent equipment.First switching command can
To include but is not limited to:Slip instruction and click commands.The position of the first switching command triggering can include but is not limited to:
First hierarchical directory corresponding directory display area in the current interface.
For example, in the terminal current interface (root) include two it is different classes of under subdirectory, respectively first
Category list and second category catalogue, the first category mesh is shown in directory display area corresponding to the first category catalogue
First hierarchical directory of record, the of the second category catalogue is shown in directory display area corresponding to the second category catalogue
One hierarchical directory, the terminal detect first hierarchical directory input of the user for two classifications in the current interface
The first switching command, when the terminal detects that the user is directed to the first hierarchical directory corresponding to the first category catalogue
First switching command is have input, then the terminal switches to the first hierarchical directory in the first category catalogue described
Second hierarchical directory corresponding to the first hierarchical directory in first category catalogue;When the terminal detects that the user is directed to institute
State the first hierarchical directory corresponding to second category catalogue and have input first switching command, then the terminal is by second class
The first hierarchical directory in other catalogue switches to the second level mesh corresponding to the first hierarchical directory in the second category catalogue
Record, to realize the switching in same category between different levels catalogue.Reference can be made to Fig. 1 a, are catalogue provided in an embodiment of the present invention
The surface chart of the first embodiment of display interface, in the catalogue display interface, including five classifications under DocumentRoot
Directory display area, respectively picture library catalogue, music catalog, videogram, using catalogue and game contents, in Fig. 1 a
The first hierarchical directory in the picture library class catalogue that viewing area corresponding to 1011 is shown, i.e. picture library, viewing area corresponding to 1013
The catalogue of display is the first hierarchical directory in Music Class record, i.e. music.Catalogue wherein in the current interface is shown
Region can be with icon corresponding to Display directory title or catalogue.
Step S203:First hierarchical directory is switched to the second level by first switching command according to detecting
Catalogue, and second hierarchical directory is included in the current interface, wherein, second hierarchical directory is described first
The higher level of hierarchical directory or subprime directory.
Specifically, first hierarchical directory is switched to institute by the terminal according to first switching command detected
The second hierarchical directory corresponding to the first hierarchical directory is stated, second hierarchical directory is included in the current interface, and institute
State the second hierarchical directory and work as prezone described for the higher level of first hierarchical directory or subprime directory, second hierarchical directory
The position shown in face does not limit, and may be displayed on first hierarchical directory corresponding catalogue in the current interface and shows
Region.
For example, reference can be made to Fig. 1 a, when the terminal detects first that the user is directed in the first category catalogue
After the slip instruction of hierarchical directory, i.e. picture library catalogue input, next hierarchical directory corresponding to the picture library catalogue is included in institute
Viewing area corresponding to 1011 is stated, then the subdirectory for picture library catalogue that viewing area corresponding to 1011 is shown, i.e. picture 1, figure
Piece 2 or picture 3 ..., and the subdirectory in the subdirectory under the picture library catalogue shown in viewing area corresponding to picture library catalogue
Number is not especially limited in embodiments of the present invention, when the second hierarchical directory corresponding to picture library catalogue is switched to by the terminal
When in the current interface, at least one picture subdirectories can be shown in picture library viewing area corresponding to 1011, and show
Picture subdirectories can be picture name, picture number or iconic content, be not especially limited in the embodiment of the present invention.
Further, if first switching command is slip instruction, according to the slip instruction detected by described in
First hierarchical directory switches to the second hierarchical directory of slip instruction instruction, and described that the slip instruction is indicated
Two hierarchical directories are shown in the current interface.
Specifically, when first switching command is slip instruction, can be sentenced according to the glide direction of the slip instruction
The user of breaking needs the upper level catalogue for switching to first hierarchical directory still to switch to first hierarchical directory
Next stage catalogue.So as to the slip instruction inputted by the user detected, realize same category in same interface
Master catalogue and subdirectory between arbitrarily switch over.
For example, when detecting the instruction that the user slides to the right for first hierarchical directory, by described first
Next hierarchical directory is switched to the current interface corresponding to hierarchical directory, when detecting that the user is directed to first level
During the instruction that catalogue is slided to the left, last layer level catalogue corresponding to first hierarchical directory is switched to the current interface.
Step S205:Second switching command of the user for the second hierarchical directory in the current interface is detected, it is described
Second switching command is used to indicate that the catalogue of same level is switched over into display in the current interface;
Specifically, terminal detection terminal user in the terminal in current interface for the of the input of the second hierarchical directory
Two switching commands, second switching command be used for indicate by the second hierarchical directory in the current interface switch to it is described
Second hierarchical directory is in other catalogues of same level, so as to be realized in the current interface between the catalogue of level
Switching display.Second switching command can include but is not limited to:Slip instruction or click commands.Second switching command
The position of triggering can include but is not limited to:Second hierarchical directory corresponding catalogue viewing area in the current interface
Domain.
For example, cut when the terminal receives user for second of the second hierarchical directory input in first category catalogue
When changing instruction, by other two level mesh that same level catalogue is in second hierarchical directory in the first category catalogue
Record is shown in the current interface of the terminal, when being shown in viewing area corresponding to picture library as the picture in picture library subdirectory
When 1, when the terminal receives the second switching command that the user inputs for picture 1, it will be in same with the picture 1
Under category list, and other catalogues in same level catalogue, as picture 2 or picture 3 are switched to the current interface.
Step S207:Same level will be in second hierarchical directory according to second switching command detected
Other catalogues be shown in the current interface.
Specifically, the terminal will be in same according to second switching command detected with second hierarchical directory
Other catalogues switching of one level is shown in the current interface, to realize any switching laws between same level catalogue.
Further, if second switching command is slip instruction, according to the slip instruction detected by described in
Other catalogues that same level is in second hierarchical directory of slip instruction instruction are shown in the current interface;
Specifically, when second switching command is slip instruction, can be sentenced according to the glide direction of the slip instruction
The disconnected user, which needs to switch to the upper second-level directory for being in same level with second hierarchical directory, still to be switched to
Next second-level directory of same level is in second hierarchical directory.So as to what is inputted by the user detected
Slip instruction, realizing will arbitrarily be cut in same interface between the same category of different subdirectories being in same level
Change.
For example, when detecting that the user is directed to the instruction of the second hierarchical directory upward sliding, will be with described the
The upper second-level directory that two hierarchical directories are in same level is switched to the current interface, when detecting that the user is directed to
During the instruction of the second hierarchical directory slide downward, second hierarchical directory is in next two level mesh of same level
Record is switched to the current interface.Reference can be made to Fig. 2 a, for the second embodiment of catalogue display interface provided in an embodiment of the present invention
Surface chart, when the terminal detect the user for picture 1 input downward sliding instruction after, will with picture 1
Viewing area corresponding to picture library is shown in other catalogues of same level, such as picture 2, picture 3 or picture 4 ... switching
Domain.After all catalogues under to each DocumentRoot carry out above operation, finally shown in the terminal current interface
Effect can be found in Fig. 2 b, be the surface chart of the 3rd embodiment of catalogue display interface provided in an embodiment of the present invention, in figure 2b,
Different classes of different levels catalogue can be shown in same interface.
Further, if being provided with virtual switching key in viewing area corresponding to second hierarchical directory, described
Two switching commands is click on the click commands of the virtual switching key, according to the click commands detected by the click
Other catalogues that same level is in second hierarchical directory of instruction instruction are shown in the current interface.
Specifically, virtual switching key, second switching are provided with viewing area corresponding to second hierarchical directory
, can be according to the virtual switching key of the click commands triggering when instructing to click on the click commands of the virtual switching key
Judge that the user needs to switch to the upper second-level directory for being in same level with second hierarchical directory still to switch
To next second-level directory that same level is in second hierarchical directory.So as to be inputted by the user detected
Slip instruction, realizing in same interface will arbitrarily be carried out between the same category of different subdirectories being in same level
Switching.In some other executable embodiment, the user can also be received for described by the button of the terminal
Second hierarchical directory input the second switching command, so as to realize by with second hierarchical directory be in same level other
Catalogue switches the current interface for being shown to the terminal.
For example, when detecting that the user passes through switching up in viewing area corresponding to second hierarchical directory
During the click commands of virtual key input, the upper second-level directory that same level is in second hierarchical directory is switched
To the current interface, when detecting that the user passes through the downward switching in viewing area corresponding to second hierarchical directory
Virtual key input click commands when, by second hierarchical directory be in same level next second-level directory switching
To the current interface.
The above-mentioned method for illustrating the embodiment of the present invention, following for being easy to preferably implement the embodiment of the present invention
Such scheme, correspondingly, the associated terminal for implementing such scheme for coordinating is also provided below.
The structural representation of the first embodiment of terminal provided in an embodiment of the present invention as shown in Figure 3, terminal 30 include:
First detection unit 301 and the first display unit 303, wherein
First detection unit 301, refer to for detecting user for the first switching of the first hierarchical directory in current interface
Order;
First display unit 303, for being cut first hierarchical directory according to first switching command detected
The second hierarchical directory is shifted to, and second hierarchical directory is included in the current interface, wherein, the second level mesh
Record the higher level for first hierarchical directory or subprime directory.
Further, first display unit 303 is specifically used for described the according to the slip instruction that detects
One hierarchical directory switches to the second hierarchical directory of the slip instruction instruction, and described second that the slip instruction is indicated
Hierarchical directory is shown in the current interface.
It will be appreciated that the function of each functional module of the terminal 30 of the present embodiment can be according to above-mentioned Fig. 1 embodiments of the method
Method specific implementation, here is omitted.
Further, the structural representation of the second embodiment of terminal provided in an embodiment of the present invention as shown in Figure 4, eventually
End 30 includes:Outside first detection unit 301 and the first display unit 303, in addition to:Second detection unit 305 and the second display
Unit 307, wherein
Second detection unit 305, cut for detecting user for second of the second hierarchical directory in the current interface
Instruction is changed, second switching command is used to indicate that the catalogue of same level is switched over into display in the current interface;
Second display unit 307, second switching command detected for basis will be with second hierarchical directory
Other catalogues in same level are shown in the current interface.
Further, second display unit 307 is specifically used for the cunning according to the slip instruction that detects
Other catalogues that same level is in second hierarchical directory of dynamic instruction instruction are shown in the current interface;
Further, second display unit 307 is specifically used for according to the click commands detected by described in
Other catalogues that same level is in second hierarchical directory of click commands instruction are shown in the current interface.
It will be appreciated that the function of each functional module of the terminal 30 of the present embodiment can be according to above-mentioned Fig. 2 embodiments of the method
Method specific implementation, here is omitted.
In summary, by implementing the embodiment of the present invention, different levels catalogue in same interface is inputted according to user
Switching display request, switches over display, user checks different files by the catalogue of different levels in same interface
During subdirectory, main interface operation is returned to without repeating, so as to greatly reduce when user checks different levels catalogue
Troublesome operation.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above disclosed power for being only a kind of preferred embodiment of the present invention, the present invention can not being limited with this certainly
Sharp scope, one of ordinary skill in the art will appreciate that realizing all or part of flow of above-described embodiment, and weighed according to the present invention
Profit requires made equivalent variations, still falls within and invents covered scope.