CN113010078A - Touch method and device, storage medium and electronic equipment - Google Patents

Touch method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN113010078A
CN113010078A CN202110287516.9A CN202110287516A CN113010078A CN 113010078 A CN113010078 A CN 113010078A CN 202110287516 A CN202110287516 A CN 202110287516A CN 113010078 A CN113010078 A CN 113010078A
Authority
CN
China
Prior art keywords
area
touch
target
fluctuation
value
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
CN202110287516.9A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110287516.9A priority Critical patent/CN113010078A/en
Publication of CN113010078A publication Critical patent/CN113010078A/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
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers

Abstract

The embodiment of the application discloses a touch method, a touch device, a storage medium and electronic equipment, wherein the method comprises the following steps: detecting touch operation input aiming at a display screen; acquiring a target touch area corresponding to the touch operation and circuit parameters corresponding to the target touch area; and when the target touch area is matched with the side touch area, identifying a target function corresponding to the touch operation based on the target touch area and the circuit parameter quantity, and executing the target function. By adopting the embodiment of the application, the function starting process of the electronic equipment can be simplified, and complicated operation of a user on a display screen is not needed.

Description

Touch method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a touch method, an apparatus, a storage medium, and an electronic device.
Background
With the development of scientific technology, the functions of electronic devices are more and more improved, and the triggering mode of the functions is also continuously improved to meet the requirements of users. Currently, to implement multiple functions of an electronic device, different operations may be performed on the electronic device to trigger corresponding functions, for example, a user may touch the electronic device in a touch manner to input a corresponding touch operation, thereby triggering the corresponding functions.
Disclosure of Invention
The embodiment of the application provides a touch method, a touch device, a storage medium and an electronic device, which can simplify the function starting process of the electronic device and do not need a user to perform complicated operation on a display screen. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a touch method, where the method includes:
detecting touch operation input aiming at a display screen;
acquiring a target touch area corresponding to the touch operation and circuit parameters corresponding to the target touch area;
and when the target touch area is matched with the side touch area, identifying a target function corresponding to the touch operation based on the target touch area and the circuit parameter quantity, and executing the target function.
In a second aspect, an embodiment of the present application provides a touch device, where the touch device includes:
the operation detection module is used for detecting touch operation input aiming at the display screen;
a parameter number obtaining module, configured to obtain a target touch area corresponding to the touch operation and a circuit parameter number corresponding to the target touch area;
and the function execution module is used for identifying a target function corresponding to the touch operation based on the target touch area and the circuit parameter quantity and executing the target function when the target touch area is matched with the side touch area.
In a third aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
In a fourth aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
in one or more embodiments of the present application, an electronic device detects a touch operation input for a display screen, acquires a target touch area corresponding to the touch operation and a circuit parameter amount corresponding to the target touch area, and identifies a target function corresponding to the touch operation based on the target touch area and the circuit parameter amount when the target touch area is matched with a side touch area, so as to execute the target function. The input touch operation is received through the display screen, the target function corresponding to the touch operation is identified, the function starting process of the electronic equipment can be simplified, complex operation of a user on the display screen is not needed, and meanwhile, the function corresponding to the entity key in the related technology can be achieved without setting the entity key on the electronic equipment based on the touch method. Furthermore, the input touch operation is detected through the circuit parameter number, and the target function corresponding to the touch operation can be sensitively identified, so that the electronic equipment can quickly respond to the input touch operation.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating an example of a physical key according to an embodiment of the present disclosure;
fig. 2 is a system architecture diagram of a touch method according to an embodiment of the present disclosure;
FIG. 3 is an exemplary diagram of a display category provided by an embodiment of the present application;
fig. 4 is a scene schematic diagram of a touch method according to an embodiment of the present disclosure;
fig. 5 is an exemplary schematic view of a display screen related to a touch method according to an embodiment of the present disclosure;
fig. 6 is a schematic flowchart of a touch method according to an embodiment of the present disclosure;
fig. 7 is an exemplary schematic diagram of a target touch area according to an embodiment of the present disclosure;
fig. 8 is an exemplary schematic diagram of a region matching method provided in an embodiment of the present application;
fig. 9 is an exemplary schematic diagram of a touch operation according to an embodiment of the present disclosure;
fig. 10 is an exemplary schematic diagram of a touch direction according to an embodiment of the present disclosure;
fig. 11 is a flowchart illustrating another touch method according to an embodiment of the present disclosure;
fig. 12 is a schematic flowchart of another touch method provided in the embodiment of the present application;
FIG. 13 is an exemplary illustration of a side type region provided in an embodiment of the present application;
fig. 14 is a schematic structural diagram of a touch device according to an embodiment of the present disclosure;
fig. 15 is a schematic structural diagram of a parameter number obtaining module according to an embodiment of the present application;
fig. 16 is a schematic structural diagram of another parameter obtaining module according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of another parameter obtaining module according to an embodiment of the present application;
fig. 18 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 19 is a block diagram of an operating system and a user space provided in an embodiment of the present application;
FIG. 20 is an architectural diagram of the android operating system of FIG. 18;
FIG. 21 is an architectural diagram of the IOS operating system of FIG. 18.
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, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present application, it is noted that, unless explicitly stated or limited otherwise, "including" and "having" and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
In the related art, the side keys of the electronic device may be physical keys or virtual keys. Fig. 1 shows an exemplary diagram of a physical key. Taking an electronic device as an example of a smart phone, as shown in fig. 1, when a key of the smart phone is a physical key, the position of the physical key is very limited due to the bending angle of the display screen. If the bending angle of the display screen is too large, the side of the smart phone cannot be provided with the solid keys. Furthermore, the practical applicability of the physical key in the electronic device is not high in consideration of the short service life and the fixed position of the physical key. When the side keys of the electronic equipment are virtual keys, a pressure sensor or a pressure deformation sensor is arranged in the electronic equipment, so that the change of the pressure in the screen is identified to execute the operation function corresponding to the pressure change, namely the operation function corresponding to the virtual keys. However, the pressing state cannot be accurately fed back by recognizing the change of the pressure in the screen, and thus the operation function corresponding to the virtual key cannot be sensitively executed.
According to some embodiments, the touch method provided by the embodiments of the present application can solve one or more of the above-mentioned problems. Fig. 2 is a system architecture diagram of a touch method applied to an embodiment of the present application. As shown in fig. 2, when a user touches the display screen through skin, due to an electric field of a human body, a coupling capacitor is formed between the user and the surface of the display screen, and for a high-frequency current, the capacitor is a direct conductor, which may affect the overall capacitance characteristic of the circuit, so that a touch position corresponding to a touch operation input by the user on the display screen and a circuit parameter corresponding to the touch position may be obtained. It should be noted that, based on different electrode driving manners, the display screen can be divided into a self-capacitance display screen and a mutual capacitance display screen, as shown in fig. 3. The self-capacitance display screen is driven in a single-end induction mode, touch signals are received and output through the same electrode, the display screen is divided into touch (sensor) blocks in a touch blocking mode, and when a human body touches the display screen, the coupling capacitance of the electrode is increased. A mutual capacitive display screen is a driving manner of transferring from one electrode group (for example, one electrode group with electrodes arranged in rows) to another electrode group (for example, one electrode group with electrodes arranged in columns), and when a human body touches, a coupling capacitance between the electrode groups decreases. It is readily understood that the circuit parameter quantities include capacitance parameter quantities. In some embodiments, the circuit parameter quantities may also include a current parameter quantity, a voltage parameter quantity, and a charge-discharge time.
According to some embodiments, fig. 4 is a scene diagram illustrating a touch method applied to the embodiments of the present application. As shown in fig. 4, the user inputs a touch operation by touching the side area of the smartphone. The touch operation may be an operation of holding two non-adjacent sides of the smartphone, an operation of holding two adjacent sides of the smartphone, or an operation of holding a single side of the smartphone. The electronic device of the embodiment of the present application may be a handheld terminal device having a display screen, including but not limited to: personal computers, tablet computers, handheld devices, in-vehicle devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and the like. The terminal devices in different networks may be called different names, for example: user equipment, access terminal, subscriber unit, subscriber station, mobile station, remote terminal, mobile device, user terminal, wireless communication device, user agent or user equipment, cellular telephone, cordless telephone, terminal equipment in a 5G network or future evolution network, and the like. In some embodiments, fig. 5 shows an exemplary schematic view of a display screen related to a touch method applied to the embodiments of the present application, and as shown in fig. 5, the schematic view is a schematic cross-sectional view of a smart phone, a bending angle of the display screen of an electronic device is gradually increased, so that a user inputs a touch operation at a side of the electronic device (that is, the display screen), where the display screen may be an edge curved screen, a flexible screen, or the like.
The present application will be described in detail with reference to specific examples.
In one embodiment, as shown in fig. 6, a touch method is proposed, which can be implemented by means of a computer program and can be run on a touch device based on von neumann architecture. The computer program may be integrated into the application or may run as a separate tool-like application.
Specifically, the touch method includes:
s101: touch operation input for the display screen is detected.
According to some embodiments, the execution main body of the embodiment is an electronic device having a display screen, the display screen is a touchable screen used for receiving touch operation input by a user, the touchable screen has an edge curved surface, can be a flexible screen, and has the characteristics of being bendable and good in flexibility. In some embodiments, the touch control operation related to the present application is a human-computer interaction operation input on the display screen, and is not an operation input on a housing of the electronic device except the display screen, such as an operation input on an image display area of a non-display screen, such as a rear housing, a side frame, a middle frame, and the like, except the display screen.
It is easy to understand that the touch operation refers to a touch action input by a user to instruct the electronic device to execute a corresponding function, and may be an operation of touching any position of the display screen, and more specifically, in some embodiments, may be an operation of pressing a side edge of the display screen, or may be an operation of sliding along the side edge of the display screen in a preset direction. In the embodiment of the present application, the functions corresponding to the touch operations include, but are not limited to: starting up, shutting down, waking up the screen, turning off the screen, adjusting the volume and the like. Further, in some embodiments, the touch method according to the present application may be implemented to replace a key function corresponding to an entity key in the related art, such as a power-on function corresponding to a power-on entity key and a key function corresponding to a power-off key. In addition, according to the touch method based on the application, in practical production application, the execution main body electronic device of the embodiment may be provided with or without an entity key, and is specifically determined based on a practical application environment.
It should be noted that when a user touches the display screen with a finger, a circuit parameter in the display screen changes, and the circuit parameter may be understood as a fitting of one or more of current parameters, voltage parameters, capacitance parameters, and other types of parameters, so that the electronic device may detect a touch operation input by the user. Taking the mutual capacitance type touch-controllable display screen as an example, when a finger contacts the self-capacitance type touch-controllable display screen, the touch capacitance value corresponding to the contact area between the finger and the display screen is reduced, and the electronic device senses the reduction of the touch capacitance value, so that the touch operation input to the display screen can be detected. Furthermore, other circuit parameters, such as current parameters and voltage parameters, can be detected for decision.
S102: and acquiring a target touch area corresponding to the touch operation and circuit parameters corresponding to the target touch area.
It is easy to understand that the target touch area refers to an area on the display screen touched by a user when the user inputs a touch operation on the display screen. Since the touch operation corresponds to different operation functions, the positions of the target touch areas on the display screen are different based on the different operation functions. In the embodiment of the application, when the click key operation corresponding to the side physical key is replaced with the touch operation input at the side of the display screen in order to avoid setting the physical key at the side of the electronic device, the operation function corresponding to the touch operation is the function corresponding to the side physical key, and the target touch area may be a side touch area of the display screen.
According to some embodiments, the circuit parameter amount may be a current value of the circuit parameter or a difference between an initial value and the current value of the circuit parameter, wherein a user's finger is in contact with the display screen to connect the finger as a conductor into a circuit of the display screen, thereby changing a circuit parameter value of the circuit. The initial value of the circuit parameter may be a circuit parameter value of the electronic device when the electronic device is factory set, or may be a circuit parameter value on the display screen when the human body is not in contact with the display screen.
Optionally, the circuit parameter may be a variation of the coupling capacitance caused by a user touching the display screen, that is, a touch capacitance value. In some application scenarios, the touch capacitance may be converted into a current value, a voltage value, or a charging/discharging time value by setting the functional circuit, wherein the touch capacitance is in a direct proportional relationship with the current value, in an inverse proportional relationship with the voltage value, and in a direct proportional relationship with the charging/discharging time value.
Fig. 7 shows an exemplary schematic diagram of a target touch area, as shown in fig. 7, taking a self-capacitance display screen as an example, a contact area between a user and the display screen is a black square, and at this time, a capacitance value corresponding to the black square area increases, so that an area with an increased capacitance value (that is, the black square area) can be determined as the target touch area, and a current capacitance value of the display screen is obtained at the same time, so that the current capacitance value is used as a circuit parameter. Further, the circuit parameter may include an increase in capacitance corresponding to each black grid area, thereby determining the position of the black grid area on the display screen.
S103: and when the target touch area is matched with the side touch area, identifying a target function corresponding to the touch operation based on the target touch area and the circuit parameter quantity, and executing the target function.
It is easy to understand that the side touch area refers to an area within a reasonable range set on the side of the display screen for identifying the function corresponding to the touch operation, wherein the range of the side touch area is not set too large for preventing the false touch operation, and the range of the side touch area is not set too small for matching the target touch area with the side touch area.
According to some embodiments, as shown in fig. 8, an exemplary method of determining the matching between the target touch area and the side touch area includes, but is not limited to, the following methods:
in the first mode, when the target touch area is completely positioned in the side touch area, the target touch area is determined to be matched with the side touch area;
in a second mode, when the target touch area is not completely located in the side touch area, determining that the target touch area is matched with the side touch area if the overlapping area between the target touch area and the side touch area accounts for a first proportion of the side touch area, where the first proportion is greater than a first proportion threshold, for example, the first proportion of the overlapping area in the side touch area is 40%, and the first proportion is greater than a first proportion threshold by 30%;
and thirdly, when the target touch area is not completely positioned in the side touch area, the overlapped area between the target touch area and the side touch area accounts for a second proportion of the target touch area, and the second proportion is greater than a second proportion threshold value, so that the target touch area is determined to be matched with the side touch area.
Setting a first proportion threshold and a second proportion threshold for joint judgment, wherein the first proportion threshold is a threshold or a critical value of a first intersection region corresponding to the first region and the first side type region and is used for identifying whether matching is performed or not; the second intersection region threshold is a threshold or a critical value of a second intersection region corresponding to the second region and the second side type region, and is used for identifying whether the second intersection region and the second side type region are matched or not
Specifically, when the target touch area matches the side touch area, it may be determined that the touch operation of the user is performed in a specified area of the display screen, so as to trigger the following steps: and identifying a target function corresponding to the touch operation based on the target touch area and the circuit parameter quantity. The state of the display screen under touch operation can be identified based on the target touch area and the circuit parameter number, and when the state meets a preset condition, a target function corresponding to the preset condition is acquired. Furthermore, when the target touch area and the circuit parameter amount change, it indicates that the state of the user acting on the electronic device changes.
Taking the self-capacitance display screen as an example, as shown in fig. 9, an exemplary schematic diagram of a touch operation includes three recognition results in the touch operation process and states of the electronic device corresponding to the three recognition results. Wherein:
illustratively, the identification of the touch operation may be identification of a plurality of consecutive sub-operations, and the identification principle is based on a touch identification process set by ergonomics in consideration of a touch scene of a user in practical application, as follows:
when the target touch area is matched with the side touch area, the handheld electronic equipment of the user can be determined to be in a holding state, the area of the target touch area is A, and the capacitance value is B;
when determining that the state of the electronic equipment corresponds to a holding state, namely, the holding sub-operation input by the user holding the electronic equipment is recognized, continuously monitoring: when it is recognized that the area of the target touch area continues to increase, the area value exceeds a threshold value, such as 2A, and the capacitance value continues to increase, and the capacitance value exceeds a threshold value, such as 1.3B, it can be determined that the user transits from holding to pressing the electronic equipment, and the user inputs a pressing sub-operation for the electronic equipment at the moment, that is, the user holds the electronic equipment in a pressing state;
when determining that the state of the electronic equipment corresponds to a pressing state, namely recognizing that the pressing sub-operation input by the user pressing the electronic equipment is detected, continuously monitoring: when it is recognized that the area of the target touch area starts to decrease, the area value is smaller than the threshold value, for example, 0.9A, and the capacitance value starts to decrease at the same time, and the capacitance value is smaller than the threshold value, for example, 1.1B, it can be determined that the user transits from pressing to releasing the electronic device, and the user inputs a release sub-operation for the electronic device at this time, that is, the user holds the electronic device in a release state.
Further, when the electronic device detects a touch operation input for the display screen, it is determined that the touch operation is: after the holding sub-operation, the pressing sub-operation and the releasing sub-operation are performed, the touch operation is responded, the touch operation can be identified, and the machine executable instruction or the machine executable function corresponding to the touch operation is executed, namely the target function corresponding to the touch operation is identified, so that the target function is executed.
Optionally, identifying the target function corresponding to the touch operation may further be: and identifying based on the target touch area, the touch direction and the circuit parameter number. The touch operation further comprises sliding on the display screen along the touch direction. In the process of touch operation, the touch direction of the touch operation can be determined by monitoring the change of the position of the target touch area. By judging whether the touch direction is matched with the preset direction of the target function, the accuracy of target function identification can be improved.
For example, when a touch operation is detected based on the target touch area and the circuit parameter number: and determining a target function corresponding to the touch operation when the holding operation, the pressing operation and the releasing operation are performed, and the touch direction is vertical.
Further, the target function may include at least two sub-target functions, for example, the volume adjustment function includes a volume amplification function and a volume reduction function, the target function corresponding to the touch operation may be identified based on the target touch area and the circuit parameter amount, and the target sub-function in the target function may be identified based on the touch direction. When the touch direction is matched with a first preset direction, determining a first target sub-function corresponding to the touch operation; and when the touch direction is matched with the second preset direction, determining a second target sub-function corresponding to the touch operation.
Taking an electronic device as an example of a smart phone, when the target function is determined to be a screen brightness adjusting function through the target touch area of the touch operation and the parameter, the screen brightness adjusting function includes a screen brightening sub-function and a screen dimming sub-function, and the touch direction of the touch operation corresponding to the screen brightening sub-function is an upward direction and the touch direction of the touch operation corresponding to the screen dimming sub-function is a downward direction. As shown in fig. 10, an exemplary diagram of touch directions is shown, when a thumb of a user slides from top to bottom in a touch process, a position of a target touch area corresponding to a touch operation is recognized by a display screen to move from an upper area to a lower area, and the touch direction corresponding to the touch operation can be determined to be a downward direction, so that a target sub-function corresponding to the touch operation is determined to be a screen dimming sub-function.
Optionally, while identifying a target function corresponding to a touch operation based on the target touch area and the circuit parameter amount, detecting whether the target touch area includes a touch control, such as a click frame, a virtual key, a slider, and the like, where the touch control is a touch control displayed in a display screen in the form of text, picture, video, and the like and corresponding to other functions except the target function, and a user may touch other functions by touching and molding an area on the display screen corresponding to the touch control.
It is easy to understand that if the target touch area does not include a touch control, it indicates that the touch operation does not trigger other functions by mistake, and the target function corresponding to the identified touch operation can be executed; if the target touch area contains the graphic touch keys corresponding to other functions, the touch operation can trigger other functions by mistake, at the moment, the execution of the target function corresponding to the identified touch operation can be stopped, and prompt information is output, so that the user can input accurate touch operation again, the identification rate of the target function is improved, and meanwhile, the mistaken touch can be effectively prevented.
In the embodiment of the application, the electronic device detects a touch operation input for a display screen, acquires a target touch area corresponding to the touch operation and a circuit parameter amount corresponding to the target touch area, and identifies a target function corresponding to the touch operation based on the target touch area and the circuit parameter amount to execute the target function when the target touch area is matched with a side touch area. The input touch operation is received through the display screen, the target function corresponding to the touch operation is identified, the function starting process of the electronic equipment can be simplified, complex operation of a user on the display screen is not needed, and meanwhile, the function corresponding to the entity key in the related technology can be achieved without setting the entity key on the electronic equipment based on the touch method. Furthermore, the input touch operation is detected through the circuit parameter number, and the target function corresponding to the touch operation can be sensitively identified, so that the electronic equipment can quickly respond to the input touch operation.
Referring to fig. 11, fig. 11 is a schematic flowchart illustrating another embodiment of a touch method according to the present application. Specifically, the method comprises the following steps:
s201: touch operation input for the display screen is detected.
See S101 for details, which are not described herein.
S202: and acquiring a target touch area corresponding to the touch operation and circuit parameters corresponding to the target touch area.
See S102 for details, which are not described herein.
S203: and monitoring a first numerical fluctuation amount corresponding to the circuit parameter amount when the target touch area is matched with the side touch area.
The method for determining the matching between the target touch area and the side touch area may specifically refer to S103, which is not described herein again.
It is easy to understand that the first value fluctuation amount refers to a difference amount generated by a change of a circuit parameter amount, that is, when it is determined that the target touch area is matched with the side touch area, a circuit reference value is corresponding at this time, and the subsequent monitoring of the circuit parameter amount takes the circuit reference value as a reference, so as to monitor the fluctuation amount of the current circuit parameter value relative to the initial circuit parameter value in real time.
When the target touch area is determined to be matched with the side touch area, the monitored circuit parameter amount is an initial value, and the target touch area is determined to be matched with the side touch area, at this time, the user usually holds the electronic device in a holding state to input a holding sub-operation, the change of the circuit parameter amount is continuously monitored, the circuit parameter amount is continuously changed in the process of touch operation, and the difference between the current circuit parameter amount monitored at any target moment and the initial value can be a first numerical fluctuation amount.
According to some embodiments, the monitoring of the first value fluctuation amount may be to acquire the circuit parameter amount in real time, count the acquired circuit parameter amount, and calculate a difference between the circuit parameter amount acquired in real time and the initial value, so as to acquire the first value fluctuation amount in real time, and compare the acquired first value fluctuation amount with a first fluctuation amount threshold, so as to monitor the first value fluctuation amount.
S204: and determining that the first numerical fluctuation amount is larger than a first fluctuation amount threshold value, and acquiring a target function corresponding to the touch operation.
Specifically, the change in the state of the electronic device may be determined by the first amount of fluctuation being greater than the first threshold amount of fluctuation. For example, in a self-capacitance display screen, when a display screen of an electronic device starts to increase (a first value fluctuation amount) corresponding to a circuit parameter value generated by a user's finger contact until the first value fluctuation amount is greater than a first fluctuation amount threshold, it may be determined that the user's operation on the electronic device is changed from holding to pressing in a touch operation.
It is easily understood that by determining that the first value fluctuation amount is greater than the first fluctuation amount threshold, the change of the state of the electronic device, including from hold to press, from press to release, and from hold to release, can be identified, so as to acquire the target function corresponding to the state change. The method for acquiring the target function corresponding to the touch operation may be: and determining a function corresponding to the first fluctuation amount threshold value, and taking the function as a target function. For example, when it is recognized that the state of the electronic device is released from pressing, it may be determined that the function corresponding to the first fluctuation amount threshold is to turn off the screen; when the state of the electronic device is recognized to be changed from holding to pressing, the function corresponding to the first fluctuation threshold value can be determined to be a wake-up screen or the like.
Further, a first area fluctuation value of the target touch area is determined based on the first numerical value fluctuation amount; and executing the step of acquiring the target function when the first numerical fluctuation value is greater than the first fluctuation threshold value and the first area fluctuation value is greater than the area fluctuation threshold value. Taking a self-capacitance display screen as an example, the display screen is divided into a plurality of sensor blocks, the touch capacitance values corresponding to each sensor block are the same, when a user finger touches the display screen, the touch capacitance values of the sensor blocks corresponding to the target touch area are increased, when the user finger presses the display screen, the area of the target touch area is increased, the total touch capacitance value corresponding to the display screen is also increased, and therefore the first area fluctuation value of the target touch area can be determined through the first numerical fluctuation value. When the first area fluctuation value is larger than the area fluctuation threshold value, the change of the state of the electronic equipment can be further determined, so that the target function is obtained.
Further, in some embodiments, for more accurate recognition of the touch operation, the touch operation may be jointly recognized by using a first fluctuation threshold and a second fluctuation threshold, where after the joint recognition is satisfied, the "first fluctuation threshold and the" second fluctuation threshold "correspond to a machine-executable function, and the electronic device takes the machine-executable function as a target function.
Furthermore, the first fluctuation amount threshold and/or the second fluctuation amount threshold may be multiple, and different first fluctuation amount thresholds and/or different second fluctuation amount thresholds correspond to different machine-executable functions, and may be specifically set based on an actual application environment.
Specifically, a second numerical fluctuation amount corresponding to the circuit parameter amount is monitored, the second numerical fluctuation amount is determined to be smaller than a second fluctuation amount threshold value, and the step of acquiring the target function is executed. The second numerical fluctuation amount refers to a variation of the circuit parameter amount after the first numerical fluctuation amount is larger than the first preset fluctuation threshold value, that is, when it is determined that the first numerical fluctuation amount is larger than the first preset fluctuation threshold value, a circuit reference value is corresponding at this time, the subsequent monitoring of the circuit parameter amount takes the circuit reference value as a reference, the fluctuation amount of the current circuit parameter value relative to the initial circuit parameter value is monitored in real time, and the reference of the circuit parameter value of the first numerical fluctuation amount can also be taken as a reference. .
It should be noted that, after the first numerical fluctuation amount is greater than the first preset fluctuation threshold, the electronic device is in a state corresponding to the first preset fluctuation threshold. By determining that the second numerical fluctuation amount is smaller than the second fluctuation amount threshold value, the change of the second state of the electronic equipment, including from holding to pressing, from pressing to releasing, and from holding to releasing, can be identified, so that the target function corresponding to the two state changes is obtained.
Further, a second area fluctuation value of the target touch area is determined based on the second numerical value fluctuation amount; and when the second numerical fluctuation value is smaller than a second fluctuation threshold value and the second area fluctuation value is larger than an area fluctuation threshold value, executing the step of acquiring the target function. The second area fluctuation value of the target touch area can be determined by the second numerical fluctuation amount. When the second area fluctuation value is larger than the area fluctuation threshold value, the change of the state of the electronic device can be further determined, so that the target function is obtained.
Optionally, after the target function corresponding to the touch operation is identified, in order to increase user experience, when the target function is executed, a vibration effect may be used to prompt the user that the target function corresponding to the touch operation is being executed.
In the embodiment of the application, the input touch operation is received through the display screen, the target function corresponding to the touch operation is identified, the function starting process of the electronic equipment can be simplified, a user does not need to perform complicated operation on the display screen, and meanwhile, in some cases, the touch method based on the application does not need to set the entity key on the electronic equipment and realizes the function corresponding to the entity key. In addition, the area fluctuation value of the target touch area is determined through the circuit parameter quantity, and then the touch operation is identified through comparing the area fluctuation value, so that the accuracy of identifying the touch operation is improved.
Referring to fig. 12, fig. 12 is a schematic flowchart illustrating another embodiment of a touch method according to the present application. Specifically, the method comprises the following steps:
s301: touch operation input for the display screen is detected.
See S101 for details, which are not described herein.
S302: and acquiring a target touch area corresponding to the touch operation and circuit parameters corresponding to the target touch area.
See S102 for details, which are not described herein.
S303: when the first area belongs to a first side type area and/or the second area belongs to a second side type area, determining that the target touch area is matched with the side touch area.
Specifically, the target touch area includes at least one first area and at least one second area, and the first area and the second area are not overlapped. The method comprises the steps that areas in a display screen are divided into different types of areas according to distribution positions of side areas, and the divided areas comprise a first side type area and a second side type area.
As shown in fig. 13, the side touch area of the smart phone is divided into a first side type area and a second side type area, where the first side type area is a side area in the vertical direction, and the second side type area is a side area in the horizontal direction. It should be noted that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
It will be readily appreciated that in some embodiments, the target touch area may be determined to match the side touch area when the first area is within the first side type area and the second area is within the second side type area. In some embodiments, when the first area is located within the first side type area and there is an area intersection between the second area and the second side type area, it may be determined that the target touch area matches the side touch area; in some embodiments, when the first area intersects with the first side type area and the second area is located in the second side type area, it may be determined that the target touch area matches the side touch area.
In some embodiments, a first intersection region threshold and a second intersection region threshold may be set for performing a joint determination, where the first intersection region threshold refers to a threshold or a critical value of a first intersection region corresponding to the first region and the first side type region, and is used to identify whether matching is performed; the second intersection region threshold is a threshold value or a critical value of a second intersection region corresponding to the second region and the second side type region, and is used for identifying whether matching is performed or not;
one way may be: and if the first intersection area is larger than or equal to the first intersection area threshold value and the second intersection area is not 0, determining that the target touch area is matched with the side touch area.
One way may be: and if the second intersection area is larger than or equal to the second intersection area threshold value and the first intersection area is not 0, determining that the target touch area is matched with the side touch area.
One way may be: and if the second intersection area is larger than or equal to the second intersection area threshold value, and the first intersection area is larger than or equal to the first intersection area threshold value, determining that the target touch area is matched with the side touch area.
S304: and identifying a target function corresponding to the touch operation based on the target touch area and the circuit parameter quantity, and executing the target function.
Specifically, a third numerical fluctuation amount corresponding to the circuit parameter amount of each first region and a fourth numerical fluctuation amount corresponding to the circuit parameter amount of each second region are continuously monitored, and if at least one third numerical fluctuation amount is larger than a first fluctuation amount threshold value and/or at least one fourth numerical fluctuation amount is larger than the first fluctuation amount threshold value, a target function corresponding to the touch operation is obtained.
In some embodiments, if it is determined that at least one third value fluctuation amount is greater than a first fluctuation amount threshold and at least one fourth third value fluctuation amount is greater than the first fluctuation amount threshold, a target function corresponding to the touch operation is acquired. It is easy to understand that the target touch area corresponding to the touch operation needs to satisfy that the value fluctuation amount is greater than the first fluctuation amount threshold value in different side type areas at the same time, so as to identify the target function corresponding to the touch operation. Taking an electronic device as an example of a smart phone, a user holds two side edges of the smart phone by hand, sets a corresponding first side type region on one side edge, and sets a corresponding second side type region on the other side edge, and when it is detected that at least one third value fluctuation amount is greater than a first fluctuation amount threshold and at least one fourth value fluctuation amount is greater than the first fluctuation amount threshold, it can be determined that the user presses the two side edges at the same time in touch operation, so that a target function corresponding to the operation of pressing the two side edges at the same time can be obtained.
In some embodiments, if it is determined that at least one third value fluctuation amount is greater than the first fluctuation amount threshold or at least one fourth value fluctuation amount is greater than the first fluctuation amount threshold, that is, at least one of the third value fluctuation amount and the fourth value fluctuation amount is greater than the first fluctuation amount threshold, the target function corresponding to the touch operation is obtained. Considering a touch scene of a user in practical application based on ergonomics, a touch operation of the user may only act on one side of the electronic device, and therefore, it may be determined that a numerical fluctuation amount of a circuit parameter corresponding to at least one of the target touch areas is greater than a first fluctuation amount threshold, and a target function corresponding to the touch operation is acquired.
Further, one way may be: determining that at least one third numerical fluctuation amount is larger than the first fluctuation amount threshold value, and acquiring a target function corresponding to touch operation; one way may be: and if the fluctuation amount of the at least one fourth numerical value is larger than the threshold value of the first fluctuation amount, acquiring a target function corresponding to the touch operation.
In the embodiment of the application, the input touch operation is received through the display screen, the target function corresponding to the touch operation is identified, the function starting process of the electronic equipment can be simplified, a user does not need to perform complicated operation on the display screen, and meanwhile, in some cases, the touch method based on the application does not need to set the entity key on the electronic equipment and realizes the function corresponding to the entity key. In addition, the area fluctuation value of the target touch area is determined through the circuit parameters, and then the touch operation is identified through comparing the area fluctuation values, so that the accuracy of identifying the touch operation is improved.
The touch device provided in the embodiments of the present application will be described in detail with reference to fig. 14. It should be noted that the touch device shown in fig. 14 is used for executing the method of the embodiments shown in fig. 1 to 14 of the present application, and for convenience of description, only the portions related to the embodiments of the present application are shown, and details of the specific technology are not disclosed, please refer to the embodiments shown in fig. 1 to 12 of the present application.
Please refer to fig. 14, which shows a schematic structural diagram of a touch device according to an embodiment of the present application. The touch device 1 may be implemented as all or a part of an electronic apparatus by software, hardware, or a combination of both. According to some embodiments, the touch device 1 includes an operation detection module 11, a parameter amount obtaining module 12, and a function execution module 13, and is specifically configured to:
an operation detection module 11, configured to detect a touch operation input for a display screen;
a parameter quantity obtaining module 12, configured to obtain a target touch area corresponding to the touch operation and a circuit parameter quantity corresponding to the target touch area;
and a function executing module 13, configured to, when the target touch area matches the side touch area, identify a target function corresponding to the touch operation based on the target touch area and the circuit parameter, and execute the target function.
Optionally, as shown in fig. 15, the parameter obtaining module 12 includes:
a first fluctuation amount monitoring unit 121, configured to monitor a first numerical fluctuation amount corresponding to the circuit parameter amount;
a function obtaining unit 122, configured to determine that the first numerical fluctuation is greater than a first fluctuation threshold, and obtain a target function corresponding to the touch operation
Optionally, the function obtaining unit 122 is specifically configured to:
and determining a function corresponding to the first fluctuation amount threshold value, and taking the function as the target function.
Optionally, as shown in fig. 16, the parameter obtaining module 12 further includes:
a first fluctuation value determination unit 123, configured to determine a first area fluctuation value of the target touch area based on the first numerical fluctuation amount;
the function obtaining unit 122 is further configured to:
and when the first numerical fluctuation value is larger than a first fluctuation threshold value and the first area fluctuation value is larger than an area fluctuation threshold value, executing the step of acquiring the target function.
Optionally, as shown in fig. 17, the parameter quantity obtaining module 12 further includes:
a second fluctuation amount monitoring unit 124, configured to monitor a second numerical fluctuation amount corresponding to the circuit parameter amount;
a threshold determining unit 125, configured to determine that the second numerical fluctuation amount is smaller than a second fluctuation amount threshold, and execute the step of acquiring the target function.
Optionally, the second fluctuation amount monitoring unit 124 is further configured to:
determining a second area fluctuation value of the target touch area based on the second numerical value fluctuation amount;
the threshold determination unit 125 is further configured to:
and when the second numerical fluctuation value is smaller than a second fluctuation threshold value and the second area fluctuation value is larger than an area fluctuation threshold value, executing the step of acquiring the target function.
Optionally, the target touch area includes at least one first area and at least one second area, the first area and the second area are not overlapped, and the function execution module 13 specifically includes:
when the first area belongs to a first side type area and/or the second area belongs to a second side type area, determining that the target touch area is matched with the side touch area.
Optionally, the circuit parameter quantity comprises a capacitance value.
It should be noted that, when the touch device provided in the foregoing embodiment executes the touch method, only the division of the functional modules is taken as an example, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the touch device and the touch method provided by the above embodiments belong to the same concept, and details of implementation processes are shown in the method embodiments and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the embodiment of the application, the electronic device detects a touch operation input for a display screen, acquires a target touch area corresponding to the touch operation and a circuit parameter amount corresponding to the target touch area, and identifies a target function corresponding to the touch operation based on the target touch area and the circuit parameter amount to execute the target function when the target touch area is matched with a side touch area. The input touch operation is received through the display screen, and the target function corresponding to the touch operation is identified, so that the entity key does not need to be arranged on the electronic equipment, and the function corresponding to the entity key is realized. Furthermore, the input touch operation is detected through the circuit parameter number, and the target function corresponding to the touch operation can be sensitively identified, so that the electronic equipment can quickly respond to the input touch operation.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executing the touch method according to the embodiment shown in fig. 1 to 13, and a specific execution process may refer to specific descriptions of the embodiment shown in fig. 1 to 13, which is not described herein again.
The present application further provides a computer program product, where at least one instruction is stored, and the at least one instruction is loaded by the processor and executes the touch method according to the embodiment shown in fig. 1 to 13, where a specific execution process may refer to specific descriptions of the embodiment shown in fig. 1 to 13, and is not described herein again.
Referring to fig. 18, a block diagram of an electronic device according to an exemplary embodiment of the present application is shown. The electronic device in the present application may comprise one or more of the following components: a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, memory 120, input device 130, and output device 140 may be connected by a bus 150.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the overall electronic device using various interfaces and lines, and performs various functions of the electronic device 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), field-programmable gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a communication chip.
The Memory 120 may include a Random Access Memory (RAM) or a read-only Memory (ROM). Optionally, the memory 120 includes a non-transitory computer-readable medium. The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like, and the operating system may be an Android (Android) system, including a system based on Android system depth development, an IOS system developed by apple, including a system based on IOS system depth development, or other systems. The data storage area may also store data created by the electronic device during use, such as phone books, audio and video data, chat log data, and the like.
Referring to fig. 19, the memory 120 may be divided into an operating system space and a user space, wherein the operating system runs in the operating system space and the native and third-party applications run in the user space. In order to ensure that different third-party application programs can achieve a better operation effect, the operating system allocates corresponding system resources for the different third-party application programs. However, the requirements of different application scenarios in the same third-party application program on system resources are different, for example, in a local resource loading scenario, the third-party application program has a higher requirement on the disk reading speed; in the animation rendering scene, the third-party application program has a high requirement on the performance of the GPU. The operating system and the third-party application program are independent from each other, and the operating system cannot sense the current application scene of the third-party application program in time, so that the operating system cannot perform targeted system resource adaptation according to the specific application scene of the third-party application program.
In order to enable the operating system to distinguish a specific application scenario of the third-party application program, data communication between the third-party application program and the operating system needs to be opened, so that the operating system can acquire current scenario information of the third-party application program at any time, and further perform targeted system resource adaptation based on the current scenario.
Taking an operating system as an Android system as an example, programs and data stored in the memory 120 are as shown in fig. 20, and a Linux kernel layer 320, a system runtime library layer 340, an application framework layer 360, and an application layer 380 may be stored in the memory 120, where the Linux kernel layer 320, the system runtime library layer 340, and the application framework layer 360 belong to an operating system space, and the application layer 380 belongs to a user space. The Linux kernel layer 320 provides underlying drivers for various hardware of the electronic device, such as a display driver, an audio driver, a camera driver, a bluetooth driver, a Wi-Fi driver, power management, and the like. The system runtime library layer 340 provides a main feature support for the Android system through some C/C + + libraries. For example, the SQLite library provides support for a database, the OpenGL/ES library provides support for 3D drawing, the Webkit library provides support for a browser kernel, and the like. Also provided in the system runtime library layer 340 is an Android runtime library (Android runtime), which mainly provides some core libraries that can allow developers to write Android applications using the Java language. The application framework layer 360 provides various APIs that may be used in building an application, and developers may build their own applications by using these APIs, such as activity management, window management, view management, notification management, content provider, package management, session management, resource management, and location management. At least one application program runs in the application layer 380, and the application programs may be native application programs carried by the operating system, such as a contact program, a short message program, a clock program, a camera application, and the like; or a third-party application developed by a third-party developer, such as a game application, an instant messaging program, a photo beautification program, a display program of a notification message, and the like.
Taking an operating system as an IOS system as an example, programs and data stored in the memory 120 are as shown in fig. 21, and the IOS system includes: a Core operating system Layer 420(Core OS Layer), a Core Services Layer 440(Core Services Layer), a Media Layer 460(Media Layer), and a touchable Layer 480(Cocoa Touch Layer). The kernel operating system layer 420 includes an operating system kernel, drivers, and underlying program frameworks that provide functionality closer to hardware for use by program frameworks located in the core services layer 440. The core services layer 440 provides system services and/or program frameworks, such as a Foundation framework, an account framework, an advertisement framework, a data storage framework, a network connection framework, a geographic location framework, a motion framework, and so forth, as required by the application. The media layer 460 provides audiovisual related interfaces for applications, such as graphics image related interfaces, audio technology related interfaces, video technology related interfaces, audio video transmission technology wireless playback (AirPlay) interfaces, and the like. Touchable layer 480 provides various common interface-related frameworks for application development, and touchable layer 480 is responsible for user touch interaction operations on the electronic device. Such as a local notification service, a remote push service, an advertising framework, a game tool framework, a messaging User Interface (UI) framework, a User Interface UIKit framework, a map framework, and so forth.
In the framework shown in FIG. 21, the framework associated with most applications includes, but is not limited to: a base framework in the core services layer 440 and a UIKit framework in the touchable layer 480. The base framework provides many basic object classes and data types, provides the most basic system services for all applications, and is UI independent. While the class provided by the UIKit framework is a basic library of UI classes for creating touch-based user interfaces, iOS applications can provide UIs based on the UIKit framework, so it provides an infrastructure for applications for building user interfaces, drawing, processing and user interaction events, responding to gestures, and the like.
The Android system can be referred to as a mode and a principle for realizing data communication between the third-party application program and the operating system in the IOS system, and details are not repeated herein.
The input device 130 is used for receiving input instructions or data, and the input device 130 includes, but is not limited to, a keyboard, a mouse, a camera, a microphone, or a touch device. The output device 140 is used for outputting instructions or data, and the output device 140 includes, but is not limited to, a display device, a speaker, and the like. In one example, the input device 130 and the output device 140 may be combined, and the input device 130 and the output device 140 are touch display screens for receiving touch operations of a user on or near the touch display screens by using any suitable object such as a finger, a touch pen, and the like, and displaying user interfaces of various applications. Touch displays are typically provided on the front panel of an electronic device. The touch display screen may be designed as a full-face screen, a curved screen, or a profiled screen. The touch display screen can also be designed to be a combination of a full-face screen and a curved-face screen, and a combination of a special-shaped screen and a curved-face screen, which is not limited in the embodiment of the present application.
In addition, those skilled in the art will appreciate that the configurations of the electronic devices illustrated in the above-described figures do not constitute limitations on the electronic devices, which may include more or fewer components than illustrated, or some components may be combined, or a different arrangement of components. For example, the electronic device further includes a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a power supply, a bluetooth module, and other components, which are not described herein again.
In the embodiment of the present application, the main body of execution of each step may be the electronic device described above. Optionally, the execution subject of each step is an operating system of the electronic device. The operating system may be an android system, an IOS system, or another operating system, which is not limited in this embodiment of the present application.
The electronic device of the embodiment of the application can also be provided with a display device, and the display device can be various devices capable of realizing a display function, for example: a cathode ray tube display (CR), a light-emitting diode display (LED), an electronic ink panel, a Liquid Crystal Display (LCD), a Plasma Display Panel (PDP), and the like. A user may utilize a display device on the electronic device 101 to view information such as displayed text, images, video, and the like. The electronic device may be a smartphone, a tablet computer, a gaming device, an AR (Augmented Reality) device, an automobile, a data storage device, an audio playback device, a video playback device, a notebook, a desktop computing device, a wearable device such as an electronic watch, an electronic glasses, an electronic helmet, an electronic bracelet, an electronic necklace, an electronic garment, or the like.
In the embodiment of the application, the electronic device detects a touch operation input for a display screen, acquires a target touch area corresponding to the touch operation and a circuit parameter amount corresponding to the target touch area, and identifies a target function corresponding to the touch operation based on the target touch area and the circuit parameter amount to execute the target function when the target touch area is matched with a side touch area. The input touch operation is received through the display screen, and the target function corresponding to the touch operation is identified, so that the entity key does not need to be arranged on the electronic equipment, and the function corresponding to the entity key is realized. Furthermore, the input touch operation is detected through the circuit parameter number, and the target function corresponding to the touch operation can be sensitively identified, so that the electronic equipment can quickly respond to the input touch operation.
It is clear to a person skilled in the art that the solution of the present application can be implemented by means of software and/or hardware. The "unit" and "module" in this specification refer to software and/or hardware that can perform a specific function independently or in cooperation with other components, where the hardware may be, for example, a Field-ProgrammaBLE Gate Array (FPGA), an Integrated Circuit (IC), or the like.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some service interfaces, devices or units, and may be an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application 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, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program, which is stored in a computer-readable memory, and the memory may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above description is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure should not be limited thereby. That is, all equivalent changes and modifications made in accordance with the teachings of the present disclosure are intended to be included within the scope of the present disclosure. Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (11)

