Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND APPARATUS FOR MANAGING APPLICATION IN TERMINAL DEVICE
Document Type and Number:
WIPO Patent Application WO/2014/198143
Kind Code:
A1
Abstract:
Provided is a method and apparatus for managing an application in a smart terminal device. The method includes: detecting an input gesture received by the terminal device on a designated content page; obtaining change information of a relative distance between at least two finger touch points after detecting slide information of the at least two finger touch points; determining an interface display solution corresponding to the change information of the relative distance between the at least two finger touch points; and displaying a current interface according to the determined interface display solution.

Inventors:
SU WENTAO (CN)
TIAN TIEJUN (CN)
CHENG XIAO (CN)
Application Number:
PCT/CN2014/073916
Publication Date:
December 18, 2014
Filing Date:
March 24, 2014
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
TENCENT TECH SHENZHEN CO LTD (CN)
International Classes:
G06F3/0488
Foreign References:
CN102169411A2011-08-31
CN103019594A2013-04-03
CN102609193A2012-07-25
US20130106745A12013-05-02
Attorney, Agent or Firm:
DEQI INTELLECTUAL PROPERTY LAW CORPORATION (No.1 Zhichun Road Haidian District, Beijing 3, CN)
Download PDF:
Claims:
What is claimed is

1. A method for managing an application in a terminal device, comprising:

detecting an input gesture received by the terminal device on a designated content page;

obtaining change information of a relative distance between at least two finger touch points after detecting slide information of the at least two finger touch points;

determining an interface display solution corresponding to the change information of the relative distance between the at least two finger touch points; and

displaying a current interface according to the determined interface display solution.

2. The method of claim 1, wherein the determining the interface display solution corresponding to the change information of the relative distance between the at least two finger touch points comprises:

determining the interface display solution corresponding to the change information of the relative distance between the at least two finger touch points according to a preset mapping relationship between the interface display solution and the change information of the relative distance between the at least two finger touch points.

3. The method of claim 2, wherein the preset mapping relationship between the interface display solution and the change information of the relative distance between the at least two finger touch points comprises:

if a relative distance between the at least two finger touch points when at least two fingers leave the screen is smaller than a relative distance between the at least two finger touch points when the at least two fingers touch the screen, and is smaller than or equal to a predefined value, exiting the designated content page.

4. The method of claim 3, wherein the preset mapping relationship between the interface display solution and the change information of the relative distance between the at least two finger touch points comprises:

if the relative distance between the at least two finger touch points becomes smaller gradually, the designated content page is shortened synchronously; and

if the relative distance between the at least two finger touch points when at least two fingers leave the screen is smaller than the relative distance between the two finger touch points when the at least two fingers touch the screen, and is larger than the predefined value, restoring the designated content page into an initial state.

5. The method of claim 3, wherein the preset mapping relationship between the interface display solution and the change information of the relative distance between the at least two finger touch points comprises:

if the relative distance between the at least two finger touch points becomes smaller gradually, increasing transparency of the designated content page synchronously; and if the relative distance between the at least two finger touch points when the at least two fingers leave the screen is smaller than the relative distance between the at least two finger touch points when the at least two fingers touch the screen, and is larger than the predefined value, restoring the designated content page into an initial state.

6. The method of claim 3, wherein the preset mapping relationship between the interface display solution and the change information of the relative distance between the at least two finger touch points comprises:

if the relative distance between the at least two finger touch points becomes smaller gradually, shortening the designated content page synchronously, and increasing transparency of the designated content page synchronously; and

if the relative distance between the at least two finger touch points when the at least two fingers leave the screen is smaller than the relative distance between the two finger touch points when the at least two fingers touch the screen, and is larger than the predefined value, restoring the designated content page into an initial state.

7. The method of any of claims 4, 5 and 6, wherein the preset mapping relationship between the interface display solution and the change information of the relative distance between the at least two finger touch points comprises:

if the relative distance between the at least two finger touch points becomes larger gradually, but is smaller than the relative distance between the at least two finger touch points when the at least two fingers touch the screen, enlarging the designated content page synchronously;

if the relative distance between the at least two finger touch points becomes larger gradually, but is smaller than the relative distance between the at least two finger touch points when the at least two fingers touch the screen, reducing the transparency of the designated content page synchronously; and

if the relative distance between the at least two finger touch points becomes larger gradually, but is smaller than the relative distance between the at least two finger touch points when the at least two fingers touch the screen, enlarging the designated content page synchronously, and reducing the transparency of the designated content page synchronously.

8. The method of claim 1, wherein the obtaining the change information of the relative distance between the at least two finger touch points comprises:

through an application programing interface provided by a system platform of the terminal device, obtaining a relative movement sign of the at least two finger touch points, and determining the change information of the relative distance between the at least two finger touch points according to change of a value of the relative movement sign.

9. The method of any of claims 1 to 5 and 7, wherein the designated content page is a designated content page of an application (APP) run by the terminal device, and the APP is a reading-relevant APP; and

