CN111078111A - Information processing method, electronic equipment and storage medium - Google Patents

Information processing method, electronic equipment and storage medium Download PDF

Info

Publication number
CN111078111A
CN111078111A CN201911376410.5A CN201911376410A CN111078111A CN 111078111 A CN111078111 A CN 111078111A CN 201911376410 A CN201911376410 A CN 201911376410A CN 111078111 A CN111078111 A CN 111078111A
Authority
CN
China
Prior art keywords
gesture
target
event
application program
electronic equipment
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.)
Pending
Application number
CN201911376410.5A
Other languages
Chinese (zh)
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201911376410.5A priority Critical patent/CN111078111A/en
Publication of CN111078111A publication Critical patent/CN111078111A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures

Abstract

The embodiment of the application discloses an information processing method, which comprises the following steps: detecting an application program currently operated by the electronic equipment; if the application program currently operated by the electronic equipment belongs to a preset application program, switching the current working mode of the electronic equipment into a gesture mode; receiving a first operation gesture, determining a target gesture event corresponding to the first operation gesture, responding to the first operation gesture, and executing the target gesture event, thereby realizing an operation function corresponding to the target gesture event. The embodiment of the application also provides the electronic equipment and the storage medium.

Description

Information processing method, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to an information processing method, an electronic device, and a storage medium.
Background
Along with the rapid development of scientific technology, electronic equipment is more and more widely applied, and has great influence on the work, life, study and entertainment of people. In the prior art, when a user uses an electronic device, a false touch operation is easy to occur, so that an operation executed by an application program currently running on the electronic device is interrupted by the false touch operation. For example, when the electronic device plays a video, the user carelessly touches a display screen of the electronic device, which causes the playing of the video to be suspended, seriously affects the use experience effect of the user on the electronic device, causes too high misoperation frequency, and reduces the intelligent degree of the electronic device.
Content of application
In order to solve the above technical problem, embodiments of the present application are expected to provide an information processing method, an electronic device, and a storage medium, so as to solve the problem of low intelligent degree of an electronic device in the prior art, reduce a processing procedure of a user error operation, improve the intelligent degree of the electronic device, and effectively ensure the processing efficiency of the electronic device.
The technical scheme of the application is realized as follows:
in a first aspect, an information processing method includes:
detecting an application program currently operated by the electronic equipment;
if the application program currently operated by the electronic equipment belongs to a preset application program, switching the current working mode of the electronic equipment into a gesture mode;
receiving a first operation gesture, determining a target gesture event corresponding to the first operation gesture, responding to the first operation gesture, and executing the target gesture event, thereby realizing an operation function corresponding to the target gesture event.
Optionally, before detecting the application currently running on the electronic device, the method further includes:
acquiring all operation functions of each application program in the preset application programs;
determining a coordinate event corresponding to each operation function in all the operation functions; wherein each operating function corresponds to at least one coordinate event;
and acquiring a reference gesture, and associating the reference gesture with the coordinate event corresponding to each operation function so as to obtain a target relation corresponding to the preset application program.
Optionally, the receiving a first operation gesture, determining a target gesture event corresponding to the first operation gesture, responding to the first operation gesture, and executing the target gesture event includes:
receiving the first operation gesture;
matching the first operation gesture with a reference gesture in the target relation, and determining a target reference gesture matched with the first operation gesture;
acquiring a target coordinate event corresponding to the target reference gesture from the target relation, and taking the target coordinate event as the target gesture event;
and responding to the first operation gesture, and executing the target gesture event.
Optionally, if the application program currently running on the electronic device belongs to a preset application program, switching the current working mode of the electronic device to a gesture mode includes:
if the application program currently operated by the electronic equipment belongs to the preset application program and the electronic equipment receives a switching instruction, switching the current working mode of the electronic equipment into a gesture mode; and reporting the coordinate event corresponding to the first operation gesture in the gesture mode.
Optionally, the receiving a first operation gesture, determining a target gesture event corresponding to the first operation gesture, responding to the first operation gesture, and executing the target gesture event includes:
receiving the first operation gesture;
if the first operation gesture is matched with a first target gesture in first type of preset gestures, determining a first target event corresponding to the first target gesture; the first type of preset gestures comprise at least one target gesture, and target events corresponding to the gestures in the first type of preset gestures do not need to be converted;
taking the first target event as the target gesture event, responding to the first operation gesture, and executing the target gesture event.
Optionally, after receiving the first operation gesture, the method further includes:
if the first operation gesture is matched with a second target gesture in a second type of preset gestures, determining a second target event corresponding to the second target gesture; the second type of preset gesture comprises at least one target gesture, and a target event corresponding to a gesture in the second type of preset gesture needs to be converted;
converting the second target event into the target gesture event, and responding to the first operation gesture to execute the target gesture event.
Optionally, the converting the second event into the target gesture event and executing the target gesture event in response to the first operation gesture includes:
determining a first target application program corresponding to the second event; the first target application program is at least one application program in application programs currently operated by the electronic equipment;
converting the second event into the target gesture event based on a preset protocol between the first target application program and the electronic equipment;
responding to the first operation gesture, and sending the target gesture event to the first target application program;
controlling the first target application program to execute the target gesture event.
Optionally, the receiving a first operation gesture, determining a target gesture event corresponding to the first operation gesture, responding to the first operation gesture, and executing the target gesture event includes:
receiving the first operation gesture;
if the first operation gesture is matched with the gesture of the gesture mode exit event, determining that the target gesture event is the gesture mode exit event;
and responding to the first operation gesture, executing the target gesture event, and switching the current working mode of the electronic equipment from the gesture mode to other modes except the gesture mode.
In a second aspect, an electronic device, the electronic device comprising: display screen and application processor AP, wherein:
the display screen comprises a touch receiving area and is used for receiving a first operation gesture and sending the first operation gesture to the AP;
the AP is used for detecting the application program currently operated by the electronic equipment; if the application program currently operated by the electronic equipment belongs to a preset application program, switching the current working mode of the electronic equipment into a gesture mode; detecting a first operation gesture, determining a target gesture event corresponding to the first operation gesture, responding to the first operation gesture, and executing the target gesture event, thereby realizing an operation function corresponding to the target gesture event.
In a third aspect, a storage medium has stored thereon an information processing program which, when executed by a processor, implements the steps of the information processing method as in any one of the above.
The embodiment of the application provides an information processing method, an electronic device and a storage medium, wherein a currently running application program of the electronic device is detected, if the currently running application program of the electronic device belongs to a preset application program, the current working mode of the electronic device is switched to a gesture mode, a first operation gesture is received, a target gesture event corresponding to the first operation gesture is determined, the first operation gesture is responded, and the target gesture event is executed, so that an operation function corresponding to the target gesture event is realized. Therefore, when the electronic equipment runs the preset application program, the current working mode of the electronic equipment is switched to be the gesture mode, the target gesture event matched with the received first operation gesture is executed, the touch position coordinate event is not reported any more, and the possibility of misoperation of a user is reduced. The problem of among the prior art electronic equipment intelligent degree lower is solved, reduced the processing procedure to user's maloperation, improved electronic equipment's intelligent degree, effectively guaranteed electronic equipment's treatment effeciency.
Drawings
Fig. 1 is a schematic flowchart of an information processing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another information processing method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another information processing method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of an information processing method according to another embodiment of the present application;
fig. 5 is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
An embodiment of the present application provides an information processing method, which is applied to an electronic device and is shown in fig. 1, and the method includes the following steps:
step 101, detecting an application program currently operated by the electronic equipment.
In an embodiment of the application, the electronic device determines an application currently running.
And 102, if the application program currently running on the electronic equipment belongs to a preset application program, switching the current working mode of the electronic equipment into a gesture mode.
In the embodiment of the present application, the preset application is some applications preset in the electronic device, and may be set by the user himself or by a developer, and the user may add or delete the preset application, for example, a video playing program or an electronic book viewing program, and may further detect whether the program is playing a video or browsing an electronic book. The gesture mode is a function that the electronic device only recognizes an operation to implement a corresponding gesture, and does not report a function corresponding to a touch position of the electronic device on the touch control area (for example, an operation of clicking or pressing a specific position on the touch control area), that is, the gesture mode may be a working mode in which the electronic device detects a touch trajectory of a user on the touch control area of the electronic device to implement a corresponding function, and in some application scenarios, may also refer to a gesture image of the user acquired by, for example, using a camera or the like. When the application program currently running on the electronic equipment is a preset application program, the priority of the gesture mode is highest, and the electronic equipment is directly switched from the working mode except the gesture mode to the gesture mode.
Step 103, receiving the first operation gesture, determining a target gesture event corresponding to the first operation gesture, responding to the first operation gesture, and executing the target gesture event, thereby implementing an operation function corresponding to the target gesture event.
In the embodiment of the application, the target gesture event corresponding to the first operation gesture is preset according to the operation function corresponding to the target gesture event. After the first operation gesture is received, matching the first operation gesture with a gesture corresponding to the target gesture event, and if the first operation gesture is matched with the target gesture event, determining that the target gesture event corresponds to the first operation gesture. The electronic equipment receives the first operation gesture, so that after the target gesture event is determined, the target gesture event is executed in response to the first operation gesture, and the corresponding operation function is realized.
The embodiment of the application provides an information processing method, which includes the steps that an application program currently running on electronic equipment is detected, if the application program currently running on the electronic equipment belongs to a preset application program, the current working mode of the electronic equipment is switched to a gesture mode, a first operation gesture is received, a target gesture event corresponding to the first operation gesture is determined, the first operation gesture is responded, and the target gesture event is executed, so that the operation function corresponding to the target gesture event is achieved. Therefore, when the electronic equipment runs the preset application program, the current working mode of the electronic equipment is switched to be the gesture mode, the target gesture event matched with the received first operation gesture is executed, the touch position coordinate event is not reported any more, and the possibility of misoperation of a user is reduced. The problem of among the prior art electronic equipment intelligent degree lower is solved, reduced the processing procedure to user's maloperation, improved electronic equipment's intelligent degree, effectively guaranteed electronic equipment's treatment effeciency.
Based on the foregoing embodiments, an embodiment of the present application provides an information processing method, which is applied to an electronic device and shown in fig. 2, and includes the following steps:
step 201, acquiring all operation functions of each application program in the preset application programs.
In this embodiment of the application, the number of the preset application programs includes at least one, all the operation functions of each application program refer to a function of controlling each application program, and the preset application program may be an application program that implements a browsing function, such as reading software for reading articles, or an application program that has a video and/or audio playing function. Taking a video playing application as an example, it is assumed that all the operating functions of the video playing application include a full screen function, a zoom-out function, a pause function, a close function, a fast-forward function, and a rewind function.
Step 202, determining a coordinate event corresponding to each operation function in all the operation functions.
Wherein each operation function corresponds to at least one coordinate event.
In the embodiment of the present application, the coordinate event refers to a function event corresponding to each operation position, and for example, a full-screen coordinate event, a zoom-out coordinate event, a pause coordinate event, a close coordinate event, a fast-forward coordinate event, and a rewind coordinate event.
Step 203, obtaining a reference gesture, and associating the reference gesture with the coordinate event corresponding to each operation function, so as to obtain a target relationship corresponding to the preset application program.
In the embodiment of the application, when the reference gesture is obtained, the corresponding coordinate event may be displayed first, and then the user is prompted to input the reference gesture desired to be set, or the developer inputs the corresponding reference gesture, so that the reference gesture is associated with the corresponding coordinate event through the setting of the user or the preset mapping, and thus a target relationship of the preset application program including all the application programs is obtained, the target relationship may also be a relationship set, where one set element is all the coordinate events of one application program in the preset application program and the reference gesture corresponding to each coordinate event. Furthermore, the user can be prompted by the associated reference gesture and the corresponding coordinate event.
And step 204, detecting the application program currently operated by the electronic equipment.
In the embodiment of the application, the application currently running by the electronic device is determined, that is, the application currently displayed on the display screen of the electronic device is determined, in some application scenarios, the application currently running by the electronic device includes at least one application, that is, the electronic device may simultaneously display interfaces of multiple applications based on, for example, a split-screen technology.
Step 205, if the currently running application program of the electronic device belongs to the preset application program, switching the current working mode of the electronic device to a gesture mode.
In the embodiment of the application, when the number of the currently running applications of the electronic device exceeds two, the electronic device can automatically switch the working mode only by requiring at least one application program in the currently running applications to belong to a preset application program.
In other embodiments of the present application, step 205 may be implemented by: if the application program currently operated by the electronic equipment belongs to the preset application program and the electronic equipment receives the switching instruction, switching the current working mode of the electronic equipment into a gesture mode; and reporting the coordinate event corresponding to the first operation gesture in the gesture mode.
In the embodiment of the application, when the application currently running on the electronic device belongs to the preset application, the electronic device cannot automatically switch the current working mode to the manual mode, and at this time, the user can select whether to switch the working mode according to the preset switching button according to the own requirement, and the corresponding switching button may be a physical key of an entity, or a virtual key set on the corresponding preset application, or certainly, the user may perform voice control. The method includes the steps that a user carries out relevant operation on a corresponding switching button, for example, when the switching operation is carried out, the electronic equipment is determined to receive a switching instruction, switching is carried out when the current working mode of the electronic equipment is not the gesture mode, the electronic equipment is switched to the gesture mode, or after the electronic equipment receives the switching instruction, prompt information is generated to prompt the user to confirm that the switching working mode is the gesture mode, and if the user sends a switching confirmation instruction, the electronic equipment is switched to the gesture mode. If the current working mode of the electronic equipment is in the gesture mode, the working mode is not switched any more, and further, the electronic equipment can also generate prompt information to prompt a user that the current working mode of the electronic equipment is in the gesture mode.
In other embodiments of the present application, if the application currently running on the electronic device belongs to the preset application and the electronic device receives the switching instruction, switching the current operating mode of the electronic device to the gesture mode may be specifically implemented in the following manner: if the currently running application program belongs to a preset application program, detecting whether touch operation aiming at a preset button is received; the preset button is used for indicating the electronic equipment to switch the current working mode into a gesture mode; if the touch operation is detected, converting the touch operation into a switching instruction; and responding to the switching instruction, and switching the current working mode of the electronic equipment into a gesture mode. Alternatively, it can also be realized by: if the currently running application program of the electronic device belongs to a preset application program, detecting whether a working mode switching gesture is received; the working mode switching gesture is used for indicating the electronic equipment to switch the current working mode into a gesture mode; if the working mode switching gesture is detected, determining that a switching instruction is received; and responding to the switching instruction, and switching the current working mode of the electronic equipment into a gesture mode.
Step 206, receiving the first operation gesture, determining a target gesture event corresponding to the first operation gesture, responding to the first operation gesture, and executing the target gesture event, thereby implementing an operation function corresponding to the target gesture event.
In other embodiments of the present application, step 206 may be implemented by:
and step a11, receiving a first operation gesture.
In the embodiment of the application, the electronic device obtains a sliding track of an operation body of a user, for example, a finger of the user or a touch pen, in a touch control area of the electronic device to obtain a first operation gesture. It should be noted that the touch control area may be a touch display screen of the electronic device, which can recognize a touch operation of the user.
Step a12, matching the first operation gesture with the reference gesture in the target relation, and determining the target reference gesture matched with the first operation gesture.
Step a13, acquiring a target coordinate event corresponding to the target reference gesture from the target relationship, and taking the target coordinate event as a target gesture event.
Step a14, responding to the first operation gesture, executing the target gesture event.
It should be noted that, for the descriptions of the same steps and the same contents in this embodiment as those in other embodiments, reference may be made to the descriptions in other embodiments, which are not described herein again.
The embodiment of the application provides an information processing method, which includes the steps that an application program currently running on electronic equipment is detected, if the application program currently running on the electronic equipment belongs to a preset application program, the current working mode of the electronic equipment is switched to a gesture mode, a first operation gesture is received, a target gesture event corresponding to the first operation gesture is determined, the first operation gesture is responded, and the target gesture event is executed, so that the operation function corresponding to the target gesture event is achieved. Therefore, when the electronic equipment runs the preset application program, the current working mode of the electronic equipment is switched to be the gesture mode, the target gesture event matched with the received first operation gesture is executed, the touch position coordinate event is not reported any more, and the possibility of misoperation of a user is reduced. The problem of among the prior art electronic equipment intelligent degree lower is solved, reduced the processing procedure to user's maloperation, improved electronic equipment's intelligent degree, effectively guaranteed electronic equipment's treatment effeciency. Furthermore, the correspondence between the functions of the application programs and the gestures can be automatically completed, the operation of a user is facilitated, the user experience is improved, the touch position coordinate event is not reported, and the power consumption of the electronic equipment is reduced.
Based on the foregoing embodiments, an embodiment of the present application provides an information processing method, which is shown in fig. 3 and is applied to an electronic device, and the method includes the following steps:
step 301, detecting an application program currently running on the electronic device.
Step 302, if the currently running application program of the electronic device belongs to a preset application program, switching the current working mode of the electronic device to a gesture mode.
In other embodiments of the present application, step 302 may be implemented by: if the application program currently operated by the electronic equipment belongs to the preset application program and the electronic equipment receives the switching instruction, switching the current working mode of the electronic equipment into a gesture mode; and reporting the coordinate event corresponding to the first operation gesture in the gesture mode.
Step 303, receiving the first operation gesture, determining a target gesture event corresponding to the first operation gesture, responding to the first operation gesture, and executing the target gesture event, thereby implementing an operation function corresponding to the target gesture event.
In other embodiments of the present application, step 303 may be implemented by:
step 303a, receiving a first operation gesture.
In the embodiment of the present application, after the electronic device executes step 303a, it may select to execute steps 303b to 303c, or select to execute steps 303d to 303 e. When the first operation gesture is matched with a first target gesture in the first type of preset gestures, the steps 303b to 303c are selected to be executed, and when the first operation gesture is matched with a second target gesture in the second type of preset gestures, the steps 303d to 303e are selected to be executed:
step 303b, if the first operation gesture matches a first target gesture in the first type of preset gestures, determining a first target event corresponding to the first target gesture.
The first type of preset gesture comprises at least one target gesture, and target events corresponding to the gestures in the first type of preset gesture do not need to be converted.
In this embodiment of the application, the first preset gesture includes a plurality of target gestures, each target gesture corresponds to a target event, which are preset by a user or a developer, and the corresponding target gesture may be modified, including an add gesture, a delete gesture, or a replace gesture. The first type of preset gesture is not required to be converted, and the event corresponding to the first type of preset gesture is a standard event supported by an operating system of the electronic equipment. The gesture corresponding to some target events corresponding to the corresponding operating system may be, for example, a target event of the operating system returning to the desktop system, a target event of the lock screen, or a target event of exiting a certain application, a target event of shutdown, or the like.
And step 303c, taking the first target event as a target gesture event, responding to the first operation gesture, and executing the target gesture event.
Step 303d, if the first operation gesture is matched with a second target gesture in the second type of preset gestures, determining a second target event corresponding to the second target gesture.
The second type of preset gesture comprises at least one target gesture, and a target event corresponding to a gesture in the second type of preset gesture needs to be converted.
In the embodiment of the present application, the event corresponding to the second type of preset gesture is a non-standard event supported by a preset application program. That is to say, the target event corresponding to the second type of preset gesture is a functional event in the preset application program, and after the electronic device receives the first operation gesture and matches the second target gesture of the second type of preset gesture, the electronic device needs to perform corresponding conversion on the second target gesture according to the agreement with the preset application program, and convert the second target gesture into gesture information that can be recognized by the preset application program, so that the electronic device responds to the first operation gesture to realize the second target event corresponding to the second target gesture.
Step 303e, converting the second target event into a target gesture event, and responding to the first operation gesture to execute the target gesture event.
In other embodiments of the present application, step 303e may be implemented by:
and b11, determining the first target application program corresponding to the second event.
The first target application program is at least one application program in application programs currently operated by the electronic equipment.
Step b12, converting the second event into a target gesture event based on a preset protocol between the first target application and the electronic device.
And b13, responding to the first operation gesture, and sending the target gesture event to the first target application program.
And step b14, controlling the first target application program to execute the target gesture event.
In other embodiments of the present application, step 303 may be further implemented by:
and step c11, receiving a first operation gesture.
And c12, if the first operation gesture is matched with the gesture of the gesture exiting mode event, determining that the target gesture event is the gesture exiting mode event.
And c13, responding to the first operation gesture, executing the target gesture event, thereby switching the current working mode of the electronic equipment from the gesture mode to other modes except the gesture mode.
In other embodiments of the present application, referring to fig. 4, after the electronic device performs step 301, the following step 304 may be optionally performed:
and step 304, if the current working mode is other modes, when the electronic device detects a second operation gesture, reporting a second coordinate event corresponding to the touch position corresponding to the second operation gesture, and executing the second coordinate event.
In the embodiment of the application, the electronic device selects to execute the steps 302 to 303 or the step 304 according to the current mode, if the working mode is the gesture mode, the electronic device selects to execute the steps 302 to 303, and if the working mode is other modes except the gesture mode, the electronic device selects to execute the step 304.
An application scenario is further provided in the embodiment of the present application, as shown in fig. 5, where the application scenario includes a layer application layer APP a, an intermediate layer Framework B, a Driver C, and a touch screen (touch panel, TP) chip D, where an application program belonging to a preset application program is currently running. When the electronic equipment is currently in application interfaces such as videos or articles, namely APP A works, the touch screen of the electronic equipment is controlled to enter a gesture mode by the electronic equipment, at the moment, when the touch screen detects touch operation of a user, a coordinate event corresponding to a touch position corresponding to the touch operation is not reported, so that mistaken touch under the conditions of not setting patterns, PIN codes, personal identification passwords of an SIM card and the like can be prevented, and under the condition of fingerprint identification, when the screen is turned off, a power key is mistakenly touched, mistaken touch such as mistaken touch sliding off the screen and disordered clicking is caused, and the power consumption of an AP side of an application processor can be reduced. TP chip D is through discerning the touch orbit of user on the touch-sensitive screen, after the discernment obtains first operation gesture, send the interrupt to application processor AP, AP reads first operation gesture, report first operation gesture to Framework B through Driver C in the AP, Framework B changes first operation gesture and distributes the application APP A of the correspondence of current operation, application APP A responds first operation gesture, carry out the target event that corresponds with first operation gesture, thereby realize the function that first operation gesture corresponds. In some application scenarios, the display screen of the electronic device may be controlled to exit the gesture mode by a specific gesture.
It should be noted that, for the descriptions of the same steps and the same contents in this embodiment as those in other embodiments, reference may be made to the descriptions in other embodiments, which are not described herein again.
The embodiment of the application provides an information processing method, which includes the steps that an application program currently running on electronic equipment is detected, if the application program currently running on the electronic equipment belongs to a preset application program, the current working mode of the electronic equipment is switched to a gesture mode, a first operation gesture is received, a target gesture event corresponding to the first operation gesture is determined, the first operation gesture is responded, and the target gesture event is executed, so that the operation function corresponding to the target gesture event is achieved. Therefore, when the electronic equipment runs the preset application program, the current working mode of the electronic equipment is switched to be the gesture mode, the target gesture event matched with the received first operation gesture is executed, the touch position coordinate event is not reported any more, and the possibility of misoperation of a user is reduced. The problem of among the prior art electronic equipment intelligent degree lower is solved, reduced the processing procedure to user's maloperation, improved electronic equipment's intelligent degree, effectively guaranteed electronic equipment's treatment effeciency. Furthermore, the touch position coordinate event is not reported, and the power consumption of the electronic equipment is reduced.
Based on the foregoing embodiments, an embodiment of the present application provides an electronic device, where the electronic device may be applied to the information processing method provided in the embodiments corresponding to fig. 1 to 4, and as shown in fig. 6, the electronic device 4 may include: a display screen 41 and an application processor AP 42, wherein:
a display screen 41 including a touch receiving area, configured to receive a first operation gesture and send the first operation gesture to the AP;
the AP 42 is used for detecting the application program currently operated by the electronic equipment; if the application program currently operated by the electronic equipment belongs to the preset application program, switching the current working mode of the electronic equipment into a gesture mode; detecting a first operation gesture, determining a target gesture event corresponding to the first operation gesture, responding to the first operation gesture, and executing the target gesture event, thereby realizing an operation function corresponding to the target gesture event.
In other embodiments of the present application, before the AP performs the detection of the application currently running on the electronic device, the AP is further configured to perform the following steps:
acquiring all operation functions of each application program in preset application programs;
determining a coordinate event corresponding to each operation function in all the operation functions; each operation function corresponds to at least one coordinate event;
and acquiring a reference gesture, and associating the reference gesture with the coordinate event corresponding to each operation function so as to obtain a target relation corresponding to the preset application program.
In other embodiments of the present application, the AP performs receiving the first operation gesture, determines a target gesture event corresponding to the first operation gesture, responds to the first operation gesture, and performs the target gesture event, and specifically implements the following steps:
receiving a first operation gesture;
matching the first operation gesture with a reference gesture in the target relation, and determining a target reference gesture matched with the first operation gesture;
acquiring a target coordinate event corresponding to the target reference gesture from the target relation, and taking the target coordinate event as a target gesture event;
and responding to the first operation gesture, and executing a target gesture event.
In other embodiments of the present application, if the application program currently running on the electronic device belongs to the preset application program, the AP executes to switch the current working mode of the electronic device to the gesture mode, and specifically implements the following steps:
if the application program currently operated by the electronic equipment belongs to the preset application program and the electronic equipment receives the switching instruction, switching the current working mode of the electronic equipment into a gesture mode; and reporting the coordinate event corresponding to the first operation gesture in the gesture mode.
In other embodiments of the present application, the AP performs receiving the first operation gesture, determines a target gesture event corresponding to the first operation gesture, responds to the first operation gesture, and performs the target gesture event, and specifically implements the following steps:
receiving a first operation gesture;
if the first operation gesture is matched with a first target gesture in the first type of preset gestures, determining a first target event corresponding to the first target gesture; the first type of preset gesture comprises at least one target gesture, and a target event corresponding to the gesture in the first type of preset gesture does not need to be converted;
and taking the first target event as a target gesture event, responding to the first operation gesture, and executing the target gesture event.
In other embodiments of the present application, after the AP performs the receiving of the first operation gesture, the AP is further configured to perform the following steps:
if the first operation gesture is matched with a second target gesture in the second type of preset gestures, determining a second target event corresponding to the second target gesture; the second type of preset gesture comprises at least one target gesture, and a target event corresponding to a gesture in the second type of preset gesture needs to be converted;
and converting the second target event into a target gesture event, and responding to the first operation gesture to execute the target gesture event.
In other embodiments of the present application, the AP performs converting the second event into a target gesture event, and responds to the first operation gesture to perform the target gesture event, and specifically implements the following steps:
determining a first target application program corresponding to the second event; the first target application program is at least one application program in application programs currently operated by the electronic equipment;
converting the second event into a target gesture event based on a preset protocol between the first target application program and the electronic equipment;
responding to the first operation gesture, and sending a target gesture event to a first target application program;
and controlling the first target application program to execute the target gesture event.
In other embodiments of the present application, the AP performs receiving the first operation gesture, determines a target gesture event corresponding to the first operation gesture, responds to the first operation gesture, and performs the target gesture event, and specifically implements the following steps:
receiving a first operation gesture;
if the first operation gesture is matched with the gesture of the gesture mode exit event, determining that the target gesture event is the gesture mode exit event;
and responding to the first operation gesture, executing a target gesture event, and switching the current working mode of the electronic equipment from the gesture mode to other modes except the gesture mode.
It should be noted that, a specific implementation process of the steps executed by the processor in this embodiment may refer to an implementation process in the information processing method provided in the embodiments corresponding to fig. 1 to 4, and details are not described here.
The embodiment of the application provides electronic equipment, and by detecting an application program currently running by the electronic equipment, if the application program currently running by the electronic equipment belongs to a preset application program, switching the current working mode of the electronic equipment to a gesture mode, receiving a first operation gesture, determining a target gesture event corresponding to the first operation gesture, responding to the first operation gesture, and executing the target gesture event, so that an operation function corresponding to the target gesture event is realized. Therefore, when the electronic equipment runs the preset application program, the current working mode of the electronic equipment is switched to be the gesture mode, the target gesture event matched with the received first operation gesture is executed, the touch position coordinate event is not reported any more, and the possibility of misoperation of a user is reduced. The problem of among the prior art electronic equipment intelligent degree lower is solved, reduced the processing procedure to user's maloperation, improved electronic equipment's intelligent degree, effectively guaranteed electronic equipment's treatment effeciency. Furthermore, the correspondence between the functions of the application programs and the gestures can be automatically completed, the operation of a user is facilitated, the user experience is improved, the touch position coordinate event is not reported, and the power consumption of the electronic equipment is reduced.
Based on the foregoing embodiments, embodiments of the present application provide a computer-readable storage medium, where one or more programs are stored in the computer-readable storage medium, and the one or more programs can be executed by one or more processors to implement the information processing method provided in the embodiments corresponding to fig. 1 to 4, which is not described herein again.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and is not intended to limit the scope of the present application.

