CN105426075B - User terminal control method and user terminal - Google Patents

User terminal control method and user terminal Download PDF

Info

Publication number
CN105426075B
CN105426075B CN201510738457.7A CN201510738457A CN105426075B CN 105426075 B CN105426075 B CN 105426075B CN 201510738457 A CN201510738457 A CN 201510738457A CN 105426075 B CN105426075 B CN 105426075B
Authority
CN
China
Prior art keywords
display screen
posture
straight line
user terminal
determining
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.)
Expired - Fee Related
Application number
CN201510738457.7A
Other languages
Chinese (zh)
Other versions
CN105426075A (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 CN201510738457.7A priority Critical patent/CN105426075B/en
Publication of CN105426075A publication Critical patent/CN105426075A/en
Application granted granted Critical
Publication of CN105426075B publication Critical patent/CN105426075B/en
Expired - Fee Related 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/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation

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 invention relates to the technical field of communication, and discloses a user terminal control method and a user terminal. The method comprises the following steps: recording a starting point and an end point of a continuous track input on a display screen; determining a first straight line passing through the starting point and the end point simultaneously, and determining a second straight line passing through the starting point and being parallel to an X-axis or a Y-axis; determining an included angle between the first straight line and the second straight line, and determining a ratio value of the included angle to 360 degrees; determining a rotation direction in which the first straight line is rotated to overlap the second straight line by a minimum rotation angle; and adjusting the size of a display picture of the display screen according to the rotation direction and the proportion value. By implementing the embodiment of the invention, the user terminal can realize the enlargement or reduction of the size of the display picture of the display screen as long as one finger inputs the continuous track on the display screen, thereby reducing the threshold of enlarging or reducing the display picture of the display screen and improving the user experience.

Description

User terminal control method and user terminal
Technical Field
The invention relates to the technical field of communication, in particular to a user terminal control method and a user terminal.
Background
With the continuous development and maturity of communication technology, the personalized demands of users are increasing in increasingly popular intelligent terminals, especially user terminals. The display screen of the existing user terminal, especially the user terminal carried with the user terminal, is relatively small, and the picture of the display screen is inconvenient to observe when the eyesight of the user terminal is poor, such as myopia, presbyopia or amblyopia, or characters, pictures and videos of the display screen need to be browsed and observed in detail. In practical applications, two fingers touch the display screen at the same time and perform a reverse sliding operation to enlarge the display screen, which requires the user to use two fingers at the same time, which increases the threshold of adjusting the display screen of the display screen.
Disclosure of Invention
The embodiment of the invention discloses a user terminal control method and a user terminal, which can reduce the threshold of adjusting the display picture of a display screen.
The first aspect of the embodiments of the present invention discloses a user terminal control method, including:
recording a starting point and an end point of a continuous track input on a display screen;
determining a first straight line passing through the starting point and the end point simultaneously, and determining a second straight line passing through the starting point and being parallel to an X-axis or a Y-axis;
determining an included angle between the first straight line and the second straight line, and determining a ratio value of the included angle to 360 degrees;
determining a rotation direction in which the first straight line is rotated to overlap the second straight line by a minimum rotation angle;
and adjusting the size of a display picture of the display screen according to the rotation direction and the proportion value.
As an optional implementation, the resizing the display screen of the display screen according to the rotation direction and the scale value includes:
identifying a type of the rotational direction;
if the type of the rotating direction is clockwise, generating an amplifying operation instruction;
responding to the amplification operation instruction, and acquiring a preset coefficient bound to a numerical range to which the proportional value belongs as an amplification coefficient; wherein the preset coefficient is a natural number greater than 0 and less than 1;
and according to the amplification factor, amplifying the size of the display picture of the display screen.
As an optional implementation, the method further comprises:
if the type of the rotating direction is the anticlockwise direction, generating a reduction operation instruction;
responding to the reduction operation instruction, and acquiring a preset coefficient bound to a numerical range to which the proportional value belongs as a reduction coefficient;
and according to the reduction coefficient, reducing the size of the display screen.
As an alternative embodiment, the recording is performed after a start point and an end point of a continuous track input on a display screen, and before the determining a first straight line passing through the start point and the end point at the same time, and determining a second straight line passing through the start point and parallel to an X axis or a Y axis, the method further includes:
detecting whether the touch pressure of the starting point and the touch pressure of the end point are both larger than a preset threshold value, if so, detecting whether a specified posture change event occurs on the display screen, if the specified posture change event occurs on the display screen, detecting whether a display picture of the display screen is a blank picture, if not, executing the steps of determining a first straight line simultaneously passing through the starting point and the end point, and determining a second straight line passing through the starting point and being parallel to an X axis or a Y axis.
As an optional implementation, the detecting whether the specified gesture change event occurs on the display screen includes:
detecting whether the posture of the display screen is changed from a posture vertical to a horizontal plane to a posture parallel to the horizontal plane or not, and if the posture of the display screen is changed from a posture vertical to the horizontal plane to a posture parallel to the horizontal plane, determining that a specified posture change event occurs on the display screen;
or detecting whether the posture of the display screen is changed from a posture parallel to the horizontal plane to a posture perpendicular to the horizontal plane, and if the posture of the display screen is changed from a posture parallel to the horizontal plane to a posture perpendicular to the horizontal plane, determining that the display screen has a specified posture change event.
A second aspect of an embodiment of the present invention discloses a user terminal, including:
a recording unit for recording a start point and an end point of a continuous track input on a display screen of the user terminal;
a straight line determination unit for determining a first straight line passing through the starting point and the end point at the same time, and determining a second straight line passing through the starting point and being parallel to an X-axis or a Y-axis;
the included angle proportion determining unit is used for determining an included angle between the first straight line and the second straight line and determining a proportion value of the included angle to 360 degrees;
a direction determination unit configured to determine a rotation direction in which the first straight line is rotated to overlap the second straight line by a minimum rotation angle;
and the adjusting unit is used for adjusting the size of the display picture of the display screen according to the rotating direction and the proportional value.
As an optional implementation, the adjusting unit includes:
the identification module is used for identifying the type of the rotation direction;
the generation module is used for generating an amplification operation instruction when the identification module identifies that the type of the rotation direction is the clockwise direction;
the acquisition module is used for responding to the amplification operation instruction and acquiring a preset coefficient bound to the numerical range to which the proportional value belongs as an amplification coefficient; wherein the preset coefficient is a natural number greater than 0 and less than 1;
and the processing module is used for carrying out amplification processing on the size of the display picture of the display screen according to the amplification factor.
As an alternative embodiment:
the generating module is further configured to generate a zoom-out operation instruction when the identifying module identifies that the type of the rotation direction is the counterclockwise direction;
the obtaining module is further configured to obtain a preset coefficient bound to a numerical range to which the proportional value belongs as a reduction coefficient;
and the processing module is further used for carrying out reduction processing on the size of the display picture of the display screen according to the reduction coefficient.
As an optional implementation manner, the user terminal further includes:
the detection unit is used for detecting whether the touch pressure of the starting point and the touch pressure of the end point are both greater than a preset threshold value after the recording unit records the starting point and the end point of a continuous track input on a display screen, detecting whether a specified posture change event occurs on the display screen if both the touch pressures are greater than the threshold value, and detecting whether a display picture of the display screen is a blank picture if the specified posture change event occurs on the display screen;
the straight line determining unit is specifically configured to determine a first straight line passing through the starting point and the ending point simultaneously when the detecting unit detects that the display screen of the display screen is not a blank screen, and determine a second straight line passing through the starting point and parallel to an X axis or a Y axis.
As an optional implementation manner, the manner of detecting whether the specified gesture change event occurs on the display screen by the detection unit is specifically:
the detection unit detects whether the posture of the display screen is changed from a posture vertical to a horizontal plane to a posture parallel to the horizontal plane or not, and if the posture of the display screen is changed from a posture vertical to the horizontal plane to a posture parallel to the horizontal plane, the display screen is determined to have a specified posture change event;
or the detection unit detects whether the posture of the display screen is changed from a posture parallel to the horizontal plane to a posture perpendicular to the horizontal plane, and if the posture of the display screen is changed from a posture parallel to the horizontal plane to a posture perpendicular to the horizontal plane, the display screen is determined to have a specified posture change event.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the user terminal can realize the enlargement or reduction of the size of the display picture of the display screen as long as one finger inputs the continuous track on the display screen, thereby reducing the threshold of enlarging and reducing the display picture of the display screen and improving the user experience.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for controlling a ue according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating another ue control method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a user terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a user terminal control method and a user terminal, which can reduce the threshold of adjusting the display picture of a display screen. The following are detailed below.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for controlling a ue according to an embodiment of the present invention. In the method for controlling the user terminal shown in fig. 1, the user terminal can enlarge or reduce the size of the display screen by inputting a continuous track on the display screen of the user terminal with only one finger. As shown in fig. 1, the user terminal control method may include the following steps.
101. The user terminal records the start and end points of the continuous track input on the display screen.
In the embodiment of the present invention, the user terminal may include various electronic devices with display screens, such as a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), and an intelligent wearable Device (e.g., a smart watch and a smart bracelet), which are not limited in the embodiment of the present invention.
In an embodiment of the present invention, the start point and the end point may be represented by a coordinate point (x, y) of a display screen.
In the embodiment of the invention, a track sensor can be arranged below the display screen of the user terminal, wherein the track sensor can detect the continuous track input by the user on the display screen, and correspondingly, the user terminal can record the starting point and the end point of the continuous track detected by the track sensor.
Optionally, a pressure sensor may be further disposed below the display screen of the user terminal, wherein the pressure sensor may collect pressure values of a series of location points of the continuous track, and accordingly, the user terminal may record the pressure values of the series of location points detected by the pressure sensor.
102. The user terminal determines a first straight line passing through the start point and the end point at the same time, and determines a second straight line passing through the start point and parallel to the X-axis or the Y-axis.
In the embodiment of the present invention, the start point may be represented by a coordinate point (x1, y1) of the display screen, and the end point may be represented by a coordinate point (x2, y2) of the display screen, and thus, based on the coordinate point (x1, y1) and the coordinate point (x2, y2), the user terminal may determine a first straight line passing through the start point and the end point at the same time.
103. The user terminal determines an included angle between the first straight line and the second straight line and determines a proportion value of the included angle to 360 degrees.
In this embodiment of the present invention, after the user terminal determines the first straight line and the second straight line in step 102, the user terminal may determine a minimum included angle between the first straight line and the second straight line, and may determine a ratio of the minimum included angle to 360 °.
104. The user terminal determines a rotation direction in which the first straight line is rotated to overlap the second straight line by a minimum rotation angle.
In the embodiment of the present invention, after the user terminal determines the first straight line, the user terminal may determine a rotation direction when the first straight line is rotated to be overlapped with the second straight line in a manner of the lowest rotation angle. The type of the rotation direction may be a clockwise direction or a counterclockwise direction, and the embodiment of the present invention is not limited.
105. And the user terminal adjusts the size of the display picture of the display screen according to the rotating direction and the proportional value.
As an optional implementation manner, a specific manner in which the user terminal adjusts the size of the display screen according to the rotation direction and the ratio value may be as follows:
the user terminal identifies the type of the rotating direction, and if the type of the rotating direction is clockwise, the user terminal can generate an amplifying operation instruction correspondingly; furthermore, the user terminal may respond to the amplification operation instruction, and obtain a preset coefficient bound to the numerical range to which the proportional value belongs as an amplification coefficient; wherein the preset coefficient is a natural number greater than 0 and less than 1; on the basis, the user terminal can perform amplification processing on the size of the display screen according to the amplification factor.
In the embodiment of the present invention, if the type of the rotation direction is counterclockwise, the user terminal may generate a zoom-out operation instruction accordingly; furthermore, the user terminal may respond to the reduction operation instruction, and obtain a preset coefficient bound to the numerical range to which the proportional value belongs as a reduction coefficient; on the basis of this, the user terminal can perform reduction processing on the size of the display screen according to the reduction coefficient.
In the embodiment of the invention, the user terminal can obtain the preset coefficient bound with the numerical range to which the proportional value belongs from the local memory.
In this embodiment of the present invention, the zoom-in operation instruction and the zoom-out operation instruction generated by the user terminal may be represented by signals with different levels, for example, a high level signal represents the zoom-in operation instruction, and a low level signal represents the zoom-out operation instruction, which is not limited in this embodiment of the present invention.
Therefore, by implementing the method described in fig. 1, the user terminal can enlarge or reduce the size of the display screen by only inputting a continuous track on the display screen with one finger, so that the threshold for enlarging or reducing the display screen of the display screen can be reduced, and the user experience is improved.
Referring to fig. 2, fig. 2 is a flowchart illustrating another ue control method according to an embodiment of the present invention. In the method for controlling the user terminal shown in fig. 2, the user terminal can enlarge or reduce the size of the display screen by inputting a continuous track on the display screen of the user terminal with only one finger. As shown in fig. 2, the user terminal control method may include the following steps.
201. The user terminal records the start and end points of the continuous track input on the display screen.
In an embodiment of the present invention, the start point and the end point may be represented by a coordinate point (x, y) of a display screen.
202. The user terminal detects whether the touch pressure of the starting point and the touch pressure of the end point are both greater than a preset threshold value, if so, the step 203 is executed; otherwise, the flow is ended.
In the embodiment of the invention, when the touch pressure of the starting point and/or the touch pressure of the end point are detected to be less than the preset threshold, the continuous track is mistakenly touched and input, and the user terminal does not need to respond at the moment.
203. The user terminal detects whether the display screen generates an appointed posture conversion event, if so, the step 204 is executed; otherwise, the flow is ended.
In the embodiment of the invention, when the user terminal detects that the appointed posture change event does not occur on the display screen, the continuous track is indicated to be touched and input by mistake, and the user terminal does not need to respond at the moment.
As an optional implementation manner, the manner for the user terminal to detect whether the specified gesture transformation event occurs on the display screen may specifically be:
detecting whether the posture of the display screen is changed from a posture vertical to a horizontal plane to a posture parallel to the horizontal plane or not, and if the posture of the display screen is changed from a posture vertical to the horizontal plane to a posture parallel to the horizontal plane, determining that a specified posture change event occurs on the display screen;
or detecting whether the posture of the display screen is changed from a posture parallel to the horizontal plane to a posture vertical to the horizontal plane, and if the posture of the display screen is changed from a posture parallel to the horizontal plane to a posture vertical to the horizontal plane, determining that the display screen has a specified posture change event.
204. The user terminal detects whether the display screen of the display screen is a blank screen, if the display screen is not a blank screen, step 205 is executed; otherwise, the flow is ended.
In the embodiment of the invention, when the user terminal detects that the display picture of the display screen is a blank picture, the continuous track is indicated to be touched and input by mistake, and the user terminal does not need to respond at the moment.
205. The user terminal determines a first straight line passing through the start point and the end point at the same time, and determines a second straight line passing through the start point and parallel to the X-axis or the Y-axis.
In the embodiment of the present invention, the start point may be represented by a coordinate point (x1, y1) of the display screen, and the end point may be represented by a coordinate point (x2, y2) of the display screen, and thus, based on the coordinate point (x1, y1) and the coordinate point (x2, y2), the user terminal may determine a first straight line passing through the start point and the end point at the same time.
206. The user terminal determines an included angle between the first straight line and the second straight line and determines a proportion value of the included angle to 360 degrees.
In this embodiment of the present invention, after the user terminal determines the first straight line and the second straight line in step 102, the user terminal may determine a minimum included angle between the first straight line and the second straight line, and may determine a ratio of the minimum included angle to 360 °.
207. The user terminal determines a rotation direction in which the first straight line is rotated to overlap the second straight line by a minimum rotation angle.
In the embodiment of the present invention, after the user terminal determines the first straight line, the user terminal may determine a rotation direction when the first straight line is rotated to be overlapped with the second straight line in a manner of the lowest rotation angle. The type of the rotation direction may be a clockwise direction or a counterclockwise direction, and the embodiment of the present invention is not limited.
208. And the user terminal adjusts the size of the display picture of the display screen according to the rotating direction and the proportional value.
As an alternative implementation, in the method described in fig. 2, after detecting that the display screen of the display screen is not a blank screen, and before performing step 205, the user terminal may perform the following steps:
the user terminal judges whether the user terminal and the wearable device bound by the user terminal both have the same action event within a preset time length, if so, the step 205 is executed; otherwise, the flow is ended.
As an optional implementation manner, the manner in which the user terminal determines whether the user terminal and the wearable device bound to the user terminal both have the same action event within the preset time length may be:
the user terminal detects whether a first swing action event occurs on the user terminal, detects whether a second swing action event occurs on wearable equipment bound by the user terminal if the first swing action event occurs on the user terminal, judges whether swing action directions included in the first swing action event and the second swing action event are the same or not if the second swing action event occurs on the wearable equipment, judges whether swing action starting times included in the first swing action event and the second swing action event are both within a preset time length or not if the swing action directions are the same or not, judges whether swing action duration time included in the first swing action event and the second swing action event are both within the preset time length or not if the swing action starting times included in the first swing action event and the second swing action event are both within the preset time length or not, and judges whether swing action duration time included in the first swing action event and the second swing action event are both within the preset time length or not if the swing action starting times included in the first swing action event and the second swing action event are both within the preset time length, and judging whether the difference value of the swing action starting time included by the first swing action event and the second swing action event is smaller than a first preset threshold value, if so, judging whether the difference value of the swing action duration included by the first swing action event and the second swing action event is smaller than a second preset threshold value, and if so, judging that the same action event occurs in the preset duration of both the user terminal and the wearable device.
Obviously, by implementing the above manner, the user terminal can improve the accuracy of adjusting the size of the display screen.
Therefore, by implementing the method described in fig. 2, the user terminal can enlarge or reduce the size of the display image of the display screen by only inputting a continuous track on the display screen with one finger and turning over the user terminal, so that the threshold for enlarging or reducing the display image of the display screen can be reduced, and the user experience is improved.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a ue according to an embodiment of the present invention. In which, the user only needs to use one finger to input a continuous track on the display screen of the user terminal shown in fig. 3, and the user terminal can enlarge or reduce the size of the display screen. As shown in fig. 3, the user terminal may include:
a recording unit 301 for recording a start point and an end point of a continuous track input on a display screen;
a straight line determination unit 302 for determining a first straight line passing through the start point and the end point at the same time, and determining a second straight line passing through the start point and being parallel to the X-axis or the Y-axis;
an included angle proportion determining unit 303, configured to determine an included angle between the first straight line and the second straight line, and determine a proportion value of the included angle to 360 degrees;
a direction determination unit 304 for determining a rotation direction in which the first straight line is rotated to overlap the second straight line by a minimum rotation angle;
an adjusting unit 305, configured to adjust a size of a display screen of the display screen according to the rotation direction and the ratio value.
As an alternative implementation, as shown in fig. 3, the adjusting unit 305 may include:
an identification module 3051, configured to identify a type of a rotation direction;
the generation module 3052 is configured to generate an amplification operation instruction when the identification module 3051 identifies that the type of the rotation direction is the clockwise direction;
an obtaining module 3053, configured to, in response to the amplification operation instruction, obtain a preset coefficient bound to a numerical range to which the proportional value belongs, as an amplification coefficient; wherein the preset coefficient is a natural number greater than 0 and less than 1;
and the processing module 3054 is configured to perform amplification processing on the size of the display screen according to the amplification factor.
As an alternative embodiment:
the generating module 3052 is further configured to generate a zoom-out operation instruction when the identifying module 3051 identifies that the type of the rotation direction is the counterclockwise direction;
the obtaining module 3053 is further configured to, in response to the reduction operation instruction, obtain a preset coefficient bound to the numerical range to which the proportional value belongs, as a reduction coefficient;
the processing module 3054 is further configured to perform a reduction process on the size of the display screen according to the reduction coefficient.
In the embodiment of the present invention, the user terminal may set a plurality of non-overlapping value ranges, and each value range may be bound with a different preset coefficient, which is not limited in the embodiment of the present invention.
As an alternative implementation, as shown in fig. 3, the user terminal may further include:
a detecting unit 306, configured to detect, after the recording unit 301 records a start point and an end point of a continuous track input on the display screen, whether both a touch pressure of the start point and a touch pressure of the end point are greater than a preset threshold, if both are greater than the threshold, detect whether a specified posture change event occurs on the display screen, and if a specified posture change event occurs on the display screen, detect whether a display screen of the display screen is a blank screen;
a straight line determination unit 302 having a function of determining a first straight line passing through the start point and the end point at the same time and determining a second straight line passing through the start point and parallel to the X axis or the Y axis when the detection unit 306 detects that the display screen of the display screen is not a blank screen.
As an optional implementation manner, in the user terminal described in fig. 3, after detecting that a display screen of the display screen is not a blank screen, the detecting unit 306 may further determine whether the user terminal and the wearable device bound to the user terminal both have the same action event within a preset time length;
correspondingly, the first straight line determining unit 302 is configured to determine a first straight line passing through the connection start point and the connection end point simultaneously when the detecting unit 306 detects that the display screen of the display screen is not a blank screen and determines that the user terminal and the wearable device bound to the user terminal both have the same action event within a preset time length.
As an optional implementation manner, the manner in which the detecting unit 306 determines whether the user terminal and the wearable device bound to the user terminal both have the same action event within the preset time length may be:
the detecting unit 306 detects whether a first swing action event occurs at the user terminal, detects whether a second swing action event occurs at the wearable device bound to the user terminal if the first swing action event occurs at the user terminal, determines whether swing action directions included in the first swing action event and the second swing action event are the same, determines whether swing action start times included in the first swing action event and the second swing action event are both within a preset time length and swing action duration times included in the first swing action event and the second swing action event are both within the preset time length if the swing action directions are the same, determines whether swing action start times included in the first swing action event and the second swing action event are both within the preset time length if the swing action start times included in the first swing action event and the second swing action event are both within the preset time length and the swing action duration times included in the first swing action event and the second swing action event are both within the preset time length, and judging whether the difference value of the swing action starting time included by the first swing action event and the second swing action event is smaller than a first preset threshold value, if so, judging whether the difference value of the swing action duration included by the first swing action event and the second swing action event is smaller than a second preset threshold value, and if so, judging that the same action event occurs in the preset duration of both the user terminal and the wearable device.
Obviously, by implementing the above manner, the user terminal can improve the accuracy of adjusting the size of the display screen.
As an optional implementation manner, the manner for detecting whether the specified gesture change event occurs on the display screen by the detection unit 306 may specifically be:
the detection unit 306 detects whether the posture of the display screen is changed from a posture perpendicular to the horizontal plane to a posture parallel to the horizontal plane, and if the posture of the display screen is changed from a posture perpendicular to the horizontal plane to a posture parallel to the horizontal plane, the display screen is determined to have a specified posture change event;
alternatively, the detection unit 306 detects whether the display screen is in a posture changed from a posture parallel to the horizontal plane to a posture perpendicular to the horizontal plane, and determines that the display screen has a designated posture change event if the display screen is in a posture changed from a posture parallel to the horizontal plane to a posture perpendicular to the horizontal plane.
It can be seen that, with the user terminal described in fig. 3, as long as a user inputs a continuous trajectory on the display screen with one finger and turns over the user terminal, the user terminal can enlarge or reduce the size of the display screen, so that the threshold for enlarging or reducing the display screen of the display screen can be reduced, and the user experience is improved.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by hardware instructions of a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other Memory, such as a magnetic disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
The foregoing detailed description is directed to a user terminal control method and a user terminal disclosed in the embodiments of the present invention, and specific examples are applied herein to explain the principles and embodiments of the present invention, and the descriptions of the foregoing embodiments are only used to help understand the method and the core ideas of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, 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 invention.