detecting the input gesture received by the terminal device on the designated content page of the APP comprises:

detecting the input gesture received by the terminal device on a reading page for displaying contents of a content carrier.

10. An apparatus for managing an application in a terminal device, comprising:

a gesture detecting module, to detect an input gesture received by the terminal device on a designated content page;

a display solution determining module, to obtain change information of a relative distance between at least two finger touch points after detecting slide information of the at least two finger touch points, and determine an interface display solution corresponding to the change information of the relative distance between the at least two finger touch points; and

a displaying module, to display a current interface according to the determined interface display solution.

11. The apparatus of claim 10, wherein the display solution determining module is to determine the interface display solution corresponding to the change information of the relative distance between the at least two finger touch points according to a preset mapping relationship between the interface display solution and the change information of the relative distance between the at least two finger touch points.

12. The apparatus of claim 11, wherein the preset mapping relationship between the interface display solution and the change information of the relative distance between the at least two finger touch points comprises:

if a relative distance between the at least two finger touch points when at least two fingers leave the screen is smaller than a relative distance between the at least two finger touch points when the at least two fingers touch the screen, and is smaller than or equal to a predefined value, exiting the designated content page.

13. The apparatus of claim 12, wherein the preset mapping relationship between the interface display solution and the change information of the relative distance between the at least two finger touch points comprises:

if the relative distance between the at least two finger touch points becomes smaller gradually, the designated content page is shortened synchronously; and

if the relative distance between the at least two finger touch points when the at least two fingers leave the screen is smaller than the relative distance between the at least two finger touch points when the at least two fingers touch the screen, and is larger than the predefined value, restoring the designated content page into an initial state.

14. The apparatus of claim 12, wherein the preset mapping relationship between the interface display solution and the change information of the relative distance between the at least two finger touch points comprises:

if the relative distance between the at least two finger touch points becomes smaller gradually, increasing transparency of the designated content page synchronously; and if the relative distance between the at least two finger touch points when the at least two fingers leave the screen is smaller than the relative distance between the at least two finger touch points when the at least two fingers touch the screen, and is larger than the predefined value, restoring the designated content page into an initial state.

15. The apparatus of claim 12, wherein the preset mapping relationship between the interface display solution and the change information of the relative distance between the at least two finger touch points comprises:

if the relative distance between the at least two finger touch points becomes smaller gradually, shortening the designated content page synchronously, and increasing transparency of the designated content page synchronously; and

if the relative distance between the at least two finger touch points when the at least two fingers leave the screen is smaller than the relative distance between the at least two finger touch points when the at least two fingers touch the screen, and is larger than the predefined value, restoring the designated content page into an initial state.

16. The apparatus of any of claims 13, 14 and 15, wherein the preset mapping relationship between the interface display solution and the change information of the relative distance between the at least two finger touch points comprises:

if the relative distance between the at least two finger touch points becomes larger gradually, but is smaller than the relative distance between the at least two finger touch points when the at least two fingers touch the screen, enlarging the designated content page synchronously;

if the relative distance between the at least two finger touch points becomes larger gradually, but is smaller than the relative distance between the at least two finger touch points when the at least two fingers touch the screen, reducing the transparency of the designated content page synchronously; and

if the relative distance between the at least two finger touch points becomes larger gradually, but is smaller than the relative distance between the at least two finger touch points when the at least two fingers touch the screen, enlarging the designated content page synchronously, and reducing the transparency of the designated content page synchronously.

17. The apparatus of claim 10, wherein the display solution determining module comprises:

a first sub-module, to trigger a second sub-module when the gesture detecting module determines that the at least two fingers touch the screen and slide on the screen; the second sub-module, to obtain a relative movement sign of the at least two finger touch points through an application programing interface provided by a system platform of the terminal device, and determine the change information of the relative distance between the at least two finger touch points according to change of a value of the relative movement sign; and

a third sub-module, to preset the mapping relationship between the interface display solution and the change information of the relative distance between the at least two finger touch points, and determine the interface display solution corresponding to the change information of the relative distance between the at least two finger touch points according to the preset mapping relationship.

18. The apparatus of any of claims 10 to 15 and 17, wherein the designated content page is a designated content page of an application (APP) run by the terminal device, and the APP is a reading-relevant APP; and the designated content page of the APP is a reading page for displaying contents of a content carrier.

Description:
Method and Apparatus for Managing Application in Terminal

Device

This application claims the benefit of priority from Chinese Patent Application, No. 201310231027.7, entitled "Method and Apparatus for Managing Application in Smart Terminal Device" and filed on June 9, 2013, the entire content of which is hereby incorporated by reference.

Technical Field

The present disclosure relates to data processing technologies, and more particularly to a method and apparatus for managing an application in a terminal device. Background

