CN105589698B - A kind of method and system of quick start system function - Google Patents

A kind of method and system of quick start system function Download PDF

Info

Publication number
CN105589698B
CN105589698B CN201410557244.XA CN201410557244A CN105589698B CN 105589698 B CN105589698 B CN 105589698B CN 201410557244 A CN201410557244 A CN 201410557244A CN 105589698 B CN105589698 B CN 105589698B
Authority
CN
China
Prior art keywords
touch event
gesture
screen
edge
system function
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
CN201410557244.XA
Other languages
Chinese (zh)
Other versions
CN105589698A (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 CN201410557244.XA priority Critical patent/CN105589698B/en
Publication of CN105589698A publication Critical patent/CN105589698A/en
Priority to HK16112184.3A priority patent/HK1224044A1/en
Application granted granted Critical
Publication of CN105589698B publication Critical patent/CN105589698B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides a kind of method and systems of quick start system function, preset the corresponding relationship between edge kneading gesture and system function, this method comprises: identification touch event;If identifying that touch event meets preset edge kneading gesture, the corresponding system function of the edge kneading gesture is triggered;Wherein the edge kneading gesture is that the more fingers initiated from screen edge mediate slip gesture.The present invention, come quick start system function, is slided kneading gesture by more fingers that edge is initiated due to not yet existing in current existing application, will not conflict with the gesture in existing application and cause maloperation using edge kneading gesture;In addition, due to and be not used intelligent terminal physical button, reduce hardware abrasion.

Description

Method and system for quickly starting system function
[ technical field ] A method for producing a semiconductor device
The invention relates to the technical field of computer application, in particular to a method and a system for quickly starting system functions.
[ background of the invention ]
For an intelligent terminal carrying an operating system such as IOS, android or YunOS, how to enable a user to quickly and conveniently use system functions is a problem that existing designers and developers are thinking about, wherein the system functions include but are not limited to: screen capture, shortcut selection, recent task selection, hidden application selection, jump to the previous application, jump to the next application, application switch back and forth, fast security function setting, and the like. At present, the following methods mainly exist in the method for quickly starting the system function:
1) a single physical key is used. However, since the number of single physical keys of the smart terminal is limited, the smart terminal is usually only used in a very critical scene and is unlikely to be used for quickly starting system functions.
2) A combination physical key is used. For example, a "power + volume" key is used for several seconds for screen capture. However, usually, the single physical key has its own function, so that the combined physical key is easy to be operated by mistake; in order to improve the success rate of starting the system functions, a user inevitably presses the combined physical key hard for a period of time, which causes serious abrasion of the physical key; in addition, this method requires waiting for several seconds, and the real-time performance is also poor.
3) Drop down forms (e.g., status bars) are manufactured to carry various shortcut operations. However, such an operation process is complicated, and a user needs to perform at least steps of pulling down the status bar, searching for a desired operation in the status bar, clicking an icon, and the like, and sometimes a page turning operation may be required when there are many operation items in the status bar.
4) And virtual keys of a navigation bar arranged at the bottom of the mobile phone are utilized. However, the resources of the virtual keys are relatively limited, and the gestures operated on the virtual keys are relatively single, namely, only three types of single-key, double-click and long-press are provided, and the gestures are often occupied by other functions or applications of the system.
5) Multi-valued swipe gestures are used on the screen to quickly initiate system functions. But this approach easily conflicts with gestures within the application, such as: the IOS system realizes the function of switching the application by sliding left and right with four fingers, which conflicts with the sliding of the game of 'fruit ninja', so that the gesture cannot be used in the application of 'fruit ninja' to switch the application.
[ summary of the invention ]
In view of the above, the present invention provides a method and system for quickly starting system functions, so as to reduce misoperation and hardware wear.
The specific technical scheme is as follows:
the invention provides a method for quickly starting system functions, which presets a corresponding relation between an edge pinch gesture and the system functions, and comprises the following steps:
recognizing a touch event;
if the touch event is recognized to accord with the preset edge pinch gesture, triggering a system function corresponding to the edge pinch gesture; wherein the edge pinch gesture comprises: a multi-finger pinch swipe gesture initiated from an edge of the screen.
According to a preferred embodiment of the present invention, the operations of recognizing the touch event and triggering the system function corresponding to the edge pinch gesture are performed by a global gesture control module; the method further comprises the following steps:
and the touch event distribution module receives a touch event from the bottom layer module of the operating system and sends the touch event to the global gesture control module.
According to a preferred embodiment of the invention, the method further comprises:
the touch event distribution module judges whether the touch event is forbidden to be sent to the application displayed on the screen, and if not, the touch event is sent to the application displayed on the screen; if so, the touch event is not sent to the application which is displayed on the screen;
when the global gesture control module recognizes that the touch event meets a preset edge pinch gesture, the touch event distribution module is prohibited from sending the touch event to the application displayed on the screen.
According to a preferred embodiment of the invention, the method further comprises:
the global gesture control module cancels the prohibition after the touch event is finished; or,
and after the global gesture control module triggers the system function, if the touch gesture is finished, the prohibition is cancelled.
According to a preferred embodiment of the invention, the method further comprises:
and if the touch event distribution module is forbidden to send the touch event to the application on which the screen is displaying, sending a message for canceling the recognition of the touch event to the application on which the screen is displaying.
According to a preferred embodiment of the present invention, the global gesture control module obtains the setting of the corresponding relationship by the user through a setting interface.
According to a preferred embodiment of the present invention, the multi-finger pinch-and-slide gesture initiated from the edge of the screen includes:
respectively initiating single-finger sliding gestures which are close to each other from at least two edges of a screen; or
A multi-finger swipe gesture is initiated from at least two edges of the screen, respectively, that are close to each other.
According to a preferred embodiment of the present invention, the recognizing the touch event includes:
s1, identifying the type of the touch event, and if the touch event is a press event, executing a step S2; if it is a slide event, go to step S3; if the event is a lift-off event or a cancel event, executing step S4;
s2, judging whether the total number of the pressed fingers in the touch event is more than two and the pressed positions of the fingers accord with the initial position of a preset edge kneading gesture, if so, setting an identification flag bit to be in an identification state;
s3, judging whether the identification flag bit is in an identification state, if so, judging whether the finger sliding direction is consistent with an edge pinch gesture corresponding to the finger pressing position, and if so, identifying that the touch event is consistent with a preset edge pinch gesture;
and S4, determining the touch gesture is finished, and setting the identification flag bit to be in a finished state.
According to a preferred embodiment of the present invention, the step S2 specifically includes:
s21, judging whether the finger in the touch event is pressed down from the edge of the screen, if so, executing a step S22; otherwise, confirming that the touch event does not belong to the edge pinch gesture, and setting the identification flag bit to be in an end state;
s22, identifying the total number of the pressed fingers, and if the number of the pressed fingers is more than two, executing a step S23; if the number of the identification mark is one, setting the identification mark bit as a starting state;
s23, judging whether the pressing position of the finger accords with the initial position of the preset edge kneading gesture, if so, setting the identification flag bit to be in an identification state; otherwise, wait for the next touch event.
According to a preferred embodiment of the present invention, triggering the system function corresponding to the edge pinch gesture includes:
judging whether a system function corresponding to the edge pinch gesture is triggered or not, and if not, directly triggering the system function; if yes, further determining whether to continue triggering according to the characteristics of the system function, if yes, continuing to trigger the system function, otherwise, not triggering the system function any more.
The invention provides a system for quickly starting system functions, which comprises a global gesture control module; the global gesture control module comprises a touch event processing submodule;
the touch event processing submodule is used for identifying a touch event, and if the touch event is identified to accord with a preset edge pinch gesture, triggering a system function corresponding to the edge pinch gesture; wherein the edge pinch gesture comprises: a multi-finger pinch swipe gesture initiated from an edge of the screen.
According to a preferred embodiment of the present invention, the system further comprises:
and the touch event distribution module is used for receiving the touch event from the bottom layer module of the operating system and sending the touch event to the touch event processing submodule.
According to a preferred embodiment of the present invention, the touch event distribution module is further configured to determine whether sending of a touch event to an application being displayed on a screen is prohibited, and if not, send the touch event to the application being displayed on the screen; if so, the touch event is not sent to the application which is displayed on the screen;
the touch event processing sub-module is further configured to prohibit the touch event distribution module from sending the touch event to the application being displayed on the screen when the touch event is identified to meet a preset edge pinch gesture.
According to a preferred embodiment of the present invention, the touch event processing sub-module is further configured to cancel the prohibition after the touch event is finished, or cancel the prohibition if the touch gesture is finished after the system function is triggered.
According to a preferred embodiment of the present invention, the touch event distribution module is further configured to send a message to cancel the recognition of the touch event to the application being displayed on the screen if the sending of the touch event to the application being displayed on the screen is prohibited.
According to a preferred embodiment of the present invention, the global gesture control module further comprises: and the touch event management submodule is used for acquiring the setting of the corresponding relation by a user through a setting interface and providing the corresponding relation for the touch event processing submodule.
According to a preferred embodiment of the present invention, the multi-finger pinch-and-slide gesture initiated from the edge of the screen includes:
respectively initiating single-finger sliding gestures which are close to each other from at least two edges of a screen; or
A multi-finger swipe gesture is initiated from at least two edges of the screen, respectively, that are close to each other.
According to a preferred embodiment of the present invention, the touch event processing sub-module specifically performs the following operations:
s1, identifying the type of the touch event, and if the type of the touch event is a press event, executing operation S2; if it is a slide event, operation S3 is performed; if it is a lift-up event or a cancel event, performing operation S4;
s2, judging whether the total number of the pressed fingers in the touch event is more than two and the pressed positions of the fingers accord with the initial position of a preset edge kneading gesture, if so, setting an identification flag bit to be in an identification state;
s3, judging whether the identification flag bit is in an identification state, if so, judging whether the finger sliding direction is consistent with an edge pinch gesture corresponding to the finger pressing position, and if so, identifying that the touch event is consistent with a preset edge pinch gesture;
and S4, determining the touch gesture is finished, and setting the identification flag bit to be in a finished state.
According to a preferred embodiment of the present invention, when performing operation S2, the touch event processing sub-module specifically performs the following operations:
s21, judging whether the finger in the touch event is pressed down from the edge of the screen, if so, executing a step S22; otherwise, confirming that the touch event does not belong to the edge pinch gesture, and setting the identification flag bit to be in an end state;
s22, identifying the total number of the pressed fingers, and if the number of the pressed fingers is more than two, executing a step S23; if the number of the identification mark is one, setting the identification mark bit as a starting state;
s23, judging whether the pressing position of the finger accords with the initial position of the preset edge kneading gesture, if so, setting the identification flag bit to be in an identification state; otherwise, wait for the next touch event.
According to a preferred embodiment of the present invention, when triggering the system function corresponding to the edge pinch gesture, the touch event processing subunit specifically executes:
judging whether a system function corresponding to the edge pinch gesture is triggered or not, and if not, directly triggering the system function; if yes, further determining whether to continue triggering according to the characteristics of the system function, if yes, continuing to trigger the system function, otherwise, not triggering the system function any more.
According to the technical scheme, the system function is quickly started by adopting the edge pinch gesture, and the multi-finger sliding pinch gesture initiated by the edge does not exist in the existing application, so that misoperation caused by the conflict of the multi-finger sliding pinch gesture and the gesture in the existing application is avoided; in addition, because the physical key of the intelligent terminal is not used, the hardware abrasion is reduced.
[ description of the drawings ]
FIG. 1 is a diagram illustrating several multi-finger pinch-and-slide gestures provided by an embodiment of the present invention;
FIG. 2 is a block diagram of a system according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for quickly starting system functions according to an embodiment of the present invention;
fig. 4 is a flowchart of processing a touch event by the touch event processing sub-module according to the embodiment of the present invention.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
In view of convenience of operation and reduction of abrasion on physical keys, the system function is started by gestures on a screen, but in order to avoid misoperation, the adopted gestures need to be considered to be different from gestures used in applications, so that the system function is quickly started by edge pinch gestures, wherein the edge pinch gestures refer to multi-finger pinch sliding gestures initiated from the edge of the screen, the multi-finger pinch gestures refer to two or more fingers, the pinch gestures refer to the close of the sliding position with aggregation intention, and the sliding position is closer and closer along with sliding. The multi-finger pinch swipe gesture initiated from the edge of the screen may include, but is not limited to: examples of the multi-finger pinch slide gesture initiated from the screen edge may be as shown in fig. 1(a) to 1(h), where the rectangular boxes shown in the figures represent the screen edges of the smart terminal, each arrow represents one finger, and the arrows represent the trajectory and direction of the finger slide.
Different edge pinch gestures may be preset to correspond to different system functions, and a few examples of the edge pinch gesture are given below, but it should be noted that the present invention is not limited to the gestures and the corresponding relationships.
For example, the screen capture function is started by an inward pinch-and-slide gesture initiated by two fingers from two edges of the left and right of the screen, respectively, as shown in fig. 1(a), wherein a square block represents the screen of the intelligent terminal, and an arrow represents the track and the direction of the gesture. The screen capture function can also be started by an inward pinch-and-slide gesture initiated by two fingers from two edges on the upper and lower sides of the screen respectively, as shown in fig. 1 (b). The gesture of pinch-in swipe initiated by two fingers from two edges at the left and bottom of the screen, respectively, is used to jump to the next application, as shown in fig. 1 (c). An inward pinch-and-slide gesture initiated by two fingers from two edges on the right and bottom of the screen, respectively, is used to jump to the previous application, as shown in fig. 1 (d). An inward pinch-and-slide gesture initiated by two fingers from two edges on the left and top of the screen, respectively, is employed to toggle between applications, as shown in fig. 1 (e). An inward pinch-and-slide gesture initiated by two fingers from two edges on the right and top of the screen, respectively, is employed to toggle between applications, as shown in fig. 1 (f). The system function list is opened by an inward pinch-and-slide gesture initiated by four fingers from two edges above and below the screen, respectively, wherein two fingers are initiated from the upper edge of the screen, and the other two fingers are initiated from the lower edge of the screen, as shown in fig. 1 (g). The security setting list (including whether wifi and 3G, GPS can be accessed, whether short messages can be sent, a call can be made, whether an address book can be accessed, and the like) is opened by adopting an inward pinch-and-slide gesture initiated by four fingers from the left edge and the right edge of the screen respectively, wherein two fingers are initiated from the left edge of the screen, and the other two fingers are initiated from the lower edge of the screen, as shown in (h) in fig. 1.
The following describes a specific implementation of using an edge pinch gesture to quickly start a system function, and first describes a system framework on which the present invention is based, as shown in fig. 2, the system includes a touch event distribution module and a global gesture control module, and may further include a touch event setting module.
The touch event distribution module has the main function of receiving touch events from the operating system bottom layer module and distributing the touch events to the global gesture control module and the application currently displayed on the screen. The operation system bottom layer module is an intelligent operation system of the intelligent terminal, has basic functions of the intelligent operation system, and relates to a touch event reporting function, namely reporting the touch event to the touch event distribution module. The application currently displayed on the screen refers to the application which is displayed and is being run and seen on the screen of the intelligent terminal by the user.
The global gesture control module plays a global control role on the gesture, and mainly comprises two parts:
one is to monitor a touch event, analyze the touch event, and if it is determined that the gesture of the touch event conforms to the edge pinch gesture, quickly start a system function corresponding to the gesture of the touch event, and prohibit the touch event distribution module from sending the touch event to the application currently displayed on the screen. This part of the function is performed by the touch event processing submodule.
And secondly, managing the corresponding relation between the edge pinch gesture and the system function, reading the preset system or downloading the corresponding relation between the gesture and the system function from a specified position, displaying the corresponding relation to a user for learning, and finishing the setting of the corresponding relation between the edge pinch gesture and the system function according to the setting of the user, wherein the user can start a setting interface through the system function for setting. This part of the function is performed by the touch event management submodule and the setting information is supplied to the touch event processing submodule.
The following describes a flow of a method for quickly starting a system function implemented based on the above system with reference to fig. 3, as shown in fig. 3, the method mainly includes the following flows:
in step 301, when the user touches the screen, the operating system bottom layer module reports the touch event to the touch event distribution module.
Touch events herein may include, but are not limited to: a press event, a slide event, a lift event, and a cancel event. The number of fingers and position information can be identified for each event, and the acquisition and identification of touch events are prior art and will not be described in detail here.
In step 302, the touch event distribution module sends the touch event to a touch event processing sub-module in the global gesture control module. Meanwhile, the touch event distribution module judges whether the touch event is forbidden to be sent to the application displayed on the screen, and if not, the touch event is also sent to the application displayed on the screen; if so, the touch event is not sent to the application that the screen is displaying.
The touch event distributing module is forbidden to send the touch event to the application being displayed on the screen by the touch event processing submodule in the global gesture control module, namely, once the touch event processing submodule recognizes that the touch event meets an edge pinch gesture for quickly starting a system function, the touch event distributing module is forbidden to send the touch event to the application being displayed on the screen, and after the touch event is finished or the system function is triggered, the touch event processing submodule cancels the prohibition, namely, the touch event distributing module is allowed to send the touch event to the application being displayed on the screen, and the follow-up details relate to. Preferably, if the touch event distribution module is prohibited from sending the touch event to the application whose screen is displaying, a message to cancel the recognition may be sent to the application whose screen is displaying.
For the application with the screen being displayed, if a touch event is received, the touch event is recognized and processed, namely, the function of the gesture in the application is started according to the gesture corresponding to the touch event. If the application whose screen is being displayed receives a message to cancel the recognition, the recognition and processing of the touch event is cancelled.
In step 303, the touch event processing sub-module identifies the received touch event, and triggers a system function corresponding to the touch gesture if the touch gesture is identified to conform to a preset edge pinch gesture. And when the touch event is identified to conform to the preset edge pinch gesture, the touch event distribution module is prohibited from sending the touch event to the application displayed on the screen. If the touch gesture is identified not to conform to the edge pinch gesture, the prohibition of sending the touch event to the application displayed on the current screen by the touch event distribution module is cancelled; or after the system function corresponding to the touch gesture is triggered, if the touch gesture is finished, the prohibition of sending the touch event to the application currently displayed on the current screen by the touch event distribution module is cancelled.
The touch event is processed by the application which is triggered to perform system function or displayed on the screen, and the result is fed back to the user, so that the user can sense the processing result.
As can be seen from the above process, specifically, whether the system function is started or the application which is being displayed on the screen processes the touch event is controlled by the touch event processing submodule in the touch event control module, if the touch event processing submodule recognizes that the touch event belongs to the edge pinch gesture, the system function is started, and the application which is being displayed on the screen is prohibited from processing the touch event; and if the touch event processing sub-module identifies that the touch event does not belong to the edge pinch gesture, the inhibition of the application on the screen for processing the touch event is cancelled, so that the application on the screen can perform normal processing and reaction on the touch event.
The processing flow of the touch event by the touch event processing sub-module is described in detail below with reference to fig. 4, as shown in fig. 4. Firstly, in step 401, the touch event processing sub-module identifies the type of the received touch event, and if the type of the received touch event is a touch event (touchstart), step 402 is executed; if it is a swipe event (touchmove), go to step 405; if it is a lift event (touchend) or cancel event (touchcancel), step 407 is performed.
In step 402, the touch event processing sub-module determines whether the touch event is pressed from the edge of the screen, where the touch event includes location information touched by the user, and determines whether the touch event is pressed from the edge of the screen according to the location information, where the touch event may be set to belong to the edge of the screen within a certain range on the screen, and if the location initially touched by the user is within the range, the touch event is considered to be pressed from the edge of the screen.
If the touch event is not pressed from the edge of the screen, it is determined that the touch event does not belong to the edge pinch gesture, step 407 is executed, the identification flag is set to be in an end state, that is, the identification processing of the touch event is ended, and the prohibition of sending the touch event to the application being displayed on the screen by the touch event distribution module can be further cancelled. If the touch event is determined to be pressed from the edge of the screen, the process continues to step 403.
In step 403, the touch event processing sub-module further identifies the total number of pressed fingers in the touch event, and if the number of pressed fingers is one finger, step 408 is executed to set the identification flag bit to the start state. If there are more than two fingers, then execution continues with step 404.
Since the edge pinch gesture requirement is a multi-finger slide pinch gesture initiated from the edge, if the total number of pressed fingers is one finger, the recognition is started, i.e., the flag is set to the start state, and the trigger events of other fingers are waited for. If the total number of the pressed fingers reaches more than two, the position and the number of the gesture initiation can be judged to accord with the preset edge pinch gesture,
in step 404, the touch event processing sub-module determines whether the pressing position of the finger matches the pressing position of the preset edge pinch gesture, and if so, executes step 409, sets the identification flag to be in an identification state, and may further prohibit the touch event distribution module from sending a touch event to the application being displayed on the screen. Otherwise, wait for the next touch event.
The finger-edge depression is not necessarily an edge-pinch gesture that initiates a system function, and the combination of the depressed positions of the multiple fingers must be consistent with the initial position of the preset edge-pinch gesture, and if not, not consistent with the preset edge-pinch gesture. The preset initial position of the edge pinch gesture can be a set position of a set screen edge, a set position range of the set screen edge or the set screen edge.
In step 405, the touch event processing sub-module determines whether the identification flag is in an identification state, if so, performs step 406, otherwise waits for the next touch event.
If the identification flag is in an identification state, the starting position of the user gesture is in accordance with the preset edge pinch gesture, and the next judgment about sliding can be carried out.
In step 406, identifying whether the touch event belongs to an edge pinch gesture, that is, whether the finger sliding direction is consistent with the edge pinch gesture corresponding to the finger pressing position, if so, executing step 410 to trigger a corresponding system function; otherwise, wait for the next touch event.
If the finger pressing position conforms to a preset edge pinch gesture or a plurality of edge pinch gestures, it needs to be further determined whether the sliding direction still conforms to one of the edge pinch gestures, and only if the sliding direction still conforms to one of the edge pinch gestures, the gesture capable of recognizing the touch event conforms to the preset edge pinch gesture, that is, a determination of a combination of the finger pressing position and the sliding direction needs to be performed.
When triggering the corresponding system function, if the system function is not triggered, directly triggering the system function; if the system function is triggered, whether the system function needs to be continuously triggered or not needs to be determined according to the characteristics of the system function, if yes, the system function continues to be triggered, and otherwise, the system function is not triggered any more. Because some system functions need to be triggered only once, such as a screen capture function, while some system functions need to be continuously triggered due to the need for dynamic effects, such as display shortcut selection, recent task selection, hidden application selection list function.
In step 407, since the gesture has ended, the identification flag is set to an end state, and the prohibition of the touch event distribution module sending the touch event to the application being displayed on the screen is cancelled.
From the above description, it can be seen that the system and method provided by the present invention have the following advantages:
1) the invention adopts the edge pinch gesture to quickly start the system function, and because the multi-finger sliding pinch gesture initiated by the edge does not exist in the existing application, the misoperation caused by the conflict with the gesture in the existing application can be avoided.
2) According to the invention, the system function is quickly started by adopting the gesture on the screen, and the physical key of the intelligent terminal is not used, so that the hardware abrasion is reduced.
3) In the invention, the corresponding relation between the edge pinch gesture and the system function is pre-established, one gesture corresponds to one system function, and compared with a long-press physical key combination mode, the real-time performance is obviously higher, and what you see is what you get is basically realized.
4) In addition, gesture operation can be completed by one-time operation for a user, and compared with the mode of manufacturing a drop-down window body to bear various quick operations, the method is obviously more convenient and quick.
In the embodiments provided in the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (18)

