CN107066176A - A kind of control method and device of the singlehanded pattern of terminal - Google Patents

A kind of control method and device of the singlehanded pattern of terminal Download PDF

Info

Publication number
CN107066176A
CN107066176A CN201710369248.9A CN201710369248A CN107066176A CN 107066176 A CN107066176 A CN 107066176A CN 201710369248 A CN201710369248 A CN 201710369248A CN 107066176 A CN107066176 A CN 107066176A
Authority
CN
China
Prior art keywords
terminal
singlehanded pattern
incline direction
singlehanded
pattern
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.)
Withdrawn
Application number
CN201710369248.9A
Other languages
Chinese (zh)
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology Co 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201710369248.9A priority Critical patent/CN107066176A/en
Publication of CN107066176A publication Critical patent/CN107066176A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention relates to the control method and device in intelligent terminal field, more particularly to a kind of singlehanded pattern of terminal, this method is, by the gravity sensor in terminal, to obtain the attitude data of the terminal;According to the attitude data of the terminal, when determining that default change occurs for the center of gravity of the terminal, the hand-held mode of the terminal is switched into the first singlehanded pattern, so, the change of the center of gravity of terminal is detected by the gravity sensor in terminal, to determine whether to switch to the first singlehanded pattern, user is when needing one-handed performance, terminal only need to be tilted, it is simple to operate, and then be switched to after the first singlehanded pattern, user can be easy to the singlehanded any part touched in terminal current interface, and the operation needed for performing, improve efficiency, also the experience of the one-handed performance of user is improved.

Description

