CN103354581B - Method and system for automatically adjusting mobile phone control with left or right hand - Google Patents

Method and system for automatically adjusting mobile phone control with left or right hand Download PDF

Info

Publication number
CN103354581B
CN103354581B CN201310237901.8A CN201310237901A CN103354581B CN 103354581 B CN103354581 B CN 103354581B CN 201310237901 A CN201310237901 A CN 201310237901A CN 103354581 B CN103354581 B CN 103354581B
Authority
CN
China
Prior art keywords
slope
mobile phone
virtual key
module
phone control
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
CN201310237901.8A
Other languages
Chinese (zh)
Other versions
CN103354581A (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 CN201310237901.8A priority Critical patent/CN103354581B/en
Publication of CN103354581A publication Critical patent/CN103354581A/en
Application granted granted Critical
Publication of CN103354581B publication Critical patent/CN103354581B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method and a system for automatically adjusting a mobile phone control with the left or the right hand. The method comprises the following steps of S1) acquiring coordinate data of sliding operation on a touch screen by a user; S2) uploading the coordinate data of the sliding to the application layer for calculating a slope of the sliding; S3) if the slope in S2 is larger than zero, the sliding is operated with the left hand, and if the slope is smaller than zero, the sliding is operated with the right hand, and if the slope approximates to zero or to infinity, then the user slides the touch screen in an approximately vertical or horizontal direction; and S4) adjusting the position of the mobile phone control according to the identified operation with the left hand or the right hand in S3. According to the method, not a single new device is added, and whether the user is operating with the left hand or the right hand is determined by directly calculating tracks of the sliding on the touch screen, and the position of a virtual button is accordingly adjusted.

Description