1. A method for quickly starting a system function, wherein a correspondence between an edge pinch gesture and the system function is preset, the method comprising:
recognizing a touch event;
if the touch event is recognized to accord with the preset edge pinch gesture, triggering a system function corresponding to the edge pinch gesture; wherein the edge pinch gesture comprises: the method includes the steps of initiating a single-finger swipe gesture from at least two edges of a screen, respectively, that are close to each other, or initiating a multi-finger swipe gesture from at least two edges of a screen, respectively, that are close to each other.
2. The method of claim 1, wherein the operations of recognizing the touch event and triggering the system function corresponding to the edge pinch gesture are performed by a global gesture control module; the method further comprises the following steps:
and the touch event distribution module receives a touch event from the bottom layer module of the operating system and sends the touch event to the global gesture control module.
3. The method of claim 2, further comprising:
the touch event distribution module judges whether the touch event is forbidden to be sent to the application displayed on the screen, and if not, the touch event is sent to the application displayed on the screen; if so, the touch event is not sent to the application which is displayed on the screen;
when the global gesture control module recognizes that the touch event meets a preset edge pinch gesture, the touch event distribution module is prohibited from sending the touch event to the application displayed on the screen.
4. The method of claim 3, further comprising:
the global gesture control module cancels the prohibition of sending the touch event to the application which is displayed on the screen by the touch event distribution module after the touch event is finished; or,
after the global gesture control module triggers the system function, if the touch gesture is finished, the touch event distribution prohibition module is cancelled to send the touch event to the application displayed on the screen.
5. The method of claim 3, further comprising:
and if the touch event distribution module is forbidden to send the touch event to the application on which the screen is displaying, sending a message for canceling the recognition of the touch event to the application on which the screen is displaying.
6. The method according to claim 2, wherein the global gesture control module obtains the setting of the corresponding relation by the user through a setting interface.
7. The method of any of claims 1 to 6, wherein the recognizing a touch event comprises:
s1, identifying the type of the touch event, and if the touch event is a press event, executing a step S2; if it is a slide event, go to step S3; if the event is a lift-off event or a cancel event, executing step S4;
s2, judging whether the total number of the pressed fingers in the touch event is more than two and the pressed positions of the fingers accord with the initial position of a preset edge kneading gesture, if so, setting an identification flag bit to be in an identification state, and finishing the identification of the touch event;
s3, judging whether the identification flag bit is in an identification state, if so, judging whether the finger sliding direction is consistent with the edge pinch gesture corresponding to the finger pressing position, if so, identifying that the touch event is consistent with the preset edge pinch gesture, and finishing the identification of the current touch event;
and S4, determining the touch gesture is finished, and setting the identification flag bit to be in a finished state.
8. The method according to claim 7, wherein the step S2 specifically includes:
s21, judging whether the finger in the touch event is pressed down from the edge of the screen, if so, executing a step S22; otherwise, confirming that the touch event does not belong to the edge pinch gesture, and setting the identification flag bit to be in an end state;
s22, identifying the total number of the pressed fingers, and if the number of the pressed fingers is more than two, executing a step S23; if the number of the identification mark is one, setting the identification mark bit as a starting state;
s23, judging whether the pressing position of the finger accords with the initial position of the preset edge kneading gesture, if so, setting the identification flag bit to be in an identification state; otherwise, wait for the next touch event.
9. The method of claim 7, wherein triggering the system function corresponding to the edge pinch gesture comprises:
judging whether a system function corresponding to the edge pinch gesture is triggered or not, and if not, directly triggering the system function; if yes, further determining whether to continue triggering according to the characteristics of the system function, if yes, continuing to trigger the system function, otherwise, not triggering the system function any more.
10. A system for quickly starting system functions is characterized by comprising a global gesture control module; the global gesture control module comprises a touch event processing submodule;
the touch event processing submodule is used for identifying a touch event, and if the touch event is identified to accord with a preset edge pinch gesture, triggering a system function corresponding to the edge pinch gesture; wherein the edge pinch gesture comprises: the method includes the steps of initiating a single-finger swipe gesture from at least two edges of a screen, respectively, that are close to each other, or initiating a multi-finger swipe gesture from at least two edges of a screen, respectively, that are close to each other.
11. The system of claim 10, further comprising:
and the touch event distribution module is used for receiving the touch event from the bottom layer module of the operating system and sending the touch event to the touch event processing submodule.
12. The system of claim 11, wherein the touch event distribution module is further configured to determine whether sending of the touch event to the application being displayed on the screen is prohibited, and if not, send the touch event to the application being displayed on the screen; if so, the touch event is not sent to the application which is displayed on the screen;
the touch event processing sub-module is further configured to prohibit the touch event distribution module from sending the touch event to the application being displayed on the screen when the touch event is identified to meet a preset edge pinch gesture.
13. The system according to claim 12, wherein the touch event processing sub-module is further configured to, after the touch event is finished, cancel the prohibition of sending the touch event to the application being displayed on the screen by the touch event distribution module, or after the system function is triggered, cancel the prohibition of sending the touch event to the application being displayed on the screen by the touch event distribution module if the touch gesture is finished.
14. The system of claim 12, wherein the touch event distribution module is further configured to send a message to the application that the screen is displaying to cancel the recognition of the touch event if the touch event is prohibited from being sent to the application that the screen is displaying.
15. The system of claim 10, wherein the global gesture control module further comprises: and the touch event management submodule is used for acquiring the setting of the corresponding relation between the edge kneading gesture and the system function by the user through a setting interface and providing the corresponding relation for the touch event processing submodule.
16. The system of any of claims 10 to 15, wherein the touch event processing submodule is to perform in particular the following:
s1, identifying the type of the touch event, and if the type of the touch event is a press event, executing operation S2; if it is a slide event, operation S3 is performed; if it is a lift-up event or a cancel event, performing operation S4;
s2, judging whether the total number of the pressed fingers in the touch event is more than two and the pressed positions of the fingers accord with the initial position of a preset edge kneading gesture, if so, setting an identification flag bit to be in an identification state, and finishing the identification of the touch event;
s3, judging whether the identification flag bit is in an identification state, if so, judging whether the finger sliding direction is consistent with the edge pinch gesture corresponding to the finger pressing position, if so, identifying that the touch event is consistent with the preset edge pinch gesture, and finishing the identification of the current touch event;
and S4, determining the touch gesture is finished, and setting the identification flag bit to be in a finished state.
17. The system according to claim 16, wherein the touch event processing submodule, when performing operation S2, specifically performs the following operations:
s21, judging whether the finger in the touch event is pressed down from the edge of the screen, if so, executing a step S22; otherwise, confirming that the touch event does not belong to the edge pinch gesture, and setting the identification flag bit to be in an end state;
s22, identifying the total number of the pressed fingers, and if the number of the pressed fingers is more than two, executing a step S23; if the number of the identification mark is one, setting the identification mark bit as a starting state;
s23, judging whether the pressing position of the finger accords with the initial position of the preset edge kneading gesture, if so, setting the identification flag bit to be in an identification state; otherwise, wait for the next touch event.
18. The system according to claim 16, wherein the touch event processing sub-module, when triggering the system function corresponding to the edge pinch gesture, specifically executes:
judging whether a system function corresponding to the edge pinch gesture is triggered or not, and if not, directly triggering the system function; if yes, further determining whether to continue triggering according to the characteristics of the system function, if yes, continuing to trigger the system function, otherwise, not triggering the system function any more.
CN201410557244.XA 2014-10-20 2014-10-20 A kind of method and system of quick start system function Active CN105589698B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410557244.XA CN105589698B (en) 2014-10-20 2014-10-20 A kind of method and system of quick start system function
HK16112184.3A HK1224044A1 (en) 2014-10-20 2016-10-24 Method and system for quickly starting system function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410557244.XA CN105589698B (en) 2014-10-20 2014-10-20 A kind of method and system of quick start system function