A kind of control method and device of the singlehanded pattern of terminal
Technical field
The present invention relates to the control method and device in intelligent terminal field, more particularly to a kind of singlehanded pattern of terminal.
Background technology
At present, it is adapted to market and the demand of user, large-sized mobile terminal, such as mobile phone, more and more generally, this gives User brings certain convenience.For mobile phone, the picture mark position of the desktop layouts of mobile phone, i.e. application program is fixed , also, open after certain application program, Application Program Interface can be covered with whole screen, improve the visual effect of user.
But, particularly when mobile phone screen is than larger, in user's single hand operation of mobile phone, it is easy to reach required figure Mark or perform some feature operation, can only both hands could complete, it is less efficient, one-handed performance experience it is poor, it is impossible to meet user Demand.
The content of the invention
The embodiment of the present invention provides a kind of control method and device of the singlehanded pattern of terminal, singlehanded in the prior art to solve Operate terminal experience it is poor, it is inconvenient the problem of.
Concrete technical scheme provided in an embodiment of the present invention is as follows:
A kind of control method of the singlehanded pattern of terminal, methods described includes:
By the gravity sensor in terminal, the attitude data of the terminal is obtained;
According to the attitude data of the terminal, when determining that default change occurs for the center of gravity of the terminal, by the terminal Hand-held mode switches to the first singlehanded pattern.
Preferably, when determining that default change occurs for the center of gravity of the terminal, the hand-held mode of the terminal is switched to the One singlehanded pattern, including:
The coordinate value changed according to the center of gravity of the terminal, determines the incline direction of terminal relative initial position;
According to default incline direction and the corresponding relation of singlehanded pattern, initial bit relative with the terminal of the determination is obtained The described first corresponding singlehanded pattern of the incline direction put;
According to the described first singlehanded pattern of acquisition, the hand-held mode of the terminal is switched into the first singlehanded pattern.
Preferably, according to default incline direction and the corresponding relation of singlehanded pattern, obtaining the terminal phase with the determination The described first singlehanded pattern corresponding to the incline direction of initial position, including:
When the terminal is tilted to the left, then the incline direction phase with determination terminal relative initial position that is obtaining Corresponding first singlehanded pattern, is the singlehanded pattern of left hand;Or,
When the terminal is tilted to the right, then the incline direction phase with determination terminal relative initial position that is obtaining Corresponding first singlehanded pattern, is the singlehanded pattern of the right hand.
Preferably, by the gravity sensor in terminal, before the attitude data for obtaining the terminal, further comprising:
Receive the operation for the long-press to the screen of the terminal/press again.
A kind of control device of the singlehanded pattern of terminal, described device includes:
Acquiring unit, for by the gravity sensor in terminal, obtaining the attitude data of the terminal;
Switch unit, for the attitude data according to the terminal, when determining that default change occurs for the center of gravity of the terminal, The hand-held mode of the terminal is switched into the first singlehanded pattern.
Preferably, when determining that default change occurs for the center of gravity of the terminal, the hand-held mode of the terminal is switched to the One singlehanded pattern, switch unit is used for:
The coordinate value changed according to the center of gravity of the terminal, determines the incline direction of terminal relative initial position;
According to default incline direction and the corresponding relation of singlehanded pattern, initial bit relative with the terminal of the determination is obtained The described first corresponding singlehanded pattern of the incline direction put;
According to the described first singlehanded pattern of acquisition, the hand-held mode of the terminal is switched into the first singlehanded pattern.
Preferably, according to default incline direction and the corresponding relation of singlehanded pattern, obtaining the terminal phase with the determination The described first singlehanded pattern corresponding to the incline direction of initial position, switch unit is used for:
When the terminal is tilted to the left, then the incline direction phase with determination terminal relative initial position that is obtaining Corresponding first singlehanded pattern, is the singlehanded pattern of left hand;Or,
When the terminal is tilted to the right, then the incline direction phase with determination terminal relative initial position that is obtaining Corresponding first singlehanded pattern, is the singlehanded pattern of the right hand.
Preferably, by the gravity sensor in terminal, before the attitude data for obtaining the terminal, further comprising:
Receiving unit, the operation for receiving the long-press of the screen to the terminal/press again.
A kind of computer installation, the computer installation includes processor, and the processor is used to perform in memory to deposit The step of control method of the singlehanded pattern of any of the above-described kind of terminal is realized during the computer program of storage.
A kind of computer-readable recording medium, is stored thereon with computer program, and the computer program is held by processor The step of control method of the singlehanded pattern of any of the above-described kind of terminal is realized during row.
In the embodiment of the present invention, by the gravity sensor in terminal, the attitude data of the terminal is obtained;According to described The attitude data of terminal, when determining that default change occurs for the center of gravity of the terminal, the is switched to by the hand-held mode of the terminal One singlehanded pattern, so, the change of the center of gravity by detecting terminal, to determine whether to switch to the first singlehanded pattern, user works as When needing one-handed performance, terminal only need to be tilted, it is simple to operate, and then be switched to after the first singlehanded pattern, user can be very Icon or function button of application program needed for easily touching etc., singlehanded can perform required behaviour in current interface Make, improve efficiency, also improve the experience of the one-handed performance of user.
Brief description of the drawings
Fig. 1 is in the embodiment of the present invention, the control method of terminal one hand pattern summarizes flow chart;
During Fig. 2 is the embodiment of the present invention, the first first singlehanded pattern implementation schematic diagram;
During Fig. 3 is the embodiment of the present invention, second first singlehanded pattern implementation schematic diagrames;
Fig. 4 be the embodiment of the present invention in, terminal one hand pattern control method detail flowchart;
Fig. 5 be the embodiment of the present invention in, terminal one hand pattern control device structural representation;
Fig. 6 be the embodiment of the present invention in, a kind of structural representation of computer installation.
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 is described, it is clear that described embodiment is only a part of embodiment of the invention, is not whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
In order to solve one-handed performance terminal experience in the prior art it is poor, it is inconvenient the problem of, in the embodiment of the present invention, lead to The gravity sensor crossed in terminal, to determine whether the center of gravity of terminal occurs default change, and then according to the gravity center shift of terminal, The singlehanded pattern of control terminal.
The present invention program is described in detail below by specific embodiment, certainly, the present invention is not limited to following reality Apply example.
As shown in fig.1, in the embodiment of the present invention, the idiographic flow of the control method of terminal one hand pattern is as follows:
Step 100:By the gravity sensor in terminal, the attitude data of the terminal is obtained.
In practice, under many circumstances, user has the demand of one-handed performance to terminal, for example, a hand carries thing, or On bus, a hand needs to buttress handgrip etc., but needs to check the wechat of mobile phone or other operations simultaneously, at this moment, especially For large-screen mobile phone, user is easy to reach required icon or function button, and one-handed performance is very inconvenient, typically for example with During the left-handed operation mobile phone of family, mobile phone can be tilted to the left, therefore, in the embodiment of the present invention, can according to the gravity center shift of terminal, Carry out the singlehanded pattern of control terminal.
When performing step 100, specifically include:
By the gravity sensor in terminal, the coordinate value that the center of gravity of terminal changes at least is obtained.
It is of course also possible to the other attitude datas of terminal be obtained, for example, angle change value etc..
Generally, it can obtain the center of gravity of terminal by gravity sensor measurement due to acceleration caused by gravity, work as terminal When tilting or tipping over, center of gravity can change, and gravity sensor can detect the change of center of gravity.
The three-dimensional system of coordinate (X, Y, Z) of terminal can be pre-seted in terminal, specific set-up mode may for different terminals Have difference, typically, for example, the three-dimensional system of coordinate of terminal is set to, when terminal just it is vertical place when, X-axis positive direction be from Left-to-right, Y-axis positive direction is from top to bottom, and Z axis positive direction is from inside to outside, and then gravity sensor can pass through (X, Y, Z) Value reflect the change of center of gravity.
Further, before execution step 100, in addition to:
Receive the operation for the long-press to the screen of the terminal/press again.
That is, in the embodiment of the present invention, can also be according to user's request, to determine whether to enable the singlehanded pattern of terminal Control method, i.e., before step 100 is performed, terminal receives singlehanded mode control instruction, or triggering command, specifically, can Think the long-press operation to the screen of terminal, or, it is that pressing again for the screen to terminal operates.
Wherein, long-press is operated, and setting duration is reached for the pressing operation of the screen to terminal;
Again by operation, the pressure value for the pressing operation of the screen to terminal reaches predetermined threshold value.
It is of course also possible to be the other operations pre-set, for example, clicking number of times to the predeterminable area of the screen of terminal Setting number of times, the lower left or lower right of the screen of predeterminable area, for example, terminal or the arbitrary region of lower section are reached, specifically For the other operations pre-set, in the embodiment of the present invention, and it is not limited, can makes according to practical operation and conveniently With to be configured.
Step 110:According to the attitude data of the terminal, when determining that default change occurs for the center of gravity of the terminal, by institute The hand-held mode for stating terminal switches to the first singlehanded pattern.
When performing step 110, specifically include:
First, the coordinate value changed according to the center of gravity of the terminal, determines the inclination side of terminal relative initial position To.
Specifically, the attitude data based on terminal, obtains the coordinate value that the center of gravity of terminal changes, and according to terminal The coordinate value that center of gravity changes, determines the incline direction of terminal relative initial position.
Then, according to default incline direction and the corresponding relation of singlehanded pattern, obtain relative with the terminal of the determination The described first corresponding singlehanded pattern of the incline direction of initial position.
It is specifically divided into following several situations:
The first situation:It is when the terminal is tilted to the left, then obtaining with determination terminal relative initial position Corresponding the first singlehanded pattern of incline direction, be the singlehanded pattern of left hand.
Second of situation:It is when the terminal is tilted to the right, then obtaining with determination terminal relative initial position Corresponding the first singlehanded pattern of incline direction, be the singlehanded pattern of the right hand.
For example, during user's single hand operation of mobile phone, some icon above the screen of terminal is reached, if singlehanded using left hand Operation, then be tilted to the left mobile phone, if using right hand one-handed performance, be tilted to the right mobile phone, at this moment, can detect terminal center of gravity Change, determine the incline direction of terminal, and then switch to the singlehanded pattern of left hand, or the singlehanded pattern of the right hand.
Finally, according to the described first singlehanded pattern of acquisition, the hand-held mode of the terminal is switched into the first singlehanded mould Formula.
Wherein, the implementation of the first singlehanded pattern can have following several:
First way:By the current interface of terminal, reduced according to preset ratio, and prezone will be worked as after diminution Face, according to the corresponding incline direction of the first one hand pattern, is moved.
For example, as shown in fig.2, the first implementation schematic diagram of the first singlehanded pattern for mobile phone.
Wherein, (1) figure is the interface schematic diagram under mobile phone normal mode in Fig. 2.
(2) figure is that the hand-held mode of mobile phone switches to the interface schematic diagram of the singlehanded pattern of left hand in Fig. 2.User's left hand is singlehanded During operating handset, mobile phone is tilted to the left, at this moment, the current interface of mobile phone diminishes, and is integrally moved to the left, and is moved to lower-left Side.
(3) figure is that the hand-held mode of mobile phone switches to the interface schematic diagram of the singlehanded pattern of the right hand in Fig. 2.User's right hand is singlehanded During operating handset, mobile phone is tilted to the right, at this moment, the current interface of mobile phone diminishes, and integrally moves right, and is moved to bottom right Side.
So, user can be readily accessible each position in terminal current interface, and then the corresponding operation of execution, It is easy to user's one-handed performance.
The second way:If the current interface of terminal is the icon interface of application program, by the icon in current interface, According to the first singlehanded corresponding incline direction of pattern and default transformation rule, move.
Wherein, the icon interface of application program, is the icon for the application program that installation is downloaded in the desktop of terminal, terminal, It will present on the table.
Specifically:1) icon in current interface, can not change the relative position between icon, move to incline direction Corresponding predeterminable area.For example, by the icon in current interface above screen, the region of the bottom of integral translation to screen. In another example, by the icon in current interface above screen, move to the region of the lower left of screen or the region of lower right.
2) or, change current interface in icon relative position, successively by the icon in every a line, be moved to The corresponding predeterminable area of incline direction.For example, there are three row icons on desktop, also, allow to include most in per a line on desktop Large icons number is 3, wherein, in this three rows icon, the first row, which has in three icons, the second row and the third line, two figures Mark, for example, being tilted to the left, the first singlehanded pattern is the singlehanded pattern of left hand, then because the icon of the first row has reached maximum number, There is no unnecessary space, then the icon of the first row need not be mobile, and the icon in the second row and the third line is moved to the left successively, mobile To the position near the screen left side.
3) or, by the position of the icon in current interface, overturn 180 degree, and the icon after upset is moved to inclination The corresponding predeterminable area in direction.
Because, most of situation, during one-handed performance, for example, left hand one-handed performance, big for the icon on the screen left side Part can be got at, and be not easy to get at for the icon on the right of screen.
At this moment, if it is desired to click on the icon on the left side, user's one hand can be got at, it is possible to be started without the first singlehanded pattern .If want the icon on the right of clicking on, also, user reaches, then is switched to the singlehanded pattern of left hand, can be by the position of icon Put and overturn, the icon on the right is moved to left, the icon on the left side moves to right, and then is achieved that one-handed performance.
That is, in the embodiment of the present invention, if current interface is the icon interface of application program, can not reduce and work as Front interface, only moves the icon in current interface, changes the layout of icon in desktop.
Further, before moving icon, the size of icon can also be reduced, or reduce the spacer between icon From.
For example, as shown in fig.3, being first single second of implementation schematic diagram for receiving pattern of mobile phone.
Wherein, (1) figure is the interface schematic diagram under mobile phone normal mode in Fig. 3, for example, there is four row figures on the desktop of mobile phone Mark, has one, two, three, four icons per a line, each icon is represented using small square frame respectively, and with Arab's number Word allows the maximum icon number included in per a line to be 4 to distinguish on each icon, desktop.
(2) figure is that the hand-held mode of mobile phone switches to the interface schematic diagram of the singlehanded pattern of left hand in Fig. 3.User's left hand is singlehanded During operating handset, mobile phone is tilted to the left, at this moment, the icon in current interface is moved to the left successively.
(3) figure is that the hand-held mode of mobile phone switches to the interface schematic diagram of the singlehanded pattern of the right hand in Fig. 3.User's right hand is singlehanded During operating handset, mobile phone is tilted to the right, the icon in current interface moves right.
So, under the first singlehanded pattern, thus it is possible to vary the position of icon and layout so that the left hand or the right hand of user can With each icon for being easy to touch in terminal current interface, and then different icons can be selected, be operated, improved The experience of user's one-handed performance.
Further, when it is determined that user releases the first singlehanded pattern, the hand-held mode of terminal is switched into normal mode.
In the embodiment of the present invention, triggering one-hand operating format is fairly simple, and user can change eventually only by tilting terminal The center of gravity at end, and then terminal is switched to the corresponding first singlehanded pattern, very convenient, operation is also fairly simple, meets use The demand of family one-handed performance, improves Consumer's Experience.
Further description is made to above-described embodiment using a specific application scenarios below.Referring particularly to Fig. 4 Shown, in the embodiment of the present invention, the implementation procedure of the control method of terminal one hand pattern is specific as follows:
Step 400:Receive and the long-press of the screen of terminal is operated.
Wherein, the long-press to the screen of terminal is operated, and is the default trigger action for starting the first singlehanded pattern, can also Other operations are set to, for example, again by operation.
Step 401:By the gravity sensor in terminal, the attitude data of terminal is obtained.
Step 402:According to the attitude data of terminal, determine whether the center of gravity of terminal occurs default change, if so, then performing Step 403, otherwise, then step 402 is continued executing with.
Step 403:The coordinate value changed according to the center of gravity of terminal, determines the inclination side of terminal relative initial position To.
Step 404:According to default incline direction and the corresponding relation of singlehanded pattern, the singlehanded mould of corresponding first is determined Formula.
Specifically, if incline direction to the left, the first singlehanded pattern is the singlehanded pattern of left hand;If incline direction is to the right, First singlehanded pattern is the singlehanded pattern of the right hand.
Step 405:The hand-held mode of terminal is switched into the first singlehanded pattern.
Based on above-described embodiment, as shown in fig.5, in the embodiment of the present invention, the control device of terminal one hand pattern, specifically Including:
Acquiring unit 50, for by the gravity sensor in terminal, obtaining the attitude data of the terminal;
Switch unit 51, for the attitude data according to the terminal, determines that default change occurs for the center of gravity of the terminal When, the hand-held mode of the terminal is switched into the first singlehanded pattern.
Preferably, when determining that default change occurs for the center of gravity of the terminal, the hand-held mode of the terminal is switched to the One singlehanded pattern, switch unit 51 is used for:
The coordinate value changed according to the center of gravity of the terminal, determines the incline direction of terminal relative initial position;
According to default incline direction and the corresponding relation of singlehanded pattern, initial bit relative with the terminal of the determination is obtained The described first corresponding singlehanded pattern of the incline direction put;
According to the described first singlehanded pattern of acquisition, the hand-held mode of the terminal is switched into the first singlehanded pattern.
Preferably, according to default incline direction and the corresponding relation of singlehanded pattern, obtaining the terminal phase with the determination The described first singlehanded pattern corresponding to the incline direction of initial position, switch unit 51 is used for:
When the terminal is tilted to the left, then the incline direction phase with determination terminal relative initial position that is obtaining Corresponding first singlehanded pattern, is the singlehanded pattern of left hand;Or,
When the terminal is tilted to the right, then the incline direction phase with determination terminal relative initial position that is obtaining Corresponding first singlehanded pattern, is the singlehanded pattern of the right hand.
Preferably, by the gravity sensor in terminal, before the attitude data for obtaining the terminal, further comprising:
Receiving unit 52, the operation for receiving the long-press of the screen to the terminal/press again.
Based on above-described embodiment, there is provided a kind of computer-readable recording medium in the embodiment of the present invention, it is stored thereon with Computer program, the computer program realizes the terminal singlehanded pattern in above-mentioned any means embodiment when being executed by processor Control method.
Based on above-described embodiment, as shown in fig.6, in the embodiment of the present invention, a kind of structural representation of computer installation.
The embodiments of the invention provide a kind of computer installation, the computer installation can include (the Center of processor 610 Processing Unit, CPU), memory 620, input equipment 630 and output equipment 640 etc., input equipment 630 can include Keyboard, mouse, touch-screen etc., output equipment 640 can include display device, such as liquid crystal display (Liquid Crystal Display, LCD), cathode-ray tube (Cathode Ray Tube, CRT) etc..
Memory 620 can include read-only storage (ROM) and random access memory (RAM), and be carried to processor 610 For the programmed instruction and data stored in memory 620.In embodiments of the present invention, memory 620 can be used for storing above-mentioned The program of the control method of terminal one hand pattern.
Processor 610 is by calling the programmed instruction that memory 620 is stored, and processor 610 is used for the program according to acquisition Instruction is performed:
By the gravity sensor in terminal, the attitude data of the terminal is obtained;
According to the attitude data of the terminal, when determining that default change occurs for the center of gravity of the terminal, by the terminal Hand-held mode switches to the first singlehanded pattern.
Preferably, when determining that default change occurs for the center of gravity of the terminal, the hand-held mode of the terminal is switched to the One singlehanded pattern, processor 610 is used for:
The coordinate value changed according to the center of gravity of the terminal, determines the incline direction of terminal relative initial position;
According to default incline direction and the corresponding relation of singlehanded pattern, initial bit relative with the terminal of the determination is obtained The described first corresponding singlehanded pattern of the incline direction put;
According to the described first singlehanded pattern of acquisition, the hand-held mode of the terminal is switched into the first singlehanded pattern.
Preferably, according to default incline direction and the corresponding relation of singlehanded pattern, obtaining the terminal phase with the determination The described first singlehanded pattern corresponding to the incline direction of initial position, processor 610 is used for:
When the terminal is tilted to the left, then the incline direction phase with determination terminal relative initial position that is obtaining Corresponding first singlehanded pattern, is the singlehanded pattern of left hand;Or,
When the terminal is tilted to the right, then the incline direction phase with determination terminal relative initial position that is obtaining Corresponding first singlehanded pattern, is the singlehanded pattern of the right hand.
Preferably, by the gravity sensor in terminal, before the attitude data for obtaining the terminal, processor 610 enters One step is used for:Receive the operation for the long-press to the screen of the terminal/press again.
In summary, in the embodiment of the present invention, by the gravity sensor in terminal, the posture number of the terminal is obtained According to;According to the attitude data of the terminal, when determining that default change occurs for the center of gravity of the terminal, by the hand-held mould of the terminal Formula switches to the first singlehanded pattern, so, the change of the center of gravity by detecting terminal, to determine whether to switch to the first singlehanded mould Formula, user only need to tilt terminal when needing one-handed performance, simple to operate, and then be switched to after the first singlehanded pattern, use Family can be easy to icon or function button of the application program needed for touching etc., singlehanded institute can be performed in current interface The operation needed, improves efficiency, also improves the experience of the one-handed performance of user.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without departing from this hair to the embodiment of the present invention The spirit and scope of bright embodiment.So, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention And its within the scope of equivalent technologies, then the present invention is also intended to comprising including these changes and modification.