A kind of method and system automatically being adjusted mobile phone control by right-hand man
Technical field
The present invention relates to the technical field that information controls, particularly a kind of method and system automatically being adjusted mobile phone control by right-hand man.
Background technology
Touch-screen brings very large facility to the operation of user, but individual occupation mode is different, and somebody likes shaking hands machine with left hand, and somebody likes shaking hands machine with the right hand.When use mobile phone control (for virtual key), especially when large-screen mobile phone carries out one-handed performance, we want to click rightmost virtual key (such as returning button back), but in fact our finger tripe has touched leftmost virtual key (such as menu key menu), the operation that some are not our original ideas will be performed this time, if the position of virtual key now automatically can be changed, so just this problem can be solved well.
At present, what had some technical schemes to adopt judges right-hand man, such as judge that the use angle of mobile phone is to identify right-hand man, or fill some transducers to judge right-hand man in mobile phone both sides, these methods or the larger cost compare in other words of misoperation high.Need in these schemes to add new device, the track that can not directly be slided by statistics touch-screen judges to identify that current user is left-handed operation or right-hand operated, adjusts the position of virtual key with this.
Summary of the invention
The object of the invention is to overcome the shortcoming of prior art and deficiency, providing a kind of by identifying that right-hand man adjusts the method for mobile phone control automatically.
Another object of the present invention is to, providing a kind of by identifying that right-hand man adjusts the system of mobile phone control automatically.
In order to reach above-mentioned first goal of the invention, the present invention by the following technical solutions:
The present invention, by identifying that right-hand man adjusts the method for mobile phone control automatically, comprises the steps:
S1, setting up the coordinate system of handset touch panel, is touch initial point with upper left side, namely (0,0) point, lower right is touch-screen ultimate resolution point, i.e. (x_max, y_max) point, gathers the coordinate data that user carries out slide on the touchscreen;
S2, the coordinate data of this slip is passed to application layer, application layer calculates the slope of this slip;
If the slope in S3 step S2 is greater than 0, being then left-handed operation, if slope is less than 0, is then right-hand operated, if close to 0 or infinity, so illustrates that user is at the square upward sliding touch-screen close to vertical or level;
S4, according to identify in step S3 right-hand man operation adjust mobile phone control location.
Preferably, in step S1, described coordinate data is the coordinate data in start position and the final position of sliding.
Preferably, according to the coordinate data in start position and final position, in application layer, obtained this slope divided by the difference of abscissa by the difference of ordinate.
Preferably, in step S4, if be identified as left-handed operation, so just conventional return key virtual key is adjusted to the left side of screen, if be right-hand operated, just conventional return key virtual key is adjusted to the right of screen, if detected close to vertical or perpendicular screen side upward sliding, so just do not adjust.
Preferably, setting each virtual key is a square coordinates regional, and this region is clicked, then judge the coordinate range at this place, region, thus determines which virtual key is pressed, then by the event transfer of this virtual key to upper strata.
Preferably, the method that the position of adjustment virtual key adopts is: if detect, current operation is left-handed operation, when detecting that the lower left corner is touched, reports return key-press event by originally menu key-press event being reported to replace with.
Preferably, before step S1, also comprising and interface model switch is set, when interface model switch-linear hybrid is for opening, performing step S1; When interface model switch-linear hybrid is for closing, do not perform step S1.
In order to reach above-mentioned second object, the present invention by the following technical solutions:
The present invention, by identifying that right-hand man adjusts the system of mobile phone control automatically, comprises the data acquisition module, slope computing module, slope judge module and the Executive Module that are linked in sequence;
Described data acquisition module, carries out the coordinate data of slide on the touchscreen for gathering user;
Slope computing module, the data arrived by data collecting module collected calculate the slope of track;
Slope judge module, slope and 0 for being calculated by slope computing module compares, if be greater than 0, then judge it is left-handed operation, if slope is less than 0, then judge it is right-hand operated, if close to 0 or infinity, so illustrate that user is at the square upward sliding touch-screen close to vertical or level;
Executive Module, the judged result obtained by slope judge module, the position of adjustment mobile phone control.
Preferably, described Executive Module comprises virtual key setting module and virtual key adjusting module, and described virtual key setting module is used for determining which virtual key is pressed, then by the event transfer of this virtual key to upper strata; The data that described virtual key adjusting module transmits according to virtual key setting module, carry out the adjustment of virtual key position.
Preferably, also comprise interface model switch, described interface model switch is used for controlling whether open right-hand man's recognition mode.
The present invention has following advantage and effect relative to prior art:
1, the present invention does not need to add any new device, and the track directly slided by statistics touch-screen judges to identify that current user is left-handed operation or right-hand operated, thus the position of adjustment virtual key.
2, the method applied in the present invention is simple and practical, provides cost savings.
Accompanying drawing explanation
Trajectory diagram when Fig. 1 is left-handed operation;
Trajectory diagram when Fig. 2 is right-hand operated;
Fig. 3 is flow chart of the present invention;
Fig. 4 is mechanism's block diagram of present system.
Embodiment
Below in conjunction with embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention are not limited thereto.
Embodiment
As shown in Figure 3, the present embodiment adjusts the method for mobile phone control automatically by right-hand man, comprises the steps:
Step 1: gather the data coordinates that user carries out slide on the touchscreen;
Touch panel device can gather the coordinate data of finger, such as gathers 2 coordinate points data, i.e. the starting point of this slip and terminal point coordinate data, from (x_0, y_0) to (x_1, y_1).
Step 2: these 2 coordinate datas of this slip are uploaded to application layer, and application layer calculates the slope of this slip.
The coordinate system of usual touch-screen is all that the upper left side of picture is for touching initial point, namely (0,0) point, lower right is touch-screen ultimate resolution point, i.e. (x_max, y_max) point, for left-handed operation, as shown in Figure 1, slope k=(y_1-y_0)/(x_1-x_0), so if left-handed operation, no matter be slip of turning left, slip of still turning right, the slope of any one point must be greater than 0, namely must be positive number (such as slip of turning left, x diminishes, and y diminishes, slip of turning right, x becomes large, and y becomes large); And for right-hand operated, as shown in Figure 2, no matter be slip of turning left, slip of still turning right, slope of any one point must be less than 0, must be negative (such as slips of turning left, x diminishes, and y becomes large, slips of turning right, greatly, y diminishes in x change).
Step 3: if the slope got is greater than 0, explanation is left-handed operation, if be less than 0, so illustrates it is right-hand operated, if close to 0 or infinity, so illustrates that user is at the square upward sliding touch-screen close to vertical or level.
Step 4: the right-hand man according to just having identified adjusts control location, such as if be identified as left-handed operation, so just conventional return key virtual key is adjusted to the left side of screen, if be right-hand operated, just conventional return key virtual key is adjusted to the right of screen, if detected close to vertical or perpendicular screen side upward sliding, so just do not adjust.
All virtual keys have oneself band of position coordinate, such as the resolution of touch-screen is (100, 100), virtual key is often all below touch-screen, coordinates regional shared by menu is (0, 70) to (30, 100), region shared by home virtual key is (30, 70) to (60, 100), region shared by return is (60, 70) to (90, 100) each virtual key is a square coordinates regional, when certain region is clicked, so judge the coordinate range at this place, region, just know that virtual key has been pressed, then by the event transfer of this virtual key to upper strata.
The method that the position of adjustment virtual key adopts is, such as we detect it is left-handed operation at present, when detecting that the lower left corner is touched, menu key-press event should be reported, but we report return key-press event just passable, have so just carried out the exchange of virtual key.
In order to better implement the present invention, also comprising before step 1 and interface model switch is set, when interface model switch-linear hybrid is for opening, performing step 1; When interface model switch-linear hybrid is for closing, do not perform step 1.
As shown in Figure 4, the present embodiment, by identifying that right-hand man adjusts the system of mobile phone control automatically, comprises the data acquisition module, slope computing module, slope judge module and the Executive Module that are linked in sequence;
Described data acquisition module, carries out the coordinate data of slide on the touchscreen for gathering user;
Slope computing module, the data arrived by data collecting module collected calculate the slope of track;
Slope judge module, slope and 0 for being calculated by slope computing module compares, if be greater than 0, then judge it is left-handed operation, if slope is less than 0, then judge it is right-hand operated, if close to 0 or infinity, so illustrate that user is at the square upward sliding touch-screen close to vertical or level;
Executive Module, the judged result obtained by slope judge module, the position of adjustment mobile phone control.
Described Executive Module comprises virtual key setting module and virtual key adjusting module, and described virtual key setting module is used for determining which virtual key is pressed, then by the event transfer of this virtual key to upper strata; The data that described virtual key adjusting module transmits according to virtual key setting module, carry out the adjustment of virtual key position.
The described system automatically being adjusted mobile phone control by identification right-hand man, also comprises interface model switch, and described interface model switch is used for controlling whether open right-hand man's recognition mode.
Above-described embodiment is the present invention's preferably execution mode; but embodiments of the present invention are not restricted to the described embodiments; change, the modification done under other any does not deviate from Spirit Essence of the present invention and principle, substitute, combine, simplify; all should be the substitute mode of equivalence, be included within protection scope of the present invention.

