WO2018000832A1 - Display method for terminal screen content, display device, and terminal - Google Patents

Display method for terminal screen content, display device, and terminal Download PDF

Info

Publication number
WO2018000832A1
WO2018000832A1 PCT/CN2017/073974 CN2017073974W WO2018000832A1 WO 2018000832 A1 WO2018000832 A1 WO 2018000832A1 CN 2017073974 W CN2017073974 W CN 2017073974W WO 2018000832 A1 WO2018000832 A1 WO 2018000832A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
display
screen content
screen
tilt
Prior art date
Application number
PCT/CN2017/073974
Other languages
French (fr)
Chinese (zh)
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 WO2018000832A1 publication Critical patent/WO2018000832A1/en

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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Definitions

  • the present application relates to the field of computer technologies, and in particular, to a method, a display device, and a terminal for displaying content of a terminal screen.
  • the size of the screen content exceeds the size of the display screen of the terminal.
  • the screen content is desktop wallpaper
  • the width of the desktop wallpaper exceeds the width of the display screen
  • the screen content is a long image
  • the length of the long image exceeds the length of the display screen
  • the screen content is an operation interface, which includes multiple sub-menu Interface, each sub-interface is the same size as the display.
  • the embodiment of the present application provides a display method, a display device, and a terminal of a terminal screen content, which can improve the convenience of display.
  • the embodiment of the present application provides a method for displaying content of a terminal screen, including:
  • determining the tilt direction of the terminal includes:
  • a direction in which the maximum angle between the display screen and the initial orientation is different is determined as an oblique direction.
  • the method further includes:
  • the continuously displaying the undisplayed area of the screen content in a direction opposite to the tilt direction includes:
  • an undisplayed area of the screen content is continuously scrolled in a direction opposite to the tilting direction.
  • the method further includes:
  • the size of the screen content is larger than the size of the display screen of the terminal.
  • the method further includes:
  • the obtaining the restoration instruction input by the user includes:
  • the screen content includes a desktop wallpaper, a picture, or an operation interface.
  • the embodiment of the present application further provides a display device for terminal screen content, including:
  • a tilt detecting module configured to determine a tilt direction of the terminal when detecting that the terminal is tilted
  • a display judging module configured to determine whether the current screen content of the terminal has an undisplayed area in the oblique direction
  • Scrolling display module if yes, continuously scrolling to display an undisplayed area of the screen content in a direction opposite to the tilt direction until the terminal is no longer tilted or the screen content is not in the tilt direction There are still areas that are not displayed.
  • the tilt detection module includes:
  • a direction determining unit configured to determine an initial orientation of a display screen of the terminal
  • a tilt determining unit configured to determine that the terminal is tilted when detecting that the display screen is not perpendicular to the initial orientation
  • a direction determining unit configured to determine a direction in which the maximum angle between the display screen and the initial orientation differs as an oblique direction when it is determined that the terminal is tilted.
  • the device further includes:
  • An angle determining module configured to determine an angle of the tilting direction with respect to an initial position of the display screen as an inclined angle
  • a speed determining module configured to determine a scroll speed corresponding to the tilt angle according to a preset correspondence relationship
  • the scroll display module is specifically configured to continuously display an undisplayed area of the screen content in a direction opposite to the tilt direction according to the scroll speed.
  • the device further includes:
  • a size determining module configured to determine that a size of the screen content is larger than a size of a display screen of the terminal.
  • the device further includes:
  • an instruction obtaining module configured to acquire a restore instruction input by the user when the screen content no longer has an undisplayed area in a direction opposite to the tilt direction;
  • the display module is restored for displaying an initial area of the screen content before the scroll display is performed.
  • the instruction acquisition module includes:
  • buttons pop-up unit for popping up a preset floating button
  • the operation obtaining unit is configured to acquire a click operation of the user for the preset floating key input.
  • the screen content includes a desktop wallpaper, a picture, or an operation interface.
  • the embodiment of the present application further provides a terminal, including: a housing, a processor, a memory, a circuit board, a power circuit, a display screen, and a gravity sensor, wherein the circuit board is disposed in the housing Internally, the processor, the memory, the display screen, and the gravity sensor are disposed on the circuit board; the power circuit is configured to supply power to each circuit or device of the terminal; a display screen for displaying a picture; the gravity sensor for detecting a tilt; the memory for storing executable program code; the processor running by reading the executable program code stored in the memory The program corresponding to the executable program code is configured to perform the following steps:
  • the embodiment of the present application further provides a storage medium, which is configured to store executable program code, and the executable program code is used to execute a display method of terminal screen content as described above.
  • the embodiment of the present application further provides an executable program code, which is a method for displaying the content of the terminal screen as described above.
  • the tilt direction of the terminal is determined, and then it is determined whether the current screen content has an undisplayed area in the tilt direction, and then continues to tilt and tilt when the determination is yes. Scrolling in the opposite direction shows the undisplayed area. It can be seen that the user can view the undisplayed area of the screen content by tilting the terminal, which improves the convenience of operation and enhances the user experience.
  • FIG. 1 is a schematic flowchart of a method for displaying content of a terminal screen according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of another method for displaying content of a terminal screen according to an embodiment of the present application
  • FIG. 3 is a schematic structural diagram of a display device for content of a terminal screen according to an embodiment of the present application
  • FIG. 4 is a schematic structural diagram of a tilt detecting module according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an instruction acquisition module according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of a terminal tilt provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of another terminal tilt provided by an embodiment of the present application.
  • the display method of the terminal screen content provided by the embodiment of the present application is applied to a terminal, and the terminal includes a smart phone, a tablet computer, a smart wearable device, a notebook computer, a digital audio and video player, an electronic reader, a handheld game machine, and an in-vehicle electronic device. Equipment, etc.
  • the terminal is provided with a display screen and a gravity sensor, the display screen is used for displaying a picture, and the gravity sensor is used for detecting the tilt.
  • FIG. 1 is a schematic flow chart of a method for displaying content of a terminal screen in an embodiment of the present application.
  • the flow of the method for displaying the content of the terminal screen in the embodiment as shown in the figure may include:
  • the terminal before detecting whether the tilt occurs, the terminal needs to determine that the size of the screen content is greater than the final The size of the display on the side.
  • the screen content refers to an object displayed on the current display screen of the terminal, and may be a size object such as a desktop wallpaper, a picture, and an operation interface. It should be noted that the advantage of predetermining that the size of the screen content is larger than the size of the display screen is to avoid that the terminal still detects whether tilting occurs when the size of the screen content is appropriate, thereby avoiding unnecessary overhead.
  • the size of the screen content is larger than the size of the display screen of the terminal, which may be the following: if the screen content is a desktop wallpaper, the width of the desktop wallpaper is greater than the width of the display screen of the terminal; if the screen content is a picture, the length of the image is greater than The length of the display screen of the terminal, or the width of the picture is greater than the width of the display screen of the terminal; if the content of the screen is the operation interface, the operation interface includes a plurality of consecutively arranged sub-interfaces, each of which has the same size as the display screen.
  • the foregoing is only an example of the embodiments of the present application, and should not be limited to the embodiments of the present application. Other similar situations are not exhaustive herein.
  • the manner in which the terminal is tilted may be horizontally inclined with respect to a plane in which the display screen is located, or may be longitudinally inclined with respect to a plane in which the display screen is located, and may be both laterally inclined and longitudinally inclined.
  • FIG. 7(A) The solid line frame is the terminal before the tilt, and the dotted line frame is the tilted terminal. As shown in the figure, the terminal is tilted laterally to the right.
  • Fig. 7(B) The solid line frame is the terminal before tilting, and the dotted line frame is the terminal after tilting. As shown in the figure, the terminal is tilted vertically downward.
  • the direction and angle at which the terminal is tilted may be controlled by the user, such as the user tilting the mobile phone while holding the hand.
  • the specific manner in which the terminal detects the tilt and the tilt direction can be implemented by the following steps:
  • step 1 the terminal determines the initial orientation of its display screen.
  • the terminal detects the initial orientation of the display screen through the gravity sensor.
  • the initial orientation of the display screen may refer to an orientation of the terminal that is perpendicular to the display screen when the screen content is displayed. For example, referring to FIG. 8, assuming that the terminal display screen is in the position where the solid line frame is located in the figure, the screen content is turned on, and the initial orientation is perpendicular to the plane where the solid line frame is located.
  • Step 2 When it is detected that the display screen is not perpendicular to the initial orientation, it is determined that the terminal is tilted.
  • the terminal detects the real-time orientation of the display screen through the gravity sensor, and determines that the terminal is tilted when it is detected that the display screen is not perpendicular to the initial orientation. For example, referring also to FIG. 8, assuming that the terminal is tilted laterally to the right to the dotted frame, then the display screen is no longer perpendicular to the initial orientation, and it is determined that the terminal is tilted.
  • Step 3 When it is determined that the terminal is tilted, a direction that differs between the display screen and the initial orientation by a maximum angle is determined as an oblique direction.
  • the terminal determines whether the current screen content has an undisplayed area in the determined tilt direction.
  • the terminal determines that there is an undisplayed area in the right half of the picture. .
  • the terminal determines the angle of the tilt direction relative to the initial position of the terminal display screen as the tilt angle, as shown in FIG. 8 , and determines the scroll speed corresponding to the tilt angle according to the preset correspondence.
  • the corresponding relationship between the tilting angle and the scrolling speed may be set by the device manufacturer of the terminal before leaving the factory, or may be preset by the user, and is not specifically limited herein. Further optionally, the larger the tilt angle, the larger the corresponding scroll speed.
  • the terminal continuously scrolls the undisplayed area of the screen content in a direction opposite to the tilt direction according to the determined scroll speed until the terminal is no longer tilted or the screen content no longer has an undisplayed area in the tilt direction. For example, assuming that the terminal is tilted to the right laterally, the display continues to scroll to the left so that the screen content is displayed in the undisplayed area on the right. Another example: assuming that the terminal is tilted vertically downward, the display continues to scroll up so that the screen content is displayed on the underside of the undisplayed area.
  • the terminal determines whether the restore command input by the user is obtained, and if yes, displays the screen content.
  • the initial area before scrolling is displayed.
  • the terminal obtains a restore command input by the user.
  • the specific manner may be: popping up a preset floating button to obtain a click operation of the user for the floating key input.
  • the tilt direction of the terminal is determined, and then it is determined whether the current screen content has an undisplayed area in the tilt direction, and then continues to the opposite direction to the tilt direction when the determination is yes. Scrolling through the undisplayed area shows that the user can view the undisplayed area of the screen content by simply tilting the terminal, which improves the convenience of operation and enhances the user experience.
  • FIG. 2 is a schematic flowchart diagram of another method for displaying content of a terminal screen in the embodiment of the present application.
  • the flow of the method for displaying the content of the terminal screen in the embodiment as shown in the figure may include:
  • the screen content refers to an object displayed on the current display screen of the terminal, and may be a size object such as a desktop wallpaper, a picture, and an operation interface. It should be noted that the advantage of predetermining that the size of the screen content is larger than the size of the display screen is to avoid that the terminal still performs the following steps when the size of the screen content is appropriate, thereby avoiding unnecessary overhead.
  • the size of the screen content is larger than the size of the display screen of the terminal, which may be the following: if the screen content is a desktop wallpaper, the width of the desktop wallpaper is greater than the width of the display screen of the terminal; if the screen content is a picture, the length of the image is greater than The length of the display screen of the terminal, or the width of the picture is greater than the width of the display screen of the terminal; if the content of the screen is the operation interface, the operation interface includes a plurality of consecutively arranged sub-interfaces, each of which has the same size as the display screen.
  • the foregoing is only an example of the embodiments of the present application, and should not be limited to the embodiments of the present application. Other similar situations are not exhaustive herein.
  • the manner in which the terminal is tilted may be horizontally inclined with respect to a plane in which the display screen is located, or may be longitudinally inclined with respect to a plane in which the display screen is located, and may be both laterally inclined and longitudinally inclined.
  • FIG. 7(A) The solid line frame is the terminal before the tilt, and the dotted line frame is the tilted terminal. As shown in the figure, the terminal is tilted laterally to the right.
  • Fig. 7(B) The solid line frame is the terminal before tilting, and the dotted line frame is the terminal after tilting. As shown in the figure, the terminal is tilted vertically downward.
  • direction and angle at which the terminal is tilted may be controlled by the user, such as the user tilting the mobile phone while holding the hand.
  • the terminal detects the initial orientation of the display screen by the gravity sensor.
  • the initial orientation of the display screen may refer to an orientation of the terminal that is perpendicular to the display screen when the screen content is displayed. For example, referring to FIG. 8, assuming that the terminal display screen is in the position where the solid line frame is located in the figure, the screen content is turned on, and the initial orientation is perpendicular to the plane where the solid line frame is located. Further, when it is detected that the display screen is not perpendicular to the initial orientation, it is determined that the terminal is tilted. For example, referring also to FIG. 8, assuming that the terminal is tilted laterally to the right to the dotted frame, then the display screen is no longer perpendicular to the initial orientation, and it is determined that the terminal is tilted.
  • a direction that differs between the display screen and the initial orientation by a maximum angle is determined as an oblique direction.
  • the terminal determines whether the current screen content has an undisplayed area in the determined tilt direction. If yes, step S205 is performed, and if not, the terminal ends.
  • the terminal determines that there is an undisplayed area in the right half of the picture. .
  • the terminal determines the angle of the tilt direction relative to the initial position of the display screen of the terminal as the tilt angle, as shown in FIG. 8 , and determines the scroll speed corresponding to the tilt angle according to the preset correspondence.
  • the corresponding relationship between the tilting angle and the scrolling speed may be set by the device manufacturer of the terminal before leaving the factory, or may be preset by the user, and is not specifically limited herein. Further optionally, the larger the tilt angle, the larger the corresponding scroll speed.
  • the terminal continuously scrolls the undisplayed area of the screen content in a direction opposite to the tilt direction according to the determined scroll speed until the terminal is no longer tilted or the screen content is not in the oblique direction.
  • the specific manner in which the terminal obtains the restore command input by the user may be: popping up a preset floating button, and acquiring a click operation of the user for the floating button input.
  • the advantage is that for some screen content, after viewing the area that is not displayed, the user wants to return to the original state, and can quickly recover by inputting a restore command.
  • the tilt direction of the terminal is determined, and then it is determined whether the current screen content has an undisplayed area in the tilt direction, and then continues to the opposite direction to the tilt direction when the determination is yes. Scrolling through the undisplayed area shows that the user can view the undisplayed area of the screen content by simply tilting the terminal, which improves the convenience of operation and enhances the user experience.
  • FIG. 3 is a schematic structural diagram of a display device for content of a terminal screen according to an embodiment of the present application.
  • the display device in the embodiment of the present application may at least include a tilt detection module 310, a display determination module 320, and a scroll display module 330, where:
  • the tilt detecting module 310 is configured to determine an oblique direction of the terminal when detecting that the terminal is tilted.
  • the tilt detecting module 310 may further include an orientation determining unit 311, a tilt determining unit 312, and a direction determining unit 313, as shown in FIG. 4, where:
  • the orientation determining unit 311 is configured to determine an initial orientation of the display screen of the terminal.
  • the orientation determining unit 311 detects the initial orientation of its display screen by the gravity sensor.
  • the initial orientation of the display screen may refer to the orientation of the display screen when the terminal opens to display the content of the screen. For example, referring to FIG. 8, assuming that the terminal opens the display of the screen content at the solid line frame, the orientation determining unit 311 determines that the initial orientation is perpendicular to the plane in which the solid line frame is located.
  • the tilt determining unit 312 is configured to determine that the terminal is tilted when detecting that the display screen is not perpendicular to the initial orientation.
  • the tilt determination unit 312 detects the real-time orientation of its display screen by the gravity sensor, and determines that the terminal is tilted when it is detected that the display screen is not perpendicular to the initial orientation. For example, referring also to FIG. 8, assuming that the terminal is tilted laterally to the right to the dotted frame, then the display screen is no longer perpendicular to the initial orientation, and the tilt determination unit 312 determines that the terminal is tilted.
  • the direction determining unit 313 is configured to determine a direction in which the maximum angle between the display screen and the initial orientation differs as an oblique direction when it is determined that the terminal is tilted.
  • the direction determining unit 313 will have the maximum angle.
  • the corresponding direction D of a is determined as the oblique direction.
  • the display judging module 320 is configured to determine whether the current screen content of the terminal has an undisplayed area in the oblique direction.
  • the display determining module 320 determines whether the current screen content of the terminal has an undisplayed area in the determined tilt direction.
  • the display determination module 320 determines that the right half of the picture exists. The area shown.
  • Scrolling display module 330 if yes, continuously scrolling to display an undisplayed area of the screen content in a direction opposite to the tilt direction until the terminal is no longer tilted or the screen content is in the tilt direction There are no longer areas that have not been displayed.
  • the display continues to scroll to the left so that the screen content is displayed in the undisplayed area on the right.
  • the display continues to scroll up so that the screen content is displayed on the underside of the undisplayed area.
  • the display device in the embodiment of the present application may further include a size determining module 340 for determining that the size of the screen content is larger than the size of the display screen of the terminal.
  • the screen content refers to an object displayed on the current display screen of the terminal, and may be a size object such as a desktop wallpaper, a picture, and an operation interface. It should be noted that the advantage of predetermining that the size of the screen content is larger than the size of the display screen is to avoid that the terminal still detects whether tilting occurs when the size of the screen content is appropriate, thereby avoiding unnecessary overhead.
  • the display device in the embodiment of the present application may further include an angle determining module 350 and a speed determining module 360, where:
  • the angle determining module 350 is configured to determine an angle of the tilt direction relative to an initial position of the terminal display screen as an angle of inclination. As shown in Figure 8.
  • the speed determining module 360 is configured to determine a scroll speed corresponding to the tilt angle according to a preset correspondence.
  • the corresponding relationship between the tilting angle and the scrolling speed may be set by the device manufacturer of the terminal before leaving the factory, or may be preset by the user, and is not specifically limited herein. Further optionally, the larger the tilt angle, the larger the corresponding scroll speed.
  • the scroll display module 330 is specifically configured to continuously display an undisplayed area of the screen content in a direction opposite to the tilt direction according to the scroll speed.
  • the display device in the embodiment of the present application may further include an instruction acquisition module 370 and a restore display module 380, where:
  • the instruction acquisition module 370 is configured to acquire a restore instruction input by the user when the screen content no longer has an undisplayed area in a direction opposite to the tilt direction.
  • the instruction obtaining module 370 may further include a button pop-up unit 371 and an operation obtaining unit 372 as shown in FIG. 5, where:
  • the button pop-up unit 371 is configured to pop up a preset floating button.
  • the operation obtaining unit 372 is configured to acquire a click operation of the user for the preset floating key input.
  • the restoration display module 380 is configured to display an initial area of the screen content before the scroll display is performed.
  • the advantage is that for some screen content, after viewing the area that is not displayed, the user wants to return to the original state, and can quickly recover by inputting a restore command.
  • FIG. 6 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • the terminal may be used to implement a method for displaying content of a terminal screen provided in the embodiment of FIG. 1 to FIG. 2, where:
  • the terminal includes a housing 601, a processor 602, a memory 603, a circuit board 604, a power supply circuit 605, a display screen 606, and a gravity sensor 607, wherein the circuit board 604 is disposed in a space enclosed by the housing 601.
  • the processor 602, the memory 603, the display screen 606, and The gravity sensor 607 is disposed on the circuit board;
  • the power circuit 605 is configured to supply power to each circuit or device of the terminal;
  • the display screen 606 is used to display a screen; and the gravity sensor 607 is used.
  • the storage 603 is configured to store executable program code;
  • the processor 602 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 603, Used to perform the following steps:
  • the specific operation of determining the tilt direction of the terminal is:
  • a direction in which the maximum angle between the display screen and the initial orientation is different is determined as an oblique direction.
  • the processor 602 further performs:
  • the specific operation of the processor 602 continuously scrolling to display the undisplayed area of the screen content in a direction opposite to the tilt direction is:
  • an undisplayed area of the screen content is continuously scrolled in a direction opposite to the tilting direction.
  • the processor 602 further performs: before detecting that the terminal is tilted, determining the tilt direction of the terminal:
  • the size of the screen content is larger than the size of the display screen of the terminal.
  • the processor 602 further performs:
  • the screen content includes a desktop wallpaper, a picture, or an operation interface.
  • the present application is directed to a storage medium for storing executable program code for executing a display method of terminal screen content according to any of the above embodiments.
  • the present application further provides an executable program code for executing a display method of the content of the terminal screen according to any of the above embodiments.
  • the technical solution of the embodiments of the present application may be embodied in the form of a computer software product stored in a storage medium (such as a ROM/RAM, a magnetic disk or an optical disk).
  • the method includes a plurality of instructions for controlling the terminal to perform part or all of the display method of the terminal screen content described in the embodiments of the present application.
  • the tilt direction of the terminal is determined, and then it is determined whether the current screen content has an undisplayed area in the tilt direction, and then continues to the opposite direction to the tilt direction when the determination is yes. Scrolling through the undisplayed area shows that the user can view the undisplayed area of the screen content by simply tilting the terminal, which improves the convenience of operation and enhances the user experience.
  • first and second are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated.
  • features defining “first” or “second” may include at least one of the features, either explicitly or implicitly.
  • the meaning of "a plurality” is at least two, such as two, three, etc., unless specifically defined otherwise.
  • a "computer-readable medium” can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with the instruction execution system, apparatus, or device.
  • computer readable media include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM).
  • the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method is processed to obtain the program electronically and then stored in computer memory.
  • portions of the application can be implemented in hardware, software, firmware, or a combination thereof.
  • multiple steps or methods may be stored in the memory and executed by appropriate instructions
  • the software or firmware executed by the system is implemented.
  • it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
  • each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
  • the above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like. While the embodiments of the present application have been shown and described above, it is understood that the above-described embodiments are illustrative and are not to be construed as limiting the scope of the present application. The embodiments are subject to variations, modifications, substitutions and variations.

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)
  • Controls And Circuits For Display Device (AREA)