More and more smart terminal devices have touch screens respectively, such as a computer device having a touch screen, a mobile phone having a touch screen, a palm computer having a touch screen and a tablet computer having a touch screen. A smart terminal device having a touch screen usually exchanges an instruction with a human through the touch screen. Especially, an operator may input an operation instruction into the smart terminal device through the touch screen.

With the popularity of touch screen, input gestures for executing various instructions are widely applied.

The above conventional solution has following disadvantages. It is supposed that the user opens a designated content page of an APP, for example, the user is reading an electronic magazine. If the user intends to switch the current page to another page of the APP, i.e., hopes to change a page display solution on the current page of the APP, the user needs to perform human-computer interaction with the smart terminal device for at least two times. If the screen of the smart terminal device is small, the user also needs to perform a scroll operation for the menu item or the navigation item, and thus operation efficiency of the user is low. For a function item having a high triggering frequency such as a catalog display function, the operation efficiency may be decreased greatly. Summary

An example of the present disclosure provides a method for managing an application in a terminal device, so as to improve the operation efficiency of a user and prevent a display space of content page of the APP from being reduced.

An example of the present disclosure provides an apparatus for managing an application in a terminal device, so as to improve the operation efficiency of a user and prevent a display space of content page of the APP from being reduced.

The method for managing an application in a terminal device includes:

detecting an input gesture received by the terminal device on a designated content page;

obtaining change information of a relative distance between at least two finger touch points after detecting slide information of the at least two finger touch points;

determining an interface display solution corresponding to the change information of the relative distance between the at least two finger touch points; and

displaying a current interface according to the determined interface display solution.

The apparatus for managing an application in a terminal device includes:

a gesture detecting module, to detect an input gesture received by the terminal device on a designated content page;

a display solution determining module, to obtain change information of a relative distance between at least two finger touch points after detecting slide information of the at least two finger touch points, and determine an interface display solution corresponding to the change information of the relative distance between the at least two finger touch points; and

a displaying module, to display a current interface of the APP according to the determined interface display solution.

By the method and apparatus, one input gesture may change the current interface display solution of the APP, thereby improving the operation efficiency of the user and facilitating the user. Because the user may perform an operation through an input gesture, it is unnecessary to display a menu, a navigation column or a "Back" key on the screen of the terminal device, thereby saving the space of the screen and preventing a display space of the content page of the APP from being reduced. Brief Description of Drawings

Features of the present disclosure are illustrated by way of example and not limited in the following figure(s), in which like numerals indicate like elements, in which:

Fig. 1 is a schematic flowchart illustrating a method for managing an application in a terminal device according to an example of the present disclosure.

Fig. 2 is a schematic diagram illustrating a scenario in which a relative distance between two finger touch points is reduced gradually according to an example of the present disclosure.

Fig. 3 is a schematic diagram illustrating a reading-relevant APP in which a page of an electric magazine is closed through a finger pinching action according to an example of the present disclosure.

Fig. 4 is a schematic diagram illustrating an apparatus for managing an application in a terminal device according to an example of the present disclosure.

Fig. 5 is a schematic diagram illustrating the structure of a display solution determining module according to an example of the present disclosure.

Fig. 6 is a schematic diagram illustrating an apparatus for managing an application in a terminal device according to another example of the present disclosure.

Detailed Description

For simplicity and illustrative purposes, the present disclosure is described by referring mainly to examples. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. It will be readily apparent however, that the present disclosure may be practiced without limitation to these specific details. In other instances, some methods and structures have not been described in detail so as not to unnecessarily obscure the present disclosure. Throughout the present disclosure, the terms "a" and "an" are intended to denote at least one of a particular element. As used herein, the term "includes" means includes but not limited to, the term "including" means including but not limited to. The term "based on" means based at least in part on.

Because in conventional technologies, a menu, a navigation column and a "Back" key need to be displayed on a designated region of a screen, a space for displaying a content page of an APP is reduced. For a portable terminal device having a small screen, the amount of information obtained from the content page of the APP by a user may be affected.

The present disclosure is illustrated hereinafter with reference to the accompanying drawings and examples.

Fig. 1 is a schematic flowchart illustrating a method for managing an application on a terminal device according to an example of the present disclosure. As shown in Fig. 1 , the method includes following blocks.

At block 101, an input gesture received by the terminal device is detected on a designated content page.

For example, when a smart terminal device runs an APP, an input gesture received by the smart terminal device is detected on a designated content page of the APP.

At block 102, change information of a relative distance between at least two finger touch points is obtained after detecting slide information of the at least two finger touch points, and an interface display solution corresponding to the change information of the relative distance between the at least two finger touch points is determined.

For example, if it is determined that two fingers touch a screen of the smart terminal device and slide on the screen, change information of a relative distance between two finger touch points is obtained, an interface display solution corresponding to the change information of the relative distance between two finger touch points is determined according to a preset mapping relationship between the interface display solution and the change information of the relative distance between two finger touch points. The finger touch point refers to a point at which a finger touches the screen.

At block 103, a current interface is displayed according to the determined interface display solution.

