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 PDFInfo
- 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
- mode
- hand
- determined
- gravity
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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/04817—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User 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
Technical Field
The invention relates to the field of intelligent terminals, in particular to a control method and device for a terminal single-hand mode.
Background
At present, large-sized mobile terminals, such as mobile phones, are becoming more and more popular to meet the demands of the market and users, which brings certain convenience to the users. For the mobile phone, the desktop layout of the mobile phone, namely the icon position of an application program, is fixed, and after a certain application program is opened, the whole screen is covered with an application program interface, so that the visual effect of a user is improved.
However, especially when the screen of the mobile phone is large, when a user operates the mobile phone with one hand, the user can not easily reach a required icon or execute a certain function operation, and can only complete the operation with two hands, so that the efficiency is low, the experience of the operation with one hand is poor, and the user requirements can not be met.
Disclosure of Invention
The embodiment of the invention provides a control method and a control device for a terminal single-hand mode, and aims to solve the problems of poor and inconvenient experience of a single-hand operation terminal in the prior art.
The embodiment of the invention provides the following specific technical scheme:
a control method of a terminal single-hand mode comprises the following steps:
acquiring attitude data of a terminal through a gravity sensor in the terminal;
and switching the handheld mode of the terminal into a first single-hand mode when the gravity center of the terminal is determined to be changed in a preset mode according to the attitude data of the terminal.
Preferably, when it is determined that the center of gravity of the terminal is changed by a preset amount, switching the handheld mode of the terminal to the first one-handed mode includes:
determining the inclination direction of the terminal relative to the initial position according to the coordinate value of the change of the center of gravity of the terminal;
acquiring the first single-hand mode corresponding to the determined inclination direction of the terminal relative to the initial position according to the corresponding relation between the preset inclination direction and the single-hand mode;
and switching the handheld mode of the terminal into a first single-hand mode according to the acquired first single-hand mode.
Preferably, the obtaining the first one-handed mode corresponding to the determined tilt direction of the terminal relative to the initial position according to a preset corresponding relationship between the tilt direction and the one-handed mode includes:
when the terminal inclines to the left, the acquired first single-hand mode corresponding to the inclination direction of the determined terminal relative to the initial position is a left-hand single-hand mode; or,
and when the terminal inclines rightwards, the acquired first single-hand mode corresponding to the inclination direction of the determined terminal relative to the initial position is the right-hand single-hand mode.
Preferably, before acquiring the attitude data of the terminal through a gravity sensor in the terminal, the method further includes:
and receiving a long press/re-press operation on the screen of the terminal.
A control apparatus of a terminal one-handed mode, the apparatus comprising:
the terminal comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit is used for acquiring attitude data of the terminal through a gravity sensor in the terminal;
and the switching unit is used for switching the handheld mode of the terminal into a first single-hand mode when the gravity center of the terminal is determined to be changed in a preset mode according to the attitude data of the terminal.
Preferably, when it is determined that the center of gravity of the terminal is changed by a preset value, the handheld mode of the terminal is switched to the first one-handed mode, and the switching unit is configured to:
determining the inclination direction of the terminal relative to the initial position according to the coordinate value of the change of the center of gravity of the terminal;
acquiring the first single-hand mode corresponding to the determined inclination direction of the terminal relative to the initial position according to the corresponding relation between the preset inclination direction and the single-hand mode;
and switching the handheld mode of the terminal into a first single-hand mode according to the acquired first single-hand mode.
Preferably, the first one-handed mode corresponding to the determined tilt direction of the terminal relative to the initial position is obtained according to a corresponding relationship between a preset tilt direction and the one-handed mode, and the switching unit is configured to:
when the terminal inclines to the left, the acquired first single-hand mode corresponding to the inclination direction of the determined terminal relative to the initial position is a left-hand single-hand mode; or,
and when the terminal inclines rightwards, the acquired first single-hand mode corresponding to the inclination direction of the determined terminal relative to the initial position is the right-hand single-hand mode.
Preferably, before acquiring the attitude data of the terminal through a gravity sensor in the terminal, the method further includes:
and the receiving unit is used for receiving the long pressing/repeated pressing operation on the screen of the terminal.
A computer arrangement comprising a processor for implementing the steps of any of the above-described methods of controlling a single-handed mode of a terminal when executing a computer program stored in a memory.
A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for controlling a one-handed mode of any of the above-mentioned terminals.
In the embodiment of the invention, the attitude data of the terminal is acquired through a gravity sensor in the terminal; according to the attitude data of the terminal, when the center of gravity of the terminal is determined to be changed in a preset mode, the handheld mode of the terminal is switched to the first single-hand mode, therefore, whether the terminal is switched to the first single-hand mode is determined through the change of the center of gravity of the detection terminal, when the terminal needs to be operated by a single hand, the terminal only needs to be inclined, the operation is simple, and after the terminal is switched to the first single-hand mode, the user can easily touch icons or function buttons and the like of required application programs, the required operation can be executed on the current interface by the single hand, the efficiency is improved, and the experience of the single-hand operation of the user is also improved.
Drawings
FIG. 1 is a flowchart illustrating an exemplary embodiment of a method for controlling a terminal in a one-handed mode;
FIG. 2 is a schematic diagram of a first implementation manner of the single-handed mode according to the embodiment of the present disclosure;
FIG. 3 is a diagram illustrating a second implementation manner of the first single-handed mode according to an embodiment of the present disclosure;
FIG. 4 is a detailed flowchart of a control method for a terminal in a one-handed mode according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a control apparatus in a terminal single-handed mode according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the problems of poor experience and inconvenience of a single-hand operation terminal in the prior art, the embodiment of the invention determines whether the center of gravity of the terminal is preset or not through a gravity sensor in the terminal, and then controls the single-hand mode of the terminal according to the change of the center of gravity of the terminal.
The present invention will be described in detail with reference to specific examples, but it is to be understood that the present invention is not limited to the examples.
Referring to fig. 1, in the embodiment of the present invention, a specific process of a terminal one-hand mode control method is as follows:
step 100: and acquiring attitude data of the terminal through a gravity sensor in the terminal.
In fact, in many cases, a user needs to perform one-hand operation on the terminal, for example, one hand needs to hold an object, or hold a hand grip on a bus, but one hand needs to hold the hand grip, but at the same time needs to check the WeChat or other operations of the mobile phone, at this time, especially for a large-screen mobile phone, the user can easily not reach a required icon or function button, the one-hand operation is very inconvenient, and for example, when the user operates the mobile phone with the left hand, the mobile phone is generally tilted to the left, so in the embodiment of the present invention, the one-hand mode of the terminal can be controlled according to the change of the center of gravity of the terminal.
When step 100 is executed, the method specifically includes:
and at least obtaining the coordinate value of the change of the center of gravity of the terminal through a gravity sensor in the terminal.
Of course, other attitude data of the terminal, such as an angle change value, may be obtained.
In general, acceleration due to gravity may be measured by a gravity sensor to obtain a center of gravity of the terminal, and the center of gravity may be changed when the terminal is tilted or overturned, and the gravity sensor may detect the change of the center of gravity.
The three-dimensional coordinate system (X, Y, Z) of the terminal can be preset in the terminal, the specific setting mode can be different for different terminals, generally, for example, the three-dimensional coordinate system of the terminal is set to be that when the terminal is vertically placed, the positive direction of an X axis is from left to right, the positive direction of a Y axis is from bottom to top, and the positive direction of the Z axis is from inside to outside, so that the gravity sensor can reflect the change of the gravity center through the value of (X, Y, Z).
Further, before performing step 100, the method further includes:
and receiving a long press/re-press operation on the screen of the terminal.
That is to say, in the embodiment of the present invention, it may also be determined whether to enable the terminal single-hand mode control method according to a user requirement, that is, before step 100 is executed, the terminal receives a single-hand mode control instruction or a trigger instruction, specifically, the operation may be a long press operation on a screen of the terminal, or a re-press operation on the screen of the terminal.
The long-time pressing operation is that the pressing operation on the screen of the terminal reaches a set time length;
and (4) re-pressing operation, wherein the pressure value of the pressing operation on the screen of the terminal reaches a preset threshold value.
Of course, other preset operations may also be performed, for example, the number of times of clicking on a preset area of the screen of the terminal reaches a set number of times, and the preset area is, for example, any area at the lower left, lower right, or lower right of the screen of the terminal.
Step 110: and switching the handheld mode of the terminal into a first single-hand mode when the gravity center of the terminal is determined to be changed in a preset mode according to the attitude data of the terminal.
When step 110 is executed, the method specifically includes:
first, the inclination direction of the terminal with respect to the initial position is determined based on the coordinate value of the change in the center of gravity of the terminal.
Specifically, coordinate values of the changed center of gravity of the terminal are acquired based on the attitude data of the terminal, and the tilt direction of the terminal relative to the initial position is determined according to the coordinate values of the changed center of gravity of the terminal.
And then, acquiring the first single-hand mode corresponding to the determined inclination direction of the terminal relative to the initial position according to the corresponding relation between the preset inclination direction and the single-hand mode.
The method specifically comprises the following conditions:
in the first case: and when the terminal inclines to the left, the acquired first single-hand mode corresponding to the inclination direction of the determined terminal relative to the initial position is a left-hand single-hand mode.
In the second case: and when the terminal inclines rightwards, the acquired first single-hand mode corresponding to the inclination direction of the determined terminal relative to the initial position is the right-hand single-hand mode.
For example, when a user operates a mobile phone with one hand, a certain icon above a screen of the terminal cannot be reached, if the user operates the mobile phone with one hand with the left hand, the mobile phone is tilted to the left, and if the user operates the mobile phone with one hand with the right hand, the mobile phone is tilted to the right.
And finally, switching the handheld mode of the terminal into a first single-hand mode according to the acquired first single-hand mode.
The implementation manner of the first single-hand mode may be as follows:
the first mode is as follows: and reducing the current interface of the terminal according to a preset proportion, and moving the reduced current interface according to the inclination direction corresponding to the first one-hand mode.
For example, referring to fig. 2, a schematic diagram of a first implementation manner of a first single-hand mode of a mobile phone is shown.
Fig. 2 (1) is an interface schematic diagram in the normal mode of the mobile phone.
Fig. 2 (2) is an interface schematic diagram of the mobile phone switching from the handheld mode to the left-hand single-hand mode. When a user operates the mobile phone with one hand in the left hand, the mobile phone is inclined towards the left, and at the moment, the current interface of the mobile phone is reduced, moves leftwards integrally and moves to the lower left.
Fig. 2 (3) is an interface schematic diagram of the mobile phone switching from the handheld mode to the right-handed one-handed mode. When a user operates the mobile phone with one hand at the right hand, the mobile phone is inclined to the right, at the moment, the current interface of the mobile phone becomes small, and the mobile phone moves to the right lower side integrally.
Therefore, the user can easily touch each part on the current interface of the terminal to further execute corresponding operation, and the user can conveniently operate with one hand.
The second mode is as follows: and if the current interface of the terminal is the icon interface of the application program, moving the icon in the current interface according to the inclination direction corresponding to the first one-hand mode and a preset transformation rule.
The icon interface of the application program is a desktop of the terminal, and icons of the application programs downloaded and installed in the terminal are all displayed on the desktop.
Specifically, the method comprises the following steps: 1) the icons in the current interface can be translated to the preset area corresponding to the inclined direction without changing the relative positions of the icons. For example, the icons above the screen in the current interface are panned in their entirety to the lowermost region of the screen. For another example, the icon above the screen in the current interface is translated to the lower left area or the lower right area of the screen.
2) Or changing the relative position of the icons in the current interface, and sequentially moving the icons in each row to the preset area corresponding to the inclination direction. For example, there are three rows of icons on the desktop, and the maximum number of icons allowed to be included in each row on the desktop is 3, where the first row of the three rows of icons has three icons, the second row and the third row have two icons, for example, tilted to the left, and the first one-handed mode is a left-handed one-handed mode, and since the icons in the first row reach the maximum number and there is no excess space, the icons in the first row do not need to be moved, and the icons in the second row and the third row are sequentially moved to the left and moved to the position closest to the left of the screen.
3) Or, the position of the icon in the current interface is turned by 180 degrees, and the turned icon is moved to a preset area corresponding to the inclination direction.
This is because, in most cases, in one-handed operation, for example, in left-handed operation, icons on the left side of the screen are mostly accessible, and icons on the right side of the screen are not easily accessible.
At this time, if the user wants to click the icon on the left, the user can reach the icon with one hand, and the first one-hand mode is not needed to be started. If the right icon is clicked and the user cannot reach the right icon, the left-handed mode is switched to, the position of the icon can be turned over, the right icon is moved to the left, the left icon is moved to the right, and then single-handed operation is achieved.
That is to say, in the embodiment of the present invention, if the current interface is an icon interface of an application program, only the icon in the current interface is moved without reducing the current interface, and the layout of the icon in the desktop is changed.
Further, before moving the icons, the icons may also be reduced in size, or the spacing distance between the icons may be reduced.
For example, refer to fig. 3, which is a schematic diagram illustrating a second implementation manner of the first single-receiving mode of the mobile phone.
Fig. 3 (1) is a schematic interface diagram in a normal mode of the mobile phone, for example, there are four rows of icons on a desktop of the mobile phone, each row has one, two, three, and four icons, each icon is represented by a small box, and each icon is distinguished by an arabic numeral, and the maximum number of icons allowed to be included in each row on the desktop is 4.
Fig. 3 (2) is an interface schematic diagram of the mobile phone switching from the handheld mode to the left-handed single-handed mode. When the user operates the mobile phone with one hand in the left hand, the mobile phone is inclined to the left, and at the moment, the icons on the current interface move to the left in sequence.
Fig. 3 (3) is an interface schematic diagram of switching the handheld mode of the mobile phone to the right-handed one-handed mode. When the user operates the mobile phone with one hand in the right hand, the mobile phone is inclined to the right, and the icon on the current interface moves to the right.
Therefore, in the first single-hand mode, the positions and the layouts of the icons can be changed, so that the left hand or the right hand of a user can easily touch each icon on the current interface of the terminal, different icons can be selected for operation, and the experience of single-hand operation of the user is improved.
Further, when it is determined that the user releases the first one-handed mode, the hand-held mode of the terminal is switched to the normal mode.
In the embodiment of the invention, the triggering of the single-hand operation mode is simple, the user can change the center of gravity of the terminal only by tilting the terminal, so that the terminal is switched to the corresponding first single-hand mode, the operation is very convenient, the operation is simple, the requirement of the user on the single-hand operation is met, and the user experience is improved.
The above embodiments are further described in detail below using a specific application scenario. Specifically, referring to fig. 4, in the embodiment of the present invention, an execution process of the control method in the terminal single-hand mode is specifically as follows:
step 400: and receiving a long-press operation on a screen of the terminal.
The long press operation on the screen of the terminal is a preset trigger operation for starting the first one-hand mode, and may also be set to other operations, for example, a re-press operation.
Step 401: and acquiring attitude data of the terminal through a gravity sensor in the terminal.
Step 402: and determining whether the gravity center of the terminal is changed in a preset manner or not according to the attitude data of the terminal, if so, executing the step 403, and otherwise, continuing to execute the step 402.
Step 403: and determining the inclination direction of the terminal relative to the initial position according to the coordinate value of the change of the center of gravity of the terminal.
Step 404: and determining a corresponding first single-hand mode according to the corresponding relation between the preset inclination direction and the single-hand mode.
Specifically, if the tilt direction is to the left, the first one-handed mode is a left-handed one-handed mode; if the tilt direction is to the right, the first one-handed mode is a right-handed one-handed mode.
Step 405: and switching the handheld mode of the terminal into a first single-hand mode.
Based on the above embodiments, referring to fig. 5, in an embodiment of the present invention, a control device in a terminal single-hand mode specifically includes:
an acquisition unit 50, configured to acquire attitude data of a terminal through a gravity sensor in the terminal;
and the switching unit 51 is configured to switch the handheld mode of the terminal to the first one-hand mode when it is determined that the center of gravity of the terminal is changed by a preset amount according to the posture data of the terminal.
Preferably, when it is determined that the center of gravity of the terminal is changed by a preset value, the handheld mode of the terminal is switched to the first one-handed mode, and the switching unit 51 is configured to:
determining the inclination direction of the terminal relative to the initial position according to the coordinate value of the change of the center of gravity of the terminal;
acquiring the first single-hand mode corresponding to the determined inclination direction of the terminal relative to the initial position according to the corresponding relation between the preset inclination direction and the single-hand mode;
and switching the handheld mode of the terminal into a first single-hand mode according to the acquired first single-hand mode.
Preferably, the first one-handed mode corresponding to the determined tilt direction of the terminal relative to the initial position is obtained according to a preset corresponding relationship between the tilt direction and the one-handed mode, and the switching unit 51 is configured to:
when the terminal inclines to the left, the acquired first single-hand mode corresponding to the inclination direction of the determined terminal relative to the initial position is a left-hand single-hand mode; or,
and when the terminal inclines rightwards, the acquired first single-hand mode corresponding to the inclination direction of the determined terminal relative to the initial position is the right-hand single-hand mode.
Preferably, before acquiring the attitude data of the terminal through a gravity sensor in the terminal, the method further includes:
a receiving unit 52, configured to receive a long press/re-press operation on a screen of the terminal.
Based on the above embodiments, in an embodiment of the present invention, there is provided a computer-readable storage medium on which a computer program is stored, the computer program, when executed by a processor, implementing the control method of the terminal one-handed mode in any of the above method embodiments.
Based on the above embodiments, referring to fig. 6, a schematic structural diagram of a computer device according to an embodiment of the present invention is shown.
An embodiment of the present invention provides a computer apparatus, which may include a processor 610 (central processing Unit, CPU), a memory 620, an input device 630, an output device 640, and the like, wherein the input device 630 may include a keyboard, a mouse, a touch screen, and the like, and the output device 640 may include a display device, such as a Liquid Crystal Display (LCD), a Cathode Ray Tube (CRT), and the like.
Memory 620 may include Read Only Memory (ROM) and Random Access Memory (RAM), and provides processor 610 with program instructions and data stored in memory 620. In the embodiment of the present invention, the memory 620 may be used to store a program of the control method of the terminal one-handed mode described above.
By calling the program instructions stored in the memory 620, the processor 610 is configured to perform the following steps according to the obtained program instructions:
acquiring attitude data of a terminal through a gravity sensor in the terminal;
and switching the handheld mode of the terminal into a first single-hand mode when the gravity center of the terminal is determined to be changed in a preset mode according to the attitude data of the terminal.
Preferably, when it is determined that the center of gravity of the terminal is changed by a preset amount, the handheld mode of the terminal is switched to the first one-handed mode, and the processor 610 is configured to:
determining the inclination direction of the terminal relative to the initial position according to the coordinate value of the change of the center of gravity of the terminal;
acquiring the first single-hand mode corresponding to the determined inclination direction of the terminal relative to the initial position according to the corresponding relation between the preset inclination direction and the single-hand mode;
and switching the handheld mode of the terminal into a first single-hand mode according to the acquired first single-hand mode.
Preferably, the processor 610 is configured to obtain the first single-handed mode corresponding to the determined tilt direction of the terminal relative to the initial position according to a preset corresponding relationship between the tilt direction and the single-handed mode, and:
when the terminal inclines to the left, the acquired first single-hand mode corresponding to the inclination direction of the determined terminal relative to the initial position is a left-hand single-hand mode; or,
and when the terminal inclines rightwards, the acquired first single-hand mode corresponding to the inclination direction of the determined terminal relative to the initial position is the right-hand single-hand mode.
Preferably, before acquiring the attitude data of the terminal through a gravity sensor in the terminal, the processor 610 is further configured to: and receiving a long press/re-press operation on the screen of the terminal.
In summary, in the embodiment of the present invention, the attitude data of the terminal is acquired through a gravity sensor in the terminal; according to the attitude data of the terminal, when the center of gravity of the terminal is determined to be changed in a preset mode, the handheld mode of the terminal is switched to the first single-hand mode, therefore, whether the terminal is switched to the first single-hand mode is determined through the change of the center of gravity of the detection terminal, when the terminal needs to be operated by a single hand, the terminal only needs to be inclined, the operation is simple, and after the terminal is switched to the first single-hand mode, the user can easily touch icons or function buttons and the like of required application programs, the required operation can be executed on the current interface by the single hand, the efficiency is improved, and the experience of the single-hand operation of the user is also improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.
Claims (10)
1. A control method of a terminal single-hand mode is characterized by comprising the following steps:
acquiring attitude data of a terminal through a gravity sensor in the terminal;
and switching the handheld mode of the terminal into a first single-hand mode when the gravity center of the terminal is determined to be changed in a preset mode according to the attitude data of the terminal.
2. The method of claim 1, wherein switching the handheld mode of the terminal to the first one-handed mode upon determining that the preset change in the center of gravity of the terminal occurs comprises:
determining the inclination direction of the terminal relative to the initial position according to the coordinate value of the change of the center of gravity of the terminal;
acquiring the first single-hand mode corresponding to the determined inclination direction of the terminal relative to the initial position according to the corresponding relation between the preset inclination direction and the single-hand mode;
and switching the handheld mode of the terminal into a first single-hand mode according to the acquired first single-hand mode.
3. The method of claim 2, wherein obtaining the first one-handed mode corresponding to the determined tilt direction of the terminal relative to the initial position according to a preset corresponding relationship between the tilt direction and the one-handed mode comprises:
when the terminal inclines to the left, the acquired first single-hand mode corresponding to the inclination direction of the determined terminal relative to the initial position is a left-hand single-hand mode; or,
and when the terminal inclines rightwards, the acquired first single-hand mode corresponding to the inclination direction of the determined terminal relative to the initial position is the right-hand single-hand mode.
4. The method of claim 1, 2 or 3, wherein before acquiring the attitude data of the terminal by a gravity sensor in the terminal, further comprising:
and receiving a long press/re-press operation on the screen of the terminal.
5. A control apparatus for a one-handed mode of a terminal, the apparatus comprising:
the terminal comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit is used for acquiring attitude data of the terminal through a gravity sensor in the terminal;
and the switching unit is used for switching the handheld mode of the terminal into a first single-hand mode when the gravity center of the terminal is determined to be changed in a preset mode according to the attitude data of the terminal.
6. The apparatus of claim 5, wherein when it is determined that the center of gravity of the terminal has a preset change, the handheld mode of the terminal is switched to a first one-handed mode, and the switching unit is configured to:
determining the inclination direction of the terminal relative to the initial position according to the coordinate value of the change of the center of gravity of the terminal;
acquiring the first single-hand mode corresponding to the determined inclination direction of the terminal relative to the initial position according to the corresponding relation between the preset inclination direction and the single-hand mode;
and switching the handheld mode of the terminal into a first single-hand mode according to the acquired first single-hand mode.
7. The apparatus according to claim 6, wherein the first one-handed mode corresponding to the determined tilt direction of the terminal relative to the initial position is obtained according to a preset corresponding relationship between the tilt direction and the one-handed mode, and the switching unit is configured to:
when the terminal inclines to the left, the acquired first single-hand mode corresponding to the inclination direction of the determined terminal relative to the initial position is a left-hand single-hand mode; or,
and when the terminal inclines rightwards, the acquired first single-hand mode corresponding to the inclination direction of the determined terminal relative to the initial position is the right-hand single-hand mode.
8. The apparatus of claim 5, 6 or 7, wherein before acquiring the attitude data of the terminal through a gravity sensor in the terminal, further comprising:
and the receiving unit is used for receiving the long pressing/repeated pressing operation on the screen of the terminal.
9. A computer arrangement, characterized in that the computer arrangement comprises a processor for implementing the steps of the method according to any one of claims 1-4 when executing a computer program stored in a memory.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program realizing the steps of the method according to any one of claims 1-4 when executed by a processor.
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 (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107368245A (en) * | 2017-08-29 | 2017-11-21 | 广东欧珀移动通信有限公司 | Mode activation 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 | 中兴通讯股份有限公司 | A method, terminal and computer storage medium for adjusting the position of center of gravity |
| 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 |
| CN117201666A (en) * | 2023-09-25 | 2023-12-08 | 泉州市谨讯软件有限公司 | Intelligent optimization method and device for quick display of camera shooting interface functions |
Citations (4)
| 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 |
-
2017
- 2017-05-23 CN CN201710369248.9A patent/CN107066176A/en not_active Withdrawn
Patent Citations (4)
| 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 (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107368245A (en) * | 2017-08-29 | 2017-11-21 | 广东欧珀移动通信有限公司 | Mode activation 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 | 中兴通讯股份有限公司 | A method, terminal and computer storage medium for adjusting the position of center of gravity |
| 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 |
| CN117201666A (en) * | 2023-09-25 | 2023-12-08 | 泉州市谨讯软件有限公司 | Intelligent optimization method and device for quick display of camera shooting interface functions |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107066176A (en) | A kind of control method and device of the singlehanded pattern of terminal | |
| US11079908B2 (en) | Method and apparatus for adding icon to interface of android system, and mobile terminal | |
| EP2722730B1 (en) | Mobile terminal and method for moving cursor thereof | |
| KR101735902B1 (en) | User interface interaction method and apparatus applied in touchscreen device, touchscreen device, program and storage medium | |
| US8860672B2 (en) | User interface with z-axis interaction | |
| EP3683666B1 (en) | Floating action button display method and terminal device | |
| EP2835729A1 (en) | Method for controlling position of floating window and terminal | |
| CN112516583A (en) | Data processing method and device in game and electronic terminal | |
| KR20180081133A (en) | Rapid screen segmentation method and apparatus, electronic device, display interface, and storage medium | |
| CN107329644A (en) | A kind of icon moving method and device | |
| CN107111423A (en) | Select the operable item in the graphic user interface of mobile computer system | |
| KR20160110453A (en) | Interface operation method and terminal | |
| US20140104170A1 (en) | Method of performing keypad input in a portable terminal and apparatus | |
| CN105159582B (en) | A kind of video area method of adjustment and terminal | |
| EP2889740A1 (en) | Method, apparatus and computer program product for zooming and operating screen frame | |
| US20170329489A1 (en) | Operation input apparatus, mobile terminal, and operation input method | |
| EP2975507A1 (en) | Touch-type terminal and method thereof for locating prompt box | |
| CN103389850A (en) | Method and device for realizing shortcut operation on browser | |
| KR20160019762A (en) | Method for controlling touch screen with one hand | |
| CN104731478A (en) | Single-hand operation method and device of intelligent terminal | |
| CN103970434B (en) | Respond the method and electronic equipment of operation | |
| CN110389704B (en) | Single-hand operation method of mobile terminal, mobile terminal and storage medium | |
| WO2016183912A1 (en) | Menu layout arrangement method and apparatus | |
| CN105824493B (en) | A kind of control method and mobile terminal of mobile terminal | |
| CN105204754B (en) | The one-handed performance method and device of touch screen |
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 |