Abstract

A display method for a terminal screen content, a display device and a terminal, the display method comprising: upon detecting inclination of a terminal, determining an inclination direction of the terminal (S101); determining whether a current screen content of the terminal has a region that is not shown in the inclination direction (S102); if so, scrolling in a direction opposite to the inclination direction so as to display the region of the screen content that is not shown, continuing until the terminal is no longer inclined, or until the screen content no longer has a region that is not shown in the inclination direction (S103). Using said method may improve display convenience.

Description

一种终端屏幕内容的显示方法、显示装置以及终端Display method, display device and terminal of terminal screen content
相关申请的交叉引用Cross-reference to related applications
本申请要求北京金山安全软件有限公司于2016年06月29日提交的、发明名称为“一种终端屏幕内容的显示方法、显示装置以及终端”的、中国专利申请号“201610500844.1”的优先权。The present application claims the priority of the Chinese Patent Application No. "201610500844.1", which is filed on June 29, 2016 by the Beijing Jinshan Security Software Co., Ltd., entitled "Display Method, Display Device and Terminal of Terminal Screen Content".
技术领域Technical field
本申请涉及计算机技术领域,尤其涉及一种终端屏幕内容的显示方法、显示装置以及终端。The present application relates to the field of computer technologies, and in particular, to a method, a display device, and a terminal for displaying content of a terminal screen.
背景技术Background technique
如智能手机、平板电脑等的终端在显示屏幕内容时,有时会出现屏幕内容的尺寸超过终端的显示屏的尺寸的问题。例如:屏幕内容为桌面壁纸,桌面壁纸的宽度超过显示屏的宽度;又如:屏幕内容为长图,长图的长度超过显示屏的长度;又如:屏幕内容为操作界面,其包括多个子界面,每个子界面的尺寸与显示屏的尺寸相同。When a terminal such as a smartphone or a tablet displays screen content, there is a problem that the size of the screen content exceeds the size of the display screen of the terminal. For example, the screen content is desktop wallpaper, the width of the desktop wallpaper exceeds the width of the display screen; for example, the screen content is a long image, the length of the long image exceeds the length of the display screen; and the screen content is an operation interface, which includes multiple sub-menu Interface, each sub-interface is the same size as the display.
目前,当出现上述问题时,为了查看屏幕内容的未被展示的区域,通常需要用户通过滑动显示屏的方式,或是通过点击按键的方式来切换显示。然而,当屏幕内容的未被展示的区域较大时,需要用户反复地操作才能切换显示完毕,可见便捷性不高,用户的使用体验较差。Currently, when the above problem occurs, in order to view the undisplayed area of the screen content, the user usually needs to switch the display by sliding the display screen or by clicking a button. However, when the undisplayed area of the screen content is large, the user needs to repeatedly operate to switch the display, the visibility is not high, and the user's use experience is poor.
发明内容Summary of the invention
本申请实施例提供了一种终端屏幕内容的显示方法、显示装置以及终端,可以实现提高显示的便捷性。 The embodiment of the present application provides a display method, a display device, and a terminal of a terminal screen content, which can improve the convenience of display.
本申请实施例提供了一种终端屏幕内容的显示方法,包括:The embodiment of the present application provides a method for displaying content of a terminal screen, including:
当检测到终端发生倾斜时,确定所述终端的倾斜方向;Determining an inclination direction of the terminal when detecting that the terminal is tilted;
判断所述终端当前的屏幕内容在所述倾斜方向上是否存在未展示的区域;Determining whether the current screen content of the terminal has an undisplayed area in the oblique direction;
若是,则持续向与所述倾斜方向相反的方向滚动显示所述屏幕内容的未展示的区域,直到所述终端不再倾斜或者所述屏幕内容在所述倾斜方向上不再存在未被展示的区域为止。If yes, continuously displaying the undisplayed area of the screen content in a direction opposite to the tilt direction until the terminal is no longer tilted or the screen content no longer has no display in the tilt direction Up to the area.
可选的,所述当检测到终端发生倾斜时,确定所述终端的倾斜方向,包括:Optionally, when detecting that the terminal is tilted, determining the tilt direction of the terminal includes:
确定所述终端的显示屏的初始朝向;Determining an initial orientation of a display screen of the terminal;
当检测到所述显示屏不垂直于所述初始朝向时,确定所述终端发生倾斜;Determining that the terminal is tilted when detecting that the display screen is not perpendicular to the initial orientation;
当确定所述终端发生倾斜时,将在所述显示屏与所述初始朝向之间相差最大角度的方向确定为倾斜方向。When it is determined that the terminal is tilted, a direction in which the maximum angle between the display screen and the initial orientation is different is determined as an oblique direction.
进一步的,所述将在所述显示屏与所述初始朝向之间相差最大角度的方向确定为倾斜方向之后,还包括:Further, after determining the direction in which the maximum angle between the display screen and the initial orientation is determined as the oblique direction, the method further includes:
将所述倾斜方向相对于所述显示屏的初始位置的角度确定为倾斜角度;Determining an angle of the oblique direction with respect to an initial position of the display screen as an inclination angle;
根据预设的对应关系,确定所述倾斜角度对应的滚动速度;Determining, according to a preset correspondence, a scroll speed corresponding to the tilt angle;
所述持续向与所述倾斜方向相反的方向滚动显示所述屏幕内容的未展示的区域,包括:The continuously displaying the undisplayed area of the screen content in a direction opposite to the tilt direction includes:
按照所述滚动速度,持续向与所述倾斜方向相反的方向滚动显示所述屏幕内容的未展示的区域。According to the scrolling speed, an undisplayed area of the screen content is continuously scrolled in a direction opposite to the tilting direction.
又可选的,所述当检测到终端发生倾斜时,确定所述终端的倾斜方向之前,还包括:Optionally, before the determining that the tilt direction of the terminal is detected, the method further includes:
确定所述屏幕内容的尺寸大于所述终端的显示屏的尺寸。It is determined that the size of the screen content is larger than the size of the display screen of the terminal.
又可选的,所述持续向与所述倾斜方向相反的方向滚动显示所述屏幕内容的未展示的区域之后,还包括:Optionally, after the scrolling continues to display the undisplayed area of the screen content in a direction opposite to the tilting direction, the method further includes:
当在与所述倾斜方向相反的方向上所述屏幕内容不再存在未被展示的区域时,获取用户输入的还原指令;Acquiring a restore command input by the user when the screen content no longer has an undisplayed area in a direction opposite to the tilt direction;
显示所述屏幕内容在进行滚动显示之前的初始区域。An initial area of the screen content before scrolling is displayed.
进一步的,所述获取用户输入的还原指令,包括:Further, the obtaining the restoration instruction input by the user includes:
弹出预设的悬浮按键;Pop up the preset floating button;
获取用户针对所述预设的悬浮按键输入的点击操作。 Obtaining a click operation of the user for the preset floating key input.
又可选的,所述屏幕内容包括桌面壁纸、图片或操作界面。Optionally, the screen content includes a desktop wallpaper, a picture, or an operation interface.
相应的,本申请实施例还提供了一种终端屏幕内容的显示装置,包括:Correspondingly, the embodiment of the present application further provides a display device for terminal screen content, including:
倾斜检测模块,用于当检测到终端发生倾斜时,确定所述终端的倾斜方向;a tilt detecting module, configured to determine a tilt direction of the terminal when detecting that the terminal is tilted;
展示判断模块,用于判断所述终端当前的屏幕内容在所述倾斜方向上是否存在未展示的区域;a display judging module, configured to determine whether the current screen content of the terminal has an undisplayed area in the oblique direction;
滚动显示模块,用于若是,则持续向与所述倾斜方向相反的方向滚动显示所述屏幕内容的未展示的区域,直到所述终端不再倾斜或者所述屏幕内容在所述倾斜方向上不再存在未被展示的区域为止。Scrolling display module, if yes, continuously scrolling to display an undisplayed area of the screen content in a direction opposite to the tilt direction until the terminal is no longer tilted or the screen content is not in the tilt direction There are still areas that are not displayed.
可选的,所述倾斜检测模块包括:Optionally, the tilt detection module includes:
朝向确定单元,用于确定所述终端的显示屏的初始朝向;a direction determining unit configured to determine an initial orientation of a display screen of the terminal;
倾斜确定单元,用于当检测到所述显示屏不垂直于所述初始朝向时,确定所述终端发生倾斜;a tilt determining unit, configured to determine that the terminal is tilted when detecting that the display screen is not perpendicular to the initial orientation;
方向确定单元,用于当确定所述终端发生倾斜时,将在所述显示屏与所述初始朝向之间相差最大角度的方向确定为倾斜方向。And a direction determining unit configured to determine a direction in which the maximum angle between the display screen and the initial orientation differs as an oblique direction when it is determined that the terminal is tilted.
进一步的,所述装置还包括:Further, the device further includes:
角度确定模块,用于将所述倾斜方向相对于所述显示屏的初始位置的角度确定为倾斜角度;An angle determining module, configured to determine an angle of the tilting direction with respect to an initial position of the display screen as an inclined angle;
速度确定模块,用于根据预设的对应关系,确定所述倾斜角度对应的滚动速度;a speed determining module, configured to determine a scroll speed corresponding to the tilt angle according to a preset correspondence relationship;
所述滚动显示模块,具体用于按照所述滚动速度,持续向与所述倾斜方向相反的方向滚动显示所述屏幕内容的未展示的区域。The scroll display module is specifically configured to continuously display an undisplayed area of the screen content in a direction opposite to the tilt direction according to the scroll speed.
又可选的,所述装置还包括:Optionally, the device further includes:
尺寸确定模块,用于确定所述屏幕内容的尺寸大于所述终端的显示屏的尺寸。And a size determining module, configured to determine that a size of the screen content is larger than a size of a display screen of the terminal.
又可选的,所述装置还包括:Optionally, the device further includes:
指令获取模块,用于当在与所述倾斜方向相反的方向上所述屏幕内容不再存在未被展示的区域时,获取用户输入的还原指令;And an instruction obtaining module, configured to acquire a restore instruction input by the user when the screen content no longer has an undisplayed area in a direction opposite to the tilt direction;
还原显示模块,用于显示所述屏幕内容在进行滚动显示之前的初始区域。The display module is restored for displaying an initial area of the screen content before the scroll display is performed.
进一步的,所述指令获取模块包括: Further, the instruction acquisition module includes:
按键弹出单元,用于弹出预设的悬浮按键;a button pop-up unit for popping up a preset floating button;
操作获取单元,用于获取用户针对所述预设的悬浮按键输入的点击操作。The operation obtaining unit is configured to acquire a click operation of the user for the preset floating key input.
又可选的,所述屏幕内容包括桌面壁纸、图片或操作界面。Optionally, the screen content includes a desktop wallpaper, a picture, or an operation interface.
另外,本申请实施例还提供了一种终端,包括:壳体、处理器、存储器、电路板、电源电路、显示屏和重力感应器,其中,所述电路板安置在所述壳体围成的空间内部,所述处理器、所述存储器、所述显示屏和所述重力感应器设置在所述电路板上;所述电源电路,用于为所述终端的各个电路或器件供电;所述显示屏用于显示画面;所述重力感应器用于检测倾斜;所述存储器用于存储可执行程序代码;所述处理器通过读取所述存储器中存储的所述可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行以下步骤:In addition, the embodiment of the present application further provides a terminal, including: a housing, a processor, a memory, a circuit board, a power circuit, a display screen, and a gravity sensor, wherein the circuit board is disposed in the housing Internally, the processor, the memory, the display screen, and the gravity sensor are disposed on the circuit board; the power circuit is configured to supply power to each circuit or device of the terminal; a display screen for displaying a picture; the gravity sensor for detecting a tilt; the memory for storing executable program code; the processor running by reading the executable program code stored in the memory The program corresponding to the executable program code is configured to perform the following steps:
当检测到终端发生倾斜时,确定所述终端的倾斜方向;Determining an inclination direction of the terminal when detecting that the terminal is tilted;
判断所述终端当前的屏幕内容在所述倾斜方向上是否存在未展示的区域;Determining whether the current screen content of the terminal has an undisplayed area in the oblique direction;
若是,则持续向与所述倾斜方向相反的方向滚动显示所述屏幕内容的未展示的区域,直到所述终端不再倾斜或者所述屏幕内容在所述倾斜方向上不再存在未被展示的区域为止。If yes, continuously displaying the undisplayed area of the screen content in a direction opposite to the tilt direction until the terminal is no longer tilted or the screen content no longer has no display in the tilt direction Up to the area.
另外,本申请实施例还提供了一种存储介质,其特征在于,用于存储可执行程序代码,所述可执行程序代码用于执行如上所述的终端屏幕内容的显示方法。In addition, the embodiment of the present application further provides a storage medium, which is configured to store executable program code, and the executable program code is used to execute a display method of terminal screen content as described above.
再者,本申请实施例还提供了一种可执行程序代码,其特征在于,用于执行如上所述的终端屏幕内容的显示方法。Furthermore, the embodiment of the present application further provides an executable program code, which is a method for displaying the content of the terminal screen as described above.
由上可见,本申请实施例中,当检测到终端发生倾斜时确定终端的倾斜方向,接着判断当前的屏幕内容在倾斜方向上是否存在未展示的区域,然后在判定为是时持续向与倾斜方向相反的方向滚动显示未展示的区域,可见用户只需倾斜一下终端就可以查看屏幕内容的未被展示的区域,提高了操作便捷性,增强用户的使用体验。 As can be seen from the above, in the embodiment of the present application, when it is detected that the terminal is tilted, the tilt direction of the terminal is determined, and then it is determined whether the current screen content has an undisplayed area in the tilt direction, and then continues to tilt and tilt when the determination is yes. Scrolling in the opposite direction shows the undisplayed area. It can be seen that the user can view the undisplayed area of the screen content by tilting the terminal, which improves the convenience of operation and enhances the user experience.
附图说明DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings to be used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present application, and other drawings can be obtained according to the drawings without any creative work for those skilled in the art.
图1是本申请实施例提供的一种终端屏幕内容的显示方法的流程示意图;1 is a schematic flowchart of a method for displaying content of a terminal screen according to an embodiment of the present application;
图2是本申请实施例提供的另一种终端屏幕内容的显示方法的流程示意图;2 is a schematic flowchart of another method for displaying content of a terminal screen according to an embodiment of the present application;
图3是本申请实施例提供的一种终端屏幕内容的显示装置的结构示意图;3 is a schematic structural diagram of a display device for content of a terminal screen according to an embodiment of the present application;
图4是本申请实施例提供的一种倾斜检测模块的结构示意图;4 is a schematic structural diagram of a tilt detecting module according to an embodiment of the present application;
图5是本申请实施例提供的一种指令获取模块的结构示意图;FIG. 5 is a schematic structural diagram of an instruction acquisition module according to an embodiment of the present disclosure;
图6是本申请实施例提供的一种终端的结构示意图;FIG. 6 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure;
图7是本申请实施例提供的一种终端倾斜的示意图;7 is a schematic diagram of a terminal tilt provided by an embodiment of the present application;
图8是本申请实施例提供的另一种终端倾斜的示意图。FIG. 8 is a schematic diagram of another terminal tilt provided by an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the drawings in the embodiments of the present application. It is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
本申请实施例提供的终端屏幕内容的显示方法应用于终端,所述终端包括智能手机、平板电脑、智能可穿戴设备、笔记本电脑、数字音视频播放器、电子阅读器、手持游戏机和车载电子设备等。其中,所述终端设有显示屏和重力感应器,显示屏用于显示画面,重力感应器用于检测倾斜。The display method of the terminal screen content provided by the embodiment of the present application is applied to a terminal, and the terminal includes a smart phone, a tablet computer, a smart wearable device, a notebook computer, a digital audio and video player, an electronic reader, a handheld game machine, and an in-vehicle electronic device. Equipment, etc. Wherein, the terminal is provided with a display screen and a gravity sensor, the display screen is used for displaying a picture, and the gravity sensor is used for detecting the tilt.
图1是本申请实施例中一种终端屏幕内容的显示方法的流程示意图。如图所示本实施例中的终端屏幕内容的显示方法的流程可以包括:1 is a schematic flow chart of a method for displaying content of a terminal screen in an embodiment of the present application. The flow of the method for displaying the content of the terminal screen in the embodiment as shown in the figure may include:
S101,当检测到终端发生倾斜时,确定所述终端的倾斜方向。S101. Determine a tilt direction of the terminal when detecting that the terminal is tilted.
可选的,在检测其是否发生倾斜之前,终端需确定屏幕内容的尺寸大于终 端的显示屏的尺寸。其中,屏幕内容是指终端当前显示屏所显示的对象,可以是桌面壁纸、图片和操作界面等有尺寸大小的对象。需要指出的是,预先确定屏幕内容的尺寸大于显示屏的尺寸的优点在于,避免了当屏幕内容的尺寸合适时终端仍会去检测是否发生倾斜,从而避免了不必要的开销。Optionally, before detecting whether the tilt occurs, the terminal needs to determine that the size of the screen content is greater than the final The size of the display on the side. The screen content refers to an object displayed on the current display screen of the terminal, and may be a size object such as a desktop wallpaper, a picture, and an operation interface. It should be noted that the advantage of predetermining that the size of the screen content is larger than the size of the display screen is to avoid that the terminal still detects whether tilting occurs when the size of the screen content is appropriate, thereby avoiding unnecessary overhead.
相应的,屏幕内容的尺寸大于终端的显示屏的尺寸可以是以下情况:若屏幕内容为桌面壁纸,则桌面壁纸的宽度大于终端的显示屏的宽度;若屏幕内容为图片,则图片的长度大于终端的显示屏的长度,或者图片的宽度大于终端的显示屏的宽度;若屏幕内容为操作界面,则操作界面包括多个连续排列的子界面,每个子界面的尺寸与显示屏的尺寸相同。当然,上述情况只是本申请实施例列举的实例,不应当对本申请实施例构成限定,其它类似情况这里不作穷举。Correspondingly, the size of the screen content is larger than the size of the display screen of the terminal, which may be the following: if the screen content is a desktop wallpaper, the width of the desktop wallpaper is greater than the width of the display screen of the terminal; if the screen content is a picture, the length of the image is greater than The length of the display screen of the terminal, or the width of the picture is greater than the width of the display screen of the terminal; if the content of the screen is the operation interface, the operation interface includes a plurality of consecutively arranged sub-interfaces, each of which has the same size as the display screen. Of course, the foregoing is only an example of the embodiments of the present application, and should not be limited to the embodiments of the present application. Other similar situations are not exhaustive herein.
可选的,终端发生倾斜的方式可以是相对于显示屏所在的平面横向倾斜,也可以是相对于显示屏所在的平面纵向倾斜,还可以既横向倾斜又纵向倾斜。例如:请参阅图7(A),实线框为倾斜前的终端,虚线框为倾斜后的终端,如图所示终端横向向右倾斜。又如:请参阅图7(B),实线框为倾斜前的终端,虚线框为倾斜后的终端,如图所示终端纵向向下倾斜。Optionally, the manner in which the terminal is tilted may be horizontally inclined with respect to a plane in which the display screen is located, or may be longitudinally inclined with respect to a plane in which the display screen is located, and may be both laterally inclined and longitudinally inclined. For example, please refer to FIG. 7(A). The solid line frame is the terminal before the tilt, and the dotted line frame is the tilted terminal. As shown in the figure, the terminal is tilted laterally to the right. Another example: Please refer to Fig. 7(B). The solid line frame is the terminal before tilting, and the dotted line frame is the terminal after tilting. As shown in the figure, the terminal is tilted vertically downward.
应理解的,终端发生倾斜的方向和角度,可以是由用户来操控的,如用户在手握手机时倾斜手机。具体的,终端检测倾斜以及倾斜方向的具体方式可以通过以下步骤来实现:It should be understood that the direction and angle at which the terminal is tilted may be controlled by the user, such as the user tilting the mobile phone while holding the hand. Specifically, the specific manner in which the terminal detects the tilt and the tilt direction can be implemented by the following steps:
步骤①,终端确定其显示屏的初始朝向。In step 1, the terminal determines the initial orientation of its display screen.
具体实现过程中,终端通过重力传感器检测其显示屏的初始朝向。其中,显示屏的初始朝向可以是指终端开启显示所述屏幕内容时与其显示屏垂直的朝向。例如,请参阅图8,假设终端显示屏在图中实线框所处的位置时,处开启显示所述屏幕内容,那么初始朝向为垂直于实线框所在的平面向上。During the specific implementation process, the terminal detects the initial orientation of the display screen through the gravity sensor. The initial orientation of the display screen may refer to an orientation of the terminal that is perpendicular to the display screen when the screen content is displayed. For example, referring to FIG. 8, assuming that the terminal display screen is in the position where the solid line frame is located in the figure, the screen content is turned on, and the initial orientation is perpendicular to the plane where the solid line frame is located.
步骤②,当检测到所述显示屏不垂直于初始朝向时,确定终端发生倾斜。Step 2: When it is detected that the display screen is not perpendicular to the initial orientation, it is determined that the terminal is tilted.
具体实现过程中,终端通过重力传感器检测其显示屏的实时朝向,当检测到显示屏不垂直于初始朝向时,确定终端发生倾斜。例如,还请参阅图8,假设终端横向向右倾斜至虚线框处时,那么此时其显示屏不再垂直于初始朝向,确定终端发生倾斜。During the specific implementation process, the terminal detects the real-time orientation of the display screen through the gravity sensor, and determines that the terminal is tilted when it is detected that the display screen is not perpendicular to the initial orientation. For example, referring also to FIG. 8, assuming that the terminal is tilted laterally to the right to the dotted frame, then the display screen is no longer perpendicular to the initial orientation, and it is determined that the terminal is tilted.
步骤③,当确定所述终端发生倾斜时,将在所述显示屏与所述初始朝向之间相差最大角度的方向确定为倾斜方向。 Step 3: When it is determined that the terminal is tilted, a direction that differs between the display screen and the initial orientation by a maximum angle is determined as an oblique direction.
例如:还请参阅图8,假设终端由实线框处横向向右倾斜至虚线框处时,显示屏与初始朝向之间相差的最大角度为90°+a,那么将角度a对应的方向D确定为倾斜方向。For example, please also refer to FIG. 8. Assume that when the terminal is tilted laterally to the right by the solid frame to the dotted frame, the maximum angle between the display and the initial orientation is 90°+a, then the direction D corresponding to the angle a Determined to be inclined.
S102,判断所述终端当前的屏幕内容在所述倾斜方向上是否存在未展示的区域。S102. Determine whether the current screen content of the terminal has an undisplayed area in the oblique direction.
其中,由于屏幕内容的尺寸大于显示屏的尺寸,因此显示屏在显示所述屏幕内容时不能完全展示。具体的,终端判断当前的屏幕内容在所确定的倾斜方向上是否存在未展示的区域。Wherein, since the size of the screen content is larger than the size of the display screen, the display screen cannot be fully displayed when the screen content is displayed. Specifically, the terminal determines whether the current screen content has an undisplayed area in the determined tilt direction.
例如:假设屏幕内容为宽度大于显示屏的宽度的图片,且显示屏只显示了该图片的左半部分,以及倾斜方向为横向向右,那么终端判定该图片的右半部分存在未展示的区域。For example, if the screen content is a picture whose width is larger than the width of the display, and the display only shows the left half of the picture, and the tilt direction is horizontal to the right, the terminal determines that there is an undisplayed area in the right half of the picture. .
S103,若是,则持续向与所述倾斜方向相反的方向滚动显示所述屏幕内容的未展示的区域,直到所述终端不再倾斜或者所述屏幕内容在所述倾斜方向上不再存在未被展示的区域为止。S103, if yes, continuously displaying an undisplayed area of the screen content in a direction opposite to the tilt direction until the terminal is no longer tilted or the screen content no longer exists in the tilt direction The area shown.
可选的,终端将倾斜方向相对于终端显示屏的初始位置的角度确定为倾斜角度,如图8所示的a,并根据预设的对应关系,确定该倾斜角度对应的滚动速度。其中,倾斜角度与滚动速度之间的对应关系,可以是由终端的设备厂商在出厂前设置的,也可以是由用户预先设置的,这里不作具体限定。进一步可选的,倾斜角度越大,对应的滚动速度越大。Optionally, the terminal determines the angle of the tilt direction relative to the initial position of the terminal display screen as the tilt angle, as shown in FIG. 8 , and determines the scroll speed corresponding to the tilt angle according to the preset correspondence. The corresponding relationship between the tilting angle and the scrolling speed may be set by the device manufacturer of the terminal before leaving the factory, or may be preset by the user, and is not specifically limited herein. Further optionally, the larger the tilt angle, the larger the corresponding scroll speed.
具体的,终端按照确定的滚动速度,持续向与倾斜方向相反的方向滚动显示屏幕内容的未展示的区域,直到终端不再倾斜或者屏幕内容在倾斜方向上不再存在未被展示的区域为止。例如:假设终端横向向右倾斜,那么显示屏持续向左滚动显示,使得屏幕内容在右侧的未被展示的区域得以展示。又如:假设终端纵向向下倾斜,那么显示屏持续向上滚动显示,使得屏幕内容在下侧的未被展示的区域得以展示。Specifically, the terminal continuously scrolls the undisplayed area of the screen content in a direction opposite to the tilt direction according to the determined scroll speed until the terminal is no longer tilted or the screen content no longer has an undisplayed area in the tilt direction. For example, assuming that the terminal is tilted to the right laterally, the display continues to scroll to the left so that the screen content is displayed in the undisplayed area on the right. Another example: assuming that the terminal is tilted vertically downward, the display continues to scroll up so that the screen content is displayed on the underside of the undisplayed area.
作为一种可选的实施方式,终端当在与倾斜方向相反的方向上屏幕内容不再存在未被展示的区域时,判断是否获取到用户输入的还原指令,若是,则显示所述屏幕内容在进行滚动显示之前的初始区域。该实施方式的优点在于,对于一些屏幕内容,用户在查看完其未展示的区域之后,希望恢复到最初的状态,此时可以通过输入还原指令快速恢复。可选的,终端获取用户输入的还原指令 的具体方式可以是:弹出预设的悬浮按键,获取用户针对该悬浮按键输入的点击操作。As an optional implementation manner, when the terminal no longer has an undisplayed area in the direction opposite to the tilt direction, the terminal determines whether the restore command input by the user is obtained, and if yes, displays the screen content. The initial area before scrolling is displayed. The advantage of this embodiment is that for some screen content, after viewing the area that is not displayed, the user wants to return to the original state, and can quickly recover by inputting a restore command. Optionally, the terminal obtains a restore command input by the user. The specific manner may be: popping up a preset floating button to obtain a click operation of the user for the floating key input.
本申请实施例中,当检测到终端发生倾斜时确定终端的倾斜方向,接着判断当前的屏幕内容在倾斜方向上是否存在未展示的区域,然后在判定为是时持续向与倾斜方向相反的方向滚动显示未展示的区域,可见用户只需倾斜一下终端就可以查看屏幕内容的未被展示的区域,提高了操作便捷性,增强用户的使用体验。In the embodiment of the present application, when it is detected that the terminal is tilted, the tilt direction of the terminal is determined, and then it is determined whether the current screen content has an undisplayed area in the tilt direction, and then continues to the opposite direction to the tilt direction when the determination is yes. Scrolling through the undisplayed area shows that the user can view the undisplayed area of the screen content by simply tilting the terminal, which improves the convenience of operation and enhances the user experience.
图2是本申请实施例中另一种终端屏幕内容的显示方法的流程示意图。如图所示本实施例中的终端屏幕内容的显示方法的流程可以包括:FIG. 2 is a schematic flowchart diagram of another method for displaying content of a terminal screen in the embodiment of the present application. The flow of the method for displaying the content of the terminal screen in the embodiment as shown in the figure may include:
S201,确定所述终端的显示屏的初始朝向。S201. Determine an initial orientation of a display screen of the terminal.
其中,屏幕内容是指终端当前显示屏所显示的对象,可以是桌面壁纸、图片和操作界面等有尺寸大小的对象。需要指出的是,预先确定屏幕内容的尺寸大于显示屏的尺寸的优点在于,避免了当屏幕内容的尺寸合适时终端仍会去执行以下步骤,从而避免了不必要的开销。The screen content refers to an object displayed on the current display screen of the terminal, and may be a size object such as a desktop wallpaper, a picture, and an operation interface. It should be noted that the advantage of predetermining that the size of the screen content is larger than the size of the display screen is to avoid that the terminal still performs the following steps when the size of the screen content is appropriate, thereby avoiding unnecessary overhead.
相应的,屏幕内容的尺寸大于终端的显示屏的尺寸可以是以下情况:若屏幕内容为桌面壁纸,则桌面壁纸的宽度大于终端的显示屏的宽度;若屏幕内容为图片,则图片的长度大于终端的显示屏的长度,或者图片的宽度大于终端的显示屏的宽度;若屏幕内容为操作界面,则操作界面包括多个连续排列的子界面,每个子界面的尺寸与显示屏的尺寸相同。当然,上述情况只是本申请实施例列举的实例,不应当对本申请实施例构成限定,其它类似情况这里不作穷举。Correspondingly, the size of the screen content is larger than the size of the display screen of the terminal, which may be the following: if the screen content is a desktop wallpaper, the width of the desktop wallpaper is greater than the width of the display screen of the terminal; if the screen content is a picture, the length of the image is greater than The length of the display screen of the terminal, or the width of the picture is greater than the width of the display screen of the terminal; if the content of the screen is the operation interface, the operation interface includes a plurality of consecutively arranged sub-interfaces, each of which has the same size as the display screen. Of course, the foregoing is only an example of the embodiments of the present application, and should not be limited to the embodiments of the present application. Other similar situations are not exhaustive herein.
S202,当检测到所述显示屏不垂直于所述初始朝向时,确定所述终端发生倾斜。S202. When it is detected that the display screen is not perpendicular to the initial orientation, determine that the terminal is tilted.
可选的,终端发生倾斜的方式可以是相对于显示屏所在的平面横向倾斜,也可以是相对于显示屏所在的平面纵向倾斜,还可以既横向倾斜又纵向倾斜。例如:请参阅图7(A),实线框为倾斜前的终端,虚线框为倾斜后的终端,如图所示终端横向向右倾斜。又如:请参阅图7(B),实线框为倾斜前的终端,虚线框为倾斜后的终端,如图所示终端纵向向下倾斜。Optionally, the manner in which the terminal is tilted may be horizontally inclined with respect to a plane in which the display screen is located, or may be longitudinally inclined with respect to a plane in which the display screen is located, and may be both laterally inclined and longitudinally inclined. For example, please refer to FIG. 7(A). The solid line frame is the terminal before the tilt, and the dotted line frame is the tilted terminal. As shown in the figure, the terminal is tilted laterally to the right. Another example: Please refer to Fig. 7(B). The solid line frame is the terminal before tilting, and the dotted line frame is the terminal after tilting. As shown in the figure, the terminal is tilted vertically downward.
应理解的,终端发生倾斜的方向和角度,可以是由用户来操控的,如用户在手握手机时倾斜手机。 It should be understood that the direction and angle at which the terminal is tilted may be controlled by the user, such as the user tilting the mobile phone while holding the hand.
具体的,终端通过重力传感器检测其显示屏的初始朝向。其中,显示屏的初始朝向可以是指终端开启显示所述屏幕内容时与其显示屏垂直的朝向。例如,请参阅图8,假设终端显示屏在图中实线框所处的位置时,处开启显示所述屏幕内容,那么初始朝向为垂直于实线框所在的平面向上。进一步的,当检测到显示屏不垂直于初始朝向时,确定终端发生倾斜。例如,还请参阅图8,假设终端横向向右倾斜至虚线框处时,那么此时其显示屏不再垂直于初始朝向,确定终端发生倾斜。Specifically, the terminal detects the initial orientation of the display screen by the gravity sensor. The initial orientation of the display screen may refer to an orientation of the terminal that is perpendicular to the display screen when the screen content is displayed. For example, referring to FIG. 8, assuming that the terminal display screen is in the position where the solid line frame is located in the figure, the screen content is turned on, and the initial orientation is perpendicular to the plane where the solid line frame is located. Further, when it is detected that the display screen is not perpendicular to the initial orientation, it is determined that the terminal is tilted. For example, referring also to FIG. 8, assuming that the terminal is tilted laterally to the right to the dotted frame, then the display screen is no longer perpendicular to the initial orientation, and it is determined that the terminal is tilted.
S203,当确定所述终端发生倾斜时,将在所述显示屏与所述初始朝向之间相差最大角度的方向确定为倾斜方向。S203. When it is determined that the terminal is tilted, a direction that differs between the display screen and the initial orientation by a maximum angle is determined as an oblique direction.
例如:还请参阅图8,假设终端由实线框处横向向右倾斜至虚线框处时,显示屏与初始朝向之间相差的最大角度为90°+a,那么将角度a对应的方向D确定为倾斜方向。For example, please also refer to FIG. 8. Assume that when the terminal is tilted laterally to the right by the solid frame to the dotted frame, the maximum angle between the display and the initial orientation is 90°+a, then the direction D corresponding to the angle a Determined to be inclined.
S204,判断所述终端当前的屏幕内容在所述倾斜方向上是否存在未展示的区域。S204. Determine whether the current screen content of the terminal has an undisplayed area in the oblique direction.
其中,由于屏幕内容的尺寸大于显示屏的尺寸,因此显示屏在显示所述屏幕内容时不能完全展示。具体的,终端判断当前的屏幕内容在所确定的倾斜方向上是否存在未展示的区域,若是,则执行步骤S205,若否,则结束。Wherein, since the size of the screen content is larger than the size of the display screen, the display screen cannot be fully displayed when the screen content is displayed. Specifically, the terminal determines whether the current screen content has an undisplayed area in the determined tilt direction. If yes, step S205 is performed, and if not, the terminal ends.
例如:假设屏幕内容为宽度大于显示屏的宽度的图片,且显示屏只显示了该图片的左半部分,以及倾斜方向为横向向右,那么终端判定该图片的右半部分存在未展示的区域。For example, if the screen content is a picture whose width is larger than the width of the display, and the display only shows the left half of the picture, and the tilt direction is horizontal to the right, the terminal determines that there is an undisplayed area in the right half of the picture. .
S205,持续向与所述倾斜方向相反的方向滚动显示所述屏幕内容的未展示的区域,直到所述终端不再倾斜或者所述屏幕内容在所述倾斜方向上不再存在未被展示的区域为止。S205, continuously displaying an undisplayed area of the screen content in a direction opposite to the tilt direction until the terminal is no longer tilted or the screen content no longer has an undisplayed area in the tilt direction until.
可选的,终端将倾斜方向相对于终端的显示屏的初始位置的角度确定为倾斜角度,如图8所示的a,并根据预设的对应关系,确定该倾斜角度对应的滚动速度。其中,倾斜角度与滚动速度之间的对应关系,可以是由终端的设备厂商在出厂前设置的,也可以是由用户预先设置的,这里不作具体限定。进一步可选的,倾斜角度越大,对应的滚动速度越大。Optionally, the terminal determines the angle of the tilt direction relative to the initial position of the display screen of the terminal as the tilt angle, as shown in FIG. 8 , and determines the scroll speed corresponding to the tilt angle according to the preset correspondence. The corresponding relationship between the tilting angle and the scrolling speed may be set by the device manufacturer of the terminal before leaving the factory, or may be preset by the user, and is not specifically limited herein. Further optionally, the larger the tilt angle, the larger the corresponding scroll speed.
具体的,终端按照确定的滚动速度,持续向与倾斜方向相反的方向滚动显示屏幕内容的未展示的区域,直到终端不再倾斜或者屏幕内容在倾斜方向上不 再存在未被展示的区域为止。例如:假设终端横向向右倾斜,那么显示屏持续向左滚动显示,使得屏幕内容在右侧的未被展示的区域得以展示。又如:假设终端纵向向下倾斜,那么显示屏持续向上滚动显示,使得屏幕内容在下侧的未被展示的区域得以展示。Specifically, the terminal continuously scrolls the undisplayed area of the screen content in a direction opposite to the tilt direction according to the determined scroll speed until the terminal is no longer tilted or the screen content is not in the oblique direction. There are still areas that are not displayed. For example, assuming that the terminal is tilted to the right laterally, the display continues to scroll to the left so that the screen content is displayed in the undisplayed area on the right. Another example: assuming that the terminal is tilted vertically downward, the display continues to scroll up so that the screen content is displayed on the underside of the undisplayed area.
S206,当在与所述倾斜方向相反的方向上所述屏幕内容不再存在未被展示的区域时,获取用户输入的还原指令。S206. When the screen content no longer has an undisplayed area in a direction opposite to the tilt direction, a restore command input by the user is acquired.
可选的,终端获取用户输入的还原指令的具体方式可以是:弹出预设的悬浮按键,获取用户针对该悬浮按键输入的点击操作。Optionally, the specific manner in which the terminal obtains the restore command input by the user may be: popping up a preset floating button, and acquiring a click operation of the user for the floating button input.
S207,显示所述屏幕内容在进行滚动显示之前的初始区域。S207. Display an initial area of the screen content before performing scroll display.
优点在于,对于一些屏幕内容,用户在查看完其未展示的区域之后,希望恢复到最初的状态,此时可以通过输入还原指令快速恢复。The advantage is that for some screen content, after viewing the area that is not displayed, the user wants to return to the original state, and can quickly recover by inputting a restore command.
本申请实施例中,当检测到终端发生倾斜时确定终端的倾斜方向,接着判断当前的屏幕内容在倾斜方向上是否存在未展示的区域,然后在判定为是时持续向与倾斜方向相反的方向滚动显示未展示的区域,可见用户只需倾斜一下终端就可以查看屏幕内容的未被展示的区域,提高了操作便捷性,增强用户的使用体验。In the embodiment of the present application, when it is detected that the terminal is tilted, the tilt direction of the terminal is determined, and then it is determined whether the current screen content has an undisplayed area in the tilt direction, and then continues to the opposite direction to the tilt direction when the determination is yes. Scrolling through the undisplayed area shows that the user can view the undisplayed area of the screen content by simply tilting the terminal, which improves the convenience of operation and enhances the user experience.
图3是本申请实施例中一种终端屏幕内容的显示装置的结构示意图。如图所示本申请实施例中的显示装置至少可以包括倾斜检测模块310、展示判断模块320以及滚动显示模块330,其中:FIG. 3 is a schematic structural diagram of a display device for content of a terminal screen according to an embodiment of the present application. As shown in the figure, the display device in the embodiment of the present application may at least include a tilt detection module 310, a display determination module 320, and a scroll display module 330, where:
倾斜检测模块310,用于当检测到终端发生倾斜时,确定所述终端的倾斜方向。具体实现过程中,所述倾斜检测模块310可以如图4所示进一步包括朝向确定单元311、倾斜确定单元312和方向确定单元313,其中:The tilt detecting module 310 is configured to determine an oblique direction of the terminal when detecting that the terminal is tilted. In the specific implementation process, the tilt detecting module 310 may further include an orientation determining unit 311, a tilt determining unit 312, and a direction determining unit 313, as shown in FIG. 4, where:
朝向确定单元311,用于确定所述终端的显示屏的初始朝向。The orientation determining unit 311 is configured to determine an initial orientation of the display screen of the terminal.
具体的,朝向确定单元311通过重力传感器检测其显示屏的初始朝向。其中,显示屏的初始朝向可以是指终端开启显示所述屏幕内容时其显示屏的朝向。例如,请参阅图8,假设终端在实线框处开启显示所述屏幕内容,那么朝向确定单元311确定初始朝向为垂直于实线框所在的平面向上。Specifically, the orientation determining unit 311 detects the initial orientation of its display screen by the gravity sensor. The initial orientation of the display screen may refer to the orientation of the display screen when the terminal opens to display the content of the screen. For example, referring to FIG. 8, assuming that the terminal opens the display of the screen content at the solid line frame, the orientation determining unit 311 determines that the initial orientation is perpendicular to the plane in which the solid line frame is located.
倾斜确定单元312,用于当检测到所述显示屏不垂直于所述初始朝向时,确定所述终端发生倾斜。 The tilt determining unit 312 is configured to determine that the terminal is tilted when detecting that the display screen is not perpendicular to the initial orientation.
具体的,倾斜确定单元312通过重力传感器检测其显示屏的实时朝向,当检测到显示屏不垂直于初始朝向时,确定终端发生倾斜。例如,还请参阅图8,假设终端横向向右倾斜至虚线框处时,那么此时其显示屏不再垂直于初始朝向,倾斜确定单元312确定终端发生倾斜。Specifically, the tilt determination unit 312 detects the real-time orientation of its display screen by the gravity sensor, and determines that the terminal is tilted when it is detected that the display screen is not perpendicular to the initial orientation. For example, referring also to FIG. 8, assuming that the terminal is tilted laterally to the right to the dotted frame, then the display screen is no longer perpendicular to the initial orientation, and the tilt determination unit 312 determines that the terminal is tilted.
方向确定单元313,用于当确定所述终端发生倾斜时,将在所述显示屏与所述初始朝向之间相差最大角度的方向确定为倾斜方向。The direction determining unit 313 is configured to determine a direction in which the maximum angle between the display screen and the initial orientation differs as an oblique direction when it is determined that the terminal is tilted.
例如:还请参阅图8,假设终端由实线框处横向向右倾斜至虚线框处时,显示屏与初始朝向之间相差的最大角度为90°+a,那么方向确定单元313将最大角度a对应的方向D确定为倾斜方向。For example, please refer to FIG. 8 , assuming that the terminal is tilted laterally to the right by the solid line frame to the dotted line frame, the maximum angle between the display screen and the initial orientation is 90°+a, then the direction determining unit 313 will have the maximum angle. The corresponding direction D of a is determined as the oblique direction.
展示判断模块320,用于判断所述终端当前的屏幕内容在所述倾斜方向上是否存在未展示的区域。The display judging module 320 is configured to determine whether the current screen content of the terminal has an undisplayed area in the oblique direction.
其中,由于屏幕内容的尺寸大于显示屏的尺寸,因此显示屏在显示所述屏幕内容时不能完全展示。具体的,展示判断模块320判断终端当前的屏幕内容在所确定的倾斜方向上是否存在未展示的区域。Wherein, since the size of the screen content is larger than the size of the display screen, the display screen cannot be fully displayed when the screen content is displayed. Specifically, the display determining module 320 determines whether the current screen content of the terminal has an undisplayed area in the determined tilt direction.
例如:假设屏幕内容为宽度大于显示屏的宽度的图片,且显示屏只显示了该图片的左半部分,以及倾斜方向为横向向右,那么展示判断模块320判定该图片的右半部分存在未展示的区域。For example, if the screen content is a picture whose width is larger than the width of the display screen, and the display screen only displays the left half of the picture, and the tilt direction is horizontal to the right, the display determination module 320 determines that the right half of the picture exists. The area shown.
滚动显示模块330,用于若是,则持续向与所述倾斜方向相反的方向滚动显示所述屏幕内容的未展示的区域,直到所述终端不再倾斜或者所述屏幕内容在所述倾斜方向上不再存在未被展示的区域为止。Scrolling display module 330, if yes, continuously scrolling to display an undisplayed area of the screen content in a direction opposite to the tilt direction until the terminal is no longer tilted or the screen content is in the tilt direction There are no longer areas that have not been displayed.
例如:假设终端横向向右倾斜,那么显示屏持续向左滚动显示,使得屏幕内容在右侧的未被展示的区域得以展示。又如:假设终端纵向向下倾斜,那么显示屏持续向上滚动显示,使得屏幕内容在下侧的未被展示的区域得以展示。For example, assuming that the terminal is tilted to the right laterally, the display continues to scroll to the left so that the screen content is displayed in the undisplayed area on the right. Another example: assuming that the terminal is tilted vertically downward, the display continues to scroll up so that the screen content is displayed on the underside of the undisplayed area.
可选的,请参阅图3,如图所示本申请实施例中的显示装置还可以包括尺寸确定模块340,用于确定所述屏幕内容的尺寸大于所述终端的显示屏的尺寸。Optionally, referring to FIG. 3, the display device in the embodiment of the present application may further include a size determining module 340 for determining that the size of the screen content is larger than the size of the display screen of the terminal.
其中,屏幕内容是指终端当前显示屏所显示的对象,可以是桌面壁纸、图片和操作界面等有尺寸大小的对象。需要指出的是,预先确定屏幕内容的尺寸大于显示屏的尺寸的优点在于,避免了当屏幕内容的尺寸合适时终端仍会去检测是否发生倾斜,从而避免了不必要的开销。 The screen content refers to an object displayed on the current display screen of the terminal, and may be a size object such as a desktop wallpaper, a picture, and an operation interface. It should be noted that the advantage of predetermining that the size of the screen content is larger than the size of the display screen is to avoid that the terminal still detects whether tilting occurs when the size of the screen content is appropriate, thereby avoiding unnecessary overhead.
又可选的,请参阅图3,如图所示本申请实施例中的显示装置还可以包括角度确定模块350和速度确定模块360,其中:Optionally, referring to FIG. 3, the display device in the embodiment of the present application may further include an angle determining module 350 and a speed determining module 360, where:
角度确定模块350,用于将所述倾斜方向相对于所述终端显示屏的初始位置的角度确定为倾斜角度。如图8所示的a。The angle determining module 350 is configured to determine an angle of the tilt direction relative to an initial position of the terminal display screen as an angle of inclination. As shown in Figure 8.
速度确定模块360,用于根据预设的对应关系,确定所述倾斜角度对应的滚动速度。The speed determining module 360 is configured to determine a scroll speed corresponding to the tilt angle according to a preset correspondence.
其中,倾斜角度与滚动速度之间的对应关系,可以是由终端的设备厂商在出厂前设置的,也可以是由用户预先设置的,这里不作具体限定。进一步可选的,倾斜角度越大,对应的滚动速度越大。The corresponding relationship between the tilting angle and the scrolling speed may be set by the device manufacturer of the terminal before leaving the factory, or may be preset by the user, and is not specifically limited herein. Further optionally, the larger the tilt angle, the larger the corresponding scroll speed.
相应的,滚动显示模块330,具体用于按照所述滚动速度,持续向与所述倾斜方向相反的方向滚动显示所述屏幕内容的未展示的区域。Correspondingly, the scroll display module 330 is specifically configured to continuously display an undisplayed area of the screen content in a direction opposite to the tilt direction according to the scroll speed.
又可选的,请参阅图3,如图所示本申请实施例中的显示装置还可以包括指令获取模块370和还原显示模块380,其中:Optionally, referring to FIG. 3, the display device in the embodiment of the present application may further include an instruction acquisition module 370 and a restore display module 380, where:
指令获取模块370,用于当在与所述倾斜方向相反的方向上所述屏幕内容不再存在未被展示的区域时,获取用户输入的还原指令。具体实现过程中,所述指令获取模块370可以如图5所示进一步包括按键弹出单元371和操作获取单元372,其中:The instruction acquisition module 370 is configured to acquire a restore instruction input by the user when the screen content no longer has an undisplayed area in a direction opposite to the tilt direction. In the specific implementation process, the instruction obtaining module 370 may further include a button pop-up unit 371 and an operation obtaining unit 372 as shown in FIG. 5, where:
按键弹出单元371,用于弹出预设的悬浮按键。The button pop-up unit 371 is configured to pop up a preset floating button.
操作获取单元372,用于获取用户针对所述预设的悬浮按键输入的点击操作。The operation obtaining unit 372 is configured to acquire a click operation of the user for the preset floating key input.
还原显示模块380,用于显示所述屏幕内容在进行滚动显示之前的初始区域。The restoration display module 380 is configured to display an initial area of the screen content before the scroll display is performed.
优点在于,对于一些屏幕内容,用户在查看完其未展示的区域之后,希望恢复到最初的状态,此时可以通过输入还原指令快速恢复。The advantage is that for some screen content, after viewing the area that is not displayed, the user wants to return to the original state, and can quickly recover by inputting a restore command.
请参阅图6,本申请实施例提供的一种终端的结构示意图,该终端可以用于实施图1-图2的实施例中提供的终端屏幕内容的显示方法,其中:FIG. 6 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure. The terminal may be used to implement a method for displaying content of a terminal screen provided in the embodiment of FIG. 1 to FIG. 2, where:
所述终端包括壳体601、处理器602、存储器603、电路板604、电源电路605、显示屏606和重力感应器607,其中,所述电路板604安置在所述壳体601围成的空间内部,所述处理器602、所述存储器603、所述显示屏606和 所述重力感应器607设置在所述电路板上;所述电源电路605,用于为所述终端的各个电路或器件供电;所述显示屏606用于显示画面;所述重力感应器607用于检测倾斜;所述存储器603用于存储可执行程序代码;所述处理器602通过读取所述存储器603中存储的所述可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行以下步骤:The terminal includes a housing 601, a processor 602, a memory 603, a circuit board 604, a power supply circuit 605, a display screen 606, and a gravity sensor 607, wherein the circuit board 604 is disposed in a space enclosed by the housing 601. Internally, the processor 602, the memory 603, the display screen 606, and The gravity sensor 607 is disposed on the circuit board; the power circuit 605 is configured to supply power to each circuit or device of the terminal; the display screen 606 is used to display a screen; and the gravity sensor 607 is used. The storage 603 is configured to store executable program code; the processor 602 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 603, Used to perform the following steps:
当检测到终端发生倾斜时,确定所述终端的倾斜方向;Determining an inclination direction of the terminal when detecting that the terminal is tilted;
判断所述终端当前的屏幕内容在所述倾斜方向上是否存在未展示的区域;Determining whether the current screen content of the terminal has an undisplayed area in the oblique direction;
若是,则持续向与所述倾斜方向相反的方向滚动显示所述屏幕内容的未展示的区域,直到所述终端不再倾斜或者所述屏幕内容在所述倾斜方向上不再存在未被展示的区域为止。If yes, continuously displaying the undisplayed area of the screen content in a direction opposite to the tilt direction until the terminal is no longer tilted or the screen content no longer has no display in the tilt direction Up to the area.
可选的,处理器602当检测到终端发生倾斜时,确定所述终端的倾斜方向的具体操作为:Optionally, when the processor 602 detects that the terminal is tilted, the specific operation of determining the tilt direction of the terminal is:
确定所述终端的显示屏的初始朝向;Determining an initial orientation of a display screen of the terminal;
当检测到所述显示屏不垂直于所述初始朝向时,确定所述终端发生倾斜;Determining that the terminal is tilted when detecting that the display screen is not perpendicular to the initial orientation;
当确定所述终端发生倾斜时,将在所述显示屏与所述初始朝向之间相差最大角度的方向确定为倾斜方向。When it is determined that the terminal is tilted, a direction in which the maximum angle between the display screen and the initial orientation is different is determined as an oblique direction.
进一步的,处理器602将在所述显示屏与所述初始朝向之间相差最大角度的方向确定为倾斜方向之后,还执行:Further, after determining, by the processor 602, a direction in which the maximum angle between the display screen and the initial orientation is determined to be an oblique direction, the processor 602 further performs:
将所述倾斜方向相对于所述终端的显示屏的初始位置的角度确定为倾斜角度;Determining an angle of the tilt direction with respect to an initial position of a display screen of the terminal as an inclination angle;
根据预设的对应关系,确定所述倾斜角度对应的滚动速度;Determining, according to a preset correspondence, a scroll speed corresponding to the tilt angle;
相应的,处理器602持续向与所述倾斜方向相反的方向滚动显示所述屏幕内容的未展示的区域的具体操作为:Correspondingly, the specific operation of the processor 602 continuously scrolling to display the undisplayed area of the screen content in a direction opposite to the tilt direction is:
按照所述滚动速度,持续向与所述倾斜方向相反的方向滚动显示所述屏幕内容的未展示的区域。According to the scrolling speed, an undisplayed area of the screen content is continuously scrolled in a direction opposite to the tilting direction.
又可选的,处理器602当检测到终端发生倾斜时,确定所述终端的倾斜方向之前,还执行:Optionally, the processor 602 further performs: before detecting that the terminal is tilted, determining the tilt direction of the terminal:
确定所述屏幕内容的尺寸大于所述终端的显示屏的尺寸。It is determined that the size of the screen content is larger than the size of the display screen of the terminal.
又可选的,处理器602持续向与所述倾斜方向相反的方向滚动显示所述屏幕内容的未展示的区域之后,还执行: Optionally, after the processor 602 continues to scroll the undisplayed area of the screen content in a direction opposite to the tilt direction, the processor 602 further performs:
当在与所述倾斜方向相反的方向上所述屏幕内容不再存在未被展示的区域时,获取用户输入的还原指令;Acquiring a restore command input by the user when the screen content no longer has an undisplayed area in a direction opposite to the tilt direction;
显示所述屏幕内容在进行滚动显示之前的初始区域。An initial area of the screen content before scrolling is displayed.
进一步的,处理器602获取用户输入的还原指令的具体操作为:Further, the specific operation of the processor 602 to obtain the restore instruction input by the user is:
弹出预设的悬浮按键;Pop up the preset floating button;
获取用户针对所述预设的悬浮按键输入的点击操作。Obtaining a click operation of the user for the preset floating key input.
又可选的,所述屏幕内容包括桌面壁纸、图片或操作界面。Optionally, the screen content includes a desktop wallpaper, a picture, or an operation interface.
基于上述各实施例,本申请在提出一种存储介质,用于存储可执行程序代码,所述可执行程序代码用于执行如上任一实施例所述的终端屏幕内容的显示方法。Based on the above embodiments, the present application is directed to a storage medium for storing executable program code for executing a display method of terminal screen content according to any of the above embodiments.
进一步的,本申请再一方面提出一种可执行程序代码,用于执行如上述任一实施例所述的终端屏幕内容的显示方法。Further, the present application further provides an executable program code for executing a display method of the content of the terminal screen according to any of the above embodiments.
本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分可以通过计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟或光盘)中,包括若干指令用以控制终端执行本申请实施例图1-图2所描述的终端屏幕内容的显示方法中的部分或全部的步骤。The technical solution of the embodiments of the present application may be embodied in the form of a computer software product stored in a storage medium (such as a ROM/RAM, a magnetic disk or an optical disk). The method includes a plurality of instructions for controlling the terminal to perform part or all of the display method of the terminal screen content described in the embodiments of the present application.
本申请实施例中,当检测到终端发生倾斜时确定终端的倾斜方向,接着判断当前的屏幕内容在倾斜方向上是否存在未展示的区域,然后在判定为是时持续向与倾斜方向相反的方向滚动显示未展示的区域,可见用户只需倾斜一下终端就可以查看屏幕内容的未被展示的区域,提高了操作便捷性,增强用户的使用体验。In the embodiment of the present application, when it is detected that the terminal is tilted, the tilt direction of the terminal is determined, and then it is determined whether the current screen content has an undisplayed area in the tilt direction, and then continues to the opposite direction to the tilt direction when the determination is yes. Scrolling through the undisplayed area shows that the user can view the undisplayed area of the screen content by simply tilting the terminal, which improves the convenience of operation and enhances the user experience.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以 合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of the present specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" and the like means a specific feature described in connection with the embodiment or example. A structure, material or feature is included in at least one embodiment or example of the application. In the present specification, the schematic representation of the above terms is not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be in any one or more embodiments or examples. Combine in a suitable way. In addition, various embodiments or examples described in the specification, as well as features of various embodiments or examples, may be combined and combined.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。Moreover, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, features defining "first" or "second" may include at least one of the features, either explicitly or implicitly. In the description of the present application, the meaning of "a plurality" is at least two, such as two, three, etc., unless specifically defined otherwise.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method description in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a particular logical function or process. And the scope of the preferred embodiments of the present application includes additional implementations, in which the functions may be performed in a substantially simultaneous manner or in the reverse order depending on the functions involved, in accordance with the illustrated or discussed order. It will be understood by those skilled in the art to which the embodiments of the present application pertain.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be embodied in any computer readable medium, Used in conjunction with, or in conjunction with, an instruction execution system, apparatus, or device (eg, a computer-based system, a system including a processor, or other system that can fetch instructions and execute instructions from an instruction execution system, apparatus, or device) Or use with equipment. For the purposes of this specification, a "computer-readable medium" can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with the instruction execution system, apparatus, or device. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM). In addition, the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method is processed to obtain the program electronically and then stored in computer memory.
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执 行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that portions of the application can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods may be stored in the memory and executed by appropriate instructions The software or firmware executed by the system is implemented. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art can understand that all or part of the steps carried by the method of implementing the above embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, one or a combination of the steps of the method embodiments is included.
此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. The integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。The above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like. While the embodiments of the present application have been shown and described above, it is understood that the above-described embodiments are illustrative and are not to be construed as limiting the scope of the present application. The embodiments are subject to variations, modifications, substitutions and variations.
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。 The above is only the preferred embodiment of the present application, and the scope of the application is not limited thereto, and the equivalent changes made in the claims of the present application are still within the scope of the present application.