In an implementation, the smart terminal device refers to a terminal device having a touch screen and a data processing capacity. The smart terminal device includes, but is not limited to, a smart mobile phone having a touch screen, a palm computer having a touch screen and a tablet computer having a touch screen. Each smart terminal device having a touch screen has an operation system, which includes, but is not limited to, Android operation system, Symbian operation system, Windows mobile operation system and Apple iPhone OS. Each smart terminal device having a touch screen all has a receiving module, through which various operations and gestures applied on the touch screen may be received and recognized. The operations and gestures include, but are not limited to, a pressing operation, a slide gesture and so on. The smart terminal device provides an external calling interface, which may be called by an extermal program to detect various operations and gestures received and recognized by the screen of the smart terminal device.

The foregoing illustrates the types of smart terminal devices and the types of operation systems. Those skilled in the art should understand that the examples of the present disclosure should not be limited to the above types, but may be applicable to any other type of smart terminal devices and any other type of operation systems.

In an implementation, the APP is a reading-relevant APP, such as an electronic book reading APP, a news reading APP, a magazine reading APP, a webpage browsing APP and so on. This type of APP usually needs to display multiple content carriers, and each content carrier is displayed through a separated content page. For example, in a reading-relevant APP, multiple electronic magazines are saved, and each electronic magazine is a content carrier. When an electronic magazine is displayed, a separated content page is usually used to display the contents of the electronic magazine. If the electronic magazine is replaced with another electronic magazine, the interface display solution of the APP is changed. That is, the content page of the electronic magazine should be replaced. Accordingly, it is applicable to change the interface display solution of the reading-relevant APP through the solution mentioned in the examples of the present disclosure. By the solution of the present disclosure, the number of human-machine interaction operations may be reduced, operation efficiency and technical effects may be improved, and a display space of the content page of the content carrier may not be reduced. Of cause, the solution of the present disclosure is not limited to the reading-relevant APP, but may be applied to another type of APP.

The current interface of the APP refers to an interface for currently displaying the

APP on the screen. The current interface of the APP may display only one page of the APP, or may display more than one page of the APP. For example, in the reading-relevant APP, the current interface of the APP may display a content page of a magazine or display a catalog page of the magazine. In the reading-relevant APP, a process of detecting the input gesture received by the smart terminal device on the designated content page of the APP includes detecting the input gesture received by the smart terminal device on a reading page for displaying the contents of a content carrier. The content carrier refers to an electronic book, an electronic magazine, an electronic document, webpage contents, etc. The reading page refers to a displaying page for displaying the contents of an electronic book or an electronic magazine.

In an implementation, the preset mapping relationship between the interface display solution and the change information of the relative distance between two finger touch points may be described as follows.

If a relative distance between two finger touch points when two fingers leave the screen is smaller than a relative distance between two finger touch points when two fingers touch the screen, and is smaller than or equal to a predefined value, the designated content page of the APP is exited and a catalog page of the APP is backed to.

In an implementation, a process of obtaining the change information of the relative distance between two finger touch points includes: obtaining a relative movement sign of two finger touch points in real time through an application programing interface provided by a system platform of the smart terminal device, and determining the change information of the relative distance between two finger touch points according to a value of the relative movement sign.

For example, in an IOS platform, the relative move sign is usually a scale. When two fingers touch the screen, an initial value of the scale of two finger touch points is usually equal to 1. When two fingers respectively slide towards the other party, the value of the scale is smaller than 1. That is, two fingers make a pinching gesture. When two fingers respectively slide away from the other part, the value of the scale is larger than 1. According to the change of the value of the scale, the change information of the relative distance of two finger touch points may be determined. If the value of the scale becomes smaller gradually from 1, it is determined that the relative distance between two finger touch points is shortened gradually, as shown in Fig. 2. If the value of the scale becomes larger gradually, it is determined that the relative distance between two finger touch points is enlarged gradually. If the value of the scale between two finger touch points is smaller than or equal to a predefined value when two fingers leave the screen, the designated content page of the APP is exited and the catalog page of the APP is backed to. In an implementation, the predefined value may be set as scaleT, and the scaleT is a minimum relative movement sign of two fingers. In this way, it is only through a finger pinching action that the designated content page of the APP may be exited and the catalog page or another page of the APP may be backed to. Compared with the conventional solution, the solution of the present disclosure may improve operation efficiency and may prevent the designated content page of the APP from being reduced.

According to the above example, the interface display solution for the designated content page of the APP during the finger pinching process may be particularized. That is, the mapping relationship between the interface display solution and the change information of the relative distance between two finger touch points may be particularized.

In an implementation, the mapping relationship between the interface display solution and the change information of the relative distance between two finger touch points may be described as follows.

If the relative distance between two finger touch points becomes smaller gradually, the designated content page of the APP is shortened synchronously. For example, a content page of a reading-relevant APP such as an electronic magazine is displayed on a full screen. If it is determined that the relative distance between two finger touch points becomes smaller gradually, i.e., two fingers make a pinching action, as shown in Fig. 3, a display scale of a content page 300 of the electronic magazine on the screen is shortened synchronously.

