CN107193406B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN107193406B
CN107193406B CN201610144164.0A CN201610144164A CN107193406B CN 107193406 B CN107193406 B CN 107193406B CN 201610144164 A CN201610144164 A CN 201610144164A CN 107193406 B CN107193406 B CN 107193406B
Authority
CN
China
Prior art keywords
touch
double
point operation
preset
target window
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
CN201610144164.0A
Other languages
Chinese (zh)
Other versions
CN107193406A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610144164.0A priority Critical patent/CN107193406B/en
Publication of CN107193406A publication Critical patent/CN107193406A/en
Application granted granted Critical
Publication of CN107193406B publication Critical patent/CN107193406B/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/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/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • 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
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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 embodiment of the application provides an information processing method and electronic equipment, which are used for achieving the technical effect of determining that double touch point operation aims at a target window or an object in the target window. The method comprises the following steps: detecting double-touch-point operation by a touch display unit of the electronic equipment; judging whether the double-touch-point operation meets a preset condition or not, and obtaining a first judgment result; based on the first determination result, executing a corresponding instruction on a target window displayed on the touch display unit or a display object in the target window, including: when the first judgment result shows that the double-touch-point operation meets the preset condition, executing a window control instruction on the target window based on the double-touch-point operation; or when the first judgment result shows that the double-touch-point operation does not meet the preset condition, executing an object control instruction on the object based on the double-touch-point operation.

Description