Claims (10)

1., by identifying that right-hand man adjusts a method for mobile phone control automatically, it is characterized in that, comprise the steps:
S1, setting up the coordinate system of handset touch panel, is touch initial point with upper left side, namely (0,0) point, lower right is touch-screen ultimate resolution point, i.e. (x_max, y_max) point, gathers the coordinate data that user carries out slide on the touchscreen;
S2, the coordinate data of this slip is passed to application layer, application layer calculates the slope of this slip;
If the slope in S3 step S2 is greater than 0, being then left-handed operation, if slope is less than 0, is then right-hand operated, if close to 0 or infinity, so illustrates that user is at the square upward sliding touch-screen close to vertical or level;
S4, according to identify in step S3 right-hand man operation adjust mobile phone control location.
2. the method automatically adjusting mobile phone control by identification right-hand man according to claim 1, is characterized in that, in step S1, described coordinate data is the coordinate data in start position and the final position of sliding.
3. according to claim 2ly to it is characterized in that by identifying that right-hand man adjusts the method for mobile phone control automatically, according to the coordinate data in start position and final position, in application layer, being obtained this slope divided by the difference of abscissa by the difference of ordinate.
4. according to claim 1 by identifying that right-hand man adjusts the method for mobile phone control automatically, it is characterized in that, in step S4, if be identified as left-handed operation, so just conventional return key virtual key is adjusted to the left side of screen, if be right-hand operated, just conventional return key virtual key is adjusted to the right of screen, if detected close to vertical or perpendicular screen side upward sliding, so just do not adjust.
5. according to claim 4 by identifying that right-hand man adjusts the method for mobile phone control automatically, it is characterized in that, setting each virtual key is a square coordinates regional, this region is clicked, then judge the coordinate range at this place, region, thus determine which virtual key is pressed, then by the event transfer of this virtual key to upper strata.
6. according to claim 1 by identifying that right-hand man adjusts the method for mobile phone control automatically, it is characterized in that, the method that the position of adjustment virtual key adopts is: if detect, current operation is left-handed operation, when detecting that the lower left corner is touched, report return key-press event by originally menu key-press event being reported to replace with.
7. the method automatically adjusting mobile phone control by identification right-hand man according to claim 1, is characterized in that, before step S1, also comprise and arrange interface model switch, when interface model switch-linear hybrid is for opening, performs step S1; When interface model switch-linear hybrid is for closing, do not perform step S1.
8., by identifying that right-hand man adjusts a system for mobile phone control automatically, it is characterized in that, comprise the data acquisition module, slope computing module, slope judge module and the Executive Module that are linked in sequence;
Described data acquisition module, carries out the coordinate data of slide on the touchscreen for gathering user;
Slope computing module, the data arrived by data collecting module collected calculate the slope of track;
Slope judge module, slope and 0 for being calculated by slope computing module compares, if be greater than 0, then judge it is left-handed operation, if slope is less than 0, then judge it is right-hand operated, if close to 0 or infinity, so illustrate that user is at the square upward sliding touch-screen close to vertical or level;
Executive Module, the judged result obtained by slope judge module, the position of adjustment mobile phone control.
9. according to claim 8 by identifying that right-hand man adjusts the system of mobile phone control automatically, it is characterized in that, described Executive Module comprises virtual key setting module and virtual key adjusting module, described virtual key setting module is used for determining which virtual key is pressed, then by the event transfer of this virtual key to upper strata; The data that described virtual key adjusting module transmits according to virtual key setting module, carry out the adjustment of virtual key position.
10. the system automatically adjusting mobile phone control by identification right-hand man according to claim 8, is characterized in that, also comprise interface model switch, and described interface model switch is used for controlling whether open right-hand man's recognition mode.
CN201310237901.8A 2013-06-14 2013-06-14 Method and system for automatically adjusting mobile phone control with left or right hand Active CN103354581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310237901.8A CN103354581B (en) 2013-06-14 2013-06-14 Method and system for automatically adjusting mobile phone control with left or right hand

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310237901.8A CN103354581B (en) 2013-06-14 2013-06-14 Method and system for automatically adjusting mobile phone control with left or right hand