Claims (4)

1. A method for controlling a user terminal, comprising:
recording a starting point and an end point of a continuous track input on a display screen;
detecting whether the touch pressure of the starting point and the touch pressure of the end point are both greater than a preset threshold value, if so, detecting whether a specified posture change event occurs on the display screen, and if so, detecting whether a display picture of the display screen is a blank picture; if the display picture is not the blank picture, determining a first straight line which simultaneously passes through the starting point and the end point, and determining a second straight line which passes through the starting point and is parallel to an X axis or a Y axis, or judging whether the user terminal and the wearable device bound by the user terminal have the same action event within a preset time length, if the same action event occurs, determining a first straight line which simultaneously passes through the starting point and the end point, and determining a second straight line which passes through the starting point and is parallel to the X axis or the Y axis;
determining an included angle between the first straight line and the second straight line, and determining a ratio value of the included angle to 360 degrees;
determining a rotation direction in which the first straight line is rotated to overlap the second straight line by a minimum rotation angle;
identifying a type of the rotational direction; if the type of the rotating direction is clockwise, generating an amplifying operation instruction; responding to the amplification operation instruction, and acquiring a preset coefficient bound to a numerical range to which the proportional value belongs as an amplification coefficient; wherein the preset coefficient is a number greater than 0 and less than 1; amplifying the size of the display picture of the display screen according to the amplification factor;
if the type of the rotating direction is the anticlockwise direction, generating a reduction operation instruction; responding to the reduction operation instruction, and acquiring a preset coefficient bound to a numerical range to which the proportional value belongs as a reduction coefficient; and according to the reduction coefficient, reducing the size of the display screen.
2. The method of claim 1, wherein the detecting whether the specified gesture change event occurs on the display screen comprises:
detecting whether the posture of the display screen is changed from a posture vertical to a horizontal plane to a posture parallel to the horizontal plane or not, and if the posture of the display screen is changed from a posture vertical to the horizontal plane to a posture parallel to the horizontal plane, determining that a specified posture change event occurs on the display screen;
or detecting whether the posture of the display screen is changed from a posture parallel to the horizontal plane to a posture perpendicular to the horizontal plane, and if the posture of the display screen is changed from a posture parallel to the horizontal plane to a posture perpendicular to the horizontal plane, determining that the display screen has a specified posture change event.
3. A user terminal, comprising:
a recording unit for recording a start point and an end point of a continuous track input on a display screen of the user terminal;
the detection unit is used for detecting whether the touch pressure of the starting point and the touch pressure of the end point are both greater than a preset threshold value after the recording unit records the starting point and the end point of a continuous track input on a display screen, detecting whether a specified posture change event occurs on the display screen if both the touch pressures are greater than the threshold value, and detecting whether a display picture of the display screen is a blank picture if the specified posture change event occurs on the display screen; if the display picture is not the blank picture, determining a first straight line which simultaneously passes through the starting point and the end point, and determining a second straight line which passes through the starting point and is parallel to an X axis or a Y axis, or judging whether the user terminal and the wearable device bound by the user terminal have the same action event within a preset time length, if the same action event occurs, determining a first straight line which simultaneously passes through the starting point and the end point, and determining a second straight line which passes through the starting point and is parallel to the X axis or the Y axis;
a straight line determination unit configured to determine a first straight line passing through the start point and the end point at the same time and determine a second straight line passing through the start point and being parallel to an X axis or a Y axis when the detection unit detects that the display screen of the display screen is not a blank screen;
the included angle proportion determining unit is used for determining an included angle between the first straight line and the second straight line and determining a proportion value of the included angle to 360 degrees;
a direction determination unit configured to determine a rotation direction in which the first straight line is rotated to overlap the second straight line by a minimum rotation angle;
the identification module is used for identifying the type of the rotation direction;
the generation module is used for generating an amplification operation instruction when the identification module identifies that the type of the rotation direction is the clockwise direction;
the acquisition module is used for responding to the amplification operation instruction and acquiring a preset coefficient bound to the numerical range to which the proportional value belongs as an amplification coefficient; wherein the preset coefficient is a number greater than 0 and less than 1;
the processing module is used for amplifying the size of the display picture of the display screen according to the amplification factor;
the generating module is further configured to generate a zoom-out operation instruction when the identifying module identifies that the type of the rotation direction is the counterclockwise direction;
the obtaining module is further configured to obtain a preset coefficient bound to a numerical range to which the proportional value belongs as a reduction coefficient;
and the processing module is further used for carrying out reduction processing on the size of the display picture of the display screen according to the reduction coefficient.
4. The user terminal according to claim 3, wherein the detecting unit detects whether the specified gesture change event occurs on the display screen specifically by:
the detection unit detects whether the posture of the display screen is changed from a posture vertical to a horizontal plane to a posture parallel to the horizontal plane or not, and if the posture of the display screen is changed from a posture vertical to the horizontal plane to a posture parallel to the horizontal plane, the display screen is determined to have a specified posture change event;
or the detection unit detects whether the posture of the display screen is changed from a posture parallel to the horizontal plane to a posture perpendicular to the horizontal plane, and if the posture of the display screen is changed from a posture parallel to the horizontal plane to a posture perpendicular to the horizontal plane, the display screen is determined to have a specified posture change event.
CN201510738457.7A 2015-10-31 2015-10-31 User terminal control method and user terminal Expired - Fee Related CN105426075B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510738457.7A CN105426075B (en) 2015-10-31 2015-10-31 User terminal control method and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510738457.7A CN105426075B (en) 2015-10-31 2015-10-31 User terminal control method and user terminal

