Patent Description:
In recent years, touchscreen terminals such as a mobile phone, a tablet computer, and an asynchronous transfer mode (Asynchronous Transfer Mode, ATM) machine are widely applied because of advantages such as convenient operation, a large screen area, and high resolution. The touchscreen terminals have become necessities in the daily life of people. A touchscreen terminal sometimes hides many operation interfaces. If a user needs the touchscreen terminal to display the operation interfaces, the user needs to perform a corresponding touch operation. After detecting the touch operation, the touchscreen terminal displays a corresponding operation interface for the user to perform an operation.

Two manners for displaying a message notification on a touchscreen terminal are used below as examples for illustration.

A first manner: Assuming that a "signal bar" on a touchscreen terminal corresponds to an operation interface of "notification" and an operation interface of "on/off", after a user pulls down the "signal bar", the operation interface of "notification" is displayed by default. If the user wants to switch to the operation interface of "on/off", the user needs to tap another switch button, for example, a "tabulator key (Tabulator Key, TAB)", to complete switching between operation interfaces. In the first manner, only the operation interface of "notification" can be displayed when the "signal bar" is pulled down for the first time, and an additional switch operation needs to be performed to display the operation interface of "on/off".

A second manner: Assuming that a "signal bar" on a touchscreen terminal is set according to left and right subareas, where the left subarea corresponds to an operation interface of "notification", and the right subarea corresponds to an operation interface of "on/off". If a user finds that an operation interface is an unnecessary operation interface after pulling down the left and right subareas, the user needs to collapse the operation interface and perform another pull-down operation. It can be seen that in the second manner, complex operation steps need to be performed to switch between operation interfaces. <CIT> and <CIT> each disclose a method of summoning a submenu according to a selected display area of a user interface.

Embodiments of the present invention provide a method and an apparatus for displaying an operation interface, and a touchscreen terminal, to resolve a problem in a prior-art method for displaying an operation interface that when switching between operation interfaces is performed, operation steps are complex and operation efficiency is further affected. Aspects of the present invention are defined by the appended claims.

To describe the technical solutions in the embodiments of the present invention more clearly, the following briefly describes the accompanying drawings required for describing the embodiments. Apparently, the accompanying drawings in the following description show merely some embodiments of the present invention, and a person skilled in the art may still derive other drawings from these accompanying drawings without creative efforts.

To resolve a problem in a prior-art method for displaying an operation interface that when operation interfaces is switched, operation steps are complex and operation efficiency is further affected, an embodiment of the present invention provides a method for displaying an operation interface. The method may be executed by, but is not limited to, a touchscreen terminal. A process of the method is described in the following by using an example in which the touchscreen terminal executes the method. As shown in <FIG>, specific steps of the method include:
S11: Receive a touch operation that is input by a user in a first set area on a touchscreen.

A touchscreen of a touchscreen terminal generally has four edges, and an operation interface can be set and hidden on each edge. For example, in an Android system, a "signal bar" can be hidden on an upper edge of a touchscreen. Certainly, the "signal bar" may be hidden on a left edge, a right edge, or the lower edge of the touchscreen. An example in which the "signal bar" is hidden on the upper edge is used below for illustration.

The "signal bar" may be set according to left and right subareas. The left subarea corresponds to an operation interface of "notification", and the right subarea corresponds to an operation interface of "on/off". The operation interfaces of "notification" and "on/off" are hidden on the upper edge of the touchscreen. When a user needs to display the operation interface of "notification", the user may pull down the left subarea on the upper edge of the touchscreen. When the user needs to display the operation interface of "on/off", the user may pull down the right subarea on the upper edge of the touchscreen. For the convenience of identification by a user, as shown in <FIG>, a "notification" button and an "on/off" button may be set. The "notification" button and the "on/off" button are also usually hidden, and after the user performs the pull-down operation, the "notification" button and the "on/off" button can be displayed. An example in which the "notification" button and the "on/off" button are set is used below for illustration.

The touch operation performed by the user in the first set area on the touchscreen terminal can be received by the touchscreen terminal, where the first set area, that is, the area in which the user inputs the touch operation, may be the left subarea, or may be the right subarea.

S12: Detect whether the touch operation ends in a second set area; if it is detected that the touch operation ends in the second set area, perform S13; and if it is detected that the touch operation ends in the first set area, perform S14.