Claims (17)

  1. 一种终端屏幕内容的显示方法,其特征在于,所述方法包括:A method for displaying content of a terminal screen, wherein the method comprises:
    当检测到终端发生倾斜时,确定所述终端的倾斜方向;Determining an inclination direction of the terminal when detecting that the terminal is tilted;
    判断所述终端当前的屏幕内容在所述倾斜方向上是否存在未展示的区域;Determining whether the current screen content of the terminal has an undisplayed area in the oblique direction;
    若是,则持续向与所述倾斜方向相反的方向滚动显示所述屏幕内容的未展示的区域,直到所述终端不再倾斜或者所述屏幕内容在所述倾斜方向上不再存在未被展示的区域为止。If yes, continuously displaying the undisplayed area of the screen content in a direction opposite to the tilt direction until the terminal is no longer tilted or the screen content no longer has no display in the tilt direction Up to the area.
  2. 如权利要求1所述的方法,其特征在于,所述当检测到终端发生倾斜时,确定所述终端的倾斜方向,包括:The method according to claim 1, wherein the determining the tilt direction of the terminal when detecting that the terminal is tilted comprises:
    确定所述终端的显示屏的初始朝向;Determining an initial orientation of a display screen of the terminal;
    当检测到所述显示屏不垂直于所述初始朝向时,确定所述终端发生倾斜;Determining that the terminal is tilted when detecting that the display screen is not perpendicular to the initial orientation;
    当确定所述终端发生倾斜时,将在所述显示屏与所述初始朝向之间相差最大角度的方向确定为倾斜方向。When it is determined that the terminal is tilted, a direction in which the maximum angle between the display screen and the initial orientation is different is determined as an oblique direction.
  3. 如权利要求2所述的方法,其特征在于,所述将在所述显示屏与所述初始朝向之间相差最大角度的方向确定为倾斜方向之后,还包括:The method according to claim 2, wherein after determining the direction of the maximum angle between the display screen and the initial orientation as the oblique direction, the method further comprises:
    将所述倾斜方向相对于所述显示屏的初始位置的角度确定为倾斜角度;Determining an angle of the oblique direction with respect to an initial position of the display screen as an inclination angle;
    根据预设的对应关系,确定所述倾斜角度对应的滚动速度;Determining, according to a preset correspondence, a scroll speed corresponding to the tilt angle;
    所述持续向与所述倾斜方向相反的方向滚动显示所述屏幕内容的未展示的区域,包括:The continuously displaying the undisplayed area of the screen content in a direction opposite to the tilt direction includes:
    按照所述滚动速度,持续向与所述倾斜方向相反的方向滚动显示所述屏幕内容的未展示的区域。According to the scrolling speed, an undisplayed area of the screen content is continuously scrolled in a direction opposite to the tilting direction.
  4. 如权利要求1-3任一所述的方法,其特征在于,所述当检测到终端发生倾斜时,确定所述终端的倾斜方向之前,还包括:The method according to any one of claims 1-3, wherein, before detecting the tilt of the terminal, determining the tilt direction of the terminal, the method further includes:
    确定所述屏幕内容的尺寸大于所述终端的显示屏的尺寸。It is determined that the size of the screen content is larger than the size of the display screen of the terminal.
  5. 如权利要求1-3任一所述的方法,其特征在于,所述持续向与所述倾 斜方向相反的方向滚动显示所述屏幕内容的未展示的区域之后,还包括:A method according to any one of claims 1 to 3, wherein said continuous direction and said inclination After scrolling in an opposite direction to display an undisplayed area of the screen content, the method further includes:
    当在与所述倾斜方向相反的方向上所述屏幕内容不再存在未被展示的区域时,获取用户输入的还原指令;Acquiring a restore command input by the user when the screen content no longer has an undisplayed area in a direction opposite to the tilt direction;
    显示所述屏幕内容在进行滚动显示之前的初始区域。An initial area of the screen content before scrolling is displayed.
  6. 如权利要求5所述的方法,其特征在于,所述获取用户输入的还原指令,包括:The method of claim 5, wherein the obtaining a restore command input by the user comprises:
    弹出预设的悬浮按键;Pop up the preset floating button;
    获取用户针对所述预设的悬浮按键输入的点击操作。Obtaining a click operation of the user for the preset floating key input.
  7. 如权利要求1-6任一项所述的方法,其特征在于,所述屏幕内容包括桌面壁纸、图片或操作界面。The method of any of claims 1-6, wherein the screen content comprises a desktop wallpaper, a picture or an operation interface.
  8. 一种终端屏幕内容的显示装置,其特征在于,所述装置包括:A display device for terminal screen content, characterized in that the device comprises:
    倾斜检测模块,用于当检测到终端发生倾斜时,确定所述终端的倾斜方向;a tilt detecting module, configured to determine a tilt direction of the terminal when detecting that the terminal is tilted;
    展示判断模块,用于判断所述终端当前的屏幕内容在所述倾斜方向上是否存在未展示的区域;a display judging module, configured to determine whether the current screen content of the terminal has an undisplayed area in the oblique direction;
    滚动显示模块,用于若是,则持续向与所述倾斜方向相反的方向滚动显示所述屏幕内容的未展示的区域,直到所述终端不再倾斜或者所述屏幕内容在所述倾斜方向上不再存在未被展示的区域为止。Scrolling display module, if yes, continuously scrolling to display an undisplayed area of the screen content in a direction opposite to the tilt direction until the terminal is no longer tilted or the screen content is not in the tilt direction There are still areas that are not displayed.
  9. 如权利要求8所述的装置,其特征在于,所述倾斜检测模块包括:The device of claim 8 wherein said tilt detection module comprises:
    朝向确定单元,用于确定所述终端的显示屏的初始朝向;a direction determining unit configured to determine an initial orientation of a display screen of the terminal;
    倾斜确定单元,用于当检测到所述显示屏不垂直于所述初始朝向时,确定所述终端发生倾斜;a tilt determining unit, configured to determine that the terminal is tilted when detecting that the display screen is not perpendicular to the initial orientation;
    方向确定单元,用于当确定所述终端发生倾斜时,将在所述显示屏与所述初始朝向之间相差最大角度的方向确定为倾斜方向。And a direction determining unit configured to determine a direction in which the maximum angle between the display screen and the initial orientation differs as an oblique direction when it is determined that the terminal is tilted.
  10. 如权利要求9所述的装置,其特征在于,所述装置还包括:The device of claim 9 wherein said device further comprises:
    角度确定模块,用于将所述倾斜方向相对于所述显示屏的初始位置的角度 确定为倾斜角度;An angle determining module for using the angle of the tilting direction relative to an initial position of the display screen Determined as the angle of inclination;
    速度确定模块,用于根据预设的对应关系,确定所述倾斜角度对应的滚动速度;a speed determining module, configured to determine a scroll speed corresponding to the tilt angle according to a preset correspondence relationship;
    所述滚动显示模块,具体用于按照所述滚动速度,持续向与所述倾斜方向相反的方向滚动显示所述屏幕内容的未展示的区域。The scroll display module is specifically configured to continuously display an undisplayed area of the screen content in a direction opposite to the tilt direction according to the scroll speed.
  11. 如权利要求8-10任一所述的装置,其特征在于,所述装置还包括:The device of any of claims 8-10, wherein the device further comprises:
    尺寸确定模块,用于确定所述屏幕内容的尺寸大于所述终端的显示屏的尺寸。And a size determining module, configured to determine that a size of the screen content is larger than a size of a display screen of the terminal.
  12. 如权利要求8-10任一所述的装置,其特征在于,所述装置还包括:The device of any of claims 8-10, wherein the device further comprises:
    指令获取模块,用于当在与所述倾斜方向相反的方向上所述屏幕内容不再存在未被展示的区域时,获取用户输入的还原指令;And an instruction obtaining module, configured to acquire a restore instruction input by the user when the screen content no longer has an undisplayed area in a direction opposite to the tilt direction;
    还原显示模块,用于显示所述屏幕内容在进行滚动显示之前的初始区域。The display module is restored for displaying an initial area of the screen content before the scroll display is performed.
  13. 如权利要求12所述的装置,其特征在于,所述指令获取模块包括:The apparatus according to claim 12, wherein the instruction acquisition module comprises:
    按键弹出单元,用于弹出预设的悬浮按键;a button pop-up unit for popping up a preset floating button;
    操作获取单元,用于获取用户针对所述预设的悬浮按键输入的点击操作。The operation obtaining unit is configured to acquire a click operation of the user for the preset floating key input.
  14. 如权利要求8-13任一项所述的装置,其特征在于,所述屏幕内容包括桌面壁纸、图片或操作界面。The device of any of claims 8-13, wherein the screen content comprises a desktop wallpaper, a picture or an operation interface.
  15. 一种终端,其特征在于,所述终端包括:壳体、处理器、存储器、电路板、电源电路、显示屏和重力感应器,其中,所述电路板安置在所述壳体围成的空间内部,所述处理器、所述存储器、所述显示屏和所述重力感应器设置在所述电路板上;所述电源电路,用于为所述终端的各个电路或器件供电;所述显示屏用于显示画面;所述重力感应器用于检测倾斜;所述存储器用于存储可执行程序代码;所述处理器通过读取所述存储器中存储的所述可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行以下步骤:A terminal, comprising: a housing, a processor, a memory, a circuit board, a power supply circuit, a display screen, and a gravity sensor, wherein the circuit board is disposed in a space enclosed by the housing Internally, the processor, the memory, the display screen, and the gravity sensor are disposed on the circuit board; the power circuit is configured to supply power to each circuit or device of the terminal; the display a screen for displaying a picture; the gravity sensor for detecting a tilt; the memory for storing executable program code; the processor operating and reading the executable program code stored in the memory A program corresponding to the executable program code for performing the following steps:
    当检测到终端发生倾斜时,确定所述终端的倾斜方向; Determining an inclination direction of the terminal when detecting that the terminal is tilted;
    判断所述终端当前的屏幕内容在所述倾斜方向上是否存在未展示的区域;Determining whether the current screen content of the terminal has an undisplayed area in the oblique direction;
    若是,则持续向与所述倾斜方向相反的方向滚动显示所述屏幕内容的未展示的区域,直到所述终端不再倾斜或者所述屏幕内容在所述倾斜方向上不再存在未被展示的区域为止。If yes, continuously displaying the undisplayed area of the screen content in a direction opposite to the tilt direction until the terminal is no longer tilted or the screen content no longer has no display in the tilt direction Up to the area.
  16. 一种存储介质,其特征在于,用于存储可执行程序代码,所述可执行程序代码用于执行权利要求1-7任意一项所述的终端屏幕内容的显示方法。A storage medium for storing executable program code for executing a display method of terminal screen content according to any one of claims 1-7.
  17. 一种可执行程序代码,其特征在于,用于执行权利要求1-7任意一项所述的终端屏幕内容的显示方法。 An executable program code, characterized by a method for displaying a screen content of a terminal according to any one of claims 1-7.