1. A touch method, the method comprising:
detecting touch operation input aiming at a display screen;
acquiring a target touch area corresponding to the touch operation and circuit parameters corresponding to the target touch area;
and when the target touch area is matched with the side touch area, identifying a target function corresponding to the touch operation based on the target touch area and the circuit parameter quantity, and executing the target function.
2. The method of claim 1, wherein the identifying a target function corresponding to the touch operation based on the target touch area and the circuit parameter comprises:
monitoring a first numerical fluctuation amount corresponding to the circuit parameter amount;
and determining that the first numerical fluctuation amount is larger than a first fluctuation amount threshold value, and acquiring a target function corresponding to the touch operation.
3. The method according to claim 2, wherein the obtaining of the target function corresponding to the touch operation includes:
and determining a function corresponding to the first fluctuation amount threshold value, and taking the function as the target function.
4. The method of claim 2, wherein after monitoring the first amount of fluctuation corresponding to the circuit parameter, further comprising:
determining a first area fluctuation value of the target touch area based on the first numerical value fluctuation amount;
the determining that the first amount of numerical fluctuation is greater than a first fluctuation amount threshold includes:
and when the first numerical fluctuation value is larger than a first fluctuation threshold value and the first area fluctuation value is larger than an area fluctuation threshold value, executing the step of acquiring the target function.
5. The method of claim 2, wherein after determining that the amount of fluctuation in the value of the circuit parameter is greater than a first threshold amount of fluctuation, further comprising:
monitoring a second numerical fluctuation amount corresponding to the circuit parameter amount;
and determining that the second numerical fluctuation amount is smaller than a second fluctuation amount threshold value, and executing the step of acquiring the target function.
6. The method of claim 5, wherein after monitoring the second amount of numerical fluctuation corresponding to the circuit parameter, further comprising:
determining a second area fluctuation value of the target touch area based on the second numerical value fluctuation amount;
the step of determining that the second numerical fluctuation amount is smaller than a second fluctuation amount threshold value and executing the step of acquiring the target function includes:
and when the second numerical fluctuation value is smaller than a second fluctuation threshold value and the second area fluctuation value is larger than an area fluctuation threshold value, executing the step of acquiring the target function.
7. The method according to claim 1, wherein the target touch area includes at least one first area and at least one second area, the first area and the second area are not overlapped, and after obtaining the target touch area corresponding to the touch operation and the circuit parameter corresponding to the target touch area, the method further comprises:
when the first area belongs to a first side type area and/or the second area belongs to a second side type area, determining that the target touch area is matched with the side touch area.
8. The method of claim 1, wherein the circuit parameter quantity comprises a capacitance value.
9. A touch device, the device comprising:
the operation detection module is used for detecting touch operation input aiming at the display screen;
a parameter number obtaining module, configured to obtain a target touch area corresponding to the touch operation and a circuit parameter number corresponding to the target touch area;
and the function execution module is used for identifying a target function corresponding to the touch operation based on the target touch area and the circuit parameter quantity and executing the target function when the target touch area is matched with the side touch area.
10. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to carry out the method steps according to any one of claims 1 to 8.
11. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 8.
CN202110287516.9A 2021-03-17 2021-03-17 Touch method and device, storage medium and electronic equipment Pending CN113010078A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110287516.9A CN113010078A (en) 2021-03-17 2021-03-17 Touch method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110287516.9A CN113010078A (en) 2021-03-17 2021-03-17 Touch method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN113010078A true CN113010078A (en) 2021-06-22