Publications (2)

Publication Number Publication Date
CN105589698A CN105589698A (en) 2016-05-18
CN105589698B true CN105589698B (en) 2019-01-22

Family

ID=55929308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410557244.XA Active CN105589698B (en) 2014-10-20 2014-10-20 A kind of method and system of quick start system function

Country Status (2)

Country Link
CN (1) CN105589698B (en)
HK (1) HK1224044A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095313A (en) * 2016-06-08 2016-11-09 北京小米移动软件有限公司 The method and device that touch panel device event triggers
CN107045421B (en) * 2017-04-27 2021-06-18 宇龙计算机通信科技(深圳)有限公司 Screen switching method and mobile terminal
WO2019037002A1 (en) * 2017-08-24 2019-02-28 深圳双创科技发展有限公司 Terminal for compulsorily stopping application, and related product
CN109408138A (en) * 2018-09-26 2019-03-01 浙江万朋教育科技股份有限公司 A method of switching client terminal start-up environment and configuration parameter using gesture operation
CN109917912A (en) * 2019-02-25 2019-06-21 努比亚技术有限公司 A kind of method and wearable device of wearable device breath screen
CN110531920B (en) * 2019-08-29 2021-05-14 Oppo广东移动通信有限公司 Display method and device of sidebar, terminal and storage medium
CN113821128B (en) * 2020-06-18 2024-09-20 花瓣云科技有限公司 Terminal equipment, gesture operation method thereof and medium
CN113504871A (en) * 2021-09-10 2021-10-15 展讯通信(天津)有限公司 Electronic equipment control method and device, chip and electronic equipment
CN116166143B (en) * 2023-04-25 2023-07-04 麒麟软件有限公司 Global touch gesture recognition method
CN117101117B (en) * 2023-07-12 2024-08-06 荣耀终端有限公司 Touch control method and related equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693071A (en) * 2011-02-03 2012-09-26 索尼公司 System and method for invoking application corresponding to trigger event
CN103076918A (en) * 2012-12-28 2013-05-01 深圳Tcl新技术有限公司 Remote control method and system based on touch terminal
CN103543949A (en) * 2013-11-01 2014-01-29 深圳市中兴移动通信有限公司 Touch control terminal and control method and system thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012167735A1 (en) * 2011-06-07 2012-12-13 联想(北京)有限公司 Electrical device, touch input method and control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693071A (en) * 2011-02-03 2012-09-26 索尼公司 System and method for invoking application corresponding to trigger event
CN103076918A (en) * 2012-12-28 2013-05-01 深圳Tcl新技术有限公司 Remote control method and system based on touch terminal
CN103543949A (en) * 2013-11-01 2014-01-29 深圳市中兴移动通信有限公司 Touch control terminal and control method and system thereof