Claims (10)

1. An information processing method, the method comprising:
detecting an application program currently operated by the electronic equipment;
if the application program currently operated by the electronic equipment belongs to a preset application program, switching the current working mode of the electronic equipment into a gesture mode;
receiving a first operation gesture, determining a target gesture event corresponding to the first operation gesture, responding to the first operation gesture, and executing the target gesture event, thereby realizing an operation function corresponding to the target gesture event.
2. The method of claim 1, prior to the detecting an application currently running by the electronic device, the method further comprising:
acquiring all operation functions of each application program in the preset application programs;
determining a coordinate event corresponding to each operation function in all the operation functions; wherein each operating function corresponds to at least one coordinate event;
and acquiring a reference gesture, and associating the reference gesture with the coordinate event corresponding to each operation function so as to obtain a target relation corresponding to the preset application program.
3. The method of claim 2, the receiving a first operational gesture, determining a target gesture event corresponding to the first operational gesture, responding to the first operational gesture, and executing the target gesture event, comprising:
receiving the first operation gesture;
matching the first operation gesture with a reference gesture in the target relation, and determining a target reference gesture matched with the first operation gesture;
acquiring a target coordinate event corresponding to the target reference gesture from the target relation, and taking the target coordinate event as the target gesture event;
and responding to the first operation gesture, and executing the target gesture event.
4. The method of claim 1, wherein if the currently running application program of the electronic device belongs to a preset application program, switching the current operating mode of the electronic device to a gesture mode includes:
if the application program currently operated by the electronic equipment belongs to the preset application program and the electronic equipment receives a switching instruction, switching the current working mode of the electronic equipment into a gesture mode; and reporting the coordinate event corresponding to the first operation gesture in the gesture mode.
5. The method of claim 1, the receiving a first operating gesture, determining a target gesture event corresponding to the first operating gesture, responding to the first operating gesture, and executing the target gesture event, comprising:
receiving the first operation gesture;
if the first operation gesture is matched with a first target gesture in first type of preset gestures, determining a first target event corresponding to the first target gesture; the first type of preset gestures comprise at least one target gesture, and target events corresponding to the gestures in the first type of preset gestures do not need to be converted;
taking the first target event as the target gesture event, responding to the first operation gesture, and executing the target gesture event.
6. The method of claim 5, after the receiving the first operation gesture, the method further comprising:
if the first operation gesture is matched with a second target gesture in a second type of preset gestures, determining a second target event corresponding to the second target gesture; the second type of preset gesture comprises at least one target gesture, and a target event corresponding to a gesture in the second type of preset gesture needs to be converted;
converting the second target event into the target gesture event, and responding to the first operation gesture to execute the target gesture event.
7. The method of claim 6, the translating the second event to the target gesture event and executing the target gesture event in response to the first operating gesture, comprising:
determining a first target application program corresponding to the second event; the first target application program is at least one application program in application programs currently operated by the electronic equipment;
converting the second event into the target gesture event based on a preset protocol between the first target application program and the electronic equipment;
responding to the first operation gesture, and sending the target gesture event to the first target application program;
controlling the first target application program to execute the target gesture event.
8. The method of claim 1, the receiving a first operating gesture, determining a target gesture event corresponding to the first operating gesture, responding to the first operating gesture, and executing the target gesture event, comprising:
receiving the first operation gesture;
if the first operation gesture is matched with the gesture of the gesture mode exit event, determining that the target gesture event is the gesture mode exit event;
and responding to the first operation gesture, executing the target gesture event, and switching the current working mode of the electronic equipment from the gesture mode to other modes except the gesture mode.
9. An electronic device, the electronic device comprising: display screen and application processor AP, wherein:
the display screen comprises a touch receiving area and is used for receiving a first operation gesture and sending the first operation gesture to the AP;
the AP is used for detecting the application program currently operated by the electronic equipment; if the application program currently operated by the electronic equipment belongs to a preset application program, switching the current working mode of the electronic equipment into a gesture mode; detecting a first operation gesture, determining a target gesture event corresponding to the first operation gesture, responding to the first operation gesture, and executing the target gesture event, thereby realizing an operation function corresponding to the target gesture event.
10. A storage medium having stored thereon an information processing program which, when executed by a processor, realizes the steps of the information processing method according to any one of claims 1 to 8.
CN201911376410.5A 2019-12-27 2019-12-27 Information processing method, electronic equipment and storage medium Pending CN111078111A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911376410.5A CN111078111A (en) 2019-12-27 2019-12-27 Information processing method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911376410.5A CN111078111A (en) 2019-12-27 2019-12-27 Information processing method, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111078111A true CN111078111A (en) 2020-04-28

