CN105426101B - A kind of display screen adjusting method and user terminal - Google Patents

A kind of display screen adjusting method and user terminal Download PDF

Info

Publication number
CN105426101B
CN105426101B CN201510738479.3A CN201510738479A CN105426101B CN 105426101 B CN105426101 B CN 105426101B CN 201510738479 A CN201510738479 A CN 201510738479A CN 105426101 B CN105426101 B CN 105426101B
Authority
CN
China
Prior art keywords
display screen
posture
straightway
point
horizontal plane
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510738479.3A
Other languages
Chinese (zh)
Other versions
CN105426101A (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 CN201510738479.3A priority Critical patent/CN105426101B/en
Publication of CN105426101A publication Critical patent/CN105426101A/en
Application granted granted Critical
Publication of CN105426101B publication Critical patent/CN105426101B/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
    • G06F3/04883Interaction 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

Abstract

The present embodiments relate to communication technique field, discloses a kind of display screen adjusting method and user terminal.This method includes:Record the first position point and second place point touched on a display screen;It is determined that connect the straightway of the first position point and the second place point;Judge whether the length of the straightway is less than the minimum value in the length and width of the display screen, if it is, determining the ratio value using the straightway as the size and the size of the display screen of the border circular areas of diameter;Determine the direction of rotation when straightway rotates to paralleled by X axis or Y-axis with the minimum anglec of rotation;The size of the display picture of the display screen is adjusted according to the direction of rotation and the ratio value.Implement the embodiment of the present invention, as long as piece finger of user touches two diverse location points of display screen, user terminal, so as to reduce the threshold of the display picture of amplification and diminution display screen, can improve user experience to realize the size for the display picture for zooming in or out display screen.

Description

A kind of display screen adjusting method and user terminal
Technical field
The present invention relates to communication technique field, and in particular to a kind of display screen adjusting method and user terminal.
Background technology
Continuous development and maturation with the communication technology, in the intelligent terminal become increasingly popular, particularly user terminal, use The individual demand at family is more and more.Existing user terminal, the display screen for the user terminal particularly carried with are relative also Be it is smaller, for myopia, presbyopia either the dysphotia such as amblyopia or need browse, thin portion observe display screen word, When picture, video, it will be not easy to observe the picture of display screen.In actual applications, typically touched simultaneously using two fingers Display screen simultaneously makees reverse slide to realize the amplification of display picture, and this mode requires that user must use two simultaneously Root finger, this invisible threshold for improving display screen regulation.
The content of the invention
The embodiment of the invention discloses a kind of display screen adjusting method and user terminal, can reduce the door that display screen is adjusted Sill.
First aspect of the embodiment of the present invention discloses a kind of display screen adjusting method, including:
Record the first position point and second place point touched on a display screen;
It is determined that connect the straightway of the first position point and the second place point;
Judge whether the length of the straightway is less than the minimum value in the length and width of the display screen, if it is, It is determined that using the straightway as the ratio value of the size and the size of the display screen of the border circular areas of diameter;
Determine the direction of rotation when straightway rotates to paralleled by X axis or Y-axis with the minimum anglec of rotation;
The size of the display picture of the display screen is adjusted according to the direction of rotation and the ratio value.
As an alternative embodiment, described adjust the display screen according to the direction of rotation and the ratio value The size of display picture include:
Identify the type of the direction of rotation;
If the type of the direction of rotation is clockwise, generation amplifieroperation instructs;
The amplifieroperation instruction is responded, the size of the display picture of the display screen is put according to the ratio value Big processing.
As an alternative embodiment, methods described also includes:
If the type of the direction of rotation is counterclockwise, generation reduction operation instructs;
The reduction operation instruction is responded, the size of the display picture of the display screen is contracted according to the ratio value Small processing.
As an alternative embodiment, described record the first position point and second place point touched on a display screen Afterwards, and before the straightway for determining the connection first position point and the second place point, methods described is also wrapped Include:
Detect the first position point touch pressure and second place point touch whether pressure is all higher than presetting Threshold value, if being all higher than the threshold value, detect whether the display screen occurs to specify posture changing event, if the display screen The generation specified posture changing event, whether the display picture for detecting the display screen is Blank pictures, if the display Picture is not the Blank pictures, performs the straightway for determining the connection first position point and the second place point Step.
As an alternative embodiment, whether the detection display screen occurs to specify posture changing event, bag Include:
Detect posture residing for the display screen whether by perpendicular to horizontal plane posture changing to parallel to horizontal plane posture, If the posture residing for the display screen perpendicular to horizontal plane posture changing by, to parallel to horizontal plane posture, determining the display Screen occurs to specify posture changing event;
Or detect posture residing for the display screen whether by parallel to horizontal plane posture changing to perpendicular to horizontal plane Posture, if the posture residing for the display screen parallel to horizontal plane posture changing by, to perpendicular to horizontal plane posture, determining institute Display screen is stated to occur to specify posture changing event.
Second aspect of the embodiment of the present invention discloses a kind of user terminal, including:
Position recording unit, for recording the first position point and second place point that touch on a display screen;
Straight line determining unit, for determining the straightway of the connection first position point and the second place point;
Judging unit, for judging whether the length of the straightway is less than in the length and width of the display screen most Small value;
Ratio-dependent unit, for the judging unit judged result for be when, it is determined that being straight using the straightway The ratio value of the size of the border circular areas in footpath and the size of the display screen;
Direction-determining unit, rotation during for determining that the straightway rotates to paralleled by X axis or Y-axis with the minimum anglec of rotation Turn direction;
Adjustment unit, for adjusted according to the direction of rotation and the ratio value display screen display picture it is big It is small.
As an alternative embodiment, the adjustment unit includes:
Identification module, for identifying the type of the direction of rotation;
Generation module, for when the type for identifying the direction of rotation of the identification module is clockwise direction, Generate amplifieroperation instruction;
Adjusting module, for responding the amplifieroperation instruction, according to display picture of the ratio value to the display screen The size in face is amplified processing.
As a kind of optional embodiment:
The generation module, it is additionally operable to identify the type of the direction of rotation for counterclockwise in the identification module When, generation reduction operation instruction;
The adjusting module, it is additionally operable to respond the reduction operation instruction, according to the ratio value to the display screen The size of display picture carries out diminution processing.
As an alternative embodiment, described user terminal also includes:
Detection unit, for the first position point and second touched on a display screen in the position recording unit records After putting a little, detect the first position point touch pressure and second place point touch whether pressure is all higher than presetting Threshold value, if being all higher than the threshold value, detect whether the display screen occurs to specify posture changing event, if the display screen The generation specified posture changing event, whether the display picture for detecting the display screen is Blank pictures;
The straight line determining unit, specifically for detecting that the display picture of the display screen is not in the detection unit During Blank pictures, it is determined that connecting the straightway of the first position point and the second place point.
As an alternative embodiment, the detection unit detects whether the display screen occurs to specify posture changing The mode of event is specially:
The detection unit detect posture residing for the display screen whether by perpendicular to horizontal plane posture changing to parallel In horizontal plane posture, if posture residing for the display screen by perpendicular to horizontal plane posture changing to parallel to horizontal plane appearance State, determine that the display screen occurs to specify posture changing event;
Or the detection unit detect posture residing for the display screen whether by parallel to horizontal plane posture changing to Perpendicular to horizontal plane posture, if posture residing for the display screen by parallel to horizontal plane posture changing to perpendicular to horizontal plane Posture, determine that the display screen occurs to specify posture changing event.
Compared with prior art, the embodiment of the present invention has the advantages that:
In the embodiment of the present invention, as long as piece finger of user touches two diverse location points of display screen, user terminal is just The size for the display picture for zooming in or out display screen can be realized, so as to reduce amplification and reduce the display picture of display screen The threshold in face, improve user experience.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it will use below required in embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 is a kind of schematic flow sheet of display screen adjusting method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another display screen adjusting method disclosed in the embodiment of the present invention;
Fig. 3 is a kind of structural representation 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, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made Example is applied, belongs to the scope of protection of the invention.
The embodiment of the invention discloses a kind of display screen adjusting method and user terminal, can reduce the door that display screen is adjusted Sill.It is described in detail individually below.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow sheet of display screen adjusting method disclosed in the embodiment of the present invention.Wherein, In the display screen adjusting method shown in Fig. 1, user only needs to go to touch two of the display screen of user terminal using a finger Diverse location point, user terminal can zoom in or out the size of the display picture of display screen with realization.As shown in figure 1, this is aobvious Display screen adjusting method may comprise steps of.
101st, the first position point and second place point that user terminal record touches on a display screen.
In the embodiment of the present invention, user terminal can not only include personal digital assistant (Personal Digital Assistant, PDA), mobile internet device (Mobile Internet Device, MID), Intelligent worn device (as intelligence Wrist-watch, Intelligent bracelet) etc. all kinds of electronics with display screen, the embodiment of the present invention be not construed as limiting.
In the embodiment of the present invention, above-mentioned first position point and second place point refer to two diverse locations on display screen Point.Wherein, location point can be represented using the coordinate points (x, y) of display screen.
In the embodiment of the present invention, it is continuous that first position point and second place point can be respectively that user inputs on screen The source location set of track and final position point.
102nd, user terminal determines the straightway of connection first position point and second place point.
In the embodiment of the present invention, first position point can be represented using the coordinate points (x1, y1) of display screen, and second Putting can a little use the coordinate points (x2, y2) of display screen represent, therefore, based on coordinate points (x1, y1) and coordinate points (x2, Y2), user terminal can determine to connect the straightway of first position point and second place point.For example, based on coordinate points (x1, y1) and coordinate points (x2, y2), user terminal can determine the straight line through first position point and second place point, and select Take the part of (including first position point and second place point) between first position point and second place point in the straight line As straightway.
103rd, user terminal judges whether the length of the straightway is less than the minimum value in the length and width of display screen, such as Fruit is to perform step 104;If not, terminate this flow.
104th, user terminal determines big as the size of the border circular areas of diameter and the area of display screen using the straightway Small ratio value.
In the embodiment of the present invention, in above-mentioned steps 103, when user terminal judges that the length of the straightway is less than display screen During minimum value in length and width, it can be ensured that size and display screen using the straightway as the border circular areas of diameter The ratio value of size is more than 0 and less than 1.
105th, user terminal determines the straightway with direction of rotation when most descending the anglec of rotation to rotate to paralleled by X axis or Y-axis.
In the embodiment of the present invention, after user terminal determines straightway, it can be incited somebody to action in the way of most the anglec of rotation is descended The straightway rotates to direction of rotation when paralleled by X axis or Y-axis.Wherein, the type of direction of rotation can be clockwise or Counterclockwise, the embodiment of the present invention is not construed as limiting.
106th, user terminal adjusts the size of the display picture of display screen according to direction of rotation and the ratio value.
As an alternative embodiment, user terminal adjusts the display of display screen according to direction of rotation and the ratio value The concrete mode of the size of picture can be:
User terminal identifies the type of the direction of rotation, if the type of the direction of rotation is clockwise, then corresponding Ground, user terminal can generate amplifieroperation instruction;Further, user terminal can respond amplifieroperation instruction, press Processing is amplified to the size of the display picture of display screen according to the ratio value.
In the embodiment of the present invention, if the type of the direction of rotation is counterclockwise, then correspondingly, user terminal can be with Generate reduction operation instruction;Further, user terminal can respond reduction operation instruction, aobvious to this according to the ratio value The size of the display picture of display screen carries out diminution processing.
As an example it is assumed that the ratio value is 0.3, and user terminal identifies that the type of the direction of rotation is side clockwise To, then user terminal can generate amplifieroperation instruction, and can respond amplifieroperation instruction, according to the ratio value The size of the display picture of 0.3 pair of display screen carries out 0.3 times of enhanced processing.
Again as an example it is assumed that the ratio value is 0.3, and user terminal identifies that the type of the direction of rotation is counterclockwise Direction, then user terminal can generate reduction operation instruction, and can respond reduction operation instruction, according to the ratio value The size of the display picture of 0.3 pair of display screen carries out 0.3 times of diminution processing.
In the embodiment of the present invention, the amplifieroperation instruction and reduction operation instruction of user terminal generation can use different electricity Flat signal represents that for example, 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.
It can be seen that implement the method described by Fig. 1, as long as piece finger of user touches two diverse location points of display screen, User terminal can be to realize the size for the display picture for zooming in or out display screen, so as to reduce amplification and reduce display The threshold of the display picture of screen, improve user experience.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet of another display screen adjusting method disclosed in the embodiment of the present invention.Its In, in the display screen adjusting method shown in Fig. 2, user only needs to go to touch the two of the display screen of user terminal using a finger Individual diverse location point, user terminal can zoom in or out the size of the display picture of display screen with realization.As shown in Fig. 2 should Display screen adjusting method may comprise steps of.
201st, the first position point and second place point that user terminal record touches on a display screen.
In the embodiment of the present invention, above-mentioned first position point and second place point refer to two diverse locations on display screen Point.Wherein, location point can be represented using the coordinate points (x, y) of display screen.
202nd, user terminal detection first position point touch pressure and second place point touch whether pressure is all higher than Predetermined threshold value, if it is, performing step 203;Conversely, terminate this flow.
In the embodiment of the present invention, when detect first position point touch pressure and/or second place point touch pressure During less than predetermined threshold value, illustrate first position point and second place point touch be by false touch and, now user terminal need not Respond.
203rd, whether user terminal detection display screen occurs to specify posture changing event, if display screen occurs to specify posture Conversion event, perform step 204;Conversely, terminate this flow.
In the embodiment of the present invention, when posture changing event does not occur to specify for user terminal detection display screen, illustrate first Location point and second place point touch be by false touch and, now user terminal need not respond.
As an alternative embodiment, whether user terminal detection display screen occurs to specify the side of posture changing event Formula is specifically as follows:
Detect posture residing for display screen whether by perpendicular to horizontal plane posture changing to parallel to horizontal plane posture, if Posture residing for display screen perpendicular to horizontal plane posture changing by, to parallel to horizontal plane posture, determining that display screen occurs to specify appearance State converts event;
Or detection display screen residing for posture whether by parallel to horizontal plane posture changing to perpendicular to horizontal plane appearance State, if the posture residing for display screen parallel to horizontal plane posture changing by, to perpendicular to horizontal plane posture, determining that display screen is sent out Raw specified posture changing event.
204th, whether the display picture of user terminal detection display screen is Blank pictures, is drawn if display picture is not blank Face, perform step 205;Conversely, terminate this flow.
In the embodiment of the present invention, when the display picture of user terminal detection display screen is Blank pictures, illustrate first Put a little and second place point touch be by false touch and, now user terminal need not respond.
205th, user terminal determines the straightway of connection first position point and second place point.
In the embodiment of the present invention, first position point can be represented using the coordinate points (x1, y1) of display screen, and second Putting can a little use the coordinate points (x2, y2) of display screen represent, therefore, based on coordinate points (x1, y1) and coordinate points (x2, Y2), user terminal can determine to connect the straightway of first position point and second place point.For example, based on coordinate points (x1, y1) and coordinate points (x2, y2), user terminal can determine the straight line through first position point and second place point, and select Take the part of (including first position point and second place point) between first position point and second place point in the straight line As straightway.
206th, user terminal judges whether the length of the straightway is less than the minimum value in the length and width of display screen, such as Fruit is to perform step 207;If not, terminate this flow.
207th, user terminal determines big as the size of the border circular areas of diameter and the area of display screen using the straightway Small ratio value.
208th, user terminal determines the straightway with direction of rotation when most descending the anglec of rotation to rotate to paralleled by X axis or Y-axis.
In the embodiment of the present invention, after user terminal determines straightway, it can be incited somebody to action in the way of most the anglec of rotation is descended The straightway rotates to direction of rotation when paralleled by X axis or Y-axis.Wherein, the type of direction of rotation can be clockwise or Counterclockwise, the embodiment of the present invention is not construed as limiting.
209th, user terminal adjusts the size of the display picture of display screen according to direction of rotation and the ratio value.
As an alternative embodiment, user terminal adjusts the display of display screen according to direction of rotation and the ratio value The concrete mode of the size of picture can be:
User terminal identifies the type of the direction of rotation, if the type of the direction of rotation is clockwise, then corresponding Ground, user terminal can generate amplifieroperation instruction;Further, user terminal can respond amplifieroperation instruction, press Processing is amplified to the size of the display picture of display screen according to the ratio value.
In the embodiment of the present invention, if the type of the direction of rotation is counterclockwise, then correspondingly, user terminal can be with Generate reduction operation instruction;Further, user terminal can respond reduction operation instruction, aobvious to this according to the ratio value The size of the display picture of display screen carries out diminution processing.
As an alternative embodiment, in the method described by Fig. 2, display of the user terminal in detection display screen After picture is not Blank pictures, and before step 205 is performed, following steps can be first carried out:
User terminal judges whether user terminal and the wearable device of user terminal binding occur in preset duration Same action event, in the event of same action event, perform step 205;Conversely, terminate this flow.
As an alternative embodiment, user terminal judges user terminal and the wearable device of user terminal binding The mode of same action event whether occurs in preset duration to be:
Whether user terminal detection user terminal, which occurs first, is got rid of action event, if user terminal occurs the first whipping and made Event, whether the wearable device of detection user terminal binding, which occurs second, is got rid of action event, is got rid of if wearable device occurs second Action event, judge first get rid of action event and the second whipping as event include whether get rid of direction of action identical, if whipping Make that direction is identical, judge first get rid of action event and the second whipping as the whipping that event includes make initial time whether be respectively positioned on it is pre- If in duration, and first get rid of action event and the second whipping as the whipping that event includes make duration whether be respectively positioned on it is default In duration, if first gets rid of action event and the second whipping is respectively positioned on preset duration as the whipping that event includes as initial time It is interior, and first get rid of action event and the second whipping is respectively positioned in preset duration as the whipping that event includes as duration, sentences Whether disconnected first gets rid of action event makees the difference of initial time less than the first default threshold with the second whipping as the whipping that event includes Value, if first gets rid of action event and the second whipping and make the difference of initial time as the whipping that event includes and be less than the first default threshold Value, judge first get rid of action event and the second whipping make as the whipping that event includes duration difference it is whether pre- less than second If threshold value, if first gets rid of action event and the second whipping and as the whipping that event includes makees the difference of duration to be less than second pre- If threshold value, then judge that same action event occurs in preset duration for user terminal and wearable device.
Obviously, by implementing aforesaid way, user terminal can lift the standard of the size of the display picture of regulation display screen Exactness.
It can be seen that implement the method described by Fig. 2, as long as piece finger of user touches two diverse location points of display screen, And user terminal is overturn, user terminal can zoom in or out the size of the display picture of display screen with realization, so as to To reduce the threshold of the display picture of amplification and diminution display screen, user experience is improved.
Referring to Fig. 3, Fig. 3 is a kind of structural representation of user terminal disclosed in the embodiment of the present invention.Wherein, user is only A finger need to be used to remove to touch two diverse location points of the display screen of user terminal shown in Fig. 3, user terminal can be with Realize the size for the display picture for zooming in or out display screen.As shown in figure 3, the user terminal can include:
Position recording unit 301, for recording the first position point and second place point that touch on a display screen;
Straight line determining unit 302, for determining the straightway of connection first position point and second place point;
Judging unit 303, for judging whether the length of the straightway is less than the minimum in the length and width of display screen Value;
Ratio-dependent unit 304, for judging unit 303 judged result for be when, it is determined that being straight using the straightway The ratio value of the size of the border circular areas in footpath and the size of display screen;
Direction-determining unit 305, during for determining that the straightway rotates to paralleled by X axis or Y-axis with the minimum anglec of rotation Direction of rotation;
Adjustment unit 306, the size of the display picture for adjusting display screen according to the direction of rotation and the ratio value.
As an alternative embodiment, as shown in figure 3, adjustment unit 306 can include:
Identification module 3061, for identifying the type of direction of rotation;
Generation module 3062, for when the type for identifying direction of rotation of identification module 3061 is clockwise direction, Generate amplifieroperation instruction;
Adjusting module 3063, for responding amplifieroperation instruction, according to the ratio value to the big of the display picture of display screen It is small to be amplified processing.
As a kind of optional embodiment:
Generation module 3062, it is additionally operable to when it is counter clockwise direction that identification module 3061, which identifies the type of direction of rotation, Generate reduction operation instruction;
Adjusting module 3063, it is additionally operable to respond reduction operation instruction, according to the ratio value to the display picture of display screen Size carries out diminution processing.
As an alternative embodiment, as shown in figure 3, user terminal can also include:
Detection unit 307, for recording the first position touched on a display screen point and second in position recording unit 301 After location point, detection first position point touch pressure and second place point touch whether pressure is all higher than predetermined threshold value, If being all higher than the threshold value, whether detection display screen occurs to specify posture changing event, if display screen occurs to specify posture Conversion event, whether the display picture for detecting display screen is Blank pictures;
Straight line determining unit 302, the display picture specifically for detecting display screen in detection unit 307 are not that blank is drawn During face, it is determined that the straightway of connection first position point and the second place point.
As an alternative embodiment, in the user terminal described by Fig. 3, detection unit 307 is shown in detection After the display picture of screen is not Blank pictures, it can further judge that user terminal and the wearing of user terminal binding are set It is standby whether same action event to occur in preset duration;
Correspondingly, straight line determining unit 302, specifically for detecting the display picture of display screen in detection unit 307 not It is Blank pictures, and judges that same action occurs in preset duration for user terminal and the wearable device of user terminal binding During event, it is determined that the straightway of connection first position point and the second place point.
As an alternative embodiment, detection unit 307 judges user terminal and the wearing of user terminal binding The mode whether equipment occurs same action event in preset duration can be:
Whether the detection user terminal of detection unit 307, which occurs first, is got rid of action event, is got rid of if user terminal occurs first Whether action event, the wearable device of detection user terminal binding occur second and get rid of action event, if wearable device occurs the Two get rid of action event, judge first get rid of action event and the second whipping as event include whether get rid of direction of action identical, if Get rid of that direction of action is identical, judge that first gets rid of action event and the second whipping and make the whether equal position of initial time as the whipping that event includes In in preset duration, and first gets rid of action event and the second whipping and makees whether duration is respectively positioned on as the whipping that event includes In preset duration, if first get rid of action event and the second whipping as the whipping that event includes as initial time be respectively positioned on default when In length, and first gets rid of action event and the second whipping is respectively positioned in preset duration as the whipping that event includes as duration, Judge that first gets rid of action event and the second whipping and as the whipping that event includes make the difference of initial time whether to be less than first default Threshold value, if first gets rid of action event and the second whipping and as the whipping that event includes make the difference of initial time to be less than first default Threshold value, judges first gets rid of action event and the second whipping and make the difference of duration as the whipping that event includes whether be less than second Predetermined threshold value, if first gets rid of action event and the second whipping and make the difference of duration as the whipping that event includes and be less than second Predetermined threshold value, then judge that same action event occurs in preset duration for user terminal and wearable device.
Obviously, by implementing aforesaid way, user terminal can lift the standard of the size of the display picture of regulation display screen Exactness.
As an alternative embodiment, detection unit 307 detects whether display screen occurs to specify posture changing event Mode be specifically as follows:
Detection unit 307 detect display screen residing for posture whether by perpendicular to horizontal plane posture changing to parallel to level Face posture, if posture residing for display screen by perpendicular to horizontal plane posture changing to parallel to horizontal plane posture, it is determined that display Screen occurs to specify posture changing event;
Or detection unit 307 detect display screen residing for posture whether by parallel to horizontal plane posture changing to vertically In horizontal plane posture, if posture residing for display screen by parallel to horizontal plane posture changing to perpendicular to horizontal plane posture, really Determine display screen to occur to specify posture changing event.
It can be seen that the user terminal described by implementing Fig. 3, as long as piece finger of user touches two diverse locations of display screen Point, and user terminal is overturn, user terminal can zoom in or out the size of the display picture of display screen with realization, so as to Amplification can be reduced and reduce the threshold of the display picture of display screen, 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 can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage Medium include read-only storage (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only storage (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only storage (Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can For carrying or any other computer-readable medium of data storage.
A kind of display screen adjusting method and user terminal disclosed in the embodiment of the present invention are described in detail above, this Apply specific case in text to be set forth the principle and embodiment of the present invention, the explanation of above example is only intended to Help to understand method and its core concept of the invention;Meanwhile for those of ordinary skill in the art, the think of according to the present invention Think, in specific embodiments and applications there will be changes, in summary, this specification content should not be construed as pair The limitation of the present invention.

Claims (6)

  1. A kind of 1. display screen adjusting method, it is characterised in that including:
    The first position point and second place point touched on a display screen is recorded, the first position point is that user is defeated on screen The source location set of the continuous path entered, the second place point are the final position for the continuous path that user inputs in screen Point;
    It is determined that connect the straightway of the first position point and the second place point;
    Judge whether the length of the straightway is less than the minimum value in the length and width of the display screen, if it is, determining Ratio value using the straightway as the size and the size of the display screen of the border circular areas of diameter;
    Determine the direction of rotation when straightway rotates to paralleled by X axis or Y-axis with the minimum anglec of rotation;
    Identify the type of the direction of rotation;
    If the type of the direction of rotation is clockwise, generation amplifieroperation instructs;
    The amplifieroperation instruction is responded, place is amplified to the size of the display picture of the display screen according to the ratio value Reason;
    If the type of the direction of rotation is counterclockwise, generation reduction operation instructs;
    The reduction operation instruction is responded, the size of the display picture of the display screen is carried out at diminution according to the ratio value Reason.
  2. 2. according to the method for claim 1, it is characterised in that it is described record the first position point that touches on a display screen and After the point of the second place, and before the straightway for determining the connection first position point and the second place point, institute Stating method also includes:
    Detect the first position point touch pressure and second place point touch whether pressure is all higher than predetermined threshold value, If being all higher than the threshold value, detect whether the display screen occurs to specify posture changing event, if the display screen occurs The specified posture changing event, whether the display picture for detecting the display screen is Blank pictures, if the display picture It is not the Blank pictures, performs the step for determining to connect the first position point and the straightway of the second place point Suddenly.
  3. 3. according to the method for claim 2, it is characterised in that whether the detection display screen occurs to specify posture to become Event is changed, including:
    Detect posture residing for the display screen whether by perpendicular to horizontal plane posture changing to parallel to horizontal plane posture, such as Posture residing for display screen described in fruit perpendicular to horizontal plane posture changing by, to parallel to horizontal plane posture, determining the display screen Occur to specify posture changing event;
    Or detect posture residing for the display screen whether by parallel to horizontal plane posture changing to perpendicular to horizontal plane appearance State, if posture residing for the display screen by parallel to horizontal plane posture changing to perpendicular to horizontal plane posture, it is determined that described Display screen occurs to specify posture changing event.
  4. A kind of 4. user terminal, it is characterised in that including:
    Position recording unit, for recording the first position point and second place point that touch on a display screen, the first position The source location set for the continuous path that point inputs for user on screen, the second place point are the company that user inputs in screen The final position point of continuous track;
    Straight line determining unit, for determining the straightway of the connection first position point and the second place point;
    Judging unit, for judging whether the length of the straightway is less than the minimum in the length and width of the display screen Value;
    Ratio-dependent unit, for the judging unit judged result for be when, it is determined that using the straightway as diameter The ratio value of the size of border circular areas and the size of the display screen;
    Direction-determining unit, rotation side during for determining that the straightway rotates to paralleled by X axis or Y-axis with the minimum anglec of rotation To;
    Identification module, for identifying the type of the direction of rotation;
    Generation module, when the type for identifying the direction of rotation in the identification module is clockwise direction, generation is put Big operational order, when it is counter clockwise direction that the identification module, which identifies the type of the direction of rotation, generate reduction operation Instruction;
    Adjusting module, for responding amplifieroperation instruction, according to the ratio value to the display picture of the display screen Size is amplified processing or responds reduction operation instruction, according to the ratio value to the display picture of the display screen Size carries out diminution processing.
  5. 5. user terminal according to claim 4, it is characterised in that also include:
    Detection unit, for the first position point and second place point touched on a display screen in the position recording unit records Afterwards, detect the first position point touch pressure and second place point touch whether pressure is all higher than default threshold Value, if being all higher than the threshold value, detect whether the display screen occurs to specify posture changing event, if the display screen is sent out The raw specified posture changing event, whether the display picture for detecting the display screen is Blank pictures;
    The straight line determining unit, the display picture specifically for detecting the display screen in the detection unit are not blank During picture, it is determined that connecting the straightway of the first position point and the second place point.
  6. 6. user terminal according to claim 5, it is characterised in that the detection unit detects whether the display screen is sent out The mode of raw specified posture changing event is specially:
    The detection unit detect posture residing for the display screen whether by perpendicular to horizontal plane posture changing to parallel to water Plane posture, if posture residing for the display screen by perpendicular to horizontal plane posture changing to parallel to horizontal plane posture, really The fixed display screen occurs to specify posture changing event;
    Or the detection unit detect posture residing for the display screen whether by parallel to horizontal plane posture changing to vertically In horizontal plane posture, if posture residing for the display screen by parallel to horizontal plane posture changing to perpendicular to horizontal plane appearance State, determine that the display screen occurs to specify posture changing event.
CN201510738479.3A 2015-10-31 2015-10-31 A kind of display screen adjusting method and user terminal Active CN105426101B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510738479.3A CN105426101B (en) 2015-10-31 2015-10-31 A kind of display screen adjusting method and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510738479.3A CN105426101B (en) 2015-10-31 2015-10-31 A kind of display screen adjusting method and user terminal

Publications (2)

Publication Number Publication Date
CN105426101A CN105426101A (en) 2016-03-23
CN105426101B true CN105426101B (en) 2018-01-23

Family

ID=55504337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510738479.3A Active CN105426101B (en) 2015-10-31 2015-10-31 A kind of display screen adjusting method and user terminal

Country Status (1)

Country Link
CN (1) CN105426101B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101498985A (en) * 2008-01-30 2009-08-05 义隆电子股份有限公司 Touch control panel for multi-object operation and its use method
CN103186341A (en) * 2012-01-03 2013-07-03 深圳富泰宏精密工业有限公司 System and method for controlling zooming and rotation of file on touch screen
CN104182045A (en) * 2014-08-21 2014-12-03 深圳市中兴移动通信有限公司 Mobile terminal and display image adjusting method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101092841B1 (en) * 2009-12-29 2011-12-14 (주)엑시스 소프트웨어 엔지니어링 Computing apparatus for recognizing touch input
CN104461232A (en) * 2014-09-30 2015-03-25 小米科技有限责任公司 Method and device for determining reduction scale in screen display process

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101498985A (en) * 2008-01-30 2009-08-05 义隆电子股份有限公司 Touch control panel for multi-object operation and its use method
CN103186341A (en) * 2012-01-03 2013-07-03 深圳富泰宏精密工业有限公司 System and method for controlling zooming and rotation of file on touch screen
CN104182045A (en) * 2014-08-21 2014-12-03 深圳市中兴移动通信有限公司 Mobile terminal and display image adjusting method and device

Also Published As

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

Similar Documents

Publication Publication Date Title
EP2857944B1 (en) Mobile communication terminal, screen adjusting method and storage medium
CN103488337B (en) A kind of method of adjusting sensitivity of touch screen in pad pasting situation
US10223133B2 (en) Methods and systems for detecting a user and intelligently altering user device settings
CN111061412B (en) Playing control method and device for multimedia resources
US20140089842A1 (en) Method and device for interface display
KR101813061B1 (en) Data reporting method and apparatus, and terminal device
US10678303B2 (en) Method for controlling electronic device and electronic device
CN103076953B (en) A kind of method of subscriber terminal equipment preview picture file and subscriber terminal equipment
CN109697265B (en) Page returning method and device
TW201229876A (en) Force sensing touch screen
CN105279459A (en) Terminal anti-peeping method and mobile terminal
CN108536370B (en) Input interface switching method and device and electronic equipment
CN104809402A (en) Fuzzy display method for information and terminal
WO2017185648A1 (en) Method and apparatus for protecting user information
US20150109102A1 (en) Apparatus and method for providing security keypad through shift of keypad
CN105204759A (en) Picture processing method and electronic terminal
CN108958577A (en) Window operation method, apparatus, wearable device and medium based on wearable device
CN106980379A (en) A kind of display methods and terminal
CN109104521B (en) Method and device for correcting approaching state, mobile terminal and storage medium
CN105426101B (en) A kind of display screen adjusting method and user terminal
WO2020135397A1 (en) Screen display control method and apparatus
CN105404464B (en) A kind of method and user terminal for controlling picture
CN105611143B (en) The photographic method and electronic equipment of a kind of electronic equipment
CN105988689A (en) Information display method and apparatus
CN105425948B (en) A kind of man-machine interaction 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

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.

CP01 Change in the name or title of a patent holder