Publications (2)

Publication Number Publication Date
CN105426075A CN105426075A (en) 2016-03-23
CN105426075B true CN105426075B (en) 2021-03-16

Family

ID=55504313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510738457.7A Expired - Fee Related CN105426075B (en) 2015-10-31 2015-10-31 User terminal control method and user terminal

Country Status (1)

Country Link
CN (1) CN105426075B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408906A (en) * 2007-10-09 2009-04-15 鸿富锦精密工业(深圳)有限公司 Automatic generation system and method of cut edge parts
CN104182045A (en) * 2014-08-21 2014-12-03 深圳市中兴移动通信有限公司 Mobile terminal and display image adjusting method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299236B (en) * 2008-06-25 2010-06-09 华南理工大学 Method for recognizing Chinese hand-written phrase
TW201222344A (en) * 2010-11-16 2012-06-01 Elan Microelectronics Corp Method for continuing a multi-finger gesture on a touch panel
CN104461232A (en) * 2014-09-30 2015-03-25 小米科技有限责任公司 Method and device for determining reduction scale in screen display process

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408906A (en) * 2007-10-09 2009-04-15 鸿富锦精密工业(深圳)有限公司 Automatic generation system and method of cut edge parts
CN104182045A (en) * 2014-08-21 2014-12-03 深圳市中兴移动通信有限公司 Mobile terminal and display image adjusting method and device