PCT/CN2017/073974 2016-06-29 2017-02-17 Display method for terminal screen content, display device, and terminal WO2018000832A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610500844.1 2016-06-29
CN201610500844.1A CN106201186A (en) 2016-06-29 2016-06-29 Display method and display device of terminal screen content and terminal

Publications (1)

Publication Number Publication Date
WO2018000832A1 true WO2018000832A1 (en) 2018-01-04

Family

ID=57463559

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/073974 WO2018000832A1 (en) 2016-06-29 2017-02-17 Display method for terminal screen content, display device, and terminal

Country Status (2)

Country Link
CN (1) CN106201186A (en)
WO (1) WO2018000832A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201186A (en) * 2016-06-29 2016-12-07 北京金山安全软件有限公司 Display method and display device of terminal screen content and terminal
CN107861624A (en) * 2017-11-30 2018-03-30 北京京东尚科信息技术有限公司 Page control method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090109184A1 (en) * 2007-10-24 2009-04-30 Lg Electronics Inc. Mobile terminal and controlling method thereof
CN102156555A (en) * 2011-03-08 2011-08-17 惠州Tcl移动通信有限公司 Page browsing method and electronic equipment using same
CN103019549A (en) * 2012-11-28 2013-04-03 深圳市中兴移动通信有限公司 Method and device for scrolling contents based on mobile terminal
CN103135907A (en) * 2013-02-04 2013-06-05 广东欧珀移动通信有限公司 Method and system for browsing interface content of user terminal device
CN103353823A (en) * 2013-06-25 2013-10-16 上海鼎为通讯电子有限公司 Mobile terminal and scrolling method thereof
CN106201186A (en) * 2016-06-29 2016-12-07 北京金山安全软件有限公司 Display method and display device of terminal screen content and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571886A (en) * 2014-12-30 2015-04-29 北京奇虎科技有限公司 Interface processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090109184A1 (en) * 2007-10-24 2009-04-30 Lg Electronics Inc. Mobile terminal and controlling method thereof
CN102156555A (en) * 2011-03-08 2011-08-17 惠州Tcl移动通信有限公司 Page browsing method and electronic equipment using same
CN103019549A (en) * 2012-11-28 2013-04-03 深圳市中兴移动通信有限公司 Method and device for scrolling contents based on mobile terminal
CN103135907A (en) * 2013-02-04 2013-06-05 广东欧珀移动通信有限公司 Method and system for browsing interface content of user terminal device
CN103353823A (en) * 2013-06-25 2013-10-16 上海鼎为通讯电子有限公司 Mobile terminal and scrolling method thereof
CN106201186A (en) * 2016-06-29 2016-12-07 北京金山安全软件有限公司 Display method and display device of terminal screen content and terminal