Publications (2)

Publication Number Publication Date
CN103354581A CN103354581A (en) 2013-10-16
CN103354581B true CN103354581B (en) 2015-02-18

Family

ID=49310885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310237901.8A Active CN103354581B (en) 2013-06-14 2013-06-14 Method and system for automatically adjusting mobile phone control with left or right hand

Country Status (1)

Country Link
CN (1) CN103354581B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571882A (en) * 2013-10-25 2015-04-29 中兴通讯股份有限公司 User operating mode judging method and device based on terminal and terminal
CN103870199B (en) 2014-03-31 2017-09-29 华为技术有限公司 The recognition methods of user operation mode and handheld device in handheld device
CN108124064B (en) * 2014-09-04 2021-03-05 Oppo广东移动通信有限公司 Key response method of mobile terminal and mobile terminal
CN104978030B (en) * 2015-07-01 2018-12-25 河北斐然科技有限公司 The software and method of display interface of mobile phone are automatically adjusted based on right-hand man
CN105867804A (en) * 2016-03-26 2016-08-17 上海斐讯数据通信技术有限公司 Electronic device and method for adjusting virtual key touch control positions
CN106095185B (en) * 2016-06-21 2019-08-20 维沃移动通信有限公司 A kind of one-handed performance method and mobile terminal
CN107479805A (en) * 2017-08-21 2017-12-15 深圳市邦华电子有限公司 The control method and device of graphic user interface
CN109997348B (en) * 2017-09-25 2021-10-15 华为技术有限公司 Display method of terminal interface and terminal
CN108566482A (en) * 2018-03-12 2018-09-21 广东欧珀移动通信有限公司 Switching method, device, storage medium and the electronic equipment of antenna feed point
CN111683178A (en) * 2020-06-08 2020-09-18 华东交通大学 Position improvement method for virtual answering and refusing keys in incoming call interface of touch screen mobile phone

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8368658B2 (en) * 2008-12-02 2013-02-05 At&T Mobility Ii Llc Automatic soft key adaptation with left-right hand edge sensing
CN101916161B (en) * 2010-08-04 2012-10-10 宇龙计算机通信科技(深圳)有限公司 Interface model selection method based on image of region pressed by finger and mobile terminal
CN102624977B (en) * 2012-02-17 2014-03-19 深圳市金立通信设备有限公司 System and method for switching mobile phone interfaces according to hands use habit of user