Information processing method and electronic equipment
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to an information processing method and an electronic device.
Background
The double-touch-point operation refers to an operation performed by two fingers simultaneously contacting the touch display unit. In the prior art.
In the prior art, the user can adjust the size of the window by double touch point scaling. In addition, if the objects displayed within the window support dual touch point scaling, the size of the objects may also be adjusted. However, when both the window and the object within the window support dual-touch scaling, it is difficult for the electronic device to determine whether the dual-touch scaling is for the window or the object.
Disclosure of Invention
The embodiment of the application provides an information processing method and electronic equipment, which are used for achieving the technical effect of determining that double touch point operation aims at a target window or an object in the target window.
In a first aspect, the present application provides an information processing method, including:
detecting double-touch-point operation by a touch display unit of the electronic equipment;
judging whether the double-touch-point operation meets a preset condition or not, and obtaining a first judgment result;
based on the first determination result, executing a corresponding instruction on a target window displayed on the touch display unit or a display object in the target window, including:
when the first judgment result shows that the double-touch-point operation meets the preset condition, executing a window control instruction on the target window based on the double-touch-point operation; or
And when the first judgment result shows that the double-touch-point operation does not meet the preset condition, executing an object control instruction on the object based on the double-touch-point operation.
Optionally, determining whether the dual touch point operation satisfies a preset condition to obtain a first determination result, including:
judging whether the static time of the double-touch-point operation on the touch display unit reaches a preset time or not to obtain a first judgment result;
when the static time reaches a preset time, obtaining a first judgment result indicating that the double-touch-point operation meets the preset condition; and when the static time does not reach the preset time, obtaining the first judgment result indicating that the double-touch-point operation does not meet the preset condition.
Optionally, determining whether the dual touch point operation satisfies a preset condition to obtain a first determination result, including:
judging whether a pressure value applied to the touch display unit by the double-touch-point operation reaches a preset pressure value or not, and obtaining a first judgment result;
when the pressure value reaches the preset value, obtaining the first judgment result indicating that the double-touch-point operation meets the preset condition; and when the pressure value does not reach the preset value, obtaining the first judgment result indicating that the double-touch-point operation does not meet the preset condition.
Optionally, before executing a window control instruction on the target window based on the dual touch point operation, the method further includes:
and displaying the target window in a first preset mode so as to display the target window and other windows displayed on the touch display unit in a distinguishing manner.
Optionally, before executing an object control instruction on the object based on the dual touch point operation, the method further includes:
and displaying the target window in a second preset mode different from the first preset mode so as to display the target window and the other windows in a distinguishing mode.
In a second aspect, the present application provides an electronic device comprising:
the detection unit is used for detecting double-touch-point operation by a touch display unit of the electronic equipment;
the judging unit is used for judging whether the double-touch-point operation meets a preset condition or not to obtain a first judgment result;
an execution unit, configured to execute a corresponding instruction on a target window displayed on the touch display unit or a display object in the target window based on the first determination result, and specifically configured to: when the first judgment result shows that the double-touch-point operation meets the preset condition, executing a window control instruction on the target window based on the double-touch-point operation; or when the first judgment result shows that the double-touch-point operation does not meet the preset condition, executing an object control instruction on the object based on the double-touch-point operation.
Optionally, the determining unit is configured to determine whether the stationary time of the dual touch point operation on the touch display unit reaches a preset time, and obtain the first determination result; when the static time reaches a preset time, obtaining a first judgment result indicating that the double-touch-point operation meets the preset condition; and when the static time does not reach the preset time, obtaining the first judgment result indicating that the double-touch-point operation does not meet the preset condition.
Optionally, the determining unit is configured to determine whether a pressure value applied to the touch display unit by the dual touch point operation reaches a preset pressure value, so as to obtain the first determination result; when the pressure value reaches the preset value, obtaining the first judgment result indicating that the double-touch-point operation meets the preset condition; and when the pressure value does not reach the preset value, obtaining the first judgment result indicating that the double-touch-point operation does not meet the preset condition.
Optionally, the electronic device further includes:
and the first difference display unit is used for displaying the target window in a first preset mode to display the target window and other windows displayed on the touch control display unit in a difference mode before executing a window control instruction on the target window based on the double-touch-point operation.
Optionally, the electronic device further includes:
and a second difference display unit, configured to display the target window in a second preset manner different from the first preset manner to differently display the target window and the other windows before an object control instruction is executed on the object based on the dual touch point operation.
One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
in the technical scheme of the embodiment of the application, a touch display unit of the electronic equipment detects double-touch-point operation; then, judging whether the double-touch-point operation meets a preset condition or not, and obtaining a first judgment result; further, based on the first determination result, executing a corresponding instruction on a target window displayed on the touch display unit or a display object in the target window includes: when the first judgment result shows that the double-touch-point operation meets the preset condition, executing a window control instruction on the target window based on the double-touch-point operation; or when the first judgment result shows that the double-touch-point operation does not meet the preset condition, executing an object control instruction on the object based on the double-touch-point operation. Therefore, if the user performs the double-touch-point operation meeting the preset condition, the electronic device executes the instruction on the target window; if the user performs the double touch point operation which does not meet the preset condition, the electronic equipment executes an instruction on the object in the target window. Therefore, the technical effect that the user determines that the target window or the object is aimed at by performing different double-touch point operations is achieved.
Drawings
FIG. 1 is a flow chart of an information processing method in an embodiment of the present application;
fig. 2 is a schematic diagram of a plurality of windows displayed on a touch display unit in an embodiment of the present application;
FIG. 3 is a diagram illustrating a pair of target windows executing a window zoom-in instruction according to an embodiment of the present disclosure;
FIG. 4 is a diagram illustrating another embodiment of a window enlarging instruction executed on a target window;
FIG. 5 is a diagram illustrating a pair of target windows executing a window rotation command according to an embodiment of the present disclosure;
FIG. 6 is a diagram illustrating another embodiment of a window rotation instruction executed on a target window;
FIG. 7 is a diagram illustrating an object reduction instruction executed on an object in a target window according to an embodiment of the present application;
FIG. 8 is a diagram illustrating another embodiment of the present application for executing an object zoom-out command on an object in a target window;
FIG. 9 is a diagram illustrating an object rotation instruction executed on an object in a target window according to an embodiment of the present disclosure;
FIG. 10 is a diagram illustrating an embodiment of a display of a target window in a first predetermined manner;
FIG. 11 is a diagram illustrating an embodiment of a display of a target window in a second predetermined manner;
fig. 12 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
The embodiment of the application provides an information processing method and electronic equipment, which are used for achieving the technical effect of determining that double touch point operation aims at a target window or an object in the target window.
In order to solve the technical problems, the technical scheme provided by the application has the following general idea:
in the technical scheme of the embodiment of the application, a touch display unit of the electronic equipment detects double-touch-point operation; then, judging whether the double-touch-point operation meets a preset condition or not, and obtaining a first judgment result; further, based on the first determination result, executing a corresponding instruction on a target window displayed on the touch display unit or a display object in the target window includes: when the first judgment result shows that the double-touch-point operation meets the preset condition, executing a window control instruction on the target window based on the double-touch-point operation; or when the first judgment result shows that the double-touch-point operation does not meet the preset condition, executing an object control instruction on the object based on the double-touch-point operation. Therefore, if the user performs the double-touch-point operation meeting the preset condition, the electronic device executes the instruction on the target window; if the user performs the double touch point operation which does not meet the preset condition, the electronic equipment executes an instruction on the object in the target window. Therefore, the technical effect that the user determines that the target window or the object is aimed at by performing different double-touch point operations is achieved.
The technical solutions of the present invention are described in detail below with reference to the drawings and specific embodiments, and it should be understood that the specific features in the embodiments and examples of the present invention are described in detail in the technical solutions of the present application, and are not limited to the technical solutions of the present application, and the technical features in the embodiments and examples of the present application may be combined with each other without conflict.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The application provides an information processing method in a first aspect. Please refer to fig. 1, which is a flowchart of an information processing method in an embodiment of the present application. The method comprises the following steps:
s101: a touch display unit of the electronic device detects a double touch point operation.
S102: and judging whether the double-touch-point operation meets a preset condition or not, and obtaining a first judgment result.
S103: and executing a corresponding instruction on a target window displayed on the touch display unit or a display object in the target window based on the first judgment result.
The electronic equipment in the embodiment of the application is provided with a touch display unit. A plurality of windows can be displayed on the touch display unit, and objects are displayed in any one or more of the windows. For example, as shown in fig. 2, a schematic diagram of a plurality of windows displayed by a touch display unit is shown. The touch display unit displays 2 windows, namely a window A and a window B. One object is displayed in the a window, and 2 objects are displayed in the B window.
When a user needs to control a window displayed on the touch display unit or an object in the window, the touch display unit is realized through double touch point operation. Further, in S101, the touch display unit will detect the double touch point operation.
Specifically, when the touch display unit detects two touch points simultaneously on the touch display unit, it is determined that the dual touch point operation is detected. Further, in a specific implementation process, in order to determine which window of the multiple windows the dual touch point operation is specific to, the electronic device needs to acquire coordinates of each touch point in the dual touch point, and then determine a target window based on the coordinates of the dual touch point. In the embodiment of the application, a window targeted by the double touch point operation or a window where a targeted object is located is a target window.
After the double-touch operation is detected, in order to determine that the detected double-touch operation specifically targets the target window or the object in the target window, in S102, it is further determined whether the double-touch operation satisfies a preset adjustment, and a first determination result is obtained.
Specifically, the preset conditions in the embodiments of the present application may be variously possible. For example, whether the stationary time of the dual touch point operation on the touch display unit reaches a preset time, whether the pressure applied to the touch display unit by the dual touch point operation reaches a preset value, whether the coordinates of the dual touch point are preset coordinates or whether the preset track of the dual touch point operation conforms to the preset track, and the like. Those of ordinary skill in the art to which the present application pertains may set the setting according to the practice, and the present application is not particularly limited.
For different preset conditions, the implementation manner of judging whether the double touch points meet the preset conditions is also different. Two of these implementations will be listed below for illustration. In the specific implementation process, the following two implementation modes are included but not limited to:
the first method comprises the following steps:
in a first implementation manner, the preset condition is that the static time of the dual-touch operation on the touch display unit reaches a preset time, and the specific implementation process of S102 includes:
judging whether the static time of the double-touch-point operation on the touch display unit reaches a preset time or not to obtain a first judgment result;
when the static time reaches a preset time, obtaining a first judgment result indicating that the double-touch-point operation meets the preset condition; and when the static time does not reach the preset time, obtaining the first judgment result indicating that the double-touch-point operation does not meet the preset condition.
Specifically, the preset condition is that the static time of the dual-touch operation on the touch display unit reaches the preset time, so after the electronic device detects the dual-touch operation, the electronic device needs to further acquire the static time of the dual-touch operation on the touch display unit.
After obtaining the static time, the electronic device further determines whether the static time reaches a preset time. Specifically, the preset time may be set by the user, or may be set by default by the electronic device, and the application is not particularly limited. When the static time reaches the preset time, the double-touch-point operation meets the preset condition, and a first judgment result is obtained; and when the static time does not reach the preset time, indicating that the double-touch-point operation does not meet the preset condition, and further obtaining a first judgment result of no.
For example, the user touches the inside area of the a-window as shown in fig. 2 with his index finger and thumb simultaneously, and holds the index finger and thumb still within the a-window for 2 seconds. And then, the electronic equipment detects the double-touch-point operation and determines that the target window is the window A. And a rest time of 2 seconds was obtained. If the preset time is 1.5 seconds, the rest time reaches the preset time, and the first judgment result is yes. Therefore, the electronic device determines that the user's double touch point operation at this time is for the target window a window.
As another example, assume that the user's index finger and thumb are stationary for only 0.5 seconds in the A window shown in FIG. 2, and the preset time is still 2 seconds. And if the static time does not reach the preset time, further obtaining whether the first judgment result is negative. Therefore, the electronic device determines that the user's double touch point operation at this time is directed to an object in the target window a window.
As can be seen from the above description, when the stationary time of the dual touch point operation is long enough to reach the preset time, it can be determined that the target window is targeted by the dual touch point operation. And when the static time is short and does not reach the preset time, the object in the target window can be determined to be aimed at by the double-touch-point operation. Therefore, for the user, when the target window needs to be controlled, the user only needs to be stationary on the touch display unit for a long time, and when the user needs to control the object in the target window, the user does not need to be stationary for a long time. For the user, the control of the quiescent time is easier to realize than the control of placing the touch point on the edge of the target window, so that the user can easily control the target window or the object in the target window, and further the user experience is improved.
And the second method comprises the following steps:
in a second implementation manner, the preset condition is that an applied pressure value of the dual touch point operation on the touch display unit reaches a preset value, and the specific implementation process of S102 includes:
judging whether a pressure value applied to the touch display unit by the double-touch-point operation reaches a preset pressure value or not, and obtaining a first judgment result;
when the pressure value reaches the preset value, obtaining the first judgment result indicating that the double-touch-point operation meets the preset condition; and when the pressure value does not reach the preset value, obtaining the first judgment result indicating that the double-touch-point operation does not meet the preset condition.
Specifically, the preset condition is that the pressure applied by the dual-touch operation on the touch display unit reaches a preset value, so after the electronic device detects the dual-touch operation, it is further required to obtain a pressure value of the pressure applied by the dual-touch operation on the touch display unit through a pressure sensor arranged below the touch display unit.
After obtaining the pressure value, the electronic device further determines whether the pressure value reaches a preset value. Specifically, the preset value may be set by the user, or may be set by default by the electronic device, and the application is not limited specifically. When the pressure value reaches a preset value, the double touch points meet a preset condition, and a first judgment result of yes is obtained; when the pressure value does not reach the preset value, the double touch points do not meet the preset condition, and then a first judgment result of no is obtained.
For example, the user touches the inner area of the a-window as shown in fig. 2 with his index finger and thumb at the same time, and presses the index finger and thumb hard within the a-window. And then, the electronic equipment detects the double-touch-point operation and determines that the target window is the window A. And a pressure value of 0.6N was obtained. If the preset value is 0.5N, the pressure value reaches the preset value, and the first judgment result is yes. Therefore, the electronic device determines that the user's double touch point operation at this time is for the target window a window.
As another example, assume that the user's index finger and thumb lightly touch the A window shown in FIG. 2 at the same time. The electronics obtained a pressure value of 0.09N. The preset value is still assumed to be 0.5N. And if the pressure value does not reach the preset value, further obtaining the first judgment result of no. Therefore, the electronic device determines that the user's double touch point operation at this time is directed to an object in the target window a window.
As can be seen from the above description, when the pressure applied by the dual touch point operation is large enough to reach the preset value, it can be determined that the target window is targeted by the dual touch point operation. And when the applied pressure is small and does not reach the preset value, the object in the target window can be determined to be aimed at by the double-touch-point operation. Therefore, for the user, when the target window needs to be controlled, the user only needs to touch the touch display unit harder, and when the user needs to control the object in the target window, the user only needs to touch the touch display unit lightly. For a user, the pressure applied during the control of the double-touch operation is easier to realize than the pressure applied when the touch point is placed on the edge of the target window, so that the user can easily control the target window or an object in the target window, and the user experience is further improved.
After the first judgment result is obtained, the corresponding instruction is executed on the target window or the object in the target window based on the first judgment result. Wherein, S103 specifically includes in the embodiment of the present application:
when the first judgment result shows that the double-touch-point operation meets the preset condition, executing a window control instruction on the target window based on the double-touch-point operation; or
And when the first judgment result shows that the double-touch-point operation does not meet the preset condition, executing an object control instruction on the object based on the double-touch-point operation.
Specifically, when the first judgment result indicates that the dual touch point operation meets the preset condition, the electronic device determines a window control instruction corresponding to the dual touch point operation based on a track, a click frequency and the like of the dual touch point operation. And further executing a control instruction on the target window to control the target window according to the requirement of the user.
For example, if the dual touch point operation is specifically an operation in which two touch points are close to each other, the window is contracted according to the instruction; the double-touch-point operation is specifically an operation corresponding to a window amplification instruction when two touch points are far away; the double-touch point operation is specifically that when the two touch points rotate around the center in opposite directions, the window rotation instruction is corresponded. Those of ordinary skill in the art to which the present application pertains may set the setting according to the practice, and the present application is not particularly limited.
When the first judgment result shows that the double-touch-point operation does not meet the preset condition, the electronic equipment determines an object control instruction corresponding to the double-touch-point operation based on the track, the click times, the click frequency and the like of the double-touch-point operation. And further executing a control instruction on the object in the target window to control the object in the target window according to the requirement of the user.
For example, if the dual touch point operation is specifically an operation in which two touch points are close to each other, the corresponding object zoom-out instruction is issued; the double-touch-point operation is specifically an operation that when two touch points are far away, the corresponding object amplifies the instruction; the double-touch point operation is specifically that when the two touch points rotate around the center in opposite directions, the corresponding object rotates the instruction. Those of ordinary skill in the art to which the present application pertains may set the setting according to the practice, and the present application is not particularly limited.
For ease of understanding, two examples will be listed below for illustration.
Example 1: assume that two windows as shown in fig. 2 are displayed on the touch display unit. The user holds the middle finger and thumb in the a-window and touches the a-window stationary for 2 seconds. And then gradually get away from the middle finger and the thumb while keeping the middle finger and the thumb touching the touch display unit. The electronic equipment detects double-touch-point operation, and determines that the target window is an A window based on the double-touch-point operation. Further, the electronic device judges that the rest time 2 seconds reaches the preset time 2 seconds, and then determines that the double-touch-point operation is directed at the window A. Then, since the dual touch point operation is specifically an operation in which the two touch points are far away, it is determined that the corresponding window control instruction is specifically a window enlargement instruction. And finally, executing a window amplification instruction on the window A, and further amplifying the window A.
Example 2: assume that two windows as shown in fig. 2 are displayed on the touch display unit. The user lightly places the middle finger and the thumb in the a window to touch the a window, and then rotates while keeping the middle finger and the thumb touching the touch display unit. The electronic equipment detects double-touch-point operation, and determines that the target window is an A window based on the double-touch-point operation. Further, the electronic device determines that the pressure value applied by the double-touch point operation is 0.6N and reaches a preset value of 0.5N, and then determines that the double-touch point operation is directed at the object in the window a. Then, since the dual touch point operation is embodied as two touch points rotating around the center, the corresponding object control instruction is embodied as an object rotation instruction. And finally, executing an object rotation instruction on the object in the A window, and further rotating the object in the A window.
Further, in this embodiment of the present application, when executing the window control instruction on the target window, the object in the target window may be controlled to remain unchanged, and the object control instruction corresponding to the window control instruction may also be executed on the object in the target window.
The above example 1 was used. When the window enlarging instruction is executed on the a window, the object in the a window can be kept to maintain the original size. Then, if there are other objects near the object displayed in the window before the a window is enlarged, the user can see more objects in the a window by enlarging the a window as shown in fig. 3. Alternatively, when the window enlargement instruction is executed on the a window, as shown in fig. 4, a corresponding object enlargement instruction may be executed on an object in the a window. Then, after the a window is enlarged, the object in the a window is enlarged, so that the user can observe the object in the a window more clearly.
As another example. When executing the window rotation instruction on the a window, the object in the a window may be kept to maintain the original orientation. Then, as shown in fig. 5, when the a window is rotated, the direction of the object is not changed, so that the user does not need to readjust the viewing angle when viewing the object. Alternatively, when the window rotation command is executed on the a window, as shown in fig. 6, a corresponding object rotation command may be executed on an object in the a window. Then, after the a window rotates, the object in the a window also rotates, so that the target window and the object always keep the same direction.
Similarly, when executing the object control command on the object in the target window, the control target window may be kept unchanged, or the window control command corresponding to the object control command may be executed on the target window.
For example. When an object reduction instruction is executed on an object in the a window, the a window may be kept to maintain the original size. Then, as shown in FIG. 7, the A window remains unchanged as the object in the A window is scaled down. Alternatively, when an object reduction command is executed for an object in the a window, a corresponding window reduction command may be executed for the a window as shown in fig. 8. Then, when the object in the a window is reduced, the a window is also reduced.
And in example 2. Executing the object rotation instruction on the object in the a window can keep the a window maintaining the original orientation. Then, as shown in fig. 9, when the object in the a window is rotated, the a window direction is not changed, so that the user can control the object alone and control other objects of the target window without adjusting the angle of view. Alternatively, when an object rotation command is executed for an object in the a window, a corresponding window rotation command may be executed for the a window as shown in fig. 6. Then, when the object in the a window rotates, the a window also rotates, so that the target window and the object always keep the same direction.
Optionally, in another embodiment of the present application, in order to prompt the user, before executing the window control instruction on the target window based on the dual touch point operation, the method may further include:
and displaying the target window in a first preset mode so as to display the target window and other windows displayed on the touch display unit in a distinguishing manner.
Specifically, the object window is displayed in a first preset manner for the purpose of displaying the object window differently from other windows. And further prompting the user electronic equipment to determine the target window and prompting the user electronic equipment to determine that the target window is to be controlled.
In a specific implementation process, there are multiple implementation manners for displaying the target window in the first preset manner. For example, fig. 10 is a schematic diagram illustrating a target window displayed in a first predetermined manner. The edges of the target window are shown as dashed lines while the edges of the other windows are still shown as solid lines. Or, the brightness of the target window is adjusted to be high, and other windows are displayed according to the original brightness, or the brightness of other windows is adjusted to be low. Those of ordinary skill in the art to which the present application pertains may set the setting according to the practice, and the present application is not particularly limited.
As can be seen from the above description, the target window is displayed in the first preset manner before the window control instruction is executed on the target window. Furthermore, the user can determine whether the target window for the double touch point operation is correct or not on one hand. Another aspect may determine whether a target window or object is to be manipulated. So, if it is determined that there is no error, the operation can be continued. If the target window is determined to be wrong or the user actually needs to operate the object in the target window, correct double-touch-point operation can be re-executed in time based on the differential display.
Or, optionally, in another embodiment of the present application, in order to prompt the user, before executing the window control instruction on the target window based on the dual touch point operation, the method may further include:
and displaying the target window in a second preset mode different from the first preset mode so as to display the target window and the other windows in a distinguishing mode.
Specifically, the object window is displayed in the second preset manner for the purpose of displaying the object window differently from other windows. And further prompting the user electronic equipment to determine the target window and prompting the user electronic equipment to determine that the object in the target window is to be controlled. Meanwhile, the second preset mode is different from the first preset mode, so that the user can know that the object in the target window is to be controlled, but not the target window.
In a specific implementation process, there are multiple implementation manners for displaying the target window in the first preset manner and the second preset manner. For example, as shown in fig. 10, if a window control instruction is to be executed on a target window, the edges of the target window are displayed as dotted lines while the edges of the other windows are still displayed as solid lines; if the object control command is to be executed on the object in the target window, the edge of the target window is displayed in a bold manner as shown in a schematic diagram of displaying the target window in a second preset manner in fig. 11. Or if the window control instruction is to be executed on the target window, the brightness of the target window is increased, and other windows are displayed according to the original brightness, or the brightness of other windows is decreased; if an object control instruction is to be performed on an object in the target window, the target window is displayed in gray and the other windows are displayed in the original color. Those of ordinary skill in the art to which the present application pertains may set the setting according to the practice, and the present application is not particularly limited.
As can be seen from the above description, the target window is displayed in the second preset manner before the object control instruction is executed on the object in the target window. Furthermore, the user can determine whether the target window for the double touch point operation is correct or not on one hand. Another aspect may determine whether a target window or object is to be manipulated. So, if it is determined that there is no error, the operation can be continued. If the target window is determined to be wrong or the user actually needs to operate the target window, the correct double-touch-point operation can be re-executed based on the differential display.
Based on the same inventive concept as the information processing method in the foregoing embodiment, a second aspect of the present application further provides an electronic device, as shown in fig. 12, including:
the detection unit 101 is used for detecting double-touch-point operation by a touch display unit of the electronic equipment;
the judging unit 102 is configured to judge whether the dual touch point operation meets a preset condition, and obtain a first judgment result;
an executing unit 103, configured to execute a corresponding instruction on a target window displayed on the touch display unit or a display object in the target window based on the first determination result, and specifically configured to: when the first judgment result shows that the double-touch-point operation meets the preset condition, executing a window control instruction on the target window based on the double-touch-point operation; or when the first judgment result shows that the double-touch-point operation does not meet the preset condition, executing an object control instruction on the object based on the double-touch-point operation.
Specifically, the determining unit 102 is configured to determine whether a stationary time of the dual touch point operation on the touch display unit reaches a preset time, and obtain the first determination result; when the static time reaches a preset time, obtaining a first judgment result indicating that the double-touch-point operation meets the preset condition; and when the static time does not reach the preset time, obtaining the first judgment result indicating that the double-touch-point operation does not meet the preset condition.
Or, the judging unit 102 is configured to judge whether a pressure value applied to the touch display unit by the dual touch point operation reaches a preset pressure value, and obtain the first judgment result; when the pressure value reaches the preset value, obtaining the first judgment result indicating that the double-touch-point operation meets the preset condition; and when the pressure value does not reach the preset value, obtaining the first judgment result indicating that the double-touch-point operation does not meet the preset condition.
Further, the electronic device further includes:
and the first difference display unit is used for displaying the target window in a first preset mode to display the target window and other windows displayed on the touch control display unit in a difference mode before executing a window control instruction on the target window based on the double-touch-point operation.
Still further, the electronic device further includes:
and a second difference display unit, configured to display the target window in a second preset manner different from the first preset manner to differently display the target window and the other windows before an object control instruction is executed on the object based on the dual touch point operation.
Various changes and specific examples of the information processing method in the foregoing embodiments of fig. 1 to 11 are also applicable to the electronic device of this embodiment, and those skilled in the art can clearly know the implementation method of the electronic device in this embodiment through the foregoing detailed description of the information processing method, so that details are not described here for the sake of brevity of the description.
One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
in the technical scheme of the embodiment of the application, a touch display unit of the electronic equipment detects double-touch-point operation; then, judging whether the double-touch-point operation meets a preset condition or not, and obtaining a first judgment result; further, based on the first determination result, executing a corresponding instruction on a target window displayed on the touch display unit or a display object in the target window includes: when the first judgment result shows that the double-touch-point operation meets the preset condition, executing a window control instruction on the target window based on the double-touch-point operation; or when the first judgment result shows that the double-touch-point operation does not meet the preset condition, executing an object control instruction on the object based on the double-touch-point operation. Therefore, if the user performs the double-touch-point operation meeting the preset condition, the electronic device executes the instruction on the target window; if the user performs the double touch point operation which does not meet the preset condition, the electronic equipment executes an instruction on the object in the target window. Therefore, the technical effect that the user determines that the target window or the object is aimed at by performing different double-touch point operations is achieved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Specifically, the computer program instructions corresponding to an information processing method in the embodiment of the present application may be stored on a storage medium such as an optical disc, a hard disc, or a usb disk, and when the computer program instructions corresponding to the first information processing method in the storage medium are read or executed by an electronic device, the method includes the following steps:
detecting double-touch-point operation by a touch display unit of the electronic equipment;
judging whether the double-touch-point operation meets a preset condition or not, and obtaining a first judgment result;
based on the first determination result, executing a corresponding instruction on a target window displayed on the touch display unit or a display object in the target window, including:
when the first judgment result shows that the double-touch-point operation meets the preset condition, executing a window control instruction on the target window based on the double-touch-point operation; or
And when the first judgment result shows that the double-touch-point operation does not meet the preset condition, executing an object control instruction on the object based on the double-touch-point operation.
Optionally, the step of determining, stored in the storage medium, whether the dual touch point operation satisfies a preset condition to obtain a first determination result, and the step of executing the corresponding computer instruction specifically includes the following steps:
judging whether the static time of the double-touch-point operation on the touch display unit reaches a preset time or not to obtain a first judgment result;
when the static time reaches a preset time, obtaining a first judgment result indicating that the double-touch-point operation meets the preset condition; and when the static time does not reach the preset time, obtaining the first judgment result indicating that the double-touch-point operation does not meet the preset condition.
Optionally, the step of determining, stored in the storage medium, whether the dual touch point operation satisfies a preset condition to obtain a first determination result, and the step of executing the corresponding computer instruction specifically includes the following steps:
judging whether a pressure value applied to the touch display unit by the double-touch-point operation reaches a preset pressure value or not, and obtaining a first judgment result;
when the pressure value reaches the preset value, obtaining the first judgment result indicating that the double-touch-point operation meets the preset condition; and when the pressure value does not reach the preset value, obtaining the first judgment result indicating that the double-touch-point operation does not meet the preset condition.
Optionally, the storage medium further stores other computer instructions, and the computer instructions perform the following steps: the method is executed before executing the window control instruction on the target window based on the double-touch point operation, and comprises the following steps when executed:
and displaying the target window in a first preset mode so as to display the target window and other windows displayed on the touch display unit in a distinguishing manner.
Optionally, the storage medium further stores other computer instructions, and the computer instructions perform the following steps: the method is executed before executing the window control instruction on the target window based on the double-touch point operation, and comprises the following steps when executed:
and displaying the target window in a second preset mode different from the first preset mode so as to display the target window and the other windows in a distinguishing mode.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. An information processing method comprising:
detecting double-touch-point operation by a touch display unit of the electronic equipment;
obtaining the coordinates of each touch point in the double touch points, and determining a target window based on the coordinates of the double touch points;
judging whether the double-touch-point operation meets a preset condition or not, and obtaining a first judgment result;
based on the first determination result, executing a corresponding instruction on the target window displayed on the touch display unit or a display object in the target window, including:
when the first judgment result shows that the double-touch-point operation meets the preset condition, executing a window control instruction on the target window based on the double-touch-point operation; or
When the first judgment result shows that the double-touch-point operation does not meet the preset condition, executing an object control instruction on the object based on the double-touch-point operation;
wherein, the preset conditions comprise one or more of the following conditions: whether the static time of the double-touch point operation on the touch display unit reaches the preset time or not, whether the pressure applied to the touch display unit by the double-touch point operation reaches the preset value or not, whether the coordinates of the double-touch point are preset coordinates or not and whether the preset track of the double-touch point operation conforms to the preset track or not.
2. The method of claim 1, wherein determining whether the dual touch point operation satisfies a preset condition to obtain a first determination result comprises:
judging whether the static time of the double-touch-point operation on the touch display unit reaches a preset time or not to obtain a first judgment result;
when the static time reaches a preset time, obtaining a first judgment result indicating that the double-touch-point operation meets the preset condition; and when the static time does not reach the preset time, obtaining the first judgment result indicating that the double-touch-point operation does not meet the preset condition.
3. The method of claim 1, wherein determining whether the dual touch point operation satisfies a preset condition to obtain a first determination result comprises:
judging whether a pressure value applied to the touch display unit by the double-touch-point operation reaches a preset pressure value or not, and obtaining a first judgment result;
when the pressure value reaches the preset value, obtaining the first judgment result indicating that the double-touch-point operation meets the preset condition; and when the pressure value does not reach the preset value, obtaining the first judgment result indicating that the double-touch-point operation does not meet the preset condition.
4. The method of claim 3, prior to executing a window control instruction on the target window based on the dual touch point operation, further comprising:
and displaying the target window in a first preset mode so as to display the target window and other windows displayed on the touch display unit in a distinguishing manner.
5. The method of claim 4, prior to executing an object control instruction on the object based on the dual touch point operation, further comprising:
and displaying the target window in a second preset mode different from the first preset mode so as to display the target window and the other windows in a distinguishing mode.
6. An electronic device, comprising:
the detection unit is used for detecting double-touch-point operation by a touch display unit of the electronic equipment;
the judging unit is used for acquiring the coordinates of each touch point in the double touch points and determining a target window based on the coordinates of the double touch points;
the judging unit is also used for judging whether the double-touch-point operation meets a preset condition or not to obtain a first judgment result;
an execution unit, configured to execute a corresponding instruction on a target window displayed on the touch display unit or a display object in the target window based on the first determination result, and specifically configured to: when the first judgment result shows that the double-touch-point operation meets the preset condition, executing a window control instruction on the target window based on the double-touch-point operation; or when the first judgment result shows that the double-touch-point operation does not meet the preset condition, executing an object control instruction on the object based on the double-touch-point operation;
wherein, the preset conditions comprise one or more of the following conditions: whether the static time of the double-touch point operation on the touch display unit reaches the preset time or not, whether the pressure applied to the touch display unit by the double-touch point operation reaches the preset value or not, whether the coordinates of the double-touch point are preset coordinates or not and whether the preset track of the double-touch point operation conforms to the preset track or not.
7. The electronic device of claim 6, wherein the determining unit is configured to determine whether a stationary time of the dual touch point operation on the touch display unit reaches a preset time, and obtain the first determination result; when the static time reaches a preset time, obtaining a first judgment result indicating that the double-touch-point operation meets the preset condition; and when the static time does not reach the preset time, obtaining the first judgment result indicating that the double-touch-point operation does not meet the preset condition.
8. The electronic device of claim 6, wherein the determining unit is configured to determine whether a pressure value applied to the touch display unit by the dual touch point operation reaches a preset pressure value, and obtain the first determination result; when the pressure value reaches the preset value, obtaining the first judgment result indicating that the double-touch-point operation meets the preset condition; and when the pressure value does not reach the preset value, obtaining the first judgment result indicating that the double-touch-point operation does not meet the preset condition.
9. The electronic device of claim 8, wherein the electronic device further comprises:
and the first difference display unit is used for displaying the target window in a first preset mode to display the target window and other windows displayed on the touch control display unit in a difference mode before executing a window control instruction on the target window based on the double-touch-point operation.
10. The electronic device of claim 9, wherein the electronic device further comprises:
and a second difference display unit, configured to display the target window in a second preset manner different from the first preset manner to differently display the target window and the other windows before an object control instruction is executed on the object based on the dual touch point operation.
CN201610144164.0A 2016-03-14 2016-03-14 Information processing method and electronic equipment Active CN107193406B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610144164.0A CN107193406B (en) 2016-03-14 2016-03-14 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610144164.0A CN107193406B (en) 2016-03-14 2016-03-14 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN107193406A CN107193406A (en) 2017-09-22
CN107193406B true CN107193406B (en) 2020-12-18

