CN105353908B - A kind of menu control method and user terminal - Google Patents

A kind of menu control method and user terminal Download PDF

Info

Publication number
CN105353908B
CN105353908B CN201510738460.9A CN201510738460A CN105353908B CN 105353908 B CN105353908 B CN 105353908B CN 201510738460 A CN201510738460 A CN 201510738460A CN 105353908 B CN105353908 B CN 105353908B
Authority
CN
China
Prior art keywords
display screen
straight line
position point
point
posture
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
CN201510738460.9A
Other languages
Chinese (zh)
Other versions
CN105353908A (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 CN201510738460.9A priority Critical patent/CN105353908B/en
Publication of CN105353908A publication Critical patent/CN105353908A/en
Application granted granted Critical
Publication of CN105353908B publication Critical patent/CN105353908B/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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers

Abstract

The present embodiments relate to communication technique field, discloses a kind of menu control 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 the first straight line also cross the first position point and the second place point;It is determined that through the first position point and parallel to X-axis or the second straight line of Y-axis;Determine the direction of rotation when first straight line rotates to overlapping with the second straight line with the minimum anglec of rotation;Determine to connect the length of the straightway of the first position point and the second place point in the first straight line;The size of the display picture of display screen according to the length adjustment of the direction of rotation and the straightway.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 menu control method and user terminal
Technical field
The present invention relates to communication technique field, and in particular to a kind of menu control 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, the threshold of this invisible display picture regulation for improving display screen.
The content of the invention
The embodiment of the invention discloses a kind of menu control method and user terminal, the display picture of display screen can be reduced The threshold of regulation.
First aspect of the embodiment of the present invention discloses a kind of menu control method, including:
Record the first position point and second place point touched on a display screen;
It is determined that the first straight line also cross the first position point and the second place point;
It is determined that through the first position point and parallel to X-axis or the second straight line of Y-axis;
Determine the direction of rotation when first straight line rotates to overlapping with the second straight line with the minimum anglec of rotation;
Determine to connect the length of the straightway of the first position point and the second place point in the first straight line;
The size of the display picture of display screen according to the length adjustment of the direction of rotation and the straightway.
It is as an alternative embodiment, described according to the length adjustment of the direction of rotation and the straightway The size of the display picture of display screen includes:
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, calculates the length of the straightway and the product of predetermined coefficient, is as amplification Number;Wherein, the predetermined coefficient is the natural number more than 0 and less than 1;
According to the amplification coefficient, processing is amplified to the size of the display picture of the display screen.
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 length of the straightway and the product of the predetermined coefficient are calculated, as contracting Small coefficient;
According to the coefficient of reduction, diminution processing is carried out to the size of the display picture of the display screen.
As an alternative embodiment, described record the first position point and second place point touched on a display screen Afterwards, and it is described determine the first straight line also cross the first position point and the second place point before, the side Method also includes:
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 first of the determination also cross the first position point with the second place point The step of straight line.
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;
First straight line determining unit, for determining first also cross the first position point and the second place point Straight line;
Second straight line determining unit is straight for second of determination through the first position point and parallel to X-axis or Y-axis Line;
Direction-determining unit, for determining that the first straight line is rotated to and the second straight line weight with the minimum anglec of rotation Direction of rotation when folded;
Length determination unit, for determining to connect the first position point and the second place point in the first straight line Straightway length;
Adjustment unit, the display picture for display screen described in the length adjustment according to the direction of rotation and the straightway The size in face.
As an alternative embodiment, the adjustment unit includes:
Identification module, for identifying the type of the direction of rotation;
Generation module, it is raw when the type for identifying the direction of rotation in the identification module is clockwise direction Instructed into amplifieroperation;
Computing module, for responding the amplifieroperation instruction, calculate the length of the straightway and multiplying for predetermined coefficient Product, as amplification coefficient;Wherein, the predetermined coefficient is the natural number more than 0 and less than 1;
Processing module, for according to the amplification coefficient, place to be amplified to the size of the display picture of the display screen Reason.
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 computing module, be additionally operable to respond the reduction operation instruction, calculate the length of the straightway with it is described pre- If the product of coefficient, as coefficient of reduction;
The processing module, it is additionally operable to according to the coefficient of reduction, the size of the display picture of the display screen is carried out Diminution is handled.
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 first straight line determining unit, the display picture specifically for detecting the display screen in the detection unit When not being Blank pictures, it is determined that connecting the first straight line 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 menu control method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another menu control 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 menu control method and user terminal, the display picture of display screen can be reduced The threshold of regulation.It is described in detail individually below.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow sheet of menu control method disclosed in the embodiment of the present invention.Wherein, exist In menu control method shown in Fig. 1, user only needs to go to touch two differences of the display screen of user terminal using a finger 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, the picture control Method processed 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, above-mentioned first position point and second place point can be that user inputs on a display screen The beginning and end of continuous path.
102nd, user terminal determines the first straight line also cross 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 the straight line also cross first position point and second place point.
103rd, user terminal is determined through first position point and parallel to X-axis or the second straight line of Y-axis.
104th, user terminal determines that first straight line rotates to the rotation side with second straight line when overlapping with the minimum anglec of rotation To.
In the embodiment of the present invention, user terminal is determined after first straight line, it may be determined that according to most descending the anglec of rotation Mode rotates to first straight line the direction of rotation with second straight line when overlapping.Wherein, the type of direction of rotation can be up time Pin direction or counter clockwise direction, the embodiment of the present invention are not construed as limiting.
105th, user terminal determines to connect the length of first position point and the straightway of second place point in first straight line.
For example, the coordinate points (x2, y2) of coordinate points (x1, y1) and second place point based on first position point, use Family terminal can determine the straight line through first position point and second place point, and choose in the straight line and be located at first position point The part of (including first position point and second place point) is as straightway between the point of the second place;Correspondingly, user terminal The length of the straightway can be determined.
106th, user terminal is according to the direction of rotation and the size of the display picture of the length adjustment display screen of the straightway.
As an alternative embodiment, user terminal is shown according to the length adjustment of the direction of rotation and the straightway The concrete mode of the size of the display picture of screen 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, meter The length of the straightway and the product of predetermined coefficient are calculated, as amplification coefficient;Wherein, predetermined coefficient is oneself more than 0 and less than 1 So number;On this basis, user terminal can be amplified place according to the amplification coefficient to the size of the display picture of display screen Reason.
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, calculate the length of the straightway With the product of the predetermined coefficient, as coefficient of reduction;On this basis, user terminal can be according to coefficient of reduction, to the display The size of the display picture of screen carries out diminution processing.
As an example it is assumed that the length of the straightway is 5cm, the predetermined coefficient is 0.5, and user terminal identifies the rotation Turn the type in direction as clockwise, then user terminal can generate amplifieroperation instruction, and can respond the amplification Operational order, calculate the length (i.e. 5cm) of the straightway and make with the product 2.5 (i.e. 5*0.5=2.5) of predetermined coefficient (i.e. 0.5) For amplification coefficient;On this basis, user terminal can be according to the amplification coefficient 2.5, to the size of the display picture of display screen Carry out 2.5 times of enhanced processing.
Again as an example it is assumed that the length of the straightway is 5cm, the predetermined coefficient is 0.5, and user terminal identification should The type of direction of rotation is counterclockwise, then user terminal can generate reduction operation instruction, and can respond the contracting Small operational order, calculate the length (i.e. 5cm) of the straightway and the product 2.5 (i.e. 5*0.5=2.5) of predetermined coefficient (i.e. 0.5) As coefficient of reduction;On this basis, user terminal can be according to the coefficient of reduction 2.5, to the big of the display picture of display screen The small diminution processing for carrying out 2.5 times.
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 menu control method disclosed in the embodiment of the present invention.Wherein, In the menu control method shown in Fig. 2, user only needs to go to touch two of the display screen of user terminal not using a finger Same 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 the picture Control 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 first straight line also cross 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 the straight line also cross first position point and second place point.
206th, user terminal is determined through first position point and parallel to X-axis or the second straight line of Y-axis.
207th, user terminal determines that first straight line rotates to the rotation side with second straight line when overlapping with the minimum anglec of rotation To.
In the embodiment of the present invention, user terminal is determined after first straight line, it may be determined that according to most descending the anglec of rotation Mode rotates to first straight line the direction of rotation with second straight line when overlapping.Wherein, the type of direction of rotation can be up time Pin direction or counter clockwise direction, the embodiment of the present invention are not construed as limiting.
208th, user terminal determines to connect the length of first position point and the straightway of second place point in first straight line.
For example, the coordinate points (x2, y2) of coordinate points (x1, y1) and second place point based on first position point, use Family terminal can determine the straight line through first position point and second place point, and choose in the straight line and be located at first position point The part of (including first position point and second place point) is as straightway between the point of the second place;Correspondingly, user terminal The length of the straightway can be determined.
209th, user terminal is according to the direction of rotation and the size of the display picture of the length adjustment display screen of the straightway.
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;
First straight line determining unit 302, for determining the first straight line also cross first position point and second place point;
Second straight line determining unit 303, for determining through first position point and parallel to X-axis or the second straight line of Y-axis;
Direction-determining unit 304, during for determining that first straight line rotates to overlapping with second straight line with the minimum anglec of rotation Direction of rotation;
Length determination unit 305, for determining the straightway of connection first position point and second place point in first straight line Length;
Adjustment unit 306, for the size according to direction of rotation and the display picture of the length adjustment display screen of straightway.
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, it is raw when the type for identifying direction of rotation in identification module 3061 is clockwise direction Instructed into amplifieroperation;
Computing module 3063, for responding amplifieroperation instruction, the length of straightway and the product of predetermined coefficient are calculated, is made For amplification coefficient;Wherein, predetermined coefficient is the natural number more than 0 and less than 1;
Processing module 3064, for according to amplification coefficient, processing to be amplified to the size of the display picture of display screen.
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;
Computing module 3063, it is additionally operable to respond reduction operation instruction, calculates the length of straightway and the product of predetermined coefficient, As coefficient of reduction;
Processing module 3064, it is additionally operable to according to coefficient of reduction, diminution processing is carried out to the size of the display picture of display screen.
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;
First straight line determining unit 302, have and be used to detect that the display picture of display screen is not empty in detection unit 307 During white picture, it is determined that the first straight line also cross first position point and 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, first straight line determining unit 302, there is the display picture for being used for that display screen to be detected in detection unit 307 Face is not Blank pictures, and judge user terminal and user terminal binding wearable device occur in preset duration it is same During action event, it is determined that the first straight line also cross connection first position point and 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 menu control method and user terminal disclosed in the embodiment of the present invention are described in detail above, herein In apply specific case to the present invention principle and embodiment be set forth, the explanation of above example is only intended to help Assistant solves the method and its core concept of the present 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 (8)

  1. A kind of 1. menu control method, it is characterised in that including:
    Record the first position point and second place point touched on a display screen;
    Detect the first position point touch pressure and second place point touch whether pressure is all higher than predetermined threshold value;
    If the first position point touch pressure and the pressure of touching of second place point is all higher than predetermined threshold value, really The fixed first straight line also cross the first position point and the second place point;
    It is determined that through the first position point and parallel to X-axis or the second straight line of Y-axis;
    Determine the direction of rotation when first straight line rotates to overlapping with the second straight line with the minimum anglec of rotation;
    Determine to connect the length of the straightway of the first position point and the second place point in the first straight line;
    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 length of the straightway and the product of predetermined coefficient are calculated, as amplification coefficient;Its In, the predetermined coefficient is the natural number more than 0 and less than 1;
    According to the amplification coefficient, processing is amplified to the size of the display picture of the display screen.
  2. 2. according to the method for claim 1, it is characterised in that methods described also includes:
    If the type of the direction of rotation is counterclockwise, generation reduction operation instructs;
    The reduction operation instruction is responded, calculates the length of the straightway and the product of the predetermined coefficient, is as reducing Number;
    According to the coefficient of reduction, diminution processing is carried out to the size of the display picture of the display screen.
  3. 3. according to the method described in any one of claim 1~2, it is characterised in that described to record the touched on a display screen After one location point and second place point, and the determination is also cross the first position point and the second place point Before first straight line, methods described 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 first straight line determined also cross the first position point and the second place point The step of.
  4. 4. according to the method for claim 3, 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, if Posture residing for the display screen perpendicular to horizontal plane posture changing by, to parallel to horizontal plane posture, determining the display screen hair Raw specified 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.
  5. A kind of 5. 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;
    Detection unit, detect the first position point touch pressure and second place point touch whether pressure is all higher than Predetermined threshold value;
    First straight line determining unit, if first position point touch pressure and second place point to touch pressure equal More than predetermined threshold value, then it is used to determine the first straight line also cross the first position point and the second place point;
    Second straight line determining unit, if first position point touch pressure and second place point to touch pressure equal More than predetermined threshold value, then it is used to determine through the first position point and parallel to X-axis or the second straight line of Y-axis;
    Direction-determining unit, if first position point touch pressure and the pressure of touching of second place point is all higher than Predetermined threshold value, then it is used to determine the rotation when first straight line rotates to overlapping with the second straight line with the minimum anglec of rotation Direction;
    Length determination unit, if first position point touch pressure and the pressure of touching of second place point is all higher than Predetermined threshold value, then it is used to determine to connect the straightway of the first position point and the second place point in the first straight line Length;
    Adjustment unit, for the display picture of display screen described in the length adjustment according to the direction of rotation and the straightway Size;
    The adjustment unit includes:
    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;
    Computing module, for responding the amplifieroperation instruction, the length of the straightway and the product of predetermined coefficient are calculated, is made For amplification coefficient;Wherein, the predetermined coefficient is the natural number more than 0 and less than 1;
    Processing module, for according to the amplification coefficient, processing to be amplified to the size of the display picture of the display screen.
  6. 6. user terminal according to claim 5, it is characterised in that:
    The generation module, it is additionally operable to when it is counter clockwise direction that the identification module, which identifies the type of the direction of rotation, Generate reduction operation instruction;
    The computing module, it is additionally operable to respond the reduction operation instruction, calculates the length of the straightway and the default system Several product, as coefficient of reduction;
    The processing module, it is additionally operable to, according to the coefficient of reduction, reduce the size of the display picture of the display screen Processing.
  7. 7. according to the user terminal described in any one of claim 5~6, it is characterised in that
    The 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 first 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 first straight line of the first position point and the second place point.
  8. 8. user terminal according to claim 7, 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.
CN201510738460.9A 2015-10-31 2015-10-31 A kind of menu control method and user terminal Active CN105353908B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510738460.9A CN105353908B (en) 2015-10-31 2015-10-31 A kind of menu control method and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510738460.9A CN105353908B (en) 2015-10-31 2015-10-31 A kind of menu control method and user terminal

Publications (2)

Publication Number Publication Date
CN105353908A CN105353908A (en) 2016-02-24
CN105353908B true CN105353908B (en) 2018-03-27

Family

ID=55329890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510738460.9A Active CN105353908B (en) 2015-10-31 2015-10-31 A kind of menu control method and user terminal

Country Status (1)

Country Link
CN (1) CN105353908B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002093331A1 (en) * 2001-05-16 2002-11-21 Myorigo Oy Method and device for browsing information on a display
CN101957678A (en) * 2009-07-14 2011-01-26 鸿富锦精密工业(深圳)有限公司 Touch control method
CN103186341A (en) * 2012-01-03 2013-07-03 深圳富泰宏精密工业有限公司 System and method for controlling zooming and rotation of file on touch screen
CN103970328A (en) * 2013-02-05 2014-08-06 株式会社理光 Touch or non-touch type multi-input-point control command detecting method and device
CN104182045A (en) * 2014-08-21 2014-12-03 深圳市中兴移动通信有限公司 Mobile terminal and display image adjusting method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002093331A1 (en) * 2001-05-16 2002-11-21 Myorigo Oy Method and device for browsing information on a display
CN101957678A (en) * 2009-07-14 2011-01-26 鸿富锦精密工业(深圳)有限公司 Touch control method
CN103186341A (en) * 2012-01-03 2013-07-03 深圳富泰宏精密工业有限公司 System and method for controlling zooming and rotation of file on touch screen
CN103970328A (en) * 2013-02-05 2014-08-06 株式会社理光 Touch or non-touch type multi-input-point control command detecting method and device
CN104182045A (en) * 2014-08-21 2014-12-03 深圳市中兴移动通信有限公司 Mobile terminal and display image adjusting method and device

Also Published As

Publication number Publication date
CN105353908A (en) 2016-02-24

Similar Documents

Publication Publication Date Title
EP2857944B1 (en) Mobile communication terminal, screen adjusting method and storage medium
CN105912260B (en) The startup method and mobile terminal of a kind of application program
TWI514248B (en) Method for preventing from accidentally triggering edge swipe gesture and gesture triggering
CN104123024B (en) A kind of terminal device and apparatus control method
US20150109221A1 (en) Method, device, and electronic terminal for unlocking
CN104077003A (en) Method and device for merging return key, home key and menu key of mobile phone
WO2015085919A1 (en) Clicked object magnifying method and apparatus based on floating touch
WO2015131675A1 (en) Compensation method for broken slide paths, electronic device and computer storage medium
CN104809402B (en) A kind of information fuzzy display methods and terminal
CN105320436A (en) Method for triggering screen capturing by tapping screen with finger joint
CN103076953B (en) A kind of method of subscriber terminal equipment preview picture file and subscriber terminal equipment
CN107132982B (en) Single-hand control method and system for terminal equipment
WO2015131590A1 (en) Method for controlling blank screen gesture processing and terminal
CN108803986A (en) A kind of method of adjustment and device of mobile terminal virtual key
CN106095297A (en) A kind of page display control method and terminal
CN105677081B (en) A kind of touch control method and terminal device
CN104346073A (en) Information processing method and electronic equipment
CN105404464B (en) A kind of method and user terminal for controlling picture
CN105353908B (en) A kind of menu control method and user terminal
CN105425948B (en) A kind of man-machine interaction method and user terminal
CN105511673B (en) A kind of touch screen response method, device and game control method, device
WO2017185672A1 (en) Method and device for controlling fingerprint sensor, and electronic device
CN105159555B (en) A kind of customer equipment controlling method and user equipment
CN107335218B (en) Game scene moving method and device, storage medium, processor and terminal
CN105426101B (en) A kind of display screen adjusting 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.