Also Published As

Publication number Publication date
CN103354581A (en) 2013-10-16

Similar Documents

Publication Publication Date Title
CN103354581B (en) Method and system for automatically adjusting mobile phone control with left or right hand
US8433109B2 (en) Direction controlling system and method of an electronic device
CN105117056B (en) A kind of method and apparatus of operation touch-screen
CN102906675B (en) Message input device, data inputting method
CN106843739A (en) The display control method and mobile terminal of a kind of mobile terminal
CN105164618B (en) data reporting method, device and terminal device
CN103869947B (en) The method and electronic equipment of control electronics
CN103513869A (en) Method and device for displaying terminal lock screen interface and Widget
CN104571882A (en) User operating mode judging method and device based on terminal and terminal
CN108920066B (en) Touch screen sliding adjustment method and device and touch equipment
CN101931694A (en) Method and system for controlling call volume in call process and mobile terminal
JP2015518212A (en) Unlocking method, device and electronic terminal
CN103605465A (en) Method for controlling handheld equipment and handheld equipment
CN101482799A (en) Method for controlling electronic equipment through touching type screen and electronic equipment thereof
CN105700763A (en) Terminal interface window moving method and terminal interface window moving device
CN103853495A (en) Vehicle-mounted device touch control device and method
CN103488406B (en) Adjust the method for mobile terminal screen keyboard, device and mobile terminal
CN107179875B (en) The method and apparatus of window adjustment
CN102929527A (en) Device with picture switching function and picture switching method
CN104965657A (en) Touch control method and apparatus
CN104063142B (en) Information processing method, device and electronic equipment
CN105335724A (en) Window adjusting method and apparatus based on fingerprint identification, and terminal
CN106951258A (en) The operating method and mobile terminal of a kind of mobile terminal
CN107544686A (en) Operation performs method and device
CN103677616B (en) A kind of operating method of electronic installation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
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: OPPO Guangdong Mobile Communications Co., Ltd.

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

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.