Claims (10)

1. the control method of the singlehanded pattern of a kind of terminal, it is characterised in that methods described includes:
By the gravity sensor in terminal, the attitude data of the terminal is obtained;
According to the attitude data of the terminal, when determining that default change occurs for the center of gravity of the terminal, by the hand-held of the terminal Pattern switching is the first singlehanded pattern.
2. the method as described in claim 1, it is characterised in that when determining that default change occurs for the center of gravity of the terminal, by institute The hand-held mode for stating terminal switches to the first singlehanded pattern, including:
The coordinate value changed according to the center of gravity of the terminal, determines the incline direction of terminal relative initial position;
According to default incline direction and the corresponding relation of singlehanded pattern, obtain and the terminal relative initial position of the determination The described first corresponding singlehanded pattern of incline direction;
According to the described first singlehanded pattern of acquisition, the hand-held mode of the terminal is switched into the first singlehanded pattern.
3. method as claimed in claim 2, it is characterised in that according to corresponding pass of the default incline direction with singlehanded pattern System, obtains the singlehanded pattern of described first corresponding with the incline direction of the terminal relative initial position of the determination, including:
It is when the terminal is tilted to the left, then obtaining corresponding with determination terminal relative initial position incline direction The first singlehanded pattern, be the singlehanded pattern of left hand;Or,
It is when the terminal is tilted to the right, then obtaining corresponding with determination terminal relative initial position incline direction The first singlehanded pattern, be the singlehanded pattern of the right hand.
4. the method as described in claim 1,2 or 3, it is characterised in that by the gravity sensor in terminal, obtains the end Before the attitude data at end, further comprise:
Receive the operation for the long-press to the screen of the terminal/press again.
5. the control device of the singlehanded pattern of a kind of terminal, it is characterised in that described device includes:
Acquiring unit, for by the gravity sensor in terminal, obtaining the attitude data of the terminal;
Switch unit, for the attitude data according to the terminal, when determining that default change occurs for the center of gravity of the terminal, by institute The hand-held mode for stating terminal switches to the first singlehanded pattern.
6. device as claimed in claim 5, it is characterised in that when determining that default change occurs for the center of gravity of the terminal, by institute The hand-held mode for stating terminal switches to the first singlehanded pattern, and switch unit is used for:
The coordinate value changed according to the center of gravity of the terminal, determines the incline direction of terminal relative initial position;
According to default incline direction and the corresponding relation of singlehanded pattern, obtain and the terminal relative initial position of the determination The described first corresponding singlehanded pattern of incline direction;
According to the described first singlehanded pattern of acquisition, the hand-held mode of the terminal is switched into the first singlehanded pattern.
7. device as claimed in claim 6, it is characterised in that according to corresponding pass of the default incline direction with singlehanded pattern System, obtains the singlehanded pattern of described first corresponding with the incline direction of the terminal relative initial position of the determination, and switching is single Member is used for:
It is when the terminal is tilted to the left, then obtaining corresponding with determination terminal relative initial position incline direction The first singlehanded pattern, be the singlehanded pattern of left hand;Or,
It is when the terminal is tilted to the right, then obtaining corresponding with determination terminal relative initial position incline direction The first singlehanded pattern, be the singlehanded pattern of the right hand.
8. the device as described in claim 5,6 or 7, it is characterised in that by the gravity sensor in terminal, obtains the end Before the attitude data at end, further comprise:
Receiving unit, the operation for receiving the long-press of the screen to the terminal/press again.
9. a kind of computer installation, it is characterised in that the computer installation includes processor, the processor is deposited for execution The step of any one methods described in such as claim 1-4 is realized during the computer program stored in reservoir.
10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that:The computer program The step of any one methods described in such as claim 1-4 is realized when being executed by processor.
CN201710369248.9A 2017-05-23 2017-05-23 A kind of control method and device of the singlehanded pattern of terminal Withdrawn CN107066176A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710369248.9A CN107066176A (en) 2017-05-23 2017-05-23 A kind of control method and device of the singlehanded pattern of terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710369248.9A CN107066176A (en) 2017-05-23 2017-05-23 A kind of control method and device of the singlehanded pattern of terminal