Also Published As

Publication number Publication date
CN106201186A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
KR102571369B1 (en) Display control method, storage medium and electronic device for controlling the display
KR102010507B1 (en) Control method for intelligent terminal
US9323351B2 (en) Information processing apparatus, information processing method and program
KR102113683B1 (en) Mobile apparatus providing preview by detecting rub gesture and control method thereof
US9998707B2 (en) Video chat picture-in-picture
WO2016015585A1 (en) Screen capture method for terminal device as well as terminal device, computer program product and computer readable recording medium of screen capture method
US20130346865A1 (en) Dynamic wallpaper of mobile systems
WO2016124122A1 (en) Method and apparatus for zooming picture and switching played contents of handheld electronic device
CN107643912B (en) Information sharing method and mobile terminal
US10719914B2 (en) Universal digital content zooming techniques
EP2703977A2 (en) Method and apparatus for controlling image display in an electronic device
JP2019533251A (en) Terminal screen shot method, apparatus, mobile terminal, and storage medium
US9880721B2 (en) Information processing device, non-transitory computer-readable recording medium storing an information processing program, and information processing method
JP2015041271A5 (en)
WO2017005085A1 (en) Data compression method, apparatus, and terminal
KR20130119129A (en) Method for controlling window size and an electronic device thereof
EP2778880B1 (en) Method for controlling display function and an electronic device thereof
KR102234400B1 (en) Apparatas and method for changing the order or the position of list in an electronic device
TW201525843A (en) Method, apparatus and computer program product for zooming and operating screen frame
JP2011529223A (en) Dynamic grid display
CN107360375B (en) Shooting method and mobile terminal
CN104461312A (en) Display control method and electronic equipment
WO2020061783A1 (en) Bendable electronic device and interface adaptation method thereof
CN104571814B (en) Projection method and electronic equipment
WO2016112791A1 (en) Method and device for displaying interface of application program on mobile terminal

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: 17818832

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 05.04.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17818832

Country of ref document: EP

Kind code of ref document: A1