Family

ID=70318510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911376410.5A Pending CN111078111A (en) 2019-12-27 2019-12-27 Information processing method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111078111A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102768840A (en) * 2011-05-03 2012-11-07 联想移动通信科技有限公司 Video playing control method and terminal device
CN103488960A (en) * 2012-06-14 2014-01-01 华为终端有限公司 Misoperation preventing method and touch screen terminal equipment
CN103793177A (en) * 2014-02-28 2014-05-14 广州视源电子科技股份有限公司 Interface processing method for touch screen device and touch screen device
CN104407799A (en) * 2014-10-30 2015-03-11 广东欧珀移动通信有限公司 Method and system for avoiding incorrect operation of touch screen in video playing process
CN104714736A (en) * 2015-03-26 2015-06-17 魅族科技(中国)有限公司 Control method and terminal for quitting full screen lock-out state
US9477338B2 (en) * 2008-01-29 2016-10-25 Kyocera Corporation Terminal device with display function

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9477338B2 (en) * 2008-01-29 2016-10-25 Kyocera Corporation Terminal device with display function
CN102768840A (en) * 2011-05-03 2012-11-07 联想移动通信科技有限公司 Video playing control method and terminal device
CN103488960A (en) * 2012-06-14 2014-01-01 华为终端有限公司 Misoperation preventing method and touch screen terminal equipment
CN103793177A (en) * 2014-02-28 2014-05-14 广州视源电子科技股份有限公司 Interface processing method for touch screen device and touch screen device
CN104407799A (en) * 2014-10-30 2015-03-11 广东欧珀移动通信有限公司 Method and system for avoiding incorrect operation of touch screen in video playing process
CN104714736A (en) * 2015-03-26 2015-06-17 魅族科技(中国)有限公司 Control method and terminal for quitting full screen lock-out state