Publications (1)

Publication Number Publication Date
CN107066176A true CN107066176A (en) 2017-08-18

Family

ID=59610401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710369248.9A Withdrawn CN107066176A (en) 2017-05-23 2017-05-23 A kind of control method and device of the singlehanded pattern of terminal

Country Status (1)

Country Link
CN (1) CN107066176A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368245A (en) * 2017-08-29 2017-11-21 广东欧珀移动通信有限公司 Pattern enables method and device
CN107526451A (en) * 2017-09-04 2017-12-29 惠州Tcl移动通信有限公司 Control method, storage medium and the mobile terminal of mobile terminal input method soft keyboard
CN107831984A (en) * 2017-10-31 2018-03-23 努比亚技术有限公司 A kind of switching method, terminal and the computer-readable recording medium of singlehanded pattern
CN110659086A (en) * 2018-06-29 2020-01-07 中兴通讯股份有限公司 Method for adjusting gravity center position, terminal and computer storage medium
CN111049971A (en) * 2019-11-15 2020-04-21 深圳传音控股股份有限公司 Single-hand mode switching method, terminal and computer storage medium
CN112165550A (en) * 2020-09-02 2021-01-01 Oppo(重庆)智能科技有限公司 Single-hand control method, terminal and storage medium
CN112162811A (en) * 2020-09-27 2021-01-01 维沃移动通信有限公司 Display method and display device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593138A (en) * 2013-11-15 2014-02-19 深圳市中兴移动通信有限公司 Method for operating mobile terminal with one hand and mobile terminal
CN104793880A (en) * 2014-01-16 2015-07-22 华为终端有限公司 Interface operation method and terminal
CN104850339A (en) * 2014-02-19 2015-08-19 联想(北京)有限公司 Information processing method and electronic equipment
CN105278947A (en) * 2015-06-18 2016-01-27 维沃移动通信有限公司 Interface element configuration method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593138A (en) * 2013-11-15 2014-02-19 深圳市中兴移动通信有限公司 Method for operating mobile terminal with one hand and mobile terminal
CN104793880A (en) * 2014-01-16 2015-07-22 华为终端有限公司 Interface operation method and terminal
CN104850339A (en) * 2014-02-19 2015-08-19 联想(北京)有限公司 Information processing method and electronic equipment
CN105278947A (en) * 2015-06-18 2016-01-27 维沃移动通信有限公司 Interface element configuration method and apparatus

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368245A (en) * 2017-08-29 2017-11-21 广东欧珀移动通信有限公司 Pattern enables method and device
CN107526451A (en) * 2017-09-04 2017-12-29 惠州Tcl移动通信有限公司 Control method, storage medium and the mobile terminal of mobile terminal input method soft keyboard
WO2019042478A1 (en) * 2017-09-04 2019-03-07 惠州Tcl移动通信有限公司 Control method for input method soft keyboard of mobile terminal, storage medium, and mobile terminal
CN107831984A (en) * 2017-10-31 2018-03-23 努比亚技术有限公司 A kind of switching method, terminal and the computer-readable recording medium of singlehanded pattern
CN110659086A (en) * 2018-06-29 2020-01-07 中兴通讯股份有限公司 Method for adjusting gravity center position, terminal and computer storage medium
CN111049971A (en) * 2019-11-15 2020-04-21 深圳传音控股股份有限公司 Single-hand mode switching method, terminal and computer storage medium
WO2021093236A1 (en) * 2019-11-15 2021-05-20 深圳传音控股股份有限公司 One-handed mode switching method, terminal, and computer storage medium
CN112165550A (en) * 2020-09-02 2021-01-01 Oppo(重庆)智能科技有限公司 Single-hand control method, terminal and storage medium
CN112165550B (en) * 2020-09-02 2021-11-16 Oppo(重庆)智能科技有限公司 Single-hand control method, terminal and storage medium
CN112162811A (en) * 2020-09-27 2021-01-01 维沃移动通信有限公司 Display method and display device

