WO2020024521A1 - 一种屏幕展示方法、装置、终端及可读存储介质 - Google Patents

一种屏幕展示方法、装置、终端及可读存储介质 Download PDF

Info

Publication number
WO2020024521A1
WO2020024521A1 PCT/CN2018/121046 CN2018121046W WO2020024521A1 WO 2020024521 A1 WO2020024521 A1 WO 2020024521A1 CN 2018121046 W CN2018121046 W CN 2018121046W WO 2020024521 A1 WO2020024521 A1 WO 2020024521A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
display area
center
icon
display
Prior art date
Application number
PCT/CN2018/121046
Other languages
English (en)
French (fr)
Inventor
邓晓语
Original Assignee
珠海格力电器股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 珠海格力电器股份有限公司 filed Critical 珠海格力电器股份有限公司
Publication of WO2020024521A1 publication Critical patent/WO2020024521A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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/04845Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour

Definitions

  • the present invention relates to the technical field of terminals, and in particular, to a screen display method, device, terminal, and readable storage medium.
  • the number of applications installed on smart terminals also increases, and all installed applications will be displayed on the main interface of the terminal.
  • the application icons of all installed applications are displayed on the main interface of the mobile phone. The user can start the application by clicking the application icon, and the mobile phone displays the application page of the activated application.
  • the terminal can only support horizontal or vertical screen display.
  • users use the terminal, they are more limited by the scene and environment. If the user is in a specific scene where the terminal can only be used and viewed, such as when the user is lying sideways on a bed or chair, because the terminal only supports horizontal or vertical screen display, the content displayed on the screen when there is a certain tilt angle The direction does not change. At this time, for the current user, the content viewed is tilted, or the user needs to tilt the phone to view the content normally, which affects the normal viewing and use of the user.
  • the invention provides a screen display method, a device, a terminal and a readable storage medium, which are used to solve the problem that the scene is limited in the prior art and it is not convenient for a user to view and use the terminal.
  • the invention provides a screen display method, which includes:
  • determining the target display direction of the icon according to the obtained rotation direction and rotation angle of the terminal includes:
  • the display direction obtained by rotating the saved display direction of the icon in the current display interface according to the reverse direction of the rotation direction is determined as the target display direction of the icon.
  • the method further includes:
  • the displaying the application icon in the circular display area according to the target display direction includes:
  • the application icon is displayed according to the target display direction.
  • determining the position of the circle center of the circular display area after the terminal rotates includes:
  • the projection position of the candidate center position on the edge of the current display interface of the terminal is determined as the center position of the circular display area after the terminal is rotated.
  • the method further includes:
  • an icon of the application to be displayed is selected from the acquired icons of the application to be displayed.
  • the method further includes:
  • the invention provides a screen display device, which includes:
  • a determining module configured to determine a target display direction of the icon according to the obtained rotation direction and rotation angle of the terminal
  • a display module configured to display an application icon in a circular display area according to the target display direction.
  • the determining module is specifically configured to rotate the display direction of the icon displayed in the current display interface by the rotation angle according to the direction opposite to the rotation direction, and determine the display direction as the target display direction of the icon.
  • the determining module is further configured to determine the position of the circle center of the circular display area after the terminal is rotated before displaying the application icon in the circular display area in the target display direction; and determine the location of the center according to the position of the circle center.
  • the number of circle center angles of the ring-shaped display area after the terminal is rotated; and the ring-shaped display area after the terminal rotation is determined according to the position of the center of the circle, the number of center circle angles, and a predetermined radius;
  • the display module is specifically configured to display the application icon in the circular display area after the terminal is rotated according to the target display direction.
  • the determining module is specifically configured to determine the center of gravity offset of the terminal according to the rotation angle and rotation direction; and determine the rotation of the terminal according to the position of the center of the circle of the circular display area before the terminal is rotated and the center of gravity offset.
  • the candidate position of the center of the circular display area after the rotation; the projection position of the candidate position of the center of the circle on the edge of the current terminal display interface is determined as the position of the center of the display area after the rotation of the terminal.
  • the apparatus further includes:
  • a first determining module configured to determine whether the first number of display positions of the icons that can be displayed in the circular display area after the terminal is rotated before the application icons in the circular display area are displayed according to the target display direction, and whether the terminal is rotated with the terminal.
  • the second number of display positions in the previous circular display area is the same; if not, according to the display position in the circular display area after the terminal is rotated, an icon of the application to be displayed is selected from the acquired icons of the application to be displayed.
  • the apparatus further includes:
  • a second determination module is configured to determine whether the rotation angle reaches a preset rotation angle threshold; if yes, trigger the determination module.
  • the present invention provides a terminal, including: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete communication with each other through the communication bus;
  • a computer program is stored in the memory, and when the program is executed by the processor, the processor is caused to execute the steps of any one of the methods described above.
  • the present invention provides a computer-readable storage medium that stores a computer program executable by a terminal, and when the program runs on the terminal, causes the terminal to execute the steps of any one of the methods described above.
  • the invention provides a terminal display method, a device, a terminal, and a readable storage medium.
  • the method includes: determining a target display direction of an icon according to the obtained rotation direction and rotation angle of the terminal; and displaying an application icon in a ring display area. Display according to the target display direction.
  • the terminal can adjust the display direction of the application icon in the circular display area according to the obtained rotation direction and rotation angle of the terminal, so that the icon of the application viewed by the user under different tilt angles of the terminal can be guaranteed to be
  • the normal display is convenient for users to view and use the terminal.
  • FIG. 1 is a schematic diagram of a terminal display process according to Embodiment 1 of the present invention.
  • FIG. 2 is a schematic diagram of a rotated terminal display provided by Embodiment 3 of the present invention.
  • Embodiment 3 is a schematic diagram showing a rotated terminal provided by Embodiment 3 of the present invention.
  • Embodiment 4 is a schematic diagram showing a rotated terminal provided by Embodiment 4 of the present invention.
  • FIG. 5 is a schematic diagram of a rotated terminal display provided in Embodiment 4 of the present invention.
  • FIG. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a terminal display device according to an embodiment of the present invention.
  • embodiments of the present invention provide a terminal display method, device, terminal, and readable storage medium.
  • the terminal display method provided by the embodiment of the present invention can be applied to a terminal.
  • the terminal includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system.
  • the hardware layer includes hardware such as a central processing unit (CPU, Central Processing Unit), a memory management unit (MMU, Memory Management Unit), and memory.
  • CPU central processing unit
  • MMU Memory Management Unit
  • the operating system may be any one or more computer operating systems that implement terminal display through processes, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a windows operating system.
  • the application layer can obtain the coordinates of the center of gravity of the current terminal.
  • the terminal may be a handheld device such as a smart phone, a tablet computer, or a terminal device such as a desktop computer, a portable computer, etc., and is not particularly limited in the embodiment of the present invention, as long as the present invention can be recorded through operation.
  • the program of the code of the terminal display method in the embodiment may be implemented by the terminal display.
  • the execution subject displayed by the terminal in the embodiment of the present invention may be a terminal, or a function module in the terminal that can call a program and execute the program.
  • FIG. 1 is a schematic diagram of a screen display process according to an embodiment of the present invention. The process includes the following steps:
  • S101 Determine the target display direction of the icon according to the obtained rotation direction and rotation angle of the terminal.
  • the screen display method provided by the embodiment of the present invention is applied to a terminal, and the terminal can obtain a rotation direction and a rotation angle of the terminal, and the rotation direction and the rotation angle may be relative to a rotation direction and a rotation angle relative to a preset reference position, and may be relative Rotation direction and rotation angle of the reference position before the previous rotation.
  • the rotation direction and the rotation angle are generally the rotation direction and the rotation angle relative to the reference position where the rotation was performed at the previous time.
  • the terminal can obtain its rotation direction and rotation angle in real time.
  • the process of obtaining the rotation direction and rotation angle of the terminal by the terminal may be obtained by using sensors provided in the terminal.
  • the sensors provided in the terminal include at least a direction sensor and / or a gyroscope.
  • the terminal may also be provided with a gravity sensor and other commonly used sensors. Sensors.
  • the terminal can obtain its rotation direction and rotation angle when the terminal displays any screen content, or when the terminal displays specific screen content, for example, the specific screen content can be the terminal's main interface, application interface, or multiple The icon of the application displayed in the task management interface.
  • the process of obtaining the rotation direction and rotation angle of the terminal belongs to the prior art, and is not described in detail in the embodiment of the present invention.
  • the terminal After the terminal obtains its rotation direction and rotation angle, it can determine the target display direction of the icon according to the obtained rotation direction and rotation angle of the terminal.
  • the terminal may pre-store the correspondence between the rotation direction and the rotation angle and the target display direction, so the terminal can determine the target display direction of the icon after obtaining the rotation direction and rotation angle of the terminal; or the terminal can The rotation direction and the rotation angle will be the display direction determined after rotating the rotation angle in the opposite direction of the rotation direction, and determined as the target display direction of the icon, and the like.
  • S102 Display the application icon in the circular display area according to the target display direction.
  • the application icon in the circular display area can be displayed according to the target display direction, so that the application icon is displayed to the vertical user, especially when the screen is tilted and rotated, the user can be guaranteed
  • the icon of the application in the circular display area is displayed directly facing the user.
  • the terminal can obtain the icon of the application to be displayed and the icon of the application displayed in the circular display area.
  • the terminal displays the icon of the application in the circular display area according to the target display direction
  • the size of the circular display area may change during the rotation process
  • the icon of the application that can be displayed in the circular display area during the rotation process may change.
  • the quantity may be different.
  • the icon of the application When displaying the icon of the application in the circular display area, the icon of the application may be displayed in the corresponding display position according to the corresponding display position of each application in the circular display area.
  • the terminal obtains its rotation direction and rotation angle in real time, it can display the icon of the application in the circular display area according to the target display direction determined in real time, which improves the user experience and the user ’s use fun.
  • the terminal may adjust the display direction of the icon of the application in the circular display area according to the obtained rotation direction and rotation angle of the terminal, thereby ensuring that the user can
  • the icons are displayed normally, which is convenient for users to view and use the terminal.
  • the determining the target display direction of the icon according to the obtained rotation direction and rotation angle of the terminal includes:
  • the display direction obtained by rotating the saved display direction of the icon in the current display interface according to the reverse direction of the rotation direction is determined as the target display direction of the icon.
  • Rotating the icons in the display interface according to the rotation of the terminal can provide users with a good screen display effect.
  • the terminal can save the display direction of the icon in the current display interface, so that after detecting the rotation of the terminal, the display direction of the icon in the currently saved display interface can be Determine the target display direction of the icon.
  • the display direction obtained by rotating the display direction of the icon in the current display interface according to the reverse direction of the rotation direction is determined to be the target display direction of the icon.
  • the application icon in the circular display area in the display interface is displayed after being rotated by the rotation angle in the opposite direction of the rotation direction.
  • the effect of screen display can be further improved on the basis of ensuring that the icon is displayed to the user.
  • the method before the displaying an icon of an application in a circular display area in the target display direction, the method further includes:
  • the displaying the application icon in the circular display area according to the target display direction includes:
  • the application icon is displayed in the target display direction.
  • the user When the terminal is rotated and tilted, the user usually uses the terminal with one hand, and the area of the terminal screen that can be touched when using the terminal with one hand is limited. Therefore, when displaying the circular display area, the number of circle center angles is used to display the circular display area. It is convenient for the user to perform one-handed operation on the icon of the application in the circular display area.
  • the terminal determines the rotated display area, first determine the position of the circle center of the rotated display area, and then determine the number of circle center angles of the rotated display area after the terminal rotation.
  • the predetermined radius determines the circular display area after the terminal is rotated.
  • the terminal determines the position of the center of the circular display area after the terminal is rotated, it may be a preset default center position in the terminal, or the position of the center of the circular display area before the rotation is determined as the position of the center of the circular display area after the rotation.
  • the position of the center of the circular display area after rotation is determined according to the position, rotation direction and rotation angle of the center of the circular display area before rotation. If a default circle center position is preset in the terminal, in order to facilitate a user's one-handed operation, the default circle center position may be a center position on the left edge of the terminal display screen or a center position on the right edge of the terminal display screen.
  • the position of the center of the circle may be expressed by center coordinates, and the center coordinates may be center coordinates in a preset terminal three-dimensional coordinate system.
  • a correspondence relationship between the circle center position and the circle center angle number may be stored in the terminal in advance.
  • a predetermined radius is stored in the terminal.
  • the predetermined radius may be set in advance when the terminal leaves the factory, may be a terminal set and saved by the user according to his own habits, or may be the terminal according to the obtained screen height and / or The screen width is determined and so on.
  • the circular display area corresponding to the number of the center angle can be drawn according to the position and radius of the center of the circle.
  • the number of circular display areas before the terminal is rotated and the number of circular display areas after the terminal is rotated may be one or more.
  • the application icon may be displayed in the target display direction in the circular display area after the terminal is rotated.
  • the circular display area after the terminal is rotated is shown in Figure 2.
  • the circular display area after the terminal is rotated is two rings. After the terminal is rotated, it is in a vertical display state and remains horizontal.
  • the application icon A to the application icon N are The icon of the application displayed in the circular display area.
  • the center position of the circle in the circular display area after the terminal is rotated is located at the center of the right edge of the terminal display interface.
  • the number of center angles of the two circular display areas determined according to the center positions is 180 degrees. .
  • the circular display area after the terminal is rotated is shown in Figure 3.
  • the circular display area after the terminal is rotated is two rings. After the terminal is rotated, it is displayed in a horizontal screen and kept horizontal.
  • the application icon A to the application icon L are The icon of the application displayed in the circular display area.
  • the center position of the circle in the circular display area after the terminal is rotated is located at the center of the right edge of the terminal display interface.
  • the number of center angles of the two circular display areas determined according to the center positions.
  • the number of circle center angles of the circular display area is 180 degrees. Because the screen height in the horizontal screen state is small, the number of circle center angles with the innermost ring display area is less than 180 degrees.
  • the icon of the application is displayed in a ring-shaped display area corresponding to the number of center angles, which can be more convenient for a user's one-handed operation and further improve the convenience of the user when using the terminal.
  • the determining the position of the center of the circle of the circular display area after the terminal is rotated includes:
  • the projection position of the candidate center position on the edge of the current display interface of the terminal is determined as the center position of the circular display area after the terminal is rotated.
  • the terminal may display the circular display area in a touchable area closer to the user's finger according to the center of gravity offset of the terminal.
  • the terminal determines the center of gravity offset of the terminal according to the rotation angle and the rotation direction.
  • the process of determining the center of gravity offset of the terminal according to the rotation angle and the rotation direction belongs to the prior art, and is not described in detail in the embodiment of the present invention.
  • the candidate center position of the center of the circular display area after rotation of the terminal can be determined according to the position of the center of the circular display area before the rotation of the terminal and the center of gravity offset.
  • the center position of the circular display area before the terminal is rotated may be offset according to the center of gravity offset
  • the candidate position of the center of the circular display area after the terminal is determined may be the circular display area before the terminal is rotated.
  • the position of the center of the circle is shifted according to the component of the center of gravity offset in the set direction, and the candidate position of the center of the circular display area after the terminal rotation is determined.
  • the set direction is the three-dimensional direction in the preset terminal three-dimensional coordinate system. Setting direction in.
  • the rotated display area can be displayed near the edge of the terminal display interface.
  • the terminal displays the candidate position of the center of the circle on the current terminal.
  • the projection position of the edge of the interface is determined as the position of the circle center of the circular display area after the terminal is rotated.
  • the circular display area after the terminal is rotated is shown in Figure 4.
  • the circular display area after the terminal is rotated is two rings. After the terminal is rotated, it is in a non-horizontal state in the vertical display state.
  • the application icon A to the application icon N It is the icon of the application displayed in the circular display area.
  • the center of the circle in the circular display area after the rotation of the terminal is located on the right edge of the terminal display interface. At this time, it can be regarded as continuing to tilt on the basis of Figure 2.
  • the ring display area after the terminal is rotated is shown in FIG. 5.
  • the ring display area after the terminal is rotated is two rings. After the terminal is rotated, it is in a non-horizontal state in the horizontal screen display.
  • the application icon A to the application icon L It is the icon of the application displayed in the circular display area.
  • the circle center position in the circular display area after the terminal is rotated is located on the right edge of the terminal display interface. At this time, it can be regarded as continuing to tilt on the basis of Figure 3.
  • the circular display area is tilted according to the The change in the direction of gravity glides to the position shown in Figure 5.
  • the number of center angles of the two circular display areas determined according to the position of the center of the circle.
  • the number of center angles of the innermost ring display area is 180 degrees.
  • the height is small, so the number of angles with the center of the innermost circular display area is less than 180 degrees.
  • the terminal may display the circular display area in a touchable area closer to the user's finger according to the center of gravity offset of the terminal. It further facilitates one-handed operation by the user.
  • the method before the displaying an icon of an application in a circular display area in the target display direction, the method further includes:
  • an icon of the application to be displayed is selected from the acquired icons of the application to be displayed.
  • the terminal When the terminal displays the icon of the application in the circular display area according to the target display direction, since the size of the circular display area may change during the rotation process, the icon of the application that can be displayed in the circular display area during the rotation process may change.
  • the quantity may be different.
  • the terminal may need to obtain the icon of the application for display again.
  • the terminal stores the number of display positions of icons that can be displayed in the circular display area. Therefore, after the terminal is rotated, the terminal can determine whether it is the same as the circular number The second number of placements of the icons that can be displayed in the display area are the same.
  • the rotated display area can display the icon.
  • the number of positions does not change from before the rotation, so the terminal does not need to re-acquire the icon of the application for display.
  • the rotated circular display area can display the icon.
  • the number of display positions has changed from before the rotation, so the terminal needs to re-acquire the icon of the application for display.
  • the terminal can obtain the icon of the application to be displayed, and the process of the terminal obtaining the icon of the application to be displayed belongs to the prior art, and is not described in detail in the embodiment of the present invention.
  • the first number of icon placement positions that can be displayed in the rotated circular display area is different from the second number of icon placement positions that can be displayed in the circular display area before the terminal is rotated, if the display of the rotated circular display area is displayed, If the first number of positions is greater than the second number of display positions of the circular display area before the rotation, the icon of the first number of applications is selected from the acquired icons of the applications to be displayed; If the first number of the placements is less than the second number of the placements in the circular display area before the rotation, the icon of the first number of applications can be selected from the icons of the original second number of applications.
  • the terminal When the terminal selects the icon of the first number of applications or the icon of the second number of applications, the terminal may arbitrarily select the icon of the application, or may select the icon according to the priority of the acquired application icon.
  • the terminal displays the icon of the application in the circular display area
  • the terminal displays the icon of the application in the circular display area according to the determined corresponding position of the application in the circular display area.
  • the terminal reselects the icon of the application to be displayed, which further improves the user's experience when viewing the icon of the application.
  • the method before determining the target display direction of the icon according to the obtained rotation direction and rotation angle of the terminal, the method further includes:
  • the terminal may obtain the rotation direction and rotation angle of the terminal to determine the target display direction of the icon each time the rotation of the terminal is detected, and display the application icon according to the target display direction in the rotated circular display area.
  • the rotation angle of some rotations is small and is not perceived by the user. Therefore, it is not necessary to re-determine the target display direction of the icon every time the rotation is performed, which can save the resources of the terminal and further improve the user experience.
  • a preset rotation angle threshold is stored in the terminal, and the rotation angle threshold can be arbitrary.
  • the rotation angle can be set before the terminal leaves the factory, or can be set by the user and saved in the terminal.
  • the terminal can determine whether the acquired rotation angle reaches a preset rotation angle threshold.
  • the rotation angle does not reach the preset rotation angle threshold, it can be considered that the rotation angle of the rotation is smaller and the user does not perceive it, and the target display direction of the icon may not need to be determined again for the rotation.
  • the terminal will obtain the rotation of the terminal based on the obtained rotation.
  • Direction and rotation angle determine the target display direction of the icon.
  • the target display direction of the icon is determined again only when the rotation angle is perceived by the user, which saves terminal resources and further improves the user experience.
  • an embodiment of the present invention further provides a terminal 600, as shown in FIG. 6, including a processor 601, a communication interface 602, a memory 603, and a communication bus 604.
  • the processor 601, A communication interface 602, and a memory 603 completing communication with each other through a communication bus 604;
  • a computer program is stored in the memory 603, and when the program is executed by the processor 601, the processor 601 executes the following steps:
  • the communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the communication bus can be divided into an address bus, a data bus, a control bus, and the like. For the convenience of illustration, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
  • the communication interface 602 is used for communication between the terminal and other devices.
  • the memory may include random access memory (Random Access Memory, RAM), and may also include non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk memory.
  • NVM non-Volatile Memory
  • the memory may also be at least one storage device located far from the foregoing processor.
  • the above processor may be a general-purpose processor, including a central processor, a network processor (NP), etc .; it may also be a digital instruction processor (Digital Signal Processing, DSP), an application specific integrated circuit, a field programmable gate display, or Other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • DSP Digital Signal Processing
  • the display direction of the application icon in the circular display area is adjusted according to the obtained rotation direction and rotation angle of the terminal, so it can be ensured that Under different tilt angles of the terminal, the icon of the application viewed by the user is displayed normally, which is convenient for the user to view and use the terminal.
  • an embodiment of the present invention further provides a computer storage-readable storage medium.
  • the computer-readable storage medium stores a computer program executable by a terminal. When the program is stored in the terminal, When running, the following steps are implemented when the terminal executes:
  • the above computer-readable storage medium may be any available medium or data storage device that can be accessed by a processor in the terminal, including but not limited to magnetic storage such as a floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc., optical storage such as CD, DVD, BD, HVD, etc., and semiconductor memories such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state hard disk (SSD), etc.
  • magnetic storage such as a floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.
  • optical storage such as CD, DVD, BD, HVD, etc.
  • semiconductor memories such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state hard disk (SSD), etc.
  • a computer program is stored in a computer-readable storage medium provided in the embodiment of the present invention.
  • the computer program is executed by a processor, the computer program is implemented to implement an icon of an application in a circular display area according to the obtained rotation direction and rotation angle of the terminal.
  • the display direction is adjusted, so that the icon of the application viewed by the user can be displayed normally under different tilt angles of the terminal, which is convenient for the user to view and use the terminal.
  • FIG. 7 is a schematic diagram of a terminal display device 700 according to an embodiment of the present invention, which is applied to a terminal.
  • the device includes:
  • a determining module 701 configured to determine a target display direction of an icon according to the obtained rotation direction and rotation angle of the terminal;
  • a display module 702 is configured to display an icon of an application in a circular display area according to the target display direction.
  • the determining module 701 is specifically configured to determine the target display direction of the icon by rotating the saved display direction of the icon display direction in the current display interface according to the direction opposite to the rotation direction.
  • the determining module 701 is further configured to determine the center position of the circular display area after the terminal is rotated before displaying the application icon in the circular display area according to the target display direction; and determine the terminal according to the center position The number of circle center angles of the circular display area after rotation; determining the circle display area after terminal rotation according to the position of the center of the circle, the number of angles of the circle center, and a predetermined radius;
  • the display module 702 is specifically configured to display an application icon in the circular display area after the terminal is rotated according to the target display direction.
  • the determining module 701 is specifically configured to determine the center of gravity offset of the terminal according to the rotation angle and the rotation direction; and determine the center of gravity of the terminal after the terminal rotates according to the position of the circle center of the circular display area before the terminal is rotated and the center of gravity offset.
  • the candidate position of the center of the circular display area; the projection position of the candidate position of the center of the circle on the current terminal display interface edge is determined as the position of the center of the circular display area after the terminal is rotated.
  • the device further includes:
  • the first determining module 703 is configured to determine whether the first number of the display positions of the icons that can be displayed in the circular display area after the rotation of the terminal is related to the terminal before the application icons in the circular display area are displayed according to the target display direction.
  • the second number of display positions in the circular display area before rotation is the same; if not, according to the display positions in the circular display area after the terminal is rotated, an icon of the application to be displayed is selected from the acquired application icons to be displayed.
  • the device further includes:
  • a second determination module 704 is configured to determine whether the rotation angle reaches a preset rotation angle threshold; if yes, trigger the determination module 701.
  • the terminal may adjust the display direction of the icon of the application in the circular display area according to the obtained rotation direction and rotation angle of the terminal, thereby ensuring that the user can
  • the icons are displayed normally, which is convenient for users to view and use the terminal.
  • this application may be provided as a method, a system, or a computer program product. Therefore, this application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, this application may take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a particular manner such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, the instructions
  • the device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.

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

一种屏幕展示方法、装置、终端及可读存储介质,该方法包括:根据获取的终端的旋转方向和旋转角度,确定图标的目标展示方向(S101);将环形展示区域中的应用的图标按照所述目标展示方向进行展示(S102)。终端可以根据获取到的终端的旋转方向和旋转角度,对环形展示区域中的应用的图标的展示方向进行调整,因此能够保证在终端不同倾斜角度下,用户查看到的应用的图标是正常显示的,方便了用户对终端的查看和使用。

Description

一种屏幕展示方法、装置、终端及可读存储介质
本申请要求于2018年8月2日提交中国专利局、申请号为201810871980.0、发明名称为“一种屏幕展示方法、装置、终端及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及终端技术领域,尤其涉及一种屏幕展示方法、装置、终端及可读存储介质。
背景技术
随着智能终端存储空间的增大和应用种类的增多,用户为了满足自身的使用需求,在智能终端上安装应用的数量也增多,终端的主界面上会显示已安装的全部应用。以手机为例,手机主界面上显示已安装的全部应用的应用图标,用户通过点击应用图标可以实现应用的启动,手机显示已经启动的应用的应用页面。
现有技术中无论终端是在主界面下内容的展示还是应用页面中的内容的展示,终端都仅能够支持横屏显示或竖屏显示,用户使用终端时受场景和环境的局限性比较大。如果用户处于只能倾斜使用和查看终端的特定场景下,例如用户在床上或椅子上侧卧的时候,由于终端只支持横屏显示或竖屏显示,在有一定倾斜角度时,屏幕展示的内容的方向不发生变化,此时对于当前用户来说查看到的内容都是倾斜的,或者用户需要倾斜手机才能正常查看内容,影响了用户的正常查看及使用。
发明内容
本发明提供了一种屏幕展示方法、装置、终端及可读存储介质,用以解决 现有技术中场景受限不便于用户查看及使用终端的问题。
本发明提供了一种屏幕展示方法,该方法包括:
根据获取的终端的旋转方向和旋转角度,确定图标的目标展示方向;
将环形展示区域中的应用的图标按照所述目标展示方向进行展示。
进一步地,所述根据获取的终端的旋转方向和旋转角度,确定图标的目标展示方向包括:
按照所述旋转方向的反方向,将保存的当前显示界面中图标的展示方向旋转所述旋转角度后得到的展示方向,确定为图标的目标展示方向。
进一步地,所述将环形展示区域中的应用的图标按照所述目标展示方向进行展示之前,所述方法还包括:
确定终端旋转后的环形展示区域的圆心位置;
根据所述圆心位置,确定所述终端旋转后的环形展示区域的圆心角度数;
根据所述圆心位置、所述圆心角度数及预先确定的半径,确定终端旋转后的环形展示区域;
所述将环形展示区域中的应用的图标按照所述目标展示方向进行展示包括:
在终端旋转后的环形展示区域中,将应用的图标按照所述目标展示方向进行展示。
进一步地,所述确定终端旋转后的环形展示区域的圆心位置包括:
根据所述旋转角度和旋转方向,确定终端的重心偏移量;
根据终端旋转前的环形展示区域的圆心位置及所述重心偏移量,确定终端旋转后的环形展示区域的圆心候选位置;
将所述圆心候选位置在当前终端显示界面边缘的投影位置,确定为终端旋转后的环形展示区域的圆心位置。
进一步地,所述将环形展示区域中的应用的图标按照所述目标展示方向进行展示之前,所述方法还包括:
判断终端旋转后的环形展示区域能够展示的图标的展示位置的第一数量,是否与终端旋转前的环形展示区域的展示位置的第二数量相同;
如果否,根据终端旋转后的环形展示区域中的展示位置,在获取到的待展示的应用的图标中选取进行展示的应用的图标。
进一步地,所述根据获取的终端的旋转方向和旋转角度,确定图标的目标展示方向之前,所述方法还包括:
判断所述旋转角度是否达到预设的旋转角度阈值;
如果是,进行后续步骤。
本发明提供了一种屏幕展示装置,该装置包括:
确定模块,用于根据获取的终端的旋转方向和旋转角度,确定图标的目标展示方向;
展示模块,用于将环形展示区域中的应用的图标按照所述目标展示方向进行展示。
进一步地,所述确定模块,具体用于按照所述旋转方向的反方向,将保存的当前显示界面中图标的展示方向旋转所述旋转角度后得到的展示方向,确定为图标的目标展示方向。
进一步地,所述确定模块,还用于将环形展示区域中的应用的图标按照所述目标展示方向进行展示之前,确定终端旋转后的环形展示区域的圆心位置;根据所述圆心位置,确定所述终端旋转后的环形展示区域的圆心角度数;根据所述圆心位置、所述圆心角度数及预先确定的半径,确定终端旋转后的环形展示区域;
所述展示模块,具体用于在终端旋转后的环形展示区域中,将应用的图标按照所述目标展示方向进行展示。
进一步地,所述确定模块,具体用于根据所述旋转角度和旋转方向,确定终端的重心偏移量;根据终端旋转前的环形展示区域的圆心位置及所述重心偏移量,确定终端旋转后的环形展示区域的圆心候选位置;将所述圆心候选位置 在当前终端显示界面边缘的投影位置,确定为终端旋转后的环形展示区域的圆心位置。
进一步地,所述装置还包括:
第一判断模块,用于将环形展示区域中的应用的图标按照所述目标展示方向进行展示之前,判断终端旋转后的环形展示区域能够展示的图标的展示位置的第一数量,是否与终端旋转前的环形展示区域的展示位置的第二数量相同;如果否,根据终端旋转后的环形展示区域中的展示位置,在获取到的待展示的应用的图标中选取进行展示的应用的图标。
进一步地,所述装置还包括:
第二判断模块,用于判断所述旋转角度是否达到预设的旋转角度阈值;如果是,触发所述确定模块。
本发明提供了一种终端,包括:处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;
所述存储器中存储有计算机程序,当所述程序被所述处理器执行时,使得所述处理器执行上述任一项所述方法的步骤。
本发明提供了一种计算机可读存储介质,其存储有可由终端执行的计算机程序,当所述程序在所述终端上运行时,使得所述终端执行上述任一项所述方法的步骤。
本发明提供了一种终端展示方法、装置、终端及可读存储介质,该方法包括:根据获取的终端的旋转方向和旋转角度,确定图标的目标展示方向;将环形展示区域中的应用的图标按照所述目标展示方向进行展示。本发明中终端可以根据获取到的终端的旋转方向和旋转角度,对环形展示区域中的应用的图标的展示方向进行调整,因此能够保证在终端不同倾斜角度下,用户查看到的应用的图标是正常显示的,方便了用户对终端的查看和使用。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例1提供的一种终端展示过程的示意图;
图2为本发明实施例3提供的一种旋转后的终端展示的示意图;
图3为本发明实施例3提供的一种旋转后的终端展示的示意图;
图4为本发明实施例4提供的一种旋转后的终端展示的示意图;
图5为本发明实施例4提供的一种旋转后的终端展示的示意图;
图6为本发明实施例提供的一种终端的结构示意图;
图7为本发明实施例提供的一种终端展示装置示意图。
具体实施方式
为了方便用户查看和使用终端,本发明实施例提供了一种终端展示方法、装置、终端及可读存储介质。
本发明实施例提供的终端展示方法,可以应用于终端上,该终端包括硬件层,运行在硬件层之上的操作系统层,以及运行在操作系统上的应用层。
该硬件层包括中央处理器(CPU,Central Processing Unit)、内存管理单元(MMU,Memory Management Unit)和内存等硬件。
该操作系统可以是任意一种或多种通过进程(Process)实现终端展示的计算机操作系统,例如,Linux操作系统、Unix操作系统、Android操作系统、iOS操作系统或windows操作系统等。该应用层能够获取当前终端的重心坐标。
并且在本发明实施例中该终端可以是智能手机、平板电脑等手持设备,也可以是桌面计算机、便携式计算机等终端设备,本发明实施例中并未特别限定,只要能够通过运行记录有本发明实施例中的终端展示方法的代码的程序,实现终端展示即可。
本发明实施例中的终端展示的执行主体可以是终端,或者是终端中能够调用程序并执行程序的功能模块。
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
实施例1:
图1为本发明实施例提供的一种屏幕展示过程的示意图,该过程包括以下步骤:
S101:根据获取的终端的旋转方向和旋转角度,确定图标的目标展示方向。
本发明实施例提供的屏幕展示方法应用于终端,该终端能够获取到终端的旋转方向和旋转角度,该旋转方向和旋转角度可以是相对与预设参考位置的旋转方向和旋转角度,可以是相对于上一时刻旋转前所在参考位置的旋转方向和旋转角度。通常为了保证屏幕展示时用户的体验良好,通常该旋转方向和旋转角度是相对与上一时刻旋转前所在的参考位置的旋转方向和旋转角度。
终端获取其旋转方向和旋转角度可以是实时获取的。
该终端获取终端的旋转方向和旋转角度的过程可以是采用该终端中设置的传感器获取,该终端中设置的传感器至少包括方向传感器和/或陀螺仪,此外终端中还可以设置有重力传感器等常用的传感器。
该终端获取其旋转方向和旋转角度可以是终端在展示任意屏幕内容时获取,可以是在终端在展示特定屏幕内容时获取等,例如该特定屏幕内容可以是终端在主界面、应用界面、或多任务管理界面中展示的应用的图标等。
所述获取终端的旋转方向和旋转角度的过程属于现有技术,在本发明实施例中不做赘述。
终端获取到其旋转方向和旋转角度后,可以根据该获取到的终端的旋转方向和旋转角度,确定图标的目标展示方向。
终端中可以是预先保存有旋转方向和旋转角度与目标展示方向的对应关系,因此终端获取到终端的旋转方向和旋转角度后,可以确定图标的目标展示方向;或者终端可以根据获取到的终端的旋转方向和旋转角度,将按照旋转方向的反方向旋转该旋转角度后确定的展示方向,确定为图标的目标展示方向等。
S102:将环形展示区域中的应用的图标按照所述目标展示方向进行展示。
终端确定图标的目标展示方向后,可以按照该目标展示方向,对环形展示区域中的应用的图标进行展示,这样应用的图标是正向垂直用户进行展示,尤其是在屏幕倾斜旋转时,能够保证用户看到的环形展示区域中的应用的图标是正对着用户展示的。
终端可以获取到待展示的应用的图标,及环形展示区域中展示的应用的图标。
终端将环形展示区域中的应用的图标按照目标展示方向进行展示时,由于在旋转过程中环形展示区域的大小可能变化可能不变,则在旋转过程中环形展示区域中能够展示的应用的图标的数量可能不同。
环形展示区域展示应用的图标时,可以是根据每个应用在环形展示区域的对应展示位置,在对应展示位置中展示应用的图标。
如果终端实时获取其旋转方向和旋转角度,则可以根据实时确定的目标展示方向,展示环形展示区域中的应用的图标,提高了用户的体验感,增加了用户的使用乐趣。
本发明实施例中终端可以根据获取到的终端的旋转方向和旋转角度,对环形展示区域中的应用的图标的展示方向进行调整,因此能够保证在终端不同倾斜角度下,用户查看到的应用的图标是正常显示的,方便了用户对终端的查看和使用。
实施例2:
在上述实施例的基础上,本发明实施例中,所述根据获取的终端的旋转方向和旋转角度,确定图标的目标展示方向包括:
按照所述旋转方向的反方向,将保存的当前显示界面中图标的展示方向旋转所述旋转角度后得到的展示方向,确定为图标的目标展示方向。
将显示界面中的图标根据终端的旋转而旋转,能够为用户提供良好的屏幕展示效果。
为了实现显示界面中的图标随着终端的旋转而旋转,终端可以保存当前显示界面中的图标的展示方向,这样在检测到终端发生旋转后,可以根据当前保存的显示界面中的图标的展示方向确定图标的目标展示方向。
终端在确定图标的目标展示方向时按照该旋转方向的反方向,将保存的当前显示界面中的图标的展示方向旋转该旋转角度得到的展示方向,确定为图标的目标展示方向,即将旋转前的显示界面中的环形展示区域中的应用的图标,按照该旋转方向的反方向旋转该旋转角度后进行展示。
将环形展示区域中的应用的图标按照旋转方向的反方向,可以保证终端旋转后图标在展示时是正对用户的。
由于本发明实施例中能够将环形展示区域中的应用的图标随着终端的旋转而旋转,因此能够在保证图标正对用户展示的基础上,进一步提高了屏幕展示的效果。
实施例3:
在上述各实施例的基础上,本发明实施例中,所述将环形展示区域中的应用的图标按照所述目标展示方向进行展示之前,所述方法还包括:
确定终端旋转后的环形展示区域的圆心位置;
根据所述圆心位置,确定所述终端旋转后的环形展示区域的圆心角度数;
根据所述圆心位置、所述圆心角度数及预先确定的半径,确定终端旋转后的环形展示区域;
所述将环形展示区域中的应用的图标按照所述目标展示方向进行展示包括:
在终端旋转后的环形展示区域中,将应用的图标按照所述目标展示方向进 行展示。
由于终端旋转倾斜时,用户通常是单手使用终端,而单手使用终端时可触摸到的终端屏幕的区域大小有限,因此展示环形展示区域时,采用圆心角度数对应展示环形展示区域,可以更加方便用户对环形展示区域中的应用的图标的单手操作。
终端确定旋转后的环形展示区域时,首先确定终端旋转后的环形展示区域的圆心位置,然后根据圆心位置,确定终端旋转后的环形展示区域的圆心角度数,最后根据圆心位置、圆心角度数及预先确定的半径,确定终端旋转后的环形展示区域。
终端确定终端旋转后的环形展示区域的圆心位置时,可以是终端中预先设置的默认圆心位置,可以是将旋转前的环形展示区域的圆心位置确定为旋转后的环形展示区域的圆心位置,可以是根据旋转前的环形展示区域的圆心位置、旋转方向和旋转角度,确定旋转后的环形展示区域的圆心位置等。如果该终端中预先设置有默认圆心位置,为了便于用户单手操作,该默认圆心位置可以为终端显示屏幕左侧边缘中心位置或终端显示屏右侧边缘中心位置。
该圆心位置可以用圆心坐标表示,该圆心坐标可以为在预设的终端三维坐标系下的圆心坐标。
终端根据圆心位置确定终端旋转后的环形展示区域的圆心角度数时,可以是终端中预先保存有圆心位置与圆心角度数的对应关系。
终端中保存有预先确定的半径,该预先确定的半径可以是终端出厂时预先设置的,可以是用户根据自己的使用习惯设置并保存的终端的,可以是终端根据获取到的屏幕高度和/或屏幕宽度确定的等。
终端确定终端旋转后的环形展示区域时,可以根据圆心位置及半径,绘制该圆心角度数对应的环形展示区域。
该终端旋转前的环形展示区域和终端旋转后的环形展示区域的数量均可以为一个或多个。
终端确定终端旋转后的环形展示区域后,展示应用的图标时,可以是在终端旋转后的环形展示区域中,将应用的图标按照目标展示方向进行展示。
终端旋转后的环形展示区域如图2所示,此时终端旋转后的环形展示区域为两个环,终端旋转后为竖屏显示状态,且保持水平,应用的图标A到应用的图标N为环形展示区域中展示的应用的图标,终端旋转后的环形展示区域中的圆心位置位于终端显示界面右侧边缘中心位置,根据该圆心位置确定的两个环形展示区域的圆心角度数均为180度。
终端旋转后的环形展示区域如图3所示,此时终端旋转后的环形展示区域为两个环,终端旋转后为横屏显示状态,且保持水平,应用的图标A到应用的图标L为环形展示区域中展示的应用的图标,终端旋转后的环形展示区域中的圆心位置位于终端显示界面右侧边缘中心位置,根据该圆心位置确定的两个环形展示区域的圆心角度数,最内侧的环形展示区的圆心角度数为180度,由于横屏状态下的屏幕高度小,因此与最内侧的环形展示区域的圆心角度数小于180度。
由于本发明实施例中采用圆心角度数对应的环形展示区域展示应用的图标,可以更加方便用户的单手操作,进一步提高用户使用终端时的便捷性。
实施例4:
在上述各实施例的基础上,本发明实施例中,所述确定终端旋转后的环形展示区域的圆心位置包括:
根据所述旋转角度和旋转方向,确定终端的重心偏移量;
根据终端旋转前的环形展示区域的圆心位置及所述重心偏移量,确定终端旋转后的环形展示区域的圆心候选位置;
将所述圆心候选位置在当前终端显示界面边缘的投影位置,确定为终端旋转后的环形展示区域的圆心位置。
为了更加便于用户的单手操作,终端可以将根据终端的重心偏移量,环形展示区域展示在离用户手指更近的可触摸区域。
终端在确定终端的重心偏移量时根据旋转角度和旋转方向确定,所述根据旋转角度和旋转方向确定终端的重心偏移量的过程属于现有技术,在本发明实施例中不做赘述。
终端确定其重心偏移量后,可以根据终端旋转前的环形展示区域的圆心位置及该重心偏移量,确定终端旋转后的环形展示区域的圆心候选位置。具体地,可以是直接将终端旋转前的环形展示区域的圆心位置按照该重心偏移量进行偏移,确定终端旋转后的环形展示区域的圆心候选位置,可以是将终端旋转前的环形展示区域的圆心位置按照该重心偏移量的在设定方向上的分量进行偏移,确定终端旋转后的环形展示区域的圆心候选位置等,在设定方向为预设终端三维坐标系下的三维方向中的设定方向。
确定终端旋转后的环形展示区域的圆心候选位置后,为了更加便于用户的单手操作,可以将旋转后的环形展示区域靠近终端显示界面边缘显示,具体地终端将该圆心候选位置在当前终端显示界面边缘的投影位置,确定为终端旋转后的环形展示区域的圆心位置。
终端旋转后的环形展示区域如图4所示,此时终端旋转后的环形展示区域为两个环,终端旋转后为竖屏显示状态下的非水平状态,应用的图标A到应用的图标N为环形展示区域中展示的应用的图标,终端旋转后的环形展示区域中的圆心位置位于终端显示界面右侧边缘,此时可以看作是在图2的基础继续倾斜,环形展示区域按照倾斜的重力方向的变化滑行至图4所示的位置,根据该圆心位置确定的两个环形展示区域的圆心角度数均为180度。
终端旋转后的环形展示区域如图5所示,此时终端旋转后的环形展示区域为两个环,终端旋转后为横屏显示状态下的非水平状态,应用的图标A到应用的图标L为环形展示区域中展示的应用的图标,终端旋转后的环形展示区域中的圆心位置位于终端显示界面右侧边缘,此时可以看作是在图3的基础继续倾斜,环形展示区域按照倾斜的重力方向的变化滑行至图5所示的位置,根据该圆心位置确定的两个环形展示区域的圆心角度数,最内侧的环形展示区的圆心 角度数为180度,由于横屏状态下的屏幕高度小,因此与最内侧的环形展示区域的圆心角度数小于180度。
由于本发明实施例中,终端可以将根据终端的重心偏移量,环形展示区域展示在离用户手指更近的可触摸区域。进一步方便了用户的单手操作。
实施例5:
在上述各实施例的基础上,本发明实施例中,所述将环形展示区域中的应用的图标按照所述目标展示方向进行展示之前,所述方法还包括:
判断终端旋转后的环形展示区域能够展示的图标的展示位置的第一数量,是否与终端旋转前的环形展示区域的展示位置的第二数量相同;
如果否,根据终端旋转后的环形展示区域中的展示位置,在获取到的待展示的应用的图标中选取进行展示的应用的图标。
终端将环形展示区域中的应用的图标按照目标展示方向进行展示时,由于在旋转过程中环形展示区域的大小可能变化可能不变,则在旋转过程中环形展示区域中能够展示的应用的图标的数量可能不同。当旋转后的环形展示区域能够展示图标的展示位置的数量发生变化时,终端可能需要重新获取进行展示的应用的图标。
终端中保存环形展示区域能够展示的图标的展示位置的数量,因此在终端旋转后,终端可以根据旋转后的环形展示区域能够展示的图标的展示位置的第一数量,是否与终端旋转前的环形展示区域能够展示的图标的展示位置的第二数量相同。
如果旋转后的环形展示区域能够展示的图标的展示位置的第一数量,与终端旋转前的环形展示能够展示的图标的展示位置的第二数量相同,旋转后的环形展示区域能够展示图标的展示位置的数量与旋转前相比没有变化,因此终端无需重新获取进行展示的应用的图标。
如果旋转后的环形展示区域能够展示的图标的展示位置的第一数量,与终端旋转前的环形展示区域能够展示的图标的展示位置的第二数量不同,旋转后 的环形展示区域能够展示图标的展示位置的数量与旋转前相比发生了变化,因此终端需要重新获取进行展示的应用的图标。
终端能够获取到待展示的应用的图标,终端获取待展示的应用的图标的过程属于现有技术,在本发明实施例中不做赘述。
在旋转后的环形展示区域能够展示的图标的展示位置的第一数量,与终端旋转前的环形展示区域能够展示的图标的展示位置的第二数量不同时,如果旋转后的环形展示区域的展示位置的第一数量多于旋转前的环形展示区域的展示位置的第二数量,则在获取到的待展示的应用的图标中选取第一数量的应用的图标;如果旋转后的环形展示区域的展示位置的第一数量少于旋转前的环形展示区域的展示位置的第二数量,则可以在原第二数量的应用的图标中选取该第一数量的应用的图标。
终端选取第一数量的应用的图标或选取第二数量的应用的图标时,可以是任意选取应用的图标,可以是按照获取到的应用的图标的优先级进行选取等。
终端在环形展示区域中展示应用的图标时,根据确定的应用在环形展示区域的对应展示位置,在环形展示区域中展示应用的图标。
由于本发明实施例在旋转后的环形展示区域能够展示图标的展示位置的数量发生变化时,终端重新选取进行展示的应用的图标,进一步提高了用户在查看应用的图标时的体验感。
实施例6:
在上述各实施例的基础上,本发明实施例中,所述根据获取的终端的旋转方向和旋转角度,确定图标的目标展示方向之前,所述方法还包括:
判断所述旋转角度是否达到预设的旋转角度阈值;
如果是,进行后续步骤。
终端可以是在每次检测到终端发生旋转时,获取终端的旋转方向和旋转角度确定图标的目标展示方向,并在旋转后的环形展示区域按照目标展示方向展示应用的图标。但是有些旋转的旋转角度较小,对于用户来说不感知,因此不 必须每次旋转时都重新确定图标的目标展示方向,这样可以节省终端的资源,并且进一步提高了用户体验。
终端中保存有预设的旋转角度阈值,该旋转角度阈值可以任意,该旋转角度可以是终端出厂前设置的,可以是用户根据自身的使用需求设置并保存在终端中的。
当每次检测到终端发生旋转时,终端可以判断获取到的旋转角度是否达到预设的旋转角度阈值。
如果该旋转角度未达到预设的旋转角度阈值,可以认为此次旋转的旋转角度较小用户不感知,此次旋转可以不需要重新确定图标的目标展示方向。
如果该旋转角度达到预设的旋转角度阈值,可以认为此次旋转的旋转角度比较大,如果不重新确定图标的目标展示方向会影响用户体验,则终端根据获取到的此次旋转的终端的旋转方向和旋转角度,确定图标的目标展示方向。
由于本发明实施例中,旋转角度对用户感知时才重新确定图标的目标展示方向,节省了终端资源,并且进一步提高了用户体验。
实施例7:
在上述各实施例的基础上,本发明实施例还提供了一种终端600,如图6所示,包括:处理器601、通信接口602、存储器603和通信总线604,其中,处理器601,通信接口602,存储器603通过通信总线604完成相互间的通信;
所述存储器603中存储有计算机程序,当所述程序被所述处理器601执行时,使得所述处理器601执行如下步骤:
根据获取的终端的旋转方向和旋转角度,确定图标的目标展示方向;
将环形展示区域中的应用的图标按照所述目标展示方向进行展示。
上述终端提到的通信总线可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一 种类型的总线。
通信接口602用于上述终端与其他设备之间的通信。
存储器可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存储器。可选地,存储器还可以是至少一个位于远离前述处理器的存储装置。
上述处理器可以是通用处理器,包括中央处理器、网络处理器(Network Processor,NP)等;还可以是数字指令处理器(Digital Signal Processing,DSP)、专用集成电路、现场可编程门陈列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。
在本发明实施例中,处理器执行存储器上所存放的程序时,实现根据获取到的终端的旋转方向和旋转角度,对环形展示区域中的应用的图标的展示方向进行调整,因此能够保证在终端不同倾斜角度下,用户查看到的应用的图标是正常显示的,方便了用户对终端的查看和使用。
实施例9:
在上述各实施例的基础上,本发明实施例还提供了一种计算机存储可读存储介质,所述计算机可读存储介质内存储有可由终端执行的计算机程序,当所述程序在所述终端上运行时,使得所述终端执行时实现如下步骤:
根据获取的终端的旋转方向和旋转角度,确定图标的目标展示方向;
将环形展示区域中的应用的图标按照所述目标展示方向进行展示。
上述计算机可读存储介质可以是终端中的处理器能够存取的任何可用介质或数据存储设备,包括但不限于磁性存储器如软盘、硬盘、磁带、磁光盘(MO)等、光学存储器如CD、DVD、BD、HVD等、以及半导体存储器如ROM、EPROM、EEPROM、非易失性存储器(NAND FLASH)、固态硬盘(SSD)等。
在本发明实施例中提供的计算机可读存储介质内存储有计算机程序,计算机程序被处理器执行时,实现根据获取到的终端的旋转方向和旋转角度,对环形展示区域中的应用的图标的展示方向进行调整,因此能够保证在终端不同倾 斜角度下,用户查看到的应用的图标是正常显示的,方便了用户对终端的查看和使用。
图7为本发明实施例提供的一种终端展示装置700示意图,应用于终端,该装置包括:
确定模块701,用于根据获取的终端的旋转方向和旋转角度,确定图标的目标展示方向;
展示模块702,用于将环形展示区域中的应用的图标按照所述目标展示方向进行展示。
所述确定模块701,具体用于按照所述旋转方向的反方向,将保存的当前显示界面中图标的展示方向旋转所述旋转角度后得到的展示方向,确定为图标的目标展示方向。
所述确定模块701,还用于将环形展示区域中的应用的图标按照所述目标展示方向进行展示之前,确定终端旋转后的环形展示区域的圆心位置;根据所述圆心位置,确定所述终端旋转后的环形展示区域的圆心角度数;根据所述圆心位置、所述圆心角度数及预先确定的半径,确定终端旋转后的环形展示区域;
所述展示模块702,具体用于在终端旋转后的环形展示区域中,将应用的图标按照所述目标展示方向进行展示。
所述确定模块701,具体用于根据所述旋转角度和旋转方向,确定终端的重心偏移量;根据终端旋转前的环形展示区域的圆心位置及所述重心偏移量,确定终端旋转后的环形展示区域的圆心候选位置;将所述圆心候选位置在当前终端显示界面边缘的投影位置,确定为终端旋转后的环形展示区域的圆心位置。
所述装置还包括:
第一判断模块703,用于将环形展示区域中的应用的图标按照所述目标展示方向进行展示之前,判断终端旋转后的环形展示区域能够展示的图标的展示位置的第一数量,是否与终端旋转前的环形展示区域的展示位置的第二数量相同;如果否,根据终端旋转后的环形展示区域中的展示位置,在获取到的待展 示的应用的图标中选取进行展示的应用的图标。
所述装置还包括:
第二判断模块704,用于判断所述旋转角度是否达到预设的旋转角度阈值;如果是,触发所述确定模块701。
本发明实施例中终端可以根据获取到的终端的旋转方向和旋转角度,对环形展示区域中的应用的图标的展示方向进行调整,因此能够保证在终端不同倾斜角度下,用户查看到的应用的图标是正常显示的,方便了用户对终端的查看和使用。
对于系统/装置实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。

Claims (14)

  1. 一种屏幕展示方法,其特征在于,该方法包括:
    根据获取的终端的旋转方向和旋转角度,确定图标的目标展示方向;
    将环形展示区域中的应用的图标按照所述目标展示方向进行展示。
  2. 如权利要求1所述的方法,其特征在于,所述根据获取的终端的旋转方向和旋转角度,确定图标的目标展示方向包括:
    按照所述旋转方向的反方向,将保存的当前显示界面中图标的展示方向旋转所述旋转角度后得到的展示方向,确定为图标的目标展示方向。
  3. 如权利要求1所述的方法,其特征在于,所述将环形展示区域中的应用的图标按照所述目标展示方向进行展示之前,所述方法还包括:
    确定终端旋转后的环形展示区域的圆心位置;
    根据所述圆心位置,确定所述终端旋转后的环形展示区域的圆心角度数;
    根据所述圆心位置、所述圆心角度数及预先确定的半径,确定终端旋转后的环形展示区域;
    所述将环形展示区域中的应用的图标按照所述目标展示方向进行展示包括:
    在终端旋转后的环形展示区域中,将应用的图标按照所述目标展示方向进行展示。
  4. 如权利要求3所述的方法,其特征在于,所述确定终端旋转后的环形展示区域的圆心位置包括:
    根据所述旋转角度和旋转方向,确定终端的重心偏移量;
    根据终端旋转前的环形展示区域的圆心位置及所述重心偏移量,确定终端旋转后的环形展示区域的圆心候选位置;
    将所述圆心候选位置在当前终端显示界面边缘的投影位置,确定为终端旋转后的环形展示区域的圆心位置。
  5. 如权利要求3或4所述的方法,其特征在于,所述将环形展示区域中 的应用的图标按照所述目标展示方向进行展示之前,所述方法还包括:
    判断终端旋转后的环形展示区域能够展示的图标的展示位置的第一数量,是否与终端旋转前的环形展示区域的展示位置的第二数量相同;
    如果否,根据终端旋转后的环形展示区域中的展示位置,在获取到的待展示的应用的图标中选取进行展示的应用的图标。
  6. 如权利要求1所述的方法,其特征在于,所述根据获取的终端的旋转方向和旋转角度,确定图标的目标展示方向之前,所述方法还包括:
    判断所述旋转角度是否达到预设的旋转角度阈值;
    如果是,进行后续步骤。
  7. 一种屏幕展示装置,其特征在于,该装置包括:
    确定模块,用于根据获取的终端的旋转方向和旋转角度,确定图标的目标展示方向;
    展示模块,用于将环形展示区域中的应用的图标按照所述目标展示方向进行展示。
  8. 如权利要求7所述的装置,其特征在于,所述确定模块,具体用于按照所述旋转方向的反方向,将保存的当前显示界面中图标的展示方向旋转所述旋转角度后得到的展示方向,确定为图标的目标展示方向。
  9. 如权利要求7所述的装置,其特征在于,所述确定模块,还用于将环形展示区域中的应用的图标按照所述目标展示方向进行展示之前,确定终端旋转后的环形展示区域的圆心位置;根据所述圆心位置,确定所述终端旋转后的环形展示区域的圆心角度数;根据所述圆心位置、所述圆心角度数及预先确定的半径,确定终端旋转后的环形展示区域;
    所述展示模块,具体用于在终端旋转后的环形展示区域中,将应用的图标按照所述目标展示方向进行展示。
  10. 如权利要求9所述的装置,其特征在于,所述确定模块,具体用于根据所述旋转角度和旋转方向,确定终端的重心偏移量;根据终端旋转前的环形 展示区域的圆心位置及所述重心偏移量,确定终端旋转后的环形展示区域的圆心候选位置;将所述圆心候选位置在当前终端显示界面边缘的投影位置,确定为终端旋转后的环形展示区域的圆心位置。
  11. 如权利要求9或10所述的装置,其特征在于,所述装置还包括:
    第一判断模块,用于将环形展示区域中的应用的图标按照所述目标展示方向进行展示之前,判断终端旋转后的环形展示区域能够展示的图标的展示位置的第一数量,是否与终端旋转前的环形展示区域的展示位置的第二数量相同;如果否,根据终端旋转后的环形展示区域中的展示位置,在获取到的待展示的应用的图标中选取进行展示的应用的图标。
  12. 如权利要求7所述的装置,其特征在于,所述装置还包括:
    第二判断模块,用于判断所述旋转角度是否达到预设的旋转角度阈值;如果是,触发所述确定模块。
  13. 一种终端,其特征在于,包括:处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;
    所述存储器中存储有计算机程序,当所述程序被所述处理器执行时,使得所述处理器执行权利要求1~6任一项所述方法的步骤。
  14. 一种计算机可读存储介质,其特征在于,其存储有可由终端执行的计算机程序,当所述程序在所述终端上运行时,使得所述终端执行权利要求1~6任一项所述方法的步骤。
PCT/CN2018/121046 2018-08-02 2018-12-14 一种屏幕展示方法、装置、终端及可读存储介质 WO2020024521A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810871980.0A CN109189299B (zh) 2018-08-02 2018-08-02 一种屏幕展示方法、装置、终端及可读存储介质
CN201810871980.0 2018-08-02

Publications (1)

Publication Number Publication Date
WO2020024521A1 true WO2020024521A1 (zh) 2020-02-06

Family

ID=64920640

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/121046 WO2020024521A1 (zh) 2018-08-02 2018-12-14 一种屏幕展示方法、装置、终端及可读存储介质

Country Status (2)

Country Link
CN (1) CN109189299B (zh)
WO (1) WO2020024521A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110533628B (zh) * 2019-07-10 2022-05-13 中移(杭州)信息技术有限公司 一种确定屏幕方向的方法、装置及可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101943988A (zh) * 2009-07-09 2011-01-12 深圳富泰宏精密工业有限公司 电子装置用户界面自动调整系统及方法
CN104834438A (zh) * 2015-06-02 2015-08-12 广东欧珀移动通信有限公司 桌面显示方法及装置
US20150227292A1 (en) * 2012-07-16 2015-08-13 Samsung Electronics Co., Ltd. Method and apparatus for moving object in mobile terminal
CN104902314A (zh) * 2015-05-28 2015-09-09 北京奇艺世纪科技有限公司 一种智能终端控制方法及装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369210B (zh) * 2008-08-22 2011-03-16 华为终端有限公司 一种调整用户界面元素的方法及装置
KR101780020B1 (ko) * 2010-09-02 2017-09-19 삼성전자주식회사 인터페이스 방법 및 장치
CN103218060A (zh) * 2013-04-09 2013-07-24 广东欧珀移动通信有限公司 对移动终端中图标进行显示的方法及装置
CN105426067A (zh) * 2014-09-17 2016-03-23 中兴通讯股份有限公司 桌面图标的置换方法及装置
CN104965668B (zh) * 2015-06-19 2018-03-27 北京奇虎科技有限公司 界面操作的方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101943988A (zh) * 2009-07-09 2011-01-12 深圳富泰宏精密工业有限公司 电子装置用户界面自动调整系统及方法
US20150227292A1 (en) * 2012-07-16 2015-08-13 Samsung Electronics Co., Ltd. Method and apparatus for moving object in mobile terminal
CN104902314A (zh) * 2015-05-28 2015-09-09 北京奇艺世纪科技有限公司 一种智能终端控制方法及装置
CN104834438A (zh) * 2015-06-02 2015-08-12 广东欧珀移动通信有限公司 桌面显示方法及装置

Also Published As

Publication number Publication date
CN109189299A (zh) 2019-01-11
CN109189299B (zh) 2020-11-03

Similar Documents

Publication Publication Date Title
US20210132779A1 (en) Electronic device and method for configuring display thereof
CN107357540B (zh) 一种显示方向的调整方法及移动终端
US20130111398A1 (en) Methods and apparatuses for window display, and methods and apparatuses for touch-operating an application
US20140016921A1 (en) Apparatus and method for photographing timer control of a camera of a terminal
WO2020025046A1 (zh) 应用展示方法、装置、终端及可读存储介质
US10274903B2 (en) Setting an alarm clock on a smart device
JP2019511029A (ja) 表示方法および端末
US20170109026A1 (en) Dial control for touch screen navigation
US20140089829A1 (en) System supporting manual user interface based control of an electronic device
CN106970752B (zh) 一种截屏方法及移动终端
TW201743189A (zh) 選單的顯示處理方法、裝置及系統
TW201710870A (zh) 應用程式圖示作業系統與方法
CN106780314B (zh) 一种拼图预览的方法及移动终端
WO2020062908A1 (zh) 一种显示方向控制方法、系统及移动终端
KR102113509B1 (ko) 가상 키패드 제어 방법 및 그 전자 장치
WO2020024521A1 (zh) 一种屏幕展示方法、装置、终端及可读存储介质
US20160196043A1 (en) Method for selecting content and electronic device thereof
US11314388B2 (en) Method for viewing application program, graphical user interface, and terminal
WO2017166749A1 (zh) 一种屏幕转动方法、装置和电子设备
US20140282058A1 (en) Electronic device with a funiction of applying applications of different operating systems, system and method thereof
WO2020006988A1 (zh) 一种移动终端系统界面设置方法、装置、介质和设备
JP2017517066A (ja) 画面自動回転を制御するための方法、装置、および端末
TW201403446A (zh) 軟體介面顯示系統及方法
WO2015172551A1 (zh) 生成显示界面的方法及电子设备、计算机存储介质
US20140282063A1 (en) System for updating icon interface with icons of different operating systems and method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18928489

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18928489

Country of ref document: EP

Kind code of ref document: A1