Also Published As

Publication number Publication date
CN105426075A (en) 2016-03-23

Similar Documents

Publication Publication Date Title
US10942546B2 (en) Electronic device and method for processing gesture thereof
EP3493100B1 (en) Two-dimensional code identification method and device, and mobile terminal
WO2017032007A1 (en) Screen brightness adjusting method and mobile terminal
WO2017032068A1 (en) Text message viewing method and user terminal
WO2015085919A1 (en) Clicked object magnifying method and apparatus based on floating touch
CN104267931B (en) A kind of information processing method and electronic equipment
US10534527B2 (en) Relative pen scroll
US10552946B2 (en) Display control apparatus and method for controlling the same based on orientation
US20150063785A1 (en) Method of overlappingly displaying visual object on video, storage medium, and electronic device
WO2017059734A1 (en) Image zoom in/out method and electronic device
WO2015131630A1 (en) Replacement method and device for desktop icon
CN105204759A (en) Picture processing method and electronic terminal
KR20150039552A (en) Display manipulating method of electronic apparatus and electronic apparatus thereof
CN105049732A (en) Camera adjusting method and user terminal
CN111679767B (en) Window expansion method and associated electronic device
US20150186026A1 (en) Displaced double tap gesture
US10025420B2 (en) Method for controlling display of touchscreen, and mobile device
CN109302563B (en) Anti-shake processing method and device, storage medium and mobile terminal
CN104898928A (en) Graphic and text information display method and terminal
CN105426075B (en) User terminal control method and user terminal
CN105426090B (en) Display picture control method and user terminal
CN105404464B (en) A kind of method and user terminal for controlling picture
JP2015032261A (en) Display device and control method
Wu et al. Touchware: A software–based technique for high–resolution multi–touch sensing devices
US20160124602A1 (en) Electronic device and mouse simulation method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210316

CF01 Termination of patent right due to non-payment of annual fee