Also Published As

Publication number Publication date
CN105589698A (en) 2016-05-18
HK1224044A1 (en) 2017-08-11

Similar Documents

Publication Publication Date Title
CN105589698B (en) A kind of method and system of quick start system function
US11301126B2 (en) Icon control method and terminal
CN109981878B (en) Icon management method and device
EP2854380B1 (en) Method for quickly operating file of smart phone and smart phone
CN102541455B (en) Method and device for rapidly switching operations
US9007314B2 (en) Method for touch processing and mobile terminal
CN103064620B (en) Touch screen operation method and touch screen terminal
WO2017118329A1 (en) Method and apparatus for controlling tab bar
CN105975152B (en) Fingerprint-based application program calling method and mobile terminal
JP2019516189A (en) Touch screen track recognition method and apparatus
US20150026641A1 (en) Terminal Multiselection Operation Method And Terminal
CN103853481A (en) Method and system for simulating touch screen mobile terminal keys
CN106201219A (en) The quick call method of function of application and system
CN108132735B (en) Terminal and application control method
CN103793176A (en) Method and device for fast switching between application programs
CN106325842B (en) Method and device for accessing similar applications of intelligent terminal and intelligent terminal
CN108920070B (en) Screen splitting method and device based on special-shaped display screen, storage medium and mobile terminal
US20150309690A1 (en) Method and system for searching information records
CN106033301B (en) Application program desktop management method and touch screen terminal
CN113268182A (en) Application icon management method and electronic equipment
CN109683739A (en) The method and apparatus for adjusting operation interface, storage medium and electronic equipment
CN110568990B (en) Screen splitting method and device, electronic equipment and storage medium
CN110879798A (en) Data processing method, terminal and computer readable storage medium
US10642481B2 (en) Gesture-based interaction method and interaction apparatus, and user equipment
US9959010B1 (en) Method for displaying information, and terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 1224044

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: 20201113

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: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Patentee before: Alibaba Group Holding Ltd.