Family

ID=76409385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110287516.9A Pending CN113010078A (en) 2021-03-17 2021-03-17 Touch method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113010078A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114895730A (en) * 2022-03-31 2022-08-12 Oppo广东移动通信有限公司 Device control method, device, storage medium and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043549A (en) * 2009-10-15 2011-05-04 联阳半导体股份有限公司 Touch panel and touch point sensing method
US20110316887A1 (en) * 2010-06-28 2011-12-29 Hon Hai Precision Industry Co., Ltd. Electronic device with a touch screen and touch operation control method utilized thereby
CN106775413A (en) * 2016-12-27 2017-05-31 努比亚技术有限公司 A kind of control method and terminal
CN107728836A (en) * 2017-09-26 2018-02-23 出门问问信息科技有限公司 Recognition methods, device and the electronic equipment of touch operation
CN108984097A (en) * 2018-07-04 2018-12-11 Oppo广东移动通信有限公司 touch operation method, device, storage medium and electronic equipment
CN111064842A (en) * 2018-10-16 2020-04-24 华为技术有限公司 Method, terminal and storage medium for recognizing special-shaped touch

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043549A (en) * 2009-10-15 2011-05-04 联阳半导体股份有限公司 Touch panel and touch point sensing method
US20110316887A1 (en) * 2010-06-28 2011-12-29 Hon Hai Precision Industry Co., Ltd. Electronic device with a touch screen and touch operation control method utilized thereby
CN106775413A (en) * 2016-12-27 2017-05-31 努比亚技术有限公司 A kind of control method and terminal
CN107728836A (en) * 2017-09-26 2018-02-23 出门问问信息科技有限公司 Recognition methods, device and the electronic equipment of touch operation
CN108984097A (en) * 2018-07-04 2018-12-11 Oppo广东移动通信有限公司 touch operation method, device, storage medium and electronic equipment
CN111064842A (en) * 2018-10-16 2020-04-24 华为技术有限公司 Method, terminal and storage medium for recognizing special-shaped touch

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114895730A (en) * 2022-03-31 2022-08-12 Oppo广东移动通信有限公司 Device control method, device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
US11467715B2 (en) User interface display method, terminal and non-transitory computer-readable storage medium for splitting a display using a multi-finger swipe
CN109062479B (en) Split screen application switching method and device, storage medium and electronic equipment
EP3842905B1 (en) Icon display method and apparatus, terminal and storage medium
WO2019174477A1 (en) User interface display method and device, and terminal
WO2021203821A1 (en) Page manipulation method and device, storage medium, and terminal
CN108549519B (en) Split screen processing method and device, storage medium and electronic equipment
US11061558B2 (en) Touch operation response method and device
WO2020156199A1 (en) Application login method and device, terminal and storage medium
WO2019047738A1 (en) Message display method, device, mobile terminal and storage medium
CN107608550B (en) Touch operation response method and device
US11086442B2 (en) Method for responding to touch operation, mobile terminal, and storage medium
CN110442267B (en) Touch operation response method and device, mobile terminal and storage medium
WO2019233307A1 (en) User interface display method and apparatus, and terminal and storage medium
US11194425B2 (en) Method for responding to touch operation, mobile terminal, and storage medium
CN111124668B (en) Memory release method, memory release device, storage medium and terminal
CN107250969A (en) Screen opening method, device and electronic equipment
CN109388309B (en) Menu display method, device, terminal and storage medium
CN113010078A (en) Touch method and device, storage medium and electronic equipment
CN112995562A (en) Camera calling method and device, storage medium and terminal
CN113031775B (en) Gesture data acquisition method and device, terminal and storage medium
CN113495641A (en) Touch screen ghost point identification method and device, terminal and storage medium
CN111213354A (en) Screen brightness adjusting method and terminal
CN111226190A (en) List switching method and terminal
CN107423039B (en) Interface refreshing method and terminal
CN112256354A (en) Application starting method and device, storage medium and electronic equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210622