Similar Documents

Publication Publication Date Title
US10296140B2 (en) Information processing method for avoidance of a mis-touch and electronic device thereof
CN104598111B (en) Switch the method and device of display pattern
US9535576B2 (en) Touchscreen apparatus user interface processing method and touchscreen apparatus
US8581869B2 (en) Information processing apparatus, information processing method, and computer program
US20110246952A1 (en) Electronic device capable of defining touch gestures and method thereof
US20140003681A1 (en) Zero Enrollment
CN105094801B (en) Application function activation method and device
CN108920071B (en) Control method and device based on special-shaped display screen, storage medium and mobile terminal
US20120262388A1 (en) Mobile device and method for controlling mobile device
WO2017128522A1 (en) Method, device, and terminal for processing touch-control operation
CN105242870A (en) False touch method and device of terminal with touch screen
WO2022022566A1 (en) Graphic code identification method and apparatus and electronic device
WO2015192763A1 (en) Touch screen control method and device
CN104765524A (en) Application switching method and device
CN108920070B (en) Screen splitting method and device based on special-shaped display screen, storage medium and mobile terminal
US20160370988A1 (en) Apparatus and method of interacting with portable touch input device through patterns while the device is in the locked condition
CN110347324A (en) Shortcut call method, device, storage medium and meeting all-in-one machine
TW201626204A (en) Touch control photography method and touch terminal thereof
TWI590100B (en) Operating method for handheld device
CN104182161A (en) Method and device for opening screen functional area
CN101470575A (en) Electronic device and its input method
CN108200228B (en) Terminal fingerprint identification module management method, terminal and computer readable storage medium
CN105446629A (en) Content pane switching method, device and terminal
WO2016131181A1 (en) Fingerprint event processing method, apparatus, and terminal
WO2015131813A1 (en) Method and system for operating device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination