CN106445334B - Display interface adjusting method and adjusting system - Google Patents
Display interface adjusting method and adjusting system Download PDFInfo
- Publication number
- CN106445334B CN106445334B CN201610807101.9A CN201610807101A CN106445334B CN 106445334 B CN106445334 B CN 106445334B CN 201610807101 A CN201610807101 A CN 201610807101A CN 106445334 B CN106445334 B CN 106445334B
- Authority
- CN
- China
- Prior art keywords
- display interface
- angle
- icon
- adjusting
- rotation
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 230000035945 sensitivity Effects 0.000 claims description 28
- 230000003750 conditioning effect Effects 0.000 claims description 3
- 230000001133 acceleration Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 10
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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
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)
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a display interface adjusting method and a display interface adjusting system, wherein the adjusting method comprises the following steps: generating angle data of a sensor when the terminal equipment rotates; generating adjusting parameters of a screen according to the angle data, wherein the adjusting parameters comprise the display direction of the icons in the display interface and/or the layout positions of the icons; and adjusting the display interface of the terminal equipment according to the adjusting parameters. According to the invention, the display interface of the terminal equipment is adjusted in real time by acquiring the angle data of the terminal equipment during rotation so as to generate the display interface rotating in a full angle.
Description
Technical Field
The invention belongs to the technical field of computers, and particularly relates to a display interface adjusting method and a display interface adjusting system.
Background
The display screen serves as one of the essential elements of the terminal device, and initially provides the user with an image output service. With the appearance and development of touch screens, display screens have both input and control functions.
At present, the rotation of the display screen mainly focuses on acquiring the current posture of the terminal device through a gyroscope built in the terminal device, and the current posture is matched with a horizontal screen mode or a vertical screen mode.
And the application programs supported by the display screen only support a horizontal screen mode or a vertical screen mode. Taking the display of the photo as an example, whether the camera is inclined at a certain angle or not during photographing, the display type of the photo formed by the method has only 2 options: including landscape mode (also known as landscape mode) and portrait mode (also known as portrait mode).
Disclosure of Invention
In view of the above, the present invention provides a method and a system for adjusting a display interface, which can solve the technical problems that a rotation mode of a display screen is too simple and a multi-angle rotation display interface cannot be generated in the prior art.
In order to solve the above technical problem, an embodiment of the present invention provides a method for adjusting a display interface, including:
generating angle data of a sensor when the terminal equipment rotates;
generating adjusting parameters of a screen according to the angle data, wherein the adjusting parameters comprise the display direction of the icons in the display interface and/or the layout positions of the icons; and
and adjusting the display interface of the terminal equipment according to the adjusting parameters.
In order to solve the above technical problem, an embodiment of the present invention further provides a system for adjusting a display interface, including:
the sensor module is used for generating angle data of the sensor when the terminal equipment rotates;
the parameter module is used for generating adjusting parameters of a screen according to the angle data, and the adjusting parameters comprise the display direction of the icons in the display interface and/or the layout positions of the icons; and
and the adjusting module is used for adjusting the display interface of the terminal equipment according to the adjusting parameters.
According to the adjusting method and the adjusting system for the display interface, the display interface of the terminal equipment is adjusted in real time by acquiring the angle data of the terminal equipment during rotation, so that the display interface rotating in a full angle is generated.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a basic flow diagram illustrating a method for adjusting a display interface according to an embodiment of the present invention.
Fig. 2 is a schematic detailed flow chart of an adjustment method of a display interface according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of a basic module of a regulation system provided in an embodiment of the present invention.
Fig. 4 is a schematic diagram of a detailed module of the adjusting system provided by the embodiment of the invention.
Fig. 5 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention.
Fig. 6 is an exemplary diagram of a display interface provided by an embodiment of the present invention.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements throughout, the principles of the present invention are illustrated in a suitable computing environment. The following description is based on illustrated embodiments of the invention and should not be taken as limiting the invention with regard to other embodiments that are not detailed herein.
While the principles of the invention have been described in the foregoing context, which is not intended to be limiting, those of ordinary skill in the art will appreciate that various of the steps and operations described below may also be implemented in hardware. The principles of the present invention are operational with numerous other general purpose or special purpose computing, communication environments or configurations.
Referring to fig. 1, a basic flow diagram of a method for adjusting a display interface according to an embodiment of the present invention is shown. The method for adjusting the display interface is generally executed in a terminal device, such as a mobile phone, a tablet computer, and the like, and is not always enumerated here.
Specifically, the method for adjusting the display interface includes:
in step S101, when the terminal device is rotated, angle data of the sensor is generated.
Specifically, an acceleration sensor in the terminal device is used to sense the rotation of the terminal device, and a gyroscope is used to generate angle data when the current rotation occurs.
In step S102, an adjustment parameter of the screen is generated according to the angle data, where the adjustment parameter includes a display direction of an icon in the display interface and/or a layout position of the icon.
In this embodiment, the display interface includes an icon display icon and a control icon.
The display icon refers to an icon that performs an output function, such as a text icon, a picture icon, and an application icon. The adjustment parameter includes a display direction of the display icon.
The control icons refer to icons that perform input/control functions, such as a pause icon and an exit icon. The adjustment parameters include the layout positions of the control icons, for example, at any 2 diagonal angles of the mobile phone, or distributed on any side of the terminal device, so as to support one-handed operation of a master control hand (left hand or right hand).
In step S103, the display interface of the terminal device is adjusted according to the adjustment parameter.
Specifically, the step of adjusting comprises:
(1) and acquiring the display direction in the adjusting parameter, and rotating the display icon in the display interface. For example, the rotation is 45 ° clockwise around the default direction (i.e. the normal use direction, for example, the direction of the mobile phone, the default direction is the direction in which all three axes of the gyroscope are 0, or at least some two axes are 0).
(2) And acquiring the layout position in the adjusting parameter, and laying out the control icon in the display interface. The control icons can be distributed on four sides of the display screen, the top points of the display screen, or any 2 opposite sides or diagonal angles of the mobile phone in whole or in part.
According to the method for adjusting the display interface, the display interface of the terminal equipment is adjusted in real time by acquiring the angle data of the terminal equipment during rotation, so that the display interface rotating in a full angle is generated.
Referring to fig. 2, a detailed flow diagram of a method for adjusting a display interface according to an embodiment of the present invention is shown. The method for adjusting the display interface is generally executed in a terminal device, such as a mobile phone, a tablet computer, and the like, and is not always enumerated here.
Specifically, the method for adjusting the display interface includes:
in step S201, the adjustment type of the display interface is acquired.
It is understood that the adjustment type obtaining mode can be set directly by the user, or can be set by the currently displayed content and be modified by the user.
Wherein the adjustment types include: non-rotation, horizontal and vertical screen rotation, and full angle rotation. The term "not rotate" means that the display interface is not changed by selection regardless of how the terminal device rotates. The 'horizontal and vertical screen rotation' means that when the terminal equipment rotates, the display interface is switched to the horizontal screen or the vertical screen closest to the rotation angle according to the rotation angle. The "full-angle rotation" refers to adjustment of the display interface according to an actual rotation angle when the terminal device rotates, and the specific display manner is as follows.
In step S202, when the adjustment type is full angle, a rotation sensitivity value is obtained, where the sensitivity value corresponds to a preset time threshold.
It will be appreciated that the sensitivity value may be set directly by the user, or may be set by the currently displayed content and subject to modification by the user. For example, the sensitivity value is set to third gear (high sensitivity, medium sensitivity, and low sensitivity) or second gear (high sensitivity and low sensitivity), and examples are as follows:
(1) the high sensitivity value corresponds to a first time threshold value, such as 0.1 second, is mainly suitable for game application, and can generate matched display content in time according to the rotation of the terminal equipment;
(2) the low sensitivity value corresponds to a second time threshold value, such as 5 seconds, is mainly suitable for character application, mainly comprises a horizontal screen or a vertical screen, and does not need to perform interface conversion in real time even if the terminal equipment rotates.
In step S203, when the terminal device rotates, it is determined whether the duration of the rotation is greater than the time threshold.
Specifically, an acceleration sensor in the terminal device is used to sense the rotation of the terminal device, and a gyroscope is used to generate angle data when the current rotation occurs.
If not, step S204 is executed, and if not, step S205 is executed.
In step S204, when the duration of the rotation is not greater than the time threshold, the current rotation is ignored.
In step S205, when the duration of the rotation is greater than the time threshold, angle data of the sensor is generated.
In step S206, an adjustment parameter of the screen is generated according to the angle data, where the adjustment parameter includes a display direction of an icon in the display interface and/or a layout position of the icon.
Specifically, the present step includes:
in step S2061, the angle data before the present rotation occurs is read as an initial value.
For example, the initial value is a 20 degree left rotation centered on the default direction.
In step S2062, the angle data after the present rotation is acquired as the current value.
For example, after this rotation, the current value is 45 degrees to the right.
In step S2063, the difference between the current value and the initial value is calculated to generate the adjustment parameter.
Namely, the adjustment parameter is 65 degrees selected to the right on the data before the current rotation occurs, and the corresponding layout position is read according to 45 degrees selected to the right.
In step S207, it is determined whether the adjustment parameter is greater than a preset angle.
For example, the preset angles include, but are not limited to: 1 degree, 5 degrees, 10 degrees, 20 degrees, 45 degrees, or the like, for supporting the corresponding application. Such as: if the novel application program is a novel application program, a larger preset angle, such as 45 degrees, can be selected, namely, even if the characters are inclined at a certain angle, the reading is not influenced. If the application program is a game application program, a smaller preset angle, such as 5 degrees, is selected, so that the scene and the flexibility of the game can be displayed from more angles, particularly a racing game and the like.
If yes, go to step S208; if not, go to step S209.
In step S208, when the adjustment parameter is greater than a preset angle, the current value is stored, and the display interface of the terminal device is adjusted according to the adjustment parameter.
A display interface, as shown in fig. 6, includes icon display icons and control icons. Displaying icons refers to icons that perform output functions, including but not limited to: a text icon a, a picture icon B, and an application icon C. Control icons refer to icons that perform input/control functions, including but not limited to: a pause icon D and an exit icon E.
The adjusting parameters comprise the display direction of the display icon and/or the layout position of the control icon.
The display direction of the display icon, for example, takes a default direction (taking a mobile phone as an example, the mobile phone is vertically placed, the microphone is down, the direction of the receiver in the normal use mode is the default direction) O-O' as a center, and the text icon a, the picture icon B, the application icon C, and the like on the display icon point to a display direction, for example, clockwise rotation is performed to 45 °.
The layout positions of the control icons can be completely or partially distributed on four sides and vertexes of a display screen, or any 2 opposite sides or diagonal angles of the mobile phone. For example, the pause icon D and the exit icon E are laid out on any 2 diagonal corners of the terminal device.
In the above, the music playing application is taken as an example, the rotation may be a biaxial change of the XY axis, and if the game scene is a Z-axis change, for example, a corresponding sky scene is displayed when the screen is downward, and a ground scene is displayed when the screen is upward.
In step S209, when the adjustment parameter is not greater than a preset angle, the current value is stored.
It will be appreciated that the current value is stored for accumulating the current deflection angle. The problem that the terminal equipment cannot sense when the rotation angle is not large but is slowly accumulated to be a large inclination angle is avoided.
According to the adjusting method of the display interface, the angle data of the terminal equipment during rotation is acquired, and the display interface of the terminal equipment is controllably adjusted in real time to generate the display interface rotating in a full angle, so that different types of applications are supported.
Referring to fig. 3, a basic module diagram of a system for adjusting a display interface according to an embodiment of the present invention is shown. The display interface adjustment system 300 is generally implemented in a terminal device, such as a mobile phone, a tablet computer, etc., which are not necessarily enumerated herein.
Specifically, the adjustment system 300 for display interface includes: a sensor module 31, a parameter module 32, and an adjustment module 33.
And the sensor module 31 is used for generating angle data of the sensor when the terminal equipment rotates.
Specifically, the sensor module 31 is connected to an acceleration sensor (not shown) and a gyroscope (not shown) in the terminal device. The acceleration sensor is used for sensing the rotation of the terminal equipment, and the gyroscope is used for generating angle data when the rotation occurs.
And the parameter module 32 is connected to the sensor module 31 and used for generating the adjustment parameters of the screen according to the angle data. The adjusting parameters comprise the display direction of the icons in the display interface and/or the layout positions of the icons.
In this embodiment, the display interface includes an icon display icon and a control icon. The display icon refers to an icon that performs an output function, such as a text icon, a picture icon, and an application icon. The adjustment parameter includes a display direction of the display icon. The control icons refer to icons that perform input/control functions, such as a pause icon and an exit icon. The adjustment parameters include the layout positions of the control icons, for example, at any 2 diagonal angles of the mobile phone, or distributed on any side of the terminal device, so as to support one-handed operation of a master control hand (left hand or right hand).
And the adjusting module 33 is connected to the parameter module 32 and is used for adjusting the display interface of the terminal device according to the adjusting parameter.
Wherein the adjusting module 33 comprises: a direction sub-module 331, and a position sub-module 332.
Specifically, the direction sub-module 331 is configured to obtain a display direction in the adjustment parameter, and rotate a display icon in the display interface. E.g., 45 ° clockwise, centered on the default orientation.
The position submodule 332 is configured to obtain a layout position in the adjustment parameter, and perform layout on a control icon in a display interface. The control icons can be distributed on four sides of the display screen, the top points, or any 2 opposite sides of the mobile phone, or diagonal angles in whole or in part.
According to the adjusting system of the display interface, the display interface of the terminal equipment is adjusted in real time by acquiring the angle data of the terminal equipment during rotation, so that the display interface rotating in a full angle is generated.
Referring to fig. 4, a detailed module diagram of an adjustment system of a display interface according to an embodiment of the present invention is shown.
Specifically, the adjustment system 400 for display interface includes: a type module 41, a sensitivity module 42, a sensor module 43, a parameter module 44, and an adjustment module 45.
And the type module 41 is used for acquiring the adjustment type of the display interface.
It is understood that the adjustment type obtaining mode can be set directly by the user, or can be set by the currently displayed content and be modified by the user.
Wherein the adjustment types include: non-rotation, horizontal and vertical screen rotation, and full angle rotation. "not rotating" means that the display interface thereof is not changed by selection regardless of how the terminal device is rotated. The 'horizontal and vertical screen rotation' means that when the terminal equipment rotates, the display interface is switched to the horizontal screen or the vertical screen closest to the rotation angle according to the rotation angle. The term "full-angle rotation" refers to that when the terminal device rotates, the display interface is adjusted according to the actual rotation angle, which is more flexible, and the specific display mode is as follows.
And the sensitivity module 42 is connected to the type module 41 and is configured to obtain a rotation sensitivity value when the adjustment type is a full angle, where the sensitivity value corresponds to a preset time threshold.
It will be appreciated that the sensitivity value may be set directly by the user, or may be set by the currently displayed content and subject to modification by the user. For example, the sensitivity value is set to third gear (high sensitivity, medium sensitivity, and low sensitivity) or second gear (high sensitivity and low sensitivity), examples of which are as follows:
(1) the high sensitivity value corresponds to a first time threshold value, such as 0.1 second, is mainly suitable for game application, and can generate matched display content in real time according to the rotation of the terminal equipment;
(2) the low sensitivity value corresponds to a second time threshold value, such as 5 seconds, is mainly suitable for character application, mainly comprises a horizontal screen or a vertical screen, and does not need to perform interface conversion in real time even if the terminal equipment rotates.
And a sensor module 43, connected to the sensitivity module 42, for judging whether the duration of the rotation is greater than the time threshold when the terminal device rotates, and generating angle data of the sensor when the duration of the rotation is greater than the time threshold.
Specifically, an acceleration sensor in the terminal device is used to sense the rotation of the terminal device, and a gyroscope is used to generate angle data when the current rotation occurs. It will be appreciated that the acceleration sensor and gyroscope may always produce corresponding data that is read by the sensor module 43 when the duration is greater than the time threshold.
And the parameter module 44 is connected to the sensor module 43 and is used for generating the adjustment parameters of the screen according to the angle data. The adjusting parameters comprise the display direction of the icons in the display interface and/or the layout positions of the icons.
Wherein the parameter module 44 includes: an initial value sub-module 441, a current value sub-module 442, and a difference sub-module 443.
Specifically, the initial value submodule 441 is configured to read angle data before the current rotation occurs, as an initial value. For example, the initial value is a 20 degree left rotation centered on the default direction.
The current value sub-module 442 is configured to obtain angle data after the rotation occurs, as a current value. For example, after this rotation, the current value is 45 degrees to the right.
A difference sub-module 443 for calculating a difference between the current value and the initial value to generate the adjustment parameter. Namely, the adjustment parameter is 65 degrees selected to the right on the data before the current rotation occurs, and the corresponding layout position is read according to 45 degrees selected to the right.
And the adjusting module 45 is used for adjusting the display interface of the terminal equipment according to the adjusting parameters.
Wherein the adjusting module 45 comprises: a decision sub-module 451, a storage sub-module 452, and a conditioning sub-module 453.
Specifically, the determining sub-module 451 is configured to determine whether the adjustment parameter is greater than a preset angle.
For example, the predetermined angle is 5 degrees, 10 degrees, 20 degrees, or 45 degrees, etc. for supporting the corresponding application program. Such as: if the program is a novel application program, selecting a larger preset angle, such as 45 degrees; if the application program is game application program, a smaller preset angle, such as 5 degrees, is selected.
And a storage submodule 452 configured to store the current value when the current value is smaller than the preset angle.
It will be appreciated that the current value is stored for accumulating the current deflection angle. The problem that the terminal equipment cannot sense when the rotation angle is not large but is slowly accumulated to be a large inclination angle is avoided.
And an adjusting submodule 453, configured to store the current value when the current value is not smaller than the preset angle, and adjust the display interface of the terminal device according to the adjustment parameter.
A display interface, as shown in fig. 6, includes icon display icons and control icons. Displaying icons refers to icons that perform output functions, including but not limited to: a text icon a, a picture icon B, and an application icon C. Control icons refer to icons that perform input/control functions, including but not limited to: a pause icon D and an exit icon E.
The adjusting parameters comprise the display direction of the display icon and/or the layout position of the control icon.
The display direction of the display icon, for example, takes a default direction (taking a mobile phone as an example, the mobile phone is vertically placed, the microphone is down, the direction of the receiver in the normal use mode is the default direction) O-O' as a center, and the text icon a, the picture icon B, the application icon C, and the like on the display icon point to a display direction, for example, clockwise rotation is performed to 45 °.
The layout positions of the control icons can be completely or partially distributed on four sides and vertexes of a display screen, or any 2 opposite sides or diagonal angles of the mobile phone. For example, the pause icon D and the exit icon E are laid out on any 2 diagonal corners of the terminal device.
In the above, the music playing application is taken as an example, the rotation may be a biaxial change of the XY axis, and if the game scene is a Z-axis change, for example, a corresponding sky scene is displayed when the screen is downward, and a ground scene is displayed when the screen is upward.
The adjusting system of the display interface provided by the invention can be used for controllably adjusting the display interface of the terminal equipment in real time by acquiring the angle data of the terminal equipment during rotation so as to generate the display interface rotating in a full angle and support different types of applications.
Fig. 5 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention. The terminal device 500 includes one or more processors 51, memory 52, sensors 53, and one or more applications 54. The processor 51, the memory 52, and the sensor 53 transmit data through a data bus 55.
The processor 51 executes various functional applications and data processing by running application programs and modules stored in the memory 52.
In the present embodiment, the sensors 53 include, but are not limited to, an acceleration sensor 531, and a gyroscope 532.
The acceleration Sensor (accelerometer Sensor)531, which is also a G-Sensor, is used to detect the acceleration in each direction (generally three axes) during movement, and detect the gravity in the stationary state, so as to execute applications (such as horizontal and vertical screen switching, related games, magnetometer posture calibration) for recognizing the posture of the mobile phone, and functions (such as pedometer, tapping) related to vibration recognition. In the present embodiment, the acceleration sensor 531 is mainly used to confirm whether the terminal device is rotated. The display mode of the data is as follows: when the mobile phone is horizontally placed, the original data are as follows: the acceleration of the X-axis and the Y-axis are both 0, and the acceleration of the Z-axis is equal to the acceleration of gravity. When the mobile phone rotates, new data is generated, and the change amount of the new data is the new data minus the original data.
The Gyroscope (Gyro) 532, also called angular velocity Sensor (Gyro-Sensor), is used in conjunction with the acceleration Sensor 531 to determine the rotation angle of the terminal apparatus 500 when the rotation occurs. The display mode of the data is as follows, for example, X: 0.053, Y: -0.006, Z: 9.793, screen orientation: and (5) erecting the screen. It is understood that the + -, in the X-axis, Y-axis, and Z-axis correspond to left-right, front-back, and up-down, respectively.
In the present embodiment, program code for the one or more applications 54 is stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:
receiving angle data of a sensor when the terminal equipment rotates;
generating adjusting parameters of a screen according to the angle data, wherein the adjusting parameters comprise the display direction of the icons in the display interface and/or the layout positions of the icons; and
and adjusting the display interface of the terminal equipment according to the adjusting parameters.
Further, the adjusting method of the display interface and/or the adjusting system for operating the display interface provided in the above embodiments are/is implemented.
The adjusting method and the adjusting system for the display interface provided by the embodiment of the invention belong to the same concept, and the specific implementation process is described in the full text of the specification and is not described herein again.
In summary, although the present invention has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, therefore, the scope of the present invention shall be determined by the appended claims.
Claims (6)
1. A method for adjusting a display interface, comprising:
when the terminal equipment rotates, determining the type of the current application program and a preset time threshold and a preset angle threshold corresponding to the type, and generating angle data of a sensor when the rotating duration is longer than the preset time threshold;
reading angle data before the rotation of the time, taking the angle data as an initial value, acquiring the angle data after the rotation of the time, taking the angle data as a current value, and calculating the difference between the current value and the initial value to generate an adjusting parameter, wherein the adjusting parameter comprises the display direction of a display icon and the layout position of a control icon in a display interface, the display icon is an icon for executing an output function, and the control icon is an icon for executing an input or control function; and
storing the current value to accumulate the deflection angle of the terminal equipment, and adjusting the display interface of the terminal equipment according to the adjusting parameter when the deflection angle is accumulated to be larger than a preset angle threshold value, wherein the method comprises the following steps: and rotating the display icon, and distributing all or part of the control icon on four sides, a vertex, or any two opposite sides or diagonal angles of the display interface, so as to support the one-hand operation of the master control hand.
2. The adjusting method according to claim 1, wherein when the terminal device rotates, the type to which the current application program belongs and the preset time threshold and the preset angle threshold corresponding to the type are determined, and when the duration of the rotation is greater than the preset time threshold, the angle data of the sensor is generated, and the method further comprises:
and acquiring the adjustment type of the display interface, namely, non-rotation, horizontal and vertical screen rotation and full-angle rotation.
3. The adjusting method according to claim 1, wherein when the terminal device rotates, the type to which the current application program belongs and the preset time threshold and the preset angle threshold corresponding to the type are determined, and when the duration of the rotation is greater than the preset time threshold, the angle data of the sensor is generated, and the method further comprises:
acquiring a rotation sensitive value, wherein the sensitive value corresponds to the preset time threshold;
when the terminal equipment rotates, judging whether the duration time of the rotation is greater than the preset time threshold value or not;
and if the angle is larger than the preset time threshold, generating angle data of the sensor.
4. A system for adjusting a display interface, comprising:
the sensor module is used for determining the type of the current application program and a preset time threshold and a preset angle threshold corresponding to the type when the terminal equipment rotates, and generating angle data of the sensor when the rotating duration is longer than the preset time threshold;
the parameter module is used for reading angle data before the rotation occurs, taking the angle data as an initial value, acquiring the angle data after the rotation occurs, taking the angle data as a current value, and calculating the difference between the current value and the initial value to generate an adjusting parameter, wherein the adjusting parameter comprises the display direction of a display icon and the layout position of a control icon in a display interface, the display icon is an icon for executing an output function, and the control icon is an icon for executing an input or control function; and
the adjusting module is used for storing the current value to accumulate the deflection angle of the terminal device, and adjusting the display interface of the terminal device according to the adjusting parameter when the deflection angle is accumulated to be larger than a preset angle threshold value, and the adjusting module comprises: and rotating the display icon, and distributing all or part of the control icon on four sides, a vertex, or any two opposite sides or diagonal angles of the display interface, so as to support the one-hand operation of the master control hand.
5. The conditioning system of claim 4, further comprising:
and the type module is used for acquiring the adjustment type of the display interface, and rotating the display interface in a non-rotating mode, a horizontal and vertical screen rotating mode and a full-angle rotating mode.
6. The conditioning system of claim 4, further comprising:
the sensitivity module is used for acquiring a rotation sensitivity value, and the sensitivity value corresponds to the preset time threshold;
the sensor module is further configured to determine whether the duration of rotation is greater than the preset time threshold when the terminal device rotates, and generate an angle of the sensor when the duration of rotation is greater than the preset time threshold.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610807101.9A CN106445334B (en) | 2016-09-06 | 2016-09-06 | Display interface adjusting method and adjusting system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610807101.9A CN106445334B (en) | 2016-09-06 | 2016-09-06 | Display interface adjusting method and adjusting system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106445334A CN106445334A (en) | 2017-02-22 |
CN106445334B true CN106445334B (en) | 2020-03-10 |
Family
ID=58164918
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610807101.9A Expired - Fee Related CN106445334B (en) | 2016-09-06 | 2016-09-06 | Display interface adjusting method and adjusting system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106445334B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107783704B (en) * | 2017-09-27 | 2021-07-23 | 北京小米移动软件有限公司 | Picture effect adjusting method and device and terminal |
CN110162246A (en) * | 2019-04-16 | 2019-08-23 | 深圳壹账通智能科技有限公司 | Object displaying method, device, computer equipment and storage medium |
CN110456959B (en) * | 2019-07-31 | 2021-04-23 | 维沃移动通信有限公司 | Terminal control method and terminal |
CN111857910A (en) * | 2020-06-28 | 2020-10-30 | 维沃移动通信有限公司 | Information display method and device and electronic equipment |
CN113220198A (en) * | 2021-05-08 | 2021-08-06 | 北京达佳互联信息技术有限公司 | Parameter adjusting method and device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080086715A (en) * | 2007-03-23 | 2008-09-26 | 주식회사 현대오토넷 | Car mark display method in navigation |
CN103049189A (en) * | 2012-12-10 | 2013-04-17 | 广东欧珀移动通信有限公司 | Page convent browsing method and device |
CN103294358A (en) * | 2013-05-17 | 2013-09-11 | 北京小米科技有限责任公司 | Method, device and equipment for controlling screen to rotate |
CN103440082A (en) * | 2013-07-29 | 2013-12-11 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal operation method and mobile terminal |
CN104468874A (en) * | 2013-09-16 | 2015-03-25 | 中国电信股份有限公司 | Method for switching one-handed operation mode and mobile terminal |
CN105100396A (en) * | 2015-05-21 | 2015-11-25 | 努比亚技术有限公司 | Mobile terminal and rotating display method and device thereof |
CN105094567A (en) * | 2015-08-20 | 2015-11-25 | Tcl集团股份有限公司 | Intelligent terminal operation implementation method and system based on gravity sensor |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103049172B (en) * | 2012-12-20 | 2015-11-25 | 小米科技有限责任公司 | Sidebar display packing, device and terminal |
CN103885642A (en) * | 2012-12-21 | 2014-06-25 | 鸿富锦精密工业(深圳)有限公司 | Display control system and display control method |
EP2846238B1 (en) * | 2013-05-29 | 2017-07-19 | Huawei Technologies Co., Ltd. | Method for switching and presentation of operation mode of terminal, and terminal |
CN105630294A (en) * | 2015-12-28 | 2016-06-01 | 广东欧珀移动通信有限公司 | Adjusting method and device of mobile terminal virtual key and mobile terminal |
-
2016
- 2016-09-06 CN CN201610807101.9A patent/CN106445334B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080086715A (en) * | 2007-03-23 | 2008-09-26 | 주식회사 현대오토넷 | Car mark display method in navigation |
CN103049189A (en) * | 2012-12-10 | 2013-04-17 | 广东欧珀移动通信有限公司 | Page convent browsing method and device |
CN103294358A (en) * | 2013-05-17 | 2013-09-11 | 北京小米科技有限责任公司 | Method, device and equipment for controlling screen to rotate |
CN103440082A (en) * | 2013-07-29 | 2013-12-11 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal operation method and mobile terminal |
CN104468874A (en) * | 2013-09-16 | 2015-03-25 | 中国电信股份有限公司 | Method for switching one-handed operation mode and mobile terminal |
CN105100396A (en) * | 2015-05-21 | 2015-11-25 | 努比亚技术有限公司 | Mobile terminal and rotating display method and device thereof |
CN105094567A (en) * | 2015-08-20 | 2015-11-25 | Tcl集团股份有限公司 | Intelligent terminal operation implementation method and system based on gravity sensor |
Also Published As
Publication number | Publication date |
---|---|
CN106445334A (en) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106445334B (en) | Display interface adjusting method and adjusting system | |
EP3042275B1 (en) | Tilting to scroll | |
KR102491443B1 (en) | Display adaptation method and apparatus for application, device, and storage medium | |
US8581844B2 (en) | Switching between a first operational mode and a second operational mode using a natural motion gesture | |
US9157736B2 (en) | Portable electronic device adapted to provide an improved attitude matrix | |
KR101627191B1 (en) | Method and apparatus for determining a user input from inertial sensors | |
CN103777742B (en) | Method and display device for providing user interface in a display device | |
JP5448073B2 (en) | Information processing apparatus, information processing program, information processing system, and selection target selection method | |
EP3042276B1 (en) | Tilting to scroll | |
CN115798384A (en) | Enhanced display rotation | |
US9165533B2 (en) | Display rotation management | |
JP2009301034A (en) | Apparatus equipped with input of display position | |
CN104204993B (en) | Orientation sensing computing device | |
US20120217958A1 (en) | Portable electronic device adapted to compensate for gyroscope bias | |
CN105718232A (en) | Display method and display device of arbitrary angle plane rotation | |
CN108196701B (en) | Method and device for determining posture and VR equipment | |
CN112887777B (en) | Interactive prompting method and device for interactive video, electronic equipment and storage medium | |
EP2520903A1 (en) | Portable electronic device adapted to compensate for gyroscope bias | |
US20190212834A1 (en) | Software gyroscope apparatus | |
WO2023221929A1 (en) | Image display method and apparatus, electronic device, and storage medium | |
KR101414823B1 (en) | Method, apparatus, and computer readable recording medium for displaying browser by reacting device's movement | |
CN110633335B (en) | Method, terminal and readable storage medium for acquiring POI data | |
CN114549435A (en) | Method and device for detecting virtual reality camera and electronic equipment | |
CN115428423A (en) | Guide map providing method and electronic device supporting the same | |
JP2012089007A (en) | Portable terminal and menu screen display method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200310 |
|
CF01 | Termination of patent right due to non-payment of annual fee |