CN105426090B - Display picture control method and user terminal - Google Patents
Display picture control method and user terminal Download PDFInfo
- Publication number
- CN105426090B CN105426090B CN201510738448.8A CN201510738448A CN105426090B CN 105426090 B CN105426090 B CN 105426090B CN 201510738448 A CN201510738448 A CN 201510738448A CN 105426090 B CN105426090 B CN 105426090B
- Authority
- CN
- China
- Prior art keywords
- display screen
- posture
- straight line
- horizontal plane
- pressure value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000009467 reduction Effects 0.000 claims abstract description 23
- 230000008859 change Effects 0.000 claims description 26
- 230000003321 amplification Effects 0.000 claims description 24
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 24
- 238000001514 detection method Methods 0.000 claims description 11
- 238000004891 communication Methods 0.000 abstract description 3
- 230000009471 action Effects 0.000 description 61
- 238000010586 diagram Methods 0.000 description 2
- 201000009487 Amblyopia Diseases 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000004438 eyesight Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 208000001491 myopia Diseases 0.000 description 1
- 230000004379 myopia Effects 0.000 description 1
- 201000010041 presbyopia Diseases 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000011946 reduction process Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04806—Zoom, 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 display picture 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 and an average pressure value of the continuous track; determining a first straight line passing through the starting point and the ending point simultaneously; determining a second straight line passing through the starting point and parallel to the X-axis or the Y-axis; 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 rotating direction and the average pressure 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
Technical Field
The invention relates to the technical field of communication, in particular to a display picture 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 display picture control method and a user terminal, which can reduce the threshold of display picture adjustment of a display screen.
The first aspect of the embodiments of the present invention discloses a display screen control method, including:
recording a starting point and an end point of a continuous track input on a display screen and an average pressure value of the continuous track;
determining a straight line segment connecting the starting point and the end point;
determining a rotation direction of a perpendicular bisector of the straight line segment when the perpendicular bisector rotates to be parallel to the X axis or the Y axis at a minimum rotation angle;
and adjusting the size of a display picture of the display screen according to the rotating direction and the average pressure value.
As an optional implementation, the resizing a display screen of the display screen according to the rotation direction and the average pressure 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 with the pressure value range to which the average pressure 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 with the pressure value range to which the average pressure value belongs as a reduction coefficient;
and according to the reduction coefficient, reducing the size of the display screen.
As an optional implementation, after recording a start point, an end point, and an average pressure value of the continuous trajectory input on the display screen, and before determining a straight line segment connecting the start point and the end point, the method further includes:
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, if so, detecting whether a display picture of the display screen is a blank picture, and if not, executing the step of determining a straight line segment connecting the starting point and the end point.
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:
the recording unit is used for recording a starting point and an end point of a continuous track input on a display screen and an average pressure value of the continuous track;
a straight line determination unit for determining a straight line segment connecting the start point and the end point;
a direction determining unit for determining a rotation direction when the perpendicular bisector of the straight line segment rotates to be parallel to the X axis or the Y axis at a minimum rotation angle;
and the adjusting unit is used for adjusting the size of a display picture of the display screen according to the rotating direction and the average pressure 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 in a pressure value range to which the average pressure 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 pressure value range to which the average pressure 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 and the average pressure value of the continuous track, detecting whether a specified posture change event occurs on the display screen if both the touch pressure of the starting point and the touch pressure of the end point are greater than the preset 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 straight line segment connecting the starting point and the ending point when the detecting unit detects that the display picture of the display screen is not a blank picture.
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 display according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating another method for controlling a display 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 display picture control method and a user terminal, which can reduce the threshold of display picture adjustment of a display screen. The following are detailed below.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a display screen control method according to an embodiment of the present invention. In the display control method shown in fig. 1, a user only needs to input a continuous track on a display screen of a user terminal by using one finger, and the user terminal can enlarge or reduce the size of the display screen. As shown in fig. 1, the display control method may include the following steps.
101. The user terminal records the starting point and the end point of the continuous track input on the display screen and the average pressure value of the continuous track.
In the embodiment of the present invention, the user terminal may include various electronic devices with a display screen, such as a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), and an intelligent wearable Device (e.g., an intelligent watch and an intelligent 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 and a pressure sensor can be arranged below a display screen of the user terminal, wherein the track sensor can detect a continuous track input by a user on the display screen, and the pressure sensor can collect a series of pressure values of the continuous track.
102. The user terminal determines a straight line segment connecting the starting point and the ending point.
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 straight line segment connecting the start point and the end point.
103. The user terminal determines a rotation direction when the perpendicular bisector of the straight line segment is rotated to be parallel to the X axis or the Y axis at a minimum rotation angle.
In the embodiment of the present invention, after the user terminal determines the straight line segment, the rotation direction when the perpendicular bisector of the straight line segment is rotated to be parallel to the X axis or the Y axis in the manner of the lowest rotation angle may be determined. 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.
104. And the user terminal adjusts the size of a display picture of the display screen according to the rotating direction and the average pressure value.
As an optional implementation manner, the specific manner in which the user terminal adjusts the size of the display screen according to the rotation direction and the average pressure value may be:
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 can respond to the amplification operation instruction, and obtain a preset coefficient bound to the pressure value range to which the average pressure 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 pressure value range to which the average pressure 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 pressure value range to which the average pressure 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 schematic flow chart illustrating another display control method according to an embodiment of the present invention. In the display control method shown in fig. 2, the user only needs to input a continuous track on the display screen of the user terminal by using one finger, and the user terminal can enlarge or reduce the size of the display screen. As shown in fig. 2, the display control method may include the following steps.
201. The user terminal records the starting point and the end point of the continuous track input on the display screen and the average pressure value of the continuous track.
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 straight line segment connecting the starting point and the ending point.
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 straight line segment connecting the start point and the end point.
206. The user terminal determines a rotation direction when the perpendicular bisector of the straight line segment is rotated to be parallel to the X axis or the Y axis at a minimum rotation angle.
In the embodiment of the present invention, after the user terminal determines the straight line segment, the rotation direction when the perpendicular bisector of the straight line segment is rotated to be parallel to the X axis or the Y axis in the manner of the lowest rotation angle may be determined. 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.
207. And the user terminal adjusts the size of a display picture of the display screen according to the rotating direction and the average pressure 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 trace input on a display screen and an average pressure value of the continuous trace;
a straight line determination unit 302 for determining a straight line segment connecting the start point and the end point;
a direction determining unit 303 for determining a rotation direction when the perpendicular bisector of the straight line segment is rotated at a minimum rotation angle to be parallel to the X axis or the Y axis;
and an adjusting unit 304, configured to adjust a size of a display screen of the display screen according to the rotation direction and the average pressure value.
As an alternative implementation, as shown in fig. 3, the adjusting unit 304 may include:
an identifying module 3041 for identifying a type of the rotation direction;
a generating module 3042, configured to generate an amplifying operation instruction when the identifying module 3041 identifies that the type of the rotation direction is the clockwise direction;
an obtaining module 3043, configured to respond to the amplification operation instruction, and obtain a preset coefficient bound to the pressure value range to which the average pressure value belongs, as an amplification coefficient; wherein the preset coefficient is a natural number greater than 0 and less than 1;
the processing module 3044 is configured to perform an amplification process on the size of the display screen according to the amplification factor.
As an alternative embodiment:
the generating module 3042, configured to generate a zoom-out operation instruction when the identifying module 3041 identifies that the type of the rotation direction is the counterclockwise direction;
the obtaining module 3043 is further configured to, in response to the reduction operation instruction, obtain a preset coefficient bound to the pressure value range to which the average pressure value belongs, as a reduction coefficient;
the processing module 3044 is further configured to perform a reduction process on the size of the display screen according to the reduction coefficient.
As an alternative implementation, as shown in fig. 3, the user terminal may further include:
a detecting unit 305, configured to detect whether both a touch pressure of the start point and a touch pressure of the end point are greater than a preset threshold after the recording unit 301 records the start point and the end point of the continuous track input on the display screen and an average pressure value of the continuous track, detect whether a specified posture change event occurs on the display screen if both are greater than the threshold, and detect whether a display screen of the display screen is a blank screen if the specified posture change event occurs on the display screen;
a straight line determination unit 302 having a function of determining a straight line segment connecting the start point and the end point when the detection unit 305 detects that the display screen of the display screen is not a blank screen.
As an optional implementation manner, in the user terminal depicted in fig. 3, after detecting that a display screen of the display screen is not a blank screen, the detecting unit 305 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;
accordingly, the straight line determining unit 302 has a straight line segment for determining the straight line segment connecting the start point and the end point when the detecting unit 305 detects that the display frame of the display screen is not a blank frame and determines that the user terminal and the wearable device bound to the user terminal both have the same action event within the preset time length.
As an optional implementation manner, the manner in which the detecting unit 305 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 305 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 if the second swing action event occurs at the wearable device, 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 period and swing action duration times included in the first swing action event and the second swing action event are both within the preset time period 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 period, and determines whether swing action duration times included in the first swing action event and the second swing action event are both within the preset time period, 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 alternative implementation, the way for detecting whether the specified gesture change event occurs on the display screen by the detection unit 305 may specifically be:
the detection unit 305 detects whether the display screen is in a posture changed from a posture perpendicular to the horizontal plane to a posture parallel to the horizontal plane, and if the display screen is in a posture changed from a posture perpendicular to the horizontal plane to a posture parallel to the horizontal plane, determines that a specified posture change event occurs on the display screen;
alternatively, the detection unit 305 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 determines that a specified posture change event occurs in the display screen 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.
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 instructions associated with a program, which 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, magnetic disk, magnetic tape, or magnetic tape, Or any other medium which can be used to carry or store data and which can be read by a computer.
The display screen control method and the user terminal disclosed in the embodiments of the present invention are described in detail above, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea 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 (11)
1. A display screen control method, comprising:
recording a starting point and an end point of a continuous track input on a display screen and an average pressure value of the continuous track;
determining a straight line segment connecting the starting point and the end point;
determining the rotation direction of the perpendicular bisector of the straight line segment when the perpendicular bisector rotates to be parallel to the X axis or the Y axis at the minimum rotation angle according to the minimum rotation angle;
and adjusting the size of a display picture of the display screen according to the rotation direction and the average pressure value when the perpendicular bisector of the straight line segment determined in the mode of the minimum rotation angle rotates to be parallel to the X axis or the Y axis through the minimum rotation angle, wherein the rotation direction when the perpendicular bisector of the straight line segment determined in the mode of the minimum rotation angle rotates to be parallel to the X axis or the Y axis through the minimum rotation angle is used for determining the adjustment direction of the size of the display picture.
2. The method of claim 1, wherein the adjusting the size of the display screen according to the rotation direction of the perpendicular bisector of the straight line segment determined by the minimum rotation angle when the perpendicular bisector is rotated to be parallel to the X axis or the Y axis by the minimum rotation angle and the average pressure value comprises:
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 with the pressure value range to which the average pressure value belongs as an amplification coefficient;
and according to the amplification factor, amplifying the size of the display picture of the display screen.
3. The method of claim 2, further comprising:
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 with the pressure value range to which the average pressure value belongs as a reduction coefficient;
and according to the reduction coefficient, reducing the size of the display screen.
4. The method according to any one of claims 1 to 3, wherein the method further comprises, after recording a start point and an end point of a continuous trajectory input on a display screen and an average pressure value of the continuous trajectory, and before determining a straight line segment connecting the start point and the end point:
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, if so, detecting whether a display picture of the display screen is a blank picture, and if not, executing the step of determining a straight line segment connecting the starting point and the end point.
5. The method of claim 4, 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.
6. A user terminal, comprising:
the recording unit is used for recording a starting point and an end point of a continuous track input on a display screen and an average pressure value of the continuous track;
a straight line determination unit for determining a straight line segment connecting the start point and the end point;
a direction determining unit for determining a rotation direction when the perpendicular bisector of the straight line segment rotates to be parallel to the X axis or the Y axis at the minimum rotation angle in a manner of the 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 average pressure value when the perpendicular bisector of the straight line segment determined in the mode of the minimum rotating angle rotates to be parallel to the X axis or the Y axis in the minimum rotating angle, wherein the rotating direction when the perpendicular bisector of the straight line segment determined in the mode of the minimum rotating angle rotates to be parallel to the X axis or the Y axis in the minimum rotating angle is used for determining the adjusting direction of the size of the display picture.
7. The UE of claim 6, wherein the adjusting unit comprises:
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 in a pressure value range to which the average pressure value belongs as an amplification coefficient;
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.
8. The user terminal of claim 7, wherein:
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 pressure value range to which the average pressure 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.
9. The user terminal according to any of claims 6 to 8, further comprising:
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 and the average pressure value of the continuous track, detecting whether a specified posture change event occurs on the display screen if both the touch pressure of the starting point and the touch pressure of the end point are greater than the preset 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 straight line segment connecting the starting point and the ending point when the detecting unit detects that the display picture of the display screen is not a blank picture.
10. The user terminal according to claim 9, 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.
11. A computer-readable storage medium, characterized in that the computer-readable storage medium stores program instructions for causing a computer to execute the display control method according to any one of claims 1 to 5 after the program instructions are called.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510738448.8A CN105426090B (en) | 2015-10-31 | 2015-10-31 | Display picture control method and user terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510738448.8A CN105426090B (en) | 2015-10-31 | 2015-10-31 | Display picture control method and user terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105426090A CN105426090A (en) | 2016-03-23 |
CN105426090B true CN105426090B (en) | 2020-04-10 |
Family
ID=55504328
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510738448.8A Expired - Fee Related CN105426090B (en) | 2015-10-31 | 2015-10-31 | Display picture control method and user terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105426090B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1397870A (en) * | 2001-07-17 | 2003-02-19 | 仁宝电脑工业股份有限公司 | Touch display able to control amplificatino rabio by pressure |
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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101299236B (en) * | 2008-06-25 | 2010-06-09 | 华南理工大学 | Method for recognizing Chinese hand-written phrase |
TWI475435B (en) * | 2012-07-09 | 2015-03-01 | Wistron Corp | Pressure-sensing touch method and touch display device thereof |
EP3748482A1 (en) * | 2012-09-29 | 2020-12-09 | Huawei Device Co., Ltd. | Electronic device and method for controlling zooming of displayed object |
-
2015
- 2015-10-31 CN CN201510738448.8A patent/CN105426090B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1397870A (en) * | 2001-07-17 | 2003-02-19 | 仁宝电脑工业股份有限公司 | Touch display able to control amplificatino rabio by pressure |
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 |
---|---|
CN105426090A (en) | 2016-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017032007A1 (en) | Screen brightness adjusting method and mobile terminal | |
EP2620844B1 (en) | Apparatus and method for adjusting touch sensitivity in mobile terminal | |
US20170171592A1 (en) | Method and electronic apparatus for adjusting viewing angle of Smart Television playing panorama videos | |
US20160070463A1 (en) | Flexible touch-based scrolling | |
US10534527B2 (en) | Relative pen scroll | |
EP2703977A2 (en) | Method and apparatus for controlling image display in an electronic device | |
US10552946B2 (en) | Display control apparatus and method for controlling the same based on orientation | |
WO2017059734A1 (en) | Image zoom in/out method and electronic device | |
US20150063785A1 (en) | Method of overlappingly displaying visual object on video, storage medium, and electronic device | |
CN104267931B (en) | A kind of information processing method and electronic equipment | |
JP2021531589A (en) | Motion recognition method, device and electronic device for target | |
US20150010236A1 (en) | Automatic image refocusing method | |
US20150084893A1 (en) | Display device, method for controlling display, and recording medium | |
CN104881225A (en) | Control method and device for adjusting bar | |
EP3614244A1 (en) | Touch screen adjustment method, touch chip and electronic terminal | |
US9507513B2 (en) | Displaced double tap gesture | |
KR20150039552A (en) | Display manipulating method of electronic apparatus and electronic apparatus thereof | |
CN112286358A (en) | Screen operation method and device, electronic equipment and computer-readable storage medium | |
CN111679767B (en) | Window expansion method and associated electronic device | |
CN109302563B (en) | Anti-shake processing method and device, storage medium and mobile terminal | |
CN105353937A (en) | Control method for display interface and terminal | |
CN114740996A (en) | Signal acquisition method and electronic equipment | |
CN106775093A (en) | A kind of contact action control method and device | |
US20180024629A1 (en) | Content acquiring method and apparatus, and user equipment | |
CN105426090B (en) | Display picture control method and user terminal |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200410 |