CN105511774A - Method and device for displaying display terminal interface - Google Patents
Method and device for displaying display terminal interface Download PDFInfo
- Publication number
- CN105511774A CN105511774A CN201410554897.2A CN201410554897A CN105511774A CN 105511774 A CN105511774 A CN 105511774A CN 201410554897 A CN201410554897 A CN 201410554897A CN 105511774 A CN105511774 A CN 105511774A
- Authority
- CN
- China
- Prior art keywords
- touch point
- display terminal
- touch
- preset
- coordinate information
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000001514 detection method Methods 0.000 claims description 5
- 210000003813 thumb Anatomy 0.000 description 14
- 238000010586 diagram Methods 0.000 description 8
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method for displaying a display terminal interface. The method comprises the steps that a touch operation instruction in a preset unlocking area on a display terminal is detected; according to the touch operation instruction, coordinate information of a current touch point is acquired at preset time intervals; according to horizontal coordinates in the acquired coordinate information, the track direction of a slide track of the touch point can be determined; and according to the track direction, the display terminal is controlled to enter a preset user operation interface mode. The invention also discloses a device for displaying the display terminal interface. The method and device disclosed by the invention have the advantages that the display terminal can be controlled to enter a left-hand operation interface mode or a right-hand operation interface mode according to the track direction of the slide track of the touch point in the preset unlocking area, which is preset by a user on the display terminal, so that the user can easily operate all the control components on a touch screen of the display terminal by using one hand.
Description
Technical Field
The invention relates to the technical field of electronics, in particular to a display method and device for a display terminal interface.
Background
When a user uses an intelligent display terminal, such as a mobile phone, most users operate a touch screen with a thumb of one hand, but a UI (user interface) of most existing intelligent display terminals is usually fixed and unchangeable, and it is difficult to operate a control (especially a display terminal with a large screen) far away from the thumb with one hand, so that it is difficult to complete the operation of all controls with one hand.
Disclosure of Invention
The invention mainly aims to provide a display terminal interface display method convenient for operating a display terminal by one hand.
In order to achieve the above object, the present invention provides a display method for displaying an interface of a display terminal, including the steps of:
s1: detecting a touch operation instruction in a preset unlocking area on the display terminal;
s2: acquiring coordinate information of the current touch point every other preset time period according to the touch operation instruction;
s3: judging the track direction of the sliding track of the touch point according to the obtained abscissa value in the coordinate information;
s4: controlling the display terminal to enter a preset user operation interface mode according to the track direction; the user operation interface mode includes a left hand operation interface mode and a right hand operation interface mode.
Before the step S1, the method further includes:
s0: establishing a coordinate system of a touch screen of a display terminal, taking the lower left as a touch origin, namely (0, 0) point, and the upper right as a maximum resolution point of the touch screen, namely (X _ max, Y _ max); and an unlocking area is preset on the touch screen.
The step S3 is preceded by:
s21: and calculating the slope of the connecting line between the current touch point and the initial touch point according to the acquired coordinate information of the current touch point and the coordinate information of the initial touch point, and turning to the step S3 if the absolute value of the slope is less than or equal to 1.
The step S3 specifically includes:
if the difference value of the abscissa values in the coordinate information acquired in the two previous and subsequent times is greater than 0, judging that the track direction of the sliding track of the touch point slides from right to left;
and if the difference value of the abscissa values in the coordinate information acquired in the two previous and subsequent times is less than 0, judging that the track direction of the sliding track of the touch point slides from left to right.
In the step S4, if the trajectory direction of the sliding trajectory of the touch point is from right to left, controlling the display terminal to enter a preset left-handed operation interface mode; and if the track direction of the sliding track of the touch point slides from left to right, controlling the display terminal to enter a preset right-hand operation interface mode.
In addition, in order to achieve the above object, the present invention further provides a display device for a display terminal interface, wherein the display device for a display terminal interface comprises a detection module, an information acquisition module, a judgment module and a processing module; wherein,
the detection module is used for detecting a touch operation instruction in a preset unlocking area on the display terminal;
the information acquisition module is used for acquiring the coordinate information of the current touch point at intervals of a preset time period according to the touch operation instruction;
the judging module is used for judging the track direction of the sliding track of the touch point according to the obtained abscissa value in the coordinate information;
the processing module is used for controlling the display terminal to enter a preset user operation interface mode according to the track direction; the user operation interface mode includes a left hand operation interface mode and a right hand operation interface mode.
The display terminal interface display device also comprises a preset module;
the preset module is used for establishing a coordinate system of the touch screen of the display terminal, and taking the lower left as a touch origin, namely a (0, 0) point, and the upper right as a maximum resolution point of the touch screen, namely (X _ max, Y _ max); and an unlocking area is preset on the touch screen.
The display terminal interface display device also comprises a calculation module;
the calculation module is used for calculating the slope of a connecting line between the current touch point and the initial touch point according to the acquired coordinate information of the current touch point and the coordinate information of the initial touch point;
the judging module is further configured to judge whether the slope is less than or equal to 1, and if the slope is less than or equal to 1, judge a track direction of the sliding track of the touch point according to an abscissa value in the obtained coordinate information.
The judgment module is specifically configured to:
if the difference value of the abscissa values in the coordinate information acquired in the two previous and subsequent times is greater than 0, judging that the track direction of the sliding track of the touch point slides from right to left;
and if the difference value of the abscissa values in the coordinate information acquired in the two previous and subsequent times is less than 0, judging that the track direction of the sliding track of the touch point slides from left to right.
The processing module is further configured to:
if the track direction of the sliding track of the touch point slides from right to left, controlling the display terminal to enter a preset left-handed operation interface mode; and if the track direction of the sliding track of the touch point slides from left to right, controlling the display terminal to enter a preset right-hand operation interface mode.
The invention provides a display method of a display terminal interface, which comprises the following steps of firstly, detecting a touch operation instruction in a preset unlocking area on a display terminal; then, acquiring coordinate information of the current touch point every other preset time period according to the touch operation instruction; then, judging the track direction of the sliding track of the touch point according to the abscissa value in the obtained coordinate information; and finally, controlling the display terminal to enter a preset user operation interface mode according to the track direction. The display terminal interface display method provided by the invention can control the display terminal to enter a preset left-hand operation interface mode or a preset right-hand operation interface mode according to the track direction of the sliding track of the touch point in the preset unlocking area on the display terminal by the user, thereby facilitating the single-hand operation of all controls on the touch screen of the display terminal by the user.
Drawings
FIG. 1 is a flowchart illustrating a method for displaying a terminal interface according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a preset unlocking area in the display method of the display terminal interface according to the present invention;
FIG. 3 is a schematic diagram showing a sliding trajectory corresponding to a mobile phone operated by a left hand according to the method for displaying an interface of a terminal of the present invention;
FIG. 4 is a schematic diagram showing a sliding trajectory corresponding to a mobile phone operated by a right hand in the terminal interface display method according to the present invention;
fig. 5 is a schematic block diagram of a display terminal interface display device according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides a display method for a display terminal interface.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for displaying a terminal interface according to an embodiment of the present invention.
For convenience of explanation and understanding of the display method of the display terminal interface according to the present invention, the following embodiment will explain the display method of the display terminal interface according to the present invention in detail by taking a mobile phone as an example.
In this embodiment, the display method for the display terminal interface includes the following steps:
s0: establishing a coordinate system of a touch screen of the display terminal, taking the lower left as a touch origin, namely (0, 0) point, and the upper right as a maximum resolution point of the touch screen of the mobile phone, namely (X _ max, Y _ max); an unlocking area is preset on the touch screen;
specifically, in the method for displaying the terminal interface according to the embodiment, a coordinate system of a touch screen (a mobile phone touch screen) of the display terminal is established, where the lower left is taken as a touch origin, that is, a (0, 0) point, and the upper right is taken as a maximum resolution point of the mobile phone touch screen, that is, an (X _ max, Y _ max). After the coordinate system is established, each pixel point on the mobile phone touch screen has a corresponding coordinate value (Xn, Yn); step S0 is to set up a coordinate system for the touch screen of the mobile phone and to preset an unlock area on the touch screen. According to the habit of holding the mobile phone by one hand of the user, the area which is easy to touch by the thumb is the middle-lower area of the touch screen, and the 2/3 area at the lower part of the touch screen of the mobile phone is set as the unlocking area in the embodiment. Fig. 2 is a schematic diagram of a preset unlocking area in the display terminal interface display method of the present invention. In this embodiment, an 2/3 area at the lower part of the touch screen 200 of the mobile phone is set as an unlocking area 201, and a horizontal unlocking bar 202 and a word 203 of "unlocking with one hand" are further disposed in the preset unlocking area 201, so as to guide a user to unlock the mobile phone by drawing a horizontal line according to a guide track of the horizontal unlocking bar 203 when the user operates the mobile phone with one hand.
Step S1: detecting a touch operation instruction in a preset unlocking area on the display terminal;
step S2: acquiring coordinate information of the current touch point every other preset time period according to the touch operation instruction;
specifically, in this embodiment, when a touch operation instruction in a preset unlocking region on a touch screen of a mobile phone is detected, coordinate information of a current touch point is acquired every preset time period according to the detected touch operation instruction. In this embodiment, the preset time period t is 50ms, that is, the coordinate information of the touch point is acquired every 50 ms. For example, the initial touch time is T0, the initial touch point is a1 point, the coordinate corresponding to a1 point is (X1, Y1), then coordinate information of the touch point is acquired every 50ms, that is, the coordinate of the touch point a2 (i.e., the second touch point) acquired at T0+ T is (X2, Y2), the coordinate of the touch point A3 (i.e., the third touch point) acquired at T0+2T is (X3, Y3), and so on, the coordinate information of the fourth touch point a4 to the nth touch point An is acquired. That is, the coordinate information acquired in step S2 are a1(X1, Y1), a2(X2, Y2), A3(X3, Y3), a4(X4, Y4), … … An (Xn, Yn), respectively.
Step S3: judging the track direction of the sliding track of the touch point according to the obtained abscissa value in the coordinate information;
specifically, in the present embodiment, the track direction of the sliding track of the touch point is determined according to the abscissa value in the coordinate information obtained in step S2, that is, the track direction of the sliding track of the touch point is determined according to the abscissa values X1, X2, X3, X4, and … … Xn of the coordinate information a1(X1, Y1), a2(X2, Y2), A3(X3, Y3), a4(X4, Y4), and … … An (Xn, Yn) obtained in step S2.
When the user operates the mobile phone with one hand, the common habit is that the thumb is used for operating the mobile phone touch screen, when the thumb draws a transverse line on the touch screen for unlocking, the thumb usually slides from the outer side to the inner side, so that whether the user operates the mobile phone with the left hand or the right hand can be identified through the track direction (sliding from left to right or sliding from right to left) of the sliding track of the thumb, that is, the track direction of the sliding track of the touch point can be judged according to the transverse coordinate value in the coordinate information acquired in the step S2, and then whether the user operates the mobile phone with the left hand or the mobile phone with the right hand can be identified according to the track direction of the sliding track of the touch point.
Specifically, if the difference values of the abscissa values in the coordinate information acquired in step S2 twice before and after are both greater than 0, it may be determined that the trajectory direction of the sliding trajectory of the touch point is sliding from right to left, i.e., if X1-X2>0 and X2-X3>0 and X3-X4>0 … … and Xn-X (n-1) >0 (i.e., X1> X2> X3> X4> … … > Xn), it may be determined that the trajectory direction of the sliding trajectory of the touch point is sliding from right to left; and when the track direction of the sliding track of the touch point is judged to be sliding from right to left, the user operates the mobile phone with the left hand at the moment. Fig. 3 shows a schematic diagram of corresponding sliding tracks when a user operates a mobile phone with a left hand, in fig. 3, a start touch point a1 of the sliding track 301, a start touch point B1 of the sliding track 302, and a start touch point C1 of the sliding track 303 are all located on the right side of the mobile phone touch screen, An end touch point An of the sliding track 301, An end touch point Bn of the sliding track 302, and An end touch point Cn of the sliding track 303 are all located on the left side of the mobile phone touch screen, that is, the track directions of the sliding track 301, the sliding track 302, and the sliding track 303 are all sliding from right to left, that is, the sliding track 301, the sliding track 302, and the sliding track 303 in fig. 3 all represent that the user operates the mobile phone with a left hand;
further, in this embodiment, if the difference between the abscissa values in the coordinate information obtained in two previous and subsequent times in step S2 is not equal to or greater than 0, and a case equal to 0 occurs (i.e., the difference between the abscissa values in the coordinate information obtained in two previous and subsequent times is equal to or greater than 0), which indicates that the user touches the same point of the unlock region twice), for example, X1> X2 ═ X3> X4 … … > Xn (i.e., the second touch point and the third touch point are the same point), X1> X2> X3 ═ X4 … … > Xn (i.e., the third touch point and the fourth touch point are the same point), or X1 ═ X2> X3> X4 … … > Xn (i.e., the first touch point and the second touch point are the same point), and so on, this embodiment may also determine that the trajectory direction of the sliding trajectory of the touch point is sliding from right;
if the difference values of the abscissa values in the coordinate information acquired in the step S2 two times before and after are both less than 0, it may be determined that the trajectory direction of the sliding trajectory of the touch point is sliding from left to right, i.e., if X1-X2 < 0 and X2-X3 < 0 and X3-X4 < 0 and …, and Xn-X (n-1) < 0 (i.e., X1 < X2 < X3 < X4 < … < Xn), it may be determined that the trajectory direction of the sliding trajectory of the touch point is sliding from left to right. And when the track direction of the sliding track of the touch point is judged to be sliding from left to right, indicating that the user operates the mobile phone by the right hand at the moment. Fig. 4 shows a schematic diagram of corresponding sliding tracks when a user operates a mobile phone with a right hand, in fig. 4, a start touch point D1 of the sliding track 401, a start touch point E1 of the sliding track 402, and a start touch point F1 of the sliding track 403 are all located on the left side of the mobile phone touch screen, an end touch point Dn of the sliding track 401, an end touch point En of the sliding track 402, and an end touch point Fn of the sliding track 403 are all located on the right side of the mobile phone touch screen, that is, the track directions of the sliding track 401, the sliding track 402, and the sliding track 403 are all sliding from left to right, that is, the sliding track 401, the sliding track 402, and the sliding track 403 in fig. 4 all represent that the user operates the mobile phone with a right hand;
further, in this embodiment, if the difference between the abscissa values in the coordinate information obtained in two previous and subsequent times in step S2 is not equal to 0, and a case equal to 0 occurs (i.e., the difference between the abscissa values in the coordinate information obtained in two previous and subsequent times is equal to 0), which indicates that the user touches the same point of the unlock region twice), for example, X1 < X2 ═ X3 < X4 … … < Xn (i.e., the second touch point and the third touch point are the same point), X1 < X2 < X3 ═ X4 … … < Xn (i.e., the third touch point and the fourth touch point are the same point), or X1 ═ X2 < X3 < X4 … … < Xn (i.e., the first touch point and the second touch point are the same point), and the like, this embodiment may also determine that the trajectory direction of the sliding trajectory of the touch point is sliding from left to right.
In addition, in this embodiment, if the difference between the abscissa values in the coordinate information acquired in step S2 twice before and after is equal to 0, which indicates that the thumb of the user is not slipping, that is, if X1 is X2 is X3 is X4 … … is Xn, the trajectory direction of the sliding trajectory of the touch point cannot be determined.
Step S4: controlling the display terminal to enter a preset user operation interface mode according to the track direction; the user operation interface mode includes a left hand operation interface mode and a right hand operation interface mode.
Specifically, after entering the unlocking state according to the sliding track, if it is determined in step S3 that the track direction of the sliding track of the touch point slides from right to left, the display terminal is controlled to enter a preset left-handed operation interface mode; and if the step S3 determines that the trajectory direction of the sliding trajectory of the touch point is sliding from left to right, controlling the display terminal to enter a preset right-hand operation interface mode.
In addition, before step S3, the present embodiment further includes the following steps:
s21: and calculating the slope of the connecting line between the current touch point and the initial touch point according to the acquired coordinate information of the current touch point and the coordinate information of the initial touch point, and turning to the step S3 if the absolute value of the slope is less than or equal to 1.
Specifically, in order to ensure that the respective slide tracks in fig. 3 and 4 do not deviate too much from the bar shown in fig. 2, the slope of the line connecting the respective touch points on the respective slide tracks and the start touch point (X1, Y1) is limited within a certain range, and in this embodiment, the absolute value of the slope is 1 or less (i.e., -1< (Yn-Y1)/(Xn-X1) <1, where n is a positive integer of 2 or more). That is, in this embodiment, after the coordinate information of each touch point is acquired every preset time period in step S2, the slope of the connection line between each touch point on the sliding track and the start touch point (X1, Y1) is respectively calculated, and if the absolute value of the slope is less than or equal to 1, the step S3 is performed.
The method for displaying the interface of the display terminal provided by the embodiment includes the steps that firstly, a coordinate system of a touch screen of the display terminal is established, a touch origin point, namely a (0, 0) point, is arranged at the lower left, and a maximum resolution point, namely (X _ max and Y _ max), of the touch screen is arranged at the upper right; an unlocking area is preset on the touch screen; then, detecting a touch operation instruction in a preset unlocking area on the display terminal; then, acquiring coordinate information of the current touch point every other preset time period according to the touch operation instruction; then, judging the track direction of the sliding track of the touch point according to the abscissa value in the obtained coordinate information; and finally, entering an unlocking state according to the sliding track, and controlling the display terminal to enter a preset left-hand operation interface mode or a preset right-hand operation interface mode according to the track direction. The display terminal interface display method provided by the embodiment can control the display terminal to enter a preset left-hand operation interface mode or a preset right-hand operation interface mode according to the track direction of the sliding track of the touch point in the preset unlocking area on the display terminal by the user, so that the user can conveniently operate all controls on the touch screen of the display terminal by one hand.
The invention also provides a display device for the display terminal interface.
Referring to fig. 5, fig. 5 is a schematic block diagram of a display terminal interface display device according to an embodiment of the present invention.
In this embodiment, the display device for displaying the interface of the display terminal includes a presetting module 501, a detecting module 502, an information obtaining module 503, a judging module 504, a processing module 505, and a calculating module 506.
The preset module 501 is configured to establish a coordinate system of a touch screen (a mobile phone touch screen) of a display terminal, and use the lower left as a touch origin, that is, a (0, 0) point, and the upper right as a maximum resolution point of the touch screen, that is, an (X _ max, Y _ max); an unlocking area is preset on the touch screen;
specifically, after the preset module 501 establishes the coordinate system, each pixel point on the touch screen of the mobile phone has a corresponding coordinate value (Xn, Yn); the presetting module 501 sets up a coordinate system for the touch screen of the mobile phone and also presets an unlocking area on the touch screen. According to the habit of holding the mobile phone by one hand of the user, the area which is easily touched by the thumb is the middle-lower area of the touch screen, so in this embodiment, the preset module 501 sets the 2/3 area at the lower part of the touch screen of the mobile phone as the unlocking area.
The detecting module 502 is configured to detect a touch operation instruction in a preset unlocking region on the display terminal (mobile phone);
the information obtaining module 503 is configured to obtain, according to the touch operation instruction, coordinate information of a current touch point every preset time period;
specifically, in this embodiment, when the detecting module 502 detects a touch operation instruction in a preset unlocking region on the touch screen of the mobile phone, the information obtaining module 503 obtains the coordinate information of the current touch point every preset time period according to the touch operation instruction detected by the detecting module 502. In this embodiment, the preset time period t is 50ms, that is, the information obtaining module 503 obtains the coordinate information of the touch point once every 50 ms. For example, the initial touch time is T0, the initial touch point is a1 point, the coordinate corresponding to a1 point is (X1, Y1), then coordinate information of the touch point is acquired every 50ms, that is, the coordinate of the touch point a2 (i.e., the second touch point) acquired at T0+ T is (X2, Y2), the coordinate of the touch point A3 (i.e., the third touch point) acquired at T0+2T is (X3, Y3), and so on, the coordinate information of the fourth touch point a4 to the nth touch point An is acquired. That is, the coordinate information acquired by the information acquisition module 503 is a1(X1, Y1), a2(X2, Y2), A3(X3, Y3), a4(X4, Y4), … … An (Xn, Yn), respectively.
The determining module 504 is configured to determine a track direction of a sliding track of the touch point according to an abscissa value in the obtained coordinate information;
specifically, in the present embodiment, the determining module 504 determines the track direction of the sliding track of the touch point according to the abscissa values in the coordinate information acquired by the information acquiring module 503, that is, determines the track direction of the sliding track of the touch point according to the abscissa values of the coordinate information a1(X1, Y1), a2(X2, Y2), A3(X3, Y3), a4(X4, Y4), … … An (Xn, Yn), that is, X1, X2, X3, X4, … … Xn, which are acquired by the information acquiring module 503.
When a user operates a mobile phone with one hand, the common habit is that a thumb is used for operating a mobile phone touch screen, and when the thumb draws a transverse line on the touch screen for unlocking, the thumb usually slides from the outer side to the inner side, so that whether the user operates the mobile phone with the left hand or the right hand can be identified through the track direction of the sliding track of the thumb (sliding from left to right or sliding from right to left), that is, the judgment module 504 can judge the track direction of the sliding track of the touch point according to the transverse coordinate value in the coordinate information acquired by the information acquisition module 503, and then can identify whether the user operates the mobile phone with the left hand or the mobile phone with the right hand according to the track direction of the sliding track of the touch point.
Specifically, if the difference values of the abscissa values in the coordinate information acquired by the information acquisition module 503 twice before and after are all equal to 0, it may be determined that the trajectory direction of the sliding trajectory of the touch point is sliding from right to left, i.e., if X1-X2>0 and X2-X3>0 and X3-X4>0 … … and Xn-X (n-1) >0 (i.e., X1> X2> X3> X4> … … > Xn), it may be determined that the trajectory direction of the sliding trajectory of the touch point is sliding from right to left; when the track direction of the sliding track of the touch point is judged to be sliding from right to left, the user operates the mobile phone by the left hand at the moment;
further, in this embodiment, if the difference between the abscissa values in the coordinate information acquired by the information acquiring module 503 twice before and after is not equal to 0, and a case equal to 0 occurs (i.e. the difference between the abscissa values in the coordinate information acquired by two times before and after is equal to 0), which indicates that the user touches the same point of the unlocking area twice), for example, X1> X2 ═ X3> X4 … … > Xn (i.e. the second touch point and the third touch point are the same point), X1> X2> X3 ═ X4 … … > Xn (i.e. the third touch point and the fourth touch point are the same point), or X1 ═ X2> X3> X4 … … > Xn (i.e. the first touch point and the second touch point are the same point), and the determining module 504 may determine that the trajectory direction of the sliding trajectory of the touch point is sliding from right to left;
if the difference values of the abscissa values in the coordinate information acquired in the information acquisition module 503 two times before and after are all equal to 0, it may be determined that the trajectory direction of the sliding trajectory of the touch point is sliding from left to right, i.e., if X1-X2 < 0 and X2-X3 < 0 and X3-X4 < 0 and …, and Xn-X (n-1) < 0 (i.e., X1 < X2 < X3 < X4 < … < Xn), it may be determined that the trajectory direction of the sliding trajectory of the touch point is sliding from left to right. When the track direction of the sliding track of the touch point is judged to be sliding from left to right, the user operates the mobile phone by the right hand at the moment;
further, in this embodiment, if the difference between the abscissa values in the coordinate information acquired by the information acquiring module 503 twice before and after is not less than 0, and a case equal to 0 occurs (i.e. the difference between the abscissa values in the coordinate information acquired by two times before and after is equal to 0), which indicates that the user touches the same point of the unlocking area twice), for example, X1 < X2 ═ X3 < X4 … … < Xn (i.e. the second touch point and the third touch point are the same point), X1 < X2 < X3 ═ X4 … … < Xn (i.e. the third touch point and the fourth touch point are the same point), or X1 ═ X2 < X3 < X4 … … < Xn (i.e. the first touch point and the second touch point are the same point), and the determining module 504 may determine that the trajectory direction of the sliding trajectory of the touch point slides from left to right.
In addition, in this embodiment, if the difference between the abscissa values in the coordinate information acquired by the information acquisition module 503 twice before and after is equal to 0, which indicates that the thumb of the user does not slide, that is, when X1 is X2 is X3 is X4 … … is Xn, the determination module 504 cannot determine the trajectory direction of the sliding trajectory of the touch point.
The processing module 505 is configured to control the display terminal to enter a preset user operation interface mode according to the track direction; the user operation interface mode comprises a left hand operation interface mode and a right hand operation interface mode;
specifically, after the processing module 505 enters the unlocking state according to the sliding track, if the determining module 504 determines that the track direction of the sliding track of the touch point slides from right to left, the processing module 505 controls the display terminal (mobile phone) to enter a preset left-handed operation interface mode; if the determining module 504 determines that the track direction of the sliding track of the touch point slides from left to right, the processing module 505 controls the display terminal to enter a preset right-handed operation interface mode.
A calculating module 506, configured to calculate a slope of a connection line between the current touch point and the initial touch point according to the coordinate information of the current touch point and the coordinate information of the initial touch point, which are acquired by the information acquiring module 503, and if an absolute value of the slope is less than or equal to 1, the determining module 504 determines a track direction of a sliding track of the touch point according to an abscissa value in the coordinate information acquired by the information acquiring module 503.
Specifically, in order to ensure that the slide trajectory does not deviate too much from the unlock guide trajectory (i.e., the crossline unlock bar), the slope of the line connecting each touch point on the slide trajectory and the start touch point (X1, Y1) is limited within a certain range, and in the present embodiment, the absolute value of the slope is 1 or less (i.e., -1< (Yn-Y1)/(Xn-X1) <1, where n is a positive integer of 2 or more). That is, after the information obtaining module 503 obtains the coordinate information of each touch point every preset time period, the calculating module 506 calculates the slope of the connection line between each touch point on the sliding track and the initial touch point (X1, Y1); then, the determining module 504 determines whether the slope is less than or equal to 1, and if the slope is less than or equal to 1, the determining module 504 determines the track direction of the sliding track of the touch point according to the abscissa value in the coordinate information acquired by the information acquiring module 503.
It should be noted that, the absolute value of the slope being less than or equal to 1 is only a preferred embodiment of the present invention, and when the absolute value of the slope is in other ranges, for example, if the absolute value of the slope is greater than 1 (i.e., (Yn-Y1)/(Xn-X1) < -1 or (Yn-Y1)/(Xn-X1) > 1, where n is a positive integer greater than or equal to 2), the determining module 504 may also determine the track direction of the sliding track of the touch point according to the abscissa value in the coordinate information acquired by the information acquiring module 503.
In the display device for displaying the interface of the display terminal provided by this embodiment, first, the preset module establishes a coordinate system of the touch screen of the display terminal, and takes the lower left as a touch origin, that is, a (0, 0) point, and the upper right as a maximum resolution point of the touch screen, that is, an (X _ max, Y _ max); an unlocking area is preset on the touch screen; then, the detection module detects a touch operation instruction in a preset unlocking area on the display terminal; then, the information acquisition module acquires coordinate information of the current touch point every other preset time period according to the touch operation instruction; then, the calculation module calculates the slope of a connecting line between each touch point and the initial touch point according to the coordinate information of each touch point and the coordinate information of the initial touch point acquired by the information acquisition module, and if the absolute value of the slope is less than or equal to 1, the judgment module judges the track direction of the sliding track of the touch point according to the abscissa value in the acquired coordinate information; and finally, the processing module controls the display terminal to enter a preset left-hand user operation interface mode or a preset right-hand user operation interface mode according to the track direction. The display terminal interface display device provided by the embodiment can control the display terminal to enter a preset left-hand operation interface mode or a preset right-hand operation interface mode according to the track direction of the sliding track of the touch point in the preset unlocking area on the display terminal by the user, so that the user can conveniently operate all controls on the touch screen of the display terminal by one hand.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A display method of a display terminal interface is characterized by comprising the following steps:
s1: detecting a touch operation instruction in a preset unlocking area on the display terminal;
s2: acquiring coordinate information of the current touch point every other preset time period according to the touch operation instruction;
s3: judging the track direction of the sliding track of the touch point according to the obtained abscissa value in the coordinate information;
s4: controlling the display terminal to enter a preset user operation interface mode according to the track direction; the user operation interface mode includes a left hand operation interface mode and a right hand operation interface mode.
2. The method for displaying an interface of a display terminal as claimed in claim 1, wherein before the step S1, the method further comprises:
s0: establishing a coordinate system of a touch screen of a display terminal, taking the lower left as a touch origin, namely (0, 0) point, and the upper right as a maximum resolution point of the touch screen, namely (X _ max, Y _ max); and an unlocking area is preset on the touch screen.
3. The display terminal interface display method of claim 1, wherein the step S3 is preceded by:
s21: and calculating the slope of the connecting line between the current touch point and the initial touch point according to the acquired coordinate information of the current touch point and the coordinate information of the initial touch point, and turning to the step S3 if the absolute value of the slope is less than or equal to 1.
4. The display method of the display terminal interface according to claim 1, wherein the step S3 specifically is:
if the difference value of the abscissa values in the coordinate information acquired in the two previous and subsequent times is greater than 0, judging that the track direction of the sliding track of the touch point slides from right to left;
and if the difference value of the abscissa values in the coordinate information acquired in the two previous and subsequent times is less than 0, judging that the track direction of the sliding track of the touch point slides from left to right.
5. The display terminal interface display method according to claim 1, wherein in the step S4, if the trajectory direction of the sliding trajectory of the touch point is sliding from right to left, the display terminal is controlled to enter a preset left-handed operation interface mode; and if the track direction of the sliding track of the touch point slides from left to right, controlling the display terminal to enter a preset right-hand operation interface mode.
6. A display device for displaying a terminal interface is characterized by comprising a detection module, an information acquisition module, a judgment module and a processing module; wherein,
the detection module is used for detecting a touch operation instruction in a preset unlocking area on the display terminal;
the information acquisition module is used for acquiring the coordinate information of the current touch point at intervals of a preset time period according to the touch operation instruction;
the judging module is used for judging the track direction of the sliding track of the touch point according to the obtained abscissa value in the coordinate information;
the processing module is used for controlling the display terminal to enter a preset user operation interface mode according to the track direction; the user operation interface mode includes a left hand operation interface mode and a right hand operation interface mode.
7. The display terminal interface display device of claim 6, further comprising a preset module;
the preset module is used for establishing a coordinate system of the touch screen of the display terminal, and taking the lower left as a touch origin, namely a (0, 0) point, and the upper right as a maximum resolution point of the touch screen, namely (X _ max, Y _ max); and an unlocking area is preset on the touch screen.
8. The display terminal interface display device of claim 6, further comprising a computing module;
the calculation module is used for calculating the slope of a connecting line between the current touch point and the initial touch point according to the acquired coordinate information of the current touch point and the coordinate information of the initial touch point;
the judging module is further configured to judge whether the slope is less than or equal to 1, and if the slope is less than or equal to 1, judge a track direction of the sliding track of the touch point according to an abscissa value in the obtained coordinate information.
9. The display terminal interface display device of claim 6, wherein the determination module is specifically configured to:
if the difference value of the abscissa values in the coordinate information acquired in the two previous and subsequent times is greater than 0, judging that the track direction of the sliding track of the touch point slides from right to left;
and if the difference value of the abscissa values in the coordinate information acquired in the two previous and subsequent times is less than 0, judging that the track direction of the sliding track of the touch point slides from left to right.
10. The display terminal interface display device of claim 6, wherein the processing module is further configured to:
if the track direction of the sliding track of the touch point slides from right to left, controlling the display terminal to enter a preset left-handed operation interface mode; and if the track direction of the sliding track of the touch point slides from left to right, controlling the display terminal to enter a preset right-hand operation interface mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410554897.2A CN105511774A (en) | 2014-10-17 | 2014-10-17 | Method and device for displaying display terminal interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410554897.2A CN105511774A (en) | 2014-10-17 | 2014-10-17 | Method and device for displaying display terminal interface |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105511774A true CN105511774A (en) | 2016-04-20 |
Family
ID=55719796
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410554897.2A Pending CN105511774A (en) | 2014-10-17 | 2014-10-17 | Method and device for displaying display terminal interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105511774A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106791020A (en) * | 2016-11-30 | 2017-05-31 | 努比亚技术有限公司 | A kind of audio file broadcast state control method and mobile terminal |
CN107092433A (en) * | 2017-04-12 | 2017-08-25 | 青岛海信电器股份有限公司 | The method of toch control and device of touch-control all-in-one machine |
CN107728923A (en) * | 2017-10-20 | 2018-02-23 | 维沃移动通信有限公司 | The processing method and mobile terminal of a kind of operation |
CN108415647A (en) * | 2018-06-01 | 2018-08-17 | 威创集团股份有限公司 | The mouse action localization method and system for management system of attending a banquet |
CN108681665A (en) * | 2018-04-08 | 2018-10-19 | 维沃移动通信有限公司 | An operation execution method, device and mobile terminal |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102591581A (en) * | 2012-01-10 | 2012-07-18 | 大唐移动通信设备有限公司 | Display method and equipment for operation interfaces of mobile terminal |
CN102929554A (en) * | 2012-10-26 | 2013-02-13 | 北京金和软件股份有限公司 | Information processing method for executing mobile handheld equipment through unlocking gesture |
CN103513924A (en) * | 2012-06-27 | 2014-01-15 | 佳能株式会社 | Electronic device and control method thereof |
CN103513865A (en) * | 2013-04-27 | 2014-01-15 | 展讯通信(上海)有限公司 | Touch control equipment and method and device for controlling touch control equipment to configure operation mode |
US20140115694A1 (en) * | 2007-09-24 | 2014-04-24 | Apple Inc. | Embedded Authentication Systems in an Electronic Device |
CN103853489A (en) * | 2012-11-29 | 2014-06-11 | 北京千橡网景科技发展有限公司 | Method and device for judging operation habits of user |
CN103870199A (en) * | 2014-03-31 | 2014-06-18 | 华为技术有限公司 | Method for recognizing user operation mode on handheld device and handheld device |
CN104049877A (en) * | 2013-03-12 | 2014-09-17 | 联想(北京)有限公司 | Information processing method and electronic equipment |
-
2014
- 2014-10-17 CN CN201410554897.2A patent/CN105511774A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140115694A1 (en) * | 2007-09-24 | 2014-04-24 | Apple Inc. | Embedded Authentication Systems in an Electronic Device |
CN102591581A (en) * | 2012-01-10 | 2012-07-18 | 大唐移动通信设备有限公司 | Display method and equipment for operation interfaces of mobile terminal |
CN103513924A (en) * | 2012-06-27 | 2014-01-15 | 佳能株式会社 | Electronic device and control method thereof |
CN102929554A (en) * | 2012-10-26 | 2013-02-13 | 北京金和软件股份有限公司 | Information processing method for executing mobile handheld equipment through unlocking gesture |
CN103853489A (en) * | 2012-11-29 | 2014-06-11 | 北京千橡网景科技发展有限公司 | Method and device for judging operation habits of user |
CN104049877A (en) * | 2013-03-12 | 2014-09-17 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN103513865A (en) * | 2013-04-27 | 2014-01-15 | 展讯通信(上海)有限公司 | Touch control equipment and method and device for controlling touch control equipment to configure operation mode |
CN103870199A (en) * | 2014-03-31 | 2014-06-18 | 华为技术有限公司 | Method for recognizing user operation mode on handheld device and handheld device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106791020A (en) * | 2016-11-30 | 2017-05-31 | 努比亚技术有限公司 | A kind of audio file broadcast state control method and mobile terminal |
CN107092433A (en) * | 2017-04-12 | 2017-08-25 | 青岛海信电器股份有限公司 | The method of toch control and device of touch-control all-in-one machine |
CN107092433B (en) * | 2017-04-12 | 2021-03-02 | 海信视像科技股份有限公司 | Touch control method and device of touch control all-in-one machine |
CN107728923A (en) * | 2017-10-20 | 2018-02-23 | 维沃移动通信有限公司 | The processing method and mobile terminal of a kind of operation |
CN108681665A (en) * | 2018-04-08 | 2018-10-19 | 维沃移动通信有限公司 | An operation execution method, device and mobile terminal |
CN108415647A (en) * | 2018-06-01 | 2018-08-17 | 威创集团股份有限公司 | The mouse action localization method and system for management system of attending a banquet |
CN108415647B (en) * | 2018-06-01 | 2020-10-20 | 威创集团股份有限公司 | Mouse action positioning method and system of seat management system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9229573B2 (en) | Input device, input support method, and program | |
KR101742410B1 (en) | Intelligent terminal with built-in screenshot function and implementation method thereof | |
CN101488063B (en) | Electronic device control method and control system thereof | |
CN102955658B (en) | Device and method for page switching in interaction interface | |
CN105511774A (en) | Method and device for displaying display terminal interface | |
CN104571918A (en) | Terminal single-hand operation interface triggering method and device | |
CN103902222B (en) | Touch screen sliding adjustment method, adjustment device and touch device | |
CN104063092B (en) | A kind of touch screen control method and device | |
JP2011143557A5 (en) | ||
CN105426091B (en) | Method and terminal for controlling black screen gesture processing | |
US9857890B2 (en) | Information processing method and electronic apparatus | |
CN105718173B (en) | Terminal control method, terminal control device and terminal | |
CN107003783A (en) | A kind of key detecting method and device | |
CN106201293B (en) | Text selection method and device and text processing method and device | |
WO2013086793A1 (en) | Portable electronic terminal, unlock method and device thereof | |
US20140089845A1 (en) | Apparatus and method capable of switching displayed pictures | |
CN103399960A (en) | Webpage display method and terminal | |
CN105302369A (en) | Method and system for preventing or reducing misoperations of touch screen | |
CN104636020A (en) | Touch feedback method and touch feedback terminal | |
US9213459B2 (en) | Electronic apparatus provided with resistive film type touch panel | |
CN105446597B (en) | The methods of exhibiting of the function introduction information of application program shows device and terminal | |
CN107038356B (en) | Operating method and device for mobile terminal | |
CN108418908A (en) | A kind of mobile phone right-hand man operates identification device and method | |
CN104007928A (en) | Information processing method and electronic device | |
CN105320316A (en) | Method and device for debouncing of touch screen and 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160420 |