An operation interface that needs to be displayed may be determined by detecting an area in which the touch operation of the user ends.

S13: Display, on the touchscreen, a second operation interface corresponding to the second set area.

When the touch operation ends in the second set area, the second operation interface corresponding to the second set area is displayed.

Continuing with the foregoing example, as shown in <FIG>, if the first set area is the left subarea of the touchscreen, and the area in which the touch operation ends is the right subarea, that is, the second set area, an operation interface corresponding to the right subarea is displayed, that is, the operation interface of "on/off" is displayed.

S14: Display, on the touchscreen, a first operation interface corresponding to the first set area.

When the touch operation ends in the first set area, the first operation interface corresponding to the first set area is displayed.

Continuing with the foregoing example, as shown in <FIG>, if the first set area is the left subarea of the touchscreen, and the area in which the touch operation ends is also the left subarea, an operation interface corresponding to the left subarea is displayed, that is, the operation interface of "notification" is displayed.

In this solution, after a touch operation that is input by a user in a first set area on a touchscreen is received, a first operation interface corresponding to the first set area is not directly displayed, and instead, an area in which the touch operation ends is detected; if the touch operation ends in a second set area, that is, the touch operation input by the user in the first set area is a misoperation, in this case, the user only needs to adjust the touch operation so that the touch operation ends in the second set area, and in this way, the user can still obtain a needed operation interface by means of one touch operation, and does not need to perform complex operation steps to switch between operation interfaces. Compared with a prior-art method for displaying an operation interface, a quantity of operation steps is reduced, and operation efficiency is improved.

Specifically, the displaying, on the touchscreen, a second operation interface corresponding to the second set area in the foregoing S13 specifically includes:.

The second operation interface corresponding to the second set area needs to be displayed on the touchscreen according to a position relationship between the second set area and the first set area.

Continuing with the foregoing example, when the first set area is the left subarea, and the second set area is the right subarea, that is, the second set area is located on the right side of the first set area, in this case, the first set position is the right side. An operation interface sequence may be preset on the touchscreen terminal. Because the second set area is located on the right side of the first set area, an operation interface located before the first operation interface in the preset operation interface sequence is used as the second operation interface. Operation interfaces to be displayed are sequentially stored in the preset operation interface sequence, and operation interfaces corresponding to the left subarea may be used as a preset operation interface sequence.

When the first set area is the right subarea, and the second set area is the left subarea, that is, the second set area is located on the left side of the first set area, in this case, the second set position is the left side. Because the second set area is located on the left side of the first set area, an operation interface located after the first operation interface in the preset operation interface sequence is used as the second operation interface.

After the second operation interface is determined, the second operation interface may be displayed on the touchscreen.

Optionally, after the receiving a touch operation input by a user in a first set area on a touchscreen in the foregoing S11, before the displaying, on the touchscreen, a second operation interface corresponding to the second set area in the foregoing S13, the method further includes:
displaying a part of the first operation interface, and displaying a prompt for switching between operation interfaces.

Continuing with the foregoing example, after the user performs the pull-down operation in the left subarea, a part or all of the operation interface corresponding to the left subarea may be displayed, as shown in <FIG>.

A prompt for switching between operation interfaces may be displayed. If the user finds, according to the displayed operation interface, that the pull-down operation is performed in a wrong area, the user further switches to a needed operation interface according to the prompt. This manner can further help the user to open the needed operation interface quickly, and save the user the memorization difficulty and the trouble of complex operation steps caused by the misoperation. A manner for displaying a prompt for switching between operation interfaces may be a manner of a text prompt, a manner of a gesture prompt, or a manner that combines both, or the like. <FIG> and <FIG> respectively show a prompt manner that combines "slide right to switch to on/off" and a gesture of sliding down to the right and a prompt manner that combines "slide left to switch to notification" and a gesture of sliding down to the left.

A manner in which the touchscreen terminal switches between operation interfaces may include the following two application scenarios:.

A first application scenario: As shown in <FIG>, during a process of pulling down the left subarea, the user finds that a misoperation is performed. In this case, the user may slide to the right side and stop in the right subarea, and the touchscreen terminal switches, according to the area in which the user ends the touch operation, to an operation interface corresponding to the right subarea.

