CN105404464A - Image control method and user terminal - Google Patents

Image control method and user terminal Download PDF

Info

Publication number
CN105404464A
CN105404464A CN201510741144.7A CN201510741144A CN105404464A CN 105404464 A CN105404464 A CN 105404464A CN 201510741144 A CN201510741144 A CN 201510741144A CN 105404464 A CN105404464 A CN 105404464A
Authority
CN
China
Prior art keywords
display screen
posture changing
user terminal
surface level
rotation
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.)
Granted
Application number
CN201510741144.7A
Other languages
Chinese (zh)
Other versions
CN105404464B (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 CN201510741144.7A priority Critical patent/CN105404464B/en
Publication of CN105404464A publication Critical patent/CN105404464A/en
Application granted granted Critical
Publication of CN105404464B publication Critical patent/CN105404464B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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

Embodiments of the invention relate to the technical field of communications and disclose an image control method and a user terminal. The method comprises: recording a starting point and an ending point of a continuous track input on a display screen; determining the length of a linear segment for connecting the starting point with the ending point; determining an area ratio of a rectangular region taking the length of the linear segment as the length of two diagonal lines to the display screen; determining a rotational direction of the linear segment rotating to be parallel to an X axis or a Y axis at a minimal rotational angle; and adjusting the size of a display image of the display screen according to the rotational direction and the area ratio. By implementing the embodiments of the invention, when a user inputs the continuous track on the display screen by using one finger, a user terminal can increase or reduce the size of the display image of the display screen, so that the threshold of zooming in and out the display image of the display screen can be reduced and the user experience can be improved.

Description

A kind of method of control interface and user terminal
Technical field
The present invention relates to communication technique field, be specifically related to a kind of method and user terminal of control interface.
Background technology
Along with development and the maturation of the communication technology, in day by day universal intelligent terminal, particularly user terminal, the individual demand of user gets more and more.Existing user terminal, the display screen of the user terminal particularly carried with is relative still less, for dysphotias such as myopia, presbyopia or amblyopias, or when needs are browsed, word, picture, the video of display screen is observed in thin portion, the picture observing display screen will be not easy to.In actual applications, two fingers are normally adopted to touch display screen simultaneously and make reverse slide to realize the amplification of display frame, this mode requires that user must use two fingers simultaneously, the threshold that this invisible display frame that improve display screen regulates.
Summary of the invention
The embodiment of the invention discloses a kind of method and user terminal of control interface, the threshold that the display frame that can reduce display screen regulates.
Embodiment of the present invention first aspect discloses a kind of method of control interface, comprising:
Record starting point and the terminal of the continuous path inputted on a display screen;
Determine the length of the straight-line segment connecting described starting point and described terminal;
Determine the area ratio value of rectangular area using the length of described straight-line segment as two catercorner lengths and described display screen;
Determine sense of rotation when described straight-line segment rotates to parallel with described X-axis or Y-axis with the minimum anglec of rotation;
The size of the display frame of described display screen is adjusted according to described sense of rotation and described area ratio value.
As the optional embodiment of one, the described size adjusting the display frame of described display screen according to described sense of rotation and described area ratio value comprises:
Identify the type of described sense of rotation;
If the type of described sense of rotation is clockwise direction, generate amplifieroperation instruction;
Respond described amplifieroperation instruction, obtain the predetermined coefficient of the numerical range binding belonging to described area ratio value as amplification coefficient; Wherein, described predetermined coefficient be greater than 0 and be less than 1 natural number;
According to described amplification coefficient, amplification process is carried out to the size of the display frame of described display screen.
As the optional embodiment of one, described method also comprises:
If the type of described sense of rotation is counterclockwise, generate reduction operation instruction;
Respond described reduction operation instruction, obtain the predetermined coefficient of the numerical range binding belonging to described area ratio value as coefficient of reduction;
According to described coefficient of reduction, process is reduced to the size of the display frame of described display screen.
As the optional embodiment of one, after the starting point of the continuous path that described record inputs on a display screen and terminal, and described determine the length of the straight-line segment connecting described starting point and described terminal before, described method also comprises:
That detects described starting point touches touching pressure and whether being all greater than predetermined threshold value of pressure and described terminal, if be all greater than described threshold value, detect described display screen whether to occur to specify posture changing event, if there is described appointment posture changing event in described display screen, whether the display frame detecting described display screen is Blank pictures, if described display frame is not described Blank pictures, perform the described step determining the length of the straight-line segment connecting described starting point and described terminal.
As the optional embodiment of one, whether the described display screen of described detection occurs to specify posture changing event, comprising:
Detect attitude residing for described display screen whether by perpendicular to surface level posture changing to being parallel to surface level attitude, if the attitude residing for described display screen by perpendicular to surface level posture changing to being parallel to surface level attitude, determine that described display screen occurs to specify posture changing event;
Or, detect attitude residing for described display screen whether by being parallel to surface level posture changing to perpendicular to surface level attitude, if the attitude residing for described display screen, by being parallel to surface level posture changing to perpendicular to surface level attitude, determines that described display screen occurs to specify posture changing event.
Embodiment of the present invention second aspect discloses a kind of user terminal, comprising:
Record cell, for being recorded in starting point and the terminal of the continuous path that the display screen of described user terminal inputs;
Length determination unit, for determining the length of the straight-line segment connecting described starting point and described terminal;
Area ratio determining unit, for determining the area ratio value of rectangular area using the length of described straight-line segment as two catercorner lengths and described display screen;
Direction-determining unit, for determining sense of rotation when described straight-line segment rotates to parallel with described X-axis or Y-axis with the minimum anglec of rotation;
Adjustment unit, for adjusting the size of the display frame of described display screen according to described sense of rotation and described area ratio value.
As the optional embodiment of one, described adjustment unit comprises:
Identification module, for identifying the type of described sense of rotation;
Generation module, when being clockwise direction for identifying the type of described sense of rotation at described identification module, generates amplifieroperation instruction;
Acquisition module, for responding described amplifieroperation instruction, obtains the predetermined coefficient of the numerical range binding belonging to described area ratio value as amplification coefficient; Wherein, described predetermined coefficient be greater than 0 and be less than 1 natural number;
Processing module, for according to described amplification coefficient, carries out amplification process to the size of the display frame of described display screen.
As the optional embodiment of one:
Described generation module, also for identifying the type of described sense of rotation at described identification module for time counterclockwise, generates reduction operation instruction;
Described acquisition module, also for obtaining the predetermined coefficient of the numerical range binding belonging to described area ratio value as coefficient of reduction;
Described processing module, also for according to described coefficient of reduction, reduces process to the size of the display frame of described display screen.
As the optional embodiment of one, described user terminal also comprises:
Detecting unit, after the starting point of continuous path that inputs on a display screen in described recording unit records and terminal, that detects described starting point touches touching pressure and whether being all greater than predetermined threshold value of pressure and described terminal, if be all greater than described threshold value, detect described display screen whether to occur to specify posture changing event, if described appointment posture changing event occurs described display screen, whether the display frame detecting described display screen is Blank pictures;
Described length determination unit, during specifically for detecting that at described detecting unit the display frame of described display screen is not Blank pictures, determines the length of the straight-line segment connecting described starting point and described terminal.
As the optional embodiment of one, whether described detecting unit detects described display screen and occurs to specify the mode of posture changing event to be specially:
Described detecting unit detect attitude residing for described display screen whether by perpendicular to surface level posture changing to being parallel to surface level attitude, if the attitude residing for described display screen by perpendicular to surface level posture changing to being parallel to surface level attitude, determine that described display screen occurs to specify posture changing event;
Or, described detecting unit detects attitude residing for described display screen whether by being parallel to surface level posture changing to perpendicular to surface level attitude, if the attitude residing for described display screen, by being parallel to surface level posture changing to perpendicular to surface level attitude, determines that described display screen occurs to specify posture changing event.
Compared with prior art, the embodiment of the present invention has following beneficial effect:
In the embodiment of the present invention, as long as user one finger inputs continuous path on a display screen, user terminal just can realize the size of the display frame zooming in or out display screen, thus can reduce the threshold of the display frame of mitigation and amplification display screen, improves user experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the method for a kind of control interface disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the method for another kind of control interface disclosed in the embodiment of the present invention;
Fig. 3 is the schematic diagram of the interactive interface of a kind of user terminal disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of a kind of user terminal disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of method and user terminal of control interface, the threshold that the display frame that can reduce display screen regulates.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of the method for a kind of control interface disclosed in the embodiment of the present invention.Wherein, in the method for the control interface shown in Fig. 1, user only needs employing one to point and input continuous path on the display screen of user terminal, and user terminal just can realize the size of the display frame zooming in or out display screen.As shown in Figure 1, the method for this control interface can comprise the following steps.
101, the starting point of continuous path that inputs on a display screen of user terminal record and terminal.
In the embodiment of the present invention, user terminal not only can comprise personal digital assistant (PersonalDigitalAssistant, PDA), mobile internet device (MobileInternetDevice, MID), all kinds of electronics with display screen such as Intelligent worn device (as intelligent watch, Intelligent bracelet), the embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, above-mentioned starting point and terminal can adopt the coordinate points (x, y) of display screen to represent.
In the embodiment of the present invention, can be provided with track sensor below the display screen of user terminal, wherein, track sensor can detect the continuous path that user inputs on a display screen, correspondingly, user terminal can the starting point of continuous path that detects of recording track sensor and terminal.
Alternatively, can also arrange pressure transducer below the display screen of user terminal, wherein, pressure transducer can gather the force value of a series of location points of this continuous path, correspondingly, user terminal can record the force value of a series of location points that pressure transducer detects.
102, the length of the straight-line segment of user terminal determination connection source and terminal.
In the embodiment of the present invention, starting point can adopt the coordinate points (x1 of display screen, y1) represent, and terminal can adopt the coordinate points (x2, y2) of display screen to represent, therefore, based on coordinate points (x1, y1) and coordinate points (x2, y2), user terminal can determine the length of the straight-line segment of connection source and terminal.
103, user terminal determines the area ratio value of rectangular area using the length of this straight-line segment as two catercorner lengths and display screen.
In the embodiment of the present invention, above-mentioned rectangular area can be rectangular region or square area, and the embodiment of the present invention is not construed as limiting.For example, user terminal by using the length of this straight-line segment as the area of the area of the rectangular region of two catercorner lengths divided by display screen, thus can obtain the area ratio value of the two.
104, sense of rotation when user terminal determines that this straight-line segment rotates to parallel with X-axis or Y-axis with the minimum anglec of rotation.
In the embodiment of the present invention, after user terminal determines the length of straight-line segment, can determine according to sense of rotation when descending the mode of the anglec of rotation to rotate to parallel with X-axis or Y-axis by straight-line segment most.Wherein, the type of sense of rotation can be clockwise direction or counter clockwise direction, and the embodiment of the present invention is not construed as limiting.
105, user terminal adjusts the size of the display frame of display screen according to this sense of rotation and this area ratio value.
As the optional embodiment of one, the concrete mode that user terminal adjusts the size of the display frame of display screen according to this sense of rotation and this area ratio value can be:
The type of this sense of rotation of user terminal identification, if the type of this sense of rotation is clockwise direction, so correspondingly, user terminal can generate amplifieroperation instruction; Further, user terminal can respond this amplifieroperation instruction, obtain this belonging to area ratio value numerical range binding predetermined coefficient as amplification coefficient; Wherein, predetermined coefficient be greater than 0 and be less than 1 natural number; On this basis, user terminal according to this amplification coefficient, can carry out amplification process to the size of the display frame of display screen.
In the embodiment of the present invention, if the type of this sense of rotation is that counterclockwise so correspondingly, user terminal can generate reduction operation instruction; Further, user terminal can respond this reduction operation instruction, obtain this belonging to area ratio value numerical range binding predetermined coefficient as coefficient of reduction; On this basis, user terminal according to coefficient of reduction, can reduce process to the size of the display frame of this display screen.
In the embodiment of the present invention, user terminal can obtain from local internal memory this belonging to area ratio value numerical range binding predetermined coefficient.
In the embodiment of the present invention, the amplifieroperation instruction that user terminal generates and reduction operation instruction can adopt the signal of varying level to represent, such as, high level signal represents amplifieroperation instruction, and low level signal represents reduction operation instruction, the embodiment of the present invention is not construed as limiting.
Visible, implement the method described by Fig. 1, as long as user one finger inputs continuous path on a display screen, user terminal just can realize the size of the display frame zooming in or out display screen, thus the threshold of the display frame of mitigation and amplification display screen can be reduced, improve user experience.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of the method for another kind of control interface disclosed in the embodiment of the present invention.Wherein, in the method for the control interface shown in Fig. 2, user only needs employing one to point and input continuous path on the display screen of user terminal, and user terminal just can realize the size of the display frame zooming in or out display screen.As shown in Figure 2, the method for this control interface can comprise the following steps.
201, the starting point of continuous path that inputs on a display screen of user terminal record and terminal.
In the embodiment of the present invention, above-mentioned starting point and terminal can adopt the coordinate points (x, y) of display screen to represent.
What 202, user terminal detected starting point touches touching pressure and whether being all greater than predetermined threshold value of pressure and terminal, if so, performs step 203; Otherwise, process ends.
In the embodiment of the present invention, when detect starting point touch pressure and/or terminal touch pressure be less than predetermined threshold value time, illustrate that continuous path is by false touch and input, now user terminal is without the need to making response.
203, whether user terminal detection display screen occurs to specify posture changing event, if display screen occurs to specify posture changing event, performs step 204; Otherwise, process ends.
In the embodiment of the present invention, when user terminal detection display screen does not occur to specify posture changing event, illustrate that continuous path is by false touch and input, now user terminal is without the need to making response.
As the optional embodiment of one, whether user terminal detection display screen occurs to specify the mode of posture changing event to be specifically as follows:
Attitude residing for detection display screen whether by perpendicular to surface level posture changing to being parallel to surface level attitude, if the attitude residing for display screen by perpendicular to surface level posture changing to being parallel to surface level attitude, determine that display screen occurs to specify posture changing event;
Or, whether the attitude residing for detection display screen is by being parallel to surface level posture changing to perpendicular to surface level attitude, if the attitude residing for display screen, by being parallel to surface level posture changing to perpendicular to surface level attitude, determines that display screen occurs to specify posture changing event.
204, whether the display frame of user terminal detection display screen is Blank pictures, if display frame is not Blank pictures, performs step 205; Otherwise, process ends.
In the embodiment of the present invention, when the display frame of user terminal detection display screen is Blank pictures, illustrate that continuous path is by false touch and input, now user terminal is without the need to making response.
205, the length of the straight-line segment of user terminal determination connection source and terminal.
In the embodiment of the present invention, starting point can adopt the coordinate points (x1 of display screen, y1) represent, and terminal can adopt the coordinate points (x2, y2) of display screen to represent, therefore, based on coordinate points (x1, y1) and coordinate points (x2, y2), user terminal can determine the length of the straight-line segment of connection source and terminal.
206, user terminal determines the area ratio value of rectangular area using the length of this straight-line segment as two catercorner lengths and display screen.
In the embodiment of the present invention, above-mentioned rectangular area can be rectangular region or square area, and the embodiment of the present invention is not construed as limiting.For example, as shown in Figure 3, user terminal can determine the length connecting the starting point of continuous path and the straight-line segment of terminal, and by using the length of this straight-line segment as the area of the area of the rectangular region of two catercorner lengths divided by display screen, thus can obtain the area ratio value of the two.
207, sense of rotation when user terminal determines that this straight-line segment rotates to parallel with X-axis or Y-axis with the minimum anglec of rotation.
In the embodiment of the present invention, after user terminal determines the length of straight-line segment, can determine according to sense of rotation when descending the mode of the anglec of rotation to rotate to parallel with X-axis or Y-axis by straight-line segment most.Wherein, the type of sense of rotation can be clockwise direction or counter clockwise direction, and the embodiment of the present invention is not construed as limiting.
208, user terminal adjusts the size of the display frame of display screen according to this sense of rotation and this area ratio value.
As the optional embodiment of one, in the method described by Fig. 2, user terminal after the display frame that detection display shields is not Blank pictures, and before execution step 205, first can perform following steps:
User terminal judges whether the wearable device of user terminal and user terminal binding all same action event occurs in preset duration, if there is same action event, performs step 205; Otherwise, process ends.
As the optional embodiment of one, user terminal judges that the mode whether wearable device of user terminal and user terminal binding same action event all occurs in preset duration can be:
Whether user terminal detection user terminal occurs first is got rid of action event, if user terminal occurs first get rid of action event, whether the wearable device detecting user terminal binding occurs second is got rid of action event, if wearable device occurs second get rid of action event, judge first get rid of that action event and second gets rid of that action event comprises whether get rid of direction of action identical, if it is identical to get rid of direction of action, judge that first gets rid of action event and second and get rid of whipping that action event comprises and make initial time and whether be all positioned at preset duration, and first gets rid of action event and second and gets rid of whipping that action event comprises and do to continue duration and whether be all positioned at preset duration, get rid of whipping that action event comprises and make initial time if first gets rid of action event and second and be all positioned at preset duration, and first gets rid of action event and second and gets rid of whipping that action event comprises and do to continue duration and be all positioned at preset duration, judge that first gets rid of action event and second and get rid of the difference that whipping that action event comprises makes initial time and whether be less than the first predetermined threshold value, get rid of the difference that whipping that action event comprises makes initial time be less than the first predetermined threshold value if first gets rid of action event and second, judge that first gets rid of action event and second and get rid of the difference that whipping that action event comprises makes to continue duration and whether be less than the second predetermined threshold value, get rid of the difference that whipping that action event comprises makes to continue duration be less than the second predetermined threshold value if first gets rid of action event and second, then judge that user terminal and wearable device all same action event occur in preset duration.
Obviously, by implementing aforesaid way, user terminal can promote the accuracy of the size of the display frame regulating display screen.
Visible, implement the method described by Fig. 2, as long as user one finger inputs continuous path on a display screen, and overturn user terminal, user terminal just can realize the size of the display frame zooming in or out display screen, thus the threshold of the display frame of mitigation and amplification display screen can be reduced, improve user experience.
Refer to Fig. 4, Fig. 4 is the structural representation of a kind of user terminal disclosed in the embodiment of the present invention.Wherein, user only needs employing one to point and input continuous path on the display screen of the user terminal shown in Fig. 4, and user terminal just can realize the size of the display frame zooming in or out display screen.As shown in Figure 4, this user terminal can comprise:
Record cell 401, for recording starting point and the terminal of the continuous path inputted on a display screen;
Length determination unit 402, for determining the length of the straight-line segment of connection source and terminal;
Area ratio determining unit 403, for determining the area ratio value of rectangular area using the length of this straight-line segment as two catercorner lengths and display screen;
Direction-determining unit 404, for determining sense of rotation when this straight-line segment rotates to parallel with X-axis or Y-axis with the minimum anglec of rotation;
Adjustment unit 405, for adjusting the size of the display frame of display screen according to sense of rotation and this area ratio value.
As the optional embodiment of one, as shown in Figure 4, adjustment unit 405 can comprise:
Identification module 4051, for identifying the type of sense of rotation;
Generation module 4052, when being clockwise direction for identifying the type of sense of rotation at identification module 4051, generates amplifieroperation instruction;
Acquisition module 4053, for responding amplifieroperation instruction, obtain this belonging to area ratio value numerical range binding predetermined coefficient as amplification coefficient; Wherein, predetermined coefficient be greater than 0 and be less than 1 natural number;
Processing module 4054, for according to amplification coefficient, carries out amplification process to the size of the display frame of display screen.
As the optional embodiment of one:
Generation module 4052, also for identifying the type of sense of rotation at identification module 4051 for time counterclockwise, generates reduction operation instruction;
Acquisition module 4053, also for responding reduction operation instruction, obtain this belonging to area ratio value numerical range binding predetermined coefficient as coefficient of reduction;
Processing module 4054, also for according to coefficient of reduction, reduces process to the size of the display frame of display screen.
In the embodiment of the present invention, user terminal can arrange the numerical range of multiple non-overlapping copies, and each numerical range can bind different predetermined coefficient, and the embodiment of the present invention is not construed as limiting.
As the optional embodiment of one, as shown in Figure 4, user terminal can also comprise:
Detecting unit 406, after the starting point that records the continuous path inputted on a display screen at record cell 401 and terminal, that detects starting point touches touching pressure and whether being all greater than predetermined threshold value of pressure and terminal, if be all greater than described threshold value, whether detection display screen occurs to specify posture changing event, if display screen occurs to specify posture changing event, whether the display frame of detection display screen is Blank pictures;
Length determination unit 402, when the display frame had for display screen being detected at detecting unit 306 is not Blank pictures, determines the length of the straight-line segment of connection source and terminal.
As the optional embodiment of one, in the user terminal described by Fig. 4, detecting unit 406, after the display frame that detection display shields is not Blank pictures, can judge whether the wearable device of user terminal and user terminal binding all same action event occurs in preset duration further;
Correspondingly, length determination unit 402, have for detecting that at detecting unit 406 display frame of display screen is not Blank pictures, and when judging that same action event all occurs the wearable device of user terminal and user terminal binding in preset duration, determine the first straight line simultaneously through connection source and terminal.
As the optional embodiment of one, detecting unit 406 judges that the mode whether wearable device of user terminal and user terminal binding same action event all occurs in preset duration can be:
Detecting unit 406 detects user terminal and whether occurs first and get rid of action event, if user terminal occurs first get rid of action event, whether the wearable device detecting user terminal binding occurs second is got rid of action event, if wearable device occurs second get rid of action event, judge first get rid of that action event and second gets rid of that action event comprises whether get rid of direction of action identical, if it is identical to get rid of direction of action, judge that first gets rid of action event and second and get rid of whipping that action event comprises and make initial time and whether be all positioned at preset duration, and first gets rid of action event and second and gets rid of whipping that action event comprises and do to continue duration and whether be all positioned at preset duration, get rid of whipping that action event comprises and make initial time if first gets rid of action event and second and be all positioned at preset duration, and first gets rid of action event and second and gets rid of whipping that action event comprises and do to continue duration and be all positioned at preset duration, judge that first gets rid of action event and second and get rid of the difference that whipping that action event comprises makes initial time and whether be less than the first predetermined threshold value, get rid of the difference that whipping that action event comprises makes initial time be less than the first predetermined threshold value if first gets rid of action event and second, judge that first gets rid of action event and second and get rid of the difference that whipping that action event comprises makes to continue duration and whether be less than the second predetermined threshold value, get rid of the difference that whipping that action event comprises makes to continue duration be less than the second predetermined threshold value if first gets rid of action event and second, then judge that user terminal and wearable device all same action event occur in preset duration.
Obviously, by implementing aforesaid way, user terminal can promote the accuracy of the size of the display frame regulating display screen.
As the optional embodiment of one, whether detecting unit 406 detection display screen occurs to specify the mode of posture changing event to be specifically as follows:
Attitude residing for detecting unit 406 detection display screen whether by perpendicular to surface level posture changing to being parallel to surface level attitude, if the attitude residing for display screen by perpendicular to surface level posture changing to being parallel to surface level attitude, determine that display screen occurs to specify posture changing event;
Or, whether the attitude residing for detecting unit 406 detection display screen is by being parallel to surface level posture changing to perpendicular to surface level attitude, if the attitude residing for display screen, by being parallel to surface level posture changing to perpendicular to surface level attitude, determines that display screen occurs to specify posture changing event.
Visible, implement the user terminal described by Fig. 4, as long as user one finger inputs continuous path on a display screen, and overturn user terminal, user terminal just can realize the size of the display frame zooming in or out display screen, thus the threshold of the display frame of mitigation and amplification display screen can be reduced, improve user experience.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, storage medium comprises ROM (read-only memory) (Read-OnlyMemory, ROM), random access memory (RandomAccessMemory, RAM), programmable read only memory (ProgrammableRead-onlyMemory, PROM), Erasable Programmable Read Only Memory EPROM (ErasableProgrammableReadOnlyMemory, EPROM), disposable programmable ROM (read-only memory) (One-timeProgrammableRead-OnlyMemory, OTPROM), the electronics formula of erasing can make carbon copies ROM (read-only memory) (Electrically-ErasableProgrammableRead-OnlyMemory, EEPROM), read-only optical disc (CompactDiscRead-OnlyMemory, or other optical disc memorys CD-ROM), magnetic disk memory, tape memory, or can be used in any other medium computer-readable carrying or store data.
Above the method for a kind of control interface disclosed in the embodiment of the present invention and user terminal are described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a method for control interface, is characterized in that, comprising:
Record starting point and the terminal of the continuous path inputted on a display screen;
Determine the length of the straight-line segment connecting described starting point and described terminal;
Determine the area ratio value of rectangular area using the length of described straight-line segment as two catercorner lengths and described display screen;
Determine sense of rotation when described straight-line segment rotates to parallel with described X-axis or Y-axis with the minimum anglec of rotation;
The size of the display frame of described display screen is adjusted according to described sense of rotation and described area ratio value.
2. method according to claim 1, is characterized in that, the described size adjusting the display frame of described display screen according to described sense of rotation and described area ratio value comprises:
Identify the type of described sense of rotation;
If the type of described sense of rotation is clockwise direction, generate amplifieroperation instruction;
Respond described amplifieroperation instruction, obtain the predetermined coefficient of the numerical range binding belonging to described area ratio value as amplification coefficient; Wherein, described predetermined coefficient be greater than 0 and be less than 1 natural number;
According to described amplification coefficient, amplification process is carried out to the size of the display frame of described display screen.
3. method according to claim 2, is characterized in that, described method also comprises:
If the type of described sense of rotation is counterclockwise, generate reduction operation instruction;
Respond described reduction operation instruction, obtain the predetermined coefficient of the numerical range binding belonging to described area ratio value as coefficient of reduction;
According to described coefficient of reduction, process is reduced to the size of the display frame of described display screen.
4. the method according to any one of claims 1 to 3, it is characterized in that, after the starting point of the continuous path that described record inputs on a display screen and terminal, and described determine the length of the straight-line segment connecting described starting point and described terminal before, described method also comprises:
That detects described starting point touches touching pressure and whether being all greater than predetermined threshold value of pressure and described terminal, if be all greater than described threshold value, detect described display screen whether to occur to specify posture changing event, if there is described appointment posture changing event in described display screen, whether the display frame detecting described display screen is Blank pictures, if described display frame is not described Blank pictures, perform the described step determining the length of the straight-line segment connecting described starting point and described terminal.
5. method according to claim 4, is characterized in that, whether the described display screen of described detection occurs to specify posture changing event, comprising:
Detect attitude residing for described display screen whether by perpendicular to surface level posture changing to being parallel to surface level attitude, if the attitude residing for described display screen by perpendicular to surface level posture changing to being parallel to surface level attitude, determine that described display screen occurs to specify posture changing event;
Or, detect attitude residing for described display screen whether by being parallel to surface level posture changing to perpendicular to surface level attitude, if the attitude residing for described display screen, by being parallel to surface level posture changing to perpendicular to surface level attitude, determines that described display screen occurs to specify posture changing event.
6. a user terminal, is characterized in that, comprising:
Record cell, for being recorded in starting point and the terminal of the continuous path that the display screen of described user terminal inputs;
Length determination unit, for determining the length of the straight-line segment connecting described starting point and described terminal;
Area ratio determining unit, for determining the area ratio value of rectangular area using the length of described straight-line segment as two catercorner lengths and described display screen;
Direction-determining unit, for determining sense of rotation when described straight-line segment rotates to parallel with described X-axis or Y-axis with the minimum anglec of rotation;
Adjustment unit, for adjusting the size of the display frame of described display screen according to described sense of rotation and described area ratio value.
7. user terminal according to claim 6, is characterized in that, described adjustment unit comprises:
Identification module, for identifying the type of described sense of rotation;
Generation module, when being clockwise direction for identifying the type of described sense of rotation at described identification module, generates amplifieroperation instruction;
Acquisition module, for responding described amplifieroperation instruction, obtains the predetermined coefficient of the numerical range binding belonging to described area ratio value as amplification coefficient; Wherein, described predetermined coefficient be greater than 0 and be less than 1 natural number;
Processing module, for according to described amplification coefficient, carries out amplification process to the size of the display frame of described display screen.
8. user terminal according to claim 7, is characterized in that:
Described generation module, also for identifying the type of described sense of rotation at described identification module for time counterclockwise, generates reduction operation instruction;
Described acquisition module, also for obtaining the predetermined coefficient of the numerical range binding belonging to described area ratio value as coefficient of reduction;
Described processing module, also for according to described coefficient of reduction, reduces process to the size of the display frame of described display screen.
9. the user terminal according to any one of claim 6 ~ 8, is characterized in that, also comprises:
Detecting unit, after the starting point of continuous path that inputs on a display screen in described recording unit records and terminal, that detects described starting point touches touching pressure and whether being all greater than predetermined threshold value of pressure and described terminal, if be all greater than described threshold value, detect described display screen whether to occur to specify posture changing event, if described appointment posture changing event occurs described display screen, whether the display frame detecting described display screen is Blank pictures;
Described length determination unit, during specifically for detecting that at described detecting unit the display frame of described display screen is not Blank pictures, determines the length of the straight-line segment connecting described starting point and described terminal.
10. user terminal according to claim 9, is characterized in that, whether described detecting unit detects described display screen and occur to specify the mode of posture changing event to be specially:
Described detecting unit detect attitude residing for described display screen whether by perpendicular to surface level posture changing to being parallel to surface level attitude, if the attitude residing for described display screen by perpendicular to surface level posture changing to being parallel to surface level attitude, determine that described display screen occurs to specify posture changing event;
Or, described detecting unit detects attitude residing for described display screen whether by being parallel to surface level posture changing to perpendicular to surface level attitude, if the attitude residing for described display screen, by being parallel to surface level posture changing to perpendicular to surface level attitude, determines that described display screen occurs to specify posture changing event.
CN201510741144.7A 2015-10-31 2015-10-31 A kind of method and user terminal for controlling picture Active CN105404464B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510741144.7A CN105404464B (en) 2015-10-31 2015-10-31 A kind of method and user terminal for controlling picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510741144.7A CN105404464B (en) 2015-10-31 2015-10-31 A kind of method and user terminal for controlling picture

Publications (2)

Publication Number Publication Date
CN105404464A true CN105404464A (en) 2016-03-16
CN105404464B CN105404464B (en) 2018-06-29

Family

ID=55469974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510741144.7A Active CN105404464B (en) 2015-10-31 2015-10-31 A kind of method and user terminal for controlling picture

Country Status (1)

Country Link
CN (1) CN105404464B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110456909A (en) * 2019-07-29 2019-11-15 惠州Tcl移动通信有限公司 Motor vibrations setting method, device, storage medium and terminal
CN115379246A (en) * 2021-05-21 2022-11-22 北京字节跳动网络技术有限公司 Live video stream playing method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622173A (en) * 2011-01-28 2012-08-01 三星电子株式会社 Apparatus and method for controlling screen displays in touch screen terminal
CN103902185A (en) * 2014-04-23 2014-07-02 锤子科技(北京)有限公司 Screen rotating method and device and mobile device
CN104182045A (en) * 2014-08-21 2014-12-03 深圳市中兴移动通信有限公司 Mobile terminal and display image adjusting method and device
CN104461232A (en) * 2014-09-30 2015-03-25 小米科技有限责任公司 Method and device for determining reduction scale in screen display process

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622173A (en) * 2011-01-28 2012-08-01 三星电子株式会社 Apparatus and method for controlling screen displays in touch screen terminal
CN103902185A (en) * 2014-04-23 2014-07-02 锤子科技(北京)有限公司 Screen rotating method and device and mobile device
CN104182045A (en) * 2014-08-21 2014-12-03 深圳市中兴移动通信有限公司 Mobile terminal and display image adjusting method and device
CN104461232A (en) * 2014-09-30 2015-03-25 小米科技有限责任公司 Method and device for determining reduction scale in screen display process

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110456909A (en) * 2019-07-29 2019-11-15 惠州Tcl移动通信有限公司 Motor vibrations setting method, device, storage medium and terminal
CN115379246A (en) * 2021-05-21 2022-11-22 北京字节跳动网络技术有限公司 Live video stream playing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN105404464B (en) 2018-06-29

Similar Documents

Publication Publication Date Title
US9684381B1 (en) Finger gesture recognition for touch sensing surface
US20130154999A1 (en) Multi-Surface Touch Sensor Device With User Action Detection
CN103488337B (en) A kind of method of adjusting sensitivity of touch screen in pad pasting situation
CN106249941B (en) Electronic device and control method thereof
US20120249448A1 (en) Method of identifying a gesture and device using the same
US20170242540A1 (en) Refreshing method of sensing baseline values for capacitive sensor device and capacitive sensor device
CN107219971A (en) A kind of methods of exhibiting and device for showing object
CN103492986A (en) Input device, input method, and recording medium
WO2015131630A1 (en) Replacement method and device for desktop icon
CN110909596B (en) Side face recognition method, device, equipment and storage medium
CN111679767B (en) Window expansion method and associated electronic device
WO2020147105A1 (en) Touch control screen temperature state detection method and apparatus, touch control chip and electronic device
CN105404464A (en) Image control method and user terminal
CN106249879A (en) The display packing of a kind of virtual reality image and terminal
CN107291367B (en) Use method and device of eraser
CN105425948A (en) Human-computer interaction method and user terminal
US20150160777A1 (en) Information processing method and electronic device
CN104808910A (en) Lock screen interface control method
CN105426075A (en) User terminal control method and user terminal
CN105988689A (en) Information display method and apparatus
CN105426090A (en) Display image control method and user terminal
KR101993257B1 (en) Apparatus of correcting touch input based on compensation hand vibration
CN105353908A (en) Picture control method and user terminal
CN105426101A (en) Display screen adjusting method and user terminal
CN105425949A (en) Touch screen 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
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

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

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

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