If the relative distance between two finger touch points when two fingers leave the screen is smaller than the relative distance between two finger touch points when two fingers touch the screen, and is larger than the predefined value (for example, the scale is larger than the scaleT), the designated content page of the APP is restored into an initial state. That is, the size of the designated content page of the APP is restored into an initial size. In an implementation, the designated content page of the APP may be a page of an electronic magazine.

The above implementation has following technical effects. As shown in Fig. 3, when a user performs a slide pinching action on the screen of the smart terminal device, the size of the content page 300 of the APP is changed synchronously, thereby prompting the user that the content page will be switched or changed, and thus further preventing the user from exiting the current content page because of a wrong operation. When the user is aware of the wrong operation, the content page 300 may be restored into an initial full-screen state as long as the fingers of the user leave the screen and the relative distance between two finger touch points is larger than the predefined value, thereby correcting the wrong operation of the user in time.

In another implementation, the mapping relationship between the interface display solution and the change information of the relative distance between two finger touch points may be described as follows.

If the relative distance between two finger touch points becomes smaller gradually, transparency of the designated content page of the APP is increased synchronously. The value of the transparency is usually larger than or equal to 0 and smaller than or equal to 1. The value of the transparency of the designated content page is usually 0 in the initial state. That is, the designated content page of the APP is not transparent. When the relative distance between two finger touch points becomes smaller gradually, the transparency is increased synchronously. And thus, the designated content page of the APP becomes more and more transparent. If the value of the transparency is increased to 1, the designated content page of the APP is transparent entirely.

If the relative distance between two finger touch points when two fingers leave the screen is smaller than the relative distance between two finger touch points when two fingers touch the screen, and is larger than the predefined value, the designated content page of the APP is restored into an initial state. That is, the transparency is restored into an initial transparency.

The above implementation has following technical effects. When the user performs a slide pinching action on the screen of the smart terminal device, the transparency of the current content page of the APP is changed synchronously, thereby prompting the user that the current content page will be switched or changed, and thus further preventing the user from exiting the current content page because of a wrong operation. When the user is aware of the wrong operation, the current content page may be restored into an initial non-transparent state as long as the fingers of the user leave the screen and the relative distance between two finger touch points is larger than the predefined value, thereby correcting the wrong operation of the user in time.

In another implementation, the above two interface display solutions may be combined. Accordingly, the mapping relationship between the interface display solution and the change information of relative distance between two finger touch points may be described as follows.

If the relative distance between two finger touch points becomes smaller gradually, the designated content page of the APP is shortened synchronously, and the transparency of the designated content page of the APP is increased synchronously.

If the relative distance between two finger touch points when two fingers leave the screen is smaller than the relative distance between two finger touch points when two fingers touch the screen, and is larger than the predefined value, the designated content page of the APP is restored into an initial state. That is, the size of the designated content page of the APP is restored into the initial size, and the transparency of the designated content page of the APP is restored into the initial transparency.

The above implementation has following technical effects. When the user performs a slide pinching action on the screen of the smart terminal device, as shown in Fig. 3, the size and transparency of the content page 300 of the APP is changed synchronously, thereby prompting the user that the current content page will be switched or changed, and thus further preventing the user from exiting the current content page because of a wrong operation. When the user is aware of the wrong operation, the current content page may be restored into an initial full-screen and non-transparent state as long as the fingers of the user leave the screen and the relative distance between two finger touch points is larger than the predefined value, thereby correcting the wrong operation of the user in time.

According to the above description, after the relative distance between two finger touch points becomes smaller gradually, any one finger of the user does not leave the screen, but the relative distance between two finger touch points becomes larger gradually, the designated content page of the APP may be displayed through a reverse interface display solution. Accordingly, the mapping relationship between the interface display solution and the change information of the relative distance between two finger touch points may be described as follows.

If the relative distance between two finger touch points becomes larger gradually, but is smaller than the relative distance between two finger touch points when the fingers touch the screen, the designated content page of the APP is enlarged synchronously.

If the relative distance between two finger touch points becomes larger gradually, but is smaller than the relative distance between two finger touch points when the fingers touch the screen, the transparency of the designated content page of the APP is reduced synchronously.

If the relative distance between two finger touch points becomes larger gradually, but is smaller than the relative distance between two finger touch points when the fingers touch the screen, the designated content page of the APP is enlarged synchronously, and the transparency of the designated content page of the APP is reduced synchronously.

Referring to Fig. 3, the method of the present disclosure is described hereinafter by taking an example in which a content page of an electronic magazine is closed through a pinching gesture.

The user runs a reading-relevant APP on the smart terminal device, selects an electronic magazine, opens the electronic magazine through clicking the cover of the electronic magazine, and reads a content page of the electronic magazine. The content page of the electronic magazine is the designated content page of the APP mentioned in the examples of the present disclosure. Once the user enters the content page of the APP, an input gesture received by the smart terminal device is detected.

