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

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

Info

Publication number
CN108984097B
CN108984097B CN201810726668.2A CN201810726668A CN108984097B CN 108984097 B CN108984097 B CN 108984097B CN 201810726668 A CN201810726668 A CN 201810726668A CN 108984097 B CN108984097 B CN 108984097B
Authority
CN
China
Prior art keywords
touch
touch display
display area
area
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810726668.2A
Other languages
Chinese (zh)
Other versions
CN108984097A (en
Inventor
宁梦琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201810726668.2A priority Critical patent/CN108984097B/en
Publication of CN108984097A publication Critical patent/CN108984097A/en
Application granted granted Critical
Publication of CN108984097B publication Critical patent/CN108984097B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The touch operation method provided by the embodiment of the application can detect click operation information of a user on a touch display screen, wherein the click operation information comprises click position information and click times; determining an operation area of a clicking operation on the touch display screen according to the clicking position information; when the operation area is located in the side touch display area, acquiring a touch instruction according to the click times; executing corresponding touch operation on the electronic equipment according to the touch instruction; the scheme can improve the operation efficiency of the electronic equipment.

Description

Touch operation method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a touch operation method and apparatus, a storage medium, and an electronic device.
Background
With the rapid development of electronic technology, electronic devices such as smart phones have more and more functions. For example, a user may select a network connection mode, a standby mode, etc. of the electronic device, and the user may also use various applications on the electronic device to implement different functions.
During the use of the electronic device by the user, various instructions are often required to be issued to the electronic device. And the user typically needs to select the desired instruction from a system menu of the electronic device or a setup menu of an application installed on the electronic device. The instruction selecting mode is complex to operate and low in efficiency.
Disclosure of Invention
The embodiment of the application provides a touch operation method, a touch operation device, a storage medium and electronic equipment, which can improve the operation efficiency of the electronic equipment.
The embodiment of the application provides a touch operation method, which is applied to electronic equipment, wherein the electronic equipment comprises a touch display screen, the touch display screen comprises a main touch display area and a side touch display area, and the side touch display area is connected with the main touch display area; the touch operation method comprises the following steps:
detecting click operation information of a user on the touch display screen, wherein the click operation information comprises click position information and click times;
determining an operation area of a clicking operation on the touch display screen according to the clicking position information;
when the operation area is located in the side touch display area, acquiring a touch instruction according to the click times;
and executing corresponding touch operation on the electronic equipment according to the touch instruction.
The embodiment of the present application further provides a touch operation device, which is applied to an electronic device, where the electronic device includes a touch display screen, the touch display screen includes a main touch display area and a side touch display area, the side touch display area is connected to the main touch display area, and the touch operation device includes:
the detection module is used for detecting click operation information of a user on the touch display screen, wherein the click operation information comprises click position information and click times;
the area determining module is used for determining an operation area of the clicking operation on the touch display screen according to the clicking position information;
the instruction acquisition module is used for acquiring a touch instruction according to the clicking times when the operation area is positioned in the side touch display area;
and the operation execution module is used for executing corresponding touch operation on the electronic equipment according to the touch instruction.
An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer is enabled to execute the touch operation method.
The embodiment of the application further provides an electronic device, which comprises a processor and a memory, wherein a computer program is stored in the memory, and the processor is used for executing the touch operation method by calling the computer program stored in the memory.
According to the touch operation method provided by the embodiment of the application, the click operation information of a user on the touch display screen can be detected, wherein the click operation information comprises click position information and click times; determining an operation area of a clicking operation on the touch display screen according to the clicking position information; when the operation area is located in the side touch display area, acquiring a touch instruction according to the click times; executing corresponding touch operation on the electronic equipment according to the touch instruction; according to the scheme, the user can click the side touch display area to realize touch operation on the electronic equipment, so that the user operation is facilitated, and the operation efficiency of the electronic equipment is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic diagram illustrating display area division of a touch display screen.
Fig. 2 is a flowchart illustrating a touch operation method according to an embodiment of the present disclosure.
Fig. 3 is a schematic diagram of another area division of a touch display screen according to an embodiment of the present disclosure.
Fig. 4 is a schematic view of a first application scenario of a touch operation method according to an embodiment of the present application.
Fig. 5 is a schematic view of a second application scenario of the touch operation method according to the embodiment of the present application.
Fig. 6 is a schematic view of a third application scenario of the touch operation method according to the embodiment of the present application.
Fig. 7 is a schematic diagram of a fourth application scenario of the touch operation method according to the embodiment of the present application.
Fig. 8 is another flowchart illustrating a touch operation method according to an embodiment of the present disclosure.
Fig. 9 is a schematic view of a fifth application scenario of the touch operation method according to the embodiment of the present application.
Fig. 10 is a schematic view of a sixth application scenario of the touch operation method according to the embodiment of the present application.
Fig. 11 is a schematic view of a first structure of a touch operation device according to an embodiment of the present disclosure.
Fig. 12 is a schematic view of a second structure of a touch operation device according to an embodiment of the present disclosure.
Fig. 13 is a schematic structural diagram of a third touch operation device according to an embodiment of the present disclosure.
Fig. 14 is a schematic structural diagram of a first electronic device according to an embodiment of the present application.
Fig. 15 is a schematic structural diagram of a second 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. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present application.
The terms "first," "second," "third," and the like in the description and in the claims of the present application and in the above-described drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the objects so described are interchangeable under appropriate circumstances. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, or apparatus, electronic device, system comprising a list of steps is not necessarily limited to those steps or modules or units explicitly listed, may include steps or modules or units not explicitly listed, and may include other steps or modules or units inherent to such process, method, apparatus, electronic device, or system.
The embodiment of the application provides a touch operation method, which can be applied to electronic equipment. The electronic device can be a smart phone, a tablet computer and the like.
Referring to fig. 1, the electronic device may include a touch display screen 10, where the touch display screen 10 may include a main touch display area 11 and a side touch display area 12, and the main touch display area 11 is connected to the side touch display area 12. The main touch display area 11 has a touch function and a display function, that is, the electronic device can display information such as characters and pictures in the main touch display area 11, and a user can perform touch operations such as click operations and sliding operations in the main touch display area 11 to control the electronic device.
The side touch display area 12 has a touch function and a display function, and a user can perform a touch operation such as a click operation, a slide operation, and the like in the side touch display area 12. In practical applications, the electronic device may include two side touch display areas 12, i.e., a left side touch display area and a right side touch display area. Referring to fig. 1, in some embodiments, the touch display screen 10 of the electronic device may include only one side touch display area, such as a left side touch display area or a right side touch display area.
In some embodiments, the side touch display area 12 may not have a display function, that is, the side touch display area 12 only has a touch function, and is used as an auxiliary touch area of the primary touch display area 11.
In some embodiments, the side touch display area 12 may also have a display function, that is, the side touch display area 12 may be a side touch display area. That is, the electronic device can display information such as text, pictures, etc. through the side touch display area 12. At this time, the side touch display area 12 may be an auxiliary display area of the main touch display area 11.
The shape of the side touch display area 12 can be set according to actual requirements; for example, in some embodiments, the touch display screen 10 may be a curved touch display screen, the side touch display area 12 may be an arc-shaped area, the electronic device may have the same function as the main touch display area 11 in the side touch display area 12, and the user may perform a touch operation in the main touch display area 11 or the side touch display area 12.
Based on the electronic device, in some embodiments, as shown in fig. 2, the touch operation method may include the following steps:
101. and detecting click operation information of a user on the touch display screen, wherein the click operation information comprises click position information and click times.
The click operation information may be click information of a user clicking the touch display screen with a finger, and may include information of a click position, a click frequency, a click time, and the like on the touch display screen.
When a user clicks the touch display screen, touch points are formed on the touch display screen. The click position information may be position information of the touch point on the touch display screen.
The click position information may be represented by coordinate values, for example, a coordinate system of the touch display screen may be established, and when a user performs a click operation on the touch display screen, coordinate information (such as horizontal axis coordinate x, vertical axis coordinate y, and the like) of the click operation may be detected or recorded.
The number of clicks may be the number of times that a user continuously clicks on the same position of the touch display screen, and may be one time, such as single click, or two times, such as double click, and the like.
102. And determining an operation area of the clicking operation on the touch display screen according to the clicking position information.
For example, in an embodiment, when the click position information may include a position value of the click operation on the touch display screen, such as a coordinate value, it may be determined whether the position value, such as the coordinate value, falls within a position value range of a preset region (a main touch display region or a side touch display region), and if so, it is determined that the operation region of the click operation is the preset region.
103. And when the operation area is positioned in the side touch display area, acquiring a touch instruction according to the click times.
After the operation area of the click operation is determined, whether the operation area is located in the side touch display area or not can be judged, that is, whether the user performs the click operation in the side touch display area or not is judged, and if so, a touch instruction can be obtained according to the click operation.
For example, in an embodiment, a mapping relationship, i.e., a corresponding relationship, between the number of clicks and the touch instruction may be pre-established, so that when the operation area is located in the side touch display area, the touch instruction corresponding to the number of clicks may be obtained based on the mapping relationship.
For example, when the number of clicks is 1, the touch instruction may be a return function instruction; when the number of clicks is 2, the touch instruction may be a screen capture instruction; when the number of clicks is 3, the touch command may be a screen lock command, or the like.
In some embodiments, the side touch display area includes a plurality of sub-side touch display areas that are adjacent in sequence; at this time, the touch instruction may be obtained by combining the number of clicks and the sub-side touch display area. For example, the step "obtaining a touch instruction according to the number of clicks when the operation area is located in the side touch display area" may include:
when the operation area is located in the side touch display area, determining a target sub-side touch display area where the operation area is located;
and acquiring a touch instruction according to the target sub-side touch display area and the click at the moment.
Acquiring a candidate touch instruction corresponding to the target sub-side touch display area;
and selecting a touch instruction corresponding to the click times from the candidate touch instructions.
For example, referring to fig. 3, the side touch display area 12 may include three sub-side touch display areas adjacent to each other in sequence, namely a first sub-side touch display area 120 (which may be referred to as a side top touch area), a second sub-side touch display area 121 (which may be referred to as a side middle touch area), and a third sub-side touch display area 122 (which may be referred to as a side bottom touch area).
When the operation area is located in the side touch display area 12, specifically, the second sub-side touch display area 121, the corresponding touch instruction can be obtained according to the second sub-side touch display area 121 and the number of clicks.
The method for obtaining the command according to the sub-lateral touch display area and the number of clicks may be various, for example, in some embodiments, a candidate touch command corresponding to the target sub-lateral touch display area may be obtained; and selecting a touch instruction corresponding to the click times from the candidate touch instructions.
For example, referring to fig. 3, the side touch display area 12 may include three sub-side touch display areas adjacent to each other in sequence, namely a first sub-side touch display area 120 (which may be referred to as a side top touch area), a second sub-side touch display area 121 (which may be referred to as a side middle touch area), and a third sub-side touch display area 122 (which may be referred to as a side bottom touch area).
When the operation area is located in the side touch display area 12, specifically, the second sub-side touch display area 121, candidate touch instructions corresponding to the second sub-side touch display area 121, such as a screen capture instruction, a screen lock instruction, a return instruction, and the like, may be obtained; at this time, the electronic device may select a touch instruction corresponding to the number of clicks from the candidate touch instructions, and may select the return instruction if the number of clicks is 1, or may select the screen capture instruction if the number of clicks is 2, for example.
The target sub-side touch display area may correspond to a certain type of candidate touch instruction, that is, the instruction function types of the candidate touch instructions corresponding to the target sub-side touch display area are the same.
The instruction function types can be divided according to actual requirements, for example, screen processing instructions (such as screen locking instructions, unlocking instructions, brightness adjustment instructions, screen capturing instructions and the like), return function instructions (such as return to previous interface instructions and return to main interface instructions), task management instructions (such as task closing instructions, task opening instructions and the like) can be divided
For example, the sub-side touch display area may correspond to a return function type instruction, and when the operation area is located in the sub-side touch display area, the return function type instruction may be obtained (e.g., return to a previous interface instruction, return to a main interface instruction, etc.), and then, a touch instruction corresponding to the number of clicks is selected from the return function type instruction, e.g., select and return to the previous interface instruction.
In some embodiments, different sub-side touch display areas may be set to correspond to different command function types, for example, referring to fig. 3, one sub-side touch display area 120 corresponds to a screen processing type command, the second sub-side touch display area 121 corresponds to a return function type command, and the third sub-side touch display area 122 corresponds to a task management type command.
For another example, in some embodiments, candidate touch instructions corresponding to the number of clicks may be obtained, and then, a touch instruction corresponding to the target sub-side touch display area is selected from the candidate touch instructions.
Also, the number of clicks may correspond to the same type of instruction, such as a screen processing type instruction. In some embodiments, different numbers of clicks may be set for different types of command functions.
In some embodiments, a mapping relationship between the sub-side touch display area, the number of clicks, and the touch instruction may be further set, so that after the target sub-side touch display area and the number of clicks are determined, a corresponding touch instruction may be obtained based on the mapping relationship.
In some embodiments, it is considered that when a user actually performs a click operation, a click operation area is not located in one sub-side touch display area, and when the user actually performs the click operation, an operation area of the click operation is generally located in two adjacent sub-side touch display areas. Therefore, in order to improve the accuracy of the touch operation, when it is determined that the operation area is located in the adjacent first target sub-side touch display area and the second target sub-side touch display area at the same time, optimization processing may be performed. Specifically, the step of "obtaining the candidate touch instruction corresponding to the target sub-side touch display area" may include:
when the operating area is determined to be located in a first target sub-side touch display area and a second target sub-side touch display area which are adjacent to each other at the same time, acquiring a first central distance between the operating area and the first target sub-side touch display area and a second central distance between the operating area and the second target sub-side touch display area;
when the first center distance is larger than the second center distance, acquiring a candidate touch instruction corresponding to the second target sub-side touch display area;
and when the first center distance is smaller than the second center distance, acquiring a candidate touch instruction corresponding to the first target sub-side touch display area.
That is, the candidate touch instruction corresponding to the sub-side touch display area closer to the operation area is selected.
The center distance is a geometric center distance between the operation and the sub-side touch display area.
For example, referring to fig. 4, the side touch display area 12 may include three sub-side touch display areas adjacent to each other in sequence, namely a first sub-side touch display area 120 (which may be referred to as a side top touch area), a second sub-side touch display area 121 (which may be referred to as a side middle touch area), and a third sub-side touch display area 122 (which may be referred to as a side bottom touch area).
When it is determined that the operation area 123 is located in both the first sub-side touch display area 120 and the second sub-side touch display area 121, a central distance L1 (i.e., a distance between the center point a and the center point b) between the operation area 123 and the first sub-side touch display area 120 and a central distance L2 (i.e., a distance between the center point b and the center point a') between the operation area 123 and the second sub-side touch display area 122 may be obtained, respectively.
When L1 is greater than L2, a candidate touch instruction corresponding to the second sub-lateral touch display area 122 is obtained;
when L1 is smaller than L2, the candidate touch command corresponding to the first sub-lateral touch display area 120 is obtained.
In addition to the above-described instruction obtaining method, in some embodiments, the touch instruction may be obtained based on a center distance between the operation area and the side touch display area and the number of clicks; for example, the step "obtaining a touch instruction according to the number of clicks when the operation area is located in the side touch display area" may include:
when the operation area is located in the side touch display area, acquiring a central distance between the operation area and the side touch display area;
and acquiring a touch instruction according to the center distance and the clicking times.
For example, in some embodiments, a mapping relationship between the center distance, the number of clicks, and the touch instruction may be pre-established, so that after the center distance and the number of clicks are obtained, a corresponding touch instruction may be obtained based on the mapping relationship.
For another example, in some embodiments, different touch instructions may be obtained based on different sizes of the center distance, for example, a preset distance range where the center distance is located may be determined; acquiring a candidate touch instruction corresponding to the preset distance range; and selecting a touch instruction corresponding to the click times from the candidate touch instructions.
In practical applications, different distance ranges may be preset, and each distance range corresponds to some candidate touch instructions, for example, each distance range may correspond to the same type of touch instruction, such as a screen processing type instruction, a return function type instruction, and the like.
For example, referring to fig. 5, when the user performs a click operation on the side touch display area 12, the electronic device may obtain an operation area of the click operation, obtain a center distance S between the operation area 123 and the side touch display area 12, obtain a return function class command corresponding to the preset range (S1, S2) when S is within the preset range (S1, S2), such as a return previous interface command, a return main interface command, and the like, and then select a command corresponding to the number of clicks from the return function class commands, such as a select return previous interface command. The center distance S may be a distance between a center point b of the operation area 123 and a center point c of the side touch display area 12.
For another example, when the center distance S is within the preset range (S3, S4), the screen processing instructions corresponding to the preset range (S3, S4), such as the screen capture instruction, the screen lock instruction, the brightness adjustment instruction, etc., may be obtained, and then, the electronic device may select the instruction corresponding to the number of clicks from the return function instructions, such as the return screen capture instruction.
In some embodiments, the touch instruction is obtained based on the number of fingers and the number of clicks of the click operation, for example, when the operation area is located in the side touch display area, the number of fingers used by the user to perform the click operation is obtained; and acquiring a touch instruction according to the number of the fingers and the number of clicks.
For example, candidate touch commands corresponding to the number of fingers may be obtained, and then, a touch command corresponding to the number of clicks may be selected from the candidate touch commands.
The number of the fingers can correspond to different types of touch instructions, for example, a return function type instruction corresponding to one finger, a screen processing type instruction corresponding to two fingers, an image processing type instruction corresponding to three fingers, and the like.
In some embodiments, considering that some clicking operations are not performed by the user and may cause misoperation, in order to avoid the misoperation and improve the accuracy of the touch operation, the time interval between adjacent clicks may be added to identify whether the clicking operation is performed by the user.
For example, when the number of clicks is multiple, a time interval between two adjacent clicks is obtained; and when the time interval is within a preset time range, acquiring a touch instruction corresponding to the click times.
The time interval of adjacent clicks of the user clicking operation is generally within a certain time range, when the user clicks for multiple times, the electronic device can obtain the time interval of two adjacent clicks, when the time interval is determined to be within the preset time range, the user clicking operation can be determined as the user clicking operation, and at the moment, the touch instruction can be obtained according to the number of clicks.
104. And executing corresponding touch operation on the electronic equipment according to the touch instruction.
For example, when the touch instruction is a return instruction, the electronic device may return to the previous interface or the previous menu. For another example, when the touch instruction is a screen locking instruction, the electronic device may perform a screen locking operation.
For example, referring to fig. 6, the electronic device displays an application page a, when a user performs a click operation (e.g., a single click) on the side touch display area 12, the electronic device may detect click operation information, and then determine an operation area of a sliding operation on the touch display screen according to the click operation information, at this time, it may be determined that the operation area is located in the side touch display area 12, the electronic device may obtain the number of clicks of the click operation, e.g., one click, at this time, obtain a return instruction according to the number of clicks, and the electronic device returns to a previous application B displaying the application page a according to the return instruction. For the user, the return function can be realized only by a single click on the side touch display area 12.
For example, referring to fig. 7, when the electronic device displays an application page a, when a user performs a click operation (e.g., a double click operation) on the side touch display area 12, the electronic device may detect click operation information, and then determine an operation area of a sliding operation on the touch display screen according to the click operation information, at this time, it may be determined that the operation area is located in the side touch display area 12, the electronic device may obtain the number of clicks of the click operation, e.g., twice, at this time, a screen capture instruction is obtained according to the number of clicks, and the electronic device performs a screen capture operation according to the screen capture instruction. For the user, the screen capture function can be realized only by double-clicking the side touch display area 12.
As can be seen from the above, in the embodiment of the application, click operation information of a user on the touch display screen can be detected, where the click operation information includes click position information and click times; determining an operation area of a clicking operation on the touch display screen according to the clicking position information; when the operation area is located in the side touch display area, acquiring a touch instruction according to the click times; executing corresponding touch operation on the electronic equipment according to the touch instruction; according to the scheme, the user can click the side touch display area to realize touch operation on the electronic equipment, so that the user operation is facilitated, and the operation efficiency of the electronic equipment is improved.
In some embodiments, a touch operation method is further provided, with reference to fig. 8, the specific flow is as follows:
201. the electronic equipment detects click operation information of a user on the touch display screen, wherein the click operation information comprises click position information and click times.
The click operation information may be click information of a user clicking the touch display screen with a finger, and may include information of a click position, a click frequency, a click time, and the like on the touch display screen.
When a user clicks the touch display screen, touch points are formed on the touch display screen. The click position information may be position information of the touch point on the touch display screen.
The click position information may be represented by coordinate values, for example, a coordinate system of the touch display screen may be established, and when a user performs a click operation on the touch display screen, coordinate information (such as horizontal axis coordinate x, vertical axis coordinate y, and the like) of the click operation may be detected or recorded.
The number of clicks may be the number of times that a user continuously clicks on the same position of the touch display screen, and may be one time, such as single click, or two times, such as double click, and the like.
202. And the electronic equipment determines an operation area of the clicking operation on the touch display screen according to the clicking position information.
For example, in an embodiment, when the click position information may include a position value of the click operation on the touch display screen, such as a coordinate value, it may be determined whether the position value, such as the coordinate value, falls within a position value range of a preset region (a main touch display region or a side touch display region), and if so, it is determined that the operation region of the click operation is the preset region.
203. When the operation area is located in the side touch display area, the electronic device may determine a target sub-side touch display area where the operation area is located.
Wherein, the side touch display area includes a plurality of sub-side touch display areas adjacent in sequence, refer to fig. 3; at this time, the touch instruction may be obtained by combining the number of clicks and the sub-side touch display area.
204. And the electronic equipment acquires a candidate touch instruction corresponding to the target sub-side touch display area.
The target sub-side touch display area may correspond to a certain type of candidate touch instruction, that is, the instruction function types of the candidate touch instructions corresponding to the target sub-side touch display area are the same.
The instruction function types can be divided according to actual requirements, for example, screen processing instructions (such as screen locking instructions, unlocking instructions, brightness adjustment instructions, screen capturing instructions and the like), return function instructions (such as return to previous interface instructions and return to main interface instructions), task management instructions (such as task closing instructions, task opening instructions and the like) can be divided
For example, the sub-side touch display area may correspond to a return function type instruction, and when the operation area is located in the sub-side touch display area, the return function type instruction may be obtained (e.g., return to a previous interface instruction, return to a main interface instruction, etc.), and then, a touch instruction corresponding to the number of clicks is selected from the return function type instruction, e.g., select and return to the previous interface instruction.
In some embodiments, it is considered that when a user actually performs a click operation, a click operation area is not located in one sub-side touch display area, and when the user actually performs the click operation, an operation area of the click operation is generally located in two adjacent sub-side touch display areas. Therefore, in order to improve the accuracy of the touch operation, when it is determined that the operation area is located in the adjacent first target sub-side touch display area and the second target sub-side touch display area at the same time, optimization processing may be performed.
Specifically, when it is determined that the operation area is located in a first target sub-side touch display area and a second target sub-side touch display area which are adjacent to each other at the same time, a first center distance between the operation area and the first target sub-side touch display area and a second center distance between the operation area and the second target sub-side touch display area are obtained;
when the first center distance is larger than the second center distance, acquiring a candidate touch instruction corresponding to the second target sub-side touch display area;
and when the first center distance is smaller than the second center distance, acquiring a candidate touch instruction corresponding to the first target sub-side touch display area.
205. And the electronic equipment selects a touch instruction corresponding to the click times from the candidate touch instructions.
For example, the corresponding relationship between the number of clicks and the candidate touch instruction may be pre-established, so that the touch instruction corresponding to the number of clicks may be obtained based on the corresponding relationship.
For example, referring to fig. 3, the side touch display area 12 may include three sub-side touch display areas adjacent to each other in sequence, namely a first sub-side touch display area 120 (which may be referred to as a side top touch area), a second sub-side touch display area 121 (which may be referred to as a side middle touch area), and a third sub-side touch display area 122 (which may be referred to as a side bottom touch area).
When the operation area is located in the side touch display area 12, specifically, the second sub-side touch display area 121, candidate touch instructions corresponding to the second sub-side touch display area 121, such as a screen capture instruction, a screen lock instruction, a return instruction, and the like, may be obtained; at this time, the electronic device may select a touch instruction corresponding to the number of clicks from the candidate touch instructions, and may select the return instruction if the number of clicks is 1, or may select the screen capture instruction if the number of clicks is 2, for example.
206. And the electronic equipment executes corresponding touch operation according to the touch instruction.
For example, when the touch instruction is a return instruction, the electronic device may return to the previous interface or the previous menu. For another example, when the touch instruction is a screen locking instruction, the electronic device may perform a screen locking operation.
For example, referring to fig. 9, the side touch display area 12 may include three sub-side touch display areas adjacent to each other in sequence, namely a first sub-side touch display area 120 (which may be referred to as a side top touch area), a second sub-side touch display area 121 (which may be referred to as a side middle touch area), and a third sub-side touch display area 122 (which may be referred to as a side bottom touch area).
When a user performs a click operation (e.g., single click) on the second sub-side touch display area 121, the electronic device may obtain a candidate touch instruction corresponding to the second sub-side touch display area 121, such as a screen capture instruction, a screen lock instruction, a return instruction, and the like; at this time, the electronic device may select a touch instruction corresponding to the number of clicks from the candidate touch instructions, where the number of clicks is 1, that is, a click operation, and may select a return instruction, and the electronic device returns to the previous application B displaying the application page a according to the return instruction. For the user, the return function can be realized only by single click on the second sub-side touch display area 121.
For example, referring to fig. 10, the side touch display area 12 may include three sub-side touch display areas adjacent to each other in sequence, namely a first sub-side touch display area 120 (which may be referred to as a side top touch area), a second sub-side touch display area 121 (which may be referred to as a side middle touch area), and a third sub-side touch display area 122 (which may be referred to as a side bottom touch area).
When a user performs a click operation (e.g., double-click) on the first sub-side touch display area 120, the electronic device may obtain a candidate touch instruction corresponding to the first sub-side touch display area 120, such as a screen capture instruction, a screen lock instruction, a return instruction, and the like; at this time, the electronic device may select a touch instruction corresponding to the number of clicks from the candidate touch instructions, where the number of clicks is 2, that is, a double-click operation, and may select a screen capture instruction, and the electronic device performs a screen capture operation according to the screen capture instruction. For the user, the user only needs to touch the display area 120 at the first sub-side for double-click to realize the return function.
As can be seen from the above, in the embodiment of the application, click operation information of a user on the touch display screen can be detected, where the click operation information includes click position information and click times; determining an operation area of a clicking operation on the touch display screen according to the clicking position information; when the operation area is located in the side touch display area, acquiring a touch instruction according to the click times; executing corresponding touch operation on the electronic equipment according to the touch instruction; according to the scheme, the user can click the side touch display area to realize touch operation on the electronic equipment, so that the user operation is facilitated, and the operation efficiency and the user experience of the electronic equipment are improved.
The embodiment of the application further provides a touch operation device, the touch operation device can be integrated in an electronic device, and the electronic device can be a smart phone, a tablet computer and other devices.
In some embodiments, referring to fig. 11, the touch operation device 300 may include: a detection module 301, a region determination module 302, an instruction acquisition module 303, and an operation execution module 304. The following were used:
the detection module 301 is configured to detect click operation information of a user on the touch display screen, where the click operation information includes click position information and click times;
the area determining module 302 is configured to determine an operation area of a click operation on the touch display screen according to the click position information;
the instruction obtaining module 303 is configured to obtain a touch instruction according to the number of clicks when the operation area is located in the side touch display area;
the operation executing module 304 is configured to execute a corresponding touch operation on the electronic device according to the touch instruction.
In some embodiments, the side touch display area includes a plurality of sub-side touch display areas adjacent in sequence; referring to fig. 12, the instruction obtaining module 303 may include:
the determining submodule 3031 is configured to determine, when the operation region is located in the side touch display region, a target sub-side touch display region where the operation region is located;
and an obtaining submodule 3032, configured to obtain a touch instruction according to the target sub-side touch display area and the click at this time.
In some embodiments, the obtaining submodule 3032 may be configured to:
acquiring a candidate touch instruction corresponding to the target sub-side touch display area;
and selecting a touch instruction corresponding to the click times from the candidate touch instructions.
In some embodiments, the obtaining submodule 3032 may be specifically configured to:
when the operating area is determined to be located in a first target sub-side touch display area and a second target sub-side touch display area which are adjacent to each other at the same time, acquiring a first central distance between the operating area and the first target sub-side touch display area and a second central distance between the operating area and the second target sub-side touch display area;
when the first center distance is larger than the second center distance, acquiring a candidate touch instruction corresponding to the second target sub-side touch display area;
and when the first center distance is smaller than the second center distance, acquiring a candidate touch instruction corresponding to the first target sub-side touch display area.
In some embodiments, referring to fig. 13, instruction fetch module 303 may include:
a distance obtaining submodule 3033, configured to obtain a center distance between the operation area and the side touch display area when the operation area is located in the side touch display area;
and the instruction obtaining submodule 3034 is configured to obtain a touch instruction according to the center distance and the click times.
In some embodiments, the instruction fetch submodule 3034 may be configured to:
determining a preset distance range of the center distance;
acquiring a candidate touch instruction corresponding to the preset distance range;
and selecting a touch instruction corresponding to the click times from the candidate touch instructions.
In some embodiments, the instruction obtaining module 303 may be specifically configured to:
when the operation area is located in the side touch display area, acquiring the number of fingers used by a user for clicking operation;
and acquiring a touch instruction according to the number of the fingers and the number of clicks.
In some embodiments, the instruction obtaining module 303 may be specifically configured to:
when the number of clicks is multiple, acquiring a time interval between two adjacent clicks;
and when the time interval is within a preset time range, acquiring a touch instruction according to the click times.
The functions of the above modules can refer to the description of the steps in the above method embodiments.
In specific implementation, the modules may be implemented as independent entities, or may be combined arbitrarily and implemented as one or several entities.
As can be seen from the above, in the touch operation device 300 provided in the embodiment of the present application, the detection module 301 detects the click operation information of the user on the touch display screen, where the click operation information includes click position information and click times; determining an operation area of the click operation on the touch display screen by the area determination module 302 according to the click position information; when the operation area is located in the side touch display area, the instruction obtaining module 303 obtains a touch instruction according to the number of clicks; executing, by the operation execution module 304, a corresponding touch operation on the electronic device according to the touch instruction; therefore, the user can quickly realize the touch operation on the electronic equipment through simple clicking operation, and the operation efficiency of the electronic equipment can be improved.
The embodiment of the application also provides the electronic equipment. The electronic device can be a smart phone, a tablet computer and the like. As shown in fig. 14, the electronic device 400 includes a processor 401 and a memory 402. The processor 401 is electrically connected to the memory 402.
The processor 401 is a control center of the electronic device 400, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or calling a computer program stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the electronic device.
In this embodiment, the processor 401 in the electronic device 400 loads instructions corresponding to one or more processes of the computer program into the memory 402 according to the following steps, and the processor 401 runs the computer program stored in the memory 402, so as to implement various functions:
detecting click operation information of a user on the touch display screen, wherein the click operation information comprises click position information and click times;
determining an operation area of a clicking operation on the touch display screen according to the clicking position information;
when the operation area is located in the side touch display area, acquiring a touch instruction according to the click times;
and executing corresponding touch operation on the electronic equipment according to the touch instruction.
In some embodiments, the side touch display area includes a plurality of sub-side touch display areas adjacent in sequence; when the operation area is located in the side touch display area, the processor 401 may execute the following steps by obtaining a touch instruction according to the number of clicks:
when the operation area is located in the side touch display area, determining a target sub-side touch display area where the operation area is located;
and acquiring a touch instruction according to the target sub-side touch display area and the click at the moment.
In some embodiments, when the touch instruction is obtained according to the target sub-side touch display area and the click, the processor 401 may perform the following steps:
acquiring a candidate touch instruction corresponding to the target sub-side touch display area;
and selecting a touch instruction corresponding to the click times from the candidate touch instructions.
In some embodiments, when obtaining the candidate touch instruction corresponding to the target sub-side touch display area, the processor 401 may perform the following steps:
when the operating area is determined to be located in a first target sub-side touch display area and a second target sub-side touch display area which are adjacent to each other at the same time, acquiring a first central distance between the operating area and the first target sub-side touch display area and a second central distance between the operating area and the second target sub-side touch display area;
when the first center distance is larger than the second center distance, acquiring a candidate touch instruction corresponding to the second target sub-side touch display area;
and when the first center distance is smaller than the second center distance, acquiring a candidate touch instruction corresponding to the first target sub-side touch display area.
In some embodiments, when obtaining the touch instruction according to the center distance and the number of clicks, the processor 401 may perform the following steps:
determining a preset distance range of the center distance;
acquiring a candidate touch instruction corresponding to the preset distance range;
and selecting a touch instruction corresponding to the click times from the candidate touch instructions.
In some embodiments, when the operation area is located in the side touch display area, the processor 401 may execute the following steps according to the number of clicks to obtain the touch instruction:
when the operation area is located in the side touch display area, acquiring the number of fingers used by a user for clicking operation;
and acquiring a touch instruction according to the number of the fingers and the number of clicks.
In some embodiments, when obtaining the touch instruction according to the number of clicks, the processor 401 may perform the following steps:
when the number of clicks is multiple, acquiring a time interval between two adjacent clicks;
and when the time interval is within a preset time range, acquiring a touch instruction according to the click times.
Memory 402 may be used to store computer programs and data. The memory 402 stores computer programs containing instructions executable in the processor. The computer program may constitute various functional modules. The processor 401 executes various functional applications and data processing by calling a computer program stored in the memory 402.
In some embodiments, as shown in fig. 15, electronic device 400 further comprises: radio frequency circuit 403, display 404, control circuit 405, input unit 406, audio circuit 407, sensor 408, and power supply 409. The processor 401 is electrically connected to the radio frequency circuit 403, the display 404, the control circuit 405, the input unit 406, the audio circuit 407, the sensor 408, and the power source 409.
The radio frequency circuit 403 is used for transceiving radio frequency signals to communicate with a network device or other electronic devices through wireless communication.
The display screen 404 may be used to display information entered by or provided to the user as well as various graphical user interfaces of the electronic device, which may be comprised of images, text, icons, video, and any combination thereof.
The control circuit 405 is electrically connected to the display screen 404, and is configured to control the display screen 404 to display information.
The input unit 406 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control. The input unit 406 may include a fingerprint recognition module.
The audio circuit 407 may provide an audio interface between the user and the electronic device through a speaker, microphone.
The sensor 408 is used to collect external environmental information. The sensors 408 may include one or more of ambient light sensors, acceleration sensors, gyroscopes, etc.
The power supply 409 is used to power the various components of the electronic device 400. In some embodiments, the power source 409 may be logically connected to the processor 401 through a power management system, so that functions of managing charging, discharging, and power consumption are implemented through the power management system.
Although not shown in fig. 15, the electronic device 400 may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
Therefore, the electronic device provided by the embodiment of the application can detect the click operation information of a user on the touch display screen, wherein the click operation information comprises click position information and click times; determining an operation area of a clicking operation on the touch display screen according to the clicking position information; when the operation area is located in the side touch display area, acquiring a touch instruction according to the click times; executing corresponding touch operation on the electronic equipment according to the touch instruction; according to the scheme, the user can click the side touch display area to realize touch operation on the electronic equipment, so that the user operation is facilitated, and the operation efficiency of the electronic equipment is improved.
An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer executes the touch operation method according to any of the above embodiments.
It should be noted that, all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer-readable storage medium, which may include, but is not limited to: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The touch operation method, the touch operation device, the storage medium and the electronic device provided by the embodiments of the present application are described in detail above, and specific examples are applied herein to explain the principles and implementations of the present application, and the descriptions of the above embodiments are only used to help understand the method and the core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (7)

1. A touch operation method is applied to electronic equipment, the electronic equipment comprises a touch display screen, and the touch display screen comprises a curved surface touch display screen, the touch display screen comprises a main touch display area and a side touch display area, the side touch display area is connected with the main touch display area, and the side touch display area comprises a plurality of sub side touch display areas which are adjacent in sequence; the touch operation method comprises the following steps:
detecting click operation information of a user on the touch display screen, wherein the click operation information comprises click position information and click times;
determining an operation area of a clicking operation on the touch display screen according to the clicking position information;
when the operation area is located in the side touch display area, acquiring a central point of the operation area and a central point of the side touch display area;
determining the central distance between the operation area and the touch display area according to the central point of the operation area and the central point of the side touch display area;
acquiring the touch instruction from candidate touch instructions according to the center distance between the operation area and the touch display area and the click times;
and executing corresponding touch operation on the electronic equipment according to the touch instruction.
2. The touch operation method according to claim 1, wherein obtaining the touch instruction according to the center distance and the number of clicks comprises:
determining a preset distance range of the center distance;
acquiring a candidate touch instruction corresponding to the preset distance range;
and selecting a touch instruction corresponding to the click times from the candidate touch instructions.
3. The touch operation method according to claim 1, wherein when the operation area is located in the side touch display area, acquiring a touch instruction according to the number of clicks comprises:
when the operation area is located in the side touch display area, acquiring the number of fingers used by a user for clicking operation;
and acquiring a touch instruction according to the number of the fingers and the number of clicks.
4. The touch operation method according to claim 1, wherein obtaining the touch instruction according to the number of clicks comprises:
when the number of clicks is multiple, acquiring a time interval between two adjacent clicks;
and when the time interval is within a preset time range, acquiring a touch instruction according to the click times.
5. The utility model provides a touch control operating means, is applied to in the electronic equipment, electronic equipment includes the display screen, its characterized in that, touch control display screen includes curved surface touch control display screen, touch control display screen includes main touch control display area and side touch control display area, side touch control display area with main touch control display area connects, side touch control display area includes a plurality of sub side touch control display areas adjacent in proper order, touch control operating means includes:
the detection module is used for detecting click operation information of a user on the touch display screen, wherein the click operation information comprises click position information and click times;
the area determining module is used for determining an operation area of the clicking operation on the touch display screen according to the clicking position information;
the instruction acquisition module is used for acquiring a central point of the operation area and a central point of the side touch display area when the operation area is positioned in the side touch display area;
determining the central distance between the operation area and the touch display area according to the central point of the operation area and the central point of the side touch display area;
acquiring the touch instruction from candidate touch instructions according to the center distance between the operation area and the touch display area and the click times;
and the operation execution module is used for executing corresponding touch operation on the electronic equipment according to the touch instruction.
6. A storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute the touch operation method according to any one of claims 1 to 4.
7. An electronic device, comprising a processor and a memory, wherein the memory stores a computer program, and the processor is configured to execute the touch operation method according to any one of claims 1 to 4 by calling the computer program stored in the memory.
CN201810726668.2A 2018-07-04 2018-07-04 Touch operation method and device, storage medium and electronic equipment Active CN108984097B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810726668.2A CN108984097B (en) 2018-07-04 2018-07-04 Touch operation method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810726668.2A CN108984097B (en) 2018-07-04 2018-07-04 Touch operation method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN108984097A CN108984097A (en) 2018-12-11
CN108984097B true CN108984097B (en) 2021-05-07

Family

ID=64536952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810726668.2A Active CN108984097B (en) 2018-07-04 2018-07-04 Touch operation method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN108984097B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010078A (en) * 2021-03-17 2021-06-22 Oppo广东移动通信有限公司 Touch method and device, storage medium and electronic equipment
CN113076010B (en) * 2021-03-26 2023-06-23 维沃移动通信有限公司 Input method, input device, electronic equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105549895A (en) * 2016-02-01 2016-05-04 广东欧珀移动通信有限公司 Application control method and mobile terminal
CN105955658A (en) * 2016-05-23 2016-09-21 广东欧珀移动通信有限公司 Method and apparatus for interaction by curved surface screen and mobile terminal
CN106445352A (en) * 2016-11-15 2017-02-22 努比亚技术有限公司 Device and method for touching edge of mobile terminal
CN108089795A (en) * 2018-01-22 2018-05-29 广东欧珀移动通信有限公司 touch operation method, device, storage medium and electronic equipment
CN108170357A (en) * 2017-12-26 2018-06-15 上海展扬通信技术有限公司 A kind of music control method and terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404465A (en) * 2012-02-29 2016-03-16 中兴通讯股份有限公司 Touch operation processing method and mobile terminal
CN102799376A (en) * 2012-07-11 2012-11-28 广东欧珀移动通信有限公司 Shortcut function setup method for touch equipment
CN103268199B (en) * 2013-06-03 2015-12-23 贝壳网际(北京)安全技术有限公司 Interaction method, interaction device and mobile equipment
CN104346100A (en) * 2014-10-17 2015-02-11 广东欧珀移动通信有限公司 Method and device for rapidly operating smart mobile terminal in blank screen state
CN105306824B (en) * 2015-11-17 2019-05-28 小米科技有限责任公司 Acquisition parameters adjusting method and device
CN107436697A (en) * 2016-05-26 2017-12-05 张明 Terminal device method of controlling operation thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105549895A (en) * 2016-02-01 2016-05-04 广东欧珀移动通信有限公司 Application control method and mobile terminal
CN105955658A (en) * 2016-05-23 2016-09-21 广东欧珀移动通信有限公司 Method and apparatus for interaction by curved surface screen and mobile terminal
CN106445352A (en) * 2016-11-15 2017-02-22 努比亚技术有限公司 Device and method for touching edge of mobile terminal
CN108170357A (en) * 2017-12-26 2018-06-15 上海展扬通信技术有限公司 A kind of music control method and terminal
CN108089795A (en) * 2018-01-22 2018-05-29 广东欧珀移动通信有限公司 touch operation method, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN108984097A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN108958627B (en) Touch operation method and device, storage medium and electronic equipment
US20210004154A1 (en) Method for Displaying Graphical User Interface and Mobile Terminal
US10397649B2 (en) Method of zooming video images and mobile display terminal
CN109062479B (en) Split screen application switching method and device, storage medium and electronic equipment
CN111476780B (en) Image detection method and device, electronic equipment and storage medium
CN106415472B (en) Gesture control method and device, terminal equipment and storage medium
CN108920082A (en) Method of controlling operation thereof, device, storage medium and electronic equipment
CN109062464B (en) Touch operation method and device, storage medium and electronic equipment
CN108769234B (en) Application downloading method and device, storage medium and electronic equipment
CN107390923B (en) Screen false touch prevention method and device, storage medium and terminal
US20230027523A1 (en) Display control method and terminal device
CN108920055A (en) touch operation method, device, storage medium and electronic equipment
CN108984096A (en) touch operation method, device, storage medium and electronic equipment
CN108932057A (en) Method of controlling operation thereof, device, storage medium and electronic equipment
CN108845752A (en) touch operation method, device, storage medium and electronic equipment
CN107765853A (en) Using method for closing, device, storage medium and electronic equipment
CN106331509A (en) Photographing method and mobile terminal
US20190295265A1 (en) Method, storage medium and electronic device for generating environment model
CN108984097B (en) Touch operation method and device, storage medium and electronic equipment
CN108845756B (en) Touch operation method and device, storage medium and electronic equipment
CN109144447A (en) Split screen window adjusting method, device, storage medium and electronic equipment
CN112783406B (en) Operation execution method and device and electronic equipment
CN109002339A (en) touch operation method, device, storage medium and electronic equipment
CN109085983A (en) Method of controlling operation thereof, device, storage medium and electronic equipment
CN108958628A (en) touch operation method, 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
GR01 Patent grant
GR01 Patent grant