Alternatively, as shown in <FIG>, during a process of pulling down the right subarea, the user finds that a misoperation is performed. In this case, the user may slide to the left side and stop in the left subarea, and the touchscreen terminal switches, according to the area in which the user ends the touch operation, to an operation interface corresponding to the right subarea.

A second application scenario: As shown in <FIG>, immediately after pulling down the left subarea, the user finds that a misoperation is performed. In this case, the user may directly slide down to the right and stop in the right subarea, and the touchscreen terminal switches, according to the area in which the user ends the touch operation, to an operation interface corresponding to the right subarea.

Alternatively, as shown in <FIG>, immediately after pulling down the right subarea, the user finds that a misoperation is performed. In this case, the user may directly slide down to the left and stop in the left subarea, and the touchscreen terminal switches, according to the area in which the user ends the touch operation, to an operation interface corresponding to the right subarea.

By means of the method for displaying an operation interface in the embodiments of the present invention, after a user performs a misoperation, the user may directly switch to a needed operation interface, and does not need to perform complex operation steps to switch between operation interfaces. Compared with a prior-art method for displaying an operation interface, a quantity of operation steps is reduced, and operation efficiency is improved.

Based on the same inventive concept, an embodiment of the present invention further provides an apparatus for displaying an operation interface, where a structure of the apparatus is shown in <FIG>, including:.

Specifically, as shown in <FIG>, the first display unit <NUM> includes:.

Optionally, as shown in <FIG>, the apparatus for displaying an operation interface further includes a second display unit <NUM>, configured to:
if the detection unit detects that the touch operation ends in the first set area, displaying, on the touchscreen, the first operation interface corresponding to the first set area.

Optionally, as shown in <FIG>, the apparatus for displaying an operation interface further includes a third display unit <NUM>, configured to:
after the receiving unit receives the touch operation that is input by the user in the first set area on the touchscreen, before the first display unit displays, on the touchscreen, the second operation interface corresponding to the second set area, display a part of the first operation interface, and display a prompt for switching between operation interfaces.

Based on the same inventive concept, an embodiment of the present invention further provides a touchscreen terminal, where a structure of the touchscreen terminal is shown in <FIG>, including:.

The transceiver <NUM>, the processor <NUM>, and the first display <NUM> are connected to each other by using a bus.

Specifically, as shown in <FIG>, the first display <NUM> includes:.

Optionally, as shown in <FIG>, the apparatus for displaying an operation interface further includes a second display <NUM>, configured to:
if the processor detects that the touch operation ends in the first set area, display, on the touchscreen, the first operation interface corresponding to the first set area.

Optionally, as shown in <FIG>, the apparatus for displaying an operation interface further includes a third display <NUM>, configured to:
after the transceiver receives the touch operation that is input by the user in the first set area on the touchscreen, before the first display displays, on the touchscreen, the second operation interface corresponding to the second set area, display a part of the first operation interface, and display a prompt for switching between operation interfaces.

The present invention is described with reference to the flowcharts and/or block diagrams of the method, the device (system), and the computer program product according to the embodiments of the present invention. It should be understood that computer program instructions may be used to implement each process and/or each block in the flowcharts and/or the block diagrams and a combination of a process and/or a block in the flowcharts and/or the block diagrams. These computer program instructions may be provided for a general-purpose computer, a dedicated computer, an embedded processor, or a processor of any other programmable data processing device to generate a machine, so that the instructions performed by a computer or a processor of any other programmable data processing device generate an apparatus for implementing a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.

These computer program instructions may also be stored in a computer readable memory that can instruct the computer or any other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory generate an artifact that includes an instruction apparatus.

Therefore, the instructions performed on the computer or the another programmable device provide steps for implementing a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.

Claim 1:
A method for displaying operating interfaces, comprising:
receiving a pull-down operation in a first set area on a touchscreen to show a first operating interface, wherein the pull-down operation comprises pulling from an edge of the touchscreen;
displaying the first operating interface on the touchscreen after receiving the pull-down operation, wherein the first operating interface comprises a pull-down notification interface;
receiving a slide operation on the touchscreen when the first operating interface is displayed, wherein the slide operation ends at a second set area which is adjacent to the first set area; and
switching from displaying the first operating interface to displaying a second operating interface on the touchscreen in response to the slide operation;
wherein the first operating interface is different from the second operating interface;
wherein a display width of the second operating interface is the same as a display width of the first operating interface, which is the same as a width of the touchscreen.