Once a finger of the user touches the screen of the smart terminal device, the input gesture of the user may be detected. A method for determining a gesture of closing the current content page of the electronic magazine is implemented as follows.

(1) The number of fingers touching the screen is determined. For example, two fingers touch the screen, called fingerl and finger2 respectively.

(2) When the fingers of the user slide, a relative movement sign "scale" of fingerl and finger2 is obtained. An initial value of the scale is equal to 1. When the value of the scale is smaller than 1, it is determined that fingerl and finger2 respectively glide towards the other party. That is, the user makes a pinching gesture.

(3) During the finger pinching process of the user, the size of the content page 300 of the electronic magazine is shortened or enlarged and the transparency of the content page 300 of the electronic magazine is increased or reduced along with the shortening or enlarging of the relative distance between two finger touch points

(4) When the fingers of the user leave the screen, the gesture of the user is over and the scale of fingers is obtained. If scale <= scaleT, where scaleT is a minimum relative movement sign, the content page 300 of the electronic magazine is shortened to the center of the screen until it disappears, thereby exiting the electronic magazine and backing to a magazine list page of the APP. If scale > scaleT, the size of the content page 300 of the electronic magazine is enlarged gradually until the size of the content page 300 is restored into an initial size and the transparency is restored into an initial transparency.

This pinching gesture provides a mode of exiting the electronic magazine, and thus the exiting mode is not limit to a "Back" button in a navigation column.

Based on the above method, an apparatus for managing an application in a terminal device is provided according to an example of the present disclosure. The apparatus may execute the above method. Fig. 4 is a schematic diagram illustrating an apparatus for managing an application in a terminal device according to an example of the present disclosure. The apparatus is set inside a terminal device. Referring to Fig. 4, the apparatus 400 includes following modules.

A gesture detecting module 401 is to detect an input gesture received by the terminal device on a designated content page.

For example, the gesture detecting module 401 is to detect an input gesture received by a smart terminal device in a designated content page of an APP when the smart terminal device runs the APP.

A display solution determining module 402 is to obtain change information of a relative distance between at least two finger touch points after detecting slide information of the at least two finger touch points, and determine an interface display solution corresponding to the change information of the relative distance between the at least two finger touch points.

For example, the display solution determining module 402 is to obtain change information of a relative distance between two finger touch points when the gesture detecting module 401 determines that two fingers touch a screen of the smart terminal device and slide on the screen, and determine an interface display solution corresponding to the change information of the relative distance between two finger touch points according to a mapping relationship between the interface display solution and the change information of the relative distance between two finger touch points. The mapping relationship is preset by the display solution determining module 402.

A displaying module 403 is to display a current interface according to the determined interface display solution.

In an implementation, the APP is a reading-relevant APP, such as an electronic book reading APP, a news reading APP, a magazine reading APP, a webpage browsing APP and so on. This type of APP usually needs to display multiple content carriers, and each content carrier is displayed through a separated content page. Of cause, the solution of the present disclosure is not limited to the reading-relevant APP, but may be applied to another type of APP.

In the reading-relevant APP, a process of detecting the input gesture received by the smart terminal device on the designated content page of the APP includes detecting the input gesture received by the smart terminal device on a reading page for displaying the contents of a content carrier. The content carrier refers to an electronic book, an electronic magazine, an electronic document, webpage contents, etc. The reading page refers to a displaying page for displaying the contents of an electronic book or an electronic magazine.

Fig. 5 is a schematic diagram illustrating the structure of a display solution determining module according to an example of the present disclosure. Referring to Fig.5, the display solution determining module 402 includes following sub-modules.

A first sub-module 501 is to trigger a second sub-module 502 when the gesture detecting module 401 determines that two fingers touch the screen and slide on the screen.

The second sub-module 502 is to obtain a relative movement sign of two finger touch points through an application programing interface provided by a system platform of the smart terminal device, and determine the change information of the relative distance between two finger touch points according to the change of a value of the relative movement sign.

A third sub-module 503 is to preset the mapping relationship between the interface display solution and the change information of the relative distance between two finger touch points, and determine the interface display solution corresponding to the change information of the relative distance between two finger touch points according to the preset mapping relationship.

In an implementation, the mapping relationship between the interface display solution and the change information of the relative distance between two finger touch points may be described as follows.

If a relative distance between two finger touch points when two fingers leave the screen is smaller than a relative distance between two finger touch points when two fingers touch the screen, and is smaller than or equal to a predefined value, the designated content page of the APP is exited.

In this way, it is only through a finger pinching action that the designated content page of the APP may be exited and the catalog page or another page of the APP may be backed to. Compared with the conventional solution, the solution of the present disclosure may improve operation efficiency and may prevent the designated content page of the APP from being reduced.