Similar Documents

Publication Publication Date Title
US11079908B2 (en) Method and apparatus for adding icon to interface of android system, and mobile terminal
CN107066176A (en) A kind of control method and device of the singlehanded pattern of terminal
CN106843739B (en) A kind of display control method and mobile terminal of mobile terminal
EP2722730B1 (en) Mobile terminal and method for moving cursor thereof
RU2666236C2 (en) Method of block display operation and terminal therefor
CN103186345B (en) The section system of selection of a kind of literary composition and device
KR101735902B1 (en) User interface interaction method and apparatus applied in touchscreen device, touchscreen device, program and storage medium
CN103019568B (en) terminal and icon display method
KR101972924B1 (en) Method and apparatus for designating enire area using partial area touch in a portable equipment
EP2835729A1 (en) Method for controlling position of floating window and terminal
KR20130011437A (en) Method and apparatus for managing icon in portable terminal
CN107329644B (en) Icon moving method and device
JP2004078693A (en) Visual field movement operating method
US20160077580A1 (en) Apparatus and control method based on motion
CN111831182B (en) Application icon control method and device and electronic equipment
CN103970434B (en) Respond the method and electronic equipment of operation
CN105843467A (en) Icon displaying method and device
CN103389850A (en) Method and device for realizing shortcut operation on browser
CN108108078B (en) Electronic equipment, display control method and related product
KR20140141305A (en) A mobile phone to separate screen and controlling method thereof
US11455071B2 (en) Layout method, device and equipment for window control bars
CN104978030A (en) Left and right hand based software and method for automatically adjusting display interface of mobile phone
CN108600528A (en) Interaction control method and device, electronic equipment, storage medium
KR100808990B1 (en) Apparatus and method for selecting menu using pointing device
JP5482549B2 (en) Display device, display method, and display program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20170818

WW01 Invention patent application withdrawn after publication