Family

ID=59871580

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610144164.0A Active CN107193406B (en) 2016-03-14 2016-03-14 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN107193406B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103376987A (en) * 2012-04-23 2013-10-30 三星电子株式会社 Method of adjusting size of window and electronic device therefor
CN103809892A (en) * 2012-11-13 2014-05-21 联想(北京)有限公司 Information processing method and information processing equipment
CN104020850A (en) * 2006-01-30 2014-09-03 苹果公司 Gesturing with a multipoint sensing device
CN105045519A (en) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 User terminal and screen control method therefor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140073398A (en) * 2012-12-06 2014-06-16 삼성전자주식회사 Display apparatus and method for controlling thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104020850A (en) * 2006-01-30 2014-09-03 苹果公司 Gesturing with a multipoint sensing device
CN103376987A (en) * 2012-04-23 2013-10-30 三星电子株式会社 Method of adjusting size of window and electronic device therefor
CN103809892A (en) * 2012-11-13 2014-05-21 联想(北京)有限公司 Information processing method and information processing equipment
CN105045519A (en) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 User terminal and screen control method therefor

Also Published As

Publication number Publication date
CN107193406A (en) 2017-09-22

Similar Documents

Publication Publication Date Title
US10754470B2 (en) Interface control method for operation with one hand and electronic device thereof
EP2757459A1 (en) Apparatus and method for an adaptive edge-to-edge display system for multi-touch devices
KR20160088631A (en) Method for controlling display and an electronic device thereof
KR20160050682A (en) Method and apparatus for controlling display on electronic devices
EP2703983B1 (en) Method of controlling touch function and an electronic device thereof
US20150084881A1 (en) Data processing method and electronic device
EP2728456B1 (en) Method and apparatus for controlling virtual screen
US9740398B2 (en) Detecting input based on multiple gestures
US11119622B2 (en) Window expansion method and associated electronic device
EP2859430B1 (en) Method and apparatus for entering symbols from a touch-sensitive screen
US10394442B2 (en) Adjustment of user interface elements based on user accuracy and content consumption
US10802702B2 (en) Touch-activated scaling operation in information processing apparatus and information processing method
CN107193406B (en) Information processing method and electronic equipment
US20190087060A1 (en) Dynamic adjustment of media thumbnail image size based on touchscreen pressure
US8773382B2 (en) Computer-readable storage medium, coordinate processing apparatus, coordinate processing system, and coordinate processing method
US9652148B2 (en) Soft keyboard with keypress markers
KR101503640B1 (en) Apparatus and method for supporting electronic signature
US20150160777A1 (en) Information processing method and electronic device
JP2017142564A5 (en)
WO2017016333A1 (en) Screen adjustment method and device
TW201331818A (en) Electronic apparatus and method for controlling the same
JP2016115042A (en) Electronic apparatus
CN104881229A (en) Providing A Callout Based On A Detected Orientation
JP2014137616A (en) Display control device, display control system, and display control method
WO2016035512A1 (en) Information processing device, information processing method, and information processing program

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