According to the above example, the interface display solution for the designated content page of the APP during the finger pinching process may be particularized. That is, the mapping relationship between the interface display solution and the change information of the relative distance between two finger touch points may be particularized.

In an implementation, the mapping relationship between the interface display solution and the change information of the relative distance between two finger touch points may be described as follows.

If the relative distance between two finger touch points becomes smaller gradually, the designated content page of the APP is shortened synchronously.

If the relative distance between two finger touch points when two fingers leave the screen is smaller than the relative distance between two finger touch points when two fingers touch the screen, and is larger than the predefined value, the designated content page of the APP is restored into an initial state.

The above implementation has following technical effects. As shown in Fig. 3, when a user performs a slide pinching action on the screen of the smart terminal device, the size of the content page 300 of the APP is changed synchronously, thereby prompting the user that the content page will be switched or changed, and thus further preventing the user from exiting the current content page because of a wrong operation. When the user is aware of the wrong operation, the content page 300 may be restored into an initial full-screen state as long as the fingers of the user leave the screen and the relative distance between two finger touch points is larger than the predefined value, thereby correcting the wrong operation of the user in time.

In another implementation, the mapping relationship between the interface display solution and the change information of the relative distance between two finger touch points may be described as follows.

If the relative distance between two finger touch points becomes smaller gradually, transparency of the designated content page of the APP is increased synchronously.

If the relative distance between two finger touch points when two fingers leave the screen is smaller than the relative distance between two finger touch points when two fingers touch the screen, and is larger than the predefined value, the designated content page of the APP is restored into an initial state.

The above implementation has following technical effects. When the user performs a slide pinching action on the screen of the smart terminal device, the transparency of the current content page of the APP is changed synchronously, thereby prompting the user that the current content page will be switched or changed, and thus further preventing the user from exiting the current content page because of a wrong operation. When the user is aware of the wrong operation, the current content page may be restored into an initial non-transparent state as long as the fingers of the user leave the screen and the relative distance between two finger touch points is larger than the predefined value, thereby correcting the wrong operation of the user in time.

In another implementation, the above two interface display solutions may be combined. Accordingly, the mapping relationship between the interface display solution and the change information of relative distance between two finger touch points may be described as follows.

If the relative distance between two finger touch points becomes smaller gradually, the designated content page of the APP is shortened synchronously, and the transparency of the designated content page of the APP is increased synchronously.

If the relative distance between two finger touch points when two fingers leave the screen is smaller than the relative distance between two finger touch points when two fingers touch the screen, and is larger than the predefined value, the designated content page of the APP is restored into an initial state.

The above implementation has following technical effects. When the user performs a slide pinching action on the screen of the smart terminal device, as shown in Fig. 3, the size and transparency of the content page 300 of the APP is changed synchronously, thereby prompting the user that the current content page will be switched or changed, and thus further preventing the user from exiting the current content page because of a wrong operation. When the user is aware of the wrong operation, the current content page may be restored into an initial full-screen and non-transparent state as long as the fingers of the user leave the screen and the relative distance between two finger touch points is larger than the predefined value, thereby correcting the wrong operation of the user in time.

According to the above description, after the relative distance between two finger touch points becomes smaller gradually, any one finger of the user does not leave the screen, but the relative distance between two finger touch points becomes larger gradually, the designated content page of the APP may be displayed through a reverse interface display solution. Accordingly, the mapping relationship between the interface display solution and the change information of the relative distance between two finger touch points may be described as follows. If the relative distance between two finger touch points becomes larger gradually, but is smaller than the relative distance between two finger touch points when the fingers touch the screen, the designated content page of the APP is enlarged synchronously.

If the relative distance between two finger touch points becomes larger gradually, but is smaller than the relative distance between two finger touch points when the fingers touch the screen, the transparency of the designated content page of the APP is reduced synchronously.

If the relative distance between two finger touch points becomes larger gradually, but is smaller than the relative distance between two finger touch points when the fingers touch the screen, the designated content page of the APP is enlarged synchronously, and the transparency of the designated content page of the APP is reduced synchronously.

The modules in each example of the present disclosure may be integrated into one processing unit, or may be separated to each other. Alternatively, more than two modules may be integrated into one unit.

Each example of the present disclosure may be implemented by a data processing program run by the smart terminal device. Obviously, the data processing program is an implementation of the present disclosure. Generally, the data processing program stored in a storage medium may be executed through reading the data processing program from the storage medium or installing or copying the data processing program into a storage device (for example, a hard disk and/or memory) of a data processing device. And thus, the storage medium is an implementation of the present disclosure. The storage medium may record data through any mode. For example, the storage medium may be a paper storage medium such as punch tape, a magnetism storage medium such as a floppy disk, a hard disk and a flash, an optical storage medium such as a CD-ROM, and a magnetism-optical storage medium.

Accordingly, an example of the present disclosure provides a storage medium, in which a data processing program is stored. The data processing program may execute the method provided by the above examples of the present disclosure.

Fig. 6 is a schematic diagram illustrating an apparatus for managing an application on a device according to an example of the present disclosure. As shown in Figure 6, the apparatus for managing an application on a terminal device at least includes a storage and a processor communicating with the storage, in which the storage includes a gesture detecting instruction, a display solution determining instruction and a displaying instruction that can be executed by the processor. The storage may be a non-transitory computer readable storage medium and the gesture detecting instruction, the display solution determining instruction and the displaying instruction may be machine readable instructions stored in the storage. The processor may also execute the machine readable instructions stored in the storage.

The gesture detecting instruction may detect an input gesture received by the terminal device on a designated content page.

The display solution determining instruction may obtain change information of a relative distance between at least two finger touch points after detecting slide information of the at least two finger touch points, and determine an interface display solution corresponding to the change information of the relative distance between the at least two finger touch points.

The displaying instruction may display a current interface according to the determined interface display solution.

In an implementation, the display solution determining instruction may determine the interface display solution corresponding to the change information of the relative distance between the at least two finger touch points according to a preset mapping relationship between the interface display solution and the change information of the relative distance between the at least two finger touch points.

In an implementation, the preset mapping relationship between the interface display solution and the change information of the relative distance between the at least two finger touch points includes:

if a relative distance between the at least two finger touch points when at least two fingers leave the screen is smaller than a relative distance between the at least two finger touch points when the at least two fingers touch the screen, and is smaller than or equal to a predefined value, exiting the designated content page.

In an implementation, the preset mapping relationship between the interface display solution and the change information of the relative distance between the at least two finger touch points includes:

if the relative distance between the at least two finger touch points becomes smaller gradually, the designated content page is shortened synchronously; and

if the relative distance between the at least two finger touch points when the at least two fingers leave the screen is smaller than the relative distance between the at least two finger touch points when the at least two fingers touch the screen, and is larger than the predefined value, restoring the designated content page into an initial state.

In an implementation, the preset mapping relationship between the interface display solution and the change information of the relative distance between the at least two finger touch points includes:

if the relative distance between the at least two finger touch points becomes smaller gradually, increasing transparency of the designated content page synchronously; and if the relative distance between the at least two finger touch points when the at least two fingers leave the screen is smaller than the relative distance between the at least two finger touch points when the at least two fingers touch the screen, and is larger than the predefined value, restoring the designated content page into an initial state.

In an implementation, the preset mapping relationship between the interface display solution and the change information of the relative distance between the at least two finger touch points includes:

if the relative distance between the at least two finger touch points becomes smaller gradually, shortening the designated content page synchronously, and increasing transparency of the designated content page synchronously; and

if the relative distance between the at least two finger touch points when the at least two fingers leave the screen is smaller than the relative distance between the at least two finger touch points when the at least two fingers touch the screen, and is larger than the predefined value, restoring the designated content page into an initial state.

In an implementation, the preset mapping relationship between the interface display solution and the change information of the relative distance between the at least two finger touch points includes:

if the relative distance between the at least two finger touch points becomes larger gradually, but is smaller than the relative distance between the at least two finger touch points when the at least two fingers touch the screen, enlarging the designated content page synchronously;

if the relative distance between the at least two finger touch points becomes larger gradually, but is smaller than the relative distance between the at least two finger touch points when the at least two fingers touch the screen, reducing the transparency of the designated content page synchronously; and

if the relative distance between the at least two finger touch points becomes larger gradually, but is smaller than the relative distance between the at least two finger touch points when the at least two fingers touch the screen, enlarging the designated content page synchronously, and reducing the transparency of the designated content page synchronously.

In an implementation, the display solution determining instruction includes:

a first sub-instruction, to trigger a second sub-instruction when the gesture detecting instruction determines that the at least two fingers touch the screen and slide on the screen;

the second sub-instruction, to obtain a relative movement sign of the at least two finger touch points through an application programing interface provided by a system platform of the terminal device, and determine the change information of the relative distance between the at least two finger touch points according to change of a value of the relative movement sign; and

a third sub-instruction, to preset the mapping relationship between the interface display solution and the change information of the relative distance between the at least two finger touch points, and determine the interface display solution corresponding to the change information of the relative distance between the at least two finger touch points according to the preset mapping relationship.

In an implementation, the designated content page is a designated content page of an APP run by the terminal device, and the APP is a reading-relevant APP; and

the designated content page of the APP is a reading page for displaying contents of a content carrier.

Although described specifically throughout the entirety of the instant disclosure, representative examples of the present disclosure have utility over a wide range of applications, and the above discussion is not intended and should not be construed to be limiting, but is offered as an illustrative discussion of aspects of the disclosure.

What has been described and illustrated herein is an example along with some of its variations. The terms, descriptions and figures used herein are set forth by way of illustration only and are not meant as limitations. Many variations are possible within the spirit and scope of the subject matter, which is intended to be defined by the following claims— and their equivalents— in which all terms are meant in their broadest reasonable sense unless otherwise indicated.