CN108399002B - Folder switching method and device - Google Patents

Folder switching method and device Download PDF

Info

Publication number
CN108399002B
CN108399002B CN201710068007.0A CN201710068007A CN108399002B CN 108399002 B CN108399002 B CN 108399002B CN 201710068007 A CN201710068007 A CN 201710068007A CN 108399002 B CN108399002 B CN 108399002B
Authority
CN
China
Prior art keywords
folder
page
adjacent
target
gesture
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
Application number
CN201710068007.0A
Other languages
Chinese (zh)
Other versions
CN108399002A (en
Inventor
杨莹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Banma Zhixing Network Hongkong Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710068007.0A priority Critical patent/CN108399002B/en
Priority to TW106137748A priority patent/TW201830221A/en
Priority to PCT/CN2018/074224 priority patent/WO2018145581A1/en
Publication of CN108399002A publication Critical patent/CN108399002A/en
Application granted granted Critical
Publication of CN108399002B publication Critical patent/CN108399002B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Abstract

The application discloses a folder switching method and device. In the application, a first page of a first folder is displayed, wherein the folder switching request comprises a request generated according to a touch gesture, and the gesture direction of the touch gesture is used for determining a target folder; receiving a folder switching request, and determining a target page of a target folder according to the file switching request; and displaying the target page of the target folder. By the adoption of the method and the device, rapid switching among the folders can be achieved.

Description

Folder switching method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a folder switching method and apparatus.
Background
More and more applications can be run on the terminal, and for the convenience of user selection and the requirement of neat and beautiful desktop, a folder can be created on the desktop of the terminal at present, the folder can comprise a plurality of application icons, and a user can open the folder through user interaction, select an application icon from the folder, and start a corresponding application.
In the existing scheme, if a user needs to switch among different folders on a terminal desktop, the operation is complex. For example, the desktop of the terminal includes a folder a and a folder B, and the process of switching the folder a to the folder B by the user is as follows: clicking a backspacing key or a system desktop key to close the folder A and display a system desktop of the terminal; finding the icon of the folder B on the system desktop (if the system desktop comprises a plurality of pages and the pages of the folder A and the folder B are not adjacent, multiple sliding operations are needed); clicking the icon of the folder B to display the content of the folder B.
Therefore, it is a problem to be solved in the industry at present to provide a scheme for enabling a user to switch between folders on a terminal desktop conveniently and quickly.
Disclosure of Invention
The embodiment of the application provides a folder switching method and device, which are used for switching among different folders.
In a first aspect, a folder switching method is provided, including:
displaying a first page of a first folder;
receiving a folder switching request, and determining a target page of a target folder according to the file switching request; the folder switching request comprises a request generated according to a touch gesture, and the gesture direction of the touch gesture is used for determining a target folder;
and displaying the target page of the target folder.
Optionally, determining a target page of the target folder includes: and determining a target page of the target folder according to the gesture direction of the touch gesture and the position of the first page of the first folder in the adjacent relation of the folders.
Optionally, the folder adjacency relation includes a first adjacency relation in which sequentially arranged folders are included in a first dimension, and for a folder containing a plurality of pages, all the pages in the sequentially arranged folders are included in a second dimension;
determining a target page of a target folder according to the gesture direction of the touch gesture and the position of the first page of the first folder in the adjacent relation of the folders, wherein the determining comprises the following steps: if the gesture direction of the touch gesture corresponds to a first dimension in the first adjacent relation, determining a target folder in the first dimension according to the position of the first folder in the first adjacent relation, and determining a target page in the target folder; if the first page is one of a plurality of pages included in the first folder, and the gesture direction of the touch gesture corresponds to the second dimension in the first adjacent relationship, determining a target page in the first folder in the second dimension of the first folder according to the position of the first page of the first folder in the first adjacent relationship.
Optionally, determining a target page in the target folder includes: determining a home page of the target folder as a target page; or determining the page which is displayed last time in the target folder as a target page.
Optionally, in a case that the gesture direction of the touch gesture corresponds to the first dimension in the first adjacent relationship: if the gesture direction of the touch gesture is the first direction in the first dimension, determining a target folder for the first folder adjacent to the first folder in the first direction in the first dimension; and if the gesture direction of the touch gesture is the second direction in the first dimension, determining a target folder from the first folder and the adjacent folder in the second direction in the first dimension.
Optionally, when the first page is one of a plurality of pages included in the first folder, and the gesture direction of the touch gesture corresponds to a second dimension in the first adjacent relationship: if the gesture direction of the touch gesture is the first direction in the second dimension, determining the adjacent page of the first folder in the first direction in the second dimension as a target page; and if the gesture direction of the touch gesture is the second direction in the second dimension, determining the adjacent page of the first folder in the second direction in the second dimension as the target page.
Optionally, the folder adjacent relationship includes a second adjacent relationship, where the second adjacent relationship includes sequentially arranged folder pages, and all the pages of the same folder are arranged consecutively.
Optionally, determining a target page of the target folder according to the gesture direction of the touch gesture and the position of the first page of the first folder in the second adjacent relationship includes: if the gesture direction of the touch gesture is a first direction, determining the folder page adjacent to the first page of the first folder in the first direction as a target page of a target folder; if the gesture direction of the touch gesture is a second direction, determining that the folder page adjacent to the first page of the first folder in the second direction is a target page of a target folder, wherein the first direction is opposite to the second direction.
Optionally, the method further comprises: creating a folder according to a request for creating the folder, and adding information of the newly created folder to the adjacent relation of the folders; and deleting the folder according to the request for deleting the folder, and deleting the information of the deleted folder from the adjacent relation of the folders.
Optionally, the first page includes first adjacent folder prompt information and/or second adjacent folder prompt information; the first adjacent folder prompt message is used for prompting a first adjacent folder or a folder page of the first folder, and the second adjacent folder prompt message is used for prompting a second adjacent folder or a folder page of the first folder.
Optionally, the position of the first adjacent folder hint information in the first page is used to indicate the position of the first adjacent folder or folder page relative to the first folder; and/or the position of the prompt message of the second adjacent folder in the first page is used for indicating the position of the second adjacent folder or the folder page relative to the first folder.
Optionally, the first page further includes: the first direction prompt information corresponds to the prompt information of the first adjacent folder and is used for indicating the gesture direction, and the file switching request generated according to the gesture of the direction is used for displaying the first adjacent folder; and/or second direction prompt information, wherein the second direction prompt information corresponds to the second adjacent folder prompt information and is used for indicating the gesture direction, and the file switching request generated according to the gesture in the direction is used for displaying the second adjacent folder.
Optionally, the first page includes a first control and/or a second control, and the folder switching request is generated when the first control or the second control is triggered; the first control is used for displaying a first adjacent folder of the first folder when being triggered, and the second control is used for displaying a second adjacent folder of the first folder when being triggered.
Optionally, the position of the first control in the first page is used for indicating the position of the first adjacent folder relative to the first folder, and/or the position of the second control in the first page is used for indicating the position of the second adjacent folder relative to the first folder.
Optionally, the first page includes a third control and/or a fourth control, and the folder switching request is generated when the third control or the fourth control is triggered; the third control is used for showing a first adjacent page of the first page when being triggered, and the fourth control is used for showing a second adjacent page of the first page when being triggered.
Optionally, the position of the third control in the first page is used for indicating the position of the first adjacent page relative to the first page, and/or the position of the fourth control in the first page is used for indicating the position of the second adjacent page relative to the first page.
Optionally, the method further comprises: receiving a request for displaying a candidate target folder; and displaying N controls on the first page according to the request for displaying the candidate target folders, wherein the N controls correspond to the N candidate target folders one to one, each control is used for displaying the candidate target folder corresponding to the control when being triggered, and N is an integer greater than or equal to 1.
Optionally, thumbnails of the candidate target folders corresponding to the corresponding controls are displayed on the N controls.
A second aspect. Provided is a folder switching device including:
the display module is used for displaying a first page of the first folder;
the determining module is used for receiving a folder switching request and determining a target page of a target folder according to the file switching request; the folder switching request comprises a request generated according to a touch gesture, and the gesture direction of the touch gesture is used for determining a target folder;
the display module is further used for displaying the target page of the target folder.
Optionally, the determining module is specifically configured to: and determining a target page of the target folder according to the gesture direction of the touch gesture and the position of the first page of the first folder in the adjacent relation of the folders.
Optionally, the folder adjacency relation includes a first adjacency relation in which sequentially arranged folders are included in a first dimension, and for a folder containing a plurality of pages, all the pages in the sequentially arranged folders are included in a second dimension;
the determining module is specifically configured to: if the gesture direction of the touch gesture corresponds to a first dimension in the first adjacent relation, determining a target folder in the first dimension according to the position of the first folder in the first adjacent relation, and determining a target page in the target folder; if the first page is one of a plurality of pages included in the first folder, and the gesture direction of the touch gesture corresponds to the second dimension in the first adjacent relationship, determining a target page in the first folder in the second dimension of the first folder according to the position of the first page of the first folder in the first adjacent relationship.
Optionally, the determining module is specifically configured to: determining a home page of the target folder as a target page; or determining the page which is displayed last time in the target folder as a target page.
Optionally, the determining module is specifically configured to: under the condition that the gesture direction of the touch gesture corresponds to a first dimension in the first adjacent relation, if the gesture direction of the touch gesture is a first direction on the first dimension, determining a target folder for the first folder in an adjacent folder in the first direction of the first dimension; and if the gesture direction of the touch gesture is the second direction in the first dimension, determining a target folder from the first folder and the adjacent folder in the second direction in the first dimension.
Optionally, the determining module is specifically configured to: if the gesture direction of the touch gesture is the first direction on the second dimension, determining that the adjacent page of the first folder on the first direction of the second dimension is the target page; and if the gesture direction of the touch gesture is the second direction in the second dimension, determining the adjacent page of the first folder in the second direction in the second dimension as the target page.
Optionally, the folder adjacent relationship includes a second adjacent relationship, where the second adjacent relationship includes sequentially arranged folder pages, and all the pages of the same folder are arranged consecutively.
Optionally, the determining module is specifically configured to: if the gesture direction of the touch gesture is a first direction, determining the folder page adjacent to the first page of the first folder in the first direction as a target page of a target folder; if the gesture direction of the touch gesture is a second direction, determining that the folder page adjacent to the first page of the first folder in the second direction is a target page of a target folder, wherein the first direction is opposite to the second direction.
Optionally, the method further comprises: the folder processing module is used for creating a folder according to a folder creating request and adding information of the newly created folder to the adjacent relation of the folders; and deleting the folder according to the request for deleting the folder, and deleting the information of the deleted folder from the folder adjacent relation.
Optionally, the first page includes first adjacent folder prompt information and/or second adjacent folder prompt information; the first adjacent folder prompt message is used for prompting a first adjacent folder or a folder page of the first folder, and the second adjacent folder prompt message is used for prompting a second adjacent folder or a folder page of the first folder.
Optionally, the position of the first adjacent folder hint information in the first page is used to indicate the position of the first adjacent folder or folder page relative to the first folder; and/or the position of the prompt message of the second adjacent folder in the first page is used for indicating the position of the second adjacent folder or the folder page relative to the first folder.
Optionally, the first page further includes: the first direction prompt information corresponds to the prompt information of the first adjacent folder and is used for indicating the gesture direction, and the file switching request generated according to the gesture of the direction is used for displaying the first adjacent folder; and/or second direction prompt information, wherein the second direction prompt information corresponds to the second adjacent folder prompt information and is used for indicating the gesture direction, and the file switching request generated according to the gesture in the direction is used for displaying the second adjacent folder.
Optionally, the first page includes a first control and/or a second control, and the folder switching request is generated when the first control or the second control is triggered; the first control is used for displaying a first adjacent folder of the first folder when being triggered, and the second control is used for displaying a second adjacent folder of the first folder when being triggered.
Optionally, the position of the first control in the first page is used for indicating the position of the first adjacent folder relative to the first folder, and/or the position of the second control in the first page is used for indicating the position of the second adjacent folder relative to the first folder.
Optionally, the first page includes a third control and/or a fourth control, and the folder switching request is generated when the third control or the fourth control is triggered; the third control is used for showing a first adjacent page of the first page when being triggered, and the fourth control is used for showing a second adjacent page of the first page when being triggered.
Optionally, the position of the third control in the first page is used for indicating the position of the first adjacent page relative to the first page, and/or the position of the fourth control in the first page is used for indicating the position of the second adjacent page relative to the first page.
Optionally, the display module is further configured to: receiving a request for displaying a candidate target folder; and displaying N controls on the first page according to the request for displaying the candidate target folders, wherein the N controls correspond to the N candidate target folders one to one, each control is used for displaying the candidate target folder corresponding to the control when being triggered, and N is an integer greater than or equal to 1.
Optionally, thumbnails of the candidate target folders corresponding to the corresponding controls are displayed on the N controls.
In a third aspect, a communication device is provided, comprising: one or more processors; and one or more computer-readable media having instructions stored thereon, which, when executed by the one or more processors, cause the apparatus to perform the method of any of the first aspects described above.
In a fourth aspect, one or more computer-readable media are provided, the readable media having instructions stored thereon, which when executed by one or more processors, cause a communication device to perform the method of any of the first aspects above.
In the embodiment of the application, the first page of the first folder is displayed, after the folder switching request is received, the target page of the target folder is determined according to the folder switching request, and the target page of the target folder is displayed, so that switching between different folders is realized, and in the switching process, the target folder does not need to be selected by returning to a system desktop.
Drawings
Embodiments of the present application are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar elements.
FIGS. 1a, 1b illustrate a first folder adjacency diagram, according to some embodiments;
2a, 2b, 2c illustrate second folder adjacency diagrams, according to some embodiments;
FIG. 3 illustrates a schematic structural diagram of a folder switching apparatus, according to some embodiments;
FIG. 4 illustrates an electronic device operating system architecture diagram, in accordance with some embodiments;
FIG. 5 illustrates a folder switching process diagram, according to some embodiments;
FIG. 6 illustrates an exemplary folder page diagram containing adjacent file indicating information, in accordance with some embodiments;
FIG. 7 illustrates an exemplary folder page view containing adjacent file indicating information and direction indicating information, according to some embodiments;
FIG. 8 illustrates an exemplary folder page diagram that contains a first control and a second control, in accordance with some embodiments;
FIG. 9 illustrates a schematic diagram of a page with all candidate target folders displayed, according to some embodiments;
fig. 10 schematically illustrates an apparatus schematic according to some embodiments.
Detailed Description
While the concepts of the present application are susceptible to various modifications and alternative forms, specific embodiments thereof have been shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that there is no intention to limit the concepts of the application to the specific forms disclosed, but on the contrary, the intention is to cover all modifications, equivalents, and alternatives consistent with the application and the appended claims.
References in the specification to "one embodiment," "an illustrative embodiment," etc., indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may or may not include the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Further, it is believed that when a particular feature, structure, or characteristic is described in connection with an embodiment, it is submitted that it is within the knowledge of one skilled in the art to affect such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described. In addition, it should be understood that items included in the list in the form of "at least one of a, B, and C" may represent (a); (B) (ii) a (C) (ii) a (A and B); (A and C); (B and C); or (A, B and C). Similarly, an item listed in the form of "at least one of a, B, or C" may represent (a); (B) (ii) a (C) (ii) a (A and B); (A and C); (B and C) or (A, B and C).
In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored by one or more transitory or non-transitory machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. A machine-readable storage medium may be embodied as any storage device, mechanism, or other physical structure for storing or transmitting information in a form readable by a machine (e.g., volatile or non-volatile memory, media disk, or other medium).
In the drawings, some structural or methodical features may be shown in a particular arrangement and/or order. However, it is to be understood that such specific arrangement and/or ordering may not be required. Rather, in some embodiments, the features may be arranged in a different manner and/or order than shown in the illustrative figures. In addition, the inclusion of a structural or methodical feature in a particular figure is not meant to imply that such feature is required in all embodiments and may not be included or may be combined with other features in some embodiments.
The embodiment of the application can be applied to electronic equipment. The electronic device may be any suitable computing or mobile device, such as may include: a smart phone, a tablet computer, a notebook computer, a Personal Digital Assistant (PDA), a smart wearable device, or the like. The device can support touch operation and is provided with a touch screen, so that a user can operate the device conveniently.
When the electronic device is turned on and the operating system is started, a home screen area displayed on a desktop of the electronic device is called a desktop. The desktop can accommodate icons of a plurality of application programs and also can accommodate one or more folders. The folder is a control for accommodating a plurality of application icons, and a page displayed after the folder is opened comprises one or more application icons. The folders may be automatically generated by the operating system, for example, the operating system may place icons for common tools provided by the operating system in a "common tools" folder. Folders may also be created by the user as desired.
The embodiment of the application provides a convenient switching scheme among the folders on the desktop.
In order to realize convenient switching among different folders, in the embodiment of the application, the folders are regarded as objects which are continuously arranged in space, all the folders on a desktop are continuously arranged according to a certain sequence to form a folder adjacent relation, and when the folders are switched, a target folder or a target folder page can be determined according to the folder adjacent relation. The adjacent relation of the folders provided by the embodiment of the application mainly comprises the following steps:
first adjacency: the adjacent relationship between folders and folder pages is described in two dimensions. The file folder comprises sequentially arranged folders in one dimension, and for the folder with a plurality of pages, all the pages in the folder are sequentially arranged in a second dimension. Wherein the first dimension may be a longitudinal dimension and the second dimension may be a transverse dimension, or vice versa.
Fig. 1a shows an example of a first adjacency. The desktop comprises a folder A, a folder B and a folder C, wherein the folder A and the folder C respectively have only one page, the folder B has two pages, which are represented as a folder B-1 and a folder B-2, and the folder B-1 is a first page. In this arrangement, folder A, folder B, and folder C are arranged in order in the longitudinal dimension, and two pages ("folder B-1" and "folder B-2") of folder B are arranged in order in the transverse dimension in which folder B is located. Alternatively, folder a and folder C may be adjacent in the longitudinal dimension, forming a closed adjacent relationship.
The first adjacent relationship may be described and stored in a form of a list, a linked list, an array, or the like, and the data storage form of the adjacent relationship is not limited in the embodiment of the present application. For the folders provided by the operating system, the folders in the embodiment of the present application may be arranged in the first adjacent relationship according to a preset rule. When a user creates a new folder, the embodiment of the present application may create the folder according to a request of the user to create the folder, and add related information (such as an identifier of the folder) of the newly created folder to the first adjacent relationship. Still taking FIG. 1a as an example, if the user newly creates folder D and the folder D includes two pages ("folder D-1" and "folder D-2") and the top page is "folder D-1", the adjacency shown in FIG. 1a is updated as shown in FIG. 1b, with folder D added in the vertical dimension and two pages ("folder D-1" and "folder D-2") of folder D arranged in order in the horizontal dimension in which folder D is located. When a user deletes a folder, the embodiment of the present application may delete the folder according to a request for deleting the folder, and delete related information (such as an identifier of the folder) of the deleted folder from the first adjacent relationship. For example, if the user deletes folder D, the folder adjacency reverts to the structure shown in FIG. 1 a.
Second adjacent relationship: the adjacent relationship between folders and folder pages is described in one dimension. In this dimension, the pages of all folders are arranged in order. Wherein all pages of the same folder are arranged consecutively.
Fig. 2a schematically shows an example of a second adjacent relationship. The desktop comprises a folder A, a folder B and a folder C, wherein the folder A and the folder C respectively have only one page, the folder B has two pages, which are represented as a folder B-1 and a folder B-2, and the folder B-1 is a first page. In this adjacent relationship, folder a, the top page of folder B (folder B-1), the end page of folder B (folder B-2), and folder C are arranged in order in one dimension. Alternatively, in this dimension, the pages of folder A and the pages of folder C may also be adjacent, forming a closed adjacency.
The second adjacent relationship may be described and stored in a form of a list, a linked list, an array, or the like, and the data storage form of the adjacent relationship is not limited in the embodiment of the present application. For the folders provided by the operating system, the folders in the embodiment of the present application may be arranged in the second adjacent relationship according to a preset rule. When a user creates a new folder, the embodiment of the present application may create the folder according to a request of the user to create the folder, and add related information (such as a page identifier) of a page of the newly created folder to the second adjacent relationship. Still taking FIG. 2a as an example, if the user newly created folder D and two pages ("folder D-1" and "folder D-2") were included in folder D and the top page was "folder D-1", the adjacency shown in FIG. 2a is updated as shown in FIG. 2b, adding two pages ("folder D-1" and "folder D-2") of folder D in the lateral dimension. When the user deletes the folder, the embodiment of the present application may delete the folder according to the request for deleting the folder, and delete the related information of the pages of the deleted folder (such as the identification of the pages) from the second arrangement. For example, if the user deletes folder B, the folder adjacency is updated to the structure shown in FIG. 2 c.
In the embodiment of the application, under the condition that the first page of the first folder is currently displayed, if a folder switching request is received, the target page of the target folder can be determined according to the file switching request, and the target page of the target folder is displayed. When the target page of the target folder is determined, the target page of the target folder can be determined according to the switching direction requested by the file switching request and the position of the first page of the first folder in the folder adjacent relation.
Wherein the folder switching request may be a request generated according to a touch gesture. The gesture direction of the touch gesture is used for determining the target folder. Optionally, the touch gesture may include, but is not limited to, a swipe gesture. The folder switching request may also be a request generated according to other user interaction behaviors, which are not listed here.
The above process may be performed by the folder switching device. Fig. 3 exemplarily shows a schematic structural diagram of a folder switching device provided by an embodiment of the present application. As shown, the apparatus may comprise: a display module 301 and a determination module 302. The display module 301 may be configured to display a first page of a first folder; the determining module 302 may be configured to receive a folder switching request, and determine a target page of a target folder according to the folder switching request; the presentation module 301 may also be used to present the target page of the target folder determined by the determination module 302. The device is only an example, and all devices capable of implementing the folder switching method provided by the embodiment of the present application may be included in the scope of protection of the present application.
Optionally, the folder switching device may further include a folder processing module 303. The folder processing module 303 may be configured to create a folder according to a request for creating a folder, and add information of the newly created folder to the folder adjacency relationship; and deleting the folder according to the request for deleting the folder, and deleting the information of the deleted folder from the folder adjacent relation.
In some embodiments, the apparatus shown in fig. 3 may be implemented by software. In other examples, the apparatus shown in fig. 3 may also be implemented by a combination of hardware and software. The device may be an application or service provided by an operating system, or may be a third party application.
Fig. 4 exemplarily shows an operating system architecture of an electronic device, in which only components related to the embodiment of the present application are shown. As shown in the figure, in the architecture of the system, the application framework layer may include a "folder switching device," which may be embodied as a system service, and may implement the folder switching function provided in the embodiment of the present application, and one structure of the device may be as shown in fig. 3. The application framework layer may further include system services (not shown) such as an Input management Service (i.e., Input Manager Service), a window management Service (Windows Manager Service), and the like. The Input management service reads a Device event (e.g., a touch event) from an Input Device Driver (Input Device Driver) of the lower layer, processes the Device event, and generates a request to be transmitted to the folder switching Device. The "folder switching means" performs the process of folder switching in the manner described in the above-described embodiment. For example, the folder switching request generated according to the acquired screen sliding gesture event includes screen sliding gesture direction information, so that the folder switching device determines the switching direction according to the gesture direction, and thus determines the target folder or the target page.
Fig. 5 exemplarily shows a schematic diagram of a folder switching process provided by an embodiment of the present application. As shown, in S501, the first page of the first folder is currently presented. In S502, in this case, if a folder switching request is received, a target page of a target folder may be determined according to the file switching request. Wherein the folder switching request may include a request generated according to a touch gesture, a gesture direction of the touch gesture being used to determine a target folder. In S503, the target page of the target folder is presented. Taking the folder switching request as an example, when the target page of the target folder is determined, the target page of the target folder can be determined according to the gesture direction of the touch gesture and the position of the first page of the first folder in the folder adjacent relation. The above S501 and S503 may be performed by the presentation module 301 in the folder switching device provided above, and the above S502 may be performed by the determination module 302 in the folder switching device provided above.
During folder switching, the determination of a target folder or a target page of the target folder is related to user interaction behavior (such as touch gestures) and folder adjacency.
For example, taking the case that the folder switching request is a request generated according to a touch gesture, and the adjacent relationship of the folders is represented by the first adjacent relationship as an example, if the gesture direction of the touch gesture corresponds to a first dimension in the first adjacent relationship, a target folder is determined in the first dimension according to the position of the currently displayed first folder in the first adjacent relationship, and a target page in the target folder is determined. Optionally, the first page of the target folder may be determined as the target page, and a page that is recently shown in the target folder may also be determined as the target page. If the currently displayed first page is one of the pages contained in the first folder, and the switching direction requested by the file switching request corresponds to the second dimension in the first adjacent relationship, determining the target page in the first folder in the second dimension of the first folder according to the position of the first page of the first folder in the first adjacent relationship.
As an example, where the gesture direction of the touch gesture corresponds to the first dimension in the first adjacent relationship: if the gesture direction of the touch gesture is a first direction in the first dimension, determining a target folder for the first folder in an adjacent folder in the first direction of the first dimension; and if the gesture direction of the touch gesture is a second direction on the first dimension, determining the target folder by using the adjacent folders of the first folder in the second direction of the first dimension.
As another example, where the first page is one of a plurality of pages contained in the first folder, and the gesture direction of the touch gesture corresponds to a second dimension in the first adjacent relationship: if the gesture direction of the touch gesture is the first direction in the second dimension, determining the adjacent page of the first folder in the first direction in the second dimension as a target page; and if the gesture direction of the touch gesture is a second direction in the second dimension, determining the adjacent page of the first folder in the second direction in the second dimension as the target page.
For another example, taking the folder switching request as a request generated according to a touch gesture, and the adjacent relationship of the folders is represented by the second adjacent relationship as an example, if the gesture direction of the touch gesture is the first direction, determining the adjacent folder page of the first folder currently displayed in the first direction as the target page of the target folder; and if the gesture direction of the touch gesture is the second direction, determining the folder page adjacent to the first page of the first folder displayed currently in the second direction as the target page of the target folder. The first direction is opposite to the second direction.
The "direction of switching requested by the folder switching request" in the above-described flow refers to requesting to switch to the next folder or the next page, or requesting to switch to the previous folder or the previous page. As can be seen from the first adjacent relationship described in the foregoing embodiment, one folder may be adjacent to two folders, and one of the adjacent folders may be referred to as a first adjacent folder (e.g., the previous folder) and the other adjacent folder may be referred to as a second adjacent folder (e.g., the next folder) according to the set direction; for a folder containing a plurality of pages, one of the pages may be adjacent to two of the pages, and according to the set direction, the adjacent page may be referred to as a first adjacent page (e.g., a previous page) and the other adjacent page may be referred to as a second adjacent page (e.g., a next page). According to the second adjacent relationship described in the foregoing embodiments, it can be seen that one page may be adjacent to two pages, and according to the set direction, one of the adjacent pages may be referred to as a first adjacent page, and the other adjacent page may be referred to as a second adjacent page.
In an example, taking a touch gesture of a sliding operation as an example, if folders are arranged in the aforementioned first adjacent relationship, it may be specified that the upward sliding indicates a request to switch to a next folder of the currently displayed folder, and the downward sliding indicates a request to switch to a previous folder of the currently displayed folder; if the currently displayed folder contains a plurality of pages, the leftward sliding represents switching to the next page of the current page in the currently displayed folder, and the rightward sliding represents switching to the previous page of the current page in the currently displayed folder.
In another example, still taking the touch gesture of the sliding operation as an example, if the folders are arranged in the aforementioned second adjacent relationship, a leftward sliding indicates a request to switch to the next folder of the currently displayed folder (if the currently displayed folder has only one page or the currently displayed page is the end page in one folder) or the next page of the currently displayed folder page (if the currently displayed folder has multiple pages and the currently displayed page is not the end page), and a rightward sliding indicates a request to switch to the previous folder of the currently displayed folder (if the currently displayed folder has only one page or the currently displayed page is the head page in one folder) or the previous page of the currently displayed folder page (if the currently displayed folder has multiple pages and the currently displayed page is not the head page).
Wherein "previous" and "next" correspond to two opposite switching directions, respectively. Taking the folder adjacency relation shown in fig. 1a as an example, if the current desktop shows the first page B-1 of the folder B, the "previous" folder requested to be switched to is slid down as the folder a, the "next" folder requested to be switched is slid up as the folder C, and the "next" page requested to be switched to is slid right as the last page B-2 of the folder B. For another example, still taking the folder adjacent relation shown in fig. 1a as an example, if the current desktop displays the tail page B-2 of the folder B, the "next" page to which the switching request is requested is slid leftward to be the head page B-1 of the folder B, if the current desktop slides downward, the "previous" folder a can be switched, and if the current desktop slides downward, the "next" folder C can be switched. In another example, based on the folder adjacency shown in FIG. 1a, in the case where the current desktop is showing the back page B-2 of folder B, the switching of folders will not be triggered when sliding down and sliding up. Taking the folder arrangement architecture shown in fig. 2a as an example, if the first page B-1 of the folder B is displayed on the current desktop, sliding right switches to the "previous" folder a, and sliding right switches to the "next" page B-2.
In some embodiments of the present application, in order to make the user know the adjacent folders (such as the previous folder and/or the next folder) of the folder currently displayed on the desktop, the first adjacent folder hint information and/or the second adjacent folder hint information may be included in the page of the folder. The first adjacent folder prompt message is used for prompting a first adjacent folder or a folder page of the first folder which is displayed currently, and the second adjacent folder prompt message is used for prompting a second adjacent folder or a folder page of the first folder which is displayed currently. In some examples, the prompt information may be information in the form of text, pictures, symbols, and the like, for example, in the case of the first adjacent relationship, the "first adjacent folder prompt information" displayed on the top page B-1 of the folder B is "folder a" in the form of text, which indicates that the folder a is the previous folder adjacent to the folder B, and the "second adjacent folder prompt information" displayed on the page is "folder C" in the form of text, which indicates that the next folder adjacent to the folder B is folder C.
Further, in order to let the user know how to perform the user operation to switch to the adjacent folder indicated by the prompt message, in some embodiments, the user may be instructed to perform the operation by setting the prompt message at a corresponding position on the page. For example, the position of the first adjacent folder hint information in the currently displayed first page is used to indicate the position of the first adjacent folder or folder page relative to the first folder; and the position of the prompt message of the second adjacent folder in the currently displayed first page is used for indicating the position of the second adjacent folder or the folder page relative to the first folder. According to the position of the first adjacent folder prompt message on the page, the user can know the direction to which the sliding operation is performed, so that the user can switch to the adjacent folder indicated by the first adjacent folder prompt message.
Fig. 6 is a schematic diagram illustrating exemplary setting of indication information on a page to indicate adjacent folders and how a user operates to switch to the adjacent folders based on the folder adjacent relationship shown in fig. 1 a. In fig. 6, a page of folder a is shown, and an area 601 in the page displays text of "folder a", which indicates that the current page is a page of folder a; an application icon included in the folder a is displayed in the area 602; "folder C" is displayed in the area 603, indicating that the previous folder of folder a is folder C; "folder B" is displayed in area 604, indicating that the next folder is folder B. An area 601 is arranged at the upper part of the page and is used for prompting the user to slide upwards to switch to a folder C prompted by the text in the area 603; an area 604 is in the lower portion of the page for prompting the user to slide down to switch to folder B as prompted by the text in area 604.
In some other embodiments, in order to let the user know how to perform the user operation to switch to the adjacent folder indicated by the above prompt information, additional prompt information may also be set in the folder page, such as setting a first direction prompt information and/or a second direction prompt information for indicating the direction of the gesture or sliding operation. The first direction prompt information corresponds to the first adjacent folder prompt information and is used for indicating a gesture or a touch screen sliding direction, and a file switching request generated according to the gesture or the touch screen sliding operation in the direction is used for displaying the first adjacent folder; the second direction prompt information corresponds to the second adjacent folder prompt information and is used for indicating a gesture or a touch screen sliding direction, and a file switching request generated according to the gesture or the touch screen sliding operation in the direction is used for displaying the second adjacent folder.
Fig. 7 is a schematic diagram based on the folder arrangement architecture shown in fig. 1a, which exemplarily shows that indication information is set on a page to indicate an adjacent folder, and additional prompt information is also set on the page for prompting a user how to operate so as to switch to the adjacent folder. In fig. 7, a page of folder a is shown, and a region 701 in the page displays text of "folder a", which indicates that the current page is a page of folder a; an application icon included in the folder a is displayed in the area 702; "folder C" is displayed in the area 703, indicating that the previous folder of folder a is folder C; "folder B" is displayed in area 704, indicating that the next folder is folder B. An area 705 displays an upward arrow picture for prompting the user to slide upward to switch to a folder C prompted by the text in the area 703; area 706 displays a down arrow picture to prompt the user to slide down to switch to folder B prompted by the text in area 704.
In still other embodiments, a first control and/or a second control may be disposed on a folder page. The first control and the second control may be controls capable of responding to user operation, such as buttons, links, and the like. The first control and the second control are triggered to execute a folder switching operation, for example, the first control is used for displaying a first adjacent folder of the first folder when being triggered, and the second control is used for displaying a second adjacent folder of the first folder when being triggered. And the folder switching triggered by the first control and the folder switching triggered by the second control are different in switching direction. Taking the aforementioned first folder adjacent relationship as an example, the first control is used to display the adjacent folder in the first direction of the currently displayed folder when being triggered, for example, the first control may trigger to switch to the next folder of the currently displayed folder; the second control is used for displaying the adjacent folder of the current folder in the second direction when being triggered, for example, the second control can trigger to switch to the previous folder of the currently displayed folder.
Further, the position of the first control in the page where the first control is located is used for indicating the position of the folder to which the page belongs relative to the first adjacent folder, and the position of the second control in the page where the second control is located is used for indicating the position of the folder to which the page belongs relative to the second adjacent folder, so that a user can know to which direction the first control or the second control should be switched after being triggered, for example, whether the first control is switched to the previous folder or the next folder. As an example, a first control may be a button control that uses a picture containing an upward arrow as a background picture for the button to switch to the previous folder when triggered. As another example, a second control may be a button control that uses a picture containing a down arrow as a background picture for the button when triggered to switch to the next folder, thus prompting the user to slide down to switch to the next folder.
FIG. 8 illustratively shows a folder page containing a first control and a second control. Taking the folder adjacency shown in fig. 1a as an example, fig. 8 shows a page of folder a, and an area 801 in the page displays "folder a" for indicating that the current folder is folder a; an application icon included in the folder a is displayed in the area 802; the area 803 includes a first control, which is shaped like an upward arrow, and the first control is triggered to switch to the "previous" folder, i.e., folder C. The area 804 includes a second control, which is shaped like a downward arrow, and the first control is triggered to switch to the "previous" folder, i.e., folder B.
In still other embodiments, a third control and/or a fourth control may be provided on the folder page. The third control is used for showing a first adjacent page of the first page when being triggered, and the fourth control is used for showing a second adjacent page of the first page when being triggered. For example, the folder page switching triggered by the third control and the folder page switching triggered by the fourth control have different switching directions. Taking the foregoing adjacent relation of the second folder as an example, the third control may trigger switching to the next page of the currently displayed folder page; the fourth control may trigger a switch to the last page of the currently displayed folder page.
Further, the position of the third control in the first page where the third control is located is used to indicate the position of the first adjacent page relative to the first page, and the position of the fourth control in the first page where the fourth control is located is used to indicate the position of the second adjacent page relative to the first page, so that a user can know in which direction the third control or the fourth control should be switched after being triggered, such as switching to the previous page or switching to the next page.
As can be seen from the above description, in the embodiments of the present application, when it is necessary to switch from one folder to another folder or switch from a page of one folder to another page of the folder, a currently displayed folder page may be switched to a target folder page without clicking a "back" key or a "system desktop" key to close the currently displayed folder page, so that a quick switch between folders is achieved.
In some embodiments of the application, in order to facilitate the user to select a folder more conveniently and further save the operation steps of the user, thumbnails of all folders on the desktop may be displayed on the desktop according to the user interaction operation (such as a set gesture or a set touch screen operation), so that the user may select a control therein to enter the corresponding folder. The control may be a folder thumbnail, and may also be other types of controls, which is not limited in this embodiment of the application.
FIG. 9 illustrates a page with all candidate target folders displayed. All folders on the desktop of the mobile phone comprise a folder A, a folder B, a folder C and a folder D. The page with the folder A is displayed on the current desktop of the mobile phone, and when a user shakes the mobile phone, thumbnails of the folder A, the folder B, the folder C and the folder D are displayed. And when the user clicks the folder, the user can switch to the page of the folder D. The thumbnail can be displayed in a new window, and can also be displayed in a window where the page of the folder A is located. The thumbnail can be hidden according to user interaction behaviors such as user gestures or touch screen operation. The above operations may be performed by the presentation module 301 in fig. 3.
Based on the same technical concept, the embodiment of the present application further provides an apparatus 1000, and the apparatus 1000 may implement the processes described in the foregoing embodiments.
Fig. 10 exemplarily illustrates an example apparatus 1000 in accordance with various embodiments. The apparatus 1000 may include one or more processors 1002, system control logic 1001 coupled to at least one of the processors 1002, non-volatile memory (NMV)/memory 704 coupled to the system control logic 1001, and a network interface 1006 coupled to the system control logic 1001.
The processor 1002 may include one or more single-core or multi-core processors. The processor 1002 may comprise any combination of general purpose processors or dedicated processors (e.g., image processor, application processor, baseband processor, etc.).
System control logic 1001, in one embodiment, may include any suitable interface controllers to provide any suitable interface to at least one of processors 1002 and/or to any suitable device or component in communication with system control logic 1001.
The system control logic 1001 in one embodiment may include one or more memory controllers to provide an interface to the system memory 1003. System memory 1003 is used to load and store data and/or instructions. For example, corresponding to device 1000, in one embodiment, system memory 1003 may include any suitable volatile memory.
The NVM/memory 1004 may include one or more tangible, non-transitory computer-readable media for storing data and/or instructions. For example, the NVM/memory 1004 may include any suitable non-volatile storage device, such as one or more Hard Disk Drives (HDDs), one or more Compact Disks (CDs), and/or one or more Digital Versatile Disks (DVDs).
The NVM/memory 1004 may include storage resources that are physically part of a device on which the system is installed or may be accessed, but not necessarily part of a device. For example, the NVM/memory 1004 may be network accessible via the network interface 1006.
System memory 1003 and NVM/storage 1004 may include copies of temporary or persistent instructions 1010, respectively. The instructions 1010 may include instructions that, when executed by at least one of the processors 1002, cause the apparatus 1000 to implement one or a combination of the methods described in fig. 5. In various embodiments, the instructions 1010 or hardware, firmware, and/or software components may additionally/alternatively be disposed in the system control logic 1001, the network interface 1006, and/or the processor 1002.
Network interface 1006 may include a receiver to provide a wireless interface for apparatus 1000 to communicate with one or more networks and/or any suitable devices. Network interface 1006 may include any suitable hardware and/or firmware. The network interface 1006 may include multiple antennas to provide a multiple-input multiple-output wireless interface. In one embodiment, network interface 1006 may include a network adapter, a wireless network adapter, a telephone modem, and/or a wireless modem.
In one embodiment, at least one of the processors 1002 may be packaged together with logic for one or more controllers of system control logic. In one embodiment, at least one of the processors may be packaged together with logic for one or more controllers of system control logic to form a system in a package. In one embodiment, at least one of the processors may be integrated on the same die with logic for one or more controllers of system control logic. In one embodiment, at least one of the processors may be integrated on the same die with logic for one or more controllers of system control logic to form a system chip.
Device 1000 may further include an input/output device 1005. Input/output devices 1005 may include a user interface intended to enable a user to interact with device 1000, may include a peripheral component interface designed to enable peripheral components to interact with the system, and/or may include sensors intended to determine environmental conditions and/or location information about device 1000.

Claims (30)

1. A folder switching method, comprising:
displaying a first page of a first folder;
receiving a folder switching request, wherein the folder switching request comprises a request generated according to a touch gesture, and the gesture direction of the touch gesture is used for determining a target folder;
determining a target page of the target folder according to the gesture direction of the touch gesture and the position of the first page of the first folder in the adjacent relation of the folders;
displaying a target page of the target folder;
the folder adjacent relation comprises a first adjacent relation, wherein the first adjacent relation comprises folders which are sequentially arranged in a first dimension, and for a folder containing a plurality of pages, the second adjacent relation comprises all pages in the folders which are sequentially arranged in a second dimension; determining a target page of a target folder according to the gesture direction of the touch gesture and the position of the first page of the first folder in the adjacent relation of the folders, wherein the determining the target page of the target folder comprises:
if the gesture direction of the touch gesture corresponds to a first dimension in the first adjacent relation, determining a target folder in the first dimension according to the position of the first folder in the first adjacent relation, and determining a target page in the target folder;
if the first page is one of a plurality of pages contained in the first folder, and the gesture direction of the touch gesture corresponds to a second dimension in the first adjacent relationship, determining a target page in the first folder in the second dimension of the first folder according to the position of the first page of the first folder in the first adjacent relationship;
the adjacent relation of the folders also comprises a second adjacent relation, the second adjacent relation comprises folder pages which are sequentially arranged, wherein all the pages of the same folder are continuously arranged; determining a target page of a target folder according to the gesture direction of the touch gesture and the position of the first page of the first folder in the second adjacent relation, wherein the determining includes:
if the gesture direction of the touch gesture is a first direction, determining the folder page adjacent to the first page of the first folder in the first direction as a target page of a target folder;
if the gesture direction of the touch gesture is a second direction, determining that the folder page adjacent to the first page of the first folder in the second direction is a target page of a target folder, wherein the first direction is opposite to the second direction.
2. The method of claim 1, wherein determining a target page in the target folder comprises:
determining a home page of the target folder as a target page; alternatively, the first and second electrodes may be,
and determining the page displayed last time in the target folder as a target page.
3. The method of claim 1, where the gesture direction of the touch gesture corresponds to a first dimension in the first neighboring relationship:
if the gesture direction of the touch gesture is the first direction in the first dimension, determining a target folder for the first folder adjacent to the first folder in the first direction in the first dimension;
and if the gesture direction of the touch gesture is the second direction in the first dimension, determining a target folder from the first folder and the adjacent folder in the second direction in the first dimension.
4. The method of claim 1, where, when the first page is one of a plurality of pages contained in the first folder, and the gesture direction of the touch gesture corresponds to a second dimension in the first adjacent relationship:
if the gesture direction of the touch gesture is the first direction in the second dimension, determining the adjacent page of the first folder in the first direction in the second dimension as a target page;
and if the gesture direction of the touch gesture is the second direction in the second dimension, determining the adjacent page of the first folder in the second direction in the second dimension as the target page.
5. The method of claim 1, further comprising:
creating a folder according to a request for creating the folder, and adding information of the newly created folder to the adjacent relation of the folders;
and deleting the folder according to the request for deleting the folder, and deleting the information of the deleted folder from the adjacent relation of the folders.
6. The method according to any one of claims 1 to 5, wherein the first page includes therein first adjacent folder hint information and/or second adjacent folder hint information;
the first adjacent folder prompt message is used for prompting a first adjacent folder or a folder page of the first folder, and the second adjacent folder prompt message is used for prompting a second adjacent folder or a folder page of the first folder.
7. The method of claim 6, wherein the location of the first adjacent folder hint information in the first page indicates the location of the first adjacent folder or folder page relative to the first folder; and/or the presence of a gas in the gas,
the position of the second adjacent folder prompt message in the first page is used for indicating the position of the second adjacent folder or the folder page relative to the first folder.
8. The method of claim 6, wherein the first page further comprises:
the first direction prompt information corresponds to the prompt information of the first adjacent folder and is used for indicating the gesture direction, and the file switching request generated according to the gesture of the direction is used for displaying the first adjacent folder; and/or the presence of a gas in the gas,
and second direction prompt information which corresponds to the prompt information of the second adjacent folder and is used for indicating the gesture direction, wherein the file switching request generated according to the gesture of the direction is used for displaying the second adjacent folder.
9. The method of claim 1, wherein the first page includes a first control and/or a second control, the folder switch request being generated when the first control or the second control is triggered;
the first control is used for displaying a first adjacent folder of the first folder when being triggered, and the second control is used for displaying a second adjacent folder of the first folder when being triggered.
10. The method of claim 9, wherein a position of the first control in the first page is used to indicate a position of the first adjacent folder relative to the first folder, and/or a position of the second control in the first page is used to indicate a position of the second adjacent folder relative to the first folder.
11. The method of claim 1, wherein a third control and/or a fourth control is included in the first page, the folder switch request being generated when the third control or fourth control is triggered;
the third control is used for showing a first adjacent page of the first page when being triggered, and the fourth control is used for showing a second adjacent page of the first page when being triggered.
12. The method of claim 11, wherein a position of the third control in the first page is indicative of a position of the first adjacent page relative to the first page, and/or a position of the fourth control in the first page is indicative of a position of the second adjacent page relative to the first page.
13. The method of claim 1, further comprising:
receiving a request for displaying a candidate target folder;
and displaying N controls on the first page according to the request for displaying the candidate target folders, wherein the N controls correspond to the N candidate target folders one to one, each control is used for displaying the candidate target folder corresponding to the control when being triggered, and N is an integer greater than or equal to 1.
14. The method of claim 13, wherein thumbnails of the candidate target folders corresponding to the respective controls are presented on the N controls.
15. A folder switching device, comprising:
the display module is used for displaying a first page of the first folder;
the file folder switching module is used for receiving a file folder switching request, wherein the file folder switching request comprises a request generated according to a touch gesture, and the gesture direction of the touch gesture is used for determining a target file folder; determining a target page of the target folder according to the gesture direction of the touch gesture and the position of the first page of the first folder in the adjacent relation of the folders;
the display module is also used for displaying a target page of the target folder;
the folder adjacent relation comprises a first adjacent relation, wherein the first adjacent relation comprises folders which are sequentially arranged in a first dimension, and for a folder containing a plurality of pages, the second adjacent relation comprises all pages in the folders which are sequentially arranged in a second dimension; the determining module is specifically configured to:
if the gesture direction of the touch gesture corresponds to a first dimension in the first adjacent relation, determining a target folder in the first dimension according to the position of the first folder in the first adjacent relation, and determining a target page in the target folder;
if the first page is one of a plurality of pages contained in the first folder, and the gesture direction of the touch gesture corresponds to a second dimension in the first adjacent relationship, determining a target page in the first folder in the second dimension of the first folder according to the position of the first page of the first folder in the first adjacent relationship;
the adjacent relation of the folders comprises a second adjacent relation, the second adjacent relation comprises folder pages which are sequentially arranged, wherein all the pages of the same folder are continuously arranged; the determining module is specifically configured to:
if the gesture direction of the touch gesture is a first direction, determining the folder page adjacent to the first page of the first folder in the first direction as a target page of a target folder;
if the gesture direction of the touch gesture is a second direction, determining that the folder page adjacent to the first page of the first folder in the second direction is a target page of a target folder, wherein the first direction is opposite to the second direction.
16. The apparatus of claim 15, wherein the determination module is specifically configured to:
determining a home page of the target folder as a target page; alternatively, the first and second electrodes may be,
and determining the page displayed last time in the target folder as a target page.
17. The apparatus of claim 15, wherein the determination module is specifically configured to:
in the event that the gesture direction of the touch gesture corresponds to a first dimension in the first adjacent relationship:
if the gesture direction of the touch gesture is the first direction in the first dimension, determining a target folder for the first folder adjacent to the first folder in the first direction in the first dimension;
and if the gesture direction of the touch gesture is the second direction in the first dimension, determining a target folder from the first folder and the adjacent folder in the second direction in the first dimension.
18. The apparatus of claim 15, wherein the determination module is specifically configured to:
if the first page is one of a plurality of pages included in the first folder and the gesture direction of the touch gesture corresponds to a second dimension in the first adjacency, then:
if the gesture direction of the touch gesture is the first direction in the second dimension, determining the adjacent page of the first folder in the first direction in the second dimension as a target page;
and if the gesture direction of the touch gesture is the second direction in the second dimension, determining the adjacent page of the first folder in the second direction in the second dimension as the target page.
19. The apparatus of claim 15, further comprising:
the folder processing module is used for creating a folder according to a folder creating request and adding information of the newly created folder to the adjacent relation of the folders; and deleting the folder according to the request for deleting the folder, and deleting the information of the deleted folder from the folder adjacent relation.
20. The apparatus according to any one of claims 15 to 19, wherein the first page includes therein first adjacent folder hint information and/or second adjacent folder hint information;
the first adjacent folder prompt message is used for prompting a first adjacent folder or a folder page of the first folder, and the second adjacent folder prompt message is used for prompting a second adjacent folder or a folder page of the first folder.
21. The apparatus of claim 20, wherein the location of the first adjacent folder hint information in the first page indicates the location of the first adjacent folder or folder page relative to the first folder; and/or the presence of a gas in the gas,
the position of the second adjacent folder prompt message in the first page is used for indicating the position of the second adjacent folder or the folder page relative to the first folder.
22. The apparatus of claim 20, wherein the first page further comprises:
the first direction prompt information corresponds to the prompt information of the first adjacent folder and is used for indicating the gesture direction, and the file switching request generated according to the gesture of the direction is used for displaying the first adjacent folder; and/or the presence of a gas in the gas,
and second direction prompt information which corresponds to the prompt information of the second adjacent folder and is used for indicating the gesture direction, wherein the file switching request generated according to the gesture of the direction is used for displaying the second adjacent folder.
23. The apparatus of claim 15, wherein the first page includes a first control and/or a second control therein, the folder toggle request being generated when the first control or the second control is triggered;
the first control is used for displaying a first adjacent folder of the first folder when being triggered, and the second control is used for displaying a second adjacent folder of the first folder when being triggered.
24. The apparatus of claim 23, wherein a position of the first control in the first page is to indicate a position of the first adjacent folder relative to the first folder, and/or a position of the second control in the first page is to indicate a position of the second adjacent folder relative to the first folder.
25. The apparatus of claim 15, wherein a third control and/or a fourth control is included in the first page, the folder toggle request being generated when the third control or fourth control is triggered;
the third control is used for showing a first adjacent page of the first page when being triggered, and the fourth control is used for showing a second adjacent page of the first page when being triggered.
26. The apparatus of claim 25, wherein a position of the third control in the first page is indicative of a position of the first adjacent page relative to the first page, and/or a position of the fourth control in the first page is indicative of a position of the second adjacent page relative to the first page.
27. The apparatus of claim 15, wherein the display module is further configured to:
receiving a request for displaying a candidate target folder;
and displaying N controls on the first page according to the request for displaying the candidate target folders, wherein the N controls correspond to the N candidate target folders one to one, each control is used for displaying the candidate target folder corresponding to the control when being triggered, and N is an integer greater than or equal to 1.
28. The apparatus of claim 27, wherein the N controls have thumbnails of the candidate target folders corresponding to the respective controls presented thereon.
29. A communication device, comprising:
one or more processors; and
one or more computer-readable media having instructions stored thereon that, when executed by the one or more processors, cause the communication device to perform the method of any of claims 1-14.
30. One or more computer-readable media having instructions stored thereon that, when executed by one or more processors, cause a communication device to perform the method of any of claims 1-14.
CN201710068007.0A 2017-02-07 2017-02-07 Folder switching method and device Active CN108399002B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201710068007.0A CN108399002B (en) 2017-02-07 2017-02-07 Folder switching method and device
TW106137748A TW201830221A (en) 2017-02-07 2017-11-01 Folder switching method and device
PCT/CN2018/074224 WO2018145581A1 (en) 2017-02-07 2018-01-26 Folder switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710068007.0A CN108399002B (en) 2017-02-07 2017-02-07 Folder switching method and device

Publications (2)

Publication Number Publication Date
CN108399002A CN108399002A (en) 2018-08-14
CN108399002B true CN108399002B (en) 2020-10-16

Family

ID=63093736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710068007.0A Active CN108399002B (en) 2017-02-07 2017-02-07 Folder switching method and device

Country Status (3)

Country Link
CN (1) CN108399002B (en)
TW (1) TW201830221A (en)
WO (1) WO2018145581A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109408472A (en) * 2018-10-23 2019-03-01 维沃移动通信有限公司 A kind of file display methods and terminal
CN110275653A (en) * 2019-05-30 2019-09-24 北京小米移动软件有限公司 Page display method, device, terminal and storage medium
CN111459360A (en) * 2020-03-31 2020-07-28 Oppo广东移动通信有限公司 Folder interface switching method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622179A (en) * 2012-03-09 2012-08-01 游图明 Touch screen electronic equipment-based method for accessing subfile
CN103262016A (en) * 2010-12-10 2013-08-21 三星电子株式会社 Method and system for displaying screens on the touch screen of a mobile device
CN103729135A (en) * 2012-10-15 2014-04-16 三星电子株式会社 Apparatus and method for displaying information in a portable terminal device
CN104699813A (en) * 2015-03-23 2015-06-10 广东欧珀移动通信有限公司 Intelligent terminal and file browsing method applied to same

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2014274537A1 (en) * 2013-06-09 2015-01-22 Apple Inc. Device, method, and graphical user interface for managing folders with multiple pages
CN105094557B (en) * 2015-07-27 2019-06-25 联想(北京)有限公司 A kind of display control method and device, electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103262016A (en) * 2010-12-10 2013-08-21 三星电子株式会社 Method and system for displaying screens on the touch screen of a mobile device
CN102622179A (en) * 2012-03-09 2012-08-01 游图明 Touch screen electronic equipment-based method for accessing subfile
CN103729135A (en) * 2012-10-15 2014-04-16 三星电子株式会社 Apparatus and method for displaying information in a portable terminal device
CN104699813A (en) * 2015-03-23 2015-06-10 广东欧珀移动通信有限公司 Intelligent terminal and file browsing method applied to same

Also Published As

Publication number Publication date
CN108399002A (en) 2018-08-14
WO2018145581A1 (en) 2018-08-16
TW201830221A (en) 2018-08-16

Similar Documents

Publication Publication Date Title
CN103370684B (en) Electronic equipment, display methods and non-transient storage medium
KR101332811B1 (en) Device with message hidden function and method for hiding and restoring message thereof
KR102222978B1 (en) Intelligent sim selection supporting rich context of input factors
US10248305B2 (en) Manipulating documents in touch screen file management applications
EP3349539B1 (en) Contextual search by a mobile communications device
US7778671B2 (en) Mobile communications terminal having an improved user interface and method therefor
US20130050109A1 (en) Apparatus and method for changing an icon in a portable terminal
US20090276702A1 (en) Method and apparatus for browsing item information and recording medium using the same
US20060247851A1 (en) Mobile phone having a TV remote style user interface
US20140181751A1 (en) Device and method for providing relevant applications
KR20130093043A (en) Method and mobile device for user interface for touch and swipe navigation
CN107329645B (en) Image display method and mobile terminal
KR20110066203A (en) Intelligent input device lock
KR102253453B1 (en) Method and device for creating a group
CN104679379A (en) Method and device for replacing screen locking application wallpaper
WO2012109268A2 (en) User interface incorporating sliding panels for listing records and presenting record content
CN103176705B (en) A kind of mobile terminal and method for previewing thereof
CN108399002B (en) Folder switching method and device
CN105549891A (en) Screenshot method based on back pressure sensor and mobile terminal
US20120191756A1 (en) Terminal having searching function and method for searching using data saved in clipboard
CN108399033B (en) View switching method and device
CN113360062A (en) Display control method and device, electronic equipment and readable storage medium
CN113253883A (en) Application interface display method and device and electronic equipment
US20100281425A1 (en) Handling and displaying of large file collections
CN112230835B (en) Picture operation method and device, terminal equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1259213

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201221

Address after: Room 603, 6 / F, Roche Plaza, 788 Cheung Sha Wan Road, Kowloon, China

Patentee after: Zebra smart travel network (Hong Kong) Limited

Address before: Cayman Islands Grand Cayman capital building, a four storey No. 847 mailbox

Patentee before: